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.

invertedspear , in New language

One project I worked on had 10 different languages. That was rough. But even your basic full stack web application is usually 5 languages: SQL, a backend language, HTML, CSS and JS. Usually some wheel reinventing frameworks thrown in for good measure. 5 languages is light these days.

agressivelyPassive ,

And don’t forget the CI “language” plus a bunch of bash scripts, Helm, Kubernetes, etc.

mctoasterson ,

Probably a bunch of hacked together Python to copy stuff between fileshares. Bonus points if it runs with a .bat file and a Windows scheduled task.

humbletightband ,

Without Ansible or Terraform? What about SQL specific for each rdbms?

CodeMonkey ,

I work in Java, Golang, Python, with Helm, CircleCI, bash scripts, Makefiles, Terraform, and Terragrunt for testing and deployment. There are other teams handling the C++ and SQL (plus whatever dark magic QA uses).

rufus , in New language

And one of them is Java?

BeigeAgenda ,
@BeigeAgenda@lemmy.ca avatar

Yes Java, Scala, Kotlin, Jython and Perl

jaybone ,

Whatever you do in perl, I can do in PL/SQL.

BeigeAgenda ,
@BeigeAgenda@lemmy.ca avatar

I would rather use pgsql or tsql instead of PL/SQL, mostly because of oracle.

tinyVoltron ,
@tinyVoltron@lemmy.world avatar

What about Groovy?

BeigeAgenda ,
@BeigeAgenda@lemmy.ca avatar

Forgot about that one, even if I just worked on a Jenkins script 🙄

whoisearth ,
@whoisearth@lemmy.ca avatar

Of course Perl is in there lol

rufus , (edited ) in I expect normies to use words like 'algorithm' to refer to 'AI', which is in reality, a mathematical optimization PAC model --- but is this guy not supposed to be epitome of tech meritocracy?

I don’t get it. Where does he say “algorithm”? Does Google Gemini do PAC learning?

AFAIK “AI” means “machine learning” and machines with “intelligent” behaviour, whatever that means. It includes everything from expert systems, statistics, markov chains to LLMs. And people nowadays slap it on every product out there.

“Algorithm” means a (finite) sequence of (rigorous) instructions. At least that’s what Wikipedia says. It’s well defined and doesn’t talk about where the instructions come from or if it includes statistics.

natecox ,
@natecox@programming.dev avatar

Maybe it’s in the thread or something? I don’t know.

I think Musk is maybe the biggest tool of them all and I enjoy a chance to insult him as much as the next guy, but I’m confused about this one.

rufus ,

Agree. Not sure if I’d use the word “tool” to describe him… But he’s certainly “special”. Glad I found one of the few discussions where it’s not just his fans praising him for his " visions" despite him not delivering on the last 50 promises he made. Or the latest edgy memelord thing he read somewhere or came up with… Usually I just shut my mouth and don’t comment on that because it’s just so many people following the hype.

umbraroze , in Life Hack

One day someone will use the SQL injection to execute code on the remote server to add message to the web site that tells the workers to unionise and demand actually fair wages and put an end to the whole tipping nonsense

melpomenesclevage ,

Please write this code and I’ll do it tomorrow when stuff opens today.

FuryMaker , in New language

Obligatory XKCD:

xkcd.com/927/

Dirk , in Probably the wrong meme format
@Dirk@lemmy.ml avatar

There is an XKCD for that. Replace “standards” with “programming languages”.

https://lemmy.ml/pictrs/image/090036ee-e492-49e4-8b01-57aa798fdfaf.png

affiliate , in New language

back in my day we only had one language. it was called ASSEMBLY. wanted to make the computer do something? you had to ask it yourself. and that worked JUST FINE

SaltyIceteaMaker ,
@SaltyIceteaMaker@iusearchlinux.fyi avatar

Back in my dsy we only had non programmable computers. Wanted to make the computer do something? You had to specifically build in the function. And that worked JUST FINE

Plopp ,

