MurphyA/hacker-news huggingface dataset:
by otteromkram | 2025-05-23 13:36:34+00:00
> And why the researchers didn't tried to reduce stress levels?

The student is under stress due to their struggle with the passage, which the author isn't taking creative liberties to describe as that's how most people will react.

The time constraint wouldn't be an issue if they were comfortable with the passage. You can give them unlimited time and they might provide a sufficient response, or just quit and move along in the study, which also stated in the reading.

And, with all due respect, I think you're probably giving yourself more credit for your ability to perform better than these students than what might be the actual result, but that's not atypical for me online community, whose denizens are a cut above the rest...

This was also noted in the study:

* [...] However, these same subjects (defined in the study as problematic readers) also believed they would have no problem reading the rest of the 900-page novel.

Keep in mind that the students were English majors, so understanding complex classical works might be expected at some point.
by brotein | 2025-05-23 13:36:42+00:00
Brogrammer here. I recognize that I spend 12 hours a day writing code (and loving it) as a fun thing but also a danger if I do it all sitting down. I stay busy and incorporate workouts into my day.

I don’t take it as a pejorative, it’s an acknowledgement of my efforts to be even considered in this category. For those wondering I have a family, and have healthy activities otherwise. No cool diets or bioscience, just code, physical activity and coffee/water.

This isn’t a lifestyle I’m saying everyone should do, only that people should do what makes them happiest and most fulfilled for their set of goals.
by specialist | 2025-05-23 13:36:44+00:00
> IntelliJ has a habit of breaking its internal configuration a few times a year

Same.

My impression is the project settings (all those XML configuration files under /.idea) are a gravity well that eventually implodes.

All project artifacts should be less Windows Registry and more like source code.

Which reminds me: I should be taking snapshots of known clean good settings. (Diffing those files, to cull unused stuff, is challenging.)
by throw0101c | 2025-05-23 13:37:04+00:00
> […] all without appealing to an authoritarian source of control.

Well that was partly what After Virtue was about: arguing it wasn't possible to have an objective moral system without the supernatural.

* https://en.wikipedia.org/wiki/After_Virtue

And he's not the only one to hold this view (many atheists do as well):

* https://global.oup.com/academic/product/atheist-overreach-97...

You're left with either Nietzsche's arbitrary will, or virtues (à la Aristotle). For the latter, MacIntyre attempted to develop a system of morality (? ethics?) based on human biology:

* https://www.goodreads.com/book/show/655623.Dependent_Rationa...

Once can certainly tell oneself that there is a certain purpose or meaning to one's life, but if you're a materialist, then (the argument goes (AIUI)) it's not true.

* https://en.wikipedia.org/wiki/Is–ought_problem

The arrangement of atoms is arbitrary and without meaning, and to call some arrangement(s) "good" or "bad" or better / worse is a value judgement that is just as arbitrary and meaningless.
by fidotron | 2025-05-23 13:37:11+00:00
> Even in your v8 example, that's a JIT optimization, not "how the language works". You break that optimization, which you can do at any moment with any change in your code base, you're back to similar sizes.

The whole point of the v8 optimization is it works in the face of prototype chains that merge etc. as you add new fields dynamically so if you change your code base it adapts.
by samwillis | 2025-05-23 13:38:41+00:00
I was at PGConf last week, and this was one of the most packed talks - a great insight into using Postgres, where most of the conference was fairly inward facing, with talks around the development of Postgres itself (pgconf.dev is very much that one, out of all the others each year).

What you have to remember is that for many teams, when their product takes off, they are not equipped with the deep internal knowledge of how to scale a particular part of their stack. This was an awesome story from a small team having to tackle those challenges, and how they were learning as they went. So, while there are some of those "can't you just", and "whats interesting about this?" comments here, with the narrative of the growth rate, and the very high profile of the product, it was the perfect user talk for a internal development focused conference.

