Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
adrian17
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
adrian17
1y ago
They are disjoint, but the things you can use them for overlap a lot. In particular, I'd dare say a majority of existing `#[derive]`-style macros might be easier to implement in a hypothetical reflection layer instead. Instead of takin
62.
▲
by
adrian17
1y ago
> On this benchmark, the compiler is almost twice as fast than it was three years ago. I think the cause of the public perception issue could be the variant of Wirth's law: the size of an average codebase (and its dependencies) migh
63.
▲
by
adrian17
1y ago
I saw that, I just didn't connect it with newly added multimodal image generation. I knew variations of style transfer (or LoRA for SD) were possible for years, so I assumed it exploded in popularity purely as a meme, not due to OpenAI
64.
▲
by
adrian17
1y ago
> This was one of the most successful product launches of all time. They signed up 100 million new user accounts in a week! They had a single hour where they signed up a million new accounts, as this thing kept on going viral again and a
65.
▲
by
adrian17
1y ago
The majority of our queries have joins (plus our core logic often depends on fact table expansion with `arrayJoin()`s) before aggregations and we're doing fine. AFAIK whenever we hit memory issues, they are mostly due to high-cardinali
66.
▲
by
adrian17
1y ago
> I have to say that I used local search instead of trying to find something on the mozilla-central website. On the contrary, I find searchfox to be the best code navigation tool I used. It has nice cross-language navigation features (li
67.
▲
by
adrian17
1y ago
I don't know what you're trying to say. If you're talking about WASI, well personally I'm not interested in it and we're just using plain wasm in the browser. However, nothing in this linked post is about WASI speci
68.
▲
by
adrian17
1y ago
Most have been for some time now. As the announcement post says: > the Wasm Community and Working Groups had reached consensus and finished the specification in early 2022. All major implementations have been shipping 2.0 for even longer
69.
▲
by
adrian17
1y ago
https://blog.rust-lang.org/2024/09/24/webassembly-targets-ch... "As a result there is no longer any possible method of writing a function in Rust that returns multiple values at the WebAssembly function
70.
▲
by
adrian17
1y ago
What do you mean, DOA? It's been in active use for years now. As far as I know, "2.0" is just a marketing term batching several extensions standardized since 1.0 (and simplifying feature queries "are extensions X,Y,Z sup
71.
▲
by
adrian17
1y ago
> Instructions, blocks, and functions can now return more than one result value, sometimes supporting faster calling conventions and avoiding indirections. Unfortunately, despite being "enabled", Rust+LLVM don't take advan
72.
▲
by
adrian17
1y ago
> but of course doing so requires some expertise, and expertise still isn't cheap Sure, but at the same time, the number of people with expertise to set up Anubis (not that it's particularly hard, but I mean: even be aware that
73.
▲
by
adrian17
2y ago
> (Spoilers: it also allocates 60+ GB of RAM for intermediate results, so consider reducing the image size before running it on your own machine) The input algorithm is essentially written in SSA form, and it's easy to analyze when
74.
▲
by
adrian17
2y ago
FWIW, the thing I've found as the slowest single factor on my machine, might not be the slowest on yours; I might have not noticed the real cause of slowdowns on your machine at all, and you may be the only one able to diagnose it. (an
75.
▲
by
adrian17
2y ago
For me it runs at full speed in both stable and developer versions of Firefox (but even then, audio is bad at times). But still, I looked at performance out of curiosity. After running it under FF's profiler for a moment, it looks like
76.
▲
by
adrian17
2y ago
Does this also replace, or work well with tox? We currently use it to run basic CI/local workflows (`tox -e lint` for all linters, `tox -e py310`, `tox -e py312` to run tests suites on chosen interpreters' environments), and to se
77.
▲
by
adrian17
2y ago
Not OP, but I got 4o-mini confused on second attempt. https://chatgpt.com/share/67759d1a-1430-800b-a0a9-2c5f2ac02a...
78.
▲
by
adrian17
2y ago
Is it just me, or is performance kinda... bad? Don't get me wrong, it's stable 144FPS, but it feels like it got my GPU's fans spinning faster than some modern games did (and indeed, power draw was fairly high). Similarly, whe
79.
▲
by
adrian17
2y ago
> The WebGPU browser API -> your app will run in the browser, but not on GLES-era hardware. Perish in the verbosity of not having bindless support. Note, regarding "GLES-era": WGPU does have a GLES/WebGL2 backend; missi
80.
▲
by
adrian17
2y ago
Any explanation what makes it faster than pandas and polars would be nice (at least something more concrete than "leverage the C engine"). My easy guess is that compared to pandas, it's multi-threaded by default, which makes
81.
▲
by
adrian17
2y ago
> The SQL above results in a plan similar to the DuckDB optimized plan, but it is wordier and more error-prone to write, which can potentially lead to bugs. FWIW, aside from manual filter pushdown, I consider the JOIN variant the canonic
82.
▲
by
adrian17
2y ago
AFAIK you’re correct. Also see: https://www.usenix.org/conference/usenixsecurity20/presentat... „We find that many classic vulnerabilities which, due to common mitigations, are no longer exploitable in native bina
83.
▲
by
adrian17
2y ago
The 9GB limit was not just the Rust stuff, that was for the entire docker environment with compiler, JRE, node, wasm toolkit, typescript, webpack etc. Yes, we need all of these to make a "true" reproducible build from scratch. >
84.
▲
by
adrian17
2y ago
> We cannot reproduce your source This is the biggest issue we had, and we had to add a decent bit of complexity to our builds to support reproducible builds in the exact way they want. But the silly part is that our extension involves b
85.
▲
by
adrian17
2y ago
Even this we had issues with - we wrapped the entire build environment and script in a dockerfile, but depending on system configuration you may or may not have to run docker with sudo - it just so happened that reviewer's environment
86.
▲
by
adrian17
2y ago
Safari supports WebGL2 since version 15 - unless you meant something else by macOS lacking support? (I agree with your general point though.)
87.
▲
by
adrian17
2y ago
> All GC implementations in Rust that I've seen so far relied on much more heavy handed techniques like having GC<T> to be a double indirection, pushing references to threadlocal queue, have GC pointers to be fat to pass aroun
88.
▲
by
adrian17
2y ago
Just for reference, the gc-arena crate ( https://github.com/kyren/gc-arena ) we use in Ruffle's Actionscript 1/2/3 interpreters and across the entire engine, does this. As far as we know, it's safe an
89.
▲
by
adrian17
2y ago
The issue is that it's a simple footgun as soon as you start adding non-trivial native methods (say, string methods, array.map etc). The only way to make sure that they don't exist is removing the DerefMut impl entirely. It's
90.
▲
by
adrian17
2y ago
You’re right that it went noticed for a long time, just one clarification > all the corps get a quiet tap on the shoulder that they need to immediately patch when MS releases it, then a few days later it hits the news AFAIK, distros were
More ›