Search Results: "ina"

22 February 2006

Jos Parrella: Chewie did that

I’ve found this photomontage at the Chewie’s blog (hilarious) (the blog also, not only the photomontage) BTW, me and around 6 more people from Venezuela are coming to DebConf 6 in Oaxtepec. That if you don’t count David, of course. Everything can happen. Even some people are waiting for a last-minute Venezuelan government sponsorship… I was originally travelling with Colombian flag carrier Avianca in the itinerary CCS - BOG - MEX, but this was expensive, slow and uncomfortable for me to pay (the travel agency is in a city 2 hours away from Caracas) so I went to my plain-ol’-good travel agency in Caracas and found a special offer from Mexicana with a student fare. I have to wait until April to buy it, but it’s worth the wait. I now have my Venezuelan and Spanish passports, but someone told me that Mexico won’t take my old Venezuelan passport (the Country changed names, from Republica de Venezuela to Republica Bolivariana de Venezuela on 1999) since we have diplomatic problems with them, and also they told me that my Spanish passport won’t do for entering Mexico since I’m not travelling from Europe. So I have to request the new Andean Community Passport (links in spanish). See you in Mexico!

Paul van Tilburg: Packing and Goodbyes

Today is the last day of my stay here in Edinburgh. I have already packed most of my things and am saying goodbye at work and at home today. I have almost finalised my internship report which I hopefully will finish this afternoon. With that finished, my work here is done. Tomorrow at 7:00 I will take the bus to the airport, check-in and depart at 9:25 (EasyJet flight 6921) and arrive at 12:00 on Schiphol Airport. I want to thank everyone for the great time I had here. Fairouz Kamareddine and Rob Nederpelt for arranging this internship, their supervision and guidance. My colleagues Manuel and Krzysztof for the productive and fun times we had. My “lunch friends”: Gonzalo, Manuel, Simone, Laurent, and more for the many laughs and discussions during lunch. My parents and friends for visiting me here and being interested in all my stories. I am ready to go home and would like to. But I also would like to stay here as well. Maybe, in the future I will be back… MathLang is not finished just yet :-).

Jordi Mallach: Catalan Debian-Installer milestones completed

During the last two months, the Debian Catalan localisation team has seen two of their major milestones completed, after some tough work. The group managed to release Sarge with a completely translated installer, but failed to provide a translation of the Install Manual, which was a regression for us, as it had been available in Woody. We didn't give up, and thanks to the stubborness of Miguel Gea and braindmg we slowly started translating the Sarge manual months after the release, so it could at least appear in the website. But progress was too slow, so we planned an online meeting for the beginnings of the year to try to complete the translation doing a whole lot of translations during a weekend. Soon after we learned that joeyh, fjp and the d-i team wanted to terminate Sarge d-i manual support in svn RSN, as they would start to make changes to the docs to reflect etch changes, but fortunately Frans agreed to give us a slightly extended deadline, if we agreed to finish the job by January 14th:
20:37 < CIA-7> debian-installer: fjp d-i * r33721
               /sarge/installer/doc/manual/ca/: Add Catalan translation as
               translators would like to finish it for Sarge and have promised
               to do so 14 Januari 2006 at the latest
I really didn't think we would be able to make 100% in just 10 days, but the team, assisted by a large number of minionsnew contributors that volunteered on #debian-catalan, managed to do it I believe a few days before the deadline. Guillem announced it on our list. Releasing etch with an up to date Catalan manual will be a lot easier, if we try to maintain it up to date as etch development carries on. The second milestone was yesterday's completion of the Catalan translation for all five levels of the etch debian-installer, after a year of no translation activity on that front, and months of braindmg bugging me to do my chunk of work. Although it's now showing a shiny 100%, there's a lot of review work to do, and polishing it should be our focus for the next release. I seem to have recovered some of my interest in translations. That's good, because GNOME 2.14 is around the corner, and it wouldn't be fair for Josep if he ends up doing all the job. :) Also, I've been quietly working with a group of people at Softcatal in a project that will probably have lots of press in our community. It's not public yet though, but I hope that it'll be announced in the next few weeks.

21 February 2006

Simon Law: CodeCon 2006, Day 1


