00:00:35 | * | Guest56032 joined #nimrod |
00:37:11 | * | Guest56032 quit (Quit: Leaving) |
00:37:32 | * | XAMPP joined #nimrod |
00:37:32 | * | XAMPP quit (Changing host) |
00:37:32 | * | XAMPP joined #nimrod |
00:55:10 | * | Reisen quit (Remote host closed the connection) |
00:58:00 | * | Reisen joined #nimrod |
02:46:49 | * | Reisen quit (Ping timeout: 244 seconds) |
02:57:53 | * | Reisen joined #nimrod |
04:47:02 | fowl | Where is the docs for ..< |
05:04:54 | reactormonk | fowl: see index |
05:04:59 | reactormonk | ehh theindex |
05:05:08 | reactormonk | always fun to circumvent DRM >:) |
05:08:33 | fowl | ah |
05:08:38 | fowl | unary < that makes sense |
05:09:04 | reactormonk | fowl: oh, you mean 0..<10 ? |
05:09:11 | fowl | yea |
05:33:47 | fowl | what are these new identifiers |
05:37:40 | reactormonk | define? |
05:40:11 | fowl | https://gist.github.com/1245234736250f44220c what are the 4 empty nodes in the proc doc? previously there was one before formalparams that was the generic params and one after it that i didnt know |
05:40:16 | fowl | proc def* |
05:41:27 | reactormonk | huh |
05:44:40 | fowl | wat |
05:45:23 | reactormonk | no idea. |
08:01:55 | * | Araq_ joined #nimrod |
08:18:33 | fowl | Araq: im getting weird macro errors so during my boredom i wrote this: https://gist.github.com/3607822 |
08:19:22 | dom96 | Araq_: Seems you broke bootstrapping |
08:20:51 | fowl | dom96: what do you think:) |
08:23:09 | dom96 | Nice. In fact that looks like something that I was planning for Nimbuild to make the build process more easy to define. |
08:44:43 | fowl | updated with a license if you want to use it (the license is not copyleft) |
08:45:38 | dom96 | hehe. nah. I need an async version :P |
08:46:06 | fowl | o |
09:20:17 | * | Boscop quit (Disconnected by services) |
09:20:19 | * | Boscop joined #nimrod |
09:27:35 | * | Araq_ quit (Read error: Operation timed out) |
09:29:10 | * | Araq_ joined #nimrod |
09:39:40 | fowl | I get this error when calling a macro: Error: undeclared identifier: 'Foo' |
09:42:34 | fowl | the macro arg is expr |
09:43:56 | Araq_ | fowl: indeed the AST changed :P |
09:44:08 | Araq_ | there is now a new empty node after namePos |
09:44:15 | Araq_ | and some new empty node somewhere else |
09:46:01 | * | Boscop quit (Ping timeout: 252 seconds) |
09:46:10 | * | Araq_ quit (Read error: Connection timed out) |
09:46:55 | * | Araq_ joined #nimrod |
09:46:59 | Araq_ | connection problems, see you later |
09:47:06 | fowl | ok |
09:47:11 | Araq_ | and yeah I know I broke bootstrapping for some reasons |
09:47:17 | * | Araq_ quit (Client Quit) |
10:01:36 | * | Boscop joined #nimrod |
10:14:16 | * | Boscop quit (Disconnected by services) |
10:14:18 | * | Boscop joined #nimrod |
10:20:35 | * | Boscop quit (Disconnected by services) |
10:20:37 | * | Boscop joined #nimrod |
10:28:26 | * | q66 joined #nimrod |
10:31:06 | * | zahary quit (Quit: Leaving.) |
11:34:54 | fowl | what's changed with macros that this doesnt work? https://gist.github.com/3608703 ._. |
11:58:13 | * | mal`` quit (Quit: ERC Version 5.3 (IRC client for Emacs)) |
12:02:06 | * | mal`` joined #nimrod |
12:08:19 | * | Boscop quit (Disconnected by services) |
12:08:21 | * | Boscop joined #nimrod |
12:29:28 | * | Trix[a]r_za is now known as Trixar_za |
12:30:46 | * | Trixar_za pokes dom96 |
12:30:56 | Trixar_za | How do I check for the scrollbar |
12:33:38 | Trixar_za | Tracked your bug to OnTabPressed |
12:33:51 | Trixar_za | OnTabsPressed* |
12:39:28 | * | Trixar_za is now known as Trix[a]r_za |
12:40:50 | * | zahary joined #nimrod |
13:23:34 | dom96 | hey Trix[a]r_za |
13:23:40 | dom96 | aww, you're away |
13:24:09 | dom96 | Yes, the problem is checking whether you double click the correct part of the GtkNotebook |
13:24:19 | dom96 | I have no clue how to detect that |
13:46:03 | * | XAMPP quit (Ping timeout: 276 seconds) |
13:48:06 | * | XAMPP joined #nimrod |
13:57:05 | * | Araq_ joined #nimrod |
13:57:49 | * | Araq_ quit (Client Quit) |
15:20:20 | * | zahary quit (Quit: Leaving.) |
15:24:26 | * | Boscop quit (Disconnected by services) |
15:24:27 | * | Boscop joined #nimrod |
15:50:36 | * | Boscop quit (Ping timeout: 252 seconds) |
16:25:05 | * | Boscop joined #nimrod |
16:26:20 | * | Trix[a]r_za is now known as Trixar_za |
16:27:04 | Trixar_za | Yeah, I got bored and just commented out the offending line |
16:27:33 | Trixar_za | No more double click on the Tab bar to get a new tab, but atleast the double click on the scrollbar doesn't bring up a new tab anymore |
16:28:38 | Trixar_za | line 1036 in aporia.nim to be exact |
16:28:39 | Trixar_za | :P |
16:29:10 | dom96 | lol |
16:29:17 | dom96 | That's one way to "fix" this |
16:29:29 | * | Trixar_za shrugs |
16:29:41 | Trixar_za | I cba to learn how to fix it properly :P |
16:31:03 | dom96 | heh |
16:31:29 | Trixar_za | I only knew where it was because of the fix you accepted for it |
16:31:36 | Trixar_za | Well, feature add |
16:31:59 | Trixar_za | That and: |
16:32:11 | Trixar_za | # TODO: only create new tab when double-clicking in empty space |
16:36:21 | * | dom96 tries to fix it |
16:38:25 | dom96 | ugh, repr is still not perfect. |
16:39:06 | * | Trixar_za is listening to: Code Monkey by Jonathan Coulton |
16:39:13 | Trixar_za | This is for you dom96 |
16:39:15 | Trixar_za | :P |
16:40:22 | Trixar_za | Since I'm messing with stuff... I might just add Ctrl+T |
16:47:41 | dom96 | Ctrl + T? |
16:47:48 | dom96 | Is that meant to be New Tab? |
16:47:54 | dom96 | That's Ctrl + N |
16:48:09 | dom96 | Fixing this isn't very easy... |
16:48:52 | Trixar_za | Yeah, I'm used to Firefox and XChat |
16:49:27 | dom96 | hrm, I think I have an idea. |
16:49:28 | Trixar_za | I started messing and you know I'll keep making small changes now |
16:49:30 | Trixar_za | :P |
16:50:15 | dom96 | Well I want it to stay as Ctrl + N :P |
16:50:30 | * | shevy quit (Ping timeout: 264 seconds) |
16:54:15 | dom96 | That's what gedit uses. |
16:54:30 | dom96 | but meh, I dunno. |
16:54:46 | dom96 | I suppose we need to allow users to configure these |
16:57:50 | Trixar_za | Eventually |
16:57:57 | Trixar_za | I just like fiddling |
17:03:07 | * | shevy joined #nimrod |
17:10:45 | dom96 | voila |
18:06:31 | * | XAMPP_ joined #nimrod |
18:06:32 | * | XAMPP quit (Ping timeout: 246 seconds) |
18:27:53 | dom96 | Araq: Look what I fixed in Aporia :P |
18:28:03 | Araq | yay! |
18:28:17 | Araq | now if only bootstrapping would work again ... :P |
18:34:26 | Araq | dom96: what about that bug report to "linguist"? |
18:36:39 | dom96 | They're not replying |
18:36:44 | Araq | ok |
19:25:18 | fowl | it seemed that searching for nimrod code works now? |
19:26:36 | Araq | what do you mean? |
19:29:22 | fowl | searching finds nimrod projects.. https://github.com/search?q=nimrod-libs&repo=&langOverride=&start_value=1&type=Everything&language=Nimrod |
19:30:49 | dom96 | The thing is, because github changed linguist most repos which are written in Nimrod are not reported as "Nimrod" |
19:31:23 | dom96 | fowl: If you want to help, +1 this plz: https://github.com/github/linguist/issues/238 |
19:41:02 | Araq | he he, I just did |
19:41:22 | fowl | i did too |
19:41:28 | dom96 | cool, thanks guys :D |
19:43:21 | fowl | i still dont know what changed so that this doesnt work anymore: https://gist.github.com/3608703 |
19:46:25 | Araq | fowl: 'x' is 'NewIdent' |
19:46:34 | Araq | it works like it does in templates |
19:46:58 | Araq | use the new 'callsite' builtin to get the invocation AST |
19:51:04 | Araq | oh and you need '.immediate.' for the macro |
19:51:20 | Araq | the distinction macro/template is basically gone |
19:51:29 | Araq | except that a template's body is declarative |
19:51:35 | Araq | and a macro's is imperative |
19:54:34 | fowl | Ah |
20:07:24 | Trixar_za | Hmmm |
20:07:43 | Trixar_za | I noticed the RosettaCode FizzBuzz on github |
20:08:07 | Trixar_za | Maybe I could do other RosettaCode stuff and upload it all to github |
20:08:41 | Araq | lol |
20:08:53 | Araq | yeah that FizzBuzz guy was amazing |
20:08:53 | Trixar_za | I've done like 3 of them already |
20:09:05 | Araq | he managed to screw it up 3 times iirc |
20:09:25 | Araq | oh well at least he didn't blame Nimrod :P |
20:09:52 | Trixar_za | er, I ended up asking dom96 how everytime |
20:11:43 | Trixar_za | Well, how to make it work anyway. I seem hopeless in making working Nimrod code |
20:11:46 | Trixar_za | :P |
20:13:46 | Araq | yeah but it's not your fault |
20:14:01 | Araq | the damn language uses 'echo' instead of 'print' ... |
20:14:12 | Trixar_za | lol |
20:14:33 | Trixar_za | Force of habit. Nothing wrong with Nimrod unless you break it |
20:14:35 | fowl | lol |
20:15:11 | Trixar_za | Still waiting for you to add a string reverse, but yeah :P |
20:16:38 | fowl | result = ""; for i in countdown(high(str), 0): result.add str[i] |
20:17:19 | Trixar_za | Actually that's a better way to do it |
20:17:22 | Trixar_za | And in one line |
20:17:50 | Trixar_za | But it needs to be UTF-8 compatible. And I suck at it |
20:18:37 | Araq | why is that needed btw? |
20:18:48 | Araq | I never need to reverse a string ... |
20:18:50 | Trixar_za | RosettaCode |
20:19:02 | Trixar_za | But yeah, we could just do it my or fowl's way |
20:19:05 | Araq | I guess it's useful if all you have is a suffix tree ... |
20:19:14 | fowl | no idea how to do it with unicode |
20:19:21 | fowl | i dont trust multibyte chars |
20:19:30 | Araq | and want to use that for prefixes |
20:19:34 | Trixar_za | Doesn't matter. It's just for 'bonus points' |
20:19:39 | Trixar_za | according to RosettaCode |
20:19:55 | Araq | you can do it with unicode.nim |
20:20:09 | Araq | but it won't be efficient :P |
20:21:34 | Trixar_za | Would fit into my coding style then |
20:21:50 | Trixar_za | (inefficient that is ;)) |
20:23:32 | Trixar_za | Anyway, I bitch and moan a lot. That's how you know I'm actually trying something. It's when I just shut up and disappear, that you know I gave the thing the finger and lost temper with it |
20:24:36 | Trixar_za | I've brought whole servers back from the dead swearing like a sailor |
20:24:37 | Trixar_za | :P |
20:26:22 | Araq | ugh this last pattern matching operator is hard to implement ... |
20:26:49 | fowl | http://rosettacode.org/wiki/Execute_Brain****#Nimrod seems their wiki is broken and the sections arent ID'd right but this is cool :D |
20:27:53 | Araq | 'discard 1' instead of 'nil'? seriously? |
20:28:20 | Araq | speaking of which, I really need to deprecate the 'nil' statement for 0.9.0 |
20:28:51 | fowl | replace it with nihil |
20:29:03 | dom96 | manveru wrote that |
20:29:15 | dom96 | In case you're curious :P |
20:29:30 | Araq | well manveru left for Go iirc |
20:31:00 | dom96 | Who wrote this? http://rosettacode.org/wiki/One-dimensional_cellular_automata#Nimrod |
20:31:43 | fowl | o god http://rosettacode.org/wiki/Reverse_a_string#Nimrod |
20:34:55 | Araq | result = newString(s.len); for i in 0 .. s.len - 1: result[s.len-1-i] = s[i] |
20:36:15 | Araq | an empty 'discard' could be a good replacement for 'nil' as a statement, what do you guys think? |
20:36:50 | Araq | don't want to reserve 'nihil' for that even though it's cute |
20:37:37 | dom96 | why are you getting rid of nil as a statement? |
20:37:49 | dom96 | Maybe we should just use 'pass'? |
20:37:57 | Araq | because it'll be ambiguous for the expr/stmt unification |
20:38:16 | Araq | and 'pass' doesn't fly IMHO |
20:38:39 | Trixar_za | Yes fowl, that was me :( |
20:39:11 | fowl | lol D: |
20:39:42 | dom96 | Araq: Why? It's what python uses? |
20:39:48 | Trixar_za | I just found % [] |
20:39:49 | Trixar_za | :P |
20:41:37 | fowl | when will people realize that wikimedia isnt the only wiki available |
20:41:57 | Araq | dom96: python doesn't make sense :P |
20:42:05 | Trixar_za | Yes fowl, but it's the best protected |
20:42:27 | Trixar_za | I use it myself. Mostly for the security features |
20:42:37 | fowl | ah |
20:42:46 | Araq | er, Trixar_za, what do you mean? % [] is your favourite feature? |
20:42:59 | Araq | how can you 'just found' it? |
20:44:38 | dom96 | Araq: ok, if you insist. 'discard' is fine. |
20:44:47 | Araq | good |
20:45:32 | dom96 | Maybe some kind of a hint to the programmer would be useful about it? |
20:45:58 | Araq | warning: 'nil' statement deprecated; use 'discard' instead |
20:46:01 | fowl | i want to use term rewriting macros to implement left-hand comments by that i mean comments on the left side of the line */ then normal code.. is it possible? |
20:46:21 | Araq | nope :P |
20:46:32 | Araq | term rewriting macros can't change the syntax either |
20:46:49 | fowl | o |
20:46:53 | Araq | you can use a source text filter though |
20:46:58 | Trixar_za | Araq: you were talking about it |
20:47:06 | Trixar_za | And I saw somebody use it in code |
20:47:16 | Trixar_za | so I went, hey, strutils has it |
20:47:18 | Trixar_za | so I used it |
20:47:19 | Trixar_za | :P |
20:47:26 | Araq | ah I see |
20:48:13 | Araq | fowl: http://nimrod-code.org/filters.html |
20:49:09 | Araq | and I just noticed my docs suck |
20:49:22 | dom96 | Araq: I was thinking something when the code has an empty block |
20:50:05 | Araq | fowl: er, what do you need left-hand comments for? |
20:50:24 | fowl | Araq: to confuse and amaze the viewing public |
20:50:40 | fowl | ie no reason |
20:50:50 | Araq | put it into some file |
20:51:02 | Araq | and use replace + slurp + parseStmt |
20:51:14 | Araq | could work ;-) |
20:51:26 | Araq | er |
20:51:37 | Araq | slurp then replace then parseStmt obviously |
20:57:25 | Araq | fowl: used much of delphi? or why do you prefer ; in parameter lists? ;-) |
20:58:56 | fowl | i think ; makes a better distinction especially when you have arg1, arg2, arg3: float; arg4, arg5: int; etc |
20:59:57 | Araq | I've heard that argument before |
21:00:14 | Araq | , is better editable though |
21:00:39 | Araq | arg: float, arg2: int # only 'DEL' needed to make it |
21:00:45 | Araq | arg, arg2: int |
21:00:59 | Araq | plus ; requires a shift :P |
21:01:14 | fowl | hm not on my keyboard |
21:01:19 | fowl | : is shift+; |
21:01:46 | Araq | german keyboard :P |
21:02:23 | fowl | if i were changing arg to an int i'd probably have more on my plate than changing a ; to a , |
21:02:48 | dom96 | German keyboards are so odd. |
21:03:39 | Araq | ÖÄÜß are needed for german, so it has less space for weird keys like ; |
21:04:26 | fowl | lol at calling ; weird but your crazy double-s letter is fine |
21:05:07 | Araq | ; is neither a colon nor a comma, so it's weird :P |
21:05:26 | fowl | it seems that running nimrod -o doesnt change the executable name |
21:05:35 | Araq | indeed |
21:05:46 | dom96 | ąęółżź are needed for Polish, and somehow it manages to do it without needing a shift for ; |
21:06:11 | Araq | -o isn't really meant for the C backend |
21:06:17 | Araq | but for the docgen lol |
21:06:55 | Araq | well, I guess Polish uses a shift for + then :P |
21:07:36 | dom96 | True. |
21:07:48 | dom96 | So does UK/US |
21:07:59 | * | Boscop quit (Disconnected by services) |
21:08:01 | * | Boscop joined #nimrod |
21:08:08 | Araq | german does not |
21:08:15 | dom96 | But hey, I can get + from the numpad keys without shift ;) |
21:08:23 | Araq | additions are cheap in german |
21:09:37 | fowl | one day your umlauts will go the way of � and � and we'll all be happy with qwerty :) |
21:10:22 | Araq | Mötörhead disagrees with you |
21:10:42 | Araq | er, Motörhead, lol |
21:11:01 | Araq | they were modest |
21:11:24 | dom96 | wait, so : you can get without a shift? |
21:11:37 | Araq | nah |
21:12:20 | dom96 | German keyboards are stupid :P |
21:12:32 | Araq | but Nimrod 2 will be completely shiftless |
21:12:47 | Trixar_za | I so didn't read the f in that |
21:13:12 | dom96 | hahah |
21:13:42 | Araq | and that means 'asgn' instead of '=' |
21:13:54 | Araq | let x asgn 0 # oh yeah |
21:14:19 | fowl | o_O |
21:14:21 | dom96 | That's great. I love pressing 4 buttons instead of 1 |
21:14:31 | Trixar_za | He's joking obviously |
21:14:38 | Trixar_za | anyway 'be' would be shorter |
21:14:43 | Trixar_za | :P |
21:14:58 | dom96 | GUYS, Let's fork Nimrod and change all operators to words! |
21:15:04 | Araq | template t parambegin x, y of type int paramend of type int eq x + y |
21:15:08 | fowl | var shaniqua be "hollerin" |
21:15:15 | dom96 | Call it Shi(f)tless Nimrod! |
21:16:22 | Araq | and the compiler will get a special "do what I mean, not I wrote" mode |
21:16:37 | Araq | which is triggered by banging your head on the keyboard |
21:16:57 | Trixar_za | No Araq |
21:17:07 | dom96 | and you will have to keep calling "feed" to increase the compiler's hapiness or else it will refuse to compile your code. |
21:17:07 | Trixar_za | You're not writing Hollywood OS |
21:18:21 | fowl | Trixar_za: not even if there's a market for it? |
21:18:45 | Araq | omg |
21:18:46 | Trixar_za | Yes, but Microsoft would sue |
21:18:50 | Araq | there is a word for it! |
21:19:10 | Araq | I often wondered how to call these things |
21:19:26 | Araq | now I know; "Hollywood OS" |
21:20:34 | Trixar_za | http://c2.com/cgi/wiki?HollywoodOs |
21:20:48 | Trixar_za | It's actually a User-friendly gag |
21:21:01 | Trixar_za | Oh wait, they used Movie OS |
21:21:03 | Trixar_za | :P |
21:23:37 | Trixar_za | How secure will a system be if you can login using OVERRIDE though |
21:26:26 | Araq | "Infinitely compatible I/O interface allows stealth connections to any other computer regardless of the manufacturer or galaxy where it originated, including alien space ship computers (See Independence Day)" |
21:26:33 | Araq | yeah that was my favourite :D |
21:26:53 | Araq | lets infest alien technology with a PC virus XD |
21:27:12 | Araq | which produces a cool laughing skull |
21:27:12 | fowl | Viruses (or really tough logical paradoxes) cause the computer to shoot sparks, catch fire, or even explode. hahaha |
21:46:17 | Trixar_za | The proprietary FitYouBastard� compression codec means that 3 weeks worth of full screen, high definition video with NICAM digital surround sound can easily fit onto a single floppy disk. |
21:57:18 | dom96 | Good night guys |
21:57:37 | Araq | bye, dom96 |
22:07:43 | fowl | I think there should be a user-dir for nimrod libs |
22:08:30 | fowl | like ~/.nimrod/0.8.15/ should be searched |
22:10:55 | Araq | you know about --path, right? |
22:11:16 | Araq | and about the already incredibly complex configuration system |
22:15:34 | fowl | meh |
22:19:17 | * | Trixar_za is now known as Trix[a]r_za |
22:30:39 | Araq | thanks for the forum post, fowl |
22:39:56 | fowl | word |
22:56:31 | Araq | good night |
22:58:18 | * | q66 quit (Quit: Quit) |
23:01:34 | * | silven quit (Read error: Operation timed out) |
23:53:58 | fowl | template `->`*(a, b: expr): expr {.immediate, dirty.} = a.b |