MurphyA/hacker-news huggingface dataset:
by chipx86 | 2025-06-04 06:35:34+00:00
I have a much-too-long-for-one-comment write-up about this, but it's basically for those who build SCMs or tools that need to work with SCMs. End users shouldn't have to care about this.

There's not one patch/diff format. There's often at least one per SCM. A couple are pretty good (Git's), many are okay (Subversion's), and many are really bad or non-existent.

I founded one of the older code review products, Review Board (turning 20 next year), and we deal with the problems this is trying to solve all the time, across over a dozen SCMs. So we're the ones complaining :) And much of this is based on extensive feedback from SCM vendors we've spoken to about this at length.

Most people shouldn't have to care. But it benefits tools like ours that have to deal with the nightmare that is the world of diff formats.
by theletterf | 2025-06-04 06:36:28+00:00
Great article. This bit in particular:

"Bad therapists just let you rant. Good therapists let you vent, but they ask clarifying questions, and they sometimes push back. [...] You want to be a good therapist."

I wish it had a less clickbaity and more relevant title though. I would have shared it on LinkedIn, but that title makes it looks as the sort of passive aggressive content people post when holding a grudge.
by Kiyo-Lynn | 2025-06-04 06:37:38+00:00
I initially tried keto just to lose weight. But to my surprise, after about three weeks, I started feeling much clearer mentally, and overall just lighter, like something had lifted.

Back then, I thought it was just a coincidence. Now, reading this paper, I’m starting to think it might really have something to do with how the brain gets its energy.
by cayley_graph | 2025-06-04 06:37:40+00:00
> I'm not interested in what "PL (programming language) people" have to say about it. They dislike all generic/parametric polymorphism implementations except their pet language that no one uses.

That's strange. I seem to recall the PL community invented the generics system for Java [0,1]. Actually, I'm pretty sure Philip Wadler had to show them how to work out contravariance correctly. And topically to this thread, Rob Pike asked for his help again designing the generics system for Go [2,3]. A number of mistakes under consideration were curtailed as a result, detailed in that LWN article.

There are countless other examples, so can you elaborate on what you're talking about? Because essentially all meaningful progress on programming languages (yes, including the ones you use) was achieved, or at least fundamentally enabled, by "PL people".

[0] https://homepages.inf.ed.ac.uk/wadler/gj/

[1] https://homepages.inf.ed.ac.uk/wadler/gj/Documents/gj-oopsla...

[2] https://arxiv.org/pdf/2005.11710

[3] https://lwn.net/Articles/824716/
by a_t48 | 2025-06-04 06:38:03+00:00
No, for disambiguating between multiple users logging into one shared account. Basically, I'd need for tailscale to inject an env variable into the session. Teleport does this with something like SSH_TELEPORT_USER (I don't have access to a teleport instance right now to check the exact name, sorry). It's not really for security purposes (anyone can spoof any env variable they like, anyhow), just for convenience for helper scripts. In robotics it's super common to have just one or two users per machine, and give shared logins to those machines.

While I have you here, it would also be neat if there were a way to supplement regular SSH's auth with tailscale SSH's keys. Specifically for situations where the target machine has lost internet connectivity but you can still get onto the same network as it. More robotics problems. :) Can understand if this would never "work" for tailscale's auth model.
by n2h4 | 2025-06-04 06:38:29+00:00
it does exist in `about:config`, which could be made as a UI setting instead:

`media.peerconnectin.enabled`.

on cromite[1], a hardened chromium fork, there is such a setting, both in the settings page, as well as when you click on the lock icon in the address bar.

[1]: https://cromite.org
by motorest | 2025-06-04 06:38:59+00:00
> Seems like this is meant to address supporting many different version control systems with a single format.

