News for hackers. Stuff that matters.

nequo

Re:The Insecurity of Debian on Wednesday September 04, 2024 @06:26PM (#41451522)
> the developer who should know the application better than the systems administrator

On the other hand, the administrator knows their system better than the developer. There could be certain network connections or file paths that you want to block on one system but not on another.

To be fair, it brought not only cringe, also autocomplete on steroids. The architecture is good at applications that need pattern recognition.
Re:Open Mathematics Depository on Monday September 02, 2024 @08:34PM (#41430026)
You could probably build a mirror with `wget -r` without writing a crawler.
Re:Orphaning bcachefs-tools in Debian on Sunday September 01, 2024 @10:23AM (#41417194)
> If you include boost (which, admittedly, is a heavy dependency, but still a single one)

Then in principle, we could curate a set of useful Rust crates, treat the set as a single dependency, and be on the same page as C++ with Boost.

Re:Rust's Ugly Syntax (2023) on Saturday August 31, 2024 @09:33PM (#41413494)
I don't think that you violated any guidelines. I think that the downvotes for your parent comment are only an expression of disagreement with what you propose. If I can suggest, don't take it personally.

Turning `'` into `lifetime` would make Rust code that needs explicit lifetimes extremely verbose. That would make code harder to keep on the same line, for no added benefit in expressiveness.

Allowing both `'` and `lifetime` in the syntax would make the language more confusing to anyone who is learning it, and it opens up unproductive debates about syntax in code bases if two authors have conflicting preferences.

Re:Why You Should Learn Linux (As a Developer) on Saturday August 31, 2024 @05:22PM (#41412112)
Is AutoHotkey like Emacs keybindings and hooks but for the whole OS?
Re:Why You Should Learn Linux (As a Developer) on Saturday August 31, 2024 @05:17PM (#41412072)
Coreboot helps with it but not for all hardware.

https://en.wikipedia.org/wiki/Coreboot

Re:Rust for Linux Revisited on Friday August 30, 2024 @11:55PM (#41406451)
The problem is that neither Linus nor the other prominent maintainers will live forever. C was the right choice in 1991 but today the landscape is different enough that its shortcomings, for the younger generations, are painful to ignore.

So saying yes to Rust, or to some other language that is not filled with foot guns and could also work in the kernel space, is not only a matter of kindness but a matter of long-term strategy for the kernel.

That will be a long wait. It’s been decommissioned in the US and many other countries have either also done it or are in the process:

https://en.wikipedia.org/wiki/3G#Phase-out

Re:Rust's Ugly Syntax (2023) on Friday August 30, 2024 @11:17AM (#41401550)
Is it harder to understand than when to put lambda: in Python code?
Re:Microsoft donates the Mono Project to the Wine team on Tuesday August 27, 2024 @11:46PM (#41375740)
Thank you, I’ve been looking for an explanation of this. So Mono is useful to Wine because its users care more about licensing and running legacy software: Mono is free software and an acceptable runtime for pre-.NET 5.0 stuff.
Re:Microsoft donates the Mono Project to the Wine team on Tuesday August 27, 2024 @11:36PM (#41375690)
I’m a Unix person and I know nothing about Windows Server. How has PowerShell made it less competitive?
In what way is it wild? How is the Canadian version different than what you get in the US?
Or: it’s called human “resources” not human “beings” for a reason.
Re:NSA releases 1982 Grace Hopper lecture on Monday August 26, 2024 @03:25PM (#41360825)
This is irrelevant to the example cited by Hopper. If you have a large log, you don't have time to breed a larger ox. You need to solve the problem with the oxen you have.
> labor violations

The NLRB will work to represent your interests. They are doing their job. Go to them if you have a dispute to resolve.

Re:Why am I writing a Rust compiler in C? on Monday August 26, 2024 @09:37AM (#41356984)
> will be more or less identical

What could cause differences between the bootstrapped rustc and rustup’s?

Re:Why Does EmacsLisp Suck? on Monday August 26, 2024 @12:14AM (#41353961)
This wiki page raises some good points, for example, the stateful nature of some of the APIs:

  Instead of returning a data structure of the match results (eg from a call to match-string), the match results are mutated in global memory and accessed in separate function calls. This is both less functional in style and more error prone. For example, if save-match-data is not used appropriately, then library functions can trample on the match data which a higher level function is in the middle of using.
But in some other parts it reads like two or more personalities stuck in the same body shouting at each other using the same mouth:

  EmacsLisp Isn't Scheme

  This, from my highly unscientific sample, is far and away the most popular reason EmacsLisp sucks. Well, that’s good to know. EmacsLisp is also not Perl, or COBOL, or IBM 1130 assembler, or a bicycle, or an orange. Thanks for the help!
Re:Serpent OS Prealpha0 Released on Sunday August 25, 2024 @12:39PM (#41348708)
It is true that macOS is a bad example here because it is not using a Linux kernel.

But Apple also names operating systems that use the same kernel different "OSes": iOS and iPadOS share a kernel with macOS, and for all I can tell, so do watchOS and tvOS.

An operating system consists of both a kernel and a userland. The Linux kernel by itself does not make an OS. I think this makes it legitimate to call CentOS, NixOS, SerpentOS, iOS, watchOS, etc., OSes.

Re:Ask HN: Do you consider coding "work"? on Sunday August 25, 2024 @12:51AM (#41344482)
The burnout that you’re pointing out is a sign that it is work. People who play video games competitively often go through burnout:

https://www.cbsnews.com/news/esports-burnout-in-video-gaming...

So I think about it as this: if I regularly feel pressure to complete tasks that I don’t want to, then it is work. This covers activities that one is not paid to do and that others may call hobbies. For example, training for a marathon as an amateur.

Re:Linux desktop market share climbs to 4.45% on Friday August 23, 2024 @02:52PM (#41331890)
You can get newer kernels in Ubuntu LTS too. It’s called the hardware enablement stack:

https://ubuntu.com/kernel/lifecycle

Older »