567 karma · joined March 22, 2018
Does the way x is initialized make it not "const-y" enough?
See this godbolt example https://godbolt.org/z/nbzd59E33
As I understand it, performing a const_cast itself isn't undefined behavior, which is why the compiler cannot assume function f doesn't modify the local. However, if we mark the local variable as const, the compiler is able to assume no modification will occur (because that would be undefined) and optimize the return.
I suppose the one complication is you have to cast sockaddr to sockaddr_in but that's all documented
Interesting, didn't realize the kernel would let you do that. I guess it makes sense since it's up to user space to map pages for the stack. The kernel doesn't have much to do on clone except set the stack pointer.
Had to write MIPS assembly by hand recently, incredibly counter intuitive.
Not all graphs are planar. Not even all DAGs. Which I assume can throw a wrench into things
I think it summarizes its features and strengths pretty well, and it has a lot of good technical information.
What is tensegrity?
Tensegrity is the way the world organizes itself. Build or buy a model and experience it yourself!
Why learn about it?
Whatever your goal in life, it's good to understand how the world works. Tensegrity, discovered about 60 years ago, is a new way of understanding forces at play. Whether you are building a business, designing household objects, building robots, or trying to live sustainably in a resource-challenged world, tensegrity offers innovative ways of thinking about how parts and wholes interact.
What is Tensegrity Wiki, The Encyclopedia of Tensegrity?
This website is a wiki dedicated to exploring the field of tensegrity, a subset of energetic-synergetic geometry. It is intended to use the "power of crowds" to fine-tune and make available accurate knowledge about tensegrities. This includes all aspects of tensegrity including structural tensegrity sculptures, dynamically adjusting tensegrity robotics, biotensegrity as expressed in cellular mechanics, biotensegrity as expressed in mammalian anatomical fascial/bone structure, tensegrity therapy as a set of mind-body practices, tensegrity as it illuminates ancient philosophies of harmony, music and dance inspired by tensegrity, and so on.
I'm not an expert, but I'm really curious to hear more. It's especially weird given I've heard nothing but good things about Argon2 otherwise.
I'm not an expert, but I'm really curious to hear more. It's especially weird given I've heard nothing but good things about Argon2 otherwise.
I tried reading datasheets, but they didn't seem to have the full picture. Had I know about this document then I might have had a chance at figuring it out.
The immutable bit together with the syscall bit is going to be a real pain for shell code
I found this LLVM forum thread discussing it interesting: https://groups.google.com/g/llvm-dev/c/s2yuELeQMA8
And related PR https://reviews.llvm.org/D61725
The CPUs are definitely weird, and I ended up porting Ghidra to support u'nSP as part of that project. https://github.com/SamuelWAnderson45/sleigh-unsp Reverse engineering a CPU was a wildly fun learning experience; still proud of that project.
Herb made a proposal for proper in/out parameters for C++ in 2020 https://youtu.be/6lurOCdaj0Y