@freemo you are the one that just now said that just cause someone says it's not meant for something doesn't change what it is. You take a military design tweak a thing or two so that some law does not exactly apply to it and now all of a sudden it's a whole different thing. It's absurd. Yeah sure it's an obvious disadvantage no military would want, but that hardly changes what the thing is, and I know what hunting rifles look like, those were optimized for their purpose long before AR-15 or M-16 were invented.
@freemo nothing arbitrary about that, these are items designed and built for specific purpose - to wage a war. You can't wage a war with drain cleaner or trucks, even medieval weapon systems will beat that, especially in a city. You don't ban weapons so that one person wouldn't be able to do one stupid thing, you ban them to prevent criminal organization from waging all out wars against each other and the police. After achieving world piece and ending all wars, you might be able to design something that could be a weapon without it becoming a weapon, but meanwhile, if it can be a weapon of war it will be tried, tweaked, produced and marketed as a weapon war.
@khird I'm writing my own here https://git.qoto.org/namark/libsimple_geom
and the other usual places.
In my case this is emergent behaviour from generalizing basic vector ops to vector/matrices of any shape with support of usual c++ style arithmetic type promotion, nice to know it's a thing! This particular "fix" is not commuted yet though.
@mc nah, nothing too sophisticated, it's a matrix, with corresponding elements taken from the two vectors and added. Similar to matrix multiplication (3x1 and 1x3) expect with addition. Looking at the whole part and the fractional part of the resulting numbers separately you should see the original column and the row repeating across the matrix.
Long-ish
@MutoShack@functional.cafe
underscore_case? where do you learn these things? It's snake_case *snake sounds*
@AbbieNormal
what's a column vector plus a row vector? huh? :v
huh?! :V
(>-.-)>
vector
(
vector(1),
vector(2),
vector(3)
)
+
vector(.1, .2, .3)
||
vector
(
vector(1.1, 1.2, 1.3),
vector(2.1, 2.2, 2.3),
vector(3.1, 3.2, 3.3)
)
@zstark @lucifargundam starcraft 2 sucks, blizzard had no freaking clue what made the first game good, so they just made strategy mod for DOTA.
I challenge both of you to a 1v1 broddwar, but first I challenge you to set up zerotier and get the latest standalone version of broodwar without handing over remote control of your local systems to blizzard.
@lucifargundam imagine not watching ASL and ArtosisCasts today
@tripu that's right you wheelchair freaks, you don't get to watch tennis, and in general better self reflect and go lie in a ditch somewhere and die, no place for the likes of you in our perfect society
now if you have been programming for a while you might have noticed that comparison is just a special case of subtraction. We have a subtraction here and clamp has got to have a comparison with sameish parameters in it, so lets expand it and see if we can notice any patterns:
upper =
B.upper < A.lower ? A.lower :
A.upper < B.upper ? A.upper :
B.upper;
offset = upper - B.upper;
lower = clamp(B.lower + offset, A);
return {lower, upper};
We have 3 cases, let's consider what upper and hence offset would be in each
B.upper < A.lower ? A.lower
offset = A.lower - B.upper
A.upper < B.upper ? A.upper
offset = A.upper - B.upper
otherwise B.upper
offset = B.upper - B.upper
the parameters of comparison and subtraction are the same, and in the last case subtraction is unnecessary, it's just 0, so we can do the subtractions upfront and then compare the results
offset_lower = A.lower - B.upper;
offset_upper = A.upper - B.upper;
offset =
offset_lower > 0 ? offset_lower :
offset_upper < 0 ? offset_upper :
0;
upper = B.upper + offset;
lower = B.lower + offset;
lower = clamp(lower, A);
return {lower, upper};
ok, does it look like something now?
no, what a waste of time and effort
@trinsec not sure what you mean by indie, independent? small? Sounds like a meaningless buzzword. Anyway it doesn't matter, what matters is what they are doing and what they are aspiring for. They are selling snake oil and they are aspiring to establish an international monopoly on their own brand of snake oil. They support and justify the existing industry and culture of exploitation, they bank on false advertising and ignorance, instead of going against it and establishing an honest business. You are so deeply entrenched in the status quo, so invested in this illusion that you are telling me now that I'm trying to rob them, when it's them who are robbing people not only of their money but of their freedom.
I know how the world works, you may rob and exploit, kill and plunder and get away with it cause of various circumstances, even be praised for it, but in no circumstance you'd get to say that what you did was right. Its wrong, deal with it as you may.
@trinsec where was your "I don't play videogames all day" objection few toots ago? You accepted my premise and built up narrative and now you're backing down.
Proprietary software is snake oil, if it was simple guilty pleasure self harm kinda thing I would give it a pass, but you're also doing free advertising for em, so the angry stallman verdict stands.
@trinsec that you can't get anything done cause you play videogames all day? That was like the subject matter, wasn't it? Them being proprietary add an additional angry stallman to your sentence ![]()
@trinsec you tell me why do you have some tone stuck in your head? I can't tone in text... the smiley is judging you harshly however.
I wouldn't know about forks I just discovered it, and it's a fork itself.
@iron_bug yeah the red ones seem like they might be good in a soup or something but by themselves a bit disappointing. High five turtles!
@trinsec not me, I've recently had my fill of shattered pixel dungeon, it was delicious, and ima about to open a feature request issue to enable an awesome synergy for one of the player characters, now who should be jealous?
@trinsec you just play proprietary videogames all day >:\
@vital876@mastodon.social no idea, don't know enough about the instance or MCU :0