Linux doesn't always work. We know that. But it looks like you're misconstruing your specific issue with some broader argument for Linux being mainstream. The fact that you connected it to a switch tells me that youre already more advanced than the average user. I get you're annoyed, but you can also just ask about your specific issue.

[-] ExperimentalGuy@programming.dev 6 points 2 months ago

The article made a few good points, but a good amount of it was conjecture. I liked the part about comparing the two functions and showing that exceptions are faster but I think a big thing he's not getting is readability. Even in the functions he showed, you can directly see that the one using std::expected has the happy path and error path directly in the function signature, whereas the exception one doesn't.

As for the "error kind" trap he was talking about, that definitely exists, but ignores the fact that you can also get this same kind of error from exceptions. I've definitely gotten exceptions that I didn't understand from Python or Java libraries, but it's not a problem with exceptions but a problem with how they're shown. If there's nothing to tell me that I should have thought of that error, it shouldn't be an expectation for a dev to have thought of it.

[-] ExperimentalGuy@programming.dev 9 points 3 months ago

I use vim bindings in vscode, but I'm trying to switch to neovim.

It's hard to talk about efficiencies without use cases but here's some that I like:

  • Compared to using mouse, text selection is just much easier in vim. Instead of accidentally highlighting an extra space and clicking somewhere on accident which gets rid of my selection, vim lets me go directly to the end of the word and be precise about where I'm selecting.
  • I remember before I used vim, I would count the number of times I hit the backspace or delete when I had heavily nested parentheses. With vim I just type the exact number I want, and if I were to undo that operation I also know exactly what was changed, whereas when counting there's always the possibility of miscounting or pressing delete without counting.
  • I don't have to scroll. I can jump 100 lines in less than a second. Instead of searching through long files to find where I left off, I just generally remember what line number I was at, then I can simply just jump back.
  • Forces me to type better. Before vim I had really shitty typing form(I don't know what it's actually called) but switching to vim shone a light on exactly how I was typing wrong, and now I type faster.
  • Using the % operator you can jump between brackets or parentheses. This comes in handy especially when you want to highlight the inside of a function call, or just jump to the end of a pair of brackets
[-] ExperimentalGuy@programming.dev 7 points 6 months ago

You can make nice little self watering pots with a 3d printer and the right filament.

Those extending swords are really fun.

There are also 3d puzzles you can make.

You can also print models you'd like to paint as minis. You just need the model, sandpaper, primer and some paint.

[-] ExperimentalGuy@programming.dev 9 points 8 months ago

I'm working on a distributed network scanner. Mostly for my own understanding of networking because there's always something new to learn in this space

[-] ExperimentalGuy@programming.dev 6 points 10 months ago* (last edited 10 months ago)

It kinda seems like if AWS permissions management and torrenting had a baby. Edit: in all seriousness tho, I like the data model. Are there any libraries that support this yet?

[-] ExperimentalGuy@programming.dev 6 points 10 months ago

This is an amazing idea for a bit and I really appreciate whoever made it.

[-] ExperimentalGuy@programming.dev 6 points 11 months ago

Ive never used wd 40 during sex before. I'm sure it'll be a surefire way to get an insurance covered vasectomy, also known as testicular cancer.

Dual boot or vm or use proton. The steam deck uses Linux and uses proton. I haven't had a game not run smoothly while using proton either.

I'd agree with another comment that this is generally overthinking it. Are you planning on expanding this game to accommodate other features and that's why being deliberate about this memory model is important? How much time are you planning on doing this in? Ask yourself questions about your goals before diving into a solution.

[-] ExperimentalGuy@programming.dev 8 points 1 year ago* (last edited 1 year ago)

I kinda love how fast the binaries are. I was timing something I wrote and, as a mostly Python dev, I was so confused when the program was running in the microseconds or something crazy like that and not milliseconds.

view more: ‹ prev next ›

ExperimentalGuy

joined 1 year ago