HN user
samradelie
You have a good point about doing zero copy transferables which would probably work.
There is certainly something beautiful about your charging GPU code being part of a file that runs completely isolated in another thread along with our websocket Data fire hose
Architecturally that could be something interesting where you expose a typed API wrapping postmessage where consumers wanting to bind the main thread to a worker thread could provide the offscreen canvas as well as a stream of normalized, touch and pointer events, keyboard and wheel. Then in your worker listeners could handle these incoming events and treat them as if they were direct from the event listeners on the main thread; effectively, your library is thread agnostic.
I'd be happy to discuss this on GitHub. I'll try to get to that today. See you there.
Fantasic Hunter, congrats!
I've been looking for a followup to uPlot - Lee who made uPlot is a genius and that tool is so powerful, however I need OffscreenCanvas running charts 100% in worker threads. Can ChartGPU support this?
I started Opus 4.5 rewrite of uPlot to decouple it from DOM reliance, but your project is another level of genius.
I hope there is consideration for running your library 100% in a worker thread ( the data munging pre-chart is very heavy in our case )
Again, congrats!
Wow. Stellar work. The TS looks really proper on first glance. I think you're right on zeitgeist -- we're going to need a lot more fundamental tools like this to build AI apps.
Technically speaking, I've long wondered about mount/unmount of components as panels are dragged about and their visibility changed. Sometimes it's more costly to mount/unmount than to display:none.
Second, you have basically a declarative structure for these panels, are there plans to expose a Vite plugin for example that could export saved TS layouts, where functions (ie: TS imports) map to the panel contents? (trying to think outside of JSX and more vanilla TS)
Fantastic work!
did you use WORKER_FS to get around the 4GB limit? Years ago I was playing with this and encountered issues with large files.
Bleugh. Who is this article for? (good bait from the poster) Anyone who's done any kind of meaningful SPA dev knows this pattern does not scale & for newbies, this is poison.
Instead of talking high-level framework agnostic code design and the multitudes of ways to fetch data (route based, state stores, authentication hooks, subscriptions, model composition , to name a few ); author goes deep into outdated React anti-patterns.
Everyone who has commented on this is spot on.
Very keen on this. Expressed interest on your web form
You made the ultimate VJ party tool.
Watched the talk linked on brimdata.io - stoked to see what's coming out. As a Typescript dev like yourself, very interested in how the dynamic types in Zed could be generated into ts, live.
Your company ( brimdata ) looks really good and your work on the Zed client app is impressive.
i should like to see how you did the infinite terrain. did a mars-walk some years ago with a friend's sculptures https://samelie.github.io/mars-amenothep/
Probably not your issue: Internet: Old TV caused village broadband outages for 18 months https://www.bbc.com/news/uk-wales-54239180
very neat, lots on control here. Cool use of parametric geometry that I haven't seen much of: https://github.com/boytchev/mannequin.js/blob/main/mannequin...
Thanks, very spicy. You should see how much time my gf has to evaluate law startup apps within her firm... You know something that could be cool, record + playback: the demo could be recorded once with voice over and played back for future reference within the org: "This is the playback that demonstrates importing raw docs from X, tagging and saving it to Y" , and you could record it using dummy info so there wouldn't be a risk of pollution.
If you want to make your app respond to clicks etc. , do you have to add anything to the jsx? I'm curious how interaction works. This is very cool btw, at first I was imagining you're server signaling WebRTC sessions between people.
Wonderful work! Any good learning resources that standout to you? I'm looking forward to reading your code. Merci!
That's neat the teacher brought up the 'tiers' of formality. As an american kid in France growing up, the 'vous-voyez' was instilled early on along with evaluations over the years in written and oral style. You probably remember 'liaisons'? It's as though in the same way a vowel at the beginning of a word causes the last consonant of the previous word to be pronounced, as familiarity increases and formality decreases, the words themselves begin to blend. Somewhere between your examples there'd be "j'ne sais pas" and then if your a high school kid in 2005, "Saich aps"
maybe it will produce recipes such as in this book https://www.thisiscolossal.com/2016/10/les-diners-de-gala-da...
We were draftjs, but it got very slow on larger texts. We're replacing with slate but it lacks some very needed textnode manipulation. Glancing at the editor and api, wow. Can't wait to have something simple (content editable) but with strong api backbone. Congrats!!!
Flynn treasure. The poem basically says it's at some damn or waterfall. Would be cool if the spot was chosen from the tale of the 'original great American adventurers'
https://www.youtube.com/watch?v=s6t0mJsgUKw
Live, in french
As an American software developer working perm in London for 5 years and now returning to California ( ;_; ) , I can say that salaries are 3-4 times higher in the US for the same role. Just converting the currencies.