Search Results: "agi"

1 February 2006

David Nusinow: X.Org: Oops

Last time I blogged about the libglu situation, which I explained was necessary because of the C++ ABI transition in changing over from gcc3 to gcc4. libglu is the one library written in C++ in all of the X.Org source tree, so it was the only one that had to be broken.

It turns out we were wrong about that. libglu is indeed written in C++, but Marcelo Magallon pointed out that it only exports a C ABI, and as such it doesn't need to be transitioned. I have admittedly little experience with shlibs myself, so I didn't know such a thing was even possible, and no one else caught it either. The next version of X.Org, which will be uploaded as soon as I can get it built, will have this fixed, and nvidia-glx, and everything that depended on xlibmesa3-glu will hopefully install just fine once that goes in. Sorry about that everyone.

In addition, this upload should have correct MANIFEST files for all arches, which will hopefully allow it to build successfully on all of them. This will allow X.Org to transition in to etch after a week and a half. This will also unstick gnome 2.10's transition in to etch, which is now tied up with X.Org. Daniel Stone helped pull those MANIFEST updates together, which has been a huge help, so you should send him your hugs 'n kisses. There is an issue with libvgahw which a lot of people have reported, which causes problems when you switch to a virtual text console and then back in to X, which should be fixed in this upload as well (you can thank David Mart nez Moreno for tracking that one down before I could even blink). Finally, xterm bold fonts have been looking like garbage, but Eugene Konev came up with a patch to fix that, which I'm working on rolling in right now.

