823
Devil all the way! (lemmy.world)
top 38 comments
sorted by: hot top controversial new old
[-] Diplomjodler@feddit.de 56 points 2 years ago* (last edited 2 years ago)

Do you have the email address of this devil guy? I'd like to chat.

[-] lowleveldata@programming.dev 40 points 2 years ago

Hi this is the devil guy. Just catch and swallow all exceptions and you're golden.

[-] Diplomjodler@feddit.de 18 points 2 years ago

Sorry, I don't swallow on the first date.

[-] HereIAm@lemmy.world 16 points 2 years ago

Ah, so you are the guy who created "On Error Resume Next" in Visual Basic and populated it in the beginning of every function in my company's code! I hate you!

[-] lowleveldata@programming.dev 11 points 2 years ago

Yes. I am become tech debt, the devourer of mandays.

[-] ChickenLadyLovesLife@lemmy.world 10 points 2 years ago

“On Error Resume Next” in Visual Basic

This is always presented as the worst thing about Visual Basic, which is incorrect. The worst thing was "On Error Resume" which just re-executed the line that caused the error in the first place.

[-] HereIAm@lemmy.world 8 points 2 years ago

I will keep this knowledge a closely guarded secret.

[-] ChickenLadyLovesLife@lemmy.world 32 points 2 years ago

I never, ever hated my job as a programmer as much as when I was forced to do pair programming. If I'd wanted to be around another person all day, I never would have become a programmer in the first place.

[-] Virku@lemmy.dbzer0.com 27 points 2 years ago

They forgot vasking an llm for help fixing it for them.

[-] snaggen@programming.dev 45 points 2 years ago* (last edited 2 years ago)

I actually asked chatGPT about a specific issue I had and solved a while back. It was one of these issues where it looked like a simple naive solution would be sufficient, but due to different conditions that fails, you have to go with a more complex solution. So, I asked about this to see what it would answer. And it went with the simpler solution, but with some adjustments. The code also didn't compile. But it looked interesting enough, for me to question my self. Maybe it was just me that failed the simpler solution, so I actually tried to fix the compile errors to see if I could get it working. But the more I tried to fix its code the more obvious it got that it didn't have a clue about what it was doing. However, due to the confidence and ability to make things look plausible, it sent me on a wild goose chase. And this is why I am not using LLM for programming. They are basically overconfident junior devs, that likes mansplaining.

[-] Aurenkin@sh.itjust.works 11 points 2 years ago

It's not always right but it saves me tonnes of time at work, usually when I want to do something simple in a language or environment I'm not totally familiar with.

[-] Barbarian@sh.itjust.works 6 points 2 years ago

It can reliably copy the simple things in it's training data from stackoverflow.

But at that point, why not just go to stackoverflow instead?

[-] DrCake@lemmy.world 8 points 2 years ago

I find that sometimes I can’t quite describe the problem well enough for google to find results. The conversational nature of ChatGPT means I usually can get a good enough answer from it

[-] Aurenkin@sh.itjust.works 5 points 2 years ago

I'm not saying it's going to take anyone's job anytime soon but it's a lot quicker to get something tailor made for your problem than going to stack overflow. Everyone should use the tools that work for them but don't sleep on this stuff, like any tool it's really helpful once you know how to use it.

[-] Holzkohlen@feddit.de 3 points 2 years ago

Agreed. But I think it is utterly useless if you aren't experienced enough to tell if it is bullshitting. Almost every time I have asked for a little adjustment, it just makes something up that looks good on first glance. My favorite is when it invents python libraries that magically handle all the difficult stuff. But man is it useful for my crappy little bash scripts or regex.

[-] Aurenkin@sh.itjust.works 1 points 2 years ago

Absolutely true. I think regex might be one of my favourite uses to be honest. Both in writing them and explaining wth an existing one is doing.

[-] TheunamusedFox@lemmy.dbzer0.com 2 points 2 years ago

Gpt4 is pretty awesome for simple stuff. I've just started learning python (Knowing no other language) and made my first project a pyqt GUI for editing the config of a FOSS project. It's reasoning ability is not great, but when you clearly lay out what you want to do, how you want to do it, it because a fantastic natural language to code interpreter. All the fiddly bits I dread typing out I just pop into gpt 3.5, and more complicated stuff gpt4.

I have learned a lot from debugging whenever it gets stuck, and being able to create an actual usable program right from the start is awesome.

Even better is slowly realizing you are understanding what's going on, and the dread of actually studying to learn the language becomes a genuine desire to learn more.

[-] ulterno@lemmy.kde.social 1 points 2 years ago

It has encouraged my colleagues to get answers from it that would be easily available with a google search (and by asking me - my fault for acting like they are a pita for not extrapolating from previous explanations). Resulting in:

  1. Trying to sudo apt install on a RHEL system
    • Looking for an apt RPM package on the internet
  2. Looking for RPM packages of almost every unavailable thingy on the internet.
  3. In general, succeeding 90% at a task (not 90% of the times, but 90% part of it) and going with it. Only to later realise the remaining 10% invalidated all their effort.
[-] marx2k@lemmy.world 4 points 2 years ago

I don't do it enough, but I do enjoy using it (it being perplexity.ai) for getting code examples of stuff I'm always looking up over and over. A YAML sample of a Cloudformation or CDL snippet for a very specifically configured resource. A YAML sample of an Ansible module that does a thing. A Python sample of a specific lambda method. A regex for email addresses.

[-] underisk@lemmy.ml 10 points 2 years ago
[-] Slovene@feddit.nl 5 points 2 years ago
[-] lugal@lemmy.world 22 points 2 years ago

When I was a kid, I programmed a jump and run game and each time I found a bug, I made a new level in which you needed to use it.

