Author

Topic: NXT :: descendant of Bitcoin - Updated Information - page 756. (Read 2761642 times)

legendary
Activity: 866
Merit: 1002
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...
legendary
Activity: 866
Merit: 1002
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?
legendary
Activity: 1512
Merit: 1004

Hmm.. you are the second person to say this to me. I have no clue why. Anyone has any idea?  Huh
the same to me,I cannt post there too.
legendary
Activity: 1176
Merit: 1134
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
sr. member
Activity: 490
Merit: 250
I don't really come from outer space.
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.

full member
Activity: 266
Merit: 100
NXT is the future


^[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
legendary
Activity: 1176
Merit: 1134

Code:
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.  Wink

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
full member
Activity: 196
Merit: 100
NXT FUND SPENDING COMMITEE MEMBERSHIP SELECTION UPDATE

Since I'm the guy that slammed on the brakes back on page 1854 about no spending from the new NXT community funds until fund committees get organized, and since everybody generally seems to think that was an OK move, I feel the responsibility to try and get the ball rolling again on committee organization.  Here we go.

To organize a small group of people to spend big piles of money, there has to be a legitimate, transparent process to give them that power.

The legitimate, transparent process we have gone through in this NXT community is that we have made the funding committee positions open to everyone.

utopianfuture on Feb 2 started a funding committee nomination thread, almost three weeks ago:  

https://bitcointalksearch.org/topic/nxt-community-nominations-to-the-funding-comittee-445209

rickyjames on Feb 7-8 summarized the nominations made to that date in an identical post placed at four different forum locations:

https://bitcointalk.org/index.php?topic=345619.msg5007861;topicseen#msg5007861
https://bitcointalksearch.org/topic/m.5007872
https://nextcoin.org/index.php/topic,3890.msg36822.html#msg36822
https://forums.nxtcrypto.org/viewtopic.php?f=2&t=753&p=3579&hilit=rickyjames#p3579

Each of these posts ended with:
***************************
NXT continues to develop at an incredible pace.  If you've read this far, it's because you care about NXT.  Consider applying for a committee seat to help take it further.

NXT Community Nominations To The Funding Committee (NCNTTFC) thread :

https://bitcointalksearch.org/topic/nxt-community-nominations-to-the-funding-comittee-445209
***************************
The only further new nominations at all forum sites made as a result of these posts were:

drevil was nominated for TechDev by gs02xzz
hughmanwho and SecondLeo were nominated for the infrastructure committee by hughmanwho

Come-from-Beyond on Feb 9 accepted Pouncer, klee and neer.g as treasurers of techdev, infrastructure and marketing funds respectively, and the 8,714,025 unclaimed NXT from the genesis block under his control was split equally among their assigned funds.  Treasurers have NO authority to make spending decisions.  Their role is to be a bank vault and only let money out when it is authorized by a "designated spending authority" - in this case, a SINGLE spokesperson from an elected committee, to be chosen by that committee once it is elected.

https://bitcointalksearch.org/topic/m.5032217
https://bitcointalksearch.org/topic/m.5040620

Audit spreadsheets of NXT Fund assets are now permanently available , with the spreadsheet layout still being optimized at:

https://docs.google.com/spreadsheet/ccc?key=0AoE8nAOEMIa7dFFnWjRNYTM4RkhsN3dRRXFBaTBiaHc#gid=14 ,

Pinarello on Feb 18 picked up efforts to elect spending committee members by opening a spreadsheet for expressions of interest by people actually willing to serve (instead of just being nominated by others):

the post: https://bitcointalksearch.org/topic/m.5220880
the spreadsheet: https://docs.google.com/spreadsheet/ccc?key=0AsrKGhOkVcFpdFRFeHNUdWx3Qy1nTjBPLUFNWUJKQkE&usp=sharing#gid=0

At the time of this writing, the only new names on this volunteer spreadsheet that have not been previously nominated as described above are:

^[GS]^, abuelau, Arckam (frmelin), bloodyrookie, Chanc3r, ChuckOne, CIYAM, Cointropolis_JustabitTime, Fry, Mario123, Pandaisftw, Ricot, TwinWinNerD, Zahlen, ZeroTheGreat

Thus 55 nominees were picked after the three week nomination process described above, conducted over all three major NXT forum sites, allowing both self-nominations and nominations by others:

^[GS]^, 2Kool4Skewl, abuelau, Allwelder , Anon136, Arckam_(frmelin), bitcoinpaul, bloodyrookie, brooklynbtc, buybitcoinscanada,
Chanc3r, ChuckOne, CIYAM, Cointropolis_JustabitTime, Come_from_Beyond, 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, rickyjames, Ricot, salsacz, SecondLeo, smaragda, TaiZen, TwinWinNerD, Uniqueorn,
Utopianfuture, VanBreuk, Wesleyh, Zahlen, ZeroTheGreat


By the power vested in me from 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.

Since I've still got some hot air left and I still have a big mouth:

We're gonna do a week of campaigning, and we're gonna have a one week long vote starting March 1.

Anybody that has a problem with that, quote just the red line above and give it a -1.  God help us if that happens.

Campaigning is gonna work like this.  I've opened up a new thread, NXT Funding Committee Nominee Statements:

https://bitcointalk.org/index.php?topic=479167.new#new

If you are a nominee listed above, and you want to serve on ONE AND ONLY ONE of the NXTmarketingfund, NXTtechdevfund and NXTinfrastructure fund spending committees, go post your willingness to serve on this thread.  State the committee you want to be on, and make a statement if you want about why you think you would be a good member for that committee.  

If you are not willing or able to make one single post on this thread, you probably aren't good committee material.  Just sayin'.

I will PM links to this post to all nominees at all sites and will repost it at the other two forums.

I have set up polls on whether each committee should have 5 or 7 members.  Go vote.

https://bitcointalksearch.org/topic/nxtmarketing-committee-membership-level-479190
https://bitcointalk.org/index.php?topic=479200.new#new
https://bitcointalk.org/index.php?topic=479214.new#new

I will set up three more polls for declared candidates on March 1 and repost everywhere calling for a vote for the agreed upon number of committee members for that committee.

Yes, I'm being a dictator here.  Sorry about that.  At least I am a dictator with a suggestion box, speak up if you've got a problem or an idea.

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 March 7, there WILL be elected committees.  (I hope).



legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
Does this language exist?

It is really hard to know which language is the best for what purpose (and in most typically non-trivial applications you'll end up using a few more than just one) but if you are keen to become a good programmer you should probably pick one "main" language and learn it "in depth".

This process is not something that will happen "over night" but if you spend the effort you will have become a much better programmer (I spent over 10 years "learning" C++ whilst I worked with it and there are still areas of it that I am not familiar with).
sr. member
Activity: 490
Merit: 250
I don't really come from outer space.

Code:
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.  Wink

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.

legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
@James - For displaying and other non-computational purposes temporarily using a "double" and "printf" is fine.

BTW - you would be better off using "long long" (or better yet #include and use int64_t) than using "long" otherwise it won't work on most (if not all) 32 bit architectures.
member
Activity: 98
Merit: 10
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 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?
legendary
Activity: 1176
Merit: 1134
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.


Here are the new structures. All amounts are in 'toshis, eg. satoshi, dogtoshi, NXTtoshi
I generate the strings to send to bitcoind via %.8f and (double)longvalue/100000000
I am assuming this is safe, but wanted to be sure

Code:
struct gateway_info
{
    long balance,deposits,withdrawals,tbd __attribute__ ((packed));
    int bind_requests,addresses_bound,deposit_txids,pending_sweeps,verified_deposits __attribute__ ((packed));
    int withdrawal_requests,moneysent,pending_withdrawals,failed_withdrawals __attribute__ ((packed));
    int rawbroadcasts,pending_redemptions __attribute__ ((packed));
};

struct gateway_AM
{
    unsigned int sig __attribute__ ((packed));
    int funcid __attribute__ ((packed));
    int gatewayid __attribute__ ((packed));
    int coinid __attribute__ ((packed));
    long amount __attribute__ ((packed));
    long unspent __attribute__ ((packed));
    long change __attribute__ ((packed));
    char NXTaddr[32],coinaddr[32];
    union { char txid[128]; char rawtransaction[288]; };
    union { char inputs[512]; };
    struct gateway_info info;
};

James
full member
Activity: 266
Merit: 100
NXT is the future
guys, who gives permission to edit/add guide in wiki?

http://wiki.nxtcrypto.org/wiki/How-To

or if anyone already has access, please review https://docs.google.com/document/d/1ch1PoWcKEptFziXlrm92TG_BHm0hG9llKBs2LH29N-4 to edit/add

that would be joefox
full member
Activity: 189
Merit: 100
guys, who gives permission to edit/add guide in wiki?

http://wiki.nxtcrypto.org/wiki/How-To

or if anyone already has access, please review https://docs.google.com/document/d/1ch1PoWcKEptFziXlrm92TG_BHm0hG9llKBs2LH29N-4 to edit/add
sr. member
Activity: 952
Merit: 253
..
Forget this coin.

Magis quam Moneta (More than a Coin)

*Edit: Forget this coinMode.

Who???
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
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.
full member
Activity: 266
Merit: 100
NXT is the future
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.


https://nextcoin.org/index.php/topic,1902.0.html

full member
Activity: 189
Merit: 100
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.
why don't you give Clienxt a try?!
https://bitbucket.org/fmiboy/clienxt/downloads

download, unzip, double click Clienxt.jar. You can check latest Nxt release from About->Check updates Nxt
and it will download, unzip for you. Then go to Console in GUI and right click your mouse to "Re-start server" and you are good to go!

edit: by default it will use Testnet!
sr. member
Activity: 421
Merit: 250
HEAT Ledger
Could someone please tell me what is the valid (possible) range of NXT account numbers? It seems you can make transactions to account number 1 for instance but what is the chance of someone actually selecting a private key that translates to an account number of 1, or is this not possible at all?

Thank you.
Jump to: