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.

neatchee , in I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS

Vibe check is your scope declaration (class?)

num is obviously your int class

fr? is your Boolean class

if __ no cap is ’ if __ then’, if cap is ‘else’, sheesh ends the conditional

flex __ on the haters is your echo/print

frfr is your scope ending

prof OP ,
@prof@infosec.pub avatar

Correct!

Vibe check is pretty much the scope. Classes aren’t a thing (yet).

me_jumper , in Can someone explain why authors do this?
Zoop ,

Thank you! I had no idea what this was talking about but was curious, so this is perfect. I appreciate it!

bleistift2 , in I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS

It only supports ints and bools, some logic and simple arithmetics

That’s more than you need.

ULS , in I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS

“based”

Turun , in Can someone explain why authors do this?

It’s a more easily readable drop in for A and B. And it being convention helps remove one unfamiliar element from a new topic.

ValiantDust ,

Not only more readable than A and B but I would argue it’s also easier to remember who did what a few sentences or paragraphs earlier since Alice and Bob invoke slightly less generic mental images than A and B. For example one is a woman and the other one is a man, maybe even some person or character you know.

And now that I’m thinking about it, the different gender also makes it easier to keep track of who does what because different pronouns are used (at least in English and many other languages).

exocrinous ,

Fun fact: the problem this is a solution to is known as the gay spock problem

ValiantDust ,

I’m afraid I’m not following. The solution to what?

Edit: Sorry, I misread your comment.

charolastra ,

Took me a few reads

jnplch ,

I tried to look this up and while there were many many results, none of them seemed to really fit with OP’s question, so would you kindly tell us more about the gay Spock problem?

exocrinous ,

The gay spock problem is when you have two characters interacting who have the same pronouns, and it gets confusing. For example,

He brushed his hair aside and spoke gently into his ear, “you are my one true love, my light and laughter, my reason to live.”

Who’s the one speaking? Kirk or Spock?

Likewise, if Alice and Barbara or Adam and Bob are your two example people, you’ll run into the gay spock problem.

Wirrvogel ,

Thank you for your explanation. Google gave me a lot of insight into a lot of things and none had to do with this problem. :D

CosmicTurtle ,

If you ever go to r/relationship_advice and read posts where their friend T did S with P and then A (23 F) got into with G, then yeah…Alice and Bob suddenly makes a lot of sense.

sawdustprophet ,
@sawdustprophet@midwest.social avatar

T did S with P and then A (23 F) got into with G

“This B needs a C in her A”

EatATaco ,

Old guy moment here. . .why the fuck is the camera moving all over in the place in that video? Literally unwatchable to me.

GregorTacTac ,
@GregorTacTac@lemm.ee avatar

Oh, I didn’t even notice. Probably some artistic stuff, but I would prefer if it was more stable.

reverendsteveii ,

this, but doubly so with Eve. You’ll notice that we often skip over Cindy and Dave and go right to Eve, so often that I don’t even know off the top of my head whether Charlie and Deandra are the conventional names for persons 3 and 4 in this construct. That’s because this construct is used a lot when talking about secure communications and the convention is that “evil” “eavesdropping” Eve is the person trying to destroy, intercept or alter the communication between Alice and Bob. Her role is built into her name.

thisismyhaendel , in Can someone explain why authors do this?

Rip ben bitdiddle

CodexArcanum , in Can someone explain why authors do this?

I used to have a big list of gender ambiguous names I’d use for examples. So I’d use “Alex” and “Blake” or something like that. It also had some non-anglo names on it, just to spice things up.

In comp sci papers there’s a few other common example people. “I” for intruder or imposter (Irene, Isaac). “M” often for malicious or middle-person (Mal). There’s a few more im forgetting now.

AeonFelis ,

There’s a few more im forgetting now.

‘E’ (Eve) for “eavesdropper”.

Thcdenton , in Can someone explain why authors do this?

They’re by e2e story user names too :D

pheeef , in rule

That looks like a WatchGuard XTM 5 Series. A Router/Firewall not a switch. 🙃

doctorcrimson , in remember, if your gf isn't open source and running locally, you don't own her

I’ve seen like 5 posts about “AI BF/GF” today and it never ceases to surprise me how fucking easy it is to dupe people with these products, like holy shit humanity is fucked.

I’m always waiting for another ethical disaster trend to end but everybody is always in line for Mr Bonez Wild Ride.

FractalsInfinite ,

If all you need is a one sided conversation designed to make you feel better, LLM’s are great at concocting such “pep talks”. For some, that just might be enough to male it believable. The Turing test was cracked years ago, only now do we have access to things that can do that for free*.

butterflyattack ,

A pretty early chatbot called Eliza simulated a non-directive psychotherapist. It kind of feels like they’ve improved hugely but not really changed much.

doctorcrimson ,

Nah, bullshit, so far these LLM’s are as likely to insult or radicalize you as comfort you. That won’t ever be solved until AGI becomes commonplace, which won’t be for a long ass time. These products are failures at launch.

FractalsInfinite ,

… Have you tried any of the recent ones? As it stands chatGPT and Gemini are both built with guardrails strong enough to require custom inputs to jailbreak, with techniques such as Reinforcement learning from Human Feedback uses to lobotomize misconduct out of the AI’s.

doctorcrimson ,

HaVE yOu trIED iT bEfOrE? fOr SIMplE tAskS it SaVEs Me A lOt oF timE AT wOrK

JFC a skipping record plays right on queue whenever somebody speaks ill of the GPTs and LLMs.

Krauerking ,

It’s wild that people brag that it’s able to do essentially the same as copying and pasting someone else’s basic code but with only a few extra imagined errors sprinkled in for fun but that just makes it more useful for pretending you aren’t again lljust literally copying someone else’s stuff.

It’s a search engine that makes up 1/8 of all it says. But sure it’s super useful.

doctorcrimson ,

Sometimes it generates its own fake documentation when called out on a lie.

FractalsInfinite ,

… Don’t pull a strawman, all I said is that the AI’s designed to approximate human written text, do a good job at approximating human text.

This means you can use them to simulate a reddit thread or make a fake wikipedia page, or construct a set of responses to someone who wants comfort.

Next time, read what someone actually says, and respond to that.

doctorcrimson ,

Oh thanks, I really wanted to read another defence of an unethical product by some fanboy with no life. I’m so glad you managed to pick up on that based on my previous comments. I love it. You chose a great conversation to start here.

FractalsInfinite ,

The tech is great at pretending to be human. It is simply a next “word” (or phrase) predictor. It is not good at answering obscure questions, writing code or making a logical argument. It is good at simulating someone.

It is my experience that it approximates a human well, but it doesn’t get the details right (like truthness or reflecting objective reality), making it useless for essay writing, but great for stuff like character AI and other human simulations.

If you are right, give an actual Iogical response only capable by a human, as opposed to a generic ad hominem. I repeat my question, Have you actually used any of the GPT3 era models?

doctorcrimson ,

They forgot to put in the quit when they built this one. You should be in the porn industry.

FractalsInfinite ,

Indeed, I don’t think I can convince you at this point, so enjoy the touch of grass

Gabu ,

Is it really duping, though? The way I see it, most of these people are perfectly aware of what they’re doing.

doctorcrimson ,

It’s a very nuanced situation, but the people being sold these products and buying them are expecting a sentient robot lover. They’re getting another shitty chatbot that inevitably fails to meet bare minimum companionship standards such as not berating you.

There currently exists no ethical use of LLM AI. Your comment can be construed as defence of malicious people and actions.

Cethin ,

I’ve never met anyone who uses them, but I’m also not sure people actually think it’s sentient. I’m sure some do, but I’d assume the vast majority are just looking to have a conversation, and they don’t care if it’s with a person or a (pretty good) chat bot.

Also, there is a way to use it ethically. As the post mentions, run it locally and know what you’re doing with it. I don’t see any issues if you’re aware of what it is, just as I don’t see any issue using auto-correct or any other technology. We don’t need to go full Butlerian (yet).

Krauerking ,

Really? You don’t think anyone that uses these don’t think they are sentient?

Sure it’s not like the people designing these are prone to make-believing the AI for sentient too, right?

You are coming at this from your perspective which knows them to not be real. That’s not gonna be how the average moron thinks and there is more of them than you think. And they absolutely believe their is a tiny sentient brain somewhere in there that is alive. I’m all for people doing what makes them happy but also this is a loneliness confirming hole to get trapped in and absolutely opens doors to influence people through their imaginary friends that they think they can trust.

xmunk , in Can someone explain why authors do this?

Cue the fiddler on the roof music…

Tradition!

There’s a helpful wiki article breaking down the full convention en.wikipedia.org/wiki/Alice_and_Bob

jerrythegenius ,
@jerrythegenius@lemmy.world avatar

”Tradition is just peer pressure from dead people”
— some fella on the internet

IndiBrony ,
@IndiBrony@lemmy.world avatar

“Never forget to attribute your quotes to George Carlin” - Leonard Nimoy, probably

ReplicantBatty ,

Don’t believe everything you read on the Internet. -Abraham Lincoln

xmunk ,

“Only a fool would quote anyone but me.” - Oscar Wilde

mrkite ,
@mrkite@programming.dev avatar

Tradition is just dead people’s baggage. Doug Stanhope.

gareppa , in rule
@gareppa@programming.dev avatar

This is what happens when you wrongly use pipes to redirect cat to dev/null. Happy now?

DogPeePoo , in remember, if your gf isn't open source and running locally, you don't own her

I can fix her

humorlessrepost ,

Lawyer up, hit the gym, :wq!

morrowind OP ,
@morrowind@lemmy.ml avatar

mfw debugging my gf for the whole weekend and she still wants to talk about things other than programming language design

firelizzard ,
@firelizzard@programming.dev avatar

You’re also a programming language design nerd? Like, “Compare the features of language A to those of language B”, or nerding out about the underlying mechanics of things like generic types, virtual method dispatch, and no-stop garbage collection? I thought I was the only one. Well not the only one but it doesn’t seem that popular of a thing to nerd out over.

morrowind OP ,
@morrowind@lemmy.ml avatar

I’m too new to know too much about the underlying mechanics, but yes I find it very interesting, including the syntax, which I know most nerds dismiss as superficial.

firelizzard ,
@firelizzard@programming.dev avatar

I’m definitely biased because I love the language, but I think Go is a good place to start. The authors talk about the language design more than I’ve seen for other languages. The Go blog occasionally has posts like that but Russ Cox’s blog is the place to go for the gnarly details. Another good place is the proposals repo, e.g. the generics proposal. I also browse issues on GitHub and look for ones with interesting discussions.

including the syntax, which I know most nerds dismiss as superficial.

Syntax is mostly irrelevant as far as what is possible with a language, but it is a critical aspect of how easy/hard it is to use a language, and most critically how easy/hard it is to read code written in that language. IMO the only thing that’s more important than readability is whether the code works as intended.

oce ,
@oce@jlai.lu avatar

git checkout -b fix/her

Tangent5280 , in You could say, I am an odd person!

Alright, I have no idea what this means.

rufus , (edited )

The axis aren’t labeled properly. That’s likely why we can’t make sense of the diagrams.

Everyone elses life oscillates over time between positive and negative… OP’s life’s Y is X cubed. And it somehow contains big blue dots on the whole numbers… They consider that odd. And I’d agree.

404 , (edited )

First function is a sine wave, commonly written sin().

Second function is a cubic (“square”?) polynomial.

Joke:

Everyone else’s life: Sin.

My life: Square.

Edit: as pointed out, it’s not really square

rufus ,

It’s not square, though, but cubed. x^2 looks very different. And 2 isn’t an odd number (see title.)

But if the lower diagram was x^2 (and the axis were labelled correctly) I’d say that’s a proper joke 😃

404 ,

Haha yeah it was the only way I could make sense of it…

rufus ,

I like your joke better 😆 However… If the x-axis was time, you’d have to explain the negative part to me. Or stop at least at -9 months…

DreadPotato ,
@DreadPotato@sopuli.xyz avatar

I got “everyone else’s life has ups and downs, mine is just up, up, UP!” from the graphs 🤷‍♂️

AVeryCleverName ,

Same, i thought it was about having a manic episode or something

Kolrami ,

I’m not sure about the top one. He could be saying everyone is living a life of sin (like 402 said).

The bottom one is definitely saying he lives an odd life because that’s literally an odd function. i.e.

f(-x) = -f(x) for all x

mumblerfish ,

From the placement of the axis in the first one that function is odd too.

oo1 , in Can someone explain why authors do this?

Someone tried "April & Bob" once, but MS excel converted it to date.

Witchfire ,
@Witchfire@lemmy.world avatar

Incels 🤝 Excel
Falsely assuming something is a date

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