00:04:17 | Demos | allright, kinda annoying but not a big deal |
00:12:24 | Demos | allright, I got it working. Thanks |
00:51:07 | * | Demos quit (Quit: Konversation terminated!) |
01:00:08 | NimBot | Araq/Nimrod devel 4dc5ddb Araq [+0 ±3 -0]: case consistency part 3 |
01:00:08 | NimBot | Araq/Nimrod devel 5c1c8d7 Araq [+0 ±122 -0]: case consistency part 4 |
01:00:08 | NimBot | Araq/Nimrod devel 0db4405 Araq [+0 ±10 -0]: case consistency part 5 |
01:00:08 | NimBot | Araq/Nimrod devel 6aaabaf Araq [+0 ±7 -0]: case consistency part 6 |
01:00:08 | NimBot | 3 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:22 | Varriount | Oooo, 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:34 | Araq | hi gradha what's the problem with *** in the slides? |
09:52:06 | gradha | you use it as a marker to change background colors |
09:52:18 | Araq | yeah |
09:52:31 | Araq | no background colors in PDF? |
09:52:45 | gradha | I have no idea |
09:52:48 | Araq | well I'm sure PDF has that |
09:52:54 | Araq | what tool did you use? |
09:52:59 | gradha | rst2pdf |
09:53:18 | gradha | http://rst2pdf.ralsina.com.ar/handbook.html |
09:54:46 | gradha | that 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:46 | gradha | the 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:34 | Araq | alright well firstly let me have a look if my left-click-hack is the cause for the smartphone desaster |
10:02:33 | gradha | you could also investigate https://launchpad.net/rubber which is yet another pdf making toolchain |
10:04:40 | gradha | however 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:09 | Araq | well I always feel to don't give a shit about PDF :-) |
10:06:47 | gradha | the future is html5 video anyway http://gfycat.com/AgedUnevenGuineafowl |
10:06:58 | Araq | yup |
10:07:01 | Araq | bbl |
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:10 | dom96 | hello everyone |
12:02:19 | gradha | finally, welcome |
12:02:29 | dom96 | aww, you miss me? :P |
12:02:38 | gradha | all this time alone in teamspeak, so unbearable |
12:02:51 | dom96 | You're in VNUG?!? |
12:02:58 | gradha | nah |
12:03:09 | gradha | I'll never join Varriount's group |
12:03:14 | dom96 | awwk. You got me excited over nothing. |
12:03:26 | gradha | today is april's fool in spain |
12:03:37 | dom96 | But it's not even april!@ |
12:03:46 | gradha | it's not called that in spain, of course |
12:04:00 | gradha | something like "the day of the innocent saints" |
12:04:22 | dom96 | I see. |
12:05:10 | gradha | yesterday the prime minister said the country is recovering, missed the day by one |
12:06:15 | dom96 | what do you do on April 1st then? |
12:06:22 | dom96 | That's when the rest of the world does their pranks. |
12:06:47 | gradha | spain is called a party country for a reason |
12:07:00 | * | vendethiel joined #nimrod |
12:07:35 | gradha | halloween wasn't popular here either, but now it's like "a millenary tradition" |
12:17:48 | * | EXetoC joined #nimrod |
12:24:56 | NimBot | Araq/Nimrod master 31f2b4d Dominik Picheta [+0 ±1 -0]: Fixes #594... 3 more lines |
12:25:50 | Araq | dom96: what's bug #594 ? |
12:26:07 | dom96 | https://github.com/Araq/Nimrod/issues/594 |
12:26:57 | dom96 | I think you already partially fixed it anyway. |
12:27:55 | Araq | meh, I don't like expandTilde here, but whatever |
12:28:18 | Araq | we don't support ~ elsewhere so it's only confusing to support it for --out |
12:28:39 | dom96 | well perhaps we should support it elsewhere? |
12:28:42 | Araq | this path handling stuff is a never ending PITA |
12:29:25 | Araq | supporting it everywhere is not hard to do |
12:30:08 | Araq | have a look at commands.processPath |
12:31:56 | gradha | paths 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:23 | dom96 | I thought that the shell actually expands it |
12:32:25 | dom96 | but apparently not |
12:33:58 | shevy | well for cd ~ |
12:34:32 | shevy | cat ~/mrxvtrc |
12:34:34 | shevy | :) |
12:35:30 | Araq | but then not everything in the compiler uses processPath of course ... :-/ |
12:35:43 | dom96 | ...yeah |
12:35:46 | Araq | speaking of which |
12:35:56 | dom96 | should I just make --out use it? |
12:36:02 | Araq | I thought about changing the import path mess |
12:36:14 | Araq | dom96: yeah just support it for --out for now |
12:36:29 | dom96 | so you don't want me to change processPath? |
12:36:34 | Araq | no |
12:36:41 | dom96 | gah ok |
12:36:41 | Araq | that requires some planning |
12:37:01 | Araq | well *shrug* if you really feel like it, go ahead |
12:37:13 | dom96 | well I just undoed my changes so too late now |
12:37:20 | Araq | ok |
12:37:28 | Araq | anyway |
12:37:31 | dom96 | I'll create an issue to remind us |
12:37:42 | Araq | I think paths should work like this: |
12:38:25 | Araq | module foo: import bar # bar is relative to 'foo', so in the same dir |
12:39:04 | Araq | module foo: import sub.bar # bar is relative to 'foo', so in the directory sub/ relative to foo's path |
12:40:29 | Araq | and then we perhaps have import babel.jester |
12:40:36 | dom96 | speaking of imports. I think it would be nice to get some syntax sugar like: import pkg/[module, module2, module3] |
12:41:02 | gradha | import babel.babel |
12:41:22 | Araq | and of course import std.strutils |
12:42:02 | gradha | import ~/babel.genieos |
12:42:11 | dom96 | So you're planning to have more than one package manager? |
12:42:56 | Araq | well my plan is to get rid of --path |
12:43:20 | Araq | cause it's messy, we now have --babelpath --exlcudePath options to list the path etc. |
12:44:01 | dom96 | Babel depends on --path |
12:44:17 | Araq | how so? |
12:44:27 | Araq | I thought it uses --babelpath only |
12:44:30 | dom96 | no. |
12:44:43 | dom96 | It explicitly passes the paths to the packages when it builds a binary package |
12:45:04 | Araq | ah hm |
12:45:17 | dom96 | --babelpath is only used when babel is not used |
12:45:18 | dom96 | i.e. you are compiling manually |
12:45:29 | Araq | makes sense |
12:45:32 | dom96 | so that the compiler knows to use the latest packages |
12:45:34 | gradha | dom96: I think your import sugar can be done with a template |
12:45:53 | Araq | dom96: sugar can always be added when we know what to do :-) |
12:46:21 | dom96 | I guess I should write a blog post about exactly how babel works in case I get hit by a bus :P |
12:46:51 | gradha | or flying santa |
12:47:17 | Araq | well IMO we have a configuration mess |
12:47:33 | Araq | and it starts to hurt for the scripting API |
12:48:09 | Araq | because you now have to provide all these options to the scripting API like where to find system.nim etc. |
12:48:24 | Araq | so that you can run a simple script |
12:50:36 | dom96 | well 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:43 | BitPuffin | dom96! |
14:03:46 | BitPuffin | dom96!! |
14:04:05 | dom96 | BitPuffin!!! |
14:04:28 | BitPuffin | dom96: dotaaa!!! |
14:05:00 | dom96 | lets play L4D2 instead! |
14:06:50 | NimBot | nimrod-code/babel master 9dcc28f Dominik Picheta [+5 ±2 -5]: Isolate babel modules in a ``babelpkg`` dir. |
14:06:50 | NimBot | nimrod-code/babel master 7b05758 Dominik Picheta [+0 ±1 -0]: Note about hybrid packages. |
14:06:54 | BitPuffin | dom96: no dotaaa! |
14:07:00 | dom96 | whyyyy |
14:07:47 | dom96 | I feel like killing some zombies |
14:07:55 | dom96 | and i'm much better at L4D2 :P |
14:08:16 | BitPuffin | dom96: at least hop in to TS |
14:08:27 | dom96 | let me reboot |
14:08:52 | BitPuffin | dom96: I refuse |
14:09:28 | BitPuffin | dom96: It's gonna take years to install l4d2 lol |
14:09:32 | BitPuffin | and dota 2 is funner |
14:12:16 | BitPuffin | dom96: slow ass reboot |
14:16:01 | gradha | instead 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:30 | gradha | create a nimrod NSA branch which tracks the partial ASTs of bad compilations into a database, then diff against next successful compilation |
14:35:04 | zahary1 | Araq, 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:36 | zahary1 | I can try to merge into devel if you are not ready to merge to master |
14:36:15 | gradha | zahary1: do you use macosx dash documentation viewer? |
14:36:26 | zahary1 | nope |
14:37:19 | gradha | my default vim entry for K opens a manpage with a keyword, maybe that could look into idetools returned docstring? |
14:38:51 | zahary1 | haven't used it before (K), but it would be a good addition |
14:41:27 | zahary1 | reading 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:05 | gradha | yes, 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:45 | gradha | but at that point maybe it would be worth transforming nimrod docs into vim hyperref thingy |
14:48:05 | zahary1 | the 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:05 | gradha | what'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:10 | gradha | hmm... 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:19 | Araq | zahary1: please merge it into devel instead |
16:27:40 | Araq | I'll also change the tester, we need better grouping by language features |
16:27:57 | Araq | so that I can re-run the tests about templates etc. easily |
16:28:31 | Araq | gradha: the syntax is ${foo} |
16:32:35 | gradha | cool, mind if I add to strutils iterator split(text, separator: string): string? |
16:33:34 | gradha | in the end … or :foobar: is just that, a sequence to split on |
16:34:14 | Araq | the python people will call your iterator and it will be slower :P |
16:34:25 | Araq | but I guess it's useful enough |
16:34:52 | gradha | let's name it splitForExperts |
16:35:48 | Araq | splitForStrangeSyntaxes |
16:36:12 | gradha | and for extra points, place the iterator in the unsigned module |
16:36:30 | gradha | heh, maybe there's a start for your evil module |
16:36:36 | Araq | I still think we should have an "evil" module |
16:37:05 | Araq | import unsafe, unsigned, unsound |
16:40:35 | Araq | from future import popularityBoost |
16:40:50 | dom96 | from future import success |
17:00:14 | * | jpoirier joined #nimrod |
17:00:23 | Araq | hi jpoirier welcome |
17:01:50 | gradha | Araq: can I haz ${foo\}bar} escaped? |
17:02:21 | Araq | no |
17:02:38 | Araq | what's the point? |
17:02:44 | gradha | trying my luck |
17:03:14 | OrionPK | for imports i "import foo.bar" should first check for "foo.bar.nim" before "foo/bar.nim" |
17:03:35 | Araq | foo.bar is not a valid module name anyway |
17:04:53 | gradha | we need a different crown logo for white backgrounds |
17:06:12 | dom96 | indeed |
17:06:16 | dom96 | perhaps just inverse it? |
17:06:34 | gradha | the inverse of gold is not… nice, green IIRC |
17:07:35 | dom96 | how about just making the white part black? |
17:08:15 | Araq | gah |
17:08:18 | Araq | bbl ... |
17:16:01 | jpoirier | Finally 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:10 | dom96 | Cool. Never heard of X-Plane. |
17:18:51 | jpoirier | ...flight simulator (x-plane.com) |
17:19:13 | dom96 | yeah, checking that out now. Looks ultra realistic indeed. |
17:19:43 | OrionPK | what does your plugin do? |
17:20:34 | jpoirier | it just logs messages for now |
17:21:50 | jpoirier | the sim has a nice flight model, it's really useful for practicing procedures |
17:25:10 | * | Varriount|Mobile joined #nimrod |
17:25:20 | gradha | good 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:07 | jpoirier | i'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:50 | OrionPK | interesting |
17:36:04 | jpoirier | I 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:33 | dom96 | yeah, we usually just update it when a release happens. |
17:36:47 | OrionPK | the docs on the website are for the last release |
17:49:23 | jpoirier | I 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:05 | BitPuffin | dom96: another game? |
17:51:15 | dom96 | BitPuffin: Not right now. |
17:51:22 | BitPuffin | dom96: bitch :( |
17:51:25 | BitPuffin | kidding |
17:51:28 | BitPuffin | sawri mait |
17:51:36 | dom96 | lol |
17:52:29 | OrionPK | wow. 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:04 | EXetoC | yay, 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:19 | EXetoC | that'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:13 | EXetoC | bacon |
22:22:37 | Amrykid | wow, this channel has grown. |
22:23:49 | Araq | EXetoC: I don't think we changed anything about the comment handling yet |
22:24:48 | Araq | Amrykid: record is at 60 iirc |
22:25:16 | Amrykid | Araq, awesome. |
22:25:58 | EXetoC | odd. I remember not being able to comment out some of the vars in a var statement |
22:26:31 | EXetoC | or maybe that was enums and imports, or something |
22:27:52 | Araq | OrionPK: made a PR about the docgen docs? |
22:27:54 | * | xenagi joined #nimrod |
22:35:45 | OrionPK | yeah. |
22:35:56 | * | brson joined #nimrod |
22:36:00 | Araq | cool, so I missed it |
22:36:33 | OrionPK | some things might need to be adjusted further though |
22:37:00 | OrionPK | apparently the build tool deletes HTML filess |
22:37:25 | Araq | I think only "koch clean" does that |
22:37:56 | OrionPK | well, take a look and let me know. |
22:40:07 | Araq | well I don't know if the builders use "koch clean" but yeah it is a problem |
22:41:11 | OrionPK | ok |
22:42:21 | OrionPK | I wont have time to do anything about it today |
22:43:33 | Araq | well docgen invocations are automated too |
22:43:48 | Araq | we can simply make it copy file.html.in to file.html |
22:44:04 | * | achim joined #nimrod |
22:44:08 | OrionPK | potentially we could just use sample.htm |
22:44:13 | OrionPK | assuming it doesnt delete htm files |
22:44:23 | Araq | lol I think it does |
22:44:28 | * | Demos quit (Ping timeout: 246 seconds) |
22:44:31 | OrionPK | jesus |
22:44:50 | * | achim quit (Client Quit) |
22:45:43 | Araq | no you're right, htm is safe |
22:46:00 | Araq | kind of hacky though and htm is outdated I think |
22:46:29 | Araq | removePattern("web/*.html") |
22:46:31 | Araq | removePattern("doc/*.html") |
22:46:53 | Araq | so 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:15 | OrionPK | ah, thats a better idea |
22:49:20 | * | brson joined #nimrod |
23:13:28 | * | darkf joined #nimrod |
23:46:56 | Varriount | Hello guys |
23:47:33 | Varriount | I've been looking through IOCP and file change monitoring for windows |
23:47:43 | Varriount | Araq, ping |
23:47:50 | Araq | pong |
23:48:44 | Varriount | Araq, how aggressively efficient and multithreaded should a windows implementation of the filewatcher api be? |
23:49:04 | Varriount | For reference, I'm looking at this article -> http://qualapps.blogspot.com/2010/05/understanding-readdirectorychangesw.html |
23:49:49 | Araq | pick the simplest solution please |
23:50:08 | Araq | nobody runs servers on windows anyway |
23:50:30 | Varriount | Erm, I do (or at least, I did) |
23:50:43 | Araq | and 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:54 | Araq | Varriount: is SO_DONTROUTE the same on every windows version? |