Search Results: "ean"

1 December 2005

Clint Adams: Creep-y

I've always looked at Radiohead fans with the same sort of non-understanding that comes when Rush fans try to explain to Rush haters that what makes Rush really, really awesome is the deep insight and cleverness in the lyrics. Some small advice: never let a PhD in philosophy do any songwriting. I don't hate Radiohead. I just don't understand why anyone would like them. It was my understanding that there were about as many Radiohead fans as, say, fans of Mudhoney. Imagine my shock and confusion when I discovered that there seem to be quite a few more people on Last.fm listening to Radiohead. Fine, I thought. Everybody's got a copy of Creep sitting around that they listen to every once in awhile for reasons of nostalgia. That does not appear to be the case. There is a group called Extensive Musical Taste . Note that their top artist is Radiohead. There is a group called People with inconsistent musical taste - who yet prove a certain indy-attitude . I don't know what that means, but their top artist is Radiohead. There is a group called Die Hipster Die . Radiohead is tied for number one. Someone else has noticed this particular trend, and has created a group called Radioheads_Not_Our_Top_Artist . Bless these people for not having Radiohead as their top artist. Radiohead is their #2 artist. Whee! Last week the DD group had Radiohead at the top. I have no idea why it fell so far after that. Maybe it's a scrobbler fuckup. I could stop singling out Radiohead, and broaden this to the other bands hovering at the top of nearly every group chart: The Beatles, Death Cab for Cutie, Pink Floyd, and so on. Oddly, this thing isn't very popular. Sure, you may be thinking. Radiohead sucks, but what's the problem? . The problem has to do with the effects of globalization on world cultures. In Jihad vs. McWorld it says that okay, well, I don't know what it says because I've never read it. Nevertheless, Benjamin Barber claims that Democracy is the solution to the evils of both globalism and tribalism. This is a fantastic idea if you happen to be in denial that Democracy is just a perverse form of tribalism. So guzzle down your McDonald's, listen to your Radiohead, wash it all down with some Coca-Cola that you bought at Wal-Mart, put on your Old Navy sweatshirt and head over to Starbucks to drink a frapmooccino while you obsess about American politics even though you live in an obviously-superior country, then go home and watch Friends . That's easier than being someone with musical taste. P.S., Radiohead being on South Park is no excuse. P.P.S., Buttercup is not a Radiohead fan.

Guido Trotter: Horde incompatible with php session.auto_start

It seems that the horde (both version 2 and 3) is incompatible with the php session.auto_start option…
If this option is enabled in fact horde has the strange behaviour of immediately expiring the session of authenticating users, thus avoiding anybody reading their mail… This only happens with newer versions of horde btw: and old one that was installed on the same machine worked fine! Worse thing: none about this seems to be mentioned anywhere… :( And I only found out installing horde on a clean machine and starting to look for differences… which made me lose my whole afternoon (and my class)… sic!

Ross Burton: It's Ours!

Keys It's ours, all ours! NP: Means of Production, Aim

Clint Adams: Another Halloween Sentence

So I'm walking along, singing He Wants You by Nick Cave and the Bad Seeds and some crackho drives by shrieking Somebody Told Me by The Killers and some schmuck in an ape mask grunts at me fiercely and I pass at least six unhappy little girls in similar little princess costumes and I see this girl sporting what I can only describe as, and this isn't entirely precise or accurate, a mohawk-mullet and I think to myself, What would Romain Fran oise say to that mohawk-mullet?

Clint Adams: Comunicaci n

Yo te hablo de poes a
y vos me pregunt s
a qu  hora comemos.
Lo peor es que
yo tambi n tengo hambre.
The following is dedicated to Og Maciel, whose life apparently would be empty and meaningless without it.
There was a couple
Not an underwater couple that controlled the sea
But a couple of people on land
Who courted one another with the magic of haiku
They sent haiku across the country
Every day
Until the philotes
Brought them together physically
Then the Great State of California
Pronounced them legally wed
Because it either didn't know
Or didn't care
That poetry is supposed to rhyme.

Matthew Palmer: A trace mixin for Python

Although I am by means an expert Python programmer, I do dabble -- at the moment, I'm dabbling fairly heavily in a project for work. I had need, as you do on occasion, for a call trace (I called this method, it returned X, I then called this other method, it returned Y, and so on). Astoundingly, I got no answer when I asked on #python, as I would have expected this sort of thing to be a gimme -- even possibly including it as a core language feature. But nary an answer was forthcoming. Searches for mixins or magic function calls which might solve my problem were similarly fruitless. I resigned myself to manually sticking print wrappers around the function calls of interest, but that got old real fast (especially after I spent about a half-hour chasing my tail because I'd forgotten to return the return value after I printed it). As usual, my subconscious saved the day. On the train home this afternoon, I suddenly had a brainwave, and the code which I've reproduced below appeared almost fully-formed at my fingertips. It's times like this that I really enjoy programming. Now, of course, someone will pop up and say "oh here it is over here", or "you just set the __trace_me_baby__ attribute on your object", but I can console myself with the fact that I know a lot more about grubby Python internals than I did before. The code: (a pre-saved version is also available).
# tracemixin.py
#
# A python mixin to trace the calling of methods.
#
# Copyright (C) 2005 Matthew Palmer 
#
#   This program is free software; you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation; either version 2 of the License, or
#   (at your option) any later version.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
#   You should have received a copy of the GNU General Public License
#   along with this program; if not, write to the Free Software
#   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
#   or see http://www.gnu.org/licenses/gpl.html
#   
"""
A mixin class to permit the tracing of method calls on an object.
This class, when mixed in, overrides the default operation of method calls
so that requests to call methods which have been listed in the
self._traced_methods list will be printed with their arguments and return
values.  Also included is a simple call depth indication, using indents.
Tracing of particular methods can be turned on and off on a per-object basis
by simply including or removing the method's name in the _traced_methods
list on the particular object.  Whole classes can be traced by setting
the list as a class attribute.
To include this class, simply make it the first class name in the list of
parent classes when defining a new class, like so:
class Something(TraceMixin, RealParentClass):
You could probably leave the TraceMixin in your production code, although
it'll slow execution down by a bit.
Complete usage example:
from tracemixin import TraceMixin
class RandomTask(TraceMixin):
	def x(self):
		print "X!"
	
	def y(self, arg):
		print "%s Y!" % arg
		self.x()
x = RandomTask()
x.x()
x._traced_methods = ['x', 'y']
x.y('why?')
Output:
X!
::y(why?)
why? Y!
  ::x()
X!
  =>None
=>None
"""
class TraceMixin(object):
	_traced_methods = []
	_depth = 0
	def __getattribute__(self, attr):
		if attr in object.__getattribute__(self, '_traced_methods'):
			self.method = attr
			attr = '_trace_proxy'
		return object.__getattribute__(self, attr)
	
	def _trace_proxy(self, *args):
		realmethod = object.__getattribute__(self, self.method)
		if realmethod and realmethod.__class__ == self._trace_proxy.__class__:
			print "%s::%s(%s)" % (self._depth*'  ', self.method, ', '.join(args))
			self._depth += 1
			rv = realmethod(*args)
			self._depth -= 1
			print "%s=>%s" % (self._depth*'  ', rv)
			return rv
		else:
			raise AttributeError

Clint Adams: Comunicaci n

Yo te hablo de poes a
y vos me pregunt s
a qu  hora comemos.
Lo peor es que
yo tambi n tengo hambre.
The following is dedicated to Og Maciel, whose life apparently would be empty and meaningless without it.
There was a couple
Not an underwater couple that controlled the sea
But a couple of people on land
Who courted one another with the magic of haiku
They sent haiku across the country
Every day
Until the philotes
Brought them together physically
Then the Great State of California
Pronounced them legally wed
Because it either didn't know
Or didn't care
That poetry is supposed to rhyme.

Clint Adams: Another Halloween Sentence

So I'm walking along, singing He Wants You by Nick Cave and the Bad Seeds and some crackho drives by shrieking Somebody Told Me by The Killers and some schmuck in an ape mask grunts at me fiercely and I pass at least six unhappy little girls in similar little princess costumes and I see this girl sporting what I can only describe as, and this isn't entirely precise or accurate, a mohawk-mullet and I think to myself, What would Romain Fran oise say to that mohawk-mullet?

30 November 2005

Jonathan McDowell: OpenWRT on the Netgear DG834G

I spent too much time today reading MIPS disassembly of the ADAM2 bootload, as used on the Netgear DG834G. The problem is that the version used on the Netgear performs a checksum over most of the flash device on every boot. This makes the use of JFFS2, as done by OpenWRT, somewhat problematic. In an ideal world I'd try to compile up a newer, less restrictive version of ADAM2 but there's no JTAG on the Netgear that I've found and the thought of frying the bootloader and bricking the device wasn't appealing. So what I've ended up doing is finding where the checksum is done and changing the branch instruction that aborts the boot to a nop. It's still scary, but it appears to do the job. PLEASE NOTE THE BELOW COULD PERMANENTLY BREAK YOUR ROUTER First, obtain your ADAM2 image. This is 128K and is mtd2 from the bootloader view. It should have an md5sum of 0530bfdf00ec155f4182afd70da028c1. If it doesn't, stop. The version I'm talking about is 0.18.01 as distributed by Netgear. Assuming you have the right md5sum you want to go to offset 0x3944 where the 4 bytes should be 44 09 00 0C (representing a jal 0x90002510 during execution). Replace these 4 bytes with 0 (representing nop) and you should end up with a new image with an md5sum of d8a2f4623bf6f64b7427812f0e849aa7. You'll then need to do something like dd if=adam2-fix.bin of=/dev/mtdblock/2 on the device (I don't believe you'll be able to rewrite the bootloader from the bootloader for some reason...). After that ADAM2 will still checksum the flash, but will continue to boot it after printing a checksum error message. This means you can go off and build yourself an OpenWRT AR7 based image and install it on your Netgear. Rock.

Gunnar Wolf: My presentation in VI SIIS in Tacna, Perú

I am about to give a presentation in Tacna, Per , at the VI SIIS, Universidad Nacional Jorge Basadre Grohmann. What is different this time? That I am waiting for the conference to start, sitting in my nice workplace at IIEc-UNAM. Yes, I was supposed to go and talk there (and was quite excited to go to the I ConclaDeb at Arequipa last week). Anyway, why cancel my talk, having the technical means to carry it out?
Less than five minutes from now we will start. There is only one thing I regret: As a complete multimedia neophyte, I could not suggest an application to do this from within Linux - We will be using MSN for the presentation. I have a friend's computer on my desktop, and MSN worked great (and at the first try!) for this - Who can suggest me a free alternative for doing this (specially taking into account that I cannot go to the other end and do much configuration on their side - It must be something speaking a standard format)
Anyway... Time to talk! I'll have my paper (Spanish only, sorry - Analizadores morfol gicos aplicados al lenguaje natural, aplicaciones para la b squeda de informaci n) online. Right now I only have my presentation there, but in a couple of hours, the paper should be there as well.

Mike Hommey: pbuilder and ccache

Isaac, there is actually a cleaner way to do the same as your hook. Just add the following to your .pbuilderrc file :
export CCACHE_DIR="/var/cache/pbuilder/ccache"
export PATH="/usr/lib/ccache:$ PATH "
EXTRAPACKAGES=ccache
BINDMOUNTS="$ CCACHE_DIR "
That will need bug #341453 to be fixed first, though, but if you set both BUILDUSERID and BUILDUSERNAME it will work out of the box (with the default configuration, PATH is not preserved because of the bug). Note that you can also set HOOKDIR instead of using the --hookdir command line argument, thus not needing your wrapper.

29 November 2005

Wouter Verhelst: Feed times

It's amazing what a feed aggregator such as Planet Planet needs to put up with. Apparently some posts don't have timing information with them, so planet needs to invent those times (which it does by the time a post appeared in its cache). Since, however, my planet is still rather young, that meant I had three people flooding it already. Ugh. So I just opened the foo,times file in an editor and set the times for the posts of those people to something a bit older, based on what the HTML on their blog said the time of the post was. Which begs the question: why don't people just publish the time in their RSS feed if they do publish it in the HTML anyway? Oh well. I've already added some extra feeds based on the suggestions Kris sent me; and more are, of course, always welcome!

