00:00:15 | * | ics joined #nimrod |
00:04:37 | * | ics quit (Ping timeout: 240 seconds) |
00:05:15 | Araq | it's a hidden parameter in sym.typ.n iirc |
00:05:55 | * | DAddYE quit (Remote host closed the connection) |
00:06:04 | * | ics joined #nimrod |
00:17:14 | * | EXetoC quit (Quit: WeeChat 0.4.2) |
00:37:13 | * | DAddYE joined #nimrod |
00:42:38 | * | DAddYE quit (Ping timeout: 240 seconds) |
01:01:24 | * | DAddYE joined #nimrod |
01:05:44 | * | noam_ joined #nimrod |
01:05:50 | * | DAddYE quit (Ping timeout: 245 seconds) |
01:09:26 | * | noam quit (Ping timeout: 272 seconds) |
01:49:26 | * | xenagi joined #nimrod |
01:51:36 | * | brson quit (Ping timeout: 272 seconds) |
01:52:48 | * | brson joined #nimrod |
02:02:19 | * | DAddYE joined #nimrod |
02:06:40 | * | DAddYE quit (Ping timeout: 246 seconds) |
02:42:01 | * | Varriount just found symToYaml. Varriount wishes he knew about that function sooner. |
02:58:27 | * | DAddYE joined #nimrod |
02:58:39 | * | DAddYE quit (Remote host closed the connection) |
02:58:45 | * | DAddYE joined #nimrod |
03:27:11 | * | ics quit (Read error: Connection reset by peer) |
03:27:51 | * | ics joined #nimrod |
03:37:41 | * | brson quit (Ping timeout: 248 seconds) |
04:33:44 | Varriount | Araq, does liftIterSym have a counterpart, something like liftProcSym? |
05:11:18 | * | xenagi quit (Quit: Leaving) |
05:58:09 | * | brson joined #nimrod |
05:58:11 | * | brson quit (Client Quit) |
05:58:39 | * | brson joined #nimrod |
06:02:01 | * | brson_ joined #nimrod |
06:05:08 | * | noam_ quit (Ping timeout: 240 seconds) |
06:06:27 | * | brson quit (Ping timeout: 272 seconds) |
06:17:00 | * | isenmann joined #nimrod |
06:17:11 | * | filwit quit (Quit: Leaving) |
08:05:08 | * | brson_ quit (Ping timeout: 245 seconds) |
08:07:25 | * | brson joined #nimrod |
08:58:43 | * | BitPuffin joined #nimrod |
08:58:59 | BitPuffin | goooood day! |
09:05:32 | * | DAddYE quit (Remote host closed the connection) |
09:12:51 | fowl | BitPuffin, hey |
09:28:17 | BitPuffin | what's up fowl? |
09:30:04 | * | Jackneill joined #nimrod |
09:41:44 | * | BitPuffin quit (Read error: No route to host) |
09:42:24 | * | BitPuffin joined #nimrod |
09:53:46 | * | CarpNet joined #nimrod |
09:57:59 | BitPuffin | I think my laptop battery is dead |
10:03:37 | * | BitPuffi1 joined #nimrod |
10:04:17 | * | BitPuffin quit (Read error: Connection reset by peer) |
10:07:14 | * | DAddYE joined #nimrod |
10:11:33 | * | DAddYE quit (Ping timeout: 246 seconds) |
10:16:26 | * | BitPuffi1 is now known as BitPuffin |
10:28:01 | * | shevy joined #nimrod |
10:28:16 | Araq | hi shevy wb |
10:28:56 | shevy | hey |
10:29:19 | BitPuffin | yep it's dead |
10:29:22 | BitPuffin | fuck |
10:29:33 | BitPuffin | how inconvenient xD |
10:29:53 | BitPuffin | how will I bbqcode now |
10:30:57 | Araq | ping fow1 |
10:31:03 | Araq | ping fowl |
10:31:36 | Araq | who has experience with the header pragma? |
10:32:01 | BitPuffin | fowl was just here |
10:32:32 | fowl | hi |
10:32:45 | Araq | when I do |
10:32:47 | Araq | {.pragma: mylib, header: r"libffi\common\ffi.h".} |
10:33:03 | Araq | gcc later complains it can't find ffi.h |
10:33:28 | * | ics quit (Ping timeout: 245 seconds) |
10:33:47 | Araq | how do you guys solve this? |
10:34:12 | fowl | you have /usr/include/libffi/common/ffi.h ? |
10:34:24 | Araq | no, I'm on windows |
10:34:46 | Araq | for linux I just use libffi.so and it works |
10:34:56 | Araq | but I don't like the DLL dependency on windows |
10:35:07 | zahary_ | I think I added --includeDirs: command line switch |
10:35:48 | * | ics joined #nimrod |
10:35:53 | Araq | but no pragma I guess |
10:35:54 | zahary_ | it's --cincludes:DIR |
10:36:09 | zahary_ | that has to go in your project config file for example |
10:36:15 | fowl | or {.passc: "-Idir".} or w/e the option is |
10:36:36 | BitPuffin | see Araq windows sucks ;) |
10:36:54 | BitPuffin | and so does linux |
10:36:58 | BitPuffin | fuck operating systems |
10:37:43 | Araq | zahary_ does --cincludes work with msvc? |
10:37:43 | shevy | hehe |
10:37:48 | zahary_ | yes |
10:38:04 | shevy | BitPuffin what operating system do yous |
10:38:06 | shevy | *use |
10:38:17 | BitPuffin | shevy: arch linux |
10:38:24 | fowl | plan9 is the future |
10:38:34 | Araq | alright, will do that, but the compiler should copy include files over to nimcache, I think |
10:38:54 | Araq | or hmm |
10:39:01 | fowl | whys that needed |
10:39:03 | Araq | i can put them in $lib |
10:39:14 | zahary_ | why do such crazy things? |
10:39:50 | BitPuffin | fowl: yeah we should implement plan9 in nimrod :P |
10:39:52 | Araq | seems better than shipping with libffi32.dll and libffi64.dll |
10:41:12 | zahary_ | I don't follow, copying the headers helps you to no ship the run-time files? |
10:41:43 | BitPuffin | Lucent Public License |
10:41:47 | BitPuffin | never heard of that one |
10:41:53 | Araq | yes well once it builds properly I compiled nimrod with libffi.c |
10:42:00 | Araq | and no dll is necessary |
10:43:43 | zahary_ | aha, so you are thinking about putting the C header and the single libffi source file in the compiler tree? |
10:43:54 | BitPuffin | I think this is the first time I've seen Araq needing help with nimrod |
10:44:10 | Araq | BitPuffin: I'm only asking for best practices :P |
10:44:19 | BitPuffin | Araq: still counts as help :P |
10:44:33 | zahary_ | that seems fine; didn't we also have a way to tell nimrod to compile a C file as part of the project |
10:44:35 | BitPuffin | Araq: and gcc complaining is an error! |
10:44:58 | Araq | zahary_: yes but {.compiles: ...} simply works ;-) |
10:45:16 | Araq | also embedding libffi is what python does |
10:45:36 | Araq | so ... it's fine to the same |
10:46:20 | Araq | *to do |
10:47:20 | * | EXetoC joined #nimrod |
10:47:29 | zahary_ | I didn't know it's just a single file; I have no problems with static linking it |
10:47:45 | Araq | it's not a single file, it's far worse |
10:47:56 | Araq | with 2 versions of assembler code |
10:48:04 | Araq | one for msvc, one for gcc |
10:48:38 | BitPuffin | fowl: the whole namespace idea is actually kind of cool now that I look at it, shame that it's not usable for anything :P |
10:48:39 | Araq | the original version lacks the msvc stuff and relies on autoconf |
10:49:04 | Araq | hence I copied it from Python |
10:49:09 | fowl | namespace |
10:49:11 | fowl | what |
10:49:36 | BitPuffin | fowl: http://www.plan9.bell-labs.com/wiki/plan9/Overview/index.html :P |
10:51:44 | * | brson quit (Quit: leaving) |
10:51:46 | fowl | o |
10:54:39 | BitPuffin | Araq would probably not like it though as it seems to use tree based file system haha |
11:01:38 | Araq | hmm gcc doesn't run the preprocessor on the assembler file |
11:01:45 | Araq | fun |
11:08:20 | * | DAddYE joined #nimrod |
11:27:26 | * | DAddYE quit (Ping timeout: 240 seconds) |
11:50:41 | BitPuffin | swedish postal service sucks balls |
11:57:20 | shevy | at least you guys have Dolph Lundgren |
12:03:51 | EXetoC | that's true |
12:06:49 | EXetoC | BitPuffin: why is that? |
12:07:38 | BitPuffin | EXetoC: They didn't give me the avi for a package that arrived days ago |
12:16:08 | EXetoC | :/ |
12:17:38 | BitPuffin | meh, wasn't that important really, only cost me ~5k SEK |
12:17:50 | BitPuffin | but yeah I had to call around basically |
12:17:57 | BitPuffin | so now I can get it lol |
12:18:05 | fowl | SEK = south korean money? |
12:18:12 | BitPuffin | yeah obviously |
12:18:22 | fowl | oh |
12:18:27 | fowl | ur saying i should use my context huh |
12:18:55 | BitPuffin | only maybe :P |
12:19:27 | fowl | btc up to 832$ |
12:20:52 | BitPuffin | yeah I know |
12:20:54 | BitPuffin | it's inseane |
12:21:05 | BitPuffin | it was over 900 yesterday or so |
12:21:08 | fowl | wish i had one |
12:21:14 | fowl | i would sell it |
12:21:27 | BitPuffin | I wish I would have mined back when it was actually possible lol |
12:21:33 | fowl | ^ |
12:25:18 | * | DAddYE joined #nimrod |
12:25:29 | EXetoC | maybe they should do a reset |
12:28:11 | * | Associat0r quit (Quit: Associat0r) |
12:28:46 | fowl | litecoins also steadily rising |
12:29:20 | * | DAddYE quit (Ping timeout: 240 seconds) |
12:35:19 | BitPuffin | yeah but not as much |
12:36:58 | fowl | i have 0.001 btc somewhere |
12:37:14 | fowl | cant find it :( |
12:40:35 | EXetoC | what's the last place you left it at? |
12:40:43 | fowl | some website |
12:46:49 | BitPuffin | haha I should have some |
12:46:55 | BitPuffin | not much though |
12:47:34 | fowl | maybe we should focus on hacking some bitcoin websites and stealing them |
12:50:17 | Araq | gah, system.eval matches better than my own |
12:50:20 | Araq | wtf |
12:51:52 | * | Araq removes eval from system.nim |
12:54:29 | Araq | why do we need it anyway when we have 'static'? |
12:55:00 | fowl | doesnt eval() take a string |
12:55:12 | Araq | no |
12:55:16 | Araq | a 'stmt' |
12:57:05 | fowl | oh |
12:57:19 | fowl | how would one use nimrod for scripting |
12:58:45 | EXetoC | dynamic loading of libs? |
13:04:50 | BitPuffin | or wait for the new vm |
13:05:05 | BitPuffin | but loading libs is the answer I think |
13:05:10 | BitPuffin | just fo pöfåmans |
13:06:09 | * | zanoni quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) |
13:06:25 | * | zanoni joined #nimrod |
13:21:48 | shevy | well |
13:22:20 | shevy | by making the compile-cycle invisible, then it would be pretty close to scripting :> |
13:25:55 | fowl | shut up shevy |
13:26:14 | * | DAddYE joined #nimrod |
13:26:30 | shevy | lol |
13:26:54 | BitPuffin | yep |
13:28:26 | EXetoC | a simple compile/run script might do |
13:29:47 | BitPuffin | maybe one could even use the vm to hide the compilation and then switch over to the compiled version once it is done |
13:30:19 | shevy | \o/ |
13:30:38 | * | DAddYE quit (Ping timeout: 240 seconds) |
13:30:57 | BitPuffin | \m/ \m/ |
13:31:01 | BitPuffin | \ o / |
13:31:06 | BitPuffin | | |
13:31:11 | BitPuffin | /\ |
13:31:13 | BitPuffin | lol |
13:43:07 | BitPuffin | that's some big hands |
13:52:13 | EXetoC | Do you all have smartphones? I'm thinking of replacing my Nokia 5100. |
13:55:11 | BitPuffin | I do |
13:55:35 | BitPuffin | EXetoC: maybe you'd be happy with a ZTE Open if you don't want expensive |
14:03:03 | fowl | i used to have an lg optimus g |
14:03:10 | fowl | it was nice |
14:03:32 | fowl | the kind of phone that if you saw someone passed out on the sidewalk with it, you would take it |
14:03:37 | fowl | apparently :( |
14:03:53 | BitPuffin | why did you pass out? |
14:04:00 | fowl | drunk |
14:04:02 | EXetoC | bummer :p |
14:04:19 | BitPuffin | newb |
14:04:25 | EXetoC | maybe you should pass out in the woods next time |
14:04:39 | fowl | have a fear of fire ants |
14:04:41 | BitPuffin | who passes out from alcohol I mean really :P |
14:04:59 | fowl | lol |
14:06:49 | BitPuffin | http://vimeo.com/79509500 thoughts? |
14:08:31 | fowl | does it take less memory |
14:10:46 | BitPuffin | fowl: apparently it is faster at least |
14:10:49 | BitPuffin | dunno about the memory |
14:12:27 | EXetoC | I don't have an income, so something like a ZTE Open might be a better choice at this time. I don't know if it has SSH support though |
14:12:48 | * | q66 quit (Quit: Leaving) |
14:13:08 | fowl | EXetoC, i wouldn't get a first-generation anything device |
14:14:19 | BitPuffin | EXetoC: well cheap android phones suck balls |
14:14:59 | BitPuffin | https://addons.mozilla.org/en-us/firefox/addon/firessh/ |
14:15:07 | BitPuffin | wonder if that runs on the firefoxos |
14:15:13 | BitPuffin | Gonna give it a try in the emulator :P |
14:15:26 | BitPuffin | EXetoC: https://addons.mozilla.org/en-US/firefox/addon/firefox-os-simulator/ |
14:17:35 | * | q66 joined #nimrod |
14:18:15 | EXetoC | still, I have some money, so it might be worth it. I'm not sure what I'd need 4x1.5 GHz for though |
14:18:21 | EXetoC | ok I'll try that |
14:20:42 | BitPuffin | EXetoC: I can't find any ssh app in the marketplace so far, but maybe if that firessh thing is open source it wouldn't be so hard to fork it and make it compatible |
14:22:06 | BitPuffin | good way to get recognized is to be first with an app :P |
14:28:03 | * | DAddYE joined #nimrod |
14:40:28 | * | ics quit (Ping timeout: 272 seconds) |
14:48:14 | * | DAddYE quit (Ping timeout: 240 seconds) |
14:50:22 | EXetoC | can't be bothered :p |
14:50:32 | EXetoC | fowl: yeah good point |
14:50:41 | EXetoC | thanks for the advice. cya later |
14:52:08 | * | OrionPK joined #nimrod |
14:59:04 | * | ics joined #nimrod |
15:03:16 | * | BitPuffin quit (Ping timeout: 272 seconds) |
15:46:02 | * | DAddYE joined #nimrod |
15:47:13 | * | ics quit (Ping timeout: 272 seconds) |
15:50:10 | * | noam joined #nimrod |
15:50:54 | * | ics joined #nimrod |
15:51:01 | * | DAddYE quit (Ping timeout: 272 seconds) |
16:11:42 | * | ics quit (Ping timeout: 246 seconds) |
16:14:46 | * | ics joined #nimrod |
16:16:29 | * | yogin quit (Quit: Leaving) |
16:21:02 | * | ics quit (Ping timeout: 246 seconds) |
16:22:08 | * | ics joined #nimrod |
16:29:15 | * | yogin joined #nimrod |
16:40:33 | * | ics quit (Ping timeout: 245 seconds) |
16:43:28 | * | ics joined #nimrod |
16:47:33 | * | DAddYE joined #nimrod |
16:51:36 | * | ics quit (Ping timeout: 246 seconds) |
16:51:50 | * | DAddYE quit (Ping timeout: 240 seconds) |
16:57:36 | * | q66 quit (Ping timeout: 246 seconds) |
16:57:56 | * | q66 joined #nimrod |
17:10:09 | * | DAddYE joined #nimrod |
17:14:14 | * | DAddYE quit (Ping timeout: 240 seconds) |
17:14:48 | * | Associat0r joined #nimrod |
17:15:58 | * | ics joined #nimrod |
17:55:18 | * | ics quit (Ping timeout: 246 seconds) |
18:06:47 | * | mflamer joined #nimrod |
18:08:59 | * | ics joined #nimrod |
18:10:50 | * | DAddYE joined #nimrod |
18:10:52 | * | DAddYE quit (Remote host closed the connection) |
18:11:45 | * | DAddYE joined #nimrod |
18:14:54 | * | mflamer quit (Ping timeout: 246 seconds) |
18:16:01 | Araq | ping fowl |
18:17:20 | * | mflamer joined #nimrod |
18:20:43 | * | CarpNet quit (Quit: Leaving) |
18:21:53 | Araq | hi mflamer, what's up? |
18:23:20 | mflamer | Hi Araq, My Bday today, Just relaxing. Thinking of working on that constructor syntax a bit today. |
18:24:00 | mflamer | What are you up to? Working on the new VM stuff? |
18:24:20 | Araq | no on the drdobbs article |
18:24:35 | mflamer | nice |
18:24:52 | Araq | not really, should be finished already |
18:25:53 | dom96 | mflamer: happy birthday |
18:26:04 | mflamer | thanks dom |
18:26:09 | Araq | oh sorry |
18:26:09 | Varriount | Happy CakeDay! |
18:26:17 | Araq | happy birthday from me too! |
18:26:30 | mflamer | thanks guys |
18:26:32 | * | Araq isn't familiar with the word "Bday" |
18:27:50 | Varriount | Geburtstag? |
18:28:59 | Araq | well I know the old fashioned "birthday" :P |
18:32:40 | Varriount | Araq, the lambda lifting code is... wierd. |
18:35:20 | * | OrionPKM joined #nimrod |
18:36:14 | * | OrionPKM quit (Remote host closed the connection) |
18:36:23 | OrionPK | keep forgetting about 12:00 :P |
18:42:23 | * | hoverbear joined #nimrod |
18:47:44 | Araq | OrionPK: I haven't forgotten |
18:48:41 | Araq | Varriount: it's not weird |
18:49:04 | Araq | but hard :P |
19:06:45 | mflamer | whats at 1200? |
19:07:08 | Varriount | mflamer, a time |
19:07:44 | mflamer | ah.......deep |
19:08:17 | Varriount | A time where all the mysteries of code will be revealed |
19:09:12 | mflamer | oh shit, how do I get in? |
19:09:37 | Varriount | Probably by being dead. |
19:11:44 | mflamer | can I bring my laptop? |
19:22:30 | shevy | Just strip down your pants. |
19:28:09 | fowl | Araq, hey it looked good but ill have another look if oyu editted it |
19:28:28 | fowl | memoserv read 6 |
19:28:39 | Varriount | ;3 |
19:28:46 | Araq | fowl: I edited it and in particular my macro doesn't work :P |
19:29:00 | Araq | now it works but I dislike the workaround for the bug |
19:29:10 | Varriount | Memoserv is one of the least appreciated features of freenode. |
19:29:15 | Araq | and it works with the new VM without the workaround |
19:30:07 | fowl | is it the result = stuff(result) thing |
19:32:05 | fowl | you should set the filetype so i can see the formatting |
19:37:15 | Araq | yeah that's exactly the problem |
19:38:00 | Araq | can I convert from HTML to open document format easily? |
19:38:32 | fowl | not sure |
19:38:41 | fowl | does it have to be in that format for the article? |
19:38:52 | Araq | no. MS Word. |
19:39:04 | fowl | oh wow |
19:39:07 | Araq | but Word understands Open document format |
19:39:50 | Araq | oh fowl why I pinged you: do you have a shortcut for newDotExpr(current, newIdentNode(field)) in macros.nim? |
19:39:51 | Varriount | Blargargargarg |
19:40:18 | fowl | Araq, a.dot(b) => newDotExpr(a, b) |
19:40:37 | Araq | but I still need to do newIdentNode? |
19:40:39 | fowl | oh i guess that didnt make it in |
19:41:05 | fowl | Araq, there is ident(string) for newIdentNode() |
19:41:27 | Araq | true |
19:41:45 | Araq | but more confusing for the example I guess |
19:42:49 | Araq | I did: |
19:43:01 | Araq | template `@`(a: expr, field: expr): expr = |
19:43:02 | Araq | newDotExpr(a, newIdentNode(astToStr(field))) |
19:43:14 | Araq | and then n@right instead of n.right |
19:43:25 | Araq | but ... that takes too much time to explain |
19:46:36 | Araq | maybe I should try 'quote' ... |
19:48:22 | fowl | stdlib needs this |
19:48:31 | fowl | proc p*[T] (some: T): T = |
19:48:37 | fowl | echo some |
19:48:39 | fowl | return some |
19:49:00 | fowl | inspired by ruby's Object#p |
19:51:33 | * | mflamer quit (Read error: Connection reset by peer) |
19:52:51 | * | mflamer joined #nimrod |
19:55:40 | Varriount | Araq, could you give me a run down again of what is needed to get inner closure iterators working? The only thing I've been able to do so far is change isInnerProc to accept inner closure iterators. |
19:56:24 | Varriount | Now, instead of a gcc error, I get a compiler error about an "env" parameter not being initialized. |
19:57:56 | * | mflamer quit (Read error: Connection reset by peer) |
19:58:25 | Araq | Varriount: no i can't because I don't know either. If I knew, I would have done it already. ;-) |
19:58:57 | * | mflamer joined #nimrod |
19:59:14 | Araq | lambdalifting.addHiddenParam doesn't check for the existance of the hidden param though |
19:59:23 | Araq | this could be your problem |
19:59:34 | Araq | then it adds 2 hidden params and 1 of these is not initialized |
20:00:01 | Varriount | *facepalm* |
20:03:04 | Varriount | Araq, would it be acceptable to add a flag to the hidden parameters, so that they can actually be identified as hidden? |
20:04:04 | Araq | yeah, in fact that's what would do |
20:05:03 | Araq | well actually |
20:09:34 | fowl | Varriount, feel free to document stuff in there while you're doing stuff |
20:09:43 | fowl | the compiler source is a mystery to me |
20:09:48 | Varriount | fowl, that's what I've been doing. |
20:10:03 | Varriount | What is it with highly skilled programmers and documentation? |
20:10:58 | Araq | Varriount: the flag already exists and is tfCapturesEnv |
20:11:28 | * | mflamer quit (Read error: Connection reset by peer) |
20:11:31 | Varriount | Araq, I thought that was for the parameter type, not the symbol? |
20:11:39 | Araq | except that semIterator already sets it |
20:12:13 | Araq | it's for the *proc type* which is ... wrong but what the code now uses |
20:12:44 | * | mflamer joined #nimrod |
20:13:12 | Varriount | Where would we be without convention. ;p |
20:13:19 | Araq | actually in line 1089 of semstmts.nim you need to add the hidden environment already |
20:13:35 | Araq | perhaps ... |
20:13:46 | Araq | I'm sure you'll figure it out |
20:14:19 | Araq | and fyi the code is documented, but not as good as we'd like |
20:15:52 | fowl | im working on a smalltalk |
20:15:58 | fowl | working title: smelltalk |
20:16:57 | * | OrionPKM joined #nimrod |
20:18:02 | * | BitPuffin joined #nimrod |
20:19:29 | BitPuffin | hey guys! |
20:23:24 | mflamer | Araq: in the chain of calls for semantic checking of calls, there is "n, orig: PNode" passed around. What is the significance of having 2 nodes here? |
20:23:41 | Araq | ask zahary |
20:24:25 | Araq | well the answer is that '3 +4 ' is orig and n becomes '7' |
20:24:50 | Araq | but I'm not sure whether that's still true |
20:25:20 | mflamer | ok |
20:25:46 | Araq | that's the difference in theory ;-) |
20:28:18 | mflamer | well, my plan is to catch the fact that my Ident is an enumField as early as possible, do the type checking of the argument and create the instance before any of this lookup and overload resolution, because in my case no call actually exists |
20:28:47 | Araq | that sounds horrible |
20:29:44 | Araq | all you need to do is to add 'skEnumField' to the case stmt in line 1893 of semexprs.nim |
20:29:50 | Araq | and in quite some other places |
20:30:06 | Araq | nimgrep for "qualifiedLookup" to get an idea |
20:30:36 | * | mflamer_ joined #nimrod |
20:31:34 | mflamer_ | Araq: Why? |
20:31:58 | Araq | enumField(...) is your new constructor, right? |
20:32:34 | * | mflamer quit (Ping timeout: 240 seconds) |
20:32:36 | mflamer_ | yes |
20:32:49 | Araq | well that's syntactically a nkCall |
20:32:58 | Araq | so handle it like other calls |
20:34:04 | mflamer_ | yeah, but when other calls get to the sym lookup, there is nothing to lookup, thats where I'm saying I would create the ast necessary and return it |
20:34:50 | Araq | the enumField is in the global scope unless it's a pure enum, so it should work |
20:36:49 | mflamer_ | ok, so the lookup will not return a proc, method etc., but will return an enumField, thats when I will diverge and handle differently from a call |
20:36:59 | Araq | yup |
20:37:40 | mflamer_ | ok, then we are on the same page. It may have sounded worse when I described above...hence the horrible |
20:39:16 | Araq | yeah I get what you mean now |
20:40:20 | mflamer_ | great |
20:42:17 | * | hoverbear quit (Quit: Textual IRC Client: www.textualapp.com) |
20:49:29 | * | mflamer joined #nimrod |
20:49:40 | * | mflamer_ quit (Ping timeout: 264 seconds) |
21:00:42 | * | mflamer quit (Ping timeout: 265 seconds) |
21:02:06 | * | gradha joined #nimrod |
21:02:40 | * | yogin left #nimrod (#nimrod) |
21:05:18 | gradha | Araq: my condolescence on the format requirement for your article |
21:06:27 | gradha | oh, it's spelled condolences |
21:06:48 | Araq | gradha: thanks |
21:07:29 | gradha | and here I thought rst is crap |
21:14:20 | gradha | fowl: I was thinking of adding an "aliasTask" to nake, where you can alias similarly named commands to the same proc |
21:14:49 | gradha | purpose would be to have "nake doc" or "nake docs" have the same behaviour rather than nitpick on one letter mistake |
21:15:20 | gradha | but alternatively an overload accepting a seq[string] could be made for the task template |
21:15:33 | Araq | gradha: you should rethink that position. it's seems dangerously close to user friendlyness |
21:15:54 | fowl | sounds like a slippery slope to me |
21:15:56 | gradha | true, I mean, Nimrod having users? way too much alcohol |
21:16:08 | fowl | if you must just make it a template |
21:16:20 | fowl | bind nake.tasks |
21:16:27 | fowl | tasks[newname] = tasks[oldname] |
21:16:28 | Araq | the unix style suggest you should make the user TypeInExactlyasSpelled |
21:17:09 | gradha | fowl: yes, that was one possiblity, failing if tasks[oldname] doesn't exist |
21:17:31 | gradha | Araq: that's one annoying thing from git, when you mistype and suggest… a single alternative |
21:18:21 | Araq | koch supports both "test" and "tests" |
21:18:40 | Araq | but "tests" is different from "test" where there is a full moon |
21:18:45 | Araq | *when |
21:19:02 | gradha | now I only need to write a bash function to accept koch as kock too |
21:19:06 | Araq | on fullmoon "tests" asks for you x11 login data |
21:19:13 | Araq | *your |
21:19:18 | * | Araq can't type today |
21:19:34 | gradha | maybe you should dictate that dobbs article |
21:20:04 | Araq | no way, I enjoy the silence |
21:20:17 | Araq | finally nobody is screaming at me here |
21:21:23 | OrionPKM | you chase away all the thin skinned people |
21:21:46 | gradha | OrionPKM, are you a digievolved version of OrionPK? |
21:22:02 | OrionPKM | m is for mobile:) |
21:23:31 | Araq | OrionPKM: there are thin skinned people on IRC? ;-) |
21:23:52 | * | brihat joined #nimrod |
21:23:57 | dom96 | NimBot doesn't even have skin. |
21:24:11 | gradha | maybe there are in other channels, like #python or #ruby |
21:24:12 | fowl | gradha, nah, no error handling |
21:24:46 | OrionPKM | not anymore araq |
21:24:58 | fowl | if the writer of a nakefile cant figure out how to alias a task properly, given the idiot-proof aliastask(), their users should suffer for it |
21:25:03 | * | brihat left #nimrod (#nimrod) |
21:25:06 | Araq | hi brihat welcome |
21:25:08 | Araq | damn |
21:25:26 | OrionPKM | lol. lost another one |
21:25:43 | gradha | that's an efficient user |
21:26:52 | Araq | we don't need users. users only find bugs. we need core devs. core devs create bugs. that's much more efficient and efficiency is one of Nimrod's goals. |
21:26:54 | * | brihat joined #nimrod |
21:26:59 | Araq | hi brihat welcome |
21:27:09 | Araq | ha-ha, in time this time! |
21:27:41 | brihat | Araq: :) |
21:27:58 | gradha | Araq: good thing you don't have anybody around to hear your maniacal laughter |
21:29:55 | OrionPKM | araq, can we put that quote on the front page of the website? |
21:30:50 | gradha | OrionPKM, I'm keeping a list to make in the future a fortune-like thing for the forum |
21:31:33 | gradha | so far I have three from Araq (plus today), and two from dom96 |
21:32:05 | Araq | what? really? |
21:32:14 | gradha | argh, shouldn't have scrolled that much on my todo, now I see all the tasks I'm not actually doing |
21:32:15 | dom96 | cool, what are mine? |
21:32:47 | gradha | dom96's is hard to beat: "Are you a young teenager who wants to see some sexy ladies /and/ learn a sexy programming language? Now you can be productive and filled with pleasure with the new Nimrod Porn Star tutorial!" |
21:33:12 | dom96 | haha :D |
21:33:20 | Araq | OrionPKM: er ... ok I guess. once we get a humor/quotes tab on the site |
21:33:36 | gradha | not all are humorous, some are just weird, to get that /. feeling of confusing people |
21:33:36 | Araq | dom96 never said that |
21:33:46 | dom96 | I did :P |
21:33:51 | gradha | look up 2013-07-11 |
21:33:54 | dom96 | NimBot needs a !quote |
21:34:10 | OrionPKM | lol |
21:34:10 | gradha | that is, unless dom96 modifies logs |
21:34:18 | Varriount | And now for something completely the same. |
21:34:22 | Araq | I used to be in #ada for that !quote feature of their bot |
21:35:20 | Araq | but I had to leave for good. |
21:35:41 | gradha | Araq: too many thick skinned people? |
21:37:22 | OrionPKM | must b a real blow to araqs confidence when he can't scare people away |
21:37:43 | Araq | hey |
21:38:10 | Araq | I'm always nice. But people often don't realize. |
21:38:40 | BitPuffin | right |
21:38:47 | gradha | so brihat, are you here for the "nimrod programming" or the "kill all humans" thing? |
21:39:26 | BitPuffin | is the dobbs article up? |
21:39:29 | brihat | gradha: kill'em all |
21:39:41 | gradha | brihat: you'll fit well here then |
21:40:04 | brihat | gradha: haha.. |
21:40:58 | brihat | gradha: i just started with nimrod, but my friend asked, "what's the striking feature of Nimrod that'll make me use it?" |
21:41:28 | brihat | I had no answer really... seems Nimrod does all those things which can be done equally well in other languages |
21:41:49 | Varriount | brihat, macros and templates |
21:42:14 | gradha | well, if you have language A and language B which do the same, it's good to pick the one you think is nicer |
21:43:08 | brihat | Varriount: any doc page that shows some examples of them? |
21:43:13 | Varriount | I chose nimrod because it's A:Readable (no braces or mandatory semicolons) and B:Statically compiled |
21:43:29 | fowl | metaprogramming |
21:43:33 | gradha | brihat: one thing which many other languages can't do is compile time execution, since they are interpreted, wasting cycles every time you run them |
21:43:39 | dom96 | brihat: Perhaps this will help: http://picheta.me/articles/2013/10/about-nimrods-features.html |
21:43:53 | Varriount | brihat, also -> http://nimrod-lang.org/manual.html |
21:44:02 | Varriount | ^ Keep that by your pillow |
21:44:22 | Araq | how come everybody updated their links already? |
21:44:22 | brihat | Does nimrod come with an interpreter? |
21:44:43 | dom96 | Somebody should make a Nimrod cheatsheet so that I can print it out and stick it above my computer. |
21:44:52 | dom96 | Araq: Because redirects. |
21:44:53 | Varriount | brihat, it *almost* has one. Right now it's experimental. |
21:45:04 | gradha | brihat: there's nimrod i (for interactive) but if you use it you will only bring sadness upon yourself (at the moment) |
21:45:12 | Varriount | brihat, nimrod compiles pretty quickly. |
21:45:15 | gradha | dom96: a cheatsheet? for what? |
21:45:31 | dom96 | gradha: dunno, like stdlib and syntax. |
21:45:48 | Varriount | Bootstrapping and compiling the compiler (2 times) takes about one minute on my computer. |
21:46:06 | gradha | dom96: that's one thing that eludes me, never found any use in cheat sheets |
21:46:16 | Varriount | ^ |
21:46:40 | dom96 | When I was using vim a cheatsheet really helped me. |
21:46:54 | dom96 | Of course I then realised that using a text editor which required one was silly. |
21:46:56 | Varriount | dom96, vim has hundreds of key combinations. |
21:46:57 | dom96 | :P |
21:47:05 | gradha | dom96: I'd argue it didn't then |
21:47:23 | Varriount | Only some sort of mutant superhuman would be able to remember them all. |
21:48:02 | dom96 | having to relearn how to paste stuff is silly IMO. |
21:48:04 | gradha | So Keluri, did you find how to reset your password? |
21:48:13 | Varriount | No-pe |
21:48:27 | dom96 | The way you do it is you hack into my VPS. |
21:48:32 | dom96 | And then you find the nimforum db |
21:48:41 | dom96 | And then you find your user |
21:48:48 | dom96 | And then edit your password hash |
21:48:51 | dom96 | Pretty simple really. |
21:49:07 | EXetoC | dom96: paste what? it's mostly awkward when dealing with the system clipboard imo |
21:49:24 | dom96 | EXetoC: It's awkward with everything. |
21:49:51 | dom96 | And it's annoying for everyone to always say "But you can get it to work exactly the way you want with some scripts!" |
21:50:07 | Araq | brihat: my talk shows quite some things you can't do in other languages. |
21:50:15 | dom96 | Of course the one thing I wanted wasn't possible :P |
21:50:41 | gradha | dom96: vim would have many more users if it HAD a porn star tutorial… |
21:50:44 | EXetoC | dom96: oh vim in general. well yeah, the defaults are ancient, but there are some good guides out there |
21:50:45 | brihat | Araq: link please? |
21:50:57 | dom96 | gradha: I know right? |
21:51:05 | EXetoC | it's still a big barrier though |
21:51:16 | gradha | silly vim puritans rejecting dom96 tutorial proposal |
21:51:23 | gradha | that's why we can't have nice things in life |
21:51:32 | Varriount | ^ |
21:51:40 | dom96 | It's ok, Aporia will get one. |
21:52:14 | Araq | brihat: http://nimrod-lang.org/talk01/slides.html |
21:52:45 | gradha | Araq: nice confidence, using two digits for the number |
21:53:21 | brihat | Araq, ah ok, so u r THAT guy.. didn't recognize ur nick, sorry! |
21:53:43 | Varriount | This is why VIM is only popular among uber-power users -> http://www.joelonsoftware.com/uibook/chapters/fog0000000057.html |
21:54:00 | Araq | and I thought my nick is more famous than me now :-) |
21:54:24 | Varriount | Araq, how do you actually pronounce your nick? |
21:54:50 | brihat | a-rack ? |
21:55:21 | * | Jackneill quit (Remote host closed the connection) |
21:55:22 | brihat | rhymes with Iraq, for my pronunciation at least... |
21:56:25 | Araq | a-rack sounds about right |
21:56:48 | Araq | I heard it's the name of some schnaps |
21:58:50 | brihat | Do you pronounce Araq and arrack the same way? |
21:59:47 | brihat | I'm going through ur talk, looks good |
22:00:51 | dom96 | I guess my article isn't up to Araq's talk's quality. Maybe I should add some porn stars in there too. |
22:01:37 | Varriount | "#Nimrod - Where porn stars make everything better" |
22:02:36 | gradha | dom96: start a kickstarter |
22:02:41 | dom96 | You know, if we ever get NimCon organised we need at least a couple of strippers to start the event off. |
22:03:02 | dom96 | That should give us some nice publicity :P |
22:03:44 | * | gradha imagines Roxy Jezel explaining slurp and gorge |
22:03:55 | dom96 | hahah |
22:05:17 | Araq | how come 'quote' never helps me? even if it works ... |
22:07:25 | fowl | because it does things too early? |
22:07:31 | fowl | resolving symbols instead of idents |
22:07:43 | dom96 | 'quote' is IMO extremely irritating |
22:07:45 | Araq | yeah but I consider that a bug |
22:07:58 | Araq | zahary disagrees iirc |
22:08:08 | fowl | i do too |
22:08:15 | fowl | not sure how it could be useful |
22:08:18 | Araq | no but I mean, it doesn't help |
22:08:36 | fowl | parseExpr() is far more useful |
22:08:45 | Araq | let k = newIdentNode($pat2kind($pattern.ident)) |
22:08:46 | Araq | result = quote `n`.kind == `k` |
22:09:08 | fowl | parseExpr("$1 = $2".format(n1, n2)) |
22:09:08 | Araq | instead of: |
22:09:18 | Araq | result = newCall("==", n@kind, newIdentNode($pat2kind($pattern.ident))) |
22:09:35 | Araq | though i guess I cheated with my @ template |
22:09:52 | fowl | n.dot(kind).infix("==", $pat2kind($pattern.ident)) |
22:10:17 | Araq | n.dot(kind) does the wrong thing |
22:10:29 | EXetoC | dom96: it is awkard if you're used to standard text editors, obviously, but it's a tradeoff |
22:10:32 | fowl | only because kind is not a node its a string |
22:10:39 | fowl | thats your bad lol |
22:11:22 | Araq | hmm I should try parseExpr |
22:11:32 | Araq | though that's embarrassing |
22:11:34 | dom96 | quote is useful when you have some node and want to mix it with some code. |
22:12:08 | fowl | nobody said imperatively generating code was gonna be beautiful |
22:12:22 | Araq | oh but it is, fowl |
22:12:53 | Araq | the alternatives are all worse |
22:13:23 | Araq | or maybe I'm just weird |
22:13:48 | dom96 | The way Julia does it looks disgusting. |
22:14:08 | dom96 | From what i've seen at least. |
22:14:28 | Araq | I really like nimrod's "mode switching" to full imperative style for meta programming |
22:15:06 | fowl | i agree |
22:15:27 | Araq | and tbh I consider it my stroke of genius |
22:15:53 | fowl | except for certain bugs in the current evaluator |
22:16:07 | Araq | the new vm deals with it |
22:17:30 | brihat | dom96: I just downloaded and compiled Aporia, but it doesn't start up. Fails with Error: unhandled exception: value 55679 out of range [EOutOfRange] |
22:19:01 | dom96 | brihat: Did you compile using the latest compiler from github? |
22:19:50 | brihat | It is 6 days old, nimrod was compiled on 2013-05-20 |
22:20:10 | brihat | what? |
22:20:12 | fowl | 6 months old |
22:20:31 | brihat | my number counting went to hell |
22:21:14 | brihat | ok, will try from github master branch and let u know |
22:28:39 | Araq | did anybody play the bioshock infinite DLC? |
22:28:51 | dom96 | Yes, it sucks. |
22:29:01 | dom96 | So you know, don't play it. |
22:29:05 | dom96 | Work on Nimrod instead :P |
22:29:49 | gradha | dom96: you need to work on your persuasion skills |
22:29:53 | Araq | well even what you say is true ... there is also a new Dishonored DLC :P |
22:30:54 | gradha | dom96: alternatively, work on your pending pull requests |
22:32:04 | dom96 | i've got a physics test tomorrow :( |
22:32:17 | gradha | physics as in running a lot? |
22:32:23 | fowl | ha |
22:33:00 | dom96 | Physics as in all about the Nucleus, nuclear energy, fission and fusion. |
22:34:35 | Araq | maybe I should watch a "let's play" as a compromise |
22:35:48 | gradha | dom96: that brings memories in how I sucked in everything, so study hard or you'll end up like me |
22:39:03 | fowl | Araq, play.treasurearena.com |
22:53:28 | * | q66 quit (Quit: Leaving) |
22:54:18 | Varriount | dom96, huh, in my school we learned about such things in chemistry. |
22:54:54 | Varriount | Physics was where we learned about formula and forces, such as acceleration, magnetic fields, etc. |
22:55:47 | * | q66 joined #nimrod |
22:55:55 | dom96 | There is quite a bit of overlap here I think |
22:56:39 | dom96 | A lot of the physics overlaps with maths for me for example. |
23:02:12 | gradha | it's late, you should replenish your energy with a delicious energetic snack https://www.youtube.com/watch?v=LgFLYeoUSYg |
23:04:05 | Varriount | gradha, you're Japanese? |
23:04:16 | gradha | Varriount: nope |
23:05:36 | gradha | Varriount: are you Japanese? |
23:07:01 | Varriount | Nope. I'm US American. |
23:07:48 | gradha | I'm from Spain, but not the one south of USA |
23:09:31 | Varriount | We have a Spain that south of the US? The only Spain I know of is in West Europe. :3 |
23:09:42 | Varriount | *that's |
23:10:45 | gradha | nah, when spanish people go to the USA they say "you don't speak Spanish, you speak Mexican!", and viceversa for mesican people |
23:12:19 | gradha | it's kind of like India calling back to Great Britain and telling them they don't speak British any more |
23:12:28 | Varriount | To be honest, we us americans do tend to think of those from Mexico as speaking Spanish. As a culture, we can be very oblivious. |
23:12:50 | Varriount | Blarg, my brain is failing at grammer today. |
23:14:30 | gradha | that's more like everybody in any country, why bother about something that's happening far away |
23:15:09 | gradha | we don't know USA states either, even though they are bigger than Spain |
23:17:14 | gradha | yay, just reimplemented os.fileNewer |
23:18:36 | gradha | ah, but my version deals with missing files |
23:40:40 | fowl | Error: value returned by statement has to be discarded |
23:40:40 | fowl | discard P.consumeTok |
23:40:40 | fowl | ^ |
23:41:17 | Varriount | discard discard P.consumeTok? |
23:42:27 | * | EXetoC quit (Quit: WeeChat 0.4.2) |
23:46:51 | Araq | maybe it's some 'if' and the other branch needs to be discarded too |
23:49:40 | * | BitPuffin quit (Read error: Operation timed out) |
23:51:53 | gradha | is there somewhere an example of using "nimrod rst2html" with a configuration file? like to avoid the "Module xxx" title of generated output |
23:52:47 | fowl | Araq, I dont think so |
23:53:49 | fowl | https://gist.github.com/fowlmouth/7651030 |
23:54:09 | fowl | line 91 |
23:57:39 | gradha | good night |
23:57:45 | * | gradha quit (Quit: bbl, need to watch https://www.youtube.com/watch?v=2IzR_ClTE8Y again) |