Better HN
topnewbestaskshowjobs
Log inSign up

teh64

310 karma · joined Oct 20, 2015 (11y ago) · 142 submissions

Submissions

comment 1mo ago · link · parent

That already exists in the BSDs: https://en.wikipedia.org/wiki/Ports_collection

comment 1mo ago · link · parent

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 1mo ago · link · parent

Yup! Some examples: https://github.com/rexim/dotfiles/blob/6d5c9213c0bbf30bafd7c... and https://github.com/tsoding/panim/tree/main/assets/fonts

comment 2mo ago · link · parent

There is an older paper that also looks at gzip for ML: https://arxiv.org/abs/2212.09410

Video from tsoding where he implements the algorithm: https://www.youtube.com/watch?v=9n39SbRPXKQ

comment 2mo ago · link · parent

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 3mo ago · link · parent

Idk, I think the europeans can do better than paying over 500 million dollars to manufacture none [0].

[0] https://www.propublica.org/article/general-dynamics-artiller...

comment 3mo ago · link · parent

It does not have "Fair Use" directly, but things like parody or commentary are allowed to use portions of copyrighted work. There a quite a few paragraphs detailing exceptions: https://www.gesetze-im-internet.de/englisch_urhg/englisch_ur...

comment 3mo ago · link · parent

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 3mo ago · link · parent

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 3mo ago · link · parent

Well climate change is happening whether wealthy people are hypocrites or not. Also there a lot of people in very poor countries (india, south east asia, africa) that are already feeling the effects and need to worry about it a lot.

I would actually say rich people can afford the most to not worry about climate change, because they can stave off the effects better than poor people (moving to colder climates, building cooling systems, or fleeing to mars [1])

[1] https://www.spacex.com/humanspaceflight/mars

comment 3mo ago · link · parent

Which major countries other than Germany and Italy have a ban on nuclear power?

comment 4mo ago · link · parent

I find this video that looks at Dua Lipa and her love of books great: https://www.youtube.com/watch?v=QN1rULxGHCA

comment 4mo ago · link · parent

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 4mo ago · link · parent

Also for macrophotography when you want to have the camera very close to the ground on a tripod, upside down is often used.

comment 4mo ago · link · parent

“special version for the first time”. Your nikons that are wireless free don’t have a version you can buy with builtin wireless.

comment 4mo ago · link · parent

The Snapbridge app is still not great, but in 2019 Nikon released a firmware update for older cameras, so you can use other apps, such as cascable: https://lrtimelapse.com/news/free-wifi-nikon-firmware-update...

The newer Nikon cameras dont require snapbridge for using wifi.

comment 4mo ago · link · parent

Well Nikon has a GPS module (Nikon GP-1, https://en.wikipedia.org/wiki/Nikon_GP-1) for the hotshoe that does work, so I dont think that is the issue. Also at least on my D850, turning off the camera does not turn off the bluetooth automatically, and it can sync photos to the smartphone while the camera is off, so depending on how much power GPS would use, it could be possible to have it run in the background. And turning it off keeps some things running anyway, like showing the number of photos still available, so coordinates could be saved for a little while after turning off.

comment 5mo ago · link · parent

Some mobile Core 2 Duos are able to use more. I have a working macbook unibody (2008) with a core 2 duo with 8gb of ram. Apple added the support in a firmware update:

https://eshop.macsales.com/blog/9102-secret-firmware-lets-la...

comment 5mo ago · link · parent

Well Allard does not see nationality and ethnicity how you believe it. One line further in wikipedia: "In a podcast segment about immigration and deportations Allard stated his opinion and said that "They will also be forced to leave, even if they are born in Sweden, because they have no natural connection to Sweden. They are not Swedish.""

Also Swedes are an ethnicity: https://en.wikipedia.org/wiki/Swedes

comment 5mo ago · link · parent

It is not 3 compiles of the same code after another, but e.g. latex, bibtex, latex, with each step creating part of the final output. I imagine latex like part of multi-pass compiler, so calling latex once is like running only one stage of the compiler. Latexmk (https://www.ctan.org/pkg/latexmk) solves this problem more elegantly by knowing how often each tool and in what order is required.

comment 5mo ago · link · parent

This is the definition from wikipedia: "Ethnic cleansing is the systematic forced removal of ethnic, racial, or religious groups from a given area, with the intent of making the society ethnically homogeneous."

How does what Allard said not fit this definition?

comment 5mo ago · link · parent

1. What if you hit a barrier? They are literally designed so that a person behind the barrier does not get hit, but normally they are lower than the car, so you would still hit them.

2. Proving my point that it is not a victimless crime.

3. What is this lower hanging fruit? Putting on a seatbelt seems very simple.

4. No, this is not your body as a projectile hitting someone, but you being unrestrained prevents you from staying seated and so can't brake or steer effectively. This can even happen even when do not hit something, but just hydroplane or skid.

comment 5mo ago · link · parent

How about all of noise if you live close enough to one?

https://www.eesi.org/articles/view/communities-are-raising-n... https://www.sciencedirect.com/science/article/pii/S277298502...

comment 5mo ago · link · parent

Also their anti-trans stance.

And any party that is pro-monarchy could not reasonably be described as left wing.

comment 5mo ago · link · parent

This is why the libertarian argument does not make sense to me.

You crashing without a seatbelt and dying harms others as well:

1. Your body as a projectile could harm others.

2. The emotional harm of others seeing your dead body and the horrific injuries. Also the emotional harm on your friends and family.

3. The increase to my taxes and healthcare costs because people have to deal with your dead body. Also, if you almost die when going through the windshield, the costs are much greater trying to save your life than if you wore a seatbelt, as the injuries will be greater and could require things like air ambulances etc...

4. Your body being unrestrained means that your car can cause way more damage, including hitting other cars or pedestrians and injuring and killing them.

It is not a victimless crime.

comment 6mo ago · link · parent

Or "We are going to hit them extremely hard over the next two to three weeks. We are going to bring them back to the stone ages where they belong."

comment 6mo ago · link · parent

"A whole civilization will die tonight, never to be brought back again" - Sounds pretty wanting to harm the average Iranian to me.
12345