Better HN
topnewbestaskshowjobs
Log inSign up

fiiisssh

6 karma · joined Feb 19, 2023 (3y ago) · 10 submissions

Submissions

comment 2mo ago · link · parent

We have some more comprehensive benchmarks at https://r-carissimi.github.io/wasure/, with fairly different results.

libsodium is very numeric operation heavy IIRC

2.

Escaping Flatland: Career Advice for CS Undergrads(space.ong.ac ↗)

3 points · by fiiisssh · 11mo ago · discuss

comment 11mo ago · link · parent

There's actually really no knowledge of cloth involved, it's just a bunch of spring constraints: https://github.com/mkhan45/clothsim

AFAIK more advanced realism-focused cloth sims are still mostly bundles of spring constraints, and most fabric behaviors are encoded as different spring tolerances, forces, and friction.

Cloth self-collision and friction seem to be a very difficult problem in which progress has been made recently: https://graphics.cs.utah.edu/research/projects/ogc/Offset_Ge...

comment 11mo ago · link · parent

The repo is at https://github.com/mkhan45/clothsim, it's pretty compact and most of the relevant code is in src/main_state.rs

comment 3y ago · link · parent

I've been electric longboarding for 3-4 years, and longboarding for longer, and I find rental electric scooters way more dangerous than electric longboards. It feels like there's just no way to bail, since there's a big stick in front of you and you're much higher off the ground. To be honest, I feel similarly about bikes but I can buy that that's a skill issue.

This sentence doesn't make sense to me:

> Unlike long boarding where you’re forced to learn to slide in order to stop anyone can go 20mph+ and get themselves killed.

I agree that electric longboarding is dangerous for beginners who never learned to longboard, but I don't see why that argument doesn't apply to scooters or bikes. Anyone can go 20mph+ on an escooter or ebike too, and it's harder to bail. Moreover, beginner longboarders often go faster than is safe down hills, since they're not practiced at controlling speed and stopping. For the disciplined rider, regardless of skill, electric longboards are safer since it's so much easier to control speed down hill.

Nitpick: sliding is a pretty rare way to stop on a longboard.

6.

Show HN: WASM Cloth Simulator(cloth.mikail-khan.com ↗)

6 points · by fiiisssh · 3y ago · discuss