En
All English articles are marked under this category
-
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.
-
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 ·
After the success of Closure in Java we like to show you a good example in C# too.
C# has a very strong support for Lambda functions, because it needs to support the LINQ language constructs.
So defining a closure is quite easy. Best, it is possible to define a “delegate” , which is a typed function: the compiler will help you to avoid errors because will match the lambda function against the delegate.
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.
Like Session keys, API keys should be sufficiently unpredictable to be psuedo-random. To be unpredictable, no user variables (or timestamps) are encoded into the key.
Read More -
Disclaimer: Hi guys, I will not start a Religion wars between Emacs and Vim. For a copule of reason:
- I have been an Emacs fan for about ten years, then I get a depression because of emacs-lisp complicated interface and slow emacs evolution
- I have worked on pymacs a bit, so I am somewhat a Emacs contributor
- I am still searching a good general purpose editor. On my day by day job, eclispe is my food.
- a editor working on slow connection
- a fast startup editor
- some time to be masochistic. Some guys smoke, others use vim. It perfectlys fit in your auto-destruction instinct.
I was happy with vim for this reason:
Read More -
About Diaspora, we read from Ars Technica (underline is our):
Diaspora emerged as a response to the privacy concerns raised by mainstream social networking services. The aim of Diaspora is to create an open source social network alternative with decentralized architecture, giving end users more control over their private information and how it is shared with other people. [...]
When the first Diaspora code was first published in September, independent reviewers found some serious technical defects, including a number of security weaknesses. […]
Read More -
For a good list of Jquery RSS reader, take a look to this discussion on stack overflow.
A good stuff is
zRSSFeed - RSS Feeds Reader for jQuery
This plugin will read RSS feeds from any website url using the Google Feeds API. It produces structured HTML with in-built CSS classes for styling. Simple and easy to use. -
Suds is a lightweight SOAP python client for consuming Web Services.
It is very nice to use, because of the debugging feature inside.
Give it a try:
https://fedorahosted.org/suds/
And for testing and playing with it, try out also DreamPie, a nice Python shell
-
Windows 2000 and higher supports directory symbolic links, where a directory serves as a symbolic link to another directory on the computer. [...]Directory symbolic links are known as NTFS junctions in Windows. Unfortunately, Windows comes with no tools for creating junctions—you have to purchase the Win2K Resource Kit, which comes with the linkd program for creating junctions. I therefore decided to write my own junction-creating tool: Junction
Read More -
When using Axis to send data to a web service, you can set the logger level on org.apache.axis.transport.http.HTTPSender to DEBUG to see what’s going on.
Anyway be careful: the system will produce a lot of logs, so use it only in developement mode!
Here’s a sample in log4j.properties:
Read More -
At Gioorgi.com, after some thoughts we decided change the site look & feel
to take full advantage of the new WordPress 3. Although the two-column layout is always the central + lateral
was considered better to read, it was stealing too much space to listings
prevented attach images.
For this reason we switched to new theme, with the possibility of having
one or two columns depending on the context of the article, the theme etc..
The new homepage will stabilize towards the beginning of October, with many
new stuff on it.
The new Gioorgi.com also changes the motto is now a simple “Be-Open-Source”, as always. -
Mercurial, The Definitive Guide

I Love Version Control Software, as I like programming languages. So even if “Mercurial, The definitive guide” was published months ago, I asked O’Reilly to review it. The Bryan O’Sullivan book is very compact, and will explain the mercurial world in less than 250 pages.
Read More -
After a long experience with O’Reilly, we decided to try their service “Safari Books Online”. This article will explore the pros and cons of this courageous service, which we believe will give you many satisfactions.
La versione italiana di questo articolo è disponibile a questo link.
Read More