I'm sorry, this is simply wrong at so many levels. You're lauding this as a solution in search for a problem. As OP pointed out, this is already a solved problem as proven by Git. Git is not using a proprietary format. The problem of "integrate with many other version control systems" depends on whether those version control systems want to work on adding support for this feature. I guarantee you there isn't a single SVN or Mercurial maintainer complaining that they would love to share patches with Git but they are blocked because they cannot implement, let alone design, a format to exchange patches. That is not the hard part. That doesn't even register as a concern.
by transpute | 2025-06-04 06:39:16+00:00
On Xen, QubeOS uses vchan for inter-VM shared memory communication, https://roscidus.com/blog/blog/2019/01/01/using-tla-plus-to-....

Virtio on Xen is still a work in progress, https://wiki.xenproject.org/wiki/Virtio_On_Xen
by eliemichel | 2025-06-04 06:40:35+00:00
This figure is sort of an overclaim imho. If you look inside the paper, the reported figure is 97 FPS actually (vs 135 FPS for 3DGS on their device). This 2400FPS they advertise is for a degraded version that completely ignores the transparency... but the transprency is both what makes these representation support interesting volumetric effects and what makes rendering challenging (because it requires sorting things). Drawing 1M triangles at 2400FPS on their hardware is probably just quite normal.
by chipx86 | 2025-06-04 06:40:52+00:00
Absolutely agree. I think there's a lot of avenues to explore for better diff representations for structured data (which would also be great for ASTs, something we've been thinking about).

This format is meant to be an extension of Unified Diffs (much like the diff formats of most SCMs), and not something entirely new and focusing on other areas. But if more specific diff formats become widespread, we could directly support encoding them within DiffX as well, as we do for binary diffs formats.
by illiac786 | 2025-06-04 06:41:58+00:00
You are saying, if it’s not direct popular vote, it’s not democratic. Germany and the US are then no democracies by this standard, and I am sure there are much more. I believe UK also not.

That’s your definition, but then I’d like to understand what you call these form of government and how you differentiate from a country like russia, which is also holding elections.

The way you phrase it is very binary: either a country has popular vote or it’s the same as the least democratic countries.
by tokioyoyo | 2025-06-04 06:42:20+00:00
Literally all of that sounds like a you problem. I love my friends! They helped me out immensely over the past decade in terms of personal and professional life. I’ve always tried to do the same for them. I cherish my memories of dancing and drinking with all of them at my manager’s wedding after a decade of friendship.

Having a social life is actually a good thing!
Is there some way to better understand TAOCP Vol 1 by Knuth?
by justanything | 2025-06-04 06:42:57+00:00
Hello, I am far from a smart person but I still wanted to give reading The Art Of Computer Programming Volume 1: Fundamental Algorithms by Donald Knuth a try but I don't understand at all how MIX computer he talks about works.

Are there any other resources that make it easier to understand the contents of this book?
by microtonal | 2025-06-04 06:44:38+00:00
IANAL, but it's not GDPR-conformant consent in any way. Consent needs to be informed, unambiguous, and freely given to be valid and should be easy to reject. The only way for this to be valid would be a consent form with something like:

Allow Meta tracking to connect the Facebook or Instagram app on your device to associate visits to this website with your Meta account. Yes/No (With No selected as a default.)

I am pretty sure that this is a grave violation of the GDPR.
by ycombinete | 2025-06-04 06:44:43+00:00
I'm not sure what the stats are, but my anecdote is that two family members who did long term keto have both developed permanent renal problems in their 60s. They can now eat only very little protein.

The one person's Dr. told her that the main issue is that she was eating way too much protein. Which might mean she wasn't doing Keto quite right. But I don't know enough about the diet myself to say for sure.
by MrDarcy | 2025-06-04 06:44:47+00:00
> For evidence of this, light autists often make very effective managers.

This idea is turning my world upside down, having avoided management roles my whole career yet ending up “managing” a small team of like minded experienced engineers despite actively avoiding the formal title. I put it in quotes because I don’t feel like I manage them in any way other than they technically report to me. I could tell them what to do but have only done so twice in 8 years. We chat once a week about whatever we feel like chatting about.

