I recently knocked up a site for internal use at an organisation. I didn’t want to spend a lot of time coming up with a user system – the app is based on Flask so I’d have had to find something to manage users, and then handle password resets, and it’s all just too awful to contemplate.
Having seen a bit about Mozilla’s “Persona” federated authentication (for some reason, confusingly sharing a name with their theme system for Firefox) on LWN I followed the quick setup, set up flask-browserid and a tiny bit of infrastructure to maintain a list of email addresses with access. It took a couple of hours to get going, and another hour to debug a mysterious IE bug – not bad.
The really impressive bit is how it’s worked for the people using the application. I’ve got over fifty people using it, of various levels of computer skill, and I’ve had almost no support burden. I circulated a small document showing people how to get started, but that’s it.
Although Personas is federated, almost everyone is using the fall-back mode where Mozilla certify the identity. In that mode Mozilla let the person set a password, send an email to the person, they click to confirm ownership of the email address, and then (impressively) the login continues the second they click the link.
That fallback mode, and the fact that the system works around email addresses – which people understand – rather then URIs – which people don’t – is no doubt why I’ve found it so successful.
Anyway, it’s worked well. I’d definitely recommend it over coming up with your own user management infrastructure.
A long time since I’ve blogged over here!
Just a quick post to let people know I’ve made a torrent for the third release of the Australian census 2011. I’m seeding it for anyone that wants a copy. It’s a 4.6GB download, the contents are unchanged from the original ABS DVDs, except that they have been recompressed with XZ rather than Zip (~ 50% smaller than the original zip files.)
Grab the torrent file, and you’re off.
This blog is hosted with wordpress.com and they won’t let me create an inline magnet link (software as a service, grr!); but you can get a magnet link via this shortened URL:
… or paste this into your bittorrent client:
Share and enjoy :-)
The source of this data is the Australian Bureau of Statistics. The data is licensed under a Creative Commons Attribution 2.5 Australia licence. Once you’ve downloaded the file, there is more information on licensing and attribution in the “About DataPacks” folder.
Adapted from this wonderful cartoon by First Dog on The Moon (unfortunately, broken image on the Crikey site).
Ingredients: 1/4 cup light olive oil, 1/2 cup maple syrup, 3/4 cup soy milk, 1/2 cup water, 2 cups Orgran gluten-free flour, 2 heaped tsp gluten-free baking powder, 1 tsp cinnamon, 1tsp nutmeg, 1tsp cloves, 1/2 cup chopped pecans, 1 cup blueberries
Mix the oil, maple syrup, water and milk together, fold in sifted flour, baking powder and spices. Stir in the pecans and blueberries. Spoon muffin mixture into pans (works well in those fancy-pants silicon muffin trays), bake at 180c for 20 minutes.
(The original recipe doesn’t call for any water, but I found the gluten-free flour is a bit stiffer and needs a bit of extra moisture so you can stir the blueberries and pecans in. And a tip for laziness – crush the pecans in a mortar and pestle rather than chopping them!)
Packed myself down to South Perth hospital today to have some nasal polyps removed. This was the third operation, but there’s now a plan involving allergy desensitisation which may mean it’s the last.
The nursing staff at the hospital were amazingly kind and lovely, really awesome. Got myself checked in, saw the anaesthetist, and then sat there waiting and wondering when I’d be wheeled off.
I’m slightly curious which anaesthetic I ended up getting. Apparently the swish anaesthetic of choice has egg products in it, so last time the anaesthetist went with an older drug. Unfortunately last time I also ended up with a blood clot in a vein in my arm, so he suggested he’d go with the very slighty eggy drug. I certainly feel pretty good after this anaesthetic – the last one knocked me for six.
Woke up in the recovery room in the middle of having the intubation tube taken out, which was disconcerting – not painful, just very surprising. I woke up from a dream, which is odd – all other general anaesthetics I’ve had it’s been like an on/off switch.
Amusing incident came when it was time for the gauze in my nose to be removed. This is quite a painful procedure and I’ve been through it a couple of times before, but it’s also quite brief. This nurse was swift and brutal, which was great – she just yoinked the whole thing out. All seemed calm afterwards (moderate amounts of immediate gore, very little afterwards) so she wandered off.
Then click, blood was suddenly really gushing out of my left nostril. Pressed the “nurse” button on the bed and built myself a little pyramid of blood soaked tissues. Apparently I should have made some audible request for help rather than pressing the button – they came a minute or too later. Ice packs on my head and neck and chewing some ice fixed it up, and they discharged me about an hour later.
My lovely friends Keith and Helen picked up me up and now I’m at home, tucked in bed, listening to the rain. Life is pretty good :-)
I’ve been doing a bunch of work in the backyard, mostly digging out the grass that’s grown over winter, mulching and then planting native plants. Getting out the grass was hard work, so in the end I got a big tarp and covered it for a fortnight. Made it much, much easier to get out.
I’ve planted a bunch of awesome, hopefully bird attracting plants. They are:
I’ve also built an awesome new bean trellis, planted some artichoke seeds, and put in a couple of passionfruit vines. It’s getting quite nice out there!
I’ve put up the Census release 1.1; CC-BY the Commonwealth of Australia. Get the torrent file or use this magnet link:
The ABS data pack release 1 DVD arrived yesterday. Awesomely, it’s licensed CC-BY by the ABS, so I’ve made a bittorrent file for it. The DVD contained one Zip file, which is the contents of the torrent.
It’s 2.7GB and I’m on ADSL – and my housemate wants to stream the TDF – so it might take a while to get out. If you have problems poke me on twitter – @angrygoat.
.torrent file. Magnet link: