Search Results: "tb"

5 June 2006

Philipp Kern: First SoC status report: Reportbug Gnome2 GUI

I was quiet about it for a long time, but here it is: my first Summer of Code status report. For a bigger picture: I am working on a graphical front-end to the bug tracking system Debian uses. Well, at least I am supposed to work on it. First on my list was something else: a Gtk2 graphical front-end for the well-known bug reporting tool "reportbug", which might later be integrated somehow into Debian's Gnome environment. According to the list of milestones I created when I drafted the application in less than an hour (due to the deadline approaching) I need to release a first prototype of such a GUI today. It took more time than expected to work on it, so I have not yet started any work on the main graphical front-end. I started a few days later than expected, due to some delay until the approved applications were published and I also had to learn Python from scratch. This task was not too hard, but I am still often confused by the lack of consistency throughout the language. Compared to Ruby, a language I know reasonably well and in which I already coded much, Python has much more syntactic constructs for primitives and in my opinion this leads to a lack of consistency. But well, one gets used to it... There was once a "original" Gnome front-end, but it is discontinued since some years already. I did not look much at it, neither at the patch in the BTS which should basically bring it to the current Gnome2 libraries. To properly understand the hooks I need to provide for an interface plugin I started from scratch, only reusing the core idea of the old front-end: the use of the GnomeUI Druid. The new GtkAssistant is not yet ready to be deployed, being introduced with the upcoming Gtk 2.10 release. Still I have a weird feeling about the Gnome Druid, because I abuse it just to provide a consistent look. reportbug does not support backing up to a previous question, so the Back button is generally deactivated. reportbug welcome screen reportbug package selection I tried to modify core code as few as possible, as I have not yet talked with the reportbug maintainer Chris Lawrence. I will do so in due course. However after the old GUI front-end code was basically discarded (its usage is discouraged with a prominent notice), many changes to the core code did only take the text interface into account. (Well, I just suppose this, I did not do much research into reportbug's past.) So some tiny changes were needed to provide a few more hooks. There are, however, more to come, especially in connection with one input type (select_options, which could often be implemented as presenting a simple yes/no dialogue). The configuration basically works already, as seen below. What does not work are spawing the right editor and getting a filename from the user interface. But those are minor quirks and not too hard to fix. I need to develop in the open, as specified by the Summer of Code ruleset, and now I could do so, after about four rewrites of the GUI code. The main GUI loop is now in a thread, receiving commands from the main thread running the logic and sending the input back through a queue. (I used a pipe-based approach first, using an IO selector provided by glib, but it did not work well enough and this approach is far simpler.) reportbug configuration screen reportbug configuration screen -- mode selection So the current version is not vapourware, but there is still some more work to do to get it really usable. I will put my work into the Summer of Code Subversion repository as soon as the necessary access privileges are synced onto costa, an Alioth machine. Hopefully it will be merged into reportbug when I completely finished off this project.

Julien Danjou: My buildd

