<< 08-08-2013 >>

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:26dom96hello
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:01Araq_hi dom96
09:40:11dom96hi
09:45:31Araq_wup?
09:45:53dom96working 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:43vegaithe OS X / brew package for nimrod seems to have an issue
12:04:57vegai$ nimrod i
12:04:57vegaiError: cannot open '/usr/local/lib/nimrod/system.nim'
12:05:07vegaisystem.nim does exist in /usr/local/lib/ though
12:13:53Araq_hmm maybe it's some file permission problem?
12:15:23vegaino, the file actually doesn't exist
12:16:03Araq_well it's a known bug nimrod doesn't really know about the /usr/local/etc/nimrod.cfg or something like that
12:16:04dom96brew package installs it incorrectly then I guess
12:16:28*Araq_ wishes he could just dump macosx support for good
12:24:51vegaiI wouldn't mind :)
12:25:04vegai'tis a silly OS
12:25:35Araq_lol why do you use it then? :-)
12:26:50vegaiwork...
12:27:27vegaieven with all the silliness, I find it more acceptable than Windows
12:30:36*EXetoC quit (Quit: WeeChat 0.4.1)
12:32:00vegaiare you guys hard core christians or something? :P
12:33:20Trixar_zaOh, 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:39Trixar_zaDouglas Adams was an Atheist of note :P
12:34:04Araq_actually the real reason is that it's the first king according to bible
12:34:17Araq_that he build the tower of babel is a nice bonus though
12:36:28Araq_I find even win 8 more acceptable then macoxs
12:41:37*EXetoC joined #nimrod
13:00:51vegaiwell, this is just a case of configuration
13:00:57vegaiin the brew package
13:01:05vegaiso 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:00reactormonkvegai, 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:15vegaibabel seems to set its path a bit wrongly too
17:05:26vegaiconfig/nimrod.cfg(36, 11) Hint: added path: '/home/users/vegai/.babel/libs/' [Path]
17:05:37vegaior something else is wrong
17:05:52vegaiI installed jester via babel but nothing is in .babel/libs
17:24:03EXetoCis your nimrod config outdated? it's .babel/pkgs now
17:31:38EXetoCthat was corrected maybe 2 months ago
17:39:38vegaiI just today installed the latest nimrod from scratch
17:39:45vegaiand then babel from git
17:39:54dom96I'm guessing by latest you mean 0.9.2
17:40:20dom96just change the 'libs' in nimrod's config file to 'pkgs'
17:41:58vegaiyes, 0.9.2
17:42:01vegaiokay then
17:42:09vegaiall you others tend to run git master or something?
17:48:12dom96yes
17:51:25*Mat2 joined #nimrod
17:51:30Mat2hi @ all
17:52:41Araqtach, Mat2
17:56:19Mat2hi Arawq
17:56:27Mat2sorry, hi Araq
17:56:41Araqnever mind
18:02:23dom96well, looks like we're going to have to adopt C#'s convention for prefixing {.async.} function names with 'Async'
18:03:20Araqhmm
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:40Araqwhat about a suffix instead? people hate prefixes
18:03:41*Sergio965 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
18:03:51dom96er, yeah. I mean suffix
18:03:53dom96lol
18:03:56Araqok
18:04:06Araqwell what do you mean? readLineAsync?
18:04:11dom96yeah
18:04:51Mat2dom96: you find this really more readable than asyncReadLine ?
18:05:58Mat2or AsyncReadLine
18:06:20dom96yes, readLine is what I am interested in.
18:06:29dom96The fact that it's 'async' is a secondary piece of info
18:06:30dom96:P
18:06:36dom96thus I should read it later
18:07:47Mat2with 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:10dom96but it's not
18:08:38Mat2well, that depends I would say (on usage intention)
18:09:04EXetoCI prefer to have common prefixes
18:09:48dom96so do I.
18:12:05Mat2my 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:41Mat2it's better to base naming conventions on common functionality, the type information for example
18:14:21Mat2because it is valid independent on programmatical intentions
18:26:03EXetoCasync 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:07EXetoCdom96: is that your reasoning?
18:26:31dom96yes
18:30:40Mat2EXetoC: 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:33Mat2however, 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:33Mat2 speakers would argumentate their preferation would be superiour to others - that's absurd
18:47:32Mat2(ony my optinion of course)
18:47:37Mat2^opinion
18:49:29Araqyeah but you know what's clearly superior? async.readLine ;-)
18:51:33Mat2*lol*
18:51:53Mat2Async_Read.Line
18:53:12Mat2;)
18:57:00dom96ok, 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:08EXetoCimportant 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:02dom96Araq: So how about fixing that GC bug?
19:11:43NimBotAraq/Nimrod master 8c80301 Araq [+0 ±5 -0]: new VM: register allocator bugfix; implemented more magics
19:11:43NimBotAraq/Nimrod master ece2e0e Araq [+0 ±4 -0]: Merge branch 'master' of github.com:Araq/Nimrod
19:13:00Araqdom96: lets do it now
19:15:33*BitPuffin joined #nimrod
19:15:40Araqgah; lets do it later please; I need to watch something
19:15:50*BitPuffin_ quit (Ping timeout: 240 seconds)
19:16:53dom96ok
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:44Mat2hi DAddYE
20:25:55DAddYEhi Mat2
20:49:44*Sergio965 joined #nimrod
21:15:17Mat2ciao
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:21dom96yo guys
22:07:28gradhayo yo
22:07:39dom96whats happenin'?
22:07:52gradhareading bytes from files
22:10:10gradhatakes time to get used to cast arrays to pointers
22:10:11OrionPKthats hot
22:10:23dom96that is sexy
22:11:08gradhastrange, can't remember any situation where I've needed to read a signed value from a file
22:13:05gradhano system.== for arrays, is that because the size is part of the type?
22:14:42gradhaah, missing unsigned import
22:17:03gradhaoh, can't pass a pointer to writeBuffer from a const array
22:26:03NimBotAraq/Nimrod master d05fc9b Araq [+0 ±2 -0]: fixes a long standing channels bug
22:30:54Araqgradha: yeah nimrod is picky about its parameter constness
22:31:12Araqrequires creative workarounds for low level hacks
22:31:24Araqdunno how we can improve that ...
22:31:27gradhajust used a var copy
22:31:50Araqwell ... ok
22:32:02BitPuffinHm
22:32:17BitPuffingot 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:37gradhaAraq: is there a no copy way?
22:33:02Araqyou can cast an openarray to a pointer
22:33:02BitPuffinalthough I'm forced to be kind of harsch on them because they are being pretty unprofessional
22:33:56gradhahow would I add https://gist.github.com/gradha/6189439 to system? it's full of magic
22:34:45Araqadd it at the end of system?
22:34:54Araqit's not full of magic
22:35:06Araqit's clean enough for "nimrod i" and the JS backend
22:35:37gradhawhat I mean is that I see "proc `==` *(x, y: char): bool {.magic: "EqCh", noSideEffect.}", is that implemented somewhere else?
22:36:12Araq'magic' means it has no implementation
22:36:25Araq(ok ok, some magics do, but that's new)
22:37:49Araqhowever
22:38:04Araqthe ever growing system.nim is a pita
22:38:12BitPuffindom96: so it might happen, or it might not :P
22:38:30dom96BitPuffin: I wonder how they expect to compete with the real minecraft :P
22:38:37Araqmaybe we should move some array/seq ops into a new 'arrays' module?
22:38:44dom96BitPuffin: Still cool though
22:38:45BitPuffindom96: ah well it's not a clone completely, they want vehicles etc
22:42:38dom96I see.
22:42:56dom96Do they want you to do the programming, creating of assets: sound, graphics etc too?
22:43:36gradhamove the seq stuff from system to sequtils?
22:43:57BitPuffindom96: let me check, think it was just programming
22:44:42Araqgradha: yeah but it's weird to add '==' for arrays to sequtils, isn't it?
22:45:21BitPuffindom96: https://www.elance.com/j/sandbox-game/43667966/
22:45:30gradhaa companion arrayutils sounds strange
22:46:02Araqthat too
22:51:23dom96BitPuffin: Looks like a lot of work.
22:51:39dom96I'm surprised he doesn't specify the programming language.
22:51:43BitPuffindom96: yeah, and they wanted me to bid a fixed price lol
22:54:30dom96lol
23:07:00BitPuffinat first I was offering $35/h out of desparation
23:07:03BitPuffinbut now my offer is 50
23:07:04BitPuffinlol
23:07:30BitPuffindom96: they basically kept telling me that their last developer left them with nothing so they need a fixed price blah blah
23:07:33BitPuffinso I was like
23:08:02BitPuffinI 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:21gradhagood night
23:22:23*gradha quit (Quit: bbl, need to watch https://www.youtube.com/watch?v=1ZZC82dgJr8 again)
23:25:13dom96same bye