frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

AGI is an engineering problem, not a model training problem

https://www.vincirufus.com/posts/agi-is-engineering-problem/
71•vincirufus•3h ago•137 comments

The cost of interrupted work (2023)

https://blog.oberien.de/2023/11/05/23-minutes-15-seconds.html
116•_vaporwave_•5h ago•67 comments

Show HN: How to Build a Coding Agent (free workshop)

https://ghuntley.com/agent/
4•ghuntley•21m ago•0 comments

How can AI ID a cat?

https://www.quantamagazine.org/how-can-ai-id-a-cat-an-illustrated-guide-20250430/
107•sonabinu•3d ago•28 comments

Line scan camera image processing for train photography

https://daniel.lawrence.lu/blog/y2025m09d21/
225•dllu•11h ago•44 comments

A 2k-year-old sun hat worn by a Roman soldier in Egypt

https://www.smithsonianmag.com/smart-news/a-2000-year-old-sun-hat-worn-by-a-roman-soldier-in-egyp...
98•sensiquest•8h ago•13 comments

What makes Claude Code so damn good

https://minusx.ai/blog/decoding-claude-code/
204•samuelstros•8h ago•168 comments

Static sites with Python, uv, Caddy, and Docker

https://nkantar.com/blog/2025/08/static-python-uv-caddy-docker/
104•indigodaddy•1d ago•63 comments

Physics of badminton's new killer spin serve

https://arstechnica.com/science/2025/08/physics-of-badmintons-new-killer-spin-serve/
34•amichail•3d ago•4 comments

Librebox: An open source, Roblox-compatible game engine

https://github.com/librebox-devs/librebox-demo
244•libreboxdevs•16h ago•66 comments

Evaluating LLMs for my personal use case

https://darkcoding.net/software/personal-ai-evals-aug-2025/
8•goranmoomin•3h ago•0 comments

Taking a look at my old Palm IIIx – by Paul Lefebvre

https://www.goto10retro.com/p/taking-a-look-at-my-old-palm-iiix
8•rbanffy•3d ago•3 comments

Acronis True Image costs performance when not used

https://randomascii.wordpress.com/2025/05/26/acronis-true-image-costs-performance-when-not-used/
88•juanviera23•3d ago•18 comments

RFC 9839 and Bad Unicode

https://www.tbray.org/ongoing/When/202x/2025/08/14/RFC9839
220•Bogdanp•14h ago•116 comments

Texas Instruments’ new plants where Apple will make iPhone chips

https://www.cnbc.com/2025/08/22/apple-will-make-chips-at-texas-instruments-60-billion-us-project....
115•giuliomagnifico•1d ago•96 comments

Motion (YC W20) Is Hiring Principal Software Engineers

https://jobs.ashbyhq.com/motion/7355e80d-dab2-4ba1-89cc-a0197e08a83c?utm_source=hn
1•ethanyu94•6h ago

Why was Apache Kafka created?

https://bigdata.2minutestreaming.com/p/why-was-apache-kafka-created
97•enether•1d ago•92 comments

DeepCode: Open Agentic Coding

https://github.com/HKUDS/DeepCode
9•pykello•2h ago•2 comments

Debdelta

https://debdelta.debian.net/
15•Bogdanp•4h ago•2 comments

Romhack.ing's Internet Archive Mirror No Longer Available

https://romhack.ing/database/news/entry/DW8BKnRHSEqaGDwXTiKjMw
135•pharrington•6h ago•23 comments

Not so prompt: Prompt optimization as model selection (2024)

https://www.gojiberries.io/not-so-prompt-prompt-optimization-as-model-selection/
6•neehao•2h ago•0 comments

Hacker and physicist – a tale of "common sense"

https://www.supasaf.com/blog/general/hacker_physicist
19•supasaf•1d ago•5 comments

The Cornervery: A 90-Degree Stapler

https://www.core77.com/posts/138232/The-Cornervery-A-90-Degree-Stapler
30•surprisetalk•2d ago•6 comments

Libre – An anonymous social experiment without likes, followers, or ads

https://libreantisocial.com
88•rododecba•10h ago•120 comments

Writing Speed-of-Light Flash Attention for 5090 in CUDA C++

https://gau-nernst.github.io/fa-5090/
138•dsr12•15h ago•31 comments

Monoid-Augmented FIFOs, Deamortised

https://pvk.ca/Blog/2025/08/19/monoid-augmented-fifos/
31•todsacerdoti•4d ago•12 comments

Optimizing our way through Metroid

https://antithesis.com/blog/2025/metroid/
109•eatonphil•1d ago•18 comments

Exploring EXIF (2023)

https://hturan.com/writing/exploring-exif
57•jxmorris12•2d ago•8 comments

A simple way to generate random points on a sphere

https://www.johndcook.com/blog/2025/05/06/random-points-on-a-sphere/
60•piinbinary•4d ago•53 comments

450× Faster Joins with Index Condition Pushdown

https://readyset.io/blog/optimizing-straddled-joins-in-readyset-from-hash-joins-to-index-conditio...
106•marceloaltmann•4d ago•46 comments
Open in hackernews

Stepanov's biggest blunder? The curious case of adjacent difference

https://mmapped.blog/posts/43-stepanovs-biggest-blunder
30•signa11•2d ago

Comments

getnormality•7h ago
For anyone wanting to go deeper, Knuth's Concrete Mathematics covers the discrete calculus topics mentioned here (and much more).
pizza•3h ago
This is also known as "The Fundamental Theorem of Stream Calculus" in stream calculus. Using coinduction for an (infinite) stream sigma, eg

    sigma(0)      = head(sigma)
    sigma'        = tail(sigma)
    (a ++ sigma)' = sigma
fph•5h ago
I think it's also because C++ has no generic concept of "zero"; otherwise one could have defined the first element of adjacent_difference(v) as v(1)- zero<typeof(v)>, and it would have been type-stable.
akoboldfrying•3h ago
I think that would fix the issue at the type level (up to a point; for unsigned types, the "correct" type for the result of a subtraction is underdetermined -- it could be any of {same type, larger signed type, same-size signed type} depending on the circumstances).

But I think the more serious niggle is the fact that that first element shows up in the output at all. OTOH, I suppose you could write a discard_first iterator adaptor that ignores the first write and increment and passes the rest through to the underlying output iterator.

plorkyeran•39m ago
T{} is now sort of that, but it didn't exist yet when adjacent_difference was written.