Better HN
topnewbestaskshowjobs
Log inSign up

osmoscraft

33 karma · joined May 2, 2021 (5y ago) · 28 submissions

Submissions

comment 1w ago · link · parent

This is a conceptual prototype for working with near-realtime LLM models. I saw the recent rise of decision model (Jev) and specialized hardware (Cerebras, Groq, ChatJimmy) and thought it would be really cool if we can put LLM into this realtime feedback loop for shaping ideas. Here the questions I explored:

Focus monitor: can we visualize what LLM is paying attention to, and use that to guide human's focus towards what's important?

Attention lock: can we force LLM to pay more attention to specific phrases so as to bias its future behavior?

Future Vector Steering: can we decompose the task into eigenvectors and independently tune each to control steer the text generation?

Realtime re-generation: when text generation is cheap and fast, can we explore alternative futures by scrubbing?

I used Cerebras GPT OSS 120B for text generation (~200ms latency) and Gemini Decision API for detection and evaluation (~150ms latency).

2.

Show HN: Near-Realtime LLM Steering(github.com ↗)

9 points · by osmoscraft · 1w ago · 2 comments

comment 1mo ago · link · parent

Google MediaPipe for hand tracking. The physics engine is vibe coded with Claude.

4.

Street Fighter (Puppet Edition)(code.chuanqisun.com ↗)

6 points · by osmoscraft · 1mo ago · 1 comment

comment 3mo ago · link · parent

SAM 3.1 for segmenting the stickers from the photos

Gemini Embeddings 2 for image and text embeddings

Eigen DB (https://chuanqisun.github.io/eigen-db/) for in-browser vector search

Shout out to https://stickertop.art/ for the collection of photos

6.

Show HN: Sticker Base(chuanqisun.github.io ↗)

2 points · by osmoscraft · 3mo ago · 1 comment

7.

An Elegy to Git Push(stackdiver.com ↗)

5 points · by osmoscraft · 4mo ago · 2 comments

comment 4mo ago · link · parent

Media art project that simulates the open source maintainer experience through an answering machine, using real commit messages from GitHub.

9.

The Answering Machine(code.chuanqisun.com ↗)

2 points · by osmoscraft · 4mo ago · 1 comment

comment 9mo ago · link · parent

Demo: https://chuanqisun.github.io/eigen-db/

Benchmark: https://chuanqisun.github.io/eigen-db/bench

11.

Vector DB in Raw Web Assembly(github.com ↗)

7 points · by osmoscraft · 9mo ago · 1 comment

12.

Cynthia's Valentine (Sci-Fi)(stackdiver.com ↗)

1 points · by osmoscraft · 9mo ago · discuss

13.

How to Speak LLM(chuanqisun.github.io ↗)

3 points · by osmoscraft · 10mo ago · discuss

14.

Show HN: Quantum Tunnel(chuanqisun.github.io ↗)

30 points · by osmoscraft · 10mo ago · 13 comments

comment 1y ago · link · parent

React hooks can help manage the state and tools for LLM agents. Hooks are good abstraction for dynamically composing data and behavior for both human user and LLM. It also lets human and LLM collaborate on the same UI without communication overhead.

Source code and demos: https://github.com/chuanqisun/react-agent-hooks

16.

React Hooks Is All You Need(stackdiver.com ↗)

7 points · by osmoscraft · 1y ago · 4 comments

comment 1y ago · link · parent

I thought it might be easier to piecemeal add LLM functionality if we can reuse the existing structure of the app.

comment 1y ago · link · parent

React turns out to be a powerful tool to management the state of anything hierarchical and dynamic.

For the UI, we can show stuff dynamically with JSX; and the JSX would include actions that let user modify the state; the updated the state would trigger a re-rendering of UI to reflect the latest the state.

What if we can apply this paradigm to model Human + AI interacting with a shared piece of state? We can let React and LLM see the same state and use the same tools to change that change.

19.

React Agent Hooks(github.com ↗)

6 points · by osmoscraft · 1y ago · 5 comments

comment 1y ago · link · parent

I built this project to help pay estimated tax. This is useful when I trade stocks that result in unplanned capital gain or income. Before this project, I got myself into tax penalty because I underpaid my estimated tax.

You can probably get the same functionality from Excel, but I think the numbers are more readable when rendered with minimum HTML + CSS.

Sharing it for other hackers who'd like to do their own tax <3

21.

Show HN: web-based tax sheet I've been using for the past 3 years(chuanqisun.github.io ↗)

5 points · by osmoscraft · 1y ago · 1 comment

22.

Fjord is a serverless RSS Reader(chrome.google.com ↗)

1 points · by osmoscraft · 3y ago · discuss

comment 5y ago · link · parent

Developer here. I super appreciate the support. Some context:

- I'm a big fan of RSS and there is a thriving community behind. Just check out this list: https://github.com/AboutRSS/ALL-about-RSS

- I'm also a firm believer of web as a platform, a distributed document database, and an open library of knowledge, as opposed to a "compile target" for cryptic JavaScript apps that take control and freedom away from users. Jim Nielsen has a timely critique: https://blog.jim-nielsen.com/2021/web-languages-as-compile-t...

- The bigger picture behind the osmos project is to create an IDE for personal knowledge management. On the surface:

1. I read my rss with osmos::feed.

2. I capture reference links from the feed with osmos::memo.

3. I digest the knowledge and connect them into notes with osmos::note.

- All of them are done with plaintext (some sprinkle of markdown), remote hosted on GitHub, so they are easy to run NLP and ML against. Potentially with GitHub actions, or locally with some bot, with a cloned repo.

- In the long term, I was hoping to create a "positive feedback loop". Use ML to extract patterns from my notes, make connections for me, and recommend interesting reading in the osmos::feed. On the other end, osmos::feed can use NLP to detect how each article in the feed might connect to ideas from osmos::note and make note-taking even easier.

- The parent project (https://osmoscraft.org) is still in super early stage. Would love to let the community give it a spin while I keep iterating.

- Thanks again for the ♥