milgra
Re:I'm making a game engine based on dynamic signed distance fields (S...
on Monday January 12, 2026 @08:31AM (#46588228)
I had the same idea but with voxels. The idea works fine, more work on photorealism needed : https://youtu.be/LBzuXj21_bY?t=128
Re:Writing toy software is a joy
on Wednesday June 25, 2025 @08:12AM (#44376376)
Very nice collection of toy projects, I resonate with you, I also wrote a ton of toy projects in sabbaticals, check the better ones out here : https://milgra.com/
Re:Ask HN: What Are You Working On? (October 2024)
on Monday October 28, 2024 @06:59AM (#41969793)
I've just updated SwayOS to 3.0 ( https://swayos.github.io )
Re:Show HN: A macOS app to prevent sound quality degradation on AirPods
on Monday September 30, 2024 @03:22PM (#41701004)
I solved this problem six years ago although I quit apple since and you have to update/compile it for yourself :
https://github.com/milgra/airpodssoundqualityfixer
Show HN: Termite, a minimalist real-time strategy game
Re:Show HN: Cortex – WebAssembly/WebGL reflex game
on Tuesday March 28, 2023 @06:10AM (#35338282)
Yes, the audio file is too big so I decided not to embed it for faster download speeds.
Show HN: Cortex – WebAssembly/WebGL reflex game
Converted one of my C/OpenGL games to WebAssembly/WebGL with Emscripten, it was surprisingly easy and seamless.
Re:Unix legend Ken Thompson announces he's switching From macOS To Ras...
on Sunday March 19, 2023 @04:36PM (#35223291)
I did the exactly the same and my reason is : Linux is chaos, FreeBSD is order. FreeBSD is so very well engineered, everything feels just right and logical. It's not the case with the fragmented world of Linux distributions. Unfortunately FreeBSD doesn't have the laptop driver coverage Linux has so I'm using Void Linux on my laptops because it is the most BSDish Linux.
Re:Unix legend Ken Thompson announces he's switching From macOS To Ras...
on Sunday March 19, 2023 @03:11PM (#35222397)
I'm glad you liked it! I miss the golden age of tracker music/demoscene.
Re:Unix legend Ken Thompson announces he's switching From macOS To Ras...
on Sunday March 19, 2023 @12:03PM (#35220313)
Even if you downloaded that app explicitly for key logging? That's crazy! :)
Re:Unix legend Ken Thompson announces he's switching From macOS To Ras...
on Sunday March 19, 2023 @11:08AM (#35219724)
A popup on the first start with an alert and a password prompt is a good solution, but usually too many users type in their passwords blindly in case of a password prompt, so I would go with just an alert with "you need root privileges to run this app" and then they have to figure out 1. why do they need root privileges 2. how do they start an app with root privileges.
Re:Unix legend Ken Thompson announces he's switching From macOS To Ras...
on Sunday March 19, 2023 @10:40AM (#35219381)
I don't know the exact issues but might be related to the issues why I left Apple : I was developing a very successful little tool for MacOS ( https://github.com/milgra/macmediakeyforwarder ) which listened for keypresses. From 2016 to 2019 it became harder and harder to install it because apple added more and more restrictions to apps like this. By 2019, you had to enable the application explicitly to listen for events at least in three places deep down in the system preferences, click accept in various popups and if you stuck somewhere then nobody could tell why it wasn't working. So I had a very expensive laptop and the OS didn't let me use it freely. So I just switched to freebsd and linux, I don't have fancy productivity apps like photoshop and final cut but with open source tools and with my own desktop applications I created the best looking/most usable desktop experience MacOS will never have. ( https://swayos.github.io/ )
Show HN: Automated UI and functional testing with KineticUI
Re:Few lesser known tricks, quirks and features of C
on Monday February 20, 2023 @02:22AM (#34865861)
I just include them, everything works as before. If I have to create a library then I create a separate header file for the api functions and only the internals are headerless.
Re:Few lesser known tricks, quirks and features of C
on Monday February 20, 2023 @02:19AM (#34865834)
It reduces file count in the project browser, renaming/refactoring is much simpler in one file, it just feels like working with a newer language.
Re:Few lesser known tricks, quirks and features of C
on Sunday February 19, 2023 @03:36PM (#34861588)
Very nice collection. My favorite C feature is actually a gcc/clang feature : the __INCLUDE_LEVEL__ predefined macro. It made me code&maintain my C projects exactly twice as fast as before because file count dropped to half : https://github.com/milgra/headerlessc .
Show HN: Sway Overview, an overview application for SwayWM
Re:Show HN: Mass Brawl ( WebGL/ClojureScript Game)
on Saturday January 21, 2023 @03:24PM (#34470056)
I will add a bounce back and collapse effect and energy loss :)
Re:Show HN: Mass Brawl ( WebGL/ClojureScript Game)
on Saturday January 21, 2023 @03:22PM (#34470046)
It needs more polishing and more mobile testing.
Re:Show HN: Mass Brawl ( WebGL/ClojureScript Game)
on Saturday January 21, 2023 @03:21PM (#34470022)
Yes, they were on purpose, I really like the style of old cartoons and they do this - cuphead also does something similar. I wrote about the clojurescript development experience in the github readme ( https://github.com/milgra/cljs-brawl ), it was pleasant, I will port my other C/OpenGL games as soon as I have time.
Re:Show HN: Mass Brawl ( WebGL/ClojureScript Game)
on Saturday January 21, 2023 @12:46PM (#34468301)
Thank you! The music was composed by Attila Blaho, one of Hungary's best jazz pianist, I guess it took him max 10 minutes :)
Re:Show HN: Mass Brawl ( WebGL/ClojureScript Game)
on Saturday January 21, 2023 @12:42PM (#34468262)
Wow, thank you very much! :) I'm glad you like it and thanks for the suggestions.
Show HN: Mass Brawl ( WebGL/ClojureScript Game)
Re:Show HN: Headerless C programming with __INCLUDE LEVEL__
on Thursday December 22, 2022 @03:17AM (#34091037)
Yes, that can be a problem, I used it for linux/FreeBSD development only so far.