Re: Hello world/Web server task on RosettaCode fails

2021-07-16 Thread btiffin via Digitalmars-d-learn
On Friday, 16 July 2021 at 20:04:21 UTC, jfondren wrote: On Friday, 16 July 2021 at 19:25:32 UTC, btiffin wrote: Using gdc-11 and Seamonkey. https://rosettacode.org/wiki/Hello_world/Web_server#D does not compile. The `while` as you noted is wrong. The server also doesn't turn REUSEADDR on f

Hello world/Web server task on RosettaCode fails

2021-07-16 Thread btiffin via Digitalmars-d-learn
Using gdc-11 and Seamonkey. https://rosettacode.org/wiki/Hello_world/Web_server#D does not compile. ```d prompt$ gdc-11 helloServer.d helloServer.d:12:29: error: cannot cast expression currSock = listener.accept() of type std.socket.Socket to bool 12 | while(cast(bool)(currSock = listen

For fun, and executable lame joke

2021-05-30 Thread btiffin via Digitalmars-d-learn
Here's the short version `["hip", "hip"]` the hip hip array (or hooray as suits the lame joke). Here's some executable code ```d void array(string[] a) { import std.stdio : writeln; foreach(t; a) writeln(t); } void main() { D(); } void D() { ["hip", "hip"].array; } ``` Is there a

Re: wanting to try a GUI toolkit: needing some advice on which one to choose

2021-05-30 Thread btiffin via Digitalmars-d-learn
On Thursday, 27 May 2021 at 01:17:44 UTC, someone wrote: Any comments are welcomed, even any comments regarding anyone experience with GUI development within D, no matter whether the answer would be relevant to my specific question seeking a choice or not. Along that tack, and as an informat

Offtopic: A tune for vibers, maybe

2021-05-30 Thread btiffin via Digitalmars-d-learn
21 Pilots, Outside https://www.youtube.com/watch?v=m2w6GkV3U6Q On note, "Kids'll try to take my vibes. Or am I on the outside?" Outro: "Little did they know, they can't touch me. I'm VIBIN', VIBIN'." Have good, make well, Blue

Re: wanting to try a GUI toolkit: needing some advice on which one to choose

2021-05-29 Thread btiffin via Digitalmars-d-learn
On Thursday, 27 May 2021 at 16:49:41 UTC, Dejan Lekic wrote: [...] I humbly believe the most complete one is GtKD. https://gtkdcoding.com/ https://gtkd.org We all wish there was a STANDARD D GUI library out there, but that is a huge effort one or two individuals can't do by themselves (that

Re: wanting to try a GUI toolkit: needing some advice on which one to choose

2021-05-27 Thread btiffin via Digitalmars-d-learn
On Thursday, 27 May 2021 at 01:17:44 UTC, someone wrote: Yes, I know this is a question lacking a straightforward answer. I'm only on a third serious with D day, but I want to take a kick at wrapping libAgar now. libagar is a nice little framework. But, it's C still (and Ada, Perl, COBOL),

Re: coreutils with D trials, wc, binary vs well formed utf

2021-05-25 Thread btiffin via Digitalmars-d-learn
On Tuesday, 25 May 2021 at 18:03:29 UTC, Imperatorn wrote: Nice that you're also hopeful about the future for D ☀️ I also think slow steady growth is the best. We just need to focus and D will be great 🍀 D is already great. It just needs to take over (a larger chunk of) the world. ;-) Now

Re: coreutils with D trials, wc, binary vs well formed utf

2021-05-24 Thread btiffin via Digitalmars-d-learn
Thanks for these hints. I'm new here, but not so much to programming. Been following D since, well 2007 or 8. Awaiting the GCCing to gel. Nice. Still a little rough on Ubuntu 18.04, dub package seems to want ldc and dmd from dlang borks with a segfault in start (which is probably a my end

coreutils with D trials, wc, binary vs well formed utf

2021-05-24 Thread btiffin via Digitalmars-d-learn
Hello, New here. A little background. Old guy, program for both work and recreation, GNU maintainer for the GnuCOBOL package; written in C, compiles COBOL via C intermediates. Fell into the role of maintainer mainly due to being a documentation writer and early on cheerleader. Experienced