00:33:35 | * | EXetoC quit (Quit: WeeChat 0.4.1) |
01:00:29 | * | Trixar_za is now known as Trix[a]r_za |
01:01:45 | * | q66 quit (Quit: Leaving) |
01:32:37 | * | zahary quit (Read error: Connection reset by peer) |
01:33:14 | * | zahary joined #nimrod |
01:56:32 | * | DAddYE quit (Remote host closed the connection) |
01:57:05 | * | DAddYE joined #nimrod |
02:01:14 | * | DAddYE quit (Ping timeout: 240 seconds) |
02:37:34 | * | charles81 quit (Ping timeout: 256 seconds) |
02:57:51 | * | DAddYE joined #nimrod |
03:05:00 | * | DAddYE quit (Ping timeout: 276 seconds) |
03:21:25 | * | DAddYE joined #nimrod |
04:18:28 | * | OrionPK quit (Quit: Leaving) |
04:45:36 | * | Associat0r joined #nimrod |
04:45:36 | * | Associat0r quit (Changing host) |
04:45:36 | * | Associat0r joined #nimrod |
04:58:11 | * | Endeg joined #nimrod |
05:54:34 | * | Amrykid quit (Excess Flood) |
05:55:01 | * | Amrykid joined #nimrod |
05:55:46 | * | Amrykid quit (Changing host) |
05:55:46 | * | Amrykid joined #nimrod |
05:55:48 | * | Amrykid quit (Excess Flood) |
05:56:01 | * | Amrykid joined #nimrod |
05:56:34 | * | Amrykid quit (Changing host) |
05:56:34 | * | Amrykid joined #nimrod |
06:12:27 | * | Endeg quit (Read error: Connection reset by peer) |
07:05:58 | * | Araq_ joined #nimrod |
08:22:56 | * | DAddYE quit (Remote host closed the connection) |
08:37:26 | dom96 | hello |
09:22:31 | * | zahary quit (Read error: Connection reset by peer) |
09:22:41 | * | EXetoC joined #nimrod |
09:22:43 | * | zahary joined #nimrod |
09:24:04 | * | DAddYE joined #nimrod |
09:40:01 | Araq_ | hi dom96 |
09:40:11 | dom96 | hi |
09:45:31 | Araq_ | wup? |
09:45:53 | dom96 | working on async |
09:48:04 | * | Trix[a]r_za is now known as Trixar_za |
09:57:57 | * | DAddYE quit (Ping timeout: 248 seconds) |
10:07:48 | * | vegai quit (Read error: Operation timed out) |
10:09:08 | * | vegai joined #nimrod |
10:27:03 | * | Trixar_za is now known as Trix[a]r_za |
10:30:34 | * | q66 joined #nimrod |
10:34:37 | * | Trix[a]r_za is now known as Trixar_za |
10:54:08 | * | DAddYE joined #nimrod |
11:02:47 | * | Trixar_za is now known as Trix[a]r_za |
11:14:25 | * | Trix[a]r_za is now known as Trixar_za |
11:22:39 | * | q66 quit (Remote host closed the connection) |
11:27:26 | * | DAddYE quit (Ping timeout: 240 seconds) |
11:27:51 | * | q66 joined #nimrod |
12:04:43 | vegai | the OS X / brew package for nimrod seems to have an issue |
12:04:57 | vegai | $ nimrod i |
12:04:57 | vegai | Error: cannot open '/usr/local/lib/nimrod/system.nim' |
12:05:07 | vegai | system.nim does exist in /usr/local/lib/ though |
12:13:53 | Araq_ | hmm maybe it's some file permission problem? |
12:15:23 | vegai | no, the file actually doesn't exist |
12:16:03 | Araq_ | well it's a known bug nimrod doesn't really know about the /usr/local/etc/nimrod.cfg or something like that |
12:16:04 | dom96 | brew package installs it incorrectly then I guess |
12:16:28 | * | Araq_ wishes he could just dump macosx support for good |
12:24:51 | vegai | I wouldn't mind :) |
12:25:04 | vegai | 'tis a silly OS |
12:25:35 | Araq_ | lol why do you use it then? :-) |
12:26:50 | vegai | work... |
12:27:27 | vegai | even with all the silliness, I find it more acceptable than Windows |
12:30:36 | * | EXetoC quit (Quit: WeeChat 0.4.1) |
12:32:00 | vegai | are you guys hard core christians or something? :P |
12:33:20 | Trixar_za | Oh, the nimrod and tower of babel thing. I think that was just convenient like the use of 'babelfish' in Hitchhiker's Guide to the Galaxy |
12:33:39 | Trixar_za | Douglas Adams was an Atheist of note :P |
12:34:04 | Araq_ | actually the real reason is that it's the first king according to bible |
12:34:17 | Araq_ | that he build the tower of babel is a nice bonus though |
12:36:28 | Araq_ | I find even win 8 more acceptable then macoxs |
12:41:37 | * | EXetoC joined #nimrod |
13:00:51 | vegai | well, this is just a case of configuration |
13:00:57 | vegai | in the brew package |
13:01:05 | vegai | so I'll just unzip the source and build.sh, that oughta work |
13:10:56 | * | Trixar_za is now known as Trix[a]r_za |
13:33:00 | reactormonk | vegai, yeah, brew does a bit of symlinking |
14:00:07 | * | Araq_ quit (Quit: ChatZilla 0.9.90.1 [Firefox 22.0/20130618035212]) |
16:04:16 | * | Sergio965 joined #nimrod |
16:40:45 | * | BitPuffin_ joined #nimrod |
16:41:15 | * | BitPuffin quit (Ping timeout: 245 seconds) |
16:48:26 | * | DAddYE joined #nimrod |
17:05:15 | vegai | babel seems to set its path a bit wrongly too |
17:05:26 | vegai | config/nimrod.cfg(36, 11) Hint: added path: '/home/users/vegai/.babel/libs/' [Path] |
17:05:37 | vegai | or something else is wrong |
17:05:52 | vegai | I installed jester via babel but nothing is in .babel/libs |
17:24:03 | EXetoC | is your nimrod config outdated? it's .babel/pkgs now |
17:31:38 | EXetoC | that was corrected maybe 2 months ago |
17:39:38 | vegai | I just today installed the latest nimrod from scratch |
17:39:45 | vegai | and then babel from git |
17:39:54 | dom96 | I'm guessing by latest you mean 0.9.2 |
17:40:20 | dom96 | just change the 'libs' in nimrod's config file to 'pkgs' |
17:41:58 | vegai | yes, 0.9.2 |
17:42:01 | vegai | okay then |
17:42:09 | vegai | all you others tend to run git master or something? |
17:48:12 | dom96 | yes |
17:51:25 | * | Mat2 joined #nimrod |
17:51:30 | Mat2 | hi @ all |
17:52:41 | Araq | tach, Mat2 |
17:56:19 | Mat2 | hi Arawq |
17:56:27 | Mat2 | sorry, hi Araq |
17:56:41 | Araq | never mind |
18:02:23 | dom96 | well, looks like we're going to have to adopt C#'s convention for prefixing {.async.} function names with 'Async' |
18:03:20 | Araq | hmm |
18:03:36 | * | Mat2 finds out from analysing machine-code, that the stack pointer can be used as general-purpose register for AMD64 and IA32 without BTB involvement |
18:03:40 | Araq | what about a suffix instead? people hate prefixes |
18:03:41 | * | Sergio965 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
18:03:51 | dom96 | er, yeah. I mean suffix |
18:03:53 | dom96 | lol |
18:03:56 | Araq | ok |
18:04:06 | Araq | well what do you mean? readLineAsync? |
18:04:11 | dom96 | yeah |
18:04:51 | Mat2 | dom96: you find this really more readable than asyncReadLine ? |
18:05:58 | Mat2 | or AsyncReadLine |
18:06:20 | dom96 | yes, readLine is what I am interested in. |
18:06:29 | dom96 | The fact that it's 'async' is a secondary piece of info |
18:06:30 | dom96 | :P |
18:06:36 | dom96 | thus I should read it later |
18:07:47 | Mat2 | with the same logic I can argumentate, Async shoud be written priour because it is the most important aspect of the function-call |
18:08:03 | * | Sergio965 joined #nimrod |
18:08:10 | dom96 | but it's not |
18:08:38 | Mat2 | well, that depends I would say (on usage intention) |
18:09:04 | EXetoC | I prefer to have common prefixes |
18:09:48 | dom96 | so do I. |
18:12:05 | Mat2 | my point is, that readability depends on the context the function or procedure is used so this is a weak argumentation leading to endless discussions about preferences and style |
18:13:41 | Mat2 | it's better to base naming conventions on common functionality, the type information for example |
18:14:21 | Mat2 | because it is valid independent on programmatical intentions |
18:26:03 | EXetoC | async is the how, and read line is the what (the verb), and I never think "I need to perform som asynchronous operation, but I don't know what", so that's what makes it secondary I guess |
18:26:07 | EXetoC | dom96: is that your reasoning? |
18:26:31 | dom96 | yes |
18:30:40 | Mat2 | EXetoC: I can think of some situations, where differenciation between asychronous and synchron operation is important, so thinking "I need some asynchronous operation" can occur time by time... |
18:43:33 | Mat2 | however, if one prefers suffixes for readability.. ok, that's fine. It only should not have implications for a naming convention in my opinion. Its the same as with natural languages. Some relate to a class where suffixes have syntactical meanings, some use prefixes for that purpose, a minor group do neither. Speakers of each group will find it generally natural to prefering a convention which reflecting there conditionation. Think of some |
18:43:33 | Mat2 | speakers would argumentate their preferation would be superiour to others - that's absurd |
18:47:32 | Mat2 | (ony my optinion of course) |
18:47:37 | Mat2 | ^opinion |
18:49:29 | Araq | yeah but you know what's clearly superior? async.readLine ;-) |
18:51:33 | Mat2 | *lol* |
18:51:53 | Mat2 | Async_Read.Line |
18:53:12 | Mat2 | ;) |
18:57:00 | dom96 | ok, fine. I know a better way, i'll just make the macro append 'async' to every call if it's prefixed with "THIS IS AN ASYNC CALL ->>>>>>" |
18:57:08 | EXetoC | important maybe, but never more important than the practical purpose that said operation serves. surely you know what to do by the time you're thinking about how to do it |
19:07:02 | dom96 | Araq: So how about fixing that GC bug? |
19:11:43 | NimBot | Araq/Nimrod master 8c80301 Araq [+0 ±5 -0]: new VM: register allocator bugfix; implemented more magics |
19:11:43 | NimBot | Araq/Nimrod master ece2e0e Araq [+0 ±4 -0]: Merge branch 'master' of github.com:Araq/Nimrod |
19:13:00 | Araq | dom96: lets do it now |
19:15:33 | * | BitPuffin joined #nimrod |
19:15:40 | Araq | gah; lets do it later please; I need to watch something |
19:15:50 | * | BitPuffin_ quit (Ping timeout: 240 seconds) |
19:16:53 | dom96 | ok |
19:24:08 | * | Sergio965 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
20:12:52 | * | DAddYE quit (Read error: Connection reset by peer) |
20:13:39 | * | DAddYE joined #nimrod |
20:25:44 | Mat2 | hi DAddYE |
20:25:55 | DAddYE | hi Mat2 |
20:49:44 | * | Sergio965 joined #nimrod |
21:15:17 | Mat2 | ciao |
21:15:27 | * | Mat2 quit (Quit: Verlassend) |
21:22:48 | * | Sergio965 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
21:53:29 | * | OrionPK joined #nimrod |
21:59:49 | * | gradha joined #nimrod |
22:07:21 | dom96 | yo guys |
22:07:28 | gradha | yo yo |
22:07:39 | dom96 | whats happenin'? |
22:07:52 | gradha | reading bytes from files |
22:10:10 | gradha | takes time to get used to cast arrays to pointers |
22:10:11 | OrionPK | thats hot |
22:10:23 | dom96 | that is sexy |
22:11:08 | gradha | strange, can't remember any situation where I've needed to read a signed value from a file |
22:13:05 | gradha | no system.== for arrays, is that because the size is part of the type? |
22:14:42 | gradha | ah, missing unsigned import |
22:17:03 | gradha | oh, can't pass a pointer to writeBuffer from a const array |
22:26:03 | NimBot | Araq/Nimrod master d05fc9b Araq [+0 ±2 -0]: fixes a long standing channels bug |
22:30:54 | Araq | gradha: yeah nimrod is picky about its parameter constness |
22:31:12 | Araq | requires creative workarounds for low level hacks |
22:31:24 | Araq | dunno how we can improve that ... |
22:31:27 | gradha | just used a var copy |
22:31:50 | Araq | well ... ok |
22:32:02 | BitPuffin | Hm |
22:32:17 | BitPuffin | got a response from the guy who wants me to write a minecraft clone |
22:32:29 | * | Araq should check how good C compilers are at store elimination for arrays |
22:32:37 | gradha | Araq: is there a no copy way? |
22:33:02 | Araq | you can cast an openarray to a pointer |
22:33:02 | BitPuffin | although I'm forced to be kind of harsch on them because they are being pretty unprofessional |
22:33:56 | gradha | how would I add https://gist.github.com/gradha/6189439 to system? it's full of magic |
22:34:45 | Araq | add it at the end of system? |
22:34:54 | Araq | it's not full of magic |
22:35:06 | Araq | it's clean enough for "nimrod i" and the JS backend |
22:35:37 | gradha | what I mean is that I see "proc `==` *(x, y: char): bool {.magic: "EqCh", noSideEffect.}", is that implemented somewhere else? |
22:36:12 | Araq | 'magic' means it has no implementation |
22:36:25 | Araq | (ok ok, some magics do, but that's new) |
22:37:49 | Araq | however |
22:38:04 | Araq | the ever growing system.nim is a pita |
22:38:12 | BitPuffin | dom96: so it might happen, or it might not :P |
22:38:30 | dom96 | BitPuffin: I wonder how they expect to compete with the real minecraft :P |
22:38:37 | Araq | maybe we should move some array/seq ops into a new 'arrays' module? |
22:38:44 | dom96 | BitPuffin: Still cool though |
22:38:45 | BitPuffin | dom96: ah well it's not a clone completely, they want vehicles etc |
22:42:38 | dom96 | I see. |
22:42:56 | dom96 | Do they want you to do the programming, creating of assets: sound, graphics etc too? |
22:43:36 | gradha | move the seq stuff from system to sequtils? |
22:43:57 | BitPuffin | dom96: let me check, think it was just programming |
22:44:42 | Araq | gradha: yeah but it's weird to add '==' for arrays to sequtils, isn't it? |
22:45:21 | BitPuffin | dom96: https://www.elance.com/j/sandbox-game/43667966/ |
22:45:30 | gradha | a companion arrayutils sounds strange |
22:46:02 | Araq | that too |
22:51:23 | dom96 | BitPuffin: Looks like a lot of work. |
22:51:39 | dom96 | I'm surprised he doesn't specify the programming language. |
22:51:43 | BitPuffin | dom96: yeah, and they wanted me to bid a fixed price lol |
22:54:30 | dom96 | lol |
23:07:00 | BitPuffin | at first I was offering $35/h out of desparation |
23:07:03 | BitPuffin | but now my offer is 50 |
23:07:04 | BitPuffin | lol |
23:07:30 | BitPuffin | dom96: they basically kept telling me that their last developer left them with nothing so they need a fixed price blah blah |
23:07:33 | BitPuffin | so I was like |
23:08:02 | BitPuffin | I am not responsible for what your last developer did to you, and using that as a reason against me is extremely unprofessional |
23:14:42 | * | DAddYE_ joined #nimrod |
23:17:33 | * | DAddYE quit (Ping timeout: 240 seconds) |
23:22:21 | gradha | good night |
23:22:23 | * | gradha quit (Quit: bbl, need to watch https://www.youtube.com/watch?v=1ZZC82dgJr8 again) |
23:25:13 | dom96 | same bye |