Search Results: "agi"

21 January 2006

Ian Murdock: The celestial jukebox

Fred Wilson: “I will not buy music that I cannot remove the DRM from.” I agree wholeheartedly, though the strategy I use is the one Fred dismisses in the first paragraph, namely burning the music to CD and ripping it back, sans DRM, to MP3 format. Yes, it’s a pain, but it beats having to jump through all the digital hoops at some indeterminate point in the future when all I want to do is queue up a song I’ve legitimately purchased and have probably forgotten where I bought the thing, let alone what magic pixie dust I need to decode it. Sure, the MP3 format has issues too, but at least I know my music will play anywhere. (Since I’m on the subject, I’m looking for some sort of a virtual CD burner, which the operating system thinks is a CD burner but which is actually a piece of software that converts the tracks it “burns” to MP3 format. Anyone know if such a beast exists? That would certainly do wonders to curtail my contribution to the world’s coaster supply.) In practice, DRM isn’t as much as a problem for me as it seems to be for other people. Personally speaking, I don’t want to be in the music storage business—I’d much rather stream music on demand from some digital jukebox in the sky, which is why I’ve been a Rhapsody customer since 2003. (Greg Papadopoulos sums up my thinking pretty well exactly here: “I’ll bet that we will look back of this era of quasi-networking and wince, ‘How did we ever live that way?’ And the idea of wanting to carry all of your content with you will seem both old-fashioned and rather ridiculous.”) In my case, DRM is normally a non-issue—I simply route around it. Rhapsody has come a long way since I first started using it in 2003: They added a Rhapsody To Go service, which more or less solves the “disconnected operation” problem (though I still tangle with DRM issues from time to time if I go for too many days untethered), and they finally embraced the web, though the current web offering leaves much to be desired—the Linux plugin still doesn’t support Firefox 1.5 nearly two months after its release, the web interface has huge gaps compared to the jukebox software (you can’t access your music library on the web, among other things?!), and they don’t seem to be taking advantage of the new web platform at all (where, oh where, are the RSS feeds of my favorites, recommendations, etc, so I can mash them up with other stuff?). At the end of the day, I suspect the “economic boycott” James Governor calls for is the right way to fix the DRM problem. For my part, I’m voting with my wallet by supporting the model I want to win out in the end (that your music library will live on the web, not on your PC or in your pocket) and by buying music, in those rare cases when I do want to manage my own music library rather than letting someone else do it for me, from legitimate music services but opting out of the silos the platform providers are trying to build around me as a byproduct. Above all, I resist the temptation to climb into the big, beautiful lockbox Apple is building for us. As Clayton Christensen recently told BusinessWeek, I’m firmly convinced open standards will win out in the end:
Look at any industry — not just computers and MP3 players. You also see it in aircrafts and software, and medical devices, and over and over. During the early stages of an industry, when the functionality and reliability of a product isn’t yet adequate to meet customer’s needs, a proprietary solution is almost always the right solution — because it allows you to knit all the pieces together in an optimized way. But once the technology matures and becomes good enough, industry standards emerge. That leads to the standardization of interfaces, which lets companies specialize on pieces of the overall system, and the product becomes modular. At that point, the competitive advantage of the early leader dissipates, and the ability to make money migrates to whoever controls the performance-defining subsystem.
I don’t know about the rest of you, but that day can’t arrive soon enough for me.

Simon Richter: Here be dragons

I have ventured into the realms of packaging kernel modules again. It hurts a lot less than it used to, but still isn't that straightforward. The biggest WTF was certainly the toplevel Makefile telling gcc to look for include/linux/autoconf.h . While this works fine from the toplevel of an actual kernel tree, it does less so when only the include directory of said tree is on the path, as there is no include/include directory. Some minor problems are the powerpc arch name transition (which makes asm symlinks go wrong) and that kbuild wants to create dependency files and temporaries in the source tree.

20 January 2006

Thomas Hood: tinnitus still

It's a month since I was exposed to excessively loud music at a concert and the tinnitus is getting worse. Imagine an infinitely long blackboard, and someone walking along, squeaking the chalk, forever. The sound is in your head when you go to bed, there when it wakes you up at night, and there at every moment of the day, demanding your attention. Damage to the inner ear does not heal. There is no cure. You are told to learn to live with the incessant noise, and to look forward to a life without silence.

Amaya Rodrigo: How cute can it get?

For fun and profit^W insomnia...

