Let’s just say that ME deserved its “Mistake Edition” moniker
- 8 Posts
- 163 Comments
esa@discuss.tchncs.deto
Linux@programming.dev•Rust Coreutils 0.5 Released - Inching Toward Full GNU Compatibility
51·2 months agoYeah, the usual argument for not picking GPL with Rust is based on how it applies to static linking, which is how Rust works by default. But the coreutils are executables, not libraries.
Even for the libraries I think it’d be nice with some stronger guarantees. Allegedly the EUPL is copyleft but allows static linking, so probably something to look into.
Ah well. At least it’s also possible for orgs like GNU to re-release forks of MIT stuff as GPL. The MIT licensing doesn’t only work for the proprietary-preferring orgs.
esa@discuss.tchncs.deto
Linux@lemmy.ml•Is the FOSS world in danger of a corporate takeover, thanks to pushover licenses?
3·3 months agoYeah, Ubuntu actually isn’t the first distro without GNU coreutils. Beyond Android and Busybox, there’s also stuff like Talos, which is something like … Kubernetes/Linux.
IME something like Kubernetes/Linux running “distroless” containers have a huge potential to displace traditional GNU/Linux in the server market, and I wouldn’t be surprised if someone manages to build a desktop out of it, either.
esa@discuss.tchncs.deto
Rust@programming.dev•Everybody's so Creative! (about library abstraction design)
4·3 months agoAlso doesn’t help that the grammar reeks of LLM.
esa@discuss.tchncs.deOPto
Programming@programming.dev•Brendan Gregg's special collection of freeware tools for system administration
0·3 months agoI’m also a fan of
baud. I really should aliascattobaud -400 cator thereabouts.Bonus: run
baud -800 bat --color=alwaysand you get that wonderful old dot matrix printer feeling of the cursor just stopping whenever the color codes are being processed.
esa@discuss.tchncs.deOPto
Programming@programming.dev•Brendan Gregg's special collection of freeware tools for system administration
0·3 months agoBe kind, rewind.
esa@discuss.tchncs.deto
Programming@programming.dev•I am sorry, but everyone is getting syntax highlighting wrong
0·4 months agoThey are utility, as long as you don’t have a theme that randomly picks a new colour every time the token type changes.
It’s a bit like having a bunch of different tools or utensils in separate colours. Even if the drawer is messy and the colour ultimately arbitrary, you can pick out utensils because you’re habituated to looking for a given colour.
Just stick to one theme and you’ll get the same thing but for code. Theme hopping kills your habituation, and resets you to the “I can tell that these are different things because the colours are different” stage.
esa@discuss.tchncs.deto
Programming@programming.dev•I am sorry, but everyone is getting syntax highlighting wrong
0·4 months agoThe stance coupled with the garish background colour reminds me of how Pike also had a very dismissive view of using colours for syntax highlighting, and then later opened up about having a kind of colourblindness.
Both of them also seem to mean colour when they write syntax highlighting. That’s just one typographic tool among many. We also use bold, italics, underline, and even whitespace to highlight programming syntax. We could write a lot of programming languages as if they were prose, but we don’t. People hate that and call it “minified code”.
Humans also have a great capacity for colour vision, much better than most mammals. Some of us are even tetrachromats. Our colour vision is basically a free channel of information: It’s always on; we don’t have to concentrate to be able to discern most colours. When things in nature are more colourful than usual, like leaves in fall or a colourful sunset, we don’t find it tiresome; we find it refreshing and seek it out. But when our built environment becomes all shades of grey, we tend to find it depressing.
But humans are also different in many ways here. Better or worse colour vision is one thing, but some are also prone to getting overstimulated; others require more than average stimuli. We have great selective attention as a species, but again, individuals vary. There’s no one syntax highlighting that works for everyone.
Ultimately we should just find some syntax highlighting that we find generally pleasant, and then stick with it until we reflexively use the information carried in those colours. Use habit formation for our benefit.
Tonsky may enjoy his garish background colour and have found a mushy colourscheme that works for him, but he’s also way off base in his assessment of colourschemes in general.
esa@discuss.tchncs.deOPto
Linux@programming.dev•Canonical releases Ubuntu 25.10 Questing Quokka
111·4 months agoThis seems to be a pretty experimental release to test some new stuff before the next LTS is scheduled to drop in April.
I’ve actually been running sudo-rs on my machines since the last CVE in plain sudo and it seems to do what I want, at least.
But expecting some smoke for this smoke test release :)
esa@discuss.tchncs.deto
Programming@programming.dev•DidMySettingsChange - A python script that checks if windows changed your settings behind your back
0·4 months agoYeah, I’m used to having my config in
git. Buuuut I guess non-devs aren’t really used to that workflow.
esa@discuss.tchncs.deto
Linux@programming.dev•What's your "I switched to Linux because..." Story?
4·4 months agoBecause Windows ME really deserved the “Mistake Edition” moniker, and I already knew some people running Linux.
Distribution usually isn’t considered a strong point for Python, though.
For other languages that build a static executable, the more expected method of distribution would be some automated workflow that builds artifacts for various os/architecture-triplets, that you can then just download off the project page.
Hrm, the pre-commit issue is still open.
Like the others in that thread, I’m not married to pre-commit or the check happening before the commit as opposed to the push, I just want to have some easy-to-setup, standardized way of preventing myself from pushing stuff that will be rejected by CI.
esa@discuss.tchncs.deto
Linux@lemmy.ml•df showing a full (99%) ssd, but du only showing a fraction of that? UPDATED
9·4 months agoOne more puzzle piece here is that
duwon’t report on files that have been marked for deletion but are still held on to by some process. There’s anlsofincantation to list those, but I can’t recall it off the top of my head.It used to be part of sysadmin work to detect the processes that held on to large files if
dfreports that you’re running out of space, and restart them to make them let go of the file. But I haven’t done that in ages. And if you restarted the host OS that should have taken care of that.I assume you also know how to prune container resources.
esa@discuss.tchncs.deto
Linux@programming.dev•GNU Coreutils 9.8 Released With New Features
2·4 months agouutils is still busy playing catch-up to gnu coreutils though, so unclear how much competition in terms of features they provide
esa@discuss.tchncs.deto
Opensource@programming.dev•We need to talk about your Github addiction
8·4 months agoNope! I tend mostly to use /org/repo and other subpages. The few times I find myself on / I’m just confused at how I wound up there and close the tab.
fwiw if you do a
cargo buildyou should be able to see the error messages in the correct context. If I replicate line 25 in a little test project and runcargo buildI geterror: expected one of `.`, `;`, `?`, `else`, or an operator, found `{` --> src/main.rs:4:43 | 4 | let guess: u32 = guess.trim().parse() { | ^ expected one of `.`, `;`, `?`, `else`, or an operator error: could not compile `unacceptable-rs` (bin "unacceptable-rs") due to 1 previous errorIf I try this with a blank helix config I don’t get any of the text output from
rust-analyzerat all, just the three dots indicating there’s a problem there, so it’s unlikely it’s a bad design choice on helix’s part.
You’re missing a
matchafter the=and beforeguess…on line 25.The multiple statements on 37, 38, 39 after
=>also need to be enclosed in a{}.Also, why is your error message all the way up on the top, far away from the error? Something seems misconfigured.
esa@discuss.tchncs.deto
Linux@lemmy.ml•TIL tar keeps permissions of the files and directories archived if possible.
13·5 months agoIt’s even a tape archiving tool. Just pretty much nobody uses it in the original way any more.
Very much one of those “if it ain’t broke, don’t replace it” tools.


I work at a Linux-dominant shop. Macs are somewhat common. People with Windows are kind of seen as weirdos.
We don’t use office packages all that much either; more geared towards markdown and git and programming languages. The office package I use the most is Google’s.
I haven’t had a machine with windows on it since Windows ME. I do have some training in windows server from over a decade ago (nearing two maybe?), but I’ve never used the knowledge.