« first day (1782 days earlier)      last day (3171 days later) » 

3:06 PM
Rbrb :)
 
If your for loop completes without ever entering the if abs(... block, then nothing gets returned. — Kevin 1 min ago
I was going to put that in a comment, but I figured it deserved to be an answer. ;)
 
Yep, it's possible that that's the answer.
I didn't want to risk posting it and getting the reply, "OK, so what should I return in that case?"
Because then I'd actually have to read the code and try to understand the business logic
the for row in reader: block is also highly suspect, so we're a long way from the OP saying "it's working now, thanks"
CORRIDOR_CODE_RB FRFPOST TRFPOST DIR C000001E 0 667.145996 I C000001E 667.145996 0 D — hollow_Victory 17 secs ago
Uh... huh.
PM, you broke the OP.
 
@Kevin The OP seems to be a bot. Ask him what is 0.1+0.3. :P
 
DSM
I wonder if you could write a bot to post almost-sensible questions and give almost-believable responses to questions. We could have a competition, and give each other points for "most interactions without a downvote" etc.
Morning cabbage.
 
@Kevin I'm slightly stunned. I've seen OPs putting data into the question comments before, but never into an answer comment.
 
3:17 PM
Last week there was an OP that was commenting on my answer by making edits to his original question saying "in response to Kevin, ..."
Which was lovely because of course I'd receive no notification of this, and then he'd write an actual comment on my question 24 hours later saying "so, have you considered my comments?"
 
Modifying the question in response to comments can be a reasonable thing to do, but I guess it would look a bit weird if the OP did it like that... And then there's the lack of notification issue.
 
Oh well, I still prefer weird communication over stony silence.
 
Speaking of which, hollow_Victory seems to have clammed up. Which could be a good thing. :)
 
That's fine if recursion is not a good idea. I have this program in a non recursive format that works great. I just thought it would be worth a shot — hollow_Victory 1 min ago
Looks like he's decided upon a different approach.
 
I'm very perplexed as to what new programmers think sometimes
 
user559633
 
user559633
Go to 50 seconds to how they see things.
 
@Kevin I guess it's fair enough for him to explore a recursive solution. And having a trustable non-recursive solution to test it against is helpful. But it's getting too late for me to attempt to understand his code tonight.
 
Sharing the non-recursive version might have been useful. But horse, barn door, etc
 
I'm afraid so. :)
rhubarb
 
rbrb PM
 
3:44 PM
@vaultah Do you have something against me? You were involved in closing, reviewing the edit AND closing this question. Jesus christ. — user5292516 14 secs ago
lol
 
> I'm trying to compile a simple "Hello, World!" program but it's giving me this weird S symbol.
:D
 
user559633
What the hell is going on there? Is that a troll or is the asker not posting g++ errors
 
Particles are interacting with other particles in their light cone. This has made a lot of people angry and is widely regarded as a bad move.
 
DSM
Either the poster is trolling or someone has done an admirable troll of him.
 
user559633
Or somehow the write bit got removed and he's not posting the linker error complaining that it can't write to the file
 
3:53 PM
I'm really confused there. Shouldn't it be closed non-reproducible if anything? Or is there some kind of deliberate troll meme that I'm not aware of?
 
DSM
Give me a few minutes at his terminal and I'll figure out the problem, but sorting it out remotely doesn't sound like much fun.
 
DSM
(assuming he's the victim of the trolling, at any rate)
 
I'd have thought someone might have suggested doing which g++ to him
 
It would be an incredible prank to break into your university's computer system and modify all the C++ compilers so that the resulting executables print that weird S symbol instead of "Hello World"
 
3:54 PM
stackoverflow.com/q/32331758/400617 too broad, see comments on my answer
 
user559633
I really need to get to 10k.
 
A great one, TBH. Especially as he claims he's re-installed.
 
DSM
I think I mentioned once I was planning to prank an officemate by breaking his compiler so that every now and then it would give the wrong answer but didn't go through with it (although I did show him what I had planned).
 
@tristan you want to see the original? Have a look at the suggested edit that's linked in the comments
 
user559633
@Kevin Or gcc, g++ could just be PATHed for all users to a simple shell script that ignore switches and command line arguments and just write that stupid "S" to the desired file
 
3:55 PM
@DSM That would be fun.
 
@tristan t-... that actually seems pretty accurate
 
I had once created python as an alias for gcc.
Not many people could get the error :D
 
user559633
@JRichardSnape Oh, I saw it, I meant more in general that I should get to 10k because that's the next permission that matters for me
 
Yeah - me too - I'm sorta going for that now
 
user559633
@BhargavRao I once put a line in everyone's .bash_profile that would delete a random inode
 
3:56 PM
I also plan to sneak up on @DSM'a rep to answer ratio. That may well be unfeasibly hard, though
 
SO devs, please make "soft serve ice cream" the privilege you gain at 30k, thanks in advance
 
Unless I can ask a stonking question or something
 
Whether you install a machine in my office, or it just comes out of my internet tubes, makes no difference to me.
 
user559633
@Kevin It's SO, so you'd have to go behind the counter and make your own ice cream and then pay for it anyway.
 
user559633
I wouldn't trust the latter .___________.
 
3:59 PM
The walls are bleeding! Is the building built on top of a cemetery? Wait, no, this is strawberry syrup. Kevin must have hit 30k rep.
 
user559633
Yeah, let me just trust ice cream out of a tube that is controlled by a stranger on the internet. This will be a decision that I will not regret.
 
DSM
I'm about 3k from 100k. I'm thinking I might use that as a good break to significantly downgrade my SO time and switch to a new hobby.
 
Maybe Brita has an ice cream filter...
 
@tristan I have no idea whether this reference is UK specific and it's probably "people with small children" specific, but that sounds exactly like Duck from almost naked animals He's my favourite anti-hero from the current crop of children's cartoons I have to watch.
 
4:20 PM
I am aware of that show but have never seen it.
 
4:36 PM
Disaster has struck. The cafeteria has a continuous "buy one, get one 50% off" promotion for potato chips, so some days I buy two bags, and then buy zero bags the next day. I thought I bought two bags yesterday, but I didn't, so now I have no chips to eat.
Truly, my suffering is greatest.
 
rbrb
 
@Kevin is...is there anything we can do to ease your suffering?
 
@Ffisegydd please do... the needful
 
Does this help? If you lick your screen, can you taste it?
 
Tastes a bit dusty
TIL that Lay's has region-specific name variants.
 
4:43 PM
Indeed. I intentionally chose Walkers to provoke this investigation within you.
 
Oh those wacky countries-other-than-America
 
I bet you don't have Gary Lineker selling them though.
 
Can't they see that our way is best? single-syllable chip manufacturers and driving on the right side of the road and pancakes onna stick?
 
user559633
Oh man, walkers chips take me back...
 
Why doesn't "Walkers" have the apostrophe like "Lay's"?
 
user559633
4:45 PM
..to like 7 months ago when I ate a bag of walkers chips
 
Why can't I spell "apostrophe"?
 
user559633
@davidism because their target audience is people that eat garbage until they require the use of a walker to move along
 
Probably the same reason "Dr Pepper" doesn't have a period after "Dr"
As a result, I insist that it be pronounced "durr Pepper"
 
user559633
It really should be DR Pepper as the "dr" in Dr Pepper is an acronym
 
I was going to praise Mr. Pibb for its proper period usage, but apparently it's been renamed to "Pibb Xtra"
 
4:48 PM
It's actually DrrrDrrr Pepper, but they didn't want to frighten people too much.
That bottle was made for me!
 
I get that reference.
 
user559633
Dr Sadness's Original Corn-Based Liquid Solution
 
I do not, therefore it's a stupid reference.
 
Amigara Fault is pretty good but I think Ito's best work is his semi-autobiography focused on his cats.
Which, despite its subject material, is as creepy and unsettling as any of his actual horror stories.
 
Kickstarter is dangerous.
 
user559633
4:51 PM
@Ffisegydd KickSartre is mopey and tedious.
 
You're mopey and tedious.
 
I haven't heard of any big Kickstarters lately.
 
user559633
You sound like my exwife
 
Has the Internet's youthful idealism been crushed by the reality of manufacturing difficulties yet? I'll wait.
 
user559633
4:52 PM
lmao 3mm for R&D for several corners of fabric sewn together
 
"totally dialed" isn't going to happen. Stop trying to make it happen.
 
user559633
When I finally give in and throw myself off a bridge, the last thing I'll think on the way down is "thank god i don't have to exist in a reality in which kickstarter campaigns exist"
 
user559633
"It looks totally dialed, with zero slop." okay, one of us is having a stroke and i know it's not me because my blood is too thin
 
Reminds me of a story on "This Rocketship Will Crash" where a hobo kickstarts his life and promises to kill himself if the goal isn't met. The ending is unclear yet upbeat.
 
user559633
>"programmer tell me whats going on come on man....? your so smart come on tell me what you know"
 
4:56 PM
Yeah the campaign was a bit naff, but I like the bag.
 
user559633
i want to make a kickstarter campaign for a "bag of holding" with a bunch of hidden pockets to hide drugs in
 
I've indiegogo'd jolla tablet
still waiting...
 
The most appealing kickstarter I've seen so far is for the kilogram of solid tungsten. Seems pretty difficult to have your expectations disappointed with that.
Ooh, I could paint some pips on it and use it as a d6 of doom.
 
hey where can I buy that :d
 
That'll show up my mtg-playing friend who uses two inch long dice.
 
5:04 PM
@tristan is there any particular reason you dislike kickstarter so much? (Out of genuine interest)
 
@AnttiHaapala The "preorder now" button takes you to their website, where you can regular order.
 
$300 for a kilogram of W
 
I only worry that the sharp corners will put a dent in my cards.
How heavy is a kilogram? Everybody name something that weighs a kilogram.
 
silly English speaking countries...
every sensible language calls it by name Wolfram/volfram/whatever
 
I also don't know how much a pound is, other than "less than one percent of a me", which isn't useful
 
5:06 PM
except the English who take the Swedish name tung sten, but even the Swedes don't call it by that.
@Kevin kg is easy, it is 1 liter of water/milk/juice.
if you ask how much is 1 liter
then I'd say, just a dm3
then if you'd ask how much is dm³
 
@AnttiHaapala Yeah I can't defend an element name whose initial doesn't match its atomic symbol.
 
then I'd say, the volume of 1 kg of water in 4C
@Kevin like "sodium"? is that like the neighbor of gomorrium
 
Yes, and iron should go back to "ferrum"
 
How can you do an or quantifier in a regex? Eg, [a-fA-F]{3|6}
 
Don't think you can or a quantifier.
I guess you could do ([a-fA-F]{3})|([a-fA-F]{6}) but that's hardly ideal
 
5:13 PM
Could you do something like [a-fA-F]{3}| KEEEEEEEVVVVIIIIIN!
 
Capture group works... ^#([0-9A-Fa-f]{3}){1,2}$
 
@corvid do... not... abuse... capture... groups
use (?:)
also are you sure that 4-5 shouldn't do? is this input validation or are you parsing them?
 
Ok.
 
I keep receiving an error when I start up the Jupyter notebook. However, the same data, on the previous day worked and was converted into a dictionary. I am not sure what to make of this
This time the error:

ValueError: dictionary update sequence element #2 has length 22; 2 is required
 
5:19 PM
@AnttiHaapala just trying to make sure that an entry is a valid CSS hex color
 
Perhaps you somehow reverted to an older version of the script.
 
It is just the element number that changes. Is there someone who can help me address the root generator? My gist is here: gist.github.com/ahlusar1989/103afc6a435daa2b6e91
@Kevin - I think you are onto something
I am note sure what I am doing differently
I keep the Jupyter notebook running
on the ipython server
 
Hey guys - quick question - Is there any way to get the value of the checked radiobutton from a group whenever you want? Or do you have to handle that during the event trigger?
 
@Kevin what's that business skit where the woman gets up and draws a circle and everyone claps?
 
@ahlusar1989 check all your yields in flatten_dict
 
5:24 PM
Because the wx button group isn't a "real object"(it's just a constant wx.RB_GROUP), there's no documentation for groupings of buttons
 
@davidism I think I know what you're referring to, but its name escapes me
 
@ahlusar1989 one of the yields is returning a 3-tuple or a string of length 3!
 
@AnttiHaapala Which line?
 
I do not know
 
I have vague suspicions about yield eprefix+k
 
5:26 PM
me too
 
should it be be k,v
 
>>> dict([(1,2), 'foo'])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: dictionary update sequence element #1 has length 3; 2 is required
see, if instead of tuple you just provide a key that is a string of 3 characters, you'll get the same error
the yield from flatten_list can also be at error.
what I'd do is do list(flatten_dict()) and see what the output is
 
@AnttiHaapala It constructs a list of tuples (see my OP on Stackoverflow)
 
yes, but it is very clear that it does not, or there is 1 3-tuple
 
Since he's also gotten a "length 22" error, I'm leaning towards the "you're yielding a string somewhere" theory
 
5:29 PM
@Kevin or a list of xml elements...
anything is possible
 
@AnttiHaapala I am confused why this works sometimes and sometimes this fails
 
Maybe it breaks in a not-very-common code path, so only some inputs cause it to fail
Ex. if if element: is always True, then you'll never get to elif element.items():
... Which might be where the problem lies. So you won't see it every time.
 
@Kevin What would you suggest I do to prevent this inconsistency? Remove the condtionals?
 
