Programación
Entrevista
Juan Paulo me invitó a participar del primer podcast de su excelente blog Digilicious.
Estuvimos hablando un rato de usabilidad, experiencia del usuario, interacción y de todas las cosas que los que me conocen ya las escucharon 10 mil veces, así que si me conoces ni te gastes, jeje.
Gracias MAD!...
Mounting FreeBSD UFS2 partitions on Linux
It took me some time to find out how to do this, so I’ll post it here hoping that someone will find it useful.
First of all, “fidsk -l” won’t show all your FreeBSD disklabels, you’ll have to do “cat /proc/partitions” to find the partition you wan’t to mount. If the Kernel has support for disklabels (it comes by default on modern Kernels) you will see all your BSD disklabels.
Example:
# cat /proc/partitions
major minor #blocks name
8 0 195360984 sda
8 1 104391 sda1
8 2 1044225 sda2
8 3 194209785 sda3
8 16 78184008 sdb
8 17 78180291 sdb1
8 32 117220824 sdc
8 33 117218241 sdc1
8 37 1048576 sdc5
8 38 2097152 sdc6
8 39 3145728 sdc7
8 40 1048576 sdc8
8 41 109878209 sdc9
Suppose I want to mount /dev/sdc9 (it was /usr in my old FreeBSD) on /mnt. This is the command to do it:
mount -r -t ufs -o ufstype=ufs2 /dev/sdc9 /mnt
And, ye......
Querido Papá Noel
Olvidate del iPhone, ya se que quiero para navidad, un Wii!!!
No para jugar obvio sino para hacer esto
Gracias Diego por el dato....
Managing your configuration files using Subversion
When you have accounts in dozens and dozens of servers, it could be hard to replicate and keep track of all your configuration files (aka. rc files). To be honest, that’s the reason why I never used rc files in the past, and always tried to stick with the default behavior of programs. But, for some time now, I’ve been using Subversion to keep and manage my personal rc files and it has proven extremely useful. If you don’t know Subversion I recommend you to read about it, even if you don’t plan to use it for development. It’s a great tool for keeping track of files, not necessarily source code. The Subversion book is the reference, but you can also find plenty of tutorials online.
So the idea is simple: just use Subversion (SVN) to keep track of your configuration files, like you would use it to keep track of source code.
To create a repository for your personal rc files you would do something like this:
cd ~
svn mkdir -m "adding pablo rcfiles" https:/......
Transparent connection proxies through SSH
Have you ever ssh’ed into a remote server and wondered if you could run a program using the connection from that remote server in a transparent and easy way?
Well, you can and it’s quite simple. Here’s the recipe for Linux.
1. Install tsocks using your Linux distribution package manager (preferably) or compiling from source.
2. Add a file ~/.tsocksrc with this content:
server = 127.0.0.1
server_type = 5
server_port = 9999
3. add this to your environment variables:
TSOCKS_CONF_FILE=~/.tsocksrc
4. ssh’d into the remote server by typing:
ssh -D 9999 user@server
5. launch the application using tsocks. For example, if you want to run Firefox using the remote server connection, type:
tsocks firefox
There you go. The program will run using the connection from the remote server (where you have ssh’ed) in a complete transparent way, no matter which ports the program uses. An alternative way is to run the programs with this environment variable set:
LD_PRE......
No eran tan horribles despues de todo
La tecnología no es nada, la técnica es todo....
Domains stolen through whois queries
Beware of the whois service. There’s a lot of people in the world spying whois queries to steal domain names.
Back in August I was looking for a cool name for my company, and the domain name was the starting point. To tell you the truth, insophia.com was not the first one at all, although I’m now convinced it was the best I started with others (arguably more or less) cool names, which some bulk DNS selling company stole from me after 4 days of making my first whois query to find out if they were free. And I didn’t even use any public web page for making the queries, I just used the good ol’ unix command line tool.
So my advice is: if you are looking for a cool dot-com name, register all the “not so cool” domain names you find on the way, even if you are not sure at first (you never are anyway) whether you’re gonna keep them. Because, when you get to decide, it may be just too late....
iPhone en Uruguay
Desde el martes mi nuevo celular es un iPhone. Al igual que hice con el V3, les dejo aqui los pasos necesarios para configurarlo con ANCEL.
Estos son los pasos necesarios para desbloquearlo (gracias Jimmy!) y hacerlo andar con la tarifa plana WAP de ANCEL. No estoy seguro que sea la forma más optima de hacerlo, pero doy fe que funciona para iPhone que vienen de fábrica con firmware 1.0.2 o 1.1.1.
1. Downgrade a 1.0.2 (solo para iPhones con firmware 1.1.1)
En mi caso el iPhone me vino con la versión 1.0.2 de firmware, por lo que no tuve que hacerle un dowgrade. Sin embargo, tengo conocidos que lo han hecho y les funcionó. Sin embargo, no conozco a nadie que haya logrado desbloquearlo con la 1.1.1 y le funcione con ANCEL.
Este paso solo es necesario para iPhones con firmware 1.1.1. El downgrade es para volverlo a la versión 1.0.2 de firmware, que es la que funciona bien con las tarjetas de ANCEL, aunque probablemente tambén haya forma de hacerlas andar con la 1.1.1 pero aún no......
Google vs Facebook
Brillante la movida de Google para competir contra Facebook.
Están, básicamente, repitiendo lo mismo que hicieron con Google Talk para competir contra MSN.
Los aplaudo. y no necesito desearles suerte porque ya sabemos cual es el resultado de un protocolo abierto impulsado por una empresa gigante: éxito inevitable...
Uruguay buys first ‘$100 laptops’
The first official order for the so-called “$100 laptop” has been placed by the government of Uruguay.
The South American country has bought 100,000 of the machines for schoolchildren aged six to 12.
A further 300,000 may be purchased to provide a machine for every child in the country by 2009.
The order will be a boost for the One Laptop per Child (OLPC) organisation behind the project which has admitted difficulties getting concrete orders.
“I have to some degree underestimated the difference between shaking the hand of a head of state and having a cheque written,” Nicholas Negroponte, the founder of the organisation, recently told the New York Times.
However, he said he was “delighted” with the first deal.
“We commend Uruguay for being the first country to take concrete actions to provide laptops to all its children and teachers and look forward to other countries following this example,” he said.
Vía BBC...


















