MurphyA/hacker-news huggingface dataset:
by Ferret7446 | 2025-06-27 09:26:08+00:00
Why not? If high quality original content is valuable, then people will pay for it. If no one will pay for it, then is it really valuable?

And in any case, your hypothesis is disproved by the existence of free software, to say nothing of amateurs [1] in all fields. Clearly, people are willing to make valuable things without monetary incentive.

[1]: a person who engages in a pursuit on an unpaid rather than a professional basis.
Lufin – let's upload that file–next – a next generation LUFI E2EE filesharing
by hloth | 2025-06-27 09:26:12+00:00
https://github.com/VityaSchel/lufin I've been working on this filesharing for several months on freelance and then they started harassing me, one year later I cleaned up the source code, improved security and published it. Also comes with the simple but handy screenshotter firefox extension that supports partial scrollable screenshots (haven't seen any extension that supports screenshotting area of the page, not the entire page, with scrolling).
by badmintonbaseba | 2025-06-27 09:26:23+00:00
It's partly by the type system. You can implement a std::sort (or slice::sort()) that just delegates to qsort or a qsort-like implementation and have roughly the same compile time performance as just using qsort straight.

But not having to is a win, as the monomorphised sorts are just much faster at runtime than having to do an indirect call for each comparison.
by WickyNilliams | 2025-06-27 09:29:58+00:00
Doesn't your proposal implicitly introduce the concept of a virtual DOM, which the browser does not have?

You'd need to spec out what that looks like. It adds one new API from the users perspective but much more from the browsers perspective.

Additionally the next generation of Frameworks do not use virtual DOM. Solid and svelte do not. Vue is moving away from it. Signals are directionally where they're all heading.
by saagarjha | 2025-06-27 09:30:34+00:00
> The “Peak Compute” roof of 19.5 TFLOPS is an ideal, achievable only with highly optimized instructions like Tensor Core matrix multiplications and high enough power limits.

As mentioned below, 19.5 TFLOPS is the FP32 compute roofline, which doesn't support Tensor Cores. If you want to use those you need to use FP16 and you can get substantially improved performance.
by varispeed | 2025-06-27 09:30:37+00:00
Because destabilising NATO by framing it as an unfair burden is the Russian objective. You think yelling at allies to pay up, threatening to leave NATO, and undermining trust serves Western unity? Putin doesn't need puppets who wave a Russian flag - he needs chaos agents who erode alliances under the guise of tough love. Congrats on falling for the 'if he criticises Europe, he must be pro-America' bait. Textbook.
by ozim | 2025-06-27 09:30:46+00:00
AJAX and updating DOM wasn't there just to "make things faster" it was implemented there to change paradigm of "web sites" or "web documents" — because web was for displaying documents. Full page reload makes sense if you are working in a document paradigm.

It works well here on HN for example as it is quite simple.

There are a lot of other examples where people most likely should do a simple website instead of using JS framework.

But "we could all go back to full page reloads" is not true, as there really are proper "web applications" out there for which full page reloads would be a terrible UX.

To summarize there are:

"websites", "web documents", "web forms" that mostly could get away with full page reloads

"web applications" that need complex stuff presented and manipulated while full page reload would not be a good solution
by jamager | 2025-06-27 09:31:44+00:00
> nor is there ever going to be a 100% freedom-from-error

That is not a problem. Language is messy, you don't need 100% accuracy to learn. The problem is that LLM errors are fundamentally different from human errors, and you won't even know how to recognize them.

Your interlocutors can work around human errors, because they tend to follow the same patterns in same language. But they will freak out with LLM errors.
by JdeBP | 2025-06-27 09:32:45+00:00
No. Kea is making several of the same mistakes all over again, despite being in a good position to have learned from them.

It yet again runs as the superuser serving requests from potentially hostile clients. In fairness, a lot of DHCP servers do this; but Kea development was in a position to have learned the ideas about using unprivileged dæmons, having started years later than them. Instead, its documented approach to running as some other account is to add some of the superuser's privileges to Kea, completely missing the point of running large complex programs without privileges, which was a major long-standing criticism of BIND and Sendmail that didn't just come from Daniel J. Bernstein.