SUV Taxi
Originally uploaded by sfllaw.
I woke up on Friday morning and wondered what breakfast would be. Then I remembered that I was staying at the W and decided to forage for food elsewhere. I took a taxicab with [info]spider88, [info]enochsmiles, [info]maradydd. It was a strange hybrid SUV cab that was painted all yellow, I would later learn that Yellow Cab drivers were scary and that I should avoid them. We got to StudioZ and discovered that we didn't know how to get inside. We figured that out eventually and took stock of the situation. I started moving tables about and setting up chairs, because I abhor standing about with my hands in my pockets. Then I helped hang banners from the rafters. After I did that, I tried to see if I could do anything else. Since CodeCon is run on the cheap so that anybody can attend, drinks like coffee are not included in the conference fee. And since the conference was being held in a night club, there was a convenient bar that would be a good place to setup a concessions stand. So I put things in order and stood behind the counter. I got to see people walk in the door and after registering with [info]wealhtheow or Spider, they'd stand in bewilderment in front of my bar. It was a lot of fun to watch all sorts of people come through. And then I'd smile at them and offer to get them something to drink. We started Lance's talk a little late in order to let everyone settle in their seats. I met him the night before where he talked about his Apache module that has heuristics for detecting when a phisher is trying to clone your website. Or when your website has been cloned and the phisher is passing login requests through to you. This kind of thing is totally what financial institutions have to start doing. We got coffee from this place called Cafe Organica, which seems to have some mixed online reviews. Or rather, Jonathan did, in a big messenger bag filled with carafes. Since Jonathan doesn't actually drink coffee, it was left to me to decide whether it was any good. It seemed to be drip coffee that was thick, dark and strong. Very decent for something that was brewed hours ago. The customers didn't seem to mind, as we ran out of coffee every day.

Couch
Originally uploaded by sfllaw.
The next presentation was SiteAdvisor which takes an interesting tack on safely surfing the web. Instead of building security features into your browser, there's a central server that stores information about sites that you're visiting. But what was really interesting was how they got this information. They had an automated tool that went in pretending to be a real person, signed up for some e-mails, downloaded some programs, and examined what happened afterward. I missed the majority of the VidTorrent presentation, because I was busy chatting with people and offering them refreshments. Also, their demo didn't work because the wireless setup at the conference kept on going down. People were abusing the free Wireless network that Cliff was trying to keep up and running. Which is sad, because Cliff had basically volunteered to set that up on his own time. Tom came up after that to present Localhost, which is a unimaginatively named piece of software, but is interesting because it lets you browse a world-wide filesystem of torrents. What's interesting about his filesystem is that it uses a distributed hash table, so that even if there are files with the same name, you'll be able to distinguish the distinct copies. Which is useful if you want to tell whether you're downloading a legitimate and popular file, or some malicious file that someone's injected. The last talk of the day was Truman, which not only demonstrated an interesting piece of technology, but also quite educational. The tool itself is a specialised Linux distribution that can capture what happens inside itself and simulate a public connexion to the Internet. This is advantages, Joe tells us, because modern pieces of malware are smart enough to disable themselves when they detect sandboxed environments. After people filed out, we packed away everything into storage as StudioZ is a nightclub, so it was setting up for its nightclub crowd. Everyone else went next door to Loft11 where a party was being held, sponsored by [info]bramcohen's awesome company I went inside and bumped into Graydon and we tried to go about finding fellow Canadians. This was not so successful on the crowded downstairs floor, so we went upstairs to chat and catch up. I met some people who were at the speaker's reception and successfully remembered their names. Then I met a guy who was at the night club just waiting for his buddy, and I explained CodeCon to him. He thought it was a great idea.

