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.

pete_the_cat , in programmer job in a nutshell

I’ve straight up ripped code from StackOverflow that worked… But I had no idea why or how it worked 😂 I taught myself Go and I’m decent at it, one of my coworkers was a former professional programmer who knew C and could fumble his way through Go. I later told him I had no idea what some of the code did because I did the old copy and paste and he just said “I knew you did” 😂

perviouslyiner , (edited )

When someone copies from stack overflow, a reviewer’s first question should be “did you copy the question or the answer?

TexasDrunk , in programmer job in a nutshell

She’s now qualified to do 90% of my job. Unfortunately the other 10% is explaining why it works.

Kolanaki ,
@Kolanaki@yiffit.net avatar

You can Google that too 🤷🏻‍♂️

“I don’t know shit! I just have, like, a really good memory.”

Aceticon ,

There’s an anecdote that goes like this:

An important machine in a factory stops working. No matter what they do they can’t get it to work again.

So they bring in a specialist to solve the problem, for an agreed fee of $1000

The guy checks the machine over and then goes and presses a specific button and the machine is back working again.

So the factory manager goes: “All you did was press a button! Why should I pay you $1000 for pressing a button?!”

To which the specialist answers: “Well, you see, you’re paying me just $1 to press the button. The other $999 are for knowing which button to press”.

TexasDrunk ,

I heard the same story when I was a kid, but it was about a boilermaker. The rest was for knowing where to tap his hammer to fix their problem.

It’s an obviously apocryphal story with two great messages. First, don’t undervalue your expertise just because the fix was easy (I still have a problem with that). Second, if you don’t know what you’re doing don’t question the expert just because it looked easy.

mrsgreenpotato ,

I know a version with a graphics designer. They designed something in 10 minutes and asked 1000 USD for it. When confronted on why it is so expensive for just 10 minutes of work, the answer is that it’s not just the 10 minutes of work, but also the 10 years of experience that lead to this 10 minutes of work.

BastingChemina ,

It’s a real story!

https://www.smithsonianmag.com/history/charles-proteus-steinmetz-the-wizard-of-schenectady-51912022/

At the beginning of the 20th century Henry Ford’s electrical engineers had issues they could not solve with a gigantic generator. Henry Ford called Steimmetz, a genius mathematician working for GE to help them.

When he arrive at the factory he spent 2 days and night listening to the generator and scribbling on his notebook.

After that he asked for a ladder, climbed on it, put a chalk mark on a specific spot and explain to the engineers that they needed to remove the plate and replace sixteen windings behind the plate. After that the generator worked perfectly and Ford received a $10 000 bill.

Ford asked for an itemized bill and Steinmetz sent this

  • Making chalk mark on generator $1.
  • Knowing where to make mark $9,999.

Ford paid the bill.

DogWater ,

That’s so badass haha

CosmicCleric , (edited )
@CosmicCleric@lemmy.world avatar

It’s funny reading this, because the way I heard the story was as a railroad story.

The train engine wouldn’t run. The expert was called, he arrived, and after inspecting the train engine, knew exactly were to apply a little bit of oil to make it run again. His bill was challenged as being overly expensive, and he countered with them paying for the knowledge of where to apply to oil, not the oil itself.

There’s like all these different versions of the same philosophy of the story

maynarkh ,

Yeah, but companies everywhere have just laid off the 10% who could do that.

jnk ,

That last 10%, my friend, is GPT’s job not mine

RAM , in Tattoo Idea

I already have a couple hand tattoos, but I definitely need this or some other dev related tattoo ^^

genfood OP ,

I request a proof.

RAM ,

I try to keep this profile somewhat anonymous, so no proof for now (:

Muffi ,

I also sport a couple of hand tattoos. Only 3 are dev related though.

RAM ,

What are the dev related ones ? :))

neutron , in After all, Why shouldn't i use Excel as my database?

This is why I dread working with anything ‘too consumer friendly’.

Wasn’t it a few years ago that scientists working on human genes renamed something because excel was chaging it every time?

zagaberoo ,
Norgur , in Kubernetes dev moment
@Norgur@fedia.io avatar

I wanted to answer but there is a space missing or too much, idk. Long story short: my answer isn't working

marcos ,

I, for one, remember editing a YAML file and getting it right on the first try!

Once, of course, but that’s enough to show it’s possible.

Norgur ,
@Norgur@fedia.io avatar

It's possible. I do it daily. I also fuck up YAML files and go space-hunting on the daily.

datelmd5sum ,

it’s storageConfig instead of storageconfig since the CRDs got upgraded to v0.4+, you idiot.

Norgur ,
@Norgur@fedia.io avatar

Yeah, you dimwit! Also, PID now doesn't take a multi-line array anymore but single lines with commas, so what's this

PID:
   - 123354
   - 567673
   - 123456

nonsense you're trying to pull here, eh?!

andrew , (edited ) in Kubernetes dev moment
@andrew@lemmy.stuart.fun avatar

deleted_by_author

  • Loading...
  • RiQuY ,

    Or a ESPHome user.

    lemming741 ,
    andrew ,
    @andrew@lemmy.stuart.fun avatar

    Or homeassistant. Or gitlab/github actions. So much yaml.

    0x0 , in As someone not in tech, I have no idea how to refer to my tech friends' jobs

    Digital archæologist. Bitshifter.

    FrostyCaveman , in Kubernetes dev moment

    That’s how I spent most of last year…

    agressivelyPassive ,

    It’s how I will spend most of this year. That is, the few minutes I’m not on the phone.

    KISSmyOS , in As someone not in tech, I have no idea how to refer to my tech friends' jobs

    My friends call me “Please fix my printer”.

    MrSpArkle , in Kubernetes dev moment

    It’s ok, someone will just swing through the window and save you from the complexity and dread of YAML with the gracefulness of pulumi and jsonnet.

    zinderic ,

    Right. Why should someone write 10 lines of yaml when they can program 20 lines of Go? Or python. Or assembly for a risc cpu because it just feels so friendly with that nice instruction set.

    zinderic , in Tattoo Idea

    No place like 127.0.0.1.

    roddy ,

    ::1

    rimjob_rainer , in Kubernetes dev moment

    Home Assistant

    DreadPotato ,
    @DreadPotato@sopuli.xyz avatar

    Maybe home assistant a few years ago…I have a fully functional setup with loads of automations and haven’t written a single line of YAML for it.

    rimjob_rainer ,

    I just started using it a few months ago and most stuff I did was only possible using yaml (templates, custom integrations etc.). I think it depends on your requirements.

    min_fapper ,

    It’s relative. If you just started, it might feel like a lot of YAML, but if you used it back when everything had to be done in YAML, modern Home Assistant will feel like little to no YAML.

    stockRot ,

    “haven’t written a single line of YAML” doesn’t sound relative

    rimjob_rainer ,

    I have around 2500 lines of yaml, I think that’s relatively much.

    DreadPotato ,
    @DreadPotato@sopuli.xyz avatar

    None of my custom integrations are configured with YAML anymore, they’ve all moved to the GUI. Even a couple of my templates have been made directly in the GUI.

    “Not a single line of YAML” is a bit hyperbole, but the only YAML I’ve got left in my setup are a handful of custom sensors, I haven’t checked if that can now be done from the GUI. It’s around 100 lines of YAML in total or something like that. But all the home automation stuff is done purely with GUI.

    There has been huge improvements on what can be done from the GUI in the last few years since I started with HA.

    rimjob_rainer ,

    Most of my automations use templates. I have template sensors, I use the KNX integration, which must be configured using yaml and the adaptive lighting integration as well. For my dashboard I used many template cards (evaluation of states with templates to set appropriate icons, colours and text), tabbed cards, card mod for css inside yaml for my custom room cards.

    You see, it absolutely depends on your requirements and how sophisticated your dashboard is.

    DreadPotato ,
    @DreadPotato@sopuli.xyz avatar

    I use the KNX integration, which must be configured using yaml

    This is probably because of the devs behind the integration though and not the fault of HA.

    I have my all my cards and dashboards defined through GUI as well, you van make plenty sophisticated interfaces without YAML. A lot of tutorials are probably not up to date with what you can do though and use YAML.

    rimjob_rainer ,

    I don’t think you can do something like this without yaml (fully custom mushroom template cards, each button opens a popup with the entities in the room, text formatting and unit conversion, also icons change dynamically depending on state and icons appear for open windows):

    https://discuss.tchncs.de/pictrs/image/a97ec5bb-6749-4bb1-83c5-fae0874bc1cc.jpeg

    lone_faerie ,

    It’s still all stored as YAML, there’s just a lot more help on the frontend

    dan ,
    @dan@upvote.au avatar

    Stuff you configure in the UI is mostly stored in the database, not as YAML. Nearly everything you’ve configured using YAML is not editable from the UI. Whenever an integration moves from YAML to the UI (like the Proximity integration in a recent release), the YAML config is deprecated.

    There’s a few exceptions where YAML is stored in the DB (like if you have dashboard cards with custom configs) but YAML is going away over time as the UI gets more powerful, and is mostly just becoming a power-user thing.

    lone_faerie ,

    That’s true, I was thinking more about automations and scripts, which are still stored as YAML

    dan ,
    @dan@upvote.au avatar

    Oh yeah, good point. It might make sense for those to remain YAML to allow for more advanced tweaks. I learned programming in Excel 97 by recording macros and then viewing and tweaking the VBA code behind them, and this feels kinda similar (although YAML isn’t a programming language).

    lone_faerie ,

    Oh wow, that must’ve been painful

    dan ,
    @dan@upvote.au avatar

    It was a pretty decent way to get started with coding! This was back in the late 90s in Australia. I didn’t have internet access or programming books, so all I could do was teach myself. Being able to record a macro and see the code behind it was extremely useful! :)

    astraeus , in Kubernetes dev moment
    @astraeus@programming.dev avatar

    Me seeing this as I have a CloudFormation template pulled up in the background

    Unreliable ,

    CDK or bust

    astraeus ,
    @astraeus@programming.dev avatar

    I’m trying to get my folks onto Pulumi, but we’re now just getting somewhere with CFN. Baby steps

    Lmaydev , in Kubernetes dev moment

    This is why I convinced my last job to get rancher ui setup.

    some_guy , in programmer job in a nutshell

    Oh shit. That’s the secret weapon that will get me ahead of my colleagues! I can’t believe I’d never thought of it.

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