MurphyA/hacker-news huggingface dataset:
by fragmede | 2025-04-20 00:09:47+00:00
In this wonderful future where we can leave responses longer than a tweet and have conversations longer than 30-second sound bytes, that people can understand, well at least get them understanding your point of view, even if they don't join the team. Having a succinct explanation for the sticklierness is still key though. For not letting Mark Zuckerberg co-opt the term Open Source, it's that it's not open source if I can't see why the LLM won't tell me how to make cocaine. Need to workshop that a lot so it fits on a t-shirt, but that is the gist of it.
by zzo38computer | 2025-04-20 00:10:15+00:00
I agree that there are things with too many dependencies and I try to avoid that. I think it is a good idea to minimize how many dependencies are needed (even indirect dependencies; however, in some cases a dependency is not a specific implementation, and in that case indirect dependencies are less of a problem, although having a good implementation with less indirect dependencies is still beneficial). I may write my own, in many cases. However, another reason for writing my own is because of other kind of problems in the existing programs. Not all problems are malicious; many are just that they do not do what I need, or do too much more than what I need, or both. (However, most of my stuff is C rather than JavaScript; the problem seems to be more severe with JavaScript, but I do not use that much.)
by jauntywundrkind | 2025-04-20 00:10:50+00:00
Note: the worn drives were very worn. 128GB drive with 280TB written is ~2400 cycles. >5x it's 480x rating!

Even though it's a cheap drive, it's rated endurance wasn't really that low. 600 cycles (1200TBW/2TB) is pretty common for consumer SSD: that's higher than 480x but not vastly higher.

Glad folks are chiming in with the temperature sensitivity notes. I have parts coming in for a much bigger home-cloud system, and was planning on putting it in the attic. But it's often >110°F in the summer up there! I don't know how much of a difference that would make, given that the system will be on 24/7; some folks seem to say having it powered on should be enough, others note that usually it's during read that cells are refreshed.

Doing an annual dd if=/nvme0n1 of=/dev/zero bs=$((1024*1024)) hadn't been the plan, but maybe it needs to be!
by mcherm | 2025-04-20 00:11:33+00:00
This seems quite promising: an effective treatment for a problem that frequently assails many people, and a treatment which is so simple and easy to apply.

In fact, it seems so promising, that it raises my hackles of suspicion. I would very much like to see other researchers replicate this. I am automatically more skeptical than I would be of most research because if humming a certain note were an effective treatment for motion sickness, then it would be rather surprising that people had not already discovered this property -- possibly just by listening to various pieces of music.

Just as research which suggests a surprising outcome or one inconsistent with existing theories must meet a higher bar, so too does research which suggests a simple cure that it was already possible for people to stumble across.
by bobmcnamara | 2025-04-20 00:11:58+00:00
Does the interval you're measuring move around much?

Can the measurement system touch or be affixed to it?

Sounds like a pair of nice calipers might work. So depending on your precision needs, you might get away with the same approach: sliding grid of capacitive cells that slide over the measurement cells. Microcontroller measures them as it slides through. Atan2() for the final result. The meter only part of this is called a DRO(Digital ReadOut)
by fknorangesite | 2025-04-20 00:11:59+00:00
Because they're dancing around specific complaints and this line, for example,

> were I to give a factual description of the childrens and teens sections, I would get banned by dang.

reeks of "I don't want LGBTQ representation in my library" or similar.

If I'm wrong, so be it. But the commenter isn't helping their own case.
by 156287745637 | 2025-04-20 00:12:14+00:00
AI scrapers and "sneaker bots" are just the tip of the iceberg. Why are all these entities concentrated and metastasizing from just a few superhubs? Why do they look, smell and behave like state-level machinery? If you've researched you'll know exactly what I'm talking about.

Unless complicit, tech leaders (Apple Google Microsoft) have a duty to respond swiftly and decisively. This has been going on far too long.
by chimpanzee | 2025-04-20 00:12:55+00:00
Uneducated immigrants are a far smaller group than uneducated natives. Believing that they are nonetheless the bigger problem is a sign of a racist perspective, albeit not a guarantee of one, perhaps it’s simply anti-immigration.

Additionally most immigrants don’t vote, so it doesn’t account for the current circus. When they do vote, they’ve become citizens by passing a test that many native Americans couldn’t pass.

Uneducation is a problem in general. Doesn’t matter who it is, immigrant or native. But uneducation is fixable problem if we as a society/culture wanted to fix it. We are currently working towards the exact opposite goal and doing it faster than ever.

PISA is not the only measurement. And it is not used by many countries, particularly Asian countries. It isn’t hard to look up other stats on US reading levels.

And again, comparing education levels outside of a historical context of politics and economics is not helpful, to say the least. And it says nothing about an individual’s ability or willingness to become educated once the opportunity presents itself, especially if they’ve already self-selected by making the effort to enter an environment that offers said opportunity. That should be obvious to a person who values and desires to protect American individualism, as you claim to be.
by like_any_other | 2025-04-20 00:14:33+00:00
You are conflating different parts of my post, and summarizing them in highly misleading ways. I'm not complaining that the Guardian is treating McVeigh unfairly - I'm complaining that they're lying about him - or at a minimum, stretching the truth.

And I'm not using the comparison to BLM for this - that is a completely separate, independent complaint. And has nothing to do with my feelings towards or the merits of BLM - it is to illustrate how opportunistic the Guardian is being in which group they associate with which tragedy. E.g. they didn't associate the defenders of the federal government or gun control with the Waco massacre, or (certain) anti-law-enforcement activists, or any of the other #resist groups, with McVeigh.

It is transparent propaganda, and I am frankly shocked others don't see it.
by breckenedge | 2025-04-20 00:15:03+00:00
> These […] get better every day.

They do, but I’ve seen a huge slowdown in “getting better” in the last year. I wonder if it’s my perception, or reality. Each model does better on benchmarks but I’m still experiencing at least a 50% failure rate on _basic_ task completion, and that number hasn’t moved higher in many months.
by throwaway519 | 2025-04-20 00:15:03+00:00
Given 5his is a thing even in browser plugins, and that so very few people analyse their firewalls, I'd not discount it at all. Much of the world's users hve no clue and app stores are notoriously bad at reacting even with publicsed malware e.g. 'free' VPNs in iOS Store.
by osmoscraft | 2025-04-20 00:15:29+00:00
React hooks can help manage the state and tools for LLM agents. Hooks are good abstraction for dynamically composing data and behavior for both human user and LLM. It also lets human and LLM collaborate on the same UI without communication overhead.

Source code and demos: https://github.com/chuanqisun/react-agent-hooks
by nevi-me | 2025-04-20 00:16:18+00:00
Microsoft demoed a version of their GraphRAG that translated C code to (I believe) mostly idiomatic Rust, and it ran without errors.

I tried to find reference to how they did it, does anyone know?

It sounds like this approach of translating old code could help speed up teams that are looking at rewrites. I also have some old code that's in Kotlin that I'd like to move to something else. I had a bad NullPointerException take down my application after missing a breaking change in a Kotlin update.
by 90s_dev | 2025-04-20 00:17:01+00:00
If you notice from the last tc39 conversation about the types proposal, there's a bit of tension where people are reasonably asking, should we really be stuffing more and more compilation into the browser? At what point do they push back and say, let the developer compile as much as they can ahead of time? I think wasm really has that advantage, that it forces us to do so, and saves time and resources in the user's browser. I'm not sure what the right balance is, though. I've wanted TypeScript in the browser for ages. But I see their point.
by themadryaner | 2025-04-20 00:17:53+00:00
It is possible! But with more than two dimensions, you have to allow deviations from perfect proportionality to guarantee a solution exists. The more dimensions, the worse it gets, until eventually proportionality breaks down entirely. [1] defines a method to do this and simulates the results on an election where district and party seats are distributed proportionally and divvied up by gender proportionally. The result is a better national proportionality at the expense of worse local proportionality.