Stack of Macs
Originally uploaded by sfllaw.
Len Sassaman and Bram got up to give a little speech, which I tried to take photographs of. But failed. Instead, I noticed that they were on this awesome glass ceiling which made me want to dance. I didn't do that though, because my feet hurt from standing all day. I poked my head into a room upstairs that was all white, which was very cool. Some people were playing a game of Werewolf which finished with the villagers winning. I hung out with some people like Eric, Pete, and Kelsey who told the story of her pink Barbie backpack. I also met Chloe and her husband, whose name I have forgotten. But Chloe is awesome because she is now independently wealthy so that she can pursue her dream of studying the nitrogen cycle in soil using post-doc maths. Impressive! I also met [info]akashayi who is not a professional computer programmer at all. She teaches martial arts by day, and slings code by night. She drove all the way from Los Angeles to attend CodeCon and was having the time of her life. I wistfully remember when I was that excited about computing, so just hanging out with her was awesome. She promised me a Kempo lesson if I ever made my way to L.A., which is an offer I intend to collect. I found Spider downstairs, sitting on a couch with Daniel. The night was getting long and we were totally exhausted, so we took a taxicab to the W. There, we went up to Enoch's room party where he treated us to $17 cheeseburgers. Now, I didn't think that cheeseburgers that expensive were worth it, but boy oh boy were those good. Spider and I took a cab to [info]kineticphoenix and [info]riseorbleed's place sometime past midnight and we dragged our luggage into their guest room. Which was really more of an awesome guest apartment. Hurray for knowing people in foreign cities! I don't remember much after that. I think I turned on a space heater before passing out.

Josselin Mouette: Kill the lizard

In tonight's dinstall run, new versions of epiphany and yelp will enter unstable, built against xulrunner. This means that finally, gnome will be installable without a mozilla-browser dependency. Packages using XUL are now linked to correctly versioned libraries, that also use the system versions of libraries wherever possible. This is hopefully the end of a long-standing history of various problems with mozilla.

Thanks a lot to glandium for his huge work on xulrunner.

Martin F. Krafft: Fat free

Daniel pointed us to maltloaf, which brings up painful memories from my US College times -- you know, ghost milk and 100% fat free butter and stuff like that.
  • Soreen quote 2 g/100 g fat under typical values, so 2%. Someone tell them their PR that they can write 100-2 => 98% fat free for better effect! (yes, I know fat isn't a linear scale). Or do they mean 2 g being about 3% of the suggested daily intake, which means you have 97% "left to spend"?
  • Second, "Soreen Original fruity malt loaf is suprisingly nutritious and low in fat." Aha. Do 97% fat freeness somehow cancel out the 688 kcal per bar? Or are they not trying to appeal to people watching their weight?
To whom are they trying to appeal? If it's really sports persons, then the sheer amount of carbohydrates would call for an average such person (75 kg, 178 cm):
  • to drink about 9 litres of water for each bar (two of which should be isotonic, one with extra electrolytes),
  • to eat just a little less than two bananas for the potassium, and
  • to consume one boiled egg with about one tea spoon of table salt for proteins and sodium
for a moderately balanced diet. Given average fitness and BMI, this person would have to keep the pulse between 140 and 150 for two hours straight (for each bar), and not eat more than 1.8 of those maltloafs. These values are according to a rather reasonable book on sports nutrition I bought in preparation of our Kilimanjaro hike, btw. I really wonder how many sports persons have a balanced diet. Those who don't will not be able to digest the carbohydrates and excrete more than half of them while adding body weight in the long run -- but hey, at 97% fat freeness, that can't be fat, it must be muscular tissue, right? :) These bars do have an impressive amount of carbohydrates, I must say. I am never sure about importing food products from the UK, but maybe I'll have to pick up a few. PS: oh, and does their math square? According to the nutritional facts, 100 g of loaf has 310 kcal while 1/8 of a loaf as 86 kcal, so a bar is 222 g (wow). But 222 g of bar are supposed to have 8*0.6 g = 4.8 g of fat if you approach it bottom-up, and 222*2.0 g/100 = 4.4 g of fat if you come at it from that angle. Daniel, do these things really weigh 222 g per bar?

Enrico Zini: Debtags preformance burst

Recently I've been busy with Debtags code. Actually not really Debtags code but Tagcoll code. Tagcoll is a collection of generic templates implementing all that is needed to work with tagged stuff. Debtags is just an instantiation of Tagcoll to work with Debian packages, but Tagcoll could be used for pretty much anything, wonders of C++. So, I've been busy with Tagcoll code. More specifically, I've been working on a new high-performance disk index. I've also implemented some basic benchmarks. Follows a table with the benchmarking results:
Operation TDBReadonlyDiskIndex BasicStringDiskIndex TDBIndexer
instantiating 30ms 0ms 310ms
hasTag 200ms 0ms 0ms
getTags[item] 180ms 90ms 40ms
getTags[items] 10ms 0ms 0ms
getItems[tag] 330ms 80ms 30ms
getItems[tags] 1140ms 20ms 170ms
getTaggedItems 50ms 10ms 20ms
getAllTags 270ms 0ms 0ms
getCardinality 190ms 0ms 40ms
getCompanionTags 1410ms 60ms 280ms
output 18910ms 7740ms 50ms
outputHavingTags 1330ms 90ms 200ms
TDBReadonlyDiskIndex is the disk index that is currently used in Debtags, BasicStringDiskIndex is the new disk index and TDBIndexer is an in-memory only index implemented with two binary trees. I'd say, definitely not too bad :)

