Camelia, the Perl 6 bug

IRC log for #moe, 2013-04-07

| Channels | #moe index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:10 masak rjbs: you can double-click editor tabs to make them go full-window in Eclipse, IIRC.
00:17 rjbs masak: yeah, it's not native OS X full screen, though
00:17 rjbs means it doesn't interact so nicely with mission control, etc.
00:19 stevan rjbs++
00:20 rjbs I love that I can solve problems because things reuse syntax.
00:21 rjbs I need to implement recursive max().  I know I need a cons operator.  So I google for "cons scala" and it's solved.
00:25 stevan yeah their docs are pretty good too
00:26 stevan whenever I am thinking "hmm, I need to do $x with $y" I google $y and almost always there is a method that gets me 1/2 way there
00:26 stevan for instance, foldl is awesome
00:27 stevan https://github.com/MoeOrganization/​moe/blob/master/src/main/scala/org/​moe/runtime/MoePackage.scala#L8-L10
00:27 stevan that ^ will traverse a package tree given a "path"
00:28 stevan https://github.com/MoeOrganization/m​oe/blob/master/src/main/scala/org/mo​e/runtime/MoePackage.scala#L16-L22
00:28 stevan that ^ generates same package tree
00:33 rjbs Wow, who wants to see a really bad max() implementation?  You do?  Great:
00:33 stevan oh oh, me me
00:33 rjbs https://gist.github.com/rjbs/fdb30de8a6cbfa22d627
00:33 rjbs My *sole* claim will be: not bad for having read zero documentation so far.
00:34 rjbs Now I can submit this homework and try watching the first lecture.
00:34 rjbs Evaluation of Corsera so far:  video buffers badly, and I need two monitors.  Or, if you prefer my initial typo, two minotaurs.
00:37 stevan def max(list: List[Int]) = list.max
00:37 stevan ^ that works too
00:37 stevan ;)
00:37 perigrin joined #moe
00:38 stevan https://github.com/scala/scala/blob​/v2.10.1/src/library/scala/collecti​on/TraversableOnce.scala#L214-L219
00:38 stevan thats how they implement it
00:39 rjbs makes sense
00:39 rjbs I was pretty sure that list.max would be against the rules. :)
00:39 * stevan is all about trolling the professor
00:40 rjbs I assume that only a shell script looks at the homework.
00:44 perigrin rjbs: yes but the shell script is also a TA for six other classes ...
00:44 perigrin so it offloads it to a subprocess.
00:49 rjbs you mean a grad student? :)
00:50 rjbs aaw yeah, I got 10/10
00:50 rjbs Ugh, the first real assignment is Pascal's Damn Triangle.
00:50 * rjbs was just doing that in Erlang last week.
01:07 perigrin joined #moe
04:30 moe [moe] prakashk pushed 3 new commits to prakashk/list-util: http://git.io/DgraQQ
04:30 moe moe/prakashk/list-util 3c3842c Prakash Kailasa: array element assignment
04:30 moe moe/prakashk/list-util a9d9ddc Prakash Kailasa: Hash element assignment
04:30 moe moe/prakashk/list-util 2caaf83 Prakash Kailasa: tests for array/hash element assignment
05:31 hiratara joined #moe
07:22 moritz joined #moe
07:43 tobyink joined #moe
10:28 melo joined #moe
10:53 melo joined #moe
11:25 melo joined #moe
11:56 melo joined #moe
13:03 tobyink joined #moe
13:20 gizmomathboy joined #moe
14:01 melo1 joined #moe
14:43 melo joined #moe
14:48 rjbs Heh.  The Scala Coursera course is eerily familiar, as I've also been watching the SICP lectures.
18:30 tobyink joined #moe
18:32 awwaiid joined #moe
18:41 melo joined #moe
20:10 awwaiid joined #moe

| Channels | #moe index | Today | | Search | Google Search | Plain-Text | summary