xyzzyx
Sr. Member
  
Offline
Activity: 490
Merit: 250
I don't really come from outer space.
|
 |
February 05, 2014, 03:46:06 AM |
|
My guess is that all memory options will be highly constrained, any storage needs to go into AM. I think as long as CfB can make sure no address outside the program space is accessed, not sure what harm it can do.
I have a little experience with writing VMs. I've written VMs that interpret i8080 ops (ran Space Invanders ROM), mos6510 ops (ran Commodore 64 ROMs), and MC68HC11 ops (was a simulator replacement for a dev board so students could work on their projects outside the lab.) Properly written, everything will be sandboxed in the VM interpreter. No problems there.
|
"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
|
|
|
Zahlen
Member

Offline
Activity: 98
Merit: 10
|
 |
February 05, 2014, 03:46:20 AM |
|
Please explain to me why I am wrong or misunderstand. I obviously am not getting it or missed something. Thanks
No, you're not 'wrong', and I agree with a lot of your analogies. Still, it's an easy way to send NXT. It gets the community involved. It gets NXT moving from one hand to another. Anything that does this (sans cute Shiba meme) is a good thing. As it stands now, we're ostensibly the most advanced crypto with arguably the most fucked up, un-user friendly client ever. A simple way to tip NXT will relieve some of the pressure until all of the various service providers are up and running. And I guess like anything we don't like, we can simply choose not to participate.  Good points. I also like Zahlen's points. But still it leaves a bad taste in my mouth. It might be perceived as "trying too hard" to market Nxt. I want Nxt to succeed as much if not more than anyone. I am fully vested. But I still think this particular marketing tactic is bad for Nxt. I hope like heckle and jeckle I'm wrong. Please shiba let me be wrong. When I proposed my more general version (not just a reddit tipbot, but tipping software and API that sites in general could easily integrate), marketing didn't cross my mind. I was just thinking at the social level. It's a nice, and possibly fun and cool thing to do. And I was also thinking about how to get more nxt moving around. Personally I don't like to worry too much about what other people think. That's just me, dunno how other folks might see it.
|
|
|
|
Anon136
Legendary
Offline
Activity: 1722
Merit: 1217
|
 |
February 05, 2014, 03:46:52 AM |
|
My guess is that all memory options will be highly constrained, any storage needs to go into AM. I think as long as CfB can make sure no address outside the program space is accessed, not sure what harm it can do.
I have a little experience with writing VMs. I've written VMs that interpret i8080 ops (ran Space Invanders ROM), mos6510 ops (ran Commodore 64 ROMs), and MC68HC11 ops (was a simulator replacement for a dev board so students could work on their projects outside the lab.) Properly written, everything will be sandboxed in the VM interpreter. No problems there. thanks guys for that information.
|
Rep Thread: https://asktom.cf/index.php?topic=381041If one can not confer upon another a right which he does not himself first possess, by what means does the state derive the right to engage in behaviors from which the public is prohibited?
|
|
|
|
pandaisftw
|
 |
February 05, 2014, 03:50:00 AM |
|
Please explain to me why I am wrong or misunderstand. I obviously am not getting it or missed something. Thanks
No, you're not 'wrong', and I agree with a lot of your analogies. Still, it's an easy way to send NXT. It gets the community involved. It gets NXT moving from one hand to another. Anything that does this (sans cute Shiba meme) is a good thing. As it stands now, we're ostensibly the most advanced crypto with arguably the most fucked up, un-user friendly client ever. A simple way to tip NXT will relieve some of the pressure until all of the various service providers are up and running. And I guess like anything we don't like, we can simply choose not to participate.  Good points. I also like Zahlen's points. But still it leaves a bad taste in my mouth. It might be perceived as "trying too hard" to market Nxt. I want Nxt to succeed as much if not more than anyone. I am fully vested. But I still think this particular marketing tactic is bad for Nxt. I hope like heckle and jeckle I'm wrong. Please shiba let me be wrong. If anything, the NXT tip-bot should be used to grow the NXT reddit community. Since a lot of Average Joes are familiar with reddit, it'd be good exposure for rewarding people I would have rewarded anyways for making good contributions to /r/NXT. But I agree we should not be the equivalent of doge tipping, we should tip for quality posts/ideas.
|
NXT: 13095091276527367030
|
|
|
Anon136
Legendary
Offline
Activity: 1722
Merit: 1217
|
 |
February 05, 2014, 03:52:34 AM |
|
Please explain to me why I am wrong or misunderstand. I obviously am not getting it or missed something. Thanks
No, you're not 'wrong', and I agree with a lot of your analogies. Still, it's an easy way to send NXT. It gets the community involved. It gets NXT moving from one hand to another. Anything that does this (sans cute Shiba meme) is a good thing. As it stands now, we're ostensibly the most advanced crypto with arguably the most fucked up, un-user friendly client ever. A simple way to tip NXT will relieve some of the pressure until all of the various service providers are up and running. And I guess like anything we don't like, we can simply choose not to participate.  Good points. I also like Zahlen's points. But still it leaves a bad taste in my mouth. It might be perceived as "trying too hard" to market Nxt. I want Nxt to succeed as much if not more than anyone. I am fully vested. But I still think this particular marketing tactic is bad for Nxt. I hope like heckle and jeckle I'm wrong. Please shiba let me be wrong. If anything, the NXT tip-bot should be used to grow the NXT reddit community. Since a lot of Average Joes are familiar with reddit, it'd be good exposure for rewarding people I would have rewarded anyways for making good contributions to /r/NXT. But I agree we should not be the equivalent of doge tipping, we should tip for quality posts/ideas. if someone does build a reddit tip bot ill probably use a lot of my promotional funds there for precisely that reason.
|
Rep Thread: https://asktom.cf/index.php?topic=381041If one can not confer upon another a right which he does not himself first possess, by what means does the state derive the right to engage in behaviors from which the public is prohibited?
|
|
|
Anon136
Legendary
Offline
Activity: 1722
Merit: 1217
|
 |
February 05, 2014, 03:53:54 AM |
|
|
Rep Thread: https://asktom.cf/index.php?topic=381041If one can not confer upon another a right which he does not himself first possess, by what means does the state derive the right to engage in behaviors from which the public is prohibited?
|
|
|
|
|
^[GS]^
Member

Offline
Activity: 112
Merit: 10
|
 |
February 05, 2014, 03:59:35 AM |
|
The first deposit in NXTio has finally been confirmed! It has taken ~48 hours. I've been tracking how long it takes me to confirm...
7:45pm = 170 confirmations left 8:00pm = 168 confirmations left = 15min +2 8:23pm = 147 confirmations left = 23min +21 8:46pm = 130 confirmations left = 23min +17 10:32pm = 76 confirmations left = 106min +54 10:56pm = 69 confirmations left = 24min +7 11:15pm = 57 confirmations left = 19min +12 11:21pm = 56 confirmations left = 6min +1 12:44am = 2 confirmations left = 83min +54
In short, every confirmation and takes about 1:30 min to 7:00 min depending on the network load of NXT.
|
|
|
|
|
jl777
Legendary
Offline
Activity: 1176
Merit: 1134
|
 |
February 05, 2014, 04:16:37 AM |
|
My guess is that all memory options will be highly constrained, any storage needs to go into AM. I think as long as CfB can make sure no address outside the program space is accessed, not sure what harm it can do.
I have a little experience with writing VMs. I've written VMs that interpret i8080 ops (ran Space Invanders ROM), mos6510 ops (ran Commodore 64 ROMs), and MC68HC11 ops (was a simulator replacement for a dev board so students could work on their projects outside the lab.) Properly written, everything will be sandboxed in the VM interpreter. No problems there. purely lucky guess on my part 
|
|
|
|
CIYAM
Legendary
Offline
Activity: 1890
Merit: 1131
Ian Knowles - CIYAM Lead Developer
|
 |
