There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Taako_Tuesday , in Who lives in a Pineapple in the Algorithms Library for C? SpongeBob BinaryTreePants!

It definitely wouldn’t be the left image. With legs like those, you could never pull the pants up past the first (or I guess technically last) level of branching. It would either be the big pants or a large number of seperate, smaller pants on each of the lowest branches.

Carnelian ,

They could use pull-away pants that button up the back maybe

Tyoda ,

If the pants are stretchy they could fit one of the lowest (already pantsd) branches in each leg of the jeans, and easily pull it up. You need bigger and stretchier pants as you go up the tree, though.

BassTurd ,

The max size of required pants stretch will be the standard size for the right picture, since each leg already wraps half of the tree. That confirms viability at least, so now I think it’s down to comfort, and does the stretch retract in a restful position, or does stay all loose and cumbersome?

NeatNit ,

are the legs not allowed to be detached even for a moment for maintenance?

lugal ,

Have you ever seen a binary tree grow? Maybe they put the pants on each level while it is the lowest one before the next level grows

wise_pancake , in Who lives in a Pineapple in the Algorithms Library for C? SpongeBob BinaryTreePants!

First the right then the left.

It depends is the tree puts on pants before or after being populated.

scrubbles , in Start ups when that VC funding kicks in
@scrubbles@poptalk.scrubbles.tech avatar

and god help you if you ever use any of them, obviously you have time to play games you don’t have enough work to do. It’s all for show.

I remember a Meta recruiter reached out to me. We had a couple of talks, and then on one of them I asked “So how’s the work life balance”

Oh it’s great! We have a 24/7 cafeteria here, so if you ever need a snack it’s always available. We have sleeping pods, so you can easily sleep, and even 24/7 laundry services, so it’s all around a very relaxing place.

Uhhh yeah man. I’m not some kid fresh out of college. I own a home, and I’m very aware of my work time vs my personal time. Hard pass all around. Kids, if the company sounds too good to be true, there’s an ulterior motive. Those things sound super great… but they’re of course all meant to keep you working around the clock, meeting deadlines. The companies aren’t “hip” or “cool”, it’s all to attract you, and then work you to the bone. A strict 40 hour work week is better than foosball anyday.

I know I’m preaching to the choir but for the people interviewing for their first software gig - well maybe one of them will read this.

_sideffect ,

I agree with work life balance, but working at meta for 2-3 years for $300k might be worth the sacrifice

scrubbles ,
@scrubbles@poptalk.scrubbles.tech avatar

If I were a kid right out of college, I’d honestly consider it. The key is truly knowing what you’re getting into. Companies gobble up those kids out of college because they’re naiive, and they want to prove themselves. MAANG knows that and take advantage of it. As long as you’re aware of that going into it, and plan to use them too, then go for it. Just don’t plan to be a lifer, know that they don’t care about you going in.

Skullgrid ,
@Skullgrid@lemmy.world avatar

MAANG

deadname the pricks, you’re already doing it for google. it’s facebook

key ,

MAAAN would be a much better acronym though

boydster ,
@boydster@sh.itjust.works avatar

That’s just, like, your opinion…

sukhmel ,

ANAMA

Zink ,

I was thinking MAANA

ICastFist ,
@ICastFist@programming.dev avatar

Get in with the full idea of being a parasite, doing the barest minimum work possible while getting friendly with higher ups. It’s not like doing a good job there would be better for the customers/end users anyway

100_kg_90_de_belin ,

MAANG sounds like a Superman’s villain

bandwidthcrisis ,

I thought that it became MANGA when it changed from FAANG?

Nougat ,

My soul is worth more than that, and I don't even have one.

cm0002 ,

$300k might be worth the sacrifice

Right? I realistically just need 150k/yr to be stable in my area, I could chuck the other 150k/yr into savings and quit after 3 years with 450k in the bank

fruitycoder ,

If I rember right google had an AI driving division that had huge cash incentives based on performance metrics that essentially crashed and burned because they hit targets so fast that main time retired for life in like a year or two

100_kg_90_de_belin ,

3 years can be a very long time, though.

MonkderDritte ,

The hell? I live two years for 100k CHF. Lucerne, Switzerland, flat in the historic, more expensive part.

owenfromcanada ,
@owenfromcanada@lemmy.world avatar

My office has two ping pong tables. They’re literally roped off with caution tape, and nobody is allowed to use them. I wish I were kidding.

CanadaPlus ,

Jesus, it’s like a cargo cult.

Also, happy cake day. Death to Reddit.

SomeGuy69 ,
@SomeGuy69@lemmy.world avatar

Make a photo. Great meme potential

SurpriZe ,

Photo?

owenfromcanada ,
@owenfromcanada@lemmy.world avatar

I wish I could, but cameras are restricted :/

SurpriZe ,

Strange, not even a quick one?

GissaMittJobb ,

Those things sound super great… but they’re of course all meant to keep you working around the clock, meeting deadlines.

This is not going to be universally true at all big tech-companies. There are places with perfectly reasonable WLB on top of huge salaries and fantastic perks.

These places are usually big enough that you’re going to see extremes on both ends within the same company - some departments with huge deadline pressure cultures, and some with highly relaxed work settings. It can be a bit of a gamble.

Karyoplasma ,

The companies aren’t “hip” or “cool”

I believe the industry term is “agile”.

Obi ,
@Obi@sopuli.xyz avatar

Nah that just means they can’t plan for shit and are constantly fighting fires.

Midnitte ,

fast paced environment

CanadaPlus ,

They’re looking for a volume icon ninja-pirate-wizard, who takes no prisoners. They work hard and play hard so get ready for your boss to be overly demanding and drunk.

sukhmel ,
where_am_i ,

Would you rather spend 40h a week in a dull environment exchanging your time and mental focus for money or spend 50h in a fun and relaxed environment working on something interesting, but also having great nutrition available and with a laundry, so no more household chores for you?

To me #1 seems like you’re stuck exchanging the best of yourself for some paycheck. #2 sounds more like fun, but also gets you your paycheck.

If you’re at a point in your life where all you want from your job, office and colleagues is to see as little as possible of that and get as much money as you could, you need to make some serious changes.

scrubbles ,
@scrubbles@poptalk.scrubbles.tech avatar

No, I have a home, a great family, and I cherish my hobbies and free time. I work to live, I don’t live to work.

A job will let you go the minute they need to. Your family will be with you for life, and it’s much more important.

where_am_i ,

You’re wasting the majority of your life. In order to enjoy the minority part. Nothing to be proud of, even less so is it justifying to be so toxic about people who do enjoy their jobs.

scrubbles ,
@scrubbles@poptalk.scrubbles.tech avatar

Why would I call it wasting? It’s funding the worthwhile part of my life, and it does a great job at it. I’ve been on several vacations already this year. I get to live where I want to. I have a great family that I love spending time with. To allow that I have firm limits with my job of 40 hours a week, then I go home. I enjoy several hours every night with them, and on weekends we usually go out and do something fun.

You keep trying to convince me I’m not happy, and I assure you I’m very happy with my lifestyle. If other people want to work more, more power to them. I don’t understand it, but I guess do what you enjoy. I don’t enjoy working - I enjoy my personal time. So I found a job that pays me well, respects my time, and every day promptly at 4 I clock off, and I enjoy my evening. Whatever work there is will be ready for me at 8am.

There are always things that get in the way, sometimes I need to work the occasional night, there’s a deadline, I’ve missed a few weekends - but I always take the time off the following week to make up for it. Your younger years are gone in a blip, these times become memories quickly. I have many fond memories of trips, time with loved ones, friends, and even coworkers. You know what I don’t remember? Projects, deadlines, and meetings.

overcast5348 ,

Did you just call “family” the “minor part of life”‽ Or am I misunderstanding you?

timbuck2themoon ,

My god, #1 a million times over.

fruitycoder ,

#3 spend 30-50 hours a week working on projects you find interesting working from home so you do laundry or make a sand which on a break.

Sometimes even cook a b8gger meal during training and such

That said, I never want to work a bullshit job, I know people who’ve ridden them out to retirement and I would rather just be homeless than that.

where_am_i ,

you might prefer a lonely isolated lifestyle, or your social environment being only your wife, kids and your suburban neighbors. But that’s absolutely not the case for most people who gladly socialize at work and prefer to have a great environment there. You all collectively shitting on it and praising work from home only shows that lemmy is a club of extreme introverts.

fruitycoder ,

We have get togethers and go to conferences to have that.

I get that not everyone is the same though. Hell I’ve gone over to friends to work like the lab parties we had too, which I’m sure is an anomaly.

CanadaPlus , (edited )

I think it’s a matter of taste. OP has a great home life, so maybe they’d prefer the 40 hour gig. The 50 hour gig sounds better to me personally, ASSUMING IT’S ACTUALLY INTERESTING and not in a how-do-we-crush-souls-better way.

There’s nothing wrong with doing hard, unpleasant work so you can live outside of it. Does anybody actually enjoy pulling out a leaky sewer stack?

