Giver of skulls

Verified icon

  • 0 Posts
  • 507 Comments
Joined 102 years ago
cake
Cake day: June 6th, 1923

help-circle
  • The specification of the algorithm specifies up to 56 bytes, including a null terminator. If you’re using UCS-2 (2+ bytes per character, like Windows, Java, Javascript, and more languages and platforms do), that’s 27 characters (can’t use the last half byte character pair). Add some margins for extended characters (emoji and such) and you’ll end up just above or below 24. With UTF-8 you can end up doing much better (exclusively Latin-1) or much worse (exclusively non-Latin character sets). Verifying that on the frontend is a massive pain (string length in JS is unreliable) and dynamically switching codecs is a recipe for bugs and security leaks.

    The 72 byte limit is the result of the internal workings of most bcrypt algorithms, but if you ever switch implementations you need to make sure that implementation doesn’t change the internal workings if you rely on details like that. If the stars align you can use 71 characters (72 if you use Pascal strings), but that’s far from a given.




  • I bought those IKEA plugs. They work over Zigbee and should work fine with Zigbee2Mqtt. They’re white, though. Setup couldn’t be easier (enable discovery in whatever Zigbee system you use, factory reset the plug, wait five seconds).

    Watch out with fans, though. The IKEA plugs, for instance, do about 3600W of normal load (@230V, for things like lamps and computers), but only 300W of motor load (fans, vacuum cleaners, etc., unless they have modern inverter circuitry). Even if you consider alternatives, make sure they can actually drive your fan. The startup current for an electric motor like that can be massive!


  • The problem with banning these is that most of the time, the victims aren’t being forced to go to these places. Adults are talked into it using whatever religious shaming bigots can come up with.

    When it comes to kids, you run into the issue that kids don’t have a say in their own lives (they do have rights, but they can’t easily exercise them). You can ban discrimination based on sex or gender, but you can’t easily interfere with a week-long church program for troubled youth. The state doesn’t get to dictate your religion.

    A significant portion of just about any country on earth is grossed out by the thought of homosexuality. For a large part of voters, being gay was still a crime back when they were young. Things like gay marriage are still hot topics in the EU today. On the scale of centuries of backwards abuse and scapegoating, gay rights have moved forward at lightning speed, and it’ll take a few generations for those advancements to solidify (or, in case of the US and UK, lose decades of progress to hopefully regain them in the future).

    Also, leeches are still used in medicine today, as well as ants, worms, and maggots. Not to cure the flu (unless your flu symptoms are the result of extreme iron consumption, in which case bloodletting is still necessary and leeches may keep blood flowing while doing that).



  • PHP is still massive. I wouldn’t highlight the language, but there’s nothing wrong with using modern PHP for web applications. Most of the world’s websites are probably still based on WordPress, although websites have gotten better at hiding it these days. It’s fast, easy to use, massively popular, and some of the PHP frameworks beat out “modern” languages in terms of features and productivity by a long shot. I know software developers like to joke about older tech like PHP and Java, but it’s what the world still very much runs on, and especially with PHP people seem to have drunk a bit too much of the Kool-Aid.

    Based on bos current CV (https://shawnfromportland.com/Shawn_K_Resume_2025-8.pdf) I think he should be perfectly employable as-is. Experience with various frontend and backend systems in a wide variety of business segments.

    I can’t see what his CV used to look like (went 404 after HN tore him to shreds it seems) but it seems he’s made four new iterations based on the URL alone. I’m guessing he tried to pivot into the “vibe coding” “AI developer” ecosystem as of late in hopes of catching a trend, because based on his experience I don’t think he needs to hide his actual competence behind AI like that.


  • I can’t say I care too much about this feature, but looking into it I can’t seem to find any documentation about it at all. Where are you getting this confirmation that you can’t disable it?

    I’d just stop using Steam Chat if it’s not working for you, there are dozens of game chat services specifically built for chatting in games. Then again, I’d probably stop playing with people that make me self–conscious of typing indicators as well.

    Also lol @ anything Valve designs being “modern”. Steam Chat looks, feels, and behaves like MSN Messenger did twenty years ago. Don’t let the gradients fool you.