Search Results: "mats"

21 February 2006

Kenshi Muto: Road to Debconf6

Currently four Japanese will attend Debconf6; Junichi Uekawa (you know him well), Nobuhiro Iwamatsu (SuperH guy), Yukiharu Yabuki (was working at OpenSource SIer company) and me. Today I reserved an air ticket of Nobuhiro and me. After Debconf, we'd like to visit Vancouver also.
5/12 17:15 NRT-16:40 YTO (staying at YTO[Toronto])
5/13 09:00 YTO-12:45 MEX
5/22 14:10 MEX-19:45 YTO (staying at YTO)
5/23 08:00 YTO-09:57 YVR (staying at YVR[Vancouver])
5/24 13:10 YVR-5/25 15:25 NRT

15 February 2006

Edd Dumbill: XTech schedule coming soon

The selections for XTech are now almost complete. Over the weekend I drafted the schedule, which is under review right now by the programme committee. Every year I say how hard a job this is because of the high standard of the submissions, and every year it seems to get harder. This year I found it almost heartbreaking to have to exclude some talks. Number crunching To illustrate, here are some statistics about the proposals and their selection. We received 177 submissions. Each of these abstracts were peer reviewed by at least 4 or 5 reviewers, from a panel of nearly 90 reviewers. From the graded results I shortlisted 105 proposals. From that 105 I have had to fill 68 schedule slots, which meant about a third of the shortlisted proposals had to be excluded. Almost every single one of these would have been a great talk. They were so good, in fact, that I'm working on some ideas for adding to the schedule. Notifications to accepted speakers will be sent at the beginning of next week. Rejection notices will follow a little while later. We don't want to send these out until we're sure we've done everything we can to accommodate as many quality presentations as possible. I am enormously grateful to everyone who submitted a proposal. I can't wait to get the acceptance notices sent out so we can publish the schedule. I can however reveal some early news about pre-conference tutorials. We'll have day-long tutorials on: Ruby on Rails; XSLT 2.0, XPath 2.0 & XQuery; and a Web 2.0 tech bootcamp. Also there'll be half-day tutorials on microformats, and XForms & XHTML 2.0. Finally, it's worth noting that registration is now open. Also, if you work for somebody who would be interested in sponsoring the conference, do get in touch.

10 February 2006

Erich Schubert: Why a blog software should be XML based

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

7 February 2006

Junichi Uekawa: opreport hacking.

In one of my past-times, I'm playing with the idea of making multiple output formats (including tex, for my reports)for opreport.To my surprise, eclipse-oprofile already had a opxml program which outputs XML data using libpp (oprofile shared library).I haven't gotten around to what it actually does, but itmight be interesting.

5 February 2006

David Pashley: SQL::Translator

Today, I discovered SQL::Translator, which seems to have some very interesting use cases. Basically, it is a perl module for translating a database schema from one of a number of formats and turning it into another format. Parsers include: Output formats include: Several things spring to mind with this:
  1. Defining your Schema in XML and using SQL::Translator to convert it into SQL for several databases and a set of classes for Class::DBI, which would make your application immediately target any of the supported databases.
  2. Documenting an existing database for which you've lost existing documentation by pointing it at a running database instance and outputting HTML page and, thanks to the Diagram output module, visual representation of the structure.
  3. Convert one database from product to another. Point it at a MySQL database and generate SQL for postgresql. If you generated some Class::DBI stuff you could possibly quickly write a script to copy data too.
  4. Using the sqlt-diff script, compare you current SQL to what is running on the database and generate a SQL script to upgrade the database structure using ALTER TABLE etc. Presumably you'd need to convert any data yourself, but is still a time saver for large databases.
I'm sure other people could think of some interesting uses for this. Having looked at the Class::DBI stuff, I think it could do with some improvements. I can't see a way to set the class names, although I haven't spent that much time looking and it insists on having all the classes in one file. Also the XML and YAML formats generated are rather verbose and I haven't looked to see how much I could cut them down to use as the source definition. I suspect that I can make it a lot shorter and rely on sensible defaults. My initial reason for wanting to use SQL::Translator is that Class::DBI::Pg has a large start up time and isn't really suitable for CGI use if you have a complex database. This might be mitigated by using mod_perl, but in the mean time I was hoping I could speed up startup by telling Class::DBI my column names, rather than it querying the database. SQL::Translator should allow me to save duplicating the database structure, whilst allowing me to support multiple backend databases. If I get this working, I'll write up a short HOWTO.

3 February 2006

David Pashley: UK Acts online

I can't believe in this day and age that OPSI (formerly HMSO) still don't have copies of UK acts of parliament before 1988 online. According to their website:
Q. Why do you only display legislation back to 1988? A. The website was launched in 1996. Initially, legislation was only available from that year. In 2000 we took the decision to include older legislation for which we had electronic files. These files only dated back to 1988. Prior to this, legislation is only available in its original print format.
I don't think it's acceptable to say "Oh it's a bit of work to make them available." If Project Gutenberg can make 17,000 out of copyright works available, I fail to see why the government, who have resources at their disposal, can't make the text of approximately 3000 acts from the last 100 years available. This makes several key acts which govern us today unavailable to the UK public, including the Telecommunications Act 1984, Sale of Goods Act 1979, Supply of Goods and Services Act 1982 and Unfair Contract Terms Act 1977. On a similar note, they have only just started making PDF files avilable for download (since October 2005). They don't appear to be planning on making existing documents available in PDF. Again, I don't think it would be too hard to make all their content availble in alternative formats.

19 January 2006

Meike Reichle: On laundromats

Not owning a washing machine of your own does funny things to you. When I moved here, I knew that being without one I would have to cycle to the laundromat every time, carrying a huge backpack, wash my stuff, cycle back home with the wet cloths and hang them in the drying room in the basement. Compared to the hassle that it would be to get a washing machine, and considering I am only going to live here for half a year this seemed sensible. There are however a few things I did not know/consider:

11 January 2006

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.

Kenshi Muto: Thinking: more debconfize cupsys

My recent thought and challenging is how I can improve CUPS configuration by using debconf. The primary CUPS configuration file - cupsd.conf has some important directives which should be configured by debconf. Another headache is that next coming CUPS 1.2 will change its configuration formats and default values. I should count it.

1 January 2006

Joshua Kwan: ALAC decoder hacking

On the advice of one of my Mac-using friends, I read this article on Slashdot. Pretty cool, I thought, and fairly relevant seeing that I am still actively hacking on ify. As one might expect, I concluded that it would be pretty neat if ify were the first tool to be able to simplify conversion between ALAC and other formats like FLAC, MP3, and Ogg Vorbis. At about 1:30AM, I realized that the first hurdle was that the ALAC decoder did not have a facility to access the metadata in ALAC files. At 5:30AM, I was pretty much done. This required me to study the QuickTime container format, I had to understand the ALAC decoder API, then I wrote the code, then debugged it to hell while I continued to familiarize myself with the nature of the QuickTime format. (I don’t know about you, but that hacking session felt like 1 hour. Maybe 30 minutes even.) By that time I had added support to ify to use the new extension to the ALAC decoder. (here’s a patch if you’re interested.) With the help of said Mac-using friend I got some ALAC files (hey, they are actually from albums I own) and tested them this afternoon after 42nd rehearsal. Behold:
darjeeling:~ 0 % alac -i 2-11 Stop.m4a
Available track information:
title: Stop
artist: Pink Floyd
album: The Wall (Disc 2)
disk: 2
date: 1979
tool: iTunes v4.7.1
tracknumber: 11
genre: Rock
darjeeling:~ 0 % flacify 2-11 Stop.m4a
[alac->flac] 2-11 Stop.m4a
darjeeling:~ 0 % ogg123 2-11 Stop.flac 
Audio Device:   OSS audio driver output 
Playing: 2-11 Stop.flac
FLAC stream: 16 bits, 2 channel, 44100 Hz
Track number: 11
Album: The Wall (Disc 2)
Artist: Pink Floyd
Disk: 2
Tool: iTunes v4.7.1
Date: 1979
Title: Stop
Done.
Pretty…

28 December 2005

Paul van Tilburg: Christmas 2005

Two days before Christmas I was invited by my colleague, Krzysztof, and his wife to come over to their place during Christmas to have a (Polish-style) Christmas supper/lunch. This meant that I didn’t have to be home alone on campus for Christmas, just hacking a bit, slumbering and watching some movies/series. The Water of Leith near Currie The trip to their home involved quite a walk from the university campus through villages and alongside the Water of Leith, but it was perfect weather to do so (in contrary to the weather on the second day of Christmas). We had a nice supper and I want to thank them for the invitation and the meal. Work Progress I feel I have made a lot of progress since the last time I reported. In the past week I have been able to implement a big part of the MathLang checker and create a lot of output generators useful for debugging such as a debugging library for printing data structures, an ASCII tree (a la the output of the tree command) representation of the AST and an AST-DOT-file generator which in turn can be transformed to many formats. I have worked it all out for a simple example that I have just added to my MACS site.

20 December 2005

Alexis Sukrieh: First stable release of Backup Manager: 0.6

It’s more than a year since the first development release of Backup Manager, this easy-to-use tool for archiving your data under Linux. Version 0.6 which has just been released, provides a set of features for letting you implement your own backup strategy.
Backup Manager is able to use any existing infrastructure for achieving this goal: FTP or SSH accounts, CD/DVD burning devices…
A couple of different backup methods are available: tarballs (incremental or not), dumps (MySQL, SVN) and a generic method which uses content sent on stdout by an arbitrary command. An effort has been given regarding localisation, the program is now translated in 5 languages: French, German, Spanish, Italian and Vietnamese. The user guide has been writen and is available in different formats. Hopefully, the debian package will come very soon…

15 December 2005

Benjamin Mako Hill: OLPC and Charges of Technological and Cultural Imperialism

Quim Gil asked a number of good questions about the One Laptop Per Child initiative. I will not answer all of his questions now and am not sure answers exist yet for every question. With that said, I will try to answer his final question with the traditional disclaimer that the thoughts expressed here are my own and may or may not be shared by others within the project are not the official position of OLPC. Quim asked, "what measures will be taken to avoid or [inhibit] the spread of a (unconscious or well-intentioned?) cultural neocolonialism?" I have been asked this question many times. It is an issue that concerns me personally. As such, I'll give you my personal feelings on the subject. Discussion of cultural colonialism, Westernization, Americanization or techno-imperialism are hardly limited to OLPC. Sometimes it comes in the form of reactions against what is seen as the homogenizing or Americanizing effect of US-based multinationals (e.g., McDonald's or Nike) or against the culturally oriented US-based motion picture or recording industries. In terms of technology, the debate is often framed in terms of Appropriate Technology. There is an argument that modern information technology -- designed and developed in highly industrialized countries to address their particular set of cultural contexts and needs -- may be inappropriate and potentially dangerous in the developing world. This is a fair critique. But while there may be a danger, insisting that the technology be kept out is unrealistic and may miss the larger evil. These discussions can not responsibly ignore the fact that, depending on whose numbers you trust, there are between and 1 and 2 billion mobile phones in the world today and that number will reach something like 2.6 billion operational units in 2009. That's nearly half the world population and it's not hard to find out where most of those phones are going:
All the growth in subscribers is coming from emerging markets," says David Taylor, Motorola's director of strategy and operations for high-growth markets. Researchers predict that of the 1 billion cell phones expected to be sold in 2010, half will be in developing economies. (link)
Information and communication technology is, in one form or another, on a fast track into the developing world. That may very well be a problem but it's not the biggest problem in this field. The bigger problem is the nature of the technology that is being imported. People in the, rich and developed countries may have cellphones, but they frequently also have computers: full-fledged, reprogrammable, hackable computers; computers that they can use to write software, design hardware, install new OSes on, and even -- if they are really adventurous -- use to reprogram their mobile phone. People in the developing world will have information technology (in the form of cellphones at least) but do not have the ability -- no matter how interested, talented, or intelligent they are -- to change the way they work. This is the greater danger. The most powerful and empowering quality of information technology in the context of personal computers is that as communication is being mediated, facilitated, and defined through software on computers fully within users' control, each user has the ability to determine the terms on which they communicate. In a world where people are communicating, trading, voting, learning, working, and organizing through digital channels, massive power lies in the hands of those who have the tools (e.g., computers and development platforms) and access and permission (e.g., Free and Open source software) necessary to make the necessary changes. In three years, there will be a billion people in the developing world who are using information technology on the terms and at the whim of the today's global elite and they will not be able transcend their role and consumers and subservients in this context. Their ability to transcend their depressed role in larger economic contexts will be highly influenced by this fact. The developing world's "computers" will not be able to create or change the software that define them. The code that runs these devices will be proprietary and will remain immutable even in the context of additional hardware. Unless we do something about it. As far I'm concerned, that something is two steps:
  • We need to create and distribute -- real computers that can be used as development platforms -- at a price that can begin to compete with their alternatives (e.g., phones, thinclients, WebTVs, etc).
  • We need to make sure that these machines are hackable -- totally hackable -- on every level. That means open hardware. That means Free and Open Source software. That means open specifications, protocols, and data formats.
That is my personal goal in OLPC and it is one that has seemed to have been echoed by others involved in the project. Of course, I have hardly washed myself or my project of the stigma of cultural imperialism yet. That said, while making a completely malleable machine allows every user to, if they choose to, transcend their role as a consumer of technology and technologically-defined culture, one side effect of this process is that it also allows them to do so on their own terms. Because the machine is completely free and open, users are free to use the machine in ways that not only have the originators not considered, but that they could not imagine. With time, the machine -- and its software in particular -- can be rewritten, reshaped, and eventually replaced with something of, by, and for its users. Of course, this will not happen overnight. As the first step, OLPC will attempt to create something we think provides a compelling and flexible platform with which the world can learn and build. With this in hand, governments and ministries of education that purchase the machine will get to shape (or replace?) the platform in line with their own ideas and curricula. As the students and communities to which the machines are deployed learn and build with and upon the machine, another transformation will occur. As those communities grow in relation to their technology, this change will be sustained. The potential for this dynamic and empowering relationship is the reason I'm here.

7 December 2005

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??)

14 November 2005

Ian Murdock: Small pieces loosely joined and Web 2.0

Om Malik: “[O]n this Web 2.0 highway, there are three exits: Microsoft, Yahoo and Google.” That’s a clever soundbite, and perhaps it’s true from the venture capitalist’s point of view, but I think it misses something fundamental: That the real attraction of the new web platform is that components don’t have to be rolled up into one big monolith anymore to integrate well with each other. We’re entering into a world where lots of little, independent component providers will be able to coexist and thrive alongside the platform vendors. Why? The platform vendors no longer have such a chokehold on distribution that the best the component providers can hope for are a few years of prosperity before the platform vendor notices there’s an interesting little market emerging around a particular component, integrates the component into the platform, and renders the independent component unnecessary. In the old world, a component provider’s prosperity was often its ultimate undoing. I’ve always sympathized with the platform vendors’ (OK, Microsoft’s) argument that this kind of integration is done in the interest of customer convenience—I for one don’t want to buy an operating system only to have to go out and source my own, say, memory management and data compression components (something, if you remember, we had to do in the MS-DOS days). In the old world, that probably meant going out, buying more software, and dealing with the headache of getting it installed and integrated. It was simply more convenient for the customer for the popular components to find their way into the platform, integrated and ready to go with no assembly required. In the new world, though, sourcing a component is no longer a heavyweight operation. By and large, the components themselves are free, and thanks to open APIs and data formats like RSS, it’s now possible to integrate those components into larger applications with comparative ease. Granted, the applications of today are largely ad hoc “mash ups” without an intermediating platform vendor in the traditional sense, but it won’t be long, in my view, before vendors step into that role and make writing such applications as systematized an operation as, say, writing an application for Windows or Linux is today. Yes, Microsoft, Yahoo, and Google are probably those vendors. Yes, the component providers probably hook into their platforms as the primary vehicle for monetizing their wares. However, without the same level of control over distribution that the old world enjoyed (not to mention the proliferation of open APIs and data formats), the big guys will have to coexist with the little guys. The platform vendors will compete by providing the most compelling incentive to the component providers. In old world terms, the platform with the most ISVs will win. This bodes very well indeed for innovation in the new “Web 2.0″ world. Above all, the days of the platform vendors integrating all the components into the platform to the exclusion of independent providers have come and gone. Thankfully.