[('ResponseT', '10'), ('ResponseRequestType', 'MS'), <generator object flatten_dict at 0x7f138e8bed80>]
 
5:34 PM
*conditionals?
 
it is not a list of 2-tuples
 
I don't think that would help, no
 
@AnttiHaapala Thanks for catching that
How can I fix this?
 
ah sorry :P
wrong code
thats your old code, wait a sec
noo
@ahlusar1989 the new code seems to work for the old input
>>> [len(i) for i in x]
[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]
makes a list of 2 tuples
 
What code are you referencing?
 
5:38 PM
the xml_to_dict @ gist works with the csv data from your SO question
 
@AnttiHaapala Odd
 
anyway
the reason is very clear:
one of the yields / yield from produces an item that is a sequence of 3
instead of 2
OR you're still using the old broken module
 
Which module are you referencing?
 
as in, code that you wrote prior to this
 
Ah, I see
@Kevin @AnttiHaapala Thank you for your time and for your feedback
 
5:54 PM
hey guys, just a quick quirk I've found about python(a quirk which is really obvious to all of you), and that is when I print a string without .__str__(), it prints as u'String here'
 
It's a unicode string.
 
I know it's unicode vs non-unicode, but why does print str do a unicode? Is there a reason that
python wants to print unicode rather than normal? I'm not too familiar with how python constructs strings
 
Are you actually using print, or are you inspecting the object directly?
>>> x = u"hello"
>>> x
u'hello'
>>> print x
hello
>>> x.__str__()
'hello'
 
DSM
I guess you'd see the u if it were a unicode string in a container.
 
Okay, anyone know how to do this? I want to find all files that end in .es6 recursively from pwd and rename them to .js
 
5:57 PM
@Kevin I'm doing a __str__() for a list that contains strings
 
DSM
Why are you calling __str__?
 
Ah, printing a list will call __repr__ on each element it contains, rather than __str__.
 
@Kevin - It works!
 
