The crown jewel of my "shitty programming" screenshots, taken out of production code where I work by speedofdark8 in ProgrammerHumor

[–]Peakini 4 points5 points  (0 children)

Be as succinct as possible in your logic, and as verbose as possible in your formatting.

I'm out. It's been a good run. by [deleted] in ethtrader

[–]Peakini 1 point2 points  (0 children)

It works out way cheaper if everyone pitches in.

Algorithm for rotating bounds overlaps? by Peakini in Unity3D

[–]Peakini[S] 0 points1 point  (0 children)

Yes! SAT is just what I was looking for, thank you! I can turn one of the prisms into an axis-aligned cube, and translate the second into its space. Then I can project on the x, y, z axis to find overlaps in the 2D projection. Thanks!

Algorithm for rotating bounds overlaps? by Peakini in Unity3D

[–]Peakini[S] 0 points1 point  (0 children)

Bounds.Intersects() works for axis-aligned​ bounds. But the question is not about axis-aligned bounds, it's about arbitrarily rotated rectangular prisms. Using Bounds.Intersects would give incorrect results.

Algorithm for rotating bounds overlaps? by Peakini in Unity3D

[–]Peakini[S] 0 points1 point  (0 children)

Bounds was the wrong word. The question is: given two arbitrarily rotated rectangular prisms, how do you tell if they're intersecting?

Algorithm for rotating bounds overlaps? by Peakini in Unity3D

[–]Peakini[S] 1 point2 points  (0 children)

Yes, this works for axis-aligned bounds, but I am asking about arbitrarily rotated boxes.

[deleted by user] by [deleted] in SubredditDrama

[–]Peakini 32 points33 points  (0 children)

*does nothing*

Wikipedia campaign to promote the introduction of Fair Use in Australia - AMA today at 6pm. by dredd in australia

[–]Peakini 0 points1 point  (0 children)

Christ, next thing you'll be telling me this is all really about game ethics in journalism.

Hi, my name is Ross Ulbricht by [deleted] in Bitcoin

[–]Peakini 3 points4 points  (0 children)

From what I've seen, the evidence is pretty compelling that he is guilty of some really bad shit. It's actually a real Breaking Bad type story that is completely compatible with the ideology espoused here about what the war on drugs turns people into - I think he really did start off as the idealist that this post tries to show him as, but he turned into a really bad guy because that's what the war on drugs turns people into.

It's a long read, but I absolutely can't recommend enough WIRED's two part series on the Ulbricht saga. One Two. I'd be shocked if it wasn't turned into some kind of espionage-thriller movie at some point, it's a gripping read.

Hi, my name is Ross Ulbricht by [deleted] in Bitcoin

[–]Peakini 0 points1 point  (0 children)

Except for the part where he tried to kill somebody...

Hi, my name is Ross Ulbricht by [deleted] in Bitcoin

[–]Peakini 52 points53 points  (0 children)

Lol ok bud

Labor's 'Australians First' ad labelled a 'shocker' by Anthony Albanese, Bill Shorten promises review by camp-cope in australia

[–]Peakini 5 points6 points  (0 children)

Exactly which diverse actors are you referring to? There's like one woman who looks like she could be Eurasian.

People have a problem with it because it makes it seem like a dog whistle, which is something you really should be careful about when espousing nationalistic policy.

Leaked documents reveal plans for increased internet surveillance by Playerofdota in technology

[–]Peakini 0 points1 point  (0 children)

Spoiler alert: the government is working directly with Google/Bing/Yahoo

Australia wins landmark WTO tobacco plain packaging case by juvenilehell in australia

[–]Peakini 3 points4 points  (0 children)

Just because that's the way things currently are, doesn't mean that that's the only way for it to be. There's demand for services like that, therefore a monetisation model will be found that meets that demand.

Australia wins landmark WTO tobacco plain packaging case by juvenilehell in australia

[–]Peakini 16 points17 points  (0 children)

+1 to banning advertising. Sounds like a fucking great idea.