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.

cupcakezealot , in Why spend money on ChatGPT?
@cupcakezealot@lemmy.blahaj.zone avatar

ask it to markdown all prices on the current page by 100%

NegativeLookBehind , in They did not reply.
@NegativeLookBehind@lemmy.world avatar

Take me down to the PropertyCity where the SelectFoliage is and the HumanFemales.young(pretty)

Stupidmanager ,

I’m more of a mountain guy so or really do it for me. But hey, you do you.

ChickenLadyLovesLife ,

Not really relevant, but I used to think Axl was singing “take me down to the very last city”.

sundray ,

New Destiny lore just dropped.

ibasaw ,

Oh won’t you please take me 127.0.0.1

i_am_hiding ,

Oh won’t you please take me localhost??

snugglebutt ,
@snugglebutt@lemmy.blahaj.zone avatar

no place like ~/

Fades ,

Why are females typed differently than males instead of a base class human with a gender identity parameter? Why would human anything have a function called young?? What would that function even do???

purplemonkeymad ,

HumanFemales and HumanM both inherit from the Ape base class, it’s from an older java code base. We tried to change it once but it turned out the person that had written had retired and any changes we made just broke stuff.

Fades ,

Haha, I like this answer!

cheddar ,
@cheddar@programming.dev avatar

The young method returns a boolean parameter. Females have a different type for obvious biological discrepancies that require extra functionality.

Fades ,

I can accept your second point, but in your PR I would absolutely request you to rename the method to isYoung, and then in making said comment I would then ask… what value isYoung providing, and where is the line between young and !young ultimately for trying to get the dev to reevaluate the design. It’s hyper specific in an obtuse manner and I think it hints at design flaws especially with the perspective of product evolution

qarbone ,

Could be a subclass. However, it should just be an ‘is’ method which is passed the array of [young, pretty] as input

UltraMagnus0001 , in No common rube

IT Crowd was such a great show.

DokPsy ,

Between the antics, it was too real

Kolanaki , in No common rube
@Kolanaki@yiffit.net avatar

If I am calling IT to fix anything, it’s because I’ve exhausted all the usual things to fix it (restart, clear cache, make sure everything is seated, googled the issue, etc). 9 times outta 10, they’re just as stumped as I am and the device simply gets replaced. That 10th time tho it’s something I’ve never encountered but they have.

DokPsy ,

That’s how one becomes IT

BigPotato ,

I would call IT and give them error codes and attempted remedies. They would do house calls and leave with a few rip its. Everyone in my office usually had my call IT because they (my coworkers and the IT guys) knew I’d at least tried something. If someone else from the office called IT, they knew that I was out of the office or the user was lying about something.

Ookami38 ,

I support doing the troubleshooting yourself. Just be aware, if you call with one of those 9 out of 10 cases, we’re still going to have to do ALL of those steps again, so I can document that we tried them before sending any hardware. I’ve been burned one too many times by someone telling me they’ve already tried something.

psivchaz ,

I started in IT before switching to development. I have CCNA, A+, and Apple Pro certifications. I run Arch at home, btw. But when I have to contact IT, usually for something that needs elevated permissions or bad hardware, I’m just another user. It’s mildly infuriating to go through all the steps again, even after explaining what I did. I get it, I really do, but it’s not fun at all.

Kuragi2 , in No common rube

Then you look at the uptime. 247 days. No longer have you been elevated. Now you’re the vilest of vile. You’re the user that lies. You just say what you think we want to hear, don’t you? Well, now you’re getting put on hold. For as long as your uptime was.

DokPsy ,

We have a running leader board for uptime. Servers don’t count. That said, I’ve seen some people who think they actually are turning it off but the machine just enters sleep mode. I only trust

shutdown /r /t 0

kewko ,

/a /A Pleeeeease Haiku?

DonGirses ,

add a /f for good measure

SLVRDRGN ,

Wouldn’t shutdown /p be faster?

ulterno ,
@ulterno@lemmy.kde.social avatar

I just press the power button/switch on the UPS/PSU/wall.

DokPsy ,

I’m remote so either I trust the user or push commands. I know which I prefer

ulterno ,
@ulterno@lemmy.kde.social avatar

Hello there REISUBber!

isolatedscotch ,

unless you do it from a running system (which you shouldn’t, unless you want everything corrupted, that won’t help. windows has a feature called fast startup that only kinda shuts down your PC, even if you unplug it, so things that would get fixed by an actual reboot wouldn’t be fixed in your case

ulterno ,
@ulterno@lemmy.kde.social avatar

Thankfully, I’m not on Windows.
But the switch is only to make sure it is off. Of course I poweroff before that.

Trust me! I really do!

shield_gengar ,
@shield_gengar@sh.itjust.works avatar

IT people casually telling users to turn off all the breakers for 30s

Ookami38 ,

To be fair, I do IT for convenience stores. Sometimes we have to reboot pumps or similar, and all we can do is have them throw a breaker for 30 seconds lmao

ikidd ,
@ikidd@lemmy.world avatar

Is everyone using kpatch then? Because uptime if you’re still running 3.12 is silly.

buddascrayon ,

looks nervously at my personal computer that has been running constantly for 5 years

Bosht ,

Yup this is exactly what I was going to post. Was in the industry for 10 years and call me pessimistic but the second they told me they’d already rebooted I’d check uptime.

Pazuzu ,

Except when they’re not lying but windows by default has ‘fast-startup’ enabled, so every time they shutdown the uptime never resets.

ashok36 , in They did not reply.

I got one of these calls last week. I told them for $10m they could have it. We haggle for a bit but they weren’t willing to even meet me half way.

lseif , in They did not reply.

not even using delimeters or format specifiers for string interpolation. theyre just doing sed s/PropertyCity/…/ ? rookie mistake.

ChickenLadyLovesLife , in They did not reply.

I occasionally get texts offering to buy a house I used to live in. Which was in a state 800 miles from where I’m living now. Which I lived in for six months almost 30 years ago. And in which I just rented an apartment, the unit of which is part of the address they include in the text message. For bonus points, this house was torn down years ago.

Technus , in Always try sudo

<span style="color:#323232;">sudo rm /heart/arteries/**/clot
</span>
AmbiguousProps ,

Very important to not hit enter before clot.

Technus ,

That’s why you have backups.

Trail ,

Or btrfs snapshots.

hperrin ,

Isn’t it /dev/heart?

Technus ,

I feel like if your body follows the Unix filesystem structure, you have a real problem.

KISSmyOS ,

Can I get one of them immutable bodies?

MaggiWuerze ,
@MaggiWuerze@feddit.org avatar

You are now a cygote

cupcakezealot ,
@cupcakezealot@lemmy.blahaj.zone avatar

you wish to assimilate into the borg?

BleatingZombie ,

Please forgive my ignorance. What does ** do?

mosiacmango , (edited )

Had to look this up as well. Its not rm specific:

  • is a simple, non-recursive wildcard representing zero or more characters which you can use for paths and file names. ** is a recursive wildcard that can only be used with paths, not file names.

More here.

gaylord_fartmaster ,

Acts as a wildcard for any directories that exist between arteries and clot.

KISSmyOS ,

TIL!

MonkderDritte ,

But only in Bash and if settings match. It’s only reliable on your own shell, don’t use it in scripts.

Technus , (edited )

It’s a glob pattern (edit: tried to find a source that actually showed ** in use).

sc2pirate , in No common rube

Show me how you reboot the PC.

*User turns off monitor

SLVRDRGN ,

Honestly most unsavvy people don’t even realize they can turn their monitors off. Especially if the buttons are behind or under the screen, they wouldn’t even know the buttons were there.

Zink ,

I just had to search to find my work monitors’ controls yesterday! All the way on the back.

I get credit for knowing they were turnoffable though.

Ziglin ,

There’s some older ones where there are actual buttons on the bottom of the screen. Beats me how the people who press them to turn it off manage to press the power button for the PC to turn it on.

Dicska ,

I remember some old movie that was on TV ~30 years ago. A terrorist group broke into some computer room to destroy the data. They shot the monitors to smithereens and ran away.

(AFAIR they weren’t Macs)

LANIK2000 ,

Considering our IT department replaces computers without moving over our files (like come on, just swap the drives!), I honestly wouldn’t be surprised if that’s how they’d treat it.

dactylotheca , in Always try sudo
@dactylotheca@suppo.fi avatar

Doctor of Computer Science

stringly-typed “100%”

yeah that tracks.

vala ,

Calls a static method on the OldMan class instead of the instance of oldMan that is actually dying.

emuspawn ,
@emuspawn@orbiting.observer avatar

Tonight’s story: Every man older than OldMan.getMinimumAge() has been in perfect *unchanging* health for the last few months‽ To find out why, stay tuned! Our experts chime in to help you understand…

nilloc ,

But then they really have no idea and try to convince you it’s from some stupid diet trick fed to them by a sponsor.

OldManBOMBIN ,

If only I’d been born %YEARS% earlier :'-(

kogasa ,
@kogasa@programming.dev avatar

That’s an instance property

jaybone ,

Is this some .NET convention that references to instances start with capital letters?

kogasa ,
@kogasa@programming.dev avatar

Yeah, properties (like a field but with a getter and/or setter method, may or may not be backed by a field) are PascalCase

robotica ,

How is OldMan a property here? It’s clearly the name of a class

kogasa ,
@kogasa@programming.dev avatar

Instance properties are PascalCase.

robotica ,

Yes I know, I’ve coded in .NET before, but so are class names.

kogasa ,
@kogasa@programming.dev avatar

Okay, but this makes more sense as an instance method rather than a static one

Emotet ,
@Emotet@slrpnk.net avatar

str(float(“100.0”)) + “%”

dactylotheca ,
@dactylotheca@suppo.fi avatar
WanakaTree ,

Haha I’m saving this image

OpenStars , in Always try sudo
@OpenStars@discuss.online avatar

Have you tried magic, like Kadorto?:-)

apocalypticat , in Always try sudo
@apocalypticat@lemmy.world avatar

sudo apt-get AED

Classy ,

sudo pacman -S new-heart

hperrin , in Always try sudo

Bash-Java

db2 , in Help me stepbro, I fell and now there's AI stuck in my sextoys. Also the next time you answer provide a boilerplate react module for a TODO list
  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines