[-] Barbacamanitu@lemmy.world 18 points 10 months ago

I get why the binary is there, but there really should be a simple way to force compilation instead of downloading a precompiled binary.

Serde is incredible though, so it can get away with basically anything it wants.

[-] Barbacamanitu@lemmy.world 38 points 10 months ago

I haven't seen any evidence he will ever face consequences. I hope I'm wrong.

[-] Barbacamanitu@lemmy.world 13 points 10 months ago

That's exactly what this is.

8
submitted 11 months ago by Barbacamanitu@lemmy.world to c/rust@lemmy.ml

Im trying to use iced for the gui in an audio plug in I'm building, but I keep seeing discrepancies in how to accomplish this.

On the iced github page, it says that to implement the Sandbox trait, you use this signature: fn view(&self), yet in the documentation it says to use view(&mut self). When I try to use the non-mut version, I get an error saying that it expects self to be mutable.

I also stumbled across iced-pure, which seems like a better idea. But I need to use a NumberInput widget from the iced-aw crate. Unfortunately, these widgets are not pure.

So how do I go about creating a gui using NumberInput? Do I need to create the widgets myself to make them pure? I'd like to use other widgets from the iced-aw crate too, so that wouldn't be ideal

Or do i have to use the mutable version of view? If so, why does github say to use non mutable? Is this specific to certain versions of iced? If the newer version of iced uses a non mutable view function, does that mean it's pure? Have the iced-pure changes been merged into iced?

6

Im trying to use iced for the gui in an audio plug in I'm building, but I keep seeing discrepancies in how to accomplish this.

On the iced github page, it says that to implement the Sandbox trait, you use this signature: fn view(&self), yet in the documentation it says to use view(&mut self). When I try to use the non-mut version, I get an error saying that it expects self to be mutable.

I also stumbled across iced-pure, which seems like a better idea. But I need to use a NumberInput widget from the iced-aw crate. Unfortunately, these widgets are not pure.

So how do I go about creating a gui using NumberInput? Do I need to create the widgets myself to make them pure? I'd like to use other widgets from the iced-aw crate too, so that wouldn't be ideal

Or do i have to use the mutable version of view? If so, why does github say to use non mutable? Is this specific to certain versions of iced? If the newer version of iced uses a non mutable view function, does that mean it's pure? Have the iced-pure changes been merged into iced?

[-] Barbacamanitu@lemmy.world 17 points 11 months ago

Everyone I know has to work multiple jobs and have roommates to be able to afford housing. What is this free time you speak of?

[-] Barbacamanitu@lemmy.world 45 points 11 months ago

No. The divide between the rich and everyone else is growing. We will be able to afford less and less.

[-] Barbacamanitu@lemmy.world 36 points 11 months ago

Yep. He is who the U.S. has become. We are an embarrassment.

[-] Barbacamanitu@lemmy.world 44 points 11 months ago

I'm a construction worker. I'm also an adult. If I'm working in the heat, I take a water break whenever I feel like I need one. If I need to go sit in my truck with the ac on, that's what i do. If anyone has a problem with it, they can fuck right off and find someone else.

All it would take is everyone adopting this same attitude for things to change. Water and rest breaks are taken, not given. It's your body, not your boss's. Take care of yourself. Solidarity saves lives.

[-] Barbacamanitu@lemmy.world 16 points 11 months ago

It's been Voyager for me.

[-] Barbacamanitu@lemmy.world 11 points 11 months ago

Pretty soon too. I love programming simulations of chaotic systems. One thing that they all seem to have in common is that there's a very fine line between fairly stable chaos and absolutely runaway crazy chaos. It's something that scientists call the edge of chaos. That's where our world and all life on it thrives. We have to be right on the knifes edge between order and disorder for complexity to emerge and stabilize.

Push the system slightly too far in one direction and things spiral out of control VERY quickly. It's not going to slowly get worse for decades.. it's going to slowly get worse then BOOM.. things will get really fucking bad really fucking fast.

[-] Barbacamanitu@lemmy.world 9 points 11 months ago

Nobody. I just keep it to myself and keep doing what I'm doing. Nobody cares how dudes in their 30s feel unless you're paying them to care.

[-] Barbacamanitu@lemmy.world 48 points 11 months ago

I do construction work in Alabama. I basically bitch and complain all summer long and hate every second of it. There's no relief unless you're in the AC. I've been thinking of ordering a liquid cooled vest actually. They look weird but I'll try anything. The humidity here is killer. Sweating doesn't help like it does in dry climates. Every time I walk outside my body shuts down and I have literally no energy. I think i had a heat stroke last summer.

If someone above me tells me to go work outside all day and doesn't offer me a substantial amount of money, I tell them to go fuck themselves. It isn't worth it.

[-] Barbacamanitu@lemmy.world 13 points 11 months ago

I got suspended once for using net send in the library. The message I sent was "hey". It went to every computer in the school.

56

I've subscribed to a handful of communities, but my feed is almost exclusively from this asklemmy. How can I see more from other communities?

view more: next ›

Barbacamanitu

joined 1 year ago