Preferences

wvbdmp
Joined 343 karma

  1. But the front end code is in one place, and that place is the server. It is true, though, that the experience greatly benefits the easier it is to manage and return partials from backend code. Some frameworks make it harder than others.
  2. I like to return errors as text/plain and I have a global event handler for failed requests that throws up a dialog element. That takes care of most things.

    Where appropriate, I use an extension that introduces hx-target-error and hx-swap-error, so I can put the message into an element. You can even use the CSS :empty selector to animate the error message as it appears and disappears.

    Usually the default behavior, keeping the form as-is, is what you want, so users don’t lose their input and can just retry.

  3. Then you have to take care of nobody ever writing the wrong state, which is increasingly annoying the more people work on the thing.
  4. He’s also The Flashbulb. Probably some other aliases, too, idk. But The Flashbulb is good shit.
  5. Next put them in a tree for faster lookups.
  6. Is that even true? The article is really vague on the type of disability and basically just claims that serifs are harder to read.

    Generally sans-serif is advisable for small sizes, although I assume the main things are large open counters, tall x-height and low stroke contrast.

    I’ve often read that dyslexics favor strongly distinctive characters and “grounded”, bottom-heavy letterforms. I feel like serifs actually sound pretty good there.

    It’s also important to consider whether such studies were conducted before or after high-PPI displays became prevalent and leveled the playing field for serifs.

  7. Probably so you can put in line breaks? Seems common in base64 data, such as armored PGP keys or emails attachments. HTML attributes allow line breaks, although I haven’t seen it done for base64 images.
  8. Yeah, but the stuff people seem to obsess about are just bits of neat typography like dashes and rhetoric flourishes that should, or used to, signify good writing and worked for a reason. The AI just overuses them, it’s not that they’re bad per se. I suppose it’s a treadmill like anything else that gets too popular. We have to find something new to do the same thing (if possible!). And that sucks.
  9. >U.S. bonds and some stock prices were once quoted in fractions rather than decimals (typically in sixteenths or thirty-seconds). For example, a bond price might appear as 101 8/32. This means $101 and 8/32 of a dollar, or $101.25 in today's notation.

    Delightful.

  10. The whole world took a wrong turn when we moved away from physical media.
  11. Eh, if you’re going to outrage-farm over Steam, them following local laws isn’t it. One might instead ask the question why they still operate in Russia in the first place, but that, too, is more of an indictment of the West’s limp-dick economic sanctions. It seems we prefer to stoke the fire and profiteer with military aid. I bet Steam doesn’t censor games in Iran, though.
  12. I don’t understand this take. The abundance of game engines has never been greater, both open and proprietary. As has the abundance of indie games. Some people make a distinction between more batteries-included engines with editors etc. and “game frameworks”, which are supposedly more bare-bones libraries such as Bevy or Babylon.js. Maybe that’s what you’re after?
  13. They call this “a game engine built on Source 2”, and their own C# code is MIT licensed here, but I’m still not sure for what exactly this can be used? It’s my understanding that S&box still has major Source 2 dependencies, right? Their docs say

    >S&box is coded in C#. Under the hood, it uses the Source 2 engine and some of its systems: rendering, resources, physics, and audio.

    https://sbox.game/dev/doc/

    Surely one can’t just grab this and build commercial games with it?

    Definitely seems like a very dope move, though.

  14. Individuals have been doing this exact thing without AI for years, only better, with actual comedic timing, by just playing both parts. Sometimes they don’t even change clothes and it’s perfectly understandable. It’s a whole meme at this point that a towel on the head of a man signifies a female character, for example. You can find plenty of this on tiktok or instagram.
  15. They were talking about brainwashing, clearly they meant school-organized prayer.
  16. i use a clicky gui so that’s another thing
  17. I’m not familiar with that particular story, but it’s worth noting that there is a nationwide union for franchise restaurant workers called NGG. They negotiate standard wages with the franchise restaurant association BdS which all the big names adhere to (McDonald’s, Burger King, KFC, but also, for example, Starbucks). Your story sounds like it’s about a “Betriebsrat”, which represents workers within a specific workplace, complementary to wider unions.
  18. Why do they do this? Is HN such a worthwhile target for astroturfing that people farm reputation with AI comments? And if so, why not add some instruction to get rid of that obnoxious style?
  19. What? No! I want GROUP BY * and more importantly GROUP BY mytable.*
  20. Why do the company names chase away bots? Is it just that you’re destroying their signal because they’re looking for mentions of those brands?

This user hasn’t submitted anything.