Re: Walter and Andrei and community relationship management

2017-04-13 Thread xenon325 via Digitalmars-d
On Tuesday, 11 April 2017 at 19:18:32 UTC, H. S. Teoh wrote: While you're no charismatic hero by any stretch of imagination, you do carry quite some weight in what you say simply by your history of achievements, as well as your technical expertise and wealth of experience in computer-related is

Re: What are we going to do about mobile? [OT]

2017-04-13 Thread Joakim via Digitalmars-d
On Wednesday, 12 April 2017 at 19:20:27 UTC, Nick Sabalausky (Abscissa) wrote: I *strongly* agree with the notion that mobile/ARM/iOS/'droid/etc needs to be a major part of D's immediate future. However... On 04/06/2017 01:24 AM, Joakim wrote: I have been saying for some time now that mobil

self contained D executable that runs inside container

2017-04-13 Thread y via Digitalmars-d
currently if you want to run a D app inside a linux container you need to do a few things. http://blog.oddbit.com/2015/02/05/creating-minimal-docker-images/ has a nice description. what would need to be done to make this process slimmer and not need e.g. nsswitch.conf and passwd? in golang t

Re: D-compiled executables being detected as viruses with BitDefender (Windows)

2017-04-13 Thread Jesse Phillips via Digitalmars-d
On Thursday, 13 April 2017 at 20:56:25 UTC, Vladimir Panteleev wrote: On Thursday, 13 April 2017 at 20:49:09 UTC, Jesse Phillips wrote: I'm having this issue with the latest 2.074 DMD. When I create a program with DMD and bitdefender will delete that file and prevent writing that file again. I

Re: D-compiled executables being detected as viruses with BitDefender (Windows)

2017-04-13 Thread Vladimir Panteleev via Digitalmars-d
On Thursday, 13 April 2017 at 20:49:09 UTC, Jesse Phillips wrote: I'm having this issue with the latest 2.074 DMD. When I create a program with DMD and bitdefender will delete that file and prevent writing that file again. I can go back to 2.073.1 change the name of the executable to be writte

Re: D-compiled executables being detected as viruses with BitDefender (Windows)

2017-04-13 Thread Jesse Phillips via Digitalmars-d
On Tuesday, 25 February 2014 at 20:13:15 UTC, Andrej Mitrovic wrote: I've recently had some of my D DLLs being falsely identified as variants of a MiniDuke virus. But apparently I'm not the only one that ran into this: http://forum.bitdefender.com/index.php?showtopic=43027 Unfortunately the s

Re: Fixing sample files

2017-04-13 Thread Andrei Alexandrescu via Digitalmars-d
On 04/12/2017 09:34 PM, Basile B. wrote: On Thursday, 13 April 2017 at 01:13:23 UTC, Walter Bright wrote: On 4/12/2017 1:30 PM, Basile B. wrote: Since dmd is shipped with DUB one can just put some embedded SDL descriptions and put undead as dependency. Better to just fix them. A bit off top

[OT] Re: What are we going to do about mobile?

2017-04-13 Thread Jesse Phillips via Digitalmars-d
On Thursday, 6 April 2017 at 09:39:05 UTC, kinke wrote: we already have (unlike DMD, fully free!) D compilers able to ... DMD is now fully free: https://forum.dlang.org/post/oc8acc$1ei9$1...@digitalmars.com

Re: {OT} Youtube video: finding an eliusive bug with CTFE

2017-04-13 Thread Meta via Digitalmars-d
On Thursday, 13 April 2017 at 10:29:06 UTC, Stefan Koch wrote: Hi Guys, while building newCTFE is ran into a really nasty bug. Which took me hours to find, but with CTFE and __traits it is preventable and will never haunt me again. Because I was so happy that I could prevent this bug; I want t

SCons, D, and Dub

2017-04-13 Thread Russel Winder via Digitalmars-d
I have started trying to make a dub tool for SCons, and especially support for Unit-Threaded. It's rough working to try things out, this is not good Python and it is definitely not good SCons, yet. If anyone using SCons for D builds wants to get involved please feel free. It's at: https://github

Re: Walter and Andrei and community relationship management

