IRQBreaker

joined 1 year ago
[–] IRQBreaker@startrek.website 4 points 1 year ago (4 children)

Laughing in Debian 12

[–] IRQBreaker@startrek.website 13 points 1 year ago

Absolutely! I play mainly two games. DayZ and Eve Online. Both run way faster on my Debian 12 rig compared to running on Windows 11.

Granted, it took a while to figure out how to self-sign the Nvidia driver (secure boot). But once that was sorted it was smooth sailing.

[–] IRQBreaker@startrek.website 5 points 1 year ago (1 children)

Almost expected it to be implemented in Electron but was happily wrong. Nice work!

[–] IRQBreaker@startrek.website 3 points 1 year ago

Alacritty + tmux!

[–] IRQBreaker@startrek.website 1 points 1 year ago (4 children)

Oh, I've done my fair share of C++ and Python as well. But you got to agree with me that when you are on your fourth indented "if case" it's time to step back and think about what you are trying to achieve. I mean it's probably going to work, but probably also very hard to maintain that type of code.

[–] IRQBreaker@startrek.website 12 points 1 year ago (6 children)

As an embedded software developer that does linux kernel drivers I've come to love the tab size 8 indentation level.

I'm paraphrasing: "if your indentation level gets too deep, it's time to rethink/refactor your function."

And with tab 8 you'll notice it rather quick if your function does too much/unrelated stuff.

A function should be short and do one thing only, if possible. It also makes unit testing easier if that's a requirement.

view more: ‹ prev next ›