Barbacamanitu

@Barbacamanitu@lemmy.world

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Visual Studio 2022 debugger no longer works for programs written in D, I need an alternative

I use a bit weird development setup. Since VisualD, the official plugin for VS adding D language support, does not have dub support (which D's official package manager, and without it a lot of things get very hard to do, like dependency management), I have to use VSCode as my main code editor, build my code in command line, then...

Barbacamanitu,

That’s a tough situation. Are there many people who use D these days? I never hear about it.

Trump Incredibly Claims He Never Heard The Word ‘Mugshot’ Before He Had His Taken: ‘They Didn’t Teach Me That’ At Wharton (www.mediaite.com)

Rudy shouldn’t be going through this, Rudy didn’t do anything…but I look at some of the other people, now, I didn’t know a lot of those people. I don’t know that I even met a lot of those people, but some I do. And their lives are destroyed by these maniacs. These are animals, these are vicious animals that have...

Barbacamanitu,

That’s what I heard. That’s what people are saying.

Barbacamanitu,

Lol nerd. Good one though

Barbacamanitu,

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,

Why are you traveling to make a call? You could just call.

Barbacamanitu,

I deleted my 14 year old reddit account when they pulled their shit. Then I recently created a new account because I need to be able to get answers to specific programming questions sometimes, and lemmy doesn’t have the population of users that reddit still has. I generally post on both lemmy and reddit, but I almost always get more answers on reddit.

Barbacamanitu,

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,

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

Barbacamanitu,

Very cool. I’ll have to try it out. I just started using React, and I’m beginning to love it. React with rust sounds like heaven.

Barbacamanitu,

That’s exactly what this is.

Barbacamanitu,

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

Barbacamanitu,

No, I haven’t. He keeps getting away with shit.

Barbacamanitu,

Lol not a great name choice. Wish I would have thought of it though.

Barbacamanitu,

Ideally, all of these values should be represented in memory exactly the same way:

That would make the game hard to play, since you’d have to think about where your move would end up since it won’t stay on the cell you click.

I think you’re wanting to store them that way so that you can easily check for win conditions, maybe? But that’s the wrong approach. Store the cells as they appear to the player, in a 2d Array (or 1d Array with indexing math. That’s how I’d do it).

Then you can take advantage of symmetries in your win condition code, if you like. But it really couldn’t be much simpler than counting the matching cells in each row, column, and diagonal. That’s just 8 groups of 3.

Barbacamanitu,

Wtf is that website?

Also, modern languages aren’t as object oriented as in the past. Most have functional aspects and are multi paradigm languages.

Barbacamanitu,

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,

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,

How are you running the executable? From command line?

Barbacamanitu,

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,

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,

Right? What’s with that? It’s like everyone gets their crate to the minimal working state and stops workings on it.

Barbacamanitu,

Gotcha. I unfortunately decided to give up on trying to do this in Rust. I’m trying out JUCE since it’s industry standard. I’m already bashing my head against the wall with this C++ garbage. Hopefully the gui scene looks better for rust soon

Barbacamanitu,

Good luck with it. What’s it called?

Barbacamanitu,

So what! Who cares if it’s free? Write first, profile and optimize later. Not everyone cares about whether the conversion is free. Simply matching and converting to the right integer is fast enough.

Barbacamanitu,

For real. Unless he’s converting between results and ints millions of times a second, I think he’s going to be just fine using the idiomatic solution. That transmute shit I’d wack lol

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • megavids
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • JUstTest
  • All magazines