MurphyA/hacker-news huggingface dataset:
by iteratethis | 2025-04-01 08:26:31+00:00
Just out of curiosity, I wish online LLMs would show real-time power usage and actual dollar costs as you interact with it. It would be so insightful to understand to which degree the technology is subsidized and what the actual value/cost ratio is.

I've read somewhere that generating a single AI image draws as much power as a full smartphone charge.

In case the suspicion is true that costs are too high to be monetized, then the current scale-up phase is going to be interesting. Right now people infrequently have a chat with AI. That's quite a different scenario from having it integrated across every stack and it constantly being used in the background, by billions of people.

Late as they may be, for the consumer space I think Apple is clever to push as much as possible to the local device.
by jeffhuys | 2025-04-01 08:27:02+00:00
You're solving a problem nobody has. If you encounter this problem, you shouldn't think "ah, let's yeet the JS engine because it clearly isn't good enough for my awesome SPA", you should think "hm, maybe I shouldn't render 10000000000 records in the DOM".

What's next? "Oh I have a memory leak, let's get a subscription on RAM modules and just keep adding them!"
by animuchan | 2025-04-01 08:27:48+00:00
That's a very charitable way of explaining away literally anything.

Let me try:

It's not like Putin started a war, but rather some officials trusted the electorate at some level and decided that the rules the electorate chose to make via their representatives should be followed. The representatives being Putin and friends. Those officials also trust the electorate to change the rules if they want to.

There were no actual attempts at a coup btw, so the electorate is evidently happy with this.
by brundolf | 2025-04-01 08:28:21+00:00
I would go farther and say it's not even a lack of "optimization", it's a bloat of spaghetti logic that no sane person would ever write, driven by teams that don't talk to each other and are constantly pushed by stakeholders to add more layers instead of cleaning anything up

It has nothing to do with the frameworks. Except maybe that they empowered developers, including the ones cranking out bad code
by tipiirai | 2025-04-01 08:29:06+00:00
Author here. No need to update the resume yet—titles do keep shifting! React’s monolithic style has muddied the waters, making it tough to build clean business logic, prioritize performance, craft CSS design systems, or just focus on user experience. Nue’s here to unblock that—giving each role room to shine with leaner tools, not cramming everyone into the same heavy stack.
by ph4evers | 2025-04-01 08:29:38+00:00
Thank you! And great suggestions!

I focussed first on European languages as I'm learning French. But I'll put some more effort in improving the Japanese experience since it seems to be very popular.

> but if there's an intention for bookmarking languages of interest for separate collections of videos & transcription exercises I can say I'd be happy to pay, honestly.

Would a language selection box at the top be enough? Or do you mean a more elaborate way to switch between languages?
by fellerts | 2025-04-01 08:30:10+00:00
> To put the writing and speaking speeds into perspective, we form thoughts at 1,000-3,000 words per minute. Natural language might be natural, but it’s a bottleneck.

Natural language is very lossy: forming a thought and conveying that through speech or text is often an exercise in frustration. So where does "we form thoughts at 1,000-3,000 words per minute" come from?

The author clearly had a point about the efficiency of thought vs. natural language, but his thought was lost in a layer of translation. Probably because thoughts don't map cleanly onto words: I may lack some prerequisite knowledge to graph what the author is saying here, which pokes at the core of the issue: language is imperfect, so the statement "we form thoughts at 1,000-3,000 words per minute" makes no sense to me.

Meta-joking aside, is "we form thoughts at 1,000-3,000 words per minute" an established fact? It's oddly specific.
by robocat | 2025-04-01 08:30:27+00:00
Perfect information! Snippets for other readers:

Investors have undervalued South Korea's company stocks compared to other countries, leading to the term "the Korea discount." This "discount" is in part attributed to corporate governance in South Korea where some companies may have less incentive to grow their share price to pay less tax when gifting or inheriting financial assets. with analysts saying poor corporate governance is one factor behind what is known as the “Korea Discount.” But investors often price [Korean shares] below their book value [Another] explanation is the risk discount because of nuclear-armed North Korea. To maintain control across generations despite South Korea’s unusually high 50 per cent inheritance tax, they have resorted to elaborate solutions that depress the country’s stock valuations. At Samsung, heir apparent Lee was sold equity at well below fair value to the detriment of other shareholders. Lee's equity value went from ₩9.5 billion to ₩6.7 trillion [The Hyundai family owners syphoned value] largely at the expense of shareholders in other Hyundai companies, according to court and regulatory findings that affiliates unfairly supported a company through noncompetitive contract awards at inflated prices.

