Search Results: "ag"

14 May 2007

Ross Burton: Sound Juicer "From a Council Flat Paying Higher Rate Tax" 2.19.1

Sound Juicer "From a Council Flat Paying Higher Rate Tax" 2.19.1 is out. Tarballs are available on burtonini.com, or from the GNOME FTP servers. Brown paper bag release to fix not one but two bugs causing SJ to not start.

Kartik Mistry: Fontypython: Now fonts are easy to manage!

* With fontypython (Which is unstable now), you can play with any fonts without actually installing it to system (who needs fc-cache now?). Here is simple method to use it. Thanks Daniel for upload and Donn C. Ingle for writing this simple but useful program. FontyPython_Screenshot1 FontyPython_Screenshot2 FontyPython_Screenshot3 FontyPython_Screenshot5 FontyPython_Screenshot6 FontyPython_Screenshot7

Matthew Palmer: Wanted: A Telco That Doesn't Suck

I am currently with Optus, and while they were acceptable a few years ago, they have descended in the last couple of years so that they're chair-throwingly obnoxious now. So, as I really, really dislike giving retarded monkeys my money (I'd get rid of govco if I could, really), I'm looking to move. Specifically, I want a telephone communications provider: ). Do I really have a hope in hell here? At this point, I'll pay a bit more for phone service if it doesn't involve getting screwed over at the telco's whim, and dealing with incomprehensible Indian call centres. Answers on a postcard, or (if you're feeling really technical) in an e-mail to mpalmer@hezmatt.org. We're talking about Australia here, in case anyone's wondering -- moving to another country for phone service is probably a bit too drastic. Switching to pure VoIP would be an option if I didn't need to have a fixed-line service for my ADSL.

David Welton: Rails ExceptionNotifier plugin

I'm irritated with myself that I hadn't found this before. If you aren't using it now on your rails sites, you need to install it right away: http://agilewebdevelopment.com/plugins/exception_notifier Indeed, if it were up to me, I would include it as part of the standard distribution. It's small, quick to set up, and a huge help in tracking down and eliminating problems.

Matthew Palmer: A Lesson In Critical Reading

Yes, Microsoft have started swinging their patent bat a little harder. However, before everyone gets all screamy about the "235 patents" thing, read a little closer:
the Linux kernel [...] violates 42 Microsoft patents. The Linux graphical user interfaces - essentially, the way design elements like menus and toolbars are set up - run afoul of another 65, he claims. The Open Office suite of programs, which is analogous to Microsoft Office, infringes 45 more. E-mail programs infringe 15, while other assorted FOSS programs allegedly transgress 68.
While I can forgive a journalist the sin of not knowing the difference between Linux-the-kernel and Linux-the-entire-FOSS-ecosystem, can people who should have a clue about this please stop perpetuating the inaccuracy? Yes, 42 patents is still pretty bad, but it's not 235, and getting facts straight is what we do on this side of the debate -- the frothing and bullshit is what the other guys do. Once you start looking at the various categories of patent, it really does make it obvious that there's some straw-grasping going on here. If GUI elements really infringe on 65 Microsoft patents, it seems reasonable to assume that KDE and Gnome have a subset each, so presumably nobody gets the full brunt of that lot. Also, those 68 "assorted FOSS programs" patents probably includes such widely-used classics as this pearler of a program (chosen at random from Freshmeat for it's likely small userbase; no other ridicule is intended or implied). What galls me, though, isn't the bandying around of random inaccurate numbers, it's classy things like this:
[some Microsoft sock-puppet] refuses to identify specific patents or explain how they're being infringed, lest FOSS advocates start filing challenges to them.
Yeah, we'd hate it if the patent system were at all used in the manner in which it were intended. I don't suppose anyone else is getting SCO-style "we've got 100,000 lines of infringing code, but we're not going to tell you which ones" flashback at this point? Personally, I think that if Microsoft ever does starts with a patent smackdown, it won't be 235 patents, it'll be two or three, the strongest ones they can find, and 90 minutes after the plaintiff(s) is/are served the infringing code will be history, and we'll go back to living our lives as normal. That's even assuming that the patents are legit, which is by no means a given (even with the US' insanely broad patent provisions). As the linked article explains, the US Supreme Court has started getting a bit noisy on the subject of over-broad and pointless software patents, so perhaps Microsoft is just getting it's licks in before the Supremes take it's noisy rattle away from it. There's some side-commentary on this issue at Groklaw, and the Patent Law blog has a quick mention of it too (with all sorts of nice frothy comments, to boot).

Uwe Hermann: Playing audio on the NSLU2

3D Sound USB Audio Device I'm a happy NSLU2 user since a few months now, and I'm using it for all kinds of things, e.g. as a 24/7 remote ssh server at home (using DynDNS and the ddclient Debian package), as IRC logger (screen + irssi), etc. etc. I was considering multiple options as to where/how to install the slug (USB thumb drive, Compact Flash, disk drive, ...) but I settled with a full Debian install on an 1 GB USB thumb drive for now. I implemented some measures to maximize the life time of the USB thumb drive, maybe I'll post some info on that later... One new thing I've been trying lately is to use the slug as an audio player. As it doesn't come with an integrated sound card, you have to use an external USB audio device. I've got mine (see photo) from eBay for ca. 5 Euro (+ shipping) and it works out of the box with Linux 2.6.18 using the snd_usb_audio kernel module. You simply attach it via USB (the module is automatically loaded) and then attach external speakers to it. Here's an lsusb of the device:
Bus 001 Device 011: ID 1130:f211 Tenx Technology, Inc.
One problem with playing audio on the slug is the slow CPU. At 266 MHz (and without FPU!) playing audio with "normal" audio players such as mplayer or mpg321 is not possible. But there are several ways to make the slug play your favorite music. Here's a list of players I tested and a status report of whether they work at all. If yes, I listed a rough percentage of CPU load resulting from playing the music.
  • Ogg vorbis:
    • mplayer, aplay, playsound, and ogg123 don't work.
    • $ apt-get install libvorbisidec-dev
      $ cd /usr/share/doc/libvorbisidec-dev/examples
      $ make
      $ cat foo.ogg   ./ivorbisfile_example   aplay -f cd
      
      Result: 40% CPU load
  • MOD, XM, S3M, IT, etc.:
    • $ mikmod foo.mod: 10% CPU load (even with compressed MOD files)
  • WAV:
  • FLAC:
  • SPEEX:
    • $ speexdec foo.spx: doesn't work, 100% CPU load. Any known alternatives?
  • AU:
    • $ cat foo.au > /dev/dsp: 3% CPU load (but sounds crappy)
    • $ cat foo.au > /dev/audio: 3% CPU load (sounds better)
    • $ mplayer foo.au: 5% CPU load
    • $ aplay foo.au: 5% CPU load
    • $ playsound foo.au: 5% CPU load
  • AIFF:
    • $ sox foo.aiff -t wav - aplay: 50% CPU load (a bit stupid, but it works)
  • Streaming MP3:
    • $ mplayer http://www.example.com/foo.mp3: doesn't work, 100% CPU load.
    • $ wget http://www.example.com/foo.mp3 -O - madplay - : 17% CPU load
  • Streaming Ogg Vorbis:
    • $ cd /usr/share/doc/libvorbisidec-dev/examples
      $ wget http://www.example.com/foo.ogg -O - ./ivorbisfile_example aplay -f cd
      : 40% CPU load
  • The SlugAsAudioPlayer page in the NSLU2-Linux wiki might have further information on this topic. Feel free to add comments if you know of other audio types which can be played on an NSLU2.

    13 May 2007

    Benjamin Mako Hill: Section Headings

    I think that this sign in the Housing Works Used Book Cafe is an example of how fixing "/ Crime" to any subject heading in a bookstore can have humorous results (apologies for the blurry phone picture).
    Pop Culture / Crime section heading in Housing Work

    Andreas Metzler: burn hurd burn

    I wish hurd was purged from unstable on ftp.*.debian.org since it would stop hurd's build status from influencing the bts versioning code. Currently the bts default view http://bugs.debian.org/findutils redirects to the listing for unstable which strangely lists bug#385896 as open although the fix was uploaded three months ago and is even in testing. The reason is simple: The hurd-i386 autobuilder still has not built the new version of findutils. For the time being I will follow Don's advice and will simply add &arch=i386 to the url.

    Bastian Blank: cdebootstrap 0.4.1

    I finaly got some time to do development. I decided to use this for extending cdebootstrap. And it got several new features and cleanups. Most notable change is the support to check Release files against the pgp-signature. This feature is enabled by default and uses the keyring supplied by debian-archive-keyring. It now also includes definitions for newer Ubuntu releases and it works in my testcases. The keyring needs to be supplied manualy. The rest are usual cleanups on the codebase and deprecation of some not longer used features.

    Russell Coker: mobile phone etiquette

    Paul Dwerryhouse blogs about mobile phone etiquette.
    1. Taking excessive calls at a restaurant is annoying, but keep them short and it’s no big deal.

    2. Strange ring tones are OK as long as people answer their phone. It’s when they decide that they don’t want to answer a call that the entire Avril Lavigne song annoys people. In regard to this issue wearing headphones in public with the volume turned up high enough that everyone else can hear is a much worse problem - which will incidentally deafen the person using the headphones in the long-term as well as annoying everyone else in the short-term.

    3. I used to work with Paul and we had a colleague who repeatedly chose not to answer his mobile phone because he didn’t want to talk to a particular recruiting agent but refused to say so. Eventually the agent tried calling the office and got to me, I told him “if someone never answers their mobile phone when you call it means that they don’t like you, take a hint and stop calling”. There were fewer unanswered calls after that.

    4. I have to agree with that, having a phone call in the cinema (or even worse the theatre) is just wrong. If you are on the list for organ transplant (the only time you really MUST have your phone on all the time) then turn the phone to vibrate mode.

    5. When on the train the range of things that I can do is limited. Rather than waste time I make calls that I don’t have time to make on other occasions. The only exception is when I was in Japan, in respect of their cultural standards I turned my phone off most times when on the train.

    6. Walking and talking? Unless you are crossing a busy street then why not? People who inappropriately use mobile phones while performing dangerous activities will tend to be weeded out by Darwin. They usually don’t give Darwin Awards for mundane things such as not seeing an oncoming truck while talking on a mobile phone.

    7. In regard to the issue of whether you have to answer a phone, some people believe that it’s an issue of courtesy to the person who is calling to answer the phone if reasonably possible.

    8. Whether “call me back” is adequate depends on who is calling. I generally find that when someone leaves such a message they have been correct in their assessment of the value of their call to me. The people who leave such messages are generally the people who’s call I will return on the basis of such a message. Leaving a long voicemail message adds to the profits of the telco used to making the call as well as the telco that maintains the voice-mail box. My 3 voicemail service charges me to receive the messages and I prefer them to be kept short.

    9. Anyone who thinks that having a fancy phone, car, computer, etc will make them a better person or impress anyone has bigger problems than the choice of a phone. Also if the $600 a year that you might spend on regularly updating your mobile phone makes a significant difference to your savings then you will probably never be able to afford a house either.

    10. Bluetooth headsets do make you look like an idiot, but they do have some benefits. When doing tech-support it is a real benefit to be able to use both hands for typing. The only reason I don’t have one is that I don’t do tech support enough to justify the expense of buying one or the inconvenience of carrying it everywhere. Note that when you define “tech support” in the most broad sense (which includes helping all your relatives with their computer problems) most computer people do quite a lot of it even if it’s not their job.

    Ross Burton: Sound Juicer "Nikki's Growing A Patch Out In The Backyard" 2.19.0

    Sound Juicer "Nikki's Growing A Patch Out In The Backyard" 2.19.0 is out. Tarballs are available on burtonini.com, or from the GNOME FTP servers. This is the first release in the 2.19.x development series, after I failed to do anything useful in 2.17.x...

    Brett Parker: New bpgallery available, and xmms-scrobbler work...

    I've taken over upstream development of xmms-scrobbler, it's now hosted at http://xmms-scrobbler.sommitrealweird.co.uk/ and has a public readonly git repository for the code. Since taking over development I've dropped a lot of the tag parsing code and replaced it with taglib, found some "interesting" locking issues and am now looking at making it so that we don't need to restart it when adding username/password. It'd also be good to get it to actually report a username/password breakage at least once rather than being totally silent about it! In other news, I've just released a new version of bpgallery, this version adds in medium sized pages - i.e. you can have the index page, the index page links to pages that have a resized image on the page, and has next/previous links. If you also generate full sized pages then the link from the image on the medium sized page goes to the full sized page, otherwise it'll go straight to the origional image. Also thinking about making a last.fm "client" for xmms so that I can keep all my music playing in the one place (lastfmproxy appears to have stopped working for me :/)

    Russell Coker: Tom s Hardware falls victim to a trojan

    E-Week has an article about the popular computer hardware review site Tom’s Hardware (tomshardware.com) being hit by a trojan in a banner advert. From the article it’s not clear whether a criminal paid for a banner advert under a legitimate business name or compromised the advertising server run by an innocent third-party who paid for advertising on Tom’s Hardware. But really it doesn’t matter very much for users. The facts that are clear are that Tom’s Hardware is a very reputable site (that I personally visit regularly and recommend highly) that apparently did nothing wrong. Yet Windows users who visited the site who hadn’t applied the latest patches had their systems compromised (and presumably used for other criminal activity). Apparently a month ago there was a patch released for the bug in question. One thing that has to be noted is that large corporations often don’t apply patches immediately. Spending a month testing a patch before deploying it widely is not uncommon in an enterprise environment. The general thinking in an enterprise is that the employees are almost always prohibited from visiting porn sites, and often prohibited from using forums, and webmail services. With these things prohibited the risk of attack is dramatically reduced. Now there is evidence that even the most reputable sites run by the competent sys-admins can be vulnerable to such attack. One possible method of alleviating such attacks would be to have sites that are supported by advertising also allow ad-free subscriptions. So if an enterprise wanted to use a site such as Tom’s Hardware without the risk of advert based attack then they could pay for an advert free subscription. I’m sure that it would be easy for an enterprise to pay Tom’s hardware more money than they would ever be likely to get from providing advertising to the employees of that company while still not having any impact on the IT training budget. But the best solution is that a Windows machine that is used for main desktop work should not be used for web browsing (to any sites). A Linux or Mac OS/X desktop machine could be used for such web browsing with less risk due to having less security holes in the OS. Another option is to use VMWare, Xen, or another virtualisation technology to use a virtual machine for web browsing to make it a lot harder for an attacker to break out and compromise the main environment.

    Romain Francoise: Hard drive shock resistance specs

    The label on one of my new hard drives says the following:
    Caution. Product warranty is void if any seal or label is removed, or if the drive experiences shock in excess of 350 Gs.
    This piqued my curiosity, so I checked the specifications (extra click needed because of Javascript) and it turns out that the drive supports "nonoperative shocks" up to 300 Gs.

    Does anybody know how that translates into real-world measures? In my experience, hard drives are pretty fragile even when they're powered down...

    12 May 2007

    Joerg Jaspert: SPI CA

    Had to create a new SPI CA as the old isnt usable anymore. You can find it here and the information to validate it is also available. You should include this in your browser by downloading the file, then checking its fingerprints against those found in the second link above, with those commands there and finally simply “opening” the downloaded file in your browser. Depending on your browser you will see a dialog with wildly differing details. You should be able to import it there and/or also assign a “Trust it for web/mail/whatever” level. Its currently used to sign certificates for various SPI sites, all of DebConf.org and also various debian.org sites (certs send out, may need a day to get installed everywhere) like alioth, db, nm, rt.

    MJ Ray: Planet Debian Editorial Policy

    Apparently, it is fine by him if others flood planet debian with repeats because they screwed an upgrade, post questionable career advice or misleading documentation links, make fun of unrelated computer companies, or discuss the weather or traffic, but I posted about Eurovision and Martin Zobel-Helas unlinked my entries and sent me a rude email. Isn't planet debian a planet of debian developers, not just a planet of debian development? Even if you only write about debian, please don't force that on everyone else. I like reading about the other stuff developers do - even the loony political views that I don't agree with... Didn't someone put up a Planet Debian Tech a while ago? Maybe that's what Martin Zobel-Helas should read. Whatever happened to it?

    Enrico Zini: tg-i18n-quirks

    Turbogears i18n quirks Collecting strings from .kid files tg-admin i18n collect won't collect strings from your .kid files: you need the toolbox web interface for that. Indentation problems in .kid files The toolbox web interface chokes on intentation errors on your .kid files. To see the name of the .kid file that causes the error, look at the tg-admin toolbox output in the terminal for lines like Working on app/Foo/templates/bar.kid. What happens is that the .kid files are converted to python files, and if there are indentation glitches they end up in the python files, and python will complain. Once you see from the tg-admin toolbox standard error what is the .kid file with the problem, edit it and try to make sure that all closing tags are at the exact indentation level as their coresponding opening tags. Even a single space would matter. Bad i18n bug in TurboKid versions earlier than 1.0.1 faide on #turbogears also says:
    It is of outmost importance that you use TurboKid 1.0.1 because it is the first version that corrects a BIG bug regarding i18n filters ... The version below had a bug where the filters kept being added at each page load in such a way that after a few hundreds of pages you could have page loading times as long as 5 minutes!
    If one has a previous version of TurboKid, one (and only one) of these is needed: So, in short, all i18n users should upgrade to TurboGears 1.0.2.2 or patch TurboKid using http://trac.turbogears.org/ticket/1301.

    Steve Kemp: Fed through the tube that sticks in me

    Thanks to everybody who told me that there wasn't a simple way to persuade Mutt to work with mailboxes containing unread messages. I've now discovered the mutt-ng project, packaged in Debian's experimental branch. This contains the infamous mutt sidebar patch which caters to my needs fully: Job done. Expect a more involved writeup shortly ..

    MJ Ray: Feedback and Comments: long comments

    When I have a longer comment on someone else's blog post, I usually write it up on my own site and then send a pingback or trackback. I've written my own really basic pingback and trackback clients and servers, which seem to work. I'll package them up Real Soon Now. Sooner if anyone asks for them. I don't have much sympathy with people who complain about losing comments because their Javascript or Cookies died when their own blog post has a stupid eyetest on it and its trackback settings are a bit screwed-up. Update: Cord Beermann commented:
    "If you have a problem with the trackback function of my blog, then please be more specific what is wrong with the trackback function, because the software may be part of Debian soon."
    Your page includes trackback:ping="" which seems obviously wrong.
    "The 'stupid eyetest' however is a personal decision for my blog."
    So what if it's a personal decision? It's stupid and I'm going to say that it's stupid. Are you the sort of guy who takes a personal decision to kick guys in wheelchairs, but then protests if they run over your foot in return? I'm disappointed if more stupid software is going to be in debian. Update 2: the image test seems to have been replaced by some numbers now. Thank you for removing the eyetest, but it still won't save a comment for some reason.
    "However: both isn't related to the initial problem."
    I think the broken trackback/pingback support is related to your initial problem. If your trackback/pingback support worked, you could use a real editor on your own site instead of a web browser on someone else's. In other news, here's Alexandre Vassalotti's review of Emacs weblogger-mode.

    Luk Claes: binNMU

    Apparantly not everyone knows binNMUs. Sometimes bugs are filed when binNMUs can solve the problem. Some people even wonder about breaking NMUs without any notice. A binNMU:
    * no source changes * sheduled on the build daemons by someone with wanna-build access * for versions of packages which already exist in the archive * can be requested on debian-release@lists.debian.org, no bugs should be filed So a binNMU is used often for library transitions with ABI changes but without API changes (libFOO-dev has not been renamed, but libFOObar has been renamed to libFOObaz) or to fix an upload of a package that was not built in a clean environment. Note that it is a good idea to contact the maintainers of packages that reverse depend on your library before starting a library transition in any case so people know why their packages don't build/install anymore and maybe can even coordinate uploads they were going to make anyway. Informing the Release Team about library transitions of more than a couple of packages would also be appreciated....

    Next.

    Previous.