Ok, after some hours, I managed to set up my first buildd (on i386 :( ). That was not so hard after all, but I would have loved a few more documentation.
Anyway, I plan to run a buildd on another sparc box, so I'll write some documentation at this moment. Yesterday eveni^Wnight, I filled up the wanna-build database with all Debian source packages. buildd But... Doh! It seems it found its first FTBFS! What a lovely buildd!

4 June 2006

Dirk Eddelbuettel: Sunburst Races Marathon 2006

Went to South Bend, Indiana, on Friday for the 2006 Sunburst Marathon yesterday morning. This is a smallish marathon with 600 runners, embedded in a half-marathon, 10k and 5k all of which start at the College Football Hall of Fame and end in the Notre Dame football stadium. Early 6:00am start, made worse by the fact that it is one time zone earlier too so I got up at 3:30am 'my time. Ouch. The race almost didn't start as a hazardous materials spill was announced right at start time. Luckily, that got taken care of and we were off and running at 6:15am. The first ten to twelve miles went pretty well and fast, and I slowed down a little afterwards. I started to pay for the fast first half with some oncoming cramps starting around mile 18. Somehow I managed to suppress the cramps with a combination of walking water stops, gatorade, gu (handed out by the race organisers a four or five water stops -- nice!) and sheer stubbornness and some more walking when needed. I had aimed to beat my Boston qualifying time of 3:20 -- and I did with a chip time of 3:17:48, which is also another PR and a nice improvement over the previous three marathons. So on to Boston for the one hundred eleventh Boston Marathon next April!

3 June 2006

David Moreno Garza: World Cup just around the corner

Well, Mexico played three preparation games in Europe on their way to start the World Cup. They played against France and the Netherlands on their territories and well, I think Mexico was not ready enough, it is not solid and the manager was making lots of crazy movements. They ended 1-0 and 2-1, respectively. Obviously those were difficult matches against f tbol potences on their home, but still Mexico has plenty of capacity to beat any of those countries. The third game was against a German university, Gottingen, which was more a diplomatic match (the manager and players didn’t want to play it, but it was because of the chief managers of Mexico, trying to make a good relationship with the city and/or Germany, itself). We won 0-3. Next week, on Friday, the World Cup will begin. The Mexican team will be playing firstly, against Iran, then Angola and finally Portugal, on group D. I don’t see Mexico solid and trustable enough yet, but we’ll see how it goes against Iran, which have been playing widely good (they won Costa Rica 3-2, back in March; drew 2-2 with Croatia and won 5-2 against Bosnia-Herzegovina; these last two in the last couple of days). Iran is not at all, an easy enemy. We’ll see how it goes. I’ll be reporting more World Cup news on the next weeks :)

Jos Parrella: On BTS s merge action

Yesterday I was making some operations on the BTS Control Server and found some nice behaviours that I already reported to owner, and Don answered right the way. If you use reportbug to make an ITP (because, err, you want to) it will say that your mail should be cc’ed to debian-devel, per Policy. It will also cc the report to your address. So yesterday I made an ITP and the mail went out with the following headers:
From: Jose Parrella <joseparrella cantv.net>
...
X-Debbugs-Cc: <debian-devel lists.debian.org>
Everything ok. When it arrived to the BTS, a new header appeared:
Resent-CC: <debian-devel lists.debian.org>,
<wnpp debian.org>, jose parrella <joseparrella cantv.net>
Notice my lowered-case name. I didn’t notice this, and I was merging bugs later, but the merge operation failed because of a case-sensitive mismatch between “Jose Parrella” and “jose parrella”. So there’s an incongruence in what happens when it tries to get the owner from the pseudo headers and when you try to set it through Control Bugs. At least if you use reportbug, be careful if your name is being lc’ed since merges will fail.

Robert Pickel: New proposal and info

You can find a pdf of my new proposal here.
.

The latest source can be found at svn:\\live.debian.net\casper-ng

Visit the Debian-Live webpage for more info.

Note: I am pretty sure the page will be moving next week, so I'll post the new info once that site is up.

2 June 2006

Martin Zobel-Helas: Leaving for DebianEDU Meeting and vacation

I am currently sitting at Berlin Tegel airport and waiting for my plane to arrive. My wife is already on her way to D ren where we both will leave for Madrid tomorrow, where we will pick up h01ger and amaya for the DebianEDU Meeting in Extramadura. Happy to have some vacation now.

Uwe Hermann: OS Install Experiences - Part 3: PC-BSD [Update]


Note: This article is part of my OS Install Experiences series.
I'll continue with the recently released operating system PC-BSD 1.1, which is based on FreeBSD 6.1. This is actually the first time I installed a BSD-like OS, so I thought it would be a bit of a hassle. But I was surprised to find that the install was really pretty easy (which is a major goal of PC-BSD, as I understand it). I didn't even read a manual or installation instructions or anything... Install
  1. First, I downloaded a PC-BSD 1.1 CD #1 image, burned it on a CD, and booted from that.
  2. The first installer screen is text-based (later it's graphical), and allows you to choose between a normal install ("boot FreeBSD"), install "with ACPI", "safe mode", "single user mode", and "with verbose logging". You can also "escape to loader prompt", or "reboot".
  3. While the installer runs, it merely shows a nice desktop background, pressing any key shows you the boot messages.
  4. After a while you can select a screen resolution for the graphical installer, run fdisk, escape into an "emergency shell", chroot into the root partition, or reboot. Default is to start the installation at a pre-selected screen resolution.
  5. You can choose the language and keyboard layout. Although you can click "back" to return to previous steps in the installer, you can not go back to the language/keyboard selection later!
  6. Partitioning. First, you can choose on which disk to install, then choose the partition to use. The list only shows the primary partitions and an "extended DOS" partition. Device names for disks are a bit different in BSD world. /dev/ad0 (counting starts at 0) is the first disk, /dev/ad0s1 (counting starts at 1) the first "partition" (called "slice" in BSD). It doesn't seem to be possible to install PC-BSD on an extended partition (please correct me if I'm wrong), so I installed it on /dev/hda2 (/dev/ad0s2 in BSD-speak), which is a primary partition. To make things more complex and confusing, a BSD slice can contain multiple "partitions" (not the same as Linux partitions!). I now have /dev/ad0s2a, which is the boot partition, and /dev/ad0s2b, the swap partition. Confused? Me too.
  7. Note that changes made to the partition table seem to be effective immediately, there's no way to go back without losing data! Debian's installer is better at this. The default PC-BSD file system is UFS, btw.
  8. The hardware will be automatically detected (worked quite well for me).
  9. You can now choose to either install the BSD bootloader in the MBR, or install no bootloader at all. Not sure what the best thing for me is here, but I decided to install the BSD bootloader (overwriting GRUB). I might have to re-install GRUB (and tell it about PC-BSD) if the BSD bootloader cannot boot the other (Linux) OSes.
  10. Now I must enter the root password, and I can also create another user. I noticed that passwords can only contain alpha-numeric characters (no %$ ,.#+!? and so on). WTF? They can't be serious... Also, you must enter a real name for the normal user, it won't let you continue until you type something... Pretty annoying. There's a checkbox called "Auto-Login User?" which is enabled by default, but I didn't find out what exactly that does...
  11. The network is successfully auto-configured via DHCP. I was not asked for a hostname, but typed hostname after the install and I got PCBSD.localhost.
  12. Reboot. The CD is not ejected automatically, you have to remove it manually before booting up.
  13. I'm asked to insert CD 2 (language packs), which I don't have (or want), as I only burned CD 1. Clicking "abort" does the trick, and I can continue with English as the default language.
  14. Finally, I'm dropped into a KDE session, and that's it.
Security That's it. Comments, suggestions, flames? Update 2006-06-02: Added IPv6 netstat/sockstat output.

1 June 2006

Martin Zobel-Helas: Bug Squashing Marathon

As i already wrote, i am currently organizing a couple of Bug Squashing Parties this fall. My idea is that we have up to four or five BSPs on one weekend around the globe, and this repeated on three weekends directly after the base freeze. This should help us to get the RC count down to some reasonable number so we can release Etch in - this time. As i have been asked to stick to iso 8601 or rfc 3339 date format (yes, i should have thought about this before sending out the announcement), here are the current planed dates (in a better readable format for international readers):
  1. August 11th, 2006 - August 13th, 2006: Testing d-i and fixing bugs in the installation process
  2. September 08th, 2006 -September 10th, 2006: Testing upgrades from pre-release etch and sarge and fix remaining bugs
  3. October 06th, 2006 - October 8th, 2006: Fixing remaining bugs in core packages
The following places so far have been offered to host a BSP: I still hope we get round about 15 different locations world-wide for all events. If none of the dates above meet your diary, but you would be able to host a BSP on a different date within that timeframe, fine with me, just commit it to the wiki. Or your place is not yet listed, do the same. There is not much you need to host a BSP, just online connection, a room/place where the actual bug squashing will happen and a place where non-local DDs could find a place to sleep. See here for more information. Even so it will be a bit stressful i still plan to attend on all of the above weekends to one BSP in Europe.

29 May 2006

Arnaud Fontaine: Planet debian package

These days, i have worked on planet debian package. At first glance, it seemed easy to package but actually it wasn't, mainly due to debconf and FHS problems. A package is temporarily available at this address. The main features of the package is the usage of debconf to configure cron interval and also handles /etc/planet.conf for main options. Any comments are obviously welcome.

28 May 2006

Philipp Kern: XFS on root -- a no-no

You must not try to put your root filesystem on XFS, at least with the current debian-installer used by both Debian and Ubuntu. Even though the installer offers this, the boot code fails mysteriously by not finding an appropriate device to boot from. So it leads to a kernel panic on both distributions just after the installation, without any modification to the boot loader:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
It might be possible to fix this issue by putting some magic into the kernel parameter list. I recall that I had this problem already with Ubuntu Breezy, and even with the help from the Ubuntu powerpc kernel maintainer I did not get it to run properly. I hoped that it is fixed by now, in the standard distribution, but no, sadly enough it isn't. I used reiserfs in the meantime, even though I had some data losses and thus bad experiences about four years back in time. Well, but what's nice with those old Open Firmware Apple products: You get netboot for free. This guide helped me a lot, my desktop now provides powerpc installation images for both Debian and Ubuntu. But then... I only have one powerpc-based computer in my possession. And I won't buy another Apple again, due to the low manufacturing quality of their mobile products.

27 May 2006

Arnaud Fontaine: Google's summer of code has begun

I was really glad to be accepted for Google Summer of Code. My (accepted) proposal was on DWTT (Distribution Wide Tracker Tool) and CRMI (Collaborative Repository of Meta-Informations about source packages) mentored by Raphaël Hertzog. I have worked a bit on DWTT today and have written a webpage on the Debian wiki about the project. I'm currently pondering which is the best python framework to use : Having recently used ZODB (this means Zope Object DataBase) in a project, I think it's a great object database because it's very tightly integrated with Python, which makes it easy to use for programmers. ZODB is python-specific though, whereas SQLObject backends (for MySQL and Postgres) makes it language-independent. In the next weeks i will work on DWTT design. Until june 16, I have a lot of school work, which is why I won't have enough free time to work on the project, hence a slowdown in the project.

25 May 2006

Uwe Hermann: OS Install Experiences - Part 2: SUSE Linux


Note: This article is part of my OS Install Experiences series.
Next up: a SUSE 10.1 install. It's been a few years since I touched a SUSE distribution (it was something like SUSE Linux 5.3 or so), a lot has happened since then... Here's a rough sketch of the installation and a few superficial remarks and facts related to security. Install
  1. First, I downloaded a SUSE 10.1 CD image, burned it on a CD, and booted from that.
  2. The installer that showed up is graphical, and you can choose between a normal installation, booting a rescue system, or running a memory test (uses memtest86, I presume).
  3. While the installer runs it merely shows a rotating logo, but you can switch to other consoles (ALT+F1, ALT+F3, ALT+F4) for watching log messages passing by.
  4. You can choose the language used in the installer, later also your timezone and keyboard layout. You can also check the installation medium, which verifies the checksum of the CD, I guess.
  5. Next, you'll be asked to accept a license agreement (yeeaah, whatever).
  6. Your hardware will be automatically detected (worked quite well for me), and after that you can choose between a new install or a system upgrade.
  7. As for the desktop, you can use GNOME, KDE, text-mode (no desktop), or a "minimal graphical system" (it turns out that means fvwm, at least that's what I think).
  8. The graphical partitioning tool feels a bit awkward at first, I needed several tries until I figured out how to make it use the layout I wanted it to. The default file system suggested by the tool is ReiserFS.
  9. There's an explicit option which lets you choose the default run-level for the system (run-level 5 is pre-configured).
  10. The bootloader, GRUB, recognized the other partitions (Debian stable + unstable), added an entry for SUSE Linux, and created a working setup. Nice, although more control over the process (e.g. naming of the boot options) would be nice.
  11. Reboot.
  12. I'm asked to insert CDs 2 and 3, which I don't have (or want), as I only burned CD 1. Clicking "abort" a few times does the trick, and I can continue by choosing a hostname and domain name for the box (hydra + local.domain).
  13. Now I must enter the root password. Very nice: I have the choice between DES, MD5, or Blowfish (SUSE default) for the hashing/encryption of user passwords.
  14. Afterwards, the network is configured (automatically, via DHCP). You can enable a firewall at this point, and enable/disable access to the ssh port explicitly. It's also possible to enable "VNC remote administration" (default: off), or configure a proxy.
  15. Authentication methods for users, available from the installer: local (/etc/passwd), LDAP, NIS, Windows Domain.
  16. When adding a new user, there are some options. Per default, the user is in the groups "users" (no per-user groups, it seems), "dialout" and "video", but that can be configured. Password expiration is disabled. The default shell is bash.
  17. And now... another registration message (in the release notes, actually). May I quote (from my head): The registration procedure transfers zmd's unique device identifier to Novell's registration web service. The information sent may also include OS, version, architecture, and the output of uname and hwinfo, according to that text. More on that later, maybe...
  18. Of course, SUSE Linux comes with SUSE's/Novell's AppArmor enabled by default, but I haven't looked into it, yet.
  19. Now some problems appeared. More hardware discovery took place, it seems, then the screen turned black (with only a non-blinking cursor in the upper left), no reaction to any input -> I performed a hard reboot.
  20. After booting, I'm dropped into fvwm (although I chose GNOME in the installer), the reason probably being the forced reboot. After looking around a bit in the menus and stuff, I wanted to start sax2 (to find out what it does), but the screen turned black again -> another hard reboot. Could it be that I don't have enough RAM for this (256 MB)?
  21. Anyways, at this point I lost interest in playing with the system any further, and gathered the below information for comparison reasons...
Security That's it. Comments, suggestions, flames?

Andree Leidenfrost: Debian Installer rocks!

I spent some time the past week looking into virtualisation to make installing and restoring installations with Mondo Rescue a bit less disruptive and more efficient. So, I ended up doing a fair few Debian installations. I figured that with all these virtual machines all of a sudden, it would make sense to upgrade my caching-only name server to handle the local network to save me the effort of having to maintain lots of hosts files.

To my pleasant surprise, I found that this also resulted in the hostname and domain being automatically filled in by the Debian Installer (even without DHCP)! Good stuff! Also, the graphical installer in the i386 daily builds is just awesome!

Conclusion: The d-i people do positively rock big time!

21 May 2006

Simon Law: Debconf 6, Day 4


Boarding the bus
Originally uploaded by sfllaw.
The air has been hot but dry, so it's been quite bearable if you drink enough water. On Wednesday morning, we woke up to the sound of rain. I went to the window and looked through the glass slats to the basketball court outside. There were puddles in the middle of the dry pavement, and it looked like it was raining only in those puddles! The droplets just evaporated as they hit the ground. This was a promising start to the Debconf day trip. A large group of us met at the front of the resort, near the reception, where there was a parking lot full of buses. Silver buses that look like they drove out of the seventies. We milled about before boarding, which took a while, because of the "herding cats" problem. Once we were all aboard, we drove off. I was sitting on the first bus and we puttered along until we got to the highway. We drove past roadside stalls and restaurants until we got to a town. After going through that, we got to open fields and then a series of hills and valleys. The little bus climbed the largest of these hills, like the Little Engine that Could, and we finally pulled into a parking lot. The museum in front of us was a green concrete structure, which contained an exhibit. We stood in front of a model of the area, while our tour guide explained the history of the site. We were going to visit the ruins of an old city, Xochicalco, which was built as a fortification on the top of this hill. Since I was never a docile student, I went around looking at things, taking photographs, and having fun. I found the staff lounge where there were people sitting around chatting. There was also a large pool of stagnant, alg clogged water. Nearby, a dog with fleas was scratching and biting herself. I decided to give her a wide berth.

Vision
Originally uploaded by sfllaw.
The rest of the group started heading up a stone path to the old city, so I ran alongside to catch up. By the time we got to the top, we were greeted by some pyramids. Well, they weren't really friendly pyramids, and more like imposing pyramids. I ignored the tour guide again and started taking photographs. I spotted a Tlachtli court in the valley below, which seemed to be in remarkably good shape. The front gates of the city were built to restrict entry, as is normal for a fortified city. In order to actually enter the city, you have to climb about a hundred narrow steps, which is something pretty difficult to do if you're invaders. According to some of the signs that were placed there, it appeared that the city collapsed due to a revolt, as there were plenty of skeletons found near the gates. And because there was plenty of soot on the stones, which indicated a large fire. At the top, we climbed on some of the pyramids. Or rather, other people walked up some stairs and I climbed up them. Which got me in trouble with the local security guards. I suppose I wasn't very good at being sneaky. I should practise more. We left the site and headed to a large restaurant that was just on the side of the road. It's sort of in the middle of nowhere, with only a motel across the street. The staff was warned that we arrived, but they still looked a little panicked, as we crowded inside and took over their restaurant. They had this buffet table set up, which we queued up to serve ourselves. Since it was a buffet, the food and service wasn't of spectacular quality. However, since we had hundreds of people, the food was consumed really quicky and it was very fresh. So it was the tastiest sponsored meal I've had so far. At the restaurant, they kept some pets. There was a dog, a pair of birds, and some others. One of which was the most adorable lizard, who won everyone's hearts. A crowd gathered around Biella Coleman as she petted him. I think she wanted to take him home.

Photographers
Originally uploaded by sfllaw.
After we stuffed ourselves, we climbed back on the buses and drove to Cuernavaca. It had started raining again, lightly, but we got off the bus just after the sun came out. We were greeted by a marketplace in the center of town and given half-an-hour to look around. Since it seemed pretty touristy, I found Biella and Martin Krafft who had the same sentiments, so we walked around the central part of town and played tourist. We found a juice stand that was selling mixed drinks. Martin decided to get an interesting drink, which apparently had too much banana in it. We then decided to find a public restroom, which we did. It advertised very clean washrooms, for only 5 pesos per person. We had reports that it was spotless. Afterwards, we wandered about and found a Japanese-fan store that sold action figures and anime. We then discovered a tobacconist, which got Martin excited. He attempted to buy a cigar, but the person inside refused to sell it to him. It turns out that this was just a friend minding the store, who refused to engage in any business transactions, by proxy. Martin left, and I was disappointed once more by people's misunderstanding of simple economics. The bus returned us to the reception after a rather long drive and I stumbled into the HackLab. On the veranda, people had gathered to have a liquor BoF. Plenty of foreign liquors showed up, including a bottle of Sortil ge that I brought, and they were consumed rapidly. People had trouble staying awake by now, but I'm unsure if it was because of the alcohol. Maybe it's because it was Wednesday.

19 May 2006

Ted Walther: Report from Debconf, Day Five


Me and Anthony Towns
A Debian Pope is born. Tonight was Debians formal night. Fabio drove John Sokol, Hilda, and myself to the auditorium where the dinner was being held. Fabio owns the local internet cafe and provides the internet connection to Debconf. Hilda is a local businesswoman, who owns a dental supply company. Very nice people; a real slice of the real Mexico. Hospitable, friendly, and helpful. We arrived just after the buses arrived and people chose their seats. As a formal diner, I had to wear my official costume, the crown and the clue bat. If anyone wants a genuine replica of the clue bat, the price is $50. If you don't buy it for your office, buy it for your kids; the foam is four inches thick and cannot bruise, cut, or hurt anyone. As soon as I entered the auditorium where the dinner was set up, Juan Diaz from Argentina took the crown from my head and raced away. I chased him with the clue bat. Then I saw that his intention was to put the crown on AJ, Debians newly elected project leader. He did it hastily, illegitimately, and backwards. Reaching AJ, I put down my clue bat and told him to hold still. To the cheers and applause of the entire auditorium, I lifted up the crown, and then placed it on AJ's head correctly, in a style befitting a pope crowning an emperor. Immediately after, we hugged and waved to the happy crowd. By the act of crowning, I am now the Debian Pope. This isn't the cushy job it might seem; some members of Debian really hate popes of any sort. Mariachi rain dance. Soon after the crowning, the food and drink started arriving. The mariachi band started playing their trumpets and guitars, starting off with the Mexican national anthem, which is a fun song to sing but I didn't understand a word of it. The newly crowned AJ came along the tables and organized "the wave" like at a football game. We all stood up and sat down as the wave came around, and made the low moaning WHOOOP sound as it came by us. A few minutes after this the food was set on buffet tables, so everyone got into line to get their meals. The meals were simple. Some meat, some rice and bread, and some salad. A nice meal after a week of rich eating. Beer flowed freely, and toward the end some wine was passed around too. The mariachis must have been a signal, because the rainy season started right after they started playing. First the rain bounced off the tin roof so we could hardly hear the band. As dinner went on the clattering of rain got louder, then flashes of lighting showed through the windows. The roof leaked onto many peoples dinner plates and heads, so we all got cozy with each other, finding places out of the rain. At one end of the hall the rain gushed out of the roof so strongly that the entire wall became a waterfall. Finally the lights went out. Cell phones and cigarette lighters quickly waved around, lighting up the place. Strobe lights from digital cameras gave the place a disco atmosphere. Slowly the emergency backup lights came on, then a few minutes later full power was restored. The rain did stop after that, but many people chose to leave shortly after, including yours truly. The Pope is assaulted. Several acts of rudeness and aggression were committed against myself and my guest, a local businessperson. I'm going to wait until tomorrow to see how Debian responds to this inappropriate behavior. If it is resolved to my satisfaction, I'll see no need to name names or post the details in public.

Martin Zobel-Helas: Playlists for tower and hacklab

One can usethe following Playlist URLs for Hacklab and Tower (for EU streaming mirrors), or Hacklab and Tower (for US streaming mirrors)

18 May 2006

Christian Perrier: Debconf - day 3

I was a bit lazy today and mostly attending nothing. Not saying that the talks were not interesting, but mostly I wanted to work on a few pending stuff such as this damn Xorg debconf templates rewrite and the subsequent French translation update (a huge one). Being in the hacklab most of the day lead me to good discussions with many people, out of which I'll keep a very long talk with Otavio Salvador. We could some day have a dedicated server for Grisu's work on the DDTP to be hosted while it is used y some translators as a testbed for a future infranstructure. I also attended the interesting "Debian in Latin America" BOF, even though it was in Spansih. It was good to get a picture of how building a community in Latin America is facing challenges. The discussion was animated and very nice with valuable interventions and good animations. Kudos to Anibal and Damog who animated it. Oh, I went assassinated during the day. I won't tell more, of course (except that now you are safe when meeting me, folks...I shouldn't even tell that, but anyway....). This sucks and I hate my murderer....:-)...I will find ways to revenge, believe me, pal. The day ended with the Wine and Cheese party. It was indeed added in the official schedule, so we felt in duty of organizing something nice. And, actually, I think it has been nice with something like 40 different cheese varieties around the table. It bringed a big crowd near the hacklab and triggerred a more than great moment, I think. So, it sounds like a Cheese Party is now becoming an official rendez-vous for all Deconfers, so see you in Debconf7 Cheese and Wine party, which will be huge. Mako, Hannah and Matt, we missed you on that one (Matt, where the hell were you?).

