Inspired by the discussion on https://news.ycombinator.com/item?id=20960832 , and the author of that article's complaint t...
Inspired by the discussion on https://news.ycombinator.com/item?id=20960832 , and the author of that article's complaint that there wasn't any source code online, I went ahead and ported the algorithm to TypeScript/JavaScript. As it happens, Vitter's sequential random sampling actually solves a rather annoying problem I had at work recently, so this was a practical as well as theoretical / for-fun exercise. Numerical code like this is also a prime candidate for implementation via WebAssembly, but while I've been able to produce a working transformed version of the code which acts like a restartable co-routine (i.e., manually, without relying on language-supported generators), getting the compiled WASM to actually run correctly in a JS environment has not worked out so far. I expect that will be version 2.0.0.
Posted by gliese1337 on Sep 17, 2019, 7:00 PM
Tags
Related issues
- I hate that this article is talking about Photocraft killing Photoshop because of AI as though Ivan Kutskir didn't build Photopea years a...
- That's a fair complaint, but for the most part that only applies to the faces (which would be an absolute nightmare to hand animate in sy...
- I wish there was something that could be done beyond feeling powerless.
- I don’t hate taxes per se but I hate that the government will take tax dollars earmarked for one purpose, which is how they got the tax a...
- I've never thought SF Symbols were beautiful.
- > conservatives don't like being told that their ideas, while legally allowed, are not welcome in polite company As long as there are a ...
Raise real-world problems, find people facing the same issue, and discuss solutions.3,500 issues0 comments
complaint (Other)
I hate that this article is talking about Photocraft killing Photoshop because of AI as though Ivan Kutskir didn't build Photopea years a...
NewThat's a fair complaint, but for the most part that only applies to the faces (which would be an absolute nightmare to hand animate in sy...
NewI wish there was something that could be done beyond feeling powerless.
I don’t hate taxes per se but I hate that the government will take tax dollars earmarked for one purpose, which is how they got the tax a...
I've never thought SF Symbols were beautiful.
> conservatives don't like being told that their ideas, while legally allowed, are not welcome in polite company As long as there are a ...
Yeah but this AI music is worse than any AI produced code.
I wish there was a way I could get educational-only youtube as an adult.
Inspired by the discussion on https://news.ycombinator.com/item?id=20960832 , and the author of that article's complaint t...
Inspired by the discussion on https://news.ycombinator.com/item?id=20960832 , and the author of that article's complaint that there wasn't any source code online, I went ahead and ported the algorithm to TypeScript/JavaScript. As it happens, Vitter's sequential random sampling actually solves a rather annoying problem I had at work recently, so this was a practical as well as theoretical / for-fun exercise. Numerical code like this is also a prime candidate for implementation via WebAssembly, but while I've been able to produce a working transformed version of the code which acts like a restartable co-routine (i.e., manually, without relying on language-supported generators), getting the compiled WASM to actually run correctly in a JS environment has not worked out so far. I expect that will be version 2.0.0.
Comments (0)
No comments yet. Start the discussion.