Back in my day we had an abacus and if you wanted it to do something you had to do it your damn self. And that worked JUST FINE.

letsgo ,

Oh hello mister fancy pants with your abacus. We carved notches in rocks and we were happy with that.

SorryQuick ,

Back in my day people worked 16h days everyday and had no time for math or computers. And that was JUST FINE.

jaybone ,

Well la-tee-da, fuck my AND gates and inverters.

Look at moneybags over here with his instruction sets.

trashgirlfriend ,

Back in my day when you wanted a computer to do something, you just asked her to do it and then underpaid her because women can’t hold real jobs.

Aceticon ,

Gates and inverters!!?

Luxury!

In my day we had to use transitors and resistors and, if we were lucky, maybe capacitors.

anton ,

Look at me, I have a friend at bell labs.
We had to use vacuum tubes, and we liked it.

humbletightband ,

Ok Boomer

iAvicenna , (edited ) in Rebase Supremacy
@iAvicenna@lemmy.world avatar

I personally prefer “git off my lawn”

bitcrafter ,

Ah, yes, the good old git off --my lawn command.

tja , in Hilarious
@tja@sh.itjust.works avatar

You should always check xkcd.com/1205/ first to see if it makes sense to automate something

Zagorath ,
@Zagorath@aussie.zone avatar

Let’s say it takes half a second to copy/paste and submit the message. That’s 50 seconds saved, round it to one minute. You’re only doing it once, so let’s cross over to yearly. According to the Munroe Automation Scale, you can spend up to 5 minutes on it.

I’d say that code took about 1 minute to write. Maybe 2.

Result: do the automation.

Huschke ,

I miss /r/theydidthemath

bisby ,

Caveat: This is all written assuming the message is being written on a computer with a real keyboard. But if we’re assuming this is written on a phone, then my analysis doesn’t apply, but then again, writing a java program to execute in your messaging app is also a terrible idea. Which means we’re suspending disbelief, so I choose to believe that a computer keyboard and shortcuts are available.

Type the phrase once. Select all. copy, paste, paste (the first paste replaces what you already have highlighted, the second paste adds a second copy). Now you have 2. Control + A, Control + C, Control + V… Now you have 4.

It will take you only 7 cycles of this get 128*, you only need to copy/paste it one by one if you want to send each message separately. and even then, it’s would purely be copy the original, then paste, send, paste, send, paste send, paste, send.

Assuming you can hold down control and just hit ACVV 7 times, that’s 28 keystrokes. I’d bet I can get that done in 5 seconds or less (i tried it, it’s less than that), so now I only save 5 seconds. Which means I only get 25 seconds to write the script. Which he chose to write in java for some reason?

[print(“I’m sorry”) for x in range(0, 100)] is actually a script I could write in less than 25 seconds.

*And I disagree with the “reason 4” given. She didn’t say “exactly 100 times” she said “100 times before I forgive you” and to me, “before” implies >= and not ==. So if you drop it in 128 times, that exceeds the criteria. No one has ever rescinded forgiveness for receiving extra apologies.

FaceDeer ,
@FaceDeer@fedia.io avatar

He must have to apologize to her a lot.

UnRelatedBurner , in Should it just be called JASM?

Do we have 3 assemblies now?

anton , (edited )

Actual assembly in mainstream use:
x86
arm
risc v

mainstream byte code:
jvm
.net (I think)
wasm

fake assembly people may write:
llvm
wasm

wat (web assembly text) is actually written is S-expressions, like lisp but without code as data.

Edit: formatting

starman ,
@starman@programming.dev avatar

.NET thing is called IL

secana ,

The runtime is even called “common language runtime” (clr), as it is intended to support many different languages, which the jvm never was.

starman ,
@starman@programming.dev avatar

Languages like F# or (God forbid) VB.NET

onlinepersona OP ,

How many do you want?

UnRelatedBurner ,

One. To rule them all.

YerbaYerba ,
starman ,
@starman@programming.dev avatar

You forgot CC :)

ZILtoid1991 ,

