Union

April 28, 2010

0

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…]

Posted in: Programming, Union

Bit Masking / Shifting

August 21, 2009

0

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…]

Posted in: Uncategorized

Sentient: Bans, Authentication Improvements, CRC32 Checksums, Nickname Improvements

August 18, 2009

0

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…]

Posted in: Sentient

Converting Jpegs into one Djvu

August 18, 2009

0

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!

Posted in: Linux
Follow

Get every new post delivered to your Inbox.