News for hackers. Stuff that matters.

mikesol

Show HN: Tagless final DSL for deterministic TypeScript programs

https://mikesol.github.io/mvfm/

My goal is to reimplemenet a hefty chunk of TypeScript in TypeScript using a DSL that resembles TypeScript. But instead of immediate execution, what you get is a serializable program represented as a directed acyclic graph that can be mutated à la Nim or Haxe via a query language.I'm not quite sure why I'm doing this, but two thoughts emerge as I tinker:1. It's fun to explore a...

( Read More... | no comments | on HN )

Show HN: T87s – LLM-optimized cache invalidation with ACID consistency

https://t87s.dev

As of last weekend, two of the webapps I'm working on suffered from bad caching. One had none at all, and one had stale caching logic, which was worse than none at all.My idea was to create adaptive caching, which gives LLMs the fastest and cleanest path possible from cache to code so that they could continuously optimize cache. I have a caching subagent now that makes 2-3 PRs a day to make...

( Read More... | no comments | on HN )

Show HN: Ill-Serve-Anything.com

https://ill-serve-anything.com/

I made a site inspired by my favorite GH repo, illacceptanything/illacceptanything. Except instead of a GH repo, it's a website, and instead of commits, it accepts prompts.Here's the API:https://api.ill-serve-anything.comPOST /prompt {"prompt": "..."}GET /prompt/:idGET /prompts?limit=NIt's been live for a day. It seems to be alternating between a Zen garden,...

( Read More... | no comments | on HN )

Show HN: Zero-config staging environments for GitHub repos

https://autodock.io

Hi HN,I'm building Autodock, a service that spins up preview environments for more or less any webapp.When you make a PR to a repo with the Autodock GH App installed and the GH Action configured, you'll get links to your deployed app in a comment. Here's an example of what one looks like: https://github.com/mikesol/inboxpilot/pull/1#issuecomment-36...The differences between Autodock...

( Read More... | no comments | on HN )
Re:Happy birthday to you Mr Spaceman. (Click play) on Thursday December 09, 2021 @03:37PM (#29502594)
Yeah it's for my birthday (today!), as I'm travelling and I doubt the flight attendants will sing it this is the best I can do Runs on https://github.com/mikesol/purescript-wags, which also powers https://wags.fm and various other frivolities. Thanks for posting, @Johnyma22!
Re:Mock Mock – Who's There? on Sunday February 09, 2020 @10:15AM (#22282473)
My team built a new JS framework for mocking REST APIs called "unmock" that focuses on fuzz testing integrations. We hope to move it closer to property-based testing libraries like fast-check. The hard part is building a shrinker - shrinkers (https://medium.com/criteo-labs/introduction-to-property-base...) are tough to get right when testing side effects. Please check out the article, leave your feedback if any, try out unmock (https://github.com/Meeshkan/unmock-js) and let me know what you think!