Recent submissions

Comment · 14 days ago
Comment · 17 days ago
The main problems seem to be that it takes a long time to build all combinations of USE flags and that users complain that volunteers are not working fast enough, causing annoyance of the maintainers. Can you explain how AI would help here?
Comment · 19 days ago
Comment · 1 month ago
Comment · 1 month ago
I switched from brew to macports, and I have not experienced the first problem at all. In fact, I had more problems with brew, where some package needed to be updated that I did not want, and I caused a cascade of issues.

The second has also never happened to me. macports installs the packages into a separate prefix, and you just add that to the path, so I wonder how it could bork irretrievably.

Regarding instructions: for most packages, I found that just replacing `brew` with `sudo port` is enough, as most ports are available. And quite a few install instructions mention homebrew together with macports. I have not run into missing packages, but sometimes the ones that existed were a little out of date.

Comment · 2 months ago
Comment · 2 months ago
Comment · 3 months ago
In ocaml (and I assume SML) it helps that the generic types have a `'` before them, so

    val map : ('a Box) -> ('a -> 'b) -> 'b Box
Comment · 3 months ago
I think naming conventions might help:

    (b Box[InType]) Map[OutType any](transformFunction func(InType) OutType) Box[OutType]
Same in Python:

    def map[U](self, f: Callable[[T], U]) -> Box[U]
vs

    def map[OutType](self, transform_function: Callable[[InType], OutType]) -> Box[OutType]
and Java:

    public <OutType> Box<OutType> map(Function<InType, OutType> transformFunction)
vs.

    public <U> Box<U> map(Function<T, U> f)
Comment · 3 months ago
Comment · 3 months ago
Which major countries other than Germany and Italy have a ban on nuclear power?
Comment · 3 months ago
Comment · 4 months ago
I somehow assumed Nikon did it to all their cameras, but it as far as I can tell it only to holds true for DSLRs and mirrorless.

Sorry to disappoint :(

Comment · 4 months ago
Also for macrophotography when you want to have the camera very close to the ground on a tripod, upside down is often used.
Comment · 4 months ago
“special version for the first time”. Your nikons that are wireless free don’t have a version you can buy with builtin wireless.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton