calcopiritus

joined 2 years ago
[–] calcopiritus@lemmy.world 5 points 10 hours ago (1 children)

Just because it is in a community with the name "shitpost" in it, doesn't make it a shitpost. This is definitely not a shitpost.

[–] calcopiritus@lemmy.world -5 points 1 day ago (1 children)

Showing up with 20 swat cars doesn't mean that there's 20 swat cars blindly shooting at the house.

There's no harm on just showing up. As long as they verify the claims before acting on them, I don't see the issue.

The only issue is that it is expensive and may break a door or something. Which is why the caller should be tracked, and made to pay for all of it.

[–] calcopiritus@lemmy.world 11 points 2 days ago (1 children)

Microsoft acquired GitHub way before LLMs existed.

[–] calcopiritus@lemmy.world 4 points 4 days ago

What if someone tells you something is gonna happen at 12?

For example: you can turn in your assignments until 12 tomorrow.

That confusion could lead to you failing your assignment if they meant noon and you thought midnight.

Time is not only for the present, it's for the past and future too. You can't look at the sky in the past/future.

[–] calcopiritus@lemmy.world 6 points 1 week ago (2 children)

That's not lazyness. Multiplication is always done before addition. No need for parenthesis for that.

[–] calcopiritus@lemmy.world 2 points 1 week ago (1 children)

I've heard people argue in both sides of "is 0 a natural number?". But I've never before encountered the "there are no natural numbers" argument. It's like flipping a coin and having it land sidewise.

[–] calcopiritus@lemmy.world 48 points 1 week ago (2 children)

Backdoors are features, not bugs though.

[–] calcopiritus@lemmy.world 8 points 1 week ago

The one on the right looks bigger though, it's just zoomed out.

[–] calcopiritus@lemmy.world 1 points 1 week ago (1 children)

That's called immediately mode gui (or imgui). It has nothing to do with think about elements or pixels. You do have elements, it's just that they're rendered directly (immediately) instead of stored.

You have a panel+border+text "primitive" drawing functions. Nothing is stopping you from creating a single function that calls all 3 of those. You probably should, since it's probably a common pattern. You could call it DrawBoxedText. There is no difference between a DrawBoxedText function and a BoxedText element with a draw() method.

[–] calcopiritus@lemmy.world 0 points 1 week ago

The first problem is a you problem though. There's nothing stopping you from dividing your global god-class into smaller ones. For example, you can have one state struct per windows. So windows wouldn't have access to the state of other windows.

The second problem is also the reason I don't often use imgui. Imgui is great for introducing UI to applications that would re-render every frame, like a video game. But for every other application, it feels like a waste. If I wanted to waste resources I would write it in python or JavaScript.

[–] calcopiritus@lemmy.world 2 points 1 week ago

I swear it's impossible to get to that menu via the start menu. Every time I find a way to make it the first result, they seem to change it after a few months. I'd say it's the hardest settings tab to get to.

[–] calcopiritus@lemmy.world 2 points 1 week ago

So if you are that dude with the mining rights, you would sell them at the same price before and after discovering the gold right? Since the discovery of gold hasn't changed its value.

view more: next ›