frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Weather Haiku – AI-generated poetry for any location's current weather

https://weatherhaiku.cc
2•minor_drizzle•2h ago
I built a site that generates haiku about the current weather for any location worldwide, using Open-Meteo for weather data and Gemini (2.5-flash-lite) for generation.

The site will use temperature, wind, humidity, precipitation etc to compose the haiku. The background gradient is decided by season, weather and time of day.

The hardest part was getting the AI to write interesting poetry instead of obvious clichés. Working with generative AI feels more like trying to train an animal than programming a computer. You can't just tell it "don't be boring". I ended up with 30+ randomized focus prompts (material reactions, how light changes, human activity, etc) that get mixed into each generation to encourage variety.

Made with vanilla PHP/JS. Happy to answer questions about the prompt engineering or anything else :)

Comments

minor_drizzle•1h ago
Some notes on trying to get AI to write poetry:

Haiku has a strict 5-7-5 syllable structure. I had to make the AI respect that, but also be creative with the vocabulary. Setting the "temperature" setting to the max made for the most interesting poems, but also made the AI go off the rails from the haiku rules. The larger models like Gemini 3, and the "thinking" models, made much more varied poetry, but too way too long to generate the text, making them useless from a UX perspective.

As I've understood it, LLMs are probability and pattern matching engines. This is the worst for poetry! Usually we want unexpected metaphors and emotional contrast in poetic language. I think there is still a lot of experimentation to be made, but it's also very hard to evaluate poetry. What is "quality" when it comes to haiku?

Claude Code's renderer is more complex than a game engine

https://spader.zone/engine/
1•dboon•15s ago•0 comments

Hacking Moltbook: The AI Social Network Any Human Can Control

https://www.wiz.io/blog/exposed-moltbook-database-reveals-millions-of-api-keys
1•galnagli•16s ago•0 comments

Steve Job's Palo Alto High School Speech (1996)

https://stevejobsarchive.com/artifact/palo-alto-speech
1•samixg•33s ago•0 comments

Show HN: Official Kubernetes Operator for ClickHouse

https://github.com/ClickHouse/clickhouse-operator
1•samaysharma•59s ago•0 comments

Show HN: Workflow Hub, Open library of human-AI workflows you can clone and run

https://epismo.ai/hub
1•hirokiyn•1m ago•0 comments

Show HN: ArtCraft AI crafting engine, written in Rust

https://github.com/storytold/artcraft
1•echelon•1m ago•0 comments

Continental Drip

https://en.wikipedia.org/wiki/Continental_drip
1•JackFr•1m ago•0 comments

The Shovelware Cometh

https://jerodsanto.net/2026/02/the-shovelware-cometh/
1•mooreds•3m ago•0 comments

Ran CC Autonomously for 15h, 2x Speed Up on TPC-H, ASAN-verified, Cost $160

https://www.deeplake.ai/blog/coding-agent-15h
1•davidbuniat•3m ago•1 comments

Step 3.5 Flash

https://static.stepfun.com/blog/step-3.5-flash/
1•GaggiX•4m ago•0 comments

Gartner Takes Another Stab at Forecasting AI Spending

https://www.nextplatform.com/2026/01/30/gartner-takes-another-stab-at-forecasting-ai-spending/
1•u1hcw9nx•5m ago•0 comments

UK-fuel-price-map: A web UI for the UK fuel price data

https://github.com/markwylde/uk-fuel-price-map
1•todsacerdoti•5m ago•0 comments

Converting data to hexadecimal outputs quickly

https://lemire.me/blog/2026/02/02/converting-data-to-hexadecimal-outputs-quickly/
3•jjgreen•6m ago•0 comments

Ask HN: Who is hiring? (February 2026)

4•whoishiring•7m ago•14 comments

Ask HN: Who wants to be hired? (February 2026)

3•whoishiring•7m ago•12 comments

Why Go is not my favourite language

https://blog.habets.se/2013/10/Why-Go-is-not-my-favourite-language.html
1•behnamoh•8m ago•0 comments

China Bans Hidden Car Door Handles

https://www.bloomberg.com/news/articles/2026-02-02/china-bans-hidden-car-door-handles-in-world-fi...
2•lxgr•10m ago•0 comments

Dark Alley Mathematics

https://blog.szczepan.org/blog/three-points/
1•quibono•10m ago•0 comments

Show HN: Simple ACME v2 client for green certificates in POSIX shell

https://certx.sh/
1•lauriro•10m ago•0 comments

Kernighan on Programming

2•chrisjj•11m ago•0 comments

Peloton lays off 11 percent of staff just after launching its AI hardware

https://www.theverge.com/gadgets/871422/peloton-layoffs-cost-cutting-2026
3•randycupertino•11m ago•1 comments

DevBooks – Curated list of best modern books for developers

https://github.com/devtoolsd/DevBooks
2•dariubs•12m ago•0 comments

More Agents Is All You Need

https://github.com/MoreAgentsIsAllYouNeed/AgentForest
1•onurkanbkrc•14m ago•0 comments

Show HN: Gryph – Audit Trail for AI Coding Agents (Claude Code, Cursor, Gemini)

https://github.com/safedep/gryph
1•abhisek•15m ago•0 comments

Astrological CPU Scheduler

https://github.com/zampierilucas/scx_horoscope
2•MBCook•15m ago•0 comments

Show HN: MemoryStack – Memory layer for AI agents (92.8% on LongMemEval

https://memorystack.app
1•Pmopgar•16m ago•0 comments

The New Federal Reserve Chair and His Conflicting Ideals

https://www.nominalnews.com/p/kevin-warsh-chair-federal-reserve
1•MasPL•18m ago•0 comments

Swift in the Browser with ElementaryUI (Swift FOSDEM 2026 Talk) [video]

https://www.youtube.com/watch?v=OmQ881sOTIc
1•CharlesW•22m ago•0 comments

Greenwashing creates 'false stability' for companies

https://phys.org/news/2026-01-greenwashing-false-stability-companies.html
1•PaulHoule•22m ago•0 comments

Seasonal App Screenshots: The 2026 Conversion Guide

https://appscreenshotstudio.com/blog/screenshot-story-flows-the-2026-framework-for-high-conversio
1•Welten01•23m ago•0 comments