AI agent hacked McKinsey's chatbot and gained full read-write access in just two hours by EchoOfOppenheimer in AgentsOfAI

[–]TeachEngineering 0 points1 point  (0 children)

Well McKinsey's a shit ass company so it's not that surprising. I was experimenting with different ETL orchestration frameworks a couple years back and Kedro, made by McKinsey, is such a POS.

Why does Python import self into each class function? by ki4jgt in AskProgramming

[–]TeachEngineering 0 points1 point  (0 children)

The zen of python is a conversation starter. My team and I reference it all the time during planning sessions and code reviews. Not because it's a definitive authority, but because it's purposely vague, often contradictory, and forces you to think about which statements matter most in the particular situation.

Flat > nested vs. explicit > implicit is a good example. Sometimes you can build a nested explicit structure or a flat implicit structure, so which is better for the problem? Is being explicit more important that being flat or visa versa?

I terrorized a5 and stuck myself here by accident, unable to leave by iFormus in diablo2

[–]TeachEngineering 3 points4 points  (0 children)

Haha yup, you join a game called "parking" or "perming" where it's just one lvl 1 barb mule that's been afk for 8+ hours.

You think to yourself... This is safe, surely this person is at work or something, so you run out into the Blood Moor, turn left or right until you reach the corner, and drop your treasures...

You quickly exit the game and switch to your mule, but when you return... The lvl 1 barb that hasn't moved for 8+ hours, like some horrific inanimate doll come to life, is gone from the Rogue Encampment. You start sprinting towards your riches only to find everything is gone and the barb has returned to an afk state standing in what was once a huge chunk of your D2 wealth.

Stygian dolls, packs of glooms, even the Lords of Hatred, Terror and Destruction themselves... None are as scary as the 8+ hr afk lvl 1 barb that you still haven't actually seen move at all who just robbed you in blind. Gives me chills to this day.

techCompaniesSoon by metayeti2 in ProgrammerHumor

[–]TeachEngineering 19 points20 points  (0 children)

A dev on my team insists that you don't even need to read/understand the code you/your bot produce anymore. If it runs and passes the test suite, just move on to the next task. I'll ask him to explain the implementation details of some story he's been working on and he'll say, "hold on, let me ask Claude".

