favorite bands · Lemon Demon; Tally Hall.
favorite artists · cavetown; Neil Cicierega; Bo Burnham; Jack Stauber; Will Wood; Toby Fox.
𝙸’𝚖 𝚑𝚊𝚕𝚏 𝚑𝚞𝚖𝚊𝚗 𝚊𝚗𝚍 𝚑𝚊𝚕𝚏 𝚖𝚊𝚌𝚑𝚒𝚗𝚎
mastodon · @callyral@furry.engineer
If they care about terminal emulators, it’s unlikely their distro came with one preinstalled.
I think they said that because OP wrote “not once have I had a problem or anything break. What am I doing wrong?” making it sound like the problem is that they haven’t experienced anything break yet.
Vim is pretty easy for me because I’m used to it. Nano is very difficult to use for me because I’ve rarely used it.
The angles in a triangle now add up to 179°.
wayland.windowManager.sway.config.keybindings = let
# ...
screenshot = with pkgs; writeShellScriptBin "screenshot.sh" ''
DATE=$(date +"%Y%m%d%H%M%S")
if [ "$1" = "full" ]; then
${grim}/bin/grim ~/Pictures/shot_$DATE.png
${libnotify}/bin/notify-send "saved full screenshot to shot_$DATE.png"
elif [ "$1" = "full-copy" ]; then
${grim}/bin/grim - | ${wl-clipboard}/bin/wl-copy -t image/png
${libnotify}/bin/notify-send "copied full screenshot"
elif [ "$1" = "sel" ]; then
${grim}/bin/grim -g "$(${slurp}/bin/slurp)" ~/Pictures/sel_$(date +"%Y%m%d%H%M%S").png
${libnotify}/bin/notify-send "saved selection to sel_$DATE.png"
elif [ "$1" = "sel-copy" ]; then
${grim}/bin/grim -g "$(${slurp}/bin/slurp)" - | ${wl-clipboard}/bin/wl-copy -t image/png
${libnotify}/bin/notify-send "copied screenshot"
else
printf "Invalid argument: '$1'\n"
fi
'';
in lib.mkOptionDefault { # ...
This is in my Home Manager configuration. I don’t think this is that bad, it’s just kinda messy. If you can’t tell, it’s a script for taking screenshots, embedded in my configuration.
I wanted to customize Windows 10. Customizing Windows was too hard and unsafe (requiring many “bloated” third party tools).
Then, after seeing some cool themes, I realized Linux is way more customizable. So I tried Linux Mint and now I use NixOS.
i just copy the links to a text file as i write and when i’m done with the paper i just paste it at the end and format it correctly
Idk if it’ll ever be for mine (Samsung Galaxy A51). Hopefully one day, if such a phone exists, i’ll have a phone that is more open and also supported by something like LineageOS.
(notice: I am not a Rust or C/C++ expert)
Doing all that is creating a completely separate programming language from C. Rust is that programming language.
Fix shitty imports
Rust does that with modules and crates.
Improve syntax rule
You mean having consistent/universal style guidelines? Rust pretty much has that with rustfmt.
Improve memory management
Safe Rust is memory safe (using things like the borrow checker), and Unsafe Rust is (usually?) separated using the unsafe
keyword.
Although Unsafe Rust seems to be quite a mess, idk haven’t tried it
Other new misc features
Rust has macros, iterators, lambdas, etc. C doesn’t have those. C++ probably has those but in a really weird C++ way.