So if all goes according to plan (that's your cue to laugh mercilessly at me) the next upload will move in to testing just fine, leaving us with room to make larger improvements in the X.Org packaging, as well as working towards getting the (currently unreleased) next version of X.Org in to Debian.

31 January 2006

Edd Dumbill: GObject subclassing in Ruby

Thanks to everybody who wrote in with suggestions following on from my initial Ruby GNOME investigations yesterday. After talking at cross purposes for some time in a bug report with a Ruby GNOME developer, I was pointed to a good example of how to do what I wanted: subclassing a GObject in Ruby. This is something that the Mono Gtk# bindings do so well, I'd forgotten the required mechanics. Here's a simple subclass of button. I've highlighted the required magic in bold.
class MyButton < Gtk::Button
attr_accessor :hitcount
# tell the GLib object system this is a new type
type_register

def initialize(text)
super("label" => text)
self.hitcount = 0
end

# rather than overriding 'clicked', we must
# override the signal_do_clicked method
def signal_do_clicked(*args)
self.hitcount+=1
super
end
end
The type_register call registers the new class with the GLib type system (something the Mono bindings do for you automatically).  The second key was knowing the name of the default signal handler, which turns out to be of the form signal_do_signalname. So, to follow up yesterday, I hadn't found a bug, merely a gap in the documentation. Thanks to Masao Mutoh for taking the time to answer my questions. For comparison, here's the same implementation in Gtk#. There are pros and cons of both languages. Ruby's succinct attr_accessor is balanced by the neat GObject-aware subclassing and the constructor inheritance of C#.
class MyButton : Button  
private int hitcount;

public MyButton (string text) : base (text)

hitcount = 0;


protected override void OnClicked ()

hitcount++;
base.OnClicked ();


public int HitCount
get

return hitcount;

set

hitcount = value;


Zak B. Elep: Itinerary for Feb: AsiaBusinessTour and BOSF

In a little while I’ll be packing my things: clothes (with a few formal attires), a couple of (C/data structures) books, some snacks (Nerds!) and spare change (no bills). I’ve yet to see all of them fit in my backpack, so I’ll probably bring a couple of bags. Tomorrow, I will be bound for Manila yet again, much earlier than usual, for the AsiaBusinessTour on Thursday. And on the 16th, there will be the Bicol Open Source Forum in Legazpi City. Joseph Davidton Cadag invited me to be a speaker; I’ve yet to accept, but I’m leaning to it, especially since this would be a great opportunity to speak more about FOSS to my fellow Bikolanos. Also, its a nice time to meet up with Irvin Piraman who will be giving some Ubuntu CDs in the Forum too. I just hope I can finish my (re)packaging of ecb which I ITA‘d since last August. There is a package of the new upstream version already, but there seems to be a lack of Debian sponsors who can look into Emacs-related packages. sigh

30 January 2006

Edd Dumbill: Beginnings with Ruby GNOME

A while back I started porting the GTK examples from Mono: A Developer's Notebook to IronPython and Boo, the results of which are available in my Subversion repository. Although I've not finished that task yet, I thought I'd investigate the state of the Ruby GNOME bindings by porting those same examples. They have the advantage of increasing gently in complexity. Before I go on, you can find the work in progress posted in the ruby-gnome/monodn branch of my Subversion repository. Now for a few observations. At the basic level, Ruby GNOME has a lot in common with all the other GNOME bindings out there. One distinguishing feature however is signal handlers, which take a Ruby closure as an argument. Look at this handler for closing the window, for example:
w = Gtk::Window.new("My Window")
w.signal_connect("delete_event") Gtk.main_quit
This is fine for simple handlers. Developers wanting to reuse handlers might wish to specify a method here to use. The best way of doing this I've found is:
def my_handler(but)
   ...
end

button.signal_connect("changed", &method(:my_handler))
This involves a little bit more magic, as you can see. I've also run into an unexpected barrier with subclassing and the class default signal handler. The subclassing example from the Mono Notebook shows an example of overriding the clicked method of a Button. In C# this looks like this:
class MyButton : Button  
...
protected override void OnClicked ()

  hitcount++;
  base.OnClicked ();
In Ruby I would write this:
class MyButton < Gtk::Button
...
def clicked
  self.hitcount += 1
  super
end
However, when you click the button it's clear the overridden method isn't being called. I've filed a bug with what I think is the underlying problem. In this instance, I worked round it by adding a signal handler in the constructor:
self.signal_connect("clicked")    b  b.hitcount += 1  
At the moment it feels like I'm writing rather C-like Ruby, rather than it being idiomatic. But then again, I am porting examples from C# in as literal manner as possible, in order to facilitate comparison.

NOKUBI Takatsugu: File::Magic 1.26

Today I released File::MMagic 1.26 and uploaded to CPAN. It would be appeared soon. And already uploaded it in the Debian unstable archives.

29 January 2006

Michael Janssen: How to become more interesting to people

Everyone would like to be more interesting. While this seems like a broad statement which can't possibly be true for all people, I am confident that it is true for most. Even if you aren't a person who is driven by social interaction, if asked "would you like to lead a more interesting life?" most people would answer with a yes (ninjas and pirates need not apply, I think). There are very easy ways to make your life more interesting - you can volunteer somewhere, change your habits, or go out and party all the time. Unfortunately, some of these things aren't interesting to you, and they may be downright boring. So an ideal way to make your life more interesting would catch not only other people's interests, but yours as well, raising the whole world's interest level. The device today which garners the most attention is, arguably, the TV. It sits ensconced in the middle of almost every living room in America. We watch TV so much that there's a considerable market for devices which make it easier to watch, either by time shifting or space shifting . If we're guaging the interest of people just by what gets the most eyeballs, the TV wins hands down. So if you want to be more interesting, and whatever's on the TV is the most interesting thing around, it stands to reason that you should emulate what you're watching. I'm not saying you bust into a hospital and start performing surgery just because you like ER, or start having saucy affairs with the other families on your own personal wysteria lane, but people can make small decisions which make things more interesting. This is all a long-winded and round-about way of coming to my point, however. In most TV shows, the TV plays a very small role, if any at all. How many times do you ever see a TV screen on a sitcom? Almost never. They are always off screen, obviously not interesting enough to put on camera. There's no "watching the tube" show, in which everyone watches the TV. It's because that's boring. This suggests that if people want to be more interesting, they should just reduce the amount of TV watching they do. In most shows on the tube, the only reason they watch TV is because of some specific purpose relating to the other, non-TV-watching. things which they are doing. Also there are very few if any big screen TVs on TV - I would bet someone that I've never seen even a 35 inch screen ever on TV. Smaller TVs and a minimal amount of TV watching make for more interesting lives.

Dirk Eddelbuettel: BHL, as reviewed by the NY Times

Having lived in France for a few years in the early nineties, it was hard not to notice BHL. Also called Bernhard-Henry L vy. In France, if you are somebody, you get called by your initials. BHL, the philosopher turned into a media-savvy writer and journalist was just about everywhere. Even I ended buying one of his tomes. [For those unaware of the cult of BHL, compare the very lengthy and admiring French Wikipedia article with the disclaimer-sporting short and sceptical English counterpart, or even, for completeness, the barely existing German one.] Well, fast-forward a dozen years and who marches onto Jon Stewart's stage at the Daily Show this Wednesday: Bingo, BHL himself. In the usual uniform: suit, spotless white shirt, perfect hair, though less of it than in the days. In rather passable English he gets to plug his new book on travelling the States. Of course, it's tough to be French and to write about the US as de Tocqueville is the inevitable comparison... So tough that the comparison has to turn into a take-down somewhere. Today's NY Times has a review of said book that is so highly entertaining that I cannot help but recommend it most highly, even if you never heard of BHL before. If the Times is this vitriolic, I can't even begin to imagine what a review in the WSJ would do to the poor man...

28 January 2006

Holger Levsen: Kernel 2.4 for etch or not

This is a blog entry I wanted to write for about six weeks now, but I was busy with other stuff. In December 2005 I got curious why 2.4.32 wasn't packaged for Debian and investigated the situation a bit.

There are several reasons why 2.4 is still interesting:

- Kernel 2.6 is still a moving target...

- Some hardware is only supported with 2.4, for example older laptops which need APM and don't work with ACPI. Also some non-i386 machines.

- According to popcon, 6-7% of the i386 users have a kernel-2.4 image installed.

Unfortunatly, nobody from the kernel team is really interested in working on 2.4 anymore. They do security fixes for the 2.4 kernels in woody and sarge, for which I'm very thankful, but that's about it.

Even though 2.4 is moving very slowly nowadays (mostly security updates, very seldom new drivers are including), this is more work than needed, because every fix needs to be backported to 2.4.27 (and 2.4.18 for woody).

Of course there are some issues which need to be taken into consideration when thinking about whether it's worthwhile to have 2.4.3x in Etch:

- it needs gcc-3.3 to compile, gcc-4.0 won't work. Period. So gcc-3.4 also needs to supported during etch's lifetime - which will be something like 2009 when etch+1 will become oldstable (by current release cycles)...

- it's not sensible to have powerpc and amd64 flavors, and probably others. So this kernel package will not be arch any. (Which is not really a problem, but unusual.)

- Both kernel 2.4 and 2.6 contain non-free firmware and drivers. I seriously doubt people want to deal with this issue and solve it for 2.4. For 2.6 it will be done, but for 2.4 ? As I see it, this is the biggest showstopper for 2.4 in etch, I would be happy to be proven wrong. As a starting point, you can look at this investigation by Bill Allombert about the the situation in 2.4.25.

Removing those files would be an option, but maybe we can also "borrow a better solution" from 2.6...?!

- if 2.4.32 or .33 shall be used in d-i/g-i, work on this integration needs to be started real soon now.

I have done some work on creating a linux-2.4.32 package which is based on the new kernel packaging. I got busy with videos for debconf-es2, so I didn't finish and commit this.

Horms made a presentation about the kernel packaging in debian for LCA and gave two options: a.) support and backport fixes for 2.4.27 or b.) go with 2.4.32. Somehow he did not consider the option of dropping 2.4 even if he calls it legacy ;-)

