child_harold
|
 |
December 17, 2015, 01:58:34 AM Last edit: December 17, 2015, 05:07:50 PM by child_harold |
|
Inspired by the dandelion (wishing flower) metaphor as depicted on your site, I'm trying to break out of the BTC paradigm and get a better feel for IOTA.  No blocks, no fees, no mining, no centralization; it's just there after its genesis, ever expanding like some Big Bang or the scattering seeds of a dandelion plant blowing in the wind. Tech imitates life.
|
|
|
|
allwelder
Legendary
Offline
Activity: 1512
Merit: 1004
|
 |
December 17, 2015, 11:34:34 AM |
|
Cong. IOTA got 4000 USD award.
|
|
|
|
Come-from-Beyond (OP)
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
 |
December 17, 2015, 01:31:53 PM |
|
I faced a tough choice. Iota reference implementation code became pretty bloated because of extra things that are not a part of the protocol. One of such things is a mechanism of storing masked notes in the tangle. The implementation uses brainwallet approach similar to Nxt - no data required to be stored locally. It may be good but it doesn't allow to emphasize lightweightness of Iota. Mandatory protocol code is mixed with ad hoc solution code creating a mess that won't help to do the audit. I'll take a day to decide if I should cut-off "unnecessary" code. This will lead to user-unfriendly interface but reference implementation interface wasn't supposed to be used by average Joe anyway.
|
|
|
|
joschua011
Member

Offline
Activity: 86
Merit: 10
|
 |
December 17, 2015, 02:23:46 PM |
|
I faced a tough choice. Iota reference implementation code became pretty bloated because of extra things that are not a part of the protocol. One of such things is a mechanism of storing masked notes in the tangle. The implementation uses brainwallet approach similar to Nxt - no data required to be stored locally. It may be good but it doesn't allow to emphasize lightweightness of Iota. Mandatory protocol code is mixed with ad hoc solution code creating a mess that won't help to do the audit. I'll take a day to decide if I should cut-off "unnecessary" code. This will lead to user-unfriendly interface but reference implementation interface wasn't supposed to be used by average Joe anyway.
I approve of this. IOTA emphasizes lightweightness, so the reference client should be exactly that, people will come up with their own clients for different use cases, including desktop clients anyway desktop clients can be bloated, but since IOTA is also made to run on low hardware requirements the reference client should focus on implementing the protocol with as little fancy stuff as possible. But thats just my 2 iotas. ( btw: do we have a name for the minimum amount of iota possible? 10^-9 iota if i remember correctly, like satoshi for bitcoin )
|
|
|
|
Tobo
|
 |
December 17, 2015, 02:34:16 PM |
|
( btw: do we have a name for the minimum amount of iota possible? 10^-9 iota if i remember correctly, like satoshi for bitcoin )
nanoiota if i recall correctly.
|
|
|
|
50cent_rapper
Legendary
Offline
Activity: 1344
Merit: 1000
|
 |
December 17, 2015, 02:36:26 PM |
|
I will also vote for cutting features in order to emphasize core. Just my 2 cfbs 
|
|
|
|
ret
|
 |
December 17, 2015, 04:30:28 PM |
|
Hello. How and when I can get coins IOTA? will ICO?
|
|
|
|
|
Come-from-Beyond (OP)
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
 |
December 18, 2015, 09:18:49 AM |
|
@Hueristic, deleted your post for ad hominem.
|
|
|
|
BlackWidow
|
 |
December 18, 2015, 09:23:06 AM |
|
Thank you for staying on that. Its really annoying.
And thanks in general. This concept is very exciting.
So nice to see a real project develop for a change.
|
|
|
|
child_harold
|
 |
December 18, 2015, 09:27:58 AM |
|
@Hueristic, deleted your post for ad hominem.
I think that's a nice way of saying trolling. LOL I'm not a fan of post deletion although in this case it saves me the time calling out members of that community for always using that term, as though they had received a sponsorship deal from that drink company. Cool.
|
|
|
|
child_harold
|
 |
December 18, 2015, 09:34:48 AM |
|
Cong. IOTA got 4000 USD award. I note Wanxiang make no mantion of the "Quantum Secure" property/design/goal of IOTA. Did they examine/consider it in their analysis? Thanks
|
|
|
|
iotatoken
|
 |
December 18, 2015, 09:54:52 AM |
|
Cong. IOTA got 4000 USD award. I note Wanxiang make no mantion of the "Quantum Secure" property/design/goal of IOTA. Did they examine/consider it in their analysis? Thanks I mentioned it in the grant form, so they are certainly aware of it.
|
|
|
|
child_harold
|
 |
December 18, 2015, 10:04:25 AM |
|
Cong. IOTA got 4000 USD award. I note Wanxiang make no mantion of the "Quantum Secure" property/design/goal of IOTA. Did they examine/consider it in their analysis? Thanks I mentioned it in the grant form, so they are certainly aware of it. Excellent and thanks for the quick reply. Just a quick follow-up Q if you dont mind. To quote Wanxiang: The first stage of the funding will be executed soon, provided that the winners are willing to accept this final amount for their applications and still be able to commit to the milestones in their application. The second and third stage of the funding will be granted based on respective milestones. Wanxiang Blockchain Labs will be contacting the winning projects regarding the procedure.This suggests you have established "milestones" in your application and based upon your achievement of these to then continue to stages 2 and 3. If so then may we know what these milestones are?
|
|
|
|
iotatoken
|
 |
