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:00 | Araq | ping Tasser |
12:44:00 | Tasser | pong Araq |
12:44:22 | Araq | ok, I implemented dead code eliminiation for the JS backend |
12:44:35 | Araq | and now my simple test doesn't work anymore |
12:44:47 | Araq | and I'm clueless how to debug JS ... :-) |
12:45:00 | Tasser | ow |
12:45:12 | Tasser | how do you test? |
12:47:16 | Araq | lol in firefox ... |
12:51:17 | Tasser | and I suppose you'd need to rewrite some stuff for nodejs - no window there |
12:52:09 | Araq | well there should be a decent JS debugger for firefox by now ... |
12:52:51 | Tasser | firebug |
12:52:57 | Tasser | or chromium got the webkit one |
12:53:08 | Araq | hm which one do you use? none? |
12:54:51 | Tasser | chromium + builtin |
12:55:08 | Tasser | works really well |
12:56:34 | Araq | can it somehow be scripted? |
12:56:44 | Araq | I want to run it as part of the test suite ... |
12:58:52 | Tasser | use nodejs then |
12:59:02 | Tasser | for browser testing, use selenium or something like that |
12:59:27 | Tasser | or 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:49 | Tasser | nodejs may be the easiest way to go if you want to test logic and not appearance |
13:02:16 | Araq | ugh |
13:02:29 | Araq | but the JS backend hasn't been designed for nodejs ... |
13:02:40 | Araq | oh well |
13:05:40 | Tasser | yes, it hasn't. |
13:05:52 | Tasser | but 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:32 | dom96 | Guess who's back :P |
14:58:42 | dom96 | What did I miss? |
14:58:57 | Araq | hi dom96 |
14:59:03 | Araq | not much I think |
14:59:49 | dom96 | Really? |
15:00:12 | dom96 | Come on. No new features in Nimrod? |
15:00:32 | Araq | no ... |
15:00:40 | Araq | I'm working on the JS backend for fun |
15:00:54 | Araq | made it perform dead code elimination |
15:01:07 | dom96 | cool |
15:02:32 | dom96 | I 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:39 | Araq | hey I am |
15:06:48 | Araq | but the forum didn't break :P |
15:07:11 | dom96 | Thanks to my awesomness of course. |
15:07:22 | Araq | yes |
15:07:26 | dom96 | I've only slept like 3 hours last night. |
15:07:35 | dom96 | Its been quite a week. |
15:11:30 | dom96 | Also I can't believe Germany lost. |
15:11:32 | * | dom96 is disappointed |
15:13:08 | Araq | thanks for reminding me |
15:13:52 | * | Trix[a]r_za is now known as Trixar_za |
15:15:52 | dom96 | Araq: Cheer up :) |
15:17:38 | Trixar_za | I don't think he will. First they lose against Chelsea (in the EPL) and now Italy. |
15:17:39 | Trixar_za | :p |
15:17:40 | * | Trixar_za runs |
15:19:45 | Araq | we need a development branch |
15:19:51 | Araq | and then when the tests pass |
15:19:57 | Araq | the main branch is updated |
15:20:16 | Araq | because I'm too lazy to do more frequent stable releases |
15:20:24 | Trixar_za | Isn't that what zahary been telling you to do? |
15:20:47 | Araq | I think it was somebody else |
15:21:18 | Trixar_za | I know somebody mentioned it. I wouldn't because I always release experimental changes with only minor testing. |
15:22:01 | Araq | hu? |
15:22:08 | Araq | that's what I do |
15:22:22 | dom96 | That'll require nimbuild adjustments. |
15:22:27 | Trixar_za | Well with some projects you can't fully test them |
15:22:44 | Araq | I push experimental changes to have nimbuild test it |
15:22:48 | Trixar_za | Like Alia. With how she learns I can't test everything. |
15:23:15 | Araq | and then people complain that the github version is broken ... |
15:23:22 | Araq | and submit bug reports |
15:23:32 | dom96 | Araq: Separate branches is a good idea though. |
15:23:34 | Araq | which is pointless as I'm still testing it |
15:23:45 | dom96 | People want the latest and greatest which works-ish. |
15:24:01 | dom96 | That's precisely what git branches are for. |
15:24:59 | Trixar_za | Speaking of which. Timer rewrite :D |
15:38:59 | * | Trixar_za is now known as Trix[a]r_za |
15:41:51 | Araq | I don't get it |
15:42:05 | Araq | dom96: so do you like the branch idea? or not? |
15:42:44 | dom96 | Araq: I do. |
15:42:48 | dom96 | But it will take work. |
15:42:53 | dom96 | Which requires time. |
15:42:57 | dom96 | Which I have very little of :P |
15:44:55 | Araq | lol? why? |
15:45:12 | dom96 | Because i'm getting a job. |
15:45:44 | Araq | damn you |
15:53:31 | Araq | my package manager lacks nodejs ... |
15:54:25 | dom96 | Install Arch already. :P |
15:55:19 | Araq | linux mint's packagement is a bad joke |
15:55:37 | Araq | it 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:56 | Araq | alert("hallo") |
17:03:58 | Araq | ReferenceError: alert is not defined |
17:04:01 | Araq | -.-+ |
17:19:01 | dom96 | Looks like you're having fun :P |
17:27:42 | * | XAMPP joined #nimrod |
17:39:43 | * | shevy2 is now known as shevy |
19:19:12 | Araq | zahary: 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:15 | Trixar_za | Damn you |
23:30:24 | * | dom96 hugs Trixar_za |
23:30:29 | dom96 | There there. |
23:30:41 | Trixar_za | test.nim(6, 14) Error: conversion from TaintedString to int is invalid |
23:30:43 | Trixar_za | :| |
23:30:55 | Trixar_za | Really, all I want to do is read a integer from stdin |
23:30:56 | Trixar_za | :/ |
23:31:06 | dom96 | parseInt? |
23:31:17 | dom96 | Also convert the TaintedString into a string. |
23:31:27 | Trixar_za | parseutils? |
23:31:30 | dom96 | Taint.string |
23:31:35 | dom96 | As in cast the type. |
23:32:34 | dom96 | Might be able to help more if I see the actual line. |
23:35:27 | Trixar_za | I probably should admit I don't know how to cast types |
23:35:29 | Trixar_za | :P |
23:35:32 | Trixar_za | http://trixarian.net/paste/29 |
23:35:49 | Trixar_za | for http://rosettacode.org/wiki/Sleep |
23:36:42 | dom96 | It's simple: |
23:36:46 | dom96 | type(variable) |
23:37:03 | dom96 | or if you want to do it the dirty, forceful and unsafe way then: |
23:37:08 | dom96 | cast[type](variable) |
23:37:51 | dom96 | Interesting, I wonder if taint mode is on by default now? |
23:37:54 | dom96 | or are you enabling it? |
23:38:24 | Trixar_za | Probably on by default |
23:38:44 | Trixar_za | I miss the days I could get away with stuff like this :P |
23:39:10 | dom96 | interesting. |
23:39:45 | dom96 | You sure you didn't enable it in the global config or something? |
23:40:24 | Trixar_za | Nope |
23:40:36 | Trixar_za | Mind you, this is the git version from last Sunday |
23:41:09 | dom96 | It shouldn't be enabled then/ |
23:41:19 | dom96 | Check the "using config file" |
23:41:21 | dom96 | lines |
23:41:27 | dom96 | and search for "taint" in those files |
23:42:11 | dom96 | But we might as well do it properly. |
23:42:37 | dom96 | var timed = parseInt(readLine(stdin).string) |
23:42:39 | dom96 | Should work |
23:43:36 | dom96 | But for rosetta code, it should be as nice as possible IMO :P |
23:43:40 | Trixar_za | test.nim(4, 21) Error: type mismatch: got (string) |
23:43:40 | Trixar_za | but expected one of: |
23:43:41 | Trixar_za | parseInt(s: string, number: var int, start: int): int |
23:43:49 | Trixar_za | lol |
23:44:34 | dom96 | s/parseutils/strutils/ |
23:44:34 | dom96 | ;) |
23:45:12 | Trixar_za | lol, that works |
23:45:18 | dom96 | parseutils contains procedures suited for parsing. |
23:45:29 | dom96 | Not for quick conversions like this. |
23:46:16 | Trixar_za | how long is 1000000 miliseconds? |
23:47:08 | Trixar_za | Still going |
23:47:42 | dom96 | 1000 seconds |
23:48:10 | dom96 | 1 second = 1000 ms |
23:48:44 | Trixar_za | 16 minutes |
23:48:50 | Trixar_za | yeah, so stopping this |
23:48:51 | Trixar_za | ;P |
23:48:58 | dom96 | lol |
23:51:16 | dom96 | I have to sleep now, so have fun and good night! |
23:53:30 | Trixar_za | http://rosettacode.org/wiki/Sleep#Nimrod |
23:53:33 | Trixar_za | Goodnite dom96 |