Better HN
topnewbestaskshowjobs
Log inSign up

jasmcole

542 karma · joined Nov 2, 2014 (12y ago) · 70 submissions

Physics -> software

I blog at jasmcole.com I work at count.co

Submissions

comment 2w ago · link · parent

Very nice! I have fun hacking on a project in a similar area

https://wifi-solver.com

2.

Taskmaster as a Thermodynamic System(jasmcole.com ↗)

3 points · by jasmcole · 1mo ago · discuss

comment 3mo ago · link · parent

The fastest path involves a small dip, though deriving that fact is non-trivial!

Here's one of my old blog posts where I do the derivation:

https://jasmcole.com/2020/04/13/briechistochrone

comment 4mo ago · link · parent

I'm in Busan, though I didn't feel anything. (I was on the beach at the time though.)

5.

WebGPU simulation of a magnetic table clamp(jasmcole.com ↗)

1 points · by jasmcole · 5mo ago · discuss

comment 1y ago · link · parent

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!

comment 1y ago · link · parent

Wow! I just checked your CV (we were at Cambridge at the same time :) ), and I will never dismiss a Geography degree again!

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Interesting! I have a desktop 3070 and hear the same. I don't hear anything on a Mac M1 though.

comment 2y ago · link · parent

Definitely the vibe I'm going for!

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

See also the blog post here discussing this project:

https://jasmcole.com/2024/10/18/a-decade-of-wifi/

15.

WebGPU-Based WiFi Simulator(wifi-solver.com ↗)

335 points · by jasmcole · 2y ago · 84 comments

comment 2y ago · link · parent

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...

comment 2y ago · link · parent

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

comment 2y ago · link · parent

https://count.co perhaps?

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Thanks for the heads up - a page more focussed on dbt specifically is here:

https://count.co/product/data-modeling/

and associated blog post:

https://count.co/blog/how-we-made-data-modeling-multiplayer/

comment 2y ago · link · parent

If you're interested in interrogating dbt models using DuckDB, you may be interested in some new dbt features we've recently released at https://count.co

22.

Show HN: Multiplayer Data Modeling(count.co ↗)

3 points · by jasmcole · 2y ago · discuss

comment 3y ago · link · parent

We settled on DuckDB as our in-browser DB at count.co - it's been great! Just waiting for extensions and compression in the WASM build now...

comment 3y ago · link · parent

Me too! Other recent gadgets that have scratched the same itch are the Steam deck and folding phones, though nothing quite captures the feeling of the gadget experimentation going on back then.

comment 3y ago · link · parent

Nice! I made a quick'n'dirty Typescript notebook with React + Plotly as a Matlab clone a few years ago. I was impressed with how everything you need to compile and execute TS was built-in to Monaco, using web workers etc.

https://jasmcole.com/2021/05/19/matslab/

https://jasmcole.github.io/Pages/MaTSlab

comment 3y ago · link · parent

Merry Christmas HN!

27.

A SQL Christmas Tree(count.co ↗)

5 points · by jasmcole · 3y ago · 1 comment

comment 5y ago · link · parent

We implemented a WebGL plot + text renderer for https://count.co - adding support for emoji was a pain. In particular you can't use normal SDF maps as for other monochrome characters, so there has to be a per-character flag in the fragment shader to interpret the texture correctly.

comment 5y ago · link · parent

Nice article!

When we wrote the instanced WebGL line renderer for https://count.co one of the tricky parts was switching between mitre and bevel joins based on the join angle - for very acute angles the mitre join shoots off to infinity.

Another nice extension (that we are yet to implement) is anti-aliasing, but I think that requires extra geometry to vary the opacity over.

comment 5y ago · link · parent

I wrote that - thanks! Somehow it ranks highly on Google, but there are some links at the bottom to some other (better!) posts that I read first.
123