The key insight, and main message, of the talk was that if you are not too write heavy you can scale Postgres to very high read throughput with read replicas and only a single master! That is exactly the message that needs to be spelled out as that covers the vast majority of apps.

As an observation, in the Q&A at the end of the talk the questions, primarily from core Postgres developers, were focused on learning about the use case, and not an opportunity to suggest that they were doing anything wrong (not quite the same as this thread could get). A genuinely awesome group of very friendly and welcoming people in the Postgres community.
by ndsipa_pomu | 2025-05-23 13:38:47+00:00
> It munges your web server config (temporarily) to handle http challenges

I run it in "webroot" mode on NgINX servers so it's just a matter of including the relevant config file in your HTTP sections (likely before redirecting to HTTPS) so that "/.well-known/acme-challenge/" works correctly. Then when you do run certbot, it can put the challenge file into the webroot and NgINX will automatically serve it. This allows certbot to do its thing without needing to do anything with NgINX.
by ramesh31 | 2025-05-23 13:39:20+00:00
What has he shipped in the last 20 years? Oculus is one thing, but that was firmly within his wheelhouse of graphics optimization. Abrash and co. handled the hardware side of things.

Carmack is a genius no doubt. But genius is the result of intense focused practice above and beyond anyone else in a particular area. Trying to extend that to other domains has been the downfall of so many others like him.
Show HN: Samchika – A Java Library for Fast, Multithreaded File Processing
by mprataps | 2025-05-23 13:39:26+00:00
Hi HN, I built a Java library called SmartFileProcessor to make high-performance, multi-threaded file processing simpler and more maintainable.

Most Java file processing solutions either involve a lot of boilerplate or don’t handle concurrency, backpressure, or metrics well out of the box. I needed something fast, clean, and production-friendly — so I built this.

Key features:

Multi-threaded line/batch processing using a configurable thread pool

Producer/consumer model with built-in backpressure

Buffered, asynchronous writing with optional auto-flush

Live metrics: memory usage, throughput, thread times, queue stats

Simple builder API — minimal setup to get going

Output metrics to JSON, CSV, or human-readable format

Use cases:

Large CSV or log file parsing

ETL pre-processing

Line-by-line filtering and transformation

Batch preparation before ingestion

I’d really appreciate your feedback — feature ideas, performance improvements, critiques, or whether this solves a real problem for others. Thanks for checking it out!
by rtpg | 2025-05-23 13:39:45+00:00
Catan, like Monopoly (or I guess Cricket and Baseball) has am awkward interminable nature to it, especially at high player counts

Long trading discussions are one component of this. The pure randomness of dice meaning that the internal economy can be all messed up for a while also plays into this

There are games with more consistent runtimes that also don’t get bogged down by people with a high chatter:play ratio.

I like hanging out with people to play games but Catan is in that category of game where just one overly annoying person can just make a session totally suck.

I’d rather play something like Carcassonne or some other modern games that involve competition and territorial management like El Grande where I at least have an idea of how long it’ll take.
by mystified5016 | 2025-05-23 13:39:53+00:00
That kind of depends. The biggest factor is nitrogen fertilizer. Without the Haber-Bosch process, there is just simply not enough nutrients in all available soil to grow nearly enough crops.

But that process was invented in 1900 and doesn't require any remotely advanced technology. The ancient Romans could have pulled it off with the technology at the time, though probably at much smaller scale.

I guess it depends on whether you want to consider chemistry a technology. The chemistry to turn atmospheric nitrogen into ammonia has obviously always been there, we just didn't discover it until recently. If you told an ancient alchemist how to combine the ingredients under pressure, they could produce fertilizer from air, iron, and acid. Is that knowledge a type of technology?
by joshstrange | 2025-05-23 13:40:06+00:00
> The real management failure is taking a problem and assigning it to someone who has no interest in solving it. There's plenty of people interested in working on these kinds of things.

If you think there is always someone willing _and_ available to work on any given problem then... well I don't even know. Maybe I've only worked at smaller companies but that's never been my experience.

I manage (as well as code) but one thing I think more people need to understand: This is a _job_ and at the end of the day I really don't care if X task is something you don't want to do. I will do my best to match people with tasks, even adjusting timeline out further to accommodate people's tastes but there are somethings that just have to get done and the bad attitudes I've seen or had directed at me when this happens is a bit shocking. If you want to only work on things you want to work then work for yourself or find a company more aligned to your preferences (good luck finding one that only does what you want).

I understand why people in and out of the industry see developers as childish (I was/am part of the problem, no doubt).

> Why waste this guy's time.

I feel like I need a megaphone: Employees don't get to decide what is or isn't a "waste of time". Or rather, they can voice their dissent but once a decision is made you are _literally_ being paid to do what you are asked. If you don't like that then look for another job. I'm not trying to be a jerk or pretend job-switching is easy, but I've dealt with high-paying developers who whine (yes, whine) when you ask them to _do their job_ and it's infuriating. Before I started managing people I would regularly go to the mat over decisions but once I had said my piece and a decision was made I'd go along with it, I'd done my job (voice concern) and past that it's out of my hand and not my responsibility if it doesn't pan out. Every combination of being right/wrong about the final outcome and being the right/wrong side of the decision has happened to me, you do the best with the info you have and you deal with the fallout.
by detectivestory | 2025-05-23 13:40:06+00:00
Getting your first few views on youtube can be pretty tough at the best of times. That's why I created this site for highlighting new music (mainly acoustic covers and originals) posted each day. Users can rate songs they like, and there is a weekly chart section to highlight the favourites. There are still a lot of features to add, but it does the basics for now. thanks for reading. the site is: https://nwtb.eu/?views=10&sort=date
by Kon-Peki | 2025-05-23 13:40:41+00:00
> Again, it was a plurality of Americans, not a majority, who voted for Trump. And, again, polls increasingly show a majority of Americans disapproving of what Trump is doing.

People who are eligible to vote but do not are giving an implicit vote in favor of whoever wins. There is no sense in thinking of it an any other way. (As an aside, you can also think of them as cowards who are unwilling to take a stand and choose the least bad option. Something all adults do on a regular basis).

So sure, if you count children and felons it may not be an absolute majority. On the other hand, you’re assuming that they would have voted for the person you voted for had they had that chance.
by palmotea | 2025-05-23 13:40:43+00:00
> A plurality of Americans voted for Trump, but not all of even that percentage actually support or desire what is happening now.

> Most Americans are not in favor of this, so saying that "America is doing this to itself" rather than "this is happening to America" feels like it ignores all those people who very much do not want this.

But it's cathartic for Trump's political opponents to blame Americans, so they do so. IIRC, they're still less popular than Trump.

They felt entitled to win since they think he is bad. Instead of blaming others they really need to spend their time figuring out why they lost to someone so flawed, and make the difficult (including ideological) changes to fix their electoral issues. Especially since last time they seemed to genuinely believe he was dangerous, but refused to pull their heads out of their asses to respond to that danger.
by Tainnor | 2025-05-23 13:41:39+00:00
As much as I find Haskell elegant for many things, I have to agree. It reminds me of the infamous Haskell "quicksort" which isn't actually quicksort because it's not in place.

I think not every piece of code needs to be hyper-optimised and in those cases, higher-level (declarative) languages where you don't specify every detail of the algorithm can give rise to very elegant code. But writing very performant Haskell code is a bit trickier.

In the anagram case, there's a straightforward O(n) solution where you count the occurrence of each letter in a hash map for both words and compare those. That can be written in Haskell too, of course, but it's not going to be as short.
by AlotOfReading | 2025-05-23 13:42:03+00:00
The Intel compiler used to (and possibly still does) set the SSE FTZ bit by default, leading to a situation where two different FPUs on the same chip (x87 and SSE) had different FP configs. I was indeed thinking of ARM though. I've come across chips with both VFP and NEON where they're handled differently.

For NaNs, if we're being strict then you don't need to reach that far. Here's one example from LLVM:

https://github.com/llvm/llvm-project/issues/43070)

This can occasionally result in visible bugs, like: https://github.com/rust-lang/rust/issues/110174

You have to be pretty nitpicky to care about this stuff and it's not an issue in practice, but it's a reproducibility violation because it deviates from the standard nonetheless.
by ReverseCold | 2025-05-23 13:42:06+00:00
I don’t understand this article! PC motherboards with 10GbE ports have existed for years in premium offerings? Is this notably cheaper than the current chip they use?

pcpartpicker shows ~89 such boards, with mid-high level pricing: https://pcpartpicker.com/products/motherboard/#c0=2x10000-2x...
by thelamer | 2025-05-23 13:42:31+00:00
This has a bunch of fluff in it, but it boils down to actually responsive, high framerate, web native remote access and isolation that uses unbelievable amounts of CPU.

I have a 5600x on my desktop and pushing a 1440p screen using this protocol is 2% of my CPU vs 15-30% for typical VNC/Jepg solutions and 10% for a normal Gstreamer stream. I see the same results on cloud instances and in most cases this is the only thing that would even run on lower tier free instances.

Obviously Nvidia is still on top, but this is giving them a run for their money in pure CPU while being web native by default. All I really want right now is for people to actually run it and see it, synthetic benchmarks mean nothing which is why I am intentionally non specific about benchmarks.

I have been working in the VNC space for some time now and I think this might be a viable replacement with some iteration and to build it right I need like minded people that can help.

I have been witnessing a disturbing trend in remote solution providers adding recording/spy features to their products and I truly believe that if we as the open source community do not make something better this trend will continue.
by _flux | 2025-05-23 13:42:57+00:00
I've found AppImages less universally functioning, though. Some segfault on start or have some other weird problems later, while presumably they work great on the author's system.

They seem to work on my current systems, though, and I use a few, but flatpak has always worked on any system, and I expect it has higher chance of working as it delivers more of the system.
by colinta | 2025-05-23 13:44:01+00:00
I was one of the Ello devs (mobile, then web, then backend, then all of it).

My guess is that you'll have some diehard fans early on - Ello did, and they stayed to the end (thanks!) and they'll bemoan every single change - just roll with it, trust yourself but also listen to them.

If you get some success you will have a spammer problem (esp porn), but if you limit (better: don't have) public feeds maybe you can avoid the worst of this. Mutual follow makes sense as a way to limit the blast radius of bad actors, but then people will get spammed by friend requests. It SUCKS. Maybe you punish accounts that blast lots of requests but get very few follows back. We did something like this.

Actually one idea that I think would work well: once you have a "this is a spam account" determination, hide those spam accounts from real users, but let them engage with other spam accounts. This will cost you some compute time, but it will give them the feeling that they are being successful without distracting users.

Good luck!
by franktankbank | 2025-05-23 13:44:11+00:00
Huh, somehow disagreeing with me has softened your claim of "infinity". Yes it still goes up but you think that goes on forever? I just don't see it, more and more tech appears as complexity introduced for its own sake not for any sort of service to the end user. Why is that? Building moats around companies, building moats around your own job, none of that serves the end user. Eventually someone comes along to eat your ossified asses lunch. Eventually people check out from the digital world whether through sheer genetics or finally waking up to the blight.
by exhilaration | 2025-05-23 13:44:16+00:00
or god forbid that swill they call la choy

An interesting note: La Choy is synthetically fermented (whatever what means!) and is usually the only alcohol-free option for those with medical or religious restrictions on the consumption of alcohol. Soy sauce is specifically listed as something recovering alcoholics taking Antabuse should avoid [1], though I've read it only rarely triggers any reaction. But there is a sometimes a reason for La Choy!

[1] https://advantagetherapy.com.au/the-impact-of-antabuse-on-al...
by binarymax | 2025-05-23 13:44:39+00:00
Really nice work. I appreciate the example with JSDOM as that’s exactly how I use readability, and this looks like a nice drop-in replacement.

Question: How did you validate this? You say it works better than readability but I don’t see any tests or datasets in the repo to evaluate accuracy or coverage. Would it be possible to share that as well?
by tialaramex | 2025-05-23 13:44:50+00:00
> Did browsers ever strictly require a SAN;

Yes, all the popular browsers require this.

> they certainly didn't even as of ~10 years ago?

That's true, ten years ago it was likely that if a browser required this they would see unacceptably high failure rates because CAs were non-compliant and enforcement wasn't good enough. Issuing certs which would fail PKIX was prohibited, but so is speeding and yet people do that every day. CT improved our ability to inspect what was being issued and monitor fixes.

> Yes, it is "required", but CN only has worked for quite some time.

No trusted CA will issue "CN only" for many years now, if you could obtain such a certificate you'd find it won't work in any popular browser either. You can read the Chromium or Mozilla source and there just isn't any code to look in CN, the browser just parses the SANs.

> I find this tricks up some IT admins who are still used to only supplying a CN and don't know what a SAN is.

In most cases this is a sign you're using something crap like openssl's command line to make CSRs, and so you're probably expending a lot of effort filling out values which will be ignored by the CA and yet not offered parameters you did need.
by _flux | 2025-05-23 13:45:16+00:00
I believe it doesn't work for me to open a directory of HTML files in Firefox: it just opens one file, and that's it, so style sheets and links are missed.

I've worked around by running a local web server for that content, but I'd rather if it just worked. The problem is also in some apps that open web browser for their documentation by invoking them directly.
by hansvm | 2025-05-23 13:45:23+00:00
4. No math libraries, even if their results aren't used in the deterministic path you care about (e.g., floating-point rounding mode bugs)

5. All floating-point optimizations must be hand-rolled. That's implied by (2) and "toolchain cooperates", but it's worth calling out explicitly. Consider, e.g., summing a few thousand floats. On many modern computers, a near-optimal solution is having four vector accumulators, skipping in chunks four vectors wide, adding to each accumulator, adding the accumulators at the end, and then horizontally adding the result (handling any non-length-aligned straggling elements left as an exercise for the reader, and optimal behavior for those varies wildly). However, this has different results depending on whether you use SSE, AVX, or AVX512 if you want to use the hardware to its full potential. You need to make a choice (usually a bias toward wider vector types is better than smaller types, especially on AMD chips, but this is problem-specific), and whichever choice you make you can't let the compiler reorder it.
by bluGill | 2025-05-23 13:45:38+00:00
Flatpack also ain't it either. Sure flatpack solves a few issues, but it introduces others and so the problem isn't solve. Maybe it will be eventually (though the lack of maintenance implies it won't be), but today it isn't solve.

I found ports works very well myself - everything kept up to date with upstream, and they take care to rebuild everything all the time so you rarely run into library ABI issues.
by joshstrange | 2025-05-23 13:46:29+00:00
Bold to post this under, what I assume is, their real name?

This really reads as "I was asked to do something _I personally_ deemed beneath me or a waste of time so I just didn't do and provided BS instead, aren't I smart?".

No, no you aren't. You are incredibly selfish. If and when that DR is needed and the team realizes it's BS will you still be as proud as you are in this post?

I can tell you that if I was your coworker I'd probably drop a link to this post in your manager's inbox. I cannot stand people who just don't care and setup landmines for their coworkers because "they know best" and decide to do something different than what was asked for. It's the same as using AI slop in a PR but not/never being on call, it's not your problem so why do you care if the system goes down?

If I pulled out a DR plan in the middle of a crisis and found it was AI generated BS I'd be furious and after the head of whoever half-assed (zero-assed?) it. It's just so incredibly disrespectful.