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

Programmer Humor

32710 readers
1336 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] 122 points 1 day ago (1 children)

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

[–] NocturnalMorning 41 points 1 day ago* (last edited 1 day 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 18 points 1 day 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] 12 points 1 day ago (1 children)

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

[–] [email protected] 4 points 1 day ago* (last edited 1 day ago)

"Just replace it with AI!!!"

[–] HStone32 90 points 1 day 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] 31 points 1 day ago (1 children)
  1. Boss thinks AI can code at senior developer level and fires you and the entire team
[–] HStone32 13 points 1 day ago
  1. Never plan on staying at a SE job for longer than a few years. Not in a market that volitile.
[–] [email protected] 44 points 1 day 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] 21 points 1 day ago* (last edited 1 day 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] 5 points 13 hours 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] 9 points 1 day 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.

[–] JustAnotherKay 2 points 12 hours ago* (last edited 12 hours ago)

I self host sterling-pdf and I haven't had an issue with file conversion in... When did I set this thing up?

To be truthful, the machine I had it running on has been sent to the grave (I sold it) so I don't actually have this service running right now

[–] [email protected] 5 points 1 day ago

Training the most insane AI model on classified federal documents.

[–] Opisek 50 points 1 day ago (3 children)

Technically OCR is an application of machine learning.

Not an LLM, though.

[–] SwordInStone 15 points 1 day ago

A world of difference

load more comments (2 replies)
[–] [email protected] 62 points 1 day ago (1 children)

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

Now I think they're fall guys.

[–] [email protected] 54 points 1 day 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] 47 points 1 day 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] 18 points 1 day ago

Why not both?

[–] [email protected] 9 points 1 day ago

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

[–] [email protected] 66 points 1 day ago (2 children)

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

[–] [email protected] 43 points 1 day ago (1 children)

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

[–] [email protected] 7 points 1 day ago* (last edited 1 day ago)

Black magic software.

[–] [email protected] 17 points 1 day ago (1 children)

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

[–] [email protected] 12 points 1 day ago

It's so easy! Watch:

{"contents": "<garbled .docx contents goes here>"}
[–] mesamunefire 47 points 1 day 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] 20 points 1 day 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] 14 points 1 day 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] 15 points 1 day ago (1 children)

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

[–] ChapulinColorado 9 points 1 day 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] 17 points 1 day 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.

[–] tsiad_mordecai_miktros 48 points 1 day 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 1 day ago (1 children)

be sure to include the metadata too. lol

[–] OwlPaste 15 points 1 day ago (5 children)
load more comments (5 replies)
[–] [email protected] 25 points 1 day ago

Oh yeah the hosted DeepSeek has that

[–] [email protected] 19 points 1 day 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 6 points 1 day ago (1 children)
[–] [email protected] 11 points 1 day 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 1 day 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 1 day 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 8 points 1 day 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] 5 points 1 day ago

Like opening source code in Word.

[–] [email protected] 15 points 1 day ago (2 children)

Actually this is what they do.

load more comments (2 replies)
[–] [email protected] 11 points 1 day ago

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

load more comments
view more: next ›