IRC log of dig on 2012-03-21
Timestamps are in UTC.
- 00:49:00 [Pipian_]
- Pipian_ has quit (Quit: Pipian_)
- 02:30:34 [rszeno]
- rszeno has quit (Quit: Leaving.)
- 02:35:57 [rszeno]
- rszeno (~rszeno@79.114.100.50) has joined #dig
- 03:25:33 [timbl]
- timbl (~timbl@c-24-62-225-11.hsd1.ma.comcast.net) has joined #dig
- 05:00:15 [nunnun]
- nunnun is now known as nunnun_away
- 05:17:34 [nunnun_away]
- nunnun_away is now known as nunnun
- 05:29:18 [nunnun]
- nunnun is now known as nunnun_away
- 05:37:11 [melvster]
- melvster (~melvin@p5797FFBB.dip.t-dialin.net) has joined #dig
- 05:38:08 [nunnun_away]
- nunnun_away is now known as nunnun
- 05:59:51 [nunnun]
- nunnun is now known as nunnun_away
- 06:15:22 [nunnun_away]
- nunnun_away is now known as nunnun
- 07:26:51 [nunnun]
- nunnun is now known as nunnun_away
- 08:02:59 [nunnun_away]
- nunnun_away is now known as nunnun
- 09:10:42 [cheater]
- cheater has quit (Ping timeout: 246 seconds)
- 09:31:56 [cheater]
- cheater (~cheater@p4FD0EF35.dip.t-dialin.net) has joined #dig
- 11:11:07 [RalphS]
- RalphS (Ralph@30-7-118.wireless.csail.mit.edu) has joined #dig
- 11:45:06 [bblfish]
- betehess: found a bug in Play 2.0 https://play.lighthouseapp.com/projects/82401-play-20/tickets/269-wsexecutestream-always-returns-null
- 11:45:29 [bblfish]
- looks like they did not test this or that anybody is using these iteratees...
- 12:29:51 [timbl]
- timbl has quit (Ping timeout: 246 seconds)
- 13:00:35 [danbri]
- danbri (~danbri@cpc6-aztw25-2-0-cust83.aztw.cable.virginmedia.com) has joined #dig
- 13:47:18 [timbl]
- timbl (~timbl@31-35-210.wireless.csail.mit.edu) has joined #dig
- 13:49:09 [betehess]
- betehess has quit (Ping timeout: 244 seconds)
- 14:04:08 [betehess]
- betehess (~betehess@betehess.w3.org) has joined #dig
- 14:04:09 [timbl]
- timbl has quit (Quit: timbl)
- 14:05:54 [timbl]
- timbl (~timbl@31-35-210.wireless.csail.mit.edu) has joined #dig
- 14:21:15 [Pipian_]
- Pipian_ (~pipian@31-33-168.wireless.csail.mit.edu) has joined #dig
- 14:25:25 [Deiu]
- Deiu (~deiu@unaffiliated/deiu) has joined #dig
- 14:37:06 [Deiu]
- Hello!
- 14:37:37 [Deiu]
- Does anyone in here work on rdflib.js?
- 14:38:13 [Deiu]
- I have some questions. :)
- 14:43:21 [bblfish]
- hi Deiu
- 14:43:45 [bblfish]
- I am not the most knowledgeable on it but just ask your question...
- 14:45:11 [Deiu]
- I'm trying to modify the foaf card example from rdflib.js repository, in order to add multiple URIs as input.
- 14:46:26 [Deiu]
- If I try to display one webid at a time, it works just fine. However, if I pass a list (for which I then use a for loop) it breaks with "Uncaught TypeError: Cannot call method 'append' of undefined".
- 14:46:30 [bblfish]
- ah yes I touched that code
- 14:46:52 [Deiu]
- Example here: http://webid.fcns.eu/lookup/
- 14:47:14 [Deiu]
- If you use only one URI, it works (no matter which).
- 14:47:50 [bblfish]
- that's javascript, not java
- 14:48:12 [bblfish]
- the best is to debug it with your browsers debugger
- 14:48:22 [bblfish]
- Firefox, Chrome and Safari have good ones
- 14:48:35 [Deiu]
- I tried, but no concrete results.
- 14:48:36 [bblfish]
- you can set break points
- 14:49:05 [bblfish]
- javascript like php is not statically typed
- 14:49:32 [bblfish]
- so it looks to me like it is callind a method that does not exist or trying to append something on an non existent object
- 14:50:06 [bblfish]
- I find javascript tricky because of that
- 14:50:27 [Deiu]
- Yeah, but I'm not calling that method.
- 14:50:47 [Deiu]
- Nor appending anything, anywhere...
- 14:51:17 [bblfish]
- perhaps you did not transform your objects into URIs or perhaps it was not expecting a list
- 14:52:01 [Deiu]
- If you use the example with one URI, it works.
- 14:52:04 [bblfish]
- You can check my AddressBook code in there as another example
- 14:52:16 [Deiu]
- It's the same code in the end, with a list containing a single element.
- 14:52:29 [danbri]
- danbri has quit (Remote host closed the connection)
- 14:52:45 [bblfish]
- perhaps it is rewriting the dom and deleted something which it has no pointer to on the second round
- 14:52:48 [Deiu]
- The error appears once the loop has more than one iterations.
- 14:53:34 [Deiu]
- Hold on...
- 14:56:58 [Deiu]
- Nope, I'm only appending data, not overwriting.
- 14:59:00 [bblfish]
- some of those debuggers may be able to point to the position the error is happening in the code
- 14:59:07 [bblfish]
- I am myself not a js expert either
- 15:00:17 [Deiu]
- I'll keep looking into it. Thanks though!
- 15:07:44 [bblfish]
- you need to set a CORS proxy btw. IT should be set to data.fm already.
- 15:28:16 [melvster1]
- melvster1 (~melvin@p4FF962C2.dip.t-dialin.net) has joined #dig
- 15:28:53 [melvster]
- melvster has quit (Ping timeout: 248 seconds)
- 16:02:05 [bblfish]
- me reported that Scala Play 2.0 issue to the Play mailing list https://groups.google.com/d/topic/play-framework/xRlj37tiqjg/discussion
- 16:28:26 [bblfish]
- damn it might have been faster writing this in java in the end...
- 17:18:54 [rszeno]
- Deiu, it give me a error, 404 when i push display
- 17:20:06 [Deiu]
- rszeno, try again
- 17:20:14 [Deiu]
- It works over here..
- 17:27:25 [rszeno]
- yes, here too
- 17:49:38 [Deiu]
- Deiu has quit (Ping timeout: 245 seconds)
- 19:14:06 [timbl]
- timbl has quit (Quit: timbl)
- 19:14:55 [timbl]
- timbl (~timbl@31-35-210.wireless.csail.mit.edu) has joined #dig
- 19:36:05 [bblfish]
- betehess: do you know how to convert (wrap) a java Future into an akka one?
- 19:37:34 [betehess]
- no
- 19:37:51 [betehess]
- can you register an callback to a java future?
- 19:38:04 [betehess]
- if yes:
- 19:38:25 [betehess]
- 1. create akka Promise and return it as the akka future (it's a subtype)
- 19:38:52 [betehess]
- 2. on java future termination, send the result to the akka promise
- 19:38:59 [betehess]
- should do it
- 19:39:24 [betehess]
- you don't wrap, you chain the messages
- 19:39:54 [bblfish]
- I got the future from netty using play
- 19:40:03 [bblfish]
- play returns java Futures
- 19:40:24 [bblfish]
- I think in fact I can register a callback
- 19:40:53 [bblfish]
- because it is a netty ListenableFuture<T>
- 19:40:57 [bblfish]
- ok
- 19:41:23 [bblfish]
- got it
- 19:41:25 [bblfish]
- thanks :-)
- 19:43:37 [timbl]
- timbl has quit (Quit: timbl)
- 19:51:04 [timbl]
- timbl (~timbl@31-35-210.wireless.csail.mit.edu) has joined #dig
- 20:20:08 [RalphS]
- RalphS has quit ()
- 21:20:45 [timbl]
- timbl has quit (Quit: timbl)
- 21:22:11 [timbl]
- timbl (~timbl@31-35-210.wireless.csail.mit.edu) has joined #dig
- 21:22:32 [melvster1]
- melvster1 has quit (Read error: Operation timed out)
- 21:40:25 [melvster]
- melvster (~melvin@p5797F523.dip.t-dialin.net) has joined #dig
- 21:52:34 [timbl]
- timbl has quit (Quit: timbl)
- 22:30:46 [tlr]
- tlr has quit (Quit: tlr)
- 23:18:57 [tlr]
- tlr (~tlr@88.207.162.149) has joined #dig
- 23:20:34 [melvster]
- melvster has quit (Ping timeout: 276 seconds)