2012-08-02T00:18:49 *** mceier has quit IRC (Quit: leaving) 2012-08-02T00:20:01 *** foRei has quit IRC (Quit: Bye) 2012-08-02T00:27:23 *** welterde has quit IRC (Ping timeout: 264 seconds) 2012-08-02T00:40:16 *** welterde has joined #aichallenge 2012-08-02T02:43:06 *** amstan has quit IRC (Quit: Konversation terminated!) 2012-08-02T02:44:33 *** kilae has joined #aichallenge 2012-08-02T02:55:58 *** mceier has joined #aichallenge 2012-08-02T03:05:26 *** NoxiaZ^ has joined #aichallenge 2012-08-02T04:04:08 *** UncleVasya has joined #aichallenge 2012-08-02T04:21:59 *** mleise has quit IRC (Ping timeout: 252 seconds) 2012-08-02T04:28:33 *** NoxiaZ^ has quit IRC (Ping timeout: 255 seconds) 2012-08-02T04:29:59 *** epicmonkey has joined #aichallenge 2012-08-02T04:33:34 *** NoxiaZ^ has joined #aichallenge 2012-08-02T04:44:10 *** NoxiaZ^ has quit IRC (Ping timeout: 244 seconds) 2012-08-02T04:50:09 *** NoxiaZ^ has joined #aichallenge 2012-08-02T04:50:47 *** mcstar has joined #aichallenge 2012-08-02T04:51:08 mcstar: hi 2012-08-02T04:51:14 oh 2012-08-02T04:51:16 hi 2012-08-02T04:51:46 i see 2012-08-02T04:51:54 im glad you are interested in it 2012-08-02T04:52:04 http://ideone.com/pyTr0 2012-08-02T04:52:10 you are young, there is plenty of time to sleep later 2012-08-02T04:52:13 Is it it? 2012-08-02T04:53:28 ill have to study it 2012-08-02T04:54:16 im sure i didnt have a tuple 2012-08-02T04:54:27 both in haskell and ocaml i used records 2012-08-02T04:54:43 hmm 2012-08-02T04:55:51 there is no lookup function 2012-08-02T04:55:51 let 'a TST = Empty | 'a * 'a TST * 'a TST * 'a TST - wasn't it yours? 2012-08-02T04:56:01 type node = { nodeVal : char; isEnd : bool; loNode : tst; eqNode : tst; hiNode : tst } 2012-08-02T04:56:03 and tst = Empty | Node of node 2012-08-02T04:56:27 Yes, it's not finished yet :) 2012-08-02T04:57:09 UncleVasya: i dont think you understood the idea of a ternary search tree 2012-08-02T04:57:14 Oh, so I tried to make different and fall into your solution :D 2012-08-02T04:57:15 what you have is a ternary tree 2012-08-02T04:57:52 * what you have at this moment 2012-08-02T04:58:07 the TST stores strings 2012-08-02T04:58:14 the nodes contain a character of a string 2012-08-02T04:58:47 and, they contain a bool for example, that signifies whether or not a given node is a terminal node of a string 2012-08-02T04:59:16 you dont just store values in such a tree, like you do with integers, you store whole strings of chars(or integers) 2012-08-02T04:59:36 these stored strings share structure with other strings 2012-08-02T05:00:34 I'll have an access to unlimited internet today. Is it something I need to continue play with you? Something but Emacs, tyrex, Batteries and Jane Street Core? 2012-08-02T05:00:42 http://ideone.com/xF015 2012-08-02T05:01:17 OK, so I need to add bool. 2012-08-02T05:01:41 and insert will be more complicated 2012-08-02T05:02:02 UncleVasya: just download the tools that you need to write ocaml 2012-08-02T05:02:05 I didn't read much about search trees and focused on just a tree (my first as you remember) :) 2012-08-02T05:02:36 UncleVasya: i dont think ill be 'playing' with you much, i have some really important business to finish 2012-08-02T05:02:40 but i we can talk 2012-08-02T05:02:52 I'm already happy with my Notepad++ :) 2012-08-02T05:02:53 i just wont be writing ocaml/haskell for a time 2012-08-02T05:03:05 -i 2012-08-02T05:03:34 UncleVasya: if you are really interested in ocaml, you should try the things you mentioned 2012-08-02T05:03:43 but ultimately it is your decision 2012-08-02T05:03:46 mi just saying 2012-08-02T05:07:56 *** UncleVasya has quit IRC (Quit: UncleVasya) 2012-08-02T05:08:54 where did he go? 2012-08-02T05:09:40 *** ChanServ has quit IRC (*.net *.split) 2012-08-02T05:15:50 *** epicmonkey has quit IRC (*.net *.split) 2012-08-02T05:15:50 *** loglog has quit IRC (*.net *.split) 2012-08-02T05:15:51 *** antimatroid1 has quit IRC (*.net *.split) 2012-08-02T05:15:51 *** rofer has quit IRC (*.net *.split) 2012-08-02T05:17:19 *** loglog has joined #aichallenge 2012-08-02T05:17:19 *** antimatroid1 has joined #aichallenge 2012-08-02T05:17:19 *** rofer has joined #aichallenge 2012-08-02T05:27:27 *** ChanServ has joined #aichallenge 2012-08-02T05:27:27 *** adams.freenode.net sets mode: +o ChanServ 2012-08-02T06:11:47 *** epicmonkey has joined #aichallenge 2012-08-02T06:57:09 *** Scooper has joined #aichallenge 2012-08-02T07:05:44 *** pairofdice has joined #aichallenge 2012-08-02T07:32:40 *** antimatroid1 has quit IRC (Ping timeout: 255 seconds) 2012-08-02T07:39:09 *** antimatroid has joined #aichallenge 2012-08-02T07:57:17 *** antimatroid has quit IRC (Quit: Leaving.) 2012-08-02T07:57:27 *** antimatroid has joined #aichallenge 2012-08-02T08:15:20 *** alehorst1 has joined #aichallenge 2012-08-02T08:16:32 *** alehorst has quit IRC (Ping timeout: 240 seconds) 2012-08-02T08:32:53 *** Bob__ has joined #aichallenge 2012-08-02T08:33:10 *** jmcarthur has quit IRC (Ping timeout: 246 seconds) 2012-08-02T08:33:34 hi guys 2012-08-02T08:33:43 any progress on a new contest? 2012-08-02T08:43:19 not much 2012-08-02T08:52:57 *** UncleVasya has joined #aichallenge 2012-08-02T09:04:00 what's the holdup? :P 2012-08-02T09:04:38 organizational troubles 2012-08-02T09:11:50 organizational troubles 2012-08-02T09:11:53 fuck 2012-08-02T09:11:58 wrong console 2012-08-02T09:15:41 UncleVasya: you just disappeared 2012-08-02T09:17:31 mcstar: went to place with internet. Now I'm at home. 2012-08-02T09:17:53 k 2012-08-02T09:18:53 *** alehorst has joined #aichallenge 2012-08-02T09:20:08 Your important things - are they about your job? 2012-08-02T09:21:05 *** alehorst1 has quit IRC (Ping timeout: 252 seconds) 2012-08-02T09:23:25 my study 2012-08-02T09:25:44 *** alehorst has quit IRC (Ping timeout: 248 seconds) 2012-08-02T09:27:38 *** alehorst has joined #aichallenge 2012-08-02T09:36:25 *** foRei has joined #aichallenge 2012-08-02T09:52:59 *** pairofdice has quit IRC (Quit: In girum imus nocte et consumimur igni.) 2012-08-02T09:54:23 *** UncleVasya has quit IRC (Read error: Connection reset by peer) 2012-08-02T09:56:06 *** Bob__ has quit IRC (Quit: Page closed) 2012-08-02T09:59:15 *** UncleVasya has joined #aichallenge 2012-08-02T10:25:12 *** mceier has quit IRC (Quit: leaving) 2012-08-02T10:26:45 mcstar: are you there? 2012-08-02T10:26:58 no 2012-08-02T10:27:09 do you have a spare 3 minutes to do a simple calculation for me? 2012-08-02T10:27:10 this is a watermelon speaking 2012-08-02T10:27:13 A project will deliver $90 now, -$10 in a fortnight's time, and $30 in two fortnight's time. The 2012-08-02T10:27:13 appropriate interest/discount rate is j26 = 8.060% p.a. The Present Value (i.e period 0) of the 2012-08-02T10:27:13 ENTIRE cashflow delivered is: 2012-08-02T10:27:13 i ate mcstar 2012-08-02T10:27:28 i need to make sure i'm not an idiot before i send out an email saying test answers are wrong 2012-08-02T10:27:53 well, since im just a watermelon, im not sure i can be of much help 2012-08-02T10:27:56 but i can try! 2012-08-02T10:28:00 :P 2012-08-02T10:28:08 anyone else feel free to give me an answer 2012-08-02T10:29:46 antimatroid: do you want to give more information, or what you pasted is sufficient? 2012-08-02T10:30:01 i suppose it isnt 2012-08-02T10:30:08 what i've given is sufficient 2012-08-02T10:30:30 j26? whats that? 2012-08-02T10:30:47 the interest rate per annum, but compounded fortnightly 2012-08-02T10:30:56 so i = j26/26 2012-08-02T10:31:04 where i is the nominal interest rate 2012-08-02T10:31:19 fortnight == 2 weeks? 2012-08-02T10:31:23 yeah 2012-08-02T10:33:57 antimatroid: i have no idea what to do 2012-08-02T10:34:08 im not a merchant 2012-08-02T10:34:10 or whatever 2012-08-02T10:34:14 that's cool 2012-08-02T10:34:18 wth has interest here? 2012-08-02T10:34:21 it doesn't help if i tell you what to do :P 2012-08-02T10:34:28 antimatroid: ok let me think 2012-08-02T10:34:41 nah, i'll ask #math and cop being laughed at 2012-08-02T10:35:06 antimatroid: im sure i can help, im just not familiar with the setup 2012-08-02T10:35:28 is this some kind of investment? 2012-08-02T10:36:13 why would a project deliver atm? 2012-08-02T10:36:34 it needs funds, which are loaned 2012-08-02T10:36:42 that loan has interest 2012-08-02T10:37:00 so you can ask how much the project need to profit, to pay off the loans 2012-08-02T10:37:06 or something similar 2012-08-02T10:37:25 the point is, what's the present value of the amounts 2012-08-02T10:37:38 ie. convert the future amounts into current terms with the given interest rate then sum them 2012-08-02T10:37:52 yeah, ok but whats the interest rate? 2012-08-02T10:37:56 is it infalation? 2012-08-02T10:37:59 inflation 2012-08-02T10:38:25 anyway, let me write this down 2012-08-02T10:40:00 ignore inflation 2012-08-02T10:40:19 it's basically what would you have to invest now at that interest rate to get that amount in the future 2012-08-02T10:41:53 or for a negative value, what would you have to borrow now to have that debt in n periods with the given interest rate 2012-08-02T10:42:48 *** jmcarthur has joined #aichallenge 2012-08-02T10:44:09 how do people not know this? 2012-08-02T10:44:11 pv (1+j)^n = fv_n 2012-08-02T10:44:16 i learnt it in like grade 11 2012-08-02T10:44:35 i havent 2012-08-02T10:44:43 yeah, so pv = fv_n(1+j)^-n 2012-08-02T10:44:48 and j = j_m/m 2012-08-02T10:44:59 but now i've told you how i do i 2012-08-02T10:45:00 t 2012-08-02T10:45:06 what? 2012-08-02T10:45:10 no 2012-08-02T10:45:15 thats how id do it 2012-08-02T10:45:43 i'm pretty sure i'm right 2012-08-02T10:45:53 wanna calculate it anyway and tell me what you get? 2012-08-02T10:45:57 ok 2012-08-02T10:46:03 just to make sure i'm not making some numerical error 2012-08-02T10:47:50 106.43749236316879 2012-08-02T10:47:54 i think 2012-08-02T10:48:19 antimatroid: ^^ 2012-08-02T10:48:28 wrong :P 2012-08-02T10:48:43 wait 2012-08-02T10:48:50 let me check what question i gave you aha 2012-08-02T10:49:06 what did you get? 2012-08-02T10:49:20 109.8457655 2012-08-02T10:49:36 90+pv(-10,1) + pv(30,2) 2012-08-02T10:49:37 they have 109.80 2012-08-02T10:49:42 def pv(fv,n): 2012-08-02T10:49:43 ...: return fv / (1 + 0.0806)**n 2012-08-02T10:50:46 should be 90 - 10(1 + 0.0806/26)^(-1) + 30(1 + 0.0806/26)^(-2) no? 2012-08-02T10:51:33 i have no idea what that 26 is 2012-08-02T10:51:45 i used 8.06/100 2012-08-02T10:51:55 but the formula is the same otherwise 2012-08-02T10:52:09 wut? 2012-08-02T10:52:24 the function i pasted and what you pasted does the same thing 2012-08-02T10:52:32 then why did we get different answers? 2012-08-02T10:52:43 because i have no ieda what 26 is 2012-08-02T10:52:57 you used 8.06/26 2012-08-02T10:52:57 the number of compounding periods per anum 2012-08-02T10:52:58 i used 2012-08-02T10:53:00 you used 8.06/100 2012-08-02T10:53:08 i used 0.0806/26 2012-08-02T10:53:15 the nominal rate i is j_m/m 2012-08-02T10:53:36 i'm pretty sure i'm right, i'ma just send the email 2012-08-02T10:54:28 antimatroid: 109.80 and 109.8457655 are basically the same numbers 2012-08-02T10:54:36 the guy just rounded 2012-08-02T10:55:00 nah 2012-08-02T10:55:06 this guy is anal about rounding 2012-08-02T10:55:13 he wouldn't round like that 2012-08-02T10:55:16 some of them are further off 2012-08-02T10:56:06 antimatroid: ah 26 = 52/2 2012-08-02T10:56:13 antimatroid: why didnt you tell me? 2012-08-02T10:56:20 i asked you what is 26 2012-08-02T10:56:57 (00:30:14) mcstar: j26? whats that? 2012-08-02T10:56:58 (00:30:31) antimatroid: the interest rate per annum, but compounded fortnightly 2012-08-02T10:56:58 (00:30:40) antimatroid: so i = j26/26 2012-08-02T10:56:58 (00:30:47) antimatroid: where i is the nominal interest rate 2012-08-02T10:57:00 i told you 2012-08-02T10:57:01 anyway, i calculated the correct thing with the annual j 2012-08-02T10:57:14 my correct or their correct? 2012-08-02T10:57:18 i've sent the email now anyway 2012-08-02T10:57:23 your correct ofc 2012-08-02T10:57:24 so if i'm wrong i'll look silly anyway 2012-08-02T10:57:28 :D 2012-08-02T10:57:33 i don't like being wrong 2012-08-02T10:57:38 antimatroid: just put that function into a python iterpreter 2012-08-02T10:57:48 i think i've corrected every test i've been asked to check for eco so far this year 2012-08-02T10:57:50 that's a bit worrying 2012-08-02T10:57:57 i used a spreadsheet 2012-08-02T10:58:13 i had 12 lots of 6 questions 2012-08-02T10:58:46 antimatroid: i = j26/26 still doesnt make sense; j(fortnight) = j(annual)/26 does 2012-08-02T10:59:08 now you're just arguing notation 2012-08-02T10:59:23 antimatroid: yeah, but that tripped me up, and i am annoyed 2012-08-02T10:59:28 :p 2012-08-02T10:59:30 but ill calm now 2012-08-02T10:59:55 sweet, well i have to turn up to uni tomorrow to show face but i'm basically at the weekend 2012-08-02T11:00:02 plus i think it's going to rain so nothing better to do 2012-08-02T11:00:04 went skating earlier 2012-08-02T11:00:17 its hot as hell here 2012-08-02T11:00:23 i wish it was hot here 2012-08-02T11:00:31 i purcahsed mario galaxy too 2012-08-02T11:00:34 haven't opened it yet 2012-08-02T11:00:45 will probably do that (tomorrow, not really) tonight 2012-08-02T11:00:59 in like 17 hours tonight 2012-08-02T11:01:08 what is that? 2012-08-02T11:01:10 toy? 2012-08-02T11:01:13 wii game 2012-08-02T11:01:25 i'm quite behind on games 2012-08-02T11:01:36 been meaning to play it for ages, went fuck it and got it on ebay 2012-08-02T11:01:59 mario is kind of lame at this age 2012-08-02T11:02:16 little pixelated fellow jumping from mushroom to pipes... 2012-08-02T11:02:52 hey, maybe you would like prince of persia? 2012-08-02T11:02:59 you take that back 2012-08-02T11:03:00 i think it runs on the atari 2012-08-02T11:03:01 mario is the shit 2012-08-02T11:03:03 always will be 2012-08-02T11:03:12 :) 2012-08-02T11:03:14 XD 2012-08-02T11:03:24 k, ill take it back 2012-08-02T11:03:31 im sure it is ubercool 2012-08-02T11:15:41 i just wanted some mindless fun 2012-08-02T11:15:50 i suspect it shall provide 2012-08-02T11:18:13 antimatroid: id play it if it was a first person game 2012-08-02T11:18:36 and if mario had sniper rifle or desert eagle 2012-08-02T11:18:38 it is, assuming fpg is what i think it is 2012-08-02T11:18:42 oh, no 2012-08-02T11:18:48 it's not fps 2012-08-02T11:18:54 antimatroid: it is third person game 2012-08-02T11:19:04 you're a third person game 2012-08-02T11:19:05 i think, you can look at mario from angles 2012-08-02T11:19:15 antimatroid: what? 2012-08-02T11:19:17 XD 2012-08-02T11:53:50 great 2012-08-02T11:53:54 i have a headache 2012-08-02T11:54:56 *** mceier has joined #aichallenge 2012-08-02T12:06:13 *** _NoxiaZ <_NoxiaZ!~noxi@87-104-29-39-dynamic-customer.profibernet.dk> has joined #aichallenge 2012-08-02T12:09:23 *** _NoxiaZ <_NoxiaZ!~noxi@87-104-29-39-dynamic-customer.profibernet.dk> has quit IRC (Client Quit) 2012-08-02T12:15:21 *** mleise has joined #aichallenge 2012-08-02T12:18:54 mleise: load 697ms and check 158ms for ocaml, with records of mutable fields 2012-08-02T12:19:16 does immutable make a difference in this context? 2012-08-02T12:19:31 well, yeah it is slower 2012-08-02T12:19:35 the gc must work harder 2012-08-02T12:19:53 if the nodes are mutable, you just have to travel them, like in C, along the pointers 2012-08-02T12:20:06 and dont have to actually deconstruct/reconstruct the tree branches 2012-08-02T12:21:11 mleise: i just donloaded some c++ code fron code.google.com, <800ms for that 2012-08-02T12:21:15 with -O3 2012-08-02T12:21:17 well, the performance is ok for every day use I'd say. I should see what the D GC would do if I used it instead of manual memory management 2012-08-02T12:21:38 ha! ha! close to 800ms? 2012-08-02T12:22:18 mleise: is that too slow? 2012-08-02T12:22:40 that has load time in it 2012-08-02T12:22:46 i mean, file read time 2012-08-02T12:22:47 hey it is "C++" and it is no faster than Ocaml 2012-08-02T12:22:52 it is 2012-08-02T12:23:22 ocaml takes 1.132s 2012-08-02T12:23:25 855 vs. ~800? 2012-08-02T12:23:46 c++ ~790ms for full program run time 2012-08-02T12:24:06 ocaml 1.132s runtime, load 697ms and check 158ms 2012-08-02T12:24:29 but the c++ version uses resizable vectors inside 2012-08-02T12:24:44 and the ocal doesnt, it truly is a tree 2012-08-02T12:24:50 allocated node by node 2012-08-02T12:25:54 yes and I'm curious how your code is so fast? remember my 400ms for lookup? what do i do wrong? :/ 2012-08-02T12:26:10 despite using 220000 words instead of 200000 2012-08-02T12:26:18 *except for 2012-08-02T12:26:34 mleise: my timing are for the sorted dict 2012-08-02T12:26:46 let me try with the random one 2012-08-02T12:27:16 c++ 0m1.115s 2012-08-02T12:27:38 oh, surprise surprise 2012-08-02T12:27:57 the sorted list gives me 120ms for lookup 2012-08-02T12:27:57 ocaml 0m1.588s = file read in 306 2012-08-02T12:27:59 tree created in 961 2012-08-02T12:28:01 checking in 301 2012-08-02T12:28:43 mleise: 300ms vs 400 ms for the random one XD 2012-08-02T12:29:10 yeeeeess, i see that 2012-08-02T12:29:24 (well, at this point there no point in this comparison, your dict and cpu is different from mine 2012-08-02T12:29:28 ) 2012-08-02T12:30:53 the best of all of them, is my first haskell one 2012-08-02T12:30:59 immutable, clean and short 2012-08-02T12:31:08 and not too slow 2012-08-02T12:31:59 here is my exe if you want to give me some accurate comparison :) : https://www.dropbox.com/s/ddlcxfvoub1jazs/trie 2012-08-02T12:32:23 yes, immutability is pretty nice if it works out 2012-08-02T12:32:30 mleise: http://sprunge.us/TSHT?ocaml here is the imutable ocaml, if you feel like you should study it XD 2012-08-02T12:32:38 mutable* 2012-08-02T12:35:53 whoa, yours loads the file in 70ms 2012-08-02T12:36:08 standard ocaml strings are slow 2012-08-02T12:37:58 time ./mleise.tst ternary words words 2012-08-02T12:37:59 loading dictionary... done, 219153 words, 35 ms 2012-08-02T12:38:01 loading lookups... done, 219153 words, 33 ms 2012-08-02T12:38:03 filling trie... done, 271 ms 2012-08-02T12:38:05 looking up entries... found 219153 matches in 168 ms 2012-08-02T12:38:07 memory use for data structure is 34998984 bytes 2012-08-02T12:38:09 real 0m0.637s 2012-08-02T12:38:31 time ./mleise.tst ternary ../has/bookworm/wordsR ../has/bookworm/wordsR 2012-08-02T12:38:33 loading dictionary... done, 219153 words, 41 ms 2012-08-02T12:38:35 loading lookups... done, 219153 words, 33 ms 2012-08-02T12:38:37 filling trie... done, 387 ms 2012-08-02T12:38:39 looking up entries... found 219153 matches in 279 ms 2012-08-02T12:38:41 memory use for data structure is 34998984 bytes 2012-08-02T12:38:43 real 0m0.954s 2012-08-02T12:38:45 mleise: ^^ 2012-08-02T12:39:19 So the speed is the same more or less, ok :) 2012-08-02T12:42:13 mleise: now turn that gc on, and lets see the results! 2012-08-02T12:42:28 i guess, it would be too much work 2012-08-02T12:42:42 and you are too fond of manual memory allocation 2012-08-02T12:43:33 Walter (inventor of D) started a topic about a lexer for D in the std library @ 2:10 AM, now it has 67 replies 2012-08-02T12:44:07 it's not like we talked about that in a dozen other threads throughout the last years, nooo :D 2012-08-02T12:44:08 what am i supposed to say? 2012-08-02T12:44:12 peaple use D? 2012-08-02T12:44:56 no, I wonder why this topic isn't silent and instead we have a good wiki where we collect such ideas like Rust does 2012-08-02T12:45:15 idk 2012-08-02T12:45:15 because he isn't saying a lot of new things 2012-08-02T12:45:26 D ppl are talkative 2012-08-02T12:45:36 yet a big bikeshedding discussion evolves 2012-08-02T12:46:43 There are also at least 3 people working on D lexers, one has a moslty working complete comiler, another one worked closely with the community to get some ideas 2012-08-02T12:46:45 yea, i need a new bikeshed too 2012-08-02T12:46:53 i want to paint it green 2012-08-02T12:46:57 what's with your old one? 2012-08-02T12:47:12 yeah, ok, there is that, i can use my old one 2012-08-02T12:47:23 but a new bikeshed would be nicer 2012-08-02T12:47:29 in green color 2012-08-02T12:47:35 XD 2012-08-02T12:47:44 mleise: im bikeshedding, damn it! 2012-08-02T12:49:14 ok, but why not pink? cool-down-pink. 2012-08-02T12:49:47 (google for it ^^) 2012-08-02T12:50:13 mleise: so, are you considering switching to a better-than-D language? 2012-08-02T12:50:32 mcstar: Java? 2012-08-02T12:50:40 rust 2012-08-02T12:51:01 very nice color, this cool-down-pink is 2012-08-02T12:51:08 oh I don't think Rust is stable enough to be taken seriously 2012-08-02T12:51:10 am i supposed to find some other thing? 2012-08-02T12:51:42 yes, you are supposed to find talks about the psychological effect on human beings and the prison cell painted in this color 2012-08-02T12:51:45 hey what's that? http://blogs.valvesoftware.com/linux/faster-zombies/ 2012-08-02T12:51:58 they _have_ a Linux team? 2012-08-02T12:53:08 apparently 2012-08-02T12:55:40 mcstar: why you want mleise to switch from D? 2012-08-02T12:55:56 D looks like c++ 2012-08-02T12:55:58 UncleVasya: don't you use Rust btw? 2012-08-02T12:56:00 and thats bad 2012-08-02T12:56:13 i want him to use ocaml or haskell 2012-08-02T12:56:24 yes I wish it was ':=' instead of '=' but otherwise its great 2012-08-02T12:56:32 mleise: Delph one love :D 2012-08-02T12:56:40 *i 2012-08-02T12:56:43 oh, man delphi 2012-08-02T12:56:56 i recently realized whats the correc tway to say it 2012-08-02T12:57:14 you asked a Greek? 2012-08-02T12:57:27 mcstar: F#? 2012-08-02T12:57:29 ok, not like that 2012-08-02T12:57:42 but how to say it properly in english 2012-08-02T12:57:52 the thought never occurred to me, that i might say it the wrong way 2012-08-02T12:58:04 No it's faster and more advanced than OCaml I think . 2012-08-02T12:58:28 UncleVasya: F# is a language 2012-08-02T12:58:36 there are different implementations 2012-08-02T12:58:40 well the resume of the article is: OpenGL is faster than Direct3D and Windows vs. Linux performance are the same 2012-08-02T12:58:58 mono can run it, .net can run it, for example 2012-08-02T12:59:00 I say it like D-a-l-f-e. So did you before? 2012-08-02T12:59:06 usually .net is faster than mono 2012-08-02T12:59:18 delfi 2012-08-02T12:59:25 e in edward 2012-08-02T12:59:32 i in incognito 2012-08-02T12:59:37 thats how i said it 2012-08-02T12:59:41 but its del-phi 2012-08-02T12:59:57 so do I. 2012-08-02T13:00:04 phi as in fight 2012-08-02T13:00:07 no bikeshedding please! facts only: http://delphi.wikia.com/wiki/Delphi_Pronunciation -.- 2012-08-02T13:00:09 :D 2012-08-02T13:00:24 del - delete phi - fight 2012-08-02T13:00:57 -> http://cougar.eb.com/sound/gg/ggdelp02.wav 2012-08-02T13:01:20 mcstar: I meant don't you wanna to add F# to a list of mleise languages of choise? 2012-08-02T13:01:38 not sure 2012-08-02T13:01:40 why? 2012-08-02T13:01:41 oh in the D community there is not much love for F# 2012-08-02T13:01:42 eh, fail with semantics :) 2012-08-02T13:02:12 maybe it lacks at some important points, i never really read those comments 2012-08-02T13:02:18 f# isnt so great on linux 2012-08-02T13:02:36 mcstar: Because "it's faster and more advanced than OCaml I think ". 2012-08-02T13:02:44 OK 2012-08-02T13:02:45 yeah, i get that, but i dont think so 2012-08-02T13:02:51 it isnt faster 2012-08-02T13:02:56 since it is a LANGUAGE 2012-08-02T13:03:11 and why would it be more advanced? 2012-08-02T13:04:06 jon harrop certainly wants us to believe that f# beats ocaml and haskell 2012-08-02T13:04:25 but thats just an opinion, really 2012-08-02T13:04:26 Because it seems to have more attention from its creators than ocaml with its '0.5 manpower' 2012-08-02T13:04:59 just because a language is 'done' it doesnt become obsolete 2012-08-02T13:05:07 look at common lisp 2012-08-02T13:05:17 the specification was done in the 80s 2012-08-02T13:05:42 the ocaml community is active 2012-08-02T13:06:03 there are itnerested parties, that supply high quality standard libraries for example 2012-08-02T13:06:14 there is a good development envrionment.. 2012-08-02T13:06:32 Thanks for clearing. My thought were standed exactly on Harrops's explanations. 2012-08-02T13:08:15 heheh, I'm afraid your lingvistic parser broke on that sentence :D 2012-08-02T13:08:29 doesnt matter, i understood you 2012-08-02T13:09:16 anyway, haskell really, is quite different 2012-08-02T13:09:33 i seriously suggest to both of you UncleVasya mleise to get to know it 2012-08-02T13:09:38 I assume in future I'll be able to write only 'fsfsgfdkgskfnjwjrgurhiewajfwqkfl' but your skill of understanding Vasya's texts will be good enough to understand :D 2012-08-02T13:10:21 UncleVasya: ill pipe your texts though gunzip to make them intelligable 2012-08-02T13:10:33 through* 2012-08-02T13:11:29 Or ypu can pipe it to dev/null... 2012-08-02T13:11:37 *you 2012-08-02T13:12:27 Haskell has a lot of people/books/cources/libs and this fact makes it not so romantic for me than ocaml :) 2012-08-02T13:12:46 *camparing to ocaml 2012-08-02T13:13:07 wtf 2012-08-02T13:13:11 *comparing 2012-08-02T13:13:28 you dont want to get to know it because too many people use it? 2012-08-02T13:13:47 oh man 2012-08-02T13:13:58 haskell is not popular by any means 2012-08-02T13:14:07 not like java or c++ 2012-08-02T13:14:10 everybody heard Haskell name 2012-08-02T13:14:15 so? 2012-08-02T13:14:19 who the fuck cares? 2012-08-02T13:15:02 if you are really choosing languages based on some measure of unpopularity, then you are gravely wrong 2012-08-02T13:15:31 yeah, I know :) 2012-08-02T13:16:03 there is talk about haskell, because it is quite different from everything you know, from other functional languages even, and yet is is usable, it is developed actively(both the language and the implementation) and has a great community 2012-08-02T13:16:30 if you dont like challenges, than dont bother with it 2012-08-02T13:16:38 haskell is not trivial 2012-08-02T13:16:48 but not in a way like c++ 2012-08-02T13:18:21 Haskell needs a good brain in programmer who use it? If so, I can not use it, that's for sure :D 2012-08-02T13:19:04 first you have to try it, to know for certain 2012-08-02T13:19:25 something like thinking in a formal way, proving something 2012-08-02T13:20:41 OK, but first I need to learn ocaml better than I do now. 2012-08-02T13:21:17 sounds like a plan 2012-08-02T13:25:05 It is strange, I wrote a succesfull enough bot with ocaml but when I tried to code something few das ago I realised that I don't remember very basic things. I think that's because I didn't really learned ocaml but just googled how to do thing n every time i needed it. So now (well, after tree) I'll try to learn it in the standart way: chapter by chapter :) 2012-08-02T13:26:50 And that's why I asked you about how you know some things. Because I think you has _that_ knowledge in ocaml - systematized. 2012-08-02T13:28:50 i read some chapters from the ocaml manual 2012-08-02T13:28:54 when i needed it 2012-08-02T13:29:21 and asked around on #ocaml when i couldnt figure something out 2012-08-02T13:29:47 like, why does this tail recursive function overflow? 2012-08-02T13:29:54 hmm, sounds the way I did. :D 2012-08-02T13:30:15 because i like a mad man, put the whole recursive call in a try/with clause 2012-08-02T13:31:11 the problem with me and ocaml is that i got to know haskell before ocaml 2012-08-02T13:31:44 but haskell is non-strict so that changes some things 2012-08-02T13:32:33 overall, ocaml's syntax is harder to follow, and you cant see the code from the 'let's as i said many times 2012-08-02T13:43:59 *** epicmonkey has quit IRC (Ping timeout: 252 seconds) 2012-08-02T13:45:16 *** alehorst has quit IRC (Read error: Connection reset by peer) 2012-08-02T13:46:53 *** alehorst has joined #aichallenge 2012-08-02T14:18:43 *** UncleVasya has quit IRC (Read error: Connection reset by peer) 2012-08-02T14:23:24 *** alehorst has quit IRC (Read error: Connection reset by peer) 2012-08-02T14:25:24 *** alehorst has joined #aichallenge 2012-08-02T14:46:15 *** NoxiaZ^ has quit IRC () 2012-08-02T14:53:17 *** epicmonkey has joined #aichallenge 2012-08-02T15:00:57 *** Accoun has quit IRC () 2012-08-02T15:18:46 *** Accoun has joined #aichallenge 2012-08-02T15:35:11 *** cyphase has quit IRC (Ping timeout: 250 seconds) 2012-08-02T16:16:37 C HANG E 2012-08-02T16:17:54 gesundheit 2012-08-02T16:35:44 *** NoxiaZ^ has joined #aichallenge 2012-08-02T16:53:39 *** kilae has quit IRC (Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713134347]) 2012-08-02T17:09:34 *** mcstar has quit IRC (Quit: mcstar) 2012-08-02T17:42:30 *** amstan has joined #aichallenge 2012-08-02T17:42:31 *** ChanServ sets mode: +o amstan 2012-08-02T17:49:13 *** epicmonkey has quit IRC (Ping timeout: 248 seconds) 2012-08-02T18:10:39 *** Scooper has quit IRC (Quit: Leaving) 2012-08-02T18:13:57 *** UncleVasya has joined #aichallenge 2012-08-02T18:16:01 mleise, are you around? 2012-08-02T18:16:23 Wanna figure out one thing about TST. 2012-08-02T18:22:17 *** NoxiaZ^ has quit IRC (Ping timeout: 248 seconds) 2012-08-02T18:22:43 UncleVasya: shoot 2012-08-02T18:23:53 Let's say I have a tree A->B->C->D->F 2012-08-02T18:24:17 And words ABCDF, BC. 2012-08-02T18:24:41 So I have Endword flag at nodes C and F. 2012-08-02T18:25:16 What happens if I look for ABC word? 2012-08-02T18:27:03 From my understanding of TST I get this flow: search goes through A, then through B and on C it sees Endword and thinks that word ABC is in the tree. 2012-08-02T18:27:47 It is a ternary search tree, but you displayed a linked list :p 2012-08-02T18:28:12 No, it is a variation of TST :D 2012-08-02T18:28:35 I can draw some another nodes if you want :) 2012-08-02T18:28:39 e.g. if A was the split character for the root node, then ABCDF would take the eqNode and BC would take the hiNode 2012-08-02T18:28:55 so they are already ending up in other branches of the tree 2012-08-02T18:29:49 in other words, there are _two_ C nodes, one of which is also an endword node 2012-08-02T18:30:11 and ABC will hit the node that does not have endword set 2012-08-02T18:30:18 ah, I see. My case never happens because of design. Thanks! 2012-08-02T18:56:19 *** AlliedEnvy has joined #aichallenge 2012-08-02T19:13:29 bbl 2012-08-02T19:13:33 *** UncleVasya has quit IRC (Quit: UncleVasya) 2012-08-02T19:35:45 *** amstan has quit IRC (Quit: Konversation terminated!) 2012-08-02T20:32:54 *** ermau has quit IRC (Read error: Connection timed out) 2012-08-02T20:52:53 *** ermau has joined #aichallenge 2012-08-02T20:52:53 *** ermau has joined #aichallenge 2012-08-02T21:23:59 *** yoden1 has quit IRC (Ping timeout: 250 seconds) 2012-08-02T21:27:35 *** jukkerknott has joined #aichallenge 2012-08-02T21:29:05 *** jukkerknott has quit IRC (Client Quit) 2012-08-02T21:33:51 *** amstan has joined #aichallenge 2012-08-02T21:33:51 *** ChanServ sets mode: +o amstan 2012-08-02T22:48:06 *** yoden has joined #aichallenge