Advertisement · 728 × 90

Posts by Jamsocket

Video

The cool thing about using ForeverVM with LLMs is that you can create diagrams almost as quickly as you can think of them.

1 year ago 2 0 0 0
Video

Code execution is the ultimate tool call.

Here we're using ForeverVM with boto3 to visualize our AWS infrastructure without needing specialized tools.

1 year ago 1 1 1 0
Post image Post image Post image Post image

Had a blast hosting MCP Lightning talks SF with Cloudflare! Thanks to everyone who spoke.

Doing it again next week in NYC.

1 year ago 3 1 0 1
ForeverVM MCP Server Use ForeverVM as an MCP Server, enabling Claude to execute code in a Python REPL.

Install ForeverVM in your @windsurf_ai editor: https://forevervm.com/docs/guides/forevervm-mcp-server/

1 year ago 0 0 0 0
Video

Code execution is the ultimate tool call. Once an LLM can run its own code, it can run loops, access APIs, and extract the result.

In this video, Windsurf uses ForeverVM to make HTTP calls to check a list of Python packages against the latest PyPi version.

1 year ago 2 1 1 0
Video

Because ForeverVM keeps REPLs alive forever, you can ask Claude unlimited queries about a dataset and Claude can always access the same context.

1 year ago 3 0 0 0
Post image

Give Claude the power of a Python REPL. Perform complex data analysis or draw a mandlebrot with ASCII characters.

Install ForeverVM as a tool on Claude Desktop: forevervm-com.vercel.app/docs/guides/forevervm-mc...

1 year ago 1 1 1 0
Post image

Signups for ForeverVM are now open! If you have node.js or uv, you can sign up from your terminal with a one-liner.

npx forevervm signup

Or read our new docs for more: https://forevervm.com/docs

1 year ago 4 2 0 1
Post image

Jamsocket is now officially SOC 2 Type II compliant!

Whether you use our managed platform or bring-your-own-cloud, rest easy knowing that we put security and reliability first.

1 year ago 0 1 0 0
Advertisement
Video

Giving an LLM a code sandbox massively increases its capabilities, but managing VM lifecycles is a pain.

Introducing foreverVM, a Python REPL-as-a-service. Under the hood, we swap between memory and durable storage. To you (and your agent) it acts like an always-on REPL.

See more at forevervm.com

1 year ago 9 4 0 2
Post image

Y-Sweet now supports Read-Only Tokens for use cases where a client should only have read access to a document.

See docs at docs.jamsocket.com/y-sweet/features/read-on...

1 year ago 1 0 0 0
Video

New demo drop! https://demos.y-sweet.dev/monaco

Collaborate in code with Monaco and Y-Sweet

1 year ago 2 1 0 0
Post image

The trick is a technique called fractional indexing, in which indices are fractions rather than integers. Can you solve the exercise and implement it?

Give it a shot at https://learn.yjs.dev/lessons/03-todo-list/

1 year ago 0 0 0 0
Video

Instead of keeping the todos in an array, try keeping them in a map.

We can give each todo an index property. The ordered list of todos is an array of the map values sorted by the index property. To move a todo, simply set a new index!

It sounds good in theory, but…

1 year ago 0 0 1 0
Video

Here’s a curious fact about Yjs. Once you add a shared type to a document, it can never be moved. You can change what it contains and you can delete it, but you can’t move it from one place to another.

That means moving array elements really means deleting and re-adding them.

1 year ago 0 0 1 0
Video

Just like before, though, things can get a little wonky when we start adding latency…

1 year ago 0 0 1 0
Video

In Learn Yjs lesson 3, we look at another classic app: the todo list!

This demo allows each client to reorder the todos and toggle their checkboxes.

1 year ago 1 0 1 0
Post image

Can you solve the exercise and implement a counter that shows the correct count, even when clients update it concurrently?

Give it a shot at https://learn.yjs.dev/lessons/02-counter/

1 year ago 0 0 0 0
Video

Not so fast! This demo happens to be working because updates are synchronous. Every time the button gets clicked, the other client instantly receives the update.

When we add a little latency, the counter breaks!

1 year ago 0 0 1 0
Advertisement
Video

In Learn Yjs lesson 2, we look at the “hello world” of JavaScript framework demos: the humble click counter.

Seems pretty simple, right?

1 year ago 2 0 1 0
Post image

Can you solve the exercise and implement a function that returns whether all the keys in a map are true?

Give it a shot at https://learn.yjs.dev/lessons/01-introduction/

1 year ago 1 0 0 0
Video

Like JavaScript’s Map object, a Yjs map holds key/value pairs.

Here you can see how Yjs syncs the values between two maps, with latency added to simulate a network connection.

1 year ago 1 0 1 0
Y.Array stores an ordered list of items.
Y.Map stores key/value pairs.
Y.Text stores a string of plain or formatted text.
Y.XmlElement stores a node found in an HTML-like tree structure.
Y.XmlFragment stores a collection of Y.XmlElements.
Y.XmlText stores text found within a Y.XmlElement.

Y.Array stores an ordered list of items. Y.Map stores key/value pairs. Y.Text stores a string of plain or formatted text. Y.XmlElement stores a node found in an HTML-like tree structure. Y.XmlFragment stores a collection of Y.XmlElements. Y.XmlText stores text found within a Y.XmlElement.

A Yjs document is like a container for your state. To read and update that state, Yjs has a feature called shared types. They’re similar to JavaScript data structures such as Map — except shared types automatically sync between clients.

All in all, there are six shared types:

1 year ago 2 0 1 0
Video

Yjs is a CRDT that stores its state in documents and syncs them between clients.

Here you can see how Yjs syncs documents between clients. When one client moves a slider, the other client automatically sees the updated value.

1 year ago 2 0 1 0
Preview
Learn Yjs by Jamsocket An interactive guide to the Yjs CRDT library.

Want to learn about building local-first apps? Check out Learn Yjs, our interactive guide to Yjs! Featuring three lessons jam-packed with explorable explanations and coding exercises.

1 year ago 11 2 0 2
Video

Something cool coming tomorrow 👀

1 year ago 10 1 0 1
Advertisement
Preview
Why Rayon replaced their database with Jamsocket

Read our interview with @bastiendolla.bsky.social, cofounder of Rayon. We talk about why Rayon replaced their database with Jamsocket, building Rayon V2 and features like version control.

jamsocket.com/blog/why-ray...

1 year ago 1 0 0 1
Post image

Easily build collaborative apps like Google Docs using our new Y-Sweet x InstantDB starter kit: https://buff.ly/40nbfbe

1 year ago 1 0 0 0
Preview
What’s new in Y-Sweet 0.7.0: offline support and more!

Y-Sweet now has offline support! Read about it and the other changes in the newly-released Y-Sweet 0.7.0.

jamsocket.com/blog/y-sweet...

1 year ago 7 3 0 1
Post image

@jamsocket.com & @extism.bsky.social gang 🫡

1 year ago 6 2 1 0