by LAC-Tech · 4y ago · 0 comments
- Frontend JS minimalism. Any stories about people ditching transpilers, build tools etc appeals to me immensely. My spicy take is that React is not an abstraction above the DOM, it's an abstraction parallel to it.
- Concatenative langauges. Less Forth and more Joy[0]. I just feel like there's something here, and the idea will not die until it catches on. The amount of concatenative language interpreters I've abandoned is a bit embarassing.
Earlier this week, I watched an excellent talk by Devine Lu Linvega where he was doing a bunch of digging into minimal programming languages. He spent a lot of time looking into Forth and other concatenative languages and he said he found a lot of implementations of the languages, but very little code written in them. It was as if soon as the implementers actually tried to use the thing they created, they gave up.
So your experience isn't unique. I've also written a couple of concatenative languages and quickly abandoned them after trying to write more than toy programs and realizing I wasn't smart enough to reason about the stack in my head.
Looks like my last attempt failed when I got bogged down prototyping a type system in Ocaml then trying to port that to Zig.
So in my case - it's not because I use them and they suck, it's because I find stuff like implementing type systems and GC very hard, and usually more practical things start wanting my attention more.
I believe that adding types and data structures to Forth, as is done in STOIC, combined with an IDE that allows you to SEE what parameters get eaten where, could make Forth viable for larger programs.
I tried to do this with MSTOICAL, which you all helped me to get to compile... but then I couldn't disentangle it from the build system, and my retina blew out... causing me to lose the ability to focus on the project.
"a Turing machine is also equivalent to a two-stack PDA with standard LIFO semantics, by using one stack to model the tape left of the head and the other stack for the tape to the right."
Forth is essentially a two-stack PDA as described.Do you have a source of this video?
This talk will be published in a few days, fully-annotated at the Conference Guide [0] where you can download presentations for free. Sign up for the newsletter [1] to stay up-to-date (we're indie and the extra eyeballs help.)
Anyhow, the other comments linked the raw streams already :)
Handmade Seattle 2022, Day One. Around ~1h25min in. I assume this is the video.
A lot of the time it seems like you really don't need advanced conflict resolution, if you change your actual UI model to be inherently parallel, which you often can.
A collaborative document editor is hard. A forum that lets you post offline is easy. At worst a conflict will get a few out of order posts, which is not an issue if people use @references, reddit style trees of comments, or there's low enough volume that it's unlikely to be confusing. Post race conditions already exist in forums anyway.
There's a lot of low hanging fruit in P2P and offline first, and everyone seems to be mostly doing the hard stuff like cryptocurrency instead.
Ooooo, got links?
Out of curiosity, how heavyweight is Syncthing, computationally? Could it run in an ESP32? I've used that same "folder that syncs" concept in some of my own designs which I would love to push down to smaller hardware...
I haven't looked into the internals of ST all that deeply, partly because IIRC it's written in Go(Like so many P2P apps) and I'm not familiar with it.
From what I know of it, you could probably port it, just because the ESP32 is really powerful, but it would be a big rewrite. IIRC ST uses some kind of embedded database, not SQLite but similar-ish, I think it might be NoSQL.
I looked into it at one point because I wanted to add some features, but abandoned that when I found out how committed the devs are to sticking to the core functionality only.
I think if I were going to push it to ESP32(Which seems like an amazing idea) I might look into a custom embedded-first protocol.
It would be amazing if SyncThing could add support for a lite version of the protocol, but I doubt they would. The community seems to not mind forks though, maybe someone can make a "SyncThing for IoT" fork?
I've been obsessed with machine learning for embedded systems for years! So many practices around ML assume constant network connection and/or that your service runs in a data-center. I'm an ex-SRE and love building reliable offline computer vision things!
Presumably not online
Nowhere. Should we start something? :)
I feel like a lot of ham radio networking is still "offline" from an internet perspective; you may have a LAN or even a WAN but no connection to root DNS or certificate servers or whatever. This tickles my fancy: https://blog.thelifeofkenneth.com/2018/01/off-grid-raspbian-...
I feel like /r/darknetplan is tangentially related, but not quite what I'm looking for.
I've been playing with Internet-in-a-box, which is precisely wrong about its name; it's an offline repository of content that was developed on the internet.
Someday I'd like to marry that with my Othernet receiver, which is a similar offline-hotspot-of-content but keeps that content updated by receiving a satellite data stream. (One-way only.)
Piratebox seems to be a dead project by that name, but I like the idea. A local file repo and possibly bulletin-board for use by folks within range of the box.
Yes, yes, yes, where do we go to chat?
I'm open to wherever people naturally gather though. IRC, maybe?
Another community you might like: https://www.tinyml.org/
Half the skill in the art of programming is choosing good names, but Joy lacks names for arguments and locals.
Otherwise, it looks interesting. But, I think I’ll stick to lisp.
Why do you think this? Would be interested to hear the reasoning behind the take.
Great, we already have a library for that - it's called the DOM.
Don't get me wrong, I'm all for reactive programming, and even templated views. But reacts approach of hiding everything under the rug rather than having a clear "here's where the state changes" and "Here's we we render" divide always struck me as the worst of both worlds.
Been going down this path recently via Svelte & SvelteKit: It's been really fun seeing the network responses of the first load being full HTML for any page (SSR), with JS responses handling transitions in between pages (CSR).
I've even managed to get my SVG image generator to run server-side first before passing over, with any changes handled client-side & with URL changes. Refreshing with the changed parameters renders the newer SVG. :)
I was mainly involved in the logistics side of things - moving & tracing livestock, fruit. Long and the short of it most people, solutions and systems just assume always-on internet, which as you can imagine in remote regions is not a reality (even if it's a reality within range of the farmhouse router with starlink, the front gate could be miles away).
Half way through their demo, there was a power outage at the farm (as happens from time to time). As it turns out, their [insert product] relied on a connection to either AWS or Azure for some key functionality. Power goes out, turns out they had been using the farm internet for that connectivity (LTE service was miserable in the region), so their huge machine just stops and sits there idling in the field. Can’t even command it to return back to the crowd. Meanwhile our drone is still running back and forth on our field area and we didn’t even notice that anything went wrong.