Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Claude Code now reads AGENTS.md if there is no Claude.md(claude.com ↗)
    136comments
  2. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    190comments
  3. Saving another 100TB of RAM(cloudflare.com ↗)
    34comments
  4. Cloudflare Quick Tunnels(cloudflare.com ↗)
    223comments
  5. Xcode 27.1 Beta Release Notes(developer.apple.com ↗)
    59comments
  6. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    discuss
  7. US troop deaths during Iran war exceed Pentagon count by at least four(reuters.com ↗)
    32comments
  8. Cache-to-Cache: Direct Semantic Communication Between LLMs (2025)(arxiv.org ↗)
    11comments
  9. Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug(ledger.com ↗)
    45comments
  10. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    72comments
  11. How to Write with an LLM(sockpuppet.org ↗)
    246comments
  12. OpenJev(openjev.com ↗)
    238comments
  13. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    35comments
  14. Cyclomatic Complexity in C#(ndepend.com ↗)
    9comments
  15. The Implications of Linguistic Illegibility for LLM Security(arxiv.org ↗)
    17comments
  16. Two parallel neural ectoderm progenitors contribute to the developing brain(newscientist.com ↗)
    51comments
  17. C++26: Trivial infinite loops are no longer undefined behaviour(sandordargo.com ↗)
    168comments
  18. From Geometry to Algebra and Back Again: 4000 Years of Papers (2023) [video](youtube.com ↗)
    discuss
  19. Warez: The Infrastructure and Aesthetics of Piracy (2021)(archive.org ↗)
    13comments
  20. Minimal Phone 2(minimalcompany.com ↗)
    150comments
  21. A 1542 papal cipher cracked with simulated annealing(simonklee.dk ↗)
    discuss
  22. How SpaceX streamlined the Raptor engine(construction-physics.com ↗)
    25comments
  23. Inside ZCode: Silently uploading your Git history to the cloud(ferstar.org ↗)
    89comments
  24. A search-and-inference database from scratch in pure Zig(antfly.io ↗)
    16comments
  25. I vibed a proof of Conway's conjecture(overreacted.io ↗)
    175comments
  26. Size-Specialized Memory Allocation(go.dev ↗)
    3comments
  27. The US 'Kill Chain' That Destroyed an Iranian School(bloomberg.com ↗)
    1comments
  28. Korea raises data breach fines to 10% of revenue(koreajoongangdaily.com ↗)
    73comments
  29. Cekura (YC F24) Is Hiring(ycombinator.com ↗)
    discuss
  30. North Korean nuclear test sets off years of earthquakes(science.org ↗)
    148comments

Ask HN: Favorite HN comment(s)

197 pointsby 9y ago
89 comments
There are bunch of informative/interesting comments on HN. Throwing here just few of them:

https://news.ycombinator.com/item?id=14327829

https://news.ycombinator.com/item?id=12941574

Which HN comment(s) are among your favorite ones? Which ones have created value for you?

9y agoHN ↗

HN comment scores are not public, so I am unsure how you find the "most upvoted comments"

9y agoHN ↗

That is a very bad metric because comment rankings are a function of score and time.

9y agoHN ↗

Algolia's API show votes for older comments (not sure how old is the line when it stops showing).

Edit: naturally, there is a strong bias for older comments in the list.

Code I use:

    <script>
		
		  $(document).ready(function() {
  var lasthours = "";
    
    $("#refresh").on("click", function() {
      
      var html = "";
      var url = "https://hn.algolia.com/api/v1/search?tags=comment&numericFilters=points>120&page=";
      var page = Math.floor(Math.random() * (20)) + 1;
      url += page.toString();
       
      var position = 0;
      position = Math.floor(Math.random() * 20);
   
      
    $.getJSON(url, function(json) {
      
        var hits = json.hits;
        
        var html = "<p>"+hits[position].comment_text+"</p><p>Story: <a  target='_blank'  href='"+hits[position].story_url+"'>"+hits[position].story_title+"</a><br><a  target='_blank'  href='https://news.ycombinator.com/item?id="+hits[position].story_id+"'>comment by "+hits[position].author+"</a></p>";
        
    $("#quote-text").html(html);
    });
    });
  });
		
		</script>
