P.L.O.A

Syndicate content
Planet Linux Australia - http://planet.linux.org.au
Updated: 1 min 53 sec ago

Jeff Waugh: Power Boards

2 hours 1 min ago

You could probably power a small island with all of these. Oh wait, we are! A rather large number of our favourite iconic green laptops will be charging on these surge-protected power boards very soon.

Pia will land in Niue next week, as one member of an elite team tasked with kickstarting the world’s first 100% saturation deployment of OLPCs. Of course, it helps that Niue is a tiny island nation in the middle of the Pacific!

Categories: Planets

Chris Samuel: Australian submarine sinks US warship

3 hours 49 sec ago

OK, so it was a torpedo test on a decomissioned ship in an exercise near Hawaii, but it’s a great headline..

a

Australian submarine sinks US warship

Categories: Planets

Matt Bottrell: Bring on the presents : It's SysAdmin Appreciation Day!

4 hours 35 min ago
I'm eagerly awaiting large amounts of presents for all those demanding users out there that think sleep is a value-added extra for Sysadmins, or that weekends/public holidays/holidays in general are something that don't apply to us.



Today is System Administration Appreciation Day.



So before you ring me up today to fix your urgent problem, ensure to have that present sent over first.

Any calls raised without the appropriate attached gift will be ignored today.



Geek presents earn additional bonus points. Caffeine and chocolate substances are also welcome.
Categories: Planets

Kim Weatherall: More detail emerges on the UK ‘three strikes’ type scheme

4 hours 55 min ago
More detail has now emerged on ‘three-strikes’ developments in the UK. ‘Three strikes’ refers to proposals currently doing the rounds - heavily pushed by various IP rights-owning organisations - to have ISPs monitor online copyright infringement (particularly P2P), warn users, and, if infringement persists, impose sanctions such as termination of service. The French have [...]
Categories: Planets

Arjen Lentz: InnoDB Performance Tuning (training course day for MySQL)

5 hours 47 min ago
This DBA course day is in part based on info from Peter Zaitsev's earlier explorations (thanks Peter), and of course new insights from the High Performance MySQL book (there's a lot of Baron in there, all credit to his great work!), wisdom from Mark Callaghan, with my own teach approach and style thrown in to turn it into a good yet fun educational day!



Just like with other topics, extending this to a full day allows the issue to be explored much better rather than getting skimmed over as a small part of a much bigger course. After all, if you understand the tool, how it does things and why, you can utilise it more optimally. The skimming wouldn't help you in this sense.



I still have some customers use MyISAM (out of habit mainly) but the default storage engine really is InnoDB, effectively, even if the server build does not see it that way by default ;-) But there is more to tune, things to know. Just converting to InnoDB does not make the application run any better necessarily. It might reduce lock contention in some cases (like update heavy apps), but the overall running might be slower without the right setup. While maintaining ACID, there's much that can be done.



The course is part of the DBA course days that Open Query has currently scheduled in cities around Australia, and in Auckland New Zealand. For dates that are still a few months away you can get up to $50 off (per person/per day) for early bookings.
Categories: Planets

Colin Charles: MySQL vs. PostgreSQL

8 hours 32 min ago

We were at the Sun+Zend party last night, and it was a blast (thank you Jesse Silver!). If you’re a PostgreSQL or MySQL user/developer or just a general database geek, you should’ve been there. Why?



(watch the video if its stripped in your feed reader)

Monty Widenius (MySQL) and Josh Berkus (PostgreSQL), decided to start sumo wrestling! It ended with a 5-0 score, advantage MySQL.

An attendee Tim Moore twittered: “Postgres is totally losing the sumo match. I’m migrating all of my databases to MySQL tomorrow.”

Monty says, this is what we do to people that leave Sun! In fact, if you didn’t already know, Josh Berkus, my esteemed colleague in the Database Group at Sun Microsystems, is leaving his post as the PostgreSQL Team Lead. We met for the first time, face to face at foss.in last year, and all I can say is I’m truly saddened to see him leave. But thanks to the magic of the open source world, we’ll still be interacting, I’m sure. Good luck Josh! (and better sumo practising next time, mmmkay?)

Categories: Planets

Unlocking IP: The Battle of the Online Peer-Produced Encyclopedias?