* https://kea.readthedocs.io/en/latest/arm/install.html#runnin...

It's interesting that systemd is mentioned there, because a socket unit would have had systemd doing the privileged opening of the sockets with low-numbered UDP ports, and the dropping of privileges, before starting up Kea. But Kea (again, like many of the pre-systemd DHCP servers like the WIDE one or the BusyBox one) opens and listens on sockets itself, and has no attempt at enabling use of systemd's mechanism in this regard.

There is still the old flawed mechanism of PID files liberally sprinkled around, too.

* https://github.com/isc-projects/kea/blob/048b1e9b1acbb0ff962...

And of course, Kea took some of the BIND 10 code. There is a lot of continuation of long standing BIND Think in Kea, alas.

There's so much promise to the idea of having DHCP servers use shared database back-ends, but it's spoiled by all of the continued BIND Think and things like having an HTTP server with JSON parser in all of these superuser-privileged dæmons. One of these days, someone will actually run with the idea that I mentioned somewhen in the early 2000s: a DHCP server that shared a common database with a content DNS server. No notification messages for mapping updates, no little shim dæmons, just serving out the information in the shared database directly, complete with (say) TTLs that match the lease expiry times.

People have danced around this idea for a long time, but never quite fully hit it. PowerDNS can use custom database back ends, for example, but people still have not fully run with that and instead ended up with a DHCP server with a database sending potentially dropped notifications over a terrible protocol to a content DNS server also with its own separate database back end.

* http://tuxad.com/txdyn-doc.html

* https://holland-consulting.net/tech/dhcp-dns.html

* https://github.com/AliveDevil/pdns-dhcp

* https://gitlab.isc.org/isc-projects/kea/-/issues/1409

Microsoft Windows Server's DNS server with AD integration perhaps came the closest, but even with that the out-of-the-box setup had things like DHCP clients sending (some of) the update notifications.
by gpderetta | 2025-06-27 09:33:21+00:00
Even if the prefetcher was capable of traversing pointers, it wouldn't help. The hypothetical benchmark wouldn't do anything other chasing pointers, and the prefetcher can't really do that any quicker. A traversing prefetcher is useful if the code actually does work for each traversed node, then the prefetcher (or the OoO machinery) could realistically run ahead.
by fuhsnn | 2025-06-27 09:33:39+00:00
The recent #def #enddef proposal[1] would eliminate the need for backslashes to define readable macros, making this pattern much more pleasant, finger crossed for its inclusion in C2Y!

