FREE BURMA!

( ? , qUeStIoNMaRk )

Seeking for a sustainable amount of chaos. AKA an electronic stream of consciousness about software engineering, open source, life. By Marco Fabbri.

July 25, 2008

Happy System Administrators Appreciation Day

If you can read this, thank your sysadmin

Today is System Administrator Appreciation Day. From (the wikipedia entry on sysadmin Dasy) :

System Administrator Appreciation Day, also known as Sysadmin Day, SysAdminDay or SAAD, was created by Ted Kekatos, a system administrator in Chicago. Kekatos was inspired to create the special day by a Hewlett-Packard magazine advertisement in which a system administrator is presented with flowers and fruit-baskets by grateful co-workers as thanks for installing new printers.[1] The holiday exists to show appreciation for the work of sysadmins and other IT workers. It is celebrated on the last Friday in July. The first System Administrator Appreciation Day was celebrated on July 28, 2000.

As a side note I may suggest you take a while to read this beautiful and involving novel by Cory Doctorow “When Sysadmins Ruled the Earth”.

Happy Sysadmin Day!

July 21, 2008

SeekTube in action

Here comes a video demoing SeekTube functionality.


July 19, 2008

Of Small Things, Time, Links and Videos.

It seems that a pragmatic approach to ending procrastination is focusing on “small things”, and getting them done. As part of this today I focused on a long-standing “issue” of mine… getting YouTube videos link-addressable. You know, it happens you want to link to a precise (topical) moment in a video - e.g “when the kitten can’t finally keep up with the ever speeding treadmill” - and what you are left with is a “at X minutes and Y seconds in the “.

That said, having previously spotted the YouTube JavaScript Player API providing a seekTo function, I managed to leverage it (through Greasemonkey) to come to a solution: SeekTube.

SeekTube is a Greasemonkey user script to enable the same “link within a video” feature provided by Google Video also on YouTube videos.
[…]
Well, SeekTube enables the same functionality: i.e. you can specify a permalink to a precise time in the video by appending an “#” followed by the time formatted as HhMmSs to the video url, where H, M, S are sequence of digits indicating hours, minutes and seconds respectively (none of them is mandatory); e.g. you can take a look at the BeOS nice long degradation curve under heavy load(multiple multimedia streams and 3D graphics, half computing power down), happening at 7 minutes and 50 seconds (http://www.youtube.com/watch?v=6VDYdaXApNk#7m50s) from the beginning of the video.

Note: it’s rather alpha stage, as I haven’t yet figured out a way to cope more gracefully with the security/sandboxing model of Greasemonkey/Firefox (see SeekTube page for details on the implementation).

As a note for the JavaScript-inclined, an interesting failing approach to get a working reference to the “player” object inside the Greasemonkey execution environment (without overloading the window.onYouTubePlayerReady function) is to wait for the player.seekTo function to be ready, i.e. defined, i.e no more undefined, which goes down to setting a recurring timeout until the player.seekTo is defined. This approach failed beacuse of Greasemonkey sandboxing; player.seekTo will be undefined forever. Here comes the code… (the GM_log() is GreaseMoney logger to JavaScript Console)

function seekOnPlayerReady(){
  player = document.getElementById(‘movie_player’);
  if(player.seekTo) {
    /* seek time retrieval from url */
    player.seekTo(seekTime,true);
  } else {
    GM_log(‘player not yet ready’);
    setTimeout(’seekOnPlayerReady()’, 500);
  }
}
setTimeout(‘’, 500);

PS: DiveIntoGreasemonkey, being not fully up to date, is yet a very nice introduction, js2mode (by Steve Yegge) for Emacs is great.

May 30, 2008

Long Time… No See

Filed under: life, weblog, music

Got hit by a huge laziness and procrastination (illness powered) wave…

…now it’s time to get back to blogging.


By the way, this is one of my favourite Beatles’ videos.

March 29, 2008

Once I do something, I want to do something else.

Clifford Stool’s talk at TED is an absolutely awesome and brilliant learning experience. This talk reveals all the energy, the passion, the hope that lie in scientific inquiry and in an agile mind. As a side effect this should also make you wonder at the propulsive push to the development of a society/country this sort of attitude brings…

“The first time you do something it’s science, the second time it’s engineering, the third time it’s technology, it’s just being a technician. I’m a scientist: Once I do something, I want do something more.”



“I think if you want to really know what the future is gonna be… If you really want to know what society is gonna be in twenty years, ask a kindergarten teacher. In fact don’t just ask any kindergarten teacher, ask an experienced one.
[…]
“I think locally and I act locally, I feel the best way I can help out anything is to help out very very locally… I teach eight-grade science four days a week… I said to my science students: we are going to do seriuos experiments, none of this “open the chapter seven and do all the problems sets”, we are going to be doing genuine physics.

