Skip to main content

Posts

Showing posts from December, 2011

Resizing the system NTFS partition on Windows XP

I didn't find a way to grow the boot partition on a live system (I think OS X has been able to do that for some time now?). I used BootIt , free for this kind of partition work. Quick download, quick self-install on a USB stick, reboot, unnervingly unresponsive while working, but finally problem-free. In my case I was growing the boot partition into free space. And this XP uses some Intel SATA AHCI driver, and installed in a non-standard way at that, which made me a bit weary. But everything turned out right. The next best option seemed to be GParted Live, which also has an easy way to be installed on a USB stick via TuxBoot.

Directory permissions vs local Portfiles in MacPorts

~/MacPorts/ports$ sudo port install socat --->  Computing dependencies for socat could not read "/Users/mija/MacPorts/ports/sysutils/socat/Portfile": permission denied I was having strange problems to use a locally edited portfile. Turns out the permissions were wrong in a directory in the path; each of the directories should have at least o+rx permissions, and strangely my $HOME had none of those (strange because other users in my computer had o+rx, admins or not). Note that MacPorts lately (from 2.0?) has started to use the user nobody at some points of its workings, and root at others; in this case the user nobody was the one unable to reach the Portfile. A way to check what this user sees is " sudo -u nobody ls -leda@ /Users/mija/blabla ". A workaround is setting macportsuser in /opt/local/etc/macports/macports.conf to root, but that's not a good idea. MacPorts is doing the the sensible thing, de-escalating privileges when they are not needed; th

Custom software for interfacing via USB with multimeters UNI-T UT81B

These multimeters are rather pocket oscilloscopes. Quite an interesting package. And the possibility of interfacing via USB with a computer should multiply the possibilities. Alas, the included software could hardly be crappier. (why do so many manufacturers do something justifiably interesting and then neuter it by blowing up what should be a minor part of the whole?)

Límites absurdos de longitud de paths en APIs de Windows

Ordenando cosas viejas me he encontrado con un problema interesante que tuvimos en los tiempos de gvSIG (hace unos 4 años)... Problema: si se intenta descomprimir el ZIP en un Windows, nos encontramos con la incapacidad de Windows de crear ficheros con path completo de más de 260 chars. Esto sucede tanto en NTFS como en FAT, y es un problema (por ejemplo) si se quiere descomprimir el ZIP en un Windows para meterlo en una unidad USB o un CD / DVD. No es una limitación de FAT: la copia o descompresión se puede hacer en un OS no-Windows y va bien. Es una limitación de API de Windows (como mínimo incluyendo Windows 2003 Server): aunque filenames pueden ser de mas de 255chars, paths completos no pueden superar 260 chars. http://msdn2.microsoft.com/en-us/library/aa365247.aspx

Steve Jobs and the Monomyth

Just realized that Steve Jobs' trajectory could be somewhat compared to the Monomyth : the fall from grace when fired from Apple, the struggles in NeXT and Pixar which ended nicely but were quite a bet, the coming back to the beleaguered Apple (look, that infamous sentence!) and the multiple concurrent struggles (Mac vs Windows, iPod vs constellation of MP3 players, iPhone vs telephone industry, iPad vs computer industry), and the final fight against cancer itself. (What a crescendo!) Maybe that's why even people who only passingly knew about the story were hit by the news of his death? Maybe just because he was that "Hero" fighting all those impossible fights - and winning! Mhm, now I am worried about what kind of film are they wanting to make about him... I can't really imagine it being interesting nor good, but if they think about the Monomyth angle, I can imagine it getting crappy.