edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
* Re: [Edbrowse-dev] Caroline, different
       [not found] <20170823054132.eklhad@comcast.net>
@ 2017-09-23 10:14 ` Kevin Carhart
  2017-09-23 12:12   ` Karl Dahlke
  2017-09-23 12:30   ` Karl Dahlke
  2017-09-23 10:19 ` [Edbrowse-dev] why is nasa slow Kevin Carhart
  1 sibling, 2 replies; 5+ messages in thread
From: Kevin Carhart @ 2017-09-23 10:14 UTC (permalink / raw)
  To: edbrowse-dev



> I haven't called up www.radiocaroline.co.uk in a long time.
> That's one of the complicated sites on our list.

As a matter of fact, I loaded this again recently also and I have a notes 
file on my computer called edbrowse_radiocaroline.rtf.  Here's what I 
learned when I pulled it up:
-------------------------------------

Here are the specifics: I got a salient puzzle.  radiocaroline wants to 
say:
document.createElement('canvas').getContext;

And also, it wants window.Worker.. wait, is this really the case?  In 
flipping radio caroline?  It seems to me that the routine sits there, but 
is never referenced?

Okay, forgetting about workers, here's a 2nd thing:
         if (!"onhashchange" in window) {
     alert("Sorry you are using an unsupported browser - please upgrade to 
the latest version");
         }
--------------------------------------

So it wants onhashchange in window.  I don't know yet what that means, but 
since I happen to have notes, there you go.

Second subject is nasa but I fear an email crash so I am bailing out and 
will send a second message.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Edbrowse-dev] why is nasa slow
       [not found] <20170823054132.eklhad@comcast.net>
  2017-09-23 10:14 ` [Edbrowse-dev] Caroline, different Kevin Carhart
@ 2017-09-23 10:19 ` Kevin Carhart
  1 sibling, 0 replies; 5+ messages in thread
From: Kevin Carhart @ 2017-09-23 10:19 UTC (permalink / raw)
  To: edbrowse-dev



> We should also ask why nasa is so crazy slow, 1.5 minutes to browse, how long does it take in another browsers?

This isn't a complete answer but when I run with db5, it noticeably sits 
still, adding to the delay, with nothing being logged, right after kill 
tag 333:

kill tag object 340
gc 0x38546c8
kill tag text 337
gc 0x3854758
kill tag object 335
gc 0x3807de8
kill tag object 333

And then when picks up and logs more stuff, it's calling fetchHTTP about 
six or seven times.  The log says "xhr1", "xhr2" etc.

I don't know what that means for where it is in the edbrowse run, but 
does this tell you where it is?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Edbrowse-dev] Caroline, different
  2017-09-23 10:14 ` [Edbrowse-dev] Caroline, different Kevin Carhart
@ 2017-09-23 12:12   ` Karl Dahlke
  2017-09-23 12:30   ` Karl Dahlke
  1 sibling, 0 replies; 5+ messages in thread
From: Karl Dahlke @ 2017-09-23 12:12 UTC (permalink / raw)
  To: edbrowse-dev

[-- Attachment #1: Type: text/plain, Size: 899 bytes --]

> document.createElement('canvas').getContext;

The Canvas object is for drawing stuff. I tried to use it to my advantage, for making pictures for my website, though I never got it to work.
http://www.eklhad.net/canvas.c
That's ok, I made a better program based on Image Magick
http://www.eklhad.net/letterart.c
But I digress.
I could implement the Canvas object, but it would have to have all the draw methods inside it, in case the webside actually tried to use it.
I'll work on that as time permits.

> window.Worker

Don't know what that is.

> onhashchange

I looked this up and it is a function that fires when window.location.hash changes.
This is a location within the current web page.
There's just suppose to be a default handler, I guess, so I made one.
It doesn't fire when hash changes though, I haven't made that connection, but at least it's there.

Karl Dahlke

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Edbrowse-dev] Caroline, different
  2017-09-23 10:14 ` [Edbrowse-dev] Caroline, different Kevin Carhart
  2017-09-23 12:12   ` Karl Dahlke
@ 2017-09-23 12:30   ` Karl Dahlke
  2017-09-24  0:05     ` Kevin Carhart
  1 sibling, 1 reply; 5+ messages in thread
From: Karl Dahlke @ 2017-09-23 12:30 UTC (permalink / raw)
  To: edbrowse-dev

[-- Attachment #1: Type: text/plain, Size: 200 bytes --]

> document.createElement('canvas').getContext;

We now have a Canvas class, with stubs for the methods I know about, though there might be many more methods that I don't know about.

Karl Dahlke

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Edbrowse-dev] Caroline, different
  2017-09-23 12:30   ` Karl Dahlke
@ 2017-09-24  0:05     ` Kevin Carhart
  0 siblings, 0 replies; 5+ messages in thread
From: Kevin Carhart @ 2017-09-24  0:05 UTC (permalink / raw)
  To: edbrowse-dev



Excellent.. I'm glad you knew how to run with my cryptic notes.  Teamwork.
I remember one thing caroline was trying to do was to show a clickable 
list of days.  Each one triggers ajax, and loads the radio schedule for 
that day into a central location, possibly an iframe.  I haven't followed 
up yet, but we now have a lot more of these components so maybe we have a 
better shot at having the radiocaroline schedule function!  I remember 
Adam mentioning that this (link triggers xhr, overwrites iframe content) 
is a frequent idiom.

I also emailed Sami to ask about more widespread conversion of [ecmascript 
code] into lines of javascript, which we could use in situations where it 
never reaches your recent implementation of a function.body.  .body is 
getting populated some of the time, but some of the time it isn't.  Sami 
said perhaps, and he's aware of the request!  Others have also asked for 
it.

Kevin


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-09-24  0:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20170823054132.eklhad@comcast.net>
2017-09-23 10:14 ` [Edbrowse-dev] Caroline, different Kevin Carhart
2017-09-23 12:12   ` Karl Dahlke
2017-09-23 12:30   ` Karl Dahlke
2017-09-24  0:05     ` Kevin Carhart
2017-09-23 10:19 ` [Edbrowse-dev] why is nasa slow Kevin Carhart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).