Search Results: "bab"

31 January 2007

Evan Prodromou: 10 Pluvi se CCXV

Wouldn't you know that 36 hours after I said I'm not going to RecentChangesCamp, Maj convinces me to book a flight using frequent-flier miles, and now I'm going. It should be pretty fun, although I'll probably be lonely without my family for 4 nights in Portland. tags:

30 January 2007

Martin Michlmayr: Upcoming conferences

I have a number of upcoming talks at conferences in the next few weeks and months that I thought I'd mention in case people want to attend or meet up: I will update my talks page as more details become available. I hope to see some of you at these conferences.

Yves-Alexis Perez: Solutions Linux, day 1

Today I was at Solutions Linux, with the Debian France team. We weren't presenting something special, only showing the Debian Installer in babelbox, some Etch/Sid desktops (mostly Xfce, currently).

Lot of people came to see Etch, and asked about the release. There were lots of questions about Xfce too (as the two pcs we had there, besides the babelbox, were running it, my laptop using 4.4 and MadCoder's one with the default Etch configuration). Lots of visibility for Xfce and Debian, yeah.

You can see photos there.

MJ Ray: Debconf7 loves climate change? (2)

I've just noticed that some debconf7 registrations close this week. Yes, this week - a full two months before national rail advance tickets go on sale. What's that about? [...] Jon Dowland replied
"MJ, the debconf7 travel page has far more flight information on it than anything else because it has been put together primarily by people who are figuring out international travel arrangements which will require flights."
International travel does not necessarily require flights. Intercontinental travel probably does, due to time constraints, or maybe even cross-continent, but I've seen DDs from nearby countries posting about booking their flights, and putting the deadlines before land tickets are even on sale is really shameful.
"It could certainly use some more information for people travelling more locally. If you have some advice on how to get there from Europe or the UK without flying, please contribute it: the site is a wiki, you can sign up for an account and edit the page yourself."
As I've posted elsewhere, it's a mediawiki rather than a wiki, so once I get around to installing mvs, I can sign up and edit it. (Bring back patches in the mail...) However, I'm not sure how best to get to Edinburgh without flying yet, because most tickets aren't on sale yet, which is where I started, remember? David Moreno Garza replied
"in 3rd world countries, some things like technology, travelling or taking care of the environment are not a matter of choice, unfortunately. [...]"
Sure, if people are travelling from 3rd world countries to Edinburgh, then flying is probably the only practical way, but surely people from nearby countries can get to Scotland without dumping CO2 into our sky?

Meike Reichle: They're at it again

(Almost all links in this text lead to German sources. Sorry, but this is a local topic and there aren't any English sources.) Unfortunately, Hildesheim is home to some rather prominent figures of the German neo-nazi scene. One of them has now registered for a protest march through Hildesheim on the 24 February 2007. The reason for this is, that an other neo-nazi event, that had been disguised as a "birthday party", but was in fact a propaganda event featuring talks by "contemporary witnesses" and "an evening of ballads" and was arranged by "National Forces of Hildesheim and the Association of German Women" had been prevented by the Hildesheim police. As a reaction to this, the aforementioned gentleman has now registered for a demonstration with the Hildesheim city council. (In Germany you need to register demonstrations.) Official head of the whole thing is this other gentleman, who has a history of trying to organise nazi demonstrations. He occasionally does so in Leipzig, where he tries to organise such demonstrations about twice a year. Their attendance is dropping though and they are usually met with about ten times as many counter demonstrators and thus have to be ended prematurely, exposing them as the unwanted and ridiculous farces they really are. However, the fact that people still try to register demonstrations such as this one is worrying. And the fact that this one is meant to be in the town I live in makes me pretty angry. Fortunately the demonstration is met with broad opposition. An alliance has been formed, consisting of the German adult education centre of Hildesheim (VHS), the Federation of German Trade Unions (DGB), Verdi, our public services union, Attac, the Antifa, the refugee council of Lower Saxony and the political parties with the Hildesheim Greens as the most active part at the moment. It is good to see, that such neo-nazi endeavours are met with such a broad opposition, and that this opposition does not only originate from the "usual suspects", but from the centre of society. (The VHS for example is usually a non-political organisation, and seeing them engage in such an alliance and even hosting its meetings is pretty cool!) It's not sure yet, whether the demonstration will be approved. It probably will, but with a bunch of extra conditions. If it is approved, it is even more important to meet it with the resistance it deserves! So, if you are living near Hildesheim, watch this space for announcements of the planned counter measures.

Joey Hess: bug scribbling

This is something I do when I'm working on a hard or perplexing bug. I'll write down a verbose description, as if I'm describing the bug to someone, or having a conversation with myself. I include all the debugging data I find, as I come up with tenative hypothesis, write them down, as I disprove them go on to say why that hypothesis failed, etc. I just dealt with an OpenID signin bug in ikiwiki, which ended up being several hundred lines of text descibing my process for solving the bug, including amusing blind alleys involving a sha1sum implementation being broken (it wasn't). And then I committed the one line fix, and :q!'d out of the buffer containing my bug solving log, because all that text now seems both boring, and, given the cause, embarrasing.. Anyone else do that? It has its good and its bad points. I suspect most of the time that I spend typing into the log, I'm also spending organising my thoughts, and it makes sure that all relevant debugging information is all in one place and well organised to look at, and avoids me looping back into blind paths that I've visited before. On the other hand, I could probably go read a book (or in some cases, an appropriate man page :-/) or sleep and process the bug in the background without all that typing.

28 January 2007

Erich Schubert: How Microsoft might already have lost the desktop wars

I was recently asked to help someone understand the OpenSource movement, and the effects it might have on companies such as Oracle or SAP. I talked a bit that these companies can benefit from being independant of big vendors like Microsoft, while still not having to do everything themselves. But also on how opensource alternatives to their products will threaten their business in the long run and force them to be more innovative and constantly improve their product. I then talked about the 'viral' aspects in OpenSource; not about that GPL licensing bullshit (just read the licenses of stuff you want to use, and don't use them if you don't like the license...; this virality is highly overrated due to Microsofts FUD), but a very different kind of virality: Let's say you are supposed to evaluate different CMS solutions. So you install one or another that sounds promising. Most likely you'll install an opensource database like MySQL or Postgresql. And when you've decided upon a solution, you are quite likely to go with this database, and say to yourself: "if MySQL doesn't scale up well enough for our needs, we can still but an Oracle license". This would be probably different if you had had installed Oracle in the first place. Say a demo or so. But the demo versions of the CMS you tried already made you comfortable in using MySQL; it's easy to install (most likely included with your system anyway), and it just works. But would you have tried a CMS in first place that actuall required you to setup Oracle? Anyway, this "social" virality brought me to another point: developers and administrators. When you see numbers on the market share of Microsoft, they're still huge. Some 95% of users are using Microsoft as their primary operation system (I'm discounting the fact that a huge share of DSL modems here is running Linux, so actually many people are Linux users, and I'm also discounting the use of www.google.com, which would make 99.9% of people Linux users...). But these are the average users. But they aren't on their own. The software choice of the "average user" is influenced by a couple of factors, including: But if you look at the computer geeks around you, what are they using? A huge share of the people I know are using Linux. Not everyone is using Linux as their main desktop system, but many are. Others are using Linux just for their development stuff, some only on servers. It doesn't really matter, Linux is huge with the geeks. When I look at the sofware my mom has installed on her Windows system (which also dual-boots Linux, and interestingly is the primary choice for watching a movie - Windows doesn't playback sound with some videos...): half of it is opensource. There is OpenOffice.org, Gimp, Gaim, Firefox, Thunderbird, Inkscape, LyX, Mplayer and a couple others. He favourite game? PySol. My dad already has switched to Linux as his main operating system. So why did they switch to so much opensource software? Because it's what I recommended them, and where I can help them. My mom needed a software to record something for her blog (yes, she's "podcasting" now) - of course I recommended her an opensource application, audacity. My mom is giving private lessons in math and physics; she's very successful at that. When one of her students got herself a laptop, she of course was given all kinds of (opensource!) software. For her highschool thesis she needed a vector graphics program - she ended up with inkscape. Now if my parents have some problem with Windows, who are they going to ask? I didn't manage to solve the video playback issues, my mom by herself switched to Linux for watching movies. It didn't work with Windows, I couldn't help her - she switched to something where she knews she'd get more support (and where the problem by chance didn't occur). Now let's have a look at the university. Our computer pool for the students is all Linux. There are a few windows systems for legacy purposes, I never found out if they are accessible to regular students; I only know they're supposed to exist. When doing some assignment, you're very often required to use some opensource software. For a thesis, you'll very likely be building upon some opensource system. The mathematics institute is still on solaris, but recently Gnome was installed there. Physics and electrical engineering also have mostly Linux systems, I've heard. For software development, it's pretty much a "develop on Linux, run anywhere", whereas Windows-only developers usually need to port their applications (or trust on Wine being able to run them good enough on Linux). So more and more people start developing on Linux, and get to love it's great development environment (after all, Linux was pretty much completely done by software developers...). And that is how Microsoft might already have lost the desktop war: developers, technical students and administrators (who usually also love their Linux boxes). They're only a small share of the userbase, but they're influential. In fact, other users rely on them being able to eventually fix their systems for them. But since these are using Windows much less already, they will be less capable of assisting others with Windows. They'll be putting Linux systems everywhere, and keep on encouraging them to make the switch. Of course it will still take some years, but you can expect more and more companies (and cities) to switch over, like the city of Munich. Windows support staff on the other hand might even become more expensive. I don't know of any numbers on the MCSE programme (Minesweeper Consultant, Solitaire Expert) - does anyone have numbers on "graduates" for that?

Evan Prodromou: 8 Pluvi se CCXV

I got some email from Dan Brickley on Friday asking for some help getting the MediaWiki OpenID extension working. It looks like the FOAF wiki now allows you to login with OpenID. Cool beans on that! tags:

Wikicalc Speaking of people whose names match the production "Dan Brick*", Dan Bricklin just releases WikiCalc 1.0. WikiCalc is an awesome piece of software that provides shared spreadsheets with a Wiki flavor. I'm interested in using it for some new projects, so I'm really glad Dan's worked so hard on it. Congratulations to him and to sponsor SocialText for such good work. tags:

Lucinda I'm excited to see that one of my favorite people in Montreal has set up a blog. Lucinda Catchlove is a Montreal writer, and also a good friend with a clear voice and an honest opinion. I'm looking forward to seeing what her blog will have to offer. tags:

Google in Montreal It's probably not an overstatement to say that Montreal's digerati are a-twitter with gossip that Google will be opening a small office in Montreal (note: link in French). It's only space for a dozen or so people in downtown, but more tantalizing is the prospect that they're shopping for commercial real estate capable of handling 200-300 employees. The blogosph re (or is it the blogod me...? I get those confused all the time) here is pretty excited about the news, but a post by star podcaster Julien Smith has been more controversial. In Montreal... Needs... Brains... he says that he thinks the Montreal tech scene isn't as dynamic and interdependent as in other cities. He thinks the city needs a Google office as a shot-in-the-arm for developing our technology culture. I don't believe that this is the case. Montreal has a vibrant tech scene with a lot of cross-pollination. There are a lot of formal and informal venues for discussion in Montreal. We have the monthly Yulblog and Wiki Wednesday, last year's BarCampMontreal and the upcoming BarCampMontreal2, as well as RoCoCo. There's also the quarterly Montreal Creative Commons Salon. On the informal side, Seb Paquet's had a few group lunches with some of the most interesting people in town, and le Sans Fil gives us great hotspots like La ka and L'Utopik for serendipitous or on-purpose path-crossings. I guess my main point is that Montreal's got a great Scene, and I don't think it needs a big infusion of Googloids to make it better. Is there more that could be done? Sure. I think we need to get a Web Montag going to pull together the various sub-cultures forming. And we should probably be using SAT more -- it's a great space. But I think we're doing pretty good overall. Side notes: Hugh MacGuire has a quick list of Montreals doing stuff, and Robin Millette has some ideas about Montreal Action. tags:

David Pashley: Lazy Class Infrastructure

Do you ever feel you should implement equals(), hashCode() and toString, but just can't be bothered to do it for every class? Well, if you aren't bothered by speed, you can use Jakarta Commons Lang to do it for you. Just add this to your class:
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
class Foo  
   public int hashCode()  
      return HashCodeBuilder.reflectionHashCode(this);
    
   public boolean equals(Object other)  
      return EqualsBuilder.reflectionEquals(this,other);
    
   public String toString()  
      return ToStringBuilder.reflectionToString(this);
    
 
And that's it. Your class will just do the right thing. As you can probably guess from the function names, it uses reflection, so may be suboptimal. If you need performance, you can use tell it to use particular members, but I think I'll leave that up to a future article. I also recommend you don't use this technique if you are using something like Hibernate, which does things behind the scenes on member access; you may find it does undesirable things. :)

27 January 2007

Daniel Burrows: Sandisk doesn't want your money for a music player unless you run Windows

I bought a Sansa e280 last weekend to replace my aging and bulky Neuros (the last straw was when I lost the charger for the Neuros). It's nice to have such a small, light music player, and having 8GB of space is a big bonus. But when I went to the Sandisk web site to get a new firmware, I discovered that they only provide a .exe of a magic firmware download program. This is despite the fact that, as you can find by searching on the Web, the actual firmware upgrade procedure is just "copy the firmware file onto the device".

So, I wrote to support, mentioning that I don't have a running Windows installation and asking if they could provide an alternate means of updating the firmware. Here's the response:


Please be informed that your Sansa e280 is supported on Windows XP. If the operating system of your computer is not Windows XP, if you have just bought your Sansa e280, we do recommend that you contact the store where you purchased it and inquire about replacements that can be supported on your operating system or if that store honor refunds, please do ask for it. Please do provide the proof of purchase and packaging for verification purposes.


Now, I can work around this problem -- but after reading that brush-off I think I might just take their advice; as it happens, I saved the packaging just on the offchance something like this came up. Can anyone recommend a decent, small, flash-based media player that works well with Linux? Must-have features are:



I still haven't made up my mind: I might hang onto the e280 out of inertia and wait for the Rockbox guys to figure it out (it looks like they're making pretty good progress). But if there's a better vendor out there that actually wants my money, I'd love to hear about them.

26 January 2007

Evan Prodromou: 6 Pluvi se CCXV

Maj woke me up at 6:41AM this morning. "Amita slept through the entire night in her big girl bed," she whispered. We've been co-sleeping since Amita was born, but over the last month we've been trying to do night weaning, which means Amita goes to sleep in her own bed in her own room now. But that doesn't usually last past 1AM-2AM. "Did you check her breathing?" I asked. "Yeah, I just did." "Wow. Our little girl is a woman now." "Well, a toddler at least." "Our little weaning toddler." Pause. "Our little weaner!" I drifted back off to sleep, but I got poked again about 10 minutes later. "I'm going to go check her breathing again." "OK. Lemme know how the weanie is doing." tags:

Other developmental milestones Amita and I had our day together on Wednesday, and we were playing cars in the living room when apropos of nothing she started saying "Pok". "Pok! Pok!" I didn't know what was up until she came over and pulled up the sleeve of my t-shirt and pointed to my upper right arm. "Pok!" I picked her up and hugged her. "That's right, honey. That's where I have my tattoo of Spock. Good girl!" tags:

RecentChangesCamp So, I'm excited about next week's 2007 RecentChangesCamp. I'd normally be on board to go, but a) we've got RoCoCo coming up in May here, and I should probably concentrate my energies on that, and b) I've already committed to going to the LinuxWorld OpenSolutions Summit in the middle of February. It just doesn't make sense to do more than one conference per month, unless you're on the circuit professionally. But I hope that RCC in Portland goes well. A lot of friends will be there, and it's always good to know that friends and colleagues are having interesting conversations and making new decisions. tags:

25 January 2007

Andree Leidenfrost: linux.conf.au 2007 Gleanings

I was fortunate enough to attend lca2007 last week and to meet Bruno Cornec, the Mondo Rescue project leader, for the first time in the flesh.

The conference was pretty cool, and I found the quality of the program to be generally impressingly high: Excellent topics, superb presentation skills, humor and genuine passion for the topic at hand. The atmosphere and organisation were great, too - extremely well done, 7 Team!

My personal two highlights were:
Apart from the conference as such, it was super cool to meet Bruno. We had a number of good conversations and did some nice hacking, burning the midnight oil a couple of times. And HP gave me a (used) zx2000 (which Bruno carried all the way from France to Sydney!) to enable me to work on the (Debian) Itanium port of Mondo Rescue - thank you HP and Bruno! Bruno's talk was well received, and it was great to actually meet people that use the software that I spend quite a bit of time on. :-)

Finally, there is the Linus phenomenon (so you can tell this is my first
Linux conference) - he amazingly is basically left in peace: People who know him obviously talk to him and he participates vividly in discussions and so forth, but everyone else does the business as usual thing - no autographs, no photos, no nothing. I was (positively) impressed and refrained from asking him to sign my copy of Just for Fun (just kidding).

Finally, finally, I propose to find an alternative for the term 'awesome' next year. ;-)

Russell Coker: presentation laptops

I suggested in a previous blog entry that conferences should provide computers that speakers can use for their presentations. The reason for this is that getting one computer working with the beamer in each room is an easy task, while getting the laptop of every speaker to work is much more difficult.

It seems that my idea has been rejected by almost everyone who read it, so I'll document some tips for getting a laptop working.
 SZ:    Pixels          Physical       Refresh
*0 1400 x 1050 ( 474mm x 356mm ) *50
4 640 x 480 ( 474mm x 356mm ) 50
5 800 x 600 ( 474mm x 356mm ) 50
6 1024 x 768 ( 474mm x 356mm ) 50
8 1280 x 960 ( 474mm x 356mm ) 50
9 1280 x 1024 ( 474mm x 356mm ) 50

Firstly there is the command xrandr which can be used to change the resolution without logging out. Above are the most useful lines produced by running xrandr with no options on my Thinkpad T41p. The left column is the index to the list of resolutions. For example I run xrandr -s 9 to use mode 1280x1024 and xrandr -s 0 to use mode 1400x1050. This takes much less time than editing an X config file!

The next thing to note is that my Thinkpad has a refresh rate of 50Hz, apparently most beamers expect at least 60Hz, this explains why I have had ongoing problems in getting my Thinkpad to correctly work for presentations for the entire time that I have owned it. If you own such a Thinkpad then I recommend that you just bring another laptop to do your presentation on the assumption that the display possibly won't work and probably won't work properly! I had developed this habit anyway after repeated problems in getting my Thinkpad working (occurring on a number of occasions in several countries). It's good to now know the reason for this (thanks Keith).

