Daedskin

joined 6 months ago
[–] Daedskin@lemmy.zip 2 points 3 weeks ago

I was on Windows 7 until April of 2021, when I was taking a certification exam remotely, and didn't find out that the software they used for it didn't work on 7 until after I had paid the registration fee. Windows 10 was useable enough, but I never thought it was preferable over 7. Anyway, I'm on Bazzite now.

[–] Daedskin@lemmy.zip 4 points 4 weeks ago

Any game with a free cam should have the option to turn off 3d fly. Trying to perfectly position a camera while having to constantly turn in order to not go up or down while trying to slightly reposition has got to be one of the most annoying things.

[–] Daedskin@lemmy.zip 3 points 1 month ago

One thing you can do that I find comes up pretty often in C is start using switch statements to avoid code duplication. Because your operators all take 2 numbers, you've separated out the input handling into its own block; that alone is a really good insight.
You can take it another step further by making your print statement also, mostly, one block of code, with the only difference being the operation being preformed. By printing "The" followed by using an if-else block — or, again, preferably a switch statement — to both print the operation text, and compute memory, you can print the remainder of the line the same way for every operation.
It may seem nitpicky for such a simple program; but the use case of C is for programs which require tight execution and often contain complex, low-level logic. Reducing complexity whenever possible helps make C more readable, as well as signal when the complexity is necessary.

[–] Daedskin@lemmy.zip 14 points 1 month ago (1 children)

I once worked on a project doing firmware that a lot of people have likely used (printer firmware for a big-name company). One of the more trafficked functions was something like 1500 lines of "if-elseif-elseif..." with something like 13 or 14 different cases.
It did end up getting refactored to something polymorphic and based on a configuration file to cut out any unnecessary steps, but it was like that for a while before I got there, and was like that for most of the year that I was part of the project.

[–] Daedskin@lemmy.zip 3 points 1 month ago

In my experience, using Streamlink will still give you an ad break, but it will just be a screen saying it's an ad break without any actual ads

[–] Daedskin@lemmy.zip 29 points 3 months ago (1 children)

Met a really racist person who was like: "All non-real british people should be deported". I said: "What makes someone real?"; and he was like: "If both their families have been here since the 1700s". I said: "You know what, I can get behind deporting the king." and he didnt like that response.

[–] Daedskin@lemmy.zip 2 points 3 months ago

My last haircut was in October 2019 when I decided I wanted to, starting then, go to an every-six-months haircut schedule

[–] Daedskin@lemmy.zip 9 points 3 months ago (2 children)

When I got out of college in 2015, I packed my suitcase; a month ago, I unpacked it while getting reday to move (I moved 5 other times in between without ever unpacking it, or packing anything new it).

 

Done on a mobile save file that I used the unlock all feature on because I already had everything in the collection unlocked in my steam save

[–] Daedskin@lemmy.zip 5 points 4 months ago

Stencil gives x1 mult per empty joker slot, with stencil also counting as empty for this. 4 stencils with no other jokers means each stencil sees 5 empty slots, meaning each is giving x5. That results in a total of x5^4^, or x625. Level up whatever hand you're playing, and you can get some crazy scores.

[–] Daedskin@lemmy.zip 5 points 4 months ago (1 children)

Me, still waiting for them make a mario kart as good as double dash

view more: next ›