Ruby 2.0 features a new garbage collection algorithm, called Bitmap Marking. To understand how this new approach works, a brief look at the ruby design is needed, starting with ruby.h. All ruby objects are referenced through variables of the type VALUE in the C code: a VALUE is an unsigned integer that can be an...
On ruby's garbage collector
March 01 2013
Redis Android NDK port
August 21 2012
I just finished the first step of porting Redis, the server component, to the Android ndk. I didn’t test anything besides basic features, value store/load, db save and db restore but the few things i tested worked perfectly. To port it i created a stub app and compiled the source tree as a JNI library....
rediswrap
June 26 2012
I’ll dump here some info about a library i started writing some time ago or i’ll end up forgetting it. This is a straightforward c++ wrapper of libhiredis, I know that there are already dozens of c++ Redis libraries out there but i needed something natively compatible with the standard c++ vectors and strings, therefore...
RMotion with additional neural networks
June 26 2012
Last year I developed RMotion, a library with ruby bindings that can be used to detect moving objects in a video/cam stream in real time. It is quite convenient to solve simple detections problems because you can just program the logic in ruby inside the main loop and you get most of the detection issues...
Tor consensus nse parser
April 10 2012
Today I quickly translated a python script i had floating around into a more useful NSE script. It pulls the consensus data from one of the 9 Tor directory servers (documentation here) and runs a regular expression to extract the ip addresses of the nodes until it finds a matching one. nmap -p0 -dd -Pn...
EAP authentication scan
March 01 2012
I’ve been working on a NSE script which enumerates the authentication methods available on an eap authenticator, especially useful when those methods that support 2-step authentication with an anonymous identity in the first step are offered. The principle is straightforward, for a group of auth methods of interest the script will follow the eap handshake...