kalleboo / pingmenu Goto Github PK
View Code? Open in Web Editor NEWShow the current latency of your connection in your Mac OS X menu bar
License: Other
Show the current latency of your connection in your Mac OS X menu bar
License: Other
Hi, love the utility!
Was hoping to tinker with it some myself soon too, but untill then, perhaps you can quickly plug this in: could you make the dropdown menu display when the last request was made (e.g. 3s ago, 4s ago ... 1m25s ago). Right now it seems like it's stuck when there is no connection because it keeps displaying the info of the latest request number, while I suspect that it keeps checking but doesn't show a new number as long as nothing changes (e.g. it keeps getting no route to host)?
The ping with the number #65535
(which occurs after leaving the app running for 3 days and 19 hours) takes forever, and a ping #65536
is never started. This is annoying if you keep the app running in the background continuously.
I've encountered many networks where icmp packets (from ping) are blocked by a firewall. It would help if there was a fallback mechanism, like opening an http/s connection to the host without actually making a request, i.e. telnet www.google.com 80
.
There are some warning but it run:
a. unsigned int seq = NSNotFound;
warning : "Implicit conversion from 'const NSInteger' (aka 'const long') to 'unsigned int' changes value from 9223372036854775807 to 4294967295"
b. const ICMPHeader * icmpPtr;
warning: "Code will never be executed"
Still finding the 5 sec request etc. Change the target OS to 10.9 and modify the screen with the freq. But need to do a lot more and stop for the moment.
Title says it all: is it possible to add
(1) a preferences option to change (i.e. reduce) the ping frequency, and
(2) an option in the menu to disable (and when disabled enable) the pings?
When I click on PingMenu icon in top bar and select "Preferences" nothing happens, there is no menu. I'm on Macbook Pro with Mavericks 10.9.5. Any ideas?
When the ping sequence counter reaches 65536, the ping turns into an endless timeout line (it will just keep counting "forever").
PingMenu uses 100% CPU if there is no internet connection. I noticed when watching a film on a plane with my Macbook pro, the fans turned on a the CPU was at maximum, and a very high Energy Impact (see below image). This has been easily reproducible for me, every time I turn on my computer and have not connected to wifi yet.
I presume having an auto updater included would be quite a bit of work, but would it be possible to have a simple version check at least so there is some notification when there is a new release out?
Hello kalleboo,
Very nice app! I've been looking for something like this for ages. But all the apps I found were either for 10.7+ version of OS X or didn't provide any customization.
Your app is ideal, however I wonder if it would require too much effort to make your app compatible with 10.6.8?
Thanks!
Hi,
This is pretty much exactly what I was looking for, but could you put up a recently compiled version or a guide on how to compile? Thanks in advance!
Your tool is great. Thanks for building it!!
I just installed OS X Yosemite and was looking forward to switch to the dark status bar. Unfortunately some tools I use don't support the dark background yet โ one of them being PingMenu:
I read about how to detect darkMode on stackoverflow: http://stackoverflow.com/questions/25379525/how-to-detect-dark-mode-in-yosemite-to-change-the-status-bar-menu-icon
Does anyone have sufficient Objectiv-C knowledge to implement a font-color change?
I use Obsidian to blacken my menu bar, so I'd like the normal text to be #5D5D5D. Is there a way a non-developer could quickly change this? I looked in the Package Contents of the compiled app, but it's not apparent where this change could be made.
Previously I had been using https://github.com/antirez/iconping , but it suffers from a memory leak and hasn't been updated in years. So I switched over to your app and love it. But I really miss the simple colored icon in the menubar from iconping. I already have several other menu items which display textual numbers, so it takes me an extra second to figure out which one is PingMenu's. And once I find it, I have to mentally parse the number (even though the text color changes, the human mind still automatically parses numbers when they are presented). When presented with just a colored icon, my mind doesn't need to spend that extra fraction of a second parsing and interpreting the number.
When a ping drops (#5 in the image), looks like the counter keeps going on and waiting for the response even though further pings work, it is not timing out. It can become a memory overhead after some time running.
Great pp anyways, thank you for sharing this.
I'd love to get notifications on my connection drops, and when it reconnects. Any chance of this?
The longer text strings can make the indicator disappear from the crowded menubar of a small macbook air.
Would a traffic lights style indicator be possible please to resolve the problem?
(I've made a fork with a lightly modified version to do this but it's shameful, as I have never used git/github/xcode before! Works ok though - thanks for publishing source)
after running for a few days, memory has slowly climbed from just under 10MB to now 30MB. the rate of leakage appears to be very similar to that of iconping [1], so not sure if it's a similar bug in the app, or they both trigger the same bug in the OS.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.