Search Results: "ag"

16 August 2006

Daniel Baumann: Happy Birthday Debian

Debian turns 13 today, congratulations to the whole Debian universum and thanks to everyone who has contributed to this longterm success story. Birthdays are always some sort of breakpoints in life, where people making a pause, looking back what they have done in the last year and what they are planning to do in the next year, similar as on New Years' Days. In the past years, I have not done much for Debian except some simple package maintenance. Here are some statistics as of today. debian.org backports.org And now to the future... I don't think that I will change my way how I give a little bit back to Debian in compensation for how much I am taking from it. There is always need for people doing higher level tasks, such as various teams in Debian already do. However, people doing the grunt work of simple packaging are also needed, and that is where I'm happy with (remember: never change a running system :). I have still some packages to introduce on my todo list... Nevertheless, I'm interrested in doing QA work (such as with piuparts), and maybe, if I have the time to further advance my Esperanto, I'm even able to help out with translations. But both things will, as far as I think at the moment, be of less priority to me. For my work at Debian Live and Debian Unofficial, there will be a dedicated report soon.

Lars Wirzenius: Random thought: TDD doesn't eliminate debugging

Martin, I know about TDD, thanks. It is great for preventing all the kinds of bugs you expect to make (or make again), and can write test cases for. Been using it for years. It's part of what I meant when I said "every now and then a bug slips through, and then I'm screwed". It doesn't, however, help, when something really unexpected happens. For example, who would have expected beforehand to write a test case for the Pentium floating point bug? Not just a test case of whether floating point arithmetic works at all, but a test case specifically for the small number of special cases in which the original Pentium failed. It's for the unexpected cases where you really need your debugging skills. That's what the book is good for.

Lars Wirzenius: Debian Inquirer: Etch release delayed by one year

The release of Etch, the next full release of Debian, will be delayed by a year. Sources close to the release managers revealed the change in the release plan to the D-Inq. before it is announced publically. The source, who calls himself (or is it herself? we're not telling) with the covert nickname "twin", told the D-Inq: "I'm, like, close to the are ems, y'know. I, like, live in Europe and listen to ABBA. Andreas calls himself ABBA on IRC, see." The reason for the delay: the co-incidental occurence of two mystical omens. First, this year is Debian's thirteenth year, and thirteen is always a bad omen. Says twin: "It's, like, bad luck and all." Second, the number of release critical bugs is now 666. "That's, like, the number of yeast, or something", reveals our source. Apparantely the release managers could have dealt with either omen alone, but not with both of them at the same time. Once again, D-Inq. has the scoop! And we verify the reliablity of our sources!

Aigars Mahinovs: DVFS

My plea has been answered by a DVFS project specification. For some strange reason, my edits do not show up in the freedesktop.org wiki page and the blog of its creator is not reachable, so I post it here. I am very interested to help develop this tool and then use it in Simple Backup Suit (sbackup). An additional feature that I would love to see is automatic splitting of a file into several chunks. In an ideal work it would be possible for me to get (in Python) a filehandle-like object that would compress the data (gzip/bzip/..), encrypt it (with simple encr. or gpg style), transfer it over network (ssh/ftp/dav/smb/…) and then split into 100 Mb pieces on the remote server (to overcome possible max filesize problems with 10,50 or 100 Gb backups). And have the freedom of flexibility of activation of each element of this chain when creating the file handle. Also the interface must react in exactly the same manner regardless or the backed being user (for example opening non-existing files must always rise the same error).

Dirk Eddelbuettel: RQuantLib 0.2.4

A new RQuantLib package 0.2.4 was uploaded to R's master CRAN host and Debian. The principal changes are a small ajustments to work with the new QuantLib release 0.3.13, and the addition of some first unit tests. As of right now, this version will not build in Debian testing due to problems with g++-4.1 (see #383251). It works on unstable, and should work with either a slighly older g++-4.1 or g++-4.0. However, as CRAN runs Debian, it may not be until a fixed g++ hits testing that this package will hit the CRAN mirrors. There's always my page as a fallback.

Felipe Augusto van de Wiel: 15 Aug 2006

13 years...

[Debian]
Happy Birthday!!! I was waiting a little bit, in other parts of the world Debian is already celebrating, now people from Brazil (and also UTC-0300) can join the party! Last Saturday our Debian User Group celebrate the Debian Anniversary with a big barbecue, sports and good conversations during the entire afternoon! Next Saturday (19.August) different Debian User Groups in Brazil will coordinate the Debian Day in different cities at the same time. Have fun! 13 years of Debian and counting! :-)

In a quick note, I'm still moving ahead with my NM. I have to fix a few points on my packages (and I'm still waiting my sponsor -- Hi Otavio! -- to upload a couple of packages). And I have a few more to work on, I hope I find the time in the next days.


[Random Stuff]
At Monday (14.August) night (20h 00min UTC-0300) I visit (pt_BR) a very small city in the state I live in Brazil. They invited me to speak about Debian and Free Software for a group of students and also for locals. It was a nice talk and one of the things that got my attention is the number of women interested, of course, I told them to visit the Debian Women Project (which reminds me that I need to translate the site -- and lots of other files). Back to the work!

Barry Hawkins: The long-overdue release of java-package 0.28

An updated java-package will hit unstable in the next mirror pulse. Apologies to all for the delay; my discretionary time and that of my sponsors has been rather sparse for some time now. There are at least 9 bug reports addressed in the release. All users who have a JRE or JDK packaged by a previous version of java-package are encouraged to first remove their existing packages and then install an updated one generated by 0.28. Again, sorry for my low level of productivity for Debian, but paying my bills and being a new dad has been quite taxing (albeit rewarding) the past nine months.

Evan Prodromou: 28 Thermidor CCXIV

I spent most of the day today putting polishing touches on the OpenID MediaWiki extension I took to Wikimania a couple of weeks ago. It was fun to work on, but spending a lot of time with Jonathan Daugherty of Janrain Inc., David Recordon of Verisign and David Strauss of Four Kitchen Studios let me know that there was still a lot of work to do. Needless to say, helping kate of Wikia and Travis of wikiHow step through the installation and testing also was a humbling experience. "No... don't do that... Ouch... No, I didn't think of that... Uh, I'll definitely get to that later..." Probably the most painful moment was having about 4 people all at once exclaim in horror that I was storing searchable data inside a blob in the database. "Uh, see, it was just easier that way..." Harsh stares for Evan, you can believe. So today I've been sanding a few of the rough edges and doing some optimization (indexed columns -- what a concept!) and otherwise fudging with the code to make it work better. Jonathan had done some quick hacks at the conference, and I've been adding in his patches as well. tags:

Tha Grill Maj, Amita June and I went out to dinner at the Tha Grill on rue Laurier and St. Laurent this evening. We had some anniversaries to celebrate, so it seemed like a good day to go out for dinner at a new restaurant. The Grill is at the portal between Montreal's Plateau Mont Royal hipster neighborhood and foodier-but-also-hipster Mile End. It's got huge, open windows on St. Laurent and we got to sit right off the sidewalk, perfect people-watching spot. The room is big and airy with pleasant wood details and lots of Thai statuary -- all in natural wood tones. It's a very nice room. The food was great, too. We got crab claws in curry sauce, and a green curry, with papaya salad and fried squid as appetizers. It was all done very nicely. Most pleasant was the proprietor coming to our table with small, heart-shaped slices of melon d'eau (watermelon) for Amita June. Les enfants sont sacr s en Tha land, he gave as explanation: that is, children are sacred in Thailand. Ah, if that were only the case everywhere. It's hard to see summer slipping away in Montreal -- especially since we're off to Wikisym this weekend, and by the time we come back it will be a few days into September. Such a good place to be when the sun is warm, really. tags:

Philipp Kern: Drag'n'drop for Ruby-GTK2

Uh, yeah. So I "lost" a whole day due to two "signals" missing in the ruby-gtk2 wrapper. Both GtkTreeDragSource's "row-draggable" and GtkTreeDragDest's "row-drop-possible" are implemented as virtual functions, instead of plain signals. This means that a new gobject class needs to be created to properly use those callbacks. Well, Armin Burgmeier and I had a nice long Gobby session (completely over IPv6 by the way, welcome to the bleeding-edge of technology, where no port forwards are required) about this problem. Him being the main developer of Gobby, he knows much about Gtk, so finally we came up with this patch, which adds both functions as signals to the Ruby-Gtk API. It's sad that my program will require a patch to the GUI wrappers in order to run correctly, but this is, as far as I see, the only way to get proper drag'n'drop in Ruby.

15 August 2006

Martin F. Krafft: Test-driven development

Lars, I strongly suggest test-driven development. It seems to preemptively do the most relevant of what the debugging rules you quote instruct you to do later. The principles:
  1. design your interface
  2. write tests that fail
  3. write the code to make the tests stop failing
  4. refactor
  5. lather, rinse, repeat
