Archive for September, 2006

Gentoo/MIPS Cobalt: µClibc stages on their way

Saturday, September 30th, 2006

Hi All…

Whilst forging ahead into new territory for the Gentoo/MIPS project on the n32 front, I also figured now would be a good time to update the µClibc stages for mipsel.

I’ve completed a cross-compile from x86 of an entire mipsel environment, and I’m now just about to set this up to use as a seed stage in Catalyst.  Once this is done and I’ve bootstrapped a system with it, I should be set to build a full mipsel environment.  This will be compiled for MIPS-1 class CPUs, and thus should be compatable with embedded devices such as wireless routers.  Note: This does not mean we will officially start supporting wireless routers.  They are still officially unsupported, and users are very much on their own when troubleshooting problems on these devices.

I’ll keep you all posted on the progress. :-)

Request for Comment: Cross (X) Network Black List for IRC (and other systems?)

Saturday, September 30th, 2006

I’m sure we’ve all seen it. IRC network spam, trolling, cracking… all kinds of abuse. However, unless I’ve been living under a rock lately, there doesn’t seem to be a co-ordinated approach at dealing with it.

I’m a regular user of both Freenode and AustNET IRC networks, and over the years, I’ve witnessed a number of network abuses, and I’ve seen how both networks here, handle such issues. But the issue is this, if a user abuses people on one network, what’s to stop them going and abusing another? Or even abusing people by other means, such as email?

Thus, I’m thinking… a cross-network black list would help here. It’d require co-operation between the various IRC network operators… but the idea is this. I’ll use a couple of actual examples here.

Example 1: This cretin, plonks bots on a number of AustNET channels, including #atomiclinux. Alledgidly he runs off with victim’s money and doesn’t deliver.  Nonetheless, it’s a nuisance we can do without.  Address information has been removed here:

--> itsmew (itsmew@xxx.xxx.xx.xxxxx) has joined #atomiclinux
hey people i have 2 portble notbook i need to sell immediately.  message me if interested on msn at this is just mike @ DOMAIN WITHELD
< -- itsmew has quit (Banned from AustNet: Must go now, one stolen laptop spammer)

Now, in this case it was pretty quickly dealt with.  We have had this chap go on unchallenged for hours.  I don't know if he spams other networks too.

Since this was on one network, it would be reported and would go into the blacklist, with the report comming from one network.  Owners of other networks may decide to act on the blacklist based on this first report, or they may wait for a couple of independant reporters to complain, depending on the severity of the inconvenience. They may also decide to block access to other services in order to prevent abuse via email or IM protocols.

Example 2: This troll, first spammed us on #atomiclinux.  Unfortunately though, none of us were awake, and thus he soon left...

Jul 26 00:41:55 --> l33t_h4x0r (l33t_h4x0r@vw-18983.as9105.com) has joined
#atomiclinux
Jul 26 00:41:57  i kno more about computas than u all im da best
hacker eva

A few days later, he turns up in #mipslinux on Freenode.  The log is rather long, so you can find it here instead, here he got booted out by Ralf Bächle.  The next day, he also pestered the people in #edev on the same network — unfortunately his lack of understanding of Australian fauna sent him packing.
In this situation, we now have 3 reports from 2 independant groups.  The chap would be blacklisted right then and there, and banned for an appropriate length of time.

How long would you ban someone?  Well, I guess it should depend on the number and type of past offences, as well as the number of reports regarding the current offence.  This could be based on a decaying figure that gets bumped up with each report, something like the demerit points system that driver’s licenses here in Australia have.  Thus various offences would be given a weighting, and it’d be the sum of points from each type of offence, that determines the final score.  Network admins could then decide how long to ban offenders, on a per-point basis.

This blacklist could work for other protocols too.  Why does email need a special blacklist database…?  This could be shared across a number of services.  The idea: a spammer may not be bothered about being banned on one IRC network.  But they won’t like it if every host on the internet now refuses to speak to them.  This would work well in Example 2 above, where the idiot decided to use the exact same host to do his trolling from.  The first example actually looks like a comprimised host — which is still a serious issue.  Even on IRC networks that don’t implement this… it is possible for IRC clients and bots to have such filters installed, allowing per-user or per-channel filtering, the bot only needs channel operator privileges to work.
It seems to me, that the nuisance problem won’t go away unless we actually become proactive and do something about it.  I might post more on this topic. There’s a lot of logistical issues to sort out (e.g. how do the reports get filed, how to deal with false alarms…etc.), but I do believe there is a need for some system like this.

