by Wxc2jjJmST9XWWL · 4y ago · 0 comments
'easier way to test my ping than pulling up a terminal', ... so a non https website that needs javascript is better than terminal-shortcut + <terminal>$ ping 8.8.8.8</terminal> (or whatever you want to ping, you also could set up an alias/function in your .bashrc to do something more complex)...
can I hit that point home: "easier way than pulling up my terminal", answer: a non-https javascript needing website!!!
>>> 'super simple: clone it to some device that's always on, compile it, set up some systemd stuff, and it's ready to rock on port 8180'
"super simple"... sounds... super simple... installing rust nightly as we speak to build it /s
this world of ours
For a bit of context:
I found myself using this site via my xbox's web browser to make sure my wifi latency is acceptable where I put the xbox.
Also, my spouse and I just moved to a new place, so I used this site on my phone to get a quick idea of the latency on wifi in my spouse's office.
There's tons of web-based tools to test your bandwidth, but I feel there just isn't a similar ecosystem of quick, web-based "ping" (well, latency, since I can't send ICMP packets from a web browser) tools.
-
RE: HTTP only, good point. I've set up certbot and the page supports https now. I am not certain how HTTPS will impact the latency measurements, it appears the results are typically a bit higher and occasionally much higher when using HTTPS.
-
I don't get the disappointment with the use of JS. It's just a bit of inline JS, easy to manually audit if concerned. JS is quite safe IMO and is a very powerful tool, it makes a rich universe of interactive applications possible in the humble web browser. I basically got into CS because of the fun I had creating things for and sharing things on the web.
Sure you did. But there's a whole category of phone apps called Wifi Heat maps, that would actually be "super simple" for a non-techie to use.
People are commenting on your use of javascript, where you are arguing that you built a super simple solution. As many already pointed out, the ping command is already there and is more "super simple" to use than to self host a website to get a skewed HTTP "ping" from some cloud service...
Mine does, and in fact I have used the ping command from it before. I highly recommend having a terminal app.
Then maybe it's not for you, but some of us absolutely have had that thought and find it incredibly useful.
On your phone you run for example Fing
Fing iOS: https://apps.apple.com/us/app/fing-network-scanner/id4309211...
Fing Android: https://play.google.com/store/apps/details?id=com.overlook.a...
With Fing App’s free tools and utilities help you:
• Scan networks with Fing’s Wi-Fi & LAN network scanner and discover all devices connected to any network
• Get the most accurate device recognition of IP address, MAC address, device name, model, vendor and manufacturer
• Run WiFi and Cellular internet speed tests, download speed and upload speed analysis and latency
• Browse internet outages in your area, ISP ratings, reviews and speed statistics
• Advanced device analysis of NetBIOS, UPnP, SNMP and Bonjour names, properties and device types
• Includes port scanning, device ping, traceroute and DNS lookup
• Receive network security and device alerts to your phone and email