2012-05-07T00:01:12 *** archdori has quit IRC (Ping timeout: 250 seconds) 2012-05-07T00:49:08 *** alc has joined #aichallenge 2012-05-07T00:55:05 *** Fandekasp has quit IRC (Ping timeout: 248 seconds) 2012-05-07T00:57:30 *** alc has quit IRC (Ping timeout: 240 seconds) 2012-05-07T01:02:18 *** Fandekasp has joined #aichallenge 2012-05-07T01:11:27 *** alc has joined #aichallenge 2012-05-07T01:13:01 *** alc has quit IRC (Read error: Connection reset by peer) 2012-05-07T01:44:13 *** Chris_0076 has joined #aichallenge 2012-05-07T01:44:18 *** Chris_0076 has quit IRC (Remote host closed the connection) 2012-05-07T01:44:46 *** Chris_0076 has joined #aichallenge 2012-05-07T02:24:54 *** epicmonkey has joined #aichallenge 2012-05-07T02:30:50 *** Garf has joined #aichallenge 2012-05-07T02:58:12 *** archdori has joined #aichallenge 2012-05-07T03:01:20 *** Fandekasp has quit IRC (Ping timeout: 245 seconds) 2012-05-07T03:12:35 *** vaxmax has joined #aichallenge 2012-05-07T03:22:19 *** amstan has quit IRC (Quit: Konversation terminated!) 2012-05-07T03:49:30 *** dici has joined #aichallenge 2012-05-07T03:57:29 *** coeus has joined #aichallenge 2012-05-07T03:59:04 *** mviel has joined #aichallenge 2012-05-07T04:13:54 *** mceier has joined #aichallenge 2012-05-07T04:17:33 *** vaxmax has quit IRC (Ping timeout: 245 seconds) 2012-05-07T04:46:40 *** mviel_ has joined #aichallenge 2012-05-07T04:50:07 *** mviel has quit IRC (Ping timeout: 260 seconds) 2012-05-07T05:54:35 *** mviel_ is now known as mviel 2012-05-07T05:57:59 *** Fandekasp has joined #aichallenge 2012-05-07T06:01:43 *** archdori has quit IRC (Ping timeout: 250 seconds) 2012-05-07T06:07:04 *** Jak_o_Shadows has joined #aichallenge 2012-05-07T06:23:35 *** cyphase has quit IRC (Ping timeout: 244 seconds) 2012-05-07T06:27:11 *** sigh has joined #aichallenge 2012-05-07T06:46:38 *** cyphase has joined #aichallenge 2012-05-07T06:58:20 *** delt0r_ has quit IRC (Ping timeout: 252 seconds) 2012-05-07T07:11:21 *** delt0r_ has joined #aichallenge 2012-05-07T07:14:39 *** thestinger has joined #aichallenge 2012-05-07T07:18:06 *** pairofdice has joined #aichallenge 2012-05-07T07:24:42 *** Vrexu has joined #aichallenge 2012-05-07T07:26:00 *** dvladim has joined #aichallenge 2012-05-07T07:40:52 *** NoxiaZ^ has joined #aichallenge 2012-05-07T07:43:51 *** epicmonkey has quit IRC (Ping timeout: 260 seconds) 2012-05-07T08:01:46 *** mleise1 has quit IRC (Ping timeout: 252 seconds) 2012-05-07T08:29:22 *** Vrexu has quit IRC (Remote host closed the connection) 2012-05-07T08:54:55 *** Jak_o_Shadows has quit IRC (Remote host closed the connection) 2012-05-07T09:06:33 *** dvladim has quit IRC (Ping timeout: 252 seconds) 2012-05-07T09:33:41 *** foRei has joined #aichallenge 2012-05-07T09:47:47 *** mleise has joined #aichallenge 2012-05-07T10:12:06 *** epicmonkey has joined #aichallenge 2012-05-07T10:14:14 Norvig makes me facepalm regularly 2012-05-07T10:14:33 ha 2012-05-07T10:14:36 [path[x] for x in range(len(path)) if x % 2 == 1] 2012-05-07T10:14:46 and he just does [1::2] 2012-05-07T10:15:08 well that's kinda pointless 2012-05-07T10:15:13 you can use a step in range 2012-05-07T10:15:20 and then reduce to a slice 2012-05-07T10:15:57 yeah 2012-05-07T10:16:31 *** iouri_ has joined #aichallenge 2012-05-07T10:36:50 pairofdice: btw, how fast was your solution to the week3 crypto challenge? 2012-05-07T10:37:11 * thestinger just brute forced it and then used gmpy :P 2012-05-07T10:37:36 turns out python ints actually have a .bit_length() method 2012-05-07T10:37:39 I was in Estonia so I only had time for the 3 others last week 2012-05-07T10:37:44 ah 2012-05-07T10:37:51 it was actually really easy 2012-05-07T10:37:54 oh 2012-05-07T10:37:54 the video makes it sound hard 2012-05-07T10:38:01 but once you see the code it's easy 2012-05-07T10:38:08 my solution is 1 line 2012-05-07T10:38:15 *** mcstar has joined #aichallenge 2012-05-07T10:38:26 (a).bit_length() to count the # of bits 2012-05-07T10:38:34 and gmpy.popcount(a) to sum them 2012-05-07T10:38:40 that's just an optimization though 2012-05-07T10:38:49 the code they give you includes a function to do that 2012-05-07T10:39:10 http://sprunge.us/Rafa 2012-05-07T10:44:03 why would you need the bits of the exponent? 2012-05-07T10:44:31 id just half the exponent while i can 2012-05-07T10:45:08 mcstar: because you need to test if count(bits) + sum(bits) is 28 2012-05-07T10:45:32 it's to exploit a timing attack (you know it took 26 multiplications to calculate) 2012-05-07T10:45:33 what is this problem? 2012-05-07T10:45:43 breaking diffie-hellman, sec 2012-05-07T10:45:47 I'll pastebin it for you 2012-05-07T10:45:57 it's trivial to do :P 2012-05-07T10:45:59 is this crypto? 2012-05-07T10:46:10 coursera's? 2012-05-07T10:46:14 no, udacity's 2012-05-07T10:46:25 and yes crypto 2012-05-07T10:47:16 i didnt realize you stayed on that one too 2012-05-07T10:48:16 *** sigh has quit IRC (Remote host closed the connection) 2012-05-07T10:48:45 mcstar: https://gist.github.com/653d445f79f20411b2a1 that's the problem 2012-05-07T10:49:01 video is just like 30 secs and not important (just tells you the same thing as the comment at the top) 2012-05-07T10:55:07 thestinger: so there are proper programming assignments there 2012-05-07T10:55:19 yes 2012-05-07T10:55:28 lots of the quizzes are programming assignments too 2012-05-07T10:55:51 they have unit tests and run your code through them to check if it's correct basically 2012-05-07T10:57:30 some people whined about that their answers werent accepted in ml class, cause they didnt match within numerical precision 2012-05-07T10:57:41 mcstar: the other homework ones from that unit were implementing rabin-miller and finding primitive roots 2012-05-07T10:57:48 aha that happened in cs373 2012-05-07T10:57:56 they used rounding though 2012-05-07T10:58:12 was only an issue early on 2012-05-07T10:59:03 mcstar: the main difference between coursera and udacity is the number of quizzes 2012-05-07T10:59:23 udacity has the lecture broken up into little chunks with lots of quizzes (some theory, some programming) in between 2012-05-07T10:59:41 ihavent done week6 yet 2012-05-07T11:00:01 of crypto class? I haven't either 2012-05-07T11:00:30 yes 2012-05-07T11:00:40 unit 4 of udacity's crypto class is asymmetric encryption too 2012-05-07T11:00:55 going to do that first since it's easier :P 2012-05-07T11:01:59 i get negligible speedup from running fftw on 2 threads 2012-05-07T11:02:29 threads suck :P 2012-05-07T11:02:46 SIMD > threads 2012-05-07T11:03:02 mcstar: and in a real application it might be slower 2012-05-07T11:03:05 it screws up the cache 2012-05-07T11:03:20 thestinger: if a C function is exposed in python, and it expects an pointer to an array, and i give it a numpy array(or one that was allocated by fftw in python), do you think its ok? 2012-05-07T11:03:45 using ctypes? 2012-05-07T11:03:51 probably 2012-05-07T11:03:56 it is hidden 2012-05-07T11:04:14 but this hangs my python 2012-05-07T11:04:42 just expose it with Boost.Python 2012-05-07T11:05:02 there already a bindig, pyfftw, im not going to make another 2012-05-07T11:07:58 oh 2012-05-07T11:08:04 are you doing it directly or through the lib? 2012-05-07T11:08:28 lib 2012-05-07T11:09:02 fftw3.lib.lib contain all the fftw functions 2012-05-07T11:09:09 s 2012-05-07T11:09:32 but it is automatically generated, cause they arent in the sources 2012-05-07T11:13:22 fuck me 2012-05-07T11:13:26 it is nice though 2012-05-07T11:13:33 solveing my precious PFC equations 2012-05-07T11:13:36 -e 2012-05-07T11:14:10 i should have done this earlier, but we usually do it on clusters or gpu's 2012-05-07T11:14:19 so i was worried about speed 2012-05-07T11:14:31 but i can manage 2d problems on this little desktop 2012-05-07T11:22:45 *** Kingpin13 has quit IRC (Ping timeout: 244 seconds) 2012-05-07T11:23:40 thestinger: http://imgur.com/qHwwu http://imgur.com/1zC1T 2012-05-07T11:37:20 some ppl just hate physics 2012-05-07T11:48:56 *** OxOFFF has joined #aichallenge 2012-05-07T11:58:32 *** Chris_0076 has quit IRC (Quit: Leaving) 2012-05-07T11:58:50 *** g0llum has joined #aichallenge 2012-05-07T11:59:10 *** Chris_0076 has joined #aichallenge 2012-05-07T12:11:43 *** thestinger has quit IRC (Quit: WeeChat 0.3.7) 2012-05-07T12:18:05 *** kurnevsky has joined #aichallenge 2012-05-07T12:18:54 *** kilae has joined #aichallenge 2012-05-07T12:24:30 *** Palmik has joined #aichallenge 2012-05-07T12:45:06 *** OxOFFF has quit IRC (Remote host closed the connection) 2012-05-07T12:45:33 *** mviel has quit IRC (Quit: Leaving) 2012-05-07T12:48:38 *** OxOFFF has joined #aichallenge 2012-05-07T13:20:11 *** cyphase has quit IRC (Read error: Connection reset by peer) 2012-05-07T13:29:30 *** Palmik has quit IRC (Remote host closed the connection) 2012-05-07T13:39:49 *** cyphase has joined #aichallenge 2012-05-07T13:50:16 some are just indifferent 2012-05-07T13:52:09 *** iouri_ has quit IRC (Ping timeout: 245 seconds) 2012-05-07T13:56:04 *** sevikkk has quit IRC (Quit: Leaving.) 2012-05-07T14:08:55 *** OxOFFF has quit IRC (Ping timeout: 255 seconds) 2012-05-07T14:09:23 *** OxOFFF has joined #aichallenge 2012-05-07T14:12:16 *** Chris_0076 has quit IRC (Quit: Leaving) 2012-05-07T14:16:24 *** sevikkk has joined #aichallenge 2012-05-07T14:18:33 *** Chris_0076 has joined #aichallenge 2012-05-07T14:52:14 *** g0llum has quit IRC (Read error: Connection reset by peer) 2012-05-07T14:59:01 *** delt0r_ has quit IRC (Ping timeout: 240 seconds) 2012-05-07T15:12:51 *** delt0r_ has joined #aichallenge 2012-05-07T15:14:22 *** Accoun has quit IRC () 2012-05-07T15:23:40 *** OxOFFF has quit IRC (Quit: Bye) 2012-05-07T15:38:05 *** Accoun has joined #aichallenge 2012-05-07T15:41:35 *** Chris_0076 has quit IRC (Remote host closed the connection) 2012-05-07T15:41:52 *** Chris_0076 has joined #aichallenge 2012-05-07T15:43:55 *** thestinger has joined #aichallenge 2012-05-07T15:45:42 *** mcstar has quit IRC (Quit: mcstar) 2012-05-07T15:47:53 *** kurnevsky has quit IRC (Read error: Connection reset by peer) 2012-05-07T16:04:07 *** kilae has quit IRC (Quit: ChatZilla 0.9.88.2 [Firefox 12.0/20120420145725]) 2012-05-07T16:11:14 *** Chris_0076 has quit IRC (Quit: Leaving) 2012-05-07T16:12:24 *** Palmik has joined #aichallenge 2012-05-07T16:29:22 *** thestinger has quit IRC (Quit: WeeChat 0.3.7) 2012-05-07T16:32:05 *** amstan has joined #aichallenge 2012-05-07T16:32:06 *** ChanServ sets mode: +o amstan 2012-05-07T17:13:21 *** epicmonkey has quit IRC (Ping timeout: 276 seconds) 2012-05-07T17:18:05 *** Chris_0076 has joined #aichallenge 2012-05-07T17:18:34 *** HaraKiri has joined #aichallenge 2012-05-07T17:20:30 *** NoxiaZ^ has quit IRC (Ping timeout: 276 seconds) 2012-05-07T17:24:23 *** dici has quit IRC (Ping timeout: 260 seconds) 2012-05-07T17:24:32 *** dici has joined #aichallenge 2012-05-07T17:24:34 *** amstan_ has joined #aichallenge 2012-05-07T17:24:35 *** ChanServ sets mode: +o amstan_ 2012-05-07T17:35:38 *** Vrexu has joined #aichallenge 2012-05-07T17:37:57 *** Palmik has quit IRC () 2012-05-07T17:59:56 *** amstan has quit IRC (Remote host closed the connection) 2012-05-07T18:04:04 *** Kingpin13 has joined #aichallenge 2012-05-07T18:04:14 *** Kingpin13 has joined #aichallenge 2012-05-07T18:05:49 *** Kingpin13 has quit IRC (Client Quit) 2012-05-07T18:08:03 *** Kingpin13 has joined #aichallenge 2012-05-07T18:14:13 *** HaraKiri has quit IRC () 2012-05-07T18:14:33 *** amstan_ has quit IRC (Ping timeout: 260 seconds) 2012-05-07T18:20:18 *** mceier has quit IRC (Quit: leaving) 2012-05-07T18:22:20 *** sigh has joined #aichallenge 2012-05-07T18:22:25 *** foRei has quit IRC (Quit: Bye) 2012-05-07T18:27:11 *** amstan has joined #aichallenge 2012-05-07T18:27:12 *** ChanServ sets mode: +o amstan 2012-05-07T18:35:16 *** sigh has quit IRC (Remote host closed the connection) 2012-05-07T18:47:35 *** dici has quit IRC (Read error: Connection reset by peer) 2012-05-07T18:49:53 *** sigh has joined #aichallenge 2012-05-07T19:14:17 *** sigh has quit IRC (Remote host closed the connection) 2012-05-07T19:16:21 *** sigh has joined #aichallenge 2012-05-07T19:22:19 *** Garf has quit IRC (Quit: Make a new plan, Stan!) 2012-05-07T19:31:07 *** sigh has quit IRC (Remote host closed the connection) 2012-05-07T19:57:40 *** amstan_ has joined #aichallenge 2012-05-07T19:57:41 *** ChanServ sets mode: +o amstan_ 2012-05-07T20:05:02 *** Kingpin13 has quit IRC (Ping timeout: 240 seconds) 2012-05-07T20:23:12 *** replore_ has joined #aichallenge 2012-05-07T20:33:23 *** amstan_ has quit IRC (Ping timeout: 260 seconds) 2012-05-07T20:44:22 *** dmj111 has left #aichallenge ("ERC Version 5.3 (IRC client for Emacs)") 2012-05-07T21:50:23 *** GeorgeH has joined #aichallenge 2012-05-07T21:59:26 *** pairofdice has quit IRC (Quit: in girum imus nocte et consumimur igni) 2012-05-07T22:25:20 *** Fandekasp has joined #aichallenge 2012-05-07T22:31:02 *** replore_ has quit IRC (Remote host closed the connection) 2012-05-07T22:59:13 *** delt0r_ has quit IRC (Ping timeout: 260 seconds) 2012-05-07T23:12:41 *** delt0r_ has joined #aichallenge 2012-05-07T23:45:39 *** coeus has quit IRC (Read error: Operation timed out)