Dana Jansens

Results 188 comments of Dana Jansens

About "once" vs "confined" I agree "once" isn't ideal, but I'm not sold on confined either. If you window overlaps another window, it'll still grow more until the edge of...

Ok, ping me again when it's ready :) Thanks!

The first is more “official” at this point. > On Dec 30, 2021, at 5:56 PM, Johannes Kamprad ***@***.***> wrote: > >  > Seems like there is none ?...

I was going to request an annotation to omit a given thing from documentation, I'd be happy with doing this in the code itself, kinda like https://doc.rust-lang.org/rustdoc/write-documentation/the-doc-attribute.html but in a...

I think a more general thing here would be integral types with a fixed range. `NonZeroI8` is just an `i8` with range `1..=MAX`. But it'd be nice to instead have...

> The compiler can optimize on the bounds then, as .get() could __assume() stuff about the returned value? Yes, as long as the method that returns the inner value _is...

My brain came up with an answer here this morning. define concepts that match the *shape* of std containers, like a ReservePushBackContainer for vector. Then provide from_iter impls for those...

Clang 19 has build errors, but then so does Clang 18 at the moment that were introduced since the last CI run.

Blink's traits work with pointers, but returning a null pointer is bad times ([null pointers are bad](https://www.infoq.com/presentations/Null-References-The-Billion-Dollar-Mistake-Tony-Hoare/)). Receiving pointers is also a pain, when you're not going to store that...

Slack thread on issues with the Blink impl from @zetafunction: https://chromium.slack.com/archives/CGHNFGN9L/p1607720784245200 And this summary: > I think I was complaining about how the way DowncastTraits is specified means that you...