Show Posts - jonny
Please login or register.

Login with username, password and session length
Advanced search  


Latest Stable Nxt Client: Nxt 1.12.2

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - jonny

Pages: [1] 2 3
Testnet / Re: If you want some testNXT - ask here
« on: December 29, 2014, 02:51:17 pm »
Can you send testcoins to me so I can play with assets and MS?

Code: [Select]
Code: [Select]

One more comment though, in the test cases that are supposed to fail, you are checking for a very specific exception - StringIndexOutOfBoundsException or BufferUnderflowException. The contract of Hallmark.parseHallmark method does not specify what should happen when the hallmark cannot be parsed, so you shouldn't assume anything more concrete than some type of RuntimeException. Otherwise a future refactored version may throw a different exception, and this would cause the test to fail, and then you would need to change the test.
I know, I did not want to change the production code. I left the test this way, since I feel that the production code should be updated to throw better exceptions in case of invalid arguments.

The fourth solution:

Issue 51.x million stolenNXT assets and distribute them proportionally to the people who had the deposits in bter. This idea I copied from Lee.
I like your solution!

Option nr 1 is the only viable option.

Option 1!

Never bailout a exchange. Never bailout a bank!
I agree, I am active forging on the original blockchain. Companies with this level of security have nothing to do in the business of crypto-currencies.

Testnet / Re: If you want some testNXT - ask here
« on: August 15, 2014, 05:36:39 pm »
Could I get 3k+ testcoins?
Code: [Select]
Code: [Select]


You propose changes to the Token and Hallmark classes whose sole reason to exist is to allow those tests. Now there are two new interfaces - EpochTime and Random (not a good name, you know), and instead of the static factory methods generateToken and generateHallmark, you have two new separate factory classes. My philosophy is that design takes precedence over testing, and those changes add complexity that is not needed.
Thanks for your feedback, I felt bad when I introduced these changes to the production code.

Yes, I understand you cannot test for exact match of token string and hallmark string with some predefined values, unless you control the timestamp and random seed. But you could still test that the generated token (or hallmark) are parsed back to the original token string / hallmark host, weight and date, without checking exact matching of the actual hex strings. For the timestamp test, you could even take the timestamp from Convert.epochTime() before and after the call to generateToken, and check that the resulting token timestamp is in between those values.
That sounds like a good starting point, I will try to adapt your ideas and give it another try.

can you maybe get JL to comment on it?
Yes, I sent Jean-Luc a message now

Created a pull request https://bitbucket.org/JeanLucPicard/nxt/pull-request/12/proposal-create-unit-tests-for-two-classes

It is based on 1.1.6 plus the commit that contains the simple junit test framework.

Another great interview :)

Thanks for the feedback, I hope there will be no veto.

My plan is to do "Create unit tests for two classes" first since that proposal got more feedback.

Thanks for the feedback, I will start on this task and hope that there will be no veto.

I like SCL, close to SQL and no references to NXT, so it sounds more neutral

Trading & Exchanges / Re: Why does Bter offer interest?
« on: July 23, 2014, 09:09:35 am »
I was thinking about the same, I never leave my money for more then one day at bter no matter the interest.

Nxt General Discussion / Re: Why I think NXT Will Succeed
« on: July 22, 2014, 07:46:33 pm »
I subscribed to your youtube channel, nice video

Keep answering the FUD with logic. Even if the original poster rarely changes his mind, you'll get others who are following the argument to see the truth.
I agree, the goal with replies should not be to change the mind of the original poster. All followers will easily see who provides false arguments when they are countered with facts.

Nxt Helpdesk / Re: Thanks everyone
« on: July 22, 2014, 06:22:42 am »
Funny thing is though, when you initialize the client it asks you to input the password twice.  They matched at that point.  I can't seem to think of any alternative password (w/typos or whatever) that yields the same account # to which the coins were sent.

Out about $1,000 in today's fiat.  Totally sucks.

I did the same mistake.

Entered my password correct where I were asked for it twice and I did not think about what was my address. The next time I logged in I did a spelling mistake while entering my password.

So my first transfer of NXT went to my account with an unknown spelling mistake.

I'll keep trying I guess.
My plan is to just leave them like this and maybe one day I write the same spelling mistake. If that does not happen, then I will make a brute-force program that use my password as a starting point.

is a google spreadsheet an alternative to this inserting in posts because the size problem ?
Using a pastebin or increase the forum limits are also good alternatives.

why is NSC worth anything?  why would someone want to own them?
People who wants to support the effort can easily buy them

Pages: [1] 2 3