Internet151
|
|
April 15, 2012, 03:18:01 AM |
|
Just an idea, I think it would be nice if there was some way to have the site require a login or something for any webpage commands to be executable.
Sometimes I just want to show friends of mine my ANUBIS page without giving them the potential to blow up my mining rigs.
|
|
|
|
P_Shep
Legendary
Offline
Activity: 1804
Merit: 1230
This is not OK.
|
|
April 16, 2012, 05:45:54 PM |
|
I'll think about that, but I think it'll be more trouble then it's worth. Maybe I'll get bored one day and do it.
|
|
|
|
DeathAndTaxes
Donator
Legendary
Offline
Activity: 1218
Merit: 1079
Gerald Davis
|
|
April 20, 2012, 07:33:54 PM |
|
One potential bug .... It looks like discards % is (discards / accepted) but this is not a valid metric. Discards are discards getworks. so discard % should be (discards / getworks). For users where accepted ~= getworks then error is small but for pools like p2pool where due to LP a large number of getworks are discarded and shares are > 1 difficulty (thus lower accepted) it results in some "weird" % like 287% discarded.
|
|
|
|
P_Shep
Legendary
Offline
Activity: 1804
Merit: 1230
This is not OK.
|
|
April 20, 2012, 09:57:48 PM |
|
One potential bug .... It looks like discards % is (discards / accepted) but this is not a valid metric. Discards are discards getworks. so discard % should be (discards / getworks). For users where accepted ~= getworks then error is small but for pools like p2pool where due to LP a large number of getworks are discarded and shares are > 1 difficulty (thus lower accepted) it results in some "weird" % like 287% discarded. That's an easy one, I'll fix that with my next commit.
|
|
|
|
Aseras
|
|
April 23, 2012, 09:56:13 PM |
|
Just an idea, I think it would be nice if there was some way to have the site require a login or something for any webpage commands to be executable.
Sometimes I just want to show friends of mine my ANUBIS page without giving them the potential to blow up my mining rigs.
this is a setting in .htaccess or file permissions on the webserver. It has nothing to do with anubis itself.
|
|
|
|
Aseras
|
|
April 23, 2012, 09:59:02 PM |
|
What I think would be really great is to have the miners organized into groups and be able to change them all in one shot. Change a pool -> click. They all go. Go from failover to roundrobin or whatever-> click done. Clicking through each one is not very fun.
|
|
|
|
Inaba
Legendary
Offline
Activity: 1260
Merit: 1000
|
|
April 24, 2012, 06:22:38 PM |
|
The default DB schema for ANUBIS has an error. You have the "port" field set to smallint (6) and it's signed - it should be set to a bare minimum of MEDIUMINT (6). Otherwise you are limited to ports < 32768
Either that or make smallint unsigned.
|
If you're searching these lines for a point, you've probably missed it. There was never anything there in the first place.
|
|
|
DeathAndTaxes
Donator
Legendary
Offline
Activity: 1218
Merit: 1079
Gerald Davis
|
|
April 24, 2012, 06:50:37 PM |
|
A great project and one I have enjoyed making some minor changes to.
The largest annoyance is the rig communication seems to be blocking. If I have a rig which is down Anubis takes 10 sec trying to establish a connection meanwhile the entire webpage is unresponsive.
|
|
|
|
Inaba
Legendary
Offline
Activity: 1260
Merit: 1000
|
|
April 24, 2012, 07:36:40 PM |
|
Also line 32 of index.php should probably be changed to:
$result = $dbh->query("SELECT * FROM hosts ORDER BY name ASC");
I may setup a git and issue pull requests, but it's not worth it for the small changes I've needed to make so far.
|
If you're searching these lines for a point, you've probably missed it. There was never anything there in the first place.
|
|
|
Red Emerald
|
|
April 25, 2012, 08:41:36 PM |
|
Also line 32 of index.php should probably be changed to:
$result = $dbh->query("SELECT * FROM hosts ORDER BY name ASC");
I may setup a git and issue pull requests, but it's not worth it for the small changes I've needed to make so far.
You can actually edit a file and make simple pull requests right on github.com. No need to manually fork and all that.
|
|
|
|
The LT
|
|
April 26, 2012, 01:44:01 AM |
|
this is a setting in .htaccess or file permissions on the webserver. It has nothing to do with anubis itself.
.htaccess alone won't solve the issue, as P_Shep's anubis allows finer control over the miners.
|
|
|
|
Inaba
Legendary
Offline
Activity: 1260
Merit: 1000
|
|
April 29, 2012, 02:44:28 PM |
|
I submitted the pull requests... pretty handy I can do it online.
|
If you're searching these lines for a point, you've probably missed it. There was never anything there in the first place.
|
|
|
P_Shep
Legendary
Offline
Activity: 1804
Merit: 1230
This is not OK.
|
|
May 01, 2012, 09:45:30 AM |
|
Thanks for the work Inaba and the other suggestions here. I'm on vacation for the next week, so will get back on it when I'm back.
Regarding the multi-rig changes... I did think about that, but you need to guarantee that the pools are ordered the same on all rigs, something that is outside anubis' control, things could get out of sync. Doable though. I'll have a think.
|
|
|
|
Inaba
Legendary
Offline
Activity: 1260
Merit: 1000
|
|
May 01, 2012, 01:51:53 PM |
|
I'm going to be putting some work into Anubis this week related to historical tracking. I suck at charting though, so once the data is collected, maybe someone can write some code to make good charts?
|
If you're searching these lines for a point, you've probably missed it. There was never anything there in the first place.
|
|
|
|
Inaba
Legendary
Offline
Activity: 1260
Merit: 1000
|
|
May 12, 2012, 10:11:40 PM |
|
Hey P_Shep, you left a bunch of bare carriage returns in your edited files. Did you edit them in a DOS editor and then upload them without conversion? It's playing hell with DIFF and editing locally on a unix machine.
|
If you're searching these lines for a point, you've probably missed it. There was never anything there in the first place.
|
|
|
P_Shep
Legendary
Offline
Activity: 1804
Merit: 1230
This is not OK.
|
|
May 12, 2012, 10:21:29 PM |
|
Ah, I was wondering what that could be, make sense. Yeah sorry about that, not sure what I can do about it now :/
|
|
|
|
Inaba
Legendary
Offline
Activity: 1260
Merit: 1000
|
|
May 12, 2012, 10:26:59 PM |
|
Well... I'm not sure if you can back out a merge on Github, but in either event, I would recommend remerging everything without carriage returns.
What text editor are you using? You should be able to set it to save in UNIX format instead of DOS format.
|
If you're searching these lines for a point, you've probably missed it. There was never anything there in the first place.
|
|
|
P_Shep
Legendary
Offline
Activity: 1804
Merit: 1230
This is not OK.
|
|
May 12, 2012, 10:44:49 PM |
|
OK, done. Sorry about that, I'll be more careful about that in future.
|
|
|
|
P_Shep
Legendary
Offline
Activity: 1804
Merit: 1230
This is not OK.
|
|
May 15, 2012, 03:28:49 AM |
|
Updated again with device details / notifications / stats page (Kano doesn't want the stats displayed, so don't tell him I show them anyway ) Oh, and config saving doesn't work in CGminer yet, so you'll have to wait till the next version 2.4.2 for that. Edit: in fact I just changed it so it's disabled until the next version.
|
|
|
|
|