<< 28-12-2013 >>

00:04:17Demosallright, kinda annoying but not a big deal
00:12:24Demosallright, I got it working. Thanks
00:51:07*Demos quit (Quit: Konversation terminated!)
01:00:08NimBotAraq/Nimrod devel 4dc5ddb Araq [+0 ±3 -0]: case consistency part 3
01:00:08NimBotAraq/Nimrod devel 5c1c8d7 Araq [+0 ±122 -0]: case consistency part 4
01:00:08NimBotAraq/Nimrod devel 0db4405 Araq [+0 ±10 -0]: case consistency part 5
01:00:08NimBotAraq/Nimrod devel 6aaabaf Araq [+0 ±7 -0]: case consistency part 6
01:00:08NimBot3 more commits.
01:19:39*DAddYE quit (Remote host closed the connection)
01:47:15*vendethiel quit (Ping timeout: 260 seconds)
01:53:09*shevy joined #nimrod
02:20:42*DAddYE joined #nimrod
02:25:03*DAddYE quit (Ping timeout: 260 seconds)
02:30:49*DAddYE joined #nimrod
02:35:33*DAddYE quit (Ping timeout: 272 seconds)
02:42:10*DAddYE joined #nimrod
03:36:23*BitPuffin quit (Ping timeout: 252 seconds)
03:42:10*EXetoC quit (Quit: WeeChat 0.4.2)
03:44:40*brson joined #nimrod
04:06:22VarriountOooo, a new branch.
04:31:52*shodan45 joined #nimrod
04:38:53*brson quit (Ping timeout: 245 seconds)
04:40:45*brson joined #nimrod
04:44:10*brson quit (Client Quit)
04:58:19*OnionPK quit (Quit: Leaving)
06:26:44*zielmicha1 joined #nimrod
06:28:15*zielmicha quit (Ping timeout: 272 seconds)
07:47:07*DAddYE quit (Remote host closed the connection)
07:47:34*DAddYE joined #nimrod
07:51:41*ics quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
07:51:48*DAddYE quit (Ping timeout: 245 seconds)
08:16:16*DAddYE joined #nimrod
08:24:20*ics joined #nimrod
09:31:25*Raynes quit (Max SendQ exceeded)
09:31:38*Raynes joined #nimrod
09:46:25*gradha joined #nimrod
09:51:34Araqhi gradha what's the problem with *** in the slides?
09:52:06gradhayou use it as a marker to change background colors
09:52:18Araqyeah
09:52:31Araqno background colors in PDF?
09:52:45gradhaI have no idea
09:52:48Araqwell I'm sure PDF has that
09:52:54Araqwhat tool did you use?
09:52:59gradharst2pdf
09:53:18gradhahttp://rst2pdf.ralsina.com.ar/handbook.html
09:54:46gradhathat program depends on reportlab (http://www.reportlab.com/docs/reportlab-userguide.pdf), which has its own pdf-making python language, presumably you can escape commands to it
09:55:46gradhathe effort to learn about mixing two programs with different syntaxes to get a few background colors seems too high compared to a few png screenshots from the html version
09:57:34Araqalright well firstly let me have a look if my left-click-hack is the cause for the smartphone desaster
10:02:33gradhayou could also investigate https://launchpad.net/rubber which is yet another pdf making toolchain
10:04:40gradhahowever every time I look at these kinds of packages I feel more decided to write PDFs directly, using http://libharu.org or similar library
10:06:09Araqwell I always feel to don't give a shit about PDF :-)
10:06:47gradhathe future is html5 video anyway http://gfycat.com/AgedUnevenGuineafowl
10:06:58Araqyup
10:07:01Araqbbl
10:09:56*chare joined #nimrod
10:10:06*chare quit (Quit: Page closed)
10:21:38*DAddYE quit (Remote host closed the connection)
10:22:13*DAddYE joined #nimrod
10:26:40*DAddYE quit (Ping timeout: 245 seconds)
10:38:41*ics quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
12:02:10dom96hello everyone
12:02:19gradhafinally, welcome
12:02:29dom96aww, you miss me? :P
12:02:38gradhaall this time alone in teamspeak, so unbearable
12:02:51dom96You're in VNUG?!?
12:02:58gradhanah
12:03:09gradhaI'll never join Varriount's group
12:03:14dom96awwk. You got me excited over nothing.
12:03:26gradhatoday is april's fool in spain
12:03:37dom96But it's not even april!@
12:03:46gradhait's not called that in spain, of course
12:04:00gradhasomething like "the day of the innocent saints"
12:04:22dom96I see.
12:05:10gradhayesterday the prime minister said the country is recovering, missed the day by one
12:06:15dom96what do you do on April 1st then?
12:06:22dom96That's when the rest of the world does their pranks.
12:06:47gradhaspain is called a party country for a reason
12:07:00*vendethiel joined #nimrod
12:07:35gradhahalloween wasn't popular here either, but now it's like "a millenary tradition"
12:17:48*EXetoC joined #nimrod
12:24:56NimBotAraq/Nimrod master 31f2b4d Dominik Picheta [+0 ±1 -0]: Fixes #594... 3 more lines
12:25:50Araqdom96: what's bug #594 ?
12:26:07dom96https://github.com/Araq/Nimrod/issues/594
12:26:57dom96I think you already partially fixed it anyway.
12:27:55Araqmeh, I don't like expandTilde here, but whatever
12:28:18Araqwe don't support ~ elsewhere so it's only confusing to support it for --out
12:28:39dom96well perhaps we should support it elsewhere?
12:28:42Araqthis path handling stuff is a never ending PITA
12:29:25Araqsupporting it everywhere is not hard to do
12:30:08Araqhave a look at commands.processPath
12:31:56gradhapaths with tilde are presumably tainted and should be cleaned before entering a program's reach, but then sometimes keeping the tilde is good for output relative paths
12:32:23dom96I thought that the shell actually expands it
12:32:25dom96but apparently not
12:33:58shevywell for cd ~
12:34:32shevycat ~/mrxvtrc
12:34:34shevy:)
12:35:30Araqbut then not everything in the compiler uses processPath of course ... :-/
12:35:43dom96...yeah
12:35:46Araqspeaking of which
12:35:56dom96should I just make --out use it?
12:36:02AraqI thought about changing the import path mess
12:36:14Araqdom96: yeah just support it for --out for now
12:36:29dom96so you don't want me to change processPath?
12:36:34Araqno
12:36:41dom96gah ok
12:36:41Araqthat requires some planning
12:37:01Araqwell *shrug* if you really feel like it, go ahead
12:37:13dom96well I just undoed my changes so too late now
12:37:20Araqok
12:37:28Araqanyway
12:37:31dom96I'll create an issue to remind us
12:37:42AraqI think paths should work like this:
12:38:25Araqmodule foo: import bar # bar is relative to 'foo', so in the same dir
12:39:04Araqmodule foo: import sub.bar # bar is relative to 'foo', so in the directory sub/ relative to foo's path
12:40:29Araqand then we perhaps have import babel.jester
12:40:36dom96speaking of imports. I think it would be nice to get some syntax sugar like: import pkg/[module, module2, module3]
12:41:02gradhaimport babel.babel
12:41:22Araqand of course import std.strutils
12:42:02gradhaimport ~/babel.genieos
12:42:11dom96So you're planning to have more than one package manager?
12:42:56Araqwell my plan is to get rid of --path
12:43:20Araqcause it's messy, we now have --babelpath --exlcudePath options to list the path etc.
12:44:01dom96Babel depends on --path
12:44:17Araqhow so?
12:44:27AraqI thought it uses --babelpath only
12:44:30dom96no.
12:44:43dom96It explicitly passes the paths to the packages when it builds a binary package
12:45:04Araqah hm
12:45:17dom96--babelpath is only used when babel is not used
12:45:18dom96i.e. you are compiling manually
12:45:29Araqmakes sense
12:45:32dom96so that the compiler knows to use the latest packages
12:45:34gradhadom96: I think your import sugar can be done with a template
12:45:53Araqdom96: sugar can always be added when we know what to do :-)
12:46:21dom96I guess I should write a blog post about exactly how babel works in case I get hit by a bus :P
12:46:51gradhaor flying santa
12:47:17Araqwell IMO we have a configuration mess
12:47:33Araqand it starts to hurt for the scripting API
12:48:09Araqbecause you now have to provide all these options to the scripting API like where to find system.nim etc.
12:48:24Araqso that you can run a simple script
12:50:36dom96well I think that the compiler config is fine and necessary
13:17:04*darkf quit (Quit: Leaving)
13:42:28*psquid quit (Quit: work)
13:58:25*BitPuffin joined #nimrod
14:03:43BitPuffindom96!
14:03:46BitPuffindom96!!
14:04:05dom96BitPuffin!!!
14:04:28BitPuffindom96: dotaaa!!!
14:05:00dom96lets play L4D2 instead!
14:06:50NimBotnimrod-code/babel master 9dcc28f Dominik Picheta [+5 ±2 -5]: Isolate babel modules in a ``babelpkg`` dir.
14:06:50NimBotnimrod-code/babel master 7b05758 Dominik Picheta [+0 ±1 -0]: Note about hybrid packages.
14:06:54BitPuffindom96: no dotaaa!
14:07:00dom96whyyyy
14:07:47dom96I feel like killing some zombies
14:07:55dom96and i'm much better at L4D2 :P
14:08:16BitPuffindom96: at least hop in to TS
14:08:27dom96let me reboot
14:08:52BitPuffindom96: I refuse
14:09:28BitPuffindom96: It's gonna take years to install l4d2 lol
14:09:32BitPuffinand dota 2 is funner
14:12:16BitPuffindom96: slow ass reboot
14:16:01gradhainstead of killing zombies build a nimrod compiler neural net to autofix mistakes, train it with wrong input (aka: doesn't compile) then with right version
14:17:30gradhacreate a nimrod NSA branch which tracks the partial ASTs of bad compilations into a database, then diff against next successful compilation
14:35:04zahary1Araq, are you going to merge devel into master soon? I have around 15 pending commits against master and we'll probably have a lot of conflicts due to the casing changes
14:35:36zahary1I can try to merge into devel if you are not ready to merge to master
14:36:15gradhazahary1: do you use macosx dash documentation viewer?
14:36:26zahary1nope
14:37:19gradhamy default vim entry for K opens a manpage with a keyword, maybe that could look into idetools returned docstring?
14:38:51zahary1haven't used it before (K), but it would be a good addition
14:41:27zahary1reading through :help K, it's a bit unfortunate that vim insists on calling an external program - would have been better if we can plug a function that talks to the caas
14:42:05gradhayes, things like http://vim.wikia.com/wiki/Using_elinks_with_netrw seem to be better. idetools could be used to resolve the module and proc name, then open the help on the correct href
14:42:45gradhabut at that point maybe it would be worth transforming nimrod docs into vim hyperref thingy
14:48:05zahary1the terminal that K opens a bit ghetto - it may be better to integrate with some add-on like: https://github.com/powerman/vim-plugin-viewdoc
15:04:05gradhawhat's the syntax for compiler.rope substitutin (and I guess subex module) to terminate a named argument? I'm using $foo… and it's complaining that … is part of the name
15:10:10gradhahmm... strutils has a split proc and iterator with the same signature except return value type, I guess there would be no reason to call the proc inside a for
15:21:01*Icefoz quit (Ping timeout: 246 seconds)
16:09:04*Icefoz joined #nimrod
16:25:19Araqzahary1: please merge it into devel instead
16:27:40AraqI'll also change the tester, we need better grouping by language features
16:27:57Araqso that I can re-run the tests about templates etc. easily
16:28:31Araqgradha: the syntax is ${foo}
16:32:35gradhacool, mind if I add to strutils iterator split(text, separator: string): string?
16:33:34gradhain the end … or :foobar: is just that, a sequence to split on
16:34:14Araqthe python people will call your iterator and it will be slower :P
16:34:25Araqbut I guess it's useful enough
16:34:52gradhalet's name it splitForExperts
16:35:48AraqsplitForStrangeSyntaxes
16:36:12gradhaand for extra points, place the iterator in the unsigned module
16:36:30gradhaheh, maybe there's a start for your evil module
16:36:36AraqI still think we should have an "evil" module
16:37:05Araqimport unsafe, unsigned, unsound
16:40:35Araqfrom future import popularityBoost
16:40:50dom96 from future import success
17:00:14*jpoirier joined #nimrod
17:00:23Araqhi jpoirier welcome
17:01:50gradhaAraq: can I haz ${foo\}bar} escaped?
17:02:21Araqno
17:02:38Araqwhat's the point?
17:02:44gradhatrying my luck
17:03:14OrionPKfor imports i "import foo.bar" should first check for "foo.bar.nim" before "foo/bar.nim"
17:03:35Araqfoo.bar is not a valid module name anyway
17:04:53gradhawe need a different crown logo for white backgrounds
17:06:12dom96indeed
17:06:16dom96perhaps just inverse it?
17:06:34gradhathe inverse of gold is not… nice, green IIRC
17:07:35dom96how about just making the white part black?
17:08:15Araqgah
17:08:18Araqbbl ...
17:16:01jpoirierFinally decided to play around with Nimrod yesterday. I wrapped some of X-Plane's plugin functions and created a simple plugin. A plugin is a dll/so that must export a handfull of functions, and it can register callbacks that get inserted into X-Plane's event loop. It was rather enjoyable to get it working first attempt.
17:18:10dom96Cool. Never heard of X-Plane.
17:18:51jpoirier...flight simulator (x-plane.com)
17:19:13dom96yeah, checking that out now. Looks ultra realistic indeed.
17:19:43OrionPKwhat does your plugin do?
17:20:34jpoirierit just logs messages for now
17:21:50jpoirierthe sim has a nice flight model, it's really useful for practicing procedures
17:25:10*Varriount|Mobile joined #nimrod
17:25:20gradhagood night, honey badgers
17:25:24*gradha quit (Quit: bbl, need to watch http://www.youtube.com/watch?v=dEf4PJZXBxA again)
17:27:35*achim joined #nimrod
17:30:07jpoirieri've written plugins for x-plane using c/c++ that interface to external hardware (usb) and to drive graphical instruments externally via udp and rs232, although there's a really nice Lua plugin system and Lua is great as an extension language I don't really care for the language myself
17:31:06*shevy left #nimrod ("I'll be back ... maybe")
17:32:47*achim quit (Ping timeout: 246 seconds)
17:34:50OrionPKinteresting
17:36:04jpoirierI started out scanning the docs on the website and eventually ended up just looking through code on github; it seems the website's info isn't so current?
17:36:33dom96yeah, we usually just update it when a release happens.
17:36:47OrionPKthe docs on the website are for the last release
17:49:23jpoirierI found most areas of the (core) language to be fairly intuitive and reading through the code on github filled in most of the missing (e.g. ffi) parts
17:51:05BitPuffindom96: another game?
17:51:15dom96BitPuffin: Not right now.
17:51:22BitPuffindom96: bitch :(
17:51:25BitPuffinkidding
17:51:28BitPuffinsawri mait
17:51:36dom96lol
17:52:29OrionPKwow. so rude bit
18:20:16*Varriount|Mobile quit (Remote host closed the connection)
18:20:32*Varriount|Mobile joined #nimrod
18:24:12*ics joined #nimrod
18:44:04EXetoCyay, comments aren't as whitespace-sensitive now apparently
19:17:34*Demos joined #nimrod
19:30:45*ics quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
19:31:27*jpoirier quit (Read error: Connection reset by peer)
19:31:37*jpoirier joined #nimrod
19:32:54*achim joined #nimrod
19:38:16*achim quit (Quit: Computer has gone to sleep.)
19:40:00*achim joined #nimrod
19:52:52*Varriount|Mobile quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com ))
20:08:09*ics joined #nimrod
20:22:32*OrionPK quit (Remote host closed the connection)
20:28:24*OrionPK joined #nimrod
20:34:42*achim quit (Quit: Computer has gone to sleep.)
20:38:28*achim joined #nimrod
20:40:19*ics quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
20:51:01*achim quit (Quit: Computer has gone to sleep.)
20:54:19EXetoCthat's not what I meant, but you can now comment out stuff in var blocks for example
21:34:51*ics joined #nimrod
22:04:12*io2 joined #nimrod
22:22:13EXetoCbacon
22:22:37Amrykidwow, this channel has grown.
22:23:49AraqEXetoC: I don't think we changed anything about the comment handling yet
22:24:48AraqAmrykid: record is at 60 iirc
22:25:16AmrykidAraq, awesome.
22:25:58EXetoCodd. I remember not being able to comment out some of the vars in a var statement
22:26:31EXetoCor maybe that was enums and imports, or something
22:27:52AraqOrionPK: made a PR about the docgen docs?
22:27:54*xenagi joined #nimrod
22:35:45OrionPKyeah.
22:35:56*brson joined #nimrod
22:36:00Araqcool, so I missed it
22:36:33OrionPKsome things might need to be adjusted further though
22:37:00OrionPKapparently the build tool deletes HTML filess
22:37:25AraqI think only "koch clean" does that
22:37:56OrionPKwell, take a look and let me know.
22:40:07Araqwell I don't know if the builders use "koch clean" but yeah it is a problem
22:41:11OrionPKok
22:42:21OrionPKI wont have time to do anything about it today
22:43:33Araqwell docgen invocations are automated too
22:43:48Araqwe can simply make it copy file.html.in to file.html
22:44:04*achim joined #nimrod
22:44:08OrionPKpotentially we could just use sample.htm
22:44:13OrionPKassuming it doesnt delete htm files
22:44:23Araqlol I think it does
22:44:28*Demos quit (Ping timeout: 246 seconds)
22:44:31OrionPKjesus
22:44:50*achim quit (Client Quit)
22:45:43Araqno you're right, htm is safe
22:46:00Araqkind of hacky though and htm is outdated I think
22:46:29Araq removePattern("web/*.html")
22:46:31Araq removePattern("doc/*.html")
22:46:53Araqso put it in a subdirectory and it's fine
22:47:09*vendethiel quit (Quit: q+)
22:47:13*brson quit (Ping timeout: 245 seconds)
22:47:15OrionPKah, thats a better idea
22:49:20*brson joined #nimrod
23:13:28*darkf joined #nimrod
23:46:56VarriountHello guys
23:47:33VarriountI've been looking through IOCP and file change monitoring for windows
23:47:43VarriountAraq, ping
23:47:50Araqpong
23:48:44VarriountAraq, how aggressively efficient and multithreaded should a windows implementation of the filewatcher api be?
23:49:04VarriountFor reference, I'm looking at this article -> http://qualapps.blogspot.com/2010/05/understanding-readdirectorychangesw.html
23:49:49Araqpick the simplest solution please
23:50:08Araqnobody runs servers on windows anyway
23:50:30VarriountErm, I do (or at least, I did)
23:50:43Araqand I'm saying this as a guy who uses windows servers at work ;-)
23:50:54*jpoirier quit (Read error: Connection reset by peer)
23:51:05*jpoirier joined #nimrod
23:51:39*psquid joined #nimrod
23:55:54AraqVarriount: is SO_DONTROUTE the same on every windows version?