Lars Wirzenius: Travel report: Quest for Sun '05 (Madrid)

Sun! Sunlight is a wonderful thing. Yesterday I came back from a six day vacation in Madrid. The weather was not warm, a bit warmer than in Finland, but especially it was dry and sunny. Pretty good autumn weather, actually. The best week I've had for a while. This was my Quest for Sun '05. I stayed at Amaya's place, slept well and long every night, had a wonderful time with some Debian people, and walked outside and visited a couple of wonderful art museums. Thank you, especially, Amaya, Holger, and Miriam. And also vi and emacs, the feline foot fetishists who rule Amaya's apartment. I took some pictures. They're touristy snapshots, not meant to be art. I meant to make notes about my experiences during the week, but the nice, classy Moleskine notebook I bought especially for the trip got lost the first full day. Some moments stuck into my mind, however. Since the Quest for Sun '05 was a success, I definitely will do it again. A week of light (and sleeping properly) really improved my mood. Maybe even enough that I will be able to deal with the remaining months of dark, gloom, wet, and cold of the winter in Helsinki. The only big negative thing about this trip was flying. I suggest that international air travel henceforth shall be called "The Cattle Drive".

Jonathan McDowell: X session management

I use evilwm as my window manager. I like it; I mainly end up with a whole bunch of xterms and only a handful of graphical apps (Firefox, Psi, xmms and GKrellM). evilwm's minimal decorations mean I can fit everything nicely on my screen without clutter, and the virtual desktops let me have various separated out bits (eg Firefox gets a full desktop to itself). What I would like however is some form of session management. I'd like to be able to shutdown down my machine and when I restart it have my X setup look similar to when it was shut down, rather than having to start up a dozen apps and position them as I like them. I know I can do software suspend, but that doesn't cover kernel/library upgrades. I had a play with xsm, but although it could start up my xterms it didn't place them correctly. And didn't seem to restart Firefox, but I didn't poke that hard once I realised the xterms weren't getting placed. Am I doing something wrong? Do I need some different window manager setup? I think I'd rather live with having to place stuff myself rather than pull in large amounts of GNOME. I've previously used Window Maker and Fluxbox for prolonged periods of time - can either of those do what I want better?

Aigars Mahinovs: Fotography is dangrerouse


Fotography is dangrerouse
Originally uploaded by aigarius.
After a bit of sleep, a bit of rest and several hours of workign trough all the 293 photographs taken during the 3 days of AnimeFest, I must finally write something about the last day.
The last day of the fest (sunday) was easily the best. The morning was a bit disapointing as the planned special showing of Steamboy did not happen and the korean Hammerboy was quite boring for anyone over the age of 7. Many had a good nap.
Everything went wild when the second part of Hellsing series was supposed to start. Previouse day the showing stopped on 6th episode, so when after the intro we saw that the 10th episodes starts, all started shouting so loud that even mechanics understood that something was wrong. For about 5 minutes they seemed to wander aimlessly around the menu of the DVD. The mechanics were in a sealed room, so they couldn't hear us and we couldn't quite go to them either. I had a fun moment running up to the screen and showing with my hand which button should the mechanic press on the screen. I mimiced both pushing the button like it was a touchscreen and a also runned around trying to "drag" the cursor across the screen. It looked very fun to the audience. In the end it turned out that the DVD was doublesided and had to be turned around, but it took almost ten times of starting the 10th episode and around a half an hour of time. Thankfully the rest of days schedule could be pressed a bit to compensate.
Hellsing itself was just wonderfull, I hope they will decide to make a sequel soon and that they'll make it well.
Next up was Millenium Actress. I did not expect much realism from the creators of Prefect Blue, but I was so wrong. The movie is simply great - it is fun, has great story and ingeniose way to tell that story. Simply a marvel.
The final ceremony of the festival started with a concert of a local group of two Latvian girls singing Japaniese pop songs - "Tokio Dolls". Nice voices, very good choreography and reasonable lights - all in all a good show. In the conclusion there was Ghost in the Shell 2: Innocence. This is my second time trying to get it. I loved the first film. I liked the first season of series. But this film and the second season of series is just ... too smart? The first movie was a good combination of action, elegance, politics and wisdom. In the second part only distilled wisdom remains - typical scene is three people standing in a room for 20 minutes speaking loosely related citations of philosofers to each other. After a sleepless night of debugging gphoto, I slept well there.

