| 00:10:39 | * | ponce is now known as p0nce |
| 00:34:12 | * | zahary quit (Quit: Leaving.) |
| 01:01:01 | * | DAddYE quit (Remote host closed the connection) |
| 01:09:13 | * | q66 quit (Quit: Leaving) |
| 02:43:46 | * | JStoker quit (*.net *.split) |
| 02:43:46 | * | Araq quit (*.net *.split) |
| 03:09:26 | * | JStoker joined #nimrod |
| 03:09:26 | * | Araq joined #nimrod |
| 03:14:23 | * | DAddYE joined #nimrod |
| 03:35:34 | * | DAddYE quit (Read error: No route to host) |
| 03:35:48 | * | DAddYE joined #nimrod |
| 04:29:50 | * | OrionPK quit (Read error: Connection reset by peer) |
| 04:40:21 | * | Trixar_za is now known as Trix[a]r_za |
| 05:19:03 | * | EXetoC joined #nimrod |
| 06:59:54 | * | Araq_ joined #nimrod |
| 07:12:43 | * | Araq_ quit (Quit: ChatZilla 0.9.90 [Firefox 22.0/20130618035212]) |
| 07:17:55 | * | Associat0r joined #nimrod |
| 07:36:22 | * | DAddYE quit (Remote host closed the connection) |
| 07:43:20 | EXetoC | sup guys |
| 08:08:10 | * | EXetoC quit (Quit: WeeChat 0.4.1) |
| 10:23:24 | * | q66 joined #nimrod |
| 12:57:21 | * | EXetoC joined #nimrod |
| 13:15:17 | * | racho joined #nimrod |
| 13:16:54 | racho | hello, am i missing some dep or what? tried building latest nimrod from github yield this -> http://pastebin.com/YvrnJViK. ubuntu 13.04 |
| 13:42:32 | * | racho quit (Quit: Leaving) |
| 13:45:26 | * | Associ8or joined #nimrod |
| 13:45:26 | * | Associ8or quit (Changing host) |
| 13:45:26 | * | Associ8or joined #nimrod |
| 13:47:23 | * | Associat0r quit (Ping timeout: 240 seconds) |
| 14:48:18 | * | Raynes quit (Ping timeout: 246 seconds) |
| 14:51:30 | * | Raynes joined #nimrod |
| 17:10:38 | * | DAddYE joined #nimrod |
| 17:21:03 | * | Sergio965 joined #nimrod |
| 17:38:15 | * | DAddYE quit (Remote host closed the connection) |
| 17:41:42 | * | DAddYE joined #nimrod |
| 17:43:06 | * | DAddYE quit (Remote host closed the connection) |
| 17:43:42 | dom96 | I guess we need a warning on Nimrod's download page about that Ubuntu error |
| 17:44:07 | * | DAddYE joined #nimrod |
| 17:52:31 | * | Associ8or quit (Quit: Associ8or) |
| 18:27:00 | * | DAddYE quit (Remote host closed the connection) |
| 18:27:53 | * | DAddYE joined #nimrod |
| 18:53:19 | * | gradha joined #nimrod |
| 19:05:48 | EXetoC | gradha: morning |
| 19:09:17 | gradha | EXetoC: morning |
| 19:09:49 | dom96 | afternoon |
| 19:13:38 | EXetoC | gradha: really? ok |
| 19:16:50 | gradha | NimBot: high five! |
| 19:21:57 | * | apotheon_ joined #nimrod |
| 19:22:17 | dom96 | well guys, where are all these nimrod projects!? |
| 19:22:43 | gradha | buy these, you mean...? |
| 19:22:50 | dom96 | where are the blog posts encouraging people to use Nimrod? |
| 19:24:02 | gradha | I was going to start writing posts about nimrod but I've changed my mind and will do posts on kpop |
| 19:25:29 | gradha | actually, I have four ideas for nimrod posts, and two for kpop, but the kpop ones seem more interesting |
| 19:26:22 | gradha | hmm... wait, actually those 4 aren't directly about nimrod, though I plan to mention it |
| 19:27:41 | * | gradha facepalms |
| 19:28:09 | gradha | of course, I forgot to write down one post idea about idetools, but that's kind of obvious once the hyperlinker reaches a nice state |
| 19:28:27 | dom96 | well I just found a Hatsune Miku game demo on PSN |
| 19:29:03 | gradha | amazing, do they have a demo of girls und panzer? |
| 19:31:02 | * | apotheon quit (*.net *.split) |
| 19:31:02 | * | fowl- quit (*.net *.split) |
| 19:32:23 | dom96 | omg, how am I losing on Easy. |
| 19:32:29 | dom96 | This game is strangely fun though. |
| 19:32:41 | * | dom96 realises how sad his life is |
| 19:36:21 | * | fowl joined #nimrod |
| 19:40:24 | gradha | try to write a blog post about nimrod and that Hatsune Miku game |
| 19:44:48 | * | mal`` quit (Ping timeout: 246 seconds) |
| 19:57:22 | * | NimBot joined #nimrod |
| 20:00:34 | dom96 | but yeah, we need to get to work. We need to make gradha's prophecy, "this year is the year of Nimrod", come true. |
| 20:02:09 | gradha | well, 2014 could be the year of "more nimrod", so no worries |
| 20:19:19 | Araq | yay .. bad internet connection again ... |
| 20:19:35 | gradha | is it rainy? |
| 20:19:47 | Araq | it's like I'm in the 3rd world here ... |
| 20:20:27 | gradha | tomorrow some people are coming home to exchange one of my kidneys for FTTH |
| 20:20:36 | gradha | I bet it will still suck the same |
| 20:20:39 | Araq | no it's not rainy |
| 20:21:36 | Araq | that sounds bad ... what if you need your kidney again later? |
| 20:21:59 | gradha | maybe I can sell the FTTH for one |
| 20:24:08 | Araq | sounds like a sound plan |
| 20:25:05 | gradha | maybe I can later get an extra kidney back to sell on ebay and get some profit too |
| 20:26:32 | Araq | getting an extra melt should be way easier as nobody knows what a melt is good for |
| 20:27:48 | gradha | don't even know what a melt is |
| 20:30:14 | Araq | a milt |
| 20:31:15 | DAddYE | hi there |
| 20:31:22 | DAddYE | back to my c2nim problems |
| 20:31:23 | DAddYE | :D |
| 20:31:34 | gradha | sounds fun |
| 20:31:43 | DAddYE | any know how workaround on this: https://gist.github.com/DAddYE/f19b7de1b9c8083f8593 ? |
| 20:32:34 | Araq | DAddYE: replace #define by #def |
| 20:33:10 | Araq | but I may not have implemented the ## preprocessor concatenation operator |
| 20:33:36 | DAddYE | no luck same error |
| 20:34:04 | Araq | well you need to #def UV_ERRNO_MAP too etc. |
| 20:35:46 | DAddYE | Araq: haha |
| 20:35:49 | DAddYE | a bit more |
| 20:35:57 | DAddYE | Error: '}' expected |
| 20:35:59 | DAddYE | line 5 |
| 20:36:59 | Araq | #def UV_MAX_ERRORS ? |
| 20:37:27 | DAddYE | I'm retarded today :D |
| 20:38:09 | DAddYE | but there isn't on the header any define UV_MAX_ERRORS |
| 20:38:13 | DAddYE | in any header |
| 20:38:15 | DAddYE | strange |
| 20:39:02 | Araq | oh |
| 20:39:03 | gradha | you could try using the cpp preprocessor command to figure out what it eventually gets replaced by |
| 20:39:25 | Araq | well UV_MAX_ERRORS is an enum value then |
| 20:39:30 | Araq | the last one ... |
| 20:39:37 | Araq | hence the MAX in its name |
| 20:46:11 | Araq | DAddYE: you need to expand the enum for yourself I'm afraid |
| 20:46:55 | Araq | gradha's idea of running the C prepocessor looks like a good one |
| 20:51:02 | EXetoC | boop |
| 20:51:47 | DAddYE | Araq: yep |
| 20:51:54 | DAddYE | Araq: thanks |
| 20:52:07 | Araq | hi EXetoC in case you wonder about the slow progress ... you're wrong, it's just that I don't push what I have ;-) |
| 20:52:42 | EXetoC | I guess you implied that before c(:)-< |
| 20:53:05 | Araq | did I? bah ... |
| 20:53:19 | dom96 | EXetoC: Keep Calm and Carry On Coding. |
| 20:54:15 | dom96 | I should just add 'Coding' to the poster here: http://en.wikipedia.org/wiki/Keep_Calm_and_Carry_On |
| 20:55:06 | dom96 | And put it on my wall. |
| 20:55:50 | Araq | there are much better things you could put onto your wall |
| 20:56:22 | dom96 | You're right, I should get a porn star with a tattoo of that poster with 'Coding' added on! |
| 20:57:03 | EXetoC | paper? |
| 20:57:03 | gradha | the absolute nerd porn star |
| 20:58:08 | gradha | porn starts coding in nimrod, hmm... yep, package the idea and sell it for zillions |
| 21:01:57 | dom96 | "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:04:34 | dom96 | yep. I need to patent that idea. |
| 21:14:23 | EXetoC | I wonder if anyone has patented bread |
| 21:16:57 | Araq | sliced bread is patented, EXetoC |
| 21:24:56 | DAddYE | Araq: last one: https://gist.github.com/DAddYE/00e2394642b2907f98a1 |
| 21:26:10 | gradha | oh, union fun times |
| 21:29:43 | DAddYE | gradha: https://gist.github.com/DAddYE/00e2394642b2907f98a1#file-c2nim-h-L13 |
| 21:30:20 | DAddYE | or is better struct tree_entry_s { ... }; and then tree_entry_s tree_entry; ? |
| 21:30:35 | Araq | DAddYE: uv_stream_t* stream; instead of the union |
| 21:30:39 | Araq | the latter |
| 21:30:45 | * | Sergio965 quit (Ping timeout: 264 seconds) |
| 21:30:54 | DAddYE | Araq: thx |
| 21:32:41 | EXetoC | Araq: I don't want to be a part of society if that is true |
| 21:35:27 | reactormonk | EXetoC, https://www.google.com/?tbm=pts#safe=off&output=search&tbm=pts&sclient=psy-ab&q=sliced+bread&oq=sliced+bread nah |
| 21:36:50 | reactormonk | EXetoC, https://www.google.com/patents/WO1994019956A1 err wait. |
| 21:36:54 | DAddYE | Araq: can't be better transform it to: union data_u { uv_stream_t* stream; int fd; }; |
| 21:37:03 | reactormonk | EXetoC, but it's only an application, I don't see a patent number |
| 21:37:11 | DAddYE | and thus in my struct { ...; data_u data; } ? |
| 21:37:17 | EXetoC | xd |
| 21:38:13 | Araq | DAddYE: c2nim converts the union to what I wrote anyway once you get it to parse the union |
| 21:38:32 | DAddYE | Araq: ok |
| 21:38:54 | Araq | you can easily do proc fd(x: whatever): cint = cast[cint](x.stream) |
| 21:39:19 | Araq | but chances are not bad nobody needs it anyway |
| 21:42:27 | DAddYE | Araq: ok, makes totally sense |
| 21:42:33 | DAddYE | Araq: void uv_once(uv_once_t* guard, void (*callback)(void)); ? |
| 21:42:42 | gradha | let's say I implement a macro for db_sqlite which indents code into a begin/end transaction, which can be done with finally: anyway |
| 21:43:07 | gradha | the thing is, would it be possible to not execute the end transaction if something else brakes inside? how to detect it? |
| 21:44:02 | gradha | I'm not talking about nimrod exception level, but somehow detecting that a previous sql statement failed and thus the end transaction is useless |
| 21:44:06 | Araq | DAddYE: proc uv_once(guard: ptr TUvOnce, callback: proc () {.cdecl.}) |
| 21:44:47 | DAddYE | Araq: how I can rewrite it in c so c2nim will be able to parse it? |
| 21:45:31 | Araq | typedef void (*callback_t)(void); void uv_once(uv_once_t* guard, callback_t callback); |
| 21:45:34 | Araq | perhaps ... |
| 21:46:03 | Araq | perhaps it's typedef void callback_t(void); |
| 21:46:20 | Araq | or typedef void (callback_t)(void); |
| 21:46:53 | Araq | (all the same in C btw ... the * has no meaning here afaik) |
| 21:47:38 | Araq | (which makes me wonder if typedef void (**callback_t)(void) IS a pointer to a function pointer or not) |
| 21:49:18 | DAddYE | typedef void callback_t(void); |
| 21:49:34 | DAddYE | and thus , callback_t *callback); ? |
| 21:50:02 | Araq | no |
| 21:50:08 | Araq | callback_t callback |
| 21:50:15 | DAddYE | ok |
| 21:51:19 | * | EXetoC quit (Quit: WeeChat 0.4.1) |
| 21:53:47 | * | OrionPK joined #nimrod |
| 21:58:31 | DAddYE | Araq: ok, parsed |
| 21:58:45 | DAddYE | just a quick recap because I'm not a C expert |
| 21:59:24 | DAddYE | struct { struct { ... } foo; } => struct foo_t { ... }; struct { foo_t foo }; |
| 21:59:27 | DAddYE | correct? |
| 21:59:28 | DAddYE | or |
| 21:59:36 | DAddYE | struct { struct foo_t foo }; |
| 21:59:38 | DAddYE | ? |
| 22:00:30 | Araq | it doesn't really matter |
| 22:00:31 | Araq | the first version is preferable |
| 22:02:22 | DAddYE | Araq: thanks a lot |
| 22:03:57 | DAddYE | Araq: here the result: https://gist.github.com/DAddYE/960a2a1a16c3c3ab3239 |
| 22:09:35 | reactormonk | DAddYE, looks good, slightly messy :-) |
| 22:10:06 | Araq | DAddYE: looks horrible ;-) |
| 22:10:26 | Araq | use #typeprefixes |
| 22:10:38 | reactormonk | Araq, hashtags? |
| 22:12:11 | Araq | #suffix _t |
| 22:12:40 | OrionPK | well, he's got a t prefix on his ree_entry type ;) |
| 22:13:08 | Araq | #suffix _s |
| 22:13:27 | Araq | #mangle type theType |
| 22:14:10 | Araq | #suffix _cb |
| 22:14:48 | Araq | and somebody should fix c2nim to not generate pure, final anymore; it's the default now since 2 versions I think |
| 22:16:40 | Araq | timespec_t and stat_t are already in posix.nim |
| 22:19:56 | reactormonk | Araq, you don't like inheritance? |
| 22:20:26 | Araq | surprise surprise: I don't |
| 22:21:00 | DAddYE | Araq: hahaha |
| 22:22:51 | gradha | the next hyperlinker version will have a --full-retard switch, hopefully the zero users I have won't get offended |
| 22:23:05 | reactormonk | gradha, doing? |
| 22:23:21 | gradha | yes |
| 22:29:36 | reactormonk | gradha, ... what does the -fr switch do? |
| 22:30:20 | gradha | there's no -fr switch yet |
| 22:30:54 | gradha | but there's -f alone: -f, --fake Doesn't really call idetools, mostly for debugging of html output to generate it quickly. |
| 22:31:23 | gradha | the --full-retard will be like the current --brute switch |
| 22:31:46 | gradha | now --brute will be slightly less bruter, and no switch should be pretty fast |
| 22:32:10 | gradha | to avoid collisions I'll name it -F in the single letter version |
| 22:34:17 | Araq | don't make single letter versions instead |
| 22:35:04 | Araq | these things always end up in a script or are produced by arrow up so their typing speed is irrelevant |
| 22:38:06 | gradha | I love confusing users with single letter switches |
| 22:39:00 | reactormonk | Araq, and after one usage, you usually draw up the shell history |
| 22:41:04 | gradha | for a sample file normal takes 8s, brute 40s and full retard 52s |
| 22:41:16 | Araq | reactormonk: that's what meant with "arrow up" |
| 22:41:18 | Araq | gradha: you must love unix then ... "man" for "help" is an awesome idea |
| 22:43:14 | gradha | it was an awesome idea for its time |
| 22:43:30 | * | Trix[a]r_za is now known as Trixar_za |
| 22:50:30 | gradha | I still need to figure out a valid use for --kpop |
| 22:51:08 | gradha | maybe it should play a random youtube video |
| 22:52:58 | Araq | it should replace the module's name by a pink unicorn |
| 22:53:08 | * | p0nce left #nimrod (#nimrod) |
| 22:58:06 | * | apotheon_ is now known as apotheon |
| 22:58:06 | * | apotheon quit (Changing host) |
| 22:58:06 | * | apotheon joined #nimrod |
| 23:00:05 | * | gradha quit (Quit: bbl, need to watch https://www.youtube.com/watch?v=1ZZC82dgJr8 again) |
| 23:16:06 | DAddYE | Araq: with peg how I convert the result of a capture to uppercase? |
| 23:45:56 | dom96 | DAddYE: result.toUpper()? |
| 23:46:24 | DAddYE | dom96: yep but I need that in #mangle |
| 23:46:39 | dom96 | oh that's for wrapping |
| 23:46:46 | dom96 | hrm, dunno. |
| 23:48:28 | dom96 | what are you trying to do exactly, why do you need to make it uppercase? |
| 23:55:32 | * | Trixar_za is now known as Trix[a]r_za |