17 May 2006

Christian Perrier: Debconf - day 3

I was a bit lazy today and mostly attending nothing. Not saying that the talks were not interesting, but mostly I wanted to work on a few pending stuff such as this damn Xorg debconf templates rewrite and the subsequent French translation update (a huge one). Being in the hacklab most of the day lead me to good discussions with many people, out of which I'll keep a very long talk with Otavio Salvador. We could some day have a dedicated server for Grisu's work on the DDTP to be hosted while it is used y some translators as a testbed for a future infranstructure. I also attended the interesting "Debian in Latin America" BOF, even though it was in Spansih. It was good to get a picture of how building a community in Latin America is facing challenges. The discussion was animated and very nice with valuable interventions and good animations. Kudos to Anibal and Damog who animated it. Oh, I went assassinated during the day. I won't tell more, of course (except that now you are safe when meeting me, folks...I shouldn't even tell that, but anyway....). This sucks and I hate my murderer....:-)...I will find ways to revenge, believe me, pal. The day ended with the Wine and Cheese party. It was indeed added in the official schedule, so we felt in duty of organizing something nice. And, actually, I think it has been nice with something like 40 different cheese varieties around the table. It bringed a big crowd near the hacklab and triggerred a more than great moment, I think. So, it sounds like a Cheese Party is now becoming an official rendez-vous for all Deconfers, so see you in Debconf7 Cheese and Wine party, which will be huge. Mako, Hannah and Matt, we missed you on that one (Matt, where the hell were you?).

