Re: Wiki spam

2018-02-02 Thread rikki cattermole via Digitalmars-d-learn
On 03/02/2018 6:34 AM, Tony wrote: Don't know if there is a better place to report this, but the wiki attracted a spammer: https://wiki.dlang.org/The_Search_Of_Charter_Yacht_Designer https://wiki.dlang.org/User:MichelMeudell General

Wiki spam

2018-02-02 Thread Tony via Digitalmars-d-learn
Don't know if there is a better place to report this, but the wiki attracted a spammer: https://wiki.dlang.org/The_Search_Of_Charter_Yacht_Designer https://wiki.dlang.org/User:MichelMeudell

[Issue 18355] [Areas of D usage]

2018-02-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18355 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/5cd30438c21dcc0efd41bb0e04f476176bcbe8bc Fix Issue 18355 - [Areas of D usage]

Re: dub test

2018-02-02 Thread Joel via Digitalmars-d-learn
On Friday, 2 February 2018 at 09:00:38 UTC, carblue wrote: On Friday, 2 February 2018 at 07:23:54 UTC, Joel wrote: [snip] Import module base from file ... source/jmisc/base.d by: import jmisc.base; and recommended read: https://code.dlang.org/package-format?lang=json Thanks carblue. I had

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread Joakim via Digitalmars-d
On Saturday, 3 February 2018 at 01:52:04 UTC, psychoticRabbit wrote: On Friday, 2 February 2018 at 15:06:35 UTC, Benny wrote: I am personally confused with D's message. I think that point hits the cause of your problem with D (along with your need to 'choose' something over 'something'

Re: Inline code in the docs - the correct way

2018-02-02 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 2 February 2018 at 20:15:11 UTC, H. S. Teoh wrote: This is the kind of thing you should be promoting to Andrei to convince him that dpldocs is better. ;-) I'm updating my fork now and check out this merge conflict: <<< HEAD * source = The [isInputRange|input range] to

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread Walter Bright via Digitalmars-d
On 2/2/2018 7:06 AM, Benny wrote: Other languages have slogans, they have selling points. When i hear Go, you hear uniformal, fast, simple syntax language. When i hear Rust, you hear safe, manual memory management. When i hear D, you hear ... ... ... ... Fast code,

Re: The delang is using merge instead of rebase/squash

2018-02-02 Thread timotheecour via Digitalmars-d
On Sunday, 19 November 2017 at 04:44:24 UTC, Meta wrote: On Friday, 24 March 2017 at 16:34:46 UTC, Martin Nowak wrote: On Tuesday, 21 March 2017 at 20:16:00 UTC, Atila Neves wrote: git rebase master my_branch git checkout master git merge --no-ff my_branch Yes, that's about what we aim for,

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread psychoticRabbit via Digitalmars-d
On Friday, 2 February 2018 at 15:06:35 UTC, Benny wrote: Other languages have slogans, they have selling points. When i hear Go, you hear uniformal, fast, simple syntax language. When i hear Rust, you hear safe, manual memory management. When i hear D, you hear ... ... ... ... When i hear

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread psychoticRabbit via Digitalmars-d
On Friday, 2 February 2018 at 15:06:35 UTC, Benny wrote: I am personally confused with D's message. I think that point hits the cause of your problem with D (along with your need to 'choose' something over 'something' else). Stop looking for the meaning of D .. and start experiencing it.

Re: Should the "front" range primitive be "const" ?

2018-02-02 Thread H. S. Teoh via Digitalmars-d-learn
On Fri, Feb 02, 2018 at 07:06:56AM +, Simen Kjærås via Digitalmars-d-learn wrote: [...] > Which code would you rather write? > > void foo(T)(const T t) {} > foo(myValue); > > or: > > void foo(T)(T t) if (isTailConst!T) {} > foo(myValue.tailConst); [...] More thoughts on this: what if we

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread aberba via Digitalmars-d
On Saturday, 3 February 2018 at 00:11:06 UTC, Adam D. Ruppe wrote: On Friday, 2 February 2018 at 23:49:14 UTC, aberba wrote: It appears most core contributors are not into networking or web services so they may not see it as a blocker. I do tons of HTTP stuff in D; to me it is a solved

Re: Inline code in the docs - the correct way

2018-02-02 Thread Walter Bright via Digitalmars-d
On 2/1/2018 6:09 AM, Steven Schveighoffer wrote: On 1/31/18 9:58 PM, Walter Bright wrote: On 1/31/2018 5:37 PM, Steven Schveighoffer wrote: Where it breaks down is when you have many nested tags, and you end with ) Long ago, I adjusted my text editor so that when the cursor is placed on

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 2 February 2018 at 23:49:14 UTC, aberba wrote: It appears most core contributors are not into networking or web services so they may not see it as a blocker. I do tons of HTTP stuff in D; to me it is a solved problem. Though I haven't implemented http2 since I don't need it; http

Re: LDC 1.7.0

2018-02-02 Thread aberba via Digitalmars-d-announce
On Friday, 2 February 2018 at 12:57:44 UTC, Kagamin wrote: On Tuesday, 30 January 2018 at 19:57:39 UTC, aberba wrote: now it seem abandoned after such an effort. Can you confirm it for Ubuntu 17? I'm on 16.04.

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread aberba via Digitalmars-d
On Friday, 2 February 2018 at 23:49:14 UTC, aberba wrote: On Friday, 2 February 2018 at 21:09:20 UTC, Rubn wrote: [...] D can equally do HTTP in whatever way Go does it. It appears most core contributors are not into networking or web services so they may not see it as a blocker. Its more

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread aberba via Digitalmars-d
On Friday, 2 February 2018 at 21:09:20 UTC, Rubn wrote: On Friday, 2 February 2018 at 15:06:35 UTC, Benny wrote: HTTP: If you are focusing on Http then yah Go is probably the better choice, it looks like it is entire geared towards http development. I wouldn't use D for http just like I

Re: Inline code in the docs - the correct way

2018-02-02 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 2 February 2018 at 20:15:11 UTC, H. S. Teoh wrote: This is the kind of thing you should be promoting to Andrei to convince him that dpldocs is better. ;-) I've laid out my arguments several times, including this point. Actually, $(REF) was introduced after I made the argument, so

[Issue 18359] writeln and synchronized classes don't sync properly

2018-02-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18359 --- Comment #1 from Robert Luger --- Tried it with --arch=x86_64/-m64, does not happen there. Only seems to affect 32 bit binaries. --

[Issue 18359] writeln and synchronized classes don't sync properly

2018-02-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18359 Robert Luger changed: What|Removed |Added CC||weltenst...@gmail.com

[Issue 18359] New: writeln and synchronized classes don't sync properly

2018-02-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18359 Issue ID: 18359 Summary: writeln and synchronized classes don't sync properly Product: D Version: D2 Hardware: x86_64 URL: http://dlang.org/ OS: Windows

Re: Quora: Why hasn't D started to replace C++?

2018-02-02 Thread rjframe via Digitalmars-d
On Fri, 02 Feb 2018 20:04:33 +, Seb wrote: > Not could - it's now is: > https://forum.dlang.org/post/tzyleprmwjmdnjhhp...@forum.dlang.org Sometimes y'all get things done so quickly I'm surprised everybody's a volunteer. --Ryan

Re: [RFC] IDE starter kit

2018-02-02 Thread rumbu via Digitalmars-d
On Friday, 2 February 2018 at 20:42:55 UTC, Ivan Trombley wrote: Here's how I get started: - Install DMD. - Install Visual Studio Code. - Add Jan Jurzitza's (webfreak) serve-d and Native Debug plugins to VSC. C:\D\dmd2\windows\bin\..\..\src\phobos\std\math.d(543,33): Deprecation: integral

Re: D build and SCons

2018-02-02 Thread H. S. Teoh via Digitalmars-d
On Thu, Feb 01, 2018 at 12:56:28PM +, Russel Winder wrote: [...] > Apologies for taking so long to get to this. Not a problem, you and I are both busy, and it's perfectly understandable that we can't respond to things instantly. > On Thu, 2017-12-28 at 10:21 -0800, H. S. Teoh via

Re: [RFC] IDE starter kit

2018-02-02 Thread WebFreak001 via Digitalmars-d
On Friday, 2 February 2018 at 20:42:55 UTC, Ivan Trombley wrote: Here's how I get started: - Install DMD. - Install Visual Studio Code. - Add Jan Jurzitza's (webfreak) serve-d and Native Debug plugins to VSC. - Get busy. this entire procedure also works on windows now as you no longer need

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread user via Digitalmars-d
When i hear Go, you hear uniformal, fast, simple syntax language. When i hear Rust, you hear safe, manual memory management. When i hear D, you hear ... ... ... ... I usually hear awesome meta-programming and ranges. I think D community had put lot of effort in making these things work