All in all this festival was a fonderful event - lots of good friends came, lots of cosplays were seen, lots of anime was watched, a bit of go was played, a bit of buffed weapon fighting was done, a lot of good photos taken. I look forward to next animefest sometime next year. In the meanwhile I will try to sort out the few best pictures and post them to my flickr album during the week.

Aigars Mahinovs: Photography is dangerousAfter a bit of sleep,...


Photography is dangerous
After a bit of sleep, a bit of rest and several hours of working trough all the 293 photographs taken during the 3 days of AnimeFest, I must finally write something about the last day.
The last day of the fest (Sunday) was easily the best. The morning was a bit disapointing as the planned special showing of Steamboy did not happen and the Korean Hammerboy was quite boring for anyone over the age of 7. Many had a good nap.
Everything went wild when the second part of Hellsing series was supposed to start. Previous day the showing stopped on 6th episode, so when after the intro we saw that the 10th episodes starts, all started shouting so loud that even mechanics understood that something was wrong. For about 5 minutes they seemed to wander aimlessly around the menu of the DVD. The mechanics were in a sealed room, so they couldn't hear us and we couldn't quite go to them either. I had a fun moment running up to the screen and showing with my hand which button should the mechanic press on the screen. I mimicked both pushing the button like it was a touchscreen and a also ran around trying to "drag" the cursor across the screen. It looked very fun to the audience. In the end it turned out that the DVD was doublesided and had to be turned around, but it took almost ten times of starting the 10th episode and around a half an hour of time. Thankfully the rest of days schedule could be pressed a bit to compensate.
Hellsing itself was just wonderfull, I hope they will decide to make a sequel soon and that they'll make it well.
Next up was Millennium Actress. I did not expect much realism from the creators of Prefect Blue, but I was so wrong. The movie is simply great - it is fun, has great story and ingenious way to tell that story. Simply a marvel.
The final ceremony of the festival started with a concert of a local group of two Latvian girls singing Japanese pop songs - "Tokio Dolls". Nice voices, very good choreography and reasonable lights - all in all a good show. In the conclusion there was Ghost in the Shell 2: Innocence. This is my second time trying to get it. I loved the first film. I liked the first season of series. But this film and the second season of series is just ... too smart? The first movie was a good combination of action, elegance, politics and wisdom. In the second part only distilled wisdom remains - typical scene is three people standing in a room for 20 minutes speaking loosely related citations of philosophers to each other. After a sleepless night of debugging gphoto, I slept well there.

All in all this festival was a wonderful event - lots of good friends came, lots of cosplays were seen, lots of anime was watched, a bit of go was played, a bit of buffed weapon fighting was done, a lot of good photos taken. I look forward to next animefest sometime next year. In the meanwhile I will try to sort out the few best pictures and post them to my flickr album during the week.

Andres Salomon: stop screwing w/ my ATM card!

I received a new Debit/ATM card in the mail the other day. I didn’t think anything of it, until I looked at my old card; it wasn’t due to expire for another 2 years. Ok, that’s odd. I looked closely at the new card, and it said “PayPass” on it. I looked closer at the packaging that arrived with it, and discovered what this PayPass thing was. “…Debit MasterCard Card with PayPass has built-in chip and antenna technology, as well as a standard magnetic stripe. The card and specially-equipped PayPass terminals communicate payment card details using very short range radio waves.” At this point (and at the risk of being compared w/ RMS), I started to feel uneasy. So this new card has an RFID chip? That means I don’t actually need to swipe it, I can “pay” by just being in range of a reader? Wait a minute, this is a Debit card; that means I’m not afforded the protections that a normal credit card offers. If someone manages to swipe $200 from me simply by walking close to me, that comes right out of my bank account; I can’t just do a chargeback. That’s money that gets stuck in limbo while I argue w/ the bank about my lost funds. As a matter of fact, I don’t even *need* a Debit card; all I really use this for is an ATM card, I have credit cards for actually paying for things. Some googling turned up the actual range:
“The PayPass card’s embedded tag operates at 13.56 MHz and has a short read range of 2 to 3 centimeters.”
So, it looks like someone would have to be very close to read it, but it certainly seems to be a real possibility. Grr. I doubt there’s any way to turn this off. This is actually kind of scary. I had planned to cancel this bank account soon anyways, but this is simply more motivation to do so. Hopefully my new bank doesn’t consider this a good idea.