I’m making my own, because all mainstream options are bloated for my usecase…

tatterdemalion , in Rebase Supremacy
@tatterdemalion@programming.dev avatar

Rebase feature branch, merge commit into main (NO SQUASH).

cupcakezealot ,
@cupcakezealot@lemmy.blahaj.zone avatar

make the commit message be “we’ve fixed bugs and improved performance. to experience the newest features and improvements, checkout the latest version of the branch.”

temmink ,

great new features

Jia Tan

agressivelyPassive , in Probably the wrong meme format

I mean, hardly anyone complaining about Java does so because of JVM bytecode.

I’m not sure, where the wasm hate is coming from.

anton ,

It all comes from OP.

onlinepersona OP ,

No hate, just a stupid meme. WASM has the possibility of replacing JS in the browser, however it had to reinvent the JVM 🤷 As long as it gets rid of the JS dominance in browsers, I’m all for it.

Anti Commercial AI thingyCC BY-NC-SA 4.0

reflectedodds ,

It probably won’t get rid of js’s dominance, but it’ll give people options. I already see some front end python and rust frameworks thanks to wasm. But for some reason I really don’t like the idea of writing html / css in my rust. But I don’t like the idea of html / css in my rust.

onlinepersona OP ,

I really don’t like the idea of writing html / css in my rust

Yeah, I’m not sure if there are very good alternatives to that. Everything I’ve seen tends to go in that direction: markup language + stylesheet language. But HTML and CSS for sure aren’t the best.

There’s HAML and Pug, which I did enjoy writing much more than HTML.

Anti Commercial AI thingyCC BY-NC-SA 4.0

reflectedodds ,

I like flutter’s design where you do your markup and styling as code, and then it gets rendered via opengl. So you get that native performance without having to deal with the whole browser stack.

I don’t like how almost all software these days is just web apps masquerading as native apps, but they’re just so damn easy to write compared to anything else.

onlinepersona OP ,

I don’t like how almost all software these days is just web apps masquerading as native apps, but they’re just so damn easy to write compared to anything else.

Yeah, we definitely need better UI frameworks with a clean and easy approach. So far, I’ve been enjoying Slint, but that’s also because I refuse to touch HTML/CSS/JS.

Anti Commercial AI thingyCC BY-NC-SA 4.0

taanegl , in Probably the wrong meme format

haha java is terrible, mostly because of who owns it.

steventhedev ,
onlinepersona OP ,

Was Java still terrible when Sun owned it?

Anti Commercial AI thingyCC BY-NC-SA 4.0

taanegl ,

Sun Microsystems was once the great hope of the computing world, and technically the JVM was first to normalise the use of VM’s, albeit from a containerised perspective. It was Docker before docker, in some sense.

This coupled with Solaris and the SPARC systems that were Java-native (whatever that means) enabled this type of containerisation from a hardware level, which again: was a huge thing.

But, Sun turned for the worse once the JVM hit browsers and server stacks. That’s when their SaaS model was envisioned, that was the precursor to the acquisition by Oracle.

So it started nicely, but hit the enshitification velocity somewhere in the early 2000s.

XTL ,

No, Java was always a creeping horror. The VM is one of its less bad features.

Yes it has been steadily getting worse, though.

marcos ,

less bad

Hum, no. The idea of a fast intermediate representation that is still high-level enough to allow for runtime optimizations and portability is GREAT. It’s not “less bad”.

But, of course, everything else destroys the language. A language agnostic WASM is taking that one really great part, and dropping everything else.

Jakylla , in Hilarious
@Jakylla@sh.itjust.works avatar

Twitter PR review

KidnappedByKitties , in Hilarious

102 times

Rubanski ,

Why 102? Isn’t it 0-100?

stevestevesteve ,

He already said it once

Rubanski ,

Wow that went over my head haha

jaybone ,

But that was before she set the requirement. I assume she meant from then on, and not since the beginning of time.

someguy3 ,

If they have eggs, get a dozen.

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