this post was submitted on 07 Feb 2025
457 points (98.1% liked)

Programmer Humor

33569 readers
55 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] LGTM@discuss.tchncs.de 126 points 2 weeks ago (1 children)

No need, there's an unmaintained javascript library for that (written by a 12-yr old)

[–] NocturnalMorning@lemmy.world 43 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Omg, sign me up! I'm gonna put that script in production for a server used by millions of customers around the world!

[–] ogeist@lemmy.world 20 points 2 weeks ago (1 children)

Oh no, now there is a security audit and the pdf generated is insecure, the unpaid developer that has not logged in since 2015 has to fix this ASAP

[–] umbrella@lemmy.ml 13 points 2 weeks ago (1 children)

what? invest money to pay for open source software? are you nuts?

[–] GenosseFlosse@feddit.org 4 points 2 weeks ago* (last edited 2 weeks ago)

"Just replace it with AI!!!"

[–] HStone32@lemmy.world 97 points 2 weeks ago (1 children)

The secret to success in software engineering:

  1. Lie and say that there is
  2. Write or use a conversion algorithm
  3. Boss won't know the difference
  4. Collect bonus at performance evaluation
  5. Put "AI engineer" on resume
[–] pastel_de_airfryer@lemmy.eco.br 36 points 2 weeks ago (1 children)
  1. Boss thinks AI can code at senior developer level and fires you and the entire team
[–] HStone32@lemmy.world 16 points 2 weeks ago
  1. Never plan on staying at a SE job for longer than a few years. Not in a market that volitile.
[–] traches@sh.itjust.works 71 points 2 weeks ago (2 children)

Yes it’s an LLM called pandoc, you can run it locally

[–] CaptDust@sh.itjust.works 44 points 2 weeks ago (1 children)

You don't need a private nuclear plant to run it? Wow very efficient.

[–] avidamoeba@lemmy.ca 9 points 2 weeks ago* (last edited 2 weeks ago)

Black magic software.

[–] SnotFlickerman@lemmy.blahaj.zone 59 points 2 weeks ago (1 children)

Initially, I didn't think these kids were fall guys.

Now I think they're fall guys.

[–] lka1988@sh.itjust.works 55 points 2 weeks ago (1 children)

That was my thought. Young kids fresh out of school are really easy to manipulate into delusions of grandeur, especially when said delusions are offered by the richest person in the world. He's gonna leave them out for the wolves.

[–] SnotFlickerman@lemmy.blahaj.zone 46 points 2 weeks ago (2 children)

Either that or Musk himself is truly so incompetent he thinks these kids are true geniuses. Honestly, with how things are going, that's a fiddy-fiddy chance, because Musk is somehow almost as unbelievably stupid as Trump.

[–] BartyDeCanter@lemmy.sdf.org 19 points 2 weeks ago

Why not both?

[–] lka1988@sh.itjust.works 9 points 2 weeks ago

You're probably not wrong, what with him awkwardly hopping around onstage at multiple trump rallies.

[–] Opisek@lemmy.world 55 points 2 weeks ago (3 children)

Technically OCR is an application of machine learning.

Not an LLM, though.

[–] SwordInStone@lemmy.world 16 points 2 weeks ago

A world of difference

load more comments (2 replies)
[–] tsiad_mordecai_miktros@lemmy.world 50 points 2 weeks ago (1 children)

yes me send me what you want me to parse and i will get back to you in 3-4 business days

[–] eldavi@lemmy.ml 20 points 2 weeks ago (1 children)

be sure to include the metadata too. lol

[–] OwlPaste@lemmy.world 15 points 2 weeks ago (1 children)
[–] tsiad_mordecai_miktros@lemmy.world 4 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

the only fee i want is pics

[–] NicolaHaskell@lemmy.ml 47 points 2 weeks ago

This is that special blend of Tablet Kid "I don't need to know things I can google them" and Rich Kid "I don't need to do things I can crowdsource them" that makes for that Distinctively VP "I don't know what I'm doing and nobody can tell 👈😎👉"

[–] mesamunefire@lemmy.world 45 points 2 weeks ago (3 children)

Imagine getting a job like this and now half the nation knows your name...thats terrifying. being an intern may mean you have no idea of the true scope of what they are asking you to do.

[–] Pieisawesome@lemmy.dbzer0.com 22 points 2 weeks ago

They are public employees who are changing things at the core of our government. Why wouldn’t we know their names?

Government employees names aren’t secret (asides from a few exceptions) nor is their pay

[–] GrumpyDuckling@sh.itjust.works 18 points 2 weeks ago

We know that his dad is an engineering professor at university of Nebraska too. Really calls into question his credentials. I checked the other day and they had already removed his contact info from their website.

[–] crusa187@lemmy.ml 15 points 2 weeks ago (1 children)

Yeah, seems that’s the point. Old enough to competently perform what they’re told, but too young to realize the gravity of the situation and how wrong it is to partake in it.

[–] eldavi@lemmy.ml 17 points 2 weeks ago (1 children)

that's why we have 18 year soldiers ....

[–] ChapulinColorado@lemmy.world 10 points 2 weeks ago

It’s ok, with the experienced gained from being forced to grow up, some will come home and use their savings to buy a dodge ram on a 7 year loan at 18% apr.

[–] CapriciousDay@lemmy.ml 25 points 2 weeks ago

Oh yeah the hosted DeepSeek has that

[–] tetris11@lemmy.ml 21 points 2 weeks ago* (last edited 2 weeks ago) (3 children)

I have to admit, PDF parsing being such a hot and profitable topic in computer science was really something I never saw coming.

PDFs? The things you can select text from? And when not, there's decent OCR? And when not, you just ask the person to send you an email or a word doc?

It sounds like LLMs are looking for a new unpolluted source of historical data that they can learn from, and this source exists in the form of old scanned-in paper documents. That's the only reason I can fathom as to why this is such a big thing now.

[–] chicken@lemmy.dbzer0.com 9 points 2 weeks ago (1 children)

Every time I try to convert a PDF to epub or something, or OCR one that doesn't actually have selectable text, it turns out shit. I assume the real reason people would want to get LLMs involved is that there is actually a lot of ambiguity in what a correct conversion would be, and there are a lot of PDFs out there.

load more comments (1 replies)
[–] sudo@programming.dev 5 points 2 weeks ago

Training the most insane AI model on classified federal documents.

[–] MonkderVierte@lemmy.ml 5 points 2 weeks ago

Selecting text doesn't work in most multi-column pdfs and good OCR cost money. And if the original source is lost and you want an exact copy in word, the OCR tools need to be really good at guessing whitespace-to-line ratio, because pdf is only an output format and not a processing format.

For most other converting needs, there's pandoc, imagemagick and ffmpeg.

[–] GissaMittJobb@lemmy.ml 19 points 2 weeks ago (1 children)

Is this fake?

For context, this is the guy who figured out how to see what's written on some ancient Greek Scrolls without destroying them. It seems slightly far-fetched that he wouldn't know better.

[–] SwordInStone@lemmy.world 5 points 2 weeks ago (1 children)
[–] GissaMittJobb@lemmy.ml 11 points 2 weeks ago (1 children)

Ok so they were apparently in Greek but not from Greece. Source: https://news.unl.edu/article-2

[–] Telorand@reddthat.com 10 points 2 weeks ago (1 children)

Even granting the quality or contribution he had to that effort, there's a huge difference between, "I can make a computer read burnt scrolls," and, "I can make government software with industry-standard protocols and security."

By way of comparison, just because I can write automation software for my company's apps doesn't mean I could just jump into doing Linus Torvalds' job maintaining the Linux kernel.

[–] GissaMittJobb@lemmy.ml 11 points 2 weeks ago (2 children)

Sure, but the difference between "I win awards for figruing out how to decipher ancient scrolls that no one has been able to do despite their best efforts" and "I can't research well enough to discover appropriate existing tools for document conversion" is very hard to reconcile.

[–] SwordInStone@lemmy.world 8 points 2 weeks ago

It's not even a matter of research. The whole question is demented. It's like asking what is the best pizza cutter to write with.

load more comments (1 replies)
[–] rustydrd@sh.itjust.works 17 points 2 weeks ago (1 children)

Ah yes, the famed document <-> JSON converter.

[–] xthexder@l.sw0.com 12 points 2 weeks ago

It's so easy! Watch:

{"contents": "<garbled .docx contents goes here>"}
[–] cmgvd3lw@discuss.tchncs.de 15 points 2 weeks ago (2 children)

Actually this is what they do.

load more comments (2 replies)
[–] ininewcrow@lemmy.ca 11 points 2 weeks ago

Just use Deepseek for US government data .... what could go wrong?

[–] sudo@programming.dev 5 points 2 weeks ago

Like opening source code in Word.

load more comments
view more: next ›