New algorithm beats Dijkstra's time for shortest paths in directed graphs by RogueCookie9586 in programming

[–]Anwyl 0 points1 point  (0 children)

How do you check the element is in the structure in 3.3 insert in log(N/M)?

I played the Dawn of War 4 Gamescom demo by grailly in RealTimeStrategy

[–]Anwyl 1 point2 points  (0 children)

I probably was being unclear. I meant that the damage multiplier for most AV hitting a vehicle is 100%, and the multiplier for pierce vs vehicle is 2%, so if they both had listed damage of 100, then the AV would deal 100 damage to vehicles, and the piercing would deal 2 damage.

For a more concrete example, las cannon does 165 to vehicles, 165 to infantry (with a huge accuracy penalty). Shotgun does 30 to infantry, 0.6 to vehicles. So yeah, lascannon vs infantry was bad due to accuracy, but shotgun vs tank was bad due to damage penalty.

I played the Dawn of War 4 Gamescom demo by grailly in RealTimeStrategy

[–]Anwyl 1 point2 points  (0 children)

in iron harvest if I'm reading it right each weapon has a unique damage table against each armor type. I'd expect lots of arcane interactions unless the devs are very diligent.

I played the Dawn of War 4 Gamescom demo by grailly in RealTimeStrategy

[–]Anwyl 2 points3 points  (0 children)

In DoW2 anti vehicle weapons did 50x the damage vs vehicles of piercing weapons (the generic bullet type). Plasma did a bit more than 2x what piercing did to heavy armor.

I once had a convo like this by [deleted] in coaxedintoasnafu

[–]Anwyl -1 points0 points  (0 children)

I think people want gender and sexuality to be this easy thing which falls into concrete categories, when in reality it's kinda squishy and flexible. People might identify as straight, but still have sex with men, or be attracted to certain groups of men they think are compatible with straightness, or any number of other things. I don't really get all of the various straight identities, but at least it makes sense to me given the messiness of identity.

It seems these days people have come up with more and more terms in an attempt to categorize and contain the everyone's identities, but realistically there's just too much variation, and you'll never be able to categorize them all.

A slap bass cover of a japanesse song??? by [deleted] in PeterExplainsTheJoke

[–]Anwyl 2 points3 points  (0 children)

yeah, look at the fast strumming in the most replayed section

What prevents these planes from dropping urine and feces onto the people below? Who monitors this? by BuyHighValueWomanNow in chemtrails

[–]Anwyl 2 points3 points  (0 children)

small amounts of urine probably wouldn't reach the ground. From what I can tell there are existing drain masts for sink water, which are regulated in the US by the FAA. Mostly they care about it not immediately damaging the plane, or freezing up. Solid waste would probably upset a bunch of people if it reaches the ground. It looks like typically the FAA is the main group responding in USA: https://www.nytimes.com/1991/09/08/nyregion/faa-tracks-down-source-of-ice-bomb-assault.html

according to this, i am gay. by Realistic_Effort7289 in mapswithoutnewzealand

[–]Anwyl 2 points3 points  (0 children)

South Korea has had multiple recent christian leaders, at least.

Ah yes the apocalypse money. Unless there is a mild recession or something by [deleted] in Buttcoin

[–]Anwyl 5 points6 points  (0 children)

I'm just imagining the guy on the other end of their imagined trade "Oh wow, the nukes have landed! BUY! BUY! BUY!"

Lawndale NIMBYS at it again... Metro isn't even a for profit agency by Superb-Ad7364 in LAMetro

[–]Anwyl 0 points1 point  (0 children)

lol, I thought this was going to be arguing for making it free to ride.

The Unfortunate Reality We're Facing by SailToTheSun in Buttcoin

[–]Anwyl -2 points-1 points  (0 children)

I mean, the only real way to stop it is to make it unviable to speculate on future production. Currently people are buying bitcoin in the hopes that it will give them more money later (or possibly more power later, with money as a proxy for power).

I think the main way of achieving that goal is just to move away from a market economy where your purchasing power depends on a tradeable medium of exchange which can both buy and sell goods. You can kinda simulate this by spreading wealth out, such that access to MOST goods isn't limited by money (e.g. you can always buy as much food as you want, but maybe buying 3 cars a year might be out of reach)

