HackerTrans
TopNewTrendsCommentsPastAskShowJobs

jasmcole

no profile record

Submissions

WebGPU simulation of a magnetic table clamp

jasmcole.com
1 points·by jasmcole·w zeszłym miesiącu·0 comments

WebGPU-Based WiFi Simulator

wifi-solver.com
335 points·by jasmcole·2 lata temu·84 comments

comments

jasmcole
·w zeszłym roku·discuss
We use the WASM build of DuckDB quite extensively at Count (https://count.co - 2-3m queries per month). There are a couple of bugs we've noticed, but given that it's pretty much maintained by a single person seems impressively reliable!
jasmcole
·2 lata temu·discuss
Wow! I just checked your CV (we were at Cambridge at the same time :) ), and I will never dismiss a Geography degree again!
jasmcole
·2 lata temu·discuss
Hey, if you click through to one of the example simulations you'll be able to change the visualization from waves to time-averaged power density, which should be closer to what you're looking for.
jasmcole
·2 lata temu·discuss
Thanks! If you navigate to one of the example simulations, you'll be able to change the instantaneous field visualisation to one of time-averaged power density, which sounds closer to what you're looking for.

The cool thing about the speed of WebGPU is that you can drag things around and watch changes in real-time, even if you have to average lots of simulation steps per rendered frame.
jasmcole
·2 lata temu·discuss
Interesting! I have a desktop 3070 and hear the same. I don't hear anything on a Mac M1 though.
jasmcole
·2 lata temu·discuss
Definitely the vibe I'm going for!
jasmcole
·2 lata temu·discuss
Good question! This is actually a numerical solver for a few coupled partial differential equations - the method in this context (electromagnetism) is called FDTD. It's implemented as a WebGPU compute shader.

You absolutely could do this using WebGL2 compute shaders too, but I thought it would be fun to try this newer API.
jasmcole
·2 lata temu·discuss
Agreed! Though support should be coming soon it seems. As a complete WebGPU novice I was really impressed with how quick it was to get going.
jasmcole
·2 lata temu·discuss
See also the blog post here discussing this project:

https://jasmcole.com/2024/10/18/a-decade-of-wifi/
jasmcole
·2 lata temu·discuss
Author here - amazing how this old post comes back around! I know this book is a bit divisive with the big time jump, but you can't argue with the opening line.

Shameless plug - I've become a better engineer since then, and if you'd like to work with me check out this role I'm hiring for:

https://jobs.ashbyhq.com/count/d49bdc38-96ea-4dbd-9ab5-ae4f5...
jasmcole
·2 lata temu·discuss
If you're interested in a mix of SQL, Python, DuckDB and low-code interfaces to SQL databases, you may want to check out https://count.co
jasmcole
·2 lata temu·discuss
https://count.co perhaps?
jasmcole
·2 lata temu·discuss
We use Pyodide at https://count.co and think it's pretty amazing! Congrats on the new release. I read about the snapshot support for Cloudflare workers and assumed it was a feature that Cloudflare had developed - the fact it may be coming to all users of Pyodide is great news.