- 150 Posts
- 112 Comments
tracyspcy@lemmy.mlOPto
Rust Programming@lemmy.ml•SpacyDo Task Engine virtual machine example: todo with programmable tasks
2·21 hours agoit seems some problems with gif display, so duplicating here

FAQ : why? It’s an experimental approach to ordinary todos. There are plenty of good tools like taskwarrior, but their features are hardcoded task body is huge — you either dig through hundreds of features to find what you need, or something you need is too niche, so it will make no sense to hard code it for devs. So, I decided to try a different approach as an experiment: keep the task model super simple (id,title, status,calldata), but let tasks have executable instructions. That way almost any custom behavior becomes possible — tasks depending on other tasks, tasks modifying other tasks or creating new ones, recurring, self-deleting tasks, task that monitoring new tasks creation and creates alert task, or increase priority of older tasks etc. The tradeoff is complexity for flexibility, like vim/helix vs zed or atom. To make that work a tiny virtual machine is needed and a set of opcodes. So this vm can be a basis for some todo app.
tracyspcy@lemmy.mlOPto
Rust Programming@lemmy.ml•Task engine VM where tasks can contain executable instructions
3·1 month agoVm is like a program that accepts instructions and returns result. In my case this program manages everything task related based on instructions. So you can combine instructions to program behaviour you need. Why ? Alternative is todo apps with hardcoded features. With task vm you can have 4 crud primitives, while each task can have own behaviour
tracyspcy@lemmy.mlto
Firefox@lemmy.ml•Firefox tab groups just got an upgrade, thanks to your feedback | The Mozilla Blog
18·3 months agoI would be much happier if they rolled back the ai feature. This is my feedback.
tracyspcy@lemmy.mlOPMto
Bωockchain@lemmy.ml•Vape to earn is here! Do you still think blockchain doesn’t solve any real-world problems?
2·3 months ago@hyacin@lemmy.ml First of all, congrats on quitting smoking!
Don’t get me wrong, this post is about the absurdity of the tokenization of vaping.
I included that disclaimer because I felt it was important to state that vaping is, in general, a terrible thing and a bad option for anyone trying to get rich quick.
This is awesome. Initially I thought it had WiFi Module itself (it would be such a surprise :)) ) but even connecting thing via uart to use as a server is pretty impressive
tracyspcy@lemmy.mlto
Programming@programming.dev•Unix Co-Creator Brian Kernighan on Rust, Distros and NixOS
72·6 months agoNo language guarantees high-speed code. Rust, like C and C++, is also perfectly suited for writing slow code
He kinda was a Wario version of:)
tracyspcy@lemmy.mlto
DACH - Deutschsprachige Community für Deutschland, Österreich, Schweiz@feddit.org•*Permanently Deleted*
3·6 months agoNur Einweg? Es gibt doch auch verschiedene Sorten mit Pods – auch das ist eine Schande! Viel zu viel Plastikmüll
tracyspcy@lemmy.mlto
Programming@programming.dev•Deno vs Oracle: The ugly custody battle for JavaScript…
6·6 months agoI’ve never tried Deno. The joke was about the guy’s obsession with those four letters and an extrapolation to what the next name or state of project might be.
tracyspcy@lemmy.mlto
Programming@programming.dev•Deno vs Oracle: The ugly custody battle for JavaScript…
6·6 months agoNode-> Deno->Done?
I loved the ending of the second book too! I was really looking forward to seeing more stories about coexistence, and honestly, it felt obvious that this deterrence state couldn’t last forever.
Thx for the recommendation _










it seems some problems with gif display, so duplicating here