Lowering indent levels is nice in functions. Early returns mean you don’t have to think as much. “If it got here, I know foo isn’t null because it already would have returned”.
Lowering indent levels is nice in functions. Early returns mean you don’t have to think as much. “If it got here, I know foo isn’t null because it already would have returned”.
Yeah some comments are not useful
# returns the value as a string
return str(user.id)
Some comments are
# returns the user id as a string because ZenDesk's API throws errors if it gets a number.
# See ticket RA-1037
# See ZenDesk docs: https://etc/
return str(user.id)


There are state sanctioned kidnappings in the middle of the day. It’s not safe here.
Plus, something like 20-40% of people are proudly pro trump. That’s a lot of idiots and selfish turds. They’re not all concentrated in Texas and Florida, either. I see a trump flag on one of my regular walks in Brooklyn
One of my jobs went to microservices. Not really sure why. They had daily active users in the thousands, maybe. But it meant we spent a lot of time on inter-service communication, plus local development and testing got a lot more complicated.
But before that, it was a single API written in Go by an intern, so maybe it was an improvement.
It’s wild to me how some places I’ve worked are like locked down, all the infrastructure is in terraform or whatever and can be deployed immediately… and other places are like “ssh into prod with the credentials from confluence, edit the config in vim, and paste the new code into a new file”


There was an article on a tech news site recently about how to unshittify windows. Just like 4 pages of stuff to turn off and uninstall.
People in the comments unsurprisingly were like “Linux is free and getting better all the time”. People were mad. So mad.


If you are using sudo all the time something has gone wrong


I don’t think an average user is going to know how to interpret the output of mount or findmt


Setting up a windows VM at my old job took like a few minutes, but I already had virtual box (I think that’s what I used)
And I needed to see some software running in a Windows box while editing the code that talked to it.


Depends on what you need to do. You could mount a folder to get files in or out, for some cases.
Have you used virtual machines before? Done software development?


You think making a VM takes two weeks? I’m pretty sure Microsoft provides images you can just pop into virtualbox, but it’s been a while since I used VMs.
Also if you need to use the windows software alongside your regular workflow (eg: reading info out of the windows software with your eyes and then typing into your IDE or terminal), rebooting the whole thing is going to suck.


Yes but if you dual boot there’s no VM needed LOL
You want to reboot the entire system when you need to use a Windows only application? Instead of just opening up a VM?


…what? How are you going to do any modern day work on the host machine with no Internet access? Are you going to air gap your windows machine?


Still happy I switched to Linux. Been playing divinity original sin 2 without any problems. (It’s one of those games I’ve started a hundred times but only finished once.)


You can restrict network access to the VM and still do normal network stuff on the host machine, for one thing.


Still happy here in Linux.
If you have a machine that runs Windows and the hardware is still good,
Linux is often more forgiving on hardware requirements. I recently put Mint (with xfce) on a like 2013 laptop and it’s fine. That’s not even an especially lightweight distribution.
What’s with the weird censoring of the post metadata? Do we not want to credit the original poster for some reason?


I think installing Linux exposes you to higher severity issues, like “now it won’t boot”. Once you get over that initial setup, it’s not much different than windows or apple.
If more computers came with it pre installed, it would be even easier for folks.
I think about half the time I’ve installed Linux it was fine. The other half were problems with esoteric solutions.
Still glad I made the switch.
I don’t really see AI and LLMs as a solution there. Things that disrupt are typically ads or other capitalist nonsense. What are they thinking and how will AI help?