frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Salesforce to Acquire Fin (formerly Intercom) for $3.6BN

https://www.salesforce.com/news/press-releases/2026/06/15/salesforce-signs-definitive-agreement-t...
88•colesantiago•1h ago•58 comments

What the Fuck Happened to Nerds

https://mrmarket.lol/what-the-fuck-happened-to-nerds/
472•vrnvu•5h ago•290 comments

Your ePub Is fine

https://andreklein.net/your-epub-is-fine-kobo-disagrees-blame-adobe/
736•sohkamyung•14h ago•243 comments

Apple Foundation Models

https://platform.claude.com/docs/en/cli-sdks-libraries/libraries/apple-foundation-models
270•MehrdadKhnzd•8h ago•110 comments

Ported my C game to WASM, here's everybug that I hit

http://ernesernesto.github.io/writes/portingmatchmorphosistowasm/
50•birdculture•2d ago•37 comments

Openrouter Fusion API

https://openrouter.ai/openrouter/fusion
100•tdchaitanya•6h ago•33 comments

Show HN: I wrote a C++ ray tracer from scratch without AI

https://github.com/themartiano/luz
51•martiano•4h ago•14 comments

Even more batteries included with Emacs

https://karthinks.com/software/even-more-batteries-included-with-emacs/
266•signa11•11h ago•64 comments

Asciline – real-time ASCII video rendering engine

https://github.com/YusufB5/ASCILINE
23•godot•3d ago•8 comments

Anthropic's Safety Superpower

https://stratechery.com/2026/anthropics-safety-superpower/
134•swolpers•3h ago•100 comments

Teenagers Stayed Overnight at Their School and Found Hidden Ancient Roman Ruins

https://www.smithsonianmag.com/smart-news/these-italian-teenagers-stayed-overnight-at-their-schoo...
35•thunderbong•4d ago•1 comments

Show HN: Kage – Shadow any website to a single binary for offline viewing

https://github.com/tamnd/kage
605•tamnd•20h ago•119 comments

Fox to Buy Roku Streaming Service in $22B Deal

https://www.wsj.com/business/deals/fox-roku-deal-f6e564f9
26•thm•51m ago•13 comments

Being an old school web-based sports sim dev in the era of vibe coded games

https://zengm.com/blog/2026/06/vibecoded-games/
47•YesBox•2d ago•34 comments

There Is(Ǝ) – Such That (∋)

https://www.fractalkitty.com/there-is-3-such-that/
65•evakhoury•3d ago•21 comments

Curl will not accept vulnerability reports during July 2026

https://daniel.haxx.se/blog/2026/06/15/curl-summer-of-bliss/
557•secret-noun•7h ago•220 comments

Firewood Splitting Simulator

https://screen.toys/firewood/
892•memalign•5d ago•257 comments

Dalus (YC W25) Is Hiring a Senior Software Engineer in Germany

https://www.ycombinator.com/companies/dalus/jobs/5IDmKJt-senior-software-frontend-engineer-german...
1•sebastianvoelkl•6h ago

Bitsy

https://bitsy.org/
233•tosh•3d ago•6 comments

Foreign business owners are scrambling to raise capital to stay in Japan

https://tokyopaladin.substack.com/p/foreign-business-owners-are-scrambling
84•zdw•3d ago•71 comments

21 years and counting of 'eight fallacies of distributed computing' (2025)

https://blog.apnic.net/2025/12/08/21-years-and-counting-of-eight-fallacies-of-distributed-computing/
112•teleforce•13h ago•32 comments

Successful Psilocybin Treatment of Alzheimer

https://www.frontiersin.org/journals/neuroscience/articles/10.3389/fnins.2026.1813281/full
37•cl3misch•6h ago•19 comments

Rio de Janeiro's "homegrown" LLM appears to be a merge of an existing model

https://github.com/nex-agi/Nex-N2/issues/4
374•unrvl22•22h ago•196 comments

Exploring building a tiny FUSE filesystem

https://www.shayon.dev/post/2026/161/building-a-tiny-fuse-filesystem/
41•shayonj•2d ago•6 comments

Why does paper fold so well?

https://www.bbc.co.uk/programmes/w3ct8k70
74•zeristor•1d ago•33 comments

