I think there’s a lot of people who would be happy with a Chromebook in computer form, and those are also the market for Linux.
New account since lemmyrs.org went down, other @Deebster
s are available.
I think there’s a lot of people who would be happy with a Chromebook in computer form, and those are also the market for Linux.
It shows the top line, so you just read top to bottom (and can scroll if you want).
You can set it to show what you want; if I’m doing TDD I’ll set it to show the test output, and then it’ll show the warnings beneath it.
You can switch between the views with a key (T for tests (or N for nextest), C for clippy, etc
But yes, it’s pretty similar to using watch.
My hope is that something like Servo gets good enough to be included, especially if it’s tree-shakable so you can only include a subset of the codebase. I don’t know if that’s a goal for either projects, but it would be cool - the default webviews can be quite lacking so currently you need to use a restricted set of HTML/CSS/JS to guarantee compatibility.
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
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.
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)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.
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.
There’s kroki as well, which includes Mermaid, Excalidraw, GraphViz, PlantUML, etc.
Well yeah, you need to do the computation somewhere and it’s not doing it on the server so…
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?
I was reading through hoping they’d show they’d considered the impact on life, but nope. Two to three volts doesn’t sound a lot, but if you’re a small creature living half in brine it might be a big deal.
Plus the change in the sand that is the whole point, as you say.
Probably not; I’d expect the places where you need something like UUIDv7 (large, eventually-consistent systems) to not be entirely suitable because you can have records added out of sequence. You’d have to add a received-at field - but in that case you may as well just use a standard incrementing ID as your primary key.
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.
Yup, I think a lot of people just use their web browser for everything, and they can definitely just switch. Outside of work, how many non-techies have set up their email to use a native program? Very few, in my experience.
I think documents are sometimes the exception, since there’s a sizable (perhaps older) group that like to use Word for everything.
I felt the same when reading that book, and I never finished it because following the rules he suggested produced horrible code.
If memory serves, he also suggested that the ideal if statement only had one line inside, and you should move multiple lines into a function to achieve this.
I once had to work on a codebase that seemed like it had followed his style, and it was an awful experience. There were hundreds of tiny functions (most only used once) and even with an IDE it was a chore to follow the logic. Best case the compiler removed most of this “clean” code and the runtime wasn’t spending most of its time managing the stack like a developer had to do.
While I don’t disagree, this article is pretty bad and unconvincing. Is it a draft or something dashed out to collect referral fees?