Dentro de una semana concretamente estará disponible la nueva versión de Ubuntu, 6.10, Edgy Eft que no tendrá muchas novedades, aunque destaca el nuevo sistema de arranque mejorando notablemente el actual init. Sin embargo, ayer anunció Mark Shuttleworth en la lista de Ubuntu el nombre de la nueva versión que se lanzará el 19 de abril del 2007 que se llamará
The Feisty Fawn
Que traducido al español significa “El cervatillo vivaz” (feisty se podrÃa traducir como alguien independiente, luchador, vivaz, determinado; o cosas asÃ..). Según Mark esta versión estará más orientada a aspectos que serán más visibles a los usuarios finales, centrandose en cuestiones multimedia y efectos de escritorio… Bueno aún queda mucho hasta entonces, primero será cuestión de pasarse a Edgy la próxima semana :).
Aunque mis primeras impresiones con python no han sido muy placenteras, he de reconocer que es un lenguaje que tiene algo especial. Una mezcla entre la “libertad” de C o perl y la “seriedad” de Java o Ada (por decir algo xD). Creo que voy a usarlo más a menudo pues me está gustando cada vez más.
# paquetes necesarios
import httplib, urllib
# Host y archivo
host = "www.UNApagina.com"
target = "/un/arhicvo/index.php"
# cabeceras HTTP usando sintaxis NOMBRE:VALOR
# si haces un GET, deberÃas modificar o eliminar la primera cabecera
headers = {
"Content-type": "application/x-www-form-urlencoded",
"Accept": "application/xhtml+xml,text/html;q=0.9,text/plain;",
"Referer": "http://www.UnApagina.com/login/ok.php"
}
# parametros POST, si solo quieres una peticion get no hacen falta
params = urllib.urlencode({
'user': 'paco',
'accion': 'gobernarelmundo'
})
# conectamos con el host remoto
conn = httplib.HTTPConnection(host)
# mandamos la peticion POST con los parametros y las cabeceras anteriores
# para un get serÃa lo mismo pero poniendo get y sin parametros
conn.request("POST", target, params, headers)
# vemos que narices ha pasado en la petición
response = conn.getresponse()
print response.status, response.reason
# y si todo ha ido bien ahora imprimiremos los resultados :)
data = response.read()
print data
conn.close()
Según lo que deseemos hacer, casi seguro que será mejor encapsular todo el código anterior en una clase parametrizada, pero eso ya es dependiente del contexto donde estemos :).
They see me mowin’
My front lawn
I know they’re all thinking
I’m so White N’ nerdy
Think I’m just too white n’ nerdy
Think I’m just too white n’ nerdy
Can’t you see I’m white n’ nerdy
Look at me I’m white n’ nerdy!
I wanna roll with-
The gangsters
But so far they all think
I’m too white n’ nerdy
Think I’m just too white n’ nerdy
Think I’m just too white n’ nerdy
I’m just too white n’ nerdy
Really really white n’ nerdy
First in my class here at M.I.T.
Jock skills I’m a champion of D&D
MC Escher that’s my favorite MC
Keep your 40, I’ll just have an Earl Grey tea
My rims never spin to the contrary
You’ll find they’re quite stationary
All of my action figures are cherry
Stephen Hawking’s in my library
My MySpace page is all totally pimped out
I got people begging for my top 8 spaces
Yo I know Pi a thousand places
Ain’t got no grills but I still wear braces
I order all of my sandwiches with mayonnaise
I’m a whiz at minesweeper I can play for days
Once you see my sweet moves you’re gonna stay amazed
my fingers movin’ so fast I’ll set the place ablaze
There’s no killer app I haven’t run
At Pascal, well, I’m number one
I do vector calculus just for fun
I ain’t got a gat but I gotta soldering gun
Happy Days is my favorite theme song
I can sure kick your butt in a game of ping pong
I’ll ace any trivia quiz you bring on
I’m fluent in Javascript as well as Klingon
They see me roll on, my Segway!
I know in my heart they think I’m
white n’ nerdy!
Think I’m just too white n’ nerdy
Think I’m just too white n’ nerdy
Can’t you see I’m white n’ nerdy
Look at me I’m white n’ nerdy
I’d like to roll with-
The gangsters
Although it’s apparent I’m too
White n’ nerdy
Think I’m just too white n’ nerdy
Think I’m just too white n’ nerdy
I’m just too white n’ nerdy
How’d I get so white n’ nerdy?
I’ve been browsing, inspectin’
X-men comics you know I collect ’em
The pens in my pocket I must protect ’em
My ergonomic keyboard never leaves me bored
Shopping online for deals on some writable media
I edit Wikipedia
I memorized the Holy Grail
Really well
I can recite it right now and have you ROTFLOL
I got a business doing websites When my friends need some code who do they call?
I do HTML do for them all
Even make a homepage for my dog!
Yo I got myself a fanny pack
they were having a sale at the GAP
Spend my nights with a roll of bubble wrap
POP POP! Hope no one sees me get freaky!
I’m nerdy in the extreme and whiter than sour cream
I was in AV club and Glee club and even the chess team!
Only question I ever thought was hard
Was do I like Kirk or do I like Picard?
I spend every weekend at the Renaissance Faire
Got my name on my underwear!
They see me strollin’
They laughin’
And rollin’ their eyes ’cause
I’m so white n’ nerdy
Just because I’m white n’ nerdy
Just because I’m white n’ nerdy
All because I’m white n’ nerdy
Holy cow I’m white n’ nerdy
I wanna bowl with-
the gangsters
but oh well it’s obvious I’m
white n’ nerdy
Think I’m just too white n’ nerdy
Think I’m just too white n’ nerdy
I’m just too white n’ nerdy
Look at me I’m white n’ nerdy!
Miky desde su blog me manda este meme que va bien para recordar viejos tiempos, los diez videojuegos favoritos, ordenados de menos a más:
10) Illusion of Time [SNES]: mi primer RPG, no es gran cosa pero me marcó.
9) Civilization Saga [PC]: el mejor juego de estrategia por turnos existente, quien diga lo contrario miente.
8) Zelda: Linkâ??s Awakening [GB]: Un gran Zelda!, cuando entraba en una mazmorra no podÃa parar de pensar y viciarme hasta que conseguÃa resolver los puzzles (que o era muy tonto yo, o muy triviales no solÃan ser, aunque molaba mucho cuando los resolvÃas :))
6) La Prision [PC]: Un juego masivo online, español además. El juego en sà mismo era lo peor del mundo, pero fue ponerme internet, allá por el 2000, y viciarme sin parar estando todas las horas que podÃa conectado y matando guardias xD.
5) Goldeneye [N64]: 3 amigos + 4 mandos = diversión garantizada. El mejor multiplayer jamas creado. (Facility + minas! :D)
1) Zelda – Ocarina of time [N64]: en mi opinión, el mejor videojuego de la historia. Marcó un antes y un despues, si no has jugado no se puede expresar con palabras.
Igual me dejo alguno, o quizá mañana cambie de opinión en cuanto al orden, pero de lo que estoy seguro es de los cuatro primeros :). Como me guste este meme (por eso lo hago xD) y para continuar su vida lo mando a otros dos blogs, Hoy por mi mañana por mi y The Power of Mind que están ambos muy callados ;).
Esta semana ha comenzado la tercera temporada de la, posiblemente, mejor serie de ciencia ficcion que se emite actualmente (y salvando las distancias y poniendo algunos peros, en mi opinión, la mejor serie que he visto, que no son pocas).