Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Cloudflare Quick Tunnels(cloudflare.com ↗)
    102comments
  2. An Empirical Study of Harness Design for Coding Agents(arxiv.org ↗)
    35comments
  3. North Korean nuclear test sets off years of earthquakes(science.org ↗)
    64comments
  4. Show HN: Microsoft Office running with Wine on Linux with no virtualization(github.com/tombert ↗)
    35comments
  5. I vibed a proof of Conway's conjecture(overreacted.io ↗)
    94comments
  6. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    14comments
  7. C++26: Trivial infinite loops are no longer undefined behaviour(sandordargo.com ↗)
    87comments
  8. OpenJev(openjev.com ↗)
    202comments
  9. There's no point at which turning your brain off will work(danluu.com ↗)
    discuss
  10. Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug(ledger.com ↗)
    discuss
  11. Mathematicians Build Long-Awaited Graph Sandwich(quantamagazine.org ↗)
    3comments
  12. GrassLobster: AI Agentic Generation of Parametric Geometry Workflows(miro.vision ↗)
    3comments
  13. US Treasuries Have Become Unappetizing for Foreign Central Banks and Governments(wolfstreet.com ↗)
    39comments
  14. A heap overflow and SSO misconfiguration to compromise OpenAI internal repos(hacktron.ai ↗)
    177comments
  15. I don't like passkeys(hawksley.dev ↗)
    500comments
  16. Cekura (YC F24) Is Hiring(ycombinator.com ↗)
    discuss
  17. The Shadows Lurking in the Equations – Underwater Islands(gods.art ↗)
    9comments
  18. Jemalloc 5.4.0(github.com/jemalloc ↗)
    72comments
  19. NATS publishes preliminary report on technical incident of 8 September(nats.aero ↗)
    23comments
  20. The scourge of x86 emulation(fex-emu.com ↗)
    67comments
  21. Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint(prismml.com ↗)
    175comments
  22. Warren Buffett Steps Down as Berkshire Chairman, Names Son to Replace Him(nytimes.com ↗)
    149comments
  23. BeanShell3 in Development(beanshell.github.io ↗)
    10comments
  24. Build Faster Feedback Loops Using Qualitative User Research(nseldeib.com ↗)
    discuss
  25. Qwen 3.8 Omni Flash(qwen.ai ↗)
    115comments
  26. Second Circuit Allows Government to Search Electronic Devices at the Border(knightcolumbia.org ↗)
    32comments
  27. Show HN: Scry, programmable internet search w/ congestion pricing(scry.io ↗)
    2comments
  28. How to Write with an LLM(sockpuppet.org ↗)
    190comments
  29. Microsoft exec called AI scraping 'the largest theft of labor in human history'(techcrunch.com ↗)
    615comments
  30. Pre-Greek: The lost language hidden within Ancient Greek(linguisticdiscovery.com ↗)
    60comments

Articles Every Programmer Should Read

248 pointsby 12y agojavarevisited.blogspot.com
66 comments
12y agoHN ↗

http://wiesmann.codiferes.net/wordpress/?p=15187&lang=en

Falsehoods programmers believe about geography

http://www.mjt.me.uk/posts/falsehoods-programmers-believe-ab...

Falsehoods programmers believe about addresses

http://www.cscyphers.com/blog/2012/06/28/falsehoods-programm...

Falsehoods programmers believe about gender

http://erratasec.blogspot.com/2012/06/falsehoods-programmers...

Falsehoods programmers believe about networks

http://pozorvlak.livejournal.com/174763.html

Falsehoods programmers believe about build systems

http://infiniteundo.com/post/25326999628/falsehoods-programm...

Falsehoods programmers believe about time

http://butgrace.com/2012/06/19/more-falsehoods-programmers-b...

More falsehoods programmers believe about time

12y agoHN ↗

I feel like I have read most of these in a piecemeal fashion, but seeing all these articles together like this really drives home the importance of paying attention to the basics. Great collection; thanks for sharing!

12y agoHN ↗

So many lists. And so many good additions by people in the comments.

There should be a github repo and site that lists everything so additions can be managed.

12y agoHN ↗

All of these are great resources. Just as "Falsehoods programmers believe about names" they are howevere not resources every programmer needs to read (though they may of course benefit from it).

And honestly, a lot of "falsehoods" are really just nitpicking. I mean yes, you may once in your lifetime encounter a user with a real name longer than 2048 characters (or wherever you've set your limit) but really, if those are your biggest problems you're in a really good position :)

12y agoHN ↗

It is usually the simpler issues that bite you when internationalizing. The separation of first and last names don't always work outside the anglosphere (and sometimes even within it). Some users have 5/6 part names etc etc.