It's a philosophy that anticipates bugs and errors, yet it uses that very fact to guard against them. Test-driven development has changed the way I (and many others, I learnt it while becoming a Plone developer) plan, design, think about, and implement code. And yet, it's really not far away from how you're already doing things. Really. For C++ coders, I recommend libtut, which is elegant and non-intrusive. PS: The definitive (and quite good) book on test-driven development by Kent Beck is only 200-something pages, so it's also in the domain of shorter books. Update: sorry, liw, for making it sound like I assumed you had spent the last years in a cocoon or cave or curled up in a corner. I didn't intend to doubt that you know of TDD, just wanted to get that off my mind what your post put there. And of course, I agree with you: TDD will not eliminate debugging. But it will make your debugging sessions a lot less frequent, even though the really long and painful ones are exactly those that it won't prevent...

Mario Iseli: OpenLDAP, LUG-Seeland, School

Today was a strange christian day here in Kanton Solothurn and I didn’t have to work, so I had a lot of time to prepare my presentation for next Friday about OpenLDAP. First of all I prepared the stuff for the school which begins tomorrow, so my holidays are now definitely past :-( . I was excited that I didn’t receive my timetable by snailmail so I had to google and found it finally. Poorwise i have now to stand up very early in the morning, my train goes at 07.07 in the morning. Now to OpenLDAP, fortunately Mathias Weyland, the president from the LUGS, gave me a book about OpenLDAP from O’reilly, I really like it: It’s quite informative and sometimes the author is making some jokes. Priska Rubischon already bothered that i have to tell something about netgroups and autofs, this was completely new because I newer worked with NIS (and netgroups etc.) and neither with autofs (in most cases I use samba and libpam-mount). It’s not so difficult as i thaught. OpenLDAP in Debian comes with nice schemas which help to migrate from NIS to LDAP, so I had a look at those schemes and the chapter about netgroups in the book. Also autofs is not complicated, for example, if you want to share /home to the clients you have to prepare a NFS-Server which shares this directory and configure /etc/auto.master and /etc/auto.home on the clients. These two files can lookup where and how it can mount /home. On my testing-infrastructure I just used netgroups for the NFS-exports, so I have now an example what they’re for. After all I realized that my speech will also be about “How do I plan a network in a company”, so I realized that the security of LDAP is also very important. Fortunately OpenLDAP can be secured quite hard, it supports SASL and KERBEROS_V4 authentication mechanisms! When I would realize now a network i would do the following: I still ask me how i can protect my netgroups so that nobody can plug computer “x” out and plug in his computer, take the IP of “x” and mount the NFS-shares. Kerberos as user authentication would be a solution, but I don’t really like it. As I already told I prefer libpam-mount, with it’s help it would be possible that every user gets his share mounted maybe over smb. Now I will search for a solution how i can properly secure NFS, so it does only allow connections from users@boxes authenticated with LDAP and not user@host-which-can-be-faked. If you have an idea feel free to write it down here in my blog! In the evening I went to “Biel” by train to join the LUG-Seeland meeting. Beat Fasel explained me a lot about genetical biology, his work and the evolution, this was very interesting. Later we talked about the future of our community, I will prepare bylaws for the next meeting which we will sign. Other ideas were about preparing an install event and a mailinglist because we don’t have communication over the internet and this is quite complicated if we want to organise something in teamwork.

Lars Wirzenius: Review: Debugging by David J. Agans

I hate debugging. I strongly prefer writing code that works to finding problems in code later. Because I hate it, I've never been good at it. I've never spent the effort to figure out a good, systematic way to find a bug. Instead, I've developed ways of avoiding them. In the long run, this isn't the smartest strategy: every now and then a bug slips through, and then I'm screwed. Worse, sometimes I need to debug other people's code. David J. Agans's book Debugging is a gem. It crystallizes an approach to debugging that feels very good to me. In summary: None of these should come as a surprise to anyone experienced in programming, of course, but I've never seen them presented together, or so well. Agans's genius is not that he's come up with a new debugging method, but in presenting the obvious aspects of the debugging process in a clear, logical manner. Also, he has funny war stories. The book is written in a fairly chatty manner, with many jokes. The style, or the jokes, don't get in the way, and they may help remember particular points better. It's a fairly short book, at about 170 pages. I like that: I dislike the modern tendency of making computer books so thick and heavy that future civilizations will assume we used them for bricks. It's only been a few days since I read the book. It's already made me a better programmer. Highly recommended.

Steve Kemp: Dancing with you all the time, and don t you think that it s a crime

A busy night which resulted in a new release of xen-shell, this coincided with me noticing that is being used by a Dutch ISP. (Fun sometimes googling your own name, or the name of software projects!) I’ve added the project to freshmeat, under the obvious name, but no Debian package yet. I will probably make one soon though. After that I fixed many many bugs/feature suggestions reported against xen-tools by Henning Sprang - a name I know a lot from the Xen lists. Assuming I don’t get distracted there will be a new release of that tomorrow. All the tests pass, and the code seems to work so I’m pretty sure it’ll go OK. I’ve noticed though that my release speed is almost inversely proportional to the number of interested users.

Ross Burton: Yet Another Flickr Uploader

Following the grand tradition of rewriting new programs instead of improving existing ones, I've written a Flickr upload tool in Python. It's called Postr, but luckily that string isn't exposed in the UI. Flickr Uploader It's not yet ready for a 0.1 release, although it's close. You can drag-and-drop images to the application, set the title, description, and tags, and then upload. It tries to be clever: the EXIF thumbnail is used in the interface if it exists to avoid loading the entire image, and if the image contains an EXIF ImageDescription field that is used for the description automatically. My next task is to fetch the list of tags and present them to the user in a useful way. If anyone wants to have a play with it, then the source is available via bzr in this repository.

Thom May: Apache 2.2 finally hits debian

Yup, the long wait is finally over and thanks to a cast of thousands 2.2.3 is now in experimental. I’d like to extend thanks to Mark and Canonical for sponsoring much of the original work, and also the sprint at the start of this year that got most of the remaining work done. What we really need now is lots of upgrade reports so we can figure out how much automated help a 2.0->2.2 upgrade can reliably provide, and also where. I’ve been running these packages in production for some time so I’m not that concerned about overall stability, but I’ve not been using some of the weirder modules. We also need to get third-party module packages to stage updated packages into experimental built against 2.2

Joey Hess: ikiwiki milestone

First significant software project to use ikiwiki for its web page (aside from my own code): ion (announcement) Well, so it turned out not to be the Hurd after all. I'm very happy to be of service to a window manager that has been of such great utility to me. Tuomo had some pretty sharp insights about ways ikiwiki could be improved, although it took me a while to get around to doing some of them.

Gunnar Wolf: Speaking of which...

A couple of days ago, I replied to Madduck's post regarding unhappiness with XFS. Ben replied with a trackback as well: He's also moving away from XFS. And... Well, I noticed the unavoidable: XFS, in the end, _did_ eat my data.
I use a chroot in my desktop machine as a backups server, for two other machines. The backups are done three times a week. And last time, they failed. Why? Because /dev/hdd2 is not mounted. Why?
mosca:~# mount /dev/hdd1 /var/backups
mount: Unknown error 990
Oh, nice, great and stinky shit. Ok, lets fix it...
mosca:~# fsck /dev/hdd1
fsck 1.39 (29-May-2006)
If you wish to check the consistency of an XFS filesystem or
repair a damaged filesystem, see xfs_check(8) and xfs_repair(8).
mosca:~# xfs_check /dev/hdd1
* ERROR: mismatched uuid in log
*            SB : ed5d0cc4-487b-4ee4-95c8-6cc2fe441562
*            log: ed5d0cc4-487b-4ea4-95c8-6cc2fe441562
ERROR: The filesystem has valuable metadata changes in a log which needs to
be replayed.  Mount the filesystem to replay the log, and unmount it before
re-running xfs_check.  If you are unable to mount the filesystem, then use
the xfs_repair -L option to destroy the log and attempt a repair.
Note that destroying the log may cause corruption -- please attempt a mount
of the filesystem before doing this.
Fortunately, that's only some backups and a very untweaked chroot, made easily with debootstrap... But still, that's something I'll have to work on this evening. Sigh, as I didn't have enough pending work already :-/

Norbert Tretkowski: Activity in the slrn cvs repository

Last week Thomas Schultz added a patch from Felix Schueller which adds iconv support for incoming and outgoing postings to the slrn cvs repository. I already prepared an updated package for experimental and uploaded it. Use it with care, there are known bugs.

MJ Ray: Cyclists Dismount - Inflammation of the Bladder Return!

South Wales Echo: Road sign leaves Welsh-speakers bewildered tells how council roadmenders near Cardiff put up a sign saying "Inflammation of the Bladder Return" instead of "Cyclists Dismount". A local Welsh-speaker said mistranslations were common 'but we don't often get them quite as insane as this.' (seen via Wheelism).

Gunnar Wolf: FUSE vs. GnomeVFS?

Aigars: I agree with Womble's comment in your blog. Maybe GnomeVFS is just way too much? Maybe it could be substituted by an on-demand FUSE-based mounter and unmounter? It seems to me it'd be saner to get all the relevant file manager GUIs (or plainly UIs, maybe even some overpowered shells) to be able to interpret an URL request as just a call to said script and a local filesystem operation? Mounting via FUSE in a protected, per-user area, and then just unmounting after a given inactivity timeout.
Yes, I know GnomeVFS is able to do all that and more. But as it's always the case with Gnome and me: I doubt most of the times you need all the "all that". And probably there are saner ways to implement it than via yet-another-layer-for-yet-another-already-solved-thing.

Next.

Previous.