flbn

joined 3 years ago
 

i wouldn't say i'm overweight, and i know that the BMI index is not necessarily reliable, but i do feel like over the years i've kinda lost the figure i used to have. i mostly stay at home and code now, whereas a couple years back i used to play a competitive sport on a daily basis.

how do you guys lose weight, or stay fit, as adults? i've tried the gym, i just don't really like it there. i feel insecure, and i don't really utilize many of the machines they have there since i don't want to bulk or gain muscle. for christmas, i got a yoga mat and some dumbells. do lemmers have resources for creating a low-maintenance workout plan?

there's also the whole diet thing. how do you count calories, eat well balanced meals, etc? i already struggle with meal prepping, and feel like having to account for calorie intake would make this even harder. or would that make it easier since i would get good at making the same things? idk, it's stressful but i'm hoping to take better care of myself in 2022.

 

cross posting my Void installation notes

58
submitted 3 years ago* (last edited 3 years ago) by flbn@lemmy.ml to c/linux@lemmy.ml
 

i actually documented something for once, so i could reference it myself later. asking for some feedback on this, but it is quite long so i get it if you don't read it all or care. figured some newbie might stumble upon this in the future and get something out of it.

  • First of all, make sure you have the Void installation guide open. Most of this is just hand holding you through their instructions. For what it's worth, I think it's valuable to have another newb explain how they went about getting things done.
  1. Install latest ISO
  • Download the base image, which should look something like: void-live-x86_64-20210218.iso
  • If you're doing this properly, ensure that the sha256sum.txt and sha256sum.sig files are authentic. The Void docs hold your hand for this step.
  1. Do the Disk Mounting Thingy
  • I use balena but you can use any other similar tool.
  1. Boot machine and change Boot Device List ranking to USB first
  • Shut computer off -> press Enter (that's the key I spam for my ThinkPad, it might be different for your machine) -> move USB HDD up to #1
  1. Plug USB in and Boot up
  2. Select Enter on the first option: Void Linux (no RAM)
  • Or choose the RAM option if you want ~superspeed~. It's not really necessary and I get paranoid when doing things non-default.
  1. Configure the WIFI with wpa_supplicant
  • Create symbolic links and start the services

    sudo ln -s /etc/sv/dhcpcd /var/service
    
    sudo ln -s /etc/sv/wpa_supplicant /var/service
    
    sudo sv up dhcpcd
    
    sudo sv up wpa_supplicant
    
    ip link show
    
  • Configure your network now that we know the interface (for me, that's wlp58s0)

    wpa_cli -i {wifi interface}
    
  • Within the wpa_cli interface, set up the network

    scan
    
    scan_results
    
    add_network
    set_network 0 ssid "MYNETWORK"
    set_network 0 psk "secret"
    
    enable_network 0
    0K
    
  • Test your wifi

    ping google.com
    
  • Save your configuration

wpa_supplicant -B -i wlp58s0 -c /etc/wpa_supplicant/wpa_supplicant.conf
  1. Enter the Void Installer
  • Do the thing (going to expand on this later, I actually feel like I should study this step and understand what it is I'm doing before I tell anyone to copy me).
  • For now, this video helped a ton.
void-installer
  1. Update the package manager
sudo xbps-install -u xbps
  1. Update the uhh rest of the stuff
sudo xbps-install -Su
  1. Restart the services:
xcheckrestart
  • On error, install the following dependency: xtools
    sudo xbps-install xtools
    
  1. Reboot to get latest kernel version after update
sudo shutdown -r now
  1. Install packages:
  • After install, I got started with: xorg, pulseaudio, i3-gaps, dmenu, alacritty, firefox, nnn, sxiv, Zathura, htop, node, rust, and ofc nvim. This will keep me going for a while.
sudo xbps-install -Su xorg pulseaudio i3-gaps dmenu alacritty firefox nnn sxiv zathura htop nodejs rustup 
  1. On error, install the following dependencies:
sudo xbps-install base-devel libX11-devel libXft-devel libXinerama-devel freetype-devel fontconfig-devel
  1. Edit .xinitrc (in your home directory) to run i3-gaps on load
exec i3
  1. Update packages, just in case and reboot
  • Honestly, I just do this out of paranoia and habit. Every time I open a terminal session I just update everything.
sudo xbps-install -Syu
reboot
  • Some issues I faced dealt with audio, which I found was quite common. Ensure you have pulseaudio installed, and if that doesnt work, apparently alsamixer also works pretty well. Just make sure to change your i3 config (/.config/i3/config) to bind the alsamixer settings and not the default pulseaudio bindings.
[–] flbn@lemmy.ml 8 points 3 years ago

a little update on the situation, looks like Truth Social has 30 days to comply or their license is being permanently revoked.

[–] flbn@lemmy.ml 1 points 3 years ago

dude i tried this cause i also watch a lot (admittedly, too much) youtube and it's just too much of a bother on my slow ass machine. invidious helps.

[–] flbn@lemmy.ml 0 points 3 years ago

tbh, i also just ended up this way out of habit. the only thing i need outside of my terminal is my hardened firefox. i've tried surf and other similar browser's but i do plenty of web development for myself/school/contract gigs so i can't reasonably escape the browser world.

[–] flbn@lemmy.ml 6 points 3 years ago

i think iceland has also created a new visa for these reasons, but focused on families whose income makers are remote workers.

[–] flbn@lemmy.ml 13 points 3 years ago (2 children)

not sure if it's tangential, but the pandemic has also obviously impacted remote work, with more companies adopting policies that make remote work possible in the long-term. i've seen several countries starting to take advantage of this and create new visa's for remote workers who want to adopt a "digital native" lifestyle. i.e. costa rica and georgia have created new remote worker visa's to help stimulate their economy.

 

saw this on lobste.rs earlier today, looks super useful for sharing rices.

 

sigh

i'm graduating next may and feeling extremely anxious about the whole job thing. i don't think i'm necessarily awful at interviews, but i'm fucking terrified of them. i've gone through several different rounds for internships and i'm just a sweaty, nervous mess no matter how much prep i do. i hate the fact that every round i meet with someone new and i have to re-pitch myself to them. i wish i could just sit down with an engineer and walk through a real-life problem with them. how did you guys go about getting your first industry-related job? am i just targeting the wrong companies?

 

I'm trying to self-host some stuff on my Raspberry Pi (i.e. web server, lightweight matrix server, etc) and every time I get around to try and set it up I forget that I have to do this lol

Do you guys recommend going full send and contacting my ISP about a static IP or should I just pay for a Dynamic DNS service?