Search Results: "dom"

6 January 2006

Michael Janssen: nobody thinks or expects too much

Today is a bunch of quickies about random stuff.

Sleeping.. ..and subsequently waking up. I have been trying out the advice of How to Become an Early Riser recently, after discovering it about a week ago from some people. I had been sleeping from about 4am to noon or 1pm, depending on the day. I decided to go all out and set my alarm clock for 5:30am, never to be reset again. It didn't work out the first couple days, but after three days of getting up on time, my body is definitely adjusting well to it, and I get a bunch of work done in the morning before I head off to work at 9. Debian packages-arch-specific vgrabbj finally got out of packages-arch-specific hell and is building on almost all architectures. I think the addition of a new person to the team maintaining packages-arch specific helped a bunch, because shortly after I emailed the new maintainer movement occurred after two months of nothing from the other two. I don't know if they had to actually check out the package itself efore removing the line, but it seems like something as simple as removing one line from a file in cvs shouldn't take that long. Planet issues For some reason, the posts from my blog which are syndicated to PlanetDebian are showing up on the planet 2 times for every post I make. If anyone has some insight as to why, and whether it's a problem on my end, I'm all ears. Diana Diana makes me happy like a bright sunny day after a long cloudy winter week.

5 January 2006

Edd Dumbill: Are web services and e-business interesting?

A couple of people have commented to me on the lack of explicit reference to web services or e-business technologies in the XTech call for participation. It's worth explaining why this is so. On web services: I consider the low-level specs here (SOAP, REST, WSDL) now to fall under "core technologies" track, and the higher level stuff (WS-*) to be often vacuous spec-mongering. Also, over the years, the quality of web service proposals submitted to the conference has been notably poor compared to all the other topics. A lot of this was to do with the hype web services received. On e-business, some useful submissions have been forthcoming, but never more than a few. My suspicion is that the OASIS stream of events is more interesting for most people in this space--I'd love to hear otherwise. I do view e-business presentations as on-topic, but I would like to find those that genuinely present something worthwhile. While many people often say they'd like to see more case studies, turnout for these is always low at the conference itself, so I've shied away from them somewhat. The thing with case studies is that they're necessarily related to a domain, and it's easy to for attendees to assume there's not transferable experience to be heard. I guess I don't believe either that all the problems in the e-business space are unique to that area. Identity, federated service location, transactions are all topics that deserve a broad audience. However, I acknowledge that I do not work daily in the e-business sphere and I would dearly love to hear somebody who does do a presentation on why there's really some solid things going on there now. Exchange of best practices is more necessary than ever. More reason not to hive off e-business from the other matters in the conference. For a similar reason I've mixed semantic web topics throughout the tracks as well. If anyone working in e-business didn't get useful knowledge out of XTech, I'd be astounded. Likewise, those working in e-business have plenty useful to say to the rest of the conference.

4 January 2006

Erich Schubert: Enemies of Carlotta and postfix

I've been setting up EoC lists on a SELinux postfix box recently. It was rather painless, and I have enough experience with SELinux to quickly write a SELinux policy for EoC. The most difficult thing was that basically file descriptors from the postfix delivery process were inherited all the way to bounces for nonexistant lists. I tried different setups; using EoC directly in .forward, using procmail, and using a shell wrapper like this:
#!/bin/sh -e
# verify the list exists
/usr/bin/enemies-of-carlotta  --skip-prefix=eoc+ --domain=list.foobar.tld \
  --is-list --name "$RECIPIENT"   exit 67
#  deliver to EOC
exec /usr/bin/enemies-of-carlotta --skip-prefix=eoc+ --domain=list.foobar.tld \
  --incoming --quiet
This last had the drawbacks that I would have to write some additional policy, or maybe make the wrapper part of EoC. With little benefit over the procmail solution. (BTW: IMHO the Debian enemies-of-carlotta package shouldn't depend on procmail.) I've seen a solution which used a pipe transport from within postfix with a similar wrapper (basically passing $RECIPIENT and $SENDER via commandline instead of having the local delivery agent set them); but I'm not sure about the benefits I get from that (except maybe even more SELinux policy work). There are two drawbacks with my current solution: Hmm... since newer EoC versions now have --sender and --recipient parameters, I guess I'll try running eoc in the pipe transport without any wrapper now... Update: I've now setup EoC to run as pipe without a wrapper; this didn't solve the first wish, but caused some extra SELinux violations and despite using the --quiet option a really bad error message for invalid adresses... Patching EoC right now to exit with 67 in that case... Here's the diff:
--- /usr/share/enemies-of-carlotta/eoc.py       2005-12-22 01:05:00.000000000 +0100
+++ eoc.py      2006-01-04 19:50:43.000000000 +0100
@@ -1642,7 +1642,17 @@
             debug("Not a mailing list: <%s>" % list_name)
             sys.exit(1)
     elif operation == "--incoming":
-        mlm.incoming_message(skip_prefix, domain, moderate, post)
+        try:
+            mlm.incoming_message(skip_prefix, domain, moderate, post)
+        except BadCommandAddress:
+            sys.stderr.write("Bad command address.\n")
+            sys.exit(os.EX_NOUSER)
+        except BadSignature:
+            sys.stderr.write("Bad signature.\n")
+            sys.exit(os.EX_NOPERM)
+        except UnknownList:
+            sys.stderr.write("Unknown list.\n")
+            sys.exit(os.EX_NOUSER)
     elif operation == "--cleaning-woman":
         mlm.cleaning_woman()
     elif operation == "--show-lists":
which works much better when used as transport like this:
eoc       unix  -       n       n       -       3       pipe
        flags=R user=eoc-lists argv=/usr/bin/enemies-of-carlotta --sender=$ sender  --recipient=$ recipient  --incoming

Michael Janssen: Asking = good

I have noticed a new trend in my shopping habits lately: I will ask for help from a "sales associate" much faster than I did previously. This could be a product of the instant-gratification culture, but I really don't have much patience with floundering around a store trying to find what I need, especially if I have done all of my research earlier and show up at a store with just one thing in mind. I will go to great lengths to find a live person because even if I spend 3-5 minutes trying to find help, they will most likely be able to help me right away. That said, I won't just grab the first employee that I see in the store, I will actually make a reaosnable effort at finding the item first. After getting help, I can look at my handy palm pilot and see if there's anything else in the store that I need. I have noticed that Target is especially good at having random people walking around the store doing things that are quickly dropped in order to help a customer. In addition they have these nice little buttons sprinkled around the store that you can press and the entire floor staff gets paged notifying them that you have a question. I prefer this to the "pick up the phone" approach, although that is also available in some stores. The worst store by far for this strategy that I have come across is Home Depot. You sometimes have to walk a very long distance before you find anyone, and then when you do, they just point you back in the direction that you came from and said that someone over there can help you. If there was someone over there, I wouldn't be asking over here. I wonder if they just think I'm too stupid to read the HUGE SIGNS which state what is where in a Depot.

3 January 2006

Lars Wirzenius: Random thought: LotR

A few years ago, the New Zealand government agencies for tourism and immigration created a series of three advertising movies, known by the acronyms FotR, TT, and RotK. As proof of truth being stranger than fiction, they were generally mistaken for real movies, perhaps because they're excessively longer than normal ads. For whatever reason, they were shown in movie theaters in many countries, and a bunch of people saw them. I watched only the first one in a movie theater, though, and skipped the two others. To further promote truth's strangeness, the movies are not only available on DVD, but they're available on DVD in so called extended versions, with even more footage. For a lark, I borrowed all three from a friend, as extended versions, and have now watched the first one. I must say that these are the best ads I've ever seen. I've also been heavily influenced: I spent half an hour browsing NZ immigration rules and job ads. Alas, there doesn't seem to be much interest in a Linux programmer there. Pity, it seems to be a very photogenic country, and I have tens of thousands of shots left in my camera's shutter.

2 January 2006

Zak B. Elep: [REVU] for 2005

Now here’s the thing I’m supposed to write ;) It took me quite some time since I was too busy sleeping ;) Looking back at 2005:
  • February :
  • March :
  • April :
  • May :
  • June :
  • July :
  • August :
  • September :
  • October :
  • November :
  • December :
  • Things to I want to do this 2006: Things to look out for: Rock on, 2006!

    1 January 2006

    Andrew Pollock: [life] 2005: The year in review

    2005 is the first year I've blogged from start to finish, so it is interesting to go through and reflect on what has happened. It's certainly been an eventful year. Executive summary: got engaged, got married, got a job with Google, moved to the US. Did a whole lot of other mainly geeky things in between.
    January
    • Moved from living in an old rundown share house in Ainslie to a townhouse in Watson, without the flat mate
    • Started getting my teeth into work at my new job
    • Took Sarah to the ER with chest pains, after having had them on and off over Christmas
    February
    • Proposed to Sarah
    • My blog got syndicated on Planet Linux Australia
    • Wrote my blog post about mitigating SSH brute force attacks using Netfilter's recent module. Still get a lot of search traffic from that today
    • Went camping at Jervis Bay, managed to hit a kangaroo on the way, had a rather traumatic time trying to euthanize it
    • Decided to continue studying at Uni part-time in conjunction with full-time work (masochistic, huh?)
    March
    • Made changelogs.debian.net a whole lot spankier
    • Had a moderately unsuccessful time turning an old laptop with a dead hard drive into a diskless server with an NFS root filesystem. (I really must get around to trying again doing ATA over Ethernet)
    • Bought a QFE card, after much vying on EBay, which is still sitting in a drawer unused
    • Discovered how to make my laptop suspend
    • Completed a Saint John Ambulance Senior First Aid course
    April
    • linux.conf.au happened, and I helped make it happen
    • Interesting side-effect of the above was that I got asked to apply for a job at Google
    • I had fun with a cylinder of surplus helium
    • Sarah is advised to discontinue triathlons because of a possible heart condition
    May
    • My oldest friends separate, and it looks like they're going to get divorced
    • Sarah had her car broken into in the driveway and her purse was stolen
    • I get into a panic about passing Uni and really knuckle down
    • I discover a little too late that I've missed marking my ten thousandth day since birth
    • I organised a dinner meeting of Canberra Perl Mongers, which is a largely dormant group
    • We got a new cat
    • I hit two years as a Debian developer
    • I joined the Linux Australia sysadmin team
    June
    • We decide to bring forward our wedding from April 2006 to July 2005, "just in case" the Google thing comes off
    • caesar, the box I use as my gateway blew up and got replaced with something gruntier
    • I got into discussions with University House about doing a wireless LAN setup for them for their guests
    • Started work on a box for Linux Australia that would host a few User Mode Linux instances for various things
    July
    • My old Rover crew turned 20
    • We discovered the Tea Centre, and the wonders of different varieties of leaf tea
    • I scraped through first semester at Uni
    • I decided to upgrade daedalus and ordered a new box
    • Michael and I went to the US for face to face interviews with Google
    • Started semester 2 at Uni
    • Started migrating services to the new daedalus
    • Sarah and I were married
    August
    • Google makes me a job offer
    • I ordered myself a new laptop
    • My car tyres got slashed while I was at Uni
    • Uni all got a bit much, and I decided to drop out
    • I got a 1 gig USB key
    • I had some fun with LVM snapshotting
    September
    • Video card in my desktop blew up
    • I return to working in the office, and have a crack at catching the bus because of heinous petrol prices
    • I built Linux Australia's content mirroring box
    • The cat vomits one time too many and gets a new diet
    • We went and saw the Warehouse Circus' most excellent BAM! production
    October
    • I ascended Mount Tennant with Rick
    • Sarah and I went and checked out the Tumut 3 power station
    • Sarah got her wisdom teeth out
    • I had some more fun with LVM and data migration
    • I had even more fun with LVM snapshots
    • We finally got our visas for the US
    • I quit my job
    • We bought a new dining table
    • We bought an iPaq and a bluetooth GPS and some navigation software
    • We bought a new digital camera
    • Canberra Perl Mongers had another dinner meeting
    November
    • I finished up at Cybertrust
    • I went to the US
    • Sarah went to Singapore for a holiday with some of her relatives
    • I started at Google
    December
    • Sarah arrived in the US from Singapore
    • We found somewhere more permanent to live
    • We bought new mountain bikes
    • All our stuff arrived from Australia

    John Goerzen: Looking for a nice microphone

    Kayray has been writing recently about librivox, a project to make public domain audio recordings of public domain material (much of it present in Project Gutenberg). I'm interested in volunteering to read some material. But I don't have any nice microphone. After doing some research, it looks like I'm down to a couple of different options. The first option is described by The Roadhouse. It has a $60 MXL 990 mic and a Behringer Eurorack UB802 mixer at $50. I assume that he is running an output from that into a standard sound card. So the total cost of that setup would run around $110. I don't really need to mix more than one source, but having something that can power condensor mics with XLR connectors looks good. The second option is to get a dedicated USB mic. The mic of choice here seems to be the Blue Snowball at about $140. I don't know enough about this to know which setup would get me the best quality for voice recording that is going to be going to wind up digital on the PC in the end. I guess the third option is something such as the m-audio mobilepre USB preamp at about $120. So if I used that with the MXL 990, I'd be talking about $180. That's rather more than I'd like to spend, but it would give me more options down the road. If any of you have suggestions, I'd be happy to hear them.

    Jonathan McDowell: Happy New Year

    Not long back from Oxford where Dom had a rather good New Year's Eve party - good to see people and I'll stick photos up later today hopefully. Kim asked me what I'd remember about 2005 (her engagement was obviously her big thing) and I didn't have an answer. However I thought some more about it during the drive home and Tristam and Angharad (two of my best friends) getting married is probably my best memory of the year; I actually had to remind myself that it was only back in March - it seems like ages ago! It was a great day and lovely to see the both of them so happy (and I confess to rather enjoying my role as best man as well). Let's see what 2006 has to offer all of us...

    31 December 2005

    Antti-Juhani Kaijanaho: Independence Day repost

    The following is a repost from my old blog, originally written one year ago. As I start to write this, it’s the last minute of my country’s 87th birthday (the Finnish Independence Day). It got me thinking about nation-states and independence and whatnot. And I came to a threefold conclusion: First, there is some value in independence. Getting rid of the status of a Grand Duchy in personal union with Russia was certainly a good step for Finland, in light of the rough road the Russians themselves have since travelled. For the same reason, the two wars Finland fought against the USSR were quite worthwhile. Similarly, if Finland were to be threatened by a neighbour again, armed defense would certainly be justifiable. Second, there is no intrinsic value in independence. If a humanly life (including freedom and local government) can be guaranteed even if there is no Finnish state in itself, I see no reason to hold on to the old-fashioned concept of a nation state. Third, I am in favour, as a long-term goal, of a world government. Of course, a single government becomes a single point of failure in case of a coup, for example, but if the global state is arranged properly, the danger of a successful coup is minimal. On the other hand, a world government is in far better position to institute necessary policies to combat the global problems of poverty, climate change and other such issues than the current system of competing and cooperating nation-states. In the current system, the big issues are easily put aside in name of local opportunism. Finland is by no means immune to that problem. The great crises of the 20th Century were its devastating wars. Fortunately, we have overcome them to a sufficient degree. The great crisis of the 21st Century is not terrorism – though it is a symptom. The great crisis is caused by the limits of growth, and we are already feeling quite concretely the nearness of those limits. If something is not done, our current civilization will crash spectacularly. The human race will probably survive – but do we really want to live through another Dark Age? Long Live the Earth!

    29 December 2005

    Decklin Foster: Ruby Love

    Matthew Palmer writes about the goodness that is Ruby. I, too, have just recently been won over, and am stumbling along with the online docs. In fact, this can be done in one line:
    STDIN.readlines.sort_by   rand  .each    line  puts line  
    
    But this is slow, as sort_by needs to be at least O(n lg n), and probably not perfectly random (I suppose you could do rand <=> 0.5, but that s not perfect either). What to do? We can implement a proper Fisher-Yates shuffle in a function, but that takes a couple lines. Can we still perform the actual read-and-print in one? Yesterday, why wrote something that really made me stop and go wow . We can attack the random sort problem in a similar (if more boring, as there are no lambdas to pass in) way, by simply adding another method to Array:
    class Array
        def swap!(a, b)
            self[a], self[b] = self[b], self[a]
            self
        end
        def shuffle!
            each_index do  i 
                j = i + rand(length - i)
                swap!(i, j)
            end
            self
        end
    end
    STDIN.readlines.shuffle!.each    line  puts line  
    
    Now that is cool.

    Joachim Breitner: Tad Williams' Otherland - Part II

    Just before Christmas, I finished reading the second volume of Tad Williams’ “Otherland” quadrilogy, “The river of blue fire”. Most of what I said about the first part still holds, especially what I said about the similarty to “games” like Second World, and how Williams forsees where stuff like Telepresence leads us.

    By now, some of the story lines have crossed or merged, others are still independant and a few new ones have begun. The largest part of this volume consists of helplessly stumbling through virtual worlds. By doing so, Williams has all freedoms to create strange and interesting settings. At quite a few spots I thought: Wow, that would make a great movie szene. I hope some visually gifted will someday make a (or better: a few) Otherland movies.A few of these worlds are perverted versions of famous literature, notably H.G. Well’s “War of the Worlds” and “The wizard of Oz”. Oddly, I have only heard of these stories before, but just about the time I read about them in Otherland, they somehow re-appeared somewhere around me: The recent “War of the Worlds” movie (which I actually haven’t seen) and the old “Wizard of Oz” movie being shown at a small local theater in Karlsruhe.I’m looking forward to reading the next volume, but I have to wait for my brother to finish it, so I’ll probably squeeze another book in between.

    27 December 2005

    Andres Salomon: expenses

    squishy.cc expires in a month. I had planned to renew it, but $20/yr for a .cc domain via godaddy doesn’t really seem worth it (compared to the price of .net/org/com TLDs, that is). Hm…

    26 December 2005

    Axel Beckert: Yet another old laptop

    My father got me a nice IBM ThinkPad from 1996 earlier this year, so the next old laptop he digged up was planned to become a christmas present for my brother. But my father didn’t manage to find out, how old nor how fast that laptop was. And when I found out that it was a Pentium I with 90 MHz, it was clear, that my brother wouldn’t have any use for it, so he got “only” the used 850 MHz AMD Duron midi tower and my parents declared that old Compaq LTE 5100 laptop as a christmas present for me. :-) As my IBM ThinkPad bijou, this Compaq LTE 5100 is from 1996 and has a Pentium I processor. Both also have a 800×600 resolution, a double PCMCIA slot and a floppy drive, which can be replaced by a CD-ROM drive (if I had one). But that are all similarities. Technically the Compaq has 90 MHz instead of the ThinkPad’s 133 MHz, but therefore has 72 MB RAM in comparison to the 48 Megs the ThinkPad has. Also regarding disk space the Compaq outperforms the ThinkPad: 1.6 Gigs of disk space in comparison to the ThinkPad 1.0 GB hard disk. Another difference is the battery: While the ThinkPad can work over 2.5 hours without external power, the Compaq even didn’t manage to completely boot its currently installed Windows 98 (the ThinkPad had a Windows NT installed when I got it) when running on battery. (Will do that test again when I can confirm, that the battery was full before testing. :-) Yet another difference is the keyboard layout: The ThinkPad has an US layout while the Compaq has a Swiss-German layout. But the most obvious difference is the look: The black ThinkPad still looks like having a modern design while the Compaq looks very very outdated in its perfect computer beige and with its quite small display. So retroperspectively, it was a good a idea to name the ThinkPad “bijou” (French for jewel, jewellery, gem, etc.; named after a very neat british two-door limousine built in the UK by Slough on a 2CV base during the ’50s). Because now I have the choice between a lot of not so nice looking (not to say ugly ;-) 2CV derivatives to name the Compaq after. My favourites currently are the Iranian “Baby Brousse”, the Greek “Namco Pony” and the German “Fiberfab Sherpa”, all canvas and flatbed style 2CV based buggies, similar to the original Citroën Méhari but with steel body instead of the Méhari’s controversial plastic body. And one of the not used names, I can use for further ugly Compaq laptops¹. Another question yet to answer is the question of what operating system to install on it. Since the ThinkPad runs fine with Debian 3.0 Woody and I have a lot of other Debian boxes at home (running Woody, Sarge or Sid), I currently think about installing the very fresh NetBSD 3.0 (released on Christmas’ Eve 2005), FreeBSD 6.0 (released early November 2005), DragonFly BSD 1.4 (to be released in December :-) or DeLi Linux 0.7 pre (which was also released in early December 2005 and already uses X11R7). Another idea was to install grml 0.5, but since grml is a live CD distribution, it probably would be hard to install it over network. Same counts for ReactOS (version 0.2.9 was released shortly before Christmas 2005), which doesn’t seem to have a floppy disk plus network install. Since I always planed to upgrade my currently defective Toshiba T6400 i486 laptop ayca (maybe after getting an organ donor on eBay or so) to DeLi Linux 0.7 (and perhaps write a review about it for Linux Magazine or so) and I may get an Sun Ultra Enterprise 2 soon (on which NetBSD 3.0 would be the perfect OS since Linux’ performance still seems to suck on Sparc :-), I currently prefer the FreeBSD or DragonFly idea. If the Ultra doesn’t come, it probably will get NetBSD, since I haven’t a NetBSD box yet. (Haven’t a DragonFly box either, but a FreeBSD 4.x running somewhere. :-) Well, I guess, I’ll take even more old laptops than last year to the Vintage Computer Festival Europe (VCFe) next May. And since the two 1996 laptops are now 10 years old, they’re even ontopic! Yeah! ;-)

    ¹: I have two other not yet working Compaq laptops, both from an elder generation than Pentium I. One I got on a Swiss flea market for a few euros and the other was the first laptop of my boss, which he else would have thrown away. Unfortunately both are without power adapter and neither the usual allround laptop power adapters from Conrad, etc. nor the one from the LTE 5100 fits. But since there is eBay, I expect to get such a power adapter once. :-)

    Matthew Palmer: Language Is Not Just Syntax

    My current long-term learning project is Ruby on Rails, the ultra-hyped web application framework from David Heinemeier Hansson and friends. I like it (primarily because I can see a lot of my own abortive ideas from a web app framework for PHP I used to develop), but there is one big thing about it (or, rather, it's surrounding hype) that irritates me. Throughout the Rails literature (webpages, magazine and webzine articles, and the book Agile Web Development With Rails), there is a consistent message -- that, because everything is written in Ruby, you don't have to learn any new programming languages to write Rails applications. This is a wonderful theory -- no large XML config files to define my database schemas, and no castrated and irritating HTML template system to learn. From defining table relationships to printing a select tag, It's All Ruby, All The Time. Sweet, right? Sort of. The problem is that you won't find the language primitive to declare a one-to-many relationship in the Pickaxe (the definitive Ruby language reference book -- like "the Camel" for Perl, "the Bat" for Sendmail, or "the Turkey" for PHP). Defining a separate namespace in Rails for all of these operations is, of course, necessary, since the language didn't already define these operations. But, once you've defined a whole new set of methods to do all of these operations, you can look back on your hard work and see -- what? A new language -- one specifically designed to describe webapps. Don't get me wrong -- domain-specific languages are teh r0x0r. If everyone had to do all of their HTML manipulation by hand, programmers would be even more insane than they are. But, when you're writing your application in Rails, you're not speaking "pure Ruby". Your syntax and basic structure is Ruby, but your methods and attributes are new, different, and All Rails. It may not be a separate programming language in the usual sense, but by the time you've added a whole new pile of classes, methods, and attributes (not to mention whole new ways of structuring your application), how much importance is the use of the @ symbol to signify an instance variable, compared to the whole new set of methods to learn? Natural languages, of course, have similar issues. Most western european languages share a lot of common characteristics -- similar character sets, punctuation sets, and they read left-to-right. So I can look at a page of German or French, and identify most-to-all of the salient features (hey look, an 'a'!), and even grok the meaning of a few of the words (familiar to me, probably, because English misappropriated them from wherever they came from) but I still have no hope whatsoever of understanding the meaning of the passage as a whole. The language syntax looks familiar, but those nouns and verbs don't have any meaning to me. You can't plonk a Rails app in front of even a seasoned Ruby developer and expect them to immediately jump in and start hacking on it like they've been writing it all their life. The language syntax looks familiar, but those methods and attributes don't have any meaning to them. This is nothing peculiar to Rails, of course. If you want someone to hack on your Hibernate or Spring app, you'll get better results if you advertise for a Hibernate or Spring programmer than a Java programmer. But Rails advocates regularly say "it's all just Ruby, so there's nothing new to learn!", and that's Just Wrong, in my opinion. As an aside, if you're looking around for something a bit different, do seriously consider Rails (or just Ruby, if you don't need a webapp framework). It's different from the "usual" suspects (C, C++, and "the Ps" -- PHP, Perl, and Python), and pleasantly so. If you judge your programming languages by the old adage "a programming language that doesn't change the way you think about programming isn't worth learning", Ruby will score well. I know it's helped me think about my programming differently already, especially my Python programming (and thanks to Anthony Baxter for answering all of my esoteric python questions at OSDC a couple of weeks ago).

    24 December 2005

    Aigars Mahinovs: It just came to me that if we accept the definitio...

    It just came to me that if we accept the definition of "industry" (from the text of the software patent directive that EP had in first reading where it it was said) that industry basically is mass production of material goods, then there is no need for neither software industry not movie industry nor music industry - the production and distribution of copies is very efficiently achieved via the Internet. These industries are no longer needed by the society - they have no reason to exist.
    Some might object - but where will the first copy come from? Well, that is not product of an industry, but a product of an artist. If originally said industries were created merely to copy and distribute works, now they are morphed into structures "supporting" artists. That is a clutch, that is not needed. There are other ways for artists to make a living off their art. Fanart and free software movement clearly shows that. Patents and copyright are just clutches for the falling industries. The clutches must go and giants must fall for progress towards knowledge society.
    I would be glad if we could have professional musicians getting a minimal wage from the government. If your art has been downloaded by 10 000 people last year, you can get government pro-artist payroll. If you want more then minimal wage - do tours, sing in clubs, do advertisements, work in more then one art or get another job. I would be very glad to pay a tax for that if I could have free and unrestricted (copyright-free) access to all art of all artists. Call it art tax, device a maximum number of pro-artists the country can support via the tax, make qualification competitions, whatever. There is art without copyright. It is just not that expensive.
    However, while the society will allow industries to suck their money, it will be very hard to change the situation as the very same money will be used to prove that said industries are worth supporting.
    There are two ways: kick the crutches out (abolish patents and copyrights) or just move forward and ignore them and their crutches as we step through them towards freedom (develop free software, free media, free ... movements). Of course we can do the second until the first becomes viable.

    In that context it is nice to see some funny lawmaking in France (a law project for "copy all you want for 5 /month") or WIPO saying that copyright is not really a right and it is quite a shame that word "right" is part of "copyright". Even reading about each new patent horror of USA court system becomes fun, because them worse it gets, the closer is the end. (Same with Bush :P)

    22 December 2005

    Kai Hendry: Rant: Mailing lists

    Free software mailing lists suck. Especially Apache’s. For weeks I have been struggling with Apache mailing lists (apache-users and spamassassin) and now recently with mutt lists. I know with Apache lists you can use a special syntax:

    You can start a subscription for an alternate address,
    for example “john@host.domain”, just add a hyphen and your
    address (with ‘=’ instead of ‘@’) after the command word:

    But when I do it via mutt or a echo test mail users-unsubscribe-hendry=dabase.com@httpd.apache.org . I get no response from the automated mailing list manager. :( So, If I ever get subscribed it’s generally thanks to the mailing list owner. Then after lurking a bit, I try post. That never works as the return paths don’t match the email I am subscribed with. Return paths change all the time depending on which machine I sent it from. It could be anything from: And the first two aren’t working email addresses! If you must filter, can’t you filter on my From OR Reply-To email address FFS: hendry@iki.fi All I suggest is for Apache to start using something usable like Google Groups for user support. Does anyone else feel my frustration?

    21 December 2005

    Erich Schubert: Scammers - provide them with incorrect data?

    I today received another obvious scam. Well, basically any email from a bank referring to PIN and/or TANs (for those poor US bank customers: german banks all use one-time-passwords) is ovisouly scam. Especially when it's a really bad translation... So I wonder whether I, as an intelligent user, should maybe still go to this scammers page - and enter deliberately incorrect data. For example by calling
    wget "http://202.129.53.211:8081/postbank/privat/app/submit.php?konto=$RANDOM&pin;=$RANDOM&tan1;=$RANDOM&tan2;=$RANDOM&tan3;=$RANDOM"
    
    Yeah, they probably have to filter their data anyway. But are you sure they can tell "good" from "bad" values apart? How likely do you think I accidentally hit a legitimate users' account number and he might suffer from his account becoming accidentially locked? Does this help the banks to detect this scammer, and filter him somehow (e.g. by saying "invalid PIN" even when it's valid) after enough incorrect tries? Hmm... maybe the banks should provide an API to request invalid account numbers to submit to scammers. Then they could e.g. set a cookie or setup IP filters and fight back these scammers.

    Christian Perrier: DADVSI debates

    The Web site of the French Parliament features the full transcription of the debates about the DADVSI bill. For those of you who can read French, I suggest you have a look at it. I suggest you look at the speech by M. Christian Paul who gives a very good argumentation about why this text is EVIL. In the text, "M. le Ministre", is Renaud Donnedieu de Vabre, the Ministry for Culture and Communication of the government headed by Dominique de Villepin (hey, we should tell these guys that the French revolution was over 200 years ago!).

    Adam Rosi-Kessel: Doing It Right: BabyOp, Perl, and OOP?

    I’m coding a new CGI application, tentatively entitled BabyOp. It is software to run a babysitting coop; I suppose it is a species of “social software.” The idea is to be able to track hours credits, schedule babysitting times, centralize contact information and other details about babysitting requirements. I considered using something like Zope or Drupal for the application, but I’ve never liked developing exclusively through a web-interface and found myself having to do a fair bit of “actual” coding to get the results I wanted. I realize there is a command-line interface for Zope, but it’s really pretty limited. I had some plans a couple of years ago when I designed my wedding site in Zope to extend it to be more useful, but sadly never got around to it. So I’m back in my comfort zone, perl. I’ve written a fair amount of unmanageable perl code, however, CoopOrder probably being a shining example (it was also my first perl program). I’ve certainly improved since then, and the fact that I’ve received several patches from others for randomplay suggests that my coding style is getting to a half-decent point. I’d really like to get it right this time, though. One thing I’ve learned over the years is always to look for a module to do what you want before setting out to do it yourself, since chances are the module writer is a better coder than you (or at least, than me!). To that end, I’m using CGI::Application, HTML::Template, and DBIx::Abstract, among others. I’m also trying to keep things really granular and avoiding long subroutines. Certainly taking the HTML out of the perl code helps with that. I’m amazed at how often my code now just “works” on the first try, similar to esr’s story about his first look at Python (“Brace yourself: this code only took me about ninety minutes to write—and it worked correctly the first time I ran it.”) I’m trying to figure out if it would be sensible to make this application more fully object oriented. Growing up in the ’70s and ’80s and having done a lot of database programming, I’ve always been unfortunately pathologically declarative. (My first major package was in Clipper—I was 13 years old). I find it a lot easier to modify a pre-existing object oriented package than to design my own. But then again, does it really make sense to attempt an object-oriented design where there is really only one important “object” — in this case, the babysitting unit?

    Next.

    Previous.