December 18, 2015, 10:17:51 AM |
|
Cong. IOTA got 4000 USD award. I note Wanxiang make no mantion of the "Quantum Secure" property/design/goal of IOTA. Did they examine/consider it in their analysis? Thanks I mentioned it in the grant form, so they are certainly aware of it. Excellent and thanks for the quick reply. Just a quick follow-up Q if you dont mind. To quote Wanxiang: The first stage of the funding will be executed soon, provided that the winners are willing to accept this final amount for their applications and still be able to commit to the milestones in their application. The second and third stage of the funding will be granted based on respective milestones. Wanxiang Blockchain Labs will be contacting the winning projects regarding the procedure.This suggests you have established "milestones" in your application and based upon your achievement of these to then continue to stages 2 and 3. If so then may we know what these milestones are? Milestones are to launch beta, launch full IOTA and then forma organisation/foundation to actively pursue interested parties to grow adoption.
|
|
|
|
child_harold
|
 |
December 18, 2015, 11:05:44 AM |
|
Cong. IOTA got 4000 USD award. I note Wanxiang make no mantion of the "Quantum Secure" property/design/goal of IOTA. Did they examine/consider it in their analysis? Thanks I mentioned it in the grant form, so they are certainly aware of it. Excellent and thanks for the quick reply. Just a quick follow-up Q if you dont mind. To quote Wanxiang: The first stage of the funding will be executed soon, provided that the winners are willing to accept this final amount for their applications and still be able to commit to the milestones in their application. The second and third stage of the funding will be granted based on respective milestones. Wanxiang Blockchain Labs will be contacting the winning projects regarding the procedure.This suggests you have established "milestones" in your application and based upon your achievement of these to then continue to stages 2 and 3. If so then may we know what these milestones are? Milestones are to launch beta, launch full IOTA and then forma organisation/foundation to actively pursue interested parties to grow adoption. Good stuff. Cheers.
|
|
|
|
Come-from-Beyond (OP)
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
 |
December 18, 2015, 05:28:01 PM |
|
Does anyone know how to convert Map<String, Object> into JSON in Java 8 without external libraries? The opposite task is done this way: final ScriptEngine scriptEngine = (new ScriptEngineManager()).getEngineByName("javascript"); final Map<String, Object> requestMap = (Map<String, Object>)scriptEngine.eval("Java.asJSONCompatible(" + requestString + ")");
|
|
|
|
rlh
|
 |
December 18, 2015, 05:39:49 PM |
|
Not a Java guy, but I'm not sure if their is (or should be) a straight-forward way to do this. The main issue is how would Java know how to serialize an "object" which, if my recollection is correct, is the most basic form of "object" of which all (reference) types inherit from.
Objects (if they are like they are in .Net) provide very little functionality for many reasons. I'd be surprised if Java has included a way to serialize an "object". Now, there is likely a straight-forward way to cast a Map<string, ISerializable> (or something like that) but I highly doubt that if there is a canned way to do that.
In short, you may need to roll your own toJSONString() method (or methods) for your base-type(s) and then convert your Map<string, object> to a Map<string, string> and then just call any standard toJSON(...) call for Maps.
|
A Personal Quote on BTT from 2011: "I'd be willing to make a moderate "investment" if the value of the BTC went below $2.00. Otherwise I'll just have to live with my 5 BTC and be happy. :/" ...sigh. If only I knew.
|
|
|
Come-from-Beyond (OP)
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
 |
December 18, 2015, 05:51:40 PM |
|
In short, you may need to roll your own toJSONString() method (or methods) for your base-type(s) and then convert your Map<string, object> to a Map<string, string> and then just call any standard toJSON(...) call for Maps.
It's a standard way of doing such tasks but if I add all this syntactic sugar it will occupy 30% of all code LOL.
|
|
|
|
rlh
|
 |
December 18, 2015, 05:56:02 PM |
|
In short, you may need to roll your own toJSONString() method (or methods) for your base-type(s) and then convert your Map<string, object> to a Map<string, string> and then just call any standard toJSON(...) call for Maps.
It's a standard way of doing such tasks but if I add all this syntactic sugar it will occupy 30% of all code LOL. I understand that, I guess. Is there a base type (inherit to Java) that all of your objects could inherit from provides serialization out of the box? Assuming that all of your public properties are of value types and strings, such a base-type might offer the boilerplate, toJSON(...) method that you need. Then all you will need is is maps that are of Map<string, CannedJava8JSONSerializableType>
|
A Personal Quote on BTT from 2011: "I'd be willing to make a moderate "investment" if the value of the BTC went below $2.00. Otherwise I'll just have to live with my 5 BTC and be happy. :/" ...sigh. If only I knew.
|
|
|
|