Please could you share any context or insight into this idea so I can understand more deeply?
by ozim | 2025-06-04 06:45:22+00:00
I have different experience - usually it is tech people that are toxic and trying to prove candidates are stupid because they didn’t know that one thing person asking lives by and is his bread and butter.

It is like they are never interested in what I do know and experienced but picking some thing they pride themselves on.

Like I never ran into issues with file descriptors on Linux and interview was about C# development well senior level so I guess it is fine.

Other time well I have comp sci degree so for a software dev with C# in web development it is perfectly reasonable to ask math questions I wasn’t expecting and then conclude I wasn’t prepared and wasted their time.

Well one time it was about C# development and writing code using generics that one I most likely should have practiced more often but I don’t use it as much and it would take me couple hours to brush up on it to be proficient - but was shot down as I couldn’t remember the syntax correctly.

I am happy I don’t work in those places so I am happy they did that :)

HR filters I probably haven’t seen from all the ones I never heard back from.
by tallytarik | 2025-06-04 06:45:44+00:00
We self-host nominatim as part of the iplocate.io pipeline. It works great, but the requirements are pretty heavy for something to host casually.

An in-between for OP could be something like opencagedata.com, which is still a third-party API but an order of magnitude less expensive than Google. (not affiliated but have previously explored the service)
by k1t | 2025-06-04 06:46:03+00:00
I think the article is a bit weird. To commiserate means to empathize with another's suffering, such as the getting dumped by your girlfriend example in the article.

But the article launches (literally the first sentence) into "As people become managers, it’s quite common for their team members to want to commiserate with them." as though it is just obvious that all managers have some sadness that their team members need to help them through, which is obviously nonsense.

So yes, it's unusual phrasing.
by illiac786 | 2025-06-04 06:49:12+00:00
I agree it’s not light years rather normal years away from Russian political system. Maybe not 5 years, but lets say 10-15 years of this shit and the US will look a lot like Russia (from a government form perspective). If Vance takes over after Trump, we will miss Trump I have a feeling.

But I am not from Russia, though part of my family is. I guess I am then only a half expert ;)
by chipx86 | 2025-06-04 06:50:01+00:00
Git is using a proprietary variant on top of Unified Diffs. Unified Diffs themselves convey very little information about the file being modified, focusing solely on the line-based contents of text files and allowing vendors to provide their own "garbage" lines containing anything else. Every SCM that tracks information beyond line changes in a diff fills out the garbage data differently.

The intent here isn't to let you copy changes from one type of repository to another, but to have a format that can be generated from many SCMs that a tool could parse in a consistent way.

