<< 25-08-2014 >>

00:04:02*brson_ quit (Ping timeout: 255 seconds)
00:05:56*brson joined #nimrod
00:14:31*willwillson quit (Read error: Connection reset by peer)
00:17:51*brson quit (Quit: leaving)
00:17:58*brson joined #nimrod
00:29:18*Jesin joined #nimrod
00:31:49Varriountcryzed: Most of the people here live off the east coast of the US / In Europe. Right now most people are either going to sleep, or asleep.
00:42:38*Raynes joined #nimrod
00:53:56*Raynes left #nimrod ("Textual IRC Client: www.textualapp.com")
00:59:02*brson quit (Ping timeout: 245 seconds)
01:06:27Skrylarmeep.
01:18:28*saml_ joined #nimrod
02:06:45*untitaker quit (Ping timeout: 240 seconds)
02:10:57*untitaker joined #nimrod
02:25:48VarriountSkrylar: O/
02:39:44Skrylarhi Varriount
02:48:07*nande joined #nimrod
03:04:48*kshlm joined #nimrod
03:07:20*Demos joined #nimrod
03:15:30*q66 quit (Quit: Leaving)
03:23:06*Demos_ joined #nimrod
03:26:58*jasondotstar quit (Quit: Leaving)
03:27:08*Demos quit (Ping timeout: 272 seconds)
04:13:30*kokozedman joined #nimrod
04:24:39*nande quit (Remote host closed the connection)
04:38:28*saml_ quit (Quit: Leaving)
04:52:36*gkoller joined #nimrod
04:59:00*Sht0 joined #nimrod
05:13:12*MightyJoe joined #nimrod
05:13:24*MightyJoe is now known as cyraxjoe
05:33:20*BlaXpirit joined #nimrod
05:52:52*Skrylar quit (Ping timeout: 250 seconds)
05:53:21*Skrylar joined #nimrod
05:53:42*jpoirier joined #nimrod
05:54:10*jpoirier quit (Client Quit)
05:54:53*gkoller quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
05:58:06*jpoirier joined #nimrod
05:58:35*jpoirier quit (Client Quit)
05:59:01*jpoirier joined #nimrod
05:59:56*jpoirier quit (Client Quit)
06:15:37*BlaXpirit-UA joined #nimrod
06:16:08*BlaXpirit quit (Read error: Connection reset by peer)
06:29:23*ome joined #nimrod
06:34:02*kshlm quit (Ping timeout: 245 seconds)
06:34:12*kshlm joined #nimrod
06:44:52BlaXpirit-UAsome_iterator() doesnt work but let r = some_iterator r() works
06:47:30BlaXpirit-UAreally a pointless limitation
06:48:08BlaXpirit-UAam i gonna have to make a wrapper function that does this^
06:50:54*Sht0 quit (Ping timeout: 246 seconds)
06:50:56BlaXpirit-UAhttps://gist.github.com/BlaXpirit/03acc48c8460ec405842
06:51:00*BlaXpirit-UA quit (Quit: Quit Konversation)
06:51:21*BlaXpirit joined #nimrod
07:03:46*kshlm quit (Quit: Konversation terminated!)
07:04:02*kshlm joined #nimrod
07:17:02*Demos_ quit (Read error: Connection reset by peer)
07:25:34dom96BlaXpirit: It's not pointless, you need something to store the state of the iterator.
07:26:04BlaXpiriti think i understand
07:28:47BlaXpirithmm, I don't see a "not implemented" exception
07:32:12dom96just assert false
07:32:22*gkoller joined #nimrod
07:32:28dom96or assert false, "Not Implemented"
07:32:42BlaXpiritI wanna catch it
07:40:08*io2 joined #nimrod
07:40:57*gkoller_ joined #nimrod
07:50:54*delian66 quit (Quit: leaving)
07:53:20*delian66 joined #nimrod
07:56:07*delian66 quit (Client Quit)
08:07:27*delian66 joined #nimrod
08:41:49*Matthias247 joined #nimrod
08:43:14*delian66 quit (Quit: leaving)
08:44:23*kshlm quit (Quit: Konversation terminated!)
08:54:37*delian66 joined #nimrod
08:55:08*delian66 quit (Client Quit)
08:56:09*delian66 joined #nimrod
08:57:41*delian66 quit (Client Quit)
08:59:13*gkoller_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
09:01:57*delian66 joined #nimrod
09:02:34*delian66 quit (Client Quit)
09:05:14*delian66 joined #nimrod
09:09:04*delian66 quit (Client Quit)
09:10:02*delian66 joined #nimrod
09:10:52*delian66 quit (Client Quit)
09:13:22*kshlm joined #nimrod
09:23:52*delian66 joined #nimrod
09:23:58*delian66 quit (Client Quit)
09:33:49*delian66 joined #nimrod
09:33:57*delian66 quit (Client Quit)
09:34:58*delian66 joined #nimrod
09:42:19*vissborg quit (Remote host closed the connection)
09:43:06*kunev joined #nimrod
09:43:57*kshlm quit (Ping timeout: 272 seconds)
09:45:59*vissborg joined #nimrod
10:00:00*EXetoC joined #nimrod
10:06:45*filwit quit (Ping timeout: 240 seconds)
10:23:34*EXetoC quit (Quit: WeeChat 1.0)
10:26:01*Ven joined #nimrod
10:44:39dom96or assert false, "Not Implemented"
10:44:47dom96bah
10:45:11dom96ignore that
11:03:12*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
11:05:39*kunev quit (Read error: Connection reset by peer)
11:07:32*kunev joined #nimrod
11:22:28BlaXpiritaw cmon seriously
11:22:38BlaXpiritso nimrod can't calculate a pow at compile time?
11:22:57BlaXpiritbecause it's in c library
11:22:58BlaXpirit.....
11:24:44dom96BlaXpirit: If you really want a compile-time pow then write your own.
11:24:55BlaXpiriti just wrote 1 shl
11:24:57BlaXpiritwhatever.....
11:25:15BlaXpiritmeanwhile, my library is almost ready
11:25:48BlaXpiritgotta think about documenting and testing (lol how does one test something random)
11:26:03BlaXpiritand publishing too
11:26:08BlaXpiritany tips on that are welcome
11:26:16dom96Generate random numbers and calculate their std deviation.
11:27:32BlaXpirithm not sure what this would accomplish
11:27:55*Ven joined #nimrod
11:29:13dom96meh, well I dunno.
11:29:28BlaXpiritcuz deviation would be random as well
11:29:43BlaXpiritand if i try to check if it's within bounds, then test will fail randomly :|
11:30:15dom96This is how it's done in http://rosettacode.org/wiki/Random_numbers
11:30:46dom96You can see the standard deviation is 0.5 if the numbers are random, I think.
11:31:03BlaXpiriti don't understand
11:31:21BlaXpiritbut what i do understand is it can be whatever it wants
11:31:36BlaXpiritif random generator gives corner cases
11:41:11BlaXpiritaww yiss
11:41:13BlaXpirit(var a = @[1,2,3,4,5]; a.shuffle(); echo a)
11:42:26*saml_ joined #nimrod
11:44:53*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
11:47:04dom96BlaXpirit: awesome. Commit it, push it, tag it, ship it.
11:47:32BlaXpiritdom96, is there any information available on this?
11:47:39BlaXpiriti have so many small questions
11:48:05dom96BlaXpirit: on what?
11:48:16BlaXpiriton shipping
11:48:21BlaXpiritand documentation
11:49:00BlaXpiritand i've looked through a few libraries - and they never write any copyright information in source files - what's up with that?
11:50:57*bjz quit (Read error: Connection reset by peer)
11:51:11*Sht0 joined #nimrod
11:51:18*bjz joined #nimrod
11:51:22dom96Because people want to write code not worry about licenses.
11:52:01dom96If you want to contribute your random stuff to the stdlib then create a PR on the Araq/Nimrod repo.
11:52:33dom96if you want to put it in its own repo then create a repo, add a .babel file and submit it to the package repo. https://github.com/nimrod-code/babel/blob/master/developers.markdown
11:52:34BlaXpiritif you don't worry about licenses, they can bite you and then you'll have to worry much more
11:53:01BlaXpiriti want to add it in a repo for now, get feedback and then, if possible, add to stdlib
11:53:34dom96Do that then.
11:54:08dom96Documentation is simply RST in double hash comments (##).
11:54:16dom96You generate it with nimrod doc2 file.nim
11:54:34dom96You should look at the stdlib modules for doc examples.
11:54:38BlaXpiritok, thank you
11:54:50dom96np.
11:54:50dom96bbl
11:56:29BlaXpiritnot sure how to make doc generation understand `when`
11:57:00BlaXpiritand what's up with raises: [E_Base], tags: [TEffect], uses: [].} everywhere?
11:57:20BlaXpiritit's all a big mess
12:15:30*Ven joined #nimrod
12:28:43*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:33:42*Matthias247 quit (Read error: Connection reset by peer)
12:34:23*jasondotstar joined #nimrod
12:46:34*q66 joined #nimrod
13:07:37*saml_ quit (Ping timeout: 255 seconds)
13:11:36*darkf quit (Quit: Leaving)
13:15:40*gkoller_ joined #nimrod
13:18:21*askatasuna joined #nimrod
13:18:40*gkoller quit (Ping timeout: 272 seconds)
13:20:06*gkoller_ quit (Ping timeout: 246 seconds)
13:22:53dom96BlaXpirit: http://build.nimrod-lang.org/docs/manual.html#effect-system
13:23:34BlaXpiritdom96, yeah, i'm aware of it, but i don't want the same useless information in every single entry of my documentation
13:24:25dom96It's not useless.
13:24:41dom96But don't worry, filwit is improving the docs.
14:04:12*saml joined #nimrod
14:20:05*askatasuna quit (Read error: Connection reset by peer)
14:20:27*kunev quit (Quit: leaving)
14:29:48*zling___ joined #nimrod
14:30:00*MightyJoe joined #nimrod
14:30:46BlaXpirithttps://github.com/BlaXpirit/nimrod-random
14:31:30*vegai_ joined #nimrod
14:31:42*eigenlicht_ joined #nimrod
14:32:10*disconnected_ joined #nimrod
14:32:17*elie1 joined #nimrod
14:32:26*kokozedman quit (Ping timeout: 260 seconds)
14:32:26*eigenlicht quit (Ping timeout: 260 seconds)
14:32:27*vegai quit (Ping timeout: 260 seconds)
14:32:27*cyraxjoe quit (Ping timeout: 260 seconds)
14:32:27*disconnected quit (Ping timeout: 260 seconds)
14:32:28*zling__ quit (Ping timeout: 260 seconds)
14:33:19BlaXpiritoh yay, even babel install works
14:34:21dom96BlaXpirit: nice.
14:34:34dom96BlaXpirit: now add it to https://github.com/nimrod-code/packages
14:34:55BlaXpiriti've never done a pull request :s
14:35:03BlaXpiritcan it all be done in browser?
14:37:19dom96yeah
14:37:29dom96just hit edit on the packages.json file
14:45:15NimBotnimrod-code/packages master b945876 Oleh Prypin [+0 ±1 -0]: Add "random"
14:45:15NimBotnimrod-code/packages master 830f4a3 Dominik Picheta [+0 ±1 -0]: Merge pull request #83 from BlaXpirit/patch-1... 2 more lines
14:46:11BlaXpiritwoot!
14:48:36dom96:D
15:21:59*gkoller joined #nimrod
15:24:29*shodan45 joined #nimrod
15:28:53*gkoller_ joined #nimrod
15:33:23*gkoller quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
16:02:49*Matthias247 joined #nimrod
16:11:36*untitaker quit (Ping timeout: 246 seconds)
16:17:03*untitaker joined #nimrod
16:21:51*gkoller joined #nimrod
17:05:33*gkoller quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
17:11:51*brson joined #nimrod
17:46:48dom96This is looking really impressive, and it's written in QT. Looks like I should look into getting QT to work with Nimrod: https://www.glasswire.com/
17:49:34BlaXpiritdom96, why does this thing make you think about getting Qt to work with Nimrod?
17:50:20dom96Because it looks impressive.
17:50:27BlaXpiritthere are like a 1000 better reasons for wanting Qt
17:50:42BlaXpiriti don't see Qt mentioned there anyway
17:51:33BlaXpiritbut yes, Qt is the best thing in the world. I see now why people sometimes use GTK+
17:51:46BlaXpiritwell that's because GTK is written in C and probably easy to port
17:51:54dom96indeed
17:51:55BlaXpiritthat's where its advantages end
17:52:03*Ven joined #nimrod
17:52:49BlaXpiritand yes, dom96, I would just love to have Qt in Nimrod. I would pretty much be set for life
17:53:00BlaXpiritand I would even like to help
17:53:25BlaXpiriti've tried to make bindings for Python, but in a weird way... I didn't succeed
17:55:58BlaXpiritwow, now that i think about it, Nimrod is a great language to support Qt... but would probably need to rewrite its special preprocessor
17:56:37*io2 quit (Quit: ...take irc away, what are you? genius, billionaire, playboy, philanthropist)
17:57:23dom96I don't even know where to start with Qt bindings.
17:57:28dom96But that would be awesome.
17:57:39BlaXpiritdom96, i won't lie, it's very complicated
17:57:44dom96I've used GTK and it's simply not good enough.
17:57:59BlaXpiritusing Qt is not complicated
17:58:09BlaXpiritbut the way it's done... it's not even just c++
18:00:33dom96Yeah, there is like some JS-like language you can use or something right?
18:00:42dom96I think Go has bindings for that.
18:00:50dom96Maybe we could do something similar.
18:01:21BlaXpirituhhhhh no
18:01:52BlaXpiritit's made in C++ and its primary uses don't use javascript
18:02:34BlaXpiritbut yes, most of the new features in Qt are made for that javascript part nowadays, and maybe in the future that will be all that's left of Qt
18:02:47*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
18:02:48BlaXpiritbut now it is not a good place to start
18:02:50dom96I know that it's written in C++.
18:02:54dom96I'm talking about QML.
18:03:13BlaXpiritit's not even just QML, it uses actual javascript too
18:03:29BlaXpiritbut i don't know much about that part of Qt. never used it
18:05:47Matthias247I hate QML because of the javascript stuff
18:06:44BlaXpiritusing QML doesn't require you to use JavaScript... but then again, it's quite pointless
18:06:56BlaXpiritall I know is i've never needed either
18:09:04*gkoller_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
18:11:53*Ven joined #nimrod
18:13:39*io2 joined #nimrod
18:28:44VarriountBlaXpirit: I've been using QT + PyQT for a project at work
18:28:55BlaXpiritpls don't write "QT"
18:28:59BlaXpiritit's a different evil thing
18:29:07BlaXpiritQuickTime
18:30:22*jasondotstar quit (Quit: Leaving)
18:30:51VarriountDoes QuickTime still exist?
18:31:33dom96I did see the ghostly QuickTime logo on my iPad from time to time.
18:31:43*jasondotstar joined #nimrod
18:34:38Varriountdom96: Good luck wrapping Qt. You'll have some work to do on the C++ codegenerator
18:35:18dom96Varriount: Love your optimism. :P
18:37:00BlaXpiritit really is difficult, but no language is complete without Qt
18:37:23VarriountSo.. something I wanted to talk about today - improving the documentation.
18:37:38BlaXpiritsorely needed
18:37:39*jhc76 joined #nimrod
18:38:08*jasondotstar quit (Quit: Leaving)
18:38:10VarriountBlaXpirit: I was going to write up a post on the forum last night, but I was tired.
18:39:12*Trustable joined #nimrod
18:42:39BlaXpiritthe html is better than i expected
18:43:43BlaXpiritreally, the most pressing thing is grouping
18:44:00BlaXpiritmaybe filtering of some kind
18:44:00*shodan45 quit (Quit: Konversation terminated!)
18:50:23*EXetoC joined #nimrod
19:02:23dom96Once again: filwit is working on that.
19:03:52*jasondotstar joined #nimrod
19:04:17Varriountdom96: From what I understand, filwit is working on the look & feel, not the content.
19:04:28*io2 quit (Ping timeout: 272 seconds)
19:05:06dom96Varriount: Yes. I was replying to BlaXpirit.
19:05:35dom96As for content improvements it's really a matter of just doing it...
19:05:45dom96It's not particularly difficult.
19:05:54BlaXpirita lot could be achieved with client-side scripting
19:09:10*filwit joined #nimrod
19:10:48*Jesin quit (Read error: Connection reset by peer)
19:24:12*io2 joined #nimrod
19:29:14dom96hey filwit, how's things?
19:30:16filwitBlaXpirit, Varriount: it's not just the "look n feel" of the docs that I'm working on, but also navigation. There will be sort alphabetically, and sort by "first param". There will also be other isolation controls, like being able to isolate all the functions which interact with a single (or multiple) types.
19:30:53BlaXpiritfilwit, amazing. that covers almost all of my gripes
19:31:21BlaXpiritfilwit, do you think maybe isolating css and js is a good idea?
19:31:46filwitdom96: steady, trying to finish things up, but I have to work on other things right now... just forgot to close the IRC last night, and it auto-logged me on. But i guess that's a good thing so I could respond about this.
19:33:03filwitBlaXpirit: that's basically how it works. The docgen only needs to be modified to spit out some additional tags (i haven't done that part yet) and then a JS runs to hide elements (the procs, types, etc) based on what you're trying to isolate.
19:33:32BlaXpirityes, that's great, but I mean putting css and js into separate files
19:34:16filwityes... i am a web developer by trade. I would not put all the JS & CSS in the HTML.. makes things load slower.
19:35:38filwitBlaXpirit: here is an older mocup (not ready to show the actual HTML version just yet): http://reign-studios.net/philipwitte/nimrod/design2-docs.png
19:35:59BlaXpirituhh not a fan of the colors. impairs readability
19:36:03filwitBlaXpirit: and here is an early mocup of the HTML/JS working: http://reign-studios.net/philipwitte/nimrod/docs/docs.htm
19:36:15BlaXpiritthis is nice
19:36:29BlaXpiritvery nice
19:36:30filwitBlaXpirit: yeah some of the colors are being significantly adjusted
19:37:17filwitBlaXpirit: plus I will be getting feedback from the community on the actual HTML version soon. So feel free to voice your concerns about colors and stuff then.
19:37:24BlaXpiritok
19:37:30BlaXpiritthank you for your work
19:37:50filwitBlaXpirit: note in the docs HTML mockup, you can click on the types and isolate there procs (not much more is working in that tho, it's old).
19:37:59filwitBlaXpirit: thanks :)
19:39:02dom96filwit: Have you decided against using the style shown in that screenshot?
19:39:19dom96or is the html version just using some prototype styles?
19:39:35filwitdom96: it's similar, but with the brighter background and more contrasted colors.
19:39:45filwitdom96: i'm not sure what you mean by 'prototype styles'
19:40:11*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
19:40:24dom96filwit: The screenshots shares the same look as the Nimrod website.
19:40:32dom96*the docs in the screenshot
19:40:53dom96The HTML version is just plain colors.
19:41:12filwitdom96: the HTML version was mostly to play with JS, not visual style
19:41:28*Ven joined #nimrod
19:41:31dom96ahh alright
19:41:40filwitdom96: i'm making the website, docs, and forums all fit together visually. Even though they're all a bit different
19:42:12dom96great
19:42:26filwitdom96: also i'm trying to make the sidebar list (with types, procs, etc) of the docs a fixed positioned element (like they are in the HTML mockup version). Which requires a bit of design change form the visual mockup version.
19:43:57dom96filwit: In any case, I like the layout. It makes things much easier to understand.
19:44:09dom96I'm sure it will help newcomers.
19:44:58filwitdom96: yeah that's the plan. :)
20:05:36*noam joined #nimrod
20:09:34dom96filwit: Any ideas when it will be all ready?
20:23:14*nande joined #nimrod
21:10:13filwitdom96: sometime this week for sure. When exactly depends on how much time I have to spend on it.
21:10:37dom96awesome
21:44:25*BlameStross left #nimrod (#nimrod)
21:53:34dom96good night
21:55:26*Trustable quit (Quit: Leaving)
21:57:36*ome quit (Quit: Connection closed for inactivity)
21:57:47*io2 quit (Read error: Connection reset by peer)
21:58:15*io2 joined #nimrod
21:58:18*Matthias247_ joined #nimrod
22:01:17*NimBot_ joined #nimrod
22:01:43*NimBot quit (Read error: Connection reset by peer)
22:02:53*jasondotstar is now known as jasondotstar|afk
22:05:07*noam_ joined #nimrod
22:09:21*noam quit (Ping timeout: 240 seconds)
22:12:05*Jesin joined #nimrod
22:13:30*NimBot joined #nimrod
22:13:51*jhc76 quit (Remote host closed the connection)
22:16:42*noam_ quit (Ping timeout: 246 seconds)
22:16:42*NimBot_ quit (Ping timeout: 246 seconds)
22:16:42*OrionPK quit (Ping timeout: 246 seconds)
22:16:42*BlaXpirit-UA joined #nimrod
22:16:42*BlaXpirit quit (Ping timeout: 246 seconds)
22:45:26*BlaXpirit-UA quit (Quit: Quit Konversation)
22:55:20*io2 quit (Quit: ...take irc away, what are you? genius, billionaire, playboy, philanthropist)
23:26:22*Sht0 quit (Ping timeout: 264 seconds)
23:27:49*filwit quit (Quit: Leaving)
23:31:22*Matthias247_ quit (Read error: Connection reset by peer)
23:35:45*Jesin quit (Quit: Leaving)
23:46:36*darkf joined #nimrod
23:51:47*xenagi joined #nimrod
23:54:15*Ven quit (Read error: Connection reset by peer)