Better HN
topnewbestaskshowjobs
Log inSign up

tonyhschu

153 karma · joined Aug 15, 2011 (15y ago) · 14 submissions

Product designer at AugmentCode.com

https://bsky.app/profile/tonyhschu.bsky.social

Submissions

comment 8mo ago · link · parent

Very cool. I do something like this but with Playwright. It used to be a real token hog though, and got expensive fast. So much so that I built a wrapper to dump results to disk first then let the agent query instead. https://uisnap.dev/

Will check this out to see if they’ve solved the token burn problem.

comment 8mo ago · link · parent

Sort of like this? https://docs.tecton.ai/docs/introduction/interactive-tour I used https://github.com/xyflow/xyflow for this, with css animations for the edges. It’s probably easier now with coding agents and what not

comment 8mo ago · link · parent

One of the creators of R2D3 here. Funny to wake up to this today! Happy to answer questions here or on bsky

comment 1y ago · link · parent

That workflow sounds amazing. How do you set that up? Got any code for it that we can look at?

comment 4y ago · link · parent

Yeah! This was done before CSS scroll-snap is a thing. I'd probably use scroll snap now. See: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Scroll_...

comment 4y ago · link · parent

Second this. Idyll is the closest thing I know that makes this sort of thing approachable. Those dot animations are unfortunately very custom.

comment 4y ago · link · parent

Funny to see this on the homepage today. Part 1 was done so long ago now that looking back on that code is equal parts intimidating and embarrassing.

Maybe this is the motivation I need to actually fix that stupid feet/meter thing.

8.

Making sense of COVID19 through interactive simulations(r2d3.us ↗)

3 points · by tonyhschu · 6y ago · discuss

comment 8y ago · link · parent

Author here – Part 2 uses:

- React for DOM rendering

- D3 for visualization geometry

- RxJS for handling state (i.e. turning scroll position into animated properties)

- PIXI for WebGL bits (i.e. all the little circles moving around)

comment 11y ago · link · parent

The decision tree model was generated from http://scikit-learn.org in Python. The JS is a complete mess, but I'll try to write up how it works in the next couple days.

comment 11y ago · link · parent

Thanks Brandon! We're certainly thinking about it. We'll work out way up there.

comment 11y ago · link · parent

OP here. What kinds of sources are you looking for? We built this based on some of the lectures in Stanford's statistical learning class (http://online.stanford.edu/course/statistical-learning-winte...) as well as just hanging out with the ML team at http://siftscience.com

comment 11y ago · link · parent

Thanks! Yeah absolutely. We are working our way up to those. Our tentative plan is to tackle bias-variance trade-off next, then random forests, then neural networks.

14.

Show HN: Intro to Machine Learning in Interactive D3.js Visualizations(r2d3.us ↗)

128 points · by tonyhschu · 11y ago · 12 comments