Right now, tools working with diffs from multiple types of SCMs need at least one diff parser per SCM (some provide multiple formats, or have significantly changed compatibility between releases.

For SCMs that lack a diff format (there are several) or lack one that contains enough information to identify a file or its changes (there are several), tools also need to choose a method to represent that information. That often means yet another custom diff format that is specific to the tool consuming the diff.

We've spent over 20 years dealing with the headaches and pain points here, giving it a lot of thought. DiffX (which is now a few years old itself) has worked out very well as a solution for us. This wasn't done in a vacuum, but rather has gone through many rounds of discussion with developers at a few different SCM vendors who have given thought to these issues and supplied much valuable feedback and improvements for the spec.
by protocolture | 2025-06-04 06:51:03+00:00
>I'm one of those people who says, unironically, "words have meanings." I readily argue with people who present "language is living and evolves" - sure, but in order to communicate we have to agree on a decent subset of overall definitions.

A few things.

>we have to agree on a decent subset of overall definitions.

Yes but we should fairly obviously understand that a word can have multiple, often competing meanings, and make an effort to learn the new ones as they become available.

As language shifts, and its shifted rapidly in my own lifetime, you can either make an effort to keep up, or be a sourpuss and refuse to understand changes in language.

It seems to me there's usually a political dimension to people who refuse to understand what people mean, because its easier to denigrate people if they cling to definitions that aren't intended by their political opponents use of a word.

I see this shit constantly mind. Gender. Liberty. Capitalism. Communism. People get stuck fighting useless battles over the right to define a word instead of just learning and embracing their opponents intention.
by boyter | 2025-06-04 06:52:00+00:00
I had never seen this before. Although I am now trying out lagrange and seeing what it can do.

Sorry for hijacking the thread on what is a great post, but is gemini common these days? This is literally the first time I have ever seen it, and it seems fairly interesting, albeit deliberately limited.

Annoyingly the learn more about it link https://gemini.circumlunar.space/ is now dead, as possibly might be protocol.
by smackeyacky | 2025-06-04 06:52:11+00:00
No better time in history to learn guitar. Amazing online resources, the world is flooded with cheap guitars as well if you’re happy with 2nd hand. There is a technical side to it (tuning, restringing) and plenty of toys, pedals and computer integration to any nerd hearts content. Even if you get stuck at 3 chords it’s amazing the number of pop songs you can suddenly play. Plus if you get past there you still have classical, jazz or whatever super hard path you want to travel to explore.
by mordechai9000 | 2025-06-04 06:53:19+00:00
Me too. I was out hiking and ran into an old guy I know. He is 90 years old and he's a bird biologist and a naturalist by vocation. I changed my plans for the day and hiked with him for a few hours. He talked quite a bit about birds and ecology and it sparked my interest. I figured someone must've made an app to id bird calls, and I found Merlin in the Google store. Now I've been walking around trying to id every bird I hear. That was a few days ago, so seeing it here on HN is definitely a Baader–Meinhof moment.
by ahonhn | 2025-06-04 06:53:19+00:00
I stopped using a mouse when I moved from desktop to laptop computer because I found the touchpad is so much more convenient for keeping my hand near the keyboard. However, doing this for over 20 years means I'm now very stuck in my habit of needing touchpads with real buttons. All my attempts to get used to the awful buttonless modern touchpads have been an absolute nightmare so far :-(
by microtonal | 2025-06-04 06:53:34+00:00
They are able, because in the end advertising is also paid by customers. The complications are:

- Paying for services is very visible, whereas the payment for advertising is so indirect that you do not feel like you are paying for it.

- The payments for advertising are not uniformly distributed, people with more disposable income most likely pay more of overall advertising. But subscriptions cannot make distinctions between income.

- People with disposable income are typically the most willing to pay for services. However, they are also the most interesting to advertisers. For this reason, payment in place of ads is often not an option at all, because it is not attractive to websites/services.

I think banning advertising would be good. But I think a first step towards that would be completely banning tracking. That would make advertisements less effective (and consequently less valuable) and would pose services to look for other streams of income. Plus it would solve the privacy issue of advertising.
by umvi | 2025-06-04 06:53:39+00:00
Binary is too easy, but hex can be tricky. I made a hex-based wordle puzzle for my programming game where you have to guess an 8-digit hex string in as few as 6-12 guesses using wordle mechanics... called the level "dwordle" :)

