frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

When We Get Komooted

https://bikepacking.com/plog/when-we-get-komooted/
144•atakan_gurkan•3h ago•62 comments

Linux on Snapdragon X Elite: Linaro and Tuxedo Pave the Way for ARM64 Laptops

https://www.linaro.org/blog/linux-on-snapdragon-x-elite/
70•MarcusE1W•3h ago•36 comments

Chemical process produces critical battery metals with no waste

https://spectrum.ieee.org/nmc-battery-aspiring-materials
122•stubish•5h ago•6 comments

Sapients paper on the concept of Hierarchical Reasoning Model

https://arxiv.org/abs/2506.21734
52•hansmayer•3h ago•9 comments

Smallest particulate matter air quality sensor for ultra-compact IoT devices

https://www.bosch-sensortec.com/news/worlds-smallest-particulate-matter-sensor-bmv080.html
81•Liftyee•7h ago•29 comments

Fast and cheap bulk storage: using LVM to cache HDDs on SSDs

https://quantum5.ca/2025/05/11/fast-cheap-bulk-storage-using-lvm-to-cache-hdds-on-ssds/
97•todsacerdoti•6h ago•24 comments

A low power 1U Raspberry Pi cluster server for inexpensive colocation

https://github.com/pawl/raspberry-pi-1u-server
59•LorenDB•3d ago•24 comments

Janet: Lightweight, Expressive, Modern Lisp

https://janet-lang.org
61•veqq•9h ago•27 comments

Resizable structs in Zig

https://tristanpemble.com/resizable-structs-in-zig/
129•rvrb•12h ago•56 comments

Implementing dynamic scope for Fennel and Lua

https://andreyor.st/posts/2025-06-09-implementing-dynamic-scope-for-fennel-and-lua/
10•Bogdanp•3d ago•0 comments

How we rooted Copilot

https://research.eye.security/how-we-rooted-copilot/
308•uponasmile•18h ago•123 comments

Purple Earth hypothesis

https://en.wikipedia.org/wiki/Purple_Earth_hypothesis
228•colinprince•3d ago•63 comments

Rust running on every GPU

https://rust-gpu.github.io/blog/2025/07/25/rust-on-every-gpu/
544•littlestymaar•1d ago•181 comments

16colo.rs: ANSI/ASCII art archive

https://16colo.rs/
48•debo_•3d ago•12 comments

Low cost mmWave 60GHz radar sensor for advanced sensing

https://www.infineon.com/part/BGT60TR13C
79•teleforce•3d ago•28 comments

Coronary artery calcium testing can reveal plaque in arteries, but is underused

https://www.nytimes.com/2025/07/26/health/coronary-artery-calcium-heart.html
97•brandonb•12h ago•82 comments

Beyond Food and People

https://aeon.co/essays/nietzsches-startling-provocation-youre-edible-and-delicious
10•Petiver•3h ago•2 comments

Cable Bacteria Are Living Batteries

https://www.asimov.press/p/cable-bacteria
32•mailyk•3d ago•2 comments

Personal aviation is about to get interesting (2023)

https://www.elidourado.com/p/personal-aviation
106•JumpCrisscross•11h ago•90 comments

What went wrong for Yahoo

https://dfarq.homeip.net/what-went-wrong-for-yahoo/
184•giuliomagnifico•16h ago•174 comments

Show HN: QuickTunes: Apple Music player for Mac with iPod vibes

https://furnacecreek.org/quicktunes/
77•albertru90•10h ago•23 comments

Paul Dirac and the religion of mathematical beauty (2011) [video]

https://www.youtube.com/watch?v=jPwo1XsKKXg
70•magnifique•12h ago•4 comments

Teach Yourself Programming in Ten Years (1998)

https://norvig.com/21-days.html
87•smartmic•13h ago•38 comments

Reading QR codes without a computer

https://qr.blinry.org/
15•taubek•3d ago•2 comments

The natural diamond industry is getting rocked. Thank the lab-grown variety

https://www.cbc.ca/news/business/lab-grown-diamonds-1.7592336
207•geox•22h ago•247 comments

Getting decent error reports in Bash when you're using 'set -e'

https://utcc.utoronto.ca/~cks/space/blog/programming/BashGoodSetEReports
121•zdw•3d ago•34 comments

Has the Russian intelligence service penetrated Telegram?

https://www.perplexity.ai/search/is-there-evidence-that-suggest-FMgkZrx3SHONR2v1wSC.zg
7•lamg•25m ago•0 comments

Arvo Pärt at 90

https://www.theguardian.com/music/2025/jul/24/the-god-of-small-things-celebrating-arvo-part-at-90
87•merrier•13h ago•24 comments

Where are vacation homes located in the US?

https://www.construction-physics.com/p/where-are-vacation-homes-located
98•rufus_foreman•16h ago•69 comments

Torqued Accelerator Using Radiation from the Sun (Tars) for Interstellar Payload

https://arxiv.org/abs/2507.17615
64•virgildotcodes•11h ago•7 comments
Open in hackernews

Algos and Code Performance: Your Code Works but Can It Handle Real Traffic?

https://beon.tech/blog/optimizing-algorithms-code-performance
24•Telstrom90•3d ago

Comments

aaronbrethorst•9h ago
Rule 1 for performance optimization: measure before trying to make any changes. It’s easy to waste a lot of time and energy optimizing something that isn’t actually going to meaningfully improve your web app’s performance.

Personally, I like Sentry. They have a pretty generous free tier and a great code/db tracing tool.

(And yes I see that the author lists ‘measure’ as their second point. I think they’re mistaken.)

ivanmontillam•9h ago
This article is also very easy to misinterpret.

This article cannot be read by software developers that still fall into premature optimizations traps.

Basically, you must be first experienced or this kind of advice will hurt your codebase.

atomicnumber3•5h ago
And rule 0 is: if there's nothing to measure, there's nothing to optimize.

In my career, the worst "oh shit this doesn't scale" problems have been encountered in systems that were grossly over-designed - to the point that development had a noticeable "tax" due to dealing with it - and then the first time they encounter actual load (a customer writes a tight for loop on our API, or a customer decides to make 100000 of our widgets via automation, etc) it immediately shits the bed because they had no idea something would need to scale along a certain axis.

And mind you, that's really no ding on the original devs. Except for 2 points: they'd been banging on about how big-brain the original architecture is, and now the unanticipated scaling axis is orthogonal to the one we had originally invested so much in scaling along and it's significantly hampered by it.

It's really just best to write something simple that works and just doesn't commit any obvious sins. Then when you learn your REAL requirements, it'll be easy to adapt the code to them.

izacus•2h ago
True, measuring is critical. But if you fundamentally misdesigned your software, measuring won't help you (except to tell you everything is fscked).

Having some fundamental skill of designing performant systems is critical on a team.

mannyv•5h ago
Optimization can't fix a bad design.

You have to design it to perform; optimization speeds up hotspots in the design. But no optimization will make your app scalable or perform well under load. You can throw money at it by scaling vertically or horizontally, but that won't fix bad design (though it'll keep things going).

4ndrewl•3h ago
> , performance should be a consideration from the start

Don't obsess over this. Obsess over documenting your design decisions - why you decided one algorithm or pattern over another and why. Then _if_ after load testing you need to optimise you'll understand some of the tradeoffs you'll have to make (all decisions are tradeoffs).

izacus•2h ago
No, please do obsses over this while designing. The amount of times I have to say "you can't fix these performance issues without rewriting majority of your software" is too damn high.

I mean, I make a lot of money as performance specialist, but it's still a dumb waste when you see failing products and companies because their rockstar developers refused to spend 30 minutes thinking about how well their architecture and code performs. You can't fix everything later.

4ndrewl•2h ago
But most organisational failures are not down to performance - they're down to market fit.

You don't have performance issues if you don't have a product that people want. :)