I have a version of Anthropic Artifacts working in my project here. Claude generates the code (backend or frontend), I wrap it into a little package, boom, instant deployment.
I had to resort to a third party syncing system, and quite happy with it. It's called Morgen. They have issues with their mobile apps for me but the desktop version is great.
I would like to know more about this too, especially when you add service workers into the mix.
I am currently using an iframe that accepts code with a window message and it can evaluate the input code and respond with a window message back, which works quite well, but I am unsure if there may be holes out of the sandbox
For more complicated things for example package dependencies I tried parsing them with Babel then producing an import map with cdns (esm.sh) but in some cases the cdnified versions don't work well
So I used stackblitz which kinda works well but has some issues in non secure contexts
So I ended up coding a little web server that takes in the code and dependencies (package.json) and does a vite build inside a docker container and sends the output back, it's working decently but can be slow sometimes
Doing a build completely on the client would be great, which is kinda what stackblitz does
They could see more or less intuitively how consciousness evolved and that potential descendants of every living thing are capable of it and that each living thing is somewhere on the line.
Caveat: this is my personal interpretation which deviates a bit from the teachings
Buddhists borrow many teachings from the Vedic culture (since the philosophy was developed within the vedic landscape).
Consciousness is considered the irreducible entity (Self) that acquires a temporary material body. In essence, consciousness is the same, regardless of the body. So, an ant's consciousness has just as much value as yours, which is why every being is seen with equal respect.
Just because an individual happens to be experiencing reality through the body of an insect, it gives us no right to harm them and crush them for fun or any other reason. If the situation flips, we'd be the first ones to curse the ones hurting us.
I have seen Bun use Zig and they're showing some interesting performance gains. I'm unsure if it's because the code runs faster, or because it's easier to write better code.
Either way, it got me interested in Zig.
How's the developer ecosystem feeling these days, the community, and what have you all developed with it that was fun to develop but also cool to see it working?
I think zig generally gives you more options than other languages. The idea of having to bring your own allocator for every function that might allocate is great idea not only from the perspective where you can choose the most efficient allocation strategy, but also because it makes you conscious about the cost of the function immediately.
Zig is very productive language and feels like the true evolution of C to me.
There are a lot of changes happening each release and the results of those changes are often not well documented. For instance, these days most Zig projects include this "build.zig.zon" file, but if you look for any info on the website, you'll find nothing [1][1b]. The build system in general is a bit hard to grok and not very well documented imho.
The developers are very open about Zig's immaturity [2]. I feel like keeping up with Zig it still requires a lot of hanging out on chat rooms and forums, finding "the right blog post", and digging into the source code.
1b: I guess the release notes of 0.11 are the best documentation for zuild.zig.zon right now? Although you would expect to see that better documented elsewhere.
Browser extensions should be able to shim or even overwrite the `.ai` object in the window, so it should be possible to add ollama etc to all browsers through extensions with the same API, making it a defacto standard
It should be simple enough to do that I believe at least 3-5 people are going to be doing this if it's not done already
I had been thinking and speaking in public about how to make a "Metamask but for AI instead of crypto" but I thought it would be impossible for websites to adopt it
Now thanks to Google it's possible to piggy back onto the API
You could write react in Lua for a while, for example for Roblox. And, it's very cool. There's also another project that compiles typescript to Lua: https://roblox-ts.com
And that one supports writing pretty much actual React tsx but with Roblox primitives.
One of my clients asked me to make a Roblox plugin, it was my first time, and I was very pleasantly surprised with this workflow. There are also tools to enable really high iteration speed. It felt nicer than Unity at some moments. I didn't really need to write or know any Lua at all!
Can it go bankrupt? Yes
Can it be corrupted? Yes
Can it go down? Yes