<<30-06-2012>>

05:17:44*XAMPP quit (Quit: There is no such thing as coincidence, only the inevitable.)
09:04:06*apriori_ joined #nimrod
12:00:07*apriori__ joined #nimrod
12:00:32*apriori__ quit (Client Quit)
12:00:33*apriori_ quit (Ping timeout: 250 seconds)
12:00:40*apriori__ joined #nimrod
12:30:00Araqping Tasser
12:44:00Tasserpong Araq
12:44:22Araqok, I implemented dead code eliminiation for the JS backend
12:44:35Araqand now my simple test doesn't work anymore
12:44:47Araqand I'm clueless how to debug JS ... :-)
12:45:00Tasserow
12:45:12Tasserhow do you test?
12:47:16Araqlol in firefox ...
12:51:17Tasserand I suppose you'd need to rewrite some stuff for nodejs - no window there
12:52:09Araqwell there should be a decent JS debugger for firefox by now ...
12:52:51Tasserfirebug
12:52:57Tasseror chromium got the webkit one
12:53:08Araqhm which one do you use? none?
12:54:51Tasserchromium + builtin
12:55:08Tasserworks really well
12:56:34Araqcan it somehow be scripted?
12:56:44AraqI want to run it as part of the test suite ...
12:58:52Tasseruse nodejs then
12:59:02Tasserfor browser testing, use selenium or something like that
12:59:27Tasseror go for the whole cucumber stack rails uses - it's not that bad if you want to do javascript testing in the browser
12:59:49Tassernodejs may be the easiest way to go if you want to test logic and not appearance
13:02:16Araqugh
13:02:29Araqbut the JS backend hasn't been designed for nodejs ...
13:02:40Araqoh well
13:05:40Tasseryes, it hasn't.
13:05:52Tasserbut it's the best way if you want to run it on its own
13:12:54*apriori__ quit (Ping timeout: 248 seconds)
14:43:31*Trix[a]r_za is now known as Trixar_za
14:58:32dom96Guess who's back :P
14:58:42dom96What did I miss?
14:58:57Araqhi dom96
14:59:03Araqnot much I think
14:59:49dom96Really?
15:00:12dom96Come on. No new features in Nimrod?
15:00:32Araqno ...
15:00:40AraqI'm working on the JS backend for fun
15:00:54Araqmade it perform dead code elimination
15:01:07dom96cool
15:02:32dom96I thought you would have been more happy to see me return, pff. :P
15:06:06*Trixar_za is now known as Trix[a]r_za
15:06:39Araqhey I am
15:06:48Araqbut the forum didn't break :P
15:07:11dom96Thanks to my awesomness of course.
15:07:22Araqyes
15:07:26dom96I've only slept like 3 hours last night.
15:07:35dom96Its been quite a week.
15:11:30dom96Also I can't believe Germany lost.
15:11:32*dom96 is disappointed
15:13:08Araqthanks for reminding me
15:13:52*Trix[a]r_za is now known as Trixar_za
15:15:52dom96Araq: Cheer up :)
15:17:38Trixar_zaI don't think he will. First they lose against Chelsea (in the EPL) and now Italy.
15:17:39Trixar_za:p
15:17:40*Trixar_za runs
15:19:45Araqwe need a development branch
15:19:51Araqand then when the tests pass
15:19:57Araqthe main branch is updated
15:20:16Araqbecause I'm too lazy to do more frequent stable releases
15:20:24Trixar_zaIsn't that what zahary been telling you to do?
15:20:47AraqI think it was somebody else
15:21:18Trixar_zaI know somebody mentioned it. I wouldn't because I always release experimental changes with only minor testing.
15:22:01Araqhu?
15:22:08Araqthat's what I do
15:22:22dom96That'll require nimbuild adjustments.
15:22:27Trixar_zaWell with some projects you can't fully test them
15:22:44AraqI push experimental changes to have nimbuild test it
15:22:48Trixar_zaLike Alia. With how she learns I can't test everything.
15:23:15Araqand then people complain that the github version is broken ...
15:23:22Araqand submit bug reports
15:23:32dom96Araq: Separate branches is a good idea though.
15:23:34Araqwhich is pointless as I'm still testing it
15:23:45dom96People want the latest and greatest which works-ish.
15:24:01dom96That's precisely what git branches are for.
15:24:59Trixar_zaSpeaking of which. Timer rewrite :D
15:38:59*Trixar_za is now known as Trix[a]r_za
15:41:51AraqI don't get it
15:42:05Araqdom96: so do you like the branch idea? or not?
15:42:44dom96Araq: I do.
15:42:48dom96But it will take work.
15:42:53dom96Which requires time.
15:42:57dom96Which I have very little of :P
15:44:55Araqlol? why?
15:45:12dom96Because i'm getting a job.
15:45:44Araqdamn you
15:53:31Araqmy package manager lacks nodejs ...
15:54:25dom96Install Arch already. :P
15:55:19Araqlinux mint's packagement is a bad joke
15:55:37Araqit lacks wine too
15:55:41*Trix[a]r_za is now known as Trixar_za
16:04:10*shevy2 joined #nimrod
16:08:23*shevy quit (Ping timeout: 265 seconds)
16:09:58*Trixar_za is now known as Trix[a]r_za
17:03:56Araqalert("hallo")
17:03:58AraqReferenceError: alert is not defined
17:04:01Araq-.-+
17:19:01dom96Looks like you're having fun :P
17:27:42*XAMPP joined #nimrod
17:39:43*shevy2 is now known as shevy
19:19:12Araqzahary: http://lambda-the-ultimate.org/node/4554#comment-71506
19:19:49*ccssnet quit (Read error: Connection reset by peer)
19:25:44*ccssnet joined #nimrod
19:58:27*Trix[a]r_za is now known as Trixar_za
23:30:12*Trixar_za slaps Araq
23:30:15Trixar_zaDamn you
23:30:24*dom96 hugs Trixar_za
23:30:29dom96There there.
23:30:41Trixar_zatest.nim(6, 14) Error: conversion from TaintedString to int is invalid
23:30:43Trixar_za:|
23:30:55Trixar_zaReally, all I want to do is read a integer from stdin
23:30:56Trixar_za:/
23:31:06dom96parseInt?
23:31:17dom96Also convert the TaintedString into a string.
23:31:27Trixar_zaparseutils?
23:31:30dom96Taint.string
23:31:35dom96As in cast the type.
23:32:34dom96Might be able to help more if I see the actual line.
23:35:27Trixar_zaI probably should admit I don't know how to cast types
23:35:29Trixar_za:P
23:35:32Trixar_zahttp://trixarian.net/paste/29
23:35:49Trixar_zafor http://rosettacode.org/wiki/Sleep
23:36:42dom96It's simple:
23:36:46dom96type(variable)
23:37:03dom96or if you want to do it the dirty, forceful and unsafe way then:
23:37:08dom96cast[type](variable)
23:37:51dom96Interesting, I wonder if taint mode is on by default now?
23:37:54dom96or are you enabling it?
23:38:24Trixar_zaProbably on by default
23:38:44Trixar_zaI miss the days I could get away with stuff like this :P
23:39:10dom96interesting.
23:39:45dom96You sure you didn't enable it in the global config or something?
23:40:24Trixar_zaNope
23:40:36Trixar_zaMind you, this is the git version from last Sunday
23:41:09dom96It shouldn't be enabled then/
23:41:19dom96Check the "using config file"
23:41:21dom96lines
23:41:27dom96and search for "taint" in those files
23:42:11dom96But we might as well do it properly.
23:42:37dom96var timed = parseInt(readLine(stdin).string)
23:42:39dom96Should work
23:43:36dom96But for rosetta code, it should be as nice as possible IMO :P
23:43:40Trixar_zatest.nim(4, 21) Error: type mismatch: got (string)
23:43:40Trixar_zabut expected one of:
23:43:41Trixar_zaparseInt(s: string, number: var int, start: int): int
23:43:49Trixar_zalol
23:44:34dom96s/parseutils/strutils/
23:44:34dom96;)
23:45:12Trixar_zalol, that works
23:45:18dom96parseutils contains procedures suited for parsing.
23:45:29dom96Not for quick conversions like this.
23:46:16Trixar_zahow long is 1000000 miliseconds?
23:47:08Trixar_zaStill going
23:47:42dom961000 seconds
23:48:10dom961 second = 1000 ms
23:48:44Trixar_za16 minutes
23:48:50Trixar_zayeah, so stopping this
23:48:51Trixar_za;P
23:48:58dom96lol
23:51:16dom96I have to sleep now, so have fun and good night!
23:53:30Trixar_zahttp://rosettacode.org/wiki/Sleep#Nimrod
23:53:33Trixar_zaGoodnite dom96