Besides technical reasons (security fixes handled by upstream, some driver updates and very few new ones) I think we should not forget that most people have no idea that 2.4.27 in debian is far closer to 2.4.32 than to .27, and therefore will think debian ships an outdated 2.4 kernel. So I think we should simply go for 2.4.3x, if it is sensible to support 2.4 in etch at all.

It "just" needs to be done, and I volunteer to do it (with the help of the kernel team, the porters and anybody else who wants to join), if this work will not be in vain.

Please send comments to the debian-kernel-mailinglist, where I posted this blog entry before. Thanks.

Uwe Hermann: Al Gore Speech on Unlawful Wiretapping, Imprisonment, and Torture by US President Bush

Al Gore Al Gore, former vice president of the US, has given a very, very interesting and impressing speech on Martin Luther King Day a few days ago. He states very clearly a huge number of (unlawful, illegal, or immoral) things the current US president Bush and/or his administration have done. For example: A quote of Al Gore, from a small Reuters summary of the speech:
We still have much to learn about the NSA's domestic surveillance. What we do know about this pervasive wiretapping virtually compels the conclusion that the president of the United States has been breaking the law repeatedly and insistently.
Transscripts are available from The Raw Story and the Washington Post, and there's also a full audio recording of the speech (MP3, 48 MB). Although I'm not very political usually (or at least I don't write too much about it), this is really something I highly recommend listening to. I cannot imagine why a president of a democratic country can still be in charge, after all these things have become publically known... (via Tim Pritlove)

27 January 2006

Clint Adams: For those who notice that this is not my food blog: yes, this is not my food blog.

CAPPESANTE DEL NANTUCKET A LIDO VENEZIANO
Marinated Nantucket bay scallops with Osetra caviar, lemon, chives and extra virgin olive oil

2003 Soave Classico, Leonildo Peropan, Veneto, Italia PROSCIUTTO LA QUERCIA CON BURRATA E PUREA DI DATTERI
Cured Berkshire pork with burrata cheese, date puree and wild arugula

2003 Chardonnay, Viberti, Piemonte, Italia ARAGOSTA E PAGLIOLAIA CON PUREA DI FAGIOLI
Braised lobster and crisp dewlap with Umbrian white bean puree and spiced vinegar syrup

2004 Saint George-Moschofilero Rose, "Zo !," Domaine Skouras, Argos, Greece CANNELONI DI FAGIANO CON CASTAGNE
Handcrafted pasta filled with braised pheasant with Parmigiano Reggiano and toasted chestnuts.

2004 Charbono Villa Andrianan-Napa Valley, Summers Winery, Calistoga, California TAGLIATA DI MANZO CON FEGATO ALLA GRIGLIA E BALSAMICO INVECCHIATO
Wood grilled prime strip steak with grilled calves liver, slow cooked cippolini onions, trumpet royale mushrooms and 50 year old balsamic vinegar

1999 Barolo, Vietti, Castiglione Falletto, Piemonte, Italia SELEZIONE DI FORMAGGI
A selection of fine cheeses

10 Year Verdelho Madeira, Henriques & Henriques, Portugal CREMA TIEPIDA DI CIOCCOLATO E CAFFE
Warm chocolate espresso cup with whipped cream and raisin pasticcini

2004 Dolce Stilnovo Rosso, Cantina Aurora, Piemonte, Italia

26 January 2006

Simon Richter: Debian and cross compiling

Debian has currently two copies of the toolchain in the archives, namely the individual packages for binutils and gcc, and the toolchain-source package, which has traditionally lagged a bit behind the upstream release cycle but can be used to bootstrap a cross compiler environment. However, since there is a nearly endless number of targets, none of these exist as readymade binaries in Debian.
Today, I have been challenged with packaging a tool that offers an image to netbooting hosts, and this image is obviously only dependent on the target architecture. So I'd like to add the images as arch-all packages, but I still need to build them somewhere. Depending on a compiler that is only available on my system is a bad idea. Introducing i386 and powerpc cross toolchains into the archive is not a good idea either, as I would either leave out the libc stuff and end up angering those who want to do actual cross development, or introduce lots of duplicate headers.

Michael Janssen: Switching.

Last weekend I moved all of my websites from my expensive dedicated server solution to a shared server solution. So far everything has been working out great - the transfer of files went fine, and some of the automatic services that are setup for you, such as automatic secure webmail which is always nice to fall back on when you're at say, a public kiosk or something. The switch saves me approx. US$720 a year, which is going to be great for my finances. However, I'm always wary when I move to a new place that something is going to be horribly wrong, so it's watch-like-a-hawk time. One of the consequences of moving to the new server is using IMAP for reading mail. I am amazed, shocked and appalled that I didn't discover this earlier, but mutt has a caching mechanism, which increases the joy of reading both large Maildir mailboxes and IMAP mailboxes. To enable, just put set header_cache="/path/to/some/directory" in your .muttrc file - things go 10x faster after the first cache. In the same spirit of switching for a new year, I decided to switch my finances up a little bit. I'm currently migrating to using the StackBacks system for managing finances. This is the budget for the generation of consumers who would rather carry around a debit card than a bunch of cash, and is especially good for weaning yourself from credit cards. At the same time, I'm switching banks from a national chain to a local credit union.

25 January 2006

Martin F. Krafft: Iberia rules

at least it did this one time, Jesus: My family and I were on our way to Granada. My father was completely stressed out and suffered an epileptic seizure on the plane. Even though we were able to stabilise his condition, Iberia took us down in Barcelona to go to a hospital. We landed, had the ambulance come up immediately, and found an Iberia driver outside the hospital waiting for us when we came out; he drove us all the way to our final destination (Granada, about 4 hours I recall) and set us off. We never saw a bill from them. We sent a letter to thank them for the professional handling of the situation, and as a response got to hear that it was their duty and that their glad my father was doing better. Apart from this, none of the passengers on the plane, who all got a two hour delay due to my father, would have thought to say a word. They just all quietly waited while we were doing our thing. Imagine that in Germany or Switzerland! Ha! And Clint: there's a Swiss tel right next to my flat. You'll just have to visit me more often than you do. :)

Jonathan McDowell: Mapping Northern Ireland

I forgot to mention that while I was home over Christmas I did some work on starting to get Northern Ireland mapped. Many online map services don't have particularly good coverage of NI outside of major roads and Belfast. Look, for example, at Google's map of Newry, where my parents live. Compare this with what I managed to get done with OpenStreetMap's map of Newry. And I didn't spend a whole lot of time getting tracks, so just imagine what I could get covered with a more concerted effort. I also covered the A1/M1 from Belfast to Newry; I'd hoped to cover the road to the point where it crosses into Ireland, but didn't get round to it. Anyway, what I've managed is at OpenStreetMap Northern Ireland. I've a little bit more to upload at some point when I have time, but I'm hoping that others who actually live in NI will start to do some work towards it as well. I notice Ireland has now got a number of roads added as well - there was nothing when I was doing NI. Maybe they'll get connected at some point soon. Like, say, when I'm home next month and fly into Dublin. :)

24 January 2006

Gerfried Fuchs: ObBlog

ObDebian
Remove dpkg-sig signatures from .deb files by opening it in vim, deleting everything starting from _gpgbuilder (or what you've signed it with), optionally ":set noeol bin", save it, and update the md5sum and filesize in the .changes file. Done so with xblast and xmms-sid because the update was fixing rather important problems which couldn't wait for the archive patch that will allow dpkg-sig signatures again.
ObNonDebian
Winderschlapfn and Corry got released. Get your copies now!
ObConcert
Die Krupps are on tour again! Going to visit them on thursay! Yeah!!
ObFTWCA
For Those Who Care About Multiple Signatures: The second signature on Joey's d-d-a mail was not broken, the inner signature was mine. It was a statement that we both are to blame for it.
ObXMas
Late, but still worth it: Grow Ornament (requires flash)
ObListening
Wir sind Helden on my:
ObMyMiniDj
Am in contact with a person who managed to reverse engineer the database format used by My Mini DJ. He's working on a patch for amarok to update the database, and I hope he'll share the format soonish so I can do a curses app for managing it.
ObCinema
"Organize isler" in turkish with subtitles. Maybe a bit brutal partly, but great and funny story. Definitely worth watching.
ObICQ
No, I'm not interested in random chats by bored horny people!
ObWork
The transition from bind9 (no debpkg link; not because it's not working currently, but because it was running on FreeBSD) to pdns is underway.
ObNonWork
Planeshift: I'm planing on fixing #284398. Might need something free like re-flex for its datafiles to be able to go to main, though.
ObBlog
I hope to blog more regularly.... *sighs*

Peter Van Eynde: Swiss

Normally I keep this for on-topic Debian or lisp stuff, but I could not resist commenting on the swiss comment.
One word: Sabena. Most if no all Belgians are still bitter about the whole tragic story and I feel sad that Swiss will claim another nice airline as its (hopeful) last victim.

22 January 2006

Matthew Palmer: The Future Is FUSE

Well, probably not, but it's a nice catchy headline. <grin> What I do think is that there is a pile of unexplored functionality hiding in mapping more things to regular filesystems. FUSE has lowered the barrier to providing access to non-traditional filesystem places -- there's versioned filesystems, SFTP (of the SSH variety) filesystems, filesystems into tarballs and zip files, and so on. Implementing a FUSE filesystem is as simple as whipping up a few callback methods in your favourite programming language (the native bindings are, of course, in C, but there's FUSE libraries for Python, definitely, and I'm fairly sure I've seen Perl and Ruby ones as well) to implement things like stat, open, read, and so on. Then you run the program as per normal and suddenly you can read and write things you've *never* read or written before... Beyond the mundane extensions of reality listed above, there's whole new vistas of relatively unexplored territory for filesystem-like operations, which are (a) waiting to be explored, and (b) much easier to implement due to the fun of FUSE. For example, SQL databases are very hierarchical in nature. Databases contain tables which contain rows which contain fields which contain values. If you can track your foreign keys, some of those values can be symlinks/directories to other records, or a directory of records for join tables. Sure, it's horribly inefficient to update whole tables by for i in *; do echo 12 > $i/fieldname; done, but at the very least it could be an interesting way of viewing data, and with some judicious caching (depending on use-case) the performance could probably be made half-sensible. A more refined version of this is the idea of reporting into pseudo-flatfiles. Imagine if you could open a file and have a spreadsheet of all of your data. With FUSE, it's possible. A killer one that my boss Dave Kempe came up with is a search filesystem -- you create a directory in this FUSE filesystem that is named after a search query -- perhaps "2005 financial". A Google Desktop-style search then results every time you enter that directory, and all matching files are available for your viewing pleasure. I understand that gmail works something like this "virtual folders with search" model, and I know that applications like Evolution and Liferea already have some sort of virtual folders type of thing, but we don't think that anyone's written something like this for filesystems. Considering that you can run a FUSE filesystem over Samba, you can easily have a company-wide document search-and-retrieval with persistent (and shared) queries, which is probably a pretty valuable thing. Even all of these, though, are relatively tame ideas when weighed against the myriad of things that my tiny mind can't even dream up. I don't think people have put much thought into how far a filesystem really can go, because before FUSE, if you wanted to write a filesystem, you were pretty much restricted to kernel-mode programming -- a very limited (and dangerous) world for your average application programmer.

Brett Parker: bpgallery 1.0.1 released.

bpgallery is my little bash script that uses the image magic tools to generate a simple static gallery, this release has some documentation fixes (tells you how to make themes!), fixes the annoying find warnings that were happening and fixes an escaping issue with URLs. http://www.sommitrealweird.co.uk/development/bpgallery.html

Miguel Gea: Back to work.

The last months I've been almost MIA because I use almost all my time to work with my NM process, my twins and my work as teacher.
Now, my NM process is finished, and I had begin again with all my works.
I've updated translations I had in a box, continue packaging moto4lin, than I promise to had finished a month ago and continue with dbconfig-common work. I've sent an ITT to three documents from debian installer manual, translated two documents more, I've updated dbconfig-common and beep translations.

To continue with dbconfig-common I'm learning oracle. The first and not easy step is install it in Debian. I must to learn to create, remove, update databases only using command line, learn how different forms exists to access to a oracle database and a lot of little things more.

The NM process is long, maybe too long, but necessary. It's a perfect filter to know if a maintainer is a good maintainer. My NM process is now in the last stage. I'm waiting to DAM approval.

Miguel Gea: New acx100 release.

Good night.
Yes, good night, now my watch says its 3:33 ... All week I couldn't connect because telephone of my work was broken. When I have arrived at my home:

23:30 -> I connect to see if exists a new version for acx100 driver and YES! It is. I download it and work packaging it.
00:15 -> When I finished, I've uploaded to mentors and send a message to my sponsor for upload to debian. The acx100 version exists two days ago its 0.2.0pre8+41.
01:30 -> A new version for acx100 has been uploaded!. 0.2.0pre8+42. I have to repackage it and upload.

Anybody believes Murphy doesn't exist?

Next.

Previous.