Union is a language I have been toying with in my head for a while now, and I am reaching the point where I can start to lay out some of my ideas in code. Union’s goal is to remove all concepts but the most fundamental ones, that is, there will be no language-level support… [Read more…]
Bit Masking / Shifting can be a powerful technique to serialize data for transfer over a network or storage. Here is an example on how to serialize a 32 bit unsigned integer to 4 8 bit unsigned characters. 1 hexadecimal character is equal to a nibble. So to extract a byte, use FF. Using the… [Read more…]
Some core changes were needed to allow a Banning system and a more robust Authentication system. As such, network listeners can now receive connection and disconnection events. The connection event occurs when authentication succeeds. CRC32 Checksums have been implemented to allow the authentication system to checksum the executable and any relevant files for consistency with… [Read more…]
I recently needed to convert a folder full of jpegs (pages of a book) into one djvu (book). I crafted this shell script to do the job: You will need the djvu utilities package from your distribution (djvulibre-bin under ubuntu.) Hope that helps someone!
April 28, 2010
0