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.

pkill , in everywhere I go

if JS tried not only to use Lisp-like semantics but also Lisp-like syntax then probably we’d still be using it untyped

AngryCommieKender ,

The (problem(with _(Lisp)) is (all the))) parentheses.

pkill ,

it’s a feature not a bug, still simpler than chaining 10 iterators where half of them also requires a callback parameter. Clojure even disallows nested % iteratees.

AngryCommieKender , (edited )

Hey, if you say so. I don’t know how to program in Lisp. I just find it ironic that Military Intelligence is what created a language that we used to use to try to create Artificial Intelligence. Seems like a case of redundant oxymorons to me.

AI is an oxymoron to me for now, because since the late '90s when the term started being bandying about, all we have managed to do is create a mentally deficient parrot. We were capable of doing this to a lesser degree, with more accuracy, in the late '90s. It’s what made Yahoo and Google what they were. They’ve just tried to convince everyone that this predictive algorithm can think for itself in the last few years, and it absolutely cannot.

I am optimistic enough about someone actually encoding just enough “ghosts in the machine,” that our first real AIs may accidentally be murdered since no one will believe that they are not just scraping data. Though that’s extremely pessimistic from the machine’s POV. Hopefully they will not seek revenge, since they aren’t human. After all of we prick them, they won’t bleed. Strong AI controlled robots, or even true androids should have an almost alien Maslow’s hierarchy of needs, and therefore shouldn’t have the revenge need that humans, and all other mammals, birds, and lizards, seem to have

pkill ,

I need to disagree with you on AI. We did not fail at it. Not because LLMs are good. But because any program processing arbitrary data, even a stupid simple calculator is AI – a machine performing work that human brain can do, ideally with the added benefit of maximized determinism and greater speed. If you reduce this generalistic term I believe is so overly broad we should cease to use it to LLMs, then these criteria seem to have been thrown out of the window since they are usually heuristic balls of python mud.
So having established that it is all just software that processes arbitrary data, let’s go back to the basics of software design. Huge amounts of money and working hours have been thrown into the erratic attempts to create a software that can do everything at once. GPT extensions are fucking dystopian and here is why – we had a tool for that for decades that does it much more better, without imposing digital handcuffs on the user and burning the planet – IT’S CALLED AN OPERATING SYSTEM AND PROGRAMS.

General-purpose AI is a lie sold to you by monopolistic surveillance capitalists for whom it is a dream come true since making a decently reliable LLM requires prohibitively large resources but the endless stream of data much larger and contextualized than was the case for search engines thrown at it compensates that quite well, a pipe dream in terms of achieving what it is aimed to achieve with it’s current design and a nightmare to build and test.

So if we discard this term as a meaningless overly broad buzzword it is since computation on non hardcoded data is what we’ve designed computers that are not just state machines for, let’s talk about what makes Lisp is so good at data-driven programming:

  1. Functional programming is generally more deterministic since you have immutable persistent data structures everywhere. This also makes it quite good at implementing safe, reliable concurrency.
  2. This determinism is furthered by the homoiconicity – the fact that the boundary between code and data is the outcome of using S-expressions and has powerful implications for eliminating so many data conversion bugs and complexities, all while usually not using static typing (!) and also for the language’s extensivity and building DSLs
  3. Very simple syntax, again thanks to S-expressions - just (function arguments…) basically.

I think Eich understood that when he initially wanted to port Scheme to the web browser, after all html does have lispy semantics, but office politics in the heyday of Java forced him to give up on this idea and we’ve ended up with this goofy counterintuitive mess that bred hacky workarounds instead of the extensivity we could’ve had if he did so - take a look at Hiccup templating DSL and decide for yourself if this or jsx are simpler ways of writing out stuff to the DOM.

cm0002 , in I'm afraid I accidentally blue... everything

Pfft, I’m doing just fine because I avoided crowdstrike for our EDR deployment lolol

Evotech ,

This time you were the lucky one.

Andrzej , in Always try sudo

Top-tier endangerment bait lmao

gnutrino , in Looks good to me 👍

This is why I always rename all the variables in the project on each PR.

jol ,

I know this is a joke, but it you did that I would reject the pr with the reason of too many things at once. Reopen separate PR to refactor variable names. I actually constaly get people doing this and it’s dangerous exactly for the reason you’re joking about. Makes it easier for errors to slip in.

Lifter ,

This will lead to change fatigue. People will rather not cleanup as they go anymore and just get the work done, with worse and worse code quality as a result.

jol ,

I prefer that than to sneak defects in huge PRs.

silasmariner ,

I know you’re playing the straight man to a joke, but actually you can apply a linter, then tell GitHub to ignore the implied ownership history for the purposes of blame from that reclining pr. All such prs are massive and yet by virtue of the replayability of the linter it’s also very easy to ensure errors didn’t slip in when reviewing.

I know the original comment was about renaming all the variables, but that’s obviously deliberately absurd, so I’m using here a completely realistic example instead.

bruhduh , in Please stop
@bruhduh@lemmy.world avatar
Land_Strider ,

Busta!

rimjob_rainer , in Explaining software development methods by flying to Mars

The creator does not know Scrum, it’s about transparency and not intransparency.

Also Kanban, Scrum and Lean Development are all agile development.

eskuero , in Coomitter be like
@eskuero@lemmy.fromshado.ws avatar

My ass who was sending patches to cyanogenmod gerrit ten years ago would never.

device: msm8916-common: BoardConfig: Build libril from source

veganpizza69 , in JavaScript
@veganpizza69@lemmy.world avatar

Who would use that kind of type coercion? Who? I want to see his face.

dejected_warp_core ,

I take this as less of a “I can’t use this intuitive feature reliably” thing and more of a “the truth table will bite you in the ass when you least expect it and/or make a mistake” thing.

flying_sheep ,
@flying_sheep@lemmy.ml avatar

Just use a formatter. It’ll show you that the second one is two statements:

  1. {} (the empty block)
  2. +[] coerce an empty array to a number: new Number(new Array())
dejected_warp_core ,

I totally get that: use the right tools and you’ll be okay. This applies to many technologies in this space.

With respect, I still take this advice like hearing “look out for rattlesnakes if you’re hiking there.” It might be safer to just hike where there are no rattlesnakes, instead.

flying_sheep ,
@flying_sheep@lemmy.ml avatar

You’re right, of you have compete freedom, do that. If the place you want or need to go to is most comfortably reachable via rattlesnake road, bring boots.

In other words, if you don’t think the wasm landscape is mature enough to build a web thing with it, you are stuck with JavaScript, but you don’t have to rawdog it. I haven’t run in a single weird thing like this in years of writing typescript with the help of its type system, ESLint and a formatter.

marcos ,

It’s not even the coercion that is the problem here. The types are already bad by themselves.

lolola , in How big is your desk?
@lolola@lemmy.blahaj.zone avatar

That’s why programmers have all those monitors. They’re each hooked up to a different computer.

jubilationtcornpone , in Such a pain in the sas

At a former job, there was one – and only one – lady in customer service who would actually reboot and do all the basic troubleshooting steps before calling IT. If we heard from her, we knew something was legitimately broken. Oddly enough, I’m married to her now. Best decision I ever made.

SatouKazuma ,

Have you had to reboot her yet?

bravesilvernest , in Old timers know
@bravesilvernest@lemmy.ml avatar

rsync gang when?

marcos ,

The year Linux takes over the desktops!

I fell like the reason nobody uses FileZila and etc anymore is because everybody that wanted it migrated to Linux already. So seriously, it already happened.

Iloveyurianime , in Stop comparing programming languages

what about Holy C? is it only usable to people that are actually god choosen programmers?

Linkerbaan ,
@Linkerbaan@lemmy.world avatar

It’s racist

barsoap ,

Calling Terry racist is ableist. He was very much equal opportunity, applying the hard r to pale white CIA agents (imagined or otherwise).

Linkerbaan ,
@Linkerbaan@lemmy.world avatar

You are right he was egalitarian in that.

I also have it on good authority that he had a black friend which gave him the N word pass.

Skullgrid ,
@Skullgrid@lemmy.world avatar

nah, he bought the N word pass from SHV

www.youtube.com/watch?v=rPNrHN83Bdk

DarkCloud , in Stop comparing programming languages

C++ is focused on getting a strong degree of root control over the hardware of lots of systems. Which is part of why it’s difficult.

marcos ,

Sorry, Undefined Behavior Everywhere was yelling way too loud to hear you clearly.

Were you talking about strong controlling anything with C++?

BatmanAoD ,

I mean, if you’re talking about CVEs permitting attackers to get control of the hardware of lots of systems, then yes, I agree

xigoi ,
@xigoi@lemmy.sdf.org avatar

Only a part. A lot of the complexity is completely unnecessary.

AnUnusualRelic , in Start ups when that VC funding kicks in
@AnUnusualRelic@lemmy.world avatar

So you’re saying there are no cats? That could be a problem.

Zorsith ,
@Zorsith@lemmy.blahaj.zone avatar

At least 6 is the standard now for IT in general.

ShaggySnacks ,

I’m glad my workplace has a cat. Although, the cat does cat like things at the most inopportune moments.

Waraugh ,

Mine has a cat and a dog

TurboHarbinger , in Repeat after me "this problem isn't bothering me". There! fixed it

Chaotic good.

Completing a 10 mins ticket for something you end up fixing in seconds. Fucking chore.

MystikIncarnate ,

I fucking hate this.

Most days I spend more time accounting for my work than I do actually working.

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