When setting the resolution there are often tweaks that can be used. For example in my talk for the Debian Miniconf of LCA 2007 I used mode 800x600 (I think - Keith set it up and I didn't look closely after verifying that things basically worked). Even though the beamer didn't have good support for a low refresh rate it worked when the resolution was low enough. Fortunately the xrandr program allows changing resolution fast enough that all 13 resolutions could be attempted in about a minute.

The support for better display detection and configuration is steadily improving. Hopefully this year the problems will be solved (which means that for the Debian and RHEL releases in 2008 the problem will be solved).

A possible work-around is to use Xephyr (the replacement for Xnest). In a previous blog entry I described how to get Xephyr going for use by Xen images. It seems to be a common symptom of display synchronization problems that the edges of the screen will be clipped. The most common work-around for this is to not use the full-screen mode of OpenOffice - which means that instead of having a small amount of text clipped there is a large amount of OpenOffice menus etc on the screen. As Xephyr accepts any resolution it should not be difficult to arrange for it to use 98% of the screen space and then run the presentation full-screen in the Xephyr window. This will be particularly useful for programs such as MagicPoint (my favorite presentation program) which don't support a windowed mode of operation.

If you have any other suggestions on how to solve or work around display problems with laptops then please leave comments.

24 January 2007

Russell Coker: university degrees

Recently someone asked me for advice on what they can do to improve their career without getting a degree.

I have performed a quick poll of some people I know and found that for experienced people there seems to be little need for a degree. People who have extensive experience but no degree report no problems in finding work, and employers don't report any reluctance to hire someone who has the skills but no degree.

One thing that a degree is very good for is making a career jump. This is most notable when you get your first professional job, school results and references from part-time work don't help and a degree is a massive benefit. But if you have proven your abilities in the field then most employers will be more interested in checking references and the interview process than in qualifications. If you are only interested in getting a job that is one level above where you are at the moment then lacking a degree should not be a problem.

Another possibility for someone who lacks a degree is certification such as the Linux Professional Institute (LPI) provides and the Red Hat Certified Engineer (RHCE). One advantage of the RHCE certification is that it is based on fixing misconfigured Linux systems, no theoretical questions, just the type of work that real sys-admins do for their job - this means that people who do badly in traditional exams can be expected to do well, and it also means that the RHCE certification accurately depicts real skills in fixing problems (and it should therefore be more valuable to employers). The LPI exams can be taken by anyone, but to sit for an RHCE you have to be sponsored by an employer.

There are ways of getting career benefits without strictly going upwards. One way of doing this is to move to a region where the pay scales are different. Some years ago I moved from Melbourne, Australia to London to increase my salary. When in London I did work that was a lot less challenging and was paid considerably better for doing so. One thing I discovered is that in London Australians were widely admired for working really hard, I don't think that Australians work harder than British people on average, but people who will move to the other side of the world to advance their career are generally prepared to work hard!

If you spend some time working in another region and then decide to return home you will probably find that employers are more interested in hiring you for what you have learned in another region. Whether you actually learn things that are of value to potential employers when working in another country is debatable, it probably depends on the individual. But when applying for a job you want to make the most of every opportunity that is available - if someone wants to hire you for the special skills you learned in another country then that's OK. ;)

Another possibility is moving to a different industry sector. Some industries have career bottlenecks at different levels. If there is no possibility of moving upwards in the area where you work then getting a job with the same skill requirements in a different industry might open up more opportunities. An example of this is working as a sys-admin in a medium sized company that is not IT based. If you are the only sys-admin in the company then there is no possibility of promotion, moving from such a company to an ISP (or other IT based company) would then give the possibility of becoming a senior sys-admin, team leader, or even the manager of the ops team (if management is your thing).

A final option that few people consider is becoming a contractor. Contractors tend to earn significantly more than permanent employees when they do the same work (so becoming a contractor provides a significant immediate benefit) and as the duration of contracts is usually small there is less attention paid to degrees etc (what does it matter if the contractor will only be there for three months?). Of course most contracts last significantly longer than the initial term, some contractors end up working in the same position for 10 years or more!

There are some down-sides to being a contractor, one is that they get less interesting work (offering someone a choice of projects if they become a permanent employee or the project that is deemed to be least interesting if they insist on being a contractor is not uncommon). Another down-side to being a contractor is the way that contractors are used. The ideal way of running a company is to have mostly permanent employees and to use contractors for special skills, short-term projects, and for emergencies when they can't hire permanent employees. When a company has almost no permanent employees it usually means that something is going badly wrong. This means that if you select a random contract role there is a good chance that it will be one where things are going badly wrong. The money from contracting is good, but it can be depressing when projects fail.

Enrico Zini: package-managers

Improving package managers I noticed two posts on improving package managers none of which mentions Debtags. Daniel Burrows mentions various issues: David Nusinov mentions that the ideal package manager should look like Google, where you search for things using just a simple one line text entry and pick from the results what you want to install. I should probably do a bit of recap of things that have been going on. I'll go through that list again:
  • The current sections in Synaptic are useless
Agreed. This used to be a bug about this, which has been closed by Debtags more than one year ago. We now have much more useful category data for about 73% of the archive (including experimental), but what we lack is software using it. Here's a quick trick to try:
  1. install debtags, and this gives you an easy to read text file in /var/lib/debtags/package-tags.
  2. from that file, pick packages that have the tags role::program, scope::application and interface::x11.
  3. display the results, and use the tags works-with::* and use::* to navigate the results.
There is a python-debian package in experimental that has a debtags module you could play with. Why is that that so far noone has written a simple package manager just for gamers, which uses only the game::* tags? Do you think Debtags gives you too many tags? Then check out: To summarise so far, we not only do have better categories, but also a number of cool algorithms to use them, and some interface prototypes as well. Just don't expect me to write a package manager as well: that's a job that so far I decided to leave to someone else. adept gave it a try, with positive results.
  • there are better keyword search technologies than strstr()
Indeed, Xapian for example. I use it as part of the backend of the Debtags smart search, and here's our Xapian-powered normal keyword based package search interface which does stemming, indexing and all you want to ask from a serious full text index. In that page you don't see all the nice features of Xapian, but only the ones that I needed for my Debtags evil plans. Have a look at the documentation and give it a try. Here is a way to see Xapian's similarity matching in action:
  1. go to the Go tagging! page
  2. click on a random untagged package
  3. the system gives you a rather relevant selection of tags
  4. look at it again: the package was untagged: how could the web engine possibly figure those tags out?
What is happening under the scenes is that:
  1. I ask Xapian: "what packages are similar to this one?".
  2. I aggregate the tags of the resulting packages.
  3. I rank the tags by how many resulting packages have them.
While we are on this topic, why don't we decide that we maintain a Xapian index of our package descriptions in, for example, /var/lib/apt/fulltext/, so that various applications can share it? Indeed. Anyone would like to implement this little "popcon" tool? Having the data easily accessible locally can encourage people to use them. The Debtags Go tagging! page already uses popcon data to show the most common untagged packages at the top, with double reason: it shows packages that more people are likely to know (and therefore likely to categorise) and it pushes for the most common packages to be tagged more urgently. Indeed. Anyone volunteers to implement a prototype? The full unaggregated (but anonymised) popcon data are accessible to every Debian Developer on the host gluck.debian.org in the directory /org/popcon.debian.org/popcon-mail/all-popcon-results. Ideally one can do many interesting things with this concept: besides tag suggestions, one could identify the packages that are most representative of an installed system, and also offer negative suggestions like: "people who have packages like yours usually don't have this package: would you like to remove it?". There is more than all this that could be done. Recently, almost by accident, I had the idea of querying packages by example, like pointing to a file and find packages that can work with it. I've asked Jeroen to have Mole collect info on all files that could possibly get installed in /usr/lib/mime/packages/ (as suggested by Bernhard R. Link), to see if that prototype can be made more accurate. Query by similarity would be nice: I don't like this program, but what else do we have that does the same job? This is best implemented using Debtags data, since it directly maps to semantic properties. Note that you don't have to show a single tag to the user to implement this kind of interface. Do we have a way to point at the X window of an application and get the name of the package that installed it? Wouldn't it be about time to have it? Why don't we have a system updater utility that shows the Debian weather? Why aren't more people playing with semantic web? But more generally, the problem with package managers is that we seem to be irrationally compulsive in wanting to make the one and only big easy and complete interface for everyone. Other more reasonable people would tell you that if you have two very different kinds of users you may want to consider having two different user interfaces. Ubuntu for example installs by default 3 package manager interfaces: Synaptic; the thing that you access from the application menu to add applications to it; and the update manager. Does it sound like a waste? To me it makes lots of sense. We have lots of interesting, usable metadata; we have algorithms; we have prototypes; we have ideas for lots of cool, implementable features. The question is, are we able to write applications that just combines what is needed from all this treasure to provide the right interface(s) for our base(s) of users? Even if my English in 2004 wasn't easy to understand, a read here might still be useful. There is so much really cool stuff to be written, just within reach.

Adam Rosi-Kessel: Castigating Cully

Last week I decried a senior Pentagon official’s attack on lawyers providing pro bono representation to Guantánamo detainees. I suggested that villifying the partners of some of the largest firms in the country was probably not the wisest political move, and was likely to backfire. As it turns out, it appears I was right. See the editorial in this week’s Massachusetts Lawyers Weekly:
…Headlines in print and online were unanimous: “Why Cully Stimson Is Wrong.” “The rightwing assault on the legal system.” “Cully Stimson Should Pick Up His Medal of Freedom and Go Home.” “Law deans respond to unethical Bush lawyer.” And perhaps the most eloquent rebuke of all came from Harvard Law Professor Charles Fried. In an op-ed that ran in the Wall Street Journal, Fried declared that “Stimson showed ignorance and malice in deploring the pro bono representation of Guantanamo detainees by lawyers in some of the nation’s leading law firms.” The former Supreme Judicial Court justice continued: “It is no surprise that firms … on Mr. Stimson’s hit list are among the most sought-after by law school graduates, and retain the loyalty and enthusiasm of their partners. They offer their lawyers the profession at its best, and help assure that the rule of law is not just a slogan but a satisfying way of life.” …What could have been a disaster for the bar turned into an all-out celebration of what lawyers do.

Evan Prodromou: 4 Pluvi se CCXV

The server that this site is running on is a Debian sarge machine with some backports.org packages for things that I just have to have up-to-date. This has been a pretty successful strategy for me for running servers... except for one thing. If you're running any PHP code, you really need to have an opcode cache like eAccelerator running on your server, too. Otherwise, every single hit to a PHP app loads and compiles every single PHP page it uses before executing. For any kind of load, and any kind of non-trivial app, it's just not a question. But there's not an eaccelerator package in sarge or in backports.org, so I built my own, which I have to keep up-to-date with PHP packages coming down the line from backports. Today, I upgraded from PHP 5.1.x to PHP 5.2.x, and I rebuilt eaccelerator, and... blammo. Segfaults all over the place with MediaWiki, and Drupal decided it wasn't going to save sessions any more. Turning off eaccelerator was enough to solve the problems with MW, but I had to track down this Drupal-PHP-5.2 bug and apply the patch to make Drupal work again. Of course, performance is sucking because there's no opcode cache. I kind of hate that kind of day. tags:

xcache Update to that: I tried out xcache, and it seems to be working fine. So, y'know, hopefully that project keeps working in the future. tags:

Pirates So, probably the most interesting thing about getafirstlife.com is that the image chosen to represent analog reality is a bunch of kids dressed like pirates. That is one of the selling points of First Life, I guess. tags:

Goethe I had a really good class at the Montreal Goethe Institute yesterday. I'm continually impressed by the facilities there. My class did a little tour of the building, including the half-size movie theatre, the huge reading room (with the day's German newspapers), and the big library. They even have a TV going with the Deutsche Welle satellite feed coming in. It's a pretty cool thing to have this kind of resource in Montreal. tags:

Mon pays Speaking of great resources in Montreal, Amita June and I went for a walk through Parc LaFontaine today. It was a balmy -8C (18 F) and the sun was shining on the snow. They've opened up the pond for skating, and there were about a dozen people lazily twirling around on the ice. Well... they looked lazy. They were probably working pretty hard. Our stated purpose for the walk was to get to the Biblioth que centrale-jeunes on the other side of the parc. The main Biblioth que Centrale shut down about a year ago when the new Grande Biblioth que opened down by UQAM. But they've kept the children's library open, and Amita June's just at the age where she can actually enjoy it. It was really a very nice library. There were a ton of books in good shape, lots of open tables, and a couple of billion toys, blocks, and games to play with. Amita and I both got library cards, which should be pretty fun to use, and we played around with the different books and such. They also have story-time hours at 10AM each weekday, so we'll be going back soon. Amita's favourite part of the library, though, was a big rock dove they had. It had a nice cage with water and toys and mirrors and stuff, but it seemed to like walking around on the shelves better. Amita followed it around making dove noises -- coo ca coo! Our trip back across the parc was pretty nice, too. The kids in the school there were out for recess, and they had built some epic-scale snow forts and were involved in an 18-sided snowball fight as we passed. There was also a passel of kids from a nearby garderie (daycare) who were making Inukshuks out of hardened snow. By the time we got home, we were pretty exhausted, but glad to have gotten some winter outdoor time. tags:

Martin F. Krafft: A good interface for selection?

I am working on a script to help me switch mail profiles from within vim, because mutt's profile abilities are seriously limited (even with muttprofile). The script will have three modes: manual, menu, and auto. In manual mode, you tell it something like switch-profile debian and it converts an existing mail to use my Debian profile. In menu mode, it displays a menu of available profiles, and in auto mode uses heuristics defined by the profiles to determine which one to use. My problem at the moment is menu mode. What I want is a good selection interface that (a) works over most any terminal, and (b) allows quick and dependable keyboard-driven selection. So far, I've had multiple ideas:
  1. A simple shell script that would assign [0-9a-z] to the profiles and then expect me to press one of the letters to select the profile I want (also see ssft). I don't particularly like this because if I added a profile to the presumably alphabetically sorted list, I'd have to relearn which keys to press when doing quick (subconscious) selection.
  2. debconf, which comes with multiple interfaces, but doesn't really seem made for the task. In the end, it would probably end up giving the same experience as (1) above.
  3. A method which I've implemented in the script (run it with the --menu option), which is reminiscent of "autocomplete". I need to add arrow selection and I have to figure out how to actually access $result from outside the while loop (this method doesn't work, because I need stdout for the interface and I have not managed to figure out using file descriptors 3 and above), but I already like it very much, although it seems rather brittle so far.
