00:09:28 | * | q66 quit (Quit: Quit) |
01:51:53 | libMAN | bak. Yup, nimforum works now. |
02:17:49 | * | Trix[a]r_za is now known as Trixar_za |
05:42:43 | * | zahary quit (Read error: No route to host) |
05:43:08 | * | zahary joined #nimrod |
06:47:14 | reactormonk | Araq, well, the procs arent that much of a problem, it's more the fields |
06:52:16 | * | zahary quit (Ping timeout: 246 seconds) |
06:54:14 | * | zahary joined #nimrod |
07:02:45 | reactormonk | oh, good old vars should do. |
07:03:04 | reactormonk | but can you export vars? |
07:05:59 | apotheon | You can't even export crypto without gub'mint getting on your case. |
07:06:16 | * | apotheon makes a lame joke as his eyes blur from watching pcre-dependent stuff recompile. |
07:07:13 | * | ccssnet quit (Ping timeout: 245 seconds) |
07:13:52 | reactormonk | yes, you can. |
07:18:07 | reactormonk | Araq, there's one little problem: The statement var foo* {.importc: "foo".}: string produces var foo = null; |
08:13:59 | * | Trixar_za is now known as Trix[a]r_za |
08:48:29 | * | fowl quit (Quit: kyrylo's bones are full of radiation.) |
09:24:01 | * | Araq_ joined #nimrod |
09:25:06 | * | Araq_ quit (Client Quit) |
09:58:25 | * | Araq_ joined #nimrod |
09:58:59 | Araq_ | reactormonk: try {.importc, nodecl.} for variables |
09:59:06 | Araq_ | bye |
09:59:07 | * | Araq_ quit (Client Quit) |
11:19:31 | libMAN | Maybe nimrod should generate ANSI porn while compiling... |
11:20:53 | libMAN | http://www.asciipr0n.com/pr0n/pinups/pinup02.txt 8-D |
12:04:22 | * | Araq_ joined #nimrod |
12:08:46 | * | Araq_ quit (Client Quit) |
12:38:18 | * | Trix[a]r_za is now known as Trixar_za |
12:44:52 | * | Trixar_za is now known as Trix[a]r_za |
13:55:05 | * | fowl joined #nimrod |
14:24:31 | * | gradha joined #nimrod |
15:00:39 | * | q66 joined #nimrod |
16:20:37 | * | ccssnet joined #nimrod |
16:23:20 | gradha | libMAN: what do you plan to do with your local copy of the forums? |
17:41:07 | apotheon | I think he just likes to archive things. |
18:53:51 | reactormonk | Any idea how to handle QVariant ? |
20:18:51 | Araq | reactormonk: what's the problem with QVariant? |
20:38:35 | reactormonk | Araq, which type do I map it to? |
20:47:37 | gradha | maybe you can create an object variant too? |
20:54:17 | gradha | http://nimrod-code.org/tut2.html#object-variants |
21:17:58 | libMAN | gradha: nothing yet, just looking at example code and learning. |
21:18:35 | libMAN | apotheon: I think gradha was asking about 30319 1 root 1 20 0 40824K 7048K accept 0 0:00 0.00% forum |
21:18:59 | libMAN | Ah, crap, I gotta learn not to make paste mistakes... |
21:19:03 | libMAN | 30319 1 root 1 20 0 40824K 7048K accept 0 0:00 0.00% forum |
21:19:19 | libMAN | This is insane. I meant to paste https://github.com/nimrod-code/nimforum3 |
21:19:36 | apotheon | oh, fork |
21:19:44 | apotheon | (which, by the way, gives me a 404 error) |
21:19:52 | gradha | remove the tailing 3 |
21:20:15 | libMAN | (Interestingly enough, what I accidentally pasted was `top` output looking at `forum`'s memory usage. |
21:20:20 | libMAN | ) |
21:21:50 | * | libMAN wonders if somebody hacked his X to make copy / highlight and paste act randomly... |
21:22:46 | gradha | a more likely hacking scenario would be you get a captcha popup every time you want to compile something |
21:23:09 | libMAN | I have no idea why I got so dumb and clumsy suddenly. That trailing 3 is a whole nother story... |
21:24:06 | * | libMAN blames insomnia + flu. |
21:24:10 | Araq | reactormonk: gradha's advice seems good, but it really depends on what you need to support; QVariant = object could suffice for your purposes too |
21:25:50 | reactormonk | Araq, well, proc print*(...: QVariant) {.importc: "print"} |
21:25:59 | reactormonk | or proc readConfig*(key: string, defaultValue: QVariant) {.importc: "readConfig"} |
21:26:29 | Araq | converter toQVariant(x: string): QVariant |
21:26:36 | Araq | etc. :P |
21:33:39 | apotheon | Who here is Andreas? |
21:33:43 | gradha | great, unit tests failing due to different png compression implementation, huh, looks like I have to implement raw pixel by pixel comparisons |
21:34:12 | Araq | apotheon: me |
21:38:32 | apotheon | ah |
21:38:43 | apotheon | Araq: http://copyfree.org/software/#CMS |
21:38:53 | apotheon | nimforum listed |
21:39:09 | apotheon | (just lookin' for the right person to inform) |
21:39:35 | gradha | forums are now CMS? |
21:39:41 | Araq | alright, lets just hope nobody uses it ;-) |
21:40:00 | * | Araq doesn't want nimform to become the next phpbb ... ;-) |
21:40:07 | Araq | *nimforum |
21:40:17 | apotheon | One of these days, when I'm not eyeball deep in working on Hermetic and Persona, I'll write that improved database backend and web UI for the copyfree works stuffs. |
21:40:31 | apotheon | gradha: Why not? They manage content. |
21:41:02 | apotheon | Araq: As long as it's not written in PHP and you're not intent on making it awful, it probably won't be the next phpBB. |
21:42:35 | apotheon | gradha: Hell, the major difference between a wiki and a forum is that the forum is linear or tree-organized, and the wiki is diff-organized. Otherwise, same stuff, in principle. |
21:43:00 | gradha | makes sense, I'm just to used to forums being a different category due to specialization of interaction, and usually content is throwaway |
21:46:42 | apotheon | Most of the content on the web is throwaway, frankly. |
21:46:50 | apotheon | . . . like basically everything on Facebook. |
21:46:57 | apotheon | . . . or Twitter. |
21:49:01 | gradha | well, facebook is sort of private anyway requiring registration, so it's not meant to contribute "to the web" |
21:50:11 | apotheon | It's meant to take over the web. |
21:50:23 | gradha | wouldn't count twitter as "web" either, just as wouldn't count private phone conversation transcripts made public "the web" |
21:50:25 | apotheon | ALL UR WEB R BELONG 2 US |
21:52:16 | reactormonk | Araq, can I also have a catchall, supertype, whatever for print? |
21:53:08 | Araq | proc print(x: varargs[QVariant, toQVariant]) |
21:54:12 | Araq | this will invoke 'toQVariant' on every passed arg, so you need an proc toQVariant(x: QVariant): QVariant = x |
21:56:12 | reactormonk | well, since I don't do any conversion there anyway :-/ |
21:58:11 | reactormonk | Araq, just cast it in toQVariant? |
21:58:52 | Araq | whatever, I don't know your use cases |
21:59:44 | reactormonk | well, a QVariant is more or less 'We don't know what it is' |
21:59:50 | reactormonk | it can be string, int, ... |
22:00:34 | Araq | I know what a QVariant is I've looked it up by now |
22:00:45 | Araq | but I don't know what you *use* it for |
22:04:29 | gradha | Araq: I have a case of a json file taking 30 seconds to parse with nimrod, 0.1 seconds with python, do you want me to create an issue for that? |
22:06:08 | reactormonk | Araq, well, proc callDBus*(service: string, path: string, interface: string, method: string, arg...: QVariant, callback: proc()) {.importc: "callDBus"} |
22:06:10 | gradha | it even has the funny property of grinding my whole machine to a near standstill while it's doing the parsing |
22:06:18 | reactormonk | and proc readConfig*(key: string, defaultValue: QVariant) {.importc: "readConfig"} |
22:06:25 | reactormonk | that's the two procs that take QVariant |
22:06:26 | gradha | s/grinding/bringing/ |
22:14:34 | gradha | python test case https://gist.github.com/4533999 takes 0.1s, nimrod test case https://gist.github.com/4534004 compiled with -d:release takes 30s, json test file http://dl.dropbox.com/u/145894/t/nimrod_performance.json 3MB |
22:15:18 | * | gradha quit (Quit: Leaving) |
22:18:18 | Araq | wtf? |
22:18:25 | Araq | of course that's an issue |
22:19:48 | reactormonk | Araq, err, return QVariant of any kind |
22:20:08 | reactormonk | ... well, should. apparently the signatures aren't correct |
23:02:23 | * | FreeArtMan joined #nimrod |
23:08:31 | reactormonk | Araq, can I just say print takes an expr? |
23:08:36 | * | zahary left #nimrod (#nimrod) |
23:08:56 | Araq | I think so ... |
23:09:11 | reactormonk | good, I'll go with that. |
23:19:31 | * | FreeArtMan quit (Ping timeout: 248 seconds) |
23:38:00 | * | XAMPP joined #nimrod |
23:38:00 | * | XAMPP quit (Changing host) |
23:38:00 | * | XAMPP joined #nimrod |