00:00:00 | webskipper | != true|false |
00:00:26 | BitPuffin | Araq: ah forgot that. But how do we know there isn't a converter ;D |
00:00:38 | xenagi | in other words, no implicit casts |
00:00:39 | Araq | also if you need ? for "returns bool" what do you do with "returns float"? |
00:00:40 | webskipper | its magic :D |
00:00:42 | xenagi | i like that |
00:00:59 | BitPuffin | listen I am not saying that nimrod needs operator symbols in the name |
00:01:04 | Araq | or is "returns float" somehow not important to encode in the name? |
00:01:19 | Araq | and if it is not, why is bool special? |
00:01:31 | Araq | and have you ever used perl? :P |
00:01:54 | BitPuffin | Araq: well bools are used in a special way I'd argue but meh |
00:01:57 | BitPuffin | just a little :P |
00:01:59 | BitPuffin | it's not pretty |
00:03:32 | BitPuffin | I can figure out that isUser most likely returns a bool without a ? |
00:03:46 | Araq | wow impressive |
00:03:54 | BitPuffin | Araq: however I think ! is a pretty decent warning for side effects |
00:04:06 | BitPuffin | Araq: -.- |
00:04:52 | BitPuffin | but that's not really consistent in ruby anyway :P |
00:05:36 | webskipper | ruby... no comment |
00:06:03 | EXetoC | more lenient branch conditions? no I like the current behavior |
00:06:24 | BitPuffin | EXetoC: ? |
00:07:22 | EXetoC | didn't see your reply |
00:07:48 | BitPuffin | EXetoC: I was wondering what you ment about lenient branch conditions |
00:09:46 | * | MFlamer quit (Ping timeout: 245 seconds) |
00:11:32 | EXetoC | implicit conversions |
00:16:41 | gradha | once you allow lenient branch conditions you are one step closer to C |
00:17:48 | EXetoC | {.push C: on.} |
00:18:03 | Araq | converter toBool(x: int): bool |
00:18:10 | Araq | if 4: # works |
00:18:25 | EXetoC | yay |
00:19:16 | Araq | I dislike it but introducing arbitrary restrictions is stupid language design |
00:20:58 | gradha | good night |
00:21:13 | * | gradha quit (Quit: bbl, need to watch https://www.youtube.com/watch?v=n7pXRdkdJxI again) |
00:25:18 | Araq | same here, good night |
00:25:38 | EXetoC | I'm not going to do that. it wouldn't do match harm if defined in a function though |
00:25:49 | EXetoC | *much |
00:25:55 | EXetoC | bye |
00:27:12 | * | mflamer joined #nimrod |
00:48:00 | * | brson quit (Quit: leaving) |
00:56:48 | xenagi | BitPuffin, I want to tackle one of these issues on github. What's an easy one? |
00:58:03 | * | mflamer quit (Ping timeout: 244 seconds) |
01:01:12 | BitPuffin | xenagi: well I picked one that I thought seemed easy and it is still quite hard so honestly I don't know |
01:01:17 | BitPuffin | but it's relatively easy still |
01:01:25 | xenagi | lol |
01:01:30 | BitPuffin | just that I don't know the compiler all that well |
01:01:46 | xenagi | which one are you trying to patch? |
01:01:58 | BitPuffin | xenagi: although I don't think I'm gonna have time to finish the patch, so maybe you should take over :P |
01:02:02 | BitPuffin | xenagi: 618 |
01:02:15 | xenagi | lemme see... |
01:02:27 | BitPuffin | xenagi: I can push to my fork what's been done so far and point you in the right direction |
01:02:37 | xenagi | sure |
01:02:48 | xenagi | I can't guarentee that I'll make progress, but I will try |
01:05:30 | BitPuffin | xenagi: alright it is pushed. It's in the bug-618 branch you'll see the part I added in semtypes.nim where I print the kind. You are supposed to do something there :P |
01:05:51 | xenagi | haha ok |
01:06:01 | BitPuffin | https://github.com/BitPuffin/Nimrod/tree/bug-618 |
01:06:19 | * | mflamer joined #nimrod |
01:06:42 | BitPuffin | xenagi: wait I forgot a file xD |
01:06:45 | BitPuffin | I just ran add |
01:06:47 | BitPuffin | not git add |
01:07:10 | xenagi | oh damn, i just wrote all this code... lol |
01:07:19 | BitPuffin | :P |
01:08:02 | BitPuffin | xenagi: here is the part I am talking about https://github.com/BitPuffin/Nimrod/blob/6b128cc5f37f73a48974c1af1fdf9b1b2894472c/compiler/semtypes.nim#L235 |
01:08:04 | BitPuffin | xenagi: good luck |
01:08:11 | BitPuffin | xenagi: make sure you read ast.nim first |
01:08:35 | xenagi | ok |
01:09:55 | * | mflamer quit (Read error: Connection reset by peer) |
01:14:30 | * | mflamer joined #nimrod |
01:17:06 | BitPuffin | xenagi: could you re-fork, I edited the commit messages to be less sucky :P now I am done :P |
01:17:21 | xenagi | I haven't forked yet |
01:17:27 | xenagi | still looking/learning/reading |
01:17:27 | BitPuffin | ah |
01:17:29 | BitPuffin | good |
01:17:32 | BitPuffin | anyways |
01:17:38 | BitPuffin | time to sleep, goodnight y'all! |
01:17:43 | xenagi | night |
01:17:47 | mflamer | is Araq already gone? |
01:19:25 | mflamer | goodnight Bitpuffin |
01:22:13 | * | BitPuffin quit (Ping timeout: 248 seconds) |
01:42:33 | * | Amrykid quit (Changing host) |
01:42:33 | * | Amrykid joined #nimrod |
02:12:42 | * | mflamer_ joined #nimrod |
02:15:37 | * | mflamer quit (Ping timeout: 272 seconds) |
02:22:19 | * | mflamer_ quit (Ping timeout: 272 seconds) |
02:25:29 | * | webskipper quit (Ping timeout: 272 seconds) |
02:33:42 | * | DAddYE quit (Remote host closed the connection) |
02:34:16 | * | DAddYE joined #nimrod |
02:39:03 | * | DAddYE quit (Ping timeout: 272 seconds) |
03:18:22 | * | xenagi quit (Quit: Leaving) |
03:30:46 | * | xenagi joined #nimrod |
03:34:44 | * | DAddYE joined #nimrod |
03:41:16 | * | DAddYE quit (Ping timeout: 264 seconds) |
03:56:57 | * | vidot_j joined #nimrod |
03:57:23 | vidot_j | Hi all, i have a question :) |
03:57:39 | vidot_j | About SDL and graphics module =) |
03:58:47 | vidot_j | I boot SDL with the command : init(INIT_EVERYTHING) |
03:59:30 | vidot_j | And I get this error: "Error: value returned by statement Has to be discarded" |
04:11:47 | OrionPK | vidot_j are you familiar with the discard operator? |
04:12:31 | vidot_j | OrionPK, no :/, give me a link ? |
04:12:50 | OrionPK | return values in nimrod must be used or explicitly discarded (either on the proc end with {.discardable.} or the caller end) |
04:12:54 | OrionPK | http://nimrod-code.org/tut1.html#discard-statement |
04:17:20 | * | brson joined #nimrod |
04:38:13 | * | DAddYE joined #nimrod |
04:42:11 | * | brson quit (Quit: leaving) |
04:43:04 | * | DAddYE quit (Ping timeout: 264 seconds) |
05:06:41 | * | d34th left #nimrod ("Leaving") |
05:07:35 | * | ics joined #nimrod |
05:12:35 | * | ics quit (Ping timeout: 252 seconds) |
05:15:48 | * | ics joined #nimrod |
05:20:09 | * | Boscop_ joined #nimrod |
05:21:29 | * | Boscop quit (Ping timeout: 246 seconds) |
05:33:22 | * | OrionPK quit (Quit: Leaving) |
05:39:31 | * | DAddYE joined #nimrod |
05:43:45 | * | DAddYE quit (Ping timeout: 252 seconds) |
06:11:19 | * | Dirkson quit (Ping timeout: 260 seconds) |
06:28:05 | * | Dirkson joined #nimrod |
06:40:49 | * | DAddYE joined #nimrod |
06:45:02 | * | DAddYE quit (Ping timeout: 240 seconds) |
07:15:17 | * | xenagi quit (Quit: Leaving) |
07:29:14 | * | Jackneill joined #nimrod |
07:34:33 | * | DAddYE joined #nimrod |
07:51:19 | * | DAddYE quit (Remote host closed the connection) |
08:03:16 | * | enurlyx joined #nimrod |
08:25:12 | * | DAddYE joined #nimrod |
08:34:58 | enurlyx | Hi, i have the following template: |
08:34:58 | enurlyx | template makeCStringArray (name: expr, a: string) {.immediate.} = |
08:34:58 | enurlyx | var `name Dummy` = addr a[0] |
08:34:58 | enurlyx | var `name` = cast[cstringarray](addr `name Dummy`) |
08:34:58 | enurlyx | The nameconstruction goes wrong for (var 'name Dummy') but is right for (addr 'name Dummy') Seems to be a bug. Should i file it? |
08:49:51 | enurlyx | After adding {.inject.} it works :) |
09:05:32 | * | mflamer joined #nimrod |
10:07:21 | * | webskipper joined #nimrod |
10:22:15 | * | EXetoC1 joined #nimrod |
10:22:16 | * | mflamer quit (Ping timeout: 244 seconds) |
10:47:06 | * | BitPuffin joined #nimrod |
10:47:58 | BitPuffin | goodmoooorning! |
10:50:50 | webskipper | moin |
11:18:56 | enurlyx | Morning :) |
11:52:28 | * | exhu joined #nimrod |
11:58:38 | exhu | need some skilled help for http://forum.nimrod-code.org/t/299 |
12:04:12 | * | exhu quit (Quit: Ex-Chat) |
12:40:27 | * | vidot_j quit (Remote host closed the connection) |
12:46:25 | * | noam left #nimrod ("Leaving") |
12:46:41 | * | noam joined #nimrod |
12:50:32 | dom96 | hello |
12:59:55 | noam | hi dom96, whatsup? |
13:00:41 | dom96 | nm, just woke up. |
13:59:15 | * | webskipper quit (Ping timeout: 272 seconds) |
14:04:13 | * | EXetoC1 quit (Quit: WeeChat 0.4.2) |
14:06:20 | * | q66_ joined #nimrod |
14:06:51 | * | q66 quit (Disconnected by services) |
14:06:53 | * | q66_ is now known as q66 |
14:09:53 | * | enurlyx quit (Quit: Nettalk6 - www.ntalk.de) |
14:15:28 | * | BitPuffin quit (Ping timeout: 264 seconds) |
14:16:28 | * | enurlyx joined #nimrod |
15:27:42 | * | OrionPK joined #nimrod |
15:42:06 | * | Endy joined #nimrod |
15:48:35 | * | mflamer joined #nimrod |
16:02:01 | * | [1]Endy joined #nimrod |
16:05:52 | * | Endy quit (Ping timeout: 264 seconds) |
16:05:52 | * | [1]Endy is now known as Endy |
16:08:14 | * | EXetoC quit (Read error: Connection reset by peer) |
16:10:58 | * | fowl joined #nimrod |
16:19:04 | * | [1]Endy joined #nimrod |
16:19:08 | * | EXetoC joined #nimrod |
16:19:30 | mflamer | good morning Araq. In the compiler, what the difference between int and BiggestInt? |
16:21:04 | EXetoC | BiggestInt is defined in system.nim |
16:22:05 | * | Endy quit (Ping timeout: 245 seconds) |
16:22:06 | * | [1]Endy is now known as Endy |
16:24:23 | mflamer | ok, thanks |
16:24:32 | fowl | biggestint is the biggest int your system can store, and int is the same thing |
16:25:55 | fowl | jk |
16:25:58 | fowl | i dont know |
16:26:12 | * | webskipper joined #nimrod |
16:28:54 | * | [1]Endy joined #nimrod |
16:32:12 | * | Endy quit (Ping timeout: 244 seconds) |
16:32:12 | * | [1]Endy is now known as Endy |
16:33:52 | mflamer | I've noticed the compiler seems to optimize the size of certain symbol fields. Position for instance ends up being 1 byte if possible instead of int size. I know this is an obscure question, but does anyone know where in the compiler this optimizaation haooens? |
16:34:04 | mflamer | happens |
16:44:41 | mflamer | I have to go to work and may not be back on untill most of you are back to bed. If get a chance to comment on that Araq, I'll check the logs later. |
16:49:37 | * | mflamer quit (Ping timeout: 272 seconds) |
16:56:21 | * | enurlyx quit (Quit: ChatZilla 0.9.90.1 [Firefox 25.0/20131025151332]) |
16:59:17 | * | Endy quit (Ping timeout: 248 seconds) |
17:06:43 | * | webskipper quit (Ping timeout: 272 seconds) |
17:07:07 | * | DAddYE quit (Remote host closed the connection) |
17:07:34 | * | DAddYE joined #nimrod |
17:11:50 | * | DAddYE quit (Ping timeout: 240 seconds) |
17:17:52 | * | MFlamer joined #nimrod |
17:22:37 | * | Endy joined #nimrod |
17:40:55 | * | Endy quit (Ping timeout: 244 seconds) |
17:51:18 | * | xenagi joined #nimrod |
17:59:27 | * | Endy joined #nimrod |
18:05:22 | * | [1]Endy joined #nimrod |
18:06:53 | * | MFlamer quit (Ping timeout: 272 seconds) |
18:06:59 | * | [2]Endy joined #nimrod |
18:08:33 | * | DAddYE joined #nimrod |
18:09:02 | * | Endy quit (Ping timeout: 265 seconds) |
18:09:02 | * | [2]Endy is now known as Endy |
18:10:06 | * | [2]Endy joined #nimrod |
18:10:37 | * | [1]Endy quit (Ping timeout: 240 seconds) |
18:12:38 | * | DAddYE quit (Ping timeout: 240 seconds) |
18:13:52 | * | Endy quit (Ping timeout: 265 seconds) |
18:13:52 | * | [2]Endy is now known as Endy |
18:21:39 | * | XAMPP joined #nimrod |
18:31:41 | * | ics quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
18:34:08 | * | webskipper joined #nimrod |
18:34:27 | * | webskipper quit (Client Quit) |
18:36:30 | * | ics joined #nimrod |
18:58:54 | * | filwit joined #nimrod |
19:09:52 | * | DAddYE joined #nimrod |
19:14:14 | * | DAddYE quit (Ping timeout: 240 seconds) |
19:42:45 | filwit | hmm... |
19:43:09 | filwit | anyone know the best way to remove a pragma from a proc in a macro (using macros lib) |
19:43:48 | filwit | aka: somePNode.findAndRemovePragma("myPragmaName") |
19:45:35 | fowl | somePnode.pragma = newEmptyNode() |
19:46:20 | filwit | fowl: i don't want to remove all the pragmas |
19:46:34 | filwit | fowl: i want to remove specific ones (by name) |
19:46:51 | fowl | i'll write it for $5 |
19:47:56 | filwit | lol, i can figure it out, thanks |
19:48:29 | fowl | it goes like this though: var idx = 0; while idx < somePnode.pragma.len: (if somePnode.pragma[idx] is the one you want to remove, remove it, otherwise increment idx) |
19:48:59 | filwit | fowl: that's what i'm doing.. it's the "remove it" part i'm having problems with |
19:49:26 | fowl | filwit, maybe just replacing it with emptynode would work, if not you'll have to shift the other items down one |
19:49:29 | filwit | fowl: don't know how to remove a child node from a node i'm iterating over |
19:49:45 | fowl | h/o i'll write something up |
19:49:50 | filwit | fowl: okay, thanks for the help. i figured it'd be something like that |
19:50:02 | fowl | this one is free ok |
19:50:03 | filwit | fowl: it's okay, you don't have to write anything |
19:50:25 | filwit | fowl: i just wanted to know if there was an already made solution that i should be using |
19:50:47 | filwit | fowl: although, something like that would be a useful addition to the macros lib i'm sure |
19:51:07 | fowl | yea |
19:53:42 | fowl | filwit, macros.del |
19:53:54 | filwit | fowl: let me look |
19:54:34 | filwit | fowl: great, i'll try that, thanks again |
19:54:36 | fowl | filwit, you cant do it while iterating (with macros.children for instance) thats why you do a controlled iteration over the index (then dont incr the index if you delete that entry) |
19:54:50 | filwit | that's what i'm doing |
19:55:06 | filwit | but am having problems modifying the node i'm iterating over |
19:55:15 | filwit | but maybe another reason for that though |
19:55:29 | filwit | i think i can do it now, with del |
19:55:43 | fowl | show me the code if you're still having trouble |
19:56:35 | filwit | okay |
19:59:49 | filwit | fowl: btw, you don't happen to work in the game industry or anything, do you? |
19:59:59 | filwit | fowl: just out of curiosity |
20:00:04 | fowl | heh no |
20:00:06 | fowl | im homeless |
20:00:13 | filwit | oh.. |
20:00:40 | xenagi | lol |
20:00:45 | filwit | how can you contribute to Nimrod so much and know so much about OpenGL and be homeless? lol |
20:00:59 | fowl | wasnt always homeless |
20:01:20 | filwit | yeah i see, i've been there |
20:01:23 | xenagi | :/ |
20:05:01 | fowl | im going to college soon |
20:05:39 | filwit | ah, i see, cool |
20:06:06 | xenagi | fowl, are you like 19 or something? |
20:06:32 | fowl | 24 |
20:06:54 | filwit | i just turned 26, cool |
20:06:56 | xenagi | close enough |
20:11:11 | * | DAddYE joined #nimrod |
20:15:49 | * | DAddYE quit (Ping timeout: 272 seconds) |
20:20:09 | * | gradha joined #nimrod |
20:21:33 | * | Endy quit (Ping timeout: 252 seconds) |
20:32:51 | dom96 | fowl: oh, you're younger than I thought you were. |
20:52:30 | OrionPK | ur homeless? |
20:52:35 | OrionPK | no wonder ur name is fowl |
20:55:07 | filwit | har har |
21:12:29 | * | DAddYE joined #nimrod |
21:16:01 | * | BitPuffin joined #nimrod |
21:16:29 | BitPuffin | de herro |
21:16:38 | * | DAddYE quit (Ping timeout: 240 seconds) |
21:17:42 | BitPuffin | dom96: wassup? |
21:23:35 | BitPuffin | fowl: isn't it called WTFPL and not DATPL? |
21:23:40 | BitPuffin | DATWPL* |
21:23:50 | fowl | where |
21:24:00 | BitPuffin | https://github.com/fowlmouth/nake/blob/master/LICENSE.md |
21:24:04 | BitPuffin | DATWPL: |
21:24:42 | fowl | oh gradha spelled it wrong |
21:24:52 | fowl | oh gradha put the wrong license there |
21:25:03 | fowl | https://github.com/fowlmouth/nake/blob/master/nake.nim#L2 |
21:25:11 | BitPuffin | damn gradha :P |
21:25:32 | BitPuffin | ah |
21:25:34 | BitPuffin | I see |
21:25:45 | BitPuffin | well googling for DATWPL didn't even get the license in there |
21:25:51 | BitPuffin | but it seems analogous to WTFPL |
21:25:55 | gradha | I got it from http://build.nimrod-code.org/irclogs/30-06-2013.html |
21:25:57 | * | shodan45 joined #nimrod |
21:25:57 | fowl | because i slightly reworded WTFPL |
21:26:11 | BitPuffin | I see |
21:26:19 | BitPuffin | fowl: guess we are public domain bros in babel |
21:26:29 | BitPuffin | :D |
21:26:30 | fowl | everything in babel is PD |
21:26:37 | BitPuffin | no |
21:26:39 | fowl | 90% of the packages are MIT |
21:26:40 | BitPuffin | most of it is MIT |
21:26:48 | fowl | MIT is as permissive as you can get |
21:26:54 | BitPuffin | it's not public doiman |
21:27:08 | BitPuffin | and public domain is more permissive |
21:27:37 | BitPuffin | fowl: With MIT you have to include the license in all copies or substantial portions of the software |
21:27:39 | BitPuffin | so fuck it :P |
21:28:22 | fowl | ok |
21:28:32 | fowl | my future software will be MIT-Unenforced |
21:28:48 | BitPuffin | so in actuality when you license under MIT you are not allowed to just copy and paste into your project without including the license |
21:28:56 | BitPuffin | like a code snippet or whatever |
21:29:59 | BitPuffin | Yeah, I like CC0, it's a bit too long for my taste, but it works the best for what I want. It puts the software in the public domain, and in countries where the public domain does not apply it is as permissive as possible. And it also states the no warranty thing, which is lacking from WTFPL |
21:30:49 | BitPuffin | I used to go with the unlicense but it is not actually all that well thought out so it isn't very assuring that it works the way it is intended to do |
21:30:56 | BitPuffin | so CC0 is easy and works |
21:30:57 | gradha | BitPuffin: you are not meant to copy&paste MIT code, you are presumed to import it |
21:31:13 | BitPuffin | gradha: I know |
21:31:30 | BitPuffin | gradha: but I don't want to restrict people from copy and pasting a snippet if they want to legally |
21:31:46 | BitPuffin | although I doubt anyone putting their software under MIT cares if you would copy and paste |
21:32:04 | BitPuffin | but it's good to be clear about it I think |
21:32:55 | gradha | BitPuffin: tell a lawyer apprentice to download software from the iOS appstore, use the nm command to look up binaries, then sue all those motherfuckers including BSD code and not mentioning it anywhere |
21:33:24 | BitPuffin | gradha: seems like a good plan to make some cash :P |
21:33:39 | BitPuffin | fowl needs money more than I do though |
21:33:44 | BitPuffin | well actually he probably doesn't |
21:33:49 | BitPuffin | just that he's more vocal about it :D |
21:33:51 | gradha | multiples of zero cost licenses amount to amazing piles of money |
21:34:06 | BitPuffin | gradha: those fuckers had it coming |
21:34:35 | gradha | bbl |
21:46:56 | BitPuffin | honestly wtf |
21:47:59 | fowl | ? |
21:48:57 | BitPuffin | ah |
21:48:59 | BitPuffin | nothing :P |
21:50:34 | BitPuffin | yay fixed it :D |
21:51:58 | BitPuffin | fowl: what are you working on? |
21:52:45 | fowl | xscreensaver |
21:53:32 | BitPuffin | ah |
21:53:44 | fowl | but i am getting distracted by youtube |
21:54:26 | fowl | BitPuffin, going to figure out how to show a website for screen saver, i'd like to use this: http://www.google.com/trends/hottrends/visualize?nrow=3&ncol=5&pn=p1 |
21:55:11 | BitPuffin | fowl: you want a page where justin bieber shows up every second? |
21:55:27 | fowl | yes |
21:56:28 | BitPuffin | are sql strings escaped automatically+ |
21:56:30 | BitPuffin | ? |
21:56:59 | fowl | i dunno |
21:58:18 | BitPuffin | I wonder if sqlite supports prepared statements |
21:58:30 | BitPuffin | gives higher performance and eliminates risk of sql injection |
21:58:41 | gradha | it does |
21:59:16 | gradha | parameters are escaped, unless you use % yourself |
22:03:38 | BitPuffin | gradha: apparently no prepare in db_sqlite module though |
22:04:09 | gradha | BitPuffin: maybe it depends on proc? TryExec has a prepare |
22:04:15 | BitPuffin | ah, I use % myself. But I guess in the mkdb.nim it's fine for creating schemas |
22:04:33 | gradha | you are only unsafe for parameters, use ? to quote them |
22:05:06 | BitPuffin | huh? |
22:05:45 | gradha | https://github.com/Araq/Nimrod/blob/master/examples/cross_todo/nimrod_backend/backend.nim#L126 |
22:07:40 | BitPuffin | ah |
22:08:18 | gradha | maybe dbQuote and dbFormat should be exported |
22:10:28 | gradha | fowl: that screensaver thing, how are you going to monetize it? |
22:10:43 | BitPuffin | put ads in it ofc |
22:10:45 | fowl | same way i monetize everything else |
22:13:00 | * | DAddYE joined #nimrod |
22:15:20 | Varriount | Hello guys! |
22:15:29 | gradha | yoohooo! |
22:15:32 | BitPuffin | ahoy Varriount! |
22:16:03 | Varriount | Sorry I haven't been on much, I just had 3 projects and 2 tests dumped on me. |
22:16:29 | BitPuffin | Varriount: it's fine, we didn't miss you anyways :D |
22:16:30 | BitPuffin | kidding :D |
22:16:49 | fowl | lol |
22:16:51 | Varriount | I'm taking a break from my math homework for the moment, in order to avoid tossing my laptop out the window (My math problems are online) |
22:17:02 | * | DAddYE quit (Ping timeout: 240 seconds) |
22:18:15 | * | CarpNet joined #nimrod |
22:18:49 | * | Jackneill quit (Remote host closed the connection) |
22:21:51 | Varriount | BitPuffin, how's progress on the implicit generic lambdas? |
22:22:36 | BitPuffin | Varriount: I don't really have time to finish it so I gave my WIP stuff to xenagi. Hopefully he can finish it for me :P |
22:22:51 | Varriount | Hm, can you give it to me as well? |
22:23:09 | Varriount | If nothing else, I'd like to look. |
22:23:15 | xenagi | its on his github |
22:23:31 | Varriount | Link? |
22:25:17 | BitPuffin | Varriount: github.com/bitpuffin or something |
22:25:20 | BitPuffin | :P |
22:25:22 | BitPuffin | just my nimrod repo |
22:25:28 | BitPuffin | with the bug-618 branch |
22:25:38 | Varriount | Got it |
22:25:43 | BitPuffin | the part to fix is the part where I'm currently printing the kind |
22:25:46 | BitPuffin | xenagi: show him xd |
22:26:14 | * | xenagi points to line xyz |
22:26:58 | xenagi | https://github.com/BitPuffin/Nimrod/commit/a19d08dddd080bde96ca3a06f10235b20450e4c5#diff-110140bd65d96d72a3c8a17b3a413a37R235 |
22:29:13 | Varriount | Oh, I thought you were working on the fix for nimrod crashing on things like "var t = proc (x, y): auto = x+y" |
22:29:38 | Varriount | Though, being able to access the input types for generics is just as crucial. |
22:34:47 | * | fowl quit (Ping timeout: 272 seconds) |
22:35:15 | BitPuffin | yeah |
22:35:22 | BitPuffin | all bugs are important imo |
22:38:52 | * | Boscop_ quit (Quit: Boscop_) |
22:39:07 | * | Boscop joined #nimrod |
22:39:07 | * | Boscop quit (Changing host) |
22:39:07 | * | Boscop joined #nimrod |
22:57:20 | Varriount | Open question - Who here puts blank lines in their code to visually break up blocks of code? |
22:58:10 | OrionPK | me |
22:58:56 | OrionPK | two empty lines between procs and "sections" |
22:59:52 | BitPuffin | I do too |
22:59:58 | BitPuffin | I don't even know what the rule is |
23:00:03 | gradha | good night |
23:00:03 | BitPuffin | I just do whatever looks nice >.< |
23:00:06 | BitPuffin | night gradha |
23:00:11 | Varriount | Good night gradha |
23:00:12 | * | gradha quit (Quit: bbl, need to watch https://www.youtube.com/watch?v=mcyhZEXwfh0 again) |
23:00:26 | xenagi | Varriount, i do |
23:00:48 | xenagi | i don't count them, like OrionPK, but just until it pleases me |
23:01:02 | xenagi | then i make the code put the lotion on its skin, or else it gets the hose again |
23:02:08 | OrionPK | I also never put more than 1 newline within a code block like a proc |
23:02:10 | OrionPK | in a row |
23:02:55 | * | xenagi isn't a fan of the 2-space indent |
23:03:11 | xenagi | i need 4 or 3 at least |
23:05:15 | * | fowl joined #nimrod |
23:05:50 | OrionPK | im not talking about indent |
23:06:04 | xenagi | i was |
23:11:43 | Varriount | xenagi, maybe your editor can be configured to show 2-space indents as 4 spaces? |
23:14:08 | * | DAddYE joined #nimrod |
23:14:16 | xenagi | can vim do that? |
23:18:20 | * | DAddYE quit (Ping timeout: 245 seconds) |
23:21:23 | BitPuffin | xenagi: vim can do anything |
23:23:23 | * | mflamer joined #nimrod |
23:23:24 | EXetoC | I don't like it either. I use 4-space indents in my own code |
23:23:41 | EXetoC | and a 79 column limit. no problem |
23:26:31 | filwit | i miss tabs myself |
23:26:33 | * | mflamer quit (Read error: No route to host) |
23:26:42 | filwit | but i don't mind the 2-space tab |
23:28:02 | filwit | xenagi: KDE's Kate uses language-specific tabbing |
23:28:33 | filwit | xenagi: and Nimrod can use any number of spaces as tabs (in case you didn't know) |
23:28:49 | xenagi | i know |
23:29:03 | filwit | k |
23:29:04 | xenagi | i know Nimrod "prefers" 2 space indents |
23:29:11 | xenagi | but i also so that 4 was acceptable, so i use 4 |
23:29:21 | xenagi | saw* |
23:29:38 | filwit | any about of spaces (after the first one) is acceptable |
23:29:53 | filwit | and Nimrod is less about what others prefer, and more about what you do ;) |
23:38:22 | fowl | some of my scripts use one space |
23:38:23 | fowl | what of it |
23:41:31 | EXetoC | egg |
23:41:49 | EXetoC | fowl: awesome |
23:47:05 | * | xenagi quit (Quit: Leaving) |
23:48:16 | BitPuffin | I like the 2 space indents |
23:48:21 | BitPuffin | and I like spaces instead of tabs |
23:48:29 | BitPuffin | because they look right everywhere |