> When a metric becomes a target, it ceases to be a good metric
The public health equivalent of the broken window fallacy would be maximising the spread of disease in order to boost the medical industry.
10,290 karma · joined December 22, 2015
> When a metric becomes a target, it ceases to be a good metric
The public health equivalent of the broken window fallacy would be maximising the spread of disease in order to boost the medical industry.
Android has this really annoying feature where apps don't trust self-signed CA certs (but Chrome & webviews do, strangely). You either need to need to add it to the app's network_security_config.xml, or root the device and add it as a system CA.
I looked into using apktool as part of a pipeline to inject our self-signed CA as a custom trust anchor when customers uploaded their APK for testing. But in the end, we found it was easier and simpler to just add a the cert as a system CA on a custom rooted AVD.
That whole project really made me appreciate that no matter how shit I feel web dev is some days, at least I'm not an android developer.
Refactor widget (#1234)
* wip
* wip
* wip
* fixes
* pr review
I opened the old PR on Github, and all it contained was a link to the Trello card for the task, where I finally found some context and description for the changes.It's ridiculous.
They'll just use `git commit -n` to skip the pre-commit hook.
And if it's verified in CI (e.g. with Danger), someone will just create a script to automate writing commit messages that pass the good commit message test.
Strictly speaking, that's what git stash [1] is for. Not so ideal if you want to push your WIP changes to Github though.
Rust is much less of a problem for anything manufactured this century. Suspension is pretty cheap to fix, it cost me <$2000 to get my entire front suspension replaced a while back.
For the 2020 financial year, Australia imported 11,064 tonnes of legally cleared (taxed) tobacco. The government estimates there was 770 tonnes of untaxed tobacco successfully grown/imported, or 6.2% of all tobacco smoked in Australia. [1]
Recently a guy was handed almost 2 years of house arrest for importing 10 million cigarettes [2], which is roughly 10 tonnes, give or take. There's plenty more cases where entire containers full of cigarettes have been seized.
[1] https://www.ato.gov.au/About-ATO/Research-and-statistics/In-...
[2] https://www.acic.gov.au/media-centre/media-releases-and-stat...
For instance, RFC 1945 (HTTP 1.0) specifies three acceptable date formats. Add ISO dates, and now you're writing software that needs to handle 4 different formats. Easier to just use a heuristic parser that's capable of accepting HTTP, email, Usenet, and ISO timestamps.
Fortunately, these days it's generally considered a bad idea to use anything but ISO timestamps, with the exception of a former colleague who tried arguing that DD/MM/YYYY was an acceptable format to be transmitting and storing dates in.
Unfortunately, my EOS 650 was stolen, but I replaced it with an EOS 55, which is even better (it also supports E-TTL speedlites). It's incredible how good the autofocus is for a camera built in the 90s. In my opinion, it wasn't until ~5 years ago that mirrorless cameras reached parity for autofocus performance.
The Canon EOS film cameras really blew Nikon out of the water. The loss of compatibility with the old FD mount lenses was more than compensated for by the massive gain in functionality they achieved by building a new lens mount designed specifically for autofocus.
parseInt('0700') returns 700. But parseInt('0x700') will be parsed as octal, so now it's just a more subtle gotcha.
Loose parsers (such as parseInt(), and Date.parse() in JS) are one of the worst ideas ever. Nothing like tracing a bug, and finding that a junior dev is trying to parse DD/MM/YYYY strings using Date.parse(), except that instead of throwing on trying to parse an incorrect [non-RFC] format, the parser makes a best-guess and propagates an incorrect date because it was parsed as MM/DD/YYYY.
Seriously though, Swiss Army Knives are the epitome of "jack of all trades, master of none". It's so much better to use the proper tool for the job. I've had the same $10 sommelier knife longer than I've ever owned a Swiss Army Knife (since my wine knife stays in the kitchen drawer).
It is unknown if Satoshi Nakamoto was in fact a real person, as there is there are no surviving primary sources or direct evidence of his existence.
Out of all the different standards, they're probably the least ugly looking; switched outlets are a (literal and figurative) lifesaver; and it's incredibly useful that you can put a 10 amp plug in a 15 amp socket, but not a 15A into a 10A.
Needless to say, it wasn't exactly successful. Only 3 prototypes were built, none were used in combat, and they were eventually converted back into tractors.
That's already a thing. Hashcash [1], the PoW algorithm underpinning Bitcoin, was originally conceived as a method to prevent email spam.
That's not necessarily because they don't read his blog posts. There's every chance they read them and notice the misspelled acronym, but just assume it's a typo and don't mention it. It comes across as rude and petty to nitpick someone's critical writing by pointing out their typos.
Because if a new legal vocabulary was introduced, I would now have to read contracts in both "old legalese" and "new legalese".
I don't think it really matters how clearly contracts are written or how simple the language is; most people won't read them anyway.
For better or worse, the vase majority of Australians have complied with whatever restrictions and mandates that governments have put in place. VIC and NSW, which have borne the brunt of cases and broadly mandated vaccination, have ~95% of people aged 16+ vaccinated. People have generally complied with lockdown restrictions and requirements to wear masks.
Despite the media attention they garner, the protests involve a small minority of people. Victoria didn't see any significant opposition to lockdowns until the later half of this year. Most people seem happy enough getting paid $700 a week to sit at home and play Xbox.
That said, I have noticed that increasingly people are not bothering with the more tedious requirements such as wearing masks and checking in. I wouldn't say anywhere close to "largely ignored" though. I get the impression (from people I know) that it's mostly due to fatigue and risk habituation, rather than alienation.