Posts from — December 2008
The Coolest Server Names – Stack Overflow
On Stack Overflow web site we read (bold by us):
The funniest server name story I have is from when I worked at the Kennedy Space Center. On our particular project, our main server was named snowwhite, and the 7 client workstations were named after the Seven Dwarves. The kicker is, one day one of our engineers ran into a Disney Imagineer who worked at Walt Disney World, and they started talking about server names. The Disney Imagineer said “that’s funny, we have a group of servers named columbia, challenger, atlantis, and discovery.”
This is our Friday relaxing news! Short stories for the weekend!
To get the complete list, please look at the relax tag.
December 5, 2008 No Comments
Python 3.0 Release
Python 3.0
We are pleased to announce the release of Python 3.0 (final), a new production-ready release, on December 3rd, 2008.
Python 3.0 (a.k.a. “Python 3000″ or “Py3k”) is a new version of the language that is incompatible with the 2.x line of releases. The language is mostly the same, but many details, especially how built-in objects like dictionaries and strings work, have changed considerably, and a lot of deprecated features have finally been removed. Also, the standard library has been reorganized in a few prominent places.
We are happy for Python 3.0 roll out, although we are not confortable with it, because it is incompatible with the previous python version.
It is too early to be sure, but we hope Python 3.0 will help the growth of the python community.
Try it!
December 4, 2008 No Comments
Java Servlet & EJB
La seguente documentazione traccia un percorso formativo sintetico per apprendere la specifica J2EE 5.
Si parte dalle Servlet e dalle jsp, per arrivare fino agli EJB, che si consiglia di affrontare dopo aver ben appreso i concetti alla base della programmazione web.
December 4, 2008 No Comments
Singleton Design Pattern in Java
Il design pattern Singleton è il primo design pattern in cui si si imbatte, ed è molto importante anche perché aiuta a comprendere meglio i linguaggi OOP.
Potete trovare un’ottima introduzione presso Wikipedia, dove leggiamo:
Il metodo più semplice per implementare questo pattern è quello di rendere privato il costruttore della classe impedendone così l’istanziazione diretta, e nello stesso tempo fornire un metodo getter statico che restituisca ogni volta la stessa, unica, istanza
Ecco un esempio in Java:
public class MioSingolo {
private static MioSingolo istanza = null;
private MioSingolo() {}
public static MioSingolo getMioSingolo() {
if (istanza == null) {
istanza = new MioSingolo();
}
return istanza;
}
}
Ecco lo stesso esempio thread safe…
public class MioSingolo {
private static MioSingolo istanza = null;
private MioSingolo() {}
public static synchronized MioSingolo getMioSingolo() {
if (istanza == null) {
istanza = new MioSingolo();
}
return istanza;
}
}
Riferimenti
- Circa i design pattern
- Per approfondire, fare riferimento anche al Portland Pattern Repository, che però in quanto a chiarezza non è il massimo.
December 3, 2008 No Comments
WordPress 2.7 Release Candidate 1
After some time, Wordpress 2.7 is out:
WordPress 2.7 Release Candidate 1
By Ryan Boren. Filed under Releases.
With the release of RC1, we’re in the final leg of development before the release of 2.7. 280 commits since beta 3 have polished the new admin UI (including new menu icons created by the winners of our icon design contest) and fixed all known blocker bugs.
We think RC1 is ready for everyone to try out. Please download RC1 and help us make the final release the best it can be. As always, back up your blog before upgrading.
December 2, 2008 1 Comment
Drupal, Wordpress & Joomla
La scelta di un Content Management System (CMS) è spesso cruciale, soprattutto se dovete usarlo per creare un sito per un utente finale poco smaliziato.
Vi sono così tanti software di CMS, che scriverne uno da zero è quasi sempre un’opzione da considerare con molta cautela.
In questo articolo prenderemo in esame tre CMS scritti in PHP, molto diffusi e con un nutrito numero di fan.
December 1, 2008 No Comments