Search Results: "ag"

26 March 2006

Eric Dorland: -dbg package redux

From the changelog of cdbs 0.4.37:
  * Automatically add --dbg-package to dh_strip if one debug package is
    defined and debhelper level 5 is used (buildvars.mk, debhelper.mk)
    (closes: #228044); test case in debhelper-2.sh
So now adding a -dbg package is even easier now if you use cdbs. Just add the -dbg package to your control file and build depend on cdbs >= 0.4.37.

Wouter Verhelst: Dear lazyweb,

I'm looking for a calendaring application with the following features:
  1. Must have a (limited) command line interface. I want to be able to view my appointments of the day in plain text format, so that I can put that in my .profile; it'd be nice if it allows me to view my appointments on any random date, but that isn't required. Moreover, when someone sends me a meeting invitation, I want to be able to pipe the ical file into something which puts it in my calendar, with optionally also sending an email to the person who sent me the invitation that I'm accepting it (optionally, as in, it must have the feature, and it should allow me to decide whether to send the mail on a case-by-case basis, not as in it would be nice if the feature existed.)
    More command line features are nice, but not necessary.
  2. Must have the ability to export ical files to a text file on my local hard disk; must not require me to set up a server with some weird login scheme and ditto protocol so that I can please put my webcalendar somewhere—and no, I won't sign up for one of those "free" webcalendar services. I'll put it online myself, thank you very much.
    This requirement rules out evolution, unless I missed some plugin somewhere (I don't think so).
  3. Must have basic calendaring functionality. I.e., I should somehow be able to get an overview of my appointments of any given day, to get a weekly, monthly or yearly overview, to print out things, etc.
  4. Must not require ages to start up. This, definately, rules out evolution. When I have a phone call, I want to be able to see within a few seconds whether I'm available at any given time.
  5. The ability to synchronize my calendar with my cellphone somehow would be nice, but isn't absolutely required. I'm willing to jump through a number of hoops here. Note that gnokii supports my cellphone.
Suggestions are welcome.

Jos Parrella: FLISOL Caracas: Ending

The Latin American Infest finally ended yesterday. In Caracas, it was a week of hard work with people of the Science and Technology Department and the IT Office (government offices) but the event in Caracas ended succesfully. It was a world-class event featuring renowned keynote speakers who spoke about Web Development using Frameworks (featuring TurboGears, Rails and Catalyst) and software development paradigms migration from privative platforms to GNU/Linux (Gambas and Mono). Other talks included basic security in Debian GNU/Linux and a speak about electronic signature security by an officer of the Venezuelan Government CA. We had a speak about Clusters, hosted by a female member of the Venezuelan Free Software Community and Debian User, and a speak about Free Software in the Venezuelan Education, by a 16-year-old Venezuelan GNU/Linux user and a willing Debian Maintainer. Of course, the Installation Festival took place in the Knowledge Square, in the Auditorium Building Lobby, with the extraordinary support of the Venezuelan Free Software Users Community. Debian GNU/Linux Sarge netinst and CD1 was distributed (several hundreds) as well as Knoppix and Ubuntu Hoary. Ernesto Hern ndez-Novich (maintainer) and me wore Debian T-Shirts on Saturday, and he made a great speech about the Project, named “Debian is inexorable“. We had demonstrations of Linux on a Mac Mini, using XGl and presenting several applications, as well as Debian running Enlightenment on an old Presario 1246 laptop. I would like to thank all the speakers and the attendees for making of FLISOL Caracas a great event. More information about FLISOL Caracas is in my blog and the homepage (spanish). Pics are here.

Bernhard R. Link: compiler arguments

Please do not hide the arguments given to the compiler from me.

It's hard to realize something is going wrong if you do not see what is happening. If the argument list is too long, do something against that instead of hiding it.

Make sure you follow policy when packaging software

Debian packages should be compiled with -Wall -g, but more and more do not. Please check you do, but check at the correct place. Do not look into the debian/rules file, but in the build log. If the Makefile sets a default with a single equal sign ("="), running 'CFLAGS="-Wall -g -O2" make' will not suffice. Try 'make CFLAGS="-Wall -g -O2"' instead. (Actually, there is no good reason to put them before the command. Always try to put things as arguments first, both with make or with ./configure)

It really makes everyone's live easier if those options are set.

Keep the argument list tidy.

Many argument lists are longer than necessary. If there is some -I/ in the argument list on a Debian system, there is something fishy. (It's not the universial collection of different stuff all going whereever it wants, after all). Common cases are:

- buggy scripts to add -I/usr/include

Better fix those scripts. Also make sure they do not cause other problems, like linking your program against libraries your program does not use directly. (Possibly causing funny segfaults when those libs link against other versions of those libraries)

- -I/usr/X11R6/include

For upstream packages this might perhaps be useful to support older operating systems and people unable to give it to CFLAGS themselves. But for FHS systems, this is not needed at all, as it mandates this handy /usr/include/X11 -> /usr/X11R6/include/X11 symlink. And newer X directly puts the headers in the correct place.

- packages working around upstreams breaking compatibility

Life would be too easy if upstream would not break APIs. But if they make a new incompatible version, and even change the library name for that, would it have been that difficult to also change what programs written/ported for that new incompatible API have to place in their #include line?

- plainly broken upstreams

putting stuff in $ PREFIX /include/subdir/ and #include'ing other files from that subdirectory without the subdir deserves application of some large LART.

- oversight

often it is just not necessary, and everything gets much more readable and easier if left away.

Other things makeing things unreadable are large armounts of -Ds generated by ./configure. AM_CONFIG_HEADER can help here a lot with non-path stuff. Stuff containing paths is suprisingly often not used at all.

Axel Beckert: Spezi vs VCFe

After a phone call from Urs Kellermann, I noticed that this year’s Special Bikes Show (German: Spezialradmesse or short “Spezi”) is in parallel to the Vintage Computer Festival Europe 7.0: Spezi is from 29th to 30th of April while VCFe is from 29th of April to 1st of May. So I can’t visit Spezi this year since I’m usually helping the VCFe organisators here and there. Fsck! But dino has even less luck: He told me, he knows five events he would like to visit that weekend. :-) He has chosen to visit the Anime Marathon and VCFe with switching events on Sunday.

John Goerzen: Tuttle, OK city manager offered choice about being an idiot

I just read a story on The Register entitled Oklahoma city threatens to call FBI over "renegade" Linux maker. Quite hilarious. Apparently Jerry Taylor, city manager for Tuttle, Oklahoma, noticed that the city's webpage wasn't working right. He got the default "test page" for the Apache webserver on CentOS. Instead of calling the hosting company, he sent a series of vicious emails to CentOS, even threatening to call the FBI. The CentOS folks really went out of their way to help this guy -- he was not even their customer. And he repaid them by saying they should have helped him sooner. Of course, there was the obligatory comment about being computer literate: "I am computer literate! I have 22 years in computer systems engineering and operation. Now, can you tell me how to remove 'your software' that you acknowledge you provided free of charge? I consider this 'hacking.'" The Register story is hilarious, and the original discussion even more so because it includes a full transcript of the event. Favorite quote (to the city manager):
If you will not let me help you, or at least talk to someone who knows what Linux is, then you will look like an idiot. Your choice.
Should anyone wish to write to the city manager of Tuttle, OK, to complain about his outrageous behavior, his e-mail address is citymgr@cityoftuttle.org. Assuming they have figured out how to properly configure e-mail. He's probably not worth his $63k salary and with a personality like this almost certainly isn't giving his employees the "feeling that we're 'working together'" (see that link). Sigh. Why do people hire a guy like this in the first place?

John Goerzen: Something other than Drupal

I've been using Drupal for this blog for most of its life. However, I'm starting to be quite annoyed by several things: So I'm planning to switch to something else. Something where blogging will be fun again, without all the hassle of tracking down spam. It looks like either Wordpress or Serendipity, and I'm leaning towards Serendipity for now.

Joey Hess: blog moved

I've now moved my blog into ikiwiki. I think that I've managed to do this without breaking (many) permalinks to old blog posts, and without flooding any aggregators. .. Well, almost. Some of you may have seen a double post, which was due to me not having an url set right the first time.

Erich Schubert: Finding duplicate MP3s

Listening to music with CDs is a pain. Because every CD gets boring quickly. Radio stations are fun for some time, but they also play the same bad songs over and over again. So I still have a collection of MP3 songs (albeit all CDs I converted recently are now ogg vorbis, since this offers a better compression, and my portable player can play ogg, too). So if you try to maintain a collection of your favourite MP3s, you'll sooner or later end up having some duplicates. Or many of them. The cleanest approach would of course be to just delete your whole collection and start converting your CDs again (this time paying more attention to tagging and such). But this would take a lot of time again... I've written a small tool which uses the musicbrainz library to generate audio fingerprints of songs; these are then stored in a small database, and another tool can list duplicates from that database. This of course still doesn't catch all duplicates (well, some songs are slightly different among different albums, and sometimes they result in the same TRM id, sometimes they do not) but does a fairly good job. Beware of (rare) false positives, however. It should work on Windows, too. But I really have no clue on how to setup musicbrainz, pyogg and pymad on Windows. Debian users can just apt-get them. Don't ask me about how to install on windows: I don't use windows. Grab it from it's temp home for the TRM-dupefinder (grab all .py files, trmdb.py is the main lib, the others are the applications). Calculating all the audio fingerprints takes a long time; but the gen tool will only process each file once and continue where it left off. So you can do it in multiple runs. Then run the dupe tool at the end. Tunepimp is probably a smarter way to do this (and maybe verify tags in the same run), especially since it apparently can store the TRM id in the ID3 tag, to avoid recalculation even better. However, I didn't get the python-tunepimp bindings to work properly.

Joey Hess: blog moved

I've now moved my blog into ikiwiki. I think that I've managed to do this without breaking (many) permalinks to old blog posts, and without flooding any aggregators.

Andrew Pollock: [life] More bloodletting

When I donated blood at the Red Cross blood drive at work, they also took an extra vial to test donor suitability for apheresis (platelet donation). Sure enough, I was a suitable candidate, and got a letter in the mail a while ago inviting me to donate. Back when I used to donate in Brisbane, I'd seen the plasma donors in the other room, all hooked up with blood coming out one arm, getting the plasma spun out, and the red cells going back in the other arm, and it totally grossed me out. The concept of having that for 2 hours wasn't all that appealing either. The letter said my donation would be helping out cancer patients, and as I recently lost an uncle to cancer, I thought I'd give it a go, just once, to see what it was really like. Man, I'd hate to have renal failure and need dialysis, that's all I can say, because having to have this done to you every week would be a real drag. Better than dying I guess... I had the "out" hose hooked up to my right arm, and the "in" hose on my left. They had a bit of trouble getting a good flow out that way, so if I ever do it again, I'll probably try it the other way around. The recliner you lie on is heated, as apparently the "in" hose is a bit cool, but I didn't notice (the nurse did say my left hand got pretty cold at the start though). They also heap the blankets on you. You get a selection of movies to watch, so I watched War of the worlds, which was a good length. It finished just as they were unplugging me from everything. I did feel a bit tingly towards the end, and felt a bit woozy when I got up, but that could have been as much from lying down for 2 hours as anything else. So would I do it again? Not in a hurry. It's pretty time consuming. We got up early and drove to Oakland, both because that was the only place with a slot available today, and we haven't been to the eastern side of the Bay yet. So we hit the road just after 8am, and weren't out of the blood bank until midday, so it's not the sort of thing I'd be wanting to do regularly. So that's my good deed for the day. Oh, and having hairy arms really sucks.

25 March 2006

Martin Michlmayr: Compiling the whole Debian archive on MIPS with GCC 4.1

Over the last 2.5 weeks I have built the complete Debian archive on a quad-core MIPS machine donated by Broadcom using the recently released version 4.1 of GCC. In parallel, I have done the same on an EM64T box donated to Debian by Intel. The purpose of this exercise was three-fold: Executive summary GCC 4.1 itself appears to be very stable, both on MIPS and AMD64. There are, however, a large number of packages using code (especially C++) which GCC 4.1 treats as errors. Fortunately, most of them are trivial to fix. By compiling about 6200 packages, over 500 new bugs have been discovered and submitted, 280 of which are specific to the increased strictness of GCC 4.1. Patches for 2/3 of those GCC 4.1 specific bugs have been submitted. Based on my findings, Ben Hutchings has prepared a summary of the most common C++ syntax errors (that weren't treated as errors before G++ 4.1). Most common programming errors Basically, it all boils down to broken C++ code. There were a few bugs in C code, but the majority was in C++. The most common errors I found are: I've posted a detailed report to debian-devel. Acknowledgements (abridged)

Adam Rosi-Kessel: My Wife Has a Weblog

I’ve had a weblog for four or five years. My daughter has had one for about a year (also equal to the entirety of her life). It’s finally come time—my wife has a a weblog. It is appropriately titled Women and Children First. She’s just finding her blogger voice, so it may take some time to gain momentum. Anyone who knew Rachele six years ago (around the time we met) would have been shocked at the time to hear that she would one day be a blogger. Back then, her entire relationship to the Internet was mediated through a “My Mail Station” device (that apparently has since been purchased by Earthlink and now has disappeared entirely). These days, she runs Debian Sarge, Evolution, Firefox, etc.. And now Wordpress. My friend Jesse and his cohorts have also started a new blog entitled Tikirobot. From what I can tell so far, it’s similar in style to boingboing but written by people I know. It is also nonduplicative of boingboing content.

Daniel Burrows: No More Retail Electronics Stores

So, to wrap up the hardware saga I posted in the last few weeks, my memory chips finally arrived yesterday (after being delayed in Oregon for three days by "inclement weather"). I swapped them for the bad ones in about ten minutes, turned the computer on, and it worked. After I played a couple missions in Homeworld 2, I rebooted and let the memory test run all night, just to be totally sure. No problems :-).

Sadly, we seem to have lost the receipt from when we returned the first bad batch of RAM, so Fry's may get to keep Kate's money. Regardless, they've certainly managed to lose one or two customers, at least when it comes to computer hardware.

Pierre Habouzit: debian.org and SPAM

Our @debian.org addresses are just too polluted. It's a fact, and nobody moves. It's really tiredsome. I happen to also be a co-admin on a mail server, that accepts almost 300k per MX, which is not very big, but quite big enough. I've written a little tool called whitelister. It's used in conjunction with postgrey that we use as a POLICY daemon for postfix. Basicaly, what it does is quite simple: This approach has spectacular results: greylisting in action Edit: the same statistics on our backup/secondary MX greylisting in action The green area are the mails we accept for delivery (after the AV-checks and classicale anti-UCE-checks). The red line is the amount of messages that the bayesian antispam (bogofilter) marks as spam. Since our clever greylisting is up, the results are just unbelievable: we drop a huge amount of spam, without needing bayesian spamfilter or clamav or any CPU-intensive checks, so almost for free. The statistics we run show that a very few mails are actually submitted again (less than 20 per week), and most of them are spam anyway. And an analysis of the remaining spams shows that those are spam that come from redirections services (mail lists, @debian.org, ). We almost drop 99% of the spam that is submitted into the SMTP network through one of our MX's. For the record, we only use cbl.abuseat.org, dul.dnsbl.sorbs.net and dynablock.njabl.org. why doing it that way ? greylisting is all about creating a dynamic map of the SMTP queues of the planet. What I do, is only using RBL's that already exists to make that principle converge faster. Moreover, even if you use "bad" blacklists that have too many false positives, the greylist is here to let legitimates mails through. So basicaly, it combines two bad[1] methods, to make a good one: It's a win-win use. Conclusion I'd really like to see such a system be installed on our main MX's. @debian.org emails addresses are overloaded with spam (and 90% of the spam I receive, comes from my @debian address). btw, in a MTA like exim (that some of our MX use), a tool like whitelister is not needed. It's possible to achieve the same thing within the exim configuration files (but don't ask me how, I never used exim, I just know it's possible to do it). Is there anybody out there to support such an idea ?
Notes [1] Used singly, I consider those methods really bad.

Jeff Bailey: Bicycling!

Yay to Bicycling! I don't think I've been on a bike in what.. 5 years? I didn't ride most of my last year in Vancouver, and it's been almost 5 since we left (eep!) Benjamin Mesing had been here in Montr al from Germany for a year and was selling his bike on his way back home a month or so ago. Today, I went out and bought a helmet, then hopped on the bike to take some library books back.<br /><br />The bike is in fairly rough shape. I'm a bit spoiled in that I'm used to buying new hybrid bikes, but as I work from home there's no point. In Vancouver I would travel up to 40km/day on my bike. I've taken it into the shop, and should get it back next friday. Handlebar alignment, rear wheel trueing, replace front tire, align all breaks, grease and tune gear cables, and generally hose the thing down with oil.<br /><br />On the walk home, I discovered that there's a fairly large Rachelle-B ry at Rachel and Berri. (I don't know why I never looked there...) All told, a very wonderful day.

Brett Parker: Apparently...

Some people don't like opinions. Especially ones that might actually finally get us somewhere near a standards compliant web. Oh well, never mind, their loss. (Oh, and I really do not advocate the use of line breaking, either you're in a paragraph, or you're not - why do you need a manual line break? Is it because you can't write?). But whatever. Thanks huggie for your frank opinion and whining about me.