February 05, 2014, 04:36:56 AM |
|
The first "real job" that I had in IT was working in a tech team (of around 15) within a huge Insurance Software platform project (that had well over 100 devs working on it at one stage). It used a VM (prior to Java even existing) and its own 4GL style language above that (including it's own "compiler" and "debugger" and IDE) so I have had some pretty good experience at working with this sort of stuff.
Although "subleq" is clever I think it would end up being too inefficient (i.e. too many instructions needing to be processed to perform even fairly small tasks) not to mention too expensive in fees when you would have to be charging "per instruction" (the only way you are going to prevent effectively what would become DoS attacks).
For the best "bang for the buck" I think you would want the VM to include some very high level instructions a bit like the various "hash" op codes in Bitcoin's "script" and you would want to seriously consider how this is going to impact the supposed 1000+ TPS that is being hyped/hoped (I very much doubt that Ethereum will be able to do many TPS due to this aspect of its design).
So before going crazy "building" such a VM perhaps do some calculations about just how many instructions are going to be able to be processed per "VM transaction" and how that is going to affect the idea of "forging on a smartphone".
|
|
|
|
xyzzyx
Sr. Member
  
Offline
Activity: 490
Merit: 250
I don't really come from outer space.
|
 |
February 05, 2014, 04:41:38 AM |
|
|
"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 05, 2014, 04:45:37 AM |
|
The first "real job" that I had in IT was working in a tech team (of around 15) within a huge Insurance Software platform project (that had well over 100 devs working on it at one stage). It used a VM (prior to Java even existing) and its own 4GL style language above that (including it's own "compiler" and "debugger" and IDE) so I have had some pretty good experience at working with this sort of stuff.
Although "subleq" is clever I think it would end up being too inefficient (i.e. too many instructions needing to be processed to perform even fairly small tasks) not to mention too expensive in fees when you would have to be charging "per instruction" (the only way you are going to prevent effectively what would become DoS attacks).
For the best "bang for the buck" I think you would want the VM to include some very high level instructions a bit like the hash op codes in Bitcoin's "script" and you would want to seriously consider how this is going to impact the supposed 1000+ TPS that is being hyped/hoped (I very much doubt that Ethereum will be able to do many TPS due to this aspect of its design).
So before going crazy "building" such a VM perhaps do some calculations about just how many instructions are going to be able to be processed per "VM transaction" and how that is going to affect the idea of "forging on a smartphone".
In this day and age anything that fits in CPU cache to execute is memory bound, eg. the size of the program limits execution speed. One thing I like about subleq is the very compact sizes for the code. I also hope that we can give a time budget, like 1 millisecond/NXT for each instance of a script. Anyway, this is why I offered bounty to assess subleq. It could be just as fast, or faster than ordinary code. just need to measure James
|
|
|
|
jl777
Legendary
Offline
Activity: 1176
Merit: 1134
|
 |
February 05, 2014, 04:46:16 AM |
|
OK, I just get a linux console. Are you telling me it is running a full linux using JS from inside my browser??
|
|
|
|
jl777
Legendary
Offline
Activity: 1176
Merit: 1134
|
 |
February 05, 2014, 04:47:39 AM |
|
OK, I just get a linux console. Are you telling me it is running a full linux using JS from inside my browser?? um. I just compiled hello world from inside my browser. What is happening?
|
|
|
|
xyzzyx
Sr. Member
  
Offline
Activity: 490
Merit: 250
I don't really come from outer space.
|
 |
February 05, 2014, 04:48:38 AM |
|
OK, I just get a linux console. Are you telling me it is running a full linux using JS from inside my browser?? Yes. It is a PC emulator done in Javascript.
|
"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
|
|
|
CIYAM
Legendary
Offline
Activity: 1890
Merit: 1131
Ian Knowles - CIYAM Lead Developer
|
 |
February 05, 2014, 04:49:39 AM |
|
In this day and age anything that fits in CPU cache to execute is memory bound, eg. the size of the program limits execution speed. One thing I like about subleq is the very compact sizes for the code.
I think you are not understanding something - how many instructions is it going to take to do SHA256? In the VM I am suggesting it would take exactly 1 instruction (with "subleq" you are going to have to "write" an SHA256 implementation and then measure it to even have an idea about how many thousands of instructions are involved).
|
|
|
|
xyzzyx
Sr. Member
  
Offline
Activity: 490
Merit: 250
I don't really come from outer space.
|
 |
February 05, 2014, 04:52:34 AM |
|
In this day and age anything that fits in CPU cache to execute is memory bound, eg. the size of the program limits execution speed. One thing I like about subleq is the very compact sizes for the code.
I think you are not understanding something - how many instructions is it going to take to do SHA256? In the VM I am suggesting it would take exactly 1 instruction (with "subleq" you are going to have to "write" an SHA256 implementation and then measure it to even have an idea about how many thousands of instructions are involved). Yes, exactly. I suggested the custom RISC VM outlined in N. Wirth's Compiler Construction as a starting point, but we could build whatever else we needed into it -- like a SHA256 hash instruction, or a Curve25519 instruction.
|
"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
|
|
|
|
swartzfeger
|
 |
February 05, 2014, 04:59:56 AM |
|
Yes, exactly. I suggested the custom RISC VM outlined in N. Wirth's Compiler Construction as a starting point, but we could build whatever else we needed into it -- like a SHA256 hash instruction, or a Curve25519 instruction.
For the curious: Niklaus Wirth's Compiler Construction (International Computer Science Series)
|
|
|
|
|
jl777
Legendary
Offline
Activity: 1176
Merit: 1134
|
 |
February 05, 2014, 05:01:13 AM |
|
This webpage that spawns a linux shell has convinced me that anything we can think of is now possible!
OK, so let's do it. DAC lego blocks. this is Alias's idea and I don't understand it very well, but he says that with the properly designed "lego blocks", all sorts of DACs can be created by non-technical people using flowcharting software.
Basically if you can design a flowcharted process, it will automatically generate a DAC that implements that and runs in a decentralized way on NXT.
We have a browser page spawning linux shell, so why not flowcharting DAC's!
It seems that we have layers and layers to define and create, but anything can be done. Here is my stab at roughly defining the layers:
<low level VM implementing machine code> - CfB "lets just do it" ------- <C compiler + useful libraries> - TBD (Zahlen?) <Java subset? + access to subset NXT core> - TBD ------- <software running on hubs + glue code AM Turing scripts offchain email etc> - TBD ------- <DAC lego blocks> - Alias in the process of defining ------- <flowcharts for useful DACs + flowcharting software> - TBD ------- SkyNXT
I have 400000 NXT burning a hole in my pocket. I will spend it to accelerate development of the above. As soon as we nail down the specs for the layers, I will be able to figure out what the bounties are for each piece.
Another 100000 NXT for development of modular trustless exchanging of NXT against other cryptos, starting with XCP.
I am also budgeting 50000 NXT for people who help with defining these layers. Not sure how I will allocate it, hopefully the people who work on it will cooperate and tell me what each person's share should be.
emunie might be a sinking ship, but etherium is not. We need to start this now.
James
|
|
|
|
xyzzyx
Sr. Member
  
Offline
Activity: 490
Merit: 250
I don't really come from outer space.
|
 |
February 05, 2014, 05:02:25 AM |
|
Yes, exactly. I suggested the custom RISC VM outlined in N. Wirth's Compiler Construction as a starting point, but we could build whatever else we needed into it -- like a SHA256 hash instruction, or a Curve25519 instruction.
For the curious: Niklaus Wirth's Compiler Construction (International Computer Science Series)That one is outdated. This is the most up to date one: http://www.ethoberon.ethz.ch/WirthPubl/CBEAll.pdf
|
"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
|
|
|
|