skysight-inc/HackerNews huggingface dataset:
Yeah, normally for 3-way merges you want the kind of graph relationship you suggest (that the base is the most recent common ancestor for the two versions you want to merge)

I think two questions you should ask are:

1) what does it mean to ‘apply a patch’ where the patch is the diff from X to Y but you are applying to a different revision from X.

2) what even is a patch in git?

Darcs thinks in terms of patches but git, despite showing you lots of diffs is really only thinking in terms of snapshots. The answer to question 2 is that patches in git are diffs between revisions and, in particular between the parent of a commit and the revision of the commit itself.

The answer to (1) is that ‘apply a patch’ in git is actually just a 3-way merge.

If you write patches as arrows between revisions then the 3-way merge of two patches P, Q from a shared base is applying one patch to the tip of the other:

P
B ~~~~~~~~> X
\ \
\ Q \ Q’
\ \
~~~> Y ~~~> M

Here M is the 3-way merge of X and Y at base B and Q’, and the diff from X to M is the patch Q applied at X. For a normal merge, you make X and Y parents of M. Git merely generalises this to cases where B is not the parent of X: you imagine a patch going from the base of the one implied by the commit you want to cherry-pick (I.e. the parent of the commit) all the way to the place where you want to base it on. This time, you are only doing the 3-way merge to compute the tip of your patch, you already know the base (it’s the place where you are applying the patch) and instead of producing a merge commit, you produce a commit with all the data from the old one before the cherry-pick except that you set the base to the place you cherry-pick onto.

In darcs theory of patches terminology, you commute the cherry-pick patch backwards (ie going from (?->B)(B->Y1)(Y1->Y2)(Y2->Cherry) to (?->B)(B->Cherry’)(Cherry’->Y1’)(Y1’->Y2’)), somehow inject it before the B->X1 patch, and then commute it forwards to sit after X3->Head.

One question to ask is whether this magic 3-way merge to apply patches works in these cases. And the answer is yes, it works about as well as regular 3-way merges, so you can get merge conflicts as well as some varieties of incorrect results (cf the Darcs docs about this)
Hard to say since I never had a mini PC, but something with a 7840hs/hx minimum. Or better, wait for the next generation.
It was never cool. Popular and profitable no doubt today, but literally every consumer there is hates the dynamic pricing model.
An idea doesn't become inherently dystopian just because some authors chose to portray it as dystopian once. Have you considered that fiction isn't real life, and that maybe an idea is worth exploring even if a fiction novelist disliked it? It's not "really, really dumb" to refuse to take the opinions of science fiction writers as gospel.
But it tastes good!
Yep, this idea comes up every time because it's actually a good idea.
oh wow haven't seen this in a long time. I played Battle Isle 2 like crazy back in the day. None of the sequels manage to get me hooked though.
https://gitlab.freedesktop.org/xorg/app/xkill/-/blob/master/...

It literally is using XKillClient - https://linux.die.net/man/3/xkillclient

You can kill the connection of another client if you know its id. That's one of the reasons why we love X11 so much.

Another way, as josefx mentioned, is to kill the PID from _NET_WM_PID window property. This is often used by window managers when they offer to kill an unresponsive application.
What exactly is the consumer harm here supposed to be?
It’s free revenue if it’s not transferable.
Makes more sense to just not commit generated code without understanding it first. As has been said many times, writing the code was never the hard part. Software devs are still responsible for the integrity of implementation details.
OTP and e-fuses are also evil. Devices should never be forced to become e-waste over them being set "wrong". There should always be a factory reset option that clears everything.
Boris Johnson wanted to be injected with Covid on TV – ex-adviser
Not OP, but I use one of those cheap clip on LED lights. I'd suggest one with adjustable brightness, as the ones without are just too bright in complete dark.
Are you claiming that people aren't using FP32 on mobile, or are you claiming that people are using FP32 on mobile but could technically have gotten away with FP16?

If it's the latter, it's still correct to say that FP32 is king in mobile graphics.
Huh I always thought acceleration due to gravity is a combination of both mass and distance. That is why gravity is so much stronger on earth than on the moon.
HN's automatic editing of article titles is getting ridiculous. HN automatically removed "How" from the beginning (this is not the submitter's fault), and it wrecked the meaning of the title.
That's why you should spend your time building a great product rather than an also-ran model. While you're working on your model, your competitors are working on their products. In a few months when your model is made obsolete by the latest OpenAI release, your competitors will have a better product and a better model than you.
The Circle?
I will note that a trend I have observed with recent ML - as we increasingly use accelerators and models correspondingly grow in size, we are returning to a "one machine, one workload" paradigm for the biggest training and inference jobs. You might have 8k accelerators, but only 1000 machines, and if you have one container per host 300 schedules / second is fast.

While at the same time as you note we have functional models for container execution that are approaching millions of dispatches for highly partitionable work, especially in data engineering and ETL.
I believe this is why Nuclear is so popular here on HN. The risks are downplayed and the consequences are underestimated.
> Jeff (and everybody else) jumped on the hate bandwagon. It wasn't kind, it was mob behavior, and it completely lacked any nuance.

Hate bandwagon? I'm not a huge follower of Jeff's but I have never seen a single thing from them that I would consider "hateful" or jumping on a bandwagon.

What I can gather is that you disagree with those who did not like Red Hat's actions w.r.t. CentOS and RHEL updates, but just because you side with Red Hat here doesn't really make the argument less valid, neither does unjustly categorizing it as hateful. (Or false. I'm not seeing the reams of false claims. I see some accurate ones though, like that Redhat had promised not to change access to the sources previously[1].)

[1]: https://www.learnlinux.tv/wp-content/uploads/2023/06/red_hat...
Only the USS Jimmy Carter has that capability, AFAIK.

Likely more concerned with sabotage, as happened to the Finland-Estonia fiber can pipeline link recently.
And a IPv6 host is still addressable from an IPv4 host as long as it has an IPv4 address. You've done absolutely nothing to spur adoption - because the mere fact that you extended the address space and required infrastructure all across the globe to be replaced and reconfigured to support it causes the exact same issues.

Again, neighbor discovery, SLAAC, link-local addressing, none of it has anything to do with how long it's taken the world to adopt IPv6. The fact that they have to do anything at all is, and there's no solution around that.
Old thread, I know. But there are a few:

* Transaction throughput.

* Efficiency - allowing small scale players to participate in verification and block production.

* Inter-chain communication - some networks are explicitly designed as connected swarms of chains (Cosmos and polkadot for example) and some evolving into that direction outside of the protocol level (Ethereum). How do execute transactions that span the networks is an ongoing research topic.

* Privacy - how to execute transactions in private. How to attest that something is true, say that you have a certain credential, without exposing your account information. Blockchain has been why zero knowledge (and now homo-morphic encryption it seems) cryptography are becoming an active field of research.

* Identity, authentication, account recovery. - these tie into cryptography but generally research on applied cryptography with good UX. For example the first time I've seen social-recovery accounts with any amount of usage (now a feature in Apple accounts) was in a blockchain application.

* Monetary research - far from everybody involved in crypto believes that a fixed-supply rare item makes for good money. "Fiat" money is basically a "token" with governance attached to it. This has lead to a wave of experimentation with other forms of tokens - ones that are algorithmically tied to other assets, ones that are backed by an organization, local currencies, etc.

* Organizational research - since smart contracts can effectively be transparent community banks there's has been a plethora of experiments with building organizations that manage their own treasuries. Horizontalism, organizational transparency and cooperation is something that's been at the core of many crypto projects, the idea being that something cannot be both a reliable public good and controlled by a single party. It's not an easy task, but some cool organizations have come out of this. For an example look at pocket: https://messari.io/report/governor-note-proof-of-participati...
Retailer and vendor make a contractual deal to merchandise product. Is your grocery store colluding with CocaCola to display their products right at the front of the store while putting healthy items like milk far away!!?? Are they harming the health of your children?? Is this just a conspiracy to make greedy dentists richer?? More news at 11
I think reprocessing scrap steel is a really good candidate for solar. Capitalization costs are low enough it's worth it to chase the lowest priced electricity. Doesn't matter if the lowest cost is at night or during the day. Solar is probably better because the marginal cost is close to zero. meaning if you're buying electricity at night from a nat gas plant the plant still has to burn natural gas to supply you power. But you buying excess capacity from a solar farm doesn't cost the solar farm anything.
Finland has a small number of lakes that are basically dead from pollution from pulp & paper plants. The rest are quite clean. Helsinki's tap water comes from Päijänne, the large lake that basically runs from Lahti northward to Jyväskylä.
Look at how Russia uses their old heavy bombers for an idea: they use them to carry missiles that can be released outside of air defense range. The larger plane reduces the fuel required by the missile (meaning more explosives) and allows the missiles to be positioned and fired faster than a truck or ship can get into position. The idea of flying over the target is kind of old - modern glide bombs (again, use the aircraft's energy instead of reducing payload) have a 20-50km range and are more accurate.

The super expensive stealth bomber lets you move into a very unexpected position and release missiles/glide bombs in a way that may not allow for any air defense work at all.
3. Looks like you'd enjoy a cat.
I didn't read the whole article, but it seemed focused on (missing) advertisements, not on counterfeits.
It's funny because I read the headline and thought "normally, generated code is very low technical debt because if you do find a bug, it's easy to fix it once in the code generator and all instances will be squashed", but the article is of course about AI, the topsy turvy world, where it's exactly the opposite.
If you mean restaurants need to start checking everyone's ID at the door to ensure the names on the reservations match then no, no one wants that.
I tried out Monaspace but felt that the fonts were a bit thin for my QHD monitor I use as my primary display. It might be better on a retina/4k monitor though.

Perhaps fonts are something you get used to after some time using it, but I ended up switching back to my favorite font, Input Mono (which, as a coding font, isn't actually monospace, so it brings a bunch of cool features and doesn't need to do texture healing).

https://input.djr.com/info/
"Messy" and "tidy" is not something I'd expect to see in the conversation about private branches.

Version control in the private branch is a tool which helps me maintain state and go back and forward in time. It looks exactly like I thought about the code or work I needed to do at some point in time. It is not messy or tidy, it's just what it is. I don't have to please anyone's sensibilities when I'm in the private branch.

The merge into main is squashed and atomic, of course.
Their infrastructure kind of is their USP. It'd be like giving their competition their work for free. And it's not about absolute trust, it's about trusting them more than your ISP and other VPN providers. You still have TLS over Mullvad
You would be surprised, the FCPA allows bribing officials for facilitating routine work that has no discretionary component (so obviously not permitting, and bribing local officials is still always a crime).
Having done a bunch of research into top-end Milwaukee, DeWalt, Makita, Bosch, Hilti, etc tools I've learned that the tools themselves have management circuitry that talks to the circuitry in the battery (which is monitoring remaining charge, temperature, and a lot of other variables) and the tool and battery can negotiate bursts of electrical current based on the work that is happening (like hammer drilling into concrete, hard wood, steel, etc) giving noticeable boosts of torque at times. While I suppose it's possible that a generic battery management/demand API could be built to allow any number of tools make use of it's electrical reserve that hasn't happened yet. I'm kinda surprised that Tesla hasn't pushed for an idea like that... aren't they just a battery company that sells cars as a way to sell their batteries? Why not create a kick-ass line of power tools and outdoor power equipment made to use Tesla batteries on any manufacturer's equipment that is API compliant.

(Oh and Japan mandates a particular kind of battery-to-device interface that isn't required anywhere else in the world which is why Makita batteries look different than everyone else's...)
The web was a mess.

That hasn’t changed one bit. Google made it possible to find what you’re looking for. That was literally and figuratively revolutionary. This hasn’t changed either.
It’s a genre of literature. People have different interpretations of it than you do. I don’t think something like Neuromancer or Count Zero is dystopian at all, but as I said, have spaces for more exploration and experimentation that our world today doesn’t allow for. I wouldn’t call it utopian, but to insist that someone who finds it slightly appealing is a sociopath is to miss the point entirely.

I’m not sure what is so difficult to understand about this.
Democracy is a system of governance, attempting to use votes to provide equal representation to people. The mechanism for allocating resources is a different topic, as is determining what is and is not “fair”.

>Why should a rich person be able to experience luxury more often than a poor person?

Because that is the benefit of being rich. Perhaps this question is better phrased as “Why should there be a wealth/income gap greater than <$x>?”
Are you using the new/beta UI already?

Thunderbird still has a long way to go, but made already a huge step forward, away from the ~20 year old UI they were keeping and cherishing.

I think they also need to get rid of tabs ASAP (at least disable them by default). The concept of tabs just doesn't feel right for an email client.
Congressman and CA State Senator Join the Dawn Project to test Tesla FSD [video]
You also need to turn off DAD because if the computer comes up without a link, DAD will fail with a timeout and ifup will leave IPv6 unconfigured.
Submitters can often edit this sort of thing back. One could also email and ask for a correction.
Not sure this is equivalent. Those decades of life are usually worst ones, and merely doubling your lifespan with sacrifice is not equivalent to multiplying it indefinitely.
I don't go to the ones that don't bag for you when I can help it.
That's true, but there really aren't that many power tool companies:

https://www.protoolreviews.com/power-tool-manufacturers-who-...
I am referring to everything. Even wind has more deaths per unit of electricity produced. Only solar has less.
Which branch of government is the FCC?
I wondered about this, or Big Kahuna Burger. Can someone trademark the brand if the brand appeared in the movie first?
That conflict resolution method is pretty creative. Thanks for posting!
> any person rich enough to be a Hammond, probably is going to also have the ego to think that their idea is more safe than it is, or the greed to think they can get away without the proper precautions -- thereby dooming the project in a similar way.

1. "Rich therefore ego" is a popular meme. It's also bullshit.

2. Real world doesn't work that way. Society exists, regulations exist, licensed professions get involved here. Jurassic Park is the tail-end worst possible scenario, and even there, few people get eaten, big fucking deal. The danger didn't come from cloning, the danger came from greed and negligence. In the movie, dinosaurs were involved. In real life equivalent, roller coasters were involved. Some people died because of greed of others, of course it's bad, but no one is going on about "hubris" and "life finds a way" because some dumb idiot managed to blind-walk themselves into operating dangerous hardware without usual safeguards noticing.
Monospace can be parameterized, you can just make the font weight larger.
I wonder, what percent of plants are agriculture ?
How do you correct the following commit history?

1. New function & unit tests
2. Switch existing code to use new function
3. Whoops, new function broke some existing code
4. I guess I need to fix tests too
5. Spelin mistakes

There's at least three ways to clean this up:

First, you could maybe do an interactive rebase, move commits 3-5 up and squash into commit 1. Maybe easy, or maybe you hose yourself and break everything.

Second, just squash it into a single commit. No possible way to screw this up, works every time.

Third, do a `merge --no-commit`, commit your changes and your tests, commit the changes to the existing library to use your new method. Easy and straightforward and keeps the two change separate if that's something you're into.

Of the three choices, rebasing is the worst!
Agreed! I started reading not understanding anything about terminal emulators, and it's been interesting following his progress.

>Mitchell Hashimoto, Hashicorps longest serving IC

Small correction: I don't think this is right. He only became an IC two years ago.[0]

[0] https://www.hashicorp.com/blog/mitchell-s-new-role-at-hashic...
I have not used it, but have you looked at pot?

https://github.com/bsdpot/pot
Tock and Resy do this as either fully-prepaid, deposit, or card-on-file. The latter two only kick in for reservations canceling less than x hours in advance; policies vary the other.
Global Maritime Traffic Map
Ask HN: Why is HN replacing Twitter URLs with canonical URLs requiring login
Earlier today I submitted a URL from twitter.com because it was the URL for the content that I wanted to share. That URL was rewritten in the form:

https://twitter.com/i/flow/login?redirect_after_login....

This causes fellow users to have to login to X / Twitter to have to view the content/tweet.

Why is this happening?
Hey ChatGPT, rewrite article title “how five researchers fared after their resignation from academia” without using the word “how” as the first word in the title. ChatGPT: "After Resigning from Academia: Insights into the Paths of Five Researchers"

What I am saying is that running ChatGPT can be a new .replace()
Apple 1 did it with single pulse RC, with timing constant of 500 usec generators.
That's her toning down to appear moderate, but she's still against the EU and a significant portion of her supporters are as well.
It makes more sense to celebrate when a (relatively) high order bit changes from 0 to 1, not when the decimal representation changes.
I made this point in another comment but you have to also fix the current trend that having kids is some how "less than" grinding at a job. I'm a man and so not totally qualified to make this statement but I know from experiences my wife has had that women are especially vicious to other women choosing a family over career and status.
> I've never understood why restaurants themselves don't charge for prime-time reservations. If scalpers can do it, the restaurant can too.

Some do charge something like $50 for the reservation. And if you can't come because there is a major blizzard in the city, tough luck ...
The egg laying by the females is interesting. But what’s four times as interesting is the structure of the male’s business end.

https://en.wikipedia.org/wiki/Echidna
ffss12037@gmail.com
My new computer's got the clocks, it rocks

But it was obsolete before I opened the box

You say you've had your desktop for over a week?

Throw that junk away, man, it's an antique

Your laptop is a month old? Well that's great

If you could use a nice, heavy paperweight

https://youtu.be/qpMvS1Q1sos?si=kbkY4H6nepvB7I0o
> Today we can announce more steps forward - our Encrypted DNS service has also been converted to run from RAM!

Where exactly do services run from if not RAM? The post is very plain with no explanation of what "running from RAM" means. When you execute any binary it gets loaded into RAM as per standard operating system procedures...?
Named after Sir. David Attenborough no less. https://www.bbc.co.uk/news/uk-67382235
And that doesn't account for brands like Harbor Freight who clearly are having their tools made by someone else but they refuse to say who is making their Bauer and Hercules lines.
ffss12037@gmail.com QR
No, I don’t think that’s too harsh. I’m in agreement with you on both those points. I still watch his videos but am now more aware of the context influencing the content.
I probably should not have mentioned mercurial. I do not really know it anymore, but it is somewhat more UX focused than git. I think my original argument stands, especially considering the comments - too many ways to use Git, while most people need only basics.
Now we know the real reason he doesn't want his airplane tracked:)
Here is a backup of the unlocked link: https://archive.is/hBf2Z
My local bakery adopted a new Point of Sale that does a really good job making me feel like I have to tip $2 when buying a donut!

No blockchain or AI, but new tech (for them) nonetheless :)
https://archive.is/hBf2Z
World Resources Institute – Aqueduct: Water Risk Atlas
1% reduction from one project seems pretty decent to me. Especially when it's just from reusing pre-existing caverns from oil storage to decrease the district heat emissions.

Heating emissions for a city at 60° North are a big challenge to reduce, and combined heat and power is a huge efficiency gain - the heat is otherwise wasted, and thermal emissions are an environmental issue in their own right.

The emissions could be reduced much further if they decrease the 55% of their generation that comes from fossil fuel fired CHP plants[1], and increased their nuclear capacity from current 27% (unfortunately they had to cancel a plan to build another reactor because their partner was rosatom[2])

[1] https://fi.wikipedia.org/wiki/Helen

[2] https://en.wikipedia.org/wiki/Nuclear_power_in_Finland#React...
archive.today isn’t associated with archive.org. It’s run by one guy who has a grudge against Cloudflare and gets angry when you use their DNS or anything that proxies your requests through Cloudflare, include iCloud Private Relay. You end up on a page that looks vaguely like a Cloudflare challenge, even though it’s his own doing and has nothing to do with Cloudflare.

If you’re on iOS, just open it in any browser other than Safari. Other browsers don’t get provided through iCloud Private Relay.