Re: Quora: Why hasn't D started to replace C++?

2018-02-02 Thread 12345swordy via Digitalmars-d
On Friday, 2 February 2018 at 21:14:12 UTC, Walter Bright wrote: On 2/2/2018 11:08 AM, Russel Winder wrote: Hummm… could it be that Andrei did not define the task appropriately, train the person appropriately, and mentor the person appropriately. Management has to be able to delegate and

Re: Quora: Why hasn't D started to replace C++?

2018-02-02 Thread Walter Bright via Digitalmars-d
On 2/2/2018 11:08 AM, Russel Winder wrote: Hummm… could it be that Andrei did not define the task appropriately, train the person appropriately, and mentor the person appropriately. Management has to be able to delegate and achieve required results without doing the work themselves. Of course.

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread Rubn via Digitalmars-d
On Friday, 2 February 2018 at 15:06:35 UTC, Benny wrote: HTTP: If you are focusing on Http then yah Go is probably the better choice, it looks like it is entire geared towards http development. I wouldn't use D for http just like I wouldn't use C++ for http.

Re: Quora: Why hasn't D started to replace C++?

2018-02-02 Thread Paolo Invernizzi via Digitalmars-d
On Friday, 2 February 2018 at 18:17:30 UTC, H. S. Teoh wrote: On Fri, Feb 02, 2018 at 03:06:57PM +, Mark via It has, to some extent. But the fundamental problem remains that more manpower is needed so that he can be freed up to do the more important things. Having to personally review

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread David Gileadi via Digitalmars-d
On 2/2/18 1:38 PM, welkam wrote: On Friday, 2 February 2018 at 15:06:35 UTC, Benny wrote: ** Wall of text ** I dont post here often but... Most of what you complain is known already and/or not entirely correct. People who work on D are not some glue sniffing brain dead individuals that are

Re: [RFC] IDE starter kit

2018-02-02 Thread Ivan Trombley via Digitalmars-d
Here's how I get started: - Install DMD. - Install Visual Studio Code. - Add Jan Jurzitza's (webfreak) serve-d and Native Debug plugins to VSC. - Get busy.

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread welkam via Digitalmars-d
On Friday, 2 February 2018 at 15:06:35 UTC, Benny wrote: HTTP: D has no default HTTP server. So you need to rely on vibe.d. Vibe.d being a external package that then relies on a few people to maintain it. D has no future proof HTTP. There is currently no official http2 build in to vibe.d.

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread welkam via Digitalmars-d
On Friday, 2 February 2018 at 15:06:35 UTC, Benny wrote: ** Wall of text ** I dont post here often but... Most of what you complain is known already and/or not entirely correct. People who work on D are not some glue sniffing brain dead individuals that are incapable of understanding that

Re: Inline code in the docs - the correct way

2018-02-02 Thread H. S. Teoh via Digitalmars-d
On Fri, Feb 02, 2018 at 07:46:51PM +, Adam D. Ruppe via Digitalmars-d wrote: > On Friday, 2 February 2018 at 18:45:50 UTC, H. S. Teoh wrote: > > In an ideal world, you wouldn't need to encode any of this stuff > > inside a ddoc comment. > > Well, that's what the Phobos REF macro does... sort

Re: My LDC talk this weekend @ FOSDEM'18

2018-02-02 Thread Nicholas Wilson via Digitalmars-d-announce
On Friday, 2 February 2018 at 19:37:42 UTC, Kai Nacke wrote: Hi everybody! I am still around and try to get more active. Like last year, I am going to FOSDEM this weekend. I am a speaker in the LLVM toolchain devroom @ FOSDEM'18. My talk is about DCompute which I consider to be an awesome

@dlang_ng is now tweeting about NG.announce on Twitter

2018-02-02 Thread Seb via Digitalmars-d-announce
For those people who want to be notified immediately about new announcements in #dlang, there's now @dlang_ng: https://twitter.com/dlang_ng Huge thanks and credits go to Vladimir for taking my initial implementation and putting it into DFeed. Also credits go to rjframe for posting this idea

Re: Quora: Why hasn't D started to replace C++?

2018-02-02 Thread Seb via Digitalmars-d
On Thursday, 1 February 2018 at 11:40:32 UTC, rjframe wrote: On Thu, 01 Feb 2018 11:11:20 +, Martin Tschierschke wrote: Idea: There should be some kind of news ticker for all enhancements and important decisions, maybe at first just via twitter with a special #tag beside #dlang where

[Issue 18134] BitArray >>= broken when length % (8 * size_t.sizeof) == 0

2018-02-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18134 Jakub Łabaj changed: What|Removed |Added Assignee|nob...@puremagic.com|uaaabbj...@gmail.com --

[Issue 18133] BitArray constructors are poorly documented.

2018-02-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18133 Jakub Łabaj changed: What|Removed |Added Assignee|nob...@puremagic.com|uaaabbj...@gmail.com --

Re: Inline code in the docs - the correct way

2018-02-02 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 2 February 2018 at 18:45:50 UTC, H. S. Teoh wrote: In an ideal world, you wouldn't need to encode any of this stuff inside a ddoc comment. Well, that's what the Phobos REF macro does... sort of. You write $(REF symbolName, std, module) and the macro figures out the link. Though,

Re: Files and Buffers

2018-02-02 Thread Jerry Ferris via Digitalmars-d-learn
Good day, I reexamined my objective and needs, and I've determined that the entirety of the input does not need to be read in all cases. Thus I've returned to using File instead std.file.read. I should've put forth more thought; because I did not, I created a fairly useless OP. I do

Re: [RFC] IDE starter kit

2018-02-02 Thread rumbu via Digitalmars-d
On Friday, 2 February 2018 at 15:13:49 UTC, aberba wrote: Anyways, DLangUI currently stands as the defacto cross-platform GUI library for D. Its keeps getting better in functionality. In this context, I'm talking about a lazy and convenient Windows user first experience with D. He

Re: select, poll, epoll from D

2018-02-02 Thread Adam D. Ruppe via Digitalmars-d-learn
On Friday, 2 February 2018 at 19:30:32 UTC, Russel Winder wrote: The online documentation doesn't seem to acknowledge the existence of core.sys package! So how to find core.sys.linux.epoll? The core.sys stuff just includes operating system headers. But I think I grepped it. My

My LDC talk this weekend @ FOSDEM'18

2018-02-02 Thread Kai Nacke via Digitalmars-d-announce
Hi everybody! I am still around and try to get more active. Like last year, I am going to FOSDEM this weekend. I am a speaker in the LLVM toolchain devroom @ FOSDEM'18. My talk is about DCompute which I consider to be an awesome feature. Of course all credits go to Nicholas Wilson! Read

[Issue 18358] New: No links to the deprecation page

2018-02-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18358 Issue ID: 18358 Summary: No links to the deprecation page Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement

Re: select, poll, epoll from D

2018-02-02 Thread Russel Winder via Digitalmars-d-learn
On Fri, 2018-02-02 at 18:03 +, Adam D. Ruppe via Digitalmars-d- learn wrote: > On Friday, 2 February 2018 at 18:00:45 UTC, Russel Winder wrote: > > Has anyone got any examples of using (select|poll|epoll) > > directly from D. Yes I can work it out from first principles, > > but it would be

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread bachmeier via Digitalmars-d
On Friday, 2 February 2018 at 17:24:47 UTC, H. S. Teoh wrote: On Fri, Feb 02, 2018 at 05:01:58PM +, bachmeier via Digitalmars-d wrote: [...] The things you want - a perfect out-of-the-box Windows experience, where you can make requests for others to do the things you want - is not what D

Re: select, poll, epoll from D

2018-02-02 Thread Russel Winder via Digitalmars-d-learn
On Fri, 2018-02-02 at 18:02 +, Seb via Digitalmars-d-learn wrote: > On Friday, 2 February 2018 at 18:00:45 UTC, Russel Winder wrote: > > Hi, > > > > Has anyone got any examples of using (select|poll|epoll) > > directly from D. Yes I can work it out from first principles, > > but it would be

Re: Quora: Why hasn't D started to replace C++?

