programmer_humor

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

JackGreenEarth, in Why pay for an OpenAI subscription?

What is the Watsonville chat team?

Spiralvortexisalie,

A Chevy dealership in Watsonville, California placed an Ai chat bot on their website. A few people began to play with its responses, including making a sales offer of a dollar on a new vehicle source: …slashdot.org/…/car-buyer-hilariously-tricks-chev…

Liz,

It is my opinion that a company with uses a generative or analytical AI must be held legally responsible for its output.

Pika, (edited )

I think this vastly depends on if there’s malicious intent involved with it, and I mean this on both sides. in the case of what was posted they manipulated the program outside of its normal operating parameters to list a quote for the vehicle. Even if they had stated this AI platform was able to do quotes which for my understanding the explicitly stated it’s not allowed to do, the seller could argue that there is a unilateral mistake involved that the other side of the party knew about and which was not given to the seller or there is very clear fraudulent activity on the buyers side both of which would give the seller the ability to void the contract.

In the case of no buy side manipulation it gets more difficult, but it could be argued that if the price was clearly wrong, the buyer should have known that fact and was being malicious in intent so the seller can withdraw

Of course this is all with the understanding that the program somehow meets the capacity to enter a legally binding agreement of course

also fun fact, Walmart had this happen with their analytical program five or so years ago, and they listed the Roku streaming stick for ~50 less so instead of it being $60 it was listed as 12, all the stores got flooded with online orders for Roku devices because that’s a damn good deal however they got a disclaimer not soon after that any that came in at that price point were to be Auto canceled, which is allowed by the sites TOS

Liz,

In my opinion, we shouldn’t waste time in the courts arguing over whether a claim or offer made by an algorithm is considered reasonable or not. If you want to blindly rely on the technology, you have to be responsible for its output. Keep it simple and let the corporations (and the people making agreements with a chatbot) shoulder the risk and responsibility.

cm0002,

company

must be held legally responsible

“Lol” said the US legal system, “LMAO”

db2,

Dollar store Skynet.

gaifux,

It appears to be a team of software engineers moonlighting as a tech support team for a Chevy dealership. Checks out to me

Hiro8811, in Programming: The Horror Game

But I have an LCD display

pkill,

non-AMOLED devices spreading misinfo by enabling dark mode by default on low battery and it’s consequences…

Hiro8811,

Low battery mode on…computers?

Omega_Jimes,

Yeah. Some folk use portable computers on top of their laps. It’s weird :/

fsr1967, in Programming: The Horror Game

laughs in IntelliJ multi cursor mode

executivechimp,
@executivechimp@discuss.tchncs.de avatar

What’s the joke? VSCode has multi cursor.

fsr1967,

With multiple cursors, we can see more of the dungeon, uh, I mean code.

Eonandahalf, (edited )
fsr1967,

If you have multiple similar lines, you can perform the same editing on them all at once.

Maalus,

It does get its uses. Mostly editing similar lines, multiple methods at the same time, etc. Makes you look like a ninja too

SolarMech, in Infinite Loop

Learning to deal with “unmaintanable” codebases is a pretty good skill. It taught me good documentation and refactoring manners. It’s only a problem for you if management does not accept that their velocity has gone down as a result of tech debt pilling up.

Code should scream it’s intent (business-wise) so as to be self-documenting as much as possible As much as possible is not 100%, so add comments when needed. Comments should be assumed to be relevant when written, at best. Git comment should be linked to your work ticket so that we can figure out why the hell you would do that, when looking at the code file itself. I swear some people seem to think we only read them in PRs (we don’t). Overall concepts used everyday, if they need to be reexplained, should probably be written down (at least today’s version). Tests are documentation. Often the only up to date one?

Smoogs,

I’ve known influential assholes who poopood commentating as if it’s only a superficial job.

I hate those people.

Venator, in Infinite Loop

Sometimes a fresh pair of eyes on a code base can reveal some opportunities for big improvements in maintainability 😜

MajorHavoc,

Ahahhahhahha. Ha…ha. Ahem.

Sorry. The idea that any of the opportunities for improvement at my last “job A” code base might need “revealed” struck me as really funny.