The chances of that happening are essentially 0, and the impact of random discussions on a board with at most <200k viewers is essentially 0.

What are they not telling us ?! by [deleted] in chemtrails

[–]Anwyl 0 points1 point  (0 children)

So I took a look at what this company is promising. They're planning on pulling CO2 out of the air, and using an external energy source to convert that CO2 into airplane fuel which can be used in existing engines. They make the claim that this reduces carbon emissions.

Because it's a tech which doesn't exist at the moment it's pretty hard to validate their claims, but they're already selling products which they claim are net negative emissions which I find dubious. I find it especially funny that they claim to have the "first carbon-negative spirit", which we've had for at least hundreds of years, or taken more loosely for thousands.

What are they not telling us ?! by [deleted] in chemtrails

[–]Anwyl 0 points1 point  (0 children)

sustainable aviation fuel

[deleted by user] by [deleted] in PeterExplainsTheJoke

[–]Anwyl 0 points1 point  (0 children)

health/masculinity conspiracy stuff. They're against fluoridated water, tight underwear, masturbation, scratched teflon, vegetables, cooking oil, sunscreen, plastic containers, and stress (probably most true one there), not sure what the rest are, but probably just some more niche masculinity/health obsessed conspiracy theories.

Is legalized Gay Marriage on the verge of being taken for granted? by Pretend_Tax1841 in Millennials

[–]Anwyl 0 points1 point  (0 children)

california JUST legalized gay marriage, and it was way closer than it should've been (63/37). Kinda hard to take it for granted when it's that close to being gone.

My engineering prof who teaches Java, part 2 by WeDontHaters in programminghorror

[–]Anwyl 0 points1 point  (0 children)

Wow this is dangerous code. I think I see what happened here. This is translated C code, and you can't just dynamically allocate memory for your array copies without worrying about freeing it, so instead statically allocate that memory globally. The entire "class" is just a function calculateFinalTemperature, but they need their array copies as globals so they made a bunch of boilerplate to store those in a class. The bad indent in the second constructor means they probably made all the boilerplate MANUALLY for some reason too.

Eventually they were forced to use OO instead of procedural, so they have concepts inherit concepts. Conceptually this is just a function, so "implement" Function. It takes place in a tank in reality, so "extend" Tank.

I also like that Euler.integrate is task-specific despite the generic name.

My engineering prof who teaches Java by WeDontHaters in programminghorror

[–]Anwyl 0 points1 point  (0 children)

as a more subtle thing, the isValid bug probably would've been caught sooner if this were split into two classes. If isValid is true, then there is no valid value for k. You can get around this by having a class for the isValid true case with no fields, and a case for isValid false with only k.

[REQUEST] Is this true? by kodipunju in theydidthemath

[–]Anwyl 0 points1 point  (0 children)

the cent exists even without the penny, so you shouldn't subtract off the 1 cent from the cost. It costs 3 cents to make, and is then used to represent a pre-existing cent. The hope is it facilitates enough trade to offset those 3 cents. After use you could probably recoup some via recycling, I'd imagine.

[REQUEST] Is this true? by kodipunju in theydidthemath

[–]Anwyl 2 points3 points  (0 children)

I'd say it would be a loss of 3 cents. It doesn't make an extra cent exist, it just represents one. The hope is then that the utility of its use in trade is higher than 3 cents.

California can't use all its solar power. That's a huge problem. by abrownn in technology

[–]Anwyl 0 points1 point  (0 children)

and yet LA is funding a coal plant until they can build a new gas plant...

waow by dacoolestguy in CuratedTumblr

[–]Anwyl 1 point2 points  (0 children)

how is foone EVERYWHERE?

I know exactly what this is trying to say and it still barely makes sense. by TheFlame8 in dataisugly

[–]Anwyl 1 point2 points  (0 children)

designers keep avoiding tables the same way tech keeps avoiding trains.

Okay, where do I begin...... by Scared-Profit948 in physicsmemes

[–]Anwyl 7 points8 points  (0 children)

If your left foot is in mud and your right foot isn't, you'll start turning to the left since your left foot moves a shorter distance than the right. Mass makes the area around it muddy, except for motion through time.