 gord27 join:2005-05-01 Mississauga, ON 2 edits | capsavvy needs an update to support off peak capsavvy needs an update to support the new off peak usage. looks like it's showing off peak upload as total and as a result estimated usage is understandably affected.
the plus side is i'm on pace for only 15gb usage this month!
edit - further to this it would be cool to see a total for peak usage as the teksavvy site only shows total usage which forces you to calculate total peak usage. which sucks cause peak usage is all you REALLY have to worry about.
edit 2 - also weird that teksavvy page shows a note about usage not including the current day when clearly it does if i have off peak usage and that only started today... i seem to recall it being something like a 4 hour delay. maybe they just put current day to cover their butts. |
|
 GuspazGuspazPremium,MVM join:2001-11-05 Montreal, QC kudos:16 | Yeah, I'll try to find some time to update it. |
|
|
|
 zacronThe nutterPremium join:2008-11-26 York, ON Reviews:
·TekSavvy DSL
·Bell Sympatico
| said by Guspaz:Yeah, I'll try to find some time to update it. If you are willing to post the source, I'm willing to make that happen.
Cheers,
Zacron -- If you don't want to lag, don't "bragg" |
|
 GuspazGuspazPremium,MVM join:2001-11-05 Montreal, QC kudos:16 | I do believe it's GPL'd, with the source included with each release. I'd want to code-review any update, though, if I was going to call it an official release. -- Developer: Tomato/MLPPP, Linux/MLPPP, etc »fixppp.org |
|
 gord27 join:2005-05-01 Mississauga, ON | reply to gord27 should have said this in my first post as well but i LOVE capsavvy and really appreciate the time and effort put into making it. |
|
 zacronThe nutterPremium join:2008-11-26 York, ON Reviews:
·TekSavvy DSL
·Bell Sympatico
| reply to Guspaz That's not an issue, can you pm me a link to download and then an email to send the finished code to?... I'm more than happy to make sure it meets your standards.
Thanks for building this tool!
Zacron -- If you don't want to lag, don't "bragg" |
|
 GuspazGuspazPremium,MVM join:2001-11-05 Montreal, QC kudos:16 | reply to gord27 »CapSavvy v3.0.3 released
Heh, my "standards". They're pretty lax, and CapSavvy is pretty badly designed, I'd probably do the whole thing rather differently if I was starting from scratch today :P The systray drawing code is particularly painfully bad. -- Developer: Tomato/MLPPP, Linux/MLPPP, etc »fixppp.org |
|
 zacronThe nutterPremium join:2008-11-26 York, ON Reviews:
·TekSavvy DSL
·Bell Sympatico
| said by Guspaz:http://www.dslreports.com/forum/r26358098-CapSavvy-v3.0.3-released
Heh, my "standards". They're pretty lax, and CapSavvy is pretty badly designed, I'd probably do the whole thing rather differently if I was starting from scratch today :P The systray drawing code is particularly painfully bad. Working on it, should have something "beta" in the next day or so... Doing it on my 1 hour train ride from Toronto to Hamilton lol -- If you don't want to lag, don't "bragg" |
|
 | reply to gord27 I decided to take a look at the code, and I decided to try to update the program to support this. I got it to parse the new page, and I'm now trying to figure out how I should display the new information in the program. I hope to have something done in a few hours. |
|
 | Okay. I just made modifications to the 3.0.3 code for CapSavvy. I've attached the updated EXE as well as the source code.
This is unofficial since Guspaz hasn't reviewed it, so he can take a look at the source included and make an official release.
New Features:
* Stats window now displays Total, Off Peak, and Peak usage * Option for System Tray to display either Total or Peak Usage |
|
 gord27 join:2005-05-01 Mississauga, ON | reply to gord27 looks good to me. awesome!
you guys are bomb! |
|
 GuspazGuspazPremium,MVM join:2001-11-05 Montreal, QC kudos:16 | reply to gord27 Looks like it works, although I'm seeing some issues that I should fix or tweak. Stuff like UI alignment, regex resiliency, etc. I'll try to roll an official version up tonight based on your changes. -- Developer: Tomato/MLPPP, Linux/MLPPP, etc »fixppp.org |
|
 AkFubarNothing is more constant than change join:2005-02-28 Toronto CAN. | reply to gord27 yay good news!  |
|
 CjSmth join:2012-02-08 Toronto, ON | reply to Guspaz Guspaz, thanks again for this utility! I've seen comments in the past that suggest it's easy to just check the webpage -- but the systray notice is very valuable for those of us using streaming video services to appliance-type devices (set top boxes, for example).
If the kids have spent a Saturday catching up on their favourite television series, my usage can go up 10gig with every computer off!
My only thought for a tweak would be an alternate - maybe even flashing - colour that would become the background if the estimated monthly peak usage was higher than a user-entered value. This would attract extra attention when usage history is suggesting overage is possible. |
|
 GuspazGuspazPremium,MVM join:2001-11-05 Montreal, QC kudos:16 | reply to gord27 My other project for the night, re-arranging my apartment's backup power and moving my server, took longer than I expected. I'll take a crack at polishing 3.0.4 a bit, but I don't think I'll have time to finish it tonight.
Oh well, you guys have Lyrrad's beta to keep you busy  -- Developer: Tomato/MLPPP, Linux/MLPPP, etc »fixppp.org |
|
 GuspazGuspazPremium,MVM join:2001-11-05 Montreal, QC kudos:16 | reply to gord27 OK, I've released the polished version as v3.1.0 here:
»CapSavvy v3.1.0 released
Updates since Darryl's version include UI tweaks to the main window, date/copyright updates, and a new regular expression.
The new regular expression is extremely lenient and generic:
@"<td>([\d\.,]+)</td>\s*<td>([\d\.,]+)</td>\s*<td>([\d\.,]+)</td>.*" +
@"<td>([\d\.,]+)</td>\s*<td>([\d\.,]+)</td>\s*<td>([\d\.,]+)</td>.*" +
@"<td>([\d\.,]+)</td>\s*<td>([\d\.,]+)</td>\s*<td>([\d\.,]+)</td>"
It will hopefully survive most changes that TekSavvy would make. There is, of course, the risk that a change by TekSavvy might fool the regular expression. It's unlikely, however, that the pattern would occur otherwise. This kind of thing is always a gamble; make a regex too specific, and it won't survive even the smallest change to the source. Make it too generic, and it may misinterpret the data if it changes substantially enough. In either case, if the source page changes that much, users are going to complain one way or another (either that it stops working entirely, or that it's misinterpreting the data), so I think going more generic is the proper approach in this case.
-- Developer: Tomato/MLPPP, Linux/MLPPP, etc »fixppp.org |
|
 | reply to CjSmth
said by CjSmth:My only thought for a tweak would be an alternate - maybe even flashing - colour that would become the background if the estimated monthly peak usage was higher than a user-entered value. This would attract extra attention when usage history is suggesting overage is possible. So, I put together a quick modification of the program I posted earlier that allows this. If transparent background is off and the Usage Warning is enabled, the background colour of the icon will change if the peak estimated usage exceeds a set value.
I think it works, though the tray icon won't update immediately if you type in the warning amount without pressing enter or clicking the up/down arrow.
My code is a bit messy, so I don't know if I'll modify this again in the future, or try to change Guspaz's 3.1.0 release. (This test update doesn't include Guspaz's changes in the above post) |
|