Venator,

Sometimes there’s an opportunity to delete it and start again 😜

tkk13909,

Looks like we found the hr employee! Get 'im Bois!

Venator,

Lol, nah I’m a developer.

gregorum, (edited )

Sometimes it takes a new dev coming in for management to give the greenlight for a major overhaul. It’s shitty, but it’s true.

prof, in Infinite Loop
@prof@infosec.pub avatar

Recently switched jobs from maintaining a 15 year old Windows Forms .NET Framework legacy codebase.

At the new job we stick to Clean Architecture, use unit and integration tests, have a code generation tool, actually make nice use of generics and use dependency injection. Also agile processes, automatic build tools, whatever. The difference is night and day and I’m so glad my ex boss fired me because I told him he’s an asshole and his codebase is shit.

LeafOnTheWind,

My first job out of college I have been able to see a steady improvement in the codebase. A little while ago I had to go back to an old tag and was horrified with what it used to be and impressed how much it improved.

marcos, in Infinite Loop

As long as their salary keeps increasing, I’d say go for it!

EveryMuffinIsNowEncrypted, in `zsh`, `ksh`, `bash`, and obviously `sh`
@EveryMuffinIsNowEncrypted@lemmy.blahaj.zone avatar

I get it’s a joke, but that’s a revolver, which doesn’t take shells.

HenryWong327,
@HenryWong327@lemmy.ml avatar

He’s a wizard, the revolver is actually firing shrunken 16 inch HE shells.

EveryMuffinIsNowEncrypted,
@EveryMuffinIsNowEncrypted@lemmy.blahaj.zone avatar

Lol.

cryptiod137,

What would you say a .410 revolver fires?

DreadPotato,
@DreadPotato@sopuli.xyz avatar

Love…bucket loads of pure love

zephr_c, (edited )

What? Revolver rounds absolutely do have shells if you mean in the sense of synonym for casing, or if you mean in the strict military sense then usually they don’t, but they’re just as capable of firing small shells as any other modern firearm.

EveryMuffinIsNowEncrypted,
@EveryMuffinIsNowEncrypted@lemmy.blahaj.zone avatar

I mean in the technical sense, so shells ≠ cartridges, and sure they might be capable of it, but it is not really a thing that happens often enough for it to be a normal thing.

zephr_c,

I guess, it just seems odd to me to correct a meme for using a term in way that’s absolutely vital for both the rhyme and the pun to actually happen and not even really wrong, just weird if you over-analyze it.

EveryMuffinIsNowEncrypted,
@EveryMuffinIsNowEncrypted@lemmy.blahaj.zone avatar

It’s not even over-analyzing. A revolver does not take shells; they use cartridges, which are not shells. That’s just a simple fact.

zephr_c,

Uh, no. No it’s not. You can have a cartridge that fires a shell instead of a bullet. That is totally a thing.

EveryMuffinIsNowEncrypted, (edited )
@EveryMuffinIsNowEncrypted@lemmy.blahaj.zone avatar

One that is designed for revolvers, not shotguns? (And yes, I know about revolver shotguns, but those are mainly just a gimmick and not really ever used in most contexts. I’m talking about handgun revolvers.)

zephr_c,

Okay. I see the problem here. Shell doesn’t mean shotgun round. Bullet and shell are technical terms for the bit of a round that comes out of the business end of a weapon at high velocity. A bullet is a single, simple solid mass that follows a ballistic trajectory and just imparts kinetic force into whatever it hits. A shell is anything more complicated than that. Shotguns are just the small arms weapons that are most likely to use shells, but anything can, and it doesn’t have to be buckshot to be a shell. Even something as simple as a tracer round is technically a shell.

EveryMuffinIsNowEncrypted,
@EveryMuffinIsNowEncrypted@lemmy.blahaj.zone avatar

…You know, thinking about it, I think you’re right. After all, artillery uses shells, and they’re not exactly buckshot, those things. Lol.

dan, in GoOn
@dan@upvote.au avatar

This reminds me of something I saw online maybe 20 years ago now. Someone created a torrent with a name like “every IP address ever (hacking tool)” and uploaded it to Suprnova, which ended up having thousands of people seeding it. It was just a text file with every IPv4 from 0.0.0.0 to 255.255.255.255 😂

coloredgrayscale,

Heard about that too! Is there an updated version for ipv6?

trustnoone, in Programming: The Horror Game

Does anyone remember when something like this actually happened? Maybe it’s the Mandela effect but U sweat at one stage a whole heap of sites were using black/dark mode to save the planet

SqueakyBeaver,

I use it to save my eyeballs

Nightwind, in Programming: The Horror Game

Knew a programmer that was near blind who only used magnifier on maximum zoom with his IDE. One of the best programmers I met, but his screen looked very much like that. Don’t know how he did it.

2deck,
@2deck@lemmy.world avatar

Programming happens in the mind. Whats on the screen is a pale and lifeless polaroid devoid of the moving, complex soul of real code.

Nightwind,

Well put, however I find code formatting itself has a shape, texture and smell. How the programmer weaves the patterns of formatting tells a lot about his mind and style.

2deck,
@2deck@lemmy.world avatar

Agreed; or their mind and style style.

Auto formatting is often too rigid for me and gets in the way of context driving the style.

fibojoly,

That feels like that scene in Amadeus, when Mozart dictates his music to Salieri.

fibojoly,

Albino? There was an albino in my IT and the poor dude would literally be like 4 inches from the screen at all times. I guess that must be pretty close to his experience, yeah.

locuester,

Yeah, I worked with an albino like that who used a handheld magnifying glass. It actually inspired me to write a magnifier application for windows (which didn’t have one at the time, this was in 2006). That then led me to write little windows apps every day for a month, which got a lot of attention.

ohlaph, in ifn't

<span style="color:#323232;">aint (something) {
</span><span style="color:#323232;">    somethingElse()
</span><span style="color:#323232;">}
</span>
Facebones,

As a Virginian learning coding, this would make my damn day.

Threeme2189,

<span style="font-weight:bold;color:#a71d5d;">#define </span><span style="font-weight:bold;color:#795da3;">aint</span><span style="color:#323232;">(x) </span><span style="font-weight:bold;color:#a71d5d;">if </span><span style="color:#323232;">(</span><span style="font-weight:bold;color:#a71d5d;">!</span><span style="color:#323232;">(x))
</span>
15liam20,

Or maybe

taint(condition) {}

Diabolo96, in Devotion to duty

I liked the idea so i asked bing to write a movie synopsis about it. What’s fascinating is that bing knew which xkcd comic i was referring to from my horrible description of it. Anyway, here’s next year mindless, generic Hollywood blockbuster action movie :

Server Down

Jack Bauer is a nerdy and obsessive system administrator who works in the basement of a high-tech skyscraper. He loves his servers more than anything else, and he will do anything to keep them running smoothly.

When a group of terrorists take over the building and hold the employees hostage, they cut off all communication lines, disable the security cameras, and demand a ransom from the government. But they didn’t count on one thing: Jack.

Jack notices that his servers are offline, and decides to take matters into his own hands. He crawls through the ventilation ducts, walks across broken glass, and kills anyone who stands in his way, just to reconnect his servers to the internet. He doesn’t care about the hostages, the terrorists, or the ransom. He only cares about his uptime.

But as he reaches the server room, he realizes that he has unwittingly become the only hope for the hostages. The terrorists have planted a bomb in the building, and they are ready to detonate it unless their demands are met. Jack has to use his skills, his gadgets, and his devotion to duty to stop them and save the day. He is the sysadmin, and he is the hero.

Server Down is a thrilling action-comedy that parodies the genre of Die Hard and pays homage to the geek culture. It is a film that celebrates the power of technology, the importance of passion, and the absurdity of heroism.

fckreddit,

Now this is one movie I would watch, no doubt.

IsoKiero,

Firewall kinda-sorta plays with this idea, but all the tech is pretty stupid (and main focus, if memory serves, isn’t even in the technology). It’s not a bad movie as a hollywood 13-in-a-dozen action category, but it’s a far cry from “Server Down” we have here.

