-
lambdaj
Jan 23, 2011 · 1 min read ·How many times have you read or written the same two or three lines of code that frequently seem to go together, and even though they operate on different objects, feel like the same thing? And how often these repetitions involve some sort of collections iteration or more generically manipulation? These repetitions in the code is something that developers eventually learn to filter out and ignore when reading code, once they figure out where the interesting parts are placed. But even if the developers get used to it, it slows them down. Code like that is clearly written for computers to execute, not for developers to read.
Integrate lambdaj in your software architect toolkit (italian link)lambdaj is designed to easily manipulate collections. Its features are intended to filter, convert, index and aggregate the items of a collection without explicitly iterate on it.
Read More -
Più di un anno fa, Veronica Lario dichiarò che Silvio Berlusconi era una persona malata, per la precisione nel settembre del 2009.
, quando iniziò a circolare la storia del “papi” con una minorenne.
La situazione si è spinta fino a dove siamo ora:
- una denuncia induzione alla prostituzione di una minorenne
- una accusa di concussione, cioé di abuso di potere per risolvere l'arresto di una delle sue protette minorenni
- una denuncia per plagio da parte di Cettolaqualunque
Il lavoro per i giovani nel nostro Paese è ormai una chimera. A confermarlo è l’Istat nell’indagine “Noi Italia” del 2011. I giornali hanno titolato dicendo che i giovani non lavorano, non studiano e non cercano il lavoro: certo se sperano di imbucarsi ai festini di arcore, bisognerà riportarli alla realtà presto.
L’esempio di Marchionne porterà i nostri imprenditori a nuove tentazioni: il governo invece di tenere a bada velleità di retribuzione quartomondiste, lo incoraggia.
La crisi del debito è tutt’altro che archiviata: a dicembre e agli inizi di gennaio «tensioni» sul debito sovrano si sono manifestate «anche in Italia, Spagna e Belgio» (citazione dal Corriere).
Sintetizzando: l’economia non sta per niente bene. Il mercato del lavoro è fermo. La finanza è ridotta male (Intesa fa pagare 40 euro all’anno l’ex conto zero tondo, prima gratuito). L’istruzione ha appena ricevuto una doccia fredda sotto forma di riduzione dei fondi che tende ad incoraggiare scuole private senza standard di qualità. Lo spacciato tentativo di riforma della giustizia (chiamato il legittimo impedimento) è stato sonoramente bocciato perché anticostituzionale (sorpresa sorpresona).
Read More -
…per far dimettere il nostro primo ministro
http://www.libertaegiustizia.it/2011/01/20/resignation-firma-lappello-di-leg/
-
How to display an animation during page loading
Jan 12, 2011 · 1 min read ·Old web site requires sometimes to show a big “Loading…” gif in the front of the page. It is not trivial to do it, especially if you have already plenty of jQuery forms developed, with complex form submission, and half the site in an ajax form.
Read More -
Closure in C#
Jan 6, 2011 · 2 min read · -
Per sviluppare bene un software, vi sono tante regole da seguire. Se vi danno la responsabilità di una architettura, vi sono però tre piccoli principi che mi hanno salvato più di una volta. Senza pretendere che essi valgano per tutti, ma conscio del fatto che in oltre 15 anni di programmazione ad oggetti mi hanno salvato più di una volta, eccoli qui:
Read More -
Redis is an advanced key-value store. It is similar to memcached but the dataset is not volatile, and values can be strings, exactly like in memcached, but also lists, sets, and ordered sets. All this data types can be manipulated with atomic operations to push/pop elements, add/remove elements, perform server side union, intersection, difference between sets, and so forth. Redis supports different kind of sorting abilities.
[…]
Read More -
API KEYs are sexy: if you have a web based business (like Google, Twitter, Facebook or Wordpress’Automattic) you should have a way to generate an API Key for web service integration.
Read More -
Disclaimer: Hi guys, I will not start a Religion wars between Emacs and Vim. For a copule of reason:
Read More