Lurker News
What are you working on? Any new ideas which you're thinking about?

Comments (1,400) 783 threads

Earlier comments
0xb0565e4862 replies#
Lately, I’ve been exploring a few interconnected ideas:

Local-first web applications with a compiled backend – After eight years working on web platforms, the conventional stack feels bloated. The client already defines what it wants to fetch or insert. Usually through queries. So why not parse those queries and generate the backend automatically (or at least, the parts that can be)?
Triple stores as a core abstraction – I’ve been thinking about using a triple-based model instead of traditional in-memory data structures, especially in local-first apps. Facts could power both state and logic, and make syncing a lot simpler.
Lower-level systems programming – I’ve mostly worked in high-level languages, but lately I’ve been writing C libraries (like hash maps) and built a minimal 32-bit bare-metal RISC-V OS.
It’s all still brewing, but I think these ideas tie together nicely. What if the OS didn’t have a file system and just a fact store? Everything could be queried and updated live, like a Lisp machine but built on facts.
Some other things I’ve been playing with:
A jQuery-like framework and element factory - You can pass signals that automatically updates the DOM.
A Datomic-like database on top of OPFS - where queries become signals that react to new triples as they enter the system. Pairs well with the framework above.

andoando1 reply#
Isnt this kind of a thing already, with the front end being able to write the sql queries
0xb0565e486#
It’s getting there, but it does not handle permissions so you either have to add a bunch of rules through the database (such as RLS on Postgres) or define a permission schema.

Trying to see how far inference can go given that queries usually specify this information (ex: where(r => r.author == $SESSION.AUTHOR_ID)).

KacharKhan1 reply#
What hardware are you testing/running your RISC-V OS on ??
0xb0565e486#
I’m using QEMU virt machine, so no hardware for the time being.

Would love to boot on a physical machine eventually though! If you have suggestions, happy to hear them :)

samjs#
I've been building tooling for better debugger support for Rust types using debuginfo: https://github.com/samscott89/rudy

I'm planning on doing a proper writeup/release of this soon, but here's the short version: https://gist.github.com/samscott89/e819dcd35e387f99eb7ede156...
- Uses lldb's Python scripting extensions to register commands, and handle memory access. Talks to the Rust process over TCP.
- Supports pretty printing for custom structs + types from standard library (including Vec + HashMap).
- Some simple expression handling, like field access, array indexing, and map lookups.
- Can locate + call methods from binary.

rpearcea#
http://axcas.net is an online computer algebra system I've been working on. I'm working to finish the programming language which is based on C, and I'm adding an ode solver which I plan to use to evaluate special functions.

I release code into the public domain hoping it will be useful. There's some fast code for Groebner basis computations using the F4 algorithm (parallelized - article to follow), and some routines for machine integers e.g. discrete logarithm, factoring, and prime counting.

tonyonodi#
Numpad: https://numpad.io/

It's a web-based notepad calculator, which means it's a notes app but it can evaluate inline calculations like
``` £300 in USD + 20%
09:00 to 18:30 - 45 minutes ```
I wrote the core of the calculator a few years ago, and I've just launched a big rewrite that supports
* document syncing * offline editing * markdown formatting * PDF and HTML exports * autocomplete * vim mode
Happy to hear feedback :)

Load more comments