Do you have any other ideas? Or do you know of a tool/library I could use for this? I'd much rather have this work without having to install a separate package, but there's also no point in reinventing the wheel. PS: I am using POSIX shell for this even though Perl or Python would be much better suited, simply because it's faster and available everywhere. NP: Man on Fire / Habitat Update: Jan Hudec points me to Vim's console-menus and now makes me ponder whether I want a vim-only solution, or one that could be used by friends of other editors too. And Simon Huggins is trying to get me to use htag, which I'll have to check out.

23 January 2007

Erich Schubert: Boycott adea solutions

... for being stupid spammers. Obviously they polled some blog search engine (maybe Google's blogsearch) for some keywords like Java, tried to guess the name from that and grabbed email addresses they could find. I just received this stupid "job application offer":
Good Afternoon Planet,

I represent a major Airline in Dallas, TX. We have 3 openings for C Developers with Java, Unix, Sybase and Oracle skills. Basically our client is doing a 2 year migration from C to Java and needs C language Guru's.
This "major Airline in Dallas" (Southwest? Amerian Airways? I don't know.) should maybe be looking for a different company to do their development. The company they are using right now, Adea Solution, obviously: One more quote:
**I apologize if you are not looking. We have a system here that pulls information from the web and does not distingish between those who are current and those who are not.**
If you know that your system is crap, just don't use it. Instead of spamming. If I were looking, I wouldn't put "I'm currently not looking for a job" on my homepage. And I'd probably try to get in touch with someone professional.

Erich Schubert: Boycott adea solutions

... for being stupid spammers. Obviously they polled some blog search engine (maybe Google's blogsearch) for some keywords like Java, tried to guess the name from that and grabbed email addresses they could find. I just received this stupid "job application offer":
Good Afternoon Planet,

I represent a major Airline in Dallas, TX. We have 3 openings for C Developers with Java, Unix, Sybase and Oracle skills. Basically our client is doing a 2 year migration from C to Java and needs C language Guru's.
This "major Airline in Dallas" (Southwest? Amerian Airways? I don't know.) should maybe be looking for a different company to do their development. The company they are using right now, Adea Solution, obviously: One more quote:
**I apologize if you are not looking. We have a system here that pulls information from the web and does not distingish between those who are current and those who are not.**
If you know that your system is crap, just don't use it. Instead of spamming. If I were looking, I wouldn't put "I'm currently not looking for a job" on my homepage. And I'd probably try to get in touch with someone professional. [Update: their homepage appears to be unreachable... looks like someone else was even more annoyed than I...]

Next.

Previous.