9y agoHN ↗

It is just a learning project. Feel free to not access it and downvote my comment advertising it if you think it is dangerous.

9y agoHN ↗

My comment was not a criticism, but a warning. It is very important to note where the data is coming from and any associated caveats which may influence the results.

9y agoHN ↗

Been using HN regularly for about two years now, and have just figured out two of the features from this topic: /bestcomments and /favorites?id=<USERNAME>.

9y agoHN ↗

You might want to check out "Lists" link at the bottom of the page; there's a bunch of things there.

9y agoHN ↗
9y agoHN ↗

That's a classic. The second reply as well.

9y agoHN ↗

When I was a kid, a neighbor friend of my sister's came over to our house and very arrogantly announced "I live next door to a Nobel Prize winner." We all made polite comments. After she left, my mom turned to us and said "I so wanted to tell her 'my dear, I sleep with one.'

Yes, it was probably the only block in the world with two Nobel Prize winners living on it.

9y agoHN ↗

who was your mom referring to, if I may ask?

9y agoHN ↗

My dad (the other Nobel Prize winner on the block)

9y agoHN ↗

Not only that. But that same thread goes into his idea being the same as Dropbox, both being startup ideas at the time. Seems the latter won that comeback though.

9y agoHN ↗

Not only that, but Drew Houston waded in. History 3,596 days later.

9y agoHN ↗

Well, Tarsnap[0] also exists, although granted Dropbox is more popular so I guess won in that sense. I think they have a slightly different target audience anyway.

[0]: https://www.tarsnap.com/

9y agoHN ↗

How did I guess this was going to show up again?

9y agoHN ↗

Speaking of math, despite being easily my most famous comment, it's nowhere near being my most upvoted comment.

9y agoHN ↗

Because everyone wants to get the opportunity for that one "why yes, I..." comeback and it is a joy to see it.

9y agoHN ↗

I don't think really meant to be hidden. You can go to anyone's profile, click on favorites->comments

9y agoHN ↗

Wow, your list of favorite comments is every bit as wonderful as your list of comments. No wonder yours was the first name here on HN I learned to look for to learn from (with dang's being the second)

9y agoHN ↗

Oh wow, didn't notice until now know they added this. Looking at my locally saved single comments the feature was added somewhere mid-2016. Though thinking back I rarely visited HN in that period between then and now which may explain why I'd missed it.

9y agoHN ↗

wow, I did not know this. Thanks, I am bookmarking this one.

9y agoHN ↗

Steuard deserves a medal for that thread. (Or a beer, coffee or cookie. Whichever he likes.)

9y agoHN ↗

Sorry to point out that Steuard comments are as valid as me stating that because I don't understand how to calculate the integral, there can be no way anyone else can . Just because some people don't know how to do something doesn't mean its not possible.

9y agoHN ↗

By the way we saw the same thing in algo trading, were a cabal of finance professors argued for more than 10years that the EMH theory holds and algo trading is a hoax. Just saying..

9y agoHN ↗

because I don't understand how to calculate the integral, there can be no way anyone else can > Just because some people don't know how to do something doesn't mean its not possible.

While this is a wrong place to continue this, I still think that I must answer this.

This analogy is incorrect. Let me rephrase your statement about the integral: "I'm incapable of calculating the integral therefore it cannot be calculated"

It's not a question of human capabilities. The problem with EmDrive is not that we say that humans are incapable of inventing a reactionless drive.

The problem is that all working physics theories embed conservation of momentum, and reactionless drives contradict conservation of momentum. This is equivalent to saying "here's a proof this integral cannot be calculated in all useful mathematical formalisms". Please note that there are no "proofs" in physics, and I'm only using this as an analogy.

Of course you could define a formalism that makes it possible to calculate the integral, which EmDrive proponents don't do.

I would be glad to be proven wrong. If there was a rigorous experiment that invalidates all modern physical theories, I would change my mind really fast, so would the majority of scientists. However, EmDrive proponents produce no rigorous experiments. The analogy would be saying "oh those silly mathematicians saying I couldn't calculate this integral, here's my calculation!" while having many errors in your calculations.

By the way we saw the same thing in algo trading, were a cabal of finance professors argued for more than 10years that the EMH theory holds and algo trading is a hoax. Just saying..

Again, this analogy is incorrect, because you won't find an adequate physicist that disputes conservation of momentum. And EMH was/is disputed.

9y agoHN ↗

I agree that it might be a false assumption emdrive works. But I don't think you should state that the standard model is evidence of that emdrive cannot work. Again I agree with conservation of momentum, but what if your assumption is wrong? What if emdrive don't violate it? My point is, rather focus your energy on building your own version than throwing out statements which also have no proof.

9y agoHN ↗

But I don't think you should state that the standard model is evidence of that emdrive cannot work

I specifically said that reactionless drives contradict conservation of momentum. This is a direct result of all useful physical theories.

what if your assumption is wrong? What if emdrive don't violate it?

Believe it or not, but I've answered this question before. If EmDrive doesn't violate conservation of momentum, then according to standard model it cannot produce more thrust than a photon drive, which makes EmDrive utterly useless.

My point is, rather focus your energy on building your own version [...]

My own version: EmDrive inventor is a crackpot, which can be deduced from papers he writes and statements he makes. I'm not obliged to explain every single crackpot claim. The burden of proof is on the side making extraordinary claims.

[...] than throwing out statements which also have no proof

Please quote specific statements rather than making broad accusation of baseless speech.

I'm tired of dissecting every single one of your sentences.

9y agoHN ↗

Thanks, now I have better understanding of recursion.

9y agoHN ↗

How did you do it? Put some text in first get the id and edit the comment to retroactively add the link to itself?

9y agoHN ↗

I love that. Sometimes the lack of whimsy on HN wrecks my head.

9y agoHN ↗

Since our mental wellbeing plays a huge role in how we use our knowledge and skills, one of my favorite HN comments (which is actually a quote from another source):

"Human life the Stoics appear to have considered as a game of great skill; in which, however, there was a mixture of chance [...] In such games the stake is commonly a trifle, and the whole pleasure of the game arises from playing well, from playing fairly, and playing skilfully. If notwithstanding all his skill, however, the good player should, by the influence of chance, happen to lose, the loss ought to be a matter, rather of merriment, than of serious sorrow. He has made no false stroke; he has done nothing which he ought to be ashamed of; he has enjoyed completely the whole pleasure of the game. [...]

Our only anxious concern ought to be, not about the stake, but about the proper method of playing. If we placed our happiness in winning the stake, we placed it in what depended upon causes beyond our power, and out of our direction. We necessarily exposed ourselves to perpetual fear and uneasiness, and frequently to grievous and mortifying disappointments. If we placed it in playing well, in playing fairly, in playing wisely and skilfully; in the propriety of our own conduct in short; we placed it in what, by proper discipline, education, and attention, might be altogether in our own power, and under our own direction. Our happiness was perfectly secure, and beyond the reach of fortune."

https://news.ycombinator.com/item?id=12995076

9y agoHN ↗

I really love this comment on finding a job at a startup by patio11: https://news.ycombinator.com/item?id=11118880

So much so that the comment and surrounding discussion is much more valuable than the actual article it's on! Has helped me and many people I know interview at phenomenal companies.

9y agoHN ↗

There's a whole series of (long) comments by arcfide [0] about APL, and code in general, in the "Smaller Code, Better Code" thread [1] that I thought were great.

In particular this one [2].

"I'm pushing the other direction. If you can see your entire compiler at one go on a standard computer screen, what sort of possibilities does that open up? You can start thinking at the macro level, and simply avoid a whole host of problems because they are obviously wrong at that level. When you aren't afraid to delete you entire compiler and start from scratch? What sort of possibilities does that open up to you?"

[0] https://news.ycombinator.com/user?id=arcfide

[1] https://news.ycombinator.com/item?id=13565743

[2] https://news.ycombinator.com/item?id=13571160

9y agoHN ↗

Nice idea. I actually save the gems I find here. So in no particular order, wisdom from the archives -

enobrev 673 days ago on 'The self-hating web developer':

I've always been a fan of collecting money for solving problems and letting others worry about whether what I'm doing qualifies as "real" programming. Knowing how to listen to potential clients has gotten me a lot further than worrying whether PHP is a real programming language.

- - -

kingsidharth 2356 days ago on 'Evernote makes $800,000 per Month':

This is the biggest mistake most of the people make. If it worked that way, every weekend app released here would be making tons of money. (We have better apps here as weekend projects than out there in market).But this is NOT app v/s app game. This is business v/s app. And you can't take down a business with an app. You need to create a business.

- - -

knob 1217 days ago on Your best passive income? (2014):

ozh: > "Do some freelancing during office hours & double the income."

viach: > This would not be passive.

knob: > You have to think bigger man. Outsource the outsourcement... Interact with top-level outsourcer once per week... he interacts with low-level outsourcer daily. Profit.

- - -

mcphage 653 days ago on Japanese mini Segway “WalkCar”:

"Can you remember the Segway?"

Yeah.

"And how we all thought of it as the new way of human transportation?"

No, I don't remember that bit.

- - -

cableshaft 619 days ago on '‘Give Away Your Legos’ and Other Commandments for Scaling Startups':

pbreit: > I dunno, hopping on board the rocket ship still seems a lot easier than building the rocket ship.

cableshaft: > But building the rocket ship is more fun. Especially if you know it's going to explode midair once it's launched and you don't have to be in it when it does.

- - -

graycat 760 days ago on First Round Capital Open Application for Startups:

Can a solo founder of an IT startup hope to be successful without equity funding? Should be: All across the US, cross roads to the largest cities, solo founders do well mowing grass, selling pizza or hamburgers, pumping gas, paving driveways, ..., big-truck, little-truck distribution businesses, etc. without equity funding. IT should be an advantage.

- - -

puranjay 838 days ago on 'Why Learning to Code Is So Damn Hard':

I have the same issue (find the time). I've set aside 10pm-2am every weekday to learn how to code, plus entire Saturdays and Sunday mornings. I can, at most, manage 20-25 hours, usually when I'm already bogged down. I've been toying with the idea of quitting everything and going all-in for 3-6 months. Would that be 100% retarded or just about 70% retarded? I can live with 70%.

- - -

And my favorite:

blake8086 1962 days ago on 'How Trello is different':

spolsky: > We wouldn't provide that kind of support, nor would be it be expected, for a free and easy-to-use product.

blake8086: > I think you deeply underestimate the sense of entitlement people get about products they enter lots of text into.

9y agoHN ↗

From user smacktoward:

https://news.ycombinator.com/item?id=7314434

For all the intellectual firepower of people in the tech community, there is a curious strain of anti-intellectualism that comes forth in projects like this; an eagerness to discount the expertise of people who have studied a subject for their entire lives, just because they weren't CS majors. It's like trying to send a man to the moon without working with any aerospace engineers. I honestly do not understand it.

9y agoHN ↗

https://news.ycombinator.com/item?id=287767

anamax 3190 days ago | on: So, you're gonna code the whole thing, do the serv...

If they don't have the money to pay you, you're not an employee, you're a founder and you get the same deal that they get.

If they balk, suggest that they find another code monkey while you find another biz monkey and let the market decide who ends up with the bananas.

9y agoHN ↗

"JavaScript Delenda Est", by zeveb: https://news.ycombinator.com/item?id=11447851

Excerpt: JavaScript is the XML, the Yugo, the Therac-25 of programming languages. The sheer amount of human effort which has been expended working around its fundamental flaws instead of advancing the development of mankind is astounding. The fact that people would take this paragon of wasted opportunity and use it on the server side, where there are so many better alternatives (to a first approximation, every other programming language ever used), is utterly appalling.

9y agoHN ↗

My opinion towards JavaScript is much like Cato's towards Carthage: it must be rooted out, eliminated and destroyed entirely. I don't know if I'd go quite so far as to say that the fundamental challenge of mass computing is the final destruction of JavaScript — but I want to say it, even though it's false.

Beautiful.

I actually really enjoy node.js and the ecosystem + community surrounding JavaScript. There's seriously a lot of passion and work going in to it.

JavaScript itself though? Horrible. I hate it.

9y agoHN ↗

Js is clearly very popular. What are these fundamental flaws that js has that this comment mentions? I don't understand why it would be the "paragon of wasted opportunity".

9y agoHN ↗

let's see... Lack of a real integer type ?

The fact that {} + [], [] + [], [] + {} are all valid and all give different results ? [1]

The fact that it has some silent error conditions like NaN ?

The fact that, in v8 (which is the most common js engine out there), if you add a comment to a function, it can suddenly start performing poorly ?[0]

I love JS, I really do. Hell, I write nodejs for a living ! I find prototypical inheritance to be an awesome idea. The simplicity, and extensibility of the language is something that I really like from it. But I can see where people hating it are coming from. I wish lua had been used instead of JS.

[0]: https://top.fse.guru/nodejs-a-quick-optimization-advice-7353...

[1]: https://www.destroyallsoftware.com/talks/wat

9y agoHN ↗

Most of the issues you listed with the language itself are fixed by using either Flow or TypeScript. As for that V8 issue, it's not ideal, but how about just putting comments of that size outside of the function, or not overcommenting functions small enough to be inlined.

I know a lot of people view using so much tooling as a con of the language, but if you use Babel + Eslint + Flow/Typescript, JavaScript becomes a lot nicer and safer to program in. For small to mid-sized projects, I think JavaScript is pretty great.

9y agoHN ↗

Most of the issues you listed with the language itself are fixed by using either Flow or TypeScript.

Hence the initial comment about putting effort into fixing something fundamentally broken.

9y agoHN ↗

Ah true. I guess what I was really getting at was that even though JavaScript has some fundamental missteps, it's not beyond being fixed and definitely not the worst language in existence i.e. that behind the quirks, is a quite nice and powerful language that isn't a waste of effort.

9y agoHN ↗

NaN stuff works according to the IEEE 754 spec.

9y agoHN ↗

Popularity has next to nothing to do with how good something is.

9y agoHN ↗

It sucks that all of this is valid, but it's mostly avoidable. Eslint + Flow/TypeScript will catch most of these quirks for you.

Also lets not pretend that having a bunch of quirks like these is exclusive to JS. I'd say there are equally as many ways to shoot yourself in the foot in many other languages. For example, for C++, which isn't necessarily beloved but people don't want to "eradicate" like OP's comment states about JS, you can have an entire talk[0] on the quirks of type deduction.

I think where JavaScript earns its bad reputation isn't necessarily its quirks, but its quirks in combination with a low barrier to entry, lots of beginners, a large community, being a multi-paradigm language, and the fact that most people writing it were forced to write it because it's the language of the web not because they wanted to. All that in combination results in a lot of bad code...but if you take the time to learn it and use a bunch of tooling (which isn't ideal), it's actually quite nice.

[0]: https://www.youtube.com/watch?v=wQxj20X-tIU

9y agoHN ↗

I'm a student trying to learn server side programming, I've started with node js. There seems to be a whole lot of modules to help with anything and with ES6 js doesn't seem so bad, and very fast (to write) as well compared to C++ that I've attempted. What are these better languages, what should one learn now for server-side when starting out?

9y agoHN ↗

It's fine, it really is. Just stick to what you are being productive with and enjoy actually building something useful.

9y agoHN ↗

Keep a sticky note next to your desk and, while you're learning, make a mark every time the answer to "Why does it do that?" or "How do I do this?" has a seemingly random or counterintuitive answer.

In a year, that's the tally of how terrible or great a language is.

Bad languages don't just make bad choices, they make bad choices and then make different choices for other, similar questions that should be related.

9y agoHN ↗