The best Hacker News stories from All from the past day

Go back

Latest posts:

You don't have to pay the Microsoft 365 price increase

Salesforce will hire no more software engineers in 2025, says Marc Benioff

NeuralSVG: An Implicit Representation for Text-to-Vector Generation

Show HN: Tetris in a PDF

I realized that the PDF engines of modern desktop browsers (PDFium and PDF.js) support JavaScript with enough I/O primitives to make a basic game like Tetris.<p>It was a bit tricky to find a union of features that work in both engines, but in the end it turns out that showing/hiding annotation "fields" works well to make monochrome pixels, and keyboard input can be achieved by typing in a text input box.<p>All in all it's quite janky but a nice reminder of how general purpose PDF scripting can be. The linked PDF is all ASCII so you can just open it in a text editor, or have a look at the source code here: <a href="https://github.com/ThomasRinsma/pdftris/blob/main/gengrid.py">https://github.com/ThomasRinsma/pdftris/blob/main/gengrid.py</a>

Show HN: Tetris in a PDF

I realized that the PDF engines of modern desktop browsers (PDFium and PDF.js) support JavaScript with enough I/O primitives to make a basic game like Tetris.<p>It was a bit tricky to find a union of features that work in both engines, but in the end it turns out that showing/hiding annotation "fields" works well to make monochrome pixels, and keyboard input can be achieved by typing in a text input box.<p>All in all it's quite janky but a nice reminder of how general purpose PDF scripting can be. The linked PDF is all ASCII so you can just open it in a text editor, or have a look at the source code here: <a href="https://github.com/ThomasRinsma/pdftris/blob/main/gengrid.py">https://github.com/ThomasRinsma/pdftris/blob/main/gengrid.py</a>

Luigi Mangione's account has been renamed on Stack Overflow

Show HN: Atlas of Space

Hello HN! Sharing a recent side project of mine, the Atlas of Space, that I built out to explore the Solar System.<p>As a long-time space nerd, I realized recently that I didn't have a good intuition on the scale, speed, and relative orientation of the celestial bodies around us. So over the break I built out a kind of spatial Wikipedia to click around and learn about planets, moons, asteroids, and other bodies orbiting the Sun.<p>The physics is all simulated in the browser using simple Newtonian mechanics. There's a lot left to do from here, including modeling objects in non-Keplerian orbits and replaying different spacecraft missions.<p>Hope you have fun clicking around, and curious to hear what I should improve next!

Show HN: Atlas of Space

Hello HN! Sharing a recent side project of mine, the Atlas of Space, that I built out to explore the Solar System.<p>As a long-time space nerd, I realized recently that I didn't have a good intuition on the scale, speed, and relative orientation of the celestial bodies around us. So over the break I built out a kind of spatial Wikipedia to click around and learn about planets, moons, asteroids, and other bodies orbiting the Sun.<p>The physics is all simulated in the browser using simple Newtonian mechanics. There's a lot left to do from here, including modeling objects in non-Keplerian orbits and replaying different spacecraft missions.<p>Hope you have fun clicking around, and curious to hear what I should improve next!

LA wildfires force thousands to evacuate, NASA JPL closed

Operating System in 1,000 Lines – Intro

Operating System in 1,000 Lines – Intro

Who killed the rave?

Cracking a 512-bit DKIM key for less than $8 in the cloud

Cracking a 512-bit DKIM key for less than $8 in the cloud

I had to take down my course-swapping site or be expelled

I had to take down my course-swapping site or be expelled

Show HN: Tramway SDK – An unholy union between Half-Life and Morrowind engines

Hello everyone, I would like to see if there is any interest in this little project that I have been working on for the past few years.<p>Could be relevant, seeing the direction in which the mainstream game engines are going.<p>I didn't really like any of the already existing options, so I tried to make my own and it turned out to be easier than expected.<p>It's sort of like a low-budget Unreal/Source, but with open-world streaming support and it is free and open source. Very old-school. But optimized for more modern hardware. Very fast too.<p>Still not production ready, but it seems like it is mostly working.<p>I want to finish a few larger projects with it to see what happens.<p>Btw, the name is probably temporary.

Show HN: Tramway SDK – An unholy union between Half-Life and Morrowind engines

Hello everyone, I would like to see if there is any interest in this little project that I have been working on for the past few years.<p>Could be relevant, seeing the direction in which the mainstream game engines are going.<p>I didn't really like any of the already existing options, so I tried to make my own and it turned out to be easier than expected.<p>It's sort of like a low-budget Unreal/Source, but with open-world streaming support and it is free and open source. Very old-school. But optimized for more modern hardware. Very fast too.<p>Still not production ready, but it seems like it is mostly working.<p>I want to finish a few larger projects with it to see what happens.<p>Btw, the name is probably temporary.

Mistakes engineers make in large established codebases

Mistakes engineers make in large established codebases

< 1 2 3 ... 114 115 116 117 118 ... 851 852 853 >