Archive for the 'Tech' Category
Thursday, January 15th, 2009
If you use VMware Player or VMware workstation under Linux and you’re an alt-tab fan like me, you might end up with stuck modifier keys, so you can’t use keys like Ctrl, Alt or Shift outside of VMware. Xiao Feng has written a nice script to recover from this annoying condition without having to reboot, and I tought I’d share it with everyone out there:
#!/bin/sh
# Xiao Feng’s "Recovering from stuck modifier keys caused by VMware"
# http://bitubique.com/tutorials/recovering-from-stuck-modifier-keys
/usr/bin/xmodmap – << fixme
clear shift
add shift = Shift_L Shift_R
clear lock
add lock = Caps_Lock
clear control
add control = Control_L Control_R
clear mod1
add mod1 = Alt_L Alt_R
clear mod2
add mod2 = Num_Lock
clear mod3
clear mod4
add mod4 = Super_L Super_R
clear mod5
add mod5 = Scroll_Lock
fixme
xset r on
xset m 3.5 4
xset b off
xset s off
Posted in General, Linux, SysAdmin, Tech, sh | No Comments »
Tuesday, December 9th, 2008
After getting in closer-than-usual acquaintance with my mail server logs I thought I’d share a brief note I found in the Spamhaus PBL FAQ:
The first thing to know is: THE PBL IS NOT A BLACKLIST.
Oh, and since you’re already there you may want to linger a bit in this warning:
WARNING! Some post-delivery filters use “full Received line traversal” or “deep parsing”, where the filter reads all the IPs in the Received lines. Legitimate users, correctly sending good mail out through their ISP’s smarthost, will have PBL-listed IPs show up in the first (lowest) Received header where their ISP picks it up. Such mail should not be blocked! So, you should tell your filters to stop comparing IPs against PBL at the IP which hands off to your mail server! That last hand-off IP is the one which PBL is designed to check. If you cannot configure your filters that way, then do not use PBL to filter your mail. Instead, you may wish to use sbl-xbl.spamhaus.org, but even that may have unacceptable “false positive” filtering, for example when a an exploited end-user machine sends legitimate mail out through the ISP smarthost, or when the dynamic assignment changes the IP to an uninfected machine. Do not use PBL or XBL if you do not understand the issues of “deep parsing”.
(Emphasis mine)
So if your top-of-the-line multi-thousand-dollar antispam appliance starts blocking all my email just because there’s a dynamic IP address somewhere in the header and there’s no freaking way to turn it off please go ask for a refund. And stop bouncing my messages.
Oh and by the way the default SpamAssassin configuration in Debian assigns a 0.905 score if the last hop is in PBL.
score RCVD_IN_PBL
0 0.
509 0 0.
905
…
header RCVD_IN_PBL
eval:check_rbl
(‘zen-lastexternal’,
‘zen.spamhaus.org.’,
‘127.0.0.1[01]‘)
And yes, SpamAssassin does the right thing and checks only the *last* external address — I’ve seen the code:
package Mail::
SpamAssassin::
PerMsgStatus;
…
# If name is foo-lastexternal, check only the Received header just before
# it enters our internal networks; we can trust it and it’s the one that
# passed mail between networks
So once again kudos to Open Source — and Common Sense.
Posted in Debian, General, Linux, Rant, SysAdmin, Tech | No Comments »
Tuesday, November 25th, 2008
A few weeks ago I upgraded my wife’s iPod Touch to 2.1, and I just can’t believe that iTunes won’t let you backup your content even if it means a paid firmware upgrade. I would have used PodsBlitz to back it up, except that Apple decided that it would be a good idea to strip off the disk mode from the iPod Touch.
I decided that there was nothing to be done for the music files: I would have copy the files manually after the upgrade, hoping to replicate my wife’s original selection as closely as possible. But that iPod also has a few of my daugther’s favorite movies… I rightly believed we could have a problem there. I’ve been converting her favorite DVDs for a year, and I carelessly deleted the converted files from the PC a long time ago leaving two options: either invest a few afternoons re-converting those DVDs, or somehow get those files out of the iPod and restore them later.
After a few google searches I stumbled upon a couple of promising projects that some day may grant you unrestricted access to the media residing in your iPod Touch, but those just refused to work in my wife’s PC. A few more queries later I found DigiDNA DiskAid, a nice little utility that speaks the iPod’s obscure file transfer protocol over USB and that lets you copy files back and forth. It’s far from perfect — it wiill only show the physical filename instead of the “real”, tag-based one, and it only does alphabetical sorting, even when sorting by file size. This made hunting for those movie files kind of annoying — annoying but *possible*, which is a lot more that can be said for Apple’s tools.
Posted in Gadgets, Hack!, Rant, Tech, iPod | 1 Comment »
Tuesday, September 30th, 2008