[1] https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3531.txt
by Arathorn | 2025-06-27 09:34:27+00:00
Right - this matches my hunch; that folks want to define groups of users (which you can already in Matrix in 'spaces', but the UX in most clients is awful) - and what they really want is group-based permissions (which isn't part of the protocol, and instead gets layered on at the application layer today.

So the problem here isn't that folks want contradictory access levels (e.g. Admins can kick people but can't set topic, but Mods can kick people but can't set topic) but the ability to set them via group?
by bilekas | 2025-06-27 09:35:30+00:00
> What do you mean "for europe"? Many European NATO members are buying stealth F-35s because for them stealth is a priority.

Europe doesn't prioritize stealth because Europe uses it's airforce primarily as response and defense. Being able to take down targets long before ever noticed is not in Europe's playbook right now, when it becomes required, that's where NATO comes in.

Individual countries buying is their own thing.

> The entry of FCAS into service is expected in 2040 lmao, definitely not "at present" like OP said.

Yes, these things take time..

Point is the Eurofighter's fill a role, to enrich all the ariforces. It's not a competition between the USAF and European, we collaborate, unless we're in another war, these days who knows.

> No. Of course not.

I think if Ukraine has showed anything, it's that definite assertions like that are risky.
by Nursie | 2025-06-27 09:35:31+00:00
Trident carries UK-manufactured warheads and is allegedly independent, even though it does rely on US ballistic missiles to carry them. Wikipedia says -

"The British government insists the warhead is indigenously designed, but analysts including Hans M. Kristensen with the Federation of American Scientists believe that it is largely based on the US W76 design"

There appears to be a new design in the works at the moment called "Astraea"
by dspillett | 2025-06-27 09:35:32+00:00
jQuery, along with a number of similar attempts and more single-item-focused polyfills¹ was as much about DOM inconsistencies as JS ones. It was also about making dealing with the DOM more convenient² even where it was already consistent between commonly used browsers.

DOM manipulation of that sort is JS dependent, of course, but I think considering language features and the environment, like the DOM, to be separate-but-related concerns is valid. There were less kitchen-sink-y libraries that only concentrated on language features or specific DOM features. Some may even consider a few parts in a third section: the standard library, though that feature set might be rather small (not much more than the XMLHTTPRequest replacement/wrappers?) to consider its own thing.

> For stuff which didn't need JS at all, there also shouldn't be much need for JQuery.

That much is mostly true, as it by default didn't do anything to change non-scripted pages. Some polyfills for static HTML (for features that were inconsistent, or missing entirely in, usually, old-IE) were implemented as jQuery plugins though.

--------

[1] Though I don't think they were called that back then, the term coming later IIRC.

[2] Method chaining³, better built-in searching and filtering functions⁴, and so forth.

[3] This divides opinions a bit though was generally popular, some other libraries did the same, others tried different approaches.

[4] Which we ended up coding repeatedly in slightly different ways when needed otherwise.
by scotty79 | 2025-06-27 09:35:42+00:00
Long time ago somebody wanted to put a searchable directory of products on a CD. It was maybe 100MB. There was no sqlite back then and the best browser you could count on your client having was probably IE 5.5

JS was waay too slow, but it turned out that even back then XSLT was blazing fast. So I basically generated XML with all the data, wrote a simple XSLT with one clever XPath that generated search input form, did the search and displayed the results, slapped the xml file in CD auto-run and called it a day. It was finding results in a second or less. One of my best hacks ever.

Since then I always wanted to make a html templating system that compiles to XSLT and does the HTML generation on client side. I wrote some, but back then Firefox didn't support displaying XML+XSLT directly and the workaround I came up with I didn't like. Then the AJAX came and then JS got faster and client side rendering with JS became viable. But I still think it's a good idea, to send just dynamic XMLs with static XSLTs preloaded and cached, if we ever want to come back to purely server driven request-response flow. Especially if binary format for XML catches on.

https://en.wikipedia.org/wiki/Efficient_XML_Interchange
by WJW | 2025-06-27 09:36:02+00:00
I don't think that's true, at least it wasn't conceptually radical. People have noticed the cost of "throwing away" the lower stages for ages, and many approaches have been thought of how not to do that. Take the (partly) renewable SSRBs of the space shuttle program for example, which came down by parachute. Landing a rocket on its tail is also quite an old idea. NASA had several demonstrators demonstrating the concept in flight.

SpaceX took a lot of ideas which had been individually proven before, and then put in the work to perfect them and integrate them in a production ready spacecraft. That is important work and good engineering, but not radical. An aerospike had literally never been flown to orbit at that time (I think still not), so it would have been a way worse fit for the SpaceX method of developing the Falcon 9.
by aitchnyu | 2025-06-27 09:36:25+00:00
In the 2003 The Art of Unix Programming, the author advocated bespoke text formats and writing parsers for them. Writing xml by hand is his list of war crimes. Since then syntax highlighting and autocomplete and autoformatting narrowed the effort gap and tolerant parsers (browsers being the main example) got a bad rap. Would Markdown and Yaml exist with modern editors?
by bob1029 | 2025-06-27 09:37:29+00:00
Putting semiconductors in front of a 3+ ton heat pump when you live in a rural area is guaranteed bad times.

Not only can you not find many people who have parts or knowledge on hand, but you also have to deal with the fragility of the system. A single stage compressor is very robust to electrical transients. These units can take direct lightning strikes and continue to function normally. Worst case, you replace a contactor, capacitor and some wire. Every hvac tech on earth has these things in their truck right now.

Efficiency and gently ramping loads are nice, but these things don't matter so much if the system is going to have maintenance issues.
by BoxOfRain | 2025-06-27 09:38:31+00:00
Yeah as a British person if anything I think the French had the right idea and we need to be moving away from dependence on American SLBMs in favour of a fully indigenous programme.

I find the idea that our nuclear deterrent depends on American missiles we can't produce ourselves concerning with isolationism being a recurring factor with American politics, sure Trump doesn't seem to particularly dislike us but Vance clearly sees us with open contempt given his comments about our forces. We're far too geographically close to Russia for us to depend on anyone but ourselves in my opinion.
by arkh | 2025-06-27 09:38:34+00:00
> native JS `XMLHttpRequest` was only available from IE 7 onwards, before that it was some ActiveX thing.

Almost sure it was available on IE6. But even if not, you could emulate it using hidden iframes to call pages which embedded some javascript interacting with the main page. I still have fond memories of using mootools for lightweight nice animations and less fond ones of dojo.
by hackrmn | 2025-06-27 09:39:24+00:00
I disagree on the general principle of adding APIs -- the platform suffers not from lack of APIs, when you really think about it, but from "another API to rule them all". It's frankly a similar fallacy that struck Microsoft where they were for a long time stuck having to support every API their seniors and interns ever invented -- none of which seem to be sufficient, apparently.

The solution to the "bro, just one more API, please" is to design a _transparent_ platform that is well able to "delegate" programming of new features (e.g. one implementing your favourite templating API) to third-parties in a manner that maintains their "first class citizen" status. WebAssembly was a move in that direction because it's a generic platform that in part supercedes and otherwise supplants the mess that JavaScript has to manage bridging the originally "kiddie script" application software domain, with the native functionality the browser may be encapsulating (also for performance).

Case in point: FFMpeg may be compiled to a WebAssembly module, which gives you arbitrary video/audio encoding/decoding -- pending correct design of bit-blitting so the decoded output can be efficiently transferred to the screen/speakers (which, for much of the reasons I am trying to outline, _is_ the bottleneck of the entire solution).

We need more of the same kind of thinking. Stop begging Web browser vendors / w3C / WHATWG for more features that are just lipstick on a pig -- sit down, think about what kind of feature(s) would allow the Web platform to finally escape the death spiral it's been in since its inception -- albeit one with a large enough radius it's meant to never actually resemble a spiral.

I don't know if I am making myself clear here, but in much simpler terms: why should there be another piece of code that caters to "most" (because you happen to be a FP/React zealot, for better or for worse) when these people can ostensibly write such templating system themselves, publish it on e.g. NPM and/or pull it and use it from there?
by animal531 | 2025-06-27 09:39:29+00:00
Hah gentle, my vision distance also started degrading slowly but I had no issues otherwise. Text etc. was a bit blurrier but I could still read everything fine, except when it was too close to my eyes.

Then one day I pretty much hit a brick wall and went from 0 to 100% eye strain in about 2-3 days. Now I need constant eye drops, a humidifier, breaks every 20 minutes, time spent doing other things etc. to just be able to do what I did before.
by nolok | 2025-06-27 09:40:02+00:00
It's generally speaking part of the problem with the entire "XML as a savior" mindset of that earlier era and a big reason of why we left them, doesn't matter if XSLT or SOAP or even XHTML in a way ... Those were defined as machine language meant for machine talking to machine, and invariably something go south and it's not really made for us to intervene in the middle; it can be done but it's way more work than it should be; especially since they clearly never based it on the idea that those machine will sometime speak "wrong", or a different "dialect".

It looks great, then you design your stuff and it goes great, then you deploy to the real world and everything catches on fire instantly and everytime you stop one another one starts.
by thephyber | 2025-06-27 09:41:30+00:00
“Self reliance” in military terms is overrated because it means redundancy which increases costs and sourcing everything domestically means missing out on comparative advantage of different countries). The UK doesn’t have nearly enough colonies to source materials anymore.

