IRC log of dig on 2010-09-26

Timestamps are in UTC.

00:09:35 [timbl]
timbl has quit (Quit: timbl)
00:15:35 [timbl]
timbl (~timbl@209.117.47.253) has joined #dig
00:24:19 [marisol]
marisol (~marisol@pool-68-160-191-35.bos.east.verizon.net) has joined #dig
00:25:17 [mcherian]
mcherian has quit (Ping timeout: 255 seconds)
00:36:16 [timbl]
presbrey?
00:36:32 [timbl]
I can now cut a cert on gandi for tabulator.org'
00:36:42 [timbl]
The transfer went though
00:36:48 [timbl]
(Thanks Melvster!)
00:37:19 [timbl]
What software am I useing they ask -- apach Apache/mod-ssl ?
00:39:09 [timbl]
____________________________
00:39:11 [timbl]
Your certificate creation request has been registered.
00:39:12 [timbl]
The following steps for the activation of your certificate are as follows:
00:39:12 [timbl]
* Your administrative contact will receive an e-mail requesting validation of the request
00:39:12 [timbl]
* You will receive an email requesting the validation of your request, and in the event of a Pro or Business certificate, you will need to send any required documents
00:39:12 [timbl]
* once we verifications have been made, you will receive a mail confirming the activation of the certificate
00:39:17 [timbl]
__________________________________
00:41:16 [presbrey]
yes, Apache/mod_ssl is fine
00:41:27 [presbrey]
I already minted a private key for
00:41:47 [presbrey]
the server so you should use the base64 CSR I sent you if possible
00:42:09 [presbrey]
ericP, hows the kayaking?
00:42:59 [ericP]
just finished with the dinner and margaritas after kayking
00:43:04 [ericP]
so: well
00:44:28 [timbl]
timbl has quit (Quit: timbl)
00:45:58 [ericP]
presbrey, how you?
00:46:16 [ericP]
you find anything on va_lists in swig/lua?
00:47:19 [melvster]
melvster has quit (Read error: Operation timed out)
00:51:47 [ericP]
http://www.swig.org/Doc1.3/SWIGDocumentation.html#Varargs_nn8
00:52:12 [ericP]
but i believe it does work in python, perl and java
00:55:50 [ericP]
ahh, needs va_copy(arg3, *temp);
00:56:10 [presbrey]
no I ended up working on centralized data all day
00:57:59 [presbrey]
sql.mit.edu, new 4-way disks for IO, fixed replication, and hot-swap'd all to f13, latest
00:58:31 [presbrey]
>7k dbs there now
00:59:23 [presbrey]
lots on fun stuff on my todo
00:59:57 [presbrey]
wanted to do some foaf.me with melvster now that tabulator input is fixed
01:00:35 [presbrey]
but I missed the margaritas so I might have to decentralize myself to a pub shortly and do todo later
01:02:19 [TimblPhone]
TimblPhone (~mobile@166.137.9.122) has joined #dig
01:03:49 [TimblPhone]
Confirmation registered. The SSL certificate activation process will now continue. -- Gandi
01:05:24 [presbrey]
travel safe!
01:05:54 [TimblPhone]
Tx
01:09:36 [presbrey]
committed new tab/snapshot script. I'll test it and input fix with my new tabulator!
01:11:25 [presbrey]
cool it works
01:11:57 [presbrey]
The Tabulator Extension, 1062:5c35b53cff47
01:19:42 [ericP]
presbrey, can you write some lua tests analogous to the python tests?
01:19:53 [TimblPhone]
TimblPhone has quit (Quit: KUTGW)
01:20:08 [ericP]
i manually fixed up swig/lua/SWObjects_wrap.cxx, changing
01:20:18 [ericP]
arg3 = *argp3;
01:20:19 [ericP]
to
01:20:26 [ericP]
{
01:20:26 [ericP]
va_list * temp = reinterpret_cast< va_list * >(argp3);
01:20:26 [ericP]
va_copy(arg3, *temp);
01:20:26 [ericP]
}
01:20:59 [ericP]
will have to write a parser to do that automatically
01:21:54 [ericP]
(something which will know function boundries and recognize that arg3 is a va_list and perform the subst 20 lines later)
01:25:10 [presbrey]
ha ok
01:25:14 [presbrey]
so the first thing to do is launch lua
01:25:15 [presbrey]
and type
01:25:20 [presbrey]
require("SWObjects")
01:25:37 [presbrey]
is this building on dig.xvm
01:27:33 [ericP]
yup
01:27:43 [ericP]
built, in fact
01:31:45 [presbrey]
fail
01:32:42 [presbrey]
s/libSWObjects/SWObjects/
01:33:39 [presbrey]
lua]# lua -e 'require("libSWObjects");'
01:33:39 [presbrey]
lua: error loading module 'libSWObjects' from file './libSWObjects.so':
01:33:39 [presbrey]
./libSWObjects.so: undefined symbol: luaopen_libSWObjects
01:34:29 [presbrey]
lua]# objdump -t libSWObjects.so | grep -E 'text.*luaopen_'
01:34:29 [presbrey]
0000000000429614 g F .text0000000000000325 luaopen_SWObjects
01:34:36 [presbrey]
how did that happen
01:35:42 [presbrey]
oh you called it that in Makefile, you devil
01:36:17 [presbrey]
you like prefixes on your suffixes eh
01:40:26 [presbrey]
...
01:40:42 [presbrey]
> print(SWObjects.cvar)
01:40:42 [presbrey]
nil
01:40:42 [presbrey]
> print(SWObjects.RdfDB())
01:40:42 [presbrey]
userdata: 0x23653d8
01:41:03 [presbrey]
new RdfDB works, cvar is lost?
01:41:13 [ericP]
cvar?
01:42:39 [ericP]
ohh, i bet cvar is how the python bindings refer to globals
01:42:59 [ericP]
yup
01:43:03 [ericP]
i never understood that
01:44:04 [mcherian]
mcherian (~mathew@c-24-91-159-17.hsd1.ma.comcast.net) has joined #dig
01:48:54 [presbrey]
that weird but I think you're right
01:49:05 [presbrey]
I was looking for SWObjects.cvar.DefaultGraph
01:49:20 [presbrey]
but it seems like it might be SWObjects.DefaultGraph in lua
01:49:27 [ericP]
much nicer
01:49:46 [presbrey]
I need a lua shell with introspection
01:57:54 [marisol]
marisol has quit (Quit: marisol)
02:22:13 [mcherian]
mcherian has quit (Ping timeout: 245 seconds)
02:48:14 [mcherian]
mcherian (~mathew@c-24-91-159-17.hsd1.ma.comcast.net) has joined #dig
03:06:48 [mcherian]
mcherian has quit (Ping timeout: 245 seconds)
03:23:46 [oshani]
oshani (~oshani@c-71-233-151-72.hsd1.ma.comcast.net) has joined #dig
04:36:43 [oshani]
oshani has quit (Quit: Mama nidi!)
05:01:24 [Yudai]
Yudai has quit (Ping timeout: 265 seconds)
07:23:17 [melvster]
melvster (~melvster@p579F910D.dip.t-dialin.net) has joined #dig
07:44:03 [Yudai]
Yudai (~Yudai@p034410.kngwnt01.ap.so-net.ne.jp) has joined #dig
08:38:17 [nunnun]
nunnun is now known as nunnun_away
08:45:57 [nunnun_away]
nunnun_away is now known as nunnun
09:45:24 [nunnun]
nunnun is now known as nunnun_away
11:23:04 [oshani]
oshani (~oshani@c-71-233-151-72.hsd1.ma.comcast.net) has joined #dig
11:39:11 [oshani]
oshani has quit (Quit: Mama nidi!)
11:46:00 [mhausenblas]
mhausenblas (~mhausenbl@wg1-nat.fwgal01.deri.ie) has joined #dig
11:49:39 [timbl]
timbl (~timbl@host81-154-190-184.range81-154.btcentralplus.com) has joined #dig
11:57:59 [oshani]
oshani (~oshani@c-71-233-151-72.hsd1.ma.comcast.net) has joined #dig
12:06:56 [oshani]
oshani has quit (Quit: Mama nidi!)
13:02:39 [mcherian]
mcherian (~mathew@c-24-91-159-17.hsd1.ma.comcast.net) has joined #dig
13:22:38 [mcherian]
mcherian has quit (Ping timeout: 245 seconds)
13:29:43 [timbl]
timbl has quit (Ping timeout: 245 seconds)
13:35:29 [timbl]
timbl (~timbl@host86-133-199-100.range86-133.btcentralplus.com) has joined #dig
14:31:35 [nunnun_away]
nunnun_away is now known as nunnun
16:32:26 [presbrey]
hey ericP
16:32:42 [presbrey]
I'm still thinking about C bindings to swobjects :)
16:32:51 [presbrey]
via swig
16:35:27 [ericP]
16:36:00 [presbrey]
lua is FFN
16:36:08 [ericP]
ffn?
16:36:14 [presbrey]
fine for now
16:36:17 [presbrey]
fun for now
16:36:23 [ericP]
even better
16:36:40 [presbrey]
what unicode is that?
16:36:40 [ericP]
can you write some tests so it stays fine as a hack?
16:36:51 [ericP]
ahh, didn't render?
16:36:56 [ericP]
it's "ACK"
16:37:04 [presbrey]
looks like a backslash
16:37:12 [presbrey]
<ericP> ␆
16:37:19 [ericP]
i was just looking at the "Constrol Pictures" block
16:37:37 [presbrey]
ha
16:37:45 [ericP]
i have to make the terminal a lot bigger to read it
16:38:04 [presbrey]
oh I see it now. marvelous
16:38:11 [presbrey]
so I started a test.lua in swig/lua
16:38:36 [presbrey]
got distracted trying to find a shell with introspection
16:38:38 [ericP]
excellent
16:38:42 [ericP]
naturally
16:38:54 [presbrey]
also don't know about a unit test suite in lua
16:39:13 [presbrey]
might be all self-contained
16:39:27 [ericP]
yeah, so far the swig tests are cool 'cause they teach folks how to write unit tests
16:39:36 [presbrey]
ha
16:39:46 [ericP]
so if you know python and you want to write jave, you can see the unit test analogy
16:40:03 [presbrey]
yeah I don't know the 'import unittest' equivalent in lua
16:40:21 [presbrey]
I'll have to learn it so we can teach all the folks about unit tests I suppose
16:41:17 [webr3]
prebrey, upgraded: http://webr3.org/apps/specs/jsn3/ , as and when you have a free minute and if you have the inclination, do fire back feedback (especially on advanced concepts) - still weighing up our last convo
16:41:30 [webr3]
presbrey* sorry
16:43:33 [presbrey]
webr3, why did you add '<' '>' everywhere?
16:44:15 [presbrey]
that translates to a heck of a lot of substr(s, 1, -1) down the line when I want to dereference URIs
16:44:37 [webr3]
presbrey, it was like that last time - problem is IRI vs string IRI in object position - would *really* like to drop it
16:45:11 [webr3]
it's an issue I still don't understand fully tbh, lexical string literal IRI vs <IRI> - why we need both
16:45:58 [presbrey]
<IRI> is fine with me if you are calling the syntax turtle, foo, bar, or baz
16:46:24 [webr3]
quite tempted to have just "http://iri.here" all the time, and if somebody wants a string-iri to use a typed literal - what do you think?
16:46:32 [presbrey]
but as soon as you say JSON, my standards for interop go way up
16:47:46 [presbrey]
the name is fun, jsn3, hehe
16:49:30 [presbrey]
I'm curious what the use cases are for jsn3
16:49:43 [presbrey]
might help me understand your tradeoffs more
16:51:00 [presbrey]
do you have any apps that use this syntax?
16:51:46 [presbrey]
maybe the process of implementing a demo would help iron out these questions
16:53:29 [webr3]
prsebrey, fully agree - think that's my next step tonight - got loads of use cases for graph literals, still unsure about rules
16:53:52 [webr3]
one thing, having named rules and being able to use them like web-store procedures does sound fun!
16:54:26 [webr3]
results = store.applyRule( uri-of-rule );
16:54:37 [webr3]
web-stored*
16:55:43 [webr3]
also considering paths, or doing a 'selectors' subsection which is like paths - need more use-cases and examples of paths in the wild though
17:29:14 [mhausenblas]
mhausenblas has quit (Quit: mhausenblas)
18:09:14 [mcherian]
mcherian (~mathew@c-24-91-159-17.hsd1.ma.comcast.net) has joined #dig
18:57:13 [mcherian]
mcherian has quit (Ping timeout: 245 seconds)
19:19:39 [mcherian]
mcherian (~mathew@c-24-91-159-17.hsd1.ma.comcast.net) has joined #dig
21:15:11 [kennyluck]
kennyluck has quit (Quit: kennyluck)
21:42:34 [kennyluck]
kennyluck (~kennyluck@EM114-48-179-113.pool.e-mobile.ne.jp) has joined #dig
21:56:29 [kennyluck]
kennyluck has quit (Quit: kennyluck)
23:48:31 [webr3]
timbl, made more (?progress) w/ json-rdf, now jsn3 see: http://webr3.org/apps/specs/jsn3/#advanced-concepts - any feedback appreciated, can't figure whether to put rules in there or not - also whether to wrap IRIs in <>
23:51:44 [webr3]
q, does a rule ever comprise of any more than a single triple? { ?a :b ?c } => { ?c :x ?a }; => { ?c a :foo }
23:58:30 [kennyluck]
kennyluck (~kennyluck@EM111-188-76-58.pool.e-mobile.ne.jp) has joined #dig