I've abridged the above - see links for better details.
by burningFish | 2025-04-01 08:30:31+00:00
Pretty cool honestly, very nice job. The UX is well made, no distractions, you can consider doing several small sessions during the day to learn during breaks. I love it! I would personally be quite interested in Chinese (in that case, I would strongly recommend putting the accents on latin characters, otherwise users cannot know how to pronounce).

I tried Spanish and Japanese. A tiny recommendation for Japanese: it would be nice to have both kanjis and hiraganas in the same block for the word choices. That way, you can decouple the learning of kanjis from the pure listening.

Great work, really!
by edweis | 2025-04-01 08:31:03+00:00
Looking at the project:

- Why is the demo impressive https://mpa.nuejs.org/app/ I believe someone can do the same web-app in React with the same performance. - I'd like to quickly see some code samples on the home page. I had to dig the documentation to find some code samples (https://nuejs.org/docs/view.html#clean-html-templating), is it inspired from Svelte ? - How is new faster and lighter compared to other tech? Specifically, compared to raw HTML/js.

To convince me that Nue is a framework worse using, please show that Nue:

1. Is simpler than HTML+JS (or at least simpler than react): like https://alpinejs.dev/ 2. Is easy to understand: maybe the markup and logic are close to HTML or something else I already know 3. Has a better DX with good build time and HMR: you nailed this one 4. The tech is better: low overhead? highly based on WASM? virtual DOM? Server islands? 5. Show me metrics: https://esbuild.github.io/ nailed this one
by davedx | 2025-04-01 08:31:25+00:00
This is what they're replacing react with: https://nuejs.org/docs/view.html

It's an untyped view layer kind of along the lines of early angular 2.0.

The model files are plain javascript.

So no typings anywhere. Which is fine, I guess this is targeting the vuejs crowd. Maybe their marketing should pivot a little bit in that direction, most react people now use TypeScript because first class types in your view layer are super useful
by timrichard | 2025-04-01 08:31:36+00:00
One interesting thing to note is that many people use more force than necessary with their fretting hand. This was certainly true of me. Some hold the guitar neck with some sort of death-grip.

One useful exercise is to fret a note as you normally do, and play it. Then keep picking or plucking that note with gradually less pressure applied by your fretting fingers. At some point, the note will choke and not sound out any more. Then, a little more pressure can be applied to make it sound out again. That minimal level of force is going to be the ideal amount for stamina and to prevent injury. There’s nothing to be gained by pressing harder, in fact you can bend notes slightly sharp by pressing really hard. In many forms of instrument practice, hand tension is often the enemy (especially for faster soloing).
by imiric | 2025-04-01 08:33:47+00:00
I really like how Nue is shaping up! Having a clear MVC separation, leveraging modern web standards, semantic markup—all great things. Kudos!

Seeing the .dhtml extension certainly brings back memories... One thing I dislike is that the HTML is still parsed and converted into JS, which is then evaluated at runtime, correct? I realize that this is required to support templating and a nicer syntax for binding and such, but my ideal "framework" would support plain HTML files that are not converted to JS, but used very lightweight syntax (essentially custom data attributes, and `<template>` elements) to make the page dynamic. In fact, I'm experimenting with such a library right now[1]. This approach is likely more difficult to manage when building large web apps, but for simple UIs as used in browser extensions, it's fairly sufficient.

Frontend web development has been stuck in a pit of complexity for well over a decade now, and it's about time we go back to basics. There are new generations of frontend developers who only know this way of working, which is a shame. They're not really _web_ developers, but React, Vue, or whatever the popular framework is, developers. Web standards are far along now that there is very little additional glue and sugar needed to build modern web applications. React ushered in a new way of building UIs, but it also spawned dozens of copycats and frameworks that are downright developer-hostile beyond their shiny exterior. Not to mention the security nightmare of an incomprehensibly large dependency tree. Let's actively reject this madness.