8 hours 57 min ago
This just in...in an AP article in the Sydney Morning Herald, it is reported that Google is launching its very own editable online encyclopedia, titled "Knol", the term for a "unit of knowledge" (You learn something every day, don't you?) Until now, Google's Knol has only been edited by a number of invite-only participants, but this is about to change - everyone with a Google account can edit Google's Knol. I just had a quick look at Knol's main page and featured units of knowledge included conjunctivitis, feminist analytical philosophy, and safe sex. What, no page yet about The Dark Knight?



Google, being the smart world-dominating search engine that it is, has come up with a nifty business model to entice authors to contribute to Knol: if contributors "choose, [they can] have ads displayed through the Internet search leader's marketing system. The contributing author and Google will share any revenue generated from the ads, which are supposed to be related to the topic covered in the knol."



According to the report, Knol "has been widely viewed as the company's answer to Wikipedia", although reports from Google say it's supposed to "supplement" Wikipedia. And in true Wikipedia form, you can find the Wikipedia page on Google's Knol here.



Sadly yours truly was not on the original Knol invite list...Google must not know about my obssessive knowledge of colonial copyright...or The Dark Knight.
Categories: Planets

Simon Rumble: XRay for CSS

13 hours 12 min ago

Very very cool little bookmarklet that shows loads of cool info about the styles of an element you click on a page. Wow!

Contact me

Categories: Planets

Colin Charles: Silona speaks about grids, databases, and open government

14 hours 23 min ago

Silona Bonewald, the lady always in a hat (she says that it’s just become an extension of her). Describe her, by her tags: open government, open data, open standards, and databases.



(watch the video if your feed reader strips it out)

Silona’s the founder of The League of Technical Voters, which allows technical people to be more involved in voting process. As part of this, she created the Transparent Federal Budget, with Bill Bradley and Jimmy Wales.

On top of all that, she’s also the open source evangelist for grid.org. The focus there is a social network for grid, cluster, and cloud computing folk - a community of communities. Best of all, this was just launched on Tuesday!

It’s also the home to UniCluster, and they’ve recently struck a deal which Intel to pop UniCluster in BIOSes. UniCluster works with Sun’s Grid Engine, as well.

She’s interested in Drizzle, for the same reason that she likes Drupal. She likes the decorator model, and she thinks its a great way to get the parallel computing solutions fixed.

Needless to say, all of the stuff she works on currently, is powered by MySQL.

Categories: Planets

Michael Davies: LCA2009 CFP Closing Soon

Fri, 2008/07/25 - 01:26

So, you contribute to Open-Source? Got something to say? Want to recruit others to your project? Want to spread the word about cool stuff? Looking for recognition for your contribution? Then you should consider responding to the Call For Presentations for linux.conf.au 2009!

Submissions close in about a fortnight, so you need to get your skates on and read up on making a submission, and then submit your proposal. You won't regret it - being a speaker at linux.conf.au is very worthwhile :-)

linux.conf.au 2009 - Monday January 19 to Saturday January 24, 2009 - the conference you want to go (and be a speaker at if you've got the stuff to say!)

Categories: Planets

Michael Davies: LinuxSA August 2008 - Interesting stuff to do with MySQL and Drizzle

Fri, 2008/07/25 - 01:26
Hi all, Time for the August meeting announcement. Note that everything has changed: date, time, and location... Arjen Lentz is in town for the SAGE-AU conference, so we're going to run the meeting one week earlier than usual so we can fit him in. Ian Pilkington has organised for space at Prince Alfred College (Dequetteville Terrace, Kent Town) for us to meet at (thanks Ian!). Car parking should be easier than EXCOM, and it's not far from the city. There are buses that go from the Adelaide train station to right outside PAC for people who were training it into town. And, we're going to try a 6:30pm start this time. The start times people wanted ranged from 5:30pm to 7:30pm, so there's no way we're going to make everybody happy, but 6:30pm seems like a reasonable compromise of balancing too-early vs. too-late. The usual details: When: 6:30pm-8:30pm on Tuesday, 12th August, 2008 Where: Room G05/G06 Gerard Innovation Centre Prince Alfred College Capper Street, Kent Town SA Cost: FREE Who: Anyone and everyone. No pre-registration necessary. Presentation: Arjen Lentz was employee #25 at MySQL AB (2001-2007), and then founded Open Query in September 2007 which focuses on modular MySQL training (developed in-house) and consulting in the Australia and New Zealand region. Arjen also co-authored the 2nd edition of the new O'Reilly High Performance MySQL book. Originally he was a C programmer, with coding experience going back to the early 80s. In his spare time, Arjen likes to cook, walk, read, grow herbs/veggies, and explore RepRap. Arjen will be talking about interesting stuff to do with MySQL and Drizzle. Getting to the Venue: Prince Alfred College faces Dequetteville Terrace, but you need to enter from Capper Street. Parking is available on-street or maybe off-street (adjacent to the Sports Centre). Look for the two storey stone fronted building with sign "Gerard Innovation Centre". Enter through the double doors, first room on the right hand side of corridor (ground floor). The external door automatically locks at night. Should it not be propped open please be ready to knock loudly. There are buses that go along Dequetteville Terrace, with a stop adjacent to Capper Street. The 143, 145, and 146 buses leave from North Terrace, and the 141 and 142 buses leave from Currie Street and Grenfell street. If you are in the city, you could also catch the 99C bus to East Terrace, then take a 10-15 minute walk to the College. Pizza: After the meeting, please join us for pizza at San Georgios (cnr. Frome Street and Rundle Street in the city). For more information: Email: organisers@linuxsa.org.au Web Page: http://www.linuxsa.org.au/ Mailing List: linuxsa@linuxsa.org.au IRC: #linuxsa on irc.freenode.net
Categories: Planets

Chris Samuel: Changing a Mailman list subscribers email address

Fri, 2008/07/25 - 00:13

Just had to figure out how to change the email address for a subscriber to a Mailman mailing list, and couldn’t find anything obvious saying it so having figured it out I thought I’d blog it for future reference.

It’s actually pretty easy, and fairly obvious once you know how:

clone_member -n -r user@old.address.com user@new.address.org

In other words, for all the mailman lists on this system go through and clone the old, non-working address user@old.address.com as user@new.address.org and then the -r option tells it to remove the old address.

The -n option is there to stop you shooting yourself in the foot and tells it to only tell you what it would do without actually doing it, so you’ll need to remove that to get it to actually take the action.

Caveat - as the manual page says:

Note that this operation is fairly trusting of the user who runs it — it does no verification to the new address, it does not send out a welcome message, etc.

a

Changing a Mailman list subscribers email address

Categories: Planets

Steven Hanley: [leisure/food] Wines from Plonk!

Thu, 2008/07/24 - 19:32
So I had been wondering what to get my mother for her 60th birthday celebrations, the actual celebration is tomorrow even though her birthday was yesterday. However I will give her a gift tomorrow, I feel I can safely write about it here as she never actually reads this unless bludgeoned with a link to a particular entry.

It occurred to me that Mum and her partner drink wine with food and like to try out a variety of different wines. After getting some wine recommendations from Jane I set about finding somewhere to buy some nice wines from knowledgeable staff. I had Plonk at the Fyshwick Markets suggested and they sounded good as they focus on smaller labels and more variety than you may find from a large bottle shop chain.

I grabbed my car from home at lunch today and drove over to have a look, I walked away with what I think will be a reasonably nice gift of 8 bottles of wine from them, 6 whites and two reds. The wines I got are.

  • Lake George - Pinot Gris
  • Lake George - Shiraz
  • Brindabella Hills - Chardonnay
  • Pikes Clare Valley - Reisling
  • Krinklewood - Verdelho
  • Pizzini - Sangiovese
  • Tohu - Sauvignon Blanc
  • Garden Gully - Sparkling Shiraz

The Tohu comes from Marlborough region of New Zealand, apparently this is quite an award winning wine. Three of the wines as you can see are very much local and the others are all Australian. I liked the guys I talked to in the shop and we even talked about the possibility of them supporting some mountain bike stuff with CORC.

Categories: Planets

Russell Coker: SE Linux Policy Loading

Thu, 2008/07/24 - 19:21

One of the most significant tasks performed by a SE Linux system is loading the “policy“. The policy is the set of rules which determine what actions are permitted by each domain.

When I first started using SE Linux (in 2001) the kernel knew where to find the policy file and would just read the data from disk as soon as it had mounted the root filesystem. Doing such things is generally considered to be a bad idea, but it was an acceptable mechanism for an early release.

One issue is that the policy needs to be loaded very early in the system boot process, before anything significant happens. In the early days the design of SE Linux had no support for a process to change it’s security context other than by executing another process (similar to the way a non-root process in the Unix access control system can not change it’s UID, GID, or groups). Although later on support for this was added, it was only available as the request of the application (an external process could not change the context of an application without using ptrace - a concept that is too horrible to contemplate) and I am not aware of anyone actually using it. So it’s almost a requirement that there be no more than one active process in the system at the time that policy is loaded, therefore it must be init or something before init that loads the policy.

When it was decided that a user-space program had to instruct the kernel to load the policy we had to determine which program should do it and when it should be done, with the constraint that it had to be done early. The most obvious solution to this problem was to load the policy in the initramfs (or initrd as it was known at the time). One problem with this is that the initramfs is limited in size by kernel compilation options and may need to be recompiled to fit a bigger policy. As an experiment to work around this limitation I had a small policy (which covered the domains for init and the scripts needed for the early stages for system boot) loaded in the initramfs and then later in the boot process (some time after the root filesystem was mounted read/write) the full policy was loaded.

A more serious problem with including policy in the initramfs was that it required rebuilding the initramfs every time the policy changed in a significant way, of course scripts could not determine when a change was significant (neither could most users) so that required needless rebuilds (which wastes time). Even with a small policy for early booting loaded it was still sometimes necessary to change it and update the initramfs. I believe that as a general rule an initramfs should only be rebuilt when a new kernel is installed or when a radical change is made to the boot process (EG moving from single disk to software RAID, changing between AMD and Intel CPU architecture, changing SCSI controller, or anything else that would make the old initramfs not boot the machine). The initramfs that was used to boot my machine is known to actually work, the same can not be said for any new initramfs that I might generate.

But the deciding factor for me was support of machines that did not use an initramfs or initrd (such as the Cobalt machines [1] I own).

To solve these problems I first experimented with a wrapper for init. The idea was to divert the real init to another file name (or use the init= kernel command-line option) and then have the wrapper load the policy before running the real init. I never intended that to be a real solution, just to demonstrate a point. Once I had proven that it was possible to load the policy from user-space before running the real init program it was a small step to patch init to do this.

One slightly tricky aspect of this was in getting the correct security context for init. The policy has always been written to allow a domain transition from kernel_t to init_t when a file of type init_exec_t is executed. The domain kernel_t is applied to all active processes (including kernel threads) at the time the policy is loaded. So init only has to re-exec itself to get the correct context. Fortunately init is designed to do this in the case of an upgrade so this was easy to manage.

Since that time every implementation of SE Linux apart from some embedded systems has used init to load the policy.

The latest trend in Linux distributions seems to be using upstart [2] as a replacement for the old SysV Init. The Fedora developers decided to make nash (a program that comes from the mkinitrd source tree in Fedora and is a utility program for a Red Hat based initramfs) load the SE Linux policy as it would apparently be painful to patch every init to load the policy.

As far as I am aware there are only three different init programs in common use in Linux, the old SysV Init (which used to be used by everyone), Busybox (for rescuing broken systems and for embedded systems), and now Upstart (used by Ubuntu and Red Hat since Fedora 9). Embedded systems need to work differently to other systems in many ways (having the one Busybox program supply the equivalent to most coreutils in one binary is actually a small difference compared to the other things), and modifying the policy load process for embedded systems is trivial compared to all the other SE Linux work needed to get an embedded system working well. There are at least two commonly used initramfs systems (the Debian and Red Hat ones) and probably others. As one init system (SysV Init) already has SE Linux support it seems that only one needs to be patched to have complete coverage. I’ve just written a patch for Upstart (based on the version in Debian/Experimental) and sent it to an Ubuntu developer who’s interested in such things. I also volunteer to patch any other init system that is included in Debian (I am aware of minit and will patch it as soon as it’s description does not include “this package is experimental and not easy to install and use“).

It seems to me that repeating the work which was done for SysV Init and upstart for any other init system will be little effort, at worst no greater than patching an initramfs systems (and I’ll do it). As the number of initramfs systems that would need to be patched would exceed the number of init systems it seems that less work is involved in patching the init systems.

The amount of RAM required by the initramfs is in some situations a limitation on the use of a system, when I recently did some tests on swap performance by reducing the amount of RAM available to a Xen DomU [3] it was the initramfs that limited how small I could go. So adding extra code to the initramfs is not desired. While this will be a small amount of code in some situations (when I patched /sbin/init from Upstart it took an extra 64 bytes of disk space on AMD64), dragging in the libraries can take a moderate amount of space (the fact that an LVM or encrypted root filesystem causes SE Linux libraries to be included in the initramfs is something that I consider to be a bug and plan to fix).

Finally not all boot loaders support an initrd or initramfs. I believe that any decision which prevents using such sweet hardware as Cobalt Qube and Raq machines from being used with SE Linux is a mistake. I have both Qube and Raq machines running fine with Debian SE Linux and plan to continue making sure that Debian will support SE Linux on such hardware (and anything with similar features and limitations).

Categories: Planets

Andrew Pollock: [life] Three years later

Thu, 2008/07/24 - 17:21

Today is our third wedding anniversary.

We're marking the occasion by having a night at the Tickle Pink Inn, which I can vouch for as being very nice indeed.

Unfortunately I ended up on-call this week, so my day off tomorrow isn't going to be as idyllic as it could have been.

It's hard to believe we've only been married three years. I think we've already been through more than a lot of married couples would have to go through in a lifetime.

Here's to at least another 50 years.

Categories: Planets

Arjen Lentz: PHPUnit, Selenium... Sebastian's workshops in Australia

Thu, 2008/07/24 - 15:04
Sebastian Bergmann's slides of his presentation at OSCON this week. Quality Assurance in PHP Projects is a workshop by Sebastian (author of PHPUnit) in Melbourne (4-6 August) and Brisbane (11-12,14 August), on my invitation. This was triggered by meeting up with him earlier this year at the MySQL Conf in Santa Clara, and a discussion I had a month or so later with Jonathan Oxer of IVT.



I've been promoting various aspects of development process improvements through the keynote selection at OSDC 2007, the distributed revision control talk at the combined MySQL/PHP user groups in Brisbane by Ian Clatworthy (Canonical/Bazaar), and of course test-driven development for PHP is another key aspect. PHP is pupular (essentially it runs Web 2.0) but so easy that coders can get very slack. On a larger project, this can become disastrous. I don't believe that PHP is fundamentally bad; given the right development environment, it's fine. It's just that what's regarded as standard in the Java and Ruby/Rails world, has been nonexistent, hard to use, or optional in the PHP realm.



Anyway, both workshops are almost full now, just one or two places still available. No this is not marketing blah to just make you think it's popular ;-) If I say almost full, I do mean just that. I gave Jonathan a place for the Melbourne workshop, as it's his birthday coming up this Saturday (Unfortunately I can't make it to the party next week). Jonathan is a special friend to me and Open Query as we bounce around ideas and exchange interesting books. IVT also happened to be Open Query's first customer.



Speaking of gifts, consider donating something for little Ivan Nikitin's operation: http://www.mysql.com/about/help-ivan.html. This is not another random sad chainletter, this is a real small smurf, son of a MySQL support engineer. Ivan and his parents have now already arrived in Germany for the tests and procedures that Ivan needs, however additional financial help is still very important.
Categories: Planets

Jacinta Richardson: OMG I won a white camel

Thu, 2008/07/24 - 13:31

Unfortunately, despite plans, I wasn't able to attend OSCON this year even though my husband, Paul Fenwick has made it. It would have been my first time out of Australia, but I'll have to wait for that.

Still, I asked him to bring me home a present, and last night he sent me:

You asked me to bring you home a nice present. I'm actually bringing home a present from the entire Perl community for you!

You're the recipient of one of the three White Camel awards!

I struggled at first to take him seriously.

Wow.

Really, Wow.

I didn't even know I was nominated. Thankyou to the unknown person or persons who nominated me.

Someone asked me what a white camel award was; and I struggled to answer the question to my satisfaction. So I searched and found:

The White Camel reward recognises the Perl community's "unsung heroes"--those who have devoted extraordinary creativity, energy, and time to the non-technical work that supports Perl's active and loyal user community.

I think originally it was divided into three areas: Perl Advocacy, Perl User Groups, and the Perl Community with one award each; but I suspect that distinction has since been dropped.

I join a very short list of very impressive people who've also earned one of these awards and share this year with Gabor Szabo and Tatsuhiko Miyagawa who most certainly deserve their awards.

Thanks again to those who nominated me; to the judges who've honoured me; to Paul for accepting the award on my behalf and to everyone else who's offered me such lovely and sincere congratulations!

Categories: Planets

Kim Weatherall: UK to announce three-strikes scheme for ‘curbing’ downloaders’ internet access

Thu, 2008/07/24 - 12:49
The Times today is reporting that ‘[p]arents whose children download music and films illegally will be blacklisted and have their internet access curbed under government reforms to fight online piracy’. According to the report: The measures, the first of their kind in the world, will be announced today by Baroness Vadera, who brokered the deal [...]
Categories: Planets

Kim Weatherall: A Balanced Interpretation of the Three Step Test

Thu, 2008/07/24 - 12:39
A group of European IP Professors have drafted a Declaration, available from the Max Planck Institute, which offers ‘a balanced interpretation of the “three step test” in copyright law’. The Three Step Test is a provision found in various treaties on IP and particularly copyright - the Berne Convention, TRIPs, and the Australia-US Free Trade [...]
Categories: Planets

Daniel Stone: some metrics

Thu, 2008/07/24 - 12:27
Make of them what you will.



daniels@psyence:~/x/xorg/xserver% wc -l **/*.[ch] | tail -1

  730420 total

daniels@psyence:~/x/xorg/xserver% git diff -p xorg-server-0_99_1.. | diffstat | tail -1

 2747 files changed, 178062 insertions(+), 628051 deletions(-)

daniels@psyence:~/x/xorg/xserver% echo $((628051-178062))

449989
Categories: Planets