Matt Brown: Playing With ZoomIn

I signed up for a ZoomIn API Key (not that it seems to be needed atm…) the other week and finally got a chance to have a play this past weekend. My test case was to build a map of all the CRCnet sites and the links between them to use as a plugin in the CRCnet Configuration System. Either as a dynamic status display (colouring links to show traffic loads and status etc) or as a network planning tool to get a feel for the relationship between existing sites and potential new locations. Obviously the lack of topographical information makes the second case far less useful than it could be, but I think even in 2D it would still be a useful tool. Getting the points onto the map was relatively straightforward, but adding any sort of hover event to them was another matter. The GEvent class currently only supports the click event and markers are not added with any other identifying attributes (such as an ID or Name) which could be used to hook an event into them. After a quick squiz at the Terms and Conditions, I grabbed a copy of the API javascript and after unobfuscating it (basically just adding back in line breaks and running in through indent(1)) started to have a squiz at what was happening. The API code is very nice and clean and it wasn’t at all hard to work out what was going on. Mozilla’s Venkman javascript debugger absolutely rocks for this sort of work. It allows you to step through all the scripts on the page line by line and quickly get a feel for the flow of the code. Adding support for the hover (onmouseover) event doesn’t look like it would be too hard, but the T&C didn’t explicitly mention whether I was allowed to actually modify the API code, so I choose to simply create a CRCnetMarker class (see below) that creates GMarker object and then pokes id attributes onto the internal objects of that class before returning it. Then once you’ve called addOverlay you can use the basic DOM functions to hook in an onmouseover event handler on the ID of the marker.
var CRCnetMarker = function (sitename, point, icon)
 
    var marker = new GMarker(point, icon);
    marker.icon.id = "crcnet_container_" + sitename;
    marker.icon.firstChild.id = "crcnet_icon_" + sitename;
    marker.addEventListener = function (eventname, handler)  
         b = document.getElementById(marker.icon.firstChild.id);
         b.addEventListener(eventname, handler, false);
     
     return marker;
 
var marker = new CRCnetMarker(new GPoint(2704685.21,6367057.51), "mph");
map.addOverlay(marker);
marker.addEventListener('mouseover', hoverHandler);
That worked like a charm and I now have nice little info boxes popping up next to each node when you hover over them. I also discovered in the process of implementing this that Prototype and ZoomIn do not play nicely together. It appears to be Prototype’s fault as it messes with the Array type by adding new methods (like each for enumeration) which break the builtin for (i in array) syntax when the array contains non-numeric keys (like each). This has been reported in the prototype bug tracker as breaking Yahoo Maps but the comments don’t seem to offer much hope for Prototype’s behaviour changing anytime soon which is a pity. The next roadblock was a lack of support for drawing lines! This put the kibosh on the whole animated network status idea. Trolling through the source again reveals a GPolyLine class that appears to be semi-implemented, so hopefully support for drawing lines is coming very soon. The only other thing I found slightly annoying was having to supply all the co-ordinates in NZGD49 format. Most of our GPS information for CRCnet is stored in WGS84 format (as that’s what our older GPS unit puts out). NZGD49 has been deprecated in favour of NZGD2000 (which is near enough to identical to WGS84 for normal use) so I’m not really sure why ZoomIn is still using NZGD49. Maybe that’s all TerraLink can supply? Some quick googling turned up the proj library (apt-get install proj in Debian) which provides the cs2cs utility which can convert from WGS84 (aka NZGD2000) to NZGD49 to feed to ZoomIn. The magic peice of information is the transformation parameters which LINZ helpfully provide. Punching those (I chose the 7 parameter version) into cs2cs via a command line like

echo "$lat $long" /usr/bin/cs2cs +proj=latlong +datum=WGS84 +ellps=WGS84 +towgs84=0,0,0 +nodefs +to +proj=nzmg +datum=nzgd49 +ellps=intl +towgs84=59.47,-5.04,187.44,-0.47,0.10,-1.024,-4.5993 awk ' print $1" "$2 '

performs the magic conversion. The conclusion?
Overall I think ZoomIn rocks and it’s really cool to see a small NZ company filling in where Google and friends have failed miserably. The biggest weakness at the moment is definitely the API, which doesn’t really allow you to do much more than add points at this stage. Given that ZoomIn is still relatively young the leanness off the API is understandable. Given the API a few more months to mature and fill out and I think we’ll be able to create some really cool applications on top of the ZoomIn platform. Screenshot:

Next.

Previous.