[OT] Re: merkle reverse

2018-04-05 Thread Andy Smith via Digitalmars-d-learn
On Thursday, 5 April 2018 at 08:12:38 UTC, aerto wrote: This is the bitcoin genesis block merkle root 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b how i can get it at this format 3ba3edfd7a7b12b27ac72c3e67768f617fc81bc3888a51323a9fb8aa4b1e5e4a ?? i try it using string merkl

Re: How do you connect Python with D via socket, I'm still getting connection refused error

2018-05-04 Thread Andy Smith via Digitalmars-d-learn
On Thursday, 3 May 2018 at 23:58:24 UTC, Enjoys Math wrote: Error - [...] Haven't run it, but two things to try... On D side try adding listen after bind. On python side. Don't think you need to call bind the client socket ( this may cause problems). Cheers, A.

Re: Creating D bindings for a C library

2015-11-25 Thread Andy Smith via Digitalmars-d-learn
On Wednesday, 25 November 2015 at 19:40:28 UTC, Joseph Rushton Wakeling wrote: On Wednesday, 25 November 2015 at 17:45:48 UTC, ponce wrote: If doing it by hand, some tips here: http://p0nce.github.io/d-idioms/#Porting-from-C-gotchas Cool, thanks. The stuff about using c_long and c_ulong is p

Re: Creating D bindings for a C library

2015-11-25 Thread Andy Smith via Digitalmars-d-learn
On Wednesday, 25 November 2015 at 21:19:51 UTC, Andy Smith wrote: On Wednesday, 25 November 2015 at 19:40:28 UTC, Joseph Rushton Wakeling wrote: On Wednesday, 25 November 2015 at 17:45:48 UTC, ponce wrote: If doing it by hand, some tips here: http://p0nce.github.io/d-idioms/#Porting-from-C-gotc