Deebster

joined 1 year ago
[–] Deebster@programming.dev 3 points 2 months ago* (last edited 2 months ago)

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)
[–] Deebster@programming.dev 1 points 2 months ago

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.

[–] Deebster@programming.dev 1 points 2 months ago

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

[–] Deebster@programming.dev 6 points 2 months ago* (last edited 2 months ago) (2 children)

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.

[–] Deebster@programming.dev 156 points 2 months ago* (last edited 2 months ago) (19 children)

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!

[–] Deebster@programming.dev 10 points 2 months ago* (last edited 2 months ago)

I like that idea of using the different fonts for e.g. Copilot suggestions - reminds me of reading Asterix comics as a kid when they'd use gothic black for the Goth's speech, etc.

edit: e.g.

[–] Deebster@programming.dev 5 points 2 months ago

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

[–] Deebster@programming.dev 29 points 2 months ago (1 children)

Ah bollocks, another trusted voice silenced. Now it'll be that slight bit harder to find a review that isn't just parroting stuff from the press release.

[–] Deebster@programming.dev 1 points 2 months ago

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?

[–] Deebster@programming.dev 6 points 2 months ago

I thought it was clever, but now I'm seeing what I assume you're seeing.

[–] Deebster@programming.dev 11 points 2 months ago

It's saying modern marshmallows are made with corn syrup, starch, sugar and gelatin but originally it was made with mallow plant.

Now I want to try the mallow version - has anyone here tried them?

[–] Deebster@programming.dev 19 points 2 months ago

Including English: æppel meant any kind of fruit, which is why you have names like pineapple and elephant apple.

view more: ‹ prev next ›