Lurker News

Comments (788) 595 threads

Earlier comments
margarita_dev1 reply#
On my list of build it from scratch has always been to build a programming language. So with the help of AI I was able to get it done!

Why did I build it? At work I've seen two major problems with our ai workflows/ skills libraries. There is a lack of determinism when your whole workflow is a markdown file of 100 steps, and markdown skill libraries lack composability. Meaning we violate things like DRY in the all the md files in the skills library.
I built Margarita to allow for markdown and logical operators to exist together, which means you can bring in determinism through code structures when it makes sense, and fall back to llm dynamic code when that makes sense. As an added bonus allows for composable prompts ala React which solve my other gripe with skills libraries being a mash of text everywhere.
Overall I've been getting pretty luke warm responses from Reddit, so I'll probably just shelve it, but it was a blast to make. Got to build code agents for pretty much every llm provider and built my own harness. I would recommend doing that it's a great learning experience.
https://www.margarita.run https://github.com/Banyango/margarita

vibcdingenjoyer1 reply#
I’ve got a lukewarm IQ, would you mind explaining and example/use case for this?
margarita_dev#
No worries, I'm pretty bad at describing the benefit of this project.

Let's say you wanted to use Gemma4B to run your workflow, however that model doesn't always do what you want it to. You could write the Margarita code to do the variable tracking, loops, etc and use the llm call where Gemma is able to work better. It's about finding the sweet spot of code vs llm agentic/tool calling.
Can you write that in js/go/etc? sure, but this lets you write it in a much simpler syntax that's much closer to markdown.
There's a few example on the website: https://www.margarita.run/custom-ralph.html https://www.margarita.run/components.html

dnautics#
- Otzel, an OT library for elixir that is in some common cases 50x faster than the most widely deployed elixir OT library:

https://github.com/ityonemo/otzel
- Spector, a bare-bones CQRS library for elixir that composes extremely well with Otzel:
https://spector.hexdocs.pm/Spector.html
- nanodrop, an elixir library that interfaces with nanodrop spectrophotometers:
https://nanodrop.hexdocs.pm/Nanodrop.html
- opengenepool, a web-based dna editing tool (technically I started this one 11 years ago):
https://opengenepool.vidalalabs.com/ https://github.com/vidala-labs/opengenepool
- a proprietary camera library that communicates with industrial-grade digital cameras.
- a full on self-hosted lab management system (journal articles, obsidian-like notes, lab notebook, kanban, embedded dna editor, LIMS), obviously this builds on all of the above items

noufalibrahim#
I needed something to help me stay off the computer (sites and applications) at certain times of the day with enforcement and in a way that's hard to remove. I had some ideas but was able to systematize all that into a proper program that I use daily. It's been very effective and it's much better (for me) than any of the commercial solutions that I've found for Linux. About 40% of the program was done using Aider (before I picked up Claude Code). The rest is using CC.

https://github.com/nibrahim/glocker

gbro3n#
A music theory learning tool. I'm building bits as I learn new areas - https://www.asmusictheory.com

I also built a kanban board with agent integration and context management, with a vs code extension to go with it (also helps with git worktrees too): https://www.agentkanban.io
There is AS Notes - an Obsidian / Logseq / Roam alternative for use a s a VS code extension (is designed for use behind corporate firewalls, git friendly): https://www.asnotes.io
Also NumeroMoney: https://www.numeromoney.com - For personal finance spending analysis and budgeting.
AI has been a great 'exoskeleton' for me. I fortunately had some good infrastructure and solid application base templates from before AI 'got gud' and so building on these has been the best of both worlds - a solid base and improved speed of development.

Load more comments