REPL and HTTP Mapping: ideas to contribute to PhantomJS

Recently, I’m donating my spare time to the amazing Stanford Online AI Class, and writing down notes takes time. But I’m still working, in the spare time of the spare time, on PhantomJS. Yes, very slowly, but I’m not stall. Recently two ideas have come to mind, and it’s stuff I’d love to see supported by PhantomJS. REPL From the Wikipedia article: A read–eval–print loop (REPL), also known as an interactive toplevel, is a simple, interactive computer programming environment. […] In a REPL, the user may enter expressions, which are then evaluated, and the results displayed. ...

November 1, 2011 Â· 4 min Â· 663 words

gredirector - 'HTTP 301' through App Engine

When I decided to migrate to this new blog I was confronted by a very important issue: how do I make sure that the (already modest) traffic going to http://www.detronizator.org/* would be redirected to this new URL? 301 Redirection I started searching and I found this article by Danny Tuppeny on how to use a Google App Engine application to do the trick. So, what I did was to take his code and started putting it in place for me at http://redirector.ivandemarino.me. But because I’m a Software Developer that likes to make elegant stuff, I noticed that quite few things were missing: ...

September 29, 2010 Â· 5 min Â· 966 words

Debian on my NSLU2: The Revenge of the Swirl

After some playing with Unslung on my Linksys NSLU2, I realize it was a “very limited solution” for our needs. We need to share 4 (sometimes 5) NTFS (or others) volumes, where everyone of them is 500GB: this is too much even for the modified firmware of Unslung, unable to read the full directory trees (and the contained files) of my massive movie’s collection. [![](http://lh6.ggpht.com/detronizator/SC9F6fE2BaE/AAAAAAAAA8I/oz-Ujfnmj9g/s160-c/TheDebianNSLU2SReign.jpg)](http://picasaweb.google.com/detronizator/TheDebianNSLU2SReign)[The Debian/NSLU2's Reign](http://picasaweb.google.com/detronizator/TheDebianNSLU2SReign) So, I came back to the Debian/NSLU2 solution. This time, with all the intention to make it work. It’s quite pointless to report here all the things I did to make it work in the way I want/need. I’ll just write down the most important bits: ...

May 17, 2008 Â· 2 min Â· 296 words

Unslung on my NSLU2

Motivated by my friend KM here (sorry, Italian link), I decided to buy a Linksys NSLU2, a Micro-[en:NAS] based on [en:Linux]. Linksys (owned by Cisco) released since day one the source code of the tuned Linux Kernel, instantly allowing the Open Source community to hack this device in a million of ways. My requirements are very simple: I need to share something like 6 external HD using either Samba or FTP+HTTP. I first tried to use the “out-of-the-box” NSLU2 with the latest firmware, but it’s unable to manage more than 2 disks (on an HUB, it just see the first HDD attached). I then decided to use Debian/NSLU2, a very rich distribution for [en:ARM] that is just amazing. The only problem? It seems too much for an hardware like NSLU2, plus, after a normal apt-get dist-upgrade something related with [en:SELinux] and vsftpd happened and I didn’t managed to put it all back to work. I should have disabled selinux passing the parameter selinux = 0 to the Kernel at boot time but… there is no “easily modifiable” [en:Bootloader] to pass parameters to the kernel at boot time (at least, as far as I know). I suppose that I should modify the kernel, recompile and then re-flash it. Too much for something I want to finish in max 2 days. And the NSLU2 is slow. Very slow. It took something like 12 hours to make the full installation of Debian and flash re-flash the firmware. Besides, for what I need to do, it’s not worth it to do all this. ...

May 11, 2008 Â· 2 min Â· 357 words