776
What kinda game is that? (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] fidodo@lemmy.world 110 points 1 year ago* (last edited 1 year ago)

Pros of Linux: does exactly what you ask it to do.

Cons of Linux: does exactly what you ask it to do.

[-] Kungolicious@lemmy.world 82 points 1 year ago

Reminds me of my first day of a computer programming class. My teacher told us to write down instructions on how to make a peanut butter and jelly sandwich. Then he would follow the instructions.

“Put the peanut butter inside two slices of bread.” He’d grab the jar of peanut butter and put the whole jar inside two slices of bread

“Grab a knife and scoop out the peanut butter.” He’d start stabbing the lid.

Beautiful analogy of what it’s like to deal with technology

[-] Wilzax@lemmy.world 36 points 1 year ago* (last edited 1 year ago)

that's good, but real computer programming is more like

Error: file "PeanutButter.h" not found

Exit status code 1

[-] EuroNutellaMan@lemmy.world 21 points 1 year ago* (last edited 1 year ago)

That's because you're a noob and forgot to add this at the end:

If work == false:
      fix(yourself)
[-] fkn@lemmy.world 7 points 1 year ago

What language is this capital I If acceptable and how do I purge it from my brain.

[-] EuroNutellaMan@lemmy.world 8 points 1 year ago* (last edited 1 year ago)

English and you purge it by invading Britain and forcing them to speak a cool language like Italian or Spanish

[-] SaltyIceteaMaker@lemmy.ml 3 points 1 year ago* (last edited 1 year ago)

Pssst if the company's realise it's that easy then they wont need anyone to fix it

[-] nickwitha_k@lemmy.sdf.org 5 points 1 year ago

"Yes. Of course I have one exit status code. How do I look at it?"

[-] galaxi@lemm.ee 2 points 1 year ago

I remember seeing a video where somebody did that with their kids! https://youtu.be/cDA3_5982h8

I thought it was hilarious. But you're totally right, in the comments everyone's talking about how they're programming class had that same thing :)

[-] PipedLinkBot@feddit.rocks 2 points 1 year ago

Here is an alternative Piped link(s): https://piped.video/cDA3_5982h8

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source, check me out at GitHub.

[-] likeaduck@programming.dev 18 points 1 year ago
[-] hddsx@lemmy.ca 12 points 1 year ago

Modern operating systems question you and ask you to input —no-preserve-root, unfortunately

[-] Johanno@lemmynsfw.com 5 points 1 year ago

Problem is:

I have no idea what I asked it to do!

For example I was creating systemd services and stuff because it is actually fun in comparison to init.d back in the days. Now I usually just copy paste tutorials and adjust it until my stuff works.

But my boot time somehow got longer O didn't noticed it at first, but when I finally digged to the problem it seems that for timed Services you don't want the Service to be installed(or even able to be instlled) and only enable the timer.

No tutorial told me that.

To be fair I didn't read the documentation on systemd. But who does?

See also, the video where linus tech tips tries linux and totally borks his install after ignoring all warnings that what he's doing is probably not what he wants to do

this post was submitted on 24 Jul 2023
776 points (97.1% liked)

linuxmemes

21172 readers
908 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS