w4rh4wk5

Joined 13 years ago

Karma
1,144
Submissions
381
Member since
Aug 31
Developer at https://games.ph3.at/
View on Hacker News

Recent submissions

Comment · 11 days ago
Nice! How do I get this into Skyrim now?
Comment · 4 months ago
For anyone interested in a single-body, low-profile mechanical keyboard with a split layout, checkout PERIBOARD-335. Highly recommend it.
Comment · 5 months ago
I highly doubt that. Photoshop, even for 95% of users, is pretty heavy on non-destructive editing. GIMP did not have that for a very long time and is no where near feature parity today AFAIK.

Don't get me wrong, Photoshop sucks hard, Adobe as a company even more, but on a technical level most Photoshop users cannot transition to GIMP.

Edit: Although, I have to highlight that GIMP has made noticeable progress within the last years. I can now, finally, group two layers together and apply a drop shadow effect to the group, which correctly applies to all layers within the group. It's been quite a while...

Comment · 5 months ago
At this point, I am thinking about connecting a stock Android phone to a server and access it via scrcpy from my laptop whenever I need to interact with some stupid app bs that could've just been a website.

At least this way I can keep the majority of bloat away from primary communications device.

Comment · 5 months ago
Yeah, in my field this approach is pretty much infeasible.

Typically, I am given an ancient code base that is full of bad decisions, hard to read code and no tests in sight. Sometimes there are assertions, if I am lucky. It's impractical to create a reliably test suite, or rewrite everything from scratch.

Here, I heavily rely on a debugger just to make sense of the code. Sure, I'd wish that all of this code would just be sparkling clean, easy to read, free of UB, etc. But that's not the reality I work in, and good debugger is my number one tool getting the job done.

And don't even get me started on dealing with closed source implementations where all you could read is disassembly.

Comment · 5 months ago
Comment · 5 months ago
I'd argue reflection is very much a feature for libraries. You wouldn't use it directly, but your JSON / YAML serialize is then built on top of it. So are your bindings for scripting engines like Lua.
Comment · 5 months ago
IIRC Ubuntu provided this when they introduced Unity -- quite a long time ago. When the window is maximized the menubar was merged into the top panel, but when the window was not maximized it looked like a regular window with tilebar and menubar at the window's top.

Not long ago there was also a KDE extension to replicate this; however, since many GNOME apps moved away from menubars, this approach isn't that helpful anymore.

Comment · 5 months ago
I've been wondering about debug-ability of code using reflection. X-Macros are quite annoying to step through in most debuggers, though possible. While the code in the first example is evaluated fully at compile-time, how would you approach debugging it?
Comment · 5 months ago
The panel itself is not the problem, it's the lack of integration with windows. In GNOME, when you maximize a window, the title bar stacks underneath the top bar. If that window also happens to have a menubar (e.g. LibreOffice) that gets stack underneath as well.

This is just a lot of wasted space and makes the menubar harder to click, compared to having the menubar at the very top, next to the screen boundary.

Comment · 6 months ago
I commonly hear people saying that, but then other people claiming this isn't true.

Is there a clear source for this mechanism?

Comment · 6 months ago
DXVK works great for DirectX 11. However, it's rather annoying to debug through this intermediate layer. I wouldn't recommend this for development.
Comment · 6 months ago
From my experience having used Haskell (a long time ago), the main benefit of Monads is the `do` and <- syntax. Once you got your thing to satisfy the Monad interface, you unlocked the nice syntax for writing code. That, and compatibility with transformers.

Whether this is the best thing since sliced bread or not, is left as an exercise to the reader.

Comment · 6 months ago
I'd argue it's absolutely ludicrous to give _other people's information_ up to an app (or website). Your contacts contain names, phone numbers, potentially photos and addresses of _other people_.
Comment · 7 months ago
Multi cursor support in VSCode replaced 98% of my need for macros. Yes, macros are more powerful, but they are pretty easy to get wrong. With multiple cursors, it's far easier to spot where your inputs don't work out and adjust accordingly.

Multi cursor is the feature that increased my productivity the most across the board.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton