News for hackers. Stuff that matters.
Re:The P programming language by wybiral on Sunday October 09, 2016 @06:37PM (#12673954)
What is the support for streams like in P?
Re:The P programming language by darawk on Sunday October 09, 2016 @06:38PM (#12673963)
I can't tell if this question is intended to be a joke or not, but either way i'm in support of it.
Re:The P programming language by wybiral on Monday October 10, 2016 @02:06AM (#12675345)
Where's the flush method?
Re:The P programming language by DonaldFisk on Sunday October 09, 2016 @07:21PM (#12674108)
It could be useful for solving the Urinal Problem:

http://people.scs.carleton.ca/~kranakis/Papers/urinal.pdf

Re:The P programming language by nickpsecurity on Sunday October 09, 2016 @08:21PM (#12674311)
It was amusing when my government teacher explained the urinal problem to women in the class in a discussion on "man laws." He first asked where they would go in a four, urinal situation if there was nobody present, a person at urinal 1, and people at 1 and 3. The men and women had very, different answers that were pretty consistent within each gender. The women always asked, "Well what do you do if 1 and 3 are taken if 2 and 4 aren't an option?" Every guy but me effectively said, "Try not to piss yourself until 1 or 3 become available."

"Nick, you aren't weirded out by people sneaking a peek?"

"Nah, my protocol is different. It recognizes root cause is them looking at what they don't need to. If I notice this, I'll simply remind them they should turn away from me before I turn something toward them. Not my eyes either. Most rational and irrational people will avoid that outcome to maintain what dignity they can when exiting a bathroom."

The guys got a kick out of that solution but chose not to upgrade their protocol. Their loss. ;)

Re:The P programming language by riskable on Sunday October 09, 2016 @06:51PM (#12674014)
I hear it starts out strong but once your code reaches an advanced age it starts to putter out.
Re:The P programming language by maker1138 on Sunday October 09, 2016 @07:42PM (#12674184)
I didn't see anything in the manual about streams. If they do, I'm sure they'll be fine as long as you don't cross them.
Re:The P programming language by ____miah on Sunday October 09, 2016 @06:56PM (#12674031)
Some say, streams are difficult to produce.
Re:The P programming language by pfarnsworth on Sunday October 09, 2016 @07:16PM (#12674096)
Only if another stream producer is in close proximity.