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”.
- 0 Posts
- 397 Comments
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)
I feel like contextual ads, where you serve ads based on the surrounding content instead of who the individual user is would be about as effective and tremendously less expensive, complicated, and invasive.
Run football ads on football websites. Run music ads on music websites. That’s how it works in TV, radio, and so on and has for years.
Just remove all violent people first
Communication aims at information exchange,
Metadata is data. Skipping small talk is exchanging less information.
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”
jjjalljs@ttrpg.networkto
memes@lemmy.world•I literally describe breathtakingly good pizza as "cartoon pizza"
9·8 days agoOne time in a game of DND the players were exploring a strange cave system, and found a strange thick goo collecting in a pool. Players being players, one of them decided to eat some.
It was, in my notes, some sort of celestial honey made by these extra planar insects that were causing some of the region’s problems. It was supposed to taste amazing, but with some drawbacks. I started to blank when trying to describe how good it was, and the phrase that came out was “it’s like… It’s like … it’s like seven pizzas!”
The player eating it, his eyes lit up and was like “AMAZING”
The other players were like “wat”
I think that adequately captured how delicious it is but also maybe you shouldn’t be eating it.
jjjalljs@ttrpg.networkto
Today I Learned@lemmy.world•TIL - FBI recommends using an adblocker for securityEnglish
14·8 days agoSeveral of my friends are non technical and just put up with the ads. I guess they never thought there was another way
Oh that’s a good pun on transitive reasoning
Then do universal basic income. Now people are free to spend a couple hours scooping ice cream without risking their safety. Assuming your basic income is enough to cover a dignified life
jjjalljs@ttrpg.networkto
Programmer Humor@programming.dev•99% of Windows usability issues would be fixed if Windows had the guts to add this button
7·15 days agoI don’t think an average user is going to know how to interpret the output of
mountorfindmt
Easier maybe, but less likely to have the best outcomes. I’m sorry dating has been bad for you, and the apps are absolutely predatory, but there’s always hope
Emotions are unfortunately tied to certain political issues, thats the way it is.
Does that mean the topics that elicit emotions are invalid? What does it mean?
Ok, let me amend my position: body mass is not a universal deal breaker. There are people who will reject someone on appearance or weight, but there are many people who would find that same person attractive.
What does this mean exactly?
If your an average Joe like me, there is no reason your identity should be extremely political.
I feel like you almost discovered the concept of privilege here.
If you consistently become emotional about political issues, you might need to take a step back and re-examine yourself.
But then kind of whiffed here.
Someone’s identity as a gay person or black person should not be “political” (whatever that means. Care to define it?). But it is.
Like, it was in living memory that black people had to sit in the back of the bus, and couldn’t buy property in certain places. Women couldn’t open checking accounts of their own until like 1974. Trans people are routinely subject to hate and danger.
Why do you think people are “regurgitating propaganda” rather than describing their experiences? Why is your baseline cool and normal and theirs is “led by the nose”?
And it’s extremely lossy to compress all of politics down to “sides”. There are details. People experience and believe things. It’s not just like rooting for a baseball team (though for some people it can be, admittedly).
I know plenty of larger men who are happily dating. The problem isn’t the body mass.
It’s funny because the character who said that was very verbose, if I recall

Only if you’re still browsing fridge websites!