DSM
(Aside: if you're a beginner, you should be using Python 3, not Python 2.)
 
the flatten_dict generator...
How weird
 
5:58 PM
@Kevin One second, checking out repr
 
>>> seq = [u"hello", u"goodbye"]
>>> seq
[u'hello', u'goodbye']
>>> print seq
[u'hello', u'goodbye']
>>> print [str(x) for x in seq]
['hello', 'goodbye']
>>> print ", ".join(seq)
hello, goodbye
 
@DSM Me? If so, yeah I agree, but Canopy's default is python 2.x and it uses the compatible wxPython associated with it for more functionalities
@Kevin ah wow, that's a lot of different formats LOL
 
DSM
@OneRaynyDay: it's just that Python 3's unicode handling is saner than 2's. 2 lets you get away with things you shouldn't. IIRC they're hoping to have a 3-compatible canopy out later this year, though, so you won't need to wait too long.
 
Interesting, well when you have, let's say a map of key String and value integer, can you say map[u'string here'] and get the same result as map['string here']?
@DSM ah okay, gotcha. That'd be awesome. It's actually a surprise that you know about Canopy(well, not really since you seem like a senior dev for python) since I never found out about it directly
 
@OneRaynyDay Yeah
 
DSM
6:03 PM
@OneRaynyDay: not really on the senior dev part, but Enthought has done a lot of good work for numerics in Python.
 
ahh, okay, I won't bother you guys with any more tiny nuances of strings and stuff, I'll go search up the rest - thanks guys!
@DSM Ah, but isn't pydev the more popular numeric/computational python ide?
 
DSM
@OneRaynyDay: couldn't tell you about relative popularity (and I use ipython + emacs anyway)..
 
user559633
@Ffisegydd I like mocking it because the people that tend to love it are terrible, but I mostly dislike it because it's flooding the world with cheaply made trash parading as design solutions
 
I love it ;_; but then I am terrible.
 
user559633
it's like bad ycombinator pitches that fell through a software rendering machine in a masturbation chamber in the comments section of a reddit post
 
user559633
6:12 PM
n..nooo :(
 
user559633
that said, it made kung fury possible, so it at least did one good thing
 
I do like browsing Kickstarter. I've backed 4 now, 3 were successful and I got an awesome product and obv the 4th is the bag and due in Dec.
 
DSM
I'm at the office, tristan, with reports to write. I can't spend half an hour watching that, which I didn't know existed and now must embrace.
 
user559633
@DSM you did say that you wanted to spend less time on SO
 
DSM
I've only backed one kickstarter so far, by authors I'm fond of. The resulting graphic novel has just been waiting for the right moment.
 
6:15 PM
I like browsing it, there's a lot of things that I'd never back but may buy when/if they go to market.
 
The only thing I backed was this: kickstarter.com/projects/1862188728/…
 
And there's been a few things which I saw which thought "that's an awesome idea" and then went to Google and found another version done by a different company that I could buy now and cheaper :D
 
and I haven't regret it one bit. It's an awesome animation. I'm a sucker for this type of style of drawing and the cliché hero plots :')
 
I don't really like... Things.
 
DSM
Only like abstractions, like "eight" and "the feel of the breeze on a mid-autumn evening"?
 
6:17 PM
 
@Funkyguy you mean back in 2013, the tkXT project? (that was not an IDE rather than a text editor implemented purely in python with a small builtin terminal and cli + api)
well -- funny that you asked, I found that project on an HDD the other day -- and it is still working :)
oh, cbg for all
 
Hey up
 
Oh by the way, I never got the "cbg", I know it means cabbage
but .... what does cabbage mean? LOL
 
Oh wow thats cool
yam
 
6:23 PM
Meh, just spent an hour explaining .forEach to someone :\
 
DSM
You know, if I pull the transcripts, I could figure out what fraction of new users don't read the room rules by finding who asks what "cabbage" means. (And I think I might have been one of them, once, long ago.)
 
@Ffisegydd It kind of has the posture of someone who you were talking poorly about and have just noticed is right behind you.
In other words, how very appropriate.
 
@DSM I did read the room rules, but this was on another section of sopython shrug I thought that was enough(I wasn't greeted with cbg ever, other people greeted each other, which I didn't even know what cabbage was)
 
It's briefly mentioned at the top of the rules
 
DSM
@OneRaynyDay: not that it matters much, but in italics: "Incidentally, if you've just been greeted with the word "cbg" or "cabbage" then you may want to have a look here..."
It's true though that I tend to skip over things very easily when reading. Too much doc-scanning to find the bit I need, I guess.
 
user559633
6:30 PM
@corvid forEach his own is what i say
 
user559633
love it. if you find a security vulnerability, it's not valid, because you didn't play by the rules our lawyers put out
 
Hi ! I have hard time understanding the second output...matrix1=[[1, 2, 3, 4], [5, 6, 7, 8], [1, 2, 3, 4]]

print [[row[i] for row in matrix1] for i in range(4)]
print [row[i] for row in matrix1 for i in range(4)]
Oh I mean the first output
[[1, 1, 1], [2, 2, 2], [3, 3, 3], [4, 4, 4]]
[1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4]
Second output is pretty clear by itself.. but I cannot figure out what exactly is happening in first one.
 
@psychoCoder - In the first, i isn't changing inside the inner list comprehension, just row
 
DSM
@tristan: that isn't how I read that at all.
 
6:34 PM
The first is essentially equivalent to:

for i in range(4):
....for row in matrix1:
........print row[i]
 
user559633
it's how it's meant. stop sending us reports, as they have a false positive, and even if you find a zero day, you should have spent that time somewhere else because our licenses say you weren't allowed to find it that way
 
