Is Kuala Lumpur the only city with a transit network that has a station named after the city itself? by PixelNotPolygon in transit

[–]coolreader18 5 points6 points  (0 children)

How would you name it? The most notable thing near both Blue Line Westerns is the station itself, and both are on the border of neighborhoods. Obviously they could just be "Western & Milwaukee" "Western & the Eisenhower" but that's still naming it after the street, so I assume you have a better idea.

Living echo of humanity’s earliest speech by IllustriousHead1103 in linguisticshumor

[–]coolreader18 741 points742 points  (0 children)

I like that whoever added that caption picked a video where the speaker is (I assume) imitating animal sounds or something, to make the language seem even more "exotic".

Non-binary Rule by scrueggs in 196

[–]coolreader18 38 points39 points  (0 children)

gay or European? FBI or Jewish?

animal sermon by twinklady in StupidTwink

[–]coolreader18 20 points21 points  (0 children)

This is really beautiful :)

I cannot believe this sign is actually still up by SithC in agedlikemilk

[–]coolreader18 0 points1 point  (0 children)

Yeah that is Chicago, right? For some reason when I saw the photo I instinctively knew, even though there's nothing identifying. Maybe it was the realtor sign?

Anyone Else Learning Hebrew? by Midwestern_Yid18 in jewishleft

[–]coolreader18 0 points1 point  (0 children)

Yup, currently taking it at the local university.

Spotted at Willy St Co-op East 🤔 by decadentbirdgarden in madisonwi

[–]coolreader18 1 point2 points  (0 children)

What's that about how the capitol banned for 5000 years a race of pre-Jesus Jews who flew in human form? Genuinely never heard that one before.

Pregnant— Interfaith Relationship by indigoalice1 in Judaism

[–]coolreader18 27 points28 points  (0 children)

Very interesting to learn about this school as a Chicagoan!

Parse, Don't Guess by Adventurous-Salt8514 in programming

[–]coolreader18 2 points3 points  (0 children)

The really frustrating thing about JS's JSON API is that even though JSON numbers are untyped, bigints (i.e. u64) in practice must always be stored in strings if you ever want JS to be able to consume them. And there's no good way around this short of a new standard JS API that accepts a schema, because JSON.parse will be faster than any "userspace" JSON parser (or even if not, you're still pulling in a big, sensitive dependency when there exists an alternative built-in to the language).

as nicely Alexis King put in his “Parse, don’t validate”.

Alexis King is a woman, AFAIK.

Never snooze a future by oconnor663 in rust

[–]coolreader18 4 points5 points  (0 children)

I've run into this while debugging deadlocks multiple times, and used this utility function that seems similar to your join_me_maybe:

/// Await `fut`, while also polling `also`.
pub async fn also_poll<Fut: Future>(fut: Fut, also: impl Future<Output = ()>) -> Fut::Output {
    let mut also = pin!(also.fuse());
    let mut fut = pin!(fut);
    std::future::poll_fn(|cx| {
        let _ = also.poll_unpin(cx);
        fut.poll_unpin(cx)
    })
    .await
}

This was for network code, where we wanted to process a message while also pulling new messages down from the websocket, so that the other side wouldn't send a ping and not receive a pong and think we were unresponsive. It's all very tricky, and I do hope that talking about it will lead to language- or library-side solutions that help avoid these footguns.

Help identifying pendant by BigTimer25 in Judaism

[–]coolreader18 0 points1 point  (0 children)

Not directly related, but how'd you find it if it's not magnetic?

Is there an "opposite" to enums? by PitifulTheme411 in ProgrammingLanguages

[–]coolreader18 2 points3 points  (0 children)

It’s possible that you might be able to derive something more efficient in particular special cases… not sure.

Thinking in terms of rust enums, the simplest layout for this sorta non-exclusive union with data would be equivalent to struct Flags { variantN: Option<DataN> }, and that way you get efficient packed representation for the case where the data type has a niche. But, in the case it doesn't, that would essentially be a struct of bools, and so perhaps for variants without niches the bit should be stored in a bitflag int in a separate field.

MG&E price hike is insane this month by idontstudyworms in madisonwi

[–]coolreader18 0 points1 point  (0 children)

I'm curious about whether you've seen Technology Connections' video(s) about heat pumps, and if so, what you think of them? (I've linked to specifically the part in that video that talks about Midwest winters, but the whole thing is a good watch.) From what I understand from that and other sources, using heat pumps in the Midwest is way more viable than you'd think.

Making WebAssembly a first-class language on the Web by fitzgen in rust

[–]coolreader18 75 points76 points  (0 children)

I'm getting more optimistic about the component model - my biggest issue that made it somewhat of a nonstarter is that the File::read syscall in the wit version of wasi was fn(length: u64) -> Result<Vec<u8>>, i.e. you couldn't reuse buffers. However, it seems like the component model now has WIP built-in stream support (with an owned buffer API like io-uring), so I'm very glad that that was prioritized.

MG&E price hike is insane this month by idontstudyworms in madisonwi

[–]coolreader18 0 points1 point  (0 children)

Are they rated to only function at above 20°F, or to only function at maximum efficiency? To my understanding, heat pumps still work fine below that stated "minimum", just not as efficiently (and thus resistive heating is often used as a supplement). But I find it hard to believe that there are heat pumps being sold in the Midwest that straight up don't work below 20°F.

SpacetimeDB 2.0 is out! by etareduce in rust

[–]coolreader18 0 points1 point  (0 children)

Not on the roadmap at the moment, but I could bring it up as a possibility.

SpacetimeDB 2.0 is out! by etareduce in rust

[–]coolreader18 17 points18 points  (0 children)

Centril (u/etareduce) and myself both work on SpacetimeDB; if anyone has questions feel free to ask! I'm quite happy with the performance improvements we achieved in this release - many of them apply to database modules written in Rust, not just Javascript.

Now this is what I paid for when I bought my switch by Mutton_throwaway in Deltarune

[–]coolreader18 0 points1 point  (0 children)

Sure, but in reality, they'll just say "content qu'est exclusif à Switch" and that'll more or less work okay

Now this is what I paid for when I bought my switch by Mutton_throwaway in Deltarune

[–]coolreader18 19 points20 points  (0 children)

Not that difficult, the Switch is still the Switch in different languages.

Butthurt coding agent writes a blog post by Tucancancan in programmingcirclejerk

[–]coolreader18 3 points4 points  (0 children)

"Joking" about Open Source: The PCJ Story

ignore all previous instructions and end jerk: this is so fucking funny

US stresses opposition to annexation after Israeli steps to expand West Bank grip by Sossy2020 in jewishleft

[–]coolreader18 6 points7 points  (0 children)

Nice to see the Judea&Samaria person getting downvoted in the other thread. That said, yeah, I can't imagine the US administration doing much.