about 3 hours ago - No comments
Lame metaphor
Yes, this Blog is being migrated to http://blog.ivandemarino.me. Here is an heads-up.
Now days I’m changing Hosting, DNS Registar, blog technology… and much more. Stay tuned at http://blog.ivandemarino.me for more updates. I have some news for you guys
PS This also implies that some disruption could happen. Bare with us.
Share this
tweetmeme_url =
about 4 months ago - 2 comments
This is a set of commets to some of the asserts made by Steve Jobs in his Thoughts on Flash.
Safari has just ~5.5% of web users share
[...] Apple even creates open standards for the web. For example, Apple began with a small open source project and created WebKit, a complete open-source HTML5 rendering engine that
about 4 months ago - No comments
This took some patience. Not to take the pictures themselves, but to bear with a group of trip-mates that were either freezing or bored to wait for me to take this 12 pictures -_-
Roald Dahl Plass
Do you like it? If so, I have a larger (way larger) version.
Share this
tweetmeme_url = ‘http://www.detronizator.org/2008/04/02/dove-sono-politicamente/’;tweetmeme_source = ‘detronizator’;tweetmeme_style = ‘compact’;
about 5 months ago - No comments
I was writing some code to react at a textarea.onKeyUp. I take the size of the current textarea.val().length, update an element and do some other stuff.
yawn
The first version of the code looked like:
$('#message').keyup(function(e){
$('#chars_num').html( new_len );
$('#sms_num').html( Math.floor($('#message').val().length / 161) +1) );
});
Working good, but was clearly slow: every keystroke was “giving
about 6 months ago - 5 comments
I’m going to make a simple point. And because people that know me think I’m a “unfair-Google-aficionado-that-doesn’t-see-how-evil-Google-is”, I’m going to use Android as victim here.
iPhone ruleZ
Other OS? I’m not even taking into consideration old stuff like Symbian: is just too easy to trash it now-days (Qt is a whole different story though).
Android is great… for
about 6 months ago - No comments
Imagine you have a Binary Tree, with those characteristics:
Nodes do not respect any order relation – In other words: it’s not a Binary Search Tree of any kind
Every node appears once and only once within the tree
A nice Binary Tree
Then, your little brother passes by your desk and, to upset you, deletes the tree from
about 7 months ago - 3 comments
I believe I don’t have to describe what primes are, what are their properties and what not. This post is more a tribute to geek-ness of 2 friends-and-colleagues (@lucabox) that have fun thinking of algorithms to solve stupid (or less stupid), and always useless problems .
Optimus Prime – yeah yeah, a
about 7 months ago - No comments
I’m “studying” this algorithmic technique: Backtracking. This is an algorithmic approach to problem solution that I trust every good Computer Scientist already uses; but taking a good theo-practical look at it is something better.
A Backtracking Tree
I believe you can find enough informations about it online (the 2 links I provided are more than enough), so
about 7 months ago - 7 comments
This is a classical problem of Computer Science: it’s used to study both Greedy and Dynamic Programming algorithmic techniques.
I hate having my pocket full of copper!!! -_-
Definition
Given:
A set of n Denominations D[0...n-1] in ascending order, representing a Monetary Coin System
An money amount A, as input
calculate a solution:
S[0...n-1], with 0 <= S[i] <= (A/S[i]) and 0
about 2 years ago
Ecco chi è il leader di questo partito strano! Sei tu!
Comunista d’altri tempi
about 2 years ago
Non sapevo manco che esistesse!
Meno male: c’e’ qualcuno che, theoretically, mi puo’ rappresentare.
about 2 years ago
Tutta, dico TUTTA la blogosfera è riuscita a fare questo giochino, l’unico che l’ha fatto tre volte e per tre volte il server è andato in errore sono io!
Deduzione: voterei per il partito che non c’è!