09 Jun '12, 10pm

RAA - bit-struct:

Bit-struct is now a gem on rubyforge! Use ‘gem install bit-struct’ to install. BitStruct Class for packed binary data stored in ruby Strings. BitStruct accessors, generated from user declared fields, use pack/unpack to treat substrings as fields with a specified portable format. Field types include signed and unsigned integer (1..16 bits, or 24, 32, 40, 48… bits) numeric fields (signed, unsigned, float) can be designated as any of the following endians: little, big, native, network (default) fixed point, with arbitrary scale factor fixed length character array null-terminated character array for printable text octets (hex and decimal representation options; useful for IP and MAC addrs) float nested BitStruct free-form "rest" field (e.g., for the variable-size payload of a packet) Installation ruby install.rb config ruby install.rb setup ruby install.rb install Uses BitStru...

Full article: http://raa.ruby-lang.org/project/bit-struct/

Tweets

@Lexotronic £19 - that's more like it! (bit more boring though!)

@Lexotronic £19 - that's more like it! (bit mor...

kurtgeiger.com 11 Jun '12, 11am

The below shoe sizes are given as a guide. In our experience a conversion for women's footwear between the UK and USA woul...

Ferrari clubs do their bit for earthquake victims

ferrari.com 08 Jun '12, 4pm

Maranello, 8 June – It will be difficult to forget the scene of wreckage and the bewildered faces which greeted Giulio, Ma...

Create your own @Airbnb with The @SharingEngine

sgentrepreneurs.com 14 Jun '12, 8am

Create your own Airbnb with The Sharing Engine June 14, 2012 by Terence LEE SquareStays is a property rental site built wi...