March 18, 2008

Martian Headsets

Joel wrote, as usual, a thoughtful and witty article on the web, standards, interoperability and the upcoming mother of all flame wars; this is a must-read for everyone concerned with web-related software development (web designers, web programmers, information architects, marketeers…) .

As usual, the idealists are 100% right in principle and, as usual, the pragmatists are right in practice. The flames will continue for years.

Joel goes into a lengthy explanation, driven by an extra-terrestrial catchy case study, of what are the possible “cardinalities” of “market standards” (One-to-One - all is fine and simple, One-to-Many - yet fine, Sequence-to-Many - a story of pain and backward compatibility, Many-to-Many - you know, PurePain ™), why a standard without a reference implementation it’s not that standard, and why in the long run being conservative in what you do, and being liberal in what you accept from the others potentially ends in deployment issues kicking your conservative yet liberal butt. In the meanwhile you get also acquainted with some real-world compatibility issues between rabbis from different ultra-orthodox communities:

If you’ve ever visited the ultra-orthodox Jewish communities of Jerusalem, all of whom agree in complete and utter adherence to every iota of Jewish law, you will discover that despite general agreement on what constitutes kosher food, that you will not find a rabbi from one ultra-orthodox community who is willing to eat at the home of a rabbi from a different ultra-orthodox community. And the web designers are discovering what the Jews of Mea Shearim have known for decades: just because you all agree to follow one book doesn’t ensure compatibility[…]

As a very brief personal memorandum: Real Standards must have Real Reference Implementations (because “reality siphons off excess complexity1) and although Postel’s Robustness Principle is (imho) still much valuable for the wide spread of the internet/web it has been able to sustain so far, it should be carefully balanced - “in medium stat virtus” - with having very, very strict standards and “components” positively obnoxious about pointing them all out to you; maybe we (as developers/engineers) should resort to some sort of “carrot and stick” principle.

NOTE 1: The full citation from David H. Gelernter’s Mirror Worlds (a wonderful and fascinating book narrating a vision of computing and information of extraordinary elegance - that is by other words a good combination of simplicity and power) is:

“Information structures are, potentially, the most complicated structures known to man. Precisely because software is so easy to build, complexity is a deadly software killer.
The same problem exists for hardware machines, but it lacks comparable significance. Physical reality is the overflow valve that siphons off excess complexity before the whole system blows.[…]”.

March 14, 2008

Hap-Pi Day

Filed under: life, fun, geek

Happy Π Day.

March 11, 2008

LANdroid - Network On The Go

When you say “network on the go”…

it happens sometimes you really mean it.


iRobot LANdroid - source: DARPA http://www.darpa.mil

From MIT Technology Review “Local Area Network Droids“:

The robots, called LANdroids, are being funded by the Defense Advanced Research Projects Agency (DARPA) as part of a $3 million three-year research program. The aim is to create expendable robots that will be able to overcome the communications problems that soldiers currently face in built-up areas. […]

Existing radio communications networks used by the military work well when there is line of sight, but urban environments can hinder this. Obstacles and structures can reflect, refract, diffract, or absorb the radio signals, leading to signal loss and attenuation. The overall effect is that soldiers often have to work with poor and unreliable radio communications.

The LANdroids will be designed to overcome this problem using an autonomous positioning system that will help the robots adapt the communications networks as needed. To do so, the bots will use the 802.11g Wi-Fi standard to form mobile ad hoc networks that can repair and reroute themselves if, for example, the enemy destroys a robot.

March 7, 2008

Ultimate Game

Filed under: life, fun, geek

XKCD published a wonderful strip in memory of the recently departed D&D Co-Creator Gary Gygax.

RIP, Gary.

RIP, Gary.

(I play dungeons and dragons/ I got a 13th level halfling fighter thief/ got seven hit die on my backstab/ sometimes you know it’s good to be a geek.)

March 4, 2008

Highway to #Hell

Filed under: life, fun, geek, programming

Introduction: velocity is a beautiful templating language… (easily turnable into a not-so-general-purpose programming language); #macro is the syntax to call the macro named macro.

via My Mood Swings - Highway to #hell

  • Tizio #1: this xwiki thing has all the potential to quickly turn into…
  • Tizio #2: Soylent Green?
  • Tizio #1: a macro #hell
  • Tizio #2: Highway to #hell… http://youtube.com/watch?v=erJc4dzZ3IA

Get free blog up and running in minutes with Blogsome | Theme designs available here