Jonathan McDowell: Power corrupts

I bought a Belkin F6H500ukUNV from eBuyer (quickfind code 77131). At under £25 including P&P it seemed like a good deal and I've been meaning to get round to having a UPS to allow clean shutdown of my local machine during power problems. Belkin ship Linux and FreeBSD programs to talk to the UPS (though only over the serial interface - it has USB too). It doesn't like xterm it seems; prints Error opening terminal: xterm.. Seems fine with a terminal type of linux. It also puts all its files (config, help, binaries) in /etc/belkin. And it's binary only so I can't fix any of this brokenness. However, the lovely Network UPS Tools exists. Except Belkin have a number of UPS types, all incompatible with each other. After figuring out that I really, really needed to use the Belkin provided cable and not just a generic serial extender cable (grrrr. Why? If it's got a 9 pin D labelled RS232 why not make it a sensible port?) I got the Belkin software working and straced it to see what it did. A bit of looking at the nut source found several drivers that appeared to use the commands Belkin were sending (Q1, I & F). I tried powermust first, with the following /etc/nut/ups.conf:
[belkin]
	driver = powermust
	port = /dev/ttyM2
(I have a 4 port serial card, so /dev/ttyM2 is just a normal serial port, really.) And tada. It works. I can now get output like:
[noodles@pot ~]$ upsc belkin@localhost
battery.charge: 100.0
battery.voltage: 13.8
battery.voltage.nominal: 12.0
driver.name: powermust
driver.parameter.port: /dev/ttyM2
driver.version: 2.0.3
driver.version.internal: 1.1
input.voltage: 227.0
input.voltage.fault: 227.0
input.voltage.maximum: 234.0
input.voltage.minimum: 221.0
output.frequency: 50.0
output.voltage: 227.0
output.voltage.target.battery: 230.0
ups.delay.shutdown: 2
ups.delay.start: 3
ups.load: 0.0
ups.mfr: Mustek
ups.model: PowerMust
ups.serial: unknown
ups.status: OL
I don't know about doing shutdown yet, but ups.status correctly goes to OB (on battery) if I pull the power, which is probably the most important thing. :) At some point I'd like to move over to the USB interface; I have better things to do with my serial ports. Belkin don't appear to have done the sane USB HID power thing; instead it's some odd hid device that doesn't even have a Belkin manufacturer ID:
Bus 003 Device 015: ID 0001:0000 Fry's Electronics 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0001 Fry's Electronics
  idProduct          0x0000 
  bcdDevice            1.00
  iManufacturer           1 MEC
  iProduct                2 MEC0002
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Devices
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     624
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
Device Status:     0x0000
  (Bus Powered)
The NUT energizerups driver appears to talk USB and use the Q1/F commands, so I think I'll try that later. Or it's back to usbsnoop and a Windows box I guess.

Wouter Verhelst: Western broken

western, my Sun Ultra10 which I used to use as server/gateway/firewall, broke down last weekend. Since western had only one 9G hard disk which was getting full, I wanted to add another disk. The 80G disk that I had bought for my desktop turned out not to be needed (since there were 2 extra disks hidden in the machine anyway), so I added it to the Ultra. However, it didn't get detected; according to Philip, an Ultra10 has a PIO-only IDE interface, which may be the cause of the problem—it's not that unlikely that the newest IDE disks, such as this 80G one, do not support outdated transfer modes such as PIO anymore. So, I decided to take out one of the disks from rock, my desktop, and put in the 80G one instead. 40G is still plenty for a server which until recently had only 9G. Thank $DEITY for LVM Connected the 80G disk as /dev/hdd to rock, and ran the following commands:
rock:~# cfdisk /dev/hdd
[create a partition]
rock:~# pvcreate /dev/hdd1
rock:~# vgextend rock /dev/hdd1
rock:~# pvmove /dev/hde1
rock:~# vgreduce -a
Now shut down the box again, and remove /dev/hde. And no, the hde part is not a typo: rock has four IDE controllers. Meanwhile, however, I was noticing something peculiar about western: its external network card did not get a DHCP lease anymore, for some reason. That card was a 3com 905, with a slightly loose RJ45 connector; by unplugging or reconnecting the cable, it might be that I moved it a bit too much around and broke it. While it's a pity that I lost that 3c905, it's not really much of a problem: put in a different card, boot again, done. The Realtek ne2k-pci board that I put in next didn't work. It did get a DHCP lease, but it couldn't use the connection for some reason. Ne2k boards are crap, so it could be related. I put in yet another card, and booted the machine again, this time without replacing the cover (in case that card wouldn't work either). After it had been running for about 1 minute, the system suddenly shut itself off for no apparent reason. So I put the cover back on and tried to boot. After 10 seconds, even before silo was loaded, the system shut itself off for no apparent reason. I thought maybe it was the card, and even tried the 3c905 again. The system shut itself off for no apparent reason. It hasn't stopped doing that. I finally, on sunday evening, set up rock as a replacement server and put the 9G disk in there too, so that I could at least access the data and config files. But I'd love to get western to boot again. Stupid thing. Any hints are very welcome. Really. I'll even give you a Free Beer at FOSDEM if you give me the hint that fixes it.

Martin F. Krafft: I finally booked Mexico

After long periods of indecisiveness and insecurities about the trip after Debconf6, I am now finally booked to Mexico (and back). In case you care, here's my itinerary:
Sa 13 May 2006: ZRH -> FRA on LH5055, leaving 12:20
Sa 13 May 2006: FRA -> MEX on LH498, arriving 18:55
So 28 May 2006: MEX -> FRA on LH499, leaving 20:50
Mo 29 May 2006: FRA -> ZRH on LH3732, arriving 16:55
Best of all: I have a lot of Lufthansa miles set to expire soon, so I can likely upgrade to business class. :) Now I hope that my sponsorship request gets honoured one of these days. Lufthansa was the cheapest I could get from Zurich, but my definition of cheap is something else...

20 February 2006

Ross Burton: Default Location in GTK+ File Chooser

Today I finally got annoyed enough with Ubuntu's GTK+ defaulting my file choosers to $HOME/Documents rather than $HOME. I can see how this would be useful, but Documents contains a few files, whereas I generally want to get into ~/Pictures, or ~/Programming. Luckily sebuild saves the day, by telling me about GTK_DEFAULT_FILECHOOSER_DIR. One quick export later:
export GTK_DEFAULT_FILECHOOSER_DIR=$HOME
And voilà, it works. Now please can the comments section of this post not turn into a new GTK file chooser sucks arse d000dz old one r0xkkz. You try explaining to a non-geek why parent folder is .., and why . is in the folder list at all. NP: Songs In The Key Of Life, Stevie Wonder

Zak B. Elep: Square One

Last night, I have started the long road of NM towards becoming a Debian Developer. I’m looking forward to doing more work (and learning stuff while I work ;) in the next 18 or so months of being in the queue. And even more Debian work after that, for sure ;) Thanks to Mark and Sacha I finally got to have my GPG key signed; and just this morning Andreas advocated me. :D Guys, rock on!

Erinn Clark: Maybe not classics, but...

Steinar and Martin, you've both listed most of the classics. My personal additions would be:

Kai Hendry: /media/cdrom

God pokes at camera A little caveat. Find doesn’t seem to like symlinks. Since /media/cdrom is a symlink to /media/cdrom0, using /media/cdrom0 with find will work. I spent far too much time figuring this out.
frodo$ cd /media/cdrom
frodo$ find  pwd  -iname '*.jpg'
# hmmm, there are images here.
frodo$ find . -iname '*.jpg' # this works ...
./common/0.jpg
./common/clip_art/e_mail/75/ec1.jpg
./common/clip_art/e_mail/75/ec2.jpg
...
Another reason to sigh about this FHS /media schema.

19 February 2006

Daniel Stone: [tech/fdo] fd.o cvs migration complete

fd.o's CVS migration is finally complete. CVS has moved from gabe.freedesktop.org (formerly 'the freedesktop.org machine') to kemper.freedesktop.org, a new secure host. Anonymouse CVS and ViewCVS now run on annarchy.freedesktop.org.

This means that, technically, you should now be committing to:
username@cvs.freedesktop.org:/cvs/reponame
and checking out anonymously from:
:pserver:anoncvs@anoncvs.freedesktop.org:/cvs/reponame

