181 karma · joined Oct 24, 2020 (6y ago) · 55 submissions
comment 3y ago · link · parent
#SPACE:: Winset, Alwaysontop, , A
(Save to set-always-on-top.ahk, and create a shortcut to the script in %userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup. Optionally add #NoTrayIcon at the top of the script to get rid of the tray icon.)comment 3y ago · link · parent
comment 3y ago · link · parent
On the .NET side, the language is more suitable because you can define your own value types (coming soon in Java AFAIK), and there is a lot of people using C# for game dev which is a big use case for GC optimization.
Unity has been integrating unmanaged allocators in their engine, which lets developers skip the GC much more easily (without having to manually preallocate and reuse memory, which isn’t anyone’s favorite workflow, and doesn’t save you much compared to a fast native allocator). I’ve also seen a couple of roughly equivalent projects, eg. Smmalloc-CSharp, github.com/alaisi/nalloc.
comment 4y ago · link · parent
On a different note, I do host my own Git server, but between maintainance downtime, power outages and ISP issues, my availability isn't nearly as good as GitHub's.
comment 4y ago · link · parent
One other alternative is Idea/Rider's Local History feature which is basically a parallel repo of your entire project that automatically saves a snapshot of your changes every time you save a file. Super useful for all kinds of backtracking, and you don't even need to remember to use it until you actually need it.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
My old phone works just fine (...for an Android, that is), and I don't even mind the cracked backplate. The battery capacity keeps decreasing year after year, but even that feels like a feature in disguise. It won't get an upgrade to the new Android (by design, I presume), but I don't care. Have I gotten old? Is it me? Or is it you?
comment 4y ago · link · parent
(But then again, I ended up getting a .dev domain at a different registrar, so I guess I'm screwed either way)
comment 4y ago · link · parent
These days I worry about it less, primarily because C# let's you "go lower" when needed, and it feels like the concepts translate well enough. (But I still do plan on investing some time in both C and Rust... soon.)
50.
Detours: Redirecting C# Methods at Runtime(tryfinally.dev ↗)
2 points · by tryfinally · 4y ago · discuss
comment 4y ago · link · parent
It's a win-win: you absorb languages for free as a child, and you later get to enjoy art in its original unmutilated form.
comment 4y ago · link · parent