cancel
Showing results for 
Search instead for 
Did you mean: 

Online Distance/Lag Calculator

Highlighted
Assistant Professor

Online Distance/Lag Calculator

There have been numerous discussions talking about lag time in these forums, but never something that allows you to actually figure it out. So I started the process of throwing together a simple javascript-driven page that allows you to calculate the overall signal distance and lag time: Distance and Lag Time Calculator.

 

Basically you just enter your satellite. either your gateway or beam#, and your location. It's supposed to auto-fill your location if you leave it blank, but it doesn't work just yet... in progress. It's been quickly thrown together so I haven't prettied it up yet. Mostly in the process of getting the guts to work the way it should.

 

Not sure what the admins think of having something like this available. I may be wrong, but I'm pretty sure the underlying information is out in the open somewhere.

 

Leave it up? Take it down? Slap me for having too much time on my hands? Other comments?


* Disclaimer: I am a HughesNet customer and not a HughesNet employee. All of my comments are my own and do not necessarily represent HughesNet in any way.
16 REPLIES 16
Moderator
Moderator

Re: Online Distance/Lag Calculator

Woah Mark! This is cool. I sent this over to our engineers for their input.

 

-Liz

 

Please create a new thread in the community if you have a question or need help. Unsolicited Private Messages may not get replies.
Assistant Professor

Re: Online Distance/Lag Calculator

I may work on it some more, like adding drop-downs for the top two lines, and maybe splitting out the gateway and beam instead of using the same input box. I'd really like the location thing to work too.


* Disclaimer: I am a HughesNet customer and not a HughesNet employee. All of my comments are my own and do not necessarily represent HughesNet in any way.
Associate Professor

Re: Online Distance/Lag Calculator

Hmm, have you thought about trying to pull the BeamID and Satellite ID from the modem it self, then add a field to request "real" latency from a webservice?

Also, mind if I either jack your script and put it on my site, or link to that script from my site?

Assistant Professor

Re: Online Distance/Lag Calculator


@C0RR0SIVE wrote:

Hmm, have you thought about trying to pull the BeamID and Satellite ID from the modem it self, then add a field to request "real" latency from a webservice?


Thought about it, but it does restrict you to acutally be on the network to do that.

 


Also, mind if I either jack your script and put it on my site, or link to that script from my site?

Either way is fine, but a link would be easier.

 

Also, just found out that the geocoder that determines your location only works in a secure environment. So the link should be https:// not http://. Then all you need to do is pop in J2 and your beam# and click the Calculate button.

 

Bear in mind mine was waaaaay off. Said the accuaracy was within 1900m, but it's more like 50 klicks off, if that.

 

Edit: Now you don't even have to enter J2. It's an option box that defaults to it. I also Bootstrapped it (look and feel) and added my standard header and footer to pretty it up some.


* Disclaimer: I am a HughesNet customer and not a HughesNet employee. All of my comments are my own and do not necessarily represent HughesNet in any way.
Moderator
Moderator

Re: Online Distance/Lag Calculator

Hi Mark,

 

No one's objected to you pursuing this project so I don't see why you should stop (unless you want to of course).

 

-Liz

 

Please create a new thread in the community if you have a question or need help. Unsolicited Private Messages may not get replies.
Assistant Professor

Re: Online Distance/Lag Calculator


@Liz wrote:

No one's objected to you pursuing this project so I don't see why you should stop (unless you want to of course).


Hooah. Was going to add miles to the kms, but it was mostly there.

 

Did happen to notice that the new Firefox for iOS (fxios) had a problem with automatically getting the user's geolocation info tho. #fun


* Disclaimer: I am a HughesNet customer and not a HughesNet employee. All of my comments are my own and do not necessarily represent HughesNet in any way.
Distinguished Professor IV

Re: Online Distance/Lag Calculator

What's interesting is that the the latency calculation is the same for both my actual location and my browser calculated location, which is about 50 miles from here.  It's 50 miles away, but pretty much the same distance from the satellite as my actual location, so it makes sense. 

 

I expected it to be more off, as my browser generated location isn't usually this close.  


AMD Ryzen 5 3400G | XPG SX8200 Pro 500GB M.2 NVMe SSD | Western Digital Blue 500GB HDD | 16GB Corsair DDR4-3000 | Windows 10 Pro 64-bit
Assistant Professor

Re: Online Distance/Lag Calculator

50 out of 95,000 or so isn't going to be a big change... 0.05%



 


* Disclaimer: I am a HughesNet customer and not a HughesNet employee. All of my comments are my own and do not necessarily represent HughesNet in any way.
Distinguished Professor IV

Re: Online Distance/Lag Calculator


@MarkJFine wrote:

50 out of 95,000 or so isn't going to be a big change... 0.05%




Thought it's 50 miles away from me, it's just slightly south of due east, so it's actually pretty much on the same distance arc from the satellite.  I'd be surprised if the actual difference in distance to the satellite was more than five miles.


AMD Ryzen 5 3400G | XPG SX8200 Pro 500GB M.2 NVMe SSD | Western Digital Blue 500GB HDD | 16GB Corsair DDR4-3000 | Windows 10 Pro 64-bit