Search Results: "ron"

11 February 2006

Andrew Pollock: [life/americania] Licensed!

Last Monday, Sarah and I visited the fine institution that is the California Department of Motor Vehicles, so that we could get ourselves California drivers licences. We had to do both a written test and a behind the wheel test. The written test was your standard multiple-guess exam (36 questions, maximum of 6 incorrect answers to pass). Annoyingly, all the material on the exam was not in the California Driver Handbook, which the handbook tried to make out was the case. Fortunately it was largely a case of common sense. I got two wrong. The funniest thing was that Sarah and I both got the same exam paper, and Sarah did her test just after I finished mine, and we were allowed to keep the paper, so she could see which two I got wrong. One of the more unusual things I found about the process was that they allocated me a licence number before I'd even sat the test. Last Thursday Sarah had her behind the wheel test, and today I had mine. It was pretty easy. No reverse-parking, no emergency stopping. I just had to drive around for 15 minutes. I passed without any faults. Given it took me four attempts to get my original licence in Australia, I was pretty pleased with this. (I failed my Queensland licence a number of times due to nerves). The other thing that I was amazed to discover was that I don't get the licence for another four to six weeks! They mail it out. The DMV processes over here are just mind boggling. The fact that you can't get a licence on the spot, and that it takes something like three months to get licence plates for a new car just blows me away. It's nothing like the process in Australia.

10 February 2006

Gerfried Fuchs: PHP mail() Considered Harmful

I know for myself that picking up unparsed userdata is teh evil. But we also all know that the usual webpage and mailer script coder isn't thinking. And to my knowledge the php mail() function is the only one that perverted to parse the headers additional to an explicit given recipient list for additional recipients. Yes, you read right. Often enough people use things like mail("myown@addre.ss", "subject", $body, "From: $_POST['name'] <$_POST['email']>") without thinking about it, because, there is this extra to field anyway. Right?
Wrong! SPAMers will come and send things like email="some@jo.ke\nBcc: my@sp.am, list@is.bigg.er, than@you.rs". People that put up such webmail scripts usually don't notice it anyway, they just delete the spam right ahead, not noticing that it was an abuse of their form. And the ISP has to deal with having to get the system out of the blacklists again.... At least none of the hosts on which customers are able to put up such scripts directly affect our own mail system, it's just the shared hosts they use... Still, deadly annoying. And then people are claiming that such misfeatures aren't a problem in PHP but in the coders? If it would at least be documented in the description of the function, but if one can claim it that it is it's at most just very vague hinted...

Erich Schubert: Gnome hack of the day: notifications

My father asked me how to setup an alert to remind him of the evening news. (The serious ones in the public channel, not the sensational in the private channels...) My first suggestion was to use evolution, but it cluttered his calendar view. I guess you could avoid that by using a separate calendar file, though. Still, these alerts are of very low priority, so I considered that the new notifications should actually suit better. Sending notifications from the command line is supposedly easy - if you're in the same session. Otherwise, you have to find out which socket to send it to. (Btw: what happens when the dbus daemon is restarted ungracefully? will notifications be broken until the session is restarted, too?) Anyway, here's the solution I came up with:
#!/bin/sh
pids= pgrep -u $USER gnome-session 
title="$1"
text="$2"
for pid in $pids; do
        # find DBUS session bus for this session
        DBUS_SESSION_BUS_ADDRESS= grep -z DBUS_SESSION_BUS_ADDRESS \
           /proc/$pid/environ   sed -e 's/DBUS_SESSION_BUS_ADDRESS=//' 
        # use it
        DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS \
           notify-send -u low -t 7200 "$title" "$text"
done
This will send a notification with a lifetime of 3 minutes to all running gnome-sessions of the current user. Supposedly works fine from cron (not yet tested, though). Error handling isn't perfect yet, either (but again, this is a very low priority notification). P.S. hint of the day: use a line like
apt-get install libnotify-bin && notify-send 'Yay! Completed!'
To get a fancy notification when your long-running process of the day is completed. Sweet.

Amaya Rodrigo: On Health and Humor

I turned 30 recently. For the last five years I have felt my body change (sometimes in undesirable ways, ie. first wrinkles, gravity in full effect), and I have also neglected my health like I would live forever. I have not gone to the doctor since 2000. Haven't got my blood tested for that long, nothing at all. I felt well, so who cared?

I don't know why I went to the doctor last week. Maybe because I am not comfortable with playing this health lottery game anymore. He wanted blood tests and the results are a bit worrying. Everything is within the average ranges, but it is a bit fucked up to be a vegetarian and still have high cholesterol. I have lost from 10 to 15 Kg since last May, I do moderate activity most weekends (skating). I walk home from work (25 min, slow pace) most days. But this sheet of paper reads:

Cholesterol (HDL)...0,56 g/L [0,50 - 1,20 for women] -> This is good cholesterol, and it is low.
Cholesterol (LDL)...1,27 g/L [1,3 max]...............-> This is bad cholesterol, and it is high.
Triglycerides.......1,42 g/L [0,40-1,50].............-> Also high!
Iron..................35 g/L [40-150]................-> Ground for anemia?
Glucose..............0,91 g/L [0,65-1,10].............-> Ground for diabetes?

And no surprise: I have low iron levels. And high glucose. This means I (still) eat too much fat and sugar. I can hear jbailey whisper to me: "more green, more green!", which was what he told me when I showed my dish to him for advice, in the first vegetarian meal I had when I decided to "switch". I have not been eating enough green.

So, why is this happening? I thought I was drinking too much whole milk with my coffee, but there seems to be a much better and funnier explanation: 29 Common Reasons Why Your Vegetarian Diet Isn't Working. I love it :)

Erich Schubert: Why a blog software should be XML based

Simple answer: because RSS and Atom are XML formats. So please generate valid output. Adhere to the standards! The RSS feeds of Planet Gnome and Planet Ubuntu, for example, are currently broken. (Planet Gnome due to a bug in Planetplanet AFAICT, Planet Ubuntu due to a broken RSS feed from Wordpress... Yes, you must escape single < characters in XML...) Templating systems such as the default templating of the Django Framework, or the popular Clearsilver templating engine are unfortunately not suited for XML output. Oh, and please never ever write XML using 'print' commands either. Use a proper XML writer, which can handle charset issues and escaping properly. Good examples for XML-enabled templating engines include TAL and METAL used by Zope (but available for a variety of languages), and KID (again python, used by the Turbogears Framework). Closely related is the "HTML fragments" issue, which basically is why I want XML to be used internally, too (you could also store StructuredText only, and convert it to XML just for transformation to the output): HTML fragments in my blog should be valid slices of an XHTML file, to avoid issues when generating both the web pages as well as when integrating the feed into other pages. With RSS, the HTML code is AFAICT escaped in one big data chunk, so it doesn't matter there. It probably does for Atom. So what a good blog tool (including a rewrite of planetplanet which has way too many bugs) needs to do is to parse it's input data (plain text, HTML provided by a web browsers WYSIWYG edit component, mail, structured text, XML, ...) and either reject broken entries or try to guess whats intended, but guarantee that the output is valid XML. Then generate proper feeds and output from that. Thanks to all those who already replied to my previous posting. One thing I was pointed at, and I'll probably look into is Apache Forrest. Although I likely will use KID instead, if I happen to write my own tool after or despite my upcoming final exams.

9 February 2006

Julien Danjou: Upgrading to Xen 3... aborted :(

It seems that after two hours stuck in front of my minicom, trying to upgrade my server/gateway from Xen 2 to Xen 3, Sarge version of udev and hotplug are too old. I will have to try with a backport tomorrow... What a pity...

John Goerzen: My new podcast: The Sound of History

Well, it's finally time to announce my new podcast, Sound of History! The Sound of History is a weekly podcast featuring full-length, unedited, and uncut historic audio. You'll hear speeches, broadcasts, and events from around the world. Sometimes you'll hear famous people, sometimes not. Episode 1 is up now. On this episode, you'll find John F. Kennedy cracking jokes about Marx in front of a bunch of newspaper publishers, Ronald Reagan talking about the Challenger, some blues from 1922, and an Edison recording from 1902. Thanks to Cliff for mentioning that Reagan speech in a comment. That prompted me to go find it. I'm finding material for this podcast from around the Internet. Some of that music comes from archive.org, and there are various sources for presidential speeches. I'd like to find some British prime minister's speeches as well, but I'm having difficulty with that. If any of you Brits reading this know of a good site for uncut audio, accessible to Americans, please do let me know.

Simon Richter: Back to normal (comma) whining about ISDN

Hooray, back to my daily routine. The switch wasn't too hard on the first day, however I'm still not fully restored, so perhaps starting the day with a pretzel wasn't the best idea, something like hot tea would have been more appropriate. On the Debian front, I have received interesting bug reports. One says that my modules package doesn't compile with m-a against a backported 2.6.15, the other one asks for yet another new version of a package that is maintained to at least some degree by people who could not care less about other architectures than i386, so I'm still working on fixing an older version.

Brett Parker: Euen Semple...

Savs asserts in "Ironic" that Euen Semple is missing a blog from his web site... well, if you follow the Contact link, you'll find that you get a link to his weblog The Obvious?.

8 February 2006

Ian Murdock: Intelligent design, European style

Geoffrey Moore: “Taking the shuttle from the train station I met a European executive and his wife who commented to me about how odd America’s denial of evolution and preference for intelligent design seems to a European sensibility. […] Today, as I participated in a series of economic workshops, I was struck by an ironic reversal: In the world of economics, it is the U.S. that believes in natural selection, and it is Europe, specifically the EU and its leading countries, which clings to an outmoded ideology of intelligent design.”

Aigars Mahinovs: Superball/bowl. So ... I tried to understand what ...

Superball/bowl.
So ... I tried to understand what this american football thing is all about. What got me interested in it was an anime from Japan called Eyeshield 21 where a boy that ran errants for bullies his whole school life goes into american football as a runner with his great speed and agility. That get me thinking about looking into that sport - it looked quite interesting in the anime.
Boy was I wrong.
So I watched the Superbowl XL - the biggest and most important event in the american football year. The first half was absolutely empty - nothing happened at all. The ads were much more interesting then the game. The halftime show was ok, not as good as ads.
And the second half just showed why this is the definitive american sport in the worst meaning of that - legalese. Steelers would have lost it the judges would have not interfered so much with the game. This sport has like hundreds of tiny rules that are very dependent on interpretation by the judges - that is what I call a sport for all the american lawyers to like. Cancelling several good Seahawks trows just because some guy was holding someone on the other part of the field, that must be givin an ecstasy for every law student. Not for me though.
And even without all that dilation with ridiculous rules (what's that stupidity with running clock and two minute warning ?!?) the game itself is kind of dumb - there are just too many people in the field for anything that a regular person can really understand. Strategies that almost never work out because of the other team interfering with their strategy. Too much chaos and still each person only does a one single thing. Even more - many of the players never will get any attention in the game just because they are on a supporting position, but the quarterback will always be the center of attention.
A very unbalanced game that is even more screwed by a ton of ads, a very heavy leaning on judging nitpicks and just 3-4 nice moments in the whole 1 hour game. I'll just stick back with hockey and anime :)

Wouter Verhelst: Heh

Last weekend, I posted something about my new waffle iron. That post contained two links, both of which had non-working URLs. It's quite... funny that they lived there for half a week with nobody noticing. Oh well. In any case, I found out in the mean time that the iron which was part of the old device does, indeed, fit on the new one. It required removing a lot of grease and other residu, but in the end I did get it off. First thing I did it once that had happened: put it in the dishwasher. No, you don't want the details on that one. Trust me. Yuck.

7 February 2006

Matthew Palmer: Microsoft Patent Indemnification Not Worth Squat

It seems that all of Microsoft's hoo-hah about patent indemnification and the associated attacks on Linux aren't even worth the electrons they're excited with. According to an article in The Register, a patent infringement suit brought by a Guatemalan inventor has resulted in all users of newer versions of Microsoft Office needing to install a new, presumably non-infringing, version of the software next time they reinstall. Users who fail to do so "will no longer be covered by Microsoft's guarantee against patent infringement liability." I don't see how this is any different to what you get with patent infringement in the FLOSS realm. Someone says "that code violates my patent rights", the developers reimplement to avoid infringing, users have to upgrade. I'm just not seeing the difference here.

Kai Hendry: Debian doldrums

Kai participates in a snow fight Gotta love Debian sometimes. ;) My beloved mutt seems a little broken in unstable currently. I’m in the market for a new AM. 3rd time lucky? Ok, so I am packaging Aaron’s web.py library and so I check the license with debian-legal. “Vorlon”, the omnipresent and omniscient got back to me pretty quickly, saying no. Goddam! ;) I’m no legal expert and my brain hurts thinking about these distribution clauses, GPLv3 issues and controversies. I hope debian-legal reaches some agreement. At about 6pm I noticed the Ubuntu crowd were in Seoul. I emailed hastily asking about a meetup or something. Probably too late. Damn. I’m feeling quite alone in my Linux usage here in Korea. I see Mark has been in Japan. I have fond memories of Japan and the debian guys out there. Yeah, if any Korean devs are reading this, get in touch. Part asked me to get in contact with some mail administrators in order to curtail some of the massive amounts of spam coming out of Korea.

