Phil Ruffwind

Results 40 comments of Phil Ruffwind

> ["https://twitter\\.com", [ > ["script-src", "'unsafe-eval' 'self' 'unsafe-inline' https://*.twimg.com https://www.google-analytics.com https://twitter.com 'nonce-YzFkN2FkNmYtOWExNC00MjZjLThlZDYtNGY0YjgyMTVjZWRh'"] > ]] Did you mean to leave out `script-src` on the right side of `,`? > Notice that...

> … removing the service worker on every load to force a network request. Yeah I think that is too invasive of a workaround :(

I'm also running into this problem. I have a file that's about 8.38 GiB (8998338695 B) in size. I made 5 attempts to download this file: 1. Success (no special...

Here’s an attempt: #314 I started off with the easiest cases where the visitor method being called is unconditionally known. Here’s the call graph of the original code for reference....

Assuming I understood correctly, I tried to add a specialization called `parse_aggregate` which only calls `visit_{seq,map}` (see patch below). However, I didn’t notice any performance changes with this change (neither...

Could perhaps add dummy types to represent thread-safety guarantees: ~~~rust pub mod thread { // !Send + !Sync pub struct Funneled(PhantomData); // Send + !Sync pub struct Serialized(PhantomData); // Send...

Aside from fallible `Drop` constructors (e.g. closing a file), there’s another situation where it could come in handy: Sometimes an resource is held by another thread/process/host and dropping would require...

> How would that work? Presumably when people say linear types they don't mean types with values with an infinite lifetime, but rather that you need to pass them to...

Compared to tuples, anonymous enums would become increasingly tedious to use since a match statement would have `N^2` pipe (`|`) characters. At the expense of type inference, it may be...

The utility uses floating-point numbers, so this is working as intended. > … `sin(pi)` gives `1.2246467991473515E-16` … `sin(pi)` in floating-point arithmetic is _not_ the same as sin(π) in math. What...