IRC log of dig on 2010-09-03

Timestamps are in UTC.

00:13:54 [oshani]
oshani (~oshani@31-33-38.wireless.csail.mit.edu) has joined #dig
00:47:07 [knappy]
knappy (~haoqi@pool-96-231-70-6.washdc.east.verizon.net) has joined #dig
00:49:22 [timbl]
timbl (~timbl@pool-96-237-236-230.bstnma.fios.verizon.net) has joined #dig
00:50:18 [melvster]
melvster has quit (Ping timeout: 240 seconds)
00:56:06 [lkagal]
lkagal (~lkagal@pool-96-237-240-136.bstnma.fios.verizon.net) has joined #dig
02:46:48 [mcherian]
mcherian (~mathew@c-24-91-159-17.hsd1.ma.comcast.net) has joined #dig
02:50:24 [timbl]
Yes, you can make a new tracker by just copying the tabulator racker definition file and adapting it -- make sure you specify a different data store. .. you can tweak the states, and the categories ...
02:51:33 [knappy]
hey timbl, sorry that was the wrong room
02:51:52 [knappy]
I'm just wondering if you see any dropdowns if you click on a blue arrow now?
02:52:24 [knappy]
because I don't, and I don't know if it was something I did?
02:52:53 [knappy]
thanks
02:53:53 [timbl]
Which blue arrow - one on a predicate pane or the single general one at the bottom?
02:54:15 [knappy]
neither shows dropdowns for me
02:54:47 [timbl]
For me for example the general blue corrs gives me a dropdown fine for http://tabulator.org/wiki/tabulator/tracker/issue#issue101
02:55:04 [knappy]
ok lemme try there
02:55:23 [timbl]
In the deafult pane
02:56:07 [knappy]
eck
02:56:17 [knappy]
I don't get a drop down
02:56:19 [knappy]
><
02:56:27 [timbl]
I don't get one for the predicate panel for the objects though
02:56:48 [knappy]
hmm, do you know why that is?
02:57:10 [knappy]
wait
02:57:13 [knappy]
I'm getting a dropdown
02:57:20 [timbl]
No, it could be that the ontology lets Kenny thoing a ring value i allowed
02:57:29 [timbl]
i'm not sure what his logic is there
02:57:34 [knappy]
ok
02:57:41 [knappy]
Also internet at home is so slow
02:57:45 [knappy]
I might have a huge delay
02:57:54 [oshani]
oshani has quit (Quit: Mama nidi!)
02:57:58 [timbl]
The dropdow should be done locally.
02:59:05 [knappy]
true
02:59:36 [knappy]
eck I hope I didn't breake the predicate panel dropdown
02:59:59 [timbl]
If you did we can fid it and fxi it
03:00:28 [timbl]
can't make an omelet and all that
03:00:47 [knappy]
omelet?
03:00:52 [timbl]
Looking at the classic etst case http://dig.csail.mit.edu/2007/wiki/people/JoeLambda#JL
03:01:10 [knappy]
lol
03:01:23 [timbl]
I ought to get a drop down for adding to the "knows"
03:02:22 [knappy]
is the predicate drop down critical to fix right now?
03:02:46 [timbl]
What I don'y understand is what comes in the dropdown -- the general one for exmpel doesn't have "knows" in it. I think maybe it used to
03:03:15 [timbl]
No
03:03:26 [timbl]
Not critical to fix this Thursday evening
03:03:57 [knappy]
results=tabulator.lb.search(inputText)
03:04:09 [knappy]
that's for general autocomplete
03:04:10 [timbl]
It will have to be fixed before we release.
03:04:32 [knappy]
when is the release?
03:04:40 [timbl]
When there is no input text, it gives a list of about 10 now
03:05:21 [timbl]
activity, altitude, author, content, creation, creator, date, files, inreplyto
03:05:45 [timbl]
Most of those look like the things defined on the class Message
03:05:53 [timbl]
noton the class people.
03:07:08 [knappy]
var results=tabulator.lb.searchAdv(inputText,undefined,'predicate');
03:07:32 [knappy]
that's where the predicate autocomplete gets the menu stuff
03:08:09 [knappy]
when is the release?
03:08:46 [timbl]
No scheduel yet ..there was a talk in the meeting of making a release in the fall some time
03:08:53 [timbl]
no panic
03:09:15 [timbl]
But also we don't want to leave it until you've forgotten what you remember about this
03:09:29 [timbl]
By the way, one thing you can do is to review the changes
03:09:34 [timbl]
Sometimes you spot things
03:10:08 [knappy]
review what changes?
03:10:33 [timbl]
if you do hg diff -r**** userinput.js where **** is a rev you think worked, you can look at the things which changed in between them and just think about whether they make sense
03:10:43 [timbl]
for example
03:11:22 [timbl]
(good to go and hg diff | less before you commit too)
03:11:45 [knappy]
ok
03:11:54 [knappy]
that's good to know
03:13:22 [timbl]
hg diff -r1002 userinput.js
03:14:25 [knappy]
cool thanks
03:14:39 [timbl]
Just in case it makes you think of seomthing
03:14:49 [timbl]
Otherwise its dump statements as usual
03:14:53 [timbl]
:-/
03:15:10 [knappy]
dump statements?
03:15:22 [timbl]
for debugging
03:15:31 [knappy]
oh
03:17:21 [knappy]
it's only been 2 days
03:17:26 [knappy]
lol
03:17:42 [timbl]
:-) you are on vacation!
03:19:33 [timbl]
If I click on the blue plus at the bottom JoeLambda#JL I get """
03:19:38 [timbl]
***** In getAutoCompleteHandler ******
03:19:38 [timbl]
InputBox=[object XPCNativeWrapper [object HTMLInputElement]]
03:19:38 [timbl]
InputBox.value=
03:19:39 [timbl]
""" twice.
03:20:01 [timbl]
Then:
03:20:02 [knappy]
yeah that's because it's called twice
03:20:05 [timbl]
ENTER EVENT=1
03:20:05 [timbl]
1. outside (if eneterEvent)
03:20:05 [timbl]
epX=9, epY=954.4166870117188
03:20:05 [timbl]
2. in (if enterEvent). with type =number
03:20:06 [timbl]
predicateAC after switch, nextxt=mode is predicate
03:20:06 [timbl]
==============
03:20:06 [timbl]
**** In showMenu ****
03:20:07 [timbl]
===========
03:20:07 [timbl]
CREATED MENU
03:20:07 [timbl]
menu at top=954.417px left=9px
03:20:08 [knappy]
lol
03:20:09 [timbl]
________________
03:20:12 [knappy]
those are all my dumps
03:20:13 [knappy]
sorry
03:20:19 [knappy]
should I clear them out?
03:20:56 [timbl]
No, use them to figure why I don't get a dropdown
03:21:00 [timbl]
I don't one at all now
03:21:09 [timbl]
Wjenn i used to get tose 10 preds
03:21:24 [timbl]
so it looks as though something (maybe the idea of what the subject is) is random
03:21:42 [knappy]
hmm yeah I didn't get drop downs before I messaged you, but then after you told me you get dropdowns I tried again a few times and I got them again
03:22:12 [timbl]
Ok, so something being passed as a wrong parameter ....
03:22:28 [timbl]
Like the params inthe wrong orer, if you added a param to en existing routin e.
03:22:52 [timbl]
Other think to test is that you have put "var" whenever you introduce a variable.
03:23:20 [knappy]
ok
03:23:21 [timbl]
If you omit it you can stomp on a variable ssomewhere else and that can mke very random effects
03:23:31 [timbl]
This applies to loop variables too.
03:23:33 [knappy]
oh interesting
03:23:43 [timbl]
If you don't declarethem they are global
03:23:45 [knappy]
like inside a for loop?
03:23:53 [timbl]
A big trap for python p[rogrammers using js
03:24:00 [knappy]
wow
03:24:09 [knappy]
okay I'm going to go through line by line
03:24:25 [knappy]
eck I have to go soon tonight though
03:24:27 [timbl]
Yes. You can write for (var i=0; i<f.length; i++)
03:25:08 [knappy]
I might have to do it next week because I'm going to the middle of nowhere mountain in WV with no internet
03:25:17 [timbl]
bit if yo don't declare I and just write for(=0; i<f.length; i++) then the I is shared with all kidsn of ther places
03:25:32 [timbl]
Enjoy it. Check in what you have
03:25:40 [knappy]
btw the twice thing is because in performAutoCompleteEdit, getAutoCompleteHandler(menu) is called twice
03:25:45 [timbl]
I might have a look at it but I m not sure I will have time
03:25:51 [knappy]
once is: this.lastModified.addEventListener('keypress',this.getAutoCompleteHandler(menu),false);
03:26:02 [knappy]
then immediately after that line is: this.getAutoCompleteHandler(menu)(1);
03:26:09 [timbl]
Enjoy the mountains of WV and having no net!
03:26:36 [knappy]
the second time is called is because "1" is passed in as a dummy event so that even when nothing is typed in the input boxes yet, a dropdown shows
03:27:03 [knappy]
(I don't think I'll enjoy the having no internet part"
03:27:09 [timbl]
The this.lastModified.addEventListener call doesn't call the handler though nromally, itjust attaches the listener
03:27:48 [timbl]
(in that case you should spend a month with no internet until you do appreciate it ;-) just kiddding
03:28:07 [timbl]
well half kidding
03:28:12 [knappy]
lol
03:28:38 [oshani]
oshani (~oshani@c-71-233-151-72.hsd1.ma.comcast.net) has joined #dig
03:29:00 [knappy]
the this.lastModified.addEventListener call attaches the handler to keypresses
03:29:02 [knappy]
hmmm
03:29:14 [knappy]
I see that it shouldn't call the handler
03:29:17 [knappy]
okay that's strange
03:36:40 [timbl]
**** In showMenu, menuType = PredicateAutoComplete
03:41:51 [knappy]
what?
03:42:12 [timbl]
I'm just sticking more dumps in for me
03:42:17 [knappy]
ohhhh
03:43:38 [timbl]
I'll remove them -- probably just revert the module later
03:43:50 [knappy]
ok thanks
03:45:30 [knappy]
ok tim I have to go to bed soon, but I'll email you a question I have about click on dropdown
03:46:35 [timbl]
me too, i have things to do tomorrow
03:46:37 [timbl]
ok
03:46:45 [timbl]
goodnight
03:47:02 [knappy]
goodnight. thanks for those valuable hints
03:53:24 [timbl]
thanks for working on it on vacation
04:19:20 [knappy]
you did it too :)
04:31:43 [nunnun]
nunnun is now known as nunnun_away
05:00:56 [knappy]
knappy has left #dig
05:07:16 [lkagal]
lkagal has quit (Quit: lkagal)
05:08:09 [oshani]
oshani has quit (Quit: Mama nidi!)
06:02:13 [mcherian]
mcherian has quit (Ping timeout: 245 seconds)
06:44:46 [SimpsonTP]
SimpsonTP (~bart@office.netage.nl) has joined #dig
07:36:23 [mhausenblas]
mhausenblas (~mhausenbl@wlan-nat.fwgal01.deri.ie) has joined #dig
08:15:07 [ktkNA]
ktkNA is now known as ktk
10:13:02 [melvster]
melvster (~melvster@p5797F1CE.dip.t-dialin.net) has joined #dig
10:46:21 [ktk]
ktk is now known as ktkNA
11:30:53 [melvster]
melvster has quit (Ping timeout: 276 seconds)
11:40:52 [Ralph]
Ralph (~swick@30-7-139.wireless.csail.mit.edu) has joined #dig
11:41:05 [Ralph]
Ralph is now known as RalphS
11:45:16 [marisol]
marisol (~marisol@pool-141-154-35-45.bos.east.verizon.net) has joined #dig
12:05:26 [presbrey]
presbrey has quit (Ping timeout: 264 seconds)
12:07:20 [presbrey]
presbrey (~presbrey@SCRIPTS.MIT.EDU) has joined #dig
12:10:47 [ktkNA]
ktkNA is now known as ktk
12:34:20 [oshani]
oshani (~oshani@c-71-233-151-72.hsd1.ma.comcast.net) has joined #dig
12:36:24 [timbl_]
timbl_ (~timbl@pool-96-237-236-230.bstnma.fios.verizon.net) has joined #dig
12:40:06 [timbl]
timbl has quit (Ping timeout: 265 seconds)
12:41:04 [timbl_]
timbl_ has quit (Ping timeout: 265 seconds)
13:12:59 [oshani]
oshani has quit (Ping timeout: 265 seconds)
13:41:10 [oshani]
oshani (~oshani@31-33-38.wireless.csail.mit.edu) has joined #dig
13:47:19 [nunnun_away]
nunnun_away is now known as nunnun
14:06:40 [mcherian]
mcherian (~mathew@c-24-91-159-17.hsd1.ma.comcast.net) has joined #dig
14:10:39 [marisol]
marisol has quit (Quit: marisol)
14:42:39 [marisol]
marisol (~marisol@31-33-212.wireless.csail.mit.edu) has joined #dig
14:54:55 [lkagal]
lkagal (~lkagal@pool-96-237-240-136.bstnma.fios.verizon.net) has joined #dig
14:55:55 [mcherian]
mcherian has quit (Ping timeout: 265 seconds)
14:56:54 [marisol]
marisol is now known as mari-bbiab
15:01:09 [oshani]
oshani has quit (Quit: Mama nidi!)
15:03:26 [oshani]
oshani (~oshani@31-33-38.wireless.csail.mit.edu) has joined #dig
15:04:41 [gbot27]
gbot27 (~gbot9@config.fsf.org) has joined #dig
15:05:18 [gbot9]
gbot9 has quit (Ping timeout: 276 seconds)
15:13:51 [nunnun]
nunnun is now known as nunnun_away
15:31:09 [nunnun_away]
nunnun_away is now known as nunnun
16:04:13 [mhausenblas]
mhausenblas has quit (Quit: brb)
16:15:02 [mari-bbiab]
mari-bbiab is now known as marisol
16:15:34 [marisol]
marisol has quit (Quit: marisol)
17:10:35 [timbl]
timbl (~timbl@31-33-143.wireless.csail.mit.edu) has joined #dig
17:37:41 [lkagal]
ericP ?
17:38:13 [ericP]
hi lkagal
17:38:23 [ericP]
i haven't made it to work, if that's what you're wondering
17:39:19 [lkagal]
Hi Eric, please could you send me a link to Lee's sparql tutorial ?
17:39:54 [lkagal]
Is this it http://www.cambridgesemantics.com/2008/09/sparql-by-example/
17:40:17 [ericP]
yup, that's 1.0
17:40:27 [ericP]
he's got a 1.1, but i expect we'll leave that for class
17:40:53 [ericP]
so that's the html tutorial
17:41:02 [lkagal]
Yes, thats what I thought 1.1 for class
17:41:02 [ericP]
there's a narrated movie with it
17:41:04 [ericP]
http://www.google.com/url?sa=t&source=web&cd=3&ved=0CB0QFjAC&url=http%3A%2F%2Fwww.semanticuniverse.com%2Fsparql-example-part-i-%25E2%2580%25A2-q-lee-feigenbaum.html&rct=j&q=lee%20feigenbaum%20sparql%20tutorial&ei=6jKBTMrSMIO78gbboIHvAQ&usg=AFQjCNFKI_Aess_f1Df6W_CyH0q3PvA_ng&cad=rja
17:41:13 [ericP]
oof, friggin' google
17:41:17 [lkagal]
Eeps
17:41:27 [ericP]
http://www.semanticuniverse.com/sparql-example-part-i-%E2%80%A2-q-lee-feigenbaum.html
17:42:41 [ericP]
i had to watch it online (couldn't download and play it) 'cause i'm a ludite linux user
17:45:14 [oshani]
oshani has quit (Quit: Mama nidi!)
17:49:55 [marisol]
marisol (~marisol@pool-141-154-126-117.bos.east.verizon.net) has joined #dig
17:54:21 [oshani]
oshani (~oshani@31-33-38.wireless.csail.mit.edu) has joined #dig
18:13:52 [mcherian]
mcherian (~mathew@30-6-25.wireless.csail.mit.edu) has joined #dig
18:38:45 [oshani]
timbl, take a look at this: http://stackoverflow.com/questions/2237222/how-to-correctly-close-a-feature-branch-in-mercurial
18:39:58 [marisol]
marisol has quit (Quit: marisol)
18:46:51 [oshani]
oshani has quit (Quit: Mama nidi!)
19:06:13 [nunnun]
nunnun is now known as nunnun_away
19:12:10 [oshani]
oshani (~oshani@c-71-233-151-72.hsd1.ma.comcast.net) has joined #dig
19:32:47 [marisol]
marisol (~marisol@31-33-212.wireless.csail.mit.edu) has joined #dig
20:16:30 [nunnun_away]
nunnun_away is now known as nunnun
20:19:02 [presbrey]
I should put the wiki hg in dig AFS space, eh?
20:20:29 [RalphS]
RalphS has quit (Quit: leaving ...)
20:48:52 [nunnun]
nunnun is now known as nunnun_away
20:59:54 [marisol]
marisol has quit (Quit: marisol)
21:33:09 [mcherian]
mcherian has quit (Ping timeout: 260 seconds)
21:55:14 [Pipian]
Pipian has quit (Remote host closed the connection)
22:36:20 [amy]
amy has quit (Quit: bye)
22:43:02 [timbl]
timbl has quit (Quit: timbl)
23:03:53 [oshani]
oshani has quit (Quit: Mama nidi!)
23:09:39 [nunnun_away]
nunnun_away is now known as nunnun
23:20:02 [ktk]
ktk is now known as ktkNA
23:25:09 [SimpsonTP]
SimpsonTP has quit (Ping timeout: 260 seconds)
23:31:53 [nunnun]
nunnun is now known as nunnun_away
23:37:23 [nunnun_away]
nunnun_away is now known as nunnun
23:44:51 [betehess]
betehess has quit (Quit: Leaving)
23:50:47 [timbl]
timbl (~timbl@pool-96-237-236-230.bstnma.fios.verizon.net) has joined #dig
23:54:42 [nunnun]
nunnun is now known as nunnun_away
23:57:24 [nunnun_away]
nunnun_away is now known as nunnun