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

Re: Regex multiple matches

2017-04-13 Thread rikki cattermole via Digitalmars-d-learn
On 14/04/2017 3:54 AM, Jethro wrote: using the rule (?Pregex) e.g., (?P\w*)* how do we get at all the matches, e.g., Joe Bob Buddy? When I access the results captures they are are not arrays and I only ever get the first match even when I'm using matchAll. Pseudo code: foreach(result;

[Issue 17099] c:\d\dmd2\samples\d needs to be updated to compile with latest versions like 2073...

2017-04-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17099 --- Comment #6 from Walter Bright --- fix dclient: https://github.com/dlang/dmd/pull/6699 --

Regex multiple matches

2017-04-13 Thread Jethro via Digitalmars-d-learn
using the rule (?Pregex) e.g., (?P\w*)* how do we get at all the matches, e.g., Joe Bob Buddy? When I access the results captures they are are not arrays and I only ever get the first match even when I'm using matchAll.

[Issue 17099] c:\d\dmd2\samples\d needs to be updated to compile with latest versions like 2073...

2017-04-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17099 --- Comment #5 from Walter Bright --- winsamp.d fix: https://github.com/dlang/dmd/pull/6698 --

Re: a newbie problem regarding splitter()

2017-04-13 Thread alex via Digitalmars-d-learn
On Thursday, 13 April 2017 at 06:42:30 UTC, Ali Çehreli wrote: On 04/12/2017 11:33 PM, alex wrote: > Hello, > "The D Programming Language" by Andrei Alexandrescu. Great book but a lot has changed in D since the book was written in 2010. Your issue is in the book's errata:

[Issue 17325] New: alias this not tried on template instantiation failure

2017-04-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17325 Issue ID: 17325 Summary: alias this not tried on template instantiation failure Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

Re: ordered Associative array

2017-04-13 Thread H. S. Teoh via Digitalmars-d-learn
On Fri, Apr 14, 2017 at 12:29:34AM +, Jethro via Digitalmars-d-learn wrote: > Is there a way to retain the ordering of an associative array? When > the elements are added then looped over using a foreach, the order is > different. An AA is implemented as an unordered hash. So the insertion

Re: ordered Associative array

2017-04-13 Thread solidstate1991 via Digitalmars-d-learn
On Friday, 14 April 2017 at 00:29:34 UTC, Jethro wrote: Is there a way to retain the ordering of an associative array? When the elements are added then looped over using a foreach, the order is different. Use a separate array to store the keys, order them all time when you add a new one,

ordered Associative array

2017-04-13 Thread Jethro via Digitalmars-d-learn
Is there a way to retain the ordering of an associative array? When the elements are added then looped over using a foreach, the order is different.

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

[Issue 17324] New: Floating point 1/(1/x) > 0 if x > 0 not generally true

2017-04-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17324 Issue ID: 17324 Summary: Floating point 1/(1/x) > 0 if x > 0 not generally true Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal

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

Re: Generating switch at Compile Time

2017-04-13 Thread ag0aep6g via Digitalmars-d-learn
On 04/13/2017 11:06 PM, Jesse Phillips wrote: - [...] private static immutable list = AliasSeq!( tuple("a", "q"), tuple("b", "r"), ); [...] switch(search) { --->foreach(li; list) { // li initialization is skipped

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.

Generating switch at Compile Time

2017-04-13 Thread Jesse Phillips via Digitalmars-d-learn
I realize that this is likely really pushing the compile time generation but a recent change to the switch statement[1] is surfacing because of this usage. uninitswitch2.d(13): Deprecation: 'switch' skips declaration of variable uninits witch2.main.li at uninitswitch2.d(14)

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

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

Re: Update roll-up on my arsd libraries

2017-04-13 Thread Adam D. Ruppe via Digitalmars-d-announce
On Thursday, 13 April 2017 at 18:11:10 UTC, H. S. Teoh wrote: Hooray! Finally! Maybe now I can play videos over SSH (albeit ultra-pixelated). :-P Hah though actually, my terminal emulator has support for outputting png images... But truth is, this is one reason why I prefer things

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

[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

using joyent manta public cloud storage service

2017-04-13 Thread flamencofantasy via Digitalmars-d-learn
hello, I'm trying to use the joyent manta storage service via their REST api. https://apidocs.joyent.com/manta/api.html For that i need to implement http signature over TLS. Here is a shell function that does that; function manta { local alg=rsa-sha256 local

Re: ctRegex with variable?

2017-04-13 Thread Jesse Phillips via Digitalmars-d-learn
On Wednesday, 12 April 2017 at 21:25:40 UTC, Jethro wrote: Can regex's have variables in them? I'd like to create a ctRegex but match on runtime strings that are known at runtime. e.g., auto c = ctRegex~("x{var}") As mentioned by Ali, benchmark for your use case. If var has common values

Re: BLAS implementation for D

2017-04-13 Thread 9il via Digitalmars-d-announce
On Thursday, 13 April 2017 at 17:43:14 UTC, Bill Baxter wrote: I would probably call it gnublas or gplblas something to make it clear that it's got that aspect to it. It can't ever really be "the one true" blas lib for all D users with that license. Re: merging with Mir GLAS, that seems very

Re: ndslice summary please

2017-04-13 Thread 9il via Digitalmars-d-learn
On Thursday, 13 April 2017 at 15:22:46 UTC, Martin Tschierschke wrote: On Thursday, 13 April 2017 at 08:47:16 UTC, Ali Çehreli wrote: I haven't played with ndslice nor followed its deprecation discussions. Could someone summarize it for us please. Also, is it still used outside Phobos or is

Re: ndslice summary please

2017-04-13 Thread 9il via Digitalmars-d-learn
On Thursday, 13 April 2017 at 15:22:46 UTC, Martin Tschierschke wrote: On Thursday, 13 April 2017 at 08:47:16 UTC, Ali Çehreli wrote: I haven't played with ndslice nor followed its deprecation discussions. Could someone summarize it for us please. Also, is it still used outside Phobos or is

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

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:

Re: How to continue after the book?

2017-04-13 Thread Vasudev Ram via Digitalmars-d-learn
On Tuesday, 28 March 2017 at 07:27:31 UTC, I Lindström wrote: After getting the basics down, how did you continue when learning programming in general? Many other good suggestions here already. 1. Another idea: pick some small tools or utilities that you would like to create, and write them

Re: ndslice summary please

2017-04-13 Thread Martin Tschierschke via Digitalmars-d-learn
On Thursday, 13 April 2017 at 08:47:16 UTC, Ali Çehreli wrote: I haven't played with ndslice nor followed its deprecation discussions. Could someone summarize it for us please. Also, is it still used outside Phobos or is Ilya or someone else rewriting it? Ali We should additionally mention

Re: ndslice summary please

2017-04-13 Thread Ilya Yaroshenko via Digitalmars-d-learn
On Thursday, 13 April 2017 at 15:00:16 UTC, Dejan Lekic wrote: On Thursday, 13 April 2017 at 10:00:43 UTC, 9il wrote: On Thursday, 13 April 2017 at 08:47:16 UTC, Ali Çehreli wrote: [...] The reasons to use mir-algorithm instead of std.range, std.algorithm, std.functional (when applicable):

Re: ndslice summary please

2017-04-13 Thread Dejan Lekic via Digitalmars-d-learn
On Thursday, 13 April 2017 at 10:00:43 UTC, 9il wrote: On Thursday, 13 April 2017 at 08:47:16 UTC, Ali Çehreli wrote: I haven't played with ndslice nor followed its deprecation discussions. Could someone summarize it for us please. Also, is it still used outside Phobos or is Ilya or someone

Re: BLAS implementation for D

2017-04-13 Thread Dejan Lekic via Digitalmars-d-announce
On Thursday, 13 April 2017 at 09:18:06 UTC, data pulverizer wrote: 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

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

Chennai D Meetup April 22: Introducing D, Rust, and Swift

2017-04-13 Thread Chennai Danatic via Digitalmars-d-announce
Please RSVP if you plan to attend: https://www.meetup.com/Chennai-D/events/238949573/?showDescription=true Btw, Chennai, a large port city in South India, now has the most members of any D Meetup group, passing even Silicon Valley: https://www.meetup.com/topics/dpl/ Not a big deal, since

Re: Article: Interfacing D with C and Fortran

2017-04-13 Thread Pradeep Gowda via Digitalmars-d-announce
On Thursday, 13 April 2017 at 13:40:48 UTC, Mike Parker wrote: https://www.reddit.com/r/programming/comments/655ilu/interfacing_d_with_c_and_fortran/ On lobste.rs: https://lobste.rs/s/pidpz1/interfacing_d_with_c_fortran_use_d_as

D

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

[Issue 17323] New: Eliminate all uses of obsolete "..." in dmd

2017-04-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17323 Issue ID: 17323 Summary: Eliminate all uses of obsolete "..." in dmd Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

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

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

Re: BLAS implementation for D

2017-04-13 Thread data pulverizer via Digitalmars-d-announce
On Thursday, 13 April 2017 at 11:29:39 UTC, jmh530 wrote: On Thursday, 13 April 2017 at 09:18:06 UTC, data pulverizer wrote: It is complete functionally with respect covering all the functions implemented in BLAS. @9il has suggested that we should work to merge this library with Mir GLAS

[Issue 17322] New: Add Magikcraft to organizations using D

2017-04-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17322 Issue ID: 17322 Summary: Add Magikcraft to organizations using D Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW Severity: enhancement

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

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), " ");

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

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

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

Re: BLAS implementation for D

2017-04-13 Thread jmh530 via Digitalmars-d-announce
On Thursday, 13 April 2017 at 09:18:06 UTC, data pulverizer wrote: It is complete functionally with respect covering all the functions implemented in BLAS. @9il has suggested that we should work to merge this library with Mir GLAS which I think is a good idea. So Mir GLAS doesn't cover

Re: Article: Interfacing D with C and Fortran

2017-04-13 Thread jmh530 via Digitalmars-d-announce
On Thursday, 13 April 2017 at 09:19:05 UTC, data pulverizer wrote: 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

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

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

[Issue 11905] Can't make enum of custom struct types autoincrement working

2017-04-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11905 Daniel Čejchan changed: What|Removed |Added CC||czda...@gmail.com --

{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:

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

Re: excel-d v0.0.1 - D API to write functions callable from Excel

2017-04-13 Thread Atila Neves via Digitalmars-d-announce
On Monday, 20 March 2017 at 20:09:58 UTC, Atila Neves wrote: http://code.dlang.org/packages/excel-d This dub package allows D code to be called from Excel. It uses compile-time reflection to register the user's code in an XLL (a DLL loaded by Excel) so no boilerplate is necessary. Not even

Re: ndslice summary please

2017-04-13 Thread 9il via Digitalmars-d-learn
On Thursday, 13 April 2017 at 08:47:16 UTC, Ali Çehreli wrote: I haven't played with ndslice nor followed its deprecation discussions. Could someone summarize it for us please. Also, is it still used outside Phobos or is Ilya or someone else rewriting it? Ali The reasons to use

Re: ndslice summary please

2017-04-13 Thread 9il via Digitalmars-d-learn
On Thursday, 13 April 2017 at 08:47:16 UTC, Ali Çehreli wrote: I haven't played with ndslice nor followed its deprecation discussions. Could someone summarize it for us please. Also, is it still used outside Phobos or is Ilya or someone else rewriting it? Ali Hello Ali, ndslice was

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

Re: Call for arms: Arch Linux D package maintenance

2017-04-13 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 11 April 2017 at 16:17:32 UTC, John Colvin wrote: On Thursday, 16 February 2017 at 19:58:47 UTC, Rory McGuire wrote: [...] Any news on this? The arch packages are listed as orphaned. Same question, and adding that I volunteer to take over. Atila

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

Article: Interfacing D with C and Fortran

2017-04-13 Thread data pulverizer via Digitalmars-d-announce
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

BLAS implementation for D

2017-04-13 Thread data pulverizer via Digitalmars-d-announce
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

[Issue 17099] c:\d\dmd2\samples\d needs to be updated to compile with latest versions like 2073...

2017-04-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17099 --- Comment #4 from Walter Bright --- dhry.d fix: https://github.com/dlang/dmd/pull/6694 --

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

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

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

[Issue 17099] c:\d\dmd2\samples\d needs to be updated to compile with latest versions like 2073...

2017-04-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17099 --- Comment #3 from Walter Bright --- d2html.d: https://github.com/dlang/dmd/pull/6693 --

ndslice summary please

2017-04-13 Thread Ali Çehreli via Digitalmars-d-learn
I haven't played with ndslice nor followed its deprecation discussions. Could someone summarize it for us please. Also, is it still used outside Phobos or is Ilya or someone else rewriting it? Ali

[Issue 17099] c:\d\dmd2\samples\d needs to be updated to compile with latest versions like 2073...

2017-04-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17099 Walter Bright changed: What|Removed |Added CC|

[Issue 17321] Example code for std.stdio.File fails to compile

2017-04-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17321 --- Comment #1 from Walter Bright --- This seems to be an issue with my local copy of std.stdio seems to be behind the master. --

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

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

[Issue 17099] c:\d\dmd2\samples\d needs to be updated to compile with latest versions like 2073...

2017-04-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17099 Jacob Carlborg changed: What|Removed |Added CC||d...@me.com --- Comment #1

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

[Issue 17321] New: Example code for std.stdio.File fails to compile

2017-04-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17321 Issue ID: 17321 Summary: Example code for std.stdio.File fails to compile Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression

Re: Release vibe.d 0.7.31

2017-04-13 Thread Sönke Ludwig via Digitalmars-d-announce
Am 12.04.2017 um 12:03 schrieb Martin Nowak: Thanks On Monday, 10 April 2017 at 20:48:34 UTC, Sönke Ludwig wrote: - Compiles on the latest DMD version (2.068.x-2.072.0) 2.068.x-2.074.0, that is True, thanks for the notice!

Re: Release vibe.d 0.7.31

2017-04-13 Thread Sönke Ludwig via Digitalmars-d-announce
Am 12.04.2017 um 20:29 schrieb Nick Sabalausky (Abscissa): On 04/10/2017 04:48 PM, Sönke Ludwig wrote: The 0.7.x branch will continue to be maintained for a short while, but only bug fixes will be included from now on. Applications should switch to the 0.8.x branch as soon as possible. If a

Re: a newbie problem regarding splitter()

2017-04-13 Thread Ali Çehreli via Digitalmars-d-learn
On 04/12/2017 11:33 PM, alex wrote: > Hello, > > I've just started learning D, working my way through "The D Programming > Language" by Andrei Alexandrescu. Great book but a lot has changed in D since the book was written in 2010. Your issue is in the book's errata:

a newbie problem regarding splitter()

2017-04-13 Thread alex via Digitalmars-d-learn
Hello, I've just started learning D, working my way through "The D Programming Language" by Andrei Alexandrescu. On page 8 there is: import std.stdio, std.string; void main(){ uint[string] dictionary; foreach (line; stdin.byLine()){ foreach (word; splitter(strip(line))){