frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Scratching an Itch with Gemini Code

1•satran•1h ago
I am a little late to the "vibe coding" trend. While I’d played around with LLMs for simple scripting, I hadn't truly integrated them into my workflow. But for a recent itch, I thought I'd give it all.

I use a Supernote A5X2 for taking notes. I couldn't find the perfect dot grid for it. I wanted something simple—a light, 6mm spaced dot grid. Every generator I found online came with a catch: they either slapped a watermark on the page, forced their logo into the corner, or simply didn't work.

Usually, building a custom PDF generator means spending an hour documentation-diving to find the right library and figuring out coordinate systems. I didn't have the luxury of time, so I gave Gemini a prompt describing exactly what I wanted: the command, arguments, and what I expected to get out of it.

With these instructions it popped out a functional Python script using beautifulsoup, I think (I don’t have the original Python code, Gemini decided to delete it). It worked remarkably well. With a few follow-up prompts to tweak the spacing and dot density, I had a near perfect PDF.

The script worked for me, but I wanted to share it with the Supernote community. Most users aren't going to install Python and run terminal commands just to get a notebook template. I needed a web application. But I didn’t want to run a server and have it generate the PDF. I wanted a static file that I could host it in GitHub.

I went back to Gemini with a new challenge: “Build me a pure JavaScript application that generates this PDF entirely in the browser.”

Gemini generated the HTML, CSS, and JavaScript files using a client-side library. After a few rounds of "polishing the vibes"—tweaking the UI and refining the PDF output—I had exactly what I envisioned.

You can see the final product here https://satran.github.io/grid-generator and the source code is available in the GitHub repository https://github.com/satran/grid-generator.

Looking back, what I enjoyed most wasn't the speed, but the scaffolding. I didn’t have to research which JS library was best for PDF generation; the LLM picked a standard one and implemented it correctly. It created the structural "bones" of the app, allowing me to focus on supplementing and finalising the details rather than writing boilerplate code. I went from a minor annoyance to a public-facing tool in a fraction of the time it would have taken traditionally. I think I’m officially a convert. This is it: I can focus on the intent of the code and let the LLM handle the syntax.

Don't Waste Your Back Pressure

https://banay.me/dont-waste-your-backpressure/
1•emersonmacro•2m ago•0 comments

Deaths in Detention Warn of Horrors Behind ICE's Prison Walls

https://truthout.org/articles/deaths-in-detention-warn-of-horrors-behind-ices-prison-walls/
1•wahnfrieden•2m ago•0 comments

I built visual search for tattoo artists

1•rbaten•3m ago•0 comments

Prominent PR firm accused of commissioning favourable changes to Wikipedia pages

https://www.theguardian.com/technology/2026/jan/16/pr-firm-portland-accused-of-commissioning-favo...
1•1equalsequals1•3m ago•0 comments

Capital Moves: RCA's 70-year quest for cheap labor

https://www.cornellpress.cornell.edu/book/9780801435256/capital-moves/
1•hhs•5m ago•0 comments

No knives, only cook knives

https://kellykozakandjoshdonald.substack.com/p/no-knives-only-cook-knives
1•firloop•5m ago•0 comments

Nourish Food Club – Pasture-Raised, Corn and Soy-Free, Low PUFA

https://nourishfoodclub.com/
1•bilsbie•6m ago•0 comments

MIT Researchers Destroy the Context Window Limit [video]

https://www.youtube.com/watch?v=huszaaJPjU8
1•amichail•6m ago•0 comments

The Setapp Mobile iOS store is shutting down on February 16th

https://www.theverge.com/news/863978/setapp-mobile-ios-store-shutdown
1•raybb•7m ago•0 comments

Show HN: Dokly – Hosted documentation platform for devs

https://www.dokly.co/
1•gsharma1•9m ago•0 comments

Vulnerable WhisperPair Devices – Hijack Bluetooth Accessories Using Fast Pair

https://whisperpair.eu/vulnerable-devices
1•gnabgib•10m ago•0 comments

GitHub Has to Change

https://solmaz.io/log/2026/01/17/github-has-to-change/
1•hosolmaz•11m ago•0 comments

Sunglasses Weaken Your Eyes: Untold Story of Light Sensitivity and Dopamine

https://twitter.com/zaidkdahhaj/status/2012640228864070003
1•bilsbie•11m ago•0 comments

Compiling Scheme to WebAssembly

https://eli.thegreenplace.net/2026/compiling-scheme-to-webassembly/
1•chmaynard•13m ago•0 comments

Sequoia's Mission Accomplished

https://colinsteele.org/blog/sequioas_mission_accomplished/
2•cvillecsteele•15m ago•0 comments

How to be a good conference talk audience member (2022)

https://www.mooreds.com/wordpress/archives/3522
1•mooreds•31m ago•0 comments

Who Gets to Inherit the Stars?

https://techcrunch.com/2026/01/17/who-gets-to-inherit-the-stars-a-space-ethicist-on-what-were-not...
2•zansara•31m ago•1 comments

A Hit Movie Set Deep Inside an AI Lab

https://www.wsj.com/tech/ai/google-deepmind-documentary-youtube-thinking-game-732bfa06
1•bookofjoe•33m ago•1 comments

My Personal Financial Strategy (2020)

https://www.rdegges.com/2020/my-personal-financial-strategy/
1•mooreds•34m ago•0 comments

The Suicide Pact: what happens the moment we invade Greenland

https://substack.com/inbox/post/184398789
6•Eric_WVGG•36m ago•6 comments

DetLLM – Deterministic Inference Checks

https://github.com/tommasocerruti/detllm
1•cerru905•38m ago•1 comments

Musk wants up to $134B in OpenAI lawsuit, despite $700B fortune

https://techcrunch.com/2026/01/17/musk-wants-up-to-134b-in-openai-lawsuit-despite-700b-fortune/
2•SilverElfin•42m ago•2 comments

Camden County Police in New Jersey expands drone program

https://www.cbsnews.com/philadelphia/news/camden-nj-homicides-drone-program/
1•pilingual•43m ago•0 comments

Ask HN: Duterte EJK, 2025-09, US extrajudicial killing in the Caribbean?

1•stopbulying•43m ago•1 comments

Authenticating Digital Evidence in US Courts [pdf]

https://law.baylor.edu/sites/g/files/ecbvkj1546/files/2023-11/7_grimm_capra_joseph.pdf
1•colonCapitalDee•44m ago•0 comments

EU Set to Halt US Trade Deal over Trump's New Tariff Threat

https://www.bloomberg.com/news/articles/2026-01-17/eu-set-to-halt-us-trade-deal-over-trump-s-late...
11•ekjhgkejhgk•45m ago•7 comments

Ask HN: Why is the $0 hijacking of intellectual labor so normalized in OSS?

1•fumi2026•49m ago•6 comments

My Rube Goldberg RSS Pipeline

https://taoofmac.com/space/blog/2026/01/17/2130
1•rcarmo•49m ago•0 comments

Global trust crisis deepfakes AI

https://techfusiondaily.com/global-trust-crisis-deepfakes-ai/
1•nelkazzu•51m ago•0 comments

Ask HN: How AliExpress gets its recommendation as priority in Gmail?

2•RicoElectrico•51m ago•1 comments