Deebster

joined 2 years ago
[–] Deebster@programming.dev 11 points 9 months ago (1 children)

That's the first Android phone, the HTC Dream (or TMobile G1). I loved this phone, even if it was chronically underpowered.

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

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.

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

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

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

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.

[–] Deebster@programming.dev 3 points 10 months ago* (last edited 10 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 10 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 10 months ago

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

[–] Deebster@programming.dev 6 points 10 months ago* (last edited 10 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 10 months ago* (last edited 10 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 10 months ago* (last edited 10 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 10 months ago

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

[–] Deebster@programming.dev 29 points 10 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.

view more: ‹ prev next ›