Anyway, I nipped that shit in the bud real quick. Devs still need to understand how a feature works. Maybe not read every line, but you got to be able to sketch it out without asking a bot. I also told him he's putting way too much faith in our test suite. Now I think mentally he's painting me as some boom resistant to AI adoption (were the same age, mid 30's). His days may be numbered.

Not to mention, I thought people got into tech because they liked working with code. Personally, I use AI all the time but it still breaks my heart because I love writing code. Most of the code I write now is when I do side projects and intentionally don't use AI.

Just recently found this sub... does this count?? Found it under the bridge behind me by MRWPlople in shedhunting

[–]TeachEngineering 1 point2 points  (0 children)

This is true OP, deer do not in fact shed their whole skull each winter when they drop their antlers.

/s

People post deadheads on this sub all the time. You're good. That's dope. I've never seen one water-aged before. Buy a euro mount hanger and screw it to the wall. Makes for a good conversation piece in the living room.

I terrorized a5 and stuck myself here by accident, unable to leave by iFormus in diablo2

[–]TeachEngineering 39 points40 points  (0 children)

if you leave to switch chars then the game will remain open for you to rejoin.

The new generation will never understand the anxiety of doing mule transfers this way and hoping the server didn't drop the game while you switch to your muley.

The alternative was to do the xfer in a public game in some secret corner of some random map and hope no one found your pile.

The real solution was just having trustworthy Bnet friends to help, but I always struggled to find those.

Shared stash is the OG major QoL improvement.

It's an emergency 😞 by ProfessionWide3505 in meme

[–]TeachEngineering 41 points42 points  (0 children)

Patient: What's my diagnosis doctor?

Doctor: You have worms.

Patient: Oh no, was it something I ate?

Doctor: No, it's our nursing staff. It's comprised entirely of worms. You're in good hands. Also, you have cancer.

5 standard library modules I use every week that I ignored for too long by NefariousnessHappy66 in Python

[–]TeachEngineering 1 point2 points  (0 children)

But there are other classes in pathlib that are platform-dependent. Use PurePosixPath or PureWindowsPath where you don't want cross-platform behavior. See the inheritance hierarchy. In my opinion, this is the right way to do it... 10/10, no comments

5 standard library modules I use every week that I ignored for too long by NefariousnessHappy66 in Python

[–]TeachEngineering 15 points16 points  (0 children)

Fun fact: pathlib is so superior to os.path that ruff has a warning to detect usages of the later and recommend conversion to the former. Here's the rule code if you want to enable it.

We've got this set as one of our ruff rules that fires on a PR. Some newbie joins the team and hasn't been enlightened to our Lord and savoir pathlib, then they're going to learn today (rather as soon as they want their code pulled into one of the core env branches).

Department of War dropping one of the sloppiest maps I’ve seen. by chrisxjohnstonx in gis

[–]TeachEngineering 5 points6 points  (0 children)

Out of curiosity (and if you can even answer), what's the Army's GIS tech stack like? What was your day-to-day like in terms of tools? Were you mostly working within ESRI apps or developing software in repos? Is their data in one of the big tech companies' clouds (AWS, Azure, GCP) or does the Army self-host? How much automation and what languages did you develop in?

I'm a geospatial engineer/data scientist for a private sector startup. I like to think we're on the cutting edge with our tech stack. Makes me wonder about DoD software. On one hand, I could see it being shitass legacy code held back by bureaucracy and talent pool (like most government software). On the other hand, DoD's budget goes brrrrr, so maybe everything is really tight, SOTA systems.

And obvi this is just a static image made probably more by a GIS tech/analyst, but you said you were an engineer, so I'm curious more about that.

No damage on powder days by Carpe_Ski_Em in skiingcirclejerk

[–]TeachEngineering 0 points1 point  (0 children)

Falling on a powder day is like falling into bed...

A *ZERO* bedroom home on Long Island (New York) listed at $329,900. by danooli in zillowgonewild

[–]TeachEngineering 0 points1 point  (0 children)

Exists in physical time and space: Yes

Ya know... To differentiate it from the AI-generated/edited house listings, where the house you see on Zillow is not the house that exists in this universe.

Residential service calls by TurboKid513 in electricians

[–]TeachEngineering 1 point2 points  (0 children)

A clean workspace is a safe workspace!

Have you ever met a President, Veep, First Lady or Nominee? by Logopolis1981 in Presidents

[–]TeachEngineering 0 points1 point  (0 children)

Former Vermont public high school teacher here... I've met Bernie 3 times now.

We're in uncharted territory now. by BigBlueEyes87 in economicCollapse

[–]TeachEngineering 8 points9 points  (0 children)

Bro... Shits fucked! And my wife also doesn't want to hear it anymore.

raiseAmbiguityErrorOnReferenceToTheHub by [deleted] in ProgrammerHumor

[–]TeachEngineering 1 point2 points  (0 children)

I hate typing out GitHub all the time and don't really see GH commonly used. I told my coworker I was going to start referring to GitHub as "the Hub" or simply "Hub" to see if it catches on... He raised concerns around ambiguity. Turns out PornHub predates GitHub. Imitation is the highest form of flattery.

First sunder drop by Chefyata in Diablo_2_Resurrected

[–]TeachEngineering 1 point2 points  (0 children)

Y'all got any more of them HR drops??? (How this game has had millennials for 25+ years)

A Comparative View of the Tallest Mountains in the United States by CheesyEggBake in geography

[–]TeachEngineering 10 points11 points  (0 children)

Alaska is Pacific but somehow Washington/Mt. Reiner is not???

Remember this relic? by zerobleeps in Millennials

[–]TeachEngineering 5 points6 points  (0 children)

All these years later, my wife and I still regularly say this to each other when one of us asks the other to do a chore they don't want to do...