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.

Ziglin , in Added Bugs to Keep my job

Something along the lines of “I don’t know what this does, I wrote this code two weeks ago”

tsonfeir , in Added Bugs to Keep my job
@tsonfeir@lemm.ee avatar

“Again, Josh? Stop it.”

eskuero , in Added Bugs to Keep my job
@eskuero@lemmy.fromshado.ws avatar

Beta 0.9.9.9.9.9

cupcakezealot , in It's Friday at 5pm. You're all set to go home and relax then your monitoring dashboard goes like this....
@cupcakezealot@lemmy.blahaj.zone avatar

it’s alright it’s just a planned maintenance window nothing bad will happen

Toes , in It's Friday at 5pm. You're all set to go home and relax then your monitoring dashboard goes like this....

This reminds me of how my manager would always book vacations to align with major rollouts.

cerement ,
@cerement@slrpnk.net avatar

the number of games that insist on pushing out patches, expansions, hotfixes on Fridays …

arudesalad ,

One of the mmo devs for a game I play did that. Game was unplayable for all of Christmas. They are never doing that again.

Toes ,

I was responsible for a 100k user outage around Christmas. It’s the eggnog man it guides you.

UnrepententProcrastinator , in Who is this JSON guy?

His kills are serialized.

JoYo , in Take.Out.The.(Garbage|Cat)*
@JoYo@lemmy.ml avatar

You clods won’t shut up about regular expressions.

ChubakPDP11 OP ,

What should we talk about then, glob patterns (which are NOT regular expressions, for the love of all that is holy and unholy, stop calling glob patterns RE!)

LemoineFairclough ,

Historically, pattern matching notation is related to, but slightly different from, the regular expression notation

pubs.opengroup.org/onlinepubs/…/V3_chap02.html#ta…

HawlSera , in "I want to live forever in AI"

I don’t get it

laughterlaughter ,

The joke is that there are some people who think that by uploading themselves into a machine “to live forever,” their consciousness will also be transferred, like when you travel by bus from one city to another. In reality, you “upload yourself,” but that yourself is not you, but a copy of you. So, once the copy is done, you will still be in your original body, and the copy will “think” it is you, but it’s not you. It’s a copy of you! So, you continue to live in your body until you die, and, well, for you - that’s it. You’re dead. You’re not living. You’re finished. Everything is black. Void. Null. Done - unless you believe in the afterlife, so you’ll be in heaven, hell, purgatory or whatever, but the point is, you’re not longer on Earth “living forever.” That’s just some other entity who thinks it is you, but it’s not you (again, because you’re dead.)

This is represented by the parameters being passed by value (a copy) instead of by reference (same data) in the poster’s image.

Routhinator ,
@Routhinator@startrek.website avatar

This is also represented pretty well in Pantheon.

Psythik , (edited )

Or The Sixth Day starring Arnold Schwarzenegger.

The_Terrible_Humbaba ,
@The_Terrible_Humbaba@beehaw.org avatar

It wouldn’t be you, it would just be another person with the same memories that you had up until the point the copy was made.

When you transfer a file, for example, all you are really doing is sending a message telling the other machine what bits the file is made up of, and then that other machines creates a file that is just like the original - a copy, while the original still remains in the first machine. Nothing is even actually transferred.

If we apply this logic to consciousness, then to “transfer” your brain to a machine you will have to make a copy, which exist simultaneously with the original you. At that point in time, there will be two different instances of “you”; and in fact, from that point forward, the two instances will begin to create different memories and experience different things, thereby becoming two different identities.

HawlSera ,

And since we know nothing about what consciousness is, you base this on absolutely nothing.

Dave ,
@Dave@lemmy.nz avatar

That’s a weird response to the person who is explaining the post to you.

I_am_10_squirrels ,

The first line passes the argument by reference, ie, the object itself.

The second line passes the object by value, ie, a copy.

sukhmel ,

Also in Rust that would be the opposite which is funny but confusing

HawlSera ,

Thank

uebquauntbez , in "I want to live forever in AI"

Sorry Dave, I’m afraid I can’t do that

anton , in [Request] Looking for resources on terrible algorithms, architecture, and design

I can’t find the name/source at the moment, but if you enumerate all turing machines and run them concurrently* you will find the optimal algorithm for your problem in O(1) and executed that.
To my knowledge the algorithm is so inefficient on small input that it takes hours to solve integer addition.

  • You run the first turing machine one step, than the first two one additional step, that the first tree… This allows you to run an unlimited amount of TMs an unlimited amount of steps.
h30x , in Guess what my favourite language is:

That’s how Julia looks. julialang.org

Bye , in Guess what my favourite language is:

Also my fav OP :)

Rcpp is probably the best thing to ever exist.

I reject tidyverse though

ExperimentalGuy , in The "Java Life" Song

This is so bad I can’t look away

morrowind , in Unused variables
@morrowind@lemmy.ml avatar

Word proccessors have had this figured out for ages, I wonder why it’s so hard to implement this QoL change for code

RagingRobot ,

How do you mean? You can’t type a word without using it in a word processor. Once the word is typed out it’s been used. Variables need to be declared then used so 2 separate steps.

ricdeh ,
@ricdeh@lemmy.world avatar

What do you mean? Variables do not necessarily need to be used, you can allocate memory for some value and initialise it but then simply don’t do anything with it.

DacoTaco ,
@DacoTaco@lemmy.world avatar

You can but compilers will optimise that away unless you tell it not to.

Shareni ,

Meanwhile go: you will remove it or I won’t compile, unless you know the secret handshake

RagingRobot ,

Yes you can but the little red squiggles show in your editor to warn you that it’s unused code. That’s what the whole post is about lol

morrowind ,
@morrowind@lemmy.ml avatar

There’s no direct equivalent but word like won’t bother me about spelling or grammar until I’m done typing that part

Doombot1 , in I feel proud of myself to recognize that this iconic dude is not at a 'computer', rather, a [dumb] terminal! ]Or...?]

True, he is sitting at a terminal - but it appears to be connected to an IBM 5150 or similar. So maybe not so dumb!

Looking at the rest of things more carefully - very likely a 5150, if not definitely. Iconic and hugely popular PC for its era, so it would make sense for sure.

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