Skip Navigation

Posts
10
Comments
143
Joined
3 yr. ago

New account since lemmyrs.org went down, other @Deebsters are available.

  • 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)
  • Hang on, this is (or was at the time) the major of St Ives? That's weird.

  • what fucked up tumblr subculture has my shitpost reached

    I've never been on tumblr and just assumed the whole site was like that.

  • The source story is worth a read.

    Marrero’s background is in Navy intelligence, and she earned a master’s degree in business administration with a concentration in information security and digital management

    Incredible.

    she soon changed the “STINKY” Wi-Fi network name to another moniker that looked like a wireless printer — even though no such general-use wireless printers were present on the ship

    Why not just switch off broadcasting the SSID?

    [The CO and XO] then conducted another sweep inside the ship. Although the network that appeared to be a wireless printer appeared on their personal devices during their search, neither made additional inquiries regarding that network

    No-one's coming out of this looking good.

    Marrero’s secret Starlink dish was removed the same day, and Marrero told another unidentified crew member the next day that it was authorized for in-port use — prompting sailors to re-install the illegal Starlink.

    It just keeps going!

  • There's kroki as well, which includes Mermaid, Excalidraw, GraphViz, PlantUML, etc.

  • I'm of the belief that spawning threads on demand is an anti-pattern; threads should spawn on program startup, and sleep until they have work to do.

    Hmm, I need to think on this to decide whether I agree. What's your reasoning for this opinion? Is it just based on lower latency, or is it more of an architectural/correctness thing?

  • In time-based pagination, the suggested fix to lots of data in a selected timespan is:

    simply adding a limit to the amount of records returned (potentially via a query parameter) transparently solves it.

    This means clients can't see all the results, unless you add a way to view other pages of data, which is just pagination again. Or is the intended design that clients view either the first x results (the default) or view all results?

    The problem with articles like OPs and others is that they don't allow custom sorting, which is often a requirement, e.g. interfaces that present the data in a table, where column headers can be clicked to sort.

  • Oh, that's LAN - I thought you'd put ian and I was trying to get the joke. Stupid sans-serif fonts.

  • I know of it because Helix uses it, and it works really well.

  • More conglomerates and monopolies.

    Like the tiny publishing house Raspberry Pi Press who publish under Creative Commons? Maybe save your anger for a more worthy target (there's plenty out there).

  • When I saw how low tongue was, I thought surely not, what about "she gave me a good tongue-lashing". I then thought about it for a microsecond more and realised the ranking's probably correct.

  • Voting on Lemmy isn't private (and is probably for sale on closed platforms) so just upvoting an opinion might be enough to get you on some lists.

  • I haven't watched, but assuming it's good I'm guessing it's idiots viewing the all feed and downvoting anything they're not personally interested in.

    It doesn't help that the official Lemmy docs say downvote things you don't like, which is only good guidance when you have an algorithm you're training.

  • Is your point that this source doesn't back up the Mary Somerville etymology or just an FYI?

    Either way, the quote taught me about the word sciolist - a person who pretends to be knowledgeable and well informed so thanks.

  • What's this kind of thing called in linguistics? Where you parse the sentence wrong (for comedic effect in this case), something about dangling modifiers, maybe?

  • Same, I had to ad-block some custom elements on YouTube ages ago because they kept covering the screen with "related videos" whenever I paused to read something.

  • Null comes to Rust!

    Well, nul-byte terminated strings, anyway.

  • I assume this latest bump is due to lemmy.world updating and now counting lurkers when assessing active users.

  • That reminds me of Netflix's Chaos Monkey (basically in office hours this tool will randomly kill stuff).