• 0 Posts
  • 82 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle
  • Once I was tasked with doing QA testing for an app which was planned to initially go live in the states of Georgia and Tenessee. One of the required fields was the user’s legal name. I therefore looked up the laws on baby names in those two states.

    Georgia has simple rules where a child’s forename must be a sequence of the 26 regular Latin letters.

    Tenessee seemed to only require that a child’s name was writable under stone writing system, which would imply any unicode code point is permissible.

    At the time, I logged a bug that a hypothetical user born in Tenessee with a name consisting of a single emoji couldn’t enter their legal name. I reckon it would also be legal to call a Tenessee baby 'John '.


  • As someone who’s just spent half an hour reading Wikipedia thanks to this thread, I can now dispense a summary of what I read to make it feel like I didn’t just waste a chunk of time I should have spent in bed by wasting another chunk of time I should be spending in bed.

    Fats are made out of fatty acids, which are carboxylic acids with a longish carbon chain. A saturated fatty acid only has single bonds between carbon atoms, a monounsaturated fatty acid has a single double bond somewhere in the chain (and these are sometimes things that turn into buzzwords, e.g. omega three oils are ones where there’s a single double bond three along from the end of the chain), and a polyunsaturated fatty acid has more than one double bond.

    Single bonds in a carbon chain can only be one way around, so you don’t get isomers of saturated fatty acids, but double bonds in a carbon chain can be in either of two orientations. If the hydrogens are on the same side for both sides of the bond, that’s the cis orientation, and if they’re on opposite sides, that’s the trans orientation. Most natural unsaturated fats are cis, so they generally don’t get explicitly labelled as cis fats, and just the trans ones get the extra label. Notably, though, vaccenic acid, which is about 4% of the fat in butter, is trans by default, so it’s cis-vaccenic acid that gets the extra label.

    Unsaturated fats tend to be more liquid at room temperature, but can be made by growing cheap vegetables. They also go off faster as free radicals can attack the double bonds. Saturated fats tend to be solid at room temperature, but mostly need to come from animals or more expensive plants (palm fat is an exception - it’s cheap and mostly saturated). It’s therefore desirable to use industrial processes to artificially saturate fats, and we can do that by heating them up and exposing them to hydrogen in the presence of a catalyst like Nickel. You don’t necessarily want to fully saturate your fat, though, so might stop part way, and if you do, unless you intentionally tweak the process to avoid it because it’s the 21st century and you’re legally obliged to, you get some of the partially hydrogenated fat switching from cis to trans.

    Over the course of the last century, we realised that (except for a few like vaccenic acid) trans fats are harmful in lots of exciting ways, e.g. messing up cholesterol, blocking your arteries, and building up in your brain. They’ve therefore been banned or restricted to certain percentages in a lot of the world. You can get a similar effect by fully hydrogenating things to get safe (or at least safer) saturated fat and mixing it with the unmodified fat, or by switching everything that used to use hydrogenated vegetable oil to using palm oil, which is one of the driving forces behind turning rainforests into palm plantations.

    Apparently, this was twenty five minutes of writing, so I’m nearly up to an hour of thinking about fats.



  • It’s not realistic to demand to own games in the same way as a spoon any time soon. It is, however, pretty reasonable to demand you own games like you’d own a book. You can chop up a book and use it to make a paper maché dog, but you can’t chop up the words within to make a new derivative book (or just copy them as its to get another copy of the same book except for a single backup that you’re not allowed to transfer to someone else unless you also give them the original). The important things you can do with a book but not a game under the current system, even with Gog, are things like selling it on or giving it away when you’re done with it and lending it out like a library.

    About a hundred years ago, book publishers tried using licence agreements in books to restrict them in similar ways to how games and other software are restricted today, but courts decided that was completely unreasonable, and put a stop to it. In the US, that’s called the First Sale Doctrine, but it has other names elsewhere or didn’t even need naming. All the arguments that applied to books apply equally well to software, so consumers should demand the same rights.


  • The vfs of MO2 isn’t the thing that’s hard to port. FUSE would make it fairly straightforward and the main reason USVFS is complicated in the first place is that there’s not a way to make a fast VFS under Windows due to the higher overhead of going back and forth between kernel and user mode, so it has to resort to hooking most of the multitude of functions in the Win32 and NT filesystem APIs instead of just providing about twenty callbacks like you’d do with FUSE.

    A mod manager looks much simpler than it is as it looks like you’re just keeping track of lists of files, but mods come in the most insane packaging formats ever devised (e.g. with mad compression schemes and custom scripting languages) and mod managers need to selectively pretend to have all the bugs of every other mod manager as mods get made that rely on a particular bug in the mod manager their author used.

    MO2 has a particular extra complexity when thinking about porting it to Linux in that it uses Win32 APIs in lots of places it doesn’t really need to, and also does so in a few places where it’s genuinely much more convenient that it does. It also uses a custom build system generator generator because its CMake and dependencies are too complicated for a human to practically deal with, so it would take loads of work to even build a completely unusable binary on Linux. We have people volunteer to do the work a few times a year and read a warning I write that looks like this comment and claim to have the willpower to do it anyway, but none of them have ever submitted a single commit.


  • To go one better, there’s http://isthereanydeal.com/, which tracks prices across a bunch of vetted key retailers (i.e. companies that buy wholesale keys from publishers and sell them to users, but not grey-market or dodgy sites) so you can see where’s cheapest and get notified of discounts etc.

    Why check GreenManGaming and Steam (and potentially a bunch of their competitors, too) when you could check one site and know who’s best?

    I’ve accidentally made this read like an ad, but they’ve not paid me to say this, I just always check the site before buying games, and have either saved loads of money by doing so over the years, or have ended up buying a bunch of things I’d have ignored on the grounds they were too expensive otherwise. I don’t know in which direction, but it’s definitely changed the amount I’ve spent on games over the last ten years.


  • I’m not arguing for anything in the post above, just pointing out that a broken (or badly repaired) insulin pump is genuinely more dangerous than having no insulin pump. That doesn’t have to count against the right to repair one, as if you’ve got the right to repair an insulin pump, and do so badly, it doesn’t mean you’re legally forced to use it afterwards, just like I’ve got the right to inject all the insulin in my fridge with an insulin pen back to back, but I’m not legally forced to do so.

    I do think the right to repair should be universal, but as I think that medical stuff should be paid for by the state, NHS-style, that would end up meaning that the NHS could repair medical devices themselves if they deemed it more economical to do so and recertify things as safe than to get the manufacturer to repair or replace them. The NHS is buying the devices, and gets the right to repair them, and that saves the taxpayer money, as even if they don’t actually end up repairing anything, it stops manufacturers price gouging for repairs and replacements, and if the manufacturer goes bust or refuses to repair something, there’re still ways to keep things working. It doesn’t mean unqualified end users can’t use their new right to repair their medical devices and risk getting it wrong, but if you’ve got an option of a free repair/replacement, most people would choose the safe and certified repair over their own bodge.


  • If you’ve got a broken insulin pump, assuming you’re in a country with a functioning healthcare system, you should have been given a spare pump with the original, and probably some insulin pens, so when one breaks, you fall back to the spare, and get given a new one to be the new spare (or could get the broken one repaired). Using the spare is completely safe.

    If you don’t have a spare, your sugars would go up over several hours, but you’d have a day or two to get to a hospital and potentially several days after that for someone to find you and get you to a hospital, so it’s not safe, but also not something you’d die from if you had any awareness that there was a problem.

    If you’ve got an incorrectly-repaired pump, you could have it fail to give you enough insulin, and end up with higher sugars, notice the higher sugars, and then switch to the spare. That’d be inconvenient, but not a big deal. However, you could also have it dump its entire cartridge into you at once, and have your sugars plummet faster than you can eat. If you don’t have someone nearby, you could be dead in a couple of hours, or much less if you were, for example, driving. That’s much more dangerous than having no insulin at all.

    Prosthetic legs don’t have a failure mode that kills you, so a bad repair can’t make them worse than not having them at all, but insulin pumps do, so a bad repair could.





  • Personally, I can ignore the effects of artificial sweeteners on insulin levels as they, like everything else, have no effect, and my insulin levels are only affected by when I inject it. I’m type 1 diabetic. When people make incorrect claims based on effects that aren’t reproducible or weren’t statistically significant in the first place about the safety of sweeteners, it causes direct problems for me. I’ve had bartenders mess up my blood sugar levels by lying about serving diet drinks because they think they’re dangerous. Plus, if the people who push for artificial sweeteners to be banned had their way, there are plenty of things I couldn’t ever eat or drink again.







  • When the internet was becoming a world-changing technology, there weren’t thirty years of websites to keep working and malware to protect from, web standards were far simpler, and a much higher proportion of users were enthusiasts who were excited by anything they could get and didn’t mind if things were rough around the edges. Similarly, two brothers could make the world’s first aircraft that flew under its own power, and yet with the combined might of everyone working for Boeing, people are worried about airliner doors falling off and an eight-day space trip has become an eight-month one. Mature technologies need a lot more effort to build and maintain than emerging ones.



  • If you’re doing things properly, you’ll know your Microsoft account password or have it in a password manager (and maybe have other account recovery options available like getting a password reset email etc.), and have a separate password for the PC you’re locked out of, which would be the thing you’d forgotten. If someone isn’t computer-literate, it’s totally plausible that they’d forget both passwords, have no password manager, and not have set up a recovery email address, and they’d lose all their data if they couldn’t get into their machine.