2018-02-02 Thread H. S. Teoh via Digitalmars-d
On Fri, Feb 02, 2018 at 07:08:47PM +, Russel Winder wrote: > On Fri, 2018-02-02 at 10:17 -0800, H. S. Teoh via Digitalmars-d wrote: > […] > > It has, to some extent. But the fundamental problem remains that > > more manpower is needed so that he can be freed up to do the more > > important

Re: Quora: Why hasn't D started to replace C++?

2018-02-02 Thread Russel Winder via Digitalmars-d
On Fri, 2018-02-02 at 10:17 -0800, H. S. Teoh via Digitalmars-d wrote: > […] > It has, to some extent. But the fundamental problem remains that more > manpower is needed so that he can be freed up to do the more > important > things. Having to personally review all new public symbols added to >

Re: Inline code in the docs - the correct way

2018-02-02 Thread H. S. Teoh via Digitalmars-d
On Fri, Feb 02, 2018 at 10:49:18AM -0700, Jonathan M Davis via Digitalmars-d wrote: > On Friday, February 02, 2018 15:12:45 Adam D. Ruppe via Digitalmars-d wrote: > > On Thursday, 1 February 2018 at 02:10:22 UTC, Jonathan M Davis > > > IMHO, the main problem with ddoc for documentation is that it

[Issue 18351] integrate dub changelog with changed.d tool

2018-02-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18351 --- Comment #2 from Seb --- And for deploying automatically to the pending changelog: https://github.com/dlang/dlang.org/pull/2163 --

[Issue 18351] integrate dub changelog with changed.d tool

2018-02-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18351 Seb changed: What|Removed |Added CC||greensunn...@gmail.com ---

Re: Quora: Why hasn't D started to replace C++?

2018-02-02 Thread H. S. Teoh via Digitalmars-d
On Fri, Feb 02, 2018 at 03:06:57PM +, Mark via Digitalmars-d wrote: > On Wednesday, 31 January 2018 at 23:38:22 UTC, H. S. Teoh wrote: [...] > > And I'll be frank that sometimes Andrei can take some effort to > > convince, and it takes a certain amount of dogged persistence (and > >

[Issue 18133] BitArray constructors are poorly documented.

2018-02-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18133 Jakub Łabaj changed: What|Removed |Added Summary|BitArray prints bits in |BitArray constructors

[Issue 18133] BitArray prints bits in wrong order

2018-02-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18133 Jakub Łabaj changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #3

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread Arun Chandrasekaran via Digitalmars-d
On Friday, 2 February 2018 at 15:06:35 UTC, Benny wrote: [snip] D is a fantastic language. If I can derive some gist from OP, we need high quality libraries for people to use. There are two things here: libraries (of) high quality (features, performance, stability) Most of the stated

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread Ola Fosheim Grøstad via Digitalmars-d
On Friday, 2 February 2018 at 15:06:35 UTC, Benny wrote: 75. Go 69. .Net 67. Rust 64. Pascal < This one surprised even me. 63. Crystal 60. D 55. Swift 51. Kotlin It is interesting that you took the time to score different languages, but of course, there probably are a lot languages or

[Issue 18134] BitArray >>= broken when length % (8 * size_t.sizeof) == 0

2018-02-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18134 Jakub Łabaj changed: What|Removed |Added Summary|BitArray >>= broken when|BitArray >>= broken when

[Issue 15509] IAllocator must be exposed via a reference counted struct

2018-02-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15509 Seb changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 18357] can break immutable with postblit

2018-02-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18357 Ketmar Dark changed: What|Removed |Added CC|

Re: select, poll, epoll from D

2018-02-02 Thread Seb via Digitalmars-d-learn
On Friday, 2 February 2018 at 18:00:45 UTC, Russel Winder wrote: Hi, Has anyone got any examples of using (select|poll|epoll) directly from D. Yes I can work it out from first principles, but it would be great to see what others have done in the past so as to make use of their work. Do you

Re: select, poll, epoll from D

2018-02-02 Thread Adam D. Ruppe via Digitalmars-d-learn
On Friday, 2 February 2018 at 18:00:45 UTC, Russel Winder wrote: Has anyone got any examples of using (select|poll|epoll) directly from D. Yes I can work it out from first principles, but it would be great to see what others have done in the past so as to make use of their work. I don't have

Re: Files and Buffers

2018-02-02 Thread Jonathan M Davis via Digitalmars-d-learn
On Friday, February 02, 2018 09:40:52 Steven Schveighoffer via Digitalmars- d-learn wrote: > std.file.read returns a void[]. > > I didn't see one that returns a ubyte[], and using the readText version > is going to validate the text I think (which may not be desired). It > really depends on the

select, poll, epoll from D

2018-02-02 Thread Russel Winder via Digitalmars-d-learn
Hi, Has anyone got any examples of using (select|poll|epoll) directly from D. Yes I can work it out from first principles, but it would be great to see what others have done in the past so as to make use of their work. -- Russel. === Dr Russel Winder

Re: Inline code in the docs - the correct way

2018-02-02 Thread Jonathan M Davis via Digitalmars-d
On Friday, February 02, 2018 15:12:45 Adam D. Ruppe via Digitalmars-d wrote: > On Thursday, 1 February 2018 at 02:10:22 UTC, Jonathan M Davis > > IMHO, the main problem with ddoc for documentation is that it > > doesn't automatically handle stuff like cross-links, and it > > fundamentally can't,

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread H. S. Teoh via Digitalmars-d
On Fri, Feb 02, 2018 at 05:01:58PM +, bachmeier via Digitalmars-d wrote: [...] > The things you want - a perfect out-of-the-box Windows experience, > where you can make requests for others to do the things you want - is > not what D has to offer. While I agree that in an open-source volunteer

Re: adrdox vs markdown vs ddoc

2018-02-02 Thread Seb via Digitalmars-d
On Thursday, 1 February 2018 at 14:51:41 UTC, ag0aep6g wrote: On 02/01/2018 07:18 AM, Seb wrote: It tells quite a bit about the complexity of Ddoc that I had to add support for -D to run.dlang.io ... [...] I'm not a fan of Ddoc by any means, but that has been fixed in Ddoc does this too now:

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread bachmeier via Digitalmars-d
On Friday, 2 February 2018 at 15:06:35 UTC, Benny wrote: You don't want any comments on your post, but this being the internet, it's necessary to respond when you disagree. D has a nice community IF you fit into the mold. As a Windows user i am frankly fed up with people giving responses as

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 2 February 2018 at 15:06:35 UTC, Benny wrote: D has no default HTTP server. So you need to rely on vibe.d. Vibe.d being a external package that then relies on a few people to maintain it. You could also use my libs, which have been around far longer than vibe.d and work fairly

Re: ExpressionTuple is referenced in the specs, but doesn't seem to be defined

2018-02-02 Thread Nick Treleaven via Digitalmars-d
On Wednesday, 31 January 2018 at 12:35:37 UTC, Nick Treleaven wrote: It's now called an Expression List: https://dlang.org/ctarguments.html#homogenous-lists That page needs an update too, we should call them sequences. I'll try to update the docs soon. There are still various places that

Re: Inline code in the docs - the correct way

2018-02-02 Thread Adam D. Ruppe via Digitalmars-d
On Thursday, 1 February 2018 at 02:10:22 UTC, Jonathan M Davis wrote: Personally, I hate markdown, because it makes certain syntax magical - e.g. it's not uncommon that a commit message ends up looking bad when github uses it as the message for a PR, because some piece of code contained * or

Re: [RFC] IDE starter kit

2018-02-02 Thread aberba via Digitalmars-d
On Friday, 2 February 2018 at 13:04:19 UTC, rumbu wrote: On Thursday, 1 February 2018 at 12:21:24 UTC, rjframe wrote: [...] [snip] [...] As a typical very lazy & convenient Windows user, even I don't want to discourage you, let me tell you that every developer from the Windows world will

Re: Quora: Why hasn't D started to replace C++?

