Search Results: "ag"

11 September 2007

Dirk Eddelbuettel: Another option for MythTV schedules

Yesterday I mentioned how straightforward it was to setup an account with SchedulesDirect to obtain tv schedule data for the MythTV 'software pvr'. For completeness, a 'free as in beer' screen-scraping alternative is provided by the zap2xml Perl script together with a (free) registration at the tvlistings.zap2it.com site. Instructions are on the zap2xml page, and all is left to do is to combine the calls to zap2xml.pl and mythfilldatabase in a single shell script -- which is easy enough to do too.

10 September 2007

Neil Williams: Homebank vs gnucash - round 1

Homebank has had a few problems getting through NEW due to legacy problems from the original Amiga version (and it isn't ready yet) but I've been trying it out anyway and comparing to gnucash. Bearing in mind that I have done upstream work in gnucash (i.e. I like gnucash enough to tackle the massively scary gnucash source code) and have (almost) got used to the regular dependency hell that it imposes on my sid installation, I'm finding homebank quite friendly.
(See #441110, #441103, #441129 and #441363 for recent examples of gnucash causing dependency hell - again.)
(1:0 to Homebank).
Homebank is closer to the Quicken model with categories but internal transfers between accounts are supported to give some impression of double-entry. (1:1) My main interest is in data import/export because I've long been looking for a way to create invoices from PIM data e.g. in a Palm Pilot or similar. Homebank supports a CSV data import for data that can be handled as an invoice. OK, there's no fancy invoice printing but that doesn't bother me (I never used the gnucash invoice print support) (2:1 to Homebank) - my invoices are all electronic and I have to use the client system (MSDOS!). What I need is to create my own records of the invoices within my financial accounts and Homebank may be able to do that with far greater ease than gnucash. My data exists primarily in my Palm because I take and change my bookings on-the-move. I want to be able to HotSync my Palm through a query interface (pilot-qof) and XSL (datafreedom-qsfxsl) direct into a financial application that can correlate that data with the payments made into my bank by the client and thence with data from my bank statements to prepare data suitable for my tax report.
I'm thinking that if I can get half of the ease-of-use of Homebank into the rigorous double-entry support of gnucash in a small program (gpe-cash), I'll be doing very well.
One limitation of Homebank is the "wording" - the translations appear awkward and unfamiliar but that can be easily fixed. The link between "Archives" and "automated transactions" isn't clear - I think it means "templates" and "scheduled transactions". (2:2)
Homebank can't do all the things that gnucash can do but that is a weakness in gnucash, not homebank. (3:2 to Homebank) IMNSHO, GnuCash tries to do too much and that leads to an oversized and overly complex codebase as well as a dependency list that puts OOo to shame. The graph support in homebank is a lot better than gnucash and that is not the fault of libgoffice, it is entirely down to the choices made by gnucash upstream developers. Homebank graphs are fast, simple, intuitive and informative, displaying useful info at the first attempt instead of having to wade through the Options dialogue in gnucash. (4:2 to Homebank).
If I can work out some simple scripting that combines these external tools into 'HomeOffice' support in Homebank, everyone wins.
I've never liked CSV as a data format and the homebank main files are XML (like gnucash). Unlike gnucash, the XML appears sane and usable for XSLT - raising the prospect of creating reports directly from the homebank data files.
Homebank upstream have been very supportive of the various requests to assist getting Homebank through NEW so I'm hopeful that if an XML import/export method was proposed it could be included in future - especially if the donkey work is done by external tools.
This would tie in well with datafreedom-qsfxsl and datafreedom-perl. Initially, I'll look at XML->CSV - ugly, I know but at least Homebank can import data to be used as invoices; gnucash cannot. (5:2 to Homebank).

At the end of round one:
Homebank : 5 GnuCash: 2.

Joerg Jaspert: Stats pron

Joey started a stats pron meme, so lets join, with stats from packages.debian.org AKA puccini.debian.org, which I am the local-admin for. This machine has
2007
Unique visitors 4952207
Total visits 8572139
Total pageviews 43332086
Total bandwidth (apache only) 783.28 GB
Additional traffic due to robots 53328963 pageviews adding 265.73 GB traffic
Looking at the other statistics April and May had a few percent more visitors, but other than that its pretty stable with around 600k unique visitors per month. We do not resolve IPs to hostnames due to the huge amount of useless traffic and load this would generate, so no statistics about the countries. But we do have some other stats. Like a Robot/Spider statistic. It looks like we had about 151 different spiders on our site, a few listed below.
Yahoois the most active spider, making some 97.54 GB of traffic
Googlebotfollows on second place, responsible for 43.92 GB
MSNBotcaused about 21.52 GB traffic
Python-urllibis used by multiple bots and they all made up 43.29 GB traffic
Next interesting point is that of Operating systems.
Linuxis of course the most used one, 48.1% of our visitors told us they use it.
Windowsonly on place 2, with 40.5%.
MacOSall kinds of MacOS add up to 2.5%.
There are various others in the list, but none with more than 1%. Like Sun Solaris which was used for about 63k hits (compare it to Linux with 32 378 942 hits). 5423 users did want us to believe they use CPM, another 76 tried that with VMS. Of course we are interested in more details for the 48.1% Linux users, here they are:
Debian1539753722.8 %
Ubuntu905001413.4 %
Suse5426350.8 %
Red Hat1072400.1 %
Mandriva (or Mandrake)1665450.2 %
Fedora6232420.9 %
Centos699980.1 %
GNU Linux (Unknown or unspecified distribution)64217319.5 %
Windows is boring, more than 33% are using the XP crap, all BSD version together, including that GNU/kFreeBSD variant have 0.1% all together. Browsers? Of course people do use lots of different browsers. The main browsers, if you ignore all the various versions, are Firefox with 44.7%, (shudder) MSIE with 17.7% and Mozilla with 14.6%. Konqueror is far behind with only about 8.5%, other browsers like Opera (3.4%) and Epiphany (1.5%) are even less used. One browser identification is interesting, namely Debian APT, which seems to be the “Fetch Changelog” function of aptitude. It generated about 200k hits (0.1%). Next point - from where do we get most people to our site? That are people not having any kind of referer information, 65%. The second place here goes to - yes, direct links from various people. Of course our search interface has most hits here, the rest is from some 80k different pages linking to us. Most of those seem to be upstream pages telling their users where to get a Debian package from (most are named something that fits “/software/download” or “is like sf/freshmeat” schema). Interestingly the links the BTS provides in their package overview going to packages.debian.org aren’t used all that much. Only about 30k hits in the whole year 2007 with the BTS as referrer. Only after all those individual links we have search engines giving us hits. That may be partly due to the fact that we did use robots.txt to block them (at least those that are good net citizens) for a long time from indexing our site. Final words: YES, I do know that the stats are likely to be wrong in any size you want them to be wrong. Yes, one cant really trust the User-Agent string, its too easy to change it. Yes, its easy to filter out referer, etc, etc, etc, but IMO its still nice to look at such things, it gives at least a little feeling for what we do burn all those CPU cycles. These stats are based on about 4.5GB of compressed apache logs from the last few months, it took some 14 hours to process the logfiles. Luckily future updates now happen once an hour and take only a minute or two… Ohh, you say Joeys meme was about mail stats? Damn. Ok, short text: 305k mails rejected in the last 7 days while we allowed 1097 mails to pass. For the yearly overview that means some 9.3million rejected and 73k accepted mails (that rate should get better, decreasing the accepted count, with the new etch setup we have now). Of course this isn’t as impressing as lists.debian.org mailstats are. :)

David Welton: What language will mobile phone apps be written in, in the near future?

Given that Hecl is very much tied to the Java ME platform, this question is pretty important to me. I was thinking about simply posting it here, on my line journal, but having recently started reading The Wisdom of Crowds, I decided to have a little fun with it, and created a "prediction market" on the Inkling Markets (a YCombinator startup) web site: http://home.inklingmarkets.com/market/show/6481 Of course, if you just want to comment on your answer, that's ok too. My thoughts on the current possibilities: In any case, I think it's a space that's bound to be very interesting, and loaded with interesting possibilities. Update YC.news user jsjenkins points out a silly oversight on my part: Flash Lite. It slipped my mind completely, but is certainly an important player in this market. The Java folks have to be hoping that history will not repeat itself.

Mike Hommey: Machine-readable copyright files

GyrosGeier has briefly talked about machine readable copyright files in Debian. I won’t talk much more about it, except pointing out the current proposal, and my own first implementation on the webkit package. Note that, huge as the source is, I didn’t feel like listing copyright information file by file, but rather set of files by set of files, grouping all files under the same licensing terms. Even doing so, the copyright file is still more than 600 lines long. And well, obviously, the ftp masters didn’t reject it.

MJ Ray: A week in Koha development

It's been a busy week for Koha development, really. Some of my thoughts:-
[Koha-devel] ANNOUNCE: New Installer in master git tree
I announced the new Koha installer. It's not finished (see under KNOWN BUGS), but people are starting to use it, so I thought I'd better announce it. I'll explain more soon.
[Koha] AG KohaLa
The Koha Free Association is about to hold its first General Assembly, so I reposted the announcement. Anyone know what foreign developers should do about it, if anything?
Taking the Open Road: University Libraries Explore Options
Interesting article in E-commerce Times which mentions Koha as one of the more specialist packages libraries are investigating. Good!
Slashdot Libraries Defend Open Access
Not koha, but funny: Legacy journal publishers don't like Open Access? I'm shocked. Or something. Some of the comments are hilarious. Others remind me why I don't read much /.

MJ Ray: Places to Visit / Taunton - Tour of Britain Stage 2

Tomorrow, Tuesday 11 September, the Tour of Britain visits Taunton for Stage 2.  Mark Cavendish of the Isle of Man is leading the race, riding for the T-Mobile team, but he's still only got a tiny 14 seconds lead in the General Classification and the first minute covers 78 riders, so it's still pretty wide open.

I'll be popping down to Taunton tomorrow with my camera - anyone else going?  Anyone know what to expect?  I've seen the race final stage in London before, but I'll be surprised if it's as big a show in our county town.

If you're not going to the race, maybe you'll see my ugly mug in the crowd on the BBC's paltry 2-hour coverage on Sunday

Rob Taylor: gobject-introspection

So, progress has been moving on nicely on a tool for generating gobject-introspection xml. Development’s getting pushed forward now by two veritable geniuses, J rg Billeter and Mathias Hasselmann. We’ve got sparse able to handle extended attributes, so headers can be marked up with details like ownership of returned data. There’s also a git branch of gobject-introspection where we’ve been delveloping some python code that takes the headers, runs sparse over and generates some basic introspection XML, using ctypes to call into gobject for getting interfaces, signals and properties. Very Nice! BUT, we’ve hit a big problem. Sparse is licensed under the Open Software License 1.1. Debian considers this non free, and it certiainly looks to have some overly onerous clauses. Linus did try to relicense it a few years ago, but hit a brick wall with Transmeta, who own some of the copyright from when Linus worked there. We might end up having to drop the use of sparse and maybe have our own bison-based parser. We really don’t want to have to go there though. So, here’s my lazyweb request - Does anyone out there know anyone at Transmeta that we could talk to about relicensing this work? It might be worth pointing out to that it might be in their interests, given the patent termination clauses.

Simon Richter: This is why we can't have nice things.

A group of Debianites is currently working on machine-readable copyright files for Debian packages. Since I have to do this work anyway, whether the result is structured or not, I thought I could make uclibc a guinea pig for that too (it already is for xcontrol). That is harder than it sounds, though. The package consists of about 2,000 files, and each of them has multiple copyright holders who each imposed their own licence terms. A fun year lies ahead.

Scott James Remnant: Ubuntu Desktop Developer

Continuing my mission to put together a kick-ass team to develop the Ubuntu Desktop, the following position is now up on the website: Posting Date & ID: September 2007 UDD
Job Location: Your home with broadband. Some international travel will be required.
Job Summary: To adapt and develop the GNOME desktop to improve the Ubuntu user experience. Key responsibilities and accountabilities: Requirements skills and experience: How to apply Please send a cover letter and CV with references to hr@canonical.com. Please indicate in your submission the role for which you are applying. We prefer to receive applications and CVs/Resumes in either PDF or plain text format.

Erich Schubert: Debtags going mainstream

Debtags, a tag-based approach to classifying Debian software packages, has taken another big step forwards.Debtags was included in the relaunch of packages.debian.org, Debians package search and information web server. This means it's now visible to pretty much any Debian user.The experimental packages.debian.net also uses Debtags to recommend 'similar' packages.There are some AI/Datamining projects around Debtags that I'm interested in, but I don't know when I'll find time to work on them.

MJ Ray: Vuelta a Espa a - second week

Eurosport coverage of Vuelta a Espa a at 19 east continues with commentary in English (analogue only) and German. Scheduled times:-
Mon 10.09.2007
16:00-17:30 CET
Tue 11.09.2007
no show (rest day, but MTB coverage at 08:45)
Wed 12.09.2007
16:00-17:30 CET
Thu 13.09.2007
01:00-01:30 (recap?) and 15:45-17:30 CET
Fri 14.09.2007 and Sat 15.09.2007
16:00-17:30 CET
Sun 16.09.2007
18:00-19:00 CET (recorded?)
TVEi are broadcasting in Spanish at 13 and 19 east. You can also see the race on TVEI America, but I don’t know the reception details. Scheduled times:-
Mon 10.09.2007
16:30-18:00 CET
Tue 11.09.2007
no show (rest day)
Wed 12.09.2007 to Sun 16.09.2007
16:40-18:00 CET
I’ll post more times next week. It was good to see a strong Caisse d’Epargne showing, as I predicted, even if it didn’t last long…

Russell Coker: Gear Acquisition Syndrome

I have just read an interesting post about Gear Acquisition Syndrome [1] as applied to the guitar industry. Apparently it’s common for people to spend a lot of time and money buying guitar equipment instead of actually playing a guitar. I think that this problem extends way beyond guitars and to most aspects of human endeavour, and that actively trying to avoid the problem is a key to getting things done. I believe that the author however makes a strategic error by then going on to advise people on how to buy gear that won’t become obsolete. Sure it’s good to have gear that will suit your future needs and not require replacement, but if you are repeatedly buying new gear then your problem usually is not that the gear doesn’t do the job but that you want to buy more. I used to suffer from this problem to a degree with my computer work, and still have problems controlling myself when I see tasty kit going cheap on auction. Here is a quick list of things to do to avoid GAS:
It’s interesting that a sports-shoe company has a slogan “Just Do It” while trying to convince people that having special shoes is required for sporting success. Most professional athletes started training with minimal equipment. Get some basic gear and Just Do It!. References:
  1. http://www.harmony-central.com/Guitar/Articles/Avoiding_GAS/

  2. http://www.lenovoblogs.com/insidethebox - feed: http://feeds.feedburner.com/lenovoblogs/insidethebox

  3. http://etbe.coker.com.au/2007/08/25/designing-computers-for-small-business/

Joey Hess: video games: competition, classicism, emulation

Biella blogged about King of Kong, a movie about classic video games. I also enjoyed it, although I felt the rivalry and competition cheapened it (while also certianly giving it more of a story to tell). I wish I could enjoy competition the way Bubulle so eloquently describes. For me though, getting to the end of a game is more like raching the end of a long hike, whether you beat someone to the end or not doesn't matter, it's the personal experience of getting there that counts. Anyway.. The reason I'm really responding to Biella's post is because of the question she asks:
But what I also found amazing was how the movie conveyed the persistence of the (older) game. They live on in the lives of individuals and collectives, despite the rise of a whole, new class of games that are much more popular today. I am not sure how much longer they will live on, or if the movie was also inadvertently portraying the rise and slow decline of an era that will, in another 50 years, become part of the archive of dead history.
My guess is that the classic games will persist past the lifetime of their hardware, and that they'll keep on appealing to at least a small percentage of new gamers. Actually, I think they're more popular now than they were fifteen years ago, partly because the commercial gaming industry has moved further away from what the old games are really good at, and partly because emulation is so good that they're available to everyone. And maybe even partly because to really appreciate Kenta Cho's games or many of the other new non-commercial games that Miriam keeps finding and pushing into Debian, you need to know the classics. Even if you do suck at galaga, and even if the only version you've really played is xgalaga, which lacks ship capture. :-) I never played games in machines that ate quarters as a kid, because I didn't have many quarters, and it didn't seem to be a good value. I put one of the few quarters I've ever spent into a video game machine earlier this summer, in the corner of the Mus e M canique that's dedicated to sorta-old video machines (as opposed to ancient, lovingly restored arcade games). It was a metal slug machine. I've beat metal slug under emulation, but only at the expense of many emulated quarters. Another quarter went into vintage game of pong. I enjoyed playing them both on real hardware, but emulation was good enough for both of these and for many other games in between.

Steve Kemp: I should be so lucky

Recently the topic of spam on the Debian lists was revisited. I laugh at somebody who recieves 200 spam messages a day. Here's my stats for yesterday:
                                          Total Mails    : 6399
                                          Total SPAM     : 6077
                                          Total Accepted : 322
                                          Spam Percentage: 94.97%
That's 6077 mails rejected at SMTP time via my filters, and only 322 mails accepted. The breakdown of the spam rejected looks like this:
                                  Plugin      Count
--------------------------------------------------------------
                                   dnsbl       3755
                             hosts_allow        724
                             greylisting        661
                       check_earlytalker        303
                          check_spamhelo        238
             require_resolvable_fromhost        219
                           virus::clamav         79
                         check_badrcptto         75
                       check_badmailfrom         23
--------------------------------------------------------------

Dirk Eddelbuettel: MythTV data service switch

One of several things I never got around to blog about is my experience with MythTV (which, in case you don't know, turns your pc into a tivo, given a suitable tv decoder card and the mythtv software). To make up for the lack of a more detailed post, let's just recap: I had set it up a little over two years ago, on what was then a 'possibly temporary' Kubuntu box. Well the box is still there and still running Kubuntu, four releases later, and MythTV only got easier as Ubuntu now includes the decoder drivers. So far no worries. TV schedule information had always been provided via the 'free as in beer if you answer a question or two' zap2it subsidiary of the for-profit Tribune publishing company (i.e. the folks who own the Chicago Tribune, Cubs baseball team, WGN TV station around here and what have you, and are in the process of being sold to Sam Zeil). As had been noted in other places, that 'free' service is no more, and a seemingly cooperatively-run 'small fee' service has been set up by a few volunteers at schedulesdirect. So I just switched, and for the benefit of anybody sitting on the fence about this, the switch is trivial:
  1. If need be, add 'feisty-proposed' to apt's sources.list file to get the new MythTV 0.20.2 release directly from Ubuntu.
  2. Install MythTV 0.20.2 which takes as little as wajig update; wajig dist-upgrade
  3. Follow the instructions in this email, in particular point 4) about re-creating lineup info
  4. sit back and enjoy
Including the signup at schedulesdirect, the whole thing took maybe ten minutes. Not bad. Now I only have to find some spare time so that the backlog of unwatched episodes of the Daily Show does not grow much beyond six months... Oh, and last but not least, I'll have to pony up the fifteen bucks for the subscription once my trial is up next Sunday.

Dirk Eddelbuettel: Chicago Half Marathon 2007

This morning was this year's Chicago Half Marathon, the race I often refer to as 'my favourite' after having participated in 2006, 2005, 2004 and 2003. But this year I somehow managed to convince myself I had already registered, when I had not. Doh. But due to a friend's unlucky injury, I could re-use his registration and still race. Weather was once again gorgeous, but maybe a little on the hot side. I tried not to push myself too hard given the two big races coming up in the next seven weeks and ran a decent 7:12 min/mile pace for a chip time of 1:34:20.

Bernd Zeimetz: winpdb - a platform independent Python debugger

winpdb - a platform independent Python debugger A few minutes ago a mail arrived which told me, that my winpdb package migrated to testing, which was just another reminder to blog about it. winpdb is not just yet another Python debugger, it is actually the first really well working one I've used so far. One of my favorite features is the embedded debugging, which allows you to debug scripts which are embedded somewhere. I still have to try it with a Zope product, though - I'm really wondering if I could embed the remote debugger in there. That just brought us to another very useful feature - winpdb is a remote debugger. It connects to the real debugger (called rpdb2) using an encrypted and password protected tcp connection, which allows you to run rpdb2 under a totally different user, probably on some embedded box somewhere on the other side of the world. If you don't want to use a graphical frontend, rpdb2 is able to run the debug sessions in a 'screen' window. Although winpdb doesn't ship much documentation, it is very well documented. And in case you don't like winpdb or wx - pida ships with a debugger plugin which is in fact a gtk frontend for rpdb2. The following quote is part of a mail from Nir Aides, the author of winpdb. Although it may be biased, I think it'll probably give you some ideas in case you want to compare winpdb with some other common (commercial) debuggers. He kindly allowed me to quote it here:
I have just spent a couple of hours (instead of doing some real work…) with the commercial Python debuggers of Komodo IDE 4.1 and Wing IDE 3 beta, and (without declaring objectiveness) Winpdb seems currently better than both in several important areas:

* It is the only one of the three to support os.fork() (wingide debugger crashes)

* It handles thread debugging best in many aspects (e.g allows inspection of threads that are still running, stays with the correct thread when stepping, general usability, etc…)

* Its name-space browser is the most consistent and stable (in particular with describing class inheritance, very large objects, sets!)

* It is the only one that prevents breakpoints in invalid lines (Komodo does not care at all and Wing allows setting breakpoints inside remarks and thus possibly in other invalid lines). This is important since in Python it is sometimes surprisingly hard to tell (by looking at the source code) which lines are valid for breakpoints.
Not to forget that winpdb supports debugging of curses based applications, namespace modification and the coming version is supposed to have full unicode support. Happy debugging!

9 September 2007

Simon Richter: I can has my sanity back plz?

Due to popular demand, there is now a new version of mISDN in experimental. The usual warning applies: it will break your system, it will not work out of the box and whatever you do to make it not Oops your kernel during boot will probably no longer work with the next upload. YMMV. HTH. HAND. You are demanding an explanation? Well, there are a few problems with this package that are not trivial to solve. The most visible of them is that it provides drivers for a bunch of ISDN cards that are also supported by the mainline kernel. The hotplug subsystem handles this situation totally gracefully and simply loads all of them. Now if that wasn't nasty enough by itself, mISDN also wants to set up the entire stack when a hardware driver is loaded. All the modules that aren't there at this point are replaced by NULL pointers. As there is no formal dependency on the modules providing layers 1-3, I invite you to guess the stability of your kernel at this point. Upstream has an init script that parses XML files.

Brice Goglin: Debian X.org notes - Known issues in Xserver 1.4

xserver-xorg-core 2:1.4-1 entered experimental yesterday (and should arrive in unstable in the near future). This Xserver 1.4 brings some nice improvements (like input-hotplug and better EXA), but it also has a couple minor bugs that I guess you will quickly notice. So before I get dozens of bug reports about them, here's a list with links to existing bug reports: Nothing really bad so far then. Upstream plans to release Xserver 1.4.1 on November 1st. It's far from here, but it means there will be fixes committed on the server-1.4-branch in the meantime, so it will be easy for us to upload intermediate releases if needed.
(Permanent link) 

Next.

Previous.