Back to my usual state where I can t sleep *at all* at night , browsing through the xlibs-dev transition bugs, I came across #346764, where upstream for xbubble submits a patch himself to help in the transition. Let me repeat that: upstream sending patch for Debian transition!

Even upstreams are on our side! Beautiful! Can anyone beat that?

BTW, upstream says: Note that the last one is not really needed (libxt-dev) by the build, but only by the .configure I use as upstream maintainer and that I should probably fix. Any help welcome on this one, too ;). So ladies, gentlemen, el bal n ahora est en nuestro tejado, or the ball is on our court now.

(Shameless plug: Still waiting for help in packaging newest upstream gtk+extra, see #347397).

Dan Weber: M$ Access, the root of all evil

Friday my coach (very computer illiterate, maybe illiterate too) asked me to print out an access database of names. He hands it to me on a cd, and says Monday I want to see it printed out.

First I attack it with mdbtools and find there are 30 tables, which am I to choose? I look through all of them and find Names which seems to have what he wanted. I dumped it in CSV to a file and then did my magic with awk to get names addresses and zip codes. Of course with handy cups-pdf installed I run it through pdfprint. It turns out theres 192 pages. I say fuck that and leave it as is in a pdf and email it to him.

Of course that couldn't be the end. I get a response back from the mailserver tailing me his email account is full. Spectacular, he must have a quota of 5mb for these crap school accounts. So I then upload it to my webserver, send him another email saying its there and thats what happened. All will be found out tomorrow. M$ Access suuuuuuuuucks.

19 January 2006

Riku Voipio: Automatic Language Identification

Automatic language identification: http://grid.let.rug.nl/~vannoord/TextCat/Demo/textcat.html -Insanely cool.

I remember I saw that site a long time ago last time. Finding it again turned out to be very hard. Googling for "automatic language identification demo" and variants turned out all kinds of interesting papers, but not this site. If I would have tried with "language guesser", I would have found it without needing to resort to search for the papers cited on the page... Google is still not magic.

About the mandatory comment issue, I agree VERY much with Joey. I think the SCC name is unfortunate, probably something like "ports" would better. I'd also like believe that many of the ports will become more lively when they get administrated on scc site by the actual porters instead of the overworked d-i and debian infrastructure team. This of course up to how many people (and vendors!) care about their specific arch, to actually work for it.

And about all the "universal OS" and "what about users" screams... I'm almost speechless. What about the _current_ X86 and powerpc users with their recent hardware that isn't supported by woody? We have a lot more X86 users currently without stable security support than there are woody users of the archs proposed to be moved to SCC.

17 January 2006

Jos Parrella: Authenticating users from several groups

Today I had my first encounter with authenticated proxies (creepy). The client has a working LDAP directory and Samba servers for logins in their network, and until now they have plain old packet forwarding for WWW access. They didn’t even had Squid caching as a transparent proxy, and they suddenly wanted to authenticate users against the directory, and give particular access to users of certain groups. Luis was working on this using winbind and ntlm_auth in Squid (all from their corresponding packages in Sarge) and he was using the –require-membership-of stanza on auth_param. So his configuration was basically: This approach didn’t work as it meant to be used, since only the first authenticator worked. Seems like Squid parses the list of authenticators and only work with the first one. So only one group can be allowed to use the proxy this way, as far as I understand. I googled a bit through some Russian forums and started solving some problems with winbind and Samba themselves: no domain separators, no stanzas for winbind in the smb.conf (winbind use default domain = yes), bad mappings for uids and gids, etc. Then I found out about wbinfo_group.pl, a Squid helper written in PerlOfCourse which can find out the group of a certain user trying to authenticate with the proxy. So I thought that maybe this way I could made specific acl’s for each group and even control other stuff in Squid using the group. I made this in this way: This is magically working, and I think there’s more flexibility with this than the other way, but I’m not an expert and I have questions that will be answered in this week, hopefully:

16 January 2006

Ross Burton: Weakness

On the whole I'm an organic, fresh, free-range, no-MSG, tree-hugging leftie kind of guy. I prefer Marks and Spencer's Red Leicester and Spring Onion crisps as they contain potato, oil, cheese and onion. When I buy chicken it's free-range. Eggs are always free-range, and the fact that the supermarkets still sell "value" eggs upsets me. This weekend in a "top 10" conversation, I discovered that I have several weaknesses: More MSG, artificial flavourings and additives than you can shake a stick at. Please say I'm not alone... or am I just weak-willed? In other news, Henry is three months old today. He is all jabbed up now so can finally leave the house, walks are fun (for certain definitions of fun that is) as he continually pulls on the lead and is obsessed with cars driving past. So far we're averaging two random people talking to us about Henry on every walk...

15 January 2006

Andrew Pollock: [tech] Camp SysAdmin

It's a very unfortunate name for something held in San Francisco... Yesterday, Rick (who's visiting for a week or so because he has an interview) and I went to Camp SysAdmin in San Francisco. I didn't really know what to expect, but it was free, and it had two names I recognised: Eric Allman of Sendmail fame, and Ethan Galstad, author of Nagios. That was good enough for me. It was a fairly unstructured event. We arrived a bit late because we just missed the train we planned on catching, and the next one was an hour later. We seemed to have only missed the welcome, and everyone was just starting to break out into smallish discussion groups. The groups were just round-table discussions about various topics, with the discussion leaders working through some stimulus material. I'm not quite sure what the objective of the day was. I think Splunk, who were the main organisers of it, were using it as a gentle sales pitch for their product, which was cool, because I'd not heard of it before. They make a logfile correlation tool, of which there is a free version. It was kind of good timing, as I'd just spent a couple of days munging log files at work, so I'll find time to look into their product further. I didn't directly gain a lot from the day (I attended the "Ops Collaboration: How data centre gurus work together when problems cross different domains" and "Troubleshooting messaging systems" discussions, however it was interesting to just listen to the discussions, and hear what people had to say. A lot of people were working at small start-ups (seems to be par for the course in the Bay Area) where they were the sole sysadmin for the entire place, which is a concept at the complete opposite end of the spectrum to what my job is like. It was a good informal networking session, it wasn't too crowded, the food was good, and most importantly, it was completely free. I even scored a t-shirt for completing an anonymous survey. The event was held in a wine-bar/art gallery place, which worked reasonably well. They had a wine and cheese social networking session at the end. The whole event was run very well.

14 January 2006

Brett Parker: New Django Packages

I've just finished uploading new django packages to my repository, the python-django packages are now 0.91, so if you're using 0.90 beware! There are backward incompatable changes, it's probably worth reading http://www.djangoproject.com/weblog/2006/jan/11/091/ and then follow the links for the 5 backwards incompatable changes and fix your apps to the new system. I've also updated the python-django-magic-removal packages to the latest svn (or it was the latest svn when I built them ;). Oh, and a symlink has been added to both packages to link in to the admin-media nicely (OK - so I got bored of editing the python each release to point to the /usr/share location, and this works nicely and simply, I hope. Thanks for the pointer James! :) Oh, one other thing, there's a patch in the debian 0.91 version that means that the startproject part actually generates a settings.py with the "right" timezone and language. I haven't patched the magic removal branch with this (hey, if you're using that, I'm sure you can edit the settings.py and catch those yourself ;) Play, have fun, report bugs at me! (or something)

Horms: ccache-update-links

ccache is a compiler cache. I find it greatly reduces compile time when I have to recompile the same code over and over, which is often the case when I prepare Debian packages. It can be invovked in a variety of ways. For me the easist is to make a symlink the name of the compiler in my path. For example, ~/local/bin is in my path before /usr/bin, and I want all invocations to gcc to use the compiler, so I do this
 # which gcc
 /usr/bin/gcc
 # (cd ~/local/bin && ln -s /usr/bin/ccache gcc; ) 
 # which gcc
 /home/horms/local/bin/gcc
So now when I invoke gcc it actually runs ccache, it does its magic and calls /usr/bin/gcc as needed. As ccache invocations look exactly the same as gcc invocations, this means its easy to get ccache into a build.
 # which gcc                                       
 /usr/bin/gcc
 # ccache-update-links ~/local/bin 
 # which gcc
 /home/horms/local/bin/gcc
But with different versions of gcc, and recently doing some work with cross-compilers, I have a lot of symlinks I want to create, and this is a bit of a chore. So I wrote a ccache-update-links to do this for me. Note that it actually just creates and overwrites links, it doesn't know how to delete dead links. Perhaps I should add that... Download: ccache-update-links
Home: ~horms/junk/

12 January 2006

Antti-Juhani Kaijanaho: John Ringo: Princess of Wands

Somehow John Ringo’s latest, Princess of Wands, reminds me of another book he’s written recently. Both have the overtones of some sort of literary self-congratulation. In Ghost’s case, I counted that as a fault. In Princess of Wands‘ case, I count it as a strength. Both books are also episodic rather than regular novels, but the similarities end here. One problem in reviewing this book is that one cannot really discuss much of the setup without writing major spoilers. The cover blurb takes one approach: describe what the reader learns within the first five pages, who cares that the picture that gives one of the book is completely wrong. Unfortunately, the cover blurb is so misleading that it can make people ignore this book even though they should have picked it up. The genre is urban fantasy. The main character is a devout Christian soccer mom who finds herself in an adventure. The magic system and the ontology are quite interesting. There are battles with evil. There is a con. The publishing house itself, Pier… erm… Baen Books, as well as some of its authors, make an appearance onstage. (In fact, if you aren’t a barfly, you’re going to miss some of the fun like I probably missed a lot of it, never having visited a con where Baen people gather.) I found it a satisfying read, especially the middle episode. The final episode was so short that it didn’t feel well balanced, but it’s a minor issue. However, I would probably hesitate to recommend this book to a certain kind of Christans: if you think Harry Potter is evil, don’t come near this book. Overall, I’ll rate this book 4/5.

Sam Hocevar: No subject

Debian: posted 10 ITPs for various packages I had been using or packaging for a while. I'll probably retract one of them (dgen) since I was pointed out that it wasn't as free as I though it was. Gnome: lines of Gnome fr.po files corrected: 27,334 -- lines of Gnome fr.po files still to check: 166,148. Ouch. School: my BOFH anti-doubleclick campaign seems to work pretty well. No complaints yet, and almost 30,000 daily hits on the empty-banner generator. Leisure: played powermanga during all the night. A really nice oldschool vertical shoot'em'up. And it's free, madam !

Adeodato Sim : A word or two on the GFDL GR

So it looks like we’re finally getting a vote to issue the long-awaited GFDL Position Statement, and explain why Debian does not consider this license suitable for its main section (gr proposal, latest version). After asking around in -private, I proposed an amendment to allow GFDL-licensed documents with no invariant sections to remain in main; as of now, this amendment has received exactly zero seconds. (In case this needs mentioning, an amendment needs at least 5 seconds to appear in the ballot. And if someone wants to point me the legal flaws of my amendment, please read this first.) I’ve surprisingly found myself getting quite upset and enraged (quite political?) about the whole GFDL story. I have very clear feelings about the whole situation, and they’re best explained in this post. But well, I’m finally starting to digest that most likely Anthony’s text will pass, and managing to not get tragic about it. I guess it’ll go away, and that I’ll then continue with my Debian tasks as usual. Heck, if I one manages to be friends with people that vote conservative (and, heh, they manage to be friends with me), I guess this is about the same. NP: The Cranberries, Dreams

Matthew Palmer: Xinerama is the r0x0r

I was motivated, this morning, to look into whether my laptop chipset (Intel 915GM, for anyone interested) could do this funky multihead thing. Much to my surprise, it was (a) possible, (b) quite simple, and (c) incredibly useful. I now have a 15" Dell LCD screen on a cardboard box behind my laptop docking station. What is it useful for, you ask? Let me count the ways (with the help of the <ol> tag, of course):
  1. I've gotten a couple of PDF versions of my current "must always have with me" technical books (Programming Ruby and Agile Web Development With Rails, since you didn't ask), and now I can stick them on the other monitor to refer to while I'm coding.
  2. I can stick my xchat window up on the external monitor, so I can quickly glance at what's going on without having to touch anything. With the ability to stick a window on all desktops, I can have xchat no matter where I go!
  3. If I want to show somebody else something, it's handy to be able to push it up onto the top screen so they can more easily see it without having to crane down at my laptop screen (plus, if they go "what about <smudge>that?</smudge>", it's work's monitor that's getting grotted on, not my laptop screen that I have to stare at for 10+ hours a day).
