
Building things @k0nG86@mastodon.social
London
Joined October 2007
- Tweets6.7K
- Following448
- Followers407
- Likes631
Matt Collins retweeted
Under the radar, Tory MPs & landowning lobbyists are trying to undermine nature protections in England.
Yesterday, Tory MP Derek Thomas tabled a Bill in Parliament to strip Natural England of its power to create nature reserves (SSSIs) & instead give that power to Ministers. 1/
Matt Collins retweeted
Django 4.1 released ift.tt/ydV69Ha
Matt Collins retweeted
I've used attrgetter/itemgetter before but never imagined they had that multi get feature... TIL!
A little-used module from the #Python stdlib: operator provides functions that act like Python operators. attrgetter makes a function that gets attributes. It can get a number of attributes at once:
docs.python.org/3/library/op…
Matt Collins retweeted
Some ‘Platinum Jubilee as marker of the passage of time’ thoughts: we have a period of time equivalent to less than half of Queen Elizabeth’s reign for every industrialised economy to reach net zero emissions.
EasyJet the "digital airline" who's computer system can't handle a nearly 2 year old sitting on their own paid for seat.
2
Matt Collins retweeted
Python objects can define their own formatting mini-languages for f-strings by defining __format__. Full details: nedbatchelder.com/blog/20220…
Matt Collins retweeted
🕰 If your project uses freezegun to mock datetime, move to my library time-machine to speed up your tests. It has a similar API but it's 100x faster, or more.
It's O(1) rather than O(len(sys.modules)) !
adamj.eu/tech/2021/02/19/fre…
🚨Portfolio update 🚨 Added Crearty to my work list. mcollins.co.uk/work/crearty/. A greeting card design and print service built on Django. Check it out. app.crearty.io
1
Thanks @evernotehelps . Does this mean tasks lists aren't coming to the desktop app?
1
DEC Ukraine Humanitarian Appeal to help provide aid to people fleeing the conflict. Can you help? https://xitter.cf/t.co/orSZLx6YzZ
Matt Collins retweeted
Django 4.0 released ift.tt/31zz5VB














