this post was submitted on 20 Oct 2023
1225 points (98.6% liked)

Lemmy Shitpost

26713 readers
4698 users here now

Welcome to Lemmy Shitpost. Here you can shitpost to your hearts content.

Anything and everything goes. Memes, Jokes, Vents and Banter. Though we still have to comply with lemmy.world instance rules. So behave!


Rules:

1. Be Respectful


Refrain from using harmful language pertaining to a protected characteristic: e.g. race, gender, sexuality, disability or religion.

Refrain from being argumentative when responding or commenting to posts/replies. Personal attacks are not welcome here.

...


2. No Illegal Content


Content that violates the law. Any post/comment found to be in breach of common law will be removed and given to the authorities if required.

That means:

-No promoting violence/threats against any individuals

-No CSA content or Revenge Porn

-No sharing private/personal information (Doxxing)

...


3. No Spam


Posting the same post, no matter the intent is against the rules.

-If you have posted content, please refrain from re-posting said content within this community.

-Do not spam posts with intent to harass, annoy, bully, advertise, scam or harm this community.

-No posting Scams/Advertisements/Phishing Links/IP Grabbers

-No Bots, Bots will be banned from the community.

...


4. No Porn/ExplicitContent


-Do not post explicit content. Lemmy.World is not the instance for NSFW content.

-Do not post Gore or Shock Content.

...


5. No Enciting Harassment,Brigading, Doxxing or Witch Hunts


-Do not Brigade other Communities

-No calls to action against other communities/users within Lemmy or outside of Lemmy.

-No Witch Hunts against users/communities.

-No content that harasses members within or outside of the community.

...


6. NSFW should be behind NSFW tags.


-Content that is NSFW should be behind NSFW tags.

-Content that might be distressing should be kept behind NSFW tags.

...

If you see content that is a breach of the rules, please flag and report the comment and a moderator will take action where they can.


Also check out:

Partnered Communities:

1.Memes

2.Lemmy Review

3.Mildly Infuriating

4.Lemmy Be Wholesome

5.No Stupid Questions

6.You Should Know

7.Comedy Heaven

8.Credible Defense

9.Ten Forward

10.LinuxMemes (Linux themed memes)


Reach out to

All communities included on the sidebar are to be made in compliance with the instance rules. Striker

founded 1 year ago
MODERATORS
 
all 50 comments
sorted by: hot top controversial new old
[–] [email protected] 117 points 1 year ago (5 children)

what programming is REALLY like:

[–] [email protected] 41 points 1 year ago* (last edited 1 year ago) (2 children)

:q

Wait I forgot to write out

:wq

Shit I need sudo privileges

:q! πŸ₯²

[–] [email protected] 18 points 1 year ago (2 children)

making a load of edits then FINDING OUT YOU WEREN'T SUDO AAAARGHHHHHHH

[–] [email protected] 19 points 1 year ago (2 children)

:w !sudo tee %

Of course that's impossible to remember, but you can just google "vim sudo save" or something like that to find it.

[–] [email protected] 5 points 1 year ago

They make mouse pads with all of the shortcuts on them.

[–] [email protected] 2 points 1 year ago (2 children)
[–] [email protected] 4 points 1 year ago

nano tells you upfront when you're editing a file that you can't write to.

[–] [email protected] 3 points 1 year ago (1 children)

I don't think so, but you can always write the file somewhere else and then sudo mv it back.

[–] [email protected] 2 points 1 year ago

Thats really smart

[–] [email protected] 2 points 1 year ago

Why oh why doesn't it put a small banner like nano on opening, you must wait until saving.

[–] [email protected] 2 points 1 year ago (1 children)

Bam! Got it one!

Well done.

[–] [email protected] 12 points 1 year ago* (last edited 1 year ago)

That's why I use nano.

[–] [email protected] 11 points 1 year ago

You never have to exit vim when you make it your only editor.

[–] [email protected] 74 points 1 year ago (1 children)

It’s incredibly how much of the work gets done while staring out the window thinking about nothing at all related to the task at hand.

[–] [email protected] 45 points 1 year ago (2 children)

Definitely solved a problem or two while I was sleeping.

[–] [email protected] 20 points 1 year ago (1 children)

Since you spent your sleep being productive, should that count as overtime?

[–] [email protected] 4 points 1 year ago

Maybe, but did it? Absolutely not.

[–] [email protected] 5 points 1 year ago

When I was working on my last big project, every morning I started to be between dreaming and waking up in the code world, chasing through the flows of data from various perspectives.

I didn't get the same "aha!" Moments that sneak up on you, but it did help me understand the system I built

[–] [email protected] 28 points 1 year ago (3 children)

I thought it was copy and pasting from stack overflow

[–] [email protected] 24 points 1 year ago* (last edited 1 year ago) (2 children)

Now a days it's:

  • Open ChatGPT
  • Paste code
  • "Can you just fix this for me?"
[–] [email protected] 11 points 1 year ago (2 children)

ChatGPT has taught me so much basic programming I should have learned years ago. Don't know if I'll remember any of it since Ill just end up pasting my almost working stuff into ChatGPT again once I'm stuck.

[–] [email protected] 7 points 1 year ago (1 children)

^^^ How skynet was born, ChatGPT injecting subroutines copied by lackadaisical programmers copying and pasting without checking

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Oh I'm reading and making sure I understand everything. I usually write the suggestions into my code myself to try to get it into my fingers. But it is usually basic stuff I haven't done very often I struggle with. Like building a JSON as an object by adding each part step by step and serializing every input properly, instead of just building the JSON string by hand.

[–] [email protected] 6 points 1 year ago (2 children)

Chatgpt is good for code reviews. I wouldn't trust it for making code though.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

Are there any other LLM interfaces or co-pilot programming tools you'd recommend over ChatGPT, or wouldn't you trust LLMs in general?

As I see it, since we can keep iterating, reviewing, rewriting prompts, and even use ~~tools~~ frameworks like autogen to let multiple LLMs interact to solve a problem on our behalf, your take is somehow only diggin' the surface.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Mostly, its my own personal choice / preference.

When I see chatgpt spun up code, sometimes its rock solid. Sometimes it uses weird logic that is hard to follow. I prefer it to review my code, rather than review its.

I'm kind of partial to how military concepts use cases for ai. Like anything that can do damage or complex tasks must be done by a human. Mediocre tasks, I can see a use for it.

Like for instance, write a code to automate scheduling jobs to backup multiple systems using this fileset to backup or skip I'd feel OK to let ai do. They should all be basically the same. But to script code that is critical to infrastructure and/or complex I feel it is not the right tool to use.

Edit: all LLMs are basically the same imo. The github one might have access to more code though, idk never used it. If it does look at private repos, then I'd say it would be better, but honestly I think they're about the same.

[–] [email protected] 2 points 1 year ago (1 children)

Don't you think it's just a question of time before it's becoming good enough or better than us at some of these tasks? I do. With better training data, more parameters, better quantization, and now even memory management with memGPT, I see some very interesting evolutions becoming possible.

To me, saying "all LLMs are the same", sounds like saying "all humans are the same", to which I strongly disagree. Different people are good at different things. Otherwise, there'd be no need to hire any specialized workers.

Military usecases is a big ethical discussion. Autonomous drones sound pretty scary, at least as long as the technologies are not fully understood. Many people would probably agree that humans should always stay in control when serious damage could be done. However, many are ok with self-driving cars etc. There are many answers to be found in this regard, but I'm not sure this thread is the place to find them... However, I'd still like to hear if you have any thoughts to add on autonomous machines.

[–] [email protected] 1 points 1 year ago

I see some very interesting evolutions becoming possible

It's funny to me to think about LLMs training on LLM-generated input. Sort of like a photo copy of a photo copy (reminder to self: watch Multiplicity this weekend). Would seem like it'd reach some Kentucky level of generational inbreeding, but at a much much faster rate.

So how to stop LLM inbreeding? I think there's computer scientists that have already written entire theses/dissertations on detecting AI generated stuff. My understanding is it's getting more difficult, depending on the medium - generated text formats are generally harder to detect than imagery... for now.

[–] [email protected] 3 points 1 year ago

In my experience, it tends to have difficulties with restrictions, and will attempt to use the normal method for things no matter what

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (1 children)

Should I feel bad if I feel referenced?

Edit: No. Not really, and neither does anyone else reading this. It's stupid to feel bad about what an absolute stranger says on the internet.

[–] [email protected] 5 points 1 year ago (1 children)

If that's literally all you do, then yes. If not, you just know your tools.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Not so, I code by myself and when I have a problem I ask ChatGPT but I do not say "do everything for me".

[–] [email protected] 0 points 1 year ago (1 children)

Look at John Henry over here

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago

I'm actually impressed how aptly that reference applies.

The legend of John Henry is that he beat a steam engine at the task of drilling through a mountain. John and his assistant (a shaker) had the advantage of being able to finely tune how the steel driver was placed, struck, and chips of rock moved out of the way. Contrast that with how the steam engine drill just rotely brute-force drilled, but got clogged by the resulting rock chips and could drill no more.

So the moral is the humans beat out the machine due to being able to finesse the situation, even though intuitively a machine should have been able to prevail due to its superior raw strength.

[–] [email protected] 6 points 1 year ago (1 children)

Eventually, but it starts with Googling and trying a bunch of other example code and failing miserably.

[–] [email protected] 3 points 1 year ago

Don't forget rewriting the entire thing a few times until you find a library that actually does what you need it to.

[–] [email protected] 0 points 1 year ago
[–] [email protected] 19 points 1 year ago (1 children)

Does changing all coding styles in a project based on my mood count for something?

[–] [email protected] 9 points 1 year ago

Every time I try to do that they catch in a review, so I never get away with it except on personal projects where I decide every other day to change up where I'm keeping all the code.

[–] [email protected] 15 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago

Look at this absolutely spoiled chad with a half wall. What I wouldn't do to be dpat in the face. Oh you don't know how good you have it. Oh to br crucified!

[–] [email protected] 11 points 1 year ago

Depends, java the top picture because its dummy verbose!

[–] [email protected] 6 points 1 year ago

Is that the "I want to be a terrorist" kid?

[–] [email protected] 4 points 1 year ago (1 children)
[–] [email protected] 4 points 1 year ago

Por que no los dos?

[–] [email protected] 3 points 1 year ago

More like google searches and a lot of CTL+c and CTL+v