I build backends, apps and sometimes break them, practice martial arts and enjoy video games. I believe I have seen the whole Internet once, maybe twice.
@carlton I really like the Wikipedia table. My usual pitch is
„Per one 9 after the comma you’ll add 10x infrastructure cost and at least one engineer and potentially QA and ops. Otherwise your downtime will most likely be application and not infrastructure related“
This usually ends the conversation with zero 9s after the comma.
The new iPads look like a pretty good upgrade, especially the display. But we are five or six years in and Apple still refuses to fix the software side to make them actually useful but for some niche application :/
If they’d announce macOS support at WWDC you could count the minutes between the announcement and me ordering one with the new keyboard case…
I have to give simone a test run some day. It seems to be the ultimate “this video should have been a blog post” tool :D https://github.com/rajtilakjee/simone
If you call update_or_create where the instance already exists and the defaults passed in are already the values on the instance, do you ever want it to actually re-save the instance?
I'm running into the case where I'd prefer it to not update the instance if it doesn't need to. I'm guessing I'm overlooking some race condition problem though.
@CodenameTim I’m thinking of persisting a value that’s constantly being updated and you want to know when the last write was, even if nothing changed. New values (keys) might come in at any time.
(I had something similar for an industrial control system I worked on. The updated field was one of the heartbeats)
@CodenameTim It’s a fair argument, but it feels inconsistent with how updates and creates outside of update_or_create behave.
You could make the argument that for consistency it might make sense to drop auto=now for all writes - you can simply pass it the same way as you’d have to do in your example.
I finally figured out why I don’t like the last Doom games. It’s not necessarily the lack of ammo but the glory kills slowing down gameplay. That took me a while to realize… #games#gaming
@carlton I think edited forms of this statement circulated for decades in various contexts, maybe a different wording might help to convey the message :)
(Also I was told by @chanakya that my last post draft reads rather pissed off / aggressive in its message - I might not be the best advisor :D)
👀 So it's a rare Saturday when I'm working because I shifted my week to take a Monday off, and I'm getting logged out of the Django Admin (localhost + Django 5.0.4) every ~5 seconds.
My console shows:
> django.security.SuspiciousSession WARNING Session data corrupted
This issue seemed to go away after I re-ran collectstatic to fix a few broken images. (It already gets ran at least twice).
🤔 I am not sure if this is a new Django bug or if anyone else is seeing this?
It’s kinda wild that for home NAS backups it’s still cheaper to buy a low-end Synology with a big-ass HDD, put it somewhere != home, and backup to it.
Famously-cheap Backblaze B2 is $144 / yr for 2 TB. A Synology DS124 is less than $200 and 4 TB HDDs are less than $100. Two years & you’re ahead. Add more TBs & it’s even faster. Of course, it’s even cheaper if you’re willing to fiddle w/ Raspberry Pis.
Holds up if you include electricity bills: backup NASes can be switched off most of the time.
@hynek I don’t disagree on the general principle and think this is a good solution for many people.
But what you didn’t factor in is a UPS, filesystem reliability, physical risk to the NAS, disks dying, potential offsite restore of data… there’s IMHO a lot more to it.
✍️ Last night, I wrote about using Syncthing to organize my project files across several Macs and a Linux box.
I also wrote about the joy of not carrying anything to work anymore. This morning, while I was carrying a HomePod Mini in a bag to the office, I thought about the irony of it all.
@webology did you run into any problems with .git so far? I remember Dropbox having a really bad time early on when having a git repository in the sync directory.
For some reason, Google have given me £3 in Play Store credit.
What's a paid-for app / game that you love which is ≤£5?
(Yes, I mostly use open source. No I don't mind paying for a developer's time. Yes, I know your iPhone is better. No, I'm not interested in your rant about fees or monopolies. Yes, I mean GBP5. No, I don't think these disclaimers get read.)
@Edent my AV receiver technically supports HDR passthrough but hard crashes when setting the AppleTV to 4:4:4 chroma while working like a charm with 4:2:2. I got no idea why and didn’t care enough to find out as I connected it and the PS5 straight to the TV and started using eARC. Might be an option to play around with :/
TIL - how FingerprintJS works around Safaris audio fingerprinting protection, Gos improved http request routing in 1.22 and Bitcask, something I once implemented but didn't think about in a long time. Luckily I found the paper again :)
When you sneak one point for the Tumblr armchair lawyer crowd into the FAQ. Still up for discussion if it makes it in the final copy, but I have a strong feeling it will.
We got half a cake from my mum yesterday and @Airmed mentioned that my mum went a bit heavy on the rum flavour.
My mum is contemplating if she should be insulted.
I quote “As if I’d ever bake with rum flavour. I soaked the raisins for half a day in rum. That’s how you bake a proper cake! Your wife should know that by now!”