--- Day changed Wed Dec 23 2015 00:38 -!- jtimon [~quassel@74.29.134.37.dynamic.jazztel.es] has joined #lightning-dev 00:46 -!- desantis [~desantis@68.66.101.51] has quit [Quit: desantis] 01:24 -!- matsjj [~matsjj@p5B209304.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 01:44 -!- AaronvanW [~ewout@D979E961.cm-3-2d.dynamic.ziggo.nl] has joined #lightning-dev 01:44 -!- AaronvanW [~ewout@D979E961.cm-3-2d.dynamic.ziggo.nl] has quit [Changing host] 01:44 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has joined #lightning-dev 02:45 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has quit [Ping timeout: 250 seconds] 03:15 -!- CJP [~CJP@546810F4.cm-12-1a.dynamic.ziggo.nl] has joined #lightning-dev 03:17 -!- belcher [~user@unaffiliated/belcher] has joined #lightning-dev 03:27 < CJP> My goal for now: bring Amiko Pay up to a level where I can use it to refund Rusty for the lunch he paid for me in Hong Kong :-) 03:28 < rusty> CJP: heh... awesome! I imagine a bake-off sometime next year where we start by buying each other lunch, and nobody gets to leave until they've gotten their implementations to interoperate enough to pay each other back :) 03:29 < CJP> LOL 03:35 < CJP> I think I can finish the "IOU channel" this year, but even that isn't trivial because of architectural decisions in Amiko Pay. In prototype 3 I can't do ANYTHING blocking, so RPC (e.g. to bitcoind) rapidly becomes very convoluting. 03:35 < rusty> CJP: yes, making things async is always a pain. I stole some old code I had to do this, but it's so easy to descend into callback hell... 03:38 < CJP> If only there was a way to store/restore function call stack in a data structure that can be stored to disk. Then I might be able to make a library that can handle this sort of thing transparently. 03:39 < rusty> CJP: yes, well in C I have to marshall / unmarshall explicitly, which is one reason I haven't implemented state saving yet. 03:41 < CJP> The whole point of prototype 3 of Amiko Pay is to implement state saving. Also, serialization is done a bit smarter than in the previous prototype. 03:44 < CJP> For now, I'll try to delay the RPC issue a bit, by only using unidirectional communication as long as possible. For instance, instead of asking bitcoind to make an address for me (ask->reply), I make a new address myself and tell bitcoind to import it. 03:51 -!- matsjj [~matsjj@p5B209304.dip0.t-ipconnect.de] has joined #lightning-dev 04:03 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Quit: Leaving.] 04:04 < CJP> I think the more fundamental problem is that programming languages are made to, and programmers are used to, solve problems using the function call stack. But anything on that stack (local variables, "program counter" etc.) is a state that is quite difficult to store to disk. So any time you want to store the program state, you have to make the function call stack as shallow as possible, and store all relevant data in other data struct 04:04 < CJP> ures. 04:10 -!- akrmn [~akrmn@105.154.66.97] has joined #lightning-dev 04:43 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has joined #lightning-dev 04:44 -!- CJP [~CJP@546810F4.cm-12-1a.dynamic.ziggo.nl] has quit [Quit: Ik ga weg] 05:34 -!- Yoghur114_2 [~jorn@g227014.upc-g.chello.nl] has joined #lightning-dev 05:58 -!- laurentmt [~Thunderbi@128-79-141-196.hfc.dyn.abo.bbox.fr] has joined #lightning-dev 05:59 -!- laurentmt [~Thunderbi@128-79-141-196.hfc.dyn.abo.bbox.fr] has quit [Client Quit] 06:07 -!- akrmn [~akrmn@105.154.66.97] has quit [Quit: Leaving.] 06:10 -!- akrmn [~akrmn@105.154.66.97] has joined #lightning-dev 07:00 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has quit [Ping timeout: 260 seconds] 07:12 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has joined #lightning-dev 07:52 -!- phantomcircuit [~phantomci@strateman.ninja] has left #lightning-dev [] 08:35 -!- akrmn [~akrmn@105.154.66.97] has quit [Ping timeout: 256 seconds] 08:58 -!- desantis [~desantis@68.66.105.177] has joined #lightning-dev 09:04 -!- laurentmt [~Thunderbi@128-79-141-196.hfc.dyn.abo.bbox.fr] has joined #lightning-dev 09:04 -!- laurentmt [~Thunderbi@128-79-141-196.hfc.dyn.abo.bbox.fr] has quit [Client Quit] 09:22 -!- desantis_ [~desantis@68.66.100.145] has joined #lightning-dev 09:26 -!- desantis [~desantis@68.66.105.177] has quit [Ping timeout: 276 seconds] 09:26 -!- desantis_ is now known as desantis 09:28 -!- maaku [~quassel@botbot.xen.prgmr.com] has joined #lightning-dev 09:39 -!- phantomcircuit [~phantomci@strateman.ninja] has joined #lightning-dev 09:40 -!- phantomcircuit [~phantomci@strateman.ninja] has left #lightning-dev [] 09:46 -!- phantomcircuit [~phantomci@strateman.ninja] has joined #lightning-dev 09:52 -!- akrmn [~akrmn@105.154.66.97] has joined #lightning-dev 09:54 -!- JackH [~Jack@host-80-43-141-42.as13285.net] has quit [Ping timeout: 240 seconds] 09:57 -!- desantis_ [~desantis@68.66.107.171] has joined #lightning-dev 09:59 -!- JackH [~Jack@host-80-43-141-42.as13285.net] has joined #lightning-dev 10:00 -!- desantis [~desantis@68.66.100.145] has quit [Ping timeout: 256 seconds] 10:00 -!- desantis [~desantis@bspta1214s1.lecnet.com] has joined #lightning-dev 10:02 -!- desantis__ [~desantis@68.66.100.63] has joined #lightning-dev 10:03 -!- desantis_ [~desantis@68.66.107.171] has quit [Ping timeout: 272 seconds] 10:04 -!- desantis_ [~desantis@68.66.103.253] has joined #lightning-dev 10:06 -!- desantis [~desantis@bspta1214s1.lecnet.com] has quit [Ping timeout: 265 seconds] 10:06 -!- desantis_ is now known as desantis 10:08 -!- desantis__ [~desantis@68.66.100.63] has quit [Ping timeout: 260 seconds] 10:10 -!- desantis [~desantis@68.66.103.253] has quit [Ping timeout: 245 seconds] 10:11 -!- belcher [~user@unaffiliated/belcher] has quit [Quit: Leaving] 10:20 -!- desantis [~desantis@crkfmux01.lecnet.com] has joined #lightning-dev 10:20 -!- phantomcircuit [~phantomci@strateman.ninja] has left #lightning-dev [] 10:20 -!- desantis [~desantis@crkfmux01.lecnet.com] has quit [Client Quit] 10:24 -!- desantis [~desantis@68.66.106.156] has joined #lightning-dev 10:25 -!- phantomcircuit [~phantomci@strateman.ninja] has joined #lightning-dev 10:25 -!- desantis [~desantis@68.66.106.156] has quit [Client Quit] 10:26 -!- desantis [~desantis@68.66.106.156] has joined #lightning-dev 10:36 -!- desantis [~desantis@68.66.106.156] has quit [Ping timeout: 264 seconds] 10:41 -!- desantis [~desantis@68.66.96.249] has joined #lightning-dev 10:50 -!- desantis_ [~desantis@68.66.106.220] has joined #lightning-dev 10:53 -!- desantis [~desantis@68.66.96.249] has quit [Ping timeout: 260 seconds] 10:53 -!- desantis_ is now known as desantis 10:55 -!- Piper-Off is now known as Monthrect 11:07 -!- desantis [~desantis@68.66.106.220] has quit [Ping timeout: 256 seconds] 11:15 -!- JackH [~Jack@host-80-43-141-42.as13285.net] has quit [Ping timeout: 260 seconds] 11:30 -!- desantis [~desantis@68.66.106.27] has joined #lightning-dev 11:34 -!- desantis_ [~desantis@65.183.107.54] has joined #lightning-dev 11:35 -!- desantis [~desantis@68.66.106.27] has quit [Ping timeout: 240 seconds] 11:35 -!- desantis_ is now known as desantis 11:35 -!- akrmn [~akrmn@105.154.66.97] has quit [Ping timeout: 240 seconds] 11:40 -!- desantis [~desantis@65.183.107.54] has quit [Ping timeout: 256 seconds] 12:16 -!- droark [~droark@c-24-22-36-12.hsd1.or.comcast.net] has joined #lightning-dev 12:33 -!- JackH [~Jack@host-80-43-140-107.as13285.net] has joined #lightning-dev 12:45 -!- matsjj [~matsjj@p5B209304.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 14:19 -!- jtimon [~quassel@74.29.134.37.dynamic.jazztel.es] has quit [Remote host closed the connection] 14:19 -!- JackH [~Jack@host-80-43-140-107.as13285.net] has quit [Ping timeout: 260 seconds] 14:39 -!- laurentmt [~Thunderbi@128-79-141-196.hfc.dyn.abo.bbox.fr] has joined #lightning-dev 14:42 -!- laurentmt [~Thunderbi@128-79-141-196.hfc.dyn.abo.bbox.fr] has quit [Client Quit] 14:53 -!- JackH [~Jack@host-80-43-140-107.as13285.net] has joined #lightning-dev 15:05 -!- akrmn [~akrmn@105.154.66.97] has joined #lightning-dev 15:19 -!- PaulCapestany [~PaulCapes@204.28.124.82] has quit [Remote host closed the connection] 15:21 -!- PaulCapestany [~PaulCapes@204.28.124.82] has joined #lightning-dev 15:30 -!- Monthrect is now known as Piper-Off 16:39 -!- Yoghur114_2 [~jorn@g227014.upc-g.chello.nl] has quit [Remote host closed the connection] 18:16 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has quit [Ping timeout: 260 seconds] 18:33 -!- akrmn [~akrmn@105.154.66.97] has quit [Ping timeout: 265 seconds] 18:34 -!- Ylbam [uid99779@gateway/web/irccloud.com/x-fkryewbhvicryhts] has quit [Quit: Connection closed for inactivity] 23:36 -!- Ylbam [uid99779@gateway/web/irccloud.com/x-ksqlxqvtwfufxkbq] has joined #lightning-dev 23:46 -!- matsjj [~matsjj@p5B209304.dip0.t-ipconnect.de] has joined #lightning-dev