MurphyA/hacker-news huggingface dataset:
by gudzpoz | 2025-05-11 19:19:07+00:00
Personally, and contrary to the article, I do prefer Emacs's plain text widgets over more "GUI-like" ones. Plain text widgets minimize the differences between TUI and GUI Emacs and also inherently offer text selection, searching, copying, and pasting, which nicely integrates with Emacs. I mean, not many GUI frameworks let you place a cursor within a button and select its text, do they? I believe this is a unique advantage of text-based widgets: while other GUI applications require a dedicated mechanism for searching through their settings, text-based widgets allow you to use any text-searching packages to perform these actions.

Reading through the article, the author seems to be hoping for a pure GUI approach with Emacs-like navigation mechanisms, but I am not convinced that this can be as flexible as text-based widgets. However, for packages used exclusively within a GUI environment (like el-easydraw [1], which relies quite heavily on SVG-based widgets), it would be nice to have a dedicated GUI widget library.

(There was a discussion on Reddit about this a week ago [2], and I saw some comments defending GTK and PGTK that might be worth reading.)

[1] https://github.com/misohena/el-easydraw/

[2] https://www.reddit.com/r/emacs/comments/1kcgwme/the_emacs_wi...
by nathan_compton | 2025-05-11 19:20:00+00:00
Oh I don't know, the one that predicts the numbers correctly in a simple, transparent way everyone can apply, especially when compared to the ramblings of a weirdo trying to sell something?

If you can find the place on this website where he demonstrates the calculation that gives the energy levels of the hydrogen atom or the band gap of a metal, please show me.
by apical_dendrite | 2025-05-11 19:20:30+00:00
If you were going to put a value on an infant's life for purposes of, say, settling a lawsuit, $10 million wouldn't be unreasonable. Think of that infant's earnings over their entire life, plus the loss to the parents. So the program would only need to save one or a handful of infant lives a year to be worth the cost, at least from an actuarial perspective. Eliminating the program is incredibly wasteful.
by TonyTrapp | 2025-05-11 19:21:02+00:00
Regarding your edit: the CRT is responsible for headers such as time.h and string.h, which you can find being used in todo.h. Their implementations are not provided by the operating system but by the C runtime typically supplied by the compiler (mingw in this particular case). Other headers such as windows.h belong to the WinAPI, and result in functions being imported from OS libraries such as user32.dll. They are obviously not linked statically into the program.
by broken_broken_ | 2025-05-11 19:21:19+00:00
I have done something similar for Linux under 2 KiB in assembly some time ago: https://gaultier.github.io/blog/x11_x64.html

As others have said, doing so in pure C and linking dynamically, you can easily remain under 20 KiB, at least on Linux, but Windows should be even simpler since it ships with much more out of the box as part of the OS.

In any event, I salute the effort! You can try the linking options I mentioned at the end of my article, it should help getting the size down.
by trinix912 | 2025-05-11 19:21:29+00:00
> Use std::string and std::array or std::list /.../

While nothing is modern about this approach, if we're going the WINAPI route, there's very little to be gained by using std::string instead of the LPWSTR that WINAPI offers (and plays nicely with). I would definitely avoid plain C strings (char[]) but rather use the wide version (which is what LPWSTR is under the hood). But for std::array or std::list, I don't see how the codebase would vastly benefit from them.
by braza | 2025-05-11 19:21:57+00:00
If there’s one place in the internet that people can be sincere, probably it will be here in a YC Combinator forum.

Said that… There’s a lot of interesting perspectives:

From YC: it’s a logical and quite unique business decision. YC can capitalize on a very weak moment of a gigantic moment from government support and general public sentiment.

At the end we’re in an all knives out and YC is taking the opportunistic route because it has economic interest in the Google break down.

From Google: I think we can think that the era of “cool monopoly” is officially over and Microsoft was right all the time. Be boring, be ruthless, be the only one. No amount of public good press for more than 1 decade will save your nice monopoly to fall from grace.

From the USA: will be interesting to see if the administration will celebrate it, since Google whether we like it or not, is one instrument I of soft power and influence of the American interest around the work. How the tradeoff of limit its reach due new foreign players or how pulverised market will help their policies its something to wait and see.

Form a personal perspective: as a consumer, and future candidate for a YC founding company I think have Google broke down to have 50 new SaaS selling their services for 9,99 per month, won’t be a net benefit.

Being completely honest: I prefer that the Google shareholders thar contains big billionaires and pension funds tied with retirements plus public regulatory and scrutiny it’s a way better alternative than 60 new SaaS tied with all private interests of Paul Graham VC family office or David Sachs/Chammath offices.
by m101 | 2025-05-11 19:22:17+00:00
Can someone please describe what the exact monopoly position is that Google have and how they defend it?

I take it it's some sort of ads marketplace where they charge a fee to connect buyers with sellers?

But why are things like chrome and payments to companies for default search engine placement considered monopolistic?

It is increasingly sounding like a witch-hunt given the list of accusations I've heard.
by Arnavion | 2025-05-11 19:22:40+00:00
And in fact is not even something that Rust does differently from C++. Memory releases in Rust are handled by dtors just like they are in C++. What a weird article.

(The only difference is that Rust defaults to moving while C++ defaults to copying, and Rust moves don't leave a moved-out object behind while C++ does, so the dtors in Rust are simpler and called fewer times than the equivalent C++ code.)
by missinglugnut | 2025-05-11 19:23:25+00:00
Often when we make guesses about other people, we reveal more about ourselves than the other person.

"She said the man looked like the type who didn't treat women that well"

Maybe she was right about this man, maybe she was wrong, but in either case that judgement came about because he reminded her of someone.

I'll go a step further. She assumed happy couple => boy, and future father seeming strained => girl...that gives me a guess about a difficulty she faced in childhood.

Of course I'm susceptible too. I jumped immediately to the "opposite sex parent had issues" narrative on reading a small anecdote about this woman. Is that the truth, or am I projecting something? Could be both?

Look at how you analyze others and you'll learn a lot about yourself.
by Freak_NL | 2025-05-11 19:24:35+00:00
They are scum, and currently are suffering from increased scrutiny from governments for pushing their buy-now-pay-later exploitative business everywhere. In the Netherlands they are even attempting to gain access to brick-and-mortar stores by partnering with Adyen¹ which provides the payment solutions, but the government is being vocal about that being unwanted. This is in addition to the unabating coverage in the media about how Klarna is about as harmless as vaping — that is, they are enticing young people into buying stuff they don't need² before they can afford it.

Shopkeepers don't want it, but fear they must if big chains start offering it, just as online shops feel like offering it is unavoidable due to the popularity in certain demographics. The financial watchdog doesn't like Klarna, and is increasing scrutiny³.

If Klarna has trouble marketing their value, then that at least is good news, but not unsurprising given the spate of attention it received over the last two years.

1: So much for the ethical side of Adyen (e.g., https://www.adyen.com/impact sounds hollow when you partner with loan sharks).

2: Some people are quick to defend Klarna for offering people a chance to buy their necessities with what amounts to a payday loan, but that is bullshit. Klarna predominantly is not used for daily necessities.

3: Klarna now has to state that they are offering a loan in the Netherlands where they are available as payment option, with the mandatory "borrowing money costs money" tag-line.
by mindslight | 2025-05-11 19:24:38+00:00
"require" implies that law enforcement and/or the courts are overwhelmed, as in the case of sustained open conflict that needs to be first put down and then sorted out later. A demented wanna-be dictator's frustration that it is too hard to disappear people out of civil society does not qualify.

Or are you saying that Trump's policies on this issue are also so incompetent that law enforcement has now become overwhelmed?
by mihaaly | 2025-05-11 19:24:39+00:00
Projecting that "software had to be fully validated and finalized before the product entered production" was the stale old days and "make the car better over time" (i.e. out being driven) is the bright future by the automotive industry is far beyond worry.

Basically sitting inside a Windows that can kill you.

They all lost their minds putting stakes on software makers. I intentionally avoid the word engineering, engineering is far far away what is built up by the software making industry that is now tasked with being the babckbone of vechicles you put your and your family's life into. The cultures are incompatible.

(disregard mission critical software, their engineers are not proud members of the 'do not finalize, fix it later' bunch, not at all, they are nowhere here)
by disambiguation | 2025-05-11 19:25:14+00:00
seems interesting, though i'm not sure I fully understand - its mainly a demo where LLMs generate prolog code for this specific port problem?

I was imagining my idea on a larger scale, 1. using prolog to improve general "reasoning" benchmarks (for ex. these kinds of problems https://www.llm-reasoning-benchmark.com/) and 2. using prolog in the context of an agent, as a way to model its environment and make better plans towards goals.
by evmaki | 2025-05-11 19:25:21+00:00
> AI is nothing but a tool for wealth transfer from what remains in the middle class to the top ultra wealthy.

Is that inherent to the technology, or is that just inherent to the way we've chosen to organize society? Really, any technological paradigm shift going back to the industrial revolution has mainly served to enrich a small few people and families, but that's not some immutable property of technology. Like you say, it's a tool. We've chosen (or allowed) it to be wielded toward one end rather than another. I can smash my neighbor's head in with a hammer, or I can build a home with it.

At one point in the United States, there was political will to update our social structures so that the fruits of technological and economic progress did not go disproportionately to one class of society (think early 20th century trust busting, or the New Deal coming out of the Great Depression). I'm afraid we find ourselves with a similar set of problems, yet the political will to create some other reality beyond further wealth concentration seems to be limited.
by dr_kiszonka | 2025-05-11 19:25:24+00:00
I am trying to get better at signal processing too. Are there any resources that you find particularly useful?

I understand your point about LLMs. Especially those like GPT 4o can lead you astray by not being sufficiently precise, confusing things, and plotting things incorrectly. (I experienced this in the DSP context.) I feel stronger models could be more useful, especially when paired with a good system prompt. I read people set up NotebookLM with their textbooks for studying, but I don't know how reliable it is.
by dmckeon | 2025-05-11 19:26:17+00:00
> paying your dues. Its more about that than aptitude it seems to me.

Yes, paying dues, both in the sense of putting in the time to learn the trade well, and very likely for a good paying career in the trade, paying union dues. People have been doing this since the rise of professional guilds in the middle ages.

Today's kids can show aptitude, capability, and interest by doing well in shop class. An employer can take that interested teen or tween on at an entry level, add to their skill level, and make a profit on their labor. The worker can protect their labor value through a union, and probably should if only for the side benefits apart from negotiating contract labor rates.

Should they just go to college instead? Sure, if they have that interest, and can get out without a student loan debt bigger than some mortgages.
by throwanem | 2025-05-11 19:26:27+00:00
I don't doubt it is more than merely an appetite suppressant; otherwise I'd expect it to show no significant efficacy over lifestyle changes alone in treating and preventing diabetes, and I understand that it does show such efficacy.

I don't know if that matters, or how much, for the obesity application, where appetite suppression seems plausibly the effect of sole or major interest.
by motoboi | 2025-05-11 19:26:28+00:00
The most impact will be achieved on java standard library, like Streams (cited in the article). Right now, although their behavior is well stablished and they are mostly used in the "factory" mode (no user subclassing or implementation of the stream api), they cannot be shipped with the JVM already compiled.

If you can find a way (which this JEP is one way) to make the bulk of the java standard api AOT compiled, then java programs will be faster (much faster).

Also, the JVM is already an engine marvel (java JIT code is fast as hell), but this will make java programs much nimbler.
by MyPasswordSucks | 2025-05-11 19:26:41+00:00
Even the most friction-free ClickOnce deployment is going to be more of a deployment hassle than "hey, users, you know how you go to https://subdomain.local-intranet/place to add or subtract items from the inventory database? Well, continue doing that".

The webapp doesn't care if someone's machine was down overnight or if the paranoid lady in design managed to install some local "antivirus" which blocked the updated rollout or if the manager of sales has some unique setting on his machine which for some inscrutable reason does silly things to the new version. If their web browser works, the inventory database works for them, and they're on the latest version. If their web browser doesn't work, well, your support teams would have had to eventually take care of that anyway.
by istajeer242 | 2025-05-11 19:26:49+00:00
I'm not Indian, nor Pakistani, nor from South Asia.

I just wanted to clarify some points...

* It was Pakistan that shot 3 to 5 Indian jets. Pakistan says three Rafale jets, a MiG-29, and an Su-30, along with one Heron drone. NY Times confirms at least 3. This was a huge win for Pakistan by all military expert accounts. This was all using Chinese technology.

* Trump said today that it was India that went to the US to solve the situation. CNN also reported this.

To me, it was a huge win for China and Pakistan. A US official has also confirmed that, stating they stood by to see what China had.

India isn't innocent either; they meddle a lot with Balochistani separatist groups in Pakistan. This is no hidden secret. These terrorists have killed Chinese engineers.

There has been a lot of false information out there, particularly from Indian media (many accounts said a pilot was also captured, and other cities such as Karachi were hit). It was very alarming to see such blatantly wrong accounts by mainstream Indian media.
by deepsun | 2025-05-11 19:26:55+00:00
> Styling.

The problem I found is that my full-SSR project doesn't use any Node.js at all, and it works fine for everything but CSS, because in order to use includes and variables I need a CSS compiler.

For example, I use a CSS library that defines a very nice style class "alib-link" for all links. I would want to set it for all <a> elements, without adding `class="alib-link"` all the time. It's easy with a CSS-preprocrssor, but how to avoid using one?
by zyntraxis | 2025-05-11 19:28:06+00:00
Great question — and I really appreciate the thoughtful framing.

Yes, Zyn started from the simple frustration of needing 50+ lines of boilerplate just to try a GitHub library. My answer was: for most projects, that level of complexity isn't necessary. So I built a tool that does the common 80% use case in 1% of the effort. One line of config, and you're ready to go.

When is CMake or Conan legitimately appropriate? Absolutely — when you're working with complex multi-platform targets, ABI constraints, custom toolchains, or need deep CI/CD and IDE integration. Those tools are mature and powerful for a reason.

What do you lose by using Zyn today? Mainly fine-grained control: custom build steps, cross-compilation, binary caching, platform-specific configs — Zyn doesn't try to solve all that (yet). It's intentionally minimal.

But here's the key part: We do plan to grow in that direction. Future versions of Zyn will support IDE project generation, CI/CD workflows, cross-compilation setups, and even plugin extensibility. The goal is to keep the simplicity, while expanding capability.

For now, Zyn is a productivity-first tool — and I think there's room for that in the C/C++ ecosystem.
by AStonesThrow | 2025-05-11 19:28:43+00:00
No, it is not.

Emacs may use the term "yank buffer" globally. vim does not: in vim, they are simply called "buffers". There is a command called "yank" because it is bound by default to "y" but this command is not the only way to place text into a buffer.

https://www.oreilly.com/library/view/learning-the-vi/9780596...

In X11, the text goes into the "[Primary] Selection" or the Cut Buffer[s].

https://www.xfree86.org/current/xcutsel.1.html

CUT_BUFFER0 is the default, and obviously there can be more with higher numbers. But when you're pressing the middle mouse button, you're typically pasting the PRIMARY selection. There has never, ever been usage of "yank" in X11 documentation.
by trinix912 | 2025-05-11 19:28:52+00:00
The entire structure is also documented on MSDN with all possible values - https://learn.microsoft.com/en-us/windows/win32/sbscs/applic....

While MSDN is a bit impractical to browse (there's simply so much stuff in there) it's usually the best place to go to for documentation when doing Windows dev.
by kevin_thibedeau | 2025-05-11 19:29:17+00:00
Automotive has the problem of overwrought frameworks and no-code tooling that make it hard to fix problems and make improvements. Once the original devs are burned out or laid off the codebase rots and gets handed off to maintenance devs who barely know how anything works.

I'm waiting for a recall fix for the underpowered Sync 2.5 system to correct a backup camera problem. I'm not looking forward to worsening of all the current bugs with USB audio file playback that cause the UI to hang or not show a fully rendered display.
by tom_ | 2025-05-11 19:29:40+00:00
This only works with the VC++ CRT, which is potentially a bit limiting!

Also, the DEBUG_NEW thing is useless in practice since, from memory, it stops you using placement new, and dependencies typically don't participate, so a zillion unlabeled leaks is the usual result from the common case of you failing to call some dependency's free function.

And the allocation IDs (and therefore _CrtSetBreakAlloc) are pretty worthless in practice for multithreaded programs, because the allocation order isn't deterministic.

I use the LEAK_CHECK_DF flag in the programs I write (and the CHECK_ALWAYS_DF is worth investigating too), but the only point is to indicate whether there are leaks on exit, yes/no. If no, great; if yes, well that's useful information, but the actual output is almost never helpful. (Though occasionally I do somehow introduce a leak from something that happens before the first thread is created.)
by marshray | 2025-05-11 19:29:43+00:00
This seems to be the "Philips Fixables" link: https://www.philips.cz/c-e/fixables

"Our partner, Prusa Research, is based in the Czech Republic, so we are reaching out to its community to join us. We know that 77% of Europeans would prefer a repair to a new product, but the majority end up buying a new one anyway. Especially Czech consumers have a very positive attitude towards repairs and we are happy to support them." (automated translation)

And this seems to present itself as an official place to dowload the (1 for now) model: https://www.printables.com/@Philips
by nineplay | 2025-05-11 19:30:22+00:00
I can't speak for all trades, but in my experience 'owning a company' and 'high quality of life' rarely go hand in hand. Owning a company is hard. It's a 24/7 job where you are managing customers, employees, accounting, etc., and you can hire people to help but ultimately it's on you if someone screws up and orders the wrong cabinets.

I'm happier working for Big Corp in an air-conditioned office.
by somat | 2025-05-11 19:30:44+00:00
Run your own recursive server that directly gets it's data from the authoritative servers.

.... On second thought that is a bad analogy, that is more like running your own search engine. The dns equivalent to yandex would be 77.88.8.8

https://gist.github.com/mutin-sa/5dcbd35ee436eb629db78725810...
by hombre_fatal | 2025-05-11 19:30:44+00:00
I created a new user on my macbook for my girlfriend when her laptop broke, and she could see my files in the “Recent files” tab. I’m not even sure if there was a separation of files. And I have no clue what the intended boundary is supposed to be between users.

I made a new user for Zoom screen share and was equally confused when my personal files and info would show up in searches and such. And it seems like most things install globally?

Ended up using a whole new computer to have a clean screenshare environment.
by eqvinox | 2025-05-11 19:30:51+00:00
> In reality humans can't actually do this nuance […]

Luckily the cases that need this aren't normally about a wide user base, rather they only concern a bunch of developers and admins. Which is why I pointed out the default-off nature of this.

> But eh, we wrote an RFC telling you not to use these long obsolete protocol versions, and you're going to do it anyway, so, whatever.

You're losing audience with unnecessary hostility. Your post would've been much more effective with plain omitting this last paragraph.
by jbreckmckye | 2025-05-11 19:31:16+00:00
Just for anyone reading this and wondering what the dependency footprint of React is:

- React-DOM has one runtime dependency (a cooperative scheduler)

- React itself has no runtime dependencies

It's possible the poster above is referring to build time dependencies. This is harder to assess because there are several options. For example, if compiling JSX using TypeScript, this adds only one more dependency.