Re: Express "Class argument may not be null" ?

2017-08-08 Thread Andre Kostur via Digitalmars-d-learn
On 2017-08-08 12:38 PM, Steven Schveighoffer wrote: On 8/8/17 2:56 PM, ag0aep6g wrote: On 08/08/2017 08:34 PM, Johan Engelen wrote: How would you express the function interface intent that a reference to a class may not be null? For a function "void foo(Klass)", calling "foo(null)" is valid.

Re: My friend can't install DMD 2.076.0 after he deleted contents of C:\D

2017-09-18 Thread Andre Kostur via Digitalmars-d-learn
On 2017-09-16 10:33 PM, rikki cattermole wrote: On 17/09/2017 6:30 AM, Enjoys Math wrote: Series of messages from installer: DMD v2.076.0 is installed on your system Press 'OK' to replace by DMD 2.076.0 An error occurred when removing DMD v2.076.0 Run 'dmd-2.076.0.exe /f to force install And

Network programming

2014-05-24 Thread Andre Kostur via Digitalmars-d-learn
I'm finally making my first concerted foray into D programming. Being a networking guy (and a good history in C and C++) I'm starting with some network code (and trying to use vibe.d as well). However, I'm running into some holes that I'm not sure if I'm overlooking something or just that nob

Re: Network programming

2014-05-24 Thread Andre Kostur via Digitalmars-d-learn
On 2014-05-24, 11:18 AM, Andre Kostur wrote: I'm finally making my first concerted foray into D programming. Being a networking guy (and a good history in C and C++) I'm starting with some network code (and trying to use vibe.d as well). However, I'm running into some holes that I'm not sure if

Re: Can't install dub on Debian

2014-11-12 Thread Andre Kostur via Digitalmars-d-learn
On 2014-11-12, 5:39 AM, Suliman wrote: I did 2 steps from http://d-apt.sourceforge.net/ [snip] The following packages have unmet dependencies: dub : Depends: dmd-bin but it is not going to be installed or dmd but it is not installable PreDepends: multiarch-support

Re: Trying to make a TCP server, client connects and disconnects immediately

2015-02-05 Thread Andre Kostur via Digitalmars-d-learn
On 2015-02-05, 8:17 PM, Gan wrote: On Friday, 6 February 2015 at 01:36:17 UTC, Mike Parker wrote: On 2/6/2015 9:50 AM, Gan wrote: On Friday, 6 February 2015 at 00:35:12 UTC, Adam D. Ruppe wrote: On Friday, 6 February 2015 at 00:31:37 UTC, Gan wrote: Or am I misunderstanding the receive functi