Good luck getting open source maintainers that aren’t woke. We’re all queer down here!
ShaunaTheDead
- 0 posts
- 10 comments
- ShaunaTheDead@fedia.iotoGaming@beehaw.org•Godot fork- Redot emerges after recent events within the Godot project.2 years
This tip is super useful to me because not everyone is using a PC. On a PC sure, I would use the Home and End keys all the time. Now I’m using a laptop as my main computer and the Home and End keys are in a weird position that even to this day, 4ish years of laptop use, I still have to actually look at the keys to find them.
My favorite tips are:
You can filter the output of a command. Most commands return parameters like
(output, error)so you can filter them by number like1>/dev/nullwill filter the output and only show the errors, and2>/dev/nullwill filter the errors and only show the output. Also if you want a command to run silently but it doesn’t have it’s own built-in quiet mode you can add&>/dev/nullwhich will filter everything.Bash (and other shell’s I assume) can be fully customized. In addition to the .bashrc file in your home directory, there are also a few common files that bash will look for like
.bash_aliases, .bash_commands, .bash_profileor you can create your own and just add to the end of the .bashrc file./YOUR_CUSTOM_BASH_FILE_NAMEInside that file you can add any custom commands you want to run for every bash shell like aliases and what not.
I personally often use a simple update command like so
alias up='sudo apt update -y && sudo apt upgrade -y && sudo apt autoremove -y'which just makes running updates, upgrades, and clean-up so much easier. Just typeupand enter your password. I have previously added in things like&>/dev/nullto quiet the commands andecho Fetching updates...to make some commands quieter but still give some simple feedback.There’s also the basics of moving around a terminal command as others have pointed out. The easiest and the one I use the most is if you hold CTRL+LEFT_ARROW the cursor will move entire words instead of one character at a time. Very helpful if you need to change something in the middle of a command.
- ShaunaTheDead@fedia.iotoProgramming@programming.dev•What is the deal with API documentation that can seem so terse to a hobbyist?2 years
I do find that everything related to Python is especially badly documented and/or maintained. Maybe I’m just not looking the in right place though? I don’t generally use Python as my primary language.
- ShaunaTheDead@fedia.iotoProgramming@programming.dev•What is the deal with API documentation that can seem so terse to a hobbyist?2 years
Usually API docs are tucked away inside a “developer dashboard” or whatever they decided to call it. So I think you can assume at least moderate API and web development knowlege and programming skills.
- ShaunaTheDead@fedia.iotoProgramming@programming.dev•The experience that made me hate programming, but that's all on me2 years
You should read up on what’s called “rubber ducky” debugging
Here’s a link to a comic that summarizes the idea succinctly: https://www.smbc-comics.com/comic/the-rubber-duck-method Wikipedia article here: https://en.wikipedia.org/wiki/Rubber_duck_debugging
- ShaunaTheDead@fedia.iotoProgramming@programming.dev•The experience that made me hate programming, but that's all on me2 years
In those kinds of situations you need to remember to try to break the problem down into simpler sections to identify where the problem lies. One of the first steps would be to run
SELECT * FROM mainWorkSpace WHERE user_id = @user_idand see if that returns anything.
- ShaunaTheDead@fedia.iotoProgramming@programming.dev•Is TypeScript a fad or is my manager delusional?2 years
I don’t really get the appeal of strongly typed languages. Can’t you just use try/catch blocks, and/or use functional programming and return early if the data structure of whatever you’re working with isn’t what you expected?
I guess it can help older code easier to maintain because the expected data structure is right there, but you could also just include it in a comment above the function.
I personally find TS slows down initial production of a project and raises so many unnecessary errors.
Is there some huge benefit that I’m missing? Because I don’t really get the appeal. I mean, I do on some level, but I don’t really understand why so many people are absolutely obsessed with TS.
You can count up to 1023 in base 2 using your fingers to represent 0s and 1s.

Another thing that wasn’t mentioned in the video that Proton does is it also – sometimes, depending on the game – checks a list of known requirements for a game and installs them through winetricks, or makes other recommended changes to game files that are known to make the game work.
When Proton is updated and the patch notes mention that a game was fixed, it’s something to do with this part of the process. A certain library, or whatever was missing and Proton installs it for you behind the scenes.
It also runs WINE through Steam’s launcher (aka Steam Linux Runtime) which has some common redistributables (aka Steamworks SDK Redist) built right into it, and it also runs appropriate anti-cheat solutions (aka Proton EasyAntiCheat Runtime or Proton BattlEye Runtime).