12y agoHN ↗

Yep, that was the one I thought was conspicuously missing.

12y agoHN ↗

"What every programmer should know about SEO"

Yeah, no.

12y agoHN ↗

Why not? While there are lots of terrible SEO consultants and stupid recommendations, knowing how SEO actually works and the way it rewards good, up-to-date content, is incredibly valuable. And knowing how things really work is the best way to defeat the crummy suggestions and gimmicks that a misinformed marketer might suggest.

12y agoHN ↗

I'm just assuming here, but I think the parent commenter was referring to the fact that not every programmer needs to know SEO, since there are several disciplines that don't depend on search engine results.

12y agoHN ↗

When the article title includes the words "every programmer", that's a really large set of programmers. I don't think a programmer working on embedded systems needs to know about SEO, nor do kernel hackers, nor do scientific programmers...

12y agoHN ↗

Until they want their sexy opensource library to be used by more than one person.

12y agoHN ↗

Make good enough library, keep the source valid and the persons will come.

I have never done any special SEO tricks and yet all my content is fairly high on the results.

SEO in general is quite useless in my opinion. Make the content good enough so that people want to visit the site! Don't trick people to come there.

12y agoHN ↗

Oh, the engineer marketing moto: make a good product and customers will come. So appealing and so false!

I'm not doubting your experience, but this is such a common misconception that I must point it out.

If usage of your product is not what puts food on the table, by all means go for the engineering marketing approach. It's genuine.

If you need customers to have a roof on top of your head, though, learn marketing. It's not evil, it is necessary, and strange as it may seem, it is as important to success as product quality.

12y agoHN ↗

I think he means if your website contains information google can find it. simple as that. only thing you really need to know is that text on its own is more easily searched than images. but that should be obvious to any one.

12y agoHN ↗

In those areas, SEO is going to have little to do with the uptake of their libraries.

12y agoHN ↗

A very large number of programmers spend their time working on non-web code for companies. I don't need SEO at all... that's what our marketing department is for.

The title should have been "10 Articles Every Java Web Developer Should Read," and even then a few of them would be out of place.

12y agoHN ↗

The implication in my post was that this was for a pet project where you are the marketing team and things like choosing a good project name that's actually searchable matter.

Otherwise you end up with things called "Go" and "Ruby", both of which took years to become googlable.

12y agoHN ↗

SEO tactics and practices change so rapidly... almost any article or book written about SEO is outdated by the time it's released (unfortunately). Tactics that were considered "best practices" even 6 months ago may actually harm your site these days. -- There is no magic bullet for SEO.

12y agoHN ↗

I realize this is going to come as something of a shock to you, but most of the programmers in the world aren't cool kids working at the Next Big web startup. SEO isn't part of their world, never will be, and SEO consultants never come knocking at their door.

12y agoHN ↗

At least, if you're a programmer and need to learn a little about SEO, this is a decent article. Most information on this topic are in slideshow format, with only broad bullet points. This one is pretty text heavy and information dense, which I appreciate.

12y agoHN ↗

Maybe front-end developers; but agreed, not every programmer should know SEO.

12y agoHN ↗

I have to mess with the html to read the article because of the background..

12y agoHN ↗

On Chrome I use the Stylebot plugin because there are many sites that make it difficult to read their content.

12y agoHN ↗

I would argue that every programmer should be at least exposed to some assembly, so you can understand (and appreciate) a little more about how the computer actually does what it does.

A great (free!) ebook pdf is "Programming From The Ground Up" on the GNU site: http://download.savannah.gnu.org/releases/pgubook/

12y agoHN ↗

Life is short (or so I’m told) so why waste it doing something dumb?

