KDE 4/Plasma system tray not displaying applications, notifications appearing twice

October 18, 2014

So I was trying to get RSIBreak working on my machine today, and for some reason it simply wasn’t displaying an icon in the Plasma system tray as it was meant to.

It took some searching around, but eventually I came across a comment on a KDE bug report that had the answer.

I opened up ~/.kde/config/plasma-desktop-appletsrc, searched for “systemtray“, and lo and behold, there were two Containments, both using the systemtray plugin. It seems that at some point during the history of my KDE installation, I ended up with two system trays, just with one that wasn’t visible.

After running kquitapp plasma to kill the desktop, I removed the first systemtray entry (I made an educated guess and decided that the first one was probably the one I didn’t want any more), saved the file and restarted Plasma.

Suddenly, not only did RSIBreak appear in my system tray, but so did a couple of other applications which I forgot I had installed. This also fixed the problem I was having with all KDE notifications appearing on screen twice, which was really rather annoying and I’m not sure how I coped with it for so long…


The r8169 driver and mysterious network problems

October 18, 2014

A few months ago, a friend of mine was having a problem. When he hooked up his Toshiba laptop to the Ethernet port in his bedroom, it would work under Windows, but not under Linux. When he hooked it up to the port in the room next door, it would work under both.

I headed over with my Samsung Ultrabook, and sure enough – it worked fine under Windows, but not Linux, while the room next door worked under both.

As it turns out, both our laptops used Realtek RTL8168-series Ethernet controllers, which are normally handled just fine by the r8169 driver, which can be found in the kernel mainline. However, Realtek also releases a r8168 driver (available in Debian as r8168-dkms). Upon installing that, everything worked fine.

(At some point I should probably go back and figure out why it didn’t work under r8169 so I can file a bug…)


Change

April 12, 2014

Accepting a position on the Graduate Development Program will involve a change in your personal circumstances. For some, it may mean leaving home and relocating, for others, it will be your first full-time role, and for others, it will mean new work and a new team. Please outline what sort of changes you anticipate you will need to consider to commence work.

As much as I hate writing answers to selection criteria, sometimes the questions posed do make me think.


Vagrant, NFS synced folders, permissions and bindfs on CentOS 6

January 18, 2014

Over at the DigiACTive blog, I’ve posted about the fun and games I had with Vagrant, NFS, bindfs and CentOS. I hope it helps some other poor developer skip the frustration I experienced.

Vagrant, NFS Synced Folders, Permissions and Bindfs on CentOS 6


AEC releases WA Senate documents under FOI

January 18, 2014

Happy new year, and to celebrate, have some FOI documents.

The AEC released 106 pages of documents in response to my FOI request regarding the Western Australian Senate recount. Documents are here.

I may write some more analysis here when I get around to it.


This is what I do to procrastinate

November 8, 2013

https://www.righttoknow.org.au/request/2013_federal_election_complaints

Let’s see how this goes.


The polling awaits

September 6, 2013

So, it has come to this. As I write, the polls will be open in less than 12 hours.

As an AEC official, it is of course my duty to refrain from the public political discourse. However, this I can say – I am proud to live in a country where the pen(cil) is indeed mightier than the sword. Tomorrow’s result, whichever way it swings, will almost certainly be accepted as legitimate. There will be no riots in the streets, no soldiers or policemen terrorising civilians, no tanks standing by to crush dissent. I am blessed to live in a country with a strong liberal democratic tradition; where the ideas of the rule of law and freedom of speech are so strongly rooted that I can take them for granted. I turn up to work tomorrow morning in the knowledge that so many around the world would happily give up their lives for the sake of free and fair elections.

As a Christian, it is also my firm conviction that governments rise and fall according to the will of God. This is, of course, not to say that all governments have a divine seal of approval or that everything done in the name of the state is morally right; but I know that whatever happens – no matter which parties form Government and which form the Opposition – the will of God shall ultimately prevail.

Let every person be subject to the governing authorities. For there is no authority except from God, and those that exist have been instituted by God. Romans 13:1 (ESV)

This I find reassuring. My hope does not lie in politicians, fallible as they are – it lies in the plans of the Lord. However, that is not to render what we do here on earth entirely insignificant.