A short history of Cerro Torre, the most controversial mountain (2012)

https://www.markhorrell.com/blog/2012/a-short-history-of-cerro-torre/
55•joebig•4d ago•31 comments

Ask HN: What are you working on? (June 2026)

268•david927•21h ago•960 comments

Formal methods and the future of programming

https://blog.janestreet.com/formal-methods-at-jane-street-index/?from_theconsensus=1
304•eatonphil•1d ago•98 comments

Windows 11 users are tired of MS account requirements creeping into everything

https://www.windowscentral.com/microsoft/windows-11/windows-11-users-are-tired-of-microsoft-accou...
454•josephcsible•15h ago•310 comments

Show HN: Trace – Offline Mac meeting transcripts you can flag mid-call

https://traceapp.info
184•AG342•1d ago•66 comments
Open in hackernews

Show HN: I wrote a C++ ray tracer from scratch without AI

https://github.com/themartiano/luz
47•martiano•4h ago

Comments

martiano•4h ago
Hey HN,

5 years ago I was 17 and learning to code C/C++ in a coding bootcamp (42). One of the projects was a simple C ray tracer. I really enjoyed working on the project and always loved computer graphics, so I decided to create my own path tracer from scratch, in C++, without using any third-party libraries.

I ended up working on it consistently for over a year, then sporadically when CG excitement hit me again. Recently I polished it and completed some unfinished features and decided to make it public, finally. It's a C++20 Path Tracer with a CPU renderer. It is able to render good-looking images with reasonable performance and sample count.

Btw this was initially coded without AI, but I've used it for the recent clean up and features. This project is a personal favorite of mine, and it can improve a lot, so I'd love to hear your feedback.

ttoinou•2h ago
Congrats ! Results look stunning
shinycode•1h ago
Congrats on doing 42 and to have worked and shared your project, very nice results !
hresvelgr•1h ago
Great work, the examples look fantastic. I will say, it's misleading to put "without AI" in the title for you to then comment on your submission that you have in fact used it. While it may only be in a trivial capacity, you've still used it.
pixelesque•1h ago
JFYI: Your inverse ray direction calculation is not NaN-safe: if rays are completely axis-parallel in one dimension, so the direction value is 0.0 for that axis, you'll be doing the val / 0.0 which results in a NaN...

Also, as you're using full double/f64-precision all the time, you're leaving a fair bit of performance on the table: transcendentals (sin(), cos(), etc) in particular - can be a lot slower than when using f32, and generally double precision can be special-cased to particular areas of the renderer that need it (curve, sphere intersection, and some situations where volume scattering produces very small distances).

deliveryboyman•35m ago
What's the proper way to handle a zero in the direction vector when calculating the reciprocal direction? Should it evaluate to infinity?
pixelesque•23m ago
Inverse is still 0.0 technically, but yes, there is a trick you can use with Inf and SIMD to mask them out, so Inf is sometimes used.

However, I'd just condition it for the moment.

so:

invDirX = dirX != 0.0 ? 1.0 / dirX : 0.0; etc, etc for each dimension.

Obviously doing the != 0.0 comparison is not great, as it suffers from potential issues again (especially if you have denormals), but you can generally get away with it I've found in most cases.

pjmlp•1h ago
Congratulations on achieving it.
smartmic•1h ago
> Btw this was initially coded without AI, but I've used it for the recent clean up and features

Then it makes sense to update the submission title. To me it reads as if the project was written completely without the help of AI (which might be a quality badge to some), but it is not 100% true then.

Anyhow, cool project ;)

manoji•1h ago
Hey ! Great work , I wanted to try something like this as well to begin my journey into games and computer graphics . I would love to know what resources you used to learn.
cultofmetatron•2h ago
for anybody else interested in this undertaking, I recommend this book https://pragprog.com/titles/jbtracer/the-ray-tracer-challeng...
Alifatisk•35m ago
> without AI

Now this is how you catch attention

glouwbug•32m ago
I expect similar headlines like “I saved on token cost by hiring juniors” to come in soon too
eleventen•6m ago
A C++ ray tracer from scratch was the course project for my computer graphics class in 2016. I enjoyed the exercise immensely. Not nearly as robust as yours of course.