Search Results: "tim"

6 November 2006

Martin F. Krafft: Fascists in the air and on the ground

The EU has published the new guidelines for hand luggage on flights, following the foiled, alleged "terrorist" attacks at Heathrow airport in August of this year. Let's all raise our hands and cheer to the great authorities with their far-sighted wisdom for making flying so much safer. As of today, you're not allowed to transport any liquids in your regular hand luggage, because, as we all know, it's trivial to blow up a plane with liquid explosives. Previously, only the UK, as the little brother of the Excited States of America, bought this obvious security enhancing measure; today all of the EU followed. I am not claiming they had to or were forced, I think our "leaders" in Brussels are stupid enough to make the move themselves. From now on, liquid containers have to be transported in zip-lock bags, which you're expected to bring yourself. Every container holding less than 100ml has to be placed into that bag; if the bag is full, that's it, you can only take one (I wonder how long it'll be until you can buy zip-lock bags big enough to hold, say, 20 litres...). And of course, the bags have to be scanned separately, at participating airports only, of course. Just like some airports don't care about your laptops while others make you switch the thing on, I am sure those bags will be scrutinised differently depending on where you are. Containers of more than 100ml are simply not allowed anymore, including drinking liquids, unless purchased at the overpriced airport stores (which account for roughly 30% of an airports revenue), of course. Our ladies will be able to bring lip stick in their pockets, but the "softer" chap sticks (Labello etc.) are considered dangerous and thus must go into the bag. Confusing? Expect even longer delays! Ample time to think about it all! All this is obviously only being done for our safety, and to shield us from the mean "terrorists". Thank you, you smart decision makers. If it weren't for you, we might all live freely and die happily. NP: Amplifier / The Astronaut Dismantles HAL

Uwe Hermann: Faster and more comfortable LaTeX editing and previewing with latexmk

When writing LaTeX documents I usually just edit the plain text in vim, and in another xterm I type make && xpdf foo.pdf to regenerate the PDF output and view it in xpdf. This is tedious and slow if you do it often. A much better way I found out about now, is to use latexmk. apt-get install latexmk This tool autogenerates a PDF or PostScript file out of your *.tex file(s), so it would make my Makefile obsolete. But the much better thing is that it has a preview mode: latexmk -pvc -pdfps foo.tex This generates a PDF out of foo.tex (and its dependencies, if any), and refreshes the PDF every time the foo.tex file gets updated (i.e., every time I type :w in vim). So I can now leave the xpdf instance open all the time, and it'll be refreshed automatically to show the latest version of my document. Caveat: in xpdf you have to press (for example) "next page" and then "previous page" (SPACE, BACKSPACE) to refresh the screen. Leaving out the "-pdfps" makes the regeneration process a bit faster and uses xdvi for previewing as dvi (instead of PDF) which does not require the above SPACE+BACKSPACE hack. But I like xpdf better than xdvi, so I'll stick with it.

Ben Hutchings: I came across a cache of old photos

Actually, I knew I had a backlog of photos that should go in albums, but could not resist the line. Actual printed photographs, from photograph film - so very last century. Actually I've covered my own photos from August 1999 up to the end of 2001, which still leaves nearly 5 years, but considering the time I think I should stop. Most of the good ones are already on the web and have been for years, but there are notable omissions (some noted with a claim that I would scan them "soon"). I'm afraid the new ones won't be going online quite yet, as there are a lot to scan. Which brings me to a request: Dear lazyweb, please give me software to scan then and automatically rotate and crop paper photos. (No, my scanner isn't sufficiently high-res to scan film, and I don't have the necessary adapter.)

5 November 2006

Erich Schubert: News backlog

