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

Programmer Humor

33569 readers
141 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
[–] [email protected] 126 points 2 weeks ago (1 children)

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

[–] [email protected] 44 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!

[–] [email protected] 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

[–] [email protected] 13 points 2 weeks ago (1 children)

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

[–] [email protected] 4 points 2 weeks ago* (last edited 2 weeks ago)

"Just replace it with AI!!!"

[–] [email protected] 100 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
[–] [email protected] 37 points 2 weeks ago (1 children)
  1. Boss thinks AI can code at senior developer level and fires you and the entire team
[–] [email protected] 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.
[–] [email protected] 71 points 2 weeks ago (2 children)

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

[–] [email protected] 44 points 2 weeks ago (1 children)

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

[–] [email protected] 9 points 2 weeks ago* (last edited 2 weeks ago)

Black magic software.

[–] [email protected] 59 points 2 weeks ago (1 children)

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

Now I think they're fall guys.

[–] [email protected] 56 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.

[–] [email protected] 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.

[–] [email protected] 19 points 2 weeks ago

Why not both?

[–] [email protected] 9 points 2 weeks ago

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

[–] [email protected] 55 points 2 weeks ago (3 children)

Technically OCR is an application of machine learning.

Not an LLM, though.

[–] [email protected] 17 points 2 weeks ago

A world of difference

load more comments (2 replies)
[–] [email protected] 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

[–] [email protected] 20 points 2 weeks ago (1 children)

be sure to include the metadata too. lol

[–] [email protected] 15 points 2 weeks ago (5 children)
load more comments (5 replies)
[–] [email protected] 48 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 👈😎👉"

[–] [email protected] 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.

[–] [email protected] 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

[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] 18 points 2 weeks ago (1 children)

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

[–] [email protected] 11 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.

[–] [email protected] 25 points 2 weeks ago

Oh yeah the hosted DeepSeek has that

[–] [email protected] 22 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.

[–] [email protected] 10 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)
[–] [email protected] 6 points 2 weeks ago

Training the most insane AI model on classified federal documents.

[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] 5 points 2 weeks ago (1 children)
[–] [email protected] 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

[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] 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)
[–] [email protected] 17 points 2 weeks ago (1 children)

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

[–] [email protected] 12 points 2 weeks ago

It's so easy! Watch:

{"contents": "<garbled .docx contents goes here>"}
[–] [email protected] 14 points 2 weeks ago (3 children)

Actually this is what they do.

[–] [email protected] 5 points 2 weeks ago

Not at all. The only similarity is that LLMs work with text, and the document formats can also represent text.

Each format (E.g pdf, json, excel) has a defined standard, so all you have to do to change between each other is to map one format's fields to the others. You don't need (and won't get good results) from having an LLM produce the new format from scratch.

What he's asking is the equivalent of asking if there's an LLM made specifically for solving arithmetic problems. Why would you try to solve addition using an LLM?

load more comments (2 replies)
[–] [email protected] 9 points 2 weeks ago

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

[–] [email protected] 5 points 2 weeks ago

Like opening source code in Word.

load more comments
view more: next ›