2 November 2005

Uwe Hermann: Initial Linux support for the 5g video iPod - video sync using gtkpod / libgpod

My video iPod OK, so I spent some fun time playing around with my 5g video iPod — time for more serious action now. I have created two patches today which add support for the video iPod to gtkpod, a GTK+ based, platform independent GUI for Apple's iPod.
These initial patches allow you to sync m4v video files to your iPod and watch them there. I will add support for all other video formats which work on the iPod, soon. The patches will be sent to the gtkpod maintainers, of course, in the hope that they can be included in the next release. Note: This is pre-alpha, barely-tested code! Use at your own risk! Installation instructions: I get a "Destroying mmap buffer" error every time I sync the iPod, but that's probably a gtkpod bug, and it's non-fatal anyways. If you happen to own a video iPod, please test the patches and report whether they work! Thanks!

21 October 2005

Joe Wreschnig: Vorbis comments and tracktotal

Breaking radio silence to complain about something both trivial and technical, so it’s probably best if everyone skips this post. Unless you write a CD ripper or audio tagger. Then please read this post, because I’m going to explain why you’re wrong. (Someone emailed me about why Quod Libet acts this way, and I figured I’d make my answer public, with the hope it helps things.) History
Decades ago, before there was Ogg Vorbis, people used an obsolete standard called MP3, and tagged it with something called ID3 (in particular, ID3v2). One of the possible tags was TRCK, for the track number. It was stored as a string in “x/y” format, for track number x out of y total tracks. Perhaps this could be improved upon; maybe not (I’ll make a case for not later). Regardless, that’s how hundreds of thousands, if not millions, of files were tagged. Ogg Vorbis Comments
These days we have something better — Ogg Vorbis and its tagging format. Vorbis specified a tag called tracknumber, analogous to TRCK.
TRACKNUMBER: The track number of this piece if part of a specific larger collection or album
Now, this is a bit ambiguous. In particular, TRCK says how you should store the total number of tracks, and the Vorbis comment specification doesn’t. A strict reading indicates you can’t, but then the same standard is designed to be particularly loose about the data stored in the tags. So a lot of programs, including really popular ones, just kept their ID3 format and wrote tracknumber=x/y. Everyone was happy. Then someone — I wish I knew who, so I could write this to them personally — decided trying to parse the track number in this format was too hard, and so decided they would make a tracktotal tag that stored, as a single number, the number of tracks. Whoever Did This Is Wrong
Whoever decided to do this was pretty dumb. There’s a number of false assumptions here, roughly in decreasing order of annoyance: The result is that every program still needs to understand x/y — even if every Vorbis file used the new format — and the new format, and also needs to do the work to construct track numbers in the new format, assuming it wants to use them. That’s why Quod Libet converts everything to x/y format. I urge authors of tagging applications and CD rippers to abandon stupid standards. Instead, you should be spending time fixing your ID3v2 readers and writers, because they all suck too. P.S.
If anyone knows what program is putting ISO-8859-1 values into Vorbis tags, please let me know. I have spiked cluebat for you. A Summary of Other Things
I moved into a new apartment building next door to my old one, owned by the same student co-op, so it doesn’t actually seem like I moved at all. School started and is going well. I saw DOOM earlier this week for free, and enjoyed it. I’ve learned a lot about Python i18n over the past few months and am writing a brief howto explaining how to do it properly.

Next.

Previous.