jl777
Legendary
Offline
Activity: 1176
Merit: 1134
|
|
February 21, 2014, 01:13:39 PM |
|
struct gateway_info { long balance,deposits,withdrawals,tbd __attribute__ ((packed)); ... };
struct gateway_AM { ... long amount __attribute__ ((packed)); long unspent __attribute__ ((packed)); long change __attribute__ ((packed)); ... };
You're using a 64-bit OS, I see. long is only guaranteed to be a minimum of 32-bits in length and it's actual size is both OS and compiler dependent. The int64_t type is guaranteed to be at least 64-bits in length in any environment. fixed, though it has to be exactly 64 bits as it is being use to communicate to the gateway servers. It cant be more
|
|
|
|
pinarello
Full Member
Offline
Activity: 266
Merit: 100
NXT is the future
|
|
February 21, 2014, 01:22:18 PM |
|
^[GS]^, 2Kool4Skewl, abuelau, Allwelder , Anon136, Arckam_(frmelin), bitcoinpaul, bloodyrookie, brooklynbtc, buybitcoinscanada, Chanc3r , ChuckOne, CIYAM, Cointropolis_JustabitTime, Come_from_Beyond, Damelon, Damelon, Davetrouser, drevil, EmoneyRu, EvilDave , ferment, Fry, hughmanwho, Jean_Luc, jefdiesel, jl777, Joefox, Klee, l8orre, landomata, laowai80, Mario123, msin, mww , nexetrn, Nifty_Nickel, opticalcarrier, Pandaisftw, Passion_ltc, PeercoinEnthusiast, pinarello, Pouncer, rickyjame, Ricot, salsacz, SecondLeo, smaragda, TaiZen, TwinWinNerD, Uniqueorn , Utopianfuture, VanBreuk, Wesleyh, Zahlen, ZeroTheGreat
thank you R I think there are people on the list that don"t want to be part of the committees, I hope they see it in time and let you know to delete them from the list. Also treasures should not be member of the committees imo
|
|
|
|
xyzzyx
Sr. Member
Offline
Activity: 490
Merit: 250
I don't really come from outer space.
|
|
February 21, 2014, 01:25:16 PM |
|
long is only guaranteed to be a minimum of 32-bits in length and it's actual size is both OS and compiler dependent. The int64_t type is guaranteed to be at least 64-bits in length in any environment.
fixed, though it has to be exactly 64 bits as it is being use to communicate to the gateway servers. It cant be more I'm pretty sure the intX_t and uintX_t types are exact-width, but I don't have a reference near me at the moment to look it up (which is why I said int64_t was "at least" 64-bits above.) I can look this up later tonight to be sure if you need.
|
"An awful lot of code is being written ... in languages that aren't very good by people who don't know what they're doing." -- Barbara Liskov
|
|
|
jl777
Legendary
Offline
Activity: 1176
Merit: 1134
|
|
February 21, 2014, 01:30:36 PM |
|
long is only guaranteed to be a minimum of 32-bits in length and it's actual size is both OS and compiler dependent. The int64_t type is guaranteed to be at least 64-bits in length in any environment.
fixed, though it has to be exactly 64 bits as it is being use to communicate to the gateway servers. It cant be more I'm pretty sure the intX_t and uintX_t types are exact-width, but I don't have a reference near me at the moment to look it up (which is why I said int64_t was "at least" 64-bits above.) I can look this up later tonight to be sure if you need. I am pretty sure it is exact. I just got concerned when you said at least. Got all money code converted to int64 so I am ready to start debugging actual deposit/withdraw process when I wake up. I am ashamed of the horrible parsing code, but I just want to get it working first, refactor later. Anyway, its almost noon after allnighter, gotta take a nap before debugging James
|
|
|
|
allwelder
Legendary
Offline
Activity: 1512
Merit: 1004
|
|
February 21, 2014, 01:41:22 PM |
|
Hmm.. you are the second person to say this to me. I have no clue why. Anyone has any idea? the same to me,I cannt post there too.
|
|
|
|
gimre
Legendary
Offline
Activity: 866
Merit: 1002
|
|
February 21, 2014, 01:43:07 PM |
|
I would like to code stuff, but no thanks to C++ I lean towards the latter. Like, towards the end of every year when I'm free, I hunker down, write prototypes, then tear my hair in frustration.
I'd really like a language that offers the low-level control and efficiency of C, the higher-level abstractions like objects, templates, inheritance and polymorphism of C++ (I could give up some things like virtual methods though), and the clean syntax of Python (imo, whitespace *should* be an integral part of syntax). I don't need cross-platform support, Windows is fine for now, I'm happy to port to specific platforms that I'm interested in. Does this language exist?
D or Rust maybe?
|
|
|
|
gimre
Legendary
Offline
Activity: 866
Merit: 1002
|
|
February 21, 2014, 01:44:19 PM |
|
CIYAM, I'm really amazed by your patience.
When you've traversed the depths of thousands of lines of code in order to find a bug that is as simple as an incorrect comma (and taken literally days to do so) then you will either have learned to be very patient with some things or you will have decided that computer programming is not for you. I have lot of patience when it comes to code and debugging... (as I know I'll eventually beat them) I can't say I have that much patience when it comes to arguing with people...
|
|
|
|
CIYAM
Legendary
Offline
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
|
|
February 21, 2014, 01:49:49 PM |
|
I'm pretty sure the intX_t and uintX_t types are exact-width, but I don't have a reference near me at the moment to look it up (which is why I said int64_t was "at least" 64-bits above.) I can look this up later tonight to be sure if you need.
They are *exactly* the number of bits their names suggest (that's why they were created). It is the normal C types like "int" and "long" which the Standard can only give vague ideas about size (such as sizeof( long ) >= sizeof( int ), etc.).
|
|
|
|
CIYAM
Legendary
Offline
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
|
|
February 21, 2014, 01:52:22 PM |
|
I have lot of patience when it comes to code and debugging... (as I know I'll eventually beat them) I can't say I have that much patience when it comes to arguing with people...
I'd have to say that I am the same - so I prefer not to "argue" with people but instead try "discuss" with them (it doesn't always work mind you especially in a forum like this one). Provided that it doesn't turn into an argument then I can remain quite patient (if it starts to head that way I would normally "move on").
|
|
|
|
rickyjames
|
|
February 21, 2014, 01:52:55 PM Last edit: February 21, 2014, 07:33:16 PM by rickyjames |
|
Also treasures should not be member of the committees imo
Sigh. For the record, there's a difference between being a "treasurer" and being a "designated spending authority". James / jl777 is the sole " designated spending authority" for NXTcommunityfund and NXTcashfunds, which are run by him as an individual with no committee structure. He is like Santa Claus and the Tooth Fairy all rolled up into one, he can give those funds out as he sees fit to anybody he feels is helping NXT. He gets to do this because NXTcommunityfund and NXTcashfunds are private funds set up by neer.g and Pouncer as a private deal with James. Anybody contributing to these funds (and contributions are encouraged!) does so with the understanding that James is the ultimate designated spending authority from the original private deal that set up these funds. I am a treasurer of NXTcommunityfund and NXTcashfunds. I have the password to those funds and nobody else does. I COULD spend this NXT, but I have NO authority to do so. I only spend exactly what James tells me to do exactly as he says, no more, no less. Public access to the blockchain and audit spreadsheets is the check and balance on ME and how the community keeps me honest. Now, James can't just spend these funds on HIMSELF with no oversight. If James designates funds to be sent to HIM instead of SOMEBODY ELSE, then I have to clear it with neer.g or Pouncer first. That is the check and balance on this huge power James has. He doesn't have the password to the money, and somebody else has to give him permission to spend it on his own projects. So, a "treasurer" has no real power except the power of trust and honesty. They exist only as a check-and-balance against the "designated spending authority" going nuts and running off with all the NXT. And the first thing an elected fund committee is going to have to do is decide which ONE of their members is going to be the "designated spending authority" that signs the orders that goes to the treasurers. Now, I'm going to run for a seat on the infrastructure committee because I am a hardware guy, not a coder, and setting up a worldwide network to support NXT at 1000 TPS looks like a really interesting challenge to me. I am going to run for this position even tho I am a treasurer on other funds. I don't think there's a problem with that. If that bothers people after reading the explanation above, then they can vote against me and I won't get in. And I'll accept that if it happens. We'll see.
|
|
|
|
Mario123
|
|
February 21, 2014, 01:54:32 PM |
|
Just got this e-mail back from MintPal after informing them that Nxt should not be Nextcoin. Hi Mario, It is actually called Nextcoin from what I can see https://nextcoin.org/Thanks though. Regards, Jay MintPal
|
|
|
|
Zahlen
Member
Offline
Activity: 98
Merit: 10
|
|
February 21, 2014, 01:56:36 PM |
|
By the power vested in me by being full of hot air and having a big mouth, I hereby declare the period for accepting NXT Funding Committee nominations to be over.
Anybody that has a problem with that, quote just the red line above and give it a -1. God help us if that happens.
...
And I'm a dictator that's gonna step down on March 7, the day after I get back from representing NXT at Texas Bitcoin Conference. Because on that day, there WILL be elected committees. (I hope).
+1. No gods, no kings, no temporary big-mouthed hot air always young at heart benevolent dictators, only committees Nxters. Hi Mario, It is actually called Nextcoin from what I can see https://nextcoin.org/Thanks though. Regards, Jay MintPal God help us all.
|
|
|
|
abctc
Legendary
Offline
Activity: 1806
Merit: 1038
|
|
February 21, 2014, 01:59:03 PM |
|
Just got this e-mail back from MintPal after informing them that Nxt should not be Nextcoin. Hi Mario, It is actually called Nextcoin from what I can see https://nextcoin.org/Thanks though. Regards, Jay MintPal - thanks to ...
|
██████████████████████████████████████████████████ ████████████████████████████████████████████████████ ██████████████████████████████████████████████████████ ████████████████████████████████████████████████████████ ████████████████████████████████████████████████████████ ████████████████████████████████████████████████████████████████████ ████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████ ████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ████████████████████████████████████████████████████████████████████ | , the Next platform. Magis quam Moneta (More than a Coin) |
|
|
|
apenzl
|
|
February 21, 2014, 01:59:48 PM |
|
Just got this e-mail back from MintPal after informing them that Nxt should not be Nextcoin. Hi Mario, It is actually called Nextcoin from what I can see https://nextcoin.org/Thanks though. Regards, Jay MintPal Wonderful… @ allwelder >
|
|
|
|
|
apenzl
|
|
February 21, 2014, 02:01:25 PM |
|
|
|
|
|
btc2nxt
|
|
February 21, 2014, 02:02:22 PM |
|
@CFB and others, would it be good if assets listed on exchange were somehow grouped? To bring order to the chaos. Some generic groups such as "currency", "ipo", etc..
Will this help if u have 1000 assets in a group? At first ,i thinked asset should has many feathers: like type,brand but now, assets in nxt have simple contents may be better, nxt asset in layer 1 because like type,brand,group of asset ,client (layer 2)can sort or group them.
|
|
|
|
EvilDave
|
|
February 21, 2014, 02:15:29 PM |
|
Downloaded the Nxt client a month ago. That java code thing just pissed me off. Why cant you make a simple setup icon ? No matter the technical progress if your client cant even be installed. Main problem of this coin and 95% of the altcoins out there is that the developpers just do not have any sense of communication.
No sense of communication.......at the end of a 1900 page thread. Any else see the irony here? Looking at the top of the top NXT accounts, those with the biggest holdings. I see almost no movement of NXT and i'm thinking what are they're thinking.
What good is it if you have millions and millions if NXT in the end will be worth less than if you did something with those millions and bought something that would actually help NXT?
Isn't it better to start thinking in terms of maybe you should do something with that money because in the end 20M will be worth more than 50M because those 30M spent made a huge positive difference.
I'm going to add my voice to BitcoinForumators. We do have a community fund, whale dudes. The way I see it: u have to speculate to accumulate. The value of any NXT u lose by throwing it into the community fund will come back to u as an increased fiat value for the remaining NXT, so you don't have much to lose.
|
|
|
|
verymuchso
Sr. Member
Offline
Activity: 421
Merit: 250
HEAT Ledger
|
|
February 21, 2014, 02:18:34 PM |
|
@CFB and others, would it be good if assets listed on exchange were somehow grouped? To bring order to the chaos. Some generic groups such as "currency", "ipo", etc..
Will this help if u have 1000 assets in a group? At first ,i thinked asset should has many feathers: like type,brand but now, assets in nxt have simple contents may be better, nxt asset in layer 1 because like type,brand,group of asset ,client (layer 2)can sort or group them. There is no need for this. Assets, Transactions, Accounts all have global unique identifiers clients can store anything they want with that as long as they store it themselves. It would be bad to put this in the protocol.
|
|
|
|
allwelder
Legendary
Offline
Activity: 1512
Merit: 1004
|
|
February 21, 2014, 02:23:10 PM |
|
@ allwelder >catch it ,thank you.
|
|
|
|
|