[1]: https://www.pnas.org/doi/10.1073/pnas.2109305119
by soulofmischief | 2025-04-20 00:18:32+00:00
I think both texts should be available to those who request them, but this cannot happen in a vacuum. We have to teach important context to our children early on, expose them to systems of ethics and overall ensure that they go into it understanding why Marquis de Sade was an absolute psychopath and why his writings must be read through the proper lens.

And Lolita is a tragedy, a story about flawed characters. Supporting access to the novel and supporting child abuse are two wildly orthogonal stances.
by layer8 | 2025-04-20 00:19:39+00:00
The pattern you are describing is what I know as the Strategy pattern [0]. See the example there with the Car class that takes a BrakeBehavior as a constructor parameter [1]. I have no issue with that and use it regularly. The Strategy pattern precedes the notion of dependency injection by around ten years.

The term Dependency Injection was coined by Martin Fowler with this article: https://martinfowler.com/articles/injection.html. See how it presents the examples in terms of wiring up components from a configuration, and how it concludes with stressing the importance of "the principle of separating service configuration from the use of services within an application". The article also presents constructor injection as only one of several forms of dependency injection.

That is how everyone understood dependency injection when it became popular 10-20 years ago: A way to customize behavior at the top application/deployment level by configuration, without having to pass arguments around throughout half the code base to the final object that uses them.

Apparently there has been a divergence of how the term is being understood.

[0] https://en.wikipedia.org/wiki/Strategy_pattern

[1] The fact that Car is abstract in the example is immaterial to the pattern, and a bit unfortunate in the Wikipedia article, from a didactic point of view.
by jedimastert | 2025-04-20 00:20:55+00:00
For those not wanting to click through a bunch of links, here is a quote of the results of the study. TL;DR a sine wave of 100Hz at conversation level.

> Results: The effect of short-term (≤5 min) exposure to a pure tone of 80–85 dBZ (= 60.9–65.9 dBA) at 100 Hz on motion sickness was investigated in mice and humans. A mouse study showed a long-lasting (≥120 min) alleviative effect on shaking-mediated exacerbated beam test scores by 5-min exposure to a pure tone of 85 dBZ at 100 Hz, which was ex vivo determined as a sound activating vestibular function, before shaking. Human studies further showed that 1-min exposure to a pure tone of 80–85 dBZ (= 60.9–65.9 dBA) at 100 Hz before shaking improved the increased envelope areas in posturography caused by the shakings of a swing, a driving simulator and a vehicle. Driving simulator-mediated activation of sympathetic nerves assessed by the heart rate variable (HRV) and vehicle-mediated increased scores of the MSAQ were improved by pure tone exposure before the shaking.
by grg0 | 2025-04-20 00:21:34+00:00
That widget argument should really be const Widget&. Then my statement above stands. I was going under the assumption that the entire response is some function of the input, and the input outlives everything else.

> I'm not entirely sure what the purpose of the transformed_data vector is.

I suppose that in the real application, they want something like 'response = f(g(h(...(input)...))', where f . g . h is some non-trivial composition of a bunch of view transforms. So then it kinda makes sense. Basically, construct a lazy list, then eval everything at the end and store the result somewhere.

If so, then that 'f . g . h' composition might compile to something faster than the equivalent of 3 loops and vectors for intermediate results, since the compiler can fuse the whole thing into a tight loop. They might have made the benchmark misleading by constructing a too-minimal example.
by pvg | 2025-04-20 00:22:42+00:00
You were trying to suggest something about his motives precluded him from deliberately targeting children. It didn't and there is direct evidence for it. A mass murderer is simply a mass murderer, not someone involved in a 'conflict'. That was his self-justification narrative, I have no idea why you are adopting it as if it's some thing reasonable people have reasonable differences about.
by kyralis | 2025-04-20 00:23:06+00:00
Yes, this is the sort of thing that I'd reject. Why are we churning code (assuming it's working) to potentially introduce stylistic inconsistencies without some existing motivation, especially as a new person on the team who's apparently attempting to have a code style conversation via PR?

