frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Vibecoding is scarily powerful: minutes to get C and Python recursive pdf-to-txt

3•adinhitlore•5mo ago
I know at first glance pdf-to-txt doesn't mean someone is senior dev, but since it's done in minutes and:

* 180 lines of code ~120 of which in C; * it's actually recursive and has pseudo-try-catch + memory liberation so it's more professionally coded than a total noob. * my fingers rest, i type nothing. * Because it was painfully easy i added 'ok chatgpt, thanks yeah all works but you know...sometimes pdf text is too 'tight' on the left side and i want it to be wide super formatted, can this be done? ' - of course it can..i now have wide version and tight version...

And here's the best part:

Since i decided as usual to stick to Cygwin for portability and avoid RAM overhead rather than switching to linux (dual boot) or vmware (ram) or rdp on aws (money!) chatgpt 4 (not even 5!) told me easily how to compile it and what to do to make it work on cygwin, it worked flawlessly.

Now...if i was trying to get it to work without LLM...this is what it looks like:

gcc -std=c99 -Wall -O2 pdfer_dir.c -o pdfer_dir `pkg-config --cflags --libs poppler-glib`

so where the journey starts: i had older version of cygwin and downloading it resulted in full reinstall (why not right?), then of course i needed to install 'poppler' (i had no idea what this is) which also depended on glib and even devel part of poppler or whatever that if it wasn't for chatgpt i would've never have guessed.

I also have now version which only extracts couple of pages and not the whole doc.

Sure given the cyygwin reinstall and all the options variations it was longer but the whole process can easily fit in 10 minutes or less. No one can convince me that senior Python and C developer who never works with pdf files can do it in less even if you ghost-type code, the whole process of researching on stakcoverflow, coming up with compiler options and doing it professionally with nice user-friendly output would've been hours work + energy lost. But with vibecoding and chatgpt now i have 2 programs in different languages each of which enters a specified dir and recursively converts every single pdf in each found directory to txt while the output txt retains the same name as the original pdf file.

And because it's so damn easy i may as well try to do it in c# or why not even f# (this one actually might fail since f# isn't too used for training these days).

The point is to highlight the ridiculous simplification of coding work, if you can even claim that i "coded". Vibecoding is great power and i hope it stays that way.

Stop building automations. Start running your business

https://www.fluxtopus.com/automate-your-business
1•valboa•4m ago•1 comments

You can't QA your way to the frontier

https://www.scorecard.io/blog/you-cant-qa-your-way-to-the-frontier
1•gk1•5m ago•0 comments

Show HN: PalettePoint – AI color palette generator from text or images

https://palettepoint.com
1•latentio•5m ago•0 comments

Robust and Interactable World Models in Computer Vision [video]

https://www.youtube.com/watch?v=9B4kkaGOozA
1•Anon84•9m ago•0 comments

Nestlé couldn't crack Japan's coffee market.Then they hired a child psychologist

https://twitter.com/BigBrainMkting/status/2019792335509541220
1•rmason•11m ago•0 comments

Notes for February 2-7

https://taoofmac.com/space/notes/2026/02/07/2000
2•rcarmo•12m ago•0 comments

Study confirms experience beats youthful enthusiasm

https://www.theregister.com/2026/02/07/boomers_vs_zoomers_workplace/
2•Willingham•19m ago•0 comments

The Big Hunger by Walter J Miller, Jr. (1952)

https://lauriepenny.substack.com/p/the-big-hunger
1•shervinafshar•20m ago•0 comments

The Genus Amanita

https://www.mushroomexpert.com/amanita.html
1•rolph•25m ago•0 comments

We have broken SHA-1 in practice

https://shattered.io/
7•mooreds•26m ago•2 comments

Ask HN: Was my first management job bad, or is this what management is like?

1•Buttons840•27m ago•0 comments

Ask HN: How to Reduce Time Spent Crimping?

2•pinkmuffinere•28m ago•0 comments

KV Cache Transform Coding for Compact Storage in LLM Inference

https://arxiv.org/abs/2511.01815
1•walterbell•33m ago•0 comments

A quantitative, multimodal wearable bioelectronic device for stress assessment

https://www.nature.com/articles/s41467-025-67747-9
1•PaulHoule•35m ago•0 comments

Why Big Tech Is Throwing Cash into India in Quest for AI Supremacy

https://www.wsj.com/world/india/why-big-tech-is-throwing-cash-into-india-in-quest-for-ai-supremac...
1•saikatsg•35m ago•0 comments

How to shoot yourself in the foot – 2026 edition

https://github.com/aweussom/HowToShootYourselfInTheFoot
1•aweussom•35m ago•0 comments

Eight More Months of Agents

https://crawshaw.io/blog/eight-more-months-of-agents
4•archb•37m ago•0 comments

From Human Thought to Machine Coordination

https://www.psychologytoday.com/us/blog/the-digital-self/202602/from-human-thought-to-machine-coo...
1•walterbell•37m ago•0 comments

The new X API pricing must be a joke

https://developer.x.com/
1•danver0•38m ago•0 comments

Show HN: RMA Dashboard fast SAST results for monorepos (SARIF and triage)

https://rma-dashboard.bukhari-kibuka7.workers.dev/
1•bumahkib7•39m ago•0 comments

Show HN: Source code graphRAG for Java/Kotlin development based on jQAssistant

https://github.com/2015xli/jqassistant-graph-rag
1•artigent•44m ago•0 comments

Python Only Has One Real Competitor

https://mccue.dev/pages/2-6-26-python-competitor
4•dragandj•45m ago•0 comments

Tmux to Zellij (and Back)

https://www.mauriciopoppe.com/notes/tmux-to-zellij/
1•maurizzzio•46m ago•1 comments

Ask HN: How are you using specialized agents to accelerate your work?

1•otterley•47m ago•0 comments

Passing user_id through 6 services? OTel Baggage fixes this

https://signoz.io/blog/otel-baggage/
1•pranay01•48m ago•0 comments

DavMail Pop/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway

https://davmail.sourceforge.net/
1•todsacerdoti•49m ago•0 comments

Visual data modelling in the browser (open source)

https://github.com/sqlmodel/sqlmodel
1•Sean766•51m ago•0 comments

Show HN: Tharos – CLI to find and autofix security bugs using local LLMs

https://github.com/chinonsochikelue/tharos
1•fluantix•51m ago•0 comments

Oddly Simple GUI Programs

https://simonsafar.com/2024/win32_lights/
1•MaximilianEmel•52m ago•0 comments

The New Playbook for Leaders [pdf]

https://www.ibli.com/IBLI%20OnePagers%20The%20Plays%20Summarized.pdf
1•mooreds•52m ago•1 comments