2017-04-13 Thread Adam D. Ruppe via Digitalmars-d
On Monday, 10 April 2017 at 22:07:11 UTC, Walter Bright wrote: There are many. A random sampling: The vast, vast majority of the stuff I do in D though are for myself. I used to want to get more into Phobos, but I just don't care anymore - I prefer staying as an independent library other tha

D

2017-04-13 Thread Christian via Digitalmars-d
Heyboo

Re: Proposal 2: Exceptions and @nogc

2017-04-13 Thread MysticZach via Digitalmars-d
On Wednesday, 12 April 2017 at 19:01:25 UTC, Walter Bright wrote: On 4/11/2017 10:24 AM, MysticZach wrote: Hi guys. Hey Walter. So, about this point. On the lifetime study thread, http://forum.dlang.org/post/56301a8c.1060...@erdani.com , the following two problems were stated by Andrei, but I d

Re: Dlang Features You Would Like To Share

2017-04-13 Thread Dukc via Digitalmars-d
On Thursday, 13 April 2017 at 05:51:27 UTC, Dukc wrote: auto use(alias F, T)(T t){return F(t);} void main() { import std.stdio; foreach(i; 1 .. 11) { foreach(j; 1 .. 11) write((i * j).use!(x => x*x), " "); writeln; } } forgot three letters: auto use(alias F, T...)(T t)

Re: Dlang Features You Would Like To Share

2017-04-13 Thread Dukc via Digitalmars-d
On Thursday, 13 April 2017 at 11:16:46 UTC, crimaniak wrote: If fact you don't need any template to do this. Try the next: foreach(i; 1 .. 11) { foreach(j; 1 .. 11) write((x => x*x)(i * j), " "); writeln; } True, that's a good trick too. But I prefer the template at least

Re: Thoughts from newcommer

2017-04-13 Thread thedeemon via Digitalmars-d
On Thursday, 13 April 2017 at 08:08:04 UTC, Russel Winder wrote: It is Isaac's game, he runs it, he chooses which languages are up there. It is not an official Debian thing as far as I know. So what the problem? I think Piotr stated the problem in the original post. If a language is missing

Re: Dlang Features You Would Like To Share

2017-04-13 Thread bluecat via Digitalmars-d
On Thursday, 13 April 2017 at 11:16:46 UTC, crimaniak wrote: On Thursday, 13 April 2017 at 05:51:27 UTC, Dukc wrote: auto use(alias F, T)(T t){return F(t);} void main() { import std.stdio; foreach(i; 1 .. 11) { foreach(j; 1 .. 11) write((i * j).use!(x => x*x), " "); writeln;

Re: Dlang Features You Would Like To Share

2017-04-13 Thread Idan Arye via Digitalmars-d
On Wednesday, 12 April 2017 at 21:40:48 UTC, bluecat wrote: What are some features that you have discovered that you would like to share with the community? For me, one thing I found interesting was the ability to define structures dynamically using mixins: import std.stdio; import std.format

Re: Walter and Andrei and community relationship management

2017-04-13 Thread Paolo Invernizzi via Digitalmars-d
On Thursday, 13 April 2017 at 11:31:12 UTC, Guillaume Piolat wrote: And the most impressive to me is actually the way Walter answers to D users. If you are reading this forum since years you know what I mean. I try to emulate some of this with customers. That's really true: I sincerely thin

Re: Walter and Andrei and community relationship management

2017-04-13 Thread Guillaume Piolat via Digitalmars-d
On Tuesday, 11 April 2017 at 19:18:32 UTC, H. S. Teoh wrote: On Tue, Apr 11, 2017 at 10:24:01AM -0700, Walter Bright via Digitalmars-d wrote: For a socially inept nerd such as myself, with all the charisma of a lamppost, I think D has done very well. You underestimate yourself. While you're no

Re: Dlang Features You Would Like To Share

2017-04-13 Thread crimaniak via Digitalmars-d
On Thursday, 13 April 2017 at 05:51:27 UTC, Dukc wrote: auto use(alias F, T)(T t){return F(t);} void main() { import std.stdio; foreach(i; 1 .. 11) { foreach(j; 1 .. 11) write((i * j).use!(x => x*x), " "); writeln; } } This way, you can avoid writing long expressions twi

Re: Dlang Features You Would Like To Share

2017-04-13 Thread Guillaume Piolat via Digitalmars-d
On Wednesday, 12 April 2017 at 21:40:48 UTC, bluecat wrote: What are some features that you have discovered that you would like to share with the community? For me, one thing I found interesting was the ability to define structures dynamically using mixins: import std.stdio; import std.format

{OT} Youtube video: finding an eliusive bug with CTFE

2017-04-13 Thread Stefan Koch via Digitalmars-d
Hi Guys, while building newCTFE is ran into a really nasty bug. Which took me hours to find, but with CTFE and __traits it is preventable and will never haunt me again. Because I was so happy that I could prevent this bug; I want to share it with the whole world: https://www.youtube.com/watch?

Re: Q about Phobos regex's architecture

2017-04-13 Thread Dmitry Olshansky via Digitalmars-d
On 4/13/17 7:53 AM, Nick Sabalausky (Abscissa) wrote: I'll admit this is a bit unorthodox, but...I've been wondering about something regarding Phobos regex's implementation and internal architecture: Just how compartmentalized is the parsing of standard PCRE regex syntax vs actual usage of regexe

Re: What are we going to do about mobile?

2017-04-13 Thread rikki cattermole via Digitalmars-d
On 13/04/2017 10:30 AM, Iain Buclaw via Digitalmars-d wrote: On 13 April 2017 at 10:12, Russel Winder via Digitalmars-d wrote: On Wed, 2017-04-12 at 10:59 +0100, rikki cattermole via Digitalmars-d wrote: […] Considering it was created in 2014, I think we're safe implementing extern(JNI) suppo

Re: What are we going to do about mobile?

2017-04-13 Thread Iain Buclaw via Digitalmars-d
On 13 April 2017 at 10:12, Russel Winder via Digitalmars-d wrote: > On Wed, 2017-04-12 at 10:59 +0100, rikki cattermole via Digitalmars-d > wrote: >> […] >> >> Considering it was created in 2014, I think we're safe implementing >> extern(JNI) support either which ways. >> >> Although a little stra

BLAS implementation for D

2017-04-13 Thread data pulverizer via Digitalmars-d
I have just finished the first version of a BLAS implementation for D mostly done by code conversion from GSL's BLAS module https://github.com/dataPulverizer/dblas It is complete functionally with respect covering all the functions implemented in BLAS. @9il has suggested that we should work t

Article: Interfacing D with C and Fortran

2017-04-13 Thread data pulverizer via Digitalmars-d
FYI: My article with @9il "Interfacing D with C and Fortran" is now up http://www.active-analytics.com/blog/interface-d-with-c-fortran/ Thanks to those that made suggestions that informed the article. You may also want to check out "A quick look at D" article http://www.active-analytics.com/b

Re: Thoughts from newcommer

2017-04-13 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 12 April 2017 at 09:38:49 UTC, Russel Winder wrote: On Tue, 2017-04-11 at 20:07 +, Stefan Koch via Digitalmars-d wrote: […] At the risk of starting a flame war: The memory safety is currently in the works. We just have one std-lib now. GC is slow, yes. I don't care, it d

Re: What are we going to do about mobile?

2017-04-13 Thread Russel Winder via Digitalmars-d
On Wed, 2017-04-12 at 10:59 +0100, rikki cattermole via Digitalmars-d wrote: > […] > > Considering it was created in 2014, I think we're safe implementing  > extern(JNI) support either which ways. > > Although a little strange since nobody has completed a full JNI  > implementation yet! JNI will

Re: Fixing sample files

2017-04-13 Thread Jacob Carlborg via Digitalmars-d
On 2017-04-12 21:58, Walter Bright wrote: https://issues.dlang.org/show_bug.cgi?id=17099 This is a bit embarrassing. It seems that the samples fail because they use std.stream, which has been removed. Anyone want to fix them to use stdio instead? Seems like compiling the samples should be par

Re: Thoughts from newcommer

2017-04-13 Thread Russel Winder via Digitalmars-d
On Wed, 2017-04-12 at 19:31 +, thedeemon via Digitalmars-d wrote: > On Tuesday, 11 April 2017 at 19:57:19 UTC, Piotr Kowalski wrote: > > > http://benchmarksgame.alioth.debian.org/ > > > > Why D is not there? > > Because maintainer of that site doesn't want D there, as I  > remember from prev