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.

nogooduser , in You can have anything you wan...

I like the scope creep there:

  1. Programming language (singular)
  2. All programming languages and related knowledge
  3. Add in AI, ML and data structures
CanadaPlus ,

Bro needs to go big. Why not all electronics and electronic systems in general? As it is he could still be “caught with his pants down” by another speculative execution bug.

themarty27 ,

Since this is something that needs to be considered while programming, I’d presume such information falls under “related knowledge”.

JPJones ,

DNA is a programming language. The fabric of space time could be a programming language. Keep going!

CanadaPlus , (edited )

DNA is a programming language

JavaScript no longer has the worst type system, then.

Jury’s out on whether brainfuck or general relativity is more tractable.

sheogorath ,

If we’re really living in a simulation my dude is really asking for reality bending powers.

Dragster39 ,

In that case we might as well call him the Architect or God, whichever flavor fits your believes best.

coloredgrayscale ,

Sounds like they are the product owner :)

Skates , in “It’s not that hard”

I constantly feel the need to argue with this dumb fuck and his 99% wrong opinions. I usually have to take a step back, remember it’s not worth it, and then move on. It would be a great help if I had a Firefox add-on that precedes all of musk’s tweets with "retard weighing in: ", just as a reminder that he’s also allowed a point of view, despite his mental issues.

BoastfulDaedra ,

If I was still on Twitter, that would be a great idea.

MaxVoltage ,
@MaxVoltage@lemmy.world avatar

dont question kings /s

elbucho ,
@elbucho@lemmy.world avatar

I remember someone once created a firefox addon that made all of Trump’s tweets look like they were drawn with crayon. Someone should make a new version of that for Musk.

haui_lemmy ,

Pretty sure you‘re only using the r-bomb and „mental issues“ in a joking way but its kind of not funny.

Musk is a spoiled, unempathetic, overhyped idiot who claims to be autistic… perfect example that autistic people can be cretins as well.

But a lot of autistic people are getting called the r-word and its not ok. Mental (health) issues are not a stigma. They are okay and normal. Being an asshole isnt normal or okay though.

Duke_Nukem_1990 ,

Yesh kinda weird how ok a lot of the users here are with using the r-word slur.

haui_lemmy ,

A little disturbing, ngl. Some might have grown up in a time or place where getting bullied and mistreated was no bid deal. Its actually good to see these things changing.

Gabu ,

By definition you can’t be normal if you’re neurodivergent…

haui_lemmy ,

No idea if you‘re trying to offend people but „not normal“ is a term used to exclude people from a social group. en.wiktionary.org/wiki/normal

The term used to distinguish from is „typical“.

Gabu ,

From the very source you provided:

[…] by Late Latin normālis had also come to mean “according to a rule”, from which modern English senses of the word derive: in the 1800s, as people began to quantitatively study things like height and weight and blood pressure, the usual or most common values came to be referred to as “normal”, and by extension values regarded as healthy or desirable came to be called “normal” regardless of their usuality.

I don’t think anyone of sane mind would argue against the notion that it’s more desirable, and by definition healthier, to be born neurotypical than neurodivergent.

haui_lemmy ,

just exchange the word neurodivergent with black or jewish and neurotypical with white or christian and you see the problem.

Provided you are “sane”.

Gabu ,

“Just completely change your argument and it becomes problematic” is hardly convincing. In fact, you’ve committed a classic logical fallacy.

merc ,

By the “divergent” part of the word, you’re right.

It would be like saying “it’s normal to be abnormal”. While it’s true that not everybody is identical, and everyone has their quirks, by defintion “abnormal” is not “normal”.

xoggy ,
@xoggy@programming.dev avatar
Legendsofanus ,

Irrelevant question ahead->

I have read that Google is dumb and potentially malware carrying extensions sometimes slip through their security and onto the chrome store. Is it true and how does it apply to Firefox

Cypher ,

This is true and also an issue for Firefox.

It is difficult to address, and if the extension isn’t open source you should be especially careful.

That said there are extensions with security reviews performed by the Mozilla foundation and you can see that on the extension page.

NocturnalMorning , in You can have anything you wan...

Does this include all future invented programming languages?

silasmariner ,

No, the flip side of this wish is your knowledge is frozen in time to when you make the wish and can never be updated. You gradually become more and more outdated as you fail to grasp even the simplest of changes to all languages in current usage.

funkajunk ,
@funkajunk@lemm.ee avatar

The ol’ monkey’s paw

NocturnalMorning ,

Well damn, that’s kind of evil.

chaogomu ,

So I forever work on legacy systems.

Not ideal, but there's quite a bit of job security in it.

Bonehead ,

The upside to this is that you can still make good money as a legacy programmer. Just look at COBOL job listings.

MaggiWuerze ,

At that point your fame as a Rockstar Dev (I hate myself for typing that) will allow you to transition to a cushy ceo position.

CanadaPlus ,

Oh no, does this include all hypothetical alternate interpretations of the same code? So, you just look at the screen and go “yep, it definitely could mean something”?

jubilationtcornpone , in You can have anything you wan...

Instantly granted all programming knowledge

“Well what the… God damnit! Who the fuck thought that was a good idea? Fucking JavaScript architects!”

orrefailaT ,

Every npm package gets downloaded into your brain, immediately collapses into a black hole

rushaction ,

My gods. I think this just gave me flashbacks to this week.

I was recently battling node’s import/require shenanigans trying to figure out how to import a typescript module in my basic program. I feel this so hard.

I walked away utterly hating the language and its ecosystem. Utterly defeated, I gave up.

AVincentInSpace , in When you forget to set a boundary conditions in your logic

Maybe they meant your account is 915 days old as of this year?

Username ,

I think that’s fairly obvious with the smaller text and context.

rimu , in Revisiting code I wrote last year
@rimu@piefed.social avatar

Writing really good comments is an under-appreciated skill.

lurch ,

Even though comments are very helpful, often it’s even enough to name variables and methods/functions really good. At least do that. You don’t want i, j and value. Believe me. You want rowCount, colCount and deliveryOption instead. You just may not know it now, but you will, when it has to be changed in a few months.

aksdb ,

Where comments are useful most is in explaining why the implementation is as it is. Otherwise smart ass (your future self) will come along, rewrite it just to realize there was indeed a reason for the former implementation.

loutr ,
@loutr@sh.itjust.works avatar

Comments are good when you’re doing something weird to handle an edge case or something. But yeah most of the time clear variable names, and extracting complicated code to a dedicated and clearly named function, are enough.

There are only two hard things in Computer Science: cache invalidation and naming things.

Phil Karlton

MonkderZweite ,

// don’t know anymore, just leave this block alone

Tyfon , in You can have anything you wan...

I don’t understand, isn’t it what is required for junior positions these days, every manager would tell you that they also required soft skills. His wish won’t even land him a job.

CowsLookLikeMaps OP ,

All they had to wish for was to know COBOL. Job guaranteed.

ooterness , in You can have anything you wan...

My head canon is that Tony Stark has a superpower: everything he builds works the first time.

If it’s really complicated, like an entirely new Iron Man suit, then it might malfunction once in an amusing way. Then he tightens a screw and it’s perfect. It never fails outright or bricks itself.

In my experience, this is not how hardware or software development goes. I want this power so much.

greenskye ,

Agreed. It’s comical how he’s seemingly able to rapidly build stuff that requires experience in multiple high end fields and then he even surrounds himself with his own tech and is not buried under maintenance hell for it all.

My alternative head canon is that he’s actually only good at building AIs and Jarvis and Friday are the ones who actually make all of his crazy ideas work.

Xanvial ,

In a What If? episode, he made a suit that can transform into a racing car without creating AI first

NewAgeOldPerson ,

Let’s have a Futurama/Avengers cross over.

hexabs ,

He is an Artificer, plain and simple

vox , in You can have anything you wan...
@vox@sopuli.xyz avatar

I’d like to download all of gbatek into my brain

dangblingus , in “It’s not that hard”

I know literally 0.0000000001% of 1st year CS, and even I know that Musk just googled what “type” means in this context. No shit a compiler can determine the type at compile time. That’s not what the post was about, Elon my guy.

Tischkante ,

He doesn’t care about people writing code, unless they’re underpaid and in overtime.

z3rOR0ne , in You can have anything you wan...

I’d just wish to not be in Hell talking to Satan… I mean, literally anywhere else talking to literally anyone else is by definititon a better situation to be in.

To all contradictory replies, I said NOT be in Hell.

IrateAnteater , in You can have anything you wan...

Why limit yourself like that? Just say “All languages”. Depending on how liberally you interpret the word “language”, you know know just about everything.

dojan ,
@dojan@lemmy.world avatar

At that point just go for omniscience.

farsayl ,

Too far. I don’t need to know all that.

dojan ,
@dojan@lemmy.world avatar

Oh you don’t want to know exactly how many pubes your grandmother shed in her lifetime? You don’t care to know what the sewage of tasted like in London on Sunday, the 16th of July 1882? You don’t burn with desire to learn what it feels like to get your viscera torn out by a hungry lion?

Weak!

PopMyCop ,

A few million. Nasty, with hints of corn and bean. Painful and, oddly, quite exhilarating. Knowing doesn’t equate to experiencing.

dojan ,
@dojan@lemmy.world avatar

I dunno. You’d know exactly what it looks and smells like too, and what it’d feel like on your tongue. Depends on how vivid your imagination is.

I can’t visualise things, but when people ask me to “visualise an apple” I can feel the waxy exterior, the crispness (or gumminess of an old apple), the slightly floral scent before you bite into it, what it sounds like, etc.

Can’t fucking visualise it to save my life though.

PopMyCop ,

I can imagine sensation if I want, but as a ‘for instance,’ I know I don’t like some foods because of certain sensations, but don’t have to perceive them when I remember why. I can’t imagine that most people aren’t the same, or we’d have a lot more people gagging randomly as they walk around. Sure, some people will be slightly perturbed if you mention certain things, like fecal matter, horrible farts, the feeling of biting down on aluminum… but those perturbations pass in moments.

