Skip Navigation

Posts
57
Comments
960
Joined
2 yr. ago

  • The term you want is "cross compile". I've developed simple programs for the Pi on Windows and it's simple enough to produce a static binary (using Rust, anyway). When extra dependencies come in it's better to develop on the same OS, but targeting different architectures is the easy bit.

  • Just going through it now and it#s really good analysis, thanks for sharing.

    However, it seemed that he was sometimes discussing some variants from the AI that he assumed the viewers could see, but they're no on the recording (in the chat, someone says "diagrams not showing" so I assume his stream couldn't see it either).

  • Token-based string distances looks like exactly what I need for my current side project - I'm using Levenshtein but I should be comparing based on words, not characters.

    I just need to figure out which (if any) of these does what I need.

    Edit: looks like the Python version has that information: https://github.com/life4/textdistance?tab=readme-ov-file#algorithms

  • stacking prefixes is disallowed (e.g. 10 k km), and because using mega is both correct and more concise (e.g. 10 Mm).

    If you're talking distances and you say Mm, I'm far more likely to assume you mean millimetres. It might be technically correct, but it's bad communication.

  • How did you find Leptos to work with? I never got further than the tutorial so I have yet to form a real opinion on it.

  • The first thing to happen is that any liquids (saliva, tears, blood) will start to boil in the very low pressure, but your body won't explode like in some films. This boiling will pull heat from your body causing your nose and mouth to nearly freeze.

    Another film trope is that you freeze over, but you'll often overheat first since you can't radiate your heat away quickly enough (depending on if you're in sunlight or not).

  • Oh, you're right - somehow I missed seeing the entire bottom third of the image.

  • And they've highlighted the whole of the UK for "England". Scotland has the thistle, Wales has the daffodil and Wikipedia says that flax is widely used as a symbol of Northern Ireland.

    I think of England's rose as red, because of the rugby.

  • I recognised it at three, but couldn't name it. Turns out even with multiple choice I'd still be guessing!

  • Conversely, if the pricing is due to an error, the company can petition the court to annul the purchase contract, allowing it to refund customers without the necessity of delivering the goods.

    Surely, this will apply.

  • It's a subtle difference between that and path::exists().

    • path::exists() == false might just mean you can't use it (if path::exists() cannot access a file due to e.g. permissions, it'll return false)
    • fs::exists() == Ok(false) means it's definitely not there (permissions error will cause an Err to be returned)
  • I'm on Android (using Firefox), so I was thinking it might be different on a system without apps, but it seems you're on mobile too. How strange.

  • 1820, but I don't see where you can export the breakdown.

  • Bad wording on my part, I wasn't disagreeing. My file server has a /files directory because it saves me a few key strokes and because I can.

  • Is Gobo case-insensitive by default? Typing those seems annoying.

  • That's an old image, though - Windows has a C:\Users\youruser setup like /home/youruser for a while now.

    I find the %APPDATA% thing way less convenient than ~/.config and I'm quite happy when programs have the "bug" that they still use ~/.config on Windows.

  • Hang on, this is (or was at the time) the major of St Ives? That's weird.

  • blood alcohol content of 0.16% — above the legal limit to drive

    I had to look it up, but that's twice the limit.