Since I rarely (read: never unless I'm forced to) reboot my machine, instead relying on the magical marvels of sleep/hibernate, I did have one major concern with this multihead thing -- when I'm out-and-about, obviously I'm not going to have my external monitor with me, so how do I view things that are up on the other screen (either because I left them there when I was in the office, or because the window autoplacer stuck them there)? It turns out to be a fairly trivial and rarely noticed problem (except when I shove the mouse at the top of the screen to hit a button and my mouse disappears off into the wilderness). The answer to the invisible window problem is trivial -- I wave my mouse around where I can't see it until the window I want is highlighted in the miniview, then hit Alt-M to lasso it, and drag the little beastie into the light. Much easier than trying to guess where the title bar is to bring it down. In the interests of sharing the love (and having a record of what I did for next time), here is the sum total of what I had to add to my xorg.conf to make it all work on Ubuntu Breezy (along with some comments to make it easier to understand what's happening):
Section "ServerFlags"
        Option  "DefaultServerLayout" "double"
        #Option "DefaultServerLayout" "Default Layout"
EndSection
# This Device section is effectively identical to the one for the
# primary screen, with the addition of the Screen 1 parameter to
# select the alternate display device.
Section "Device"
        Identifier      "vgaout"
        Driver          "i810"
        BusID           "PCI:0:2:0"
        Option          "MonitorLayout" "CRT"
        Screen          1
        Option          "DDC" "false"
EndSection
# external display
Section "Monitor"
        Identifier      "generic"
        # I kept all these loose because most monitors support
        # autodetection.
        HorizSync       27 - 96
        VertRefresh     50 - 110
        Option "DPMS"
EndSection
Section "Screen"
        Identifier      "external"
        Device          "vgaout"
        Monitor         "generic"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                # I'd have added many more modes here, but
                # the amazingly crufty external LCD I'm using
                # only supports 1024x768.
                Modes           "1024x768"
        EndSubSection
EndSection
# xinerama layout
Section "ServerLayout"
        Identifier      "double"
        # The 0 0 (I think) identifies this as the "root" monitor
        Screen          "Default Screen" 0 0
        # You can also use Below, LeftOf, or RightOf to position
        # your shiny subscreen
        Screen          "external" Above "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        # Never, ever forget this option.  You'll get laughed at
        Option          "Xinerama" "true"
EndSection

Amaya Rodrigo: How cute can it get?

For fun and profit^W insomnia...

Back to my usual state where I can t sleep *at all* at night , browsing through the xlibs-dev transition bugs, I came across #346764, where upstream for xbubble submits a patch himself to help in the transition. Let me repeat that: upstream sending patch for Debian transition!

Even upstreams are on our side! Beautiful! Can anyone beat that?

BTW, upstream says: Note that the last one is not really needed (libxt-dev) by the build, but only by the .configure I use as upstream maintainer and that I should probably fix. Any help welcome on this one, too ;). So ladies, gentlemen, el bal n ahora est en nuestro tejado, or the ball is on our court now.

(Shameless plug: Still waiting for help in packaging newest upstream gtk+extra, see #347397).

Zak B. Elep: Help needed for gyach package

My earlier effort to make a NEW GYach package has resulted to an upload to mentors. I’m not yet looking for sponsors, but can someone do some testing done with the gyach and gyach-media packages? In particular, can anyone see if webcam support is ok, and if sound works? Thanks in advance!

11 January 2006

Brett Parker: Woo!

We have a new django release, 0.91... I'll package it RSN... but here's some forewarning for those of you out there using the python-django packages... there's some backwards incompatible changes from 0.90 to 0.91, it's probably worth reading http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges if you are using django. The next real little boy^W^Wrelease will have the magic-removal branch merged in, so that'll be another set of backwards incompatible changes (if you want to stay ahead of the game though, as I said in my previous blog entry, there are some packages for that branch too ;) Fun fun fun fun fun!

Kenshi Muto: Dovecot

I'm administering two mail servers (Debian Sarge) and uw-imapd were running on both servers. As you know uw-imapd is reference model and may become very slow when user has a huge mbox. I use "mobileimap" to see my IMAP from cellphone, but huge mbox sometimes causes bad timeout. Courier-imapd is dropped from the choice, because I don't want to migrate other formats. My friend Kitame and Mutsumi recommended 'dovecot-imapd'. Yeah, this is what I want. Install was very smooth, but there was one problem. I'd like to use CRAM-MD5 for authentication mechanism, but I couldn't find a way to create its hashed value to write password file. After asking Google and checking unstable dovecot-common, finally I found "dovecotpw" utility and succeeded to get correct hashed value by using this utility on other Debian Sid machine. Now dovecot works well on my two servers. Speed is more faster than I imagined.

Tollef Fog Heen: On humans failing Turing tests

Adam Rosi-Kessel writes about humans failing Turing tests. Apart from speculating why this is happening, a workaround could be to use CSS (or javascript) to hide the input box, or possibly the same for disabling it. I imagine most spambots don't parse the CSS or run the javascript. Of course, the text saying "please don't write anything here" should be kept.

Next.

Previous.