<<14-01-2013>>

00:09:28*q66 quit (Quit: Quit)
01:51:53libMANbak. 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:14reactormonkAraq, 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:45reactormonkoh, good old vars should do.
07:03:04reactormonkbut can you export vars?
07:05:59apotheonYou 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:52reactormonkyes, you can.
07:18:07reactormonkAraq, 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:59Araq_reactormonk: try {.importc, nodecl.} for variables
09:59:06Araq_bye
09:59:07*Araq_ quit (Client Quit)
11:19:31libMANMaybe nimrod should generate ANSI porn while compiling...
11:20:53libMANhttp://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:20gradhalibMAN: what do you plan to do with your local copy of the forums?
17:41:07apotheonI think he just likes to archive things.
18:53:51reactormonkAny idea how to handle QVariant ?
20:18:51Araqreactormonk: what's the problem with QVariant?
20:38:35reactormonkAraq, which type do I map it to?
20:47:37gradhamaybe you can create an object variant too?
20:54:17gradhahttp://nimrod-code.org/tut2.html#object-variants
21:17:58libMANgradha: nothing yet, just looking at example code and learning.
21:18:35libMANapotheon: I think gradha was asking about 30319 1 root 1 20 0 40824K 7048K accept 0 0:00 0.00% forum
21:18:59libMANAh, crap, I gotta learn not to make paste mistakes...
21:19:03libMAN30319 1 root 1 20 0 40824K 7048K accept 0 0:00 0.00% forum
21:19:19libMANThis is insane. I meant to paste https://github.com/nimrod-code/nimforum3
21:19:36apotheonoh, fork
21:19:44apotheon(which, by the way, gives me a 404 error)
21:19:52gradharemove the tailing 3
21:20:15libMAN(Interestingly enough, what I accidentally pasted was `top` output looking at `forum`'s memory usage.
21:20:20libMAN)
21:21:50*libMAN wonders if somebody hacked his X to make copy / highlight and paste act randomly...
21:22:46gradhaa more likely hacking scenario would be you get a captcha popup every time you want to compile something
21:23:09libMANI 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:10Araqreactormonk: 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:50reactormonkAraq, well, proc print*(...: QVariant) {.importc: "print"}
21:25:59reactormonkor proc readConfig*(key: string, defaultValue: QVariant) {.importc: "readConfig"}
21:26:29Araqconverter toQVariant(x: string): QVariant
21:26:36Araqetc. :P
21:33:39apotheonWho here is Andreas?
21:33:43gradhagreat, unit tests failing due to different png compression implementation, huh, looks like I have to implement raw pixel by pixel comparisons
21:34:12Araqapotheon: me
21:38:32apotheonah
21:38:43apotheonAraq: http://copyfree.org/software/#CMS
21:38:53apotheonnimforum listed
21:39:09apotheon(just lookin' for the right person to inform)
21:39:35gradhaforums are now CMS?
21:39:41Araqalright, lets just hope nobody uses it ;-)
21:40:00*Araq doesn't want nimform to become the next phpbb ... ;-)
21:40:07Araq*nimforum
21:40:17apotheonOne 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:31apotheongradha: Why not? They manage content.
21:41:02apotheonAraq: 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:35apotheongradha: 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:00gradhamakes sense, I'm just to used to forums being a different category due to specialization of interaction, and usually content is throwaway
21:46:42apotheonMost of the content on the web is throwaway, frankly.
21:46:50apotheon. . . like basically everything on Facebook.
21:46:57apotheon. . . or Twitter.
21:49:01gradhawell, facebook is sort of private anyway requiring registration, so it's not meant to contribute "to the web"
21:50:11apotheonIt's meant to take over the web.
21:50:23gradhawouldn't count twitter as "web" either, just as wouldn't count private phone conversation transcripts made public "the web"
21:50:25apotheonALL UR WEB R BELONG 2 US
21:52:16reactormonkAraq, can I also have a catchall, supertype, whatever for print?
21:53:08Araqproc print(x: varargs[QVariant, toQVariant])
21:54:12Araqthis will invoke 'toQVariant' on every passed arg, so you need an proc toQVariant(x: QVariant): QVariant = x
21:56:12reactormonkwell, since I don't do any conversion there anyway :-/
21:58:11reactormonkAraq, just cast it in toQVariant?
21:58:52Araqwhatever, I don't know your use cases
21:59:44reactormonkwell, a QVariant is more or less 'We don't know what it is'
21:59:50reactormonkit can be string, int, ...
22:00:34AraqI know what a QVariant is I've looked it up by now
22:00:45Araqbut I don't know what you *use* it for
22:04:29gradhaAraq: 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:08reactormonkAraq, well, proc callDBus*(service: string, path: string, interface: string, method: string, arg...: QVariant, callback: proc()) {.importc: "callDBus"}
22:06:10gradhait even has the funny property of grinding my whole machine to a near standstill while it's doing the parsing
22:06:18reactormonkand proc readConfig*(key: string, defaultValue: QVariant) {.importc: "readConfig"}
22:06:25reactormonkthat's the two procs that take QVariant
22:06:26gradhas/grinding/bringing/
22:14:34gradhapython 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:18Araqwtf?
22:18:25Araqof course that's an issue
22:19:48reactormonkAraq, err, return QVariant of any kind
22:20:08reactormonk... well, should. apparently the signatures aren't correct
23:02:23*FreeArtMan joined #nimrod
23:08:31reactormonkAraq, can I just say print takes an expr?
23:08:36*zahary left #nimrod (#nimrod)
23:08:56AraqI think so ...
23:09:11reactormonkgood, 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