2018-02-02 Thread Mark via Digitalmars-d
On Wednesday, 31 January 2018 at 23:38:22 UTC, H. S. Teoh wrote: And IIRC, Andrei had already bought into the ddox system by then (the process of merging it might have already begun, I'm not 100% certain), so dpldocs was already starting from a disadvantaged position, whatever merits it may

My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread Benny via Digitalmars-d
First of all, please do not repost this on Reddit or any other forum. This is focused for the D community alone to help deal with internal issues and it does not need to be ridiculed as this is a personal opinion. As some have seen my posting in the past week regarding D, i like to explain

Re: adrdox vs markdown vs ddoc

2018-02-02 Thread Adam D. Ruppe via Digitalmars-d
On Thursday, 1 February 2018 at 12:06:44 UTC, Kagamin wrote: Well, there's line-oriented tabular data format, forgot the name (re*-something), it looks like definition list: What bugs me with that sample is that the headers are repeated a lot... but it isn't bad. But re* sounds like maybe

Re: Lambda returning a lambda?

2018-02-02 Thread aliak via Digitalmars-d-learn
On Friday, 2 February 2018 at 01:31:15 UTC, Seb wrote: Are you aware of partial? https://dlang.org/phobos/std_functional.html#partial Si si :) And now I'm thinking, practically, that might be enough. So thanks for the prod.

Re: adrdox vs markdown vs ddoc

2018-02-02 Thread Adam D. Ruppe via Digitalmars-d
On Thursday, 1 February 2018 at 19:21:52 UTC, H. S. Teoh wrote: As far as nested comments are concerned, I'm a firm believer in ddoc'd unittests, so I hardly ever bother with inline code examples, much less ones that need comments, and pretty much never ones that need block comments. I use

Re: How programmers transition between languages

2018-02-02 Thread Atila Neves via Digitalmars-d
On Friday, 2 February 2018 at 14:04:09 UTC, Russel Winder wrote: On Fri, 2018-02-02 at 10:03 +, Atila Neves via Digitalmars-d wrote: […] Whether it's .a or .so depends on the dependent package being `staticLibrary` or `dynamicLibrary`. It's possible for a package to be both if it has a

Re: Can you constrain a type based on properties of what it is being referenced by?

2018-02-02 Thread Steven Schveighoffer via Digitalmars-d-learn
On 2/2/18 9:19 AM, aliak wrote: To further explain what I mean: struct A if (!is(this == immutable) && !is(this == shared)) { } shared a = A() // error auto a = A() // ok immutable a = A() // error const a = A() // ok In this case, no. A struct is bit-copyable, so you must be able to move

Re: Files and Buffers

2018-02-02 Thread Steven Schveighoffer via Digitalmars-d-learn
On 2/1/18 8:27 PM, Seb wrote: On Thursday, 1 February 2018 at 21:42:33 UTC, Steven Schveighoffer wrote: On 2/1/18 4:36 PM, Jerry Ferris wrote: Hello, I'm developing a program that will either receive data from stdin or a file, and pass it along to a function for processing. I want to place

Re: Terminating multiple processes

2018-02-02 Thread Russel Winder via Digitalmars-d-learn
On Thu, 2018-02-01 at 20:13 +, Arek via Digitalmars-d-learn wrote: > […] > DInitify doesn't cover full capabilities of the inotify API. > Especially it doesn't utilize newer inotify_init1 syscall and > doesn't expose 'select' interface. > This C++ wrapper may be interesting for you: >

Re: Should the "front" range primitive be "const" ?

2018-02-02 Thread H. S. Teoh via Digitalmars-d-learn
On Fri, Feb 02, 2018 at 07:06:56AM +, Simen Kjærås via Digitalmars-d-learn wrote: > On Thursday, 1 February 2018 at 18:58:15 UTC, H. S. Teoh wrote: > > However, if we go back to the idea of tail-const, we could > > potentially eliminate the need for casts and also avoid breaking > >

Re: Terminating multiple processes

2018-02-02 Thread Russel Winder via Digitalmars-d-learn
On Fri, 2018-02-02 at 01:09 +, David Nadlinger via Digitalmars-d- learn wrote: > On Thursday, 1 February 2018 at 11:42:32 UTC, Russel Winder wrote: > > The problem is actually a thread blocked in an inotify blocking > > read. As both Steven and yourself have pointed out I am going > > to

Re: Beta 2.078.2

2018-02-02 Thread Steven Schveighoffer via Digitalmars-d-announce
On 2/2/18 4:29 AM, Seb wrote: On Friday, 2 February 2018 at 08:34:32 UTC, Antonio Corbi wrote: Wouldn't it be good to include a fix for errors like produced by int.min assigned to a variable (https://forum.dlang.org/post/p4l7kt$80d$1...@digitalmars.com) in a point release like this? No,

Re: Quora: Why hasn't D started to replace C++?

2018-02-02 Thread Russel Winder via Digitalmars-d
On Thu, 2018-02-01 at 19:28 +, John Gabriele via Digitalmars-d wrote: > On Thursday, 1 February 2018 at 03:00:07 UTC, Walter Bright wrote: > > On 1/31/2018 5:58 PM, H. S. Teoh wrote: > > > cosmetic features. > > > > I tough lesson I've learned is that cosmetics matter, a lot. > > Sometimes

[Issue 18134] BitArray >>= broken when length % size_t.sizeof = 0

2018-02-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18134 Jakub Łabaj changed: What|Removed |Added Summary|BitArray <<= broken when|BitArray >>= broken when

[Issue 18134] BitArray <<= broken when length % 32 = 0

2018-02-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18134 Jakub Łabaj changed: What|Removed |Added Status|NEW |ASSIGNED

Re: Quora: Why hasn't D started to replace C++?

2018-02-02 Thread Russel Winder via Digitalmars-d
On Thu, 2018-02-01 at 19:41 +, John Gabriele via Digitalmars-d wrote: > […] > It's trivial to put multiple markdown files together into a large > doc, if that's desired. Just put a bunch of .md files together > into the same directory and run your markdown processor on them. > They can

Re: Can you constrain a type based on properties of what it is being referenced by?

2018-02-02 Thread aliak via Digitalmars-d-learn
On Friday, 2 February 2018 at 14:19:37 UTC, aliak wrote: ... (see post in general forum by Simon for details [1]) *Simen Gah! Sorry!

Can you constrain a type based on properties of what it is being referenced by?

2018-02-02 Thread aliak via Digitalmars-d-learn
To further explain what I mean: struct A if (!is(this == immutable) && !is(this == shared)) { } shared a = A() // error auto a = A() // ok immutable a = A() // error const a = A() // ok Fake syntax above of course. I was thinking about this because I read a few posts about const, and

Re: How programmers transition between languages

2018-02-02 Thread Russel Winder via Digitalmars-d
On Fri, 2018-02-02 at 10:03 +, Atila Neves via Digitalmars-d wrote: > […] > Whether it's .a or .so depends on the dependent package being > `staticLibrary` or `dynamicLibrary`. It's possible for a package > to be both if it has a configuration for each. I think that is one of my points,

Re: An idea for commercial support for D

2018-02-02 Thread psychotic Rabbit via Digitalmars-d
On Friday, 2 February 2018 at 10:21:35 UTC, Joakim wrote: I can't be bothered to strain through your tortured analogies that make no sense and explain to you all the ways you're wrong. I'm respecting you enough to point out that none of your points make any sense, most would just ignore crazy

Re: LDC 1.7.0

2018-02-02 Thread Seb via Digitalmars-d-announce
On Tuesday, 30 January 2018 at 19:57:39 UTC, aberba wrote: On Tuesday, 30 January 2018 at 18:30:56 UTC, Johan Engelen wrote: On Tuesday, 30 January 2018 at 09:38:26 UTC, aberba wrote: On Monday, 29 January 2018 at 07:40:10 UTC, Dominikus Dittes Scherkl wrote: On Saturday, 27 January 2018 at

Re: [RFC] IDE starter kit

2018-02-02 Thread rumbu via Digitalmars-d
On Thursday, 1 February 2018 at 12:21:24 UTC, rjframe wrote: Basically, in the two years or so I've been here, newcomers have consistently had IDE problems. visual-d is perfect if you've got Visual Studio (especially with recent improvements), but otherwise you have to spend a bunch of time

Re: LDC 1.7.0

2018-02-02 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 30 January 2018 at 19:57:39 UTC, aberba wrote: now it seem abandoned after such an effort. Can you confirm it for Ubuntu 17?

[Issue 18316] std.net.curl.SMTP.mailTo fails to compile

2018-02-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18316 Seb changed: What|Removed |Added CC||bitwo...@qq.com --- Comment

[Issue 18356] no property 'tempCString' for type 'const(char)[]'

2018-02-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18356 Seb changed: What|Removed |Added Status|NEW |RESOLVED

Re: How to proceed with learning to code Windows desktop applications?

2018-02-02 Thread Martin Tschierschke via Digitalmars-d-learn
On Thursday, 1 February 2018 at 09:18:30 UTC, I Lindström wrote: [...] And thank you all for your ideas and suggestions. I'll try some out and see what works. I found this useful: https://github.com/adamdruppe/arsd/blob/master/simpledisplay.d

  1   2   >