*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** mithro has joined #tp | 00:58 | |
*** greywhind_ has joined #tp | 01:16 | |
*** greywhind has quit IRC | 01:16 | |
*** Timface|OSDC has joined #tp | 01:36 | |
*** mithro has quit IRC | 01:48 | |
*** Timface|OSDC has quit IRC | 02:10 | |
*** mithro has joined #tp | 02:16 | |
*** greywhind has joined #tp | 03:16 | |
*** greywhind_ has quit IRC | 03:16 | |
*** nash has quit IRC | 03:33 | |
*** DTRemenak has quit IRC | 03:33 | |
*** TBBle has quit IRC | 03:33 | |
*** tuna has quit IRC | 03:33 | |
*** jotham has quit IRC | 03:33 | |
*** JLP has quit IRC | 03:33 | |
*** CIA-10 has quit IRC | 03:33 | |
*** greywhind has quit IRC | 03:33 | |
*** Demitar has quit IRC | 03:33 | |
*** kandinski has quit IRC | 03:33 | |
*** greywhind has joined #tp | 03:39 | |
*** JLP has joined #tp | 03:39 | |
*** Demitar has joined #tp | 03:39 | |
*** nash has joined #tp | 03:39 | |
*** kandinski has joined #tp | 03:39 | |
*** DTRemenak has joined #tp | 03:39 | |
*** tuna has joined #tp | 03:39 | |
*** TBBle has joined #tp | 03:39 | |
*** jotham has joined #tp | 03:39 | |
*** CIA-10 has joined #tp | 03:39 | |
*** mithro has quit IRC | 03:43 | |
*** Timface has joined #tp | 04:16 | |
*** greywhind_ has joined #tp | 05:16 | |
*** greywhind has quit IRC | 05:16 | |
*** llnz has joined #tp | 05:28 | |
*** kandinski has quit IRC | 05:31 | |
*** kandinski has joined #tp | 05:31 | |
*** llnz has quit IRC | 05:37 | |
*** llnz has joined #tp | 05:57 | |
*** JLP has quit IRC | 06:15 | |
* llnz wonders if anyone is awake | 06:38 | |
* llnz wanders off | 06:50 | |
llnz | later all | 06:50 |
---|---|---|
*** llnz has quit IRC | 06:50 | |
*** Timface has quit IRC | 07:23 | |
*** remaxim has joined #tp | 08:14 | |
remaxim | hi | 08:26 |
*** greywhind has joined #tp | 09:16 | |
*** greywhind_ has quit IRC | 09:16 | |
*** JLP has joined #tp | 09:34 | |
*** greywhind_ has joined #tp | 11:16 | |
*** greywhind has quit IRC | 11:16 | |
remaxim | JLP, I am working on those sprikles had been talking about | 11:33 |
remaxim | is anybody in here? | 11:34 |
remaxim | could someone tell me if he thinks that this version is better than the one before : http://www.box.net/shared/uil229zf6p | 11:42 |
tpb | Title: Box.net - Free Online File Storage, Internet File Sharing, Online Storage, Access Documents & Files Anywhere, Backup Data, Send Files (at www.box.net) | 11:42 |
remaxim | sometimes I just wanna say "fuck you" to tpb ... | 11:42 |
remaxim | ok, I have to go! bye | 12:28 |
*** remaxim has left #tp | 12:28 | |
*** TBBle has quit IRC | 14:35 | |
*** greywhind has joined #tp | 15:16 | |
*** greywhind_ has quit IRC | 15:16 | |
*** peres has joined #tp | 15:19 | |
*** CIA-10 has quit IRC | 17:24 | |
*** CIA-10 has joined #tp | 17:30 | |
*** mithro has joined #tp | 17:32 | |
*** peres has left #tp | 17:57 | |
mithro | nash: ping? | 18:30 |
nash | mithro: pong | 18:31 |
mithro | nash: your a smart guy, can you tell me how you solve this problem | 18:31 |
mithro | 13. Four people need to cross a rickety rope bridge to get back to their camp at night. Unfortunately, they only have one flashlight and it only has enough light left for seventeen minutes. The bridge is too dangerous to cross without a flashlight, and it�s only strong enough to support two people at any given time. Each of the campers walks at a different speed. One can cross the bridge in 1 minute, another in 2 minutes, the third in 5 minu | 18:31 |
mithro | tes, and the slow poke takes 10 minutes to cross. How do the campers make it across in 17 minutes? | 18:31 |
mithro | I am obviously missing something | 18:32 |
nash | Ahh... classic masking problem | 18:32 |
nash | mithro: First... what am I helping your cheat with? | 18:32 |
mithro | nash: nothing, I'm just looking at Google interview questions | 18:33 |
nash | Right... | 18:33 |
mithro | and I can't figure out the above one | 18:33 |
nash | give me a moment... I | 18:33 |
nash | know the idea | 18:33 |
nash | mithro: | 18:37 |
nash | Okay you need to send the 10+5 across together right? | 18:37 |
nash | [obviously... they are the expensive ones, and consume >50% in one pass] | 18:37 |
nash | So you need to make sure you can brindg the tourch back quickly..,. so the 1 or 2 need to be there when the 10+5 arrive... | 18:38 |
nash | so solutution is: | 18:38 |
nash | 2 + 1 [5,10] [1,2] | 18:38 |
nash | 1 [1,5,10] [2] | 18:38 |
nash | 10 + 5 [1] [2,5,10] | 18:39 |
nash | 2 [1,2] [5,10] | 18:39 |
nash | 2 + 1 [] [1,2,5,10] | 18:39 |
nash | \ | 18:39 |
nash | You can swap the 2 & 4th steps | 18:39 |
nash | mithro: Got a job yet? ;-) | 18:39 |
mithro | nash: ahh | 18:40 |
nash | The obvious solution to do 10+5 first kills you | 18:40 |
mithro | yeah | 18:41 |
nash | Anything else? | 18:41 |
nash | Maybe "give the keys to your best friend, and catch the bus to the love hotel yourself..." | 18:42 |
mithro | ? | 18:42 |
nash | It's a microsoft interview question... | 18:43 |
mithro | what do you think of this question? | 18:43 |
mithro | 17. You have five pirates, ranked from 5 to 1 in descending order. The top pirate has the right to propose how 100 gold coins should be divided among them. But the others get to vote on his plan, and if fewer than half agree with him, he gets killed. How should he allocate the gold in order to maximize his share but live to enjoy it? (Hint: One pirate ends up with 98 percent of the gold.) | 18:43 |
nash | Ahh... gold | 18:43 |
nash | That's a fantastic one... | 18:43 |
nash | wait a second | 18:43 |
mithro | isn't that a human engineering problem? | 18:43 |
nash | mithro: the question is flawed.. it should read that each pirate is perfectly logical | 18:45 |
nash | Anyway the solution is 98,0,1,0,1 I believe | 18:45 |
nash | Else is't 98,1,0,1, | 18:46 |
nash | 0 | 18:46 |
nash | Start with 1 pirate.. he takes 100, and votes yes | 18:46 |
mithro | nash: that doesn't make any sense, logically you are better of killing the top pirate because then it's 100 divide by 4 :P | 18:46 |
nash | It does... if you are perfectly logical | 18:47 |
nash | follow with me | 18:47 |
nash | if you have 2 pirates... the only higher pirate takes 0, and gives 100, ELSE he'll get killed | 18:47 |
nash | If you have 3 pirates, the top pirate gives 1 gold to the second one, keeps the rest himself | 18:48 |
nash | (if he dies, pirate 2 gets 0 gold.. .so 1 gold is better then none or dead) | 18:48 |
nash | mithro: now follow on | 18:49 |
nash | http://irregularwebcomic.net/1656.html | 18:49 |
tpb | Title: Irregular Webcomic! (at irregularwebcomic.net) | 18:49 |
nash | the wikpedia does it very welli: http://en.wikipedia.org/wiki/Pirate_game | 18:52 |
tpb | Title: Pirate game - Wikipedia, the free encyclopedia (at en.wikipedia.org) | 18:52 |
nash | mithro: Anymore? | 18:54 |
mithro | nash: i'm still a little fuzzy on the pirate one - but I think it is because I'm thinking of them as pirates rather then robots :P | 19:05 |
nash | mithro: In a way | 19:06 |
nash | So... the proper rule is the proposer has the casting vote... | 19:06 |
nash | So imagine there are two pirates, I'm the fiercest | 19:06 |
nash | So the proposal I make is 100 for me, 0 for you | 19:07 |
nash | You vote against, I vote for... I have casting vote... I win... 100 for me, 0 for you. | 19:07 |
nash | So if there are only 2 pirates left... you lose ;-) | 19:07 |
nash | If there are 3 pirates, he'll offer you 1 gold, which is better then 0, he'll offer me nothing... and you'll vote for it, I'll vote against, and he'll vote for | 19:08 |
nash | four pirates.. Well appease me give me one, (better then 0 if there are 3 pirates), and leading pirate gets the rest... | 19:09 |
nash | five pirates... appease everyone who lost out in the 4 pirate case... 98 for himself, 0 for the next guy, 1 for the guy after, 0 for the next, 1 for the last... | 19:09 |
nash | We have a winner ;-) | 19:09 |
mithro | yeah I see that | 19:10 |
nash | Recursive thinking ;-) | 19:12 |
nash | Think about even shares... if I give everyone 20 gold... everyone will release they can do better by voting no... and getting 25... until there is only two left, and then the top guy just says... I'll take the lot | 19:13 |
nash | So it doesn't work | 19:13 |
jotham | it's totally just, one guy gives 2 others 1 gold each to vote for him | 19:14 |
jotham | in other news (and hello) | 19:14 |
jotham | GeForce 8800 series GPU recommends a 1000 watt PSU | 19:14 |
* jotham presses (B) for Bananas | 19:14 | |
*** greywhind_ has joined #tp | 19:16 | |
*** greywhind has quit IRC | 19:16 | |
nash | jotham: I have 2 computers - together they don't have a 1000watt PSU | 19:16 |
*** Epyon has joined #tp | 19:22 | |
*** mithro has quit IRC | 19:25 | |
*** mithro has joined #tp | 19:25 | |
*** mithro has quit IRC | 19:38 | |
*** mithro has joined #tp | 19:52 | |
*** greywhind_ has quit IRC | 21:13 | |
*** mithro has quit IRC | 21:47 | |
*** mithro has joined #tp | 22:02 | |
*** greywhind_ has joined #tp | 22:03 | |
*** greywhind has joined #tp | 23:16 | |
*** greywhind_ has quit IRC | 23:16 | |
CIA-10 | kane * r40 media/promotion/calender/ (0600.jpg 1101.jpg 1102.jpg 1302.jpg): new revisions of the ship and cover plus a troll | 23:58 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!