- Hacker News thread – How do you use Docker in production?
- Average number of languages spoken by the EU population
- Why buses arrive in bunches – This really seems to confuse most people. Good explanations
- Great New Yorker story about “Dollar Vans” including video and other interactive features.
After already having trouble Electoral Commission banning photography in polling places I now get a threatening email from them.
Yesterday I made this Tweet:
— Simon Lyall (@slyall) September 16, 2014
and today I get the following email
Subject: Electoral Commission complaint – London exit poll posted on Twitter account
The Electoral Commission has received a complaint with regard to an exit poll being taken and then published on the Twitter account of @slyall. We understand that this is your Twitter account.
Under section 197(1)(d) of the Electoral Act 1993, it is an offence to conduct a public opinion poll of persons who have voted (exit polls). Section 197(1)(d) states:
197 Interfering with or influencing voters
(1) Every person commits an offence and shall be liable on conviction to a fine not exceeding $20,000 who at an election—
(d) at any time before the close of the poll, conducts in relation to the election a public opinion poll of persons voting before polling day
In order to assist the Commission in considering this complaint, could you please provide the following information:
1. Who conducted the exit poll and when was it conducted?
2. How did you receive this information?
3. Any other information you believe to be of relevance to the Commission’s consideration.
4. How you might remedy this matter.
Can you please provide the above information by 5pm, Friday 19 September 2014. In the first instance, to avoid further complaints, you may wish to remove the Twitter post.
Please telephone me if you wish to discuss this further.
I replied with:
and copied it to twitter.
I have no further knowledge of the photo or poll or the people who took it
or even if it actually took place.
and did nothing else. A couple of days later he emailed me with.
Thanks for getting back to us. The Commission understands that the original
tweet in respect of the exit poll has been removed and the Commission is not
taking any further action on the matter.
Thanks again for prompt reply which was much appreciated.
which was a little strange since neither me nor anybody else had removed anything. A little weird and one reason I don’t feel confident with these guys running voting over the Internet.
I just saw on reddit that the New Zealand electoral commission is banning photography from polling places under the grounds that they impeded other voters at the polling and could influence other voters who see the photos. Specifically they say:
Photography in a voting place and sharing photographs on social media
While the Electoral Commission encourages people to take and share photos of themselves with their ‘I’ve voted’ sticker once they’re outside the voting place and unlikely to interrupt or inconvenience other voters, the Commission will be putting up ‘No taking photos’ signs inside all voting places and advance voting places.
The increased interest in voters taking ‘selfies’ inside voting places raises concerns about congestion and disturbance in voting places and can breach other rules in the Electoral Act regarding campaigning on election day and protecting the secrecy of voting.
Voting Place Managers have to ensure that voting proceeds smoothly, that voters are not impeded, and that order is maintained in voting places. Voting places are for the purpose of voting and people should not remain in the voting place for other purposes. The increased interest in voters taking ‘selfies’ inside voting places has the potential to create congestion and disturbance and for this reason Managers will be putting up ‘no photography signs’.
Publishing anything on election day that could potentially influence another voter is strictly prohibited, and photos taken earlier in the voting period that are shared, re-shared or reposted on election day could fall foul of the Electoral Act.
If a person posts an image of their completed ballot paper on social media on election day or in the three days prior to election day this is likely to be an offence under section 197 of the Act, which carries a potential penalty of a fine not exceeding $20,000. Section 197 of the Act prohibits a range of activities including:
- the publication of any statement on election day that is likely to influence voters (section 197(1)(g); and
- the distribution of an imitation ballot paper on election day or the 3 days before election day indicating the candidate/party for whom any person should vote or having thereon any other matter likely to influence a voter.
It also potentially exposes the voter’s friends to the risk of breaching the rules if they share, re-share or repost the voter’s ‘selfie’ on election day.
As there are risks of congestion and disturbance to other voters and risks with publishing or distributing material that includes a ballot paper, particularly in a medium where material will continue to be published– the Commission will not allow voters to take photos inside voting places. We will be placing ‘no photos’ signs up in voting places. Returning Officers will still be able to give permission to candidates for filming in voting places. Permission for candidates will only be given on the condition that there is no filming behind voting screens, no filming of completed or uncompleted voting papers, and no activities that disrupt voting in the voting place.
I found the reasons they give a little dubious and a complete ban overkill so I’ve written the following to them:
I am concerned about the recently published social media policy:
specifically the section banning all photography from polling places.
In the past two elections I have taken photos of the polling place I attended and my unmarked ballot paper and uploaded these to the Wikipedia. These photos (and similar ones) have been used to illustrate photos about elections and even cardboard furniture as well as being used on other sites. Even the official blog of the NZ ambassador to the Philippines used one. http://blogs.mfat.govt.nz/andrew-matheson/elections-theyre-important.
I am thus concerned that there appears to be a new policy that bans all photographs except limited ones by members of the media. This seems to go against the openness of our electoral process and the grounds that are given for the ban are very weak.
The matter of influencing other voters can be dealt with by requesting that photos only be published after voting has closed. Similarly I’m sure there are already rules to handle people who take too long to vote when there are long lines. A specific rule against photographing filled out ballots will also address concerns about voters proving to others they have voted a specific way.
In summary I very much hope you can replace a ban of photography with a more targeted rules against specific problems.
I receive a reply back from the Electoral Commission:
Dear Mr Lyall,
Photography in the voting place has only ever been allowed with the prior permission of the Returning Officer, but the number of photos being
taken without prior permission has increased hugely this year. I understand that you feel that people could be allowed to take photos but be
advised not to publish the photos until after 7pm on election day – but unfortunately this is not what voters were doing.
Photos within the voting place, and particularly those taken of marked ballot papers and behind voting screens, have generated a large number of
complaints to the Commission already, and as a result we have re-looked at our rules around photography.
Voting Place Managers have to ensure that voting proceeds smoothly, that voters are not impeded, and that order is maintained in voting places.
Voting places are for the purpose of voting and people should not remain in the voting place for other purposes. The increased interest in voters
taking ‘selfies’ inside voting places has the potential to create congestion and disturbance and for this reason Managers will be putting up ‘no
Returning Officers will still be able to give permission to candidates for media or campaign managers to organise filming in voting places.
Permission will be given on the condition that there is no filming behind voting screens, no filming of completed or uncompleted voting papers,
and no activities that disrupt voting in the voting place.
We absolutely encourage people to take and share photos of themselves with their ‘I’ve voted’ sticker once they’re outside the voting place and
unlikely to interrupt or inconvenience other voters, however people taking selfies while behind the voting screen is not a good idea.
I’m in the process of moving my personal hosting from one VPS to another ( I host with Linode and am buying a new virtual machine with a similar spec to my current one for half the monthly price ) and I decided to rearrange my home email. My old setup was:
Internet –> Exim on VPS -> Download via fetchmail to home -> Send to spamassassin and dspam at home -> filtering into mboxes on home workstation -> read via alpine
The main disadvantages of this were:
- Had to ssh into home to read email (couldn’t read on my phone)
- Hard to view images in email or HTML emails
- Sending via my ISP was unreliable and they are implementing filters
- No notification of new email
So I decided to make some changes.
Internet -> Postfix on VPS -> procmail to spamassassin on VPS -> procmail to maildirs -> read via imap
This setup is a lot simpler than the previous one and a bit more mainstream.
- Since the email is online via imap I can read it directly from alpine or my phone (or another client)
- Online running one anti-spam program (spamasaasin) instead of two (dspam and spamassassin)
- Email operations on one server (the VPS) insead of 3 (VPS, workstation, home virtual machine)
- Sending email straight via VPS instead of home VM and my ISP’s mail server
Details of my setup
There are a lot of HOWTOs on getting email to work via postfix and dovecot. I decided that the main feature I needed were virtual aliases for my domains. I also decided that since I only had a few mailboxes (mine own and two others) I could just create accounts on the server rather than maintain virtual users in postfix/dovecot. The server is running Ubuntu 14.04
Roughly speaking I followed the advice on these two pages by Rimuhosting:
I added these lines to my Postfix’s main.cf
virtual_alias_maps = hash:/etc/postfix/virtual home_mailbox = Maildir/ mailbox_command = /usr/bin/procmail -a "$EXTENSION" DEFAULT=$HOME/Maildir/ MAILDIR=$HOME/Maildir
Theses lines tell postfix to (1) use the virtual file (see below) (2) deliver to Maildirs (3) use procmail for delivery.
and create a /etc/postfix/virtual file like:
darkmere.gen.nz 20140720 firstname.lastname@example.org email@example.com firstname.lastname@example.org email@example.com
The first line indicates the domain should be used (this option is a little hidden in the virtual manpage) and then their are various addresses. simon-mail is a noshell account and cyan is the name of the server to so the email is delivered locally to it.
The simon-mail account just has a simple .procmailrc file with my various filters and a Maildir to store the email. Spam processing is called by procmail via:
:0 fW * < 280000 | spamc -u simon-mail -d localhost :0: * ^X-Spam-Status: Yes, score=([5-9]|1[0-9]|[2-9][0-9]) .junk/
which just puts all email that looks like spam into a junk folder (which I can check now and then until I’m happy with the filters).
Dovecot for imap worked out of the box except I had to tell it the location of my email. I just edited the file /etc/dovecot/conf.d/10-mail.conf and changed the mail_location setting to:
mail_location = maildir:~/Maildir
For sending email I pretty much followed this guide directly.
Overall it wasn’t too hard. The main problem was the fact that there were so many guides (I read over a dozen) each of which differed slightly and which were in many cases designed more much larger sites. I’ve currently got the setup in final testing (it is getting a copy of all my incoming email) and intended to switch over soon. In the short term I’m keeping my old mail folders (all 752 of them adding up to 1.8GB) locally at home but may move them at a later date.
Disclaimer: The below is my personal opinion and does not represent the views of the 2015 LCA organising committee. Some details have been left out, stuff may change, names may be wrong, may contain nuts, etc.
In January 2015 the Linux.conf.au conference will be held in Auckland, New Zealand. Each year the conference brings together 600 ( +-100 ) Linux developers and users for 5 days for talks, chat and social events. LCA 2015 will be the 12th Linux.conf.au I’ve attended (every year since 2004) and the first I’ve helped organise. It will be the 3rd time the conference has been held in New Zealand.
Each year’s LCA is held in a different city by a group who bid for and run it. The Auckland team consists of a “core team” of about 10 under the overall lead of Cherie Ellis, another dozen “supporters” (including me). Others volunteers will be recruited closer to the time and there are also external groups like the papers committee and people from Auckland University doing various jobs.
The majority of the conference will be held in the Owen G Glenn Building at Auckland University. The is single big building with several large lecture theatres along with big central areas and smaller rooms. The currently plan is for just about the whole conference proper to happen there.
Over half the attendees with probably stay at nearby student accommodation, this is cheap, nearby and lets people mingle with other attendees after-hours. There will also be some planned social events (like the conference dinner) elsewhere in Auckland.
Since January 2014 when Auckland was announced as the winning bid for 2015 the pace has gradually been picking up. Over 30 main positions have been filled (most with both a main and backup person) and the core team is meeting (usually online) weekly and the second supporters meeting is coming up.
The amount of stuff to organise is pretty big. As well as the venues, there is food, travel, accommodation, swag, the programme, the websites, network, dinners, registration, etc etc. A huge amount of stuff which will take up many hours per week for the rest of 2015.
At the end of March there was a “Ghosts visit”, this is where half a dozen previous conference organisers ( “Ghosts of conferences past” ) come over for a weekend to look over the setup and talk to the group. The purpose is twofold, the Ghosts check that everything is on track and look for problems, while the 2015 organisers get to pick the Ghost’s brains
Even the Ghosts’ event itself is a small test of the organizers’ ability. They have to fly, meeting, accommodate, hosts, feed and otherwise look after half a dozen people, a mini rehearsal for the full conference.
- When a Black Market goes legit: The Great American Marijuana Price Crash – The experience of Colorado
- How to eat: curry – How to find a good curry place and what to order to get the best experience.
- The Lord of the Rings Reread - A chapter-by-chapter read though
- Before Cities Had Street Lights, They Had Giant Towers That Mimicked the Moon – The first streetlights were giant towers, each covering several blocks with light.
- How Linux Containers and Docker will change how we develop and deploy apps (pdf) – Interesting Talk from Scale12x conference
- What Linux can learn from Solaris performance and vice-versa ( slides, also on youtube) – Another good Scale12x talk
- The Littlest Boy – Backpack nukes and the Us Troops trained to deliver them
- The New York Times’ List of Potential New Countries, and Others As Well – Interesting list
Winner Rusty Wrench Award: Andrew Tridgell
Host of LCA2015: Auckland!!
Lightning Talks part 2
- My toothbrush has a serial number
- after sales support
- can they find it for me?
- In the post-Snowden world this should be investigated
- DIY Book Scanning for Fun
- Scanned book useful for good reasons
- Freedom Box project update
- Almost ready for 0.2 release which will be pretty good
- Open Hardware, Random number generator
- Trustable, see raw or AES whitened
- trying various options
- Central Coast LUG
- Bitcoin Myths
- Anonymous – Nope, all transactions records
- Bubble – nope, infrastaructer
- Giant Ponzi scheme – Not sold as investment, no claims
- dlect – Lecture recording downloader
- Looking for help and the extend to other Universities
- Debian in Australia
- Trying to get Debian Australia mailing list started
- Bitcoin architecture applied to capital markets
- Learning Opportunities in Rocketry Software
- Maths makes by head hurt
- Electronic Frontiers Australia
- Would like to invite you to volunteer and drink beer
- LA does other things
- pycon AU in August
- Drupal camps
- Join a user group
- hacker space
- add your blog to our planet
Provisioning Bare Metal with OpenStack by Devananda van der Veen
- Tried to use the existing NOVA tool (which was used for VM provisioning) but all sorts of limitations
- Hacked it a lot and then gave up
- Created a new project “Ironic” for bare-metal provisioning in May 2013
- Being working on but lots of devs
- Not in main release yet
- Some push to simplify openstack installation – Triple-O (Openstack on Openstack)
- “Openstack is not a virtualisation layer”
- Security not there yet
- Driver Interface
- 3 classes of interfaces: core, common, vendor
- core: power management, deploy,
- common: console, rescue
- vendor: fireware? boot-from-volume? something-else?
- REST API
- conductor services
- ( the slide makes more sense )
- Many conductors, Many drivers
- If the cluster changes
- take-over hooks
- consistent has updates
- node(s) re-mapped to conductors
- Feature equiv to bare-metal in a few months
- Usable by that point, eventually to replace bare-metal, may require re-deployment
Talk only took 20 minutes. That was quick
D-Bus in the kernel by Lennart Poettering
- Most newer OS designs started around powerful IPC
- Linux only had IPC primitives ( sockets, fifos, shared memory)
- DBUS is powerful IPC
- Method Call Transactions, Signals, Properties, OO, Broadcasting, Discovery, Introspection, Policy, etc, etc etc
- D-Bus has it limitations
- Suitable only for control, not payload
- It’s inefficient ( 10 copies, 4 complete validations, 4 context switches per duplex method call transaction)
- Can we optimise that rather than moving it into the kernel? – “We are, We are moving it into the kernel with kdbus”
- Credentials one can send/recv are limited
- No implicit timestamping
- Not available in early boot, initrd, late boot
- Hookup for security frameworks happens in userspace
- Activatable bus services are independent from other system services
- Codebase is a bit too baroque, XML
- No race-free exit-on-idle bus activated services
- D-Bus is fantastic, solves real problems
- Right approach: good concepts, generic, comprehensive, covers all areas
- Established, it is the single most used local high-level IPC system on linux, bindings most languages
- Used in init systems, desktop, etc
- Suitable for large data (GiB), zero-copy, optionally reusable
- Efficient ( 2 or fewer copies, 2 validations, 2 context switches, per duplex method call transaction)
- Comprehensive credentials sent along ( uid, pid, gid, selinux, cgroup, caps, audit, etc etc)
- Implicit timestamping
- Always available from earliest boot to latest shutdown
- Open for LSMs to hook into from the kernel side
- Activation is identical to activation of other services
- Userspace is much simpler, No XML
- Rece-free exist-on-idle
- Intention to replace current D-BUS implimentation
- Should be drop-in so program using bindings should be drop in without changing anything
- No performance tests yet
- Receiver buffers
- Single copy to destinations(s)
- method call Windows
- Name registry
- File descriptors for memory regions
- Zero Copy
- At 512k and above zero copy is faster than single copy, below that the mapping overhead is too expensive
- a bit like Android ashmem
- Signal Broadcasting
- Bloom filters
- proxy provides compatibility with dbus1 sockets
- Code all there, pretty much implemented, policy still to do
- Compile-time switch in systemd
- We hope to get in the kernel in 2014
- gdbus support coming soon
VisualEditor: Wikipedia’s new editing system, and how you can use it too by James Forrester
- Why a visual editor
- Drop off in new contributors is major issue for wikipedia
- MediaWiki is based on the very rich wikitext syntax
- Wikitext stops people becoming contributors or staying away
- Not an appropriate way to ask people to contributive things in the 21st century
- Prevents us from providing other helpful editing tools
- Flexibility and modularity
- support by 300 languages
- replace or extend existing tools
- expand it for editing new content
- Stand-alone, integrate into any platform
- Mediawiki integration (parsoid converts HTML+RDFa to/from wikitext)
- 3 Main layers
- Data Model
- We can’t edit the input HTML+RDFa directly
- Reliable convert from HTML to things we can edit and back without corruption
- Synchronise with ContentEditable (both ways)
- Needs to allow real-time collaborative editing
- All sorts of problems with spliting characters in various languages
- Browser contentEditable
- Messes up HTML, inconsistent key handling
- Native text insertion, spell-check, selection and cursor
- Equal rendering
- Programmatic cursor handling
- Intercept the browser’s native cursor handling
- allows us to skip over non-editable elements
- Thought this will allow to avoid UX issues
- but this breaks internationalisation
- Move to “observe and fixup” of native browser action
- Input Method Editors
- Lots of languages reply on IMEs
- Mainly East Asian and Indic languages
- Each IME has it’s own unique way of changing content
- But can change by OS, browser, IME version
- Poll DOM for changes and notify model
- Lots of events emit no of few events (eg spellcheck)
- Possibly use MutationObserver in the future
- Re-render if really necessary
- Actual rich editing of stuff
- Annotation (bold, underline)
- Generated content (references, tables )
- Tool UX types – Dialogs
- Data Model
- Patches welcome
- Maybe can be integrated in wordpress or something ( but might be hard)