It's not even that I disagree with his premise, in the abstract, and if he were including this as part of a larger change in that area of code, I could see it being reasonable. But as a "I don't like the way this code looks so I'm going to rewrite it" PR, no.
by wkat4242 | 2025-04-20 00:24:24+00:00
Not sure about everywhere but here in Europe (Spain, Ireland) the bands are dead quiet. I became a ham in the 90s and every morning we had a call in on the way to work. Tens of people on the repeater. The repeaters are quiet now. The digital ones sound a bit more active but that's because they're relaying the whole country now.

Hf is still pretty busy I think but I don't do that. No space for antennas in the middle of the city.

But anyway there's definitely space on 70cm. The band plan would have to be redesigned though for wider channels. There's even more space on 13cm. Literally nobody uses that. There used to be some amateur TV but that's gone too.

And yes it's annoying that in this day and age digital radio still sounds way worse than ordinary FM at the same bandwidth.
by defrost | 2025-04-20 00:25:12+00:00
Whenever I discuss the meaning of words with children and grandchildren I refer them to dictionaries (plural)

Banned: officially or legally prohibit (something), to forbid (= refuse to allow) something, especially officially, to prohibit, esp officially, from action, display, entrance, sale, etc; forbid.

This and similar can be found in the Cambridge dictionary, the Oxford English Dictionary, the Merriam-Webster, the Collins, et al.

"Officially prohibit" is what the Lamar CISD did via their Board Policy Manual that was passed and adopted on the 19th of November 2024 via point 10. of their Library Materials Collection Development policy:

No library materials used in elementary schools shall contain depictions or descriptions of sexual acts or stimulations of such acts implied or otherwise. This includes explicit or non-explicit written descriptions, depictions or illustrations of sexual acts, except for the purposes of teaching students (as may be approved by parents) to avoid and report molestation. No material in elementary school libraries shall include visual depictions or illustrations of frontal nudity;

The seal was _banned_ from the library under the "[no] visual depictions or illustrations of frontal nudity" clause.