100_kg_90_de_belin ,

In the end, I don’t care what lifestyle my job can afford if I don’t have the time to enjoy it.

Head , (edited )

We’ve got free local artisan coffee, organic fruit, mineral water, and beer. We turn the kitchen table into a ping pong table with a net after lunch for however long people want to use it and people do. At 17:00 everyone’s got a beer on their desk and by 18:00 the doors are locked and the lights are out. One Thursday a month the table is used for beer pong after work and we play card games like Exploding Kittens. Idk I like it here.

Not everywhere sucks. I’ve never worked an hour over my full-time requirements (ever), I get unlimited sick leave and no one shames me for missing a week as long as I call in properly. 31 Vacation days and company parties are nice too, plus paid travel time and nice hotel rooms. Also I’ve never made more money in my life and we’re all getting extra bonuses to cover the unexpected inflation.

Oh and I can work from home four days a week if I want to. Gotta come in that one day, but it’s a fifteen minute walk from my house so that’s just fine for me. I come in on Tuesdays because that’s when the company orders lunch for everyone (just one day a week but still cool).

MindTraveller ,

Exploding Kittens is boring. Secret Hitler is a much better party game

sukhmel ,

I envy you a bit. On the other hand, I have conditions that are at least okay, so I probably wouldn’t trade places because that’d be a lot of hassle searching for a nice place like yours and then trying to get into it

Just a little detail, is your company in the USA, in the EU, or elsewhere?

Head ,

Europe

SpaceCadet ,
@SpaceCadet@feddit.nl avatar

At 17:00 everyone’s got a beer on their desk and by 18:00 the doors are locked and the lights are out. One Thursday a month the table is used for beer pong after work and we play card games like Exploding Kittens.

I’d rather go home at 17:00 and do all those things with my real friends, or you know, spend some quality time with my partner.

silasmariner ,

Plenty of my real friends are people I used to work with back before I was married and stopped getting as much out of this sort of culture… There doesn’t need to be some hard line here - just because you work with people doesn’t mean you can’t be friends

Head ,

Well we gotta get in out 40 hours. Not more. We just start later.

scrubbles ,
@scrubbles@poptalk.scrubbles.tech avatar

That sounds like a great gig! Great office life, and a ton of PTO (for American standards). Although I will say, I’ve been in small startups. The beer and alcohol is fun - but the startups grow. It’s all fun until someone who doesn’t drink joins, or someone develops a problem. Keep an eye on those two issues, about 3 of the 4 startups I’ve been at one of those has happened.

flamingo_pinyata ,

Wow you’re lucky. I’ve always wanted a job like that.

And for a while I had something similar but unfortunately rotten. We had a ping pong table, afterwork parties, no overtime, lunch, even a swimming pool. And we could use all of it.

However we were seriously underpaid, I got an 80% raise just by saying hello in another company. No remote work without any reason at all (most of my team was in other countries). And awful decision making by upper management.

Made me cynical if something like it is even possible. Glad to hear it is.

dejected_warp_core ,

Company: Provides amenities and services that would (technically) allow a person to live on premises. Pays you enough to retire early if you didn’t have to bother with rent or a mortgage.

Also company: “We can’t hire you without a permanent residential address.”

I also worked at multiple places that had fully decked out break-rooms: free food, game consoles, VR, and 60-inch TVs. Everyone was afraid to use them for fear of looking like they were screwing around. Except the interns. They used the hell out of that stuff.

Squirrel ,
@Squirrel@thelemmy.club avatar

My wife’s job has all of those amenities, too! Well, it didn’t at first, but she’s been 100% WFH since covid. She’s got an office with a window, cats in the workplace, lunch is brought to her straight from the kitchen, and she can even take breaks to go on walks with her family during the day.

Potatos_are_not_friends ,

I know I’m preaching to the choir but for the people interviewing for their first software gig

First software gig? In this market, take whatever to get experience imo.

But that second/third/etc job? Culture, then salary, then everything else. Last interview I went to bragged about giving everyone brand new sneakers yet pay $25k less than average.

scrubbles ,
@scrubbles@poptalk.scrubbles.tech avatar
experbia ,
@experbia@lemmy.world avatar

explain how!

scrubbles ,
@scrubbles@poptalk.scrubbles.tech avatar

Money can be exchanged for goods and services

experbia ,
@experbia@lemmy.world avatar

aww, goods and services… I wanted money.

morrowind ,
@morrowind@lemmy.ml avatar

Who does laundry at work?

scrubbles ,
@scrubbles@poptalk.scrubbles.tech avatar