I was too busy to read my favourite tech news the last few weeks. This sunday I finally started working on the backlog. Parts of it - I'm not going to try to catch up with Slashdot... And most of the time, I'm only reading the headlines, too. Most of the stuff here will be in German; since I'm also interested in the politics surrounding technology here in germany, a local ticker such as Heise is most useful for me.
  • the Novell and Microsoft deal: I wonder if it's mostly to show an act of good will, to calm Europe in preparation of the Vista release. This and the new API for third party security software may get them to launch Vista on time in Europe, too.
  • Contact information on web pages. May now be reachable with two clicks from the first page, if the wording is obvious. Germany used to require contact information to be reachable with a single click for commercial web pages.
  • Flash 9 for Linux. Beta. Closed source, and it frequently locks up my browser. Probably has a lot of security issues, too; so better use it only with flashblock, and load flash only from somewhat trusted sites. But it works, and it finally allowed me to see that I don't care about MySpace videos and similar crap.
  • New Ubuntu release. Congrats, but I havn't tested it yet. I considered going Ubuntu for some of my computers, but ended up with Debian on all of them. I just feel more at home here, and there is not much that Ubuntu has in extras for me that I really need.
  • My new laptop has harddrive encryption, and encrypted swap. Suspend works, thanks to David Härdemann for helping me with that.
  • I missed the Debian bug squashin party, which was kindly hosted by the LiMux team, responsible for the Debian Linux installation at the city of Munich. This deployment may become one of the most prominent examples of good Debian use: customized, to offer the best end user experience.
  • Debian renames firefox and thunderbird. Welcome iceweasel and icefox. The official mozilla stuff is somewhat written for Windows, and needs modifications for proper Linux integration. This violates Mozilla trademark policy. In fact, Ubuntu and other Linux distributions would have to do this renaming, too!
  • BenQ Mobile crash in Germany. IMHO this was planned by both Siemens and BenQ to get rid of "liabilities". Reminds me of the famous un-word "Kollateralschaden"...
  • Firefox 2.0 - does this mean it has more features I do not need? I'm using epiphany; it has almost all the features I need, but a much nicer, less cluttered UI. Some say it's also faster, and it's Gnome integration definitely is better. The only thing I sometimes use firefox for is the web developer extension, which is a really nice tool when you have to fight HTML and CSS.
  • Java to become OpenSource. Well, I hope they use a sane license... but at least that should finally clear up the licensing issues many people still see with current Debian Java packages. But I fear it might already be too late - Mono support has been better than Java for some time now.
  • Brett Parker: Woo! I have a working PyLucene! (Err, and some other stuff about full text indexing).

    I've been after a python library to mess with lucene indexes for a bit, we use/write a fair few things that use lucene at the backend at work, and just occasionally it would be very useful to be able to fiddle in them (read: search from the command line) without having to do the "write java, compile, test, recompile because you got something wrong, retest, and again" type loop for simple things. Using X11 Forwarding over ssh over a shared with the rest of the office 2M line to use Luke on the indexes is just not fun at all! So, now that I've got pylucene compiled and know the right options (ish), and it compiles on Debian Sarge (both i386 and amd64 variants), I might just build me a package for installing on our servers so that there's an "easy" option for us sysadmin types that just need stuff that we can use, quickly, without messing about! Semi-planning writing a luke-alike using PyLucene and the ncurses library to make it easier to diagnose/look in to the indexes on remote servers, but that's not going to happen this week! Quite impressed with the speed though - looks *fast* - but then, I suppose if you compile the Java using gcj to get native code, then you can expect it to be a *bit* quicker than running in the vm, right? At least, that's what I'm attributing it to at the moment, well, that and python startup time is likely to be a little bit quicker than java startup time. Also, in my travels, I found Divmod Xapwrap, which is a python library round Xapian which seems to be another (interesting) full text indexing engine. Haven't played with that yet - but could be worth a look in the future. Core library written in C++ so should be reasonably quick. The bit that I like the looks of though is """Xapian can search across several databases as easily as searching across a single one. Simply call Xapian::Database::add_database() for each database that you wish to search through.""" which sounds very useful if you start thinking about distributing indexes across a number of machines. I've not read enough Lucene documentation to know wether you can do a similar thing there. Right - enough of that - time to put things back together in the office and go home (again!). Hopefully tomorrow morning I won't be rudely awoken at 5.30am by someone asking a question that could have been better asked via e-mail (where "better asked" means "wouldn't have woken me up and annoyed the hell out of me because I couldn't get back to sleep", though - I did then play with some things and watched American Pie: The Wedding before heading in to the office the first time round...).

    Mike Hommey: Blackout in Europe

    Joey, I can tell you such people exist (people whose power was cut in order to limit the impact), because I am one of them. No power for something like 45 minutes in all the neighbourhood at least, for what I know, and press reported 5 millions people without electricity for France alone. ADSL came back some 30 minutes after electricity, so everything was back to normal by 23:30 GMT+1. We also had a ‘micro-blackout’ earlier the same day, a bit before mid day, if I recall correctly, which made the external hard drive connected to my server be stuck during an I/O. Fortunately, powering it off and on solved the problem, and the filesystem is okay. The server itself being an old laptop, it didn’t lose its uptime, but without network, it was quite useless…

    Stefano Zacchiroli: versioning etc w bzr

    Versioning /etc with bzr for fun and profit Since mid October I rented a room to Godog, here in Bologna (erm ... Italy :-)). Living with another DD so far has been utterly fun: our lives proceed normally, but when we occasionally met it's like hack time: brainstorming and implementation of the first hackish ideas that come to mind. The first idea we deemed nice to be implemented has been versioning /etc of our server (which we co-administer) with bzr. The requirements we set forth where:
    1. who is changing stuff should be somehow forced to document and commit its changes;
    2. automatic changes performed by package upgrades should be automatically versioned.
    Our current solution consists in a couple of hacks: What's next? Well, Enrico already set forth the idea of an housewarming bug squashing party with all DDs living in the Bologna area. Sounds cool!

    Mike Hommey: Meme time: What american accent do you have ?

    What American accent do you have?
    Your Result: The Northeast
    Judging by how you talk you are probably from north Jersey, New York City, Connecticut or Rhode Island. Chances are, if you are from New York City (and not those other places) people would probably be able to tell if they actually heard you speak.
    Philadelphia
    The Inland North
    The Midland
    The South
    Boston
    The West
    North Central
    What American accent do you have?

    Paul Wise: 4 Nov 2006

    [RV Heraclitus SE Asia voyage: blog photos] We arrived in Kupang (West Timor), will be heading off on Tues 7th to motor through Indonesia and towards Thailand, hopefully visiting Roti, Flores, Sumbawa and or other islands in the area along the way. We've seen the ever-changing iridescent colours of a dying mahi-mahi, tuna blood, misty hills of a strange new land looming on the horizon, the unfamiliarly shaped Indonesian fishing and other boats, dead-calm seas in the early morning, a bossy French warship, customs planes flying overhead and calling us every day, the eerie blue of the deep ocean with floating jellies at a swim stop, taking down the mainsail in the channel, shitter crabs, oil platforms in the distance, flocks of flying fish getting out of our way during a calm sunset, bird-stowaways, the amazing crystal goo of phosphorescence off the bow, zillions of mini-buses (taxis) in Kupang and many other things. The open-sea sailing has been mostly relaxing, although we motored a lot of the way from Thursday Island. I'm hoping there will be some more wind, but it looks like we'll be motoring to Thailand (to arrive after Christmas), maybe against the wind since the season has changed. I'm looking forward to finally doing some diving and snorkeling during the next leg of the journey. If there are any Indonesian Debian or Indymedia folk that would like to meet up with me for a keysigning and or bintang, please send me an email and I'll try to let you know if an opportunity arises.

    4 November 2006

    Anthony Towns: More DWN Bits

    Following Joey’s lead, here’s some DWN-style comments on some of the stuff I’ve been involved in or heard of over the past week… A future for m68k has been planned on the release list, after being officially dropped as a release architecture in September. The conclusion of the discussion seems to be that we’ll move the existing m68k binaries from etch into a new “testing-m68k” suite that will be primarily managed by m68k porters Wouter Verhelst and Michael Schmitz, and aim to track the real testing as closely as can be managed. In addition the m68k will aim to make installable snapshots from this, with the aim of getting something as close as possible to the etch release on other architectures. A new trademark policy for Debian is finally in development, inspired by the Mozilla folks rightly pointing out that, contrary to what we recommend for Firefox, our own logos aren’t DFSG-free. Branden Robinson has started a wiki page to develop the policy. The current proposal is to retain two trademark policies – an open use policy for the swirl logo, that can be used by anyone to refer to Debian, with the logo released under an MIT-style copyright license, and left as an unregistered trademark; and an official use license for the bottle-and-swirl logo, with the logo being a registered trademark, but still licensed under a DFSG-free copyright license. The hope is that we can come up with at least one example, and hopefully more, of how to have an effective trademark without getting in the way of people who want to build on your work down the line. Keynote address at OpenFest. Though obviously too modest to blog about this himself, Branden Robinson is currently off in Bulgaria, headlining the fourth annual OpenFest, speaking on the topics of Debian Democracy and the Debian Package Management System. New Policy Team. After a few days of controversy following the withdrawal of the policy team delegation, a new policy team has formed consisting of Manoj Srivastava, Russ Allbery, Junichi Uekawa, Andreas Barth and Margarita Manterola. Point release of sarge, 3.1r4. A minor update to Debian stable was released on the 28th October, incorporating a number of previously released security updates. Updated sarge CD images have not been prepared at this time and may not be created until 3.1r5 is released, which is expected in another two months, or simultaneously with the etch release. Debian miniconf at linux.conf.au 2007. While it may technically not be supposed to be announced yet, there’s now a website for the the Debian miniconf at linux.conf.au 2007, to be held in Sydney on January 15th and 16th (with the rest of the conference continuing until the 20th). This year derived distributions are being explicitly encouraged to participate, so competition is likely to be high, and it’s probably a good idea to get your talk ideas sorted out pretty quickly if you want them to be considered!

    Clint Adams: You promised me Broadway was waiting for me, a freeborn man of the U.S.A.

    I used to write shareware. Some people would just send money with a brief thank-you note. Some people would adopt the attitude that I was beholden to them once I cashed their checks. Since the customer is always right, I was faced with the pressure of customer-directed development. For that and other reasons, I stopped writing shareware. My next mistake was to release everything as postcardware. I did not immediately realize that this was wrong, and I enjoyed the influx of postcards from various places. Never underestimate the power of a simple 53-byte executable to make random people happy. In time, I stopped writing postcardware. Many years later, someone offered me something, with the condition that I do something in Debian that I would have not done otherwise. Another individual was offered the exact same inducement with the exact same condition. We both accepted. I kept my end of the bargain. The other guy reneged. Sometimes I wonder if he inadvertantly did the right thing. Since then I have been paid to work on free software, but never directly on Debian.

    Erich Schubert: Turbogears performance

    I've been trying some stuff with the Turbogears application I worked on a bit during the last two weeks. First thing was that I looked into using postgres as DB backend for Turbogears. Which turned up a bug in sqlalchemy (an ORM, mapping objects to database rows and back). I was passing a unicode string to the getBy function (to retrieve an object by it's primary key), and it went into the SQL statement without any quoting. Since my keys are all ascii, I could just cast them into regular string objects, and getBy worked then. Performance with postgres is worse than with sqlite; this is not too surprising. However this might change once I enable multithreading. Performance numbers: with SQLite: 8.30 trans/sec, with Postgres: 7.52 trans/sec These performance numbers are still very bad, and I guess we won't be keeping Turbogears on the long run, unless I find some documentation on improving the speed. One of the hints I got was to avoid py:match in kid, the templating engine used. I started by not using turbogears "sitetemplate" default template. This would automatically insert javascript and css files when needed. Since I don't use their widgets and such, I havn't been using this feature anyway. Not using the template - which contains one py:match for the 'head' tag and one for the 'body' tag - improved performance to 9.01 trans/sec (or 8.32 trans/sec) Now I can't explain why the improvements in the postgres run were better; both are a 10 minutes siege run. But 8.5% improvement is a start. I'll look into getting rid of the other py:match instances in our templates. (If I'd only find a good example with py:def - guess I'll instead "precompile" pre-templates into the actual templates or so instead with some self-written tool.) P.S. No, I'll probably not use turbogears for my next similar project. Rapid development is nice, ORMs are fancy and such, but sometimes good old plain SQL can be very easy to use, too. And more performant.

    3 November 2006

    Joey Hess: DWN bits 2

    More bits for DWN, which published some of the previous ones last week. A release update was posted by Andreas Barth. Items discussed include the full freeze of Etch (delayed slightly), the kernel firmware issue (considered resolved by the release team), an analysis of remaining release critical bugs, and some final changes to the release policy including LSB 3.1. All developers should read the full email for details. Work continues on d-i RC1. Everything is in place and only some building and testing needs to be done before the new version of the installer is released. Development work on etch's installer after this will be limited to bug fixes, and an update to the 2.6.18 kernel. Frans Pop posted a todo list and an updated timeline. ARM v3 support. There was a thread on debian-arm about whether etch should support the arm v3 instruction set, used in a few older arm systems, but not supported by mono. Wookey said "Yes. I think the time has come for arm to drop v3. It might have been better to anounce this earlier, but never mind." There were no objections.

    Simon Richter: Optimisation

    The correctness of an optimiser in a conforming C++ implementation is defined by the "volatile" keyword, that is, an optimisation is correct if it does not reorder, add or remove volatile accesses. However, people have come to rely on non-volatile accesses to be finished before a call to a function in another translation unit, even if you hand over a buffer which is then passed on to some external entity (syscall or hardware). Technically, this is undefined behaviour, since the compiler is free to identify the writes to the buffer space as dead stores and optimise them away. The correct way to fix the program is to declare the buffer volatile, but in a lot of cases, this requirement is too strong, for example in the case of TCP checksumming, where it is neither desired to force reading back the data, nor to build up the data in a temporary buffer and write in one go. What we'd need is something in between, that is ordered with respect to volatile accesses, but not internally.

    Michael Janssen: The waiting is the hardest part

    Exercise is hard work. It is hard to keep going to the exercise room every day, and getting on that machine and doing the exercise. It is only loosely assuaded by the fact that I can listen to music or read a magazine while I am doing it. The saddle on the stationary bike is uncomfortable, and the treadmill is annoying when it asks for my heartrate. Don't get me wrong, I am comitted to my exercise regimen and will be keeping it up for the forseeable future. I really do believe that I am improving my overall health and wellbeing doing it. Walking down the hall back to the apartment is a good feeling, and it's strangely satisfying to be all sweaty and gross. This week was fairly erratic with respect to exercise. I ended up taking saturday off mostly by accident, completely filling up my schedule with other things. Other days I would start early -- around 7pm instead of my normal 10pm, or would start an hour late. Tuesday was a particularly crappy day as half of the exercise room was tripped on the breaker and I had to resort to the horrible stepping machine and some weightlifting to get my 30 minutes in. Hopefully this week I will be able to get a better schedule going.

    I am frustrated. Two weeks of dieting and exercise, and I don't seem to be losing weight. This bothers me because in the past I would have received at least a little bonus on the scale just for dieting, and I don't seem to be getting that this time. I tend to weigh myself after my workout, because there is a fairly nice physician's scale which I can use to weigh myself, and doing after every exercise is a good way to remember. This causes a problem however because I usually exercise at the end of the day. One day I may eat more and then weigh more, and another day I may eat less (or ahem, output more) and weigh less that night. It doesn't deal a good hand to my psyche to sometimes weigh more than I did the day before. I do seem to be getting a hang of guessing when I will weigh more though. I am thinking of switching to weighing only once a week, but I am afraid that I will forget, and the hacker in me wants as much data as possible on this.

    This week (Oct 27 - Nov 2):
    Minimum: 338.5 (Oct 31)
    Maximum: 341.0 (Nov 2)
    Average: 339.8 (139.8 to goal)
    Total Exercise Calories: 2562
    Average Exercise Calories: 427

    Michael Janssen: Google Experiment: Prelude

    I've been using DreamHost to host this blog and most of my persistent online activity for the past 10 months. All in all I have been really happy with them. Others seem to have issues, but I don't have any gripes. I'm only paying a paltry fee, so I don't complain too much if my server isn't five-nines reliable. However, I am starting to have a problem with one of the services available. The email support is somewhat lax. My current situation is that I am using mutt as a reader on the server itself. This requires me to SSH into the server and read the mail on there. Because DreamHost doesn't realy expect that people will have this activity (most people check their mail by IMAP or webmail) it sometimes sees my mutt process as long-running, and decides to kill it with a HUP on the SSH connection. This is pretty annoying. Also, I get a lot of spam. No, really: on a typical day, I receive over 400 spams. Currently I am using SpamBayes for spam filtering, which works reasonably well - it catches most spam at least in the unsure folder. The same problem with mutt shows up with spambayes though: it takes up too much CPU and gets killed by DH's watchdogs.

    These problems lead me to this experiment. The hassle with my mail is just too large, and I hear that GMail's spam filters are reasonably aggressive and work well after you train them slightly. I have decided that I will run an experiment. Starting with November 1st, all of my mail will forward to my GMail account. I will document the spam filtering (or lack of) abilities here on Base Zero, and I'll see how it works out. I have years of data from other methods of spam filtering so I can compare.

    However, this experiment isn't only going to be about spam filtering. GMail also employs some different mail models than what I am used to. The first that I am interested in is tags. GMail uses tags instead of folders, the normal way of organizing mail. This is touted as better because you can have more than one tag assigned to a email at once, and therefore orgniaze mail which should be in two categories better. For messages which are in an Inbox you just use a Inbox tag. Spam messages get a Spam tag. So I will be orgnaizing my email with tags as much as possible. The second thing which intrigues me is the idea of emails being conversations instead of threads. GMail puts related emails together, but uses a flat structure as opposed to the tree structure that I am used to. I wonder if this will confuse me because I am on a number of lists which tend to use the tree structure a lot, with many branches. I may not like some of the things that GMail does -- in these cases I will look for hacks or build ones myself which attempt to solve these problems. I am also probably going to try and do some user interface critique.

    Some people are concerned about GMail and scanning emails. This doesn't concern me that much: most ISPs can scan your emails for viruses and spam nowadays anyway, webmail particularly so. I can understand the effect that this could have on some people however. If anyone reading this message would like to be excluded from the email going to GMail, just reply to this post or email me. I will oblidge by filtering your following emails to a special folder on my server. Just realize that I will only read those emails weekly at best.

    GMail will not be the only Google service which gets tested by me this month. Stay tuned for more information. Until then, hail to Google, our dear and glorious leader.

    Frank Lichtenheld: Please don't use libgpod 0.4.0 ...

    ... or "why breaking your SONAME is a bad idea". If you ever had any questions on why it is a bad idea to break your SONAME (i.e. not changing it despite of ABI and/or API changes in your library), please take a look at the current Debian bug list of gtkpod. Oh, and it also shows why it is a specially bad idea to prepare a package for a library broken in that regard without at least changing the package name... So, to all the Debian gtkpod users out there: Please don't use libgpod from debian-multimedia.org together with gtkpod 0.99.4 from Debian. I will try to make sane versions of libgpod 0.4.0 and gtkpod 0.99.8 available as soon as possible. If you want to help with this (the RFH for gtkpod is still open), please don't hesitate and drop me a mail.

    Wouter Verhelst: FOSDEM Call For Talks for the Debian Devroom

    I just (well, over an hour ago by now) sent out the Call for Talks for the Debian Devroom at the upcoming FOSDEM. If you're interested in giving a talk there, now would be a good time to let me know.

    Benjamin Mako Hill: Noodles & News

    /copyrighteous/images/someny_noodles-small.jpg

    Someny noodles, so little time.

    If you live in the bay area and you are still willing to talk to me after that pun, please get in contact with me. While it's been a while since I've been in San Francisco, I've got a flight out Saturday for the Ubuntu Developer Summit in Mountain View. I will have some time especially next weekend to hang out.

    Ross Burton: Leaves

    Yesterday lunchtime after walking Henry Vicky went into our driveway armed with lots of fallen leaves, the SLR, and the bright afternoon winter sun. 20 minutes later and lots of technically dubious photography (one handed grip on camera, leaf at arms length, click and hope) she had some fantastic Autumnal leaf shots. Treasure Embers On fire Autumn's Beauty Update: of course a Javascript library to turn image links into magic floating popups won't work in RSS feeds, so if you want to see them in Flickr go to Vicky's Nature set. Yesterday I ordered a cheap lightbox so we'll hopefully be able to take similar shots in a more controlled environment without wind and camera shake getting in the way. Obviously they won't be as good, I've found that often the first casual attempt at a shot is the best, and the harder you try, the worse the shots get. NP: Protection, Massive Attack

    Next.

    Previous.