Search Results: "ag"

8 December 2005

Clint Adams: zomg

This is not the ugliest code I have ever written. The handling of HTTP/1.1 chunked transfer-encoding is a horrible hack. The indentation isn't quite as random as I would like. I have other complaints, but I've forgotten them, as zomg does mostly what I want, which is to play music and report it to Last.fm. Unfortunately, it lacks the power of vux, but that's another story. zomghelper is a C program that extracts the relevant data from an Ogg Vorbis file. It written because vorbiscomment doesn't report the track length, and ogginfo is much too slow for my needs. I don't expect most people to share my needs, so the five of you that are actually going to use zomg probably won't need it.

NOKUBI Takatsugu: Binary 2.0 Conference and some presentation methdos

Last week, Binary 2.0 Conference (Japanese) was held. "Binary 2.0" is a new buzzword inspired from "Web 2.0", so the definition is not clear. But many peapole enjoyed the conference. In that time, there are two new presentation methods. The first one is SPS - SDL Presentation System (Japanese). It seems realy cool. The presentation had some beautiful effects, like wave of water on the mouse cursor. The second one is GDB presentation method (Japanese) . He made a MIPS compatible CPU on a FPGA board, and control it via GDB remote debug protocol. It is also cool. On the other hand, I tried to make my presentation by Macromedia flash. It is my challanging since 2003, however I can't beat the above methods. However my method has an advantage, portability. The SPS make an executable file, it is dangerous to execute, and not portable. My presentation file can play under many flash player, like rich mobile phone's browser.

John Goerzen: Underwear Rotation

Well. I discovered this evening that my underwear has been rotated for me for the last three years. My wife and I were innocently discussing her tendency to make organized piles of things. Then this conversation happened: Terah: And I also rotate your underwear. Me: (laughing) Really? Terah: Of course. Me: (laughing uncontrollably for awhile...) So does it get rotated every 6,000 miles like tires or what? Terah: (pretending not to get the joke) No! Me: Why do you rotate it? Terah: So it all gets worn evenly. But you mess up the plan because you don't always take underwear from the front left pile first! Besides, you wouldn't want any underwear to be left out. Me: (just understand that I'm laughing pretty much this entire time...) How long have you been doing this? Terah: Since I started doing our laundry. (That would be since we moved to Kansas 3 years ago; I did our laundry before that.) Me: So do you rotate your own underwear? Terah: Oh, of course, I've been rotating mine for years. Me: How many years? Terah: Hmm, about 11. Me: So do you have a specific rotation plan? Terah: Yes! Each week, the 2nd-row right pile moves to the 1st-row left pile, the first row middle pile moves right, and the 1st-row right pile moves up. The left two piles on the 2nd row never rotate. (Initially, I wrote: "Each week, the 2nd row-left pile moves down to the front-row left, and everything else moves around, except the third row, which doesn't fit as well and never goes in the rotation." But Terah reviewed this before I posted it, and said: "There is no third row. You don't even know how many rows of underwear you have!!" Terah says that what I've written now still isn't quite right, but it's close. I guess I may never understand all the theory behind proper underwear rotation.) Me: So is there a set number of pairs in each pile? Terah: Yes. Three. But sometimes you mess that up because you throw away worn out underwear. Me: So what all gets rotated? Terah: Well, your underwear, my underwear, bath towels, kitchen towels, your t-shirts, and I used to rotate my socks but I don't anymore. I probably rotated them for about 9 years. Me: So I'm supposed to start taking underwear from the front-left pile each week. What happens after I have used three pair? Terah: Well, you move to the front center, then front right, then you go to the back right and work your way back left, making a circle. Me: This is great. I'm going to have to blog about it. I think I should take a picture of my underwear drawer and post it. Terah: But why are you laughing so hard? It's not really funny.

7 December 2005

Uwe Hermann: Reading List

My reading list for tomorrow: Nothing really big, just some random programming-related blog posts, but all of them look really interesting and helpful.

Radu Spineanu: Maps

I was thinking of building a web application on top of Google Local, however i couldn't find out for sure if i can ask money for some kind of service like this. It would probably be a free version and a subscription based one. All i found on google laws was something like:
"Except where you have been specifically licensed to do so by Google, you may not use Google Local with any products, systems, or applications installed or otherwise connected to or in communication with vehicles, capable of vehicle navigation, positioning, dispatch, real time route guidance, fleet management or similar applications".

Does anybody know if this is possible ? If not with Google Maps, maybe with something different (Microsoft has something as i recall, Yahoo too).

Frank Sinatra is cool...

Paul van Tilburg: Exploring The Campus

I wasn’t able to do anything meaningful the first days of my stay. On Friday I had a meeting with Fairouz Kamareddine to talk about what I should do in preparation of my assignment (which will be fully determined next Friday) and what the team is already working on with respect to MathLang. Shopping In the weekend I went shopping in a large supermarket (the here infamous ASDA) together with Xiaobin, one of the Chinese guys I live with. I hadn’t realised until that moment that I had to buy some stuff I already had at home, just so that I could drink and eat: mugs, pans, bins, glasses, forks, knives… I hope somehow that I am able to take it home with me, it wasn’t exactly very cheap. After the shopping frenzy we went to the city centre together which was very busy with people shopping for Christmas. I bought a second power plug converter (type C to G) so I don’t have to leave all my stuff in my room unplugged just so that I can power my laptop at the university and have to set the time on my alarm clock when I return home. Walking A nice green but strange area in the west of the campus On Sunday I cleaned up and rested a bit. During the afternoon I got a bit cold and went out for a large walk around and over the campus. During the walk I’ve made some pictures which are available on my Edinburgh album, which I hope to keep filling with pictures the next few months. I’ll probably have to split it up and improve the gallery, but this is what I have for now. Cycling Since I have arrived I haven’t seen any bicycles! Zero, zip, nada! People either walk or take the bus. I sure am going to miss cycling. Even if I can get my hands on a bike, it’s probably not safe to use it since the entire traffic system here is not accustomed to take you into account riding on such a thing.

Paul van Tilburg: Arrival In Edinburgh

The flight to Edinburgh went just fine. I believe it’s my first time flying 10 minutes ahead of schedule because everyone was already in the plane. I left on 12:35 CET, landed on 12:35 GMT, so no time lost :). After arriving I was dying for something to eat (which I took with me in my coat but it wasn’t really reachable in the plane). So I ate, got some money and took a taxi to the Heriot-Watt University campus. The university campus Main reception of the Heriot-Watt University I got dropped off on the campus at the main reception. There I was able to store my luggage and I was kindly directed to the Mountbatten building, home of the school of MACS. There I met Fairouz Kamareddine and two of my direct colleagues: Manuel Maarek and Krzysztof Retel. Fairouz quickly arranged that I got registered as a HW(Heriot-Watt) student, got my MACS account, the accommodation, etc. The Thomson Hall where I live in With keys, luggage and instructions I took off to the Lord Thomson Hall to find my room. At 17:00 I was completely settled in already. I met my (all Chinese) four kitchmates (yes, it’s a strange word) and went back to the university refectory for dinner. My room is a quite small, at least, smaller than I am used to (about half the area), but it has a bathroom (with shower), gets cleaned weekly and all the heating is included… so I am not complaining. I must say that the people on campus are very nice. I can ask anyone if I need to know something and I always get help or a kind reply. There are really a lot of foreign students here (about 25%) who all share the same fate.

Roland Mas: New blog categories

After large amounts of peer pressure from Rapha l Hertzog and other French Debian Developers, I finally created a new geek-fr category in this blog. The old geek category was renamed to geek-en for consistency, and both are now subcategories of a new geek category. I think that means you’ll get articles in both French and English if you just read geek. Same applies for the RSS feeds, so you may like to update your feed readers and aggregators (I already updated Planet Debian). The new geek-fr subcategory will contain articles in French, as you’d expect, and will probably be more related to French-specific events. I’ll post another announcement in French in a few minutes.

Erich Schubert: Microsoft doesn't deliver. Again.

Apparently Microsoft has pushed back the beta Test of their upcoming Internet Explorer 7, which was expected to be released today. So Microsoft doesn't deliver. Again. The XBox 360 apparently has heat issues and is crashing a lot for some users. Also it has been said that Microsoft is losing quite some money with each unit sold - they are aggressively trying to obtain market share. "Vista" was stripped of all the interesting features, apparently all that is left is a prettier UI with tons of effects (and requring a DirectX 9 capable graphics board). The big feature enhancements like WinFS will not be included and will take at least one more year to be ready for beta... "Windows Live" and "Office Live" (which are neither Windows nor Office) don't live up to their names either: They are just web-based add-ons, even supporting Firefox, and offering pretty much the same as Yahoo and other portals do as well as an online version of SharePoint apparently. They are a meagre attempt of Microsoft to be not totally left behind by Google when it comes to web applications. Heck, these could (and probably are!) be from some other company that Microsoft just bought. The new office version of Microsoft fancies again mostly a new UI, that will be very different and probably confuse users a lot (especially if they have to alternate between office versions); Microsoft also has the reputation of breaking it's own file format again and again; the new office will use an incompatible file format again. The UI also doesn't help people to give their documents a more semantic meaning (for efficient processing by automatic tools such as desktop search engines), but will be more visually-oriented than ever (i.e. styles such as "headline" which do add a semantic meaning are degraded as "quick styles", whereas the bold- and underline buttons are more prominent than ever - good bye, corporate design!) Microsoft has been promising lots of new stuff recently, but has it showed any? Where is Microsoft Windows for Supercomputers? They are totally under control by Unix and Linux. Linux is gaining on Mobile phones and embedded devices. When was the last time you read about WinCE? Heck, even the WiFi network at Microsoft is now powered by Linux...

Meike Reichle: A new member in the family

Since this weekend there's a new member in my little computer family :)
After serving as my bedside table for over three months (ever since I moved here) my regular PC is now finally reassembled, equipped with a new hard drive and DVD drive and back in action! It's got a new name, too: Undine. For the illiterate among you, a Undine is a water spirit and this particular one is called after the Undine in the story of Friedrich de la Motte Fouqué. (Full text from the Gutenberg Project, and a summary.)
It's not all set up yet. (Is a machine ever?) Aplayer and xmms still throw errors and it won't go into any kind of standby (sleep or hibernate). But nevertheless the increase in quality of my life has since been enormous. Until then I used my beloved 12" Thinkpad (Dropkick, got it's name from them and the way I treat it) for daily work, which was okay, but somewhat unhandy at times. Now I got 21" instead of 12", a lot more power, sound, and a decent (but filthy) keyboard again. Yay!
Downside: I had totally forgotten how *INCREDIBLY LOUD* that thing is. Maybe I'll go buy a set of these insulating mats. This high-pitched noise drives me insane!

Regarding my last post: I noticed there's an extra-i-that-bears-witness-to-my-favourite-editor in it but decided to leave it as a statement ;) Maybe I'll start a new trend?
The Skatalites concert was as great as expected but unfortunately very full. People where standing shoulder to shoulder all the way to the back wall. So all you could do was stand and listen, dancing was rather difficult or even impossible. :( Also, we left a bit earlier since those $%*# ing regular work hours have turned me into a total sissy when it comes to staying up late. This needs to be undone!!

In other news: My increasing enthusiasm for Leipzig experienced a first drop when I noticed this morning that somewhen in the last few days someone must have stolen the bungee cord from my bike. :(

I am disappointed and indignant about this!!!

(Especially since only my new springy one is gone, the old, f***ed-up one is still there. Haha!! You me too!)

Last but not least: I got my Christmas leave confirmed! I am off work from christmas until new-year. This means that I can go South over the holidays and be with my ifamily who totally rocks and I very much look forward to seeing again :) (Mom, should you read this: We are having fondue again this Christmas, arent we? Pleeaaase??)

Wouter Verhelst: Belpic 2.40

When I had almost finished packaging belpic 2.3.13.full, I contacted upstream to notify them of this fact, also mentioning that I'd replaced their build system (which used simple makefiles with many bugs) with an autotools-based one. To which I got the reply that they'd already prepared a belpic 2.40 in the mean time (available at readers.eid.belgium.be), and that they'd switched to SCons as their build system in the mean time. Since I'd spent quite some time on 2.3.13.full already by that time, I decided to continue to prepare that package, and focus on 2.40 afterwards Now of course I'm happy that they chose to use something different from plain buggy MakeFiles. I'm less happy that they chose something based on python, a language which I haven't liked, ever, and don't know much about either, but, well. That's their choice, right? I'm also less happy with the fact that it doesn't properly clean up after itself (requiring me to do ugly stuff in my debian/rules clean target), and that it doesn't work. Grmbl. The build currently fails on a file that hasn't changed, because it can't find a symbol which is defined in a file in the same directory that hasn't changed, either. When I rerun the gcc call with the -save-temps argument and review the preprocessed source, I see that that include file is mentioned, but not included. Something is clearly wrong here. Guess I'll have to start learning python... hrmpf. If you care, belpic is the software required to read out the information and keys in a Belgian electronic ID card. Not of much use if you don't need to read Belgian ID cards, though :-)

Alexis Sukrieh: Bits from the Backup Manager devel corner

Last days have been quite productive for Backup Manager and I’m glad to see that all the development phase seems to be finished in the SVN repository. As you can see, we’ll be able to release the first stable version of Backup Manager (0.6) as soon as the user guide is written. From the code tree point of view, all the known bugs are closed by now and requested new features implemented. I put all my energy in the user guide now, and hope I could fine some english native speakers soon… I don’t plan to release a new debian package for the last 0.5.9x versions, the next debian package will be 0.6-1, and it will be backported to sarge if needed.

MJ Ray: UK legislators review DRM

The All-Party Internet Group (APIG) will conduct an inquiry into Digital Rights Management and invites written submissions of 1000 words or less by 21 December. This is a great chance to make legislators think about the problems introduced by the recent ill-considered DRM laws and we can offer them some possible improvements. I think I will be asking for: 1. establishment of "fair circumvention" when DRM is being used to restrict what should be fair dealing or other vital acts - you can't make DRM systems "fail safe" but you can give some hope of recovering after they "fail closed"; 2. legislation to ensure that DRM system owners are held responsible for computer misuse (Sony?), privacy invasion and monopoly effects resulting from their DRM systems, which will help limit distortion; 3. requiring collecting societies to allow members to leave, rather than letting us see more reports about why some artists aren't using liberal licensing yet. If you can write a structured response to some or all of their questions, please do so. At worst, let's hope we can avoid the likes of the recent French proposal that could ban free software here... (Part of this item first appeared in an email to the fsfe-uk list on 5 December.)

Anthony Towns: On Joey on Permissions

At the end of an interesting piece on permissions, Joey Hess concludes:
I could give many more examples of subsystems in Debian that exist at different point in the spectrum between locked down unix permissions and a wiki. There seems to be a definite pull toward moving away from unix permissions, once ways can be found to do so that are secure or that allow bad changes to be reverted (and blame properly assigned). Cases of moving in the other direction are rare (one case of this is the further locking down of the Debian archive server and BTS server after the server compromise last year).
I think Joey’s focus on “unix permissions” is a bit misleading; you could make the same argument more generally by talking about permissive and restrictive regimes. Permissive systems have the obvious risk of vandalism in various forms, whether deliberate and malicious like adding false information to wikipedia, or well-intentioned contributions that are low quality due to simple ignorance or carelessness. On the other hand restrictive systems have the somewhat subtler risks that good contributions will be turned away because the restrictions are more effort than they’re worth, and that the time it takes to administer the restrictions start detracting from the time to actually do the work in the first place. So obviously there’s a tradeoff. But as well as that, there are ways of easing both risks: the risk of vandalism can be overcome if the stuff isn’t relied upon too heavily and can be changed relatively easily – so problems in unstable aren’t much of an issue since they can be fixed in a day, and don’t affect people running mission-critical systems because they should be using stable or testing or similar. Likewise, managing restrictions can be distributed too: the new-maintainer process is a good example of that, in that a range of people are involved in helping people pass through the qualification round, and in that sponsorship allows people who haven’t passed through the main lot of restrictions to get their contributions in by going through a different process. One interesting approach, to my mind, is worrying less about permissions and more about space – so that different people with different ideas on how to do things can do them independently. That’s part of the idea behind usertags and usercategories: rather than having people try to find an imperfect compromise, let them work on the same stuff in the way they actually prefer. That reduces the risk of carelessness, in that you stop having any reason to bother other people, and also reduces the problem of restrictions, in that if you don’t have permission to work in someone else’s area, you can just setup your own area and work there. Perhaps the worst problem is if the drawbacks feed on each other: a restrictive system turns away contributions, which causes prospective contributors to get frustrated and hence careless, which then reinforces the reasons that the restrictions were put their in the first place and diminishes the chance they’ll be reconsidered. That’s a hard cycle to break, but it’s not one where anyone really wins. I’ll leave the last word to Joey:
Anyway, the point of this is that, if you survey the parts of dealing with the project where Debian developers feel most helpless and unempowered, the parts that are over and over again the subject of heated discussions and complaints, you will find that those are the parts of the project where unix permissions still hold sway. […] The challenge, then is to find ways to open things up to everyone, without throwing security out the window. It has to be done a piece at time, and some of the pieces that are left are the ones most resistant to this change.

Radu Spineanu: Mailman madness

A couple of days ago, a client decided that he wanted one click unsubscribe for all his mailing lists. We used mailman and from what i found googling about it, this is mostly an idea in the minds of the developers. Unfortunately i could not wait until Mailman 3 or 10 appeared. I had to implement it this week.

Actually in the end, the result was pretty simple to do, even though it's rather basic. The idea was that the client did not like the mailman web interface, and wanted to integrate it with his own website (just basic subscribe unsubscribe features).

So i wrote a small patch (3 or so lines) to mailman, that adds a new field to decorate called %(hash) that is the users password crypted.

The interface between the web address in the mail and mailman is done through a directory where requests are placed. For example when a user clicks a link, a php script does some basic checking and places a file in $client_web/list_requests, or a global requests directory. The idea for this part was to be very easy for the user to implement.

Another small python script looks (through cron) in those directories, checks hashes in case of unsubscribing, and procceses the requests.

Kai Hendry: Why are Web forums so popular?

It began with a bug, that led to Sam Trenholme’s response, that got my thinking: Why are Web forums so popular?

8<-8<-8<-8<-8<-8<-8<-8<-8<
to just the US-ASCII character set; that comes off to me as ludditeism.
This is the same attitude as the Usenet users who think HTML in a Usenet
post is some kind of mortal sin. There is a reason web boards have
effectively killed Usenet…but I’m digressing.
I assumed it was because people want to be sysops of their own “board” on their own server. HTML in messages is just plain stupid. Most MUAs can’t render Unicode or wrap text properly. To render HTML correctly you need a beast! Or am I wrong? Most Web forum posts don’t seem to use HTML that much … The only “Web” interface to Usenet seems to be Google Groups. Are there any other? One could be sick of seeing the omnipresent G in the tab or not being able to style the interface. Perhaps some people just don’t like the idea of their messages on Usenet. It is a little scary to think some messages could be around for, well forever. Could it be the spam on Usenet? Though I don’ t see much of it on Google Groups. With Web forums the barrier to entry is pretty low to the comparable mailing list, which is pretty hard to join and contribute to. Perhaps Google is doing a bad job of incorporating Groups results into Web search results. How many times have I been searching for something and ended up on some “Ask an Expert” type Web forum. OMG. Web forums probably win because of the easy-going community aspect. I recall now a friend’s testimony of being flamed by some (RTFM) jerk after some innocent post on Usenet. It seems a little odd though that you have to create this little social islands for piece of mind. Perhaps it’s only natural.

6 December 2005

Aigars Mahinovs: Folding@Stage


Flashback to childhood
A contest at Animefest - we all are trying to remember how paper boats were made. Here I have a moment of "enlightenment" :)

In other news - today I was "performing" in an event at Latvian University - telling a bunch of people what is console, how and why can work and survive there. Was fun.

Also I got tired of instability of Ubuntu dapper and went for a radical move - downgrading a system back to breezy. It was no easy feat - after setting APT preferences (pinning breezy to 1500) I went trough a series of "apt-get dist-upgrade"s and "apt-get -f install"s. Some packages failed to downgrade because of file conflicts, then I had to manually fix file lists in /var/lib/dpkg/info/package.list so that there is no conflict. After the whole downgrade I could reinstall all my lost packages by means of "dpkg --set-selection" and "apt-get dselect-upgrade" and via aptitude remembering what software I installed manually trough it before the downgrade. All in all - a successful downgrade.

Steve Kemp: How to look stupid in public.

  1. Open Emacs & compose an email to public mailing list.
  2. Save to temporary file.
  3. Run spell-checker because you’re paranoid, and also slightly clumsy.
  4. Paste message into new mutt window.
  5. Give it a quick re-read to make sure it is legiable and relevent.
  6. Notice a couple of unclear sentences.
  7. Edit them on the fly inside the email program.
  8. Send the message.
    • Wait five minutes for the mail to arrive back from the list and cry at all the spelling mistakes due to the editing in step #7
Conclusion? Write the day off, and go to the pub …

Julien Danjou: Bad maintainer

I just realized that my Debian packages count 6 open RC bugs. Please don't blame me, I was lazy last days^Wweeks^Wmonths. (If you are wondering why I write this, this is just a way to get my ass kicked by you, my faithful readers, if I don't fix them in the next week).

Philipp Kern: There is no Cabal!

Joey wrote in his blog entry about the tyranny of unix permissions:
(If I ever ran for Debian Project Leader (which I won’t), this would be one of the areas that I would be sure to investigate basing my platform on. Speaking of which, it’s nearly election season again, isn’t it?)
Which leads me to the next question Isn’t the next Debian Project Leader report already due? Oh, I better get back into my hole again and let the Cabal do their work. Disclaimer: All views expressed in here are not mine, but those of my tamagotchi.

Next.

Previous.