2013-08-26T00:12:06 *** contestbot has joined #aichallenge 2013-08-26T00:12:06 *** ChanServ sets mode: +o contestbot 2013-08-26T00:14:18 *** amstan has quit IRC (Ping timeout: 245 seconds) 2013-08-26T00:40:16 *** antimatroid has quit IRC (Quit: Leaving.) 2013-08-26T00:40:36 *** antimatroid has joined #aichallenge 2013-08-26T02:04:26 *** amstan_ has quit IRC (Ping timeout: 264 seconds) 2013-08-26T03:08:23 *** thestinger has quit IRC (Quit: sleep) 2013-08-26T05:38:24 *** smiley1983 has joined #aichallenge 2013-08-26T06:01:02 *** epicmonkey has joined #aichallenge 2013-08-26T06:10:22 *** sigh has joined #aichallenge 2013-08-26T06:22:19 *** Areks has joined #aichallenge 2013-08-26T06:40:43 *** Areks has quit IRC (Read error: Connection reset by peer) 2013-08-26T06:41:07 *** Areks has joined #aichallenge 2013-08-26T07:06:25 *** foRei has joined #aichallenge 2013-08-26T07:37:46 *** Areks has quit IRC (Read error: Connection reset by peer) 2013-08-26T07:38:13 *** Areks has joined #aichallenge 2013-08-26T07:46:54 *** AlliedEnvy has quit IRC (Ping timeout: 264 seconds) 2013-08-26T07:56:53 *** AlliedEnvy has joined #aichallenge 2013-08-26T08:24:51 *** Areks has quit IRC (Read error: Connection reset by peer) 2013-08-26T08:25:13 *** Areks has joined #aichallenge 2013-08-26T09:18:18 *** mcstar has joined #aichallenge 2013-08-26T09:28:17 *** dici has joined #aichallenge 2013-08-26T09:34:58 *** amstan has joined #aichallenge 2013-08-26T09:34:58 *** ChanServ sets mode: +o amstan 2013-08-26T09:48:42 *** epicmonkey has quit IRC (Ping timeout: 264 seconds) 2013-08-26T10:53:19 *** bqf has quit IRC (Changing host) 2013-08-26T10:53:20 *** bqf has joined #aichallenge 2013-08-26T11:17:47 *** sigh has quit IRC (Remote host closed the connection) 2013-08-26T11:42:52 *** foRei has quit IRC (Quit: Bye) 2013-08-26T11:57:12 *** NoxiaZ^ has joined #aichallenge 2013-08-26T12:32:44 *** smiley1983 has quit IRC (Ping timeout: 260 seconds) 2013-08-26T12:42:53 *** kilae has joined #aichallenge 2013-08-26T12:46:40 *** Zannick has quit IRC (Ping timeout: 245 seconds) 2013-08-26T12:55:15 *** thestinger has joined #aichallenge 2013-08-26T13:05:07 thestinger: hey, have you experienced problems with pty access? 2013-08-26T13:05:42 only xterm works for me, since the last update, all other term emulators fail to start 2013-08-26T13:06:20 mcstar: your fstab is probably wrong 2013-08-26T13:06:26 mcstar: what's in it? 2013-08-26T13:07:09 devpts /dev/pts devpts defaults 0 0 2013-08-26T13:07:10 shm /dev/shm tmpfs nodev,nosuid 0 0 2013-08-26T13:07:19 remove both 2013-08-26T13:07:27 systemd mounts them automatically, properly 2013-08-26T13:07:29 what changed? 2013-08-26T13:07:34 glibc had to remove a feature 2013-08-26T13:07:37 because it was insecure 2013-08-26T13:07:44 so now systemd has to mount devpts 2013-08-26T13:08:01 it already did mount it before, but now it *has* to 2013-08-26T13:08:28 ok, rebooting 2013-08-26T13:08:44 nope. delay that 2013-08-26T13:09:52 thestinger: i just read a blog that argued rust brings nothing really new to the table, and c++ with the latest standard is adequate 2013-08-26T13:10:01 lol 2013-08-26T13:10:02 where? 2013-08-26T13:10:57 type classes, default methods, generic impls of type classes, memory safety, no data races, no iterator invalidation, [...] 2013-08-26T13:11:04 real macros 2013-08-26T13:11:45 and no separate system for dynamic dispatch - it uses the same type classes as regular generics 2013-08-26T13:12:13 * thestinger shrugs 2013-08-26T13:12:15 and a lot more 2013-08-26T13:13:56 im trying to find it again... 2013-08-26T13:14:49 thestinger: http://nerds-central.blogspot.hu/2012/02/c11-makes-competitors-go-rusty.html 2013-08-26T13:15:08 *** rusti has joined #aichallenge 2013-08-26T13:15:43 so, he's just making stuff up 2013-08-26T13:15:48 rust structs have the same layout as C 2013-08-26T13:16:03 rust doesn't use GC by default, it's a corner case optional feature not used in the stdlib 2013-08-26T13:16:17 and it performs as well as C++ already, it's the same LLVM :s 2013-08-26T13:16:47 has good debug info support now, nothing else to do to match C++ (except it's higher-level so there's more debug info) 2013-08-26T13:16:51 * thestinger shrugs 2013-08-26T13:17:21 `However, using lambda's correctly along with other templating techniques makes C++ straightforward for multi-threaded reasoning. Template Meta Programming should be able to perform most of the type reasoning which the compile time checks are performing in Rust. C++11 has type inference. It does not use clever code branch analysis like Rust, but it is there (auto and decltype).` 2013-08-26T13:17:23 it's 100% untrue 2013-08-26T13:17:25 ;p 2013-08-26T13:18:34 i wonder how would this www.cs.rice.edu/~taha/publications/preprints/2003-12-01.pdf‎(the c++ example) look like in rust 2013-08-26T13:18:38 C++ doesn't have borrow checking (dangling refs, iterator invalidation), protection against data races, protection against use-after-move, protection against double-free/use-after-free 2013-08-26T13:18:53 although you wouldn't run into the last issue *much* in C++ 2013-08-26T13:19:10 you can't just magically make it a safe language with TMP 2013-08-26T13:19:43 * thestinger shrugs 2013-08-26T13:19:48 to what? 2013-08-26T13:20:11 that blog post 2013-08-26T13:20:11 does the c++ style dsl embedding work in rust? 2013-08-26T13:20:12 it's awful 2013-08-26T13:20:17 get over it already 2013-08-26T13:20:19 sure 2013-08-26T13:20:24 rust has macros + syntax exts 2013-08-26T13:20:24 im talking about the paper 2013-08-26T13:20:40 rusti: fmt!("%d", 5) 2013-08-26T13:20:42 -rusti- ~"5" 2013-08-26T13:20:43 rusti: fmt!("%s", 5) 2013-08-26T13:20:47 -rusti- pastebinned 7 lines of output: http://ix.io/7AC 2013-08-26T13:20:52 that's the old fmt string though 2013-08-26T13:21:17 mcstar: that's a DSL, isn't it? you'll be able to define them yourself by writing some rust code manipulating tokens (that example is a bit beyond declarative macros) 2013-08-26T13:21:23 * thestinger shrugs 2013-08-26T13:21:31 the format string is a dsl 2013-08-26T13:21:43 you still have operator overloading and such but that's a crappy way to make a DSL 2013-08-26T13:21:52 thestinger: have you looked at the paper? 2013-08-26T13:21:56 mcstar: well the whole thing is, fmt! is just pretending to be like a function with args 2013-08-26T13:21:58 mcstar: no 2013-08-26T13:22:01 then do 2013-08-26T13:22:37 mcstar: rust syntax exts == template haskell 2013-08-26T13:22:57 the problem is, TH is untyped 2013-08-26T13:24:40 that kind of embedding the paper shows for c++ looks real nice, i didnt know it was possible that way 2013-08-26T13:24:54 (looks nice for c++ that is, not in general) 2013-08-26T13:25:58 mcstar: problem is that expression templates are unusable 2013-08-26T13:26:02 try boost spirit 2013-08-26T13:26:09 you get 200KiB tracebacks at compile-time 2013-08-26T13:26:16 if you forget a semicolon 2013-08-26T13:26:30 all the internal details are public 2013-08-26T13:26:36 programmer incompetence, pff 2013-08-26T13:27:04 mcstar: if programmers were competent, why would they need the DSL abstraction in the first place? ;p 2013-08-26T13:27:10 it's only useful if it makes your life easier 2013-08-26T13:27:13 and in C++ it does the opposite 2013-08-26T13:27:21 dsl is for domain experts, not programmers 2013-08-26T13:27:50 thestinger: it makes the life of the programmer harder, the user's easier 2013-08-26T13:27:59 mcstar: I mean it makes the user's life harder 2013-08-26T13:28:06 shouldnt :) 2013-08-26T13:28:08 because now they have incomprehensible template errors 2013-08-26T13:30:48 mcstar: ok for example 2013-08-26T13:30:57 this is an example from the boost xpressive docs 2013-08-26T13:31:00 "<(\\w+)>.*?" 2013-08-26T13:31:02 normal regexp 2013-08-26T13:31:05 '<' >> (s1= +_w) >> '>' >> -*_ >> "> s1 >> '>' 2013-08-26T13:31:09 expression template version 2013-08-26T13:31:15 ok and now, lets make a typo 2013-08-26T13:31:38 800 lines of garbage 2013-08-26T13:31:49 why would you do that? 2013-08-26T13:32:03 i mean, representing a regexp like that? 2013-08-26T13:32:16 it is not readable 2013-08-26T13:32:30 mcstar: because C++ forces you to make DSLs like this 2013-08-26T13:32:31 regexp is already hard to read 2013-08-26T13:32:31 ;p 2013-08-26T13:32:56 i dont think it does 2013-08-26T13:33:08 mcstar: no metaprogramming on strings like you'd need 2013-08-26T13:33:22 you need 2013-08-26T13:33:45 user literal + variadic templates with constexpr string literals 2013-08-26T13:33:49 but it doesn't exist 2013-08-26T13:34:57 you could definitely write an interpreter for the regexp dsl 2013-08-26T13:35:10 but they want it statically checked/compiled 2013-08-26T13:35:12 the problem would be to compile it 2013-08-26T13:35:22 rust and template haskell can do it 2013-08-26T13:35:26 sanely 2013-08-26T13:35:57 do rust macros go beyond TH, or syntax extension as you said it? 2013-08-26T13:36:18 for example, can you generate code at runtime? 2013-08-26T13:36:52 and is there guarantee that macro generated code will typecheck? 2013-08-26T13:37:09 mcstar: no, it receives an AST and outputs an AST 2013-08-26T13:37:21 there's no guarantee templates in C++ will typeck ;p 2013-08-26T13:37:33 you can get a failure after descending through 5000 levels of recursion 2013-08-26T13:37:57 im not comparing it to c++ 2013-08-26T13:38:02 im comparing it to metaocaml 2013-08-26T13:59:15 *** rusti has quit IRC (Remote host closed the connection) 2013-08-26T13:59:56 *** Scooper has joined #aichallenge 2013-08-26T14:02:16 *** ermau_ has joined #aichallenge 2013-08-26T14:04:25 *** epicmonkey has joined #aichallenge 2013-08-26T14:04:50 *** ermau has quit IRC (Ping timeout: 240 seconds) 2013-08-26T14:04:57 *** ermau_ is now known as ermau 2013-08-26T14:11:50 *** foRei has joined #aichallenge 2013-08-26T14:21:06 *** Apophis has joined #aichallenge 2013-08-26T15:03:11 *** mcstar has quit IRC (Quit: mcstar) 2013-08-26T15:09:22 *** AlliedEnvy has quit IRC (Ping timeout: 246 seconds) 2013-08-26T15:10:41 *** AlliedEnvy has joined #aichallenge 2013-08-26T15:15:45 *** Areks has quit IRC (Read error: Connection reset by peer) 2013-08-26T15:16:08 *** Areks has joined #aichallenge 2013-08-26T15:59:42 *** rofer has quit IRC (Ping timeout: 276 seconds) 2013-08-26T15:59:48 *** coeus has joined #aichallenge 2013-08-26T16:00:21 *** coeus_ has joined #aichallenge 2013-08-26T16:03:47 *** kilae has quit IRC (Quit: ChatZilla 0.9.90.1 [Firefox 23.0.1/20130814063812]) 2013-08-26T16:33:54 *** Zannick has joined #aichallenge 2013-08-26T16:43:46 *** thestinger1 has joined #aichallenge 2013-08-26T16:43:54 *** thestinger has quit IRC (Ping timeout: 264 seconds) 2013-08-26T17:39:36 *** amstan has quit IRC (Ping timeout: 245 seconds) 2013-08-26T17:44:08 *** sigh has joined #aichallenge 2013-08-26T17:59:28 *** ermau has quit IRC (Changing host) 2013-08-26T17:59:28 *** ermau has joined #aichallenge 2013-08-26T18:11:35 *** amstan_ has joined #aichallenge 2013-08-26T18:11:35 *** ChanServ sets mode: +o amstan_ 2013-08-26T18:23:32 *** sigh has quit IRC (Remote host closed the connection) 2013-08-26T18:25:17 *** rofer has joined #aichallenge 2013-08-26T18:26:45 *** rofer has quit IRC (Client Quit) 2013-08-26T18:33:29 *** sigh has joined #aichallenge 2013-08-26T18:45:28 *** sigh has quit IRC (Remote host closed the connection) 2013-08-26T19:02:27 *** Apophis has quit IRC (Quit: Verlassend) 2013-08-26T19:12:06 *** Scooper has quit IRC (Quit: Leaving) 2013-08-26T19:41:30 *** dici has quit IRC (Quit: Leaving.) 2013-08-26T19:52:42 *** NoxiaZ^ has quit IRC () 2013-08-26T20:44:53 *** cyphase has joined #aichallenge 2013-08-26T20:54:04 *** foRei has quit IRC (Quit: Bye) 2013-08-26T22:41:34 *** SJRvanSchaik has quit IRC (Ping timeout: 246 seconds) 2013-08-26T22:41:44 *** SJRvanSchaik has joined #aichallenge 2013-08-26T23:07:18 *** smiley1983 has joined #aichallenge 2013-08-26T23:12:02 *** cyphase has quit IRC (Quit: cyphase.com) 2013-08-26T23:17:08 *** cyphase has joined #aichallenge 2013-08-26T23:19:00 *** smiley1983 has quit IRC (Ping timeout: 256 seconds)