Advertisement · 728 × 90

Posts by thom

Post image

🖤Heavy Souls 🖤

5 months ago 303 129 0 1
Video

i can't believe they have to play again today.

5 months ago 1483 432 13 8
Iterator in std::iter - Rust A trait for dealing with iterators.

I would try doc.rust-lang.org/nightly/std/... rather than boxing to avoid the box overhead. That said, I'm at work at the moment so I can't really investigate. 1000 chains in a row is certainly a degenerate case and there's a number of reasons that could perform poorly, just not for the cited reason

5 months ago 3 0 0 0
accum.rs - source Source of the Rust file `library/core/src/iter/traits/accum.rs`.

Sum uses fold: doc.rust-lang.org/nightly/src/..., which as linked in my other comment does this. If you're seeing rust being slower than the other languages here, it's more likely because of copying around the iterator object, which will be considerably larger in Rust. A profile might be useful.

5 months ago 3 0 2 0
iterator.rs - source Source of the Rust file `library/core/src/iter/traits/iterator.rs`.

default impl doesn't call next in a loop. It calls fold: doc.rust-lang.org/nightly/src/.... In the case of Chain, that has a custom impl that calls all the first iterator and then all the second iterator: doc.rust-lang.org/nightly/src/.... which avoids the issue (intentionally).

5 months ago 4 0 1 1

Here’s my opinion on the new typescript compiler:

You should write programs in the language you want to.

1 year ago 386 38 22 5

[being assigned a routine task that falls under my job description at my place of employment] what did I do to deserve this

1 year ago 184 30 1 1
Advertisement
it's a picture of a in-progress gundam model kit. only the upper torso, head, and arms are completed. it is of the rx78-2 (the original gundam). the plastic used is all semi-transparent. on the desk you can see part of the assembly instructions, and behind you can see some of the runners.

it's a picture of a in-progress gundam model kit. only the upper torso, head, and arms are completed. it is of the rx78-2 (the original gundam). the plastic used is all semi-transparent. on the desk you can see part of the assembly instructions, and behind you can see some of the runners.

wip gunpla

2 years ago 3 0 0 0

yeah my interest in semiprofessional tech things is at an all time low honestly >_>

i also like the aspect of twitter where people follow me for tech stuff and then i almost never tweet about tech, which this lacks... for now

2 years ago 1 0 1 0

i dont really like mastodon or bluesky but i guess of the two this one seems slightly better?

2 years ago 3 0 1 0

i still had this tab open i guess. the thing i love the most about it is how people rationalize software bugs in their heads. like, parallel universe is certainly a way you can explain that particular bug...

you see this kid of stuff with lots of speedrunning, and i love it every time.

2 years ago 0 0 0 0

its so good

2 years ago 0 0 1 0

I'd just like to interject for a moment. What you're refering to as Skeets, is in fact, AT/Skeets, or as I've recently taken to calling it, AT plus Skeets. Skeets is not a platform unto itself, but rather another free component of a fully functioning AT system made useful by the DIDs, XRPC, and

2 years ago 166 48 13 7

Map keys dont, Object does though, although theres some specialness with array. I guess you mean JSON tho

2 years ago 1 0 1 0

(actually in reality, i would probably be very stressed out by the whole thing and dissappear from the public eye to handle it, but still)

2 years ago 1 0 0 0
Advertisement

damn oklab is everywhere now. wild to me that not only did it get added to css ~2 years after the blog post, its the default colorspace for interpolation. i mean it owns so thats dope, just its crazy how fast the adoption has been. id never be sad again if a blog of mine had that kinda response

2 years ago 1 0 1 0

narrator: it does

2 years ago 0 0 0 0

god does bluesky really let me enter newlines in this textbox, which it completely deletes when i post? :|

2 years ago 0 0 1 0

just spent half a day at work tracking down a bug in our build system, only to realize not only is it in an open source project i maintain, the bug is one i WONTFIXed several months ago. damn, my petard.

2 years ago 2 0 0 0

admittedly "hard to prove correct" is probably what i signed up for when I typed `use core::intrinsics::{atomic_load_unordered, assume};`

2 years ago 1 0 0 0

feeling the tension between an optimal impl and one that's slightly slower but simplifies the correctness proof (well, more of a correctness argument)it's easier for me to prove correctness of my code if only one thread ever performs some initialization, despite the init being (trivially) idempotent

2 years ago 1 0 1 0

it's cool that i get to use my own domain i suppose

2 years ago 4 0 0 0
Advertisement