frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: SQLYac – Structured SQL files you can run from the terminal

https://github.com/Kalli/sqlyac
4•kalli•1d ago
Inspired by .http files and HTTPYac, SQLYac lets you write executable SQL documentation with variables, safety prompts, and per-query targeting.

Instead of scattered .sql files or copy-pasting into clients, write annotated queries once and pipe them to any sql database client. Variables get substituted, destructive queries can prompt for confirmation, and your schema stays documented alongside actual queries.

For example, if you have a `queries.sql` file like this:

  ---
  -- @name QueryWithVariables
  SELECT * 
  FROM orders o, users u
  WHERE u.id=@user_id 
  AND u.active=@active
  AND o.status=@status
  AND o.user_id=u.id
  LIMIT @lim;  

  -- some variables
  SET @user_id=2;
  SET @lim=10;
  SET @active=true;
  SET @status="completed";

  ---

You can execute a query in the terminal like this: `sqlyac queries.sql QueryWithVariables | mysql -u user -p database` (or `psql`, `sqlite3` or whatever)

Written in go, `go install github.com/kalli/sqlyac@latest` for a small-ish binary: https://github.com/kalli/sqlyac

Blogpost with more info: https://dev.karltryggvason.com/sqlyac-structure-and-tooling-...

Comments

leopoldkr•8h ago
Really handy!

Manus 1.5

https://manus.im/blog/manus-1.5-release
1•wonderfuly•44s ago•0 comments

Lessons Learned Building Reliable Multi-Agent Systems

https://www.youtube.com/watch?v=PcQ9L0aC8ic
1•areddyfd•52s ago•1 comments

An Obscure Feature of a Long Forgotten SideProject Saved the Day

https://newbeelearn.com/blog/obscure-feature-of-forgotten-project/
1•pdyc•2m ago•0 comments

PaddleOCR-VL: Boosting Multilingual Document Parsing via a 0.9B Compact VLM

https://huggingface.co/PaddlePaddle/PaddleOCR-VL
2•daemonologist•2m ago•1 comments

Protein phase change batteries drive innate immune signaling and cell fate

https://elifesciences.org/reviewed-preprints/107962
1•rolph•3m ago•0 comments

Hey Zuck, Remember When You Said You'd Never Again Cave to Government Pressure?

https://www.techdirt.com/2025/10/15/hey-zuck-remember-when-you-said-youd-never-again-cave-to-gove...
3•saubeidl•5m ago•1 comments

AgentZero++: Modeling Fear-Based Behavior

https://arxiv.org/abs/2510.05185
1•PaulHoule•6m ago•0 comments

AI Agent Evaluation: The Definitive Guide to Testing AI Agents

https://www.confident-ai.com/blog/definitive-ai-agent-evaluation-guide
1•dustfinger•7m ago•0 comments

Mobian Trixie Has Landed

https://blog.mobian.org/posts/2025/10/new-stable-rotating-keys/
1•fsflover•9m ago•0 comments

Deno's Other Open Source Projects

https://deno.com/blog/open-source
1•enz•9m ago•0 comments

Everything's Computer, but How?

https://howtodothingswithmemes.substack.com/p/everythings-computer-but-how
1•laurex•10m ago•0 comments

Philanthropy and Traditional Charity Are Mutually Exclusive

https://ronfriedhaber.substack.com/p/philanthropy-and-traditional-charity
1•ronfriedhaber•10m ago•0 comments

Compliance Hound – Audit for SaaS to prevent fines

https://ai-guard-copilot.lovable.app/
1•OwnerMindset•11m ago•0 comments

New maps reveal post-flood migration patterns across the US

https://theconversation.com/fema-buyouts-vs-risky-real-estate-new-maps-reveal-post-flood-migratio...
1•bikenaga•11m ago•0 comments

Open-Source Hardware: curated list of open-source ASIC tools and designs

https://github.com/aolofsson/awesome-opensource-hardware
1•imakwana•14m ago•2 comments

Show HN: iOSPreCheck – Scan Native iOS Apps for Compliance Before Submission

https://iosprecheck.com/
2•da4thrza•16m ago•1 comments

Why C variable argument functions are an abomination (and what to do about it)

https://h4x0r.org/vargs/
1•birdculture•17m ago•0 comments

Cyberforest Links

http://cyberforest.nenv.k.u-tokyo.ac.jp/
1•atjamielittle•18m ago•0 comments

Why Jamie Dimon is warning of 'cockroaches' in the US economy

https://www.cnn.com/2025/10/16/business/jamie-dimon-us-economy-cockroaches
4•koolhead17•18m ago•0 comments

Listen to a Random Forest

https://tree.fm/
1•atjamielittle•19m ago•0 comments

Show HN: Art of X: Multi-agent brainstorming

https://art-of-x.com
2•artofalex•20m ago•0 comments

Our plan to build bottom-up resistance to billionaire technology

https://gfsc.community/our-plan-to-build-bottom-up-resistance-to-billionaire-technology/
6•laurex•20m ago•0 comments

Vite+ Aims to End JavaScript's Fragmented Tooling Nightmare

https://thenewstack.io/vite-aims-to-end-javascripts-fragmented-tooling-nightmare/
1•cendenta•20m ago•1 comments

Benchmarking Postgres 17 vs. 18

https://planetscale.com/blog/benchmarking-postgres-17-vs-18
3•enz•22m ago•1 comments

Show HN: DevSecOps.Bot – A GitHub App

https://devsecops.bot
1•raushanrajjj•23m ago•0 comments

Integrate Mermaid into Astro web framework

https://realfiction.net/posts/mermaid-in-astro/
1•tom_h_h•23m ago•0 comments

Skia: Exposing Shadow Branches

https://dl.acm.org/doi/10.1145/3676641.3716273
1•blakepelton•24m ago•1 comments

Customers imperiled after nation-state ransacks F5's network

https://arstechnica.com/security/2025/10/breach-of-f5-requires-emergency-action-from-big-ip-users...
1•d4mi3n•25m ago•1 comments

FCC Moves to Expel Hong Kong Telecom from U.S. Telecom Networks [pdf]

https://docs.fcc.gov/public/attachments/DOC-415089A1.pdf
1•phantomathkg•25m ago•0 comments

A Definition of AGI

https://www.agidefinition.ai/
1•backonhnhono•26m ago•1 comments