Message boards : Number crunching : Not HAPPY people.
Message board moderation

To post messages, you must log in.

Previous · 1 · 2 · 3 · 4 · 5

AuthorMessage
m.mitch

Send message
Joined: 4 Sep 05
Posts: 112
Credit: 2,068,660
RAC: 255
Message 13349 - Posted: 13 Apr 2006, 13:35:13 UTC


Hey River, isn't a "negative debt" a credit? ;-)




Click here to join the #1 Aussie Alliance on LHC.
ID: 13349 · Report as offensive     Reply Quote
River~~

Send message
Joined: 13 Jul 05
Posts: 456
Credit: 75,142
RAC: 0
Message 13361 - Posted: 13 Apr 2006, 19:39:38 UTC - in response to Message 13349.  
Last modified: 13 Apr 2006, 19:48:32 UTC


Hey River, isn't a "negative debt" a credit? ;-)



Every debt is a credit,
just as every borrowing is also a lending

- to someone else ;-)

But seriously, to go into geek mode in response to your joke, in BOINC terms, if a project is in debt (and therefore will not be scheduled for a while, or will not download for a while, the "Debt" figure is negative.

If the project is owed time (and therefore a priority for downloads or for the cpu) the debt figure as recorded in the client_state goes positive.

So you could actually say that a positive debt is a credit. ;-)

Did JM7 get the signs wrong? Well no, becoause the sign depends whether you read the table as being of debt owed *to* the project, or debt owed *by* the project.

So to avoid confusion I usually say "positive debt" and "negative debt" referring the sign of the numbers in the file.

R~~
ID: 13361 · Report as offensive     Reply Quote
Nuadormrac

Send message
Joined: 26 Sep 05
Posts: 85
Credit: 421,130
RAC: 0
Message 13363 - Posted: 14 Apr 2006, 11:52:46 UTC

BTW, for anyone curious; if a project is set to no new work, but has WUs, and the WUs themselves, rather then the projects are suspended, they will accumulate negative debt. Noticed this with seasonal attribution, as I had suspended the WU (not the projects) to seasonal attribution and CPDN while going through LHC WUs.

There's an obvious reason to this also. CPDN WUs are extremely long, and if one needs to suspend it, one doesn't want it downloading new work and then possibly getting over committed. CPDN has issues if it's allowed to run, while certain CPU or memory intensive apps are also running, so...

All said however, I'd rather not have it continue going out again and again when there is no work, but here is a way if anyone is curious on how the books could be balanced. Don't be late on the last WU if you try to make use of this though.
ID: 13363 · Report as offensive     Reply Quote
m.mitch

Send message
Joined: 4 Sep 05
Posts: 112
Credit: 2,068,660
RAC: 255
Message 13366 - Posted: 14 Apr 2006, 17:45:30 UTC - in response to Message 13361.  

Every debt is a credit,
just as every borrowing is also a lending

- to someone else ;-)

But seriously, to go into geek mode in response to your joke, in BOINC terms, if a project is in debt (and therefore will not be scheduled for a while, or will not download for a while, the "Debt" figure is negative.

If the project is owed time (and therefore a priority for downloads or for the cpu) the debt figure as recorded in the client_state goes positive.

So you could actually say that a positive debt is a credit. ;-)

Did JM7 get the signs wrong? Well no, becoause the sign depends whether you read the table as being of debt owed *to* the project, or debt owed *by* the project.

So to avoid confusion I usually say "positive debt" and "negative debt" referring the sign of the numbers in the file.

R~~



My being a B/A has me spending lots of time with programmers explaining such things for many hours :-). I get the inevitable; "What about adjustments?" Then I have to explain suspense accounts. Then there's the bank statement question; "But aren't credits good, I have them on my bank statement?" No, that's not your statement, it's the banks. They just send you a copy. Just remember, creditors: bad!".

Ten minutes latter they'll be back; "Sorry, which one's the negative?"

I love my job. I love my job. I love my job. I love my job. I love my job. I love my job.

I just hate programmers :-) And, yes, I used to be one =8-D....





Click here to join the #1 Aussie Alliance on LHC.
ID: 13366 · Report as offensive     Reply Quote
River~~

Send message
Joined: 13 Jul 05
Posts: 456
Credit: 75,142
RAC: 0
Message 13371 - Posted: 15 Apr 2006, 10:41:05 UTC - in response to Message 13366.  

... Then there's the bank statement question; "But aren't credits good, I have them on my bank statement?" No, that's not your statement, it's the banks. They just send you a copy ...


At least one UK bank uses a minus sign next to the number to indicate a debit entry - and tell you that in the key. Whose statement is that?

And then yeah, but then why do the banks send us a copy of *their* statement if it is a current account (chequebook a/c), but send us *our own* statetment if it is a credit card a/c?

And why do we have debit cards and credit cards when they both do exactly the same thing - a plus transaction in a shop moves money from you to the shop, and a minus moves it back but one statement calls it a credit and the other a debit?

Yes, I know one card is named from the bank perspective and the other from the customer perspective (and don't tell me which I could work it out if I cared) and is it any wonder anyone without an accounting qualification gets confused?

R~~
ID: 13371 · Report as offensive     Reply Quote
John McLeod VII
Avatar

Send message
Joined: 2 Sep 04
Posts: 165
Credit: 146,925
RAC: 0
Message 13383 - Posted: 15 Apr 2006, 21:20:01 UTC - in response to Message 13361.  

Did JM7 get the signs wrong? Well no, becoause the sign depends whether you read the table as being of debt owed *to* the project, or debt owed *by* the project.

I believe that the signs are reversed for the calculations. However, in my defense, Short Term Debt was in place before I started, and the signs for LTD match those for STD (imagine trying to explain that dichotomy). In actuallity, it is a CPU balance instead of a CPU debt calculation. However, I am not about to try to fix it.


BOINC WIKI
ID: 13383 · Report as offensive     Reply Quote
River~~

Send message
Joined: 13 Jul 05
Posts: 456
Credit: 75,142
RAC: 0
Message 13387 - Posted: 16 Apr 2006, 13:14:03 UTC - in response to Message 13383.  

Did JM7 get the signs wrong? Well no, becoause the sign depends whether you read the table as being of debt owed *to* the project, or debt owed *by* the project.

I believe that the signs are reversed for the calculations. However, in my defense, Short Term Debt was in place before I started, and the signs for LTD match those for STD (imagine trying to explain that dichotomy). In actuallity, it is a CPU balance instead of a CPU debt calculation. However, I am not about to try to fix it.


Quite right.

My point was that neither sign convention would have been "right" nor "wrong" at the outset, as either can be defended.

The only thing that would be wrong would be to try to change the sign convention once adopted. I'd assumed you had previously chosen the signs for STD, but as they were already in place then I absolutely commend your choice to go with what was already there.

Maintaining a sign convention does indeed mean swapping the signs round in the code - not only here but in many finance apps too. This is much much better than trying to optimise the coding by confusing the sign cenventions in the files or in the communication protocols.
R~~
ID: 13387 · Report as offensive     Reply Quote
qaz79

Send message
Joined: 26 Nov 05
Posts: 9
Credit: 191
RAC: 0
Message 13483 - Posted: 30 Apr 2006, 7:40:58 UTC

ok i'm done with this project. i'm going to detach it no point in being part of the project if there isn't any work.
ID: 13483 · Report as offensive     Reply Quote
Profile anarchic teapot
Avatar

Send message
Joined: 15 Feb 06
Posts: 67
Credit: 460,896
RAC: 0
Message 13484 - Posted: 30 Apr 2006, 14:43:03 UTC - in response to Message 13483.  

ok i'm done with this project. i'm going to detach it no point in being part of the project if there isn't any work.


Minus 10 IQ points for irrelevance to this thread, minus another 15 for bad spelling and grammar.

"River~~" wrote:
Maintaining a sign convention does indeed mean swapping the signs round in the code - not only here but in many finance apps too.

I don't know about project "debt", but with finance apps you also need to remember who's going to be using it: a fully-qualified accountant, a secretary-come-bookkeeper, or a total innocent who can't afford to pay either of the former to do the paperwork for him/her. That's for the input.

Then you worry about how to format the output, depending on what sort of use it'll be put to (tax returns, management accounts, import/export with other programs...). No wonder there's so much confusion.

Since the current version of BOINC seems to be having trouble evaluating the % done of a WU (any project), I've given up worrying how project "debt" is calculated. What I have noticed, though, is that client-side AMD and PowerPC processors cope with it better than P4s.

sQuonk
Plague of Mice
Intel Core i3-9100 CPU@3.60 GHz, but it's doing its bit just the same.
ID: 13484 · Report as offensive     Reply Quote
Previous · 1 · 2 · 3 · 4 · 5

Message boards : Number crunching : Not HAPPY people.


©2024 CERN