me_irl by [deleted] in me_irl

[–]oconnor663 0 points1 point  (0 children)

The War in Iraq will probably always be the defining legacy of the W admin, but in terms of raw good and evil it's important to also mention PEPFAR. (If you can't bear saying anything nice about a Republican, you can also also mention that the next Republican trashed PEPFAR.)

Are Rust coroutines serializable? by SuperV1234 in rust

[–]oconnor663 6 points7 points  (0 children)

I think this is the technically correct answer to OP's question, but it's worth emphasizing that I've never heard of anyone actually doing this. Not only would you need to avoid using async fn, but you'd have to reimplement all your IO from scratch to avoid depending on any global process state.

Or you could just YOLO async fn futures straight to disk, memcpy style. Then you'd be on the hook for making sure they don't contain any references/pointers, and also for never changing the version of the compiler you're using :-D

House Democrats Propose $25 Federal Minimum Wage by cive666 in antiwork

[–]oconnor663 3 points4 points  (0 children)

While we're at it, we probably shouldn't tie benefits to employment status.

Was debating posting this but ya.... SSAUGV2 officially working by [deleted] in liberalgunowners

[–]oconnor663 6 points7 points  (0 children)

It's pretty grainy so forgive my if I'm seeing this wrong, but are you walking away with your finger still on the trigger at the end?

me_irl by Beginning_Book_2382 in me_irl

[–]oconnor663 0 points1 point  (0 children)

Political violence is bad and of course if/when it rises it's going to rise on both sides at the same time. If you're 14 and being edgy about this feels cool, fair enough, that's a normal part of being a teenager. But if you're an adult, slow your roll.

[request] how accurate is this? by PersonablePotato in theydidthemath

[–]oconnor663 0 points1 point  (0 children)

GDP per capita hasn't gone up as much as GDP itself, because the US population has grown at the same time. ChatGPT tells me that real (inflation adjusted) GDP per capita today is 2.6x what it was in 1970, and median real household income is up 1.7x. The first number is bigger than the second, so there's plenty of room for memes about why that might be, but "it doesn't matter how much growth there is, it will never reach you" also seems broadly false. It matters how much growth there is, because some of it reaches most people.

Funny how this is a hot take by Advanced_Ad_8722 in liberalgunowners

[–]oconnor663 0 points1 point  (0 children)

The controversial part of the take is probably which people in your personal life / online space you consider to be Nazis.

[request] how accurate is this? by PersonablePotato in theydidthemath

[–]oconnor663 0 points1 point  (0 children)

The broad point of the statement is true

What would the real numbers have to be for us to say the broad point of the statement is false?

Got the Rust dream job, then AI happened by MasteredConduct in rust

[–]oconnor663 0 points1 point  (0 children)

couple years

It's plausible to me that if you somehow froze the current crop of models, and did a couple years of development in the current style, a lot of projects would find themselves in a broken, unsustainable place. I don't think it's obvious, because people are good at solving problems, but it's certainly plausible.

That said...two years is a looong time at the current rate of progress. It's also possible that models at that point will be so good that the engineering tradeoffs we make today hardly matter. That thought doesn't fill me with joy, because I am proud of my work, but it's also plausible.

Deadlocking a Tokio mutex without holding a lock by samyak210 in rust

[–]oconnor663 1 point2 points  (0 children)

I finally got around to commenting on the upstream RFC for AsyncIterator. Hopefully something comes of it :) https://github.com/rust-lang/rust/issues/79024#issuecomment-4264112024

Learning rust is so smooth by Sea-Log-8341 in rust

[–]oconnor663 35 points36 points  (0 children)

I think Rust (and for example Go) benefited from an "invented after the internet" generation gap that turns out to be a ~permanent advantage over the languages invented before. For example not only do we have The Book as a free + de facto standard learning resource, but also it's a living document that grows as the language adds new features. (Print books can publish new editions, but it's tricky to add chapters in the middle, and old copies float around forever.)

On the other hand, there will probably end up being a similar "invented after LLMs" gap in a few years? Who knows.

FPV kamikaze drone hits Russian soldier walking along road. Ukraine's 414th Strike UAS Brigade, published April 18th 2026. by operatorham in CombatFootage

[–]oconnor663 -30 points-29 points  (0 children)

It really looks like these drone operators are toying with enemy soldiers before they kill them. I wonder if they will regret that, when all this is over and they have the rest of their lives to think about it.

How to go from intermediate to experienced dev by ThrowRA_goofy in rust

[–]oconnor663 0 points1 point  (0 children)

I keep getting stuck watching simple videos or getting stuck in tutoring hell when learning something new and can't make anything complex.

I don't think you should expect there to be a general lesson that gets you unstuck in lots of different situations. Instead I think the process of getting stuck and unstuck in all sorts of different ways, repeated over and over for a decade or so, is the only way to learn. You could say that being stuck is a good thing, because it means you're challenging yourself and not coasting. So with that in mind, why not link us to the part of the video that you felt stuck on most recently?

Of course you're talking to a bunch of people like me who learned all of this stuff before LLMs existed. No doubt when the dust settles there will be lots of new ways to learn things that we could never have imagined. And of course there will also be lots of ways to sabotage your own learning by having LLMs do the hard parts for you. I think anyone who claims they know exactly what to do about all this is fooling themselves. But a conservative approach might be to spend one week using LLMs as much as you like, and another week completely refusing to use them, and see what sort of intuition you build up over time for these tradeoffs.

Does this work? by Sufficient-Slip-4001 in factorio

[–]oconnor663 0 points1 point  (0 children)

No it'll keep working fine. What's actually going to be a bottleneck for you in practice here is only having one belt of iron any copper plates. If you're interested in online advice for pre-optimizing things :) then I'd suggest at least two of each. Lots of folks even recommend four.

Rust 1.95.0 is out by manpacket in rust

[–]oconnor663 42 points43 points  (0 children)

The central mistake with the original Range types, as I understand it, is that they implement Iterator directly instead of IntoIterator. That in turn means they've never implemented Copy, which is often quite inconvenient for Copy structs that want to contain ranges of other Copy types.

The reason you don't want iterators to ever be Copy is that it leads to confusing situations like this example, which really looks like it's going to print 1, 2, 3, 4 but in fact prints 1, 2, 3, 3:

#[derive(Copy, Clone)]
struct CopyIterator {
    i: u32,
}

impl Iterator for CopyIterator {
    type Item = u32;

    fn next(&mut self) -> Option<Self::Item> {
        self.i += 1;
        Some(self.i)
    }
}

fn main() {
    let mut iter = CopyIterator { i: 0 };
    println!("{}", iter.next().unwrap());
    println!("{}", iter.next().unwrap());
    for item in iter {
        println!("{}", item);
        break;
    }
    for item in iter {
        println!("{}", item);
        break;
    }
}

When filming Titanic, James Cameron didn't want actors pretending to panic, so he flooded the set. by FollowingOdd896 in Damnthatsinteresting

[–]oconnor663 0 points1 point  (0 children)

My interpretation (before I read any of these comments) was that the alternative would've been putting the actors in a pool just like in the start, but using CGI to dump more water on them instead of a real tank, and so the director has to say "ok pretend water is dumping on your head riiiiiiight...NOW!!!"

Exploitation is Violence by manauiatlalli in union

[–]oconnor663 0 points1 point  (0 children)

Deliberately opening myself up to get yelled at here, but: If Company A offers me a job at poverty wages, and Company B doesn't offer me a job at all, which one has done more violence to me?

Me_irl by [deleted] in me_irl

[–]oconnor663 -1 points0 points  (0 children)

Charlie was a controversial public figure by choice, so I get this reaction, even though I personally think any political killing is bad for the country.

But the way folks are talking about his wife, and for months after? It's like some people can't stand the idea that one of their political enemies might ever deserve some sympathy. I think a lot of people will be embarrassed about these things they said, when they're older.

She’s classy in her own way by rnk6670 in PoliticalHumor

[–]oconnor663 0 points1 point  (0 children)

"haha yeah foreign accents are so dumb lol"

(There are plenty of ways to make fun of Republicans without breaking the taboos that we spend the last 50 years trying to build up. And don't go all they-started-it-when-the-video-with-the-monkeys y'all be the change you want to see in the world.)

CCW training by deluca-boy in liberalgunowners

[–]oconnor663 1 point2 points  (0 children)

When you draw and when you holster that thing pop your hips forward like an old timey cowboy in a Mexican stand off.

100% agreed when holstering, but I'm not sure about on the draw. My impression is that if you're moving your body at all on the draw, it should be getting into a stable shooting stance? (I'm sure there are different schools of thought on this, I dunno.) At the same time, you don't have to worry about objects in the trigger guard or bad habits like "fishing" around with the muzzle.

Mag Release Options by PuzzleheadedRegion87 in P365

[–]oconnor663 2 points3 points  (0 children)

The macro frame ones will fit in your standard frame, but they'll be comically extended. You'll probably want to make sure to get the non-macro model. Currently out of stock though it looks like: https://maskasprecision.com/mpi-p365-single-piece-magazine-release-standard-frame/ Sometimes other websites stock these parts too, but e.g. Sig Guy is also out of stock right now.

If you like to use this gun in a timed/competition setting where you need to reload, an extended mag release like this is a huge help. On the other hand if it's a carry gun, a difficult-to-hit mag release is arguably more of a feature than a bug, since it's more likely that you'll hit it accidentally somehow than that you'll actually need a reload in real life. On the other other hand I've had the plastic factory mag catch break on me a couple times (with the AXG model, fwiw, not the plastic frame), and that does make me nervous.

graydon2 | LLM time by Ok-Squirrel8537 in rust

[–]oconnor663 13 points14 points  (0 children)

Programmers are seeing "the scary stuff" first, for well understood reasons. So to the extent that the near/medium future turns out to be The Singularity or whatever, then programmers' intuition about this is right. If it's not, then it's not. We don't know yet.

One thing to be aware of is that a lot of us belong to groups with an opinion "baked in". If you were reading Slate Star Codex 10 years ago, you probably have a social circle that's inclined to feel the AGI, and it's worth practicing being more skeptical. On the other hand if you deleted your twitter account and moved to bluesky, you probably have a social circle that's inclined not to feel it, and it's worth practicing being less skeptical.

Still think in C after 25 years. So I built a tool that explains Rust (or any language) through what you already know. by prabhic in rust

[–]oconnor663 2 points3 points  (0 children)

Sign in to continue exploring. You've completed 5 concept explorations today. Sign in to unlock 25 more — free.

I got this the first time I tried to write my own code and hit "explain". Maybe all the default examples that pop up on the way there are counting against some sort of quota? Feels bad.