Andrew Pollock: [life] Our rabbit made the front page

Our neighbour dropped a copy of the local rag around this morning, because of this story on the front page. Maybelline is now back at the animal shelter because she got big enough to be desexed, and is now awaiting adoption.

Clint Adams: He wore a hat

It was wintertime somewhere in the Ozarks, in the days before the Soft Scape. A young boy named Timmy was born unto a poor family that already had one son. When that brother was killed in an accident, the parents boxed up all his possessions and hid them deep within the attic, not wishing to be reminded of his former existence. Some said that it was the only healthy option open to them, and some said that it was an ill-fitting tribute. In any case, Timmy barely even found out that he had had a brother, and any memories he developed of him were false. As Timmy grew, he sprouted hair, and learned to speak, and learned to pray. Every night, before going to sleep, he petitioned God, Please keep mommy and daddy safe. If he had had a brother still, he would have prayed for him too. The years went by, and Timmy went to school, and someone surprised him with the claim that he had once had a brother. He asked his parents about this when he got home, and they rather loudly instructed him not to discuss such things. He dropped the matter, but remained perplexed and afraid to ask any more questions. It was a long time before his explorations of the attic yielded the discovery that precipitated a great big scene. When his father saw that he had retrieved some of his brother's possessions, he beat him, and his mother screamed that if he ever went up to the attic again, she would cut off his pee-pee , and everyone was upset for quite some time. Mistaking this parental love for abuse, he drew away from them, and began to wander and drift. In the summer of his fifteenth year, he learned that love was a hobo's hand. Then, that winter, he left his parents' house for the last time. Finding himself overwhelmed by the eternal struggle for food and shelter, he started turning tricks for small change. This proved to be a dangerous occupation, and Timmy's life was rife with anxiety for quite some time. Presently, Timmy came to a little town, and in that little town lived a fireman and his wife. The fireman felt that it was time to experiment, and and inquired if Timmy would accomodate him. Timmy was more than happy to oblige for a reasonable fee, and the fireman was more than happy to continue to pay it. His wife was less than happy about the whole affair, for she felt that it reflected poorly on her as a woman, and she feared that if word got out, she would be the laughingstock of the town. Timmy was unconcerned with such issues. Some said that he was morally bankrupt, and some said that he was a practical businessman. In truth, though, the money became utterly unimportant to him, as he spiraled toward a psychotic breakdown. He had developed a fantasy wherein the fireman would leave his wife and take Timmy away, maybe to somewhere like Alabama, where no one would oppress them. As he obsessed and clung to this dream, he pulled farther away from reality and other human beings. The fireman was relatively unconcerned, but the fireman's wife grew more worried by subtle nuances that she noticed over time. You must stop this! she insisted. Give me my space! he insisted. The ongoing argument devolved into citations of marriage vows and Biblical passages, which were conveniently inconclusive. The fireman's wife was a God-fearing woman, and she knew that she could not violate 'til death do us part without being struck down, and that she could not invoke the old 'til death do us part loophole without violating thou shalt not kill and being likewise smitten. Thus she was at an impasse. Some said that she was a victim of a bad situation, and some said that it was her own fault for letting it happen. Timmy's relationship with God was much more complex, though now almost completely forgotten. He had also almost completely forgotten the existence of the fireman's wife, else he might have thought to plot against her. This memory lapse was abruptly corrected when the fireman's wife threatened Timmy. Timmy was upset and distraught and threatened her back. The fireman announced that he was tired of them both, and moved to Alabama on his own. Some said that it was irony, and some said that it was an owmen of things to come.

6 February 2006

Lars Wirzenius: Debian: What kind of DPL?

The nomination period for the Debian Project Leader is on again. This means that the Finnish winter is at its worst, and indeed, as I write this, it is -22 degrees Celsius outside. The sun went down about six hours ago; I woke up quite late, so I only saw half the sunset. Back in November, while vacationing, I spent some time thinking about what the role of the DPL is, and now seems a good time to say it. The actual work of developing and maintaining Debian is done by package maintainers, translators, a handful of infrastructure teams or other special purpose teams, bug reporters, and others. It is not the job of the DPL (in their role as DPL) to take charge of the actual development: the DPL is not expected to administer debian.org machines, to fix RC bugs themselves, or to make decisions about release management. Instead, the DPL's job is to help everyone else do those things. If some part of project isn't working well due to resource shortage, or personality conflicts, or other issues, it is ultimately the DPL who needs to facilitate, mediate, or otherwise deal with it. This is not uniquely the DPL's job: any Debian member could step into a situation and help, but the project does need someone whose job it is to do that if no-one else will or succeeds. Another important job of the leader (again not uniquely) is to provide inspiration. Our leaders in the past few years have provided fairly little of that. I would like us to have a DPL that inspires the project into setting and achieving goals that make us happy and make Debian the best operating system ever. The important thing is to inspire, not to force, cajole, or otherwise unilaterally decide. Not quite sure now how that should happen. Perhaps the Finnish military saying that "leading is best done at the front" is applicable: an inspiring DPL is one who by his own work, and his own behavior, shows by example what a good, productive member of the Debian development community is like. A third important job of the leader is to be the project's public face to the rest of humanity. Again, not uniquely, we have other members who are often prominently in the public eye, such as release managers or security people, but the DPL is the main such public face. And finally, the fourth important job of the leader is to do the tasks assigned to him in the Debian Constitution. These are not daily tasks, but they're important, and these, at least, are uniquely the DPL's domain.

Kenshi Muto: Cool MIPS router makes me crazy hot

I'm still busy on some business projects... I feel overworked. Thankfully my new router gave me another problem. Argh... A few weeks ago, I got small machine named "OpenMicroServer" for new router of our office. MIPSel Alchemy CPU, 128MB real memory, 16MB flash ROM, CF socket, 2 USB ports, RJ45 style serial port, 2 gigabit and one 100base+POE... very very cool. There was SSD/Linux, vendor's original NetBSD like distribution, as pre-installed OS. But of course, I replaced it by Debian Sarge soon :) Except of some tricks, it was easier than I thought. The installation was easy... But after I put it on the operation environment, it started to make me crazy. Although there wasn't any sign in console, it often hung up. There wasn't any ordinality. I tried and tried to find a problem. Decreasing network traffics, verbose logging, etc... solve nothing. Well, finally I gave up to use it at this time. In this early morning I got to the office and changed the network topology to it used to. Sigh. I'll leave it on original SSD/Linux mode to check this is OS problem or broken hardware.

Kenshi Muto: i386 d-i image for Sarge, with kernel 2.6.15

Someone may be interested in this... You can take it from here. (144134144 bytes, MD5: 7cdd166ae9b33d29acd42bffda8bc020)

Steve Kemp: When the man comes around

SCO
I spent the weekend finding discovering several new ways to hate SCO Unixware. Almost everything on these systems is a symlink. Even such files as /etc/passwd:
$ ls -l /etc/passwd
lrwxrwxrwx   1 root     root          38 Jan 27 13:44 /etc/passwd ->
 /var/opt/K/SCO/Unix/5.0.7Hw/etc/passwd
Needless to say if you manage to screw up these symbolic links then fixing it is painful. (At one point I resorted to using tar to archive a working system’s directories, then unpacking it over a broken installation.) So a busy weekend full of being in the office.
Debian
In happier news I played around with webcam stuff, after somebody posted a nice guide to using Motion. I now have a webcam upon my desk which records video when something moves in front of it, and otherwise does nothing. A few test movies seem to work nicely (no audio) and I shared one with a friend - although no feedback yet. (I need to make sure the codec is playable upon Windows ..) I also updated the polls upon the Debian Admin site, so they contain date information about when they were posted. Feel free to suggest a new poll topic! The final thing I did over the weekend was put the finishing touches towards a new release of xen-tools. This contains a minor fix for networking under Xen 3.0.1.

Next.

Previous.