[-] Decoy321@lemmy.world 16 points 2 years ago

I love the little bug holding up the stick supporting everything in the stack overflow.

[-] OlinOfTheHillPeople@lemmy.world 7 points 2 years ago
[-] Decoy321@lemmy.world 3 points 2 years ago

That's exactly what I was reminded of. There truly is an xkcd for everything.

[-] DTFpanda@lemmy.world 15 points 2 years ago

Sometimes I feel like the only non-tech worker on Lemmy. This place desperately needs more diversity

[-] Syrc@lemmy.world 17 points 2 years ago

That’s a normal consequence of more tech-savvy people leaving Reddit than others. Just gotta wait for spez to mess it up even more and we’ll get a wider variety of people here.

[-] DragonTypeWyvern@literature.cafe 1 points 2 years ago

Oh boy, can't wait for even more neoliberals to have such bold takes as "hmmm, both sides are bad, AKSHUALLY"

[-] RatBin@lemmy.world 9 points 2 years ago

This is a small niche site after all - logging in requires knowing about its existance - and reddit is very popular, but not in a good way. Even in disagreement, I have not found that level of hostility here. At some point reddit was starting to become a dead weight in my life, incapable of giving me unique informations.

[-] someguy3@lemmy.ca 6 points 2 years ago

Be the change you want to see.

[-] DTFpanda@lemmy.world 2 points 2 years ago

I hear you. Cheers

[-] TORFdot0@lemmy.world 5 points 2 years ago

Encourage your other non-tech friends and colleagues to join a Lemmy instance then. The fediverse hasn’t gotten big enough and normal people haven’t really gotten to the level of technical literacy yet to be able to come here organically yet

We are here because we are nerds that already care about FOSS.

[-] Gingernate@programming.dev 4 points 2 years ago

I'm a diesel technician haha

[-] MonkderZweite@feddit.ch 14 points 2 years ago

This is missing printf debugging.

[-] bhamlin@lemmy.world 19 points 2 years ago

Console is a log "file" on Linux. You could tail your pty if you really wanted to...

[-] recursivesive@lemmy.world 5 points 2 years ago* (last edited 2 years ago)

Where's the console.log('here') ? That would be the equivalent of a "you are here" on a map.

[-] hatedbad@lemmy.sdf.org 4 points 2 years ago

git bisect is just this guy jumping through portals to alternate universes where the bug either exists or doesn’t

[-] SuperKoel@lemmy.cafe -3 points 2 years ago

this is so deaf people know what the words sound like?

this post was submitted on 26 Mar 2024
823 points (98.2% liked)

Comic Strips

23858 readers
287 users here now

Comic Strips is a community for those who love comic stories.

Rules
  1. 😇 Be Nice!

    • Treat others with respect and dignity. Friendly banter is okay, as long as it is mutual; keyword: friendly.
  2. 🏘️ Community Standards

    • Comics should be a full story, from start to finish, in one post.
    • Posts should be safe and enjoyable by the majority of community members, both here on lemmy.world and other instances.
    • Any comic that would qualify as raunchy, lewd, or otherwise draw unwanted attention by nosy coworkers, spouses, or family members should be tagged as NSFW.
    • Moderators have final say on what and what does not qualify as appropriate. Use common sense, and if need be, err on the side of caution.
  3. 🧬 Keep it Real

    • Comics should be made and posted by real human beans, not by automated means like bots or AI. This is not the community for that sort of thing.
  4. 📽️ Credit Where Credit is Due

    • Comics should include the original attribution to the artist(s) involved, and be unmodified. Bonus points if you include a link back to their website. When in doubt, use a reverse image search to try to find the original version. Repeat offenders will have their posts removed, be temporarily banned from posting, or if all else fails, be permanently banned from posting.
    • Attributions include, but are not limited to, watermarks, links, or other text or imagery that artists add to their comics to use for identification purposes. If you find a comic without any such markings, it would be a good idea to see if you can find an original version. If one cannot be found, say so and ask the community for help!
  5. 📋 Post Formatting

    • Post an image, gallery, or link to a specific comic hosted on another site; e.g., the author's website.
    • Meta posts about the community should be tagged with [Meta] either at the beginning or the end of the post title.
    • When linking to a comic hosted on another site, ensure the link is to the comic itself and not just to the website; e.g.,
      ✅ Correct: https://xkcd.com/386/
      ❌ Incorrect: https://xkcd.com/
  6. 📬 Post Frequency/SPAM

    • Each user (regardless of instance) may post up to five (5 🖐) comics a day. This can be any combination of personal comics you have written yourself, or other author's comics. Any comics exceeding five (5 🖐) will be removed.
  7. 🏴‍☠️ Internationalization (i18n)

    • Non-English posts are welcome. Please tag the post title with the original language, and include an English translation in the body of the post; e.g.,
      Sí, por favor [Spanish/Español]
  8. 🍿 Moderation

    • We are human, just like most everybody else on Lemmy. If you feel a moderation decision was made in error, you are welcome to reach out to anybody on the moderation team for clarification. Keep in mind that moderation decisions may be final.
    • When reporting posts and/or comments, quote which rule is being broken, and why you feel it broke the rules.
Banned Artists

The following artists are banned from the community.

  1. Jago
  2. Stonetoss

It should be noted that when you make reports, it is your responsibility to provide rational reasoning why something should be removed. Saying it simply breaks community rules is not always good enough.

Web Accessibility

Note: This is not a rule, but a helpful suggestion.

When posting images, you should strive to add alt-text for screen readers to use to describe the image you're posting:

Another helpful thing to do is to provide a transcription of the text in your images, as well as brief descriptions of what's going on. (example)

Web of Links

founded 2 years ago
MODERATORS