IRC log of dig on 2010-06-04
Timestamps are in UTC.
- 00:07:07 [mcherian]
- mcherian has quit (Ping timeout: 248 seconds)
- 00:34:07 [amy]
- amy has quit (Quit: bye)
- 02:14:04 [lkagal]
- lkagal (~lkagal@pool-96-237-240-136.bstnma.fios.verizon.net) has joined #dig
- 02:17:54 [oshani]
- oshani has quit (Quit: oshani)
- 04:36:48 [mcherian]
- mcherian (~mcherian@c-24-61-8-94.hsd1.ma.comcast.net) has joined #dig
- 05:02:31 [mcherian]
- mcherian has quit (Quit: Leaving)
- 06:13:39 [kennyluck]
- kennyluck (~kennyluck@EM114-48-64-222.pool.e-mobile.ne.jp) has joined #dig
- 07:20:33 [mhausenblas]
- mhausenblas (~mhausenbl@wg1-nat.fwgal01.deri.ie) has joined #dig
- 08:35:31 [kennyluck]
- kennyluck has quit (Quit: kennyluck)
- 11:02:18 [Ralph]
- Ralph (~swick@30-7-139.wireless.csail.mit.edu) has joined #dig
- 11:02:23 [Ralph]
- Ralph is now known as RalphS
- 12:23:41 [marisol]
- marisol (~marisol@pool-68-160-154-130.bos.east.verizon.net) has joined #dig
- 13:25:48 [oshani]
- oshani (~oshani@31-35-71.wireless.csail.mit.edu) has joined #dig
- 13:45:05 [timbl_]
- timbl_ (~timbl@pool-96-237-236-72.bstnma.fios.verizon.net) has joined #dig
- 13:49:17 [timbl_]
- timbl_ has quit (Ping timeout: 245 seconds)
- 13:49:37 [timbl]
- timbl has quit (Ping timeout: 265 seconds)
- 13:54:17 [mcherian]
- mcherian (~mcherian@c-24-61-8-94.hsd1.ma.comcast.net) has joined #dig
- 14:21:06 [lkagal]
- lkagal has quit (Quit: lkagal)
- 14:25:35 [timbl]
- timbl (~timbl@31-33-253.wireless.csail.mit.edu) has joined #dig
- 14:59:17 [mcherian]
- mcherian has quit (Ping timeout: 245 seconds)
- 15:09:33 [lkagal]
- lkagal (~lkagal@30-6-179.wireless.csail.mit.edu) has joined #dig
- 15:11:57 [oshani]
- oshani has quit (Quit: oshani)
- 15:12:25 [timbl]
- timbl has quit (Remote host closed the connection)
- 15:12:33 [timbl]
- timbl (~timbl@w3cdhcp5.w3.org) has joined #dig
- 15:12:45 [oshani]
- oshani (~oshani@31-35-71.wireless.csail.mit.edu) has joined #dig
- 15:17:28 [ericP]
- oshani, am i able to send to #dig?
- 15:17:43 [ericP]
- (well, didn't see a "-!- #dig Cannot send to channel", so probably)
- 15:19:04 [kennyluck]
- kennyluck (~kennyluck@EM114-48-18-81.pool.e-mobile.ne.jp) has joined #dig
- 15:20:42 [oshani]
- ericP, yes we can see your messages
- 15:21:40 [ericP]
- tx
- 15:33:59 [oshani]
- oshani has quit (Quit: oshani)
- 15:34:51 [oshani]
- oshani (~oshani@31-35-71.wireless.csail.mit.edu) has joined #dig
- 15:35:05 [mcherian]
- mcherian (mcherian@31-34-205.wireless.csail.mit.edu) has joined #dig
- 15:46:31 [oshani]
- oshani has quit (Quit: oshani)
- 16:22:11 [oshani]
- oshani (~oshani@31-35-71.wireless.csail.mit.edu) has joined #dig
- 17:19:45 [mhausenblas]
- mhausenblas has quit (Quit: brb)
- 17:20:52 [lkagal]
- lkagal has quit (Quit: lkagal)
- 17:21:08 [presbrey]
- hey ericP figure out how to export the swig interfaces?
- 17:22:29 [lkagal]
- lkagal (~lkagal@30-6-179.wireless.csail.mit.edu) has joined #dig
- 17:29:47 [oshani]
- oshani has quit (Quit: oshani)
- 17:48:00 [ericP]
- presbrey, mcherian was working on that
- 17:48:16 [ericP]
- biq q's are:
- 17:48:34 [ericP]
- did it create interfaces for the stuff in the .ccp files we pointed it at?
- 17:48:39 [presbrey]
- nope
- 17:48:51 [ericP]
- did it create interfaces for the stuff in the headers they include?
- 17:48:58 [ericP]
- prolly not then, huh?
- 17:48:59 [presbrey]
- my take from the swig doc is that there are supposed to be wrappers for each class/func in the .py
- 17:49:13 [ericP]
- and you didn't see anything?
- 17:49:31 [presbrey]
- no
- 17:49:38 [ericP]
- mcherian has an example one in which he is able to call a sample function
- 17:49:39 [presbrey]
- no RdfDb, no nothing
- 17:49:43 [ericP]
- weak
- 17:49:45 [presbrey]
- hmm
- 17:49:48 [presbrey]
- paste
- 17:50:02 [ericP]
- mcherian, ears on?
- 17:50:12 [presbrey]
- the example I saw on the swig site shows
- 17:50:30 [presbrey]
- %module{$includes} $wrap-definitions
- 17:50:41 [presbrey]
- the SWObject.i only contains %module{$includes}
- 17:50:54 [presbrey]
- I think you can get it to auto-create interfaces for everything using '-includeall' flag?
- 17:51:13 [presbrey]
- not completely sure though, im a swig newbie
- 17:52:52 [ericP]
- i think he gave me some dropbox ptrs...
- 17:54:26 [ericP]
- in example.cpp, he was able to call factorial
- 17:55:06 [ericP]
- sorry, fact
- 17:55:17 [ericP]
- the next test would be to call test, but that didn't work
- 17:56:42 [presbrey]
- there aren't any functions like fact() 'exported' in sw.i like there are in his example.i
- 17:56:47 [presbrey]
- there probably needs to be
- 17:57:10 [presbrey]
- im not actually sure whats useful to export
- 17:58:04 [kennyluck]
- oshani, do you have any idea how I write an entry on the DIG blog?
- 18:00:55 [ericP]
- can you find the reflection that prints out fact?
- 18:00:58 [lkagal]
- lkagal has quit (Quit: lkagal)
- 18:02:33 [lkagal]
- lkagal (~lkagal@30-6-179.wireless.csail.mit.edu) has joined #dig
- 18:04:14 [presbrey]
- probably
- 18:04:21 [ericP]
- $(python example.py build_ext --inplace) -> "ImportError: No module named _example"
- 18:04:43 [ericP]
- odd, i'd have expected it had to do some compiling before it tried to import that
- 18:05:37 [ericP]
- ahh, i should be calling something like $(python example_setup.py build_ext --inplace)
- 18:06:10 [ericP]
- here's the recipe:
- 18:06:12 [ericP]
- swig -c++ -o example_wrap.cpp -python example.i
- 18:06:20 [ericP]
- python setup.py build_ext --inplace
- 18:06:31 [presbrey]
- In [11]: filter(lambda x: not x[0].startswith('_'), example.__dict__.items())
- 18:06:31 [presbrey]
- Out[11]: [('fact', <built-in function fact>)]
- 18:06:57 [presbrey]
- yeah my swig actually produces a example_wrap.cxx
- 18:06:58 [ericP]
- coool, how'd you ge that?
- 18:07:12 [ericP]
- sorry, what was your print statement?
- 18:07:21 [presbrey]
- `ipython`
- 18:09:09 [ericP]
- neato
- 18:09:20 [ericP]
- what is it?
- 18:09:52 [presbrey]
- its doing my 'print statement'
- 18:10:14 [ericP]
- i guess i'll have to prefix all my exportables with SWIG #defined to nothing and then use awk to generate the file
- 18:10:26 [presbrey]
- yeah
- 18:10:46 [ericP]
- hello noisy code
- 18:11:26 [ericP]
- maybe objdump and some exclude list
- 18:12:05 [ericP]
- i wonder if the demangler is good enough for deriving prototypes
- 18:23:40 [oshani]
- oshani (~oshani@31-35-71.wireless.csail.mit.edu) has joined #dig
- 18:42:04 [marisol]
- marisol has quit (Quit: marisol)
- 19:01:15 [timbl_]
- timbl_ (~timbl@31-33-253.wireless.csail.mit.edu) has joined #dig
- 19:05:14 [timbl]
- timbl has quit (Ping timeout: 265 seconds)
- 19:05:14 [timbl_]
- timbl_ is now known as timbl
- 19:55:22 [kennyluck]
- kennyluck has quit (Ping timeout: 265 seconds)
- 19:56:38 [kennyluck]
- kennyluck (~kennyluck@EM114-48-18-81.pool.e-mobile.ne.jp) has joined #dig
- 20:20:44 [RalphS]
- RalphS has quit (Quit: leaving ...)
- 20:57:11 [oshani]
- oshani has quit (Quit: oshani)
- 20:58:15 [oshani]
- oshani (~oshani@31-35-71.wireless.csail.mit.edu) has joined #dig
- 21:06:31 [kennyluck]
- kennyluck has quit (Ping timeout: 240 seconds)
- 21:13:15 [kennyluck]
- kennyluck (~kennyluck@EM114-48-40-82.pool.e-mobile.ne.jp) has joined #dig
- 21:13:46 [oshani]
- timbl, saw "Semantic Web for the Working Ontologist" lying on a desk near the W3C lunch area... mind if I read it and return to you after the weekend?
- 21:44:22 [lkagal]
- lkagal has quit (Quit: lkagal)
- 21:55:53 [oshani]
- oshani has quit (Quit: oshani)
- 22:07:31 [mcherian]
- mcherian has quit (Quit: Leaving)
- 22:11:32 [timbl]
- timbl has quit (Quit: timbl)
- 22:57:11 [timbl]
- timbl (~timbl@pool-96-237-236-72.bstnma.fios.verizon.net) has joined #dig
- 23:00:02 [oshani]
- oshani (~oshani@31-35-71.wireless.csail.mit.edu) has joined #dig
- 23:00:19 [oshani]
- oshani has quit (Client Quit)
- 23:42:37 [presbrey]
- presbrey has quit (Ping timeout: 264 seconds)
- 23:50:07 [kennyluck]
- kennyluck has quit (Quit: kennyluck)