Anything using '@freedesktop.org' or '@pdx.freedesktop.org' is incorrect and may, at some point in the future, stop working. Anything using '@cvs.freedesktop.org' is incorrect, but will probably keep working for the time being. The canonical URL for ViewCVS is now http://webcvs.freedesktop.org; cvs.freedesktop.org will probably keep issuing 302s, but that too may disappear at some point in the future, so update your URLs.

Some code has moved to GIT, too. I can't remember exactly what the process for committing there is, but the process for checking out is:
git-clone git://anongit.freedesktop.org/modulename

The pserver redirection to anoncvs.fd.o wasn't working for a while. I'll post what I did, and see if you can figure out why:
root@kemper:~% iptables -t nat -A PREROUTING -d kemper.freedesktop.org -p tcp --dport cvspserver -j DNAT --to-dest 131.252.208.36:2401

Martin F. Krafft: Re: Technical classics

< Sesse> madduck: you'll have to counter-blog :-)
< madduck> mh.
< Sesse> madduck: my degree isn't in computing, it's in signal processing
< Sesse> so I don't have all the programming and db books
< madduck> mine is in procrastination.
Sesse, I see your list and raise you:
  • Computer architecture: "Structured computer organization" by Tanenbaum
  • C++: "The C++ Programming Language" by Stroustrup, and I also include "Modern C++ Design" by Alexandrescu, an excellent book and companion to the Gamma et al. "GoF" book you quote for design patterns.
  • Compilers: Aho et al. Compilers: principles, techniques, and tools. Great book.
  • Database management systems: Elmasri and Navathe
  • Operating systems: Tanenbaum, but I also liked Silberschatz and Galvin's "Operating System Concepts"
  • Unix programming: the Stevens books
  • Programming in general: Abelson & Sussman's "Structure and Interpretation of Computer Programs" -- possibly the book that had the most influence on me.
Also, for crytography, I would put "Contemporary Cryptography" by Oppliger in there, despite its price. I have worked with Oppliger so I may be biased, but I found his book to be very in-depth and yet understandable, possibly more so than Schneier's. And it's more up to date. Update: Now I am really curious what the classic for UML would be. Seems like all the UML books are either too spec-like, or too lofty.

Mike Hommey: Is libpng crap ? and php ?

As I told before, I’ve been working for a few days on a way to display japanese characters on a web page when you don’t have japanese fonts locally. That involved taking japanese characters from a font file, and turning it into a png image. So I just wrote a small and simple program using libpng and freetype. Which works quite well. But that’s not the point. During this “development”, I lost 2 or 3 days trying to understand what was wrong with my code that made it work properly from a shell command and fail halfway when wrapped in a php script. I still don’t know what’s wrong with php, but it works well with a perl cgi wrapper, and it still fails if I raise the php memory limit. Interestingly, other libpng tools (such as pngtopnm) fail in the same way. It wouldn’t surprise me if it was libpng’s fault. The first thing i did to understand why it’d fail, was to run the program under valgrind. And what I saw was not encouraging. A lot of “Conditional jump or move depends on uninitialised value(s)”. I tried different combinations of code, using png_write_image or png_write_row, with large or small buffers… It turns out libpng can’t write a png file with a width smaller than 148 pixels without those “Conditional jump or move depends on uninitialised value(s)”, which happen, as the stack trace shows, in the zlib, called by png_write_row, but i doubt it to be a zlib issue. You would think it would be a buffer size issue, but if you use a larger buffer for each line you call png_write_row for, you still get the errors. If anyone has a clue, please leave a comment. Update: Thanks Mark for your comment, though I don’t get how it can be safe to have such accesses to uninitialized memory. Deuce, the php issue can’t be a timeout issue, the program runs in fractions of a second.

