News for hackers. Stuff that matters.

JSLegendDev

Ask HN: What tools/workflow do you use to write technical books?

What is the most straightforward way to write a technical book that needs to contain nicely formatted code snippets and images.I've seen people using markdown, but how do you get a nice workflow where multiple markdown files gets converted into a single nicely formatted pdf/epub with a clickable table of contents and pagination.

( Read More... | no comments | 2 points | on HN )
Re:You Can Now Make PS2 Games in JavaScript on Friday November 21, 2025 @05:28PM (#46009775)
I think the game Cross Code (a game written in JS) was ported to consoles using a pretty complex process.

Here is a detailed blog post about the topic : https://www.radicalfishgames.com/?p=6892

Thanks for the feedback! Very much appreciated!
That's because I'm using GemShell. It's tool that generates executables using, under the hood, Neutralino which is similar to Tauri (uses the OS's webview rather than packaging a Chromium instance).

More info here, if you're interested : https://jslegenddev.substack.com/p/export-web-games-for-desk...

Hi everyone! I'm the dev behind this work-in-progress game.

This post was intended for my existing audience and I didn't expect for it to be posted on HN.

Anyway, now that it's here, feedback on performance is still very much appreciated!

The reason I'm not making this web playable despite being built using web technologies is that I'm targeting Steam for this game. Therefore, I need to make sure the game works well when installed as an executable on Mac, Windows, Linux.

There was already trust established between me and my audience so that's why it felt appropriate to tell them to download executables.

I understand why HN users not familiar with me, would be wary of downloading random executables from the internet. It's a good instinct to have!

Re:Harvest Move – A game that requires careful movement on Wednesday July 02, 2025 @09:43PM (#44450799)
Thanks! Didn't know that game. Thanks for sharing.

Ask HN: How do you determine if something is a sunk cost VS needing patience?

I think most of us heard about something called the sunk cost fallacy.It implies that someone might keep investing in an endeavour because they have already invested a lot up to this point instead of investing their energy in something else which would be more beneficial for them.However, in practice, I find it very hard to determine when to give up and switch to something else VS be patient to...

( Read More... | 5 comments | 3 points | on HN )

Older »