Readit News logoReadit News
diss commented on Claude Code: Now in Beta in Zed   zed.dev/blog/claude-code-... · Posted by u/meetpateltech
cnqso · 3 months ago
What Zed lacks in code generation quality it makes up for in not-being-an-Electron-app
diss · 3 months ago
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 commented on Cloth   cloudofoz.com/verlet-test... · Posted by u/memalign
rikroots · 8 months ago
I've always loved this sort of cloth animation. I think the first one I saw was dissimulate's tearable cloth demo on Codepen - I can't believe they wrote that code 9 years ago!

[1] - https://codepen.io/dissimulate/pen/eZxEBO

[2] - https://github.com/Dissimulate/Tearable-Cloth

diss · 8 months ago
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 commented on Cloth   cloudofoz.com/verlet-test... · Posted by u/memalign
faeyanpiraat · 8 months ago
Is there a simple way to do fluid (air) simulations like this?
diss · 8 months ago
No, fluid simulation is much more complex, but there are some relatively simple Smoothed Particle Hydrodynamics demos out there.
diss commented on Cloth   cloudofoz.com/verlet-test... · Posted by u/memalign
gosub100 · 8 months ago
it's not that difficult. in javascript, you represent each point in (x,y,z), give it a mass, and every frame apply gravity, maybe with some noise added. every time the particle tries to move, you use trigonometry to transmit the forces through the edges to the other points + some damping amount so it doesn't runaway. the mass determines how much each point is affected by subsequent forces.

If you aren't ready for it in 3d, do it in 2d.

diss · 8 months ago
This example actually appears to be 2d.
diss commented on Cloth   cloudofoz.com/verlet-test... · Posted by u/memalign
mattfrommars · 8 months ago
How do people go from web dev/gradle/java knowledge to build something like this.

For me, sometimes I wonder since I never did CS undergrad, I will never understand any of this no matter how many programming langauge I learn. I did dabble a bit with OPENLY, LIBGDX, GODOT, unity but to come to with cloth simulation from scratch, damn

diss · 8 months ago
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 commented on Ask HN: Evernote Password Reset Requests    · Posted by u/schappim
diss · 3 years ago
Yep, found this googling it. Forgot I had an Evernote account tbh but it was a little concerning.
diss commented on Breaking up with JavaScript front ends   triskweline.de/unpoly-rug... · Posted by u/hdjjhhvvhga
grishka · 3 years ago
Whenever I build something on the web, I can't help but feel like I'm dealing with a word processor. A very advanced one, but nevertheless still a word processor at its heart. Coming from native apps, I despise the idea of text just being out there without a TextView or something.

I also miss Flash.

diss · 3 years ago
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…
diss commented on Brave Search replaces Google as default search engine in the Brave browser   brave.com/search-and-web-... · Posted by u/skellertor
DeathArrow · 4 years ago
Google used to be good at one point in time. Now its search results aren't very relevant, it returns what it thinks it should interest you, not what you've actually searched for. It doesn't matter if you do a verbatim search, it will still try to be smart and use alternative terms.
diss · 4 years ago
This is interesting to me because I've been left with the opposite impression. I've tried several times to switch to an alternative such as Duckduckgo and _always_ end up supplementing it and eventually switching back to Google because the results just aren't what I'm after. It's fine when the answers I want exist on Stackoverflow for example, but anything more esoteric or less specific and I find myself disappointed. I'd love to switch permanently.
diss commented on Stack Overflow sold to Prosus for $1.8B   wsj.com/articles/software... · Posted by u/DavidWilkinson
chairmanwow1 · 5 years ago
Their app is 2x slower than their mobile site and their new mobile site is 4x slower than their old site. Why do these brands feel the need to make everything a fucking SPA.
diss · 5 years ago
I don't think a SPA is the problem, in fact a well-made (end to end) SPA should be faster after an initial, cacheable load. It's the fact that it isn't well-made and it's bloated with god knows what.
diss commented on DreamWorld (YC W21) MMO raises all red flags   mmofallout.com/mmo-rant-d... · Posted by u/sen
danso · 5 years ago
Pure programming skill, however you imagine that being measured, is a very small part of building and designing a successful game and game world.

Do you honestly believe that anyone more skilled at PHP than Mark Zuckerberg had been as a Harvard freshman is on the cusp of building the next Facebook-killer?

diss · 5 years ago
No, Mark Zuckerberg was a nobody too. Having clout helps things along considerably when it comes to marketing and acquiring non-nobodies, but being a nobody is neither here nor there when it comes to potential. Replace "programmer" with whatever skills you think are most relevant.

u/diss

KarmaCake day75August 10, 2018View Original