28 November 2005

Jose Carlos Garcia Sogo: Autodesk & Free Software

Ok. Today Autodesk released some little piece of code into the Free Source world. It is nice to see more software released with Free Software licenses, but being myself a Civil Engineer what I would appreciate is a version of AutoCad running in UNIX/Linux (I do not mean here that it should be open, or whatever). It is funny to realize that AutoCad 12 could be ported to Linux easier than 2005 version of the same software, as they abandoned UNIX software so many years ago. And more when you think that they made that because somehow UNIX was dead in workstations by then, and Windows NT was getting all the heat and was the way to go(TM). Though I have said before that I don't mind AutoCad being propietary software, I would be also very interested in .dxf files become an open standard. That would make developing compatible and perhaps open source CAD systems easier, as every drawing and designing tool out there can export files to dxf easily.

Jesus Climent: Hardware rant. Movies.

Repeat with me: I HATE HARDWARE! My laptop's hard disk drive (iBook G4, purchased last year before going to Debconf4) has 369K+ load cycles completed, which means it has a very good chance of starting to fail some time soon. Great. Specially not because of loosing data or anything, but because changing a disk on one of this bastards is like finding a needle on a hayloft. Harry Potter's books are getting insane as a movie source. The Goblet of Fire is quite lengthy, but when turned into a movie it becomes a complete piece of craziness. During the whole movie you feel like someone is talking behind your ear: "run, run, cut this, run, not time for elves, no time for tournaments, forget about this, does not fit (mao, anyone?), run,... Arf arf arf, YES! We made it 2.5h !!!" It leaves me wondering how on earth they are going to turn the 5th "most boring HP book in the saga" book into a movie, and how they will manage to turn the 6th one into a 2.5h movie again, without dropping half of the superinteresting things happening there. Oh, well, I guess I have to read the books again.

Sergio Talens-Oliag: La MaratOO'o 2.0.1

I've been all this weekend on the Computer Science Department Labs as the owner of the keys. We have celebrated for the second time this year a MaratOO'o, a work meeting to fix and review the Catalan translations of OpenOffice.org. Last February we had other meeting that was devoted to translation, but this time it has been more a review thing. The meeting has been organized by Softcatal , a non-profit organization devoted to promote the use of Catalan on the IT world. They do a lot of l10n work for a lot of Free Software projects and had developed a set of tools for translators, including a style guide, something I believe is really important and I miss from other l10n teams for other languages like Spanish. While I don't translate (I'm very bad at it), I belong to the organization because of jordim and jcorrius, as they convinced me to help them organize the previous MaratOO'o (for this one it was jordi the one that convinced me). I believe this second session was good, I have not seen a single .po file, but I've helped with the migration of services from the old Softcatal to a new one. They have a lot of things configured in weird ways and the migration has not been really planned (I don't understand why some services were moved this weekend when there were 30 people using them), but probably is not strange as it seems that none of the people with admin rights on the machines has worked as sysadmin and they don't care much a about it, so things seem to be done and left alone once they work, but for a migration like the one they are doing, with a lot of program upgrades, the configuration of each service has to be reviewed or things break easily. On the L10N front it seems that things went well, we had near 30 people translating during two days and that means that all the program localization has been reviewed and some of the help files have been translated also, so we will probably have a better Catalan langpack for OpenOffice.org soon and maybe the help files also will be available. I was going to include a photo on this post, but jordim told me he was going to use it on his blog, so use his bandwidth if you want to see the people that was on the lab before we left (I'm not there, as I'm the one that took the photo).

Next.

Previous.