Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. A unified evolutionary explanation of Parkinson's disease(nih.gov ↗)
    1comments
  2. Show HN: I analysed 169,123 Chess Olympiad moves and gave out 132 silly awards(olympiadstats.fun ↗)
    discuss
  3. ChatGPT Is a Nightmare (A Lesson on Bad UX)(saasexperts.co ↗)
    1comments
  4. Abolish Patents(gomakethings.com ↗)
    discuss
  5. Website toolbox with super simple AI builder(nanomo.app ↗)
    discuss
  6. Visions in Uzbekistan(animationobsessive.substack.com ↗)
    discuss
  7. How to Make Your AI Agent EU AI Act Compliant: A Practical Guide(medium.com/mirarshadtalpur ↗)
    discuss
  8. Show HN: Sokkan – an HITL Claude Code cockpit that remembers, at session startup(github.com/ninabot-ch ↗)
    1comments
  9. Show HN: Open-source shared memory for teams of AI coding agents(github.com/motif-labs ↗)
    discuss
  10. Googlebook: The laptop your Android phone has been waiting for(blog.google ↗)
    discuss
  11. Australia considers banning the use of smart glasses in government buildings(reuters.com ↗)
    1comments
  12. You're Already a Meat Proxy(twitter.com/obie ↗)
    discuss
  13. Et Tu, MacBook? Unprivileged Keystroke Inference via Built-In IMU Side Channel(arxiv.org ↗)
    discuss
  14. DeepSeek is training a 2T-parameter model and plans to build an 8T-parameter one(twitter.com/wallstengine ↗)
    discuss
  15. OpenAI Weighs Funding Round at over $1.2T Valuation(bloomberg.com ↗)
    discuss
  16. HP Googlebook 14c(hp.com ↗)
    discuss
  17. Beyond Ukraine: Why Europe is preparing for a wider conflict(cnn.com ↗)
    discuss
  18. LM Studio is a free desktop app to run local LLMs on your own computer(lm-studio.net ↗)
    1comments
  19. Leaving US Big Tech in a Week(yves.vg ↗)
    discuss
  20. A never-ending childhood of malaria(ourworldindata.org ↗)
    discuss
  21. Show HN: Jev-CLI – CLI wrapper for JEV typesafe AI model(github.com/joshlong145 ↗)
    discuss
  22. Amazon blocks Meta's Muse AI assistant in new standoff over agentic shopping(geekwire.com ↗)
    1comments
  23. DBison: Free Modern Database Explorer(dbison.app ↗)
    discuss
  24. Kimi Code Desktop(kimi.com ↗)
    discuss
  25. Longitudinal survey finds little evidence that social tech predicts satisfaction(phys.org ↗)
    discuss
  26. Show HN: I built Founder.best Product Hunt alternative for LLM product discovery(founder.best ↗)
    1comments
  27. Raspberry Pi blocks changing RAM chips(raspberrypi.com ↗)
    10comments
  28. Your cloud survived everything except the real world – AWS(theregister.com ↗)
    discuss
  29. A Doomsday Scenario for American AI(thefp.com ↗)
    discuss
  30. SpaceX Restricts Airspace over McGregor Facility Ahead of Tesla Roadster Event(driveteslacanada.ca ↗)
    discuss

Show HN: M0saic – deterministic video compiler (CLI, web, desktop)

1 pointsby 48m agom0saic.io
0 comments
Hi HN! https://m0saic.io/go/hn-make-hello

I'm Quentin. I've just published my longterm project - excited to share! m0saic is a video compiler. Typescript programs define an explicit spatial layout via a string DSL (m0), and configure what goes into each independent rect over a shared timeline. This media intent IR gets lowered to a series of ffmpeg invocations, which produce the intended media artifact deterministically.

I got interested in this originally when I was younger and made Call of Duty montages on YouTube. I made compilations and whatnot and found it tedious to do some of the "structural" work I suppose (like making a 2x2 layout, other effects). I had saved project files to help me make similar style content over time, but found myself wanting more control. Around then sometime I stumbled into ffmpeg and got into media production and automation as a hobby.

I later designed a string DSL for layout, answering roughly how could I represent any arbitrary set of rectangles in an arbitrary canvas in one blob? This led to the m0 DSL. If interested, below link has some of my original derivation records https://m0saic.io/go/hn-substack Or if you just want to see a quick visual example, here is a somewhat complex example (a github commit graph geometry) that shows the idea: https://m0saic.io/go/hn-layout-year

Anyways, that layout language is the base, and I've built a template based media program on top. There's a CLI, Web Editor, and Desktop Editor. No external dependencies other than ffmpeg and resvg for the CLI. Templates are specific media programs that define input props and produce the IR the compiler can turn into pixels.

I've been exploring different verticals for usecases (more on site). I believe headless automation and CI do well with this workflow. Templates are low-cost once written, and can encode specific media operations into essentially a deterministic func from props to pixels. I have not set out to create an agentic video editing platform, though the compiler framing of this project I've found to play really well with LLMs. I've been able to have reproducible, debuggable and structured working sessions as opposed to a one shot result. Read more here: https://m0saic.io/agent

Some of what I think makes this different: - Layout is a small string algebra and it is closed under composition. There is only integer arithmetic, so the same string resolves to the same rects on any machine and any language that implements the grammar. - This compact "blob" form is suitable for travel across contexts, and can inherently be interpreted the same across them. - Templates improve through composition - once good primitives exist, higher level templates can compose them into more complex results. - Can be installed headless on a Linux worker, or a rich visual editing experience exists for developer/end user in the desktop Electron app. Underlying render functionality of templates remains the same, different audience.

The product has open source components - I've open sourced everything except for the compiler itself and the web/desktop app. Website has links to npm and GitHub.

Thank you for reading - I'd love feedback and thoughts!

A quiet thread, for now.Start the conversation on HN ↗