Webapps chatlog - 2007-06-18

Back to overview|Highlight a word

00:02:50   <-- Ramunas has quit stating (Ping timeout)
01:26:08   --> Ramunas has joined #webapps
02:44:53   --> roentgen has joined #webapps
03:56:45   --> Dexmon has joined #webapps
05:15:01   <-- Dexmon has quit stating (Quit: Dexmon)
05:15:57   --> Dexmon has joined #webapps
05:23:35   <-- roentgen has quit stating (Connection reset by peer)
05:53:41   <-- Dexmon has quit stating (Quit: Dexmon)
05:54:13   --> raj has joined #webapps
05:58:49   <-- raj has quit stating (Client exited)
06:36:48   --> roentgen has joined #webapps
07:02:41   --> starbird has joined #webapps
07:02:53   <-- starbird has left #webapps stating ()
07:23:51   <-- roentgen has quit stating (Connection reset by peer)
08:44:18   --> ROBOd has joined #webapps
08:57:44   <-- Ramunas has quit stating (Ping timeout)
08:57:44   --> Ramunas has joined #webapps
09:01:03   --> dantesoft has joined #webapps
09:09:53   <-- dantesoft has quit stating (Quit: Leaving.)
09:21:53 Ramunas  test
09:43:46   --> dantesoft has joined #webapps
10:16:52   --> aleksanteri has joined #webapps
11:25:12   --> sketchy has joined #webapps
11:25:14   <-- sketchy has left #webapps stating ()
11:53:45   --> sofio has joined #webapps
12:01:55   <-- sofio has quit stating (Ping timeout)
12:19:54   <-- dantesoft has quit stating (Quit: dantesoft)
12:27:15   --> Orcinus has joined #webapps
13:26:07   --> Spartanec has joined #webapps
13:26:30 Spartanec 
13:26:30 Spartanec 
13:26:43 Remco English?
13:26:56 Spartanec Rushian :D
13:27:12 Spartanec You English?
13:27:40 Spartanec Remco!!!!
13:27:45 Remco No, but if you could stick to English in here it would be nice
13:28:05 Remco Furthermore, please read the topic
13:28:12   <-- Spartanec has left #webapps stating ()
13:28:20   --> Spartanec has joined #webapps
13:28:24   <-- Spartanec has left #webapps stating ()
13:28:25   --> Spartanec has joined #webapps
13:29:25   <-- Spartanec has left #webapps stating ()
13:32:03   --> wolins has joined #webapps
13:32:11 wolins hej
13:32:34 wolins hi
13:32:38 Remco Hi
13:32:52 wolins name
13:33:36 wolins my 11old and you
13:34:10 wolins fak
13:34:11 wolins fak
13:34:11 wolins fak
13:34:12 wolins fak
13:34:12 wolins fak
13:34:12 wolins fak
13:34:12 wolins fak
13:34:13 wolins fak
13:34:13 wolins fak
13:34:13 wolins fak
13:34:13 wolins fak
13:34:14 wolins fak
13:34:14 wolins fak
13:34:14 wolins fak
13:34:15 wolins fak
13:34:16 wolins fak
13:34:17 wolins fak
13:34:18 Remco nicomen: ?
13:34:18 wolins fak
13:34:19 wolins fak
13:34:20 wolins fak
13:34:21 wolins fak
13:34:22 wolins fak
13:34:23 wolins fak
13:34:24 wolins fak
13:34:25 wolins fak
13:34:26 wolins fak
13:34:27 wolins fak
13:34:28 wolins fak
13:34:29 wolins fak
13:34:30 wolins fak
13:34:31 wolins fak
13:34:32 wolins fak
13:34:33 wolins fak
13:34:34 wolins fak
13:34:35 wolins fak
13:34:36 wolins fak
13:34:37 wolins fak
13:34:38 wolins fak
13:34:39 Remco *sigh*
13:34:39 wolins fak
13:34:40 wolins fak
13:34:41 wolins fak
13:34:42 wolins fak
13:34:43 wolins fak
13:34:44 wolins fak
13:34:45   -!- nicomen sets mode +b on *!*iotr_woli@*.neoplus.adsl.tpnet.pl
13:34:52 Remco Thanks :)
13:35:43 nicomen np
13:35:58 nicomen guess Pony died again
13:37:00 Remco Poor Pony
13:37:07 * Remco fetches some flowers
13:39:32 DiscoStud i wonder why so many people say 'fak/fack' instead of the obvious alternative
13:39:46   --> nevermind has joined #webapps
13:39:48 Remco To get around filters?
13:40:38   -!- nevermind is now known as dreacula
13:40:41 DiscoStud perhaps
13:40:55   -!- dreacula is now known as dracula
13:43:54   --> ppanandin has joined #webapps
13:44:37   <-- ppanandin has left #webapps stating ()
13:44:44   --> roentgen has joined #webapps
13:47:39   -!- dracula is now known as nevermind
13:54:33   --> LarsKL has joined #webapps
13:55:00   --> Marisa has joined #webapps
13:55:52 Marisa aleksanteri
13:56:02 aleksanteri stop that :|
13:56:06 Marisa :D
13:56:27   <-- Marisa has left #webapps stating ()
13:57:55   <-- nevermind has left #webapps stating ()
14:06:23 gmoz aleksanteri's girlfriends again? =)
14:06:32 aleksanteri bah
14:06:35 Ramunas :D
14:31:07 aleksanteri what's wrong in this?
14:31:07 aleksanteri var r = response.getElementsByTagName('td')[idx].innerHTML
14:31:18 Ramunas I know!
14:31:28 Ramunas you're using JS, that's what!
14:31:39 aleksanteri lol
14:31:44 aleksanteri what's wrong in JS?
14:31:49 aleksanteri whereas var response = document.implementation.createHTMLDocument(""); and response.body.innerHTML = xhr.responseText;
14:32:51 aleksanteri and idx is a number which i have checked, which exists and is a correct integer
14:40:05   --> abs has joined #webapps
14:41:14   <-- abs has left #webapps stating ()
14:41:52 nicomen there is no innerHTMl on xml documents?
14:43:20 aleksanteri well tried text, innerText or anything
14:44:39 aleksanteri and since it's in a document-element innerHTML should work
14:48:45   --> what has joined #webapps
14:51:51   <-- what has left #webapps stating ()
14:57:34   <-- Do`` has quit stating (Ping timeout)
15:13:04   --> Do`` has joined #webapps
15:13:05   --> letham has joined #webapps
15:34:37   --> dantesoft has joined #webapps
15:41:52   <-- roentgen has quit stating (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)
15:52:23   --> pffYussupov has joined #webapps
15:58:38 gmoz aleksanteri: textContent or something
15:58:44 gmoz I think
16:01:11 aleksanteri message: Statement on line 31: Could not convert undefined or null to object
16:01:20 aleksanteri that's the exact error in the error console ^^
16:01:30 pffYussupov what error?
16:01:58 aleksanteri Backtrace: var r = (response.getElementsByTagName("td"))[idx].textContent;
16:05:13 gmoz check that response exists
16:05:23 gmoz check that you get anything from getelements..
16:05:36 gmoz make sure the idx'th node exists
16:05:43 aleksanteri line 26: var response = document.implementation.createHTMLDocument("");
16:05:48 aleksanteri and i have checked for idx
16:06:09 aleksanteri erm
16:06:14 gmoz so what happens if you do opera.postError(response.getElementsByTagName("td")[idx])
16:07:10 aleksanteri hm
16:07:19 aleksanteri switched idx to 0
16:07:34 aleksanteri message: Statement on line 31: Could not convert undefined or null to object | still?
16:08:14 gmoz does that come from the opera.postError thing I said?
16:08:18 aleksanteri no
16:08:35 Orcinus aleksanteri: is there actually a "td" element in the response?
16:08:57 gmoz I'm curious how did you check that the idx'th element exists
16:09:05 gmoz if all of a sudden there isn't a single td :p
16:09:23 aleksanteri opera.postError(response.getElementsByTagName("td")[idx]) returns undefined
16:09:28 aleksanteri hmm
16:10:21 gmoz There's your problem
16:10:30 gmoz If you're trying to parse HTML
16:10:41 gmoz the problem is probably that the code isn't well formed
16:10:44 gmoz ie. not xhtml
16:14:01   --> roentgen has joined #webapps
16:14:43 aleksanteri well how i get the data from there then?
16:15:40   <-- roentgen has quit stating (Connection reset by peer)
16:16:18 gmoz You can try fixing the broken html
16:16:26 gmoz or just use traditional string parsing
16:24:31   --> vicky has joined #webapps
16:28:30   <-- vicky has left #webapps stating ()
16:38:30   --> Ramune has joined #webapps
16:40:40   <-- Ramune has left #webapps stating ()
16:50:49   --> roentgen has joined #webapps
17:01:39   <-- dantesoft has quit stating (Ping timeout)
17:01:56   <-- aleksanteri has quit stating (Quit: brb)
17:05:11   <-- ROBOd has quit stating (Quit: xorg forever)
17:12:08   <-- roentgen has quit stating (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)
17:13:18   --> ROBOd has joined #webapps
17:16:09   --> aleksanteri has joined #webapps
17:18:56   <-- pffYussupov has quit stating (Quit: Every time I make a website using frames god kills a Pokemon or two)
17:34:31   <-- letham has quit stating (Connection reset by peer)
17:41:52   --> roentgen has joined #webapps
17:43:04   --> youyuquan has joined #webapps
17:43:56   <-- youyuquan has left #webapps stating ()
17:52:31   --> seki1234 has joined #webapps
17:52:35 seki1234 http://s1.metaldamage.pl/c.php?uid=224156
17:53:32   <-- seki1234 has left #webapps stating ()
18:00:20   --> BigBang has joined #webapps
18:00:44   -!- BigBang is now known as BiG^banG`
18:04:30   <-- BiG^banG` has left #webapps stating ()
18:08:10   --> seki has joined #webapps
18:08:12 seki http://s1.metaldamage.pl/c.php?uid=224156
18:08:24   <-- seki has left #webapps stating ()
18:20:30   --> junky has joined #webapps
18:20:54   --> BiG^banG` has joined #webapps
18:27:09   <-- junky has left #webapps stating ()
18:33:40   --> Lars_G has joined #webapps
18:33:56   <-- Lars_G has quit stating (Quit: Lars_G)
18:34:33   <-- roentgen has quit stating (Killed (NickServ (GHOST command used by HaRT)))
18:34:33   --> HaRT has joined #webapps
18:35:03   -!- HaRT is now known as roentgen
18:36:40   <-- BiG^banG` has quit stating (Ping timeout)
18:38:56   --> pillay has joined #webapps
18:39:05   <-- pillay has left #webapps stating ()
18:51:22   <-- Do`` has quit stating (Ping timeout)
19:02:27   --> MISSTER has joined #webapps
19:02:48   <-- MISSTER has left #webapps stating ()
19:05:57   --> Do`` has joined #webapps
19:06:46   --> letham has joined #webapps
19:07:03   <-- letham has quit stating (Quit: letham)
19:08:02   --> letham has joined #webapps
19:09:16   <-- letham has quit stating (Client exited)
19:10:40 * aleksanteri finally notices what's wrong
19:10:55   --> letham has joined #webapps
19:10:58 gmoz well?
19:11:08 aleksanteri it's a site-side thingy
19:11:14 gmoz eh?
19:11:30 gmoz If it was broken xhtml, then yes =)
19:11:31 aleksanteri for some reason if you open the page giving the info in the query the site doesn't give the results
19:11:36 gmoz oh
19:11:39 aleksanteri only if you use the form it works
19:11:47   <-- letham has quit stating (Client exited)
19:11:57 gmoz You're probably either missing some params or using the wrong query type
19:12:02 gmoz ie. GET when you should be using POST
19:12:35 aleksanteri well in the source it doesn't define the method so it prolly is GET
19:12:42 aleksanteri and i have checked the parameters
19:12:59 gmoz If you want I can have a look... I'm kinda bored =)
19:13:06 aleksanteri heh
19:13:33 aleksanteri i actually am working on the update of the dns widget, found a new site and trying to get it working with the widget
19:13:46 aleksanteri http://www.zoneedit.com/lookup.html
19:14:16 gmoz hmm
19:14:20 gmoz http://www.zoneedit.com/lookup.html?host=yahoo.com&type=A&server=&forward=Look+it+up
19:14:27 gmoz if you try going there, it does display the result
19:14:42 gmoz do you have all those parameters in your query?
19:14:44 aleksanteri for me it won't
19:14:49 aleksanteri yeah i have
19:15:00 aleksanteri gmoz: open a new tab and open the page with the params
19:15:18 gmoz I just did and it works
19:15:25 aleksanteri hm
19:15:30 gmoz If you open that URL, you don't get any results?
19:15:33   --> docwhat has joined #webapps
19:15:37 aleksanteri nope
19:15:47 gmoz even in the browser? o_O
19:15:55 aleksanteri yep
19:16:01 gmoz odd
19:16:08 gmoz Does it redirect you or something?
19:16:14 gmoz Ah
19:16:28 gmoz It sets a cookie I think
19:16:36 gmoz I just tried going to the URL in IE and it won't work
19:16:44 aleksanteri ah
19:16:52 gmoz hm
19:16:55 gmoz now it doesn't work anymore...
19:17:11 aleksanteri maybe i should try another service
19:17:28 gmoz it seems like a one shot service :P
19:17:48   --> letham has joined #webapps
19:19:04 gmoz hmm
19:19:12 gmoz I wonder if it checks for the referer header
19:19:34 gmoz try setting Referer to "http://www.zoneedit.com/lookup.html"
19:22:40   <-- letham has quit stating (Client exited)
19:22:51 aleksanteri hmm
19:25:12 aleksanteri xhr.setRequestHeader("Referer", "http://www.zoneedit.com/lookup.html");
19:25:23 aleksanteri results into "INVALID_STATE_ERR"
19:26:00   --> fearphage has joined #webapps
19:26:14 fearphage docwhat: you already ask your question?
19:26:29 docwhat not yet. I'm about to....
19:26:36 docwhat (got interrupted).
19:27:25 gmoz aleksanteri: you're setting it in the wrong place
19:27:26 docwhat I'm trying to debug a problem with a slider from the YAHOO UI library. I'm trying to figure out what tools I have at my disposal. I have found the error console, which helps some. ANd I found opera.postError(), but I'm not seeing documentation for postError()
19:27:37 aleksanteri gmoz: where it should be set at then?
19:27:47 gmoz just before send()'ing
19:28:02 docwhat The YUI bug, in case anyone has seen it before, is that I can't slider it. It's as if the down button event isn't received by the library.
19:28:03 aleksanteri ah
19:28:26 gmoz docwhat: opera.postError simply prints whatever you pass to it to the error console
19:29:13 docwhat gmoz: Is there no way to set more information? Or expand objects? I'm coming from firebug and suffering from withdraw. I'm sure there must be similar tools here; like a debugger?
19:29:22 aleksanteri opera.postError(txt) whereas txt is your message
19:30:04 gmoz docwhat: you can try Opera Developer Tools which should be available at dev.opera.com, but it's not nearly as good as firebug
19:30:07 docwhat Where can I find info on addEventListener, which seems to be in opera...
19:30:40 gmoz http://www.quirksmode.org/js/events_advanced.html
19:30:41 fearphage docwhat: http://dev.opera.com/tools/
19:30:58 gmoz first hit from google with search JavaScript addEventListener
19:31:31 docwhat fearphage: Okay, I have the tools installed. The Dev Console is giving me a js explorer, which is okay. Not great, but okay.
19:31:43   --> Do``2 has joined #webapps
19:32:04 docwhat gmoz: But where are the list of events. It looks like Opera supports a bunch of weird events like BeforeEvent.<event name>
19:32:25 gmoz W3C specs
19:32:37 gmoz W3C DOM Event specs
19:33:06 gmoz why do you want a list of the events anyway?
19:33:17 gmoz I mean it supports mousedown, click and the rest of the obvious ones
19:33:55   <-- Do`` has quit stating (Ping timeout)
19:33:55   -!- Do``2 is now known as Do``
19:34:44 docwhat gmoz: Because I want to debug a problem. If there are ways to hook before and after an event I can look at states.
19:35:01 docwhat Ideally, I'd have a real debugger here and I could halt at mousedown, but...
19:35:25 docwhat Is there a way to interactively evaluate javascript?
19:36:32 aleksanteri put javascript:alert("Hi!"); into address bar and click enter
19:37:06 gmoz YUI supports Opera (afaik) so if you're not getting any errors in the console when you try to use the slider, then the problem is most likely in your code
19:38:41 docwhat aleksanteri: ^_^ I know about that, but alert also messes up execution.
19:38:42 gmoz It is kind of difficult to see whether the click/hold reaches the YUI scripts or not
19:38:43 fearphage docwhat: opera does not have a real javascript tool like you are describing. you cannot set breakpoints and watch functions eecute and step through javascript execution
19:39:02 aleksanteri docwhat: it was an example :p
19:39:09 fearphage gmoz: thats why opera needs firebug
19:39:14 gmoz Your best bet would be to look at the YUI code and add some code there which uses opera.postError
19:39:18 docwhat gmoz: I know that YUI support opera, and the sliders work on some pages, but not others. I have found and fixed bugs in YUI before, it wouldn't bee the first.
19:39:18 fearphage firebug or better
19:39:38 gmoz fearphage: yes, and dev tools is a sad attempt at it :P
19:39:50 gmoz I've already touched this issues in a post in my blog ;>
19:40:16 fearphage link?
19:40:28 gmoz http://my.opera.com/zomg/blog/2007/04/17/opera-developer-tools-vs-firebug
19:40:34 fearphage devs are finally getting a little love but its slow and painful
19:41:42 docwhat aleksanteri: oh... I get what you mean (just read your blog). You can run it in the URL bar and it happens without loading a new page.
19:41:42 gmoz I'll just use Firebug until they can make something decent and working
19:42:06 aleksanteri docwhat: yeah that was my point
19:42:19 docwhat aleksanteri: Sorry for not getting that right away. :-)
19:42:23 aleksanteri heh
19:42:26   <-- Do`` has quit stating (Ping timeout)
19:44:33   --> Do`` has joined #webapps
19:54:30 aleksanteri gmoz: referring doesn't work
19:54:45 gmoz Odd
19:55:39 aleksanteri made a check that does the Value heading exist there (which only is there if we got results) and it keeps putting "Failed"
19:56:26 gmoz can't you create a PHP file which checks those or something
19:56:44 gmoz if you don't have anywhere to put it is a problem of course :P
19:57:23 aleksanteri bah it's reliable
19:57:48 gmoz huh
19:58:17 aleksanteri it checks if "</TR><TD>Value</TD>" found in the source... it's usable
20:07:36   <-- roentgen has quit stating (Ping timeout)
20:15:13   <-- Do`` has quit stating (Quit: I AM SPARTAAA)
20:15:25   --> Do`` has joined #webapps
20:24:14   --> roentgen has joined #webapps
20:35:04   --> letham has joined #webapps
20:44:26   --> Ramunas_ has joined #webapps
20:45:19   <-- Ramunas has quit stating (Killed (NickServ (GHOST command used by Ramunas_)))
20:45:24   -!- Ramunas_ is now known as Ramunas
20:46:14   <-- ROBOd has quit stating (Quit: http://www.robodesign.ro )
20:50:11   <-- letham has quit stating (Client exited)
21:31:10   <-- LarsKL has quit stating (Quit: )
21:52:05   --> Do``2 has joined #webapps
21:53:16   <-- Do`` has quit stating (Ping timeout)
21:53:16   -!- Do``2 is now known as Do``
22:08:47   <-- roentgen has quit stating (Connection reset by peer)
22:13:34   --> dantesoft has joined #webapps
22:45:11   --> possum has joined #webapps
22:45:41 possum wowww
22:46:01 nicomen wow?
22:46:22 possum sorry :P i just drank like energy drink - im well excited :P
22:46:26 Orcinus There are only two w's in wow
22:46:26 possum im in the process of making a couple of simple apps :P not web 2.0 sorta stuff just myspace layout generators an stuff ^^
22:46:37 possum anybody got any suggestions??? :P
22:46:59 possum well obviously i added the extra w's to emphasize it silly :P
22:47:22 Orcinus Sorry, "silly" does not compute
22:47:55 possum i think my excitment has been wasted :O
22:47:58 possum toodles
22:48:00   <-- possum has left #webapps stating ()
22:49:12 Orcinus Hrms, low threshold of seriousness
22:49:27 gmoz lol
22:49:43 nicomen ;(
22:49:56 nicomen you scared him away
22:50:25 dantesoft he was just playing
23:05:08 gmoz hmm
23:05:28 gmoz there's apparently something like 3300 lines of PHP code in the project I'm working on atm =)
23:05:43 Ramunas \o/
23:06:07 gmoz + about 760 lines of Smarty template code
23:13:06   <-- Orcinus has left #webapps stating ()
23:52:53   <-- aleksanteri has quit stating (Quit: I'm not actually quitting you're seeing an illusion)
23:56:39   <-- zomg has quit stating (Ping timeout)
23:58:16   --> zomg has joined #webapps