I had a need to add ACL rules to entities at the repository level.
My biggest struggle was getting dependancy injection working.
This is what I finally came up with after a fresh mind and an instant coffee:
Arbitrary tweets made by TheGingerDog (i.e. David Goodwin) up to 01 February 2013
@sil happy birthday! Also, no blog post this year?
Rob “@dealmeida” De Almeida
This will make the tenth of these little celebrations of me inching one year closer to death.
And people are already being nice to me on Twitter, even though it’s after midnight and you should all be in bed before you turn back into pumpkins.
It’s my birthday. This year I am thirty-seven. This seems, all of a sudden, to be old. Thirty-six… well, that’s a nice mathematical number, the square of six, the number of possible dice throws, the number of gallons in a barrel of beer. All this makes it seem closer to thirty. Thirty-seven…that’s basically forty, isn’t it?
Forty. Dammit. At some point I wasn’t paying attention, and while I wasn’t paying attention I got all old and responsible and stuff.
On the other hand, this is not necessarily a bad thing. Most of the things I dreamed of when I started writing on this site have come to pass. Or, as someone famous didn’t quite put it, this isn’t victory, but you can see it from here. I have a fabulous daughter, I have a present from my girlfriend sitting in the kitchen waiting for me to open it (which I am itching to touch but I promised her I wouldn’t), my job is great, the entire world’s knowledge is at my fingertips, the internet is available to me even when standing in a field. I’ve learned that the 2003 me was mostly a moron but had the kernel of some good ideas. I’m even learning to cook. Tickets at the Arsenal cost sixty-two quid and we’re once again fighting about DRM (this time in HTML5) and weathering the storm of uneducated commentary, but in the last thirty days we’ve seen the first 3D-printed building planned, facial recognition software defeated, and the Ubuntu phone released. It’s an exciting time to be alive, even if you’re nearly forty.
Happy birthday to me.
This week’s live video Q&A is in the normal time slot of every Wednesday at 7pm UTC (click here for the time in your location this week).
As ever, you are welcome to ask me absolutely anything about Ubuntu, Free Software, Community Management, Technology, or anything else. The only questions I don’t accept are tech support questions – Ask Ubuntu, IRC and the Ubuntu Forums are better resources for that.
To join, head over to Ubuntu On Air at 7pm UTC on Wednesday and you can ask your questions in the embedded chat box.
Look forward to seeing you all there!