Barbacamanitu

joined 1 year ago
[–] Barbacamanitu@lemmy.world 2 points 1 year ago

If you gave him an enema he could be buried in a matchbox.

That's what Christopher Hitchens said about Jerry Falwell when he died. It applies equally to trump.

[–] Barbacamanitu@lemmy.world 1 points 1 year ago

Lol nerd. Good one though

[–] Barbacamanitu@lemmy.world 2 points 1 year ago (1 children)

Woah. First I've heard of dioxus. Has anyone here tried it?

[–] Barbacamanitu@lemmy.world 25 points 1 year ago (11 children)

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

[–] Barbacamanitu@lemmy.world 1 points 1 year ago (1 children)

I started trying out JUCE. It's a framework for making audio plugins (VSTs). Though I think I'm going to give the rust solution another shot with Vizia.

[–] Barbacamanitu@lemmy.world 1 points 1 year ago (1 children)

If you can only hit one stud, you should hit it in two places vertically if possible. Bottom shelf and top shelf if you can. You can still add some anchors if you need, but that works for most things. I hang cabinets into single studs all the time just by screwing it in two spots. It will work as long as the shelf or cabinet is built well enough.

[–] Barbacamanitu@lemmy.world 2 points 1 year ago* (last edited 1 year ago) (3 children)

If those hooks on the top corners are a multiple of 16" apart, and they line up with studs, you could use some 2-3" screws through those into studs.

If they don't line up with studs, you could stain a piece of lumber close to the same color and screw it to the wall through the studs and screw the shelf down to that board. It would act as a ledge for one of the shelves to sit on.

There's no back so there's no easy way to directly screw this shelf to the wall. You'll have to get creative.

You could find the studs and put screws angled through one of the shelves into the studs. Screw from underneath the shelf if it's lower than eye level, above the shelf if it's above eye level. This is so you don't see the screws.

You could get realy fancy and use a pocket hole jig to make nice holes for your angled screws.

[–] Barbacamanitu@lemmy.world 1 points 1 year ago (5 children)

I decided to give up. Iced just isn't a mature enough gui framework and the alternatives don't look great either.

I restarted my plug in project using JUCE tonight and I already have the gui started. It's c++, so that sucks, but oh well

[–] Barbacamanitu@lemmy.world 1 points 1 year ago (1 children)

I don't have a minimal example yet because I haven't been able to get it working. The framework I'm using (nih-plug) uses a specific version of iced though, so I'm going to try to just model mine off their example. I don't think it uses the pure version.

 

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 36 points 1 year ago (7 children)

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

[–] Barbacamanitu@lemmy.world 1 points 1 year ago (1 children)

Yes. But even unorganized labor can stand up for themselves.

[–] Barbacamanitu@lemmy.world 9 points 1 year ago (3 children)

There would be no risk if everyone did the same thing. You're only replaceable if there's someone willing to replace you.

 

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 ›