dojan ,
@dojan@lemmy.world avatar

Interesting! There’s a particular type of fabric I cannot stand, and every time I think of it I get the sensation of touching it. Doing my best to not fling my phone away.

ForceLightning ,
@ForceLightning@lemmy.world avatar

aphantasia?

dojan ,
@dojan@lemmy.world avatar

Possibly.

the_post_of_tom_joad ,

Man i could just browse weird facts in my brain all day. Hurry Satan my soul is waiting!

xintrik ,

I’m already a loner but omniscience would seal the deal.

dojan ,
@dojan@lemmy.world avatar

You’d be one hell of a schmoozer as you’d know exactly what to say to people to connect with them.

fl42v ,

Fuck programming then, I’ll go read ancient Egyptian or some not-yet-deciphered crap. On the other hand, I bet it’s not that different from APL

APLSC_matrix-3547335466

drcobaltjedi ,

My old man told me he took one programming language in college and it was APL. Having looked at APL since becoming a software dev myself, I can understand why he hated it.

It’s just so gross and hard to read

funkless_eck ,

On the other hand, which do you prefer, this:


<span style="color:#323232;"> life ← {⊃1 ⍵ ∨.∧ 3 4 = +/ +⌿ ¯1 0 1 ∘.⊖ ¯1 0 1 ⌽¨ ⊂⍵}
</span>

or this:


<span style="color:#323232;"> MODE UNIVERSE = [upb OF class universe, upb OF class universe]BOOL; STRUCT( INT upb, BOOL lifeless, alive, PROC(REF UNIVERSE)VOID init, PROC(REF UNIVERSE)STRING repr, PROC(REF UNIVERSE, INT, INT)VOID insert glider, PROC(REF UNIVERSE)VOID next ) class universe = ( # upb = # 50, # lifeless = # FALSE, # alive = # TRUE, # PROC init = # (REF UNIVERSE self)VOID: FOR row index FROM LWB self TO UPB self DO init row(self[row index, ]) OD, # PROC repr = # (REF UNIVERSE self)STRING:( FORMAT cell = $b("[]", " ")$, horizon = $"+"n(UPB self)("--")"+"l$; FILE outf; STRING out; associate(outf, out); putf(outf, (horizon, $"|"n(UPB self)(f(cell))"|"l$, self, horizon)); close(outf); out ), # PROC insert glider = # (REF UNIVERSE self, INT row, col)VOID:( self[row-2, col+1]&nbsp;:= TRUE; self[row-1, col+2]&nbsp;:= TRUE; self[row, col:col+2]&nbsp;:= (TRUE, TRUE, TRUE ) ), # PROC next = # (REF UNIVERSE self)VOID:( [0:2, LWB self-1:UPB self+1]BOOL window;  # init row(window[LWB window, ]); window[LWB self, 2 LWB window]&nbsp;:= window[LWB self, 2 UPB window]&nbsp;:= window[UPB window, 2 LWB window]&nbsp;:= window[UPB window, 2 UPB window]&nbsp;:= lifeless OF class universe;  window[LWB self, LWB self:UPB self]&nbsp;:= self[LWB self, ]; FOR row FROM LWB self TO UPB self DO REF []BOOL next row = window[(row+1) MOD 3, ]; IF row NE UPB self THEN next row[LWB self:UPB self]&nbsp;:= self[row+1, ] ELSE init row(next row) FI; FOR col FROM LWB self TO UPB self DO INT live&nbsp;:= 0;  FOR row FROM row-1 TO row+1 DO REF[]BOOL window row = window[row MOD 3, ]; FOR col FROM col-1 TO col+1 DO IF window row[col] THEN live +:= 1 FI OD OD; self[row, col]&nbsp;:= IF window[row MOD 3, col] THEN live -:=  live = 3 FI OD OD ) );
</span>
fl42v ,

Honesty, neither 🤣

MonkderZweite , in You can have anything you wan...

Wish granted, goes on to create yet another “better” programming language.

btw, OP forgot “understanding”, which is the harder part.

coloredgrayscale ,

Good point. Maybe that’s why they clarified “all knowledge in data structures and ml and ai” in the end.

Then again, just because you have all puzzle pieces (and a few extra) it does not mean you can solve it.

mariusafa , (edited ) in You can have anything you wan...

You can know all programing languages and still be dumb af not knowing what do do with them, xd.

gerryflap , in You can have anything you wan...
@gerryflap@feddit.nl avatar

If I was at any moment perfectly aware of every minute detail of every programming related topic, and could also apply it perfectly, I honestly think I’d get incredibly stressed and depressed. Stressed from all the billions of projects that I could improve, and would kinda feel the obligation to improve. And depressed because the whole reason I like programming is the learning part. Almost every project I start will end at the point where I learnt the most significant new stuff and it comes down to doing things that I know how to do. It’d ruin my primary hobby (and job) for me, which probably wouldn’t result in me being very happy.

KevonLooney ,

Don’t wish for knowledge, wish for wisdom. Of course then you will just realize that you should have just wished to be lucky.

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