Eric Dorland: More Secrets of Debian Revealed: -dbg packages

Living with [info]mricon I get exposed to the way the other half lives. One thing I've noticed is that the RPM tools automatically build extra -debuginfo packages that contain the debugging symbols for the binaries in the package, which gdb can use. I thought too myself "That's cool, why doesn't Debian do that?" Of course, after some research it's actually very easy to accomplish the same thing in a DEB. First step is just to add a dbg package to your debian/control file like so:
Package: giblib1-dbg
Architecture: any
Section: libdevel
Priority: extra
Depends: giblib1 (= $ Source-Version )
Description: debugging symbols for giblib1
 giblib is a library of handy stuff. Contains an imlib2 wrapper to avoid the
 context stuff, doubly-linked lists and font styles.
 .
 This package contains the debugging symbols for giblib1.
Then change your call to dh_strip in your debian/rules files so it looks like this:
dh_strip --dbg-package=giblib1-dbg
If you use cdbs then just add the line:
DEB_DH_STRIP_ARGS := --dbg-package=giblib1-dbg
These cause dh_strip to place the debugging symbols under /usr/lib/debug in the named package. Make sure you have debhelper compatibility level set to 5, as the semantics for the --dbg-package switch in 4 and earlier were different and weird. So add a -dbg package to your library or binary today!

Kevin Rosenberg: Ant Eye

I took some test shots today with the 105mm f/2.8 VR micro lens. One thing I like about macro photography is that is show information that is unnoticible to naked eyes.

24 March 2006

Anand Kumria: Some random odds and sods as well as some ACID

Horms, why not use gworldclock? Martin, I think you are after tra. Andrew, you do realise that you could do that with yum – which has been in Debian for a while now. You'd have probably heard about it earlier if Mako could be bothered to get Atom 1.0 support working on Planet Debian. Rodney, Nokia phones generally use Netfront as their default. If you want to use Opera you have to specify it. I'd be highly skepticle of KHTML being used anywhere memory footprint mattered. It looks like it might be WebCore (dervied from KHTML) instead. But that is only on very recent phones (first half of 2006). Oh, and that is likely to be Yahoo merchant crawler. Yahoo probably thinks you are a corporate whore or something ;-). Finally is it just me or does it strike anyone else as odd that the Mozilla Corporation, with all of its' money, is not able to get a crack group of hackers together so that Firefox 2.0 can render ACID2? At least two of the competitors can already so, what's the go, Joe? (or in this case Mitchell).

Next.

Previous.