A Simple Hash for Perlin Noise
Some tricks to make a non-secure hash function for procedural terrain generation in games.
https://marcospereira.me/a-simple-hash-for-perlin-noise
@DevMisc
#gamedev #unity #misc
Some tricks to make a non-secure hash function for procedural terrain generation in games.
https://marcospereira.me/a-simple-hash-for-perlin-noise
@DevMisc
#gamedev #unity #misc
👍1
On bytes endianness
This article covers the little/big endian fundamentals and their advantages.
https://www.technicalsourcery.net/posts/on-endianness
@DevMisc
#lowlevel #learn #network
This article covers the little/big endian fundamentals and their advantages.
https://www.technicalsourcery.net/posts/on-endianness
@DevMisc
#lowlevel #learn #network
👍4
Please put units in names
There is one code readability trap that is easy to avoid: omitting units.
https://ruudvanasseldonk.com/2022/03/20/please-put-units-in-names
@DevMisc
#readability #misc
There is one code readability trap that is easy to avoid: omitting units.
https://ruudvanasseldonk.com/2022/03/20/please-put-units-in-names
@DevMisc
#readability #misc
👍6
The curse of strong typing
Someone, somewhere made a decision. "From now on", they declared, "all our new stuff must be written in Rust".
https://fasterthanli.me/articles/the-curse-of-strong-typing
@DevMisc
#rust #learn #misc
Someone, somewhere made a decision. "From now on", they declared, "all our new stuff must be written in Rust".
https://fasterthanli.me/articles/the-curse-of-strong-typing
@DevMisc
#rust #learn #misc
🔥3
How to build undo/redo in a multiplayer environment by Liveblocks
https://liveblocks.io/blog/how-to-build-undo-redo-in-a-multiplayer-environment
@DevMisc
#learn #protocol #misc
https://liveblocks.io/blog/how-to-build-undo-redo-in-a-multiplayer-environment
@DevMisc
#learn #protocol #misc
❤5
Fizz Buzz in Tensorflow
🤨?
https://joelgrus.com/2016/05/23/fizz-buzz-in-tensorflow/
@DevMisc
#python #ai #tf
🤨?
https://joelgrus.com/2016/05/23/fizz-buzz-in-tensorflow/
@DevMisc
#python #ai #tf
😢2
CVE-2022-23088: Exploiting a Heap Overflow in the FreeBSD Wi-Fi Stack
https://www.thezdi.com/blog/...
@DevMisc
#security #overflow #misc
https://www.thezdi.com/blog/...
@DevMisc
#security #overflow #misc
The Animated Elliptic Curve
Visualize elliptic curve cryptography with animated examples.
https://curves.ulfheim.net/
@DevMisc
#cryptography #ec #learn
Visualize elliptic curve cryptography with animated examples.
https://curves.ulfheim.net/
@DevMisc
#cryptography #ec #learn
❤5
How efficient can cat(1) be?
Various methods to create your own
https://ariadne.space/2022/07/17/how-efficient-can-cat1-be/
@DevMisc
#linux #c #coreutils #misc
Various methods to create your own
cat (with code), and comparisons between said methods.https://ariadne.space/2022/07/17/how-efficient-can-cat1-be/
@DevMisc
#linux #c #coreutils #misc
🔥2💩1
The Danger of Naïveté
Can you spot the issue in this simple algorithm?
https://blog.codinghorror.com/the-danger-of-naivete
@DevMisc
#algorithm #misc
Can you spot the issue in this simple algorithm?
https://blog.codinghorror.com/the-danger-of-naivete
@DevMisc
#algorithm #misc
😱5
Crimes with Python's pattern matching
https://www.hillelwayne.com/post/python-abc/
@DevMisc
#python #fun #extra
https://www.hillelwayne.com/post/python-abc/
@DevMisc
#python #fun #extra
👎1🔥1
Who says C is simple?
https://people.eecs.berkeley.edu/~necula/cil/cil016.html#sec-simplec
@DevMisc
#learn #c #misc
https://people.eecs.berkeley.edu/~necula/cil/cil016.html#sec-simplec
@DevMisc
#learn #c #misc
👎1
A Regular Expression in 30 Lines of C
https://www.cs.princeton.edu/courses/archive/spr09/cos333/beautiful.html
@DevMisc
#regex #c #misc
https://www.cs.princeton.edu/courses/archive/spr09/cos333/beautiful.html
@DevMisc
#regex #c #misc
😁2