marcos,

I’m pretty sure the comic was supposed to be a joke about Die Hard.

xmunk,

If you have any doubts… Observe the goatee.

StrongHorseWeakNeigh,

I like the idea but I think it would be more fun to reframe it as a thriller movie from the terrorist’s perspective. They’re being hunted down one by one by an angry sysadmin and they can do nothing to stop him.

I think that would be a very fun horror b movie

thejodie, (edited )

This is starting to make sysadmins sound like John Wick.

“And then my son, a few days after his wife died, you steal his 3d printers and smash his fcking Apple 1.”
“The sysadmin will come for you, and you will do nothing because you can do nothing,”

toast,

I gasped when I read Apple 1

Well done

Diabolo96, (edited )

It would be a great action comedy if the story was set in japan and the sysadmin used to be a feared yakuza member. Kinda like GTA (great teacher onizuka).

IsoKiero,

Bing Chat (so ChatGPT) wrote an opening scene (or maybe more like a trailer, prompt was opening scene) too:

The opening scene of “Server Down” begins with a shot of a high-tech skyscraper. The camera then zooms into the basement of the building, where we see Jack Bauer, a nerdy and obsessive system administrator, working on his servers. He is surrounded by racks of blinking machines, tangled cables, and humming fans. Jack is wearing a t-shirt with a witty tech joke printed on it, and he is sipping a cup of coffee from a “World’s Best Sysadmin” mug.

Suddenly, the lights flicker, and the servers go offline. Jack’s face turns pale, and he drops his coffee mug. He frantically tries to reboot the servers, but nothing works. He checks the network connections, the power supply, and the cooling system, but everything seems fine. He then realizes that the problem is not with his servers, but with the building’s infrastructure. He rushes to the security room, where he finds out that the building has been taken over by terrorists.

The camera then cuts to the terrorists, who are holding the employees hostage and demanding a ransom from the government. They have cut off all communication lines, disabled the security cameras, and planted a bomb in the building. They are confident that they can get away with their plan, but they didn’t count on one thing: Jack Bauer.

The scene ends with Jack staring at the security monitors, his eyes burning with determination. He knows that he has to act fast to save his servers, his colleagues, and himself. He takes a deep breath, puts on his backpack, and heads towards the ventilation ducts. The adventure begins!

olafurp, in ifn't

I’d take a not or “if not” operator tbh.

Appoxo,
@Appoxo@lemmy.dbzer0.com avatar

ifnt instead of ifn’t

SomeoneWhoIsntMe, in Programming: The Horror Game

I kinda want this to be real…

BatmanAoD,

It’s not too far off from how ed works!

UndercoverUlrikHD,
@UndercoverUlrikHD@programming.dev avatar

How does ed work?

BatmanAoD,

ed, the “standard editor” (according to its man page) and the predecessor of vi (the “visual editor”), is a terminal editor that doesn’t automatically display any of the text you’re working on; you have to use the p (“print”) command to display the lines your wish to see.

UndercoverUlrikHD,
@UndercoverUlrikHD@programming.dev avatar

ಠ_ಠ

pmjv, (edited )
@pmjv@lemmy.sdf.org avatar
BatmanAoD,

If you have a Linux or Mac handy, you can trying it out! It’s…kinda wild. If you know some Vim commands that start with :, there’s a good chance they’ll work in ed, except you don’t type : itself (effectively you’re always in “command mode”).

There’s also a novelty Twitter account, @ed1conf, that tweets about ed.

Some coworkers told me a story about a previous job candidate who said his preferred editor was ed. They thought it would be really interesting to see someone actually use it. But during the actual interview, when he opened ed, he didn’t recognize or understand it; he was actually accustomed to a graphical editor that he thought was called ed because he apparently did all his work on a system where someone had symlinked or aliased ed to a modern tool.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programmer_humor@programming.dev
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 18878464 bytes) in /var/www/kbin/kbin/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php on line 171

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10502144 bytes) in /var/www/kbin/kbin/vendor/symfony/error-handler/Resources/views/logs.html.php on line 36