Gentoo/MIPS Cobalt: n32 Stages just a little closer to reality…

Wednesday, September 27th, 2006

Hi All…

Yep, I dusted off my n32 chroot again this morning (it’s 1:22am as I type this), determined to talk some sense into Portage. I figured I’d give it one last time before I invested the time into trying out Paludis (which I may still do yet, I’m hearing lots of good things about it).

So, what’s been holding me up? Well, the issue has been this nagging bug that I couldn’t figure out. Cobalt doesn’t have any n32 stages, let alone NPTL n32 stages. For the most part, I was able to nick the settings out of default-linux/mips/2006.1/generic-be/n32/* copying this into the default-linux/mips/2006.1/cobalt/ directory, and replacing mips64 with mips64el in the CHOST variable.

This worked quite well, but there was still one nagging issue that cropped up when trying to compile various packages, particularly portage itself:

These are the packages that would be merged, in order:

Calculating dependencies... done!
Traceback (most recent call last):
File "/usr/bin/emerge", line 3316, in ?
mydepgraph.display(mydepgraph.altlist())
File "/usr/bin/emerge", line 1650, in display
verboseadd += create_use_string(key.upper(), cur_iuse_map[key], cur_use_map[key],
KeyError: 'elibc'

On further investigation, I noticed that on all the working environments, there was a USE-expand flag: elibc_glibc. This is susposedly set in the base profile, but for whatever reason, my sub-profile transplant seems to have lopped this flag off. Portage would see this, and b0rk when it didn’t know which libc to use. Thus, I tried something… I hacked around it by setting USE="elibc_glibc" in /etc/make.conf then gave it another try. Sure enough, emerge --info now listed the illusive USE flag, and packages started compiling once more.

Right now, I’m rebuilding all the system packages in my chroot (which also has lib64 stuff floating in it). This will hopefully get me to the point of producing a first seed-stage for Catalyst, and will allow stagebuilds to be done for n32 at long last. As for n64? Well, time will tell… it’s certainly a possibility. I’d like to first discover why this USE flag is getting dropped… as setting it in make.conf is not an acceptable workaround IMHO, but it’s better than nothing.

I shall keep you all posted on my progress. :-)

Codec Survey: Listeners wanted for codec comparison

Sunday, September 17th, 2006

I mentioned in a previous post that I was looking for a web applet for playing FLAC audio. This search still continues, however, in the meantime I’ve gone ahead and set up the site to use a browser plugin instead, with a fallback letting people download the files manually.

So now, we’re now open for business, and seeking people with good hearing and some time to spare, to help us out in this survey.

This is part of a group project for university. I intend to keep the project running as long as I can. For the purposes of this assignment, I need some data by Friday, the 22nd of October. I intend to make the results of this survey publically available.

To do the test, you’ll need:

  • A player or browser plugin supporting the MP3, Vorbis, AAC and FLAC formats. (Such as mplayerplug-in with the FLAC support patch)
  • A broadband internet connection (if streaming)
  • A decent sound system
  • Low/no ambient noise

Those wishing to participate, please see the project homepage.

Audio Codec Comparison Survey: Looking for a FLAC player applet…

Thursday, September 7th, 2006

Hi All…

As part of my university studies, I’m doing a bit of statistics work (you know… normal distributions, Kolmogerov-Smirnov tests, ANOVA…etc.). As part of this subject, we all have to do a group project, the subject of which being chosen by us.

The three of us have put our heads together, and have decided to do a formal study to compare 3 audio codecs: AAC, MP3 and Ogg/Vorbis. I’ll announce the full details on this project closer to the date.  Put simply, it’s a study I’ve been wanting to do for a while, and university has basically given me an excuse to go ahead with it. :-)
The plan, is to conduct listening tests online, by constructing a variety of audio samples — half encoded using a lossy codec, the rest left as-is, and asking the listener to rate the quality level. In order to prevent skewing of the results though, these samples need to be distributed in a lossless form. And here, lies a problem.

There are a couple of options, the obvious one is to not compress the samples at all, but to leave them as plain AIFF or WAV, but that’ll be wasteful. The other, is to use a lossless codec such as FLAC, and in here lies my problem.

Most Linux users, will have little problem playing FLAC audio, that isn’t the issue. On Gentoo, set USE="flac", and Portage pretty much looks after it from there. However, I suspect many of the people will be using Windows, and may not be in a position to install a codec pack (such as the OggDS codec pack). So the ideal, would be to use some sort of java-based or flash-based player (with the option there to allow external playback).

My question… Does anyone know of a decent web-based FLAC player applet, that I can use to embed FLAC audio on a web page?

SMS-speak: Mutilating the English language…

Monday, September 4th, 2006

Ugh yeah… I’ve got a bee in my bonnet, and I’m having another winge.

I don’t know what the cause is, but for whatever reason, there’s been an increase in the number of people who, instead of properly typing words out, and at least attempting proper spelling and grammar (which I’ll admit, I don’t always get perfect myself), instead, insist on cheap shortcuts. Even on exams, there are people out there who would rather write “2″, “u” and “ur”, instead of spelling those words out properly.
For people who are from a non-English speaking background, yeah fair enough, they won’t know all the intricacies of the English language. But at least they try to get things right. The people I speak of, are those who have only ever known one language, English, have been taught (presumably) literacy skills at school, yet still insist on hard to read, cheap, dodgy shortcuts.
I’ve got a simple motto which I stick by:

If you want a question answered, and not mocked, make sure it can be read.

I don’t know about others… but I do get a lot of email, and I also have a lot of things to do in real life. I’ve got better things to do than to try and decipher a badly written email. Okay, there are some well-known acronyms such as “LOL”, those are fine. But dropping letters for the sake of it (laziness), is not on. On SMS messages, I can tollerate it to a point: you’re working on a telephone keypad, with limited space to write a message. On online games, I’ll tollerate it (to a lesser extent) as one has limited time to construct a message. I won’t, however, tollerate it on email messages, on chatroom protocols such as IRC, or on instant messenger systems, where one is presumably working on a decent-size keyboard and has ample time to write the message.
I mean, how long does it take to type “2″, vs typing “to”, “too” or “two”? How about “u” vs “you”? Are you really saving much time by dropping letters? I’d say no. Are you helping the reader understanding your message? Again, no. In fact, I’ve seen instances where someone has used “2″, and I’ve been left guessing which word they actually meant.

Grammar is an issue too… but less so. Probably the worst problem here, is people writing big long sentences with no breaks. Big blocks of text are hard to read too.

SI units are another point of confusion — more than once I’ve commented to someone about how quick their sub-Hz computer is, not everybody understands that SI units are case-sensitive. This is particularly important when asking networking-related questions… is “mbps”, MegaBytes per second, Megabits per second, Millibits per second?? Okay, B (bytes) vs b (bits) was never standardised, even though this is the common convention, but to be sure, perhaps MBytes or Mbits is better ;-) .

Anyway… enough of my ranting… I’ve got it out of my system now. :-) Just to say, next time you’re writing an email to one of us, please do us a favour, and write your message properly. Pretty please? :-D

RIP Steve Irwin

Monday, September 4th, 2006

This has come as a shock, but it seems Steve Irwin, well known for his work in wildlife documentaries internationally as well as numerous other areas, is now deceased.

The this recording was grabbed from Triple M News just 10 minutes ago. There is a full article on the incident here along with a discussion here.  Those wishing to leave a tribute to his family should have a look here.

Pluto for Sale on eBay

Saturday, September 2nd, 2006

Yep… you heard right… someone on eBay is selling Pluto.

Quick… dive in now… this is your one in a lifetime opportunity to claim your own planet. ;-)

After a recent clean up of our solar system the IAU has realized we no longer need Pluto. We have 1 planet, Pluto for sale. This icy planet would look great on any mantel piece, or a perfect center piece for any room, a great conversation starter.