Older blog entries for mones (starting at number 76)

Le PSU est mort, vive le PSU!

One Sunday you wake up, have some breakfast, do some house keeping work with your significant other's help, and then, just before the lunch, decide to check the mail. But, curious thing, the computer seems off, and you don't remember to have switched it off. The UPS LEDs bright green as usually, but the usual LEDs on the computer box are all off. First reaction after this quick check is, of course, pressing the button to switch it on. And, as expected, nothing happens. Then a couple of neurons inside your brain decide to collaborate and you remember about that burnt smell your significant other talked precisely to you an hour ago (more or less). Seems I'm not going to check mail in this computer for a while.

I watched some videos on the TV of the infinite channels and learned that just by putting the green and black cables of the 20/24 pin connector in short-circuit you can check whether the power supply is working. This makes me wonder how my knowledge about the hardware I own decreases exponentially as I grow older, but I rapidly forget this too ;-). That test failed so I had a culprit, it only remained to know if it was just the PSU or some other components had been affected.

Three days later I found a co-worker and Asturlinux fellow which kindly lent me a PSU for testing (well, in fact lent me two, but one had lower wattage than mine, so avoided to do experiments with it). My initial hopes were that nothing else had been damaged, so simply replacing the PSU would fix the problem. Of course, not.

First test, nothing boots, BIOS reports no hard disks and the orange LED of disk activity blinks regularly. Disconnected all of them (two SATA and one ATA) and removed the ATA disk (it's the booting one) from its plastic removable enclosure, attaching it to directly to the board instead.

Second test, the GRUB prompt appears! It fails to boot anything because the operating system is in the SATA disks, but at least the disk is OK and BIOS also recognizes it flawlessly now. The ATA removable enclosure joins the PSU in the waste bin.

Third test, reattach SATA disks. Ouch! blinking orange again, nothing boots. Well, let's try just one SATA disk. Phew! It boots again and shows the GRUB menu, ready to load the kernel list. At that moment, the new Space Fun theme could be shortly appreciated. Sweet.

Some tests later, I'm giving up. No matter which combination of the two disk and two SATA ports on the motherboard you made, once the two are attached nothing works. Leave only one and it boots. It's clear to me the motherboard has also been damaged, in a minor degree, but, certainly not reliable any more. Specially when the disk mirroring cannot be implemented again. Another piece on the waste bin.

Changing motherboard pushes things a little more than just a PSU. I've decided to try to keep all the existing pieces that work, so only the core is being replaced. But that is: motherboard (with integrated graphics card, as the AGP interface of my NVidia seems pretty obsolete now), processor, memory and, of course, a new PSU ;-)

This is, at least as I understand it, a new computer. So finally it seems I'm not going to check my mail in this computer any more.

P.S.: Yes, since last post and finally the Debian GNU/Linux 6.0 AKA Squeeze has been released!

Syndicated 2011-02-19 18:44:45 from Ricardo Mones

What happened!?

Well, a lot, or not so much, depends how you take it :)

To summarise some random chosen facts:
Work


  • Still at the same project at work (started to stink months ago). Will it end someday? Soon we hope, but given the external dependencies and all the people required to be coordinated seems very hard.

  • But still having a job, so the bank is happy I'm paying the mortgage every month. Me too :)

  • Finally had my vacation, delayed twice in 2010, and with extra days as compensation for this!

  • But also were doing extra hours (worked some Saturdays and holidays...)

  • Which, fortunately, were paid accordingly

  • Just to discover how the taxes on my payroll were also incremented to leave me with only the half of the extra euros :-P


Life

  • Christmas were not as good as other years, maybe because I got some kind of flu for the end of year. Not good for enjoying the meal or any other thing in fact. Sucks a bit to fall ill when on vacation again.

  • Visited León over a weekend, and having a good time with Alf and his soon to be future wife. They're getting married after 10 years together, so I wonder they were not sure or just utterly lazy ;-)

  • Finally searching solutions for renewing our bathrooms at home. That's going to be a hard (and expensive) task!


FOSS

  • Yes, new Debian stable, codenamed Squeeze, is still not released... I guess no surprise here. Since some time ago I'm following the mailing list and now I realize how hard is making everybody to converge on releasing, specially when free software is such a moving target and everybody wants the latest and greatest always.

  • Claws packages will be there at the 3.7.6 version, which is fairly good so far. Anyway now that backports is part of the official infrastructure it's very likely the current version will be backported as soon as Squeeze is out and their backports suite activated.

  • Sylpheed continues its road to 3.1.0, which will have an updated Spanish translation. It was a long time since I did it last time :)

  • An itch has been scratched and the Address Keeper plugin is now a reality. This feature for Claws Mail has been around my mind since probably since I started to use it and was named diferently. It was the only feature I missed from the Pegasus Mail on Win32, which had it and had saved myself from typing addresses twice forever.

Syndicated 2011-01-28 16:14:00 from Ricardo Mones

Transpirating Java

One of the joys of my current job is that we're so much people that not all people can be working at the main building. The luckiest ones are, of course, though luck is heavily influenced by your role, of course ;-) The less lucky are even off the site, but still in a real building. Then come the unfortunates which work in at the site but inside a kind of barrack, like me. Despite having air conditioning systems (which we cannot regulate!) you can imagine that a metallic barrack is not the best place to stay after several hours of sun heating.

These days we're perspiring every line of code we write...

Syndicated 2010-08-26 07:05:08 from Ricardo Mones

Total time: 5 minutes 48 seconds

This is how long takes a deploy at localhost... when your work's laptop is a underpowered five year's old technology. That's probably not even true, as the time of marketing is usually way in the future from the time the technology does exist and is usable.

Obviously it's not all hardware's fault, the enterprise mandated heap of crap^W^W^Wstandard operating environment which runs on top of it does it's job by eating around a third of the 2 GB of total memory. Put a local Oracle and a couple of JVMs (eclipse and the application server) and you'll soon be swapping to disk.

I'm pretty tired of all this currently. I my last week vacation was canceled because of the project I had been unassigned from (and now reassigned again), and I really needed it. At least September will be better.

Syndicated 2010-08-04 08:36:57 from Ricardo Mones

Clawsker 0.7.1

Finally, only three months lather than announced, it has seen the light :-).

Unfortunately I've received no new translations, so it's even a more poor release than expected. Anyway, long life to release early, release often!

Syndicated 2010-05-14 17:06:45 from Ricardo Mones

running out of ids

Yep, our current client is pretty sure they're gonna run out of identifiers on the database tables (they're NUMBER(32,0) columns). Now we have to change the database design to have tables with composed primary keys, which will unnecesarily make the queries more complicated, instead our simple autonumeric key.

So what do they process? Not much in fact, around 500 requests per day. Oohh! Let's say 1000, to make you happy. Let's say also detail tables will grow even faster: 1000 lines per request (it's unrealistic, but WTF)... so you have now a million of ids used per day.

Well, sounds a lot... but don't be shy: suppose you have enough cores to process it, the bandwidth of several telcos and exabytes of database to waste, the crisis is over and you're the only vendor in the galaxy, so let's say you use 100 billion of ids per day (or 10^11).

That's really a lot! isn't it? Our little NUMBER(32,0) can hold up to 10^32 values, so at that
surrealistic rate you would exhaust it in 10^32 / 10^11 = 10^21 days, or divided by 365 and rounding 2.74 x 10^18 years, or, dividing again, approximately 210,000,000 times the estimated age of the known universe.

Yes, we're running out of ids... and surrounded by monkeys.

Syndicated 2010-05-04 14:34:22 from Ricardo Mones

dudesconf is over

Well, all good things come to an end, like the song says, so it does DudesConf. We had a very good time here, all the people was having fun and enjoying Debian and the great hospitality of the GPUL people, which make us feel like at home, like the previous times. Superb organization, I hope we can repeat the experience the next year.

I've also been able to put myself online again, so expect me fighting again ;-)

Syndicated 2010-04-11 13:58:15 from Ricardo Mones

dudesconf

Long time has passed since last post here. Real life in general and my paid job in particular has kept me too busy to leave room for anything else. Now seems things will be better: new project and new bosses (I'm in Ariba team again), though company is the same, so lets see how much it lasts.

Regarding free software there's not much to say, my online life never was so low and I've even lost some sponsored packages in Debian because my lack of activity. There's several hundreds of unread mails pending and things to be done are still to be done. Nevertheless, I'm now at DudesConf enjoying a nice sunny weekend at A Coruña, the talks of my Debian fellows and trying to put myself up to date. For now, I've been able to fix the German manual of Claws Mail so the hydra is able to build packages again.

And now it's breakfast time ;-)

Syndicated 2010-04-10 07:48:39 from Ricardo Mones

xauth magic

While trying to launch claws-mail in my remote ssh-forwarded display I got an:
X11 connection rejected because of wrong authentication error message.
I realized then that while DISPLAY was configured correctly to point localhost:10.0 I was using another user in the screen session, not the one used to ssh in. After some googling for the message seems the usual culprits for this were low disc space (!) and disabled X11 forwarding, which were not my case. There were mentions to ~/.Xauthority permissions, but you don't have such file when you su to another user. So xauth came to my rescue: on the user which logs in you can list authorizations:

$ xauth list
busgosu/unix:0  MIT-MAGIC-COOKIE-1  
localhost.localdomain/unix:0  MIT-MAGIC-COOKIE-1  
busgosu/unix:10  MIT-MAGIC-COOKIE-1  

And in the user you su-ed to, and which doesn't have the file:
$ xauth
xauth:  creating new authority file /home/otheruser/.Xauthority
Using authority file /home/otheruser/.Xauthority
xauth> add busgosu/unix:10  MIT-MAGIC-COOKIE-1  
xauth> exit
Writing authority file /home/otheruser/.Xauthority
$

And you're done, with the same authorization now X11 forwarding works for the other user too :-).

Syndicated 2009-12-28 11:14:45 from Ricardo Mones

Defense of fundamental rights on the Internet

I was going to copy it, but lazy as I am, I think is more interesting to link it, as I'm not the original author and I don't have more much to add, so this is the link to Ana's blog entry «En defensa de los derechos fundamentales en Internet» (in Spanish), hey Ana! ;-)

English readers: if you want to know what this Ana's post is about, read this.

Syndicated 2009-12-20 19:28:56 from Ricardo Mones

67 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!