HackerTrans
TopNewTrendsCommentsPastAskShowJobs

diss

no profile record

comments

diss
·10 bulan yang lalu·discuss
This is simply not true… that’s the problem. As much as I like Zed, using it for the sake of not being an electron app doesn’t make any sense when Cursor’s edit prediction adds so much value. I’m not starved of resources and can run Cursor just fine – as far as Electron apps go VS Code is great, performant enough. I value productivity. I’ll very happily drop Cursor for Zed the second edit prediction is comparable. I’m eagerly waiting.
diss
·tahun lalu·discuss
That was me! The original version I put on codepen was about 13 years ago. I can’t believe it either… until I realise that was before I landed my first programming job, and it feels like ages.
diss
·tahun lalu·discuss
No, fluid simulation is much more complex, but there are some relatively simple Smoothed Particle Hydrodynamics demos out there.
diss
·tahun lalu·discuss
This example actually appears to be 2d.
diss
·tahun lalu·discuss
It’s actually a lot simpler than you might think. I say that having written the “tearable cloth” demo linked elsewhere in this thread before I’d even started my SWE career.

In this case it’s basic “verlet” integration, which involves updating 2d vectors forming the grid based on their current and previous position, and constraining them to a certain distance from their immediate neighbours. Draw lines between them and you have a cloth. I first came across it because I was fascinated by physics simulation and it was one of the simplest things to implement. A lot of bang for your buck in terms of results. It gets far more complicated from there.
diss
·4 tahun yang lalu·discuss
Yep, found this googling it. Forgot I had an Evernote account tbh but it was a little concerning.
diss
·4 tahun yang lalu·discuss
I know exactly what you’re talking about from when I transitioned to web dev, but I feel that much less these days with TypeScript (done well) and VS Code. It’s actually a pretty decent experience even if it does feel like a bit of a facade over the top. Once you’ve got all your setup and dependencies sorted of course…