Better HN
topnewbestaskshowjobs
Log inSign up

naruse

2 karma · joined Mar 14, 2012 (14y ago) · 9 submissions

Games programmer, loves 3D Stuff, proficient in Unity GameEngine.
Submissions

comment 5d ago · link · parent

I wanted to create a toy OS that I can only use it for logging on SSH, so in the age of AI there is no excuse, I wrote SSH OS. There is no System 6 underneath, Apple's ROM reads the kernel from the disk and then the whole OS loads.

Two issues I found where quite interesting:

1. Crypto on a 8 MHz 68000 processor. Each of the calculations of an SSH login takes around 12-20 secs, so about ~1min in all. And a session then manages about 7kb/s of ChaCha20-Poly1305. The fix was already in the machine by using theBlueScsi. so I added on vendor SCSI command to its firmware so I the SE could hand off the arithmetic and packet encryption and fall back to doing it ifself if the firmware doesnt have that command available.

2. Drawing. Full screen programs that repaint every row for each new line where quite slow since every letter was redrawn. Right now the terminal just keeps a copy of what is on the screen, notices when a repain is a scroll and just move pixels and draws only what differs.

I tested it out on my Mac SE (with the FDHD ROM, 4MB BlueSCSI v2)

here's a video of it running it https://youtube.com/shorts/fllByS_XcJg

Limits: One machine model, no colors, US KB only and the random numbers come from input and network timing (which is weaker but it works).

Happy to answer any questions :)

2.

Show HN: SSH OS – an SSH-only operating system for the 1987 Macintosh SE(github.com ↗)

1 points · by naruse · 5d ago · 1 comment

3.

Getting Steam VR Tracking Data Only Without an HMD(pencilsquaregames.com ↗)

2 points · by naruse · 9y ago · discuss

comment 11y ago · link · parent

SubTranslate is a simple tool for automatically translating "srt" subtitles for your movies using the google translate service.

This is a command line tool written in Python 3 to translate your subtitles for your series or movies.

5.

SubTranslate – Translate srt files quick and easy(github.com ↗)

2 points · by naruse · 11y ago · 1 comment

comment 11y ago · link · parent

Hey Guys,

I've created a small tutorial showing how to reduce draw calls in Unity, it works for any type of shader and if you combine the meshes it also will work on Unity free.

any feedback, appreciated ;)

7.

How to reduce draw calls in Unity (also for Unity 5)(pencilsquaregames.com ↗)

2 points · by naruse · 11y ago · 1 comment

comment 11y ago · link · parent

totally agree