HNHacker News
TopNewBestAskShowJobs

phoebos

178 karma · joined May 31, 2022

submissionscomments
phoebos··on Vigorous Exercise, Cognitive Decline, and High Blood Pressure
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.

phoebos··on The tiny chip that powers Montreal subway tickets
It's small compared to the size of the card, sure, but not small for typical modern lithography techniques.
phoebos··on sudo make install
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).

phoebos··on sudo make install
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.

phoebos··on sudo make install
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.
phoebos··on U-config – A new, lean pkg-config clone
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.
phoebos··on U-config – A new, lean pkg-config clone
The separate tools you're probably thinking of are `pkgconf` and `pkg-config`.
phoebos··on U-config – A new, lean pkg-config clone
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.

phoebos··on sudo make install
There is now a proposal to add CURDIR to POSIX: https://www.austingroupbugs.net/view.php?id=1626
phoebos··on How the blog broke the web (2017)
Reminds me of these (https://wiki.xxiivv.com/site/about.html) digital garden style personal websites.
phoebos··on Kristall – a browser without support for CSS/JS/WASM or graphical websites
Which they're also not trying to do. It's just a cool project, shared for those that want to use it.
phoebos··on Kristall – a browser without support for CSS/JS/WASM or graphical websites
https://wiby.me
phoebos··on Kristall – a browser without support for CSS/JS/WASM or graphical websites
Except, of course, that they're not selling anything.