(video from like 3 years ago: https://www.reddit.com/r/Unity2D/comments/sq4anb/i_added_a_w...)
by palmfacehn | 2025-06-04 06:54:48+00:00
I'm reminded of the popular nostalgia for small pickups like the old Ford Ranger. There has always been a discrepancy between market demand and central planners' "virtuous consumption". From the manufacturer's perspective, perhaps they overestimated the EV trend or how consumers would respond to tax credits. It is easy to imagine how an echochamber would influence the former and bean counting would influence the latter.
by bandrami | 2025-06-04 06:55:22+00:00
I don't think it has to go that far. I think there's a middle ground here that people would accept: show us ads, but make it a one-way firehose, like TV and billboards. If you need to advertise to pay for the site, put up all the banners you want. But don't try to single me out for a specific one.

If it could pay for network TV there's no reason it can't pay for a website.

(You could still do audience-level tracking, e.g. "Facbebook and NCIS are both for old people, so advertise cruises and geriatric health services on those properties")
by kiitos | 2025-06-04 06:55:47+00:00
> Go really wants you to define a type that you can cast or switch on, which is far better.

Go very very much does not want application code to be type-asserting the values they receive. `switch x.(type)` is an escape hatch, not a normal pattern! And for errors especially so!

> they tend to use errors.New and fmt.Errorf which do not lend themselves to branching on error conditions

You almost never need to branch on error conditions in the sense you mean here. 90% of the time, err != nil is enough. 9% of the time, errors.Is is all you need, which is totally satisfied by fmt.Errorf.
by boxed | 2025-06-04 06:56:13+00:00
Oh look, just what I've been predicting: https://news.ycombinator.com/context?id=44041114 https://news.ycombinator.com/context?id=41786908

It's the same as "AI can code". It gets caught with failing spectacularly when the problem isn't in the training set over and over again, and people are surprised every time.
by itake | 2025-06-04 06:57:14+00:00
oo I didnt' realize that. that seems pretty close to what I want, but the git tools (cli or Github Desktop) still print the entire line.

For line diffing, it clips to only show the ~3 line before and after the change. But the word diff still prints the entire line and you have to scroll to find the change in the line wrapping.
by juped | 2025-06-04 06:57:23+00:00
Haskellers and Rust fans think they own sum types, and people read their comments and blog posts and believe them, and decide they don't want sum types because they don't want to go down the horrifying Hindley-Milner rabbit hole.

But meanwhile it's just perfectly idiomatic Erlang and Elixir, none of that baggage required. (In fact, the sum types are vastly more powerful than in the ML lineage - they're open.)
by firesteelrain | 2025-06-04 06:57:59+00:00
You could implement FingerprintJS [1] or even implement email or phone verification before allowing purchases for unverified PayPal accounts or implement some transaction frequencies per IP address. With FingerprintJS, it can basically create a unique ID per user and mitigate the behavior you are seeing and block them or add in additional countermeasures like 2FA.
by dwaite | 2025-06-04 06:58:02+00:00
it sounds like you are asking why enterprises aren't choosing to write Rust code vs Java code. I wouldn't turn away a developer just because they had experience with Elixir.

It really comes down to whether there's someone making the case that a particular application/subsystem has specialized needs that would warrant hiring experts, and whether they can make the case successfully that the system should use technologies that would require additional training and impose additional project risk.

Until you are dealing not with enterprise applications but actual services, it can be difficult to even maintain development teams for maintenance - if your one ruby dev leaves, there may be nobody keeping the app running.

Even when you are producing services - if they are monolithic, you'll also be strongly encouraged to stick with a single technology stack.
by dataflow | 2025-06-04 06:59:14+00:00
> The way you phrase it is very binary: either a country has popular vote or it’s the same as the least democratic countries.

No. I merely pointed out that we have two extremes and that a line needs to be drawn somewhere, and thus asked where the parent commenter draws the line. That's it. I never suggested anything about where I believe the line should be drawn.
by Ekaros | 2025-06-04 07:00:31+00:00
I think it might come to understanding what is "high quality" journal. Maybe such journal should be focused on much more proven and mature things. Where there would be lot less retractions as they have more mature and thus more proven information.

But I think problem is what is seen is "high quality" == "high impact". Which means that prestige and visibility is important things. Which likely lowers the threshold quite a lot as being first to publish possibly valid something is seen as important.
by sitharus | 2025-06-04 07:00:42+00:00
That’s gross yearly income, after tax it’s $125k. Though for a lot of people there aren’t many other expenses after tax, just rent and food.

A decent 2 bedroom apartment in Auckland or Wellington will set you back $800k-$1.2M based on a quick look at the market. It can be a lot cheaper away from the cities.

Food however is expensive.