18 February 2006

Marc 'Zugschlus' Haber: Updates to clamav-data build process for volatile

I have again worked on the automatic package build, test and publishing process for clamav-data, which runs twice an hour on a volatile.debian.net host. Details of the process are described in VUA 2-2 on debian-volatile-announce The “backup” copy on http://people.debian.org/~zugschlus/clamav-data now has accurate mtimes in the directory, and actually the last three published packages are available from here. The rsync process was previously broken in a way that only the current package and two older ones from middle of July (from before the automatisms were in place) were available there. The publish process now barfs if the specially hacked katie which is used to move the new clamav-data package into volatile.debian.net without a maintainer signature leaves the publication directory (which is to be considered part of queue/unchecked for katie’s environment) in a non-empty stage. This will hopefully catch more katie errors than the parsing of katie’s output, which is of course still being done. After a new package has been built and sucessfully published, the package build directory is cleaned up. All files belonging to changes files older than 60 days are deleted to keep the disk from filling up badly. But that’s an internal matter only which you shouldn’t be noticing at all. Additionally, after the last changes, I have hiked up the verbosity level of the package build process for a while so that I can notice when the new process dies or encounters new challenges. That shouldn’t be noticeable outside my personal mailbox though. One issue that is still left is that the automatic clean up of the Pool doesn’t seem to work for source packages. Binary packages that are not referenced by any Packages file are supposed to be removed after 15 days, but the source packages seem to stay around. I cannot do anything about that, and am targetting aba on this issue.

Marc 'Zugschlus' Haber: exim4 needs gnutls expertise

exim4, sarge’s default MTA, uses gnutls for the obvious license reasons. However, gnutls does seem to have issues of interoperability, which have manifested themselves in a list of bugs, most prominently being #297174, which we are at a loss to debug. Neither Andreas nor me have the knowhow to debug gnutls, and Upstream uses openssl - the gnutls patch was contributed and the author of the original patch doesn’t seem to be around any more. Can anybody help?

Martin F. Krafft: Back to Fluxbox

I am following Wouter's example and returning to Fluxbox. I certainly thought ion3 was an interesting approach and it seemed like it would be exactly what I needed when I saw Erinn show it off to me in Helsinki. However, over time I developed too many gripes:
  • I am a great fan of Enrico's software, buffy in particular. I would like to have buffy stick to ever workspace, ideally along the right edge. This seemed not trivially possible in ion3, where I would have had to create a single static workspace with two panes, then put all my other workspaces into the pane next to the one reserved for buffy. Certainly possible, but a major pain to configure and protect against resizing and accidental closing.
  • Applications like Firefox, dia, and especially The Gimp (to name but a few) were just a major pain to use, especially since I never got the hang of the floating workspace model. My favourite example (which is in line with Wouter's experience): try to crop an image in The Gimp; by the time you set the first click, you'll have the crop dialog in your face, which you have to first move out of the way before you can restart. * Certain transients would be locked to a size that made it impossible to fill in all fields, first requiring you to attach the window to a proper frame.
  • The inability to display dock and status bar on the same head.
There were probably a couple of other minor issues that don't pop to mind right now. All that said, there are certain things I now miss in Fluxbox, which had been my window manager of choice before Helsinki, that I know what ion3 can do:
  • The ability to use your keyboard to switch to a bordering window; I had it set up so that Mod5-<arrow key> (Mod5 I tied to Caps_Lock) would transfer focus to the window on the left/right/top/bottom. My xinerama-switcher module (part of ion3-scripts now) would allow that to work across multiple heads and workspaces.
  • Tagging and attaching a window to another pane, or using the attach command directly to summon a window from somewhere else to the current pane.
  • While grun is a worthy replacement for ion3's F3, I have not found something to replace F4, a prompt with autocompletion for SSH targets; I've really grown used to that.
  • The concise and extensible status reporting done by the various modules in the statusbar, like ACPI status (incl. temperature and CPU frequency), current IP address, WLAN status, and the three CPU load values. Dockapps just take way too much screen estate, and I don't need no graphic frills when I want information.
... and possibly more. Maybe it's time to look around again for a lightweight, keyboard-friendly window manager (and only that) that's not WindowMaker?

Next.

Previous.