IIRC, ripgrep used a faster algorithm than grep, but more recent versions of grep are now shipping with a faster (the same?) algorithm. So the above suggestion shouldn’t help much unless you use a very old grep.
- 1 Post
- 176 Comments
Miaou@jlai.luto
Programmer Humor@programming.dev•Engineer who can't function without AI
12·12 days agoIt is
Then they’re not engineers, no shame in that…
Every fucking language besides C++ has a proper package manager people use constantly. And conan exists for c++ if you want to push the definition of “proper”
Replace JS with ocaml Haskell anything dotnet java go rust python ruby etc. if you prefer.
I know but I choose to ignore the rebranding, for exactly the same reason
I started learning Coq recently. Where does that place me?
Miaou@jlai.luto
Programming@programming.dev•The PSF has withdrawn a $1.5 million proposal to US government grant program
41·2 months agoI don’t think I’ve seen left wing cancel culture in my lifetime. I doubt it has ever happened in the USA at all, actually
Miaou@jlai.luto
Selfhosted@lemmy.world•Those who are hosting on bare metal: What is stopping you from using Containers or VM's? What are you self hosting?English
2·3 months agoAssuming you run Synapse, that uses more than 1.5GB RAM just idling, your system has at the very least 16GB of RAM… Hardly what I’d call “very tiny”
Miaou@jlai.luto
Programming@programming.dev•Can't decide if end user index access should be 0 or 1 based and if END index should be inclusive
2·4 months agoThat’s still following a convention
Miaou@jlai.luto
Linux@programming.dev•DEBIAN 13: I could actually use it as my desktop, now!
1·4 months agoAnd then those who want both use arch. I know we love our memes, but this one is really out of date.
Miaou@jlai.luto
Linux Gaming@lemmy.world•Thinking of switching my gaming desktop to linux. Should I?English
1·5 months agoNVIDIA hardware is developed to run on Linux
How can you otherwise keep track of an object’s lifetime if copies are made concurrently?
Miaou@jlai.luto
Linux Gaming@lemmy.world•Bazzite founder might shutdown whole project if Fedora drops support for 32 bit packagesEnglish
2·6 months agoLol if you think gamers, especially on fedora, are anything more than a rounding error in the total user pool
CLion is IMO by far the best option out there, short of going the editor-as-ide road (vim emacs etc).
QtCreator is good, but only better feature wise for qt/qmake projects.
VSCode is difficult to setup, the billions of plug-ins all lack something. I remember struggling to get remote debugging to work properly, I think because I couldn’t override the default gdb flags to use local symbols (downloading 10gb of debug symbols every run, thanks but no thanks). Amongst other things I can’t recall. It’s probably a decent IDE for JS or hobby projects but I cannot recommend this for a professional environment.
I’m not gonna bother discussing VS.
What else is still around and actively developed? Codeblocks? Netbeans?
Miaou@jlai.luto
Programming@programming.dev•C++ creator Bjarne Stroustrup reimagines how coding is taught
2·8 months agoThis kind of article really gives a “never meet your heroes vibe”.
At least for the brain-dead C++ push. The language is unfortunately not going away with all the millions of crappy legacy code out there, but please let the kids move on with the times.
90% of C++ knowledge is language specific UB crap that has nothing to do with software development anyway. Pushing the language in 2025 makes you look like a Luddite. Any combination C/Rust + Python/C# + OCaml/Haskell ought to teach you a bit of everything, without having to learn the difference between
autoanddecltype(auto), a billion initialisation options, a billion value-types, and whatever crap is going to generate 100 lines of undecipherable template errors
Miaou@jlai.luto
Rust@programming.dev•crates.io security incident: improperly stored session cookies
2·8 months agoProbably some automatic serialization that included the field. Someone forgot a
#[serde(skip)]!
Not sure how you manage to draw conclusions by comparing two different fields.
Job’s remote/hybrid though. I’ve never lived in Berlin but where I work now juniors get 55k€, and probably don’t have as much fun here as they would in a young Rust-using startup. IDK if I were a fresh grad I’d try my luck there
I share this pain :(