Implication was that you stayed there overnight, and didn’t have to worry about needing clean clothes

veniasilente , in It's Friday at 5pm. You're all set to go home and relax then your monitoring dashboard goes like this....
@veniasilente@lemm.ee avatar

That’s why I don’t have monitor dashboards 😎

The_Picard_Maneuver , in Who lives in a Pineapple in the Algorithms Library for C? SpongeBob BinaryTreePants!
@The_Picard_Maneuver@lemmy.world avatar

The pirate voice in my head nearly ran out of breath singing the post title.

sundray , in It's easier to remember the IPs of good DNSes, too.

Well… I still like IPv6 better than ATM and those darn virtual circuit identifiers.

RavuAlHemio ,

Another Technical Mistake

r00ty Admin ,
r00ty avatar

Hah. But to be fair, ATM did have a specific use that it worked great for. That is the move to digital voice circuits. The small fixed cell size and built in QoS meant that if you had a fixed line size you could fit X voice channels, and they would all be extremely low latency and share the bandwidth fairly. You didn't need to buffer beyond one cell of data and you didn't need to include overhead beyond the cell headers.

ATM was designed to handle the "future" or digital network needs. But, the immediate use was about voice frames and that likely dictated a lot of the design I'd expect.

tentacles9999 , in It's easier to remember the IPs of good DNSes, too.

Honestly we should just use 4 bit ip addresses, it’s too hard for me to remember ipv4 addresses anyways. Carrier grade NAT will take care of the rest.

floofloof ,

Why compromise? Use 1-bit IP addresses.

WeirdAlex03 ,
@WeirdAlex03@lemmy.zip avatar

Finally, a use for my [1-bit bloom filter](http://www…com/ xkcd.com/2934/)!

armchair_progamer , in Instructions were unclear:gotta be precise with that anotating tool
graphito OP , (edited )
@graphito@beehaw.org avatar

I enjoyed this vid and as a contribution I’ll spare y’all loading 20 MB of youtube JS

imgur embedhttps://i.imgur.com/xKWIWmE.mp4

unexposedhazard ,

And instead you gift us with

Unable to load image from i.imgur.com

user224 ,
@user224@lemmy.sdf.org avatar

Well, it works on my machine.

ShepherdPie ,

But we’re people not machines.

Sir_Kevin ,
@Sir_Kevin@lemmy.dbzer0.com avatar

Works on Sync and it’s it’s hilarious!

Vilian ,

it work in the browser lol

MonkderDritte ,

Well, only about 15 MB of imgur JS instead.

Sparky ,
@Sparky@lemmy.blahaj.zone avatar
graphito OP ,
@graphito@beehaw.org avatar

Love the label SMART SOLUTION

mox , (edited ) in It's easier to remember the IPs of good DNSes, too.

6 ≠ 16
v ≠ o

tiredofsametab , in Instructions were unclear:gotta be precise with that anotating tool

As a programmer, I don't even know what we're looking at. A switch, I would guess, but I haven't seen hardware in years. In any case wouldn't "port 21 <bottom|top>" been better?

Username ,

In the bottom picture it looks like the top “port” is just an air intake.

tiredofsametab ,

Yeah, I had never seen a connector that looks anything like that, but I figured I was just behind the times (since it didn't look like Ethernet plugged into it to me)

CubitOom ,

Its not new tech but you’d most likely only see this in a datacenter or buildings with 10 Gb connections as this is fiber optic cabling. One would need an SFP to actually connect it to the port however. Also the tips of the fiber were probably scratched when installing it into the vent holes so the whole cable will probably be replaced and then fixed, so there are multiple failures here.

This is what an SFP looks like. https://infosec.pub/pictrs/image/97d2269b-9254-4713-be8b-d7100972e8f4.png

tiredofsametab ,

Thanks for explaining! I haven't set foot in a datacenter since probably 2008ish, heh.

SirDimples , in Stop comparing programming languages

Stop comparing tools

  • Hammer is heavy
  • Wrench is elegant
  • Saw is versatile
  • Screwdriver
  • Drill is exciting

such pointless

lambalicious , in std::underflow_error

The fun thing is that, C++ being C++, this is actually an std::overflow_error

tibi , in What the heck is a god dang cloud?

And I also don’t want programs to throw all their crap in the documents folder. AppData is made for that.

Ziglin ,

~/.config :>

RandomLegend , (edited )
@RandomLegend@lemmy.dbzer0.com avatar

And now show hidden files and you see the plethora of applications that dump everything in your homedir instead of .config

Irelephant ,
@Irelephant@lemm.ee avatar

Its even worse when they dont make it a hidden folder (looking at you android studio)

RandomLegend ,
@RandomLegend@lemmy.dbzer0.com avatar

yup…

.hidden file became my best friend - and a little context menu script for dolphin to easily add a file / folder to that .hidden is a thing i use way too often tbh

ikidd ,
@ikidd@lemmy.world avatar

That annoys the fuck out of me. I want the folders I put in /home, not your shit. Put it in /.local or something and fuck off.

Ziglin ,

I believe the folder you are attempting to refer to is for all users so you probably do want to have the config in ~/.config unless you want everyone to have the same. Also /home is the directory that includes all users respective ~/ directories so use ~/ when referring to your own home directory.

Edit I can’t figure out the formatting. My client is showing <sub> where ~ should be.

MonkeMischief ,

Hint for KDE folks: Ctrl + h toggles hidden visibility. Makes navigating lots easier. :D

Ziglin ,

Same in thunar (the xfce file manager)

MonkeMischief ,

Awesome! Thunar is legit. 😁

Sabata11792 ,

No matter the environment, it is important to dump shit wherever so the user does not get complacent.

Hammerheart ,

That really pisses me off.

MonkeMischief ,

SO MUCH. Now my standard procedure is to just make a “_My_Documents” folder within Documents, so I can know where the files are that I put there myself.

(Leading underscore pops it to the top of the list alphabetically)

I remember some Windows versions had a Games folder for all that, saved games, etc…but it seems very few games actually decided to use it lol.

BubbleMonkey , in Instructions were unclear:gotta be precise with that anotating tool

I’m enjoying the idea of someone looking at the picture, looking at their cords, looking at the plugs, and then working this out as a solution rather than sending a picture of the plug end and port and asking for clarification.

Like this person probably felt really stupid needing to sort out what’s going on, because it was just unclear, and I enjoy where they ended up all the same. It’s totally wrong, but it’s creative problem solving for sure.

MystikIncarnate , in Repeat after me "this problem isn't bothering me". There! fixed it

I’m pretty sure I’ve done most of these at some point or another.

It really depends whether I like you or not.

Liking my users is entirely dependent on how much work you make me do, and how difficult that work becomes because of your personality.

I’ve gotten tickets that were literally “$thing is broken”, or “help! Call me!” With no information given, not even a callback number. I’ve also gotten a rambling voicemail, in which a user describes an issue with a piece of software and doesn’t identify themselves, not provide any callback information. The CID on the voicemail wasn’t available either, and since I work with several companies doing support, I couldn’t even identify the client, nevermind the specific user.

There’s also the needy users that create tickets for every prompt, dialog, message, delay… Pretty much anything that could happen at all ever, whether it affects their ability to do their work or not.

There’s also the unavailable users, they are not available ever, at any time, for any reason. I have literally gotten critical tickets which require me to access the users workstation to fix, while it is logged in as the user, and I could call less than 5 minutes after they create the ticket, and they’re busy. Email them and they have an out of the office message, or reply with something about them being in a meeting (with no information about when they will be free), or simply don’t reply at all. After a few weeks of trying to contact them to connect and resolve their very simple (but “critical”) issue and getting nowhere, close the ticket, only to be met with a flurry of emails from them about how the problem isn’t solved. Immediately call or reply and you get voicemail and silence.

Most of my users do fine, and it’s usually a minority that are troublemakers, and I want to make that clear… But the troublemakers are the driving force for me to find ways to fix pretty much every problem without ever opening their system though remote control. I can do all kinds of things from registry edits and hacks, to writing and scheduling PowerShell scripts to fix their shit every time they log in, and deploy that by a remote PowerShell command prompt, and nothing more.

Yeah William, you might be the c-whatever bullshit, but if the issue is sooo fucking critical, make five goddamned minutes for me to fix your shit or it’s not getting fixed. I don’t care if you own the goddamned planet, I can’t fix your shit without access.

moonpiedumplings ,

There’s also the needy users that create tickets for every prompt, dialog, message, delay… Pretty much anything that could happen at all ever, whether it affects their ability to do their work or not.‘’

This could be weaponized incompetence. “Oh I keep having issues with my computer that interfere with my work, so I can’t work and IT is incompetent and can’t help me, look at all these tickets and how long IT takes. I just can’t get any work done!”

MystikIncarnate ,

Oh yeah, I’ve seen that. People hit the most minor roadblock and just stop working until someone else fixes their shit.

It’s an attitude of “we’ve tried nothing and we’re out of ideas!”

I don’t like those people either.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • lifeLocal
  • goranko
  • All magazines