cancel
Showing results for 
Search instead for 
Did you mean: 

Online Distance/Lag Calculator

Highlighted
Associate 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.
24 REPLIES 24
Highlighted
Moderator
Moderator

Re: Online Distance/Lag Calculator

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

 

-Liz

 

If you have a tech or billing question and need help, please start a new thread in the appropriate board. Unsolicited Private Messages may not get replies.

Highlighted
Associate 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.
Highlighted
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?

Highlighted
Associate 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.
Highlighted
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

 

If you have a tech or billing question and need help, please start a new thread in the appropriate board. Unsolicited Private Messages may not get replies.

Highlighted
Associate 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.
Highlighted
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.  


Ryzen 5 3400G | MSI B450M Pro-M2 MAX | 16GB Corsair Vengeance DDR4 3000 | XPG SX8200 Pro 512GB NVMe | Windows 10 Pro
Highlighted
Associate 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.
Highlighted
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.


Ryzen 5 3400G | MSI B450M Pro-M2 MAX | 16GB Corsair Vengeance DDR4 3000 | XPG SX8200 Pro 512GB NVMe | Windows 10 Pro