@JoeKington But shouldn't the first for execute first a
the second for is written after that(for containing range part)
 
@psychoCoder - The first is a nested list comprehension. In other words it's a list comprehension for every item in the "outer" loop.
 
user559633
@DSM she also says "You can’t really expect us to say ‘thank you for breaking the license agreement.'" in regards to crediting people that submit zero days. she's an overblown project manager that got a big fancy title(tm)
 
:25468904
result = [[expression for a in b] for x in y]

#... Is equivalent to:

result = []
for x in y:
    inner = []
    for a in b:
        inner.append(expression)
    result.append(inner)

#... And

result = [expression for a in b for x in y]

#... Is equivalent to

result = []
for a in b:
    for x in y:
        result.append(expression)
 
6:38 PM
@JoeKington Okay so since this is nested.. the outer for containing the i in range() executes first. Is that so
 
@psychoCoder - Yes, that's correct. Also see Kevin's much clearer explanation.
On a side note, how do you get a code block in chat?
 
user559633
@JoeKington control+k
 
Also you can't have non-code and code in the same message.
 
Ah, thanks!
 
i.e. you can't have an unindented sentence and indented code.
 
DSM
6:40 PM
@tristan: I reread it to see if I was missing anything, and still don't think you're right (and I say this believing that no-reverse-engineering license agreements are silly and probably shouldn't even be legally enforceable.) But from past discussions I don't see this conversation being productive. :-)
 
@Kevin @JoeKington Thanks got it :)
 
DSM
@Ffisegydd: which is a little frustrating, because it means that sometimes I have some header text, then somebody else says something, and then my code follows..
 
@PeterVaro Oh man has it really been that long? Yea I guess that was the last time I worked on python stuff for a job. Yea
 
user559633
@DSM Fair :) Just having fun with it because a friend is at a company in which he's winning the battle against Oracle being allowed in
 
@PeterVaro Taht was a sweet little concept, it was being written for Mac, no? I'm not a mac user but I still thought it was pretty sweet concept
 
user559633
6:42 PM
Q. But one of the issues I found was an actual security vulnerability so that justifies reverse engineering, right?
A. Sigh. At the risk of being repetitive, no, it doesn’t, just like you can’t break into a house because someone left a window or door unlocked.

because that analogy makes sense..
 
can't help singing: psycho coder, qu'est-ce que c'est, fa fa fa fa fa fa fa fa fa far better...
run run run run run run run away
 
Never mind, Martijn got it.
 
@Funkyguy actually it was the early '13 -- so yeah, it was pretty long time ago
@Funkyguy it was completely OS independent, as I'v stated earlier, it was written in Python and Python only, so, where Python (and tkinter) runs, tkXT runs too
although back then I used Python 2.x, but hey, some folks are still usnig those versions :P
(not me personally, IIRC I use Python 3.x only -- except for SCons -- since mid '13)
 
Related to nothing, I was thinking about the mathematics of optics today, and came up with a theory: "given three non-collinear points A,B,C in three dimensions, there is some point P where lines AP, BP, and CP are all at right angles to one another". Now I'm trying to figure out whether it's true or not.
 
anywho, what are you working on right now, @Funkyguy?
 
6:51 PM
@Ffisegydd the new response should be "use pypy if you need ordered dicts and sets" ;-)
 
@Kevin ummm.. and what can we use that P point for?
 
If you're asking about practical applications, I'm trying to figure out the best possible position of a viewer looking at a picture, given that you know the vanishing points of the picture.
For the most "true-to-life" representation, the viewer should have his eyes at point P so the vanishing points are ninety degrees from one another.
 
interesting ;)
 
Stand too far away, and there's a fisheye effect. Stand too close, and there's a "zoom" effect. Or maybe the other way around.
If my theory is wrong, then there might not even be an optimal viewing point.
 
Intuitively it should be true (even for the co-linear case, actually, as a 0-length vector is perpendicular to everything).
Wait, it wouldn't be for most colinear cases
 
6:57 PM
Not too much of a practical concern, as only the most eccentric artists would choose collinear vanishing points :-)
 
If you consider all the points P such that AP ⊥ PB, that's a sphere with diameter AB, or am I missing anything?
 

« first day (1782 days earlier)      last day (3171 days later) »