Better HN
topnewbestaskshowjobs
Log inSign up

nequo

5,037 karma · joined Oct 4, 2020 (6y ago) · 1,572 submissions

Submissions

1.

SELinux Coloring Book (2020) [pdf](people.redhat.com ↗)

1 points · by nequo · 2y ago · discuss

comment 2y ago · link · parent

> 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.

comment 2y ago · link · parent

To be fair, it brought not only cringe, also autocomplete on steroids. The architecture is good at applications that need pattern recognition.

comment 2y ago · link · parent

You could probably build a mirror with `wget -r` without writing a crawler.

5.

Pre-Pooping Your Pants with Rust (2015)(cglab.ca ↗)

1 points · by nequo · 2y ago · discuss

6.

Undefined behavior in C is a reading error (2021)(yodaiken.com ↗)

25 points · by nequo · 2y ago · 67 comments

comment 2y ago · link · parent

> 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.

comment 2y ago · link · parent

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.

9.

Wayland Maker – A Wayland Compositor Inspired by Window Maker(github.com ↗)

2 points · by nequo · 2y ago · discuss

comment 2y ago · link · parent

Is AutoHotkey like Emacs keybindings and hooks but for the whole OS?

comment 2y ago · link · parent

Coreboot helps with it but not for all hardware.

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

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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

comment 2y ago · link · parent

Is it harder to understand than when to put lambda: in Python code?

15.

Rust's Ugly Syntax (2023)(matklad.github.io ↗)

161 points · by nequo · 2y ago · 165 comments

16.

New innovations in credit cards (1985) [video](youtube.com ↗)

1 points · by nequo · 2y ago · discuss

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

I’m a Unix person and I know nothing about Windows Server. How has PowerShell made it less competitive?

comment 2y ago · link · parent

In what way is it wild? How is the Canadian version different than what you get in the US?

comment 2y ago · link · parent

Or: it’s called human “resources” not human “beings” for a reason.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

> 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.

comment 2y ago · link · parent

> will be more or less identical

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

comment 2y ago · link · parent

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!

comment 2y ago · link · parent

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.

12345
53