Ooh Aaron... :-(

12y agoHN ↗

if we're adding "philosophy of programming" essays, i'm a huge fan of james hague's "Slumming with BASIC Programmers" [http://prog21.dadgum.com/21.html]. it's a small post, but i personally found and continue to find it very thought-provoking.

12y agoHN ↗

10 Articles every web programmer should read. Personally, SEO has zero bearing on my work. Java is only relevant to a subset of developers.

12y agoHN ↗

I'd argue that the ones on memory, floating point arithmetic and games programming networking have little relevance for most web developers.

12y agoHN ↗

Floating point arithmetic is the only arithmetic if you're a web developer.

12y agoHN ↗

Any website dealing with any form of sales/money WILL have to deal with FP arithmetic problems sooner or later!

12y agoHN ↗

Sorry, no. If you are doing your accounting in floating point, you are setting yourself up for really strange non-balancing balance sheets. You can do everything in fixed point.

Remember that fixed point does not mean the point is at the rightmost position. It means it is in a fixed position.

12y agoHN ↗

Or do all of your math in cents. Then you've only got to worry about FP at the displayed end.

12y agoHN ↗

Of course, yes. But the naive people will start using FP math - so they have to be warned as early as possible.

I'm doing all my math in fixed point (eurocent), but that has its drawbacks too if you deal with VAT and have to hit a specific total price given only a VAT rate and a net price... or if you're dealing with gas pumps and that x.xx9 cheating. Or scales, where the law requires more precision...

12y agoHN ↗

Or do it as everyone else and actually use ints instead of floating points? I thought this was common knowledge by now...

12y agoHN ↗

And I just noted the wording made me look like an asshole, sorry.

12y agoHN ↗

Sure, but not at the ultra low level that the article linked goes into. The article comes at it from an approach that if you're building (for example) scientific software then you need a deep understanding of how rounding will be performed so that the results are correct.

Don't get me wrong, understanding FP representation and arithmetic is useful for web developers, but the comment was on that actual article that was linked which goes into it in a level of depth that most web developers won't ever really need to dive into.

12y agoHN ↗

Can anyone provide some good reads on the replaying leap second concept? Has anyone ever taken advantage of this? How do projects that rely on subsecond accuracy and syncronization resolve the issue?

edit: for anyone interested, there has never been a negative leap second (it's always been something like 23:59:59, 23:59:60, 00:00:00). see http://en.wikipedia.org/wiki/Network_Time_Protocol#Security_...

edit2: however, there are negative leap seconds in UNIX time. I wonder if there's a vulernability here? see http://en.wikipedia.org/wiki/Unix_time#Leap_seconds

12y agoHN ↗

There should also be an article about how every programmer should write without too many grammatical errors. Some of the emails I used to receive were borderline incomprehensible and I'd have to go battle it out in person.

12y agoHN ↗

One might argue that this classic article equally applies to callbacks.

You could read it as a manifesto for solutions to callback hell which do not mess up your program's state, such as reactive programming.

http://www.reactivemanifesto.org/

12y agoHN ↗

For every article you tell me I must read, I'll be happy to demand you read 10 articles of my choosing in return.

12y agoHN ↗

"Numbers every programmer should know"- Probably the most interesting part of that article is the slider. As you move it up and down, you can see how all the different things get faster over time.

... Except for the final one, "Packet Roundtrip". Networks have reached a physical limit of the universe, the speed of light.

http://www.eecs.berkeley.edu/~rcs/research/interactive_laten...

12y agoHN ↗

There is no law that says that information can not travel faster than light is there? The law is just a out mass/energy.

On top of that I believe faster than light transfer of information has already been experimentally shown to exist.

12y agoHN ↗

There is no law that says that information can not travel faster than light is there?

Yes, there is. Information has to be carried by some form of mass/energy, so if mass/energy can't travel faster than light, neither can information.

I believe faster than light transfer of information has already been experimentally shown to exist.

No, it hasn't. If you're thinking of the CERN neutrino experiments a couple of years ago, that turned out to be an equipment error.

12y agoHN ↗

Hmmm... shouldn't two linked quantum particles change their state in sync, no matter the distance?

12y agoHN ↗

You can't transport information through quantum entanglement.

12y agoHN ↗

It's worth noting that the full explanation given here assumes that the many-worlds interpretation is correct, which not all physicists would agree with. But the "no-communication theorem" is true independently of which interpretation of QM you adopt.

12y agoHN ↗

This is a non-relativistic description. The correct relativistic description assigns quantum field operators to events in spacetime, and operators at spacelike separated events commute--i.e., they give the same results regardless of which order they occur in. So there is no physical fact of the matter about the order in which the particles "change state".

12y agoHN ↗

No, there are still some areas where we can make gains, practical speeds are still below c.

12y agoHN ↗

Perhaps we can back up a bit. The first reading I used to assign to my students back when I was teaching lower-level classes (I'm a C.S. prof.) is "On Following Rules" by Kirit Saelensminde.[1]

It's a quick, easy read. It makes a point that is important and not hard to understand, but that is often missed. And it provides a framework for dealing with the concepts you get from all those other articles you're supposed to read.

[1] http://www.kirit.com/On%20following%20rules

12y agoHN ↗

I'd like to add a rule 3: Don't impose or evangelize rules you don't fully understand.

12y agoHN ↗

Good idea.

Another way to think about it is that if someone doesn't understand a rule, then they are subject to the rule. If they do understand it, then the rule is subject to them.

Kirit is saying that, in the latter case (and only in that case) they get to decide whether to follow it.

One reason your idea works is that, in the first case, they don't get to assume that others are also subject to the rule.