For completeness, here’s a followup to my post about using a Nokia N95 as a bluetooth modem under Linux. This is a working wvdial configuration for use with Telcel in Mexico.
Remember to enter your SIM’s PIN in pin-telcel, and refer to my previous post for complete instructions.
[Dialer pin-telcel]
Modem = /dev/rfcomm0
Baud = 460800
Init1 =AT+Cpin=XXXX
[Dialer telcel]
Phone = *99***1#
Username = telcel
Password = telcel
Stupid Mode = 1
Dial Command = ATDT
Check Def Route = on
Dial Attempts = 3
Modem = /dev/rfcomm0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E0 S0=0 &C1 &D2 +FCLASS=0
Init4 = AT+CGDCONT=1,”IP”,”internet.itelcel.com”
ISDN = 0
Modem Type = Analog Modem
To use it, enter
# wvdial vodafone-pin
# wvdial vodafone
Enjoy!
Posted in Debian, Gadgets, General, Linux, Nokia N95 8G, SysAdmin, Tech | 1 Comment »
Sunday, September 28th, 2008
Did you know that you can use your data-enabled N95 to get a thethered Internet connection from Linux? The access mode and speed will depend on your actual coberture, and as usual YMMV, but I’ve been using this setup for a few months and it works fine.
$ sudo -s
# apt-get install bluetooth bluez-pin bluez-utils kdebluetooth wvdial
Now in user mode use KBlueMon to find out the Bluetooth address of your device and write it down.
Then go ahead and initiate an OBEX file transfer to make sure that you can actually link to your phone and to establish a trust relationship. In your phone add the Laptop to your trusted device list, so it won’t nag you whenever you establish a link.
Now edit /etc/bluetooth/rfcomm.conf :
rfcomm0 {
bind yes;
device 00:21:09:XX:XX:XX;
channel 2;
}
Replace your own device address after “device”.
Now edit /etc/wvdial to add these two entries:
[Dialer pin-vodafone]
Modem = /dev/rfcomm0
Baud = 460800
Init1 =AT+Cpin=XXXX
[Dialer vodafone]
Phone = *99***1#
Username = vodafone
Password = vodafone
Stupid Mode = 1
Dial Command = ATDT
Check Def Route = on
Dial Attempts = 3
Modem = /dev/rfcomm0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E0 S0=0 &C1 &D2 +FCLASS=0
Init4 = AT+CGDCONT=1,”IP”,”ac.vodafone.es”
ISDN = 0
Modem Type = Analog Modem
You can give them any name you want. I have defined several providers, to avoid confusions and to use the provider at hand. Replace the “XXXX” in Init1 with your SIM’s PIN.
Now to use them restart the Bluetooth subsystem:
# /etc/init.d/bluetooth restart
And use wvdial to dial out:
# wvdial vodafone-pin
# wvdial vodafone
You should get an Internet link, complete with an IP, a default route and a couple of DNS servers. If it doesn’t, reboot your phone liberally.
Please note that this might get expensive quite quickly unless you get a data plan from your provider. Go ahead and make their day.
Enjoy!
Posted in Debian, General, Linux, Nokia N95 8G, SysAdmin, Tech | 7 Comments »
Wednesday, March 19th, 2008
I just found out -thorugh an email from Thinkgeek, of all ways- that Arthur C. Clarke has passed away.
2001 was a mesmerizing experience for me when I first saw it. I think I was about 8 years old then. A few years later I got to read 2010, 2061, 3001, the Rama series, and many, many of his stories and novels. One of my dearest possessions is a volume of his collected works that I got as a birthday gift from my brother.
I admire Arthur’s foresight and his use of technology to collaborate with people in the other side of the earth, through fax first and through email later. I remember my surprise when I read in a magazine that he was an avid user of PC computer program that allowed him I to explore the surface of Mars from the comfort of his desktop. Moreover, I was frankly amazed when I learned in high school that he was not only a prolific science fiction writer: I found out that he actually devised the use of satellites in geosynchronous orbit to relay radio signals, thus launching the global, instant-communications era that we live in today. As a member of a geographically-distributed family, I can’t be more grateful.
And in regards to his extraordinary vision, bouncing a radio signal off a satellite in high orbit might have seemed like a fantasy for most laypeople back in the 40s, just like the concept of a space elevator -another Clarke invention- might seem outrageously outlandish to the vast majority of people today. But I trust that we might live to see one in our lifetime. While fact checking these sad news, I found a video with Arthur C. Clarke’s reflections on his 90th birthday. I am not ashamed to say that tears come to my eyes listening to his words.
My heart mourns the loss of an extraordinary science fiction writer, but my mind celebrates the life of an extraordinary scientist.
Farewell, Sir!
Posted in Science, Tech | No Comments »
Wednesday, December 26th, 2007
After pulling my hair for a couple of days I just realized that my DSL provider is blocking all outgoing connections to port 25 with an ICMP Unreachable packet, which translates as a totally bogus “no route to host” message (An ICMP RST would be more kosher, BTW). The only explanation that comes to my mind is that Telmex has finally realized that it has become one of the largest botnet hosts in the world and decided to do something about it. This is a terrible inconvenience for me, because I run a backup MX at my home office and all the email I write while I’m at home is relayed through it. And now it believes that it has been cut out from the Internet, and is suffering from Internet withdrawal syndrome. Oh, and all attempts to use an external relay -like my primary MTA or the office’s- through port 25 fail as well, so I have had to set up an elaborate workaround *just to send email*.
*Argh!* I hate to pay up for those ignorant Windows home users.
Add to that the fact that i get 800KBps tops in a 2GBps line, and recurrent reports of arbitrary bandwidth capping and Infinitum stops looking like a good alternative for home broadband. I’ll have to look for a cost-effective alternative, but after experiencing 20MBps/20EUR in Europe I’m afraid that I’ve been spoiled for life.
In the meantime, if you were expecting a mail from me in the last five days or so, I’m sorry to say that it is either on its way or lost forever.
Anyway… Merry Christmas!
Update 20080104: AJ Gibson points out in a comment that Telmex is willing to remove the block from your account if you are willing to jump through a few hoops. Just go to http://www.telmex.com/mx/asistencia/correoelectronico/faq_puerto_25.html and follow the instructions there. I registered yesterday and today I can connect back to external SMTP servers again. As mentioned in the comments, YMMV.
Posted in Living, Mexico, Rant, Security, SysAdmin, Tech | 28 Comments »
Thursday, November 22nd, 2007
Easy. Portable. Buzzword-compliant. Ingenuous. Elegant. Right-out wicked cool: Bourne Shell Server Pages. As I write this I’m looking for a excuse to use this revolutionary technology in my next project!
Behold the simplicity of ASP and the power of sh:
Interface21: please take note. I expect a Spring.sh implementation before the year ends. ;-)
Posted in Code, Hack!, Tech, sh | 1 Comment »
Thursday, November 15th, 2007
The product you are in charge of maintaining has been in active use for a decade. The manual is several megabytes long, and there’s an army of programmers, consultants and technical writers that make a living off it. As you might guess, it’s not an inexpensive product.
One of the routine tasks for that product -let’s say, “create a new UCM project”- is throughtly documented for the GUI use case, but the manual makes absolutely no mention of the CLI-based procedure. You go through the whole procedure armed with the aforementioned documentation and lots and lots of patience, second-guessing the developers and the technical writers every step of the way, but getting the work done with varying amounts of effort and frustration.
Then, in a key command, you hit a wall. The program complains:
Created project “gpa3_project”.
cleartool: Error: Unknown policy name “POLICY_DELIVER_NCO_SELACTS” specified.
cleartool: Error: Cannot set all the policy pvars on project “gpa3_project”.
Project “gpa3_project” is now ClearQuest-enabled and
linked to ClearQuest database “COFCQ”.
Now “POLICY_DELIVER_NCO_SELACTS” returns *exactly* one match in Google, and it points to the aforementioned documentation. It’s “POLICY_DELIVER_NCO_SELACTS” all over.
After a lot of frustration,
strings /opt/rational/clearcase/linux_x86/shlib/libatriasum.so|grep -i policy_|sort
shows that “POLICY_DELIVER_NCO_SELACTS” is a typo. They really meant “POLICY_DELIVER_NCO_SELACT” instead. No final “S”, you see! And this happened SOME TIME IN THE LAST TEN FREAKING YEARS.
The list of things I’d like to do to the project managers, documentors, and technical writers of this particular product suite is too graphic even for the Internet.
And most importantly — how do they get away with these levels of incompetence?
Posted in Rant, SysAdmin, Tech | No Comments »
Friday, August 31st, 2007
Mark Jason Dominus just released SuperPython 0.91, “a Perl source filter for the SuperPython language, allowing SuperPython code to be embedded into Perl programs”.
In terms of language, it goes way beyond python itself to give proper semantics to whitespace. For instance, here is the Hello World program written in SuperPython:
#!/usr/bin/perl
use SuperPython;
Ain’t it neat? Naturally, the result is
$ ./hello.spy
Hello, world.
just as would be expected.
If you want to try this program yourself you might be surprised to find out that copy+paste won’t work, but that’s a small price to pay in exchange or the benefits of the richness of syntax and expresiveness of the language, and anyway you may download the source code for hello.spy right here.
Mark is very optimist in contributing the new features of SuperPython back to python itself, and has kindly offered to work closely with the Python community to see this happen.
Congrats Mark, and keep up the good work!
Posted in Code, General, Perl, Python, Tech | 3 Comments »
Monday, July 9th, 2007
I tought this was just a SpreadFirefox stunt, but I just found the most strange User-Agent in an Apache server log
Mozilla/5.0 (X11; U; Commodore64; en-GB; rv:1.9.0.10) Gecko/20070601 C64/Commodore OS C64
*heh!* I guess it takes another Commodore fan to appreciate this kind of humor.
Posted in General, Hack!, SysAdmin, Tech | 1 Comment »
Sunday, May 20th, 2007
Hisaaki Shibata took Michael Rolig’s shark.c -which I use to control my radioSHARK from Linux- made it work with the new radioSHARK 2 and released the new shark2.c (local mirror).
With this development owners of the new radioSHARK 2 can control their shiny new device under Linux to change stations and change its lighting besides other neat tricks like live Internet streaming with icecast2 and darkice as I’ve written before.
I haven’t been able to lay my hands on a radioSHARK 2 but I might do it soon. I hope that griffin has finally managed to solve the annoying bugs in the software that made the original radioSHARK completely unusable under Windows, but keep in mind that Michael and Hisaaki’s work has made the enclosed software completely irrelevant to Linux users, opening a new market for a fine hardware product.
Posted in Gadgets, Linux, Tech | 4 Comments »
Saturday, May 19th, 2007
And now for something completely different: This site is now syndicated in Planeta Linux Mexico.
If you haven’t heard about Planets, they are sites that publish aggregated news feeds around certaint themes in the now all-too-familiar reverse chronologic order. Planets are a great way to feel the pulse and hear the buzz of a community without having to maintain individual subscriptions manually. Throught the years I’ve become reliant in several Planet feeds, most notably Planet Perl, Planet Python and Planet Debian.
A few weeks ago Beco introduced me to Planeta Linux -now I’m an avid reader- and kindly offered to talk to Damog and get this blog’s RSS feed into the site.
If you are one of my three regular readers, go visit Planeta Linux, I’m sure you’ll find it as enjoyable as I do. And if you are a Planeta Linux reader, well… Hello!
Posted in Blog, General, Linux, Mexico, Tech | No Comments »
Tuesday, January 30th, 2007
When my iPod died I complained -ranted, actually- about the lack of a decent backup program for it. Well, I finally found a program that does just what I need. PodsBlitz will display the songs in your iPod, and moreover, it will merrily dump them to your hard disk. For backup purposes, I repeat. This will backup all MP3 files with their corresponding tag information, but you’ll still have to backup ratings and all other metainformation the old, manual, XML-based way.
PodsBlitz is written in Java and is distributed as a single .jar file that will execute under Windows, MacOS X and most Linux desktops with a fairly recent Java Runtime Environment. The best part is that it doesn’t need to install drivers or do any kind of fancy USB magic to find your iPod. You just dump it into the root directory of your iPod and it just works! Kudos to Alexander Dietrich for this nice software utility!
Posted in Gadgets, General, Tech, iPod | 1 Comment »
Wednesday, December 13th, 2006
Carlos de la Guardia writes in his blog about his most recent misadventures with Internet Explorer and his post proves once again that confusion, frustration and anger are the emotions most commonly associated with MSIE.
I say let’s just put that damn browser to sleep.
No, seriously. What would happen if we developers just revolted and refused to support MSIE with all kinds of crude JS, CSS and pseudo-HTML hacks that will break anyway when Microsoft starts pushing a new MSIE flavor? Imagine a world in which digg, slashdot, Google, and even Amazon received people with broken browsers with a nice “optimized for Mozilla Firefox” button or -better yet- with a full-page “go get a real browser” error page listing 40 alternative browsers. Considering that Firefox already has some serious market share and is heading for more we may be able to pull it off. Heck, I bet that MSIE would be standards compliant within a week. Or they could just take Gecko and wrap a nice Vista skin around it and call it MSIE 7.1 for all I care. The point is that most of us could be back home in time for dinner for a change.
Hardly original, I know. But this may be worth the effort of fighting a war.
Posted in General, Tech | 2 Comments »
Saturday, August 12th, 2006
As i wrote before, given my (mis)adventures with IBM/Lenovo I decided to change my allegiances and switch to another brand. So during the research phase I took some time to go to the Dell Expo and get to know their laptops firsthand.
One of the questions I had was about the keyboard: after so many years of working with Thinkpads I have become addicted to the TrackPoint, and I was sure that I had seen photos of Dell laptops with such device, so whatever laptop I decided for really had to have it.
I quickly found out that the laptops in the business line -the Latitudes- are the only models to sport such contraption under the Dell-esque name of “Track Stick”. As a matter of fact, besides the Thinkpads they are the only notebooks *anywhere* that still have it, so either they were found unusable by a significant amount of people or IBM tried to milk its patents just a bit too much. Personally, I believe the Trackpoint is the invention of the century right next to the Twiddler (and lately, even _on_ the Twiddler2) but then again some people believe I am somewhat eccentric when it comes to input devices.
So there I was with the entire Latitude line before me to consider. The D420 is very nice and would make a killer travel notebook, but its specs are somewhat conservative for my needs. And the D820 has a nice screen but is way too heavy. So I settled for the D620. I received it last week and I am documenting how to make it work with Debian GNU/Linux.
So here is my hands-on review of the Dell Latitude D620:
Pros:
- Lightweight: About 4kg with the extra battery.
- Has a TrackPoint (great for mouse navigation) and a Touchpad (great for erratical mouse movement while typing but useful for scrolling) that fortunately can be switched off.
- Decent battery life even with a 6-cell.
- Nice full-sized keyboard with fair displacement, good tactile feedback and a satisfactory click. I could almost forgive Dell for the inclusion of a Windows key instead of a realistically-sized space bar.
- Mostly supported out-of-the box in Kernel 2.6.16; so far, full support for the devices I’ve tried has involved just a bit of recompilation
- Nice screen with fair brightness and I haven’t detected any dead pixels so far.
- Gets kind of hot, but not too much.
- Real dock connector barring the need to resort to a cheesy USB port replicator
- Somewhat dull gray-and-black color scheme, but it’s not pre ugly (for a business laptop).
- Built-in smartcard reader (shows up as an USB device).
- Built-in fingerprint reader with startup protection right after POST.
- Did I mention that it has a Trackpoint?
- Built-in WiFi and Bluetooth.
- Built-in Wireless broadband with US-centered overpriced carriers (No idea if any of the hardware options would work with some Mexican overpriced carrier, but there is an intriguing SIM slot under the battery anyway).
- Built-in accelerometer that might be readable under Linux. This might end my MacBook-lightsaber envy.
- Full Type-II PCMCIA slot instead of ExpressCard, so I can wardrive while I work.
- Four USB ports.
- Light sensor for automatic brightness adjustment.
- Windows Vista capable (*Heh!* Like I care…)
- Up to 4GB of RAM, if you dare sell your firstborn, your kidney, or your firstborn’s kidney to pay for it.
- A real parallel and -check this out- DB9 serial port.
- The inclusion of a TrackPoint is a stroke of genius.
Cons:
- It really could use a keyboard light (Why do manufacturers still refuse to include them by default? That’d be… what? US$0.05 for a white LED and a switch when bought in bulk? But nooooo…).
- Both the trackpoint and the touchpad have only two buttons (Unix types may note that there’s one button missing).
- The 9-cell battery protrudes 1.5in from the front of the laptop instead of going on the back like in IBMs, so it kind of gets in the way and looks very much like an aftertought.
- Those videos of exploding Dells still give me nightmares.
- Sorry… no built-in webcam, nor multi-format memory card reader, nor JVC or Bose speakers, nor translucent white lid. This is a business laptop, remember?
- No Firewire. In this era of Firewire-800 external hard disks that is a serious oversight.
- The system beep is loud and annoying. Scare-the-cat annoying. Wake-your-neighbours annoying. Get-hit-by-your-wife annoying.
- No built-in SVideo nor DVI, thought there’s both on the port replicator. Not much of a problem for presentations, but you really need the port replicator to use a decent LCD screen.
- The Dell USB keyboard is kind of awkward. I keep falling off the left edge, and I have trouble finding the ridges in the F & J keys for touch typing.
- Sparse to non-existent printed documentation. There’s no manual to ignore. You can get them online if you want them badly. The Service Manual looks interesting, tough.
BTW if anyone from Dell is reading this: please update the configurator for LatinAmerica. You cant’ save your cart. You can’t email it. You can’t even *bookmark* stuff for later perusal. The LA site is primitive, counterintuitive and sometimes even downright annoying. Basically, it got stuck in the 90s.
On the other hand, Dell service was good. Thanks and kudos to both Ivan Castillo -who walked me through Dell’s product line during the Expo- and to Jesus Naranjo -who took my order and was very patient with my obsesive-compulsive hardware demands. One week into it I still haven’t had need to deal with their tech support personnel (Fate has carried on like that for a bit longer) and I hope it stays that way. If they are 50% like their sales people then I have nothing to fear, and altough I have heard some horror stories about them I’m willing to give them the benefit of the doubt for the time being.
In short: Dude, I got a Dell!
Posted in Dell D620, Gadgets, General, Hardware, Linux, Tech | No Comments »
Thursday, March 16th, 2006
Gammu -the GNU All Mobile Management Utilities formerly known as MyGnokki2- is a full-featured cellphone manager for *nix and Win32. Its makefile knows about .debs and .rpms, it is incredibly easy to configure and -unlike Gnokii- it supports the Nokia 3200 (RH-31) right out of the box through an inexpensive DKU-5 cable.
Right now I’m using this simple /etc/gammurc under Debian GNU/Linux with kernel 2.6.12:
[gammu]
port = /dev/ttyUSB0
model = 3200a
connection = dku5fbus
synchronizetime = yes
#logfile = gammulog
#logformat = textall
use_locking = yes
gammuloc = locfile
startinfo = yes
gammucoding = utf8
rsslevel = teststable
usephonedb = yes
# gammu --identify duly reports
Manufacturer : Nokia
Model : 3200a (RH-31)
Firmware : 5.29 I (22-10-04)
Hardware : 1620
IMEI : 356656xxxxxxxxx
Original IMEI : 356656/xx/xxxxxx/x
Manufactured : 06/2005
Product code : xxxxxxx
Simlock data : xxxxxx
Old simlock : TELCEL GSM (xxx xx)
UEM : xxxx
Posted in General, SysAdmin, Tech | No Comments »
Saturday, October 15th, 2005
The government of the State of Chiapas has recently published on the web a list of the shelter where each victim of Hurricane Stan is right now, so their relatives can find out where they are and how to get in touch with them.
It is a good idea and undoubtel it was done in a hurry, but it is poorly implemented: the list is published in two formats: a 1.2MB PDF file and a 5.6MB HTML file (in the site the file size is listed at22MB!) that were exported directly from Microsoft Excel. If you are looking for a relative whose fate remains uncertain, it is kind of heartless to force you to download a 8MB PDF Viewer or a 5.6MB file to even start looking for your loved ones. Even more if the server doesn’t support content negotiation for GZIP compression, which would shrink the file to 262KB — under 5% of the original size! (bzip2 compression is even more efficient, the compressed file would be half that size). I will spare you of the rant about Microsoft’s disgusting HTML format.
Well, I downloaded the file and wrote a small perl script to clean up that file and import the records into a SQL database. It even does Soundex translation for improved accuracy thanks to Text::Soundex. Perl is Beautiful. If you can, you may want to publish that database on your own site to give people an opportunity to find their relatives, or point them to navegando.net where the search will be kept indifinitely and the database will be refreshed as needed.
BTW, my relatives reported while Stan was still in full force and all of them turned out unharmed.
Posted in General, Tech | No Comments »
Saturday, October 8th, 2005
I recently upgraded iTunes to 5.0 on Magda’s laptop and it decided to start speaking to me in Spanish. In my Thinkpad with Windows XP in english iTunes was still in english.
Magda’s laptop came pre-installed with Windows XP in spanish, but I have never had a problem installing an english version of any kind of software in it. So far, every iTunes version had asked for an installation language during setup, and stuck with that language forever. iTunes 5.0 is different: no matter what language you use during setup, it will move on to the system locale whenever you run it. I bet that somebody in Cupertino believes that this is a “feature”, but actually iTunes is ignoring an explicit user setting, a usability do-not that comes as a surprise from the UI gurus at Apple.
Just to state a fact, I’m no Malinche. I write and speak an above-average Spanish, and I do love my country and its language. But I like my english software in English, and I do not have to endure the work of some underpaid english-to-spanish translator that can’t speak either language right nor understand their respective subtleties. Besides that, the iTunes ES translation is not for Spanish but rather for Castellano, and some strings are somewhat annoying. “Party Shuffle” sounds nice. It has a festive tone to it. When iTunes is in Party Shuffle mode my subconscious thinks I’m at a party, even if it’s 2am in the morning with two deadlines to meet early in the day and a senior programmer on vacation. In comparison “Sesión aleatoria” -random session- sounds just plain boring.
Today I upgraded to 5.0.1.4 half expecting this bug to be gone, but surprisingly it is alive and well and sends best wishes to everyone back home.
A quick google search got back an interesting result on Playlist Magazine’s forums: just close iTunes, go to its installation directory under “Program Files”, find every directory named <offending language code>.lproj (for me that was es.lproj) under iTunes.Resources, iTunesHelper.Resources and iTunesMiniPlayer.Resources and nuke them out of existence. The one under iTunesHelper.Resources might complain about a DLL being in use. Just move that DLL to some other place and delete it after a reboot. The next time you run iTunes it will talk to you in English.
Posted in General, Tech, iPod | No Comments »
Tuesday, June 28th, 2005
According to SearchEngineWatch, apparently freeing KeyHole Hi-Res satellite imagery wasn’t enough. Now Google has launched Google Earth, which includes features from Google Local and Google Maps in a smooth, slick interface. At 10MB+, it’s way smaller than I tought (WorldWind goes for a whopping 180 MB) . The basic version is free as in beer, and there’s also a US$20/yr subscription for an enhanced version that supports GPS integration and annotation tools. There’s also a plugin directory that looks… unsettling. In general, it looks good, but as I’ve always suspected Mexico City is still a shapeless blur. Would someone please, please build a functional online Mexico City Map that does not suck?
Posted in General, Tech | 1 Comment »
23 queries. 0.215s
$Revision: 1.6 $