The US already created 3 variants of a 6th gen fighter available to all of NATO and some other countries. AFAIK, the UK hasn’t even built a 4th generation fighter, something EuroFighter, Dassault, and Saab have done (in Europe) and the US has done 4 times over (later variants of F-15, F-16, F-18, and all F-22s).
Show HN: Prostir – A calm productivity app to plan without burnout
by skreep | 2025-06-27 09:41:34+00:00
Hi HN,

I’ve been working on Prostir, a simple productivity app that helps you plan your day, capture thoughts, and build habits — without feeling overwhelmed.

The idea came from personal frustration: most tools either try to do everything or feel too rigid. I wanted something calmer — a space to think, not just check things off. So I built Prostir using Swift + SwiftUI, with focus on speed, minimalism, and offline support.

I’ve been building Prostir, a mindful productivity app that helps you organize your day, jot down thoughts, and build healthy habits — without getting overwhelmed.

It’s already available on the App Store and has gone through a few iterations based on early feedback. The goal has always been the same: to create a calm and simple space for planning, especially for people who find traditional task managers too rigid or stressful.

Prostir is free to try, and if anyone here wants to explore the premium features, I made a promo code specifically for the HN community: Use promo code in appstore: "HACKERNEWS" Prostir: https://apps.apple.com/us/app/daily-planner-prostir/id653569...

