Bitcoin Forum
April 27, 2024, 08:16:33 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they believe that the creator of this topic displays some red flags which make them high-risk. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: « 1 ... 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 [56] 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 ... 764 »
  Print  
Author Topic: IOTA  (Read 1471700 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
Come-from-Beyond (OP)
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
December 18, 2015, 06:07:21 PM
 #1101

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>

There is an out-of-the-box serialization, theoretically, I could override its methods, but it again will lead to too much code. The problem should have been solved several Java versions ago, what a shame.
1714248993
Hero Member
*
Offline Offline

Posts: 1714248993

View Profile Personal Message (Offline)

Ignore
1714248993
Reply with quote  #2

1714248993
Report to moderator
1714248993
Hero Member
*
Offline Offline

Posts: 1714248993

View Profile Personal Message (Offline)

Ignore
1714248993
Reply with quote  #2

1714248993
Report to moderator
"The nature of Bitcoin is such that once version 0.1 was released, the core design was set in stone for the rest of its lifetime." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714248993
Hero Member
*
Offline Offline

Posts: 1714248993

View Profile Personal Message (Offline)

Ignore
1714248993
Reply with quote  #2

1714248993
Report to moderator
1714248993
Hero Member
*
Offline Offline

Posts: 1714248993

View Profile Personal Message (Offline)

Ignore
1714248993
Reply with quote  #2

1714248993
Report to moderator
1714248993
Hero Member
*
Offline Offline

Posts: 1714248993

View Profile Personal Message (Offline)

Ignore
1714248993
Reply with quote  #2

1714248993
Report to moderator
rlh
Hero Member
*****
Offline Offline

Activity: 804
Merit: 1004


View Profile
December 18, 2015, 06:24:28 PM
 #1102

Well, I admit that I'm projecting onto Java what I know about languages that compile down to low-level, IL binaries, which I mostly understand through .Net/C#.

I think the biggest problem for this type of implementation is that when serializing an object, frameworks such as .Net (or in this case Java) need to assure that once an object is serialized (either to JSON, XML or even to a binary-state) their must be assurance that any restoration from the serialized value, to a java object MUST restore the full state of the object.

Consider the following example to illustrate the problem.

Code:

public MyClass : object

private a;
private b;

public c {get a+b;}

constructor MyClass (int a, int b)
{
}

...

MyClass x = new MyClass(1, 2);
string json = MyClass.toJSONString();


We would hope/suspect that json would equal something like "{c:3}".  There is nothing wrong with this but we have one big problem!  Now we need to take our json value and create a new MyClass object.  How do we do that?

We can't because we need to know the state of 'a' and 'b', in order to deserialize the JSON object and create a Java, MyClass object.

When you inherit from a serializer class (MyClass : SerialiableObject) the base serializer will either not care about this error, or it will allow for you to decorate your properties an variables so that the object can be properly serialized.  For instance, we could imagine something like this is being available.

Code:

public MyClass : Serializable

//Attribute (is such a thing available in Java??? honestly, I don't know)
[Serialize=true, Deserialize=true]
private a;
[Serialize=true, Deserialize=true]
private b;

[Serialize=false]
public c {get a+b;}

constructor MyClass (int a, int b)
{
}

...

MyClass x = new MyClass(1, 2);
string json = MyClass.toJSONString();


After executing such code, our serialized JSON should state "{a:1, b:2}".  As such, if we calls something like:

Code:
MyClass deserializeIt = MyClass.FromJSON(jsonStr);

In so doing, the value of a and b will be restored and the parser will not expect a value for c.  The java implementation of MyClass for the deserializeIt object, however, will provide the proper implementation for the c property.

This is why out-of-the-box serialization is a problem that hasn't been solved.  If you frequently work with low-level languages, this doesn't make sense.  But since maintaining the state of private variable is a BIG DEAL, it's not easy to serialize objects that can then be deserialized back into their original type.

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.
joschua011
Member
**
Offline Offline

Activity: 86
Merit: 10


View Profile
December 18, 2015, 06:38:24 PM
 #1103

anyone of you iota people gonna be at the CCC Conference in Hamburg?
50cent_rapper
Legendary
*
Offline Offline

Activity: 1344
Merit: 1000



View Profile
December 18, 2015, 06:42:04 PM
 #1104

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.

You can move this additional code to external library.

ewibit
Legendary
*
Offline Offline

Activity: 2955
Merit: 1049


View Profile
December 19, 2015, 12:53:10 AM
 #1105

anyone of you iota people gonna be at the CCC Conference in Hamburg?
this has to be be specification move....
 Smiley
Hueristic
Legendary
*
Offline Offline

Activity: 3794
Merit: 4873


Doomed to see the future and unable to prevent it


View Profile
December 19, 2015, 02:01:08 AM
 #1106

@Hueristic, deleted your post for ad hominem.

That was not Ad-Hominem, it was an observation. Doesn't matter. I have no faith in you people. Your methods are that of scammers. And that is another observation not an attack.

“Bad men need nothing more to compass their ends, than that good men should look on and do nothing.”
Hueristic
Legendary
*
Offline Offline

Activity: 3794
Merit: 4873


Doomed to see the future and unable to prevent it


View Profile
December 19, 2015, 02:55:59 AM
Last edit: December 20, 2015, 04:33:52 PM by Hueristic
 #1107

@Hueristic, deleted your post for ad hominem.

That was not Ad-Hominem, it was an observation. Doesn't matter. I have no faith in you people. Your methods are that of scammers. And that is another observation not an attack.

EDITED OUT

Now this is Ad-Hominem! Cheesy

I have not held XMR for over a year now. I still feel it's the best alt atm. I do watch promising new tech which I am hoping this will actually be. I guess I should remove the XMR address so idiots don't auto think I'm affiliated.

“Bad men need nothing more to compass their ends, than that good men should look on and do nothing.”
allwelder
Legendary
*
Offline Offline

Activity: 1512
Merit: 1004



View Profile
December 19, 2015, 08:58:17 AM
 #1108

IOTA has been accepted into Wanxiang's Blockchain Lab grant programme: http://www.blockchainlabs.org/blockgrant-x-en/
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.
Just want to know,WanXiang will pay you USD ,BTC or ETH?

 
                                . ██████████.
                              .████████████████.
                           .██████████████████████.
                        -█████████████████████████████
                     .██████████████████████████████████.
                  -█████████████████████████████████████████
               -███████████████████████████████████████████████
           .-█████████████████████████████████████████████████████.
        .████████████████████████████████████████████████████████████
       .██████████████████████████████████████████████████████████████.
       .██████████████████████████████████████████████████████████████.
       ..████████████████████████████████████████████████████████████..
       .   .██████████████████████████████████████████████████████.
       .      .████████████████████████████████████████████████.

       .       .██████████████████████████████████████████████
       .    ██████████████████████████████████████████████████████
       .█████████████████████████████████████████████████████████████.
        .███████████████████████████████████████████████████████████
           .█████████████████████████████████████████████████████
              .████████████████████████████████████████████████
                   ████████████████████████████████████████
                      ██████████████████████████████████
                          ██████████████████████████
                             ████████████████████
                               ████████████████
                                   █████████
.CryptoTalk.org.|.MAKE POSTS AND EARN BTC!.🏆
Come-from-Beyond (OP)
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
December 19, 2015, 09:27:53 AM
 #1109

Your methods are that of scammers.

Could you be more specific?
Come-from-Beyond (OP)
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
December 19, 2015, 09:29:20 AM
 #1110

@zanzibar, your post deleted because it was a personal (group?) insult.
Come-from-Beyond (OP)
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
December 19, 2015, 09:31:36 AM
 #1111

Now this is Ad-Hominem! Cheesy

I have not held XMR for over a year now. I still feel it's the best alt atm. I do watch promising new tech which I am hoping this will actually be. I guess I should remove the XMR address so idiots don't auto think I'm affiliated.

Please, remove zanzibar's quote from your post or I'll have to delete the latter, because thread moderators don't have EDIT option.
allwelder
Legendary
*
Offline Offline

Activity: 1512
Merit: 1004



View Profile
December 19, 2015, 01:20:28 PM
 #1112

How the 'Internet of Things' will affect the world
http://www.businessinsider.com/internet-of-things-2015-forecasts-of-the-industrial-iot-connected-home-and-more-2015-10

 
                                . ██████████.
                              .████████████████.
                           .██████████████████████.
                        -█████████████████████████████
                     .██████████████████████████████████.
                  -█████████████████████████████████████████
               -███████████████████████████████████████████████
           .-█████████████████████████████████████████████████████.
        .████████████████████████████████████████████████████████████
       .██████████████████████████████████████████████████████████████.
       .██████████████████████████████████████████████████████████████.
       ..████████████████████████████████████████████████████████████..
       .   .██████████████████████████████████████████████████████.
       .      .████████████████████████████████████████████████.

       .       .██████████████████████████████████████████████
       .    ██████████████████████████████████████████████████████
       .█████████████████████████████████████████████████████████████.
        .███████████████████████████████████████████████████████████
           .█████████████████████████████████████████████████████
              .████████████████████████████████████████████████
                   ████████████████████████████████████████
                      ██████████████████████████████████
                          ██████████████████████████
                             ████████████████████
                               ████████████████
                                   █████████
.CryptoTalk.org.|.MAKE POSTS AND EARN BTC!.🏆
Come-from-Beyond (OP)
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
December 19, 2015, 07:09:42 PM
 #1113

@sulfurtank, both your posts sounded very impolite (especially the first one which contained racism), paraphrase them, please.
crypti PR
Full Member
***
Offline Offline

Activity: 154
Merit: 100

Crypti Public Relations


View Profile WWW
December 19, 2015, 08:59:49 PM
 #1114

Can someone link to the BTC and NXT addresses which are holding all the funds from the IPO?

Crypti's Decentralized Applications and Dapp Store: https://www.youtube.com/watch?v=O9o5X4xHJnc
Join our Chat: https://crypti.chat/
Come-from-Beyond (OP)
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
December 19, 2015, 09:04:11 PM
 #1115

Can someone link to the BTC and NXT addresses which are holding all the funds from the IPO?

1G8hh3bHMMhZSATwisBVbGFSYBKK3Suib8
NXT-Q4N3-V2QJ-S3GT-FW4Z9
zanzibar
Hero Member
*****
Offline Offline

Activity: 715
Merit: 500



View Profile
December 19, 2015, 11:35:12 PM
 #1116

@zanzibar, your post deleted because it was a personal (group?) insult.

No worries it was obviously off topic.
twistelaar
Legendary
*
Offline Offline

Activity: 1148
Merit: 1000


View Profile
December 20, 2015, 01:57:07 AM
 #1117


Nice! Can somebody explain how we can succes lift with IOTA tokens, on the big boom of the internet of things?

Thanks!
iotatoken
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


View Profile
December 20, 2015, 02:02:36 AM
 #1118


Nice! Can somebody explain how we can succes lift with IOTA tokens, on the big boom of the internet of things?

Thanks!


It'll be primarily about marketing and networking to get the technology out there. I already got several big names lined up for calls to explain IOTA and how it can impact their business.
Send me a PM with your skills and I'll invite you to our groupchat.

child_harold
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
December 20, 2015, 11:14:55 AM
Last edit: December 20, 2015, 12:14:28 PM by child_harold
 #1119

@sulfurtank, both your posts sounded very impolite (especially the first one which contained racism), paraphrase them, please.


He/she made disparaging remarks about the whitepaper claiming it was too hard to understand (at least after the first page) and had been processed using a software translation service which is clearly not the case. Since very few people are capable of understanding the level of maths presented in the paper, and since none of those who do have raised this contention I assume sulfurtank's criticisms can be safely dismissed.

I only mention this because this reaction may have been averted by improving the English grammar in the paper (at least in the non-technical sections). Obviously English is not Popov's native-tongue and I've checked some of his other papers and seen the same use of language. For maths faculties Im sure this is no problem, since the language is perfectly clear in its meaning, but for laymen/investors/others who will only understand the Abstract, General and Conclusion sections of the paper, you might consider improving it.

For example the whitepaper reads:

1 General description of the system
The rise and success of Bitcoin during the last six years proved the value of blockchain technology. However, this technology also has a number of drawbacks, which prevent it to be used as a one and only global platform for cryptocurrencies. Among these drawbacks, an especially notable one is the impossibility of making micro-payments, which have increased importance for the rapidly developing Internet-of-Things industry.

Perhaps it could read (although I'm still unhappy with it):

1 General description of the system
The rise and success of Bitcoin during the last six years has proved the value of blockchain technology. However, this technology also has a number of drawbacks which prevent it from being used as the one and only global platform for cryptocurrencies. An especially notable drawback is the impossibility of making micro-payments, which have increased in importance for the rapidly developing Internet-of-Things industry.

Having raised the subject I offer you my assistance if desired.

oldisoft
Hero Member
*****
Offline Offline

Activity: 854
Merit: 1000


https://iota.org/


View Profile
December 20, 2015, 12:23:01 PM
 #1120

Hi there!Could someone tell me how many btc+Jinn were collected on today?
Cheers

Pages: « 1 ... 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 [56] 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 ... 764 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!