But seek the welfare of the city where I have sent you into exile, and pray to the Lord on its behalf, for in its welfare you will find your welfare. Jeremiah 29:7 (ESV)

It is thus my prayer that the 14,703,354 electors of the Commonwealth will exercise their duty tomorrow with careful (and where relevant, prayerful!) consideration, and that our leaders – no matter the party from which they come – shall be blessed with wisdom, skill and diligence.

So it’s bedtime for me. Polling is open from 8am to 6pm tomorrow, and remember… number every box (in the House of Representatives, at least!) to make your vote count!

FUN ELECTION FACTS

  • Enrolled electors: 14,703,354 (source)
  • Election day polling places: 7,133 (source, with abolitions and duplicate locations filtered)
  • Pre-poll polling places: 867 (source, with duplicate locations filtered)
  • Overseas missions: 106 (including military polling teams) (source)
  • Mobile polling locations (hospitals, nursing homes, prisons, remote areas): 2,938 (source, with duplicates removed)
  • Antarctic polling stations: 4

The interesting problems of elections

July 29, 2013
Proposed Certificate of Citizenship (1915 Royal Commission upon the Commonwealth Electoral Law and Administration)

Totally fraud-proof. Toooootally.

So, in the course of my studies for POLS2111 Elections, Political Behaviour and Public Opinion in Australia, I came across the 1915 Report from the Royal Commission upon the Commonwealth Electoral Law and Administration (13.6MiB PDF). Commissioned by the Cook Government in 1914, this report gives an interesting insight into the history of Australia’s electoral system.

It seems that good old King O’Malley, Minister for Home Affairs and Member for Darwin (Tasmania), was at it again in the 1913 federal election, objecting to the appointment of at least 43 officials on the grounds that they were “known partisans, some who have openly taken sides in political matters”. O’Malley went further than that, however – he suggested the names of some more “suitable” appointees, including one who had previously run in a Labor preselection contest (paragraph 4). The Commissioners, unsurprisingly, took a rather dim view of this unjustified ministerial intervention, which “almost resulted in a complete breakdown of the electoral machinery for the State of Tasmania”. One Divisional Returning Officer replied, stating “I consider his selection of any one immediately disqualifies person selected [sic]“. At the time, of course, the Chief Electoral Officer and his staff did not have anywhere near the independence enjoyed by the Australian Electoral Commission today. The Commissioners recommended that “Ministerial intervention in the administration of the Act should be strictly confined to regulations approved by the Governor-General in Council” (paragraph 8).

Apart from the political issues plaguing electoral administration at the time, there were plenty of technical issues too – the report discusses such topics as ballot paper shortages (paragraph 25), lost mail bags (paragraph 26), age verification (paragraph 19), ballot paper packaging (paragraph 27), and how-to-vote cards (Maloney and Laird Smith further report paragraph 6). One of the more amusing recommendations, in this day and age at least, was to “provide for the closing of the poll at 7 p.m.” (paragraph 30). At the time, the Act prescribed 8pm as the closing time – moving it an hour earlier “would save considerable expense in lighting, and minimize the danger of destruction of records by fire”.

Among several comments about multiple voting issues, they also report an absolutely hilarious case of incredibly brazen voting fraud: “A case in which a person succeeded in impersonating another was discovered at Toowoomba. He voted as an ordinary elector in his brother’s name, and without leaving the polling booth, demanded absent voting papers in his own name, when he was detected by one of the scrutineers, who drew the attention of the Assistant Returning Officer to the irregularity. Unpardonable departmental delay was shown in taking action in this case by way of prosecution. The offender was caught in the act, with the ballot-papers in his possession. He was kept under surveillance by the police from the 31st May until the 28th June, but they had no instructions to arrest him until that date. He escaped, and is still unpunished. In such cases the Divisional Returning Officer should have power to act.” (paragraph 20) This makes one wonder how easy it would be to get away with a similar crime today – I suspect that at a busy urban polling place you might be able to hide away in the crowd…

A particularly interesting recommendation they make is found in the Addendum – the complete abolition of electoral rolls, with proof of enrolment provided by a Certificate of Citizenship (pictured above). A certificate system would have advantages – “the enormous saving effected by the abolition of rolls” (paragraph 3) and “absolute prevention” of dual voting, duplication and impersonation (paragraphs 4-6) among other things. Certificates would also save time: “At the booth we estimate that the time taken in dealing with one elector will be half that taken at present. … In some cases the elector will merely state that he is enrolled for, say, “Gippsland” Division, and perhaps the whole of the 29 subdivisional rolls for that Division will have to be searched before he is located. With this system the whole of this is done away with.” (paragraph 7) I am somewhat surprised, given the emphasis they put on “absolute prevention” of voting offences, that they didn’t consider that the certificates could simply be copied, although presumably that was a bit harder in 1915. It doesn’t appear that this recommendation was ever adopted, though.

While many of the issues of 1913 have faded from public memory today, three recommendations of the Commission have become the most distinctive aspects of the Australian electoral system today. “Under the prevailing party system, electors must either vote for the party nominee or refrain from voting. Political thoughts should not be confined in perpetuity to too narrow channels. There must necessarily be many shades of political opinion, which, in a democratic country, should be given expression to in the freest possible manner. In order that public opinion may be portrayed in distinct broad tones of thought, we strongly urge the adoption of preferential voting for the House of Representatives.” (paragraph 11) Preferential voting, also known as the Alternative Vote or Instant Runoff Voting, is only used in a handful of other countries worldwide, and was notoriously defeated in a 2011 UK referendum. In Australia, however, preferential voting was quickly adopted with the passage of the Commonwealth Electoral Act 1918.

The Commission’s recommendations for enhancing the expression of political opinion in the House were extended to the Senate, which at the time used plurality-at-large voting: “In view of the large area represented by Senators, a system of proportional representation should be adopted; applying, of course, to each separate State.” (paragraph 12) The Single Transferable Vote had been used in Tasmania since 1896, so Australians were not entirely unfamiliar with the system. Nevertheless, the Senate voting system did not change until the Commonwealth Electoral Act 1948.

Arguably the most unique feature of the Australian electoral system, however, especially among English-speaking democracies, is our relatively strong system of compulsory voting. Compulsory enrolment for federal elections was introduced in 1912, but voting was not enforced. The Commission, however, viewed compulsory voting to be “a natural corollary of compulsory enrolment” – a recommendation subsequently adopted by Parliament in the Commonwealth Electoral Act 1924. To this day, compulsory voting remains rare. The Australian Election Study finds that a clear majority of the population support compulsory voting, and that there is a very strong voting culture in Australia that would result in high turnout even if compulsory voting were to be abolished.

I haven’t been able to find any other copies of the Royal Commission’s report online, so I’ve scanned it from the Parliamentary Papers Series, courtesy of the ANU Library’s Official Documents repository – it’s available here (13.6MiB PDF).

I find the history of Australia’s electoral system to be fascinating – unfortunately the current limitations of our digitised historical collections makes it somewhat difficult to piece together the original sources. Such is life, however…


CompCon 2013

July 9, 2013

While I’m logged in to WordPress, I should perhaps blog about this…

For the past few months, myself and a bunch of us at the ANU Computer Science Students’ Association have been working on putting together a conference for Australian computer science students.

We present to you CompCon 2013, the inaugural national conference for computing students! It’s on 28-30 September 2013 at the ANU in Canberra.

We’re currently looking for speakers – we’ll be getting a CFP up tomorrow. We’re looking for talks and workshops on any computing-related topic, whether it be technical, research or professional/community.

We’re also looking for delegates – tickets will be going on sale this week at the early bird price of just $35, so get in quick!

For more info, check out the website (where you can sign up for the newsletter) or our Facebook and Twitter accounts.


e-tax, Linux and the Freedom of Information Act

July 9, 2013

EDIT: Josh Taylor over at ZDNet has more info.

So with all the media fuss (okay, not that much media fuss) about the release of e-tax for Mac, I was reminded that (a) e-tax still doesn’t exist for Linux and (b) I actually asked them why about two years ago.

As I was searching through my drawers earlier today I stumbled across the parcel of 130 pages they sent me in response to my request, which gives some insight into the whole thing. For some reason, I had neglected to put the material up on teh interwebz back in 2011, so a few dollars of ANU printer credit later, I have finally uploaded PDFs.

So here, have some FOI goodness.