Would really appreciate your thoughts or impressions. Always learning from how others approach building focused, human-friendly apps.

Would love your feedback or ideas — especially if you’ve built something similar or tried calming productivity tools before.

Thanks for checking it out!
by modo_mario | 2025-06-27 09:41:40+00:00
Can it not recreate a book?

I kind of assumed I could ask it for verses from the bible one by one till i have the full book?

When i ask chatgpt for a specific page or so from HP I get the impression that the model would be perfectly capable of doing so but is hindred by extra work openAI put in to prevent the answer specifically because of copyright. In which case the question: What if someone manages to do some prompt trickery again to get past it? Are they then responsible?
by cb321 | 2025-06-27 09:42:01+00:00
All true. No real disagreement and I'm often saying "it all depends.." myself. :-) In this case, there is also some vagueness around "random" (predictable to what subsystem when).

I still suspect @kortilla is one of today's lucky 10,000 (https://xkcd.com/1053/) or just read/replied too quickly. :-)

There is a lot written that indicates that the complexity of modern CPUs is ill-disseminated. But there is also wonderful stuff like https://gamozolabs.github.io/metrology/2019/08/19/sushi_roll... { To add a couple links to underwrite my reply in full agreeance. :-) }
by paganel | 2025-06-27 09:42:12+00:00
Which, implicitly, also means that the State now has the right to "give" the copy-right to one's own features. Which, implicitly, also means that now the same State has the right to "get back" / retrieve the copy-right to one's own features, after all it was the State that gave it away in the first place. Absolute bleak world.
by throwaway_434 | 2025-06-27 09:42:38+00:00
> For one year. 14 other countries sanctioned India too.

And what about it? When US sanctions any country, rest of the World follows. It is nothing new.

> I couldn't find anything on this besides articles on Indian/Bangladeshi InfoWars-tier websites.

Just google "Daniel Stephen Courney" [1]. Ex-US military. Supplying weapons and drones to Kuki narco-terrorists. It is a CIA op. We have seized US weapons in Manipur. US weapons don't magically reach far-flung Eastern region of India if not for external assistance.

Also, how does US made M16 rifle find its way into Manipur, India? [2]

1: https://www.indiatoday.in/india/story/us-man-gifted-drone-ma...

2: https://english.mathrubhumi.com/news/india/large-cache-of-ar...

> Like what?

I don't have patience to give you the list of things US has done that is viewed negatively against India. The topmost being trying to nuke India in 1971, when US allied itself with Islamic dictatorship in Pakistan.
by conjecTech | 2025-06-27 09:42:59+00:00
It's a very simple change in a vanilla python implementation. The encoder is a set of attention blocks, and the length of the attention can be changed without changing the calculation at all.

Here(https://github.com/openai/whisper/blob/main/whisper/model.py...) is the relevant code in the whisper repo. You'd just need to change the for loop to an enumerate and subsample the context along its length at the point you want. I believe it would be:

for i, block in enumerate(self.blocks): x = block(x) if i==4: x = x[,,::2]