Category Archives: shift

These Bit Twiddling Tricks Will Make Your Coworkers Hate You

In the embedded world, twiddling a few bits is expected behavior. Firmware is far enough down the stack that the author may care about the number of bits and bytes used, or needs to work with registers directly to make the machine dance. Usually these operations are confined to the …read more

Continue reading

Posted in bit manipulation, bit math, bit twiddling, bits, classic hacks, mask, registers, shift, software hacks | Leave a comment

Shape Shifting Structures Work With Magnets

In The Dark Knight, Lucius Fox shows Bruce Wayne a neat bit of memory weave fabric. In its resting state, it is a light, flexible material, but when an electrical current is applied, it pops into a pre-programmed shape. That shape could be a tent or a bat-themed paraglider. Science has not caught up to Hollywood in this regard, but the concept has been demonstrated in a material which increases its rigidity up to 318% within one second when placed in a magnetic field. Those numbers do not mean a lot by themselves, but increasing rigidity in a reversible, …read more

Continue reading

Posted in 3d Printer hacks, 3d printing, 4d, 4D printing, batman, chemistry hacks, industrial, safety, shape, shapeshift, shift | Leave a comment