Jake Goulding

Results 615 comments of Jake Goulding

See also [How can I distinguish between a deserialized field that is missing and one that is null?](https://stackoverflow.com/q/44331037/155423)

I'm seeing this in a Rails 6.1 application that's using `image_processing` (0.12.1) and `ruby-vips` (2.1.4) with `puma` (5.6.2) . I've attached LLDB to the puma child worker process and some...

> So the `dlopen()` is triggering the initializers in the library being opened, and they in turn are (indirectly) starting up the NS classes. Yes, I agree. > Maybe it's...

I have a "fix" for our application: directly adding `ruby-vips` to our Gemfile. --- My working theory is: 1. Puma starts the coordinator thread 2. Puma starts the worker threads...

> I'd prefer to not have two types with the same name distinguished only by module As a counter-bikeshed, I'm fine using modules to namespace types. When I need both,...

FWIW, there are other crates that do similar, such as [strum_macros](https://crates.io/crates/strum_macros). If someone was truly interested in pushing this forward, I'd encourage them to do a broad review of the...

[Why can't I store a value and a reference to that value in the same struct?](https://stackoverflow.com/q/32300132/155423) [Is there any way to return a reference to a variable created in a...

I was reading [accepted RFC 1733 — trait aliases](https://github.com/rust-lang/rfcs/blob/master/text/1733-trait-alias.md) and came to the **erroneous** conclusion that it would supersede this RFC: 1. Aliases can be defined from multiple traits: `trait...

Prompted by @carols10cents' comment, I realized that *I* would be much more inclined to write longer form documentation1 if the effort involved with publishing a book was reduced. To that...

> ```rust > s.starts_with(char::is_ascii); // will not compile, `is_ascii` accepts `&char`, not `char` > ``` The alternate way [I wanted to solve this](https://internals.rust-lang.org/t/ergonomics-initiative-discussion-allowing-owned-values-where-references-are-expected/5161/2?u=shepmaster) was to allow auto-(de)ref to apply just...