Not only _banned_, according to multiple reports the seal was also _expurgated_ by the school board along with a section about Virginia from its online learning platform used by 3rd-5th graders (eg: https://www.txftrp.org/censorship_tx_even_state_flags_arent_... for one such source)

See: https://pol.tasb.org/PolicyOnline/PolicyDetails?key=481&code...

You were factually incorrect in your claim that "They didn't ban it." ( https://news.ycombinator.com/item?id=43734863 )

You were factually incorrect in your limited definition of "Banned" ( https://news.ycombinator.com/item?id=43735102 )

You have also apparently failed to read and certainly failed to heed the HN user guidelines: https://news.ycombinator.com/newsguidelines.html

These are all simple things that can be improved upon.
by __turbobrew__ | 2025-04-20 00:26:01+00:00
You don’t need agreement. A newly added node can try best effort to find the optimal placement based upon the known state of the cluster and then advertise that it is going to a specific place in the hash ring. When clients learn about the new node they will also learn where that node has decided to put itself into the ring. No coordination is needed. There are probably moments that a client learns about the node they also atomically learn about where that nodes is placed.

There are probably other issues where simultaneously added nodes may try to insert themself into the same position in the ring, you could add some jitter in the placement to compensate for this, but then I guess you are now introducing randomness which is one step closer to just having vnodes again.
by OJFord | 2025-04-20 00:26:05+00:00
So the issue you're taking with 'thing is crap' is not 'thing is not crap', but 'you have redefined thing to be reviewed and held to standards and then called it crap'? And so, what, if we just accept it as it is, it's not crap? Or it is, but it everyone knows it (do they?) so it's not worth calling crap?
by hermitShell | 2025-04-20 00:27:30+00:00
I was thinking about this very thing recently, because I like to be able to tell my computer to do exactly what I want. Little annoying things, usually Microsoft products. Maybe the next 20 years will bring more improvement in software than the past 20. Hardware has gotten faster, software more complex... but at the root of it, technology exists for us to exercise our will over reality. If we could accomplish the same thing without technology, that would obviously be better. I guess I'm trying to say the interface matters.
by noirbot | 2025-04-20 00:28:37+00:00
Sure, I get it! Maybe it is all just a fad that will pass. I don't hold judgement for people who enjoy a more classic espresso, but as I mentioned elsewhere in the thread, I was in Europe most of 15 years ago and you'd essentially get "oh, you're one of those people" looks if you wanted anything but a dark roast espresso. The OP of this thread would likely be as annoyed by trying to get "a cup of coffee" in Italy as in any pretentious city in the world, assuming he doesn't happen to like dark roast espresso.

Both sides can be pretentious. Dogmatic attachment to tradition can be pretentious just like overzealous modernism. I certainly wouldn't order an espresso in Milan and then be upset that I dislike it, but I would find it annoying that it's difficult to find a cup of coffee I do enjoy, just like my British friends find it difficult to find a cup of tea that meets their preference, which I also think is a sub-par way to prepare a drink.

Plus, the espresso fad is kinda already long-dead in America. Sure, there's Starbucks, but no one's really getting a black coffee or espresso shot there. If anything, America's contribution to coffee that has persisted for decades is drip coffee and more recently handbrew pourovers (though Japan and others also contributed a lot there). There's a reason the Americano is essentially just espresso made to taste like drip coffee.
by Barrin92 | 2025-04-20 00:29:34+00:00
>People are energy preserving creatures and we skip paying attention if we can.

Paying attention saves you energy in the long run. In the words of Gus Levy, nothing wrong with being greedy, but there's two types of greed, long term and short term; the latter is stupid.

Of course for a throwaway project it's irrelevant by definition. But the problem is in professional work you cannot get away with low effort, you're just pushing your problems to the back and they'll come back with interest. Vibe coding is simply moving your problems to other people, or to yourself at a later point in time.
by jedimastert | 2025-04-20 00:32:07+00:00
I'm trying to think of a reason this couldn't be done more directly with a pretty run-of-the-mill transpiler. Like I understand if this is a technical demo and there is a LOT of Fortran code, but...?

I've actually had to do this with a couple of different Fortran projects when I was in college, I translated them to C for various reasons.

Maybe it's because it was specifically code written by scientists (i.e somewhat brute force and very straightforward) but there really wasn't very many features that I can recall that didn't have a direct C counterpart, other than column major ordering and arrays staring at 1.

Was I just blissfully unaware?
by manofmanysmiles | 2025-04-20 00:32:49+00:00
I love it! I effectively achieve similar results by asking Cursor lots of questions!

Like at least one other person in the comments mentioned, I would like a slightly different tone.

Perhaps good feature would be a "style template", that can be chosen to match your preferred writing style.

I may submit a PR though not if it takes a lot of time.
by jraby3 | 2025-04-20 00:32:49+00:00
To save a click:

"The brown note (sometimes brown tone or frequency) is a hypothetical infrasonic frequency capable of causing fecal incontinence by creating acoustic resonance in the human bowel. Considered an urban myth, the name is a metonym for the common color of human faeces. Attempts to demonstrate the existence of a "brown note" using sound waves transmitted through the air have failed. Frequencies supposedly involved are between 5 and 9 Hz, which are below the lower frequency limit of human hearing. High-power sound waves below 20 Hz are felt in the body."
by mindcrime | 2025-04-20 00:33:29+00:00
To add to that: there may be nothing more important than your relationship with your manager. To the point that I'd say, if you don't deeply trust your manager, and have a relationship where you can be genuinely open and transparent with him/her, you should find another job. It really makes life a lot better when you and your manager are simpatico and clearly "on the same team" (and "on the same page") and not in a borderline (or outright) adversarial relationship.
by jasonthorsness | 2025-04-20 00:33:32+00:00
Go is great for handling raw buffers and thus non-text protocols, and it has some great benchmarking, testing, and profiling tools. I think it definitely gets a little more awkward at the "handling JSON" layer compared to Node or even C#.

But taking a step back, I don't think the TypeScript team's usage of Go for their compiler provides much support for using Go in any general web scenario: their decision was carefully made for their somewhat unique situation and the code style of their existing TypeScript code.