MurphyA/hacker-news huggingface dataset:
by greatgib | 2025-04-18 07:16:33+00:00
Obviously I'm happy to benefit from being able to use most model "for free" in my paid non ultimate account.

But I'm concerned that this will not rot the business model like that kind of thing happen for other services.

I would have preferred that the full of my subscription cost goes to the core feature of developing the search engine and directly the related feature. And as of today, I pay a separate premium if I'm interested by the AI assistant.

Now, with it being in all subscriptions, and knowing that anyway they can only work by paying the token price per request to all AI providers, it means less of my money going to the search index improvement, and what I'm more worried is that a forced increased of the subscription price in the coming years.

Something like, as you know, our costs are high, so we need to raise the pricing to stay sustainable.

Even if not the best reference, this remind me of Netflix saying look we are adding "videogames" (that no one wants) to your subscription for free, but now we will have to raise our prices, because you know, inflation and all of that ...
by tasuki | 2025-04-18 07:17:04+00:00
> Having a goal in mind, that has nothing with the choice of language

Yes, yes, that's exactly what my encounters with Haskell looked like. The last one is ~1k lines of code backend for a personal project. I feel that's about as much as I could manage at this point.

> The book Haskell Programming from First Principles

That book is getting recommended all the time! I'm concerned if it's perhaps a little too basic for me. (I understand monads, monad transformers, have some notion of final tagless and free monad. Yet I get perpetually confused by various relatively simple things.)

I guess what I'm missing is haskell-language-server to help me a little. Here I'm confused about the interplay between `haskell-stack` (which is in Debian repos and which I think I'd like to use), ghcup, cabal, and haskell-language-server.
by fsckboy | 2025-04-18 07:17:26+00:00
the real world critics of crony capitalism also coined the term socialism and then set about forming sociopathic totalitarian states and started slaughtering, torturing and starving people. what's your point?

and by socialism i mean the 4th international, the 3rd international, et al, whence were spawned many socialist parties that called themselves socialists, but which are in full agreement with what casual observers would call communism and or marxism. it's all distinction without difference.

source: i used to be an active communist
by jmward01 | 2025-04-18 07:18:10+00:00
I got into a discussion a while ago with a friend of mine that liked to think of themselves as libertarian. No beer was involved, but going to the absurd definitely came out. He tried to take the view that the government should get out of everything. My counter was that very quickly some company would take over enough of each market to effectively become the government and dictate terms to everyone else. My point to him was that -something- fills that void so at least if it is the government doing it there is a slim chance I can influence it. This is a bit indirect to your comments, but my big point is that I don't want companies ever trying to set the bar or come up with morals because their version of 'good' won't be one that is good for society. If we expect them to be 'good' they will define it and I want society to do that, not them. Dark patterns are bad, but we need to start holding our government accountable for not holding companies accountable. We also need to hold ourselves accountable for buying from those companies. I assume every company is adversarial because that is the nature of capitalism and I don't want to slip into the false security of 'they will eventually do the right thing because it is the right thing...'
by int_19h | 2025-04-18 07:19:59+00:00
My experience has been exactly the opposite - Sonnet did fine on trivial tasks, but couldn't e.g. fix a bug end-to-end (from bug description in the tracker to implementing the fix and adding tests) properly because it couldn't understand how the relevant code worked, whereas Gemini would consistently figure out the root cause and write decent fix & tests.

Perhaps this is down to specific tools and their prompts? In my case, this was Cursor used in agent mode.

Or perhaps it's about the languages involved - my experiments were with TypeScript and C++.
by mindslight | 2025-04-18 07:20:41+00:00
Aliexpress already dealt with something similar years back when they had to stop using USPS for brokerage. They've got their own in-US logistics now - "SpeedX". I ordered some things this month - 9 days to my door, delivered in a consumer vehicle. I suspect within a month or maybe two of the de minimis rule going away, we will see Aliexpress start doing something like showing the additional tariffs at checkout and handling the clearance at scale.

Not that Krasnov's blockade isn't horrible, of course. It just seems primed to backfire here as well, like the rest of the destructionists' purported agenda. Underemployed people in a collapsed economy are more likely to try scrimping every last penny they can by shopping at places other than convenient-but-overpriced Amazon. I wouldn't be surprised if direct from China purchases actually went up as a proportion of sales.
by rendall | 2025-04-18 07:21:26+00:00
It's an unexpectedly funny interview:

> O.C.: Have you consulted about this “tables” approach with other Lua developers?

> I.T.: After that, I went back to Dmitry and asked him if my understanding of “everything is a table” was correct and, if so, why Lua was designed this way. Dmitry told me that Lua was created at the Pontifical Catholic University of Rio de Janeiro and that it was acceptable for Pontifical Catholic Universities to design programming languages this way.
Show HN: Dir2txt – Dump your project into clean LLM-ready text or JSON
by shubhamoy | 2025-04-18 07:22:39+00:00
Hi HN,

I built dir2txt — a simple but powerful CLI tool that turns a directory tree into a clean, structured text or JSON dump.

What It Does • Traverses a project directory • Dumps readable file contents • Optionally strips comments (smart detection of comment blocks + patterns) • Respects .gitignore, .dockerignore, .npmignore, etc. • Outputs LLM-friendly .json or .txt files

Why I Made It

Working with LLMs like GPT-4 or Claude, I kept hitting the same issue: how do I give the model meaningful access to an entire project?

Manually pasting files is noisy and lossy. Existing tools like tree only give structure. I wanted one tool that could: •Structure the directory •Include the real content •Strip boilerplate if needed •Output in a format usable by RAG pipelines, code copilots, or embedders

Example $>dir2txt ./my-project --strip-comments --json > project.json

And then feed it into a vector DB or tokenizer for embedding + retrieval.

Install

Homebrew $>brew tap shubhamoy/dir2txt $>brew install dir2txt
by mtlmtlmtlmtl | 2025-04-18 07:23:27+00:00
Problem with that logic is, humans don't just evolve genetically, we evolve culturally, and that cultural evolution ends up affecting our biology as well. So it doesn't really matter how slow genetic evolution is. Cultural evolution is what defines the human species. It's much more rapid because it includes planning and foresight, unlike the blind watchmaker of biological evolution. It is also lamarckian in that it incorporates the experiences of the previous generation into the cultural phenotype of the next one.

That's precisely how we've changed so drastically is an evolutionary blink of an eye.

And now, our cultural evolution has reached the point where we're even able to change our own genetics with planning and foresight in a single generation. So it seems to me that the blind watchmaker is essentially irrelevant now.
by msephton | 2025-04-18 07:24:23+00:00
YOYOZO, my game that received a "Best Games of 2023" accolade, was also written in Lua. It is only 39KB despite containing two music tracks, physics and particle systems, online high score board, dynamic sounds, two fonts, a tutorial and more. https://news.ycombinator.com/item?id=38372936
by rollcat | 2025-04-18 07:24:53+00:00
I think in case of any security-critical project it's important to evaluate the track record objectively:

https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=OpenSSH

It's true that there are 5 advisories so far in this year alone, but let's consider the actual impact:

CVE-2025-32728 - Error in documentation, possibly leading to misconfiguration CVE-2025-30095 - Debian+dropbear-specific CVE-2025-27731 - Windows-specific; local privilege escalation; OpenSSH doesn't target/support Windows CVE-2025-26466 - Remote DoS CVE-2025-26465 - MitM involving host key DNS verification; high attack complexity (relies on exhausting client memory)

OpenBSD enables sshd(8) in the default install, and has so far had two RCEs in 30 years. Now, not everyone runs OpenBSD, but I'd personally throw the stones at e.g. Debian (see CVE-2008-0166).
by intended | 2025-04-18 07:25:01+00:00
What do you think happens when people get boycotted in villages or “back in the day”? Collections of people get MANY things wrong. Just see relationship advice vs AITAH vs CMV.

Are people used to some benign, harmless, ineffective version of social boycotts? Grace? The Scarlet letter describes what society did to adulterers.

see what happened in 2008 when large groups got together, or the police protests or any number of movements. They start when there is something easy and clear to work with, and soon smash into (and past) nuances.

I agree with the parent poster, these are modern day boycotts, influenced by the malaise of being seen primarily as consumers, and super charged by the emotional polarization of the internet.
by danwills | 2025-04-18 07:25:06+00:00
Thanks for the correction there! I was not aware that Easter Bunny was much more like Santa than something associated with Eostre or Pagan.

I guess the bunny still got something similar to the Coke-branding that Santa got to help product sales, but for chocolate sales instead!?

I retract the 'rabbits' part of what I said, but I still think it's ultimately a fairly weird taken-over/hybrid-mythology festival! I'm only able to talk about Easter as I know it in Aus though!.. I totally acknowledge festivals and their timing/meaning are very different in other places.
by nine_k | 2025-04-18 07:25:16+00:00
> TypeScript compiler essentially treats types as a lint

Sorry, I think you've been swindled.

The Typescript compiler is made by Miscrosoft and is called tsc. It very much heeds the type annotations, and very much rejects ill-typed programs. An LSP based on it does the same in an editor. Also tsc supports refinement types via flow control analysis and a bunch of other static correctness checks.

Deno, bun, swc are not true compilers like tsc, they don't do much correctness checking at all. They discard al the type info, and then operate on pure JS (modules conversion, minification, etc).
by otabdeveloper4 | 2025-04-18 07:25:40+00:00
There was no recorded or productionized music back then. And yet people liked music as much as we do now. So the only way to enjoy music was to do it yourself.

Singing and playing an instrument was just a basic life skill that everyone had back then. (Say, like driving a car or using a computer is today. Not everyone is a professional driver or computer programmer, but not being able to use a computer at all today would mean you failed at life.)
by Asraelite | 2025-04-18 07:26:01+00:00
> Gemini would consistently figure out the root cause and write decent fix & tests.

I feel like you might be using it differently to me. I generally don't ask AI to find the cause of a bug, because it's quite bad at that. I use it to identify relevant parts of the code that could be involved in the bug, and then I come up with my own hypotheses for the cause. Then I use AI to help write tests to validate these hypotheses. I mostly use Rust.
by timonoko | 2025-04-18 07:26:07+00:00
That was particularly "clean" processor compared to RCA Cosmac or PIC18c64. Dirtiness means overcoming some handicaps of shitty processor.

Yes. I made this crap 30 years ago, and now it needs some tuning. What were the assembler and programmer? No clue or recollection. https://github.com/timonoko/Seinakello/blob/master/seven3.as...
by w4yai | 2025-04-18 07:26:11+00:00
Here's what I found to be working (not 100% but it gives much better and consistant results)

Basically, I ask it to repeat at the start of each message some rules :

"From now on, you must repeat and comply the following rules at the top of all your messages onwards:

- I will never rewrite API functions. Even if I think it's a good idea, it is a bad idea. I will keep the API function as it is and it is perfect like that.

- I will never add extra input validation. Even if I think it's a good idea, it is a bad idea. I will keep the function without validation and it is perfect like that.

- ...

- If I violate any of those rules, I did a bad job. "

Forcing it to repeat things make the model output more aligned and focused in my experience.
by TekMol | 2025-04-18 07:26:17+00:00
"Privacy by default"

I don't know. To me, requiring me to give them my email and then having all my searches associated with that email is the opposite of privacy to me.

Yes, Google, Bing, Perplexity and Co could do fingerprinting and try fuzzy matching to cluster my searches. But at least that would be fuzzy and against the law in many places. While with Kagi, every search of mine would be clearly labeled as coming from me.
by Thorrez | 2025-04-18 07:26:36+00:00
I used to use autosale back when it existed. Now it no longer exists, and has been replaced by an ETP program.

It's been a while since I used autosale, but I think the problem still existed then, because I think even with autosale the sale price wasn't identical to the vest price, so there were still loss sales, which could be washed. But I think since the sale happened the same day as the vest, the problem wasn't as bad, because in 31-day months, the loss sale couldn't be washed by the next month vest. So there wasn't the case of constantly increasing complexity, because the complexity would reset in 31-day months.

I tried ETP back when it was introduced. I didn't like it. It's been a while, so my memory of why I didn't like it is a little foggy. For one thing, when you're enrolled, you're not allowed to buy or sell any Google shares manually. One of the biggest problems was that there's a cooling off period, and the shares that vest during that period don't get autosold right away, and you can't sell them manually. I think they get autosold a month or so after vesting. My memory might be wrong, but I think that's what happened. Another thing that annoyed me is that my sells got split across 2 1099-Bs: the 1099-B from my individual Schwab account and the 1099-B from my EAC Schwab account. I think shares that vested during the cooling off period went on one 1099-B and the shares that vested during other times went on the other 1099-B. And somehow in the confusion I ended up with some shares that never got sold at all.
by x-complexity | 2025-04-18 07:26:51+00:00
> In other words, people like the idea of this, but no one actually wants this.

Misinterpretation of data.

> The other day I saw the results of a poll [1] where 80% of Americans thought the country would be better off if more Americans worked in factories. However, only 20% of Americans thought that they would be better off if more Americans worked in factories. It was surprisingly bipartisan.

https://www.bls.gov/opub/ted/2023/a-look-at-manufacturing-jo...

Compared to the current percentage of people employed in manufacturing (9.9% - 12,759,129 / 128,718,060), there are **more** Americans that would like to move into manufacturing, not less.
by qwertox | 2025-04-18 07:27:08+00:00
I was given a free month of Kagi to test, and it had so many rough edges that during the last days of of the trial I was already using Google again.

Notable issues for me:

- maps (from Mapbox) are really bad. Sluggish performance and lack of information

- barely any info boxes

- no translation feature ("gründonnerstag englisch") gives me links to leo.org (which was a cool site in the 00s) and to other sites, but Google gives me a translation box with the result

- no timezone calculations: "10 am PT" in Kagi: "= 10 Pt am (metric petaton attometers)" in Google: "10:00 Freitag Pacific Time (PT) entspricht 19:00 Freitag in ..."

- no search history, which is sometimes really useful to have

Other than that, the search results are really good.
by distalx | 2025-04-18 07:27:18+00:00
This feels more like spying on everyone than making the internet safe for kids. Big companies and the government are already tracking what we do online. This just seems like a further reduction of our privacy on the internet.

Parents need to be more involved in what their kids do online, just like in real life. Grounding them isn't enough. We wouldn't let them wander into dangerous places, so we shouldn't let them wander online without adult supervision. Also, parents need to prepare for having tough conversations, like what pornography or gambling is.

Online companies need to really work to make their sites safe for everyone. They should act like they own a mall. If they let bad stuff in (like pornography, scams, gambling), it hurts their reputation, and people will leave.

Instead of banning everything, because some people take pleasure in those activities, maybe there should be separate online spaces for adults who want that kind of content, like how cities have specific areas for adult businesses. This way, it would be easier to restrict children's access to some hardcore stuff.

If we all put some effort into figuring out easy and privacy-friendly solutions to safeguard kids, we can rely on simple principles. For example, if you want to sell toys to kids, you shouldn't sell adult toys under the same roof (same domain) or have posters that can affect young minds.
by int_19h | 2025-04-18 07:29:32+00:00
I dislike Google rather strongly due to their ad-based business model, and I was previously very skeptical of their AI offerings because of very lackluster performance compared to OpenAI and Claude. But I can't help but be impressed with Gemini Pro 2.5 for "deep research" and agentic coding. I have subscriptions with all three so that I can keep up with SOTA, but if I had to choose only one to keep, right now it'd be Gemini.

That said I still don't "cheer" for them and I would really rather someone else win the race. But that is orthogonal to recognition of observed objective superiority.
by ghaff | 2025-04-18 07:29:46+00:00
The Big Dig was probably at least as much about aesthetics and reuniting neighborhoods as it was about improving driving. And indeed it succeeded in the former more than the latter though the elevated central artery was pretty much a disaster on both counts. But no one could say that out loud. There were some minor transit improvements though that was already pretty good in the area and cycling was pretty much not on anyone’s radar at the time.
by whatnow37373 | 2025-04-18 07:31:41+00:00
This is kicking the can down the road. I can ask you: what happens before you have "inner monologue"? Nothing? Words just pop into your head? How do you decide what to "inner monologue"? How can you have "complex inner monologue" without inner monologue discussing the coming inner monologue?

We're the same, but I just skip the inner monologue. Now I'm typing and I have very little idea what comes next. I review it afterwards. I just have one level of this, you seem to have two and I don't know why you do it, but perhaps it's another level of control. Perhaps this bifurcation buys you something.
by comex | 2025-04-18 07:32:16+00:00
It’s just a hallucination, same idea as o3 claiming that it uses its laptop to mine Bitcoin:

https://transluce.org/investigating-o3-truthfulness

I doubt the model was trained on Street View, but even if it was, LLMs don’t retain any “memory” of how/when they were trained, so any element of truthfulness would be coincidental.
by bigstrat2003 | 2025-04-18 07:32:30+00:00
> Other than that, the search results are really good.

I'm confused why anything else would matter. For example, I'll readily admit that Kagi maps sucks compared to Google maps. But I just use Google for map stuff, and use Kagi for searching. It doesn't seem like a big deal to me that it's a tool which does one thing and does it well.
by defrost | 2025-04-18 07:32:31+00:00
The video doesn't disprove a long standing non Christian association between what is now Easter and rabbits.

What it does state is in agreement with the wikipedia article on the connection between Ēostre and rabbits, namely:

The earliest evidence for the Easter Hare (Osterhase) was recorded in south-west Germany in 1678 by the professor of medicine Georg Franck von Franckenau

~ https://en.wikipedia.org/wiki/%C4%92ostre

This is the earliest still extant written account of folk practices that had been occurring for some indeterminant time.

We are aware that the brewing of beer predates by many centuries, millenia even, the earliest still extant written account of the practice of brewing beer.
by msdz | 2025-04-18 07:33:23+00:00
While I'm aware this is a case of "you're holding it wrong" – !translate <phrase> should do the trick. And that's not an excuse for not having better detection for when an info box should exist, because they do have them, especially for, but not limited to the WolframAlpha integration stuff. (For example, a friend and fellow user was awed when searching "internet speed test" and saw it integrated, no idea if Google has that too though).

Other than that, make sure your region/locale is set correctly (I'm not getting the metric petaton, for example), and for everything else, they have an excellent feedback forum for suggestions/bug reports.
by dragonwriter | 2025-04-18 07:35:53+00:00
> the real world critics of crony capitalism also coined the term socialism and then set about forming sociopathic totalitarian stat

No, they didn't; the people who did the latter were different people, decades later than the former, who, despite claiming ideological continuity, departed radically from the theory of the former. The original critics saw capitalism as (like socialism, but prior to it) an imperfect but necessary developmental stage on the road to the end-stage of communism, while the people who built the totalitarian dystopias saw it as a thing to be avoided entirely, adapted Marxist theory to bypass it, etc.

> and by socialism i mean the 4th international, the 3rd international, etc.,

Obviously, the 3rd and 4th international were not the people who wrote the original critiques in which capitalism was named

> but which are in full agreement with what casual observers would call communism and or marxism

“Casual observers” are called that for a reason.

> source: i used to be an active communist

Not at all surprised; you seem to still deeply hold to the propaganda of one of the Leninist-derived branches, even having abandoned it as an ideology/identity.
by intended | 2025-04-18 07:36:09+00:00
Yes, this is how social boycotts worked. They aren’t nice. Ostracized is an OLD Greek Civ word. Shunning is another.

I am beginning to suspect people are unaware of how messy any form of mass activism ends up being. Mass being the keyword here.

The point being made was about the inevitability of this form of collective action.

Cancel culture is fundamentally about the little guy exerting collective power, based on the older rhetoric limiting people to consumers. That bell has been rung.

Never said that the little guy is going to get it right, or that it’s easy to wield this power.