Better HN
topnewbestaskshowjobs
Log inSign up

phoebos

178 karma · joined May 31, 2022 (4y ago) · 23 submissions

Submissions

1.

Exeter University approves deal with Saudi Arabia to train military officers(theguardian.com ↗)

1 points · by phoebos · 2mo ago · discuss

2.

FastLapackInterface: Allocation-free (eigen)decomposition for Julia(dynarejulia.github.io ↗)

4 points · by phoebos · 6mo ago · discuss

3.

Apple vs the Law(formularsumo.co.uk ↗)

5 points · by phoebos · 1y ago · discuss

comment 2y ago · link · parent

It was self-assessed:

> When we say ‘vigorous’ we mean activities that make you sweat, increase your heart rate or increase your breathing. Please think about vigorous activities that you may have done at home or at places of work other than your home, as well as vigorous recreational activities or conditioning exercises. Please think over the last year and indicate how often you participate in vigorous activities.

comment 2y ago · link · parent

It's small compared to the size of the card, sure, but not small for typical modern lithography techniques.

6.

Posix.1-2024 is published(ieeexplore.ieee.org ↗)

173 points · by phoebos · 2y ago · 84 comments

7.

Eight newspapers sue OpenAI, Microsoft for copyright infringement(npr.org ↗)

2 points · by phoebos · 2y ago · discuss

8.

How to decarbonise transport – in 15 steps [video](youtube.com ↗)

3 points · by phoebos · 3y ago · 1 comment

9.

The inscrutable nature of UK rail ticketing(devever.net ↗)

9 points · by phoebos · 3y ago · 3 comments

comment 3y ago · link · parent

As you noted, I said that the problems stems from sudo not setting PWD, hence `sudo make` doesn't inherit PWD. I'm not calling that a bug in sudo, but it was a bug in the specific makefile which assumed PWD to be set always.

A good solution to the problem is for make to set the PWD macro. BSD make already does this.

> It can get if from the environment like every application does

Well no, applications either read an environment variable or use getcwd(2).

comment 3y ago · link · parent

I mostly agree (I was working with sudo make install in order to package neatroff). However, most of the build scripts which generate binary packages for distros etc use `make install`, usually with DESTDIR set, so it's not irrelevant.

I also think `sudo make install` should at least work as expected in this one case, especially because this project isn't widely packaged so most users will be building from source.

comment 3y ago · link · parent

I would say it is a make bug in that POSIX make has no good way to get PWD. Not necessarily a bug even, but an annoyance.

comment 3y ago · link · parent

Yes, the official Lua implementation is written in a very widely supported subset of C, so is probably one of the most portable languages along with C. Lua might well be a bit more concise for a task like this string processing, but in such as case it's just syntactic sugar really. The C is uncomplicated and efficient.

comment 3y ago · link · parent

The separate tools you're probably thinking of are `pkgconf` and `pkg-config`.

comment 3y ago · link · parent

Everyone and their dog can compile C, and the initial purpose of this project was to get something working on Windows. As you say, this is a relatively uncomplicated program, and there's certainly no need for higher-level features.

Is the only time you choose C when you need manual memory management? I suspect that had nothing to do with their decision.

16.

U-config – A new, lean pkg-config clone(nullprogram.com ↗)

71 points · by phoebos · 3y ago · 52 comments

comment 3y ago · link · parent

There is now a proposal to add CURDIR to POSIX: https://www.austingroupbugs.net/view.php?id=1626

comment 3y ago · link · parent

Reminds me of these (https://wiki.xxiivv.com/site/about.html) digital garden style personal websites.

19.

sudo make install(bvnf.space ↗)

66 points · by phoebos · 3y ago · 35 comments

comment 3y ago · link · parent

Which they're also not trying to do. It's just a cool project, shared for those that want to use it.

comment 3y ago · link · parent

https://wiby.me

comment 3y ago · link · parent

Except, of course, that they're not selling anything.

23.

DuskOS(git.sr.ht ↗)

4 points · by phoebos · 4y ago · 1 comment