[1]: https://github.com/hackfixme/miu
When so much knowledge is produced every day, how do you keep up?
by frabia | 2025-04-01 08:33:50+00:00
Between newsletters, podcasts, Youtube videos, (tech) news, articles, and (of course) books, how does one keep up with it?

I currently try to read long-form content that requires deep focus in the morning before work (30-45 mins depending on my day). Then during the day I have some breaks and read newsletters and other posts. Videos and podcasts are difficult for me to consume, as they are often a bit too padded with small talk and non-essential conversational information, but I sometimes listen to them when I work out or while I cook. I recently started taking notes when I read, I would like to extend this system into rewriting my synthesis in Obsidian or Notion.

However, despite all, I feel my reading list keeps growing and I'm always catching up with what happens in our field, but as if I'm always a few steps behind. There are many more articles and books that would make me better as a professional, but I simply don't have time to go through them. (Not to mention other topics I'd like to learn aside from my work, or simply read for pleasure.)

So my question is: how do you keep up? How do you stay up-to-date in your own profession?

And I mean it both in terms of your approach/methodology (e.g. when do you read and what, how do you retain information, what aids to reading/bookmarking do you use) but also in terms of the mental aspect/wellbeing (how much is "good enough" for you? How do you keep yourself from being overwhelmed? Do you feel energized by reading?).
by gwd | 2025-04-01 08:34:01+00:00
And if the book was about how such a "virus" might work, the author could have brought that up. But since the book is actually exploring how different cultures or people groups might react to the same event, going down that road would be a trap, and only invite more intense scrutiny from pedants. Explicitly "lampshading", as a sibling commenter put it, is the better way to achieve the author's goals.
by pandemic_region | 2025-04-01 08:34:41+00:00
I did not know about ErrorProne thanks, I can see this is useful indeed and then Lombok would be the odd one out breaking that tool. About the special IDE plugin, IntelliJ has native support but yeah it needs a bit of attention that's true. Overall the minor extra hassle is still worth it in my world. We're not using all of the annotations, but (in order of utility) @AllArgsConstructor, @Data, @Getter, @Setter and the occasional @Synchronized.
by black_puppydog | 2025-04-01 08:35:11+00:00
Heh, I just literally built a toy dashboard in dioxus that loads just about 2MB of code, and then 700KB of css (tailwind, not optimized) and 1.5MB of payload data to visualize. Then again the 2MB includes ~1.7MB of just static data that I included in the wasm build for convenience since it will always be needed. :D

(this was a learning project in my free time, no I'm not defending this in any way, although I'm actually quite happy with the solution of including static data in my binary)
by klelatti | 2025-04-01 08:35:15+00:00
It's interesting that The Guardian's name itself reflects one of the UK's enduring problems: the extreme dominance of the South East and London in particular.

Originally founded, written, published and printed in Manchester and bearing the name 'The Manchester Guardian' it's now abandoned all of these in favour of London with just a handful of Manchester based journalists.

The contrast with the US and Germany say is stark.
by bjornsing | 2025-04-01 08:35:20+00:00
In the extreme, sure. And I’m not saying I know he was in the wrong. I’m just saying it’s something I think gets too little attention.

It was obviously possible to get the plane into a climb, because that’s how it ended up after he ejected. Once you are there is time to think and plan. Bad visibility doesn’t stretch infinity in the upward direction.
by ndsipa_pomu | 2025-04-01 08:35:32+00:00
That's fighting talk round my way!

I submit to you that you've not tried the good British cheeses such as a Baron Bigod (Norfolk Brie), a nettle covered Cornish Yarg, the well-named Stinking Bishop, the rolled-in-ashes Kidderton Ash, Yoredale, Yarlington, Stilton, Beauvale, Gorwydd Caerphilly, Driftwood, Pevensey Blue, Witheridge in Hay, Ailsa Craig ...
How to reduce eCommerce returns by 60% (YC S22)
by mmontmany | 2025-04-01 08:37:12+00:00
Hey HN, co-founder of REVER (YC S22) here! REVER is helping brands manage eCommerce returns and make them more profitable.

6 months ago, we got ambitious and thought: what if we can actually reduce returns? Not just make them easier or more profitable but actually reduce them by avoiding them before they happen.

So as usual, we just built it: REVER size suggestions. A way to reduce returns by suggesting size insights at checkout using AI.

We know what people return, why do they return it, how does this change by country and what do they prefer instead. So we built a model that identifies the most returned products & their reasons and use this to help shoppers avoid sizing mistakes while buying.

We fine tuned it with market insights and found out that this was specially relevant split by country: most of the times the same product was an outlier for "Too small" in Germany and for "Too big" in Portugal. Bodies are different across geographies, so sizes should too.

So now, when a shopper is buying in a brand using this feature, we identify the market and based on returns data, we show the corresponding size suggestion.

The result? Returns reduced by +60% for brands like HOFF on the affected products and the feature is now out of beta for all +500 customers.
by jasode | 2025-04-01 08:37:53+00:00
>It took Amazon around six to seven years to see its first profitable quarter,

A key difference from OpenAI is that Amazon was cash flow positive from very early on and before that first profitable quarter. They only needed one funding round Series A of $8 million instead of repeatedly trying to raise extra rounds of funding from new VC investors.

The Amazon startup already had enough free cash from operations to internally fund their warehouse expansions. The "Amazon had no profits" was an accounting side-effect because of re-investment. Anybody seriously studying Amazon's financial statements in the late 1990s would have paid more attention to their cash flow rather than "accounting profits".

On the other hand, OpenAI doesn't have the same positive cash flow situation as early Amazon. They are truly burning more money than they take in. They have to get billions from new investors to buy GPUs and pay salaries. ($40 billion raised in latest investment round.) They are cash flow negative. The cash flow from ChatGPT subscription fees is not enough to internally fund their growth.

[1] https://en.wikipedia.org/wiki/Free_cash_flow
by mapcars | 2025-04-01 08:38:36+00:00
> Web SaaS companies just wanting to use "common" frameworks

Companies obviously want to use what works well and been tested and tried in production. If Nue achieves that with significant benefits outweighting the migration costs it will become the new common.

The "problem" with React is that it improved developer experience and efficiency by a ton compared to what was there before it, and not because of anything else.
by isqueiros | 2025-04-01 08:39:27+00:00
I'm not sure if I got this correctly, but it seems like you're misunderstanding what Vite actually is or does.

For having built what is essentially a bundler, I would've guessed you were more familiar with what it does, or, perhaps even have used it to build your tool.

Vite can bundle framework-less html files. It can create an SPA without any JS faff. You just have to point it to the right direction. When you instantiate a Vite app, you have to make the conscious decision to use React under the hood.

As for Nue, I think it's a cool idea, but I don't see what it does that I couldn't do with Astro, which has way larger community support and can work with pretty much all JS frameworks OOB.

BTW, I think it's really disingenuous to compare a React SPA bundle with an SSG output. You have essentially no functionality for handling state mutations beside events. You could achieve a much better middle ground by using a compiled framework like Svelte or Solid.
by pjc50 | 2025-04-01 08:39:31+00:00
I saw Russian Ark! Definitely a piece of art made by film buffs for film buffs; impressive to see, but far more impressive when you understand the amount of work that went into it.

I'm wondering why people would have chosen to do early digital if it was so inconvenient. When did the cost and flexibility advantages start to really kick in?
by squiggleblaz | 2025-04-01 08:39:31+00:00
Ultimately, yes, programming with LLMs is exactly the sort of programming we've always tried to do. It gets rid of the boring stuff and lets you focus on the algorithm at the level you need to - just like we try to do with functions and LSP and IDE tools. People needn't be scared of LLMs: they aren't going to take our jobs or drain the fun out of programming.

But I'm 90% confident that you will gain something from LLM-based coding. You can do a lot with our code editing tools, but there's almost certainly going to be times when you need to do a sequence of seven things to get the outcome you want, and you can ask the computer to prepare that for you.
by tgv | 2025-04-01 08:40:58+00:00
> What GP seems to expect is that sync.Pool() would always return a zeroed structure

Might be, but that's a design decision that has nothing to do with type or generics, isn't it? You seem to refer to a function to drain the pool, which is not needed, and frankly, rather unusual.

> It's typed the way Python is typed

Not in the slightest.

> "if it compiles there's a good chance it's correct"

If you want to compare it to something, it's more like Rust's unwrap(), which will panic if you apply it to the wrong result.
by askvictor | 2025-04-01 08:41:25+00:00
I'm using PopOS, so there's a chance that it's related to that, but no I haven't. And I've tried the gsetting that supposedly helps prevent it. I've only ever seen Zoom and VSCode do this; I get the feeling that they don't quite follow the same conventions that 'native' Linux applications use, or use some trickery (as they see themselves as the most important thing on your computer).
by mirzap | 2025-04-01 08:43:11+00:00
It has nothing to do with architecture, but rather understanding how the DOM works. The DOM is notoriously slow, so you should never render a huge number of rows at once. You can render millions of rows in plain JavaScript without impacting performance.

Here, I have recreated your JS example with searching and filtering and it does not crash. It's trivial to reuse a similar approach with the real backend and real events from the event source.

https://htmlpreview.github.io/?https://gist.githubuserconten...

*Update: Here is 1 million rows table with search, filtering and pagination. In plain Javascript:

https://htmlpreview.github.io/?https://gist.githubuserconten...
by raxxorraxor | 2025-04-01 08:43:51+00:00
Not a physicist either but pair production also occurs in "non extreme" conditions and is still quite common.

If find this question fascinating. Matter can only ever exist with respective anti-matter. Question is where has all the antimatter gone? Are there processes were it does indeed behave different from matter? So where is it? Since a photon and antiphoton are the same and do not absorb each other, we should be able to see it, shouldn't we?

I still want to believe in the antimatter universe where there is some evil twin of mine.
by wewewedxfgdf | 2025-04-01 08:44:01+00:00
There have abeen a few of these posts on HN redcently - people who claim that AI/LLM are just some sort of passing fad or of no value or less value than people are saying anyway.

People who write these posts want to elevate their self value by nay-saying what is popular. I don't understand the psychology but it seems like that sort of pattern to me.

It takes a deliberate blindness to say that AI/LLMs are just some sort of thing that has popped up every few years and this is the same as them and it will fade away. Why would someone choose to be so blind and dismissive of something obviously fundamentally world changing? Again - it's the instinct to knock down the tall poppy and therefore prove that you have some sort of strength/value.
by rcgs | 2025-04-01 08:44:03+00:00
I've used Notational Velocity for years, but couldn't get a working binary on latest MacOS/Chips and the newer variants I found seem to miss the mark on what made Notational Velocity great (imo).

So I'm working on an electron version[1] that has what I remember of the core UX. I wasn't the best user of NV – I'm sure it had features that I didn't use. If there are features that it had that you used, I'd certainly like to be aware of them.

[1]: https://github.com/ralphsaunders/nv-electron
by aucisson_masque | 2025-04-01 08:45:00+00:00
Can you actually make the LLM more reliable tho ?

As far as I know, llm hallucinations are inherent to them and will never be completely removed. If I book a flight, i want 100,0% reliability, Not 99% ( which we are still far away today).

People got to take llm for what they are, good bullshiter, awesome to translate text or reformulate words but it's not designed to have thought or be an alternate secretary. Merely a secretary tool.
by kwon-young | 2025-04-01 08:45:13+00:00
I have recently started working on a swi-prolog library for unit aware arithmetic[1]. It is still very bare bone (especially in documentation), but I started writing some examples[2] to showcase the library. It is essentially a port of the mp-units[3] library in c++. It was a lot of fun, and I found prolog especially well suited for manipulating symbolic representation of units and quantities.

[1] https://github.com/kwon-young/units

[2] https://github.com/kwon-young/units/blob/master/examples/spe...

[3] https://mpusz.github.io/mp-units/latest/