Archive for July, 2007

Web Application Scaling: Deal with big sites

Monday, July 30th, 2007

Cinema: Il collezionista di ossa

Monday, July 30th, 2007

Il collezionista di ossa: un agente veterano e una giovane agente, la qui ancora bellissima e poco rifatta Angelina Jolie, indagano su una serie di misteriosi omicidi.
Un thriller carino.
Citazione: "Era una pila umana, faceva convegni, congressi, scriveva libri, il suo lavoro era tutto"

Citazione: "Avrai bisogno di alcune cose. Guarda nel bagagliaio"

Citazione: "Ricordati i luoghi dei delitti sono tridimensionali: pavimenti, muri e soffitti"
Citazione: "Il destino te lo costruisci tu"

Lol: Professionalita` diverse

Saturday, July 28th, 2007

Quanto fa 2+2 ?
INGEGNERE: Porca puttana, ho dimenticato la calcolatrice a casa !

MATEMATICO: La domanda non ha senso: non hai specificato le varietà dei due addendi né l’insieme su cui è definita l’operazione.

FISICO SPERIMENTALE: (Dopo 2 anni di ricerche e svariati milioni di investimenti) 4 +/- 1.
FISICO TEORICO: dipende dalle condizioni iniziali e dai sistemi di riferimento.
Commercialista: Detto tra noi… quanto vuoi che lo facciamo risultare?

Sanitize HTML in Ruby

Saturday, July 28th, 2007

RSS have a design that make it easy to generate and fun for webmasters, but it’s a hell for anyone that must write a feed consumer.
Here is some links about html sanitization in Ruby on Rails.

Links:

Building a Wardriving Bot

Friday, July 27th, 2007

Why run around driving your car in the middle of the night, other people can wardrive for you.
A wardriving bot is an embedded device with Wi-Fi capabilities that is placed over a veicle, like a bus.
I think that a bot needs this features:

  1. high gain antenna and high power Wi-Fi card
  2. the hardware must be a low power device and fanless
  3. mass storage, Compact Flash or Secure Digital cards with a lot of gigabyte (for sniffed data)
  4. a little bit of CPU power for encryption stuff
  5. optionally a GPS
  6. optionally a backup internet connection, that is handly and first of all secure (GPRS or UMTS)

I found two options for build homemade a wardriving bot:

Build it with embedded hardware: Buy each part and assemble it.
I found interesting hardware in Soerkis cards, that are cheap and have all hardware requirements (low power and low cost), and searching on eBay i found some mini-PCI Wi-Fi cards with 300 or 400 milliWatts of power.
Only hardware costs aroung 350 Euro.
.
Build it with a Wi-Fi router: cheap hardware ready out of the box, like a installing OpenWRT on a Linksys WRT54 or like installing Debian on a Asus 500GP (that have 2 usb ports).
This is a cheap solution, with aroud 100 Euro you get the device ready for OpenWRT or Debian setup.
But you don’t have a high power wireless card.
I think this is the best solution to build a wardriving bot.

Links: