Re: Random points from a D n00b CTO

2014-07-14 Thread David Gileadi via Digitalmars-d
On 7/14/14, 4:56 AM, Joakim wrote: One line of thought that's been evolving for me lately is that D needs a blog, where we can highlight good stuff about the language. Go has one: http://blog.golang.org/ This post should go on D's: http://forum.dlang.org/post/mailman.3738.1405098936.2907.digi

Re: This week's pull stats

2014-07-14 Thread David Gileadi via Digitalmars-d
On 7/13/14, 10:32 PM, Brad Roberts via Digitalmars-d wrote: I'm playing with the idea of a once a week sort of status email. There's a lot of people to thank and recognize their valuable work. With the recent calls for more folks to review pull requests, I think a message like this may help wi

Re: Cool Stuff for D that we keep Secret

2014-07-14 Thread David Gileadi via Digitalmars-d
On 7/14/14, 5:03 AM, w0rp wrote: Then I wondered if the "Documentation" section should be renamed "Language Specifications" and the links renamed to "DMD 1" and "DMD 2" or if they should be merged into the sections for DMD 1 and DMD 2 respectively, because 7 year old DMD 1 specs are now pretty mu

Re: Weird…

2014-07-15 Thread David Gileadi via Digitalmars-d
On 7/15/14, 9:56 AM, Russel Winder via Digitalmars-d wrote: Funny how when people send big smiles, they always mention D? :-D :D I seem to recall that at some point someone proposed a larger version of :D as a logo for dlang. It even preserves the two moons :D

Re: [OT] Uploading DConf videos

2014-07-18 Thread David Gileadi via Digitalmars-d
On 7/18/14, 9:32 AM, ponce wrote: On Friday, 18 July 2014 at 15:44:21 UTC, Andrei Alexandrescu wrote: On 7/17/14, 11:53 PM, Jacob Carlborg wrote: On 18/07/14 03:55, Israel Rodriguez wrote: This man has it right. I dont think quality is a huge issue though unless youre watching something that

Re: WAT: opCmp and opEquals woes

2014-07-23 Thread David Gileadi via Digitalmars-d
On 7/23/14, 11:09 AM, Dicebot wrote: On Wednesday, 23 July 2014 at 17:15:12 UTC, Ary Borenszweig wrote: Imagine you have a list of integers and strings denoting integers: [1, "2", 100, "38"]. Now you want to sort them according to their numeric value. Of course, 1 and "1" would have the same ord

Re: What Programming Book Should I Read Next?

2014-07-28 Thread David Gileadi via Digitalmars-d
On 7/26/14, 4:26 PM, H. S. Teoh via Digitalmars-d wrote: On Sat, Jul 26, 2014 at 04:23:23PM -0700, Walter Bright via Digitalmars-d wrote: http://www.reddit.com/r/programming/comments/2bt8a5/what_programming_book_should_i_read_next/ Ali's book is the latest, so I posted that one! What about TD

Re: checkedint call removal

2014-07-29 Thread David Gileadi via Digitalmars-d
On 7/29/14, 1:52 PM, Walter Bright wrote: I find this splitting of hares ... to be entirely meaningless. Hunters claim that rabbit tastes less gamey, if we're going to be splitting anything. (Please forgive the silliness.)

Re: assert semantic change proposal

2014-08-07 Thread David Gileadi via Digitalmars-d
On 8/7/14, 9:51 AM, Sean Kelly wrote: On Thursday, 7 August 2014 at 07:57:14 UTC, Johannes Pfau wrote: Attempting to continue operating is irresponsible if the program is doing or can do anything important. Again: unittests? unittests shouldn't use assert. Or alternately, we can have onAss

Re: What have I missed?

2014-08-09 Thread David Gileadi via Digitalmars-d
On 8/9/14, 2:16 AM, Era Scarecrow wrote: On Saturday, 9 August 2014 at 09:15:10 UTC, Era Scarecrow wrote: and run as a LiceCD on a VM that contains all the tools and LiveCD LIVE!!! Wish i had an edit button for quick edits... Yeah, NNTP is lousy for editing.

Re: Automated source translation of C++ to D

2014-08-22 Thread David Gileadi via Digitalmars-d
On 8/22/14 1:29 AM, David Nadlinger wrote: On Friday, 22 August 2014 at 07:48:30 UTC, Daniel Murphy wrote: So no, you can't magically upgrade a project from C++ to D. Hence the name "magicport"? Sorry, could not resist. David It's pronounced "sufficiently advanced technology port" :)

Re: D mention on developer.apple.com

2014-09-26 Thread David Gileadi via Digitalmars-d
On 9/26/14, 11:25 AM, Walter Bright wrote: I see the Apple blog did mention D. A glorious exception! Which is odd because Swift doesn't support exception handling :)

Re: OT: Minecraft death by GC

2014-10-21 Thread David Gileadi via Digitalmars-d
On 10/21/14, 2:47 AM, monarch_dodra wrote: Hurp, I wonder why GC issues only appear with application that use a GC. Hurp-a-durp. Also, the issue of memory leak and core dumps seem to only appear when you use a systems language. How crazy is that? Happily with a little work D allows you to have

Re: D in my trashbin

2014-10-27 Thread David Gileadi via Digitalmars-d
On 10/24/14, 5:05 PM, ketmar via Digitalmars-d wrote: On Fri, 24 Oct 2014 23:59:08 + Kyoji Klyden via Digitalmars-d wrote: I'm not sure what else we could call it though.. D.ask? .questions is good. Others have suggested D.users.

Re: 'int' is enough for 'length' to migrate code from x86 to x64

2014-11-19 Thread David Gileadi via Digitalmars-d
On 11/19/14, 6:57 AM, ketmar via Digitalmars-d wrote: On Wed, 19 Nov 2014 13:47:50 + Don via Digitalmars-d wrote: If I have two pencils of length 10 cm and 15 cm, then the first one is -5 cm longer than the other. and again "length" is not a relation. show me pencil of length -10 cm. when

Re: 'int' is enough for 'length' to migrate code from x86 to x64

2014-11-19 Thread David Gileadi via Digitalmars-d
On 11/19/14, 9:12 AM, bearophile wrote: David Gileadi: writefln("%s", b.length - a.length); // Yup, 2 writefln("%s", a.length - b.length); // WAT? 18446744073709551614 Nowadays a better way to write such kind of code is using the Phobos "signed" function: writefln("%s", b.length.si

Re: Thanks to p0nce for a nicer DConf logo!

2015-01-19 Thread David Gileadi via Digitalmars-d
On 1/19/15, 3:02 PM, Steven Schveighoffer wrote: The thing is, there are several state abbreviations that always confuse people. For instance AL is Alabama, but could be Alaska (AK) and AK might be confused as Arkansas (AR), which may be confused as Arizona (AZ).* I can confirm this: as a teen

Re: dlang.org redesign -- the state of documentation and learning resources [part 2]

2015-01-26 Thread David Gileadi via Digitalmars-d
On 1/25/15 4:42 AM, Andrej Mitrovic via Digitalmars-d wrote: Here's another one: The search box allows selecting between: - Entire D Site - Library reference - Newsgroup archives But where's the Language spec option? It's missing due to how dlang.org is set up, and the limitations of Google'

Re: [website redesign] PR for the one with the big red menu bar

2015-01-30 Thread David Gileadi via Digitalmars-d
On 1/30/15 9:30 AM, anonymous wrote: Another variant somewhere between the all-red one and the all-grey one: http://ag0aep6g-dlang.rhcloud.com/variants/grey-newlogo/ I think it might look better if the red blends into the gray: http://i.imgur.com/ZCvmkVq.png

Re: Should we remove int[$] before 2.067?

2015-02-02 Thread David Gileadi via Digitalmars-d
On 2/1/15 9:26 AM, Andrei Alexandrescu wrote: I agree indecision is bad. -- Andrei Whereas I'm still on the fence...

Re: RFC: std.*.concept convention

2015-02-11 Thread David Gileadi via Digitalmars-d
On 2/11/15 12:47 PM, Brad Anderson wrote: On Wednesday, 11 February 2015 at 08:00:54 UTC, Jakob Ovrum wrote: [snip] Putting the complexity of the container concept aside; I think we should factor out the concept checkers from std.range.primitives and put them in std.range.concept and establish

Re: DIP74: Reference Counted Class Objects

2015-02-27 Thread David Gileadi via Digitalmars-d
On 2/27/15 6:36 AM, "Marc =?UTF-8?B?U2Now7x0eiI=?= " wrote: On Friday, 27 February 2015 at 08:26:14 UTC, Ola Fosheim Grøstad wrote: On Thursday, 26 February 2015 at 22:04:09 UTC, Andrei Alexandrescu wrote: On 2/26/15 2:03 PM, Brian Schott wrote: One of the first things that stood out to me is

Re: Redesign of dlang.org

2014-04-18 Thread David Gileadi via Digitalmars-d
On 4/18/14, 7:22 AM, Steven Schveighoffer wrote: On Fri, 18 Apr 2014 10:04:03 -0400, Aleksandar Ruzicic wrote: Hello, I've been D enthusiast for couple of years now (but I do not participate much in discussions here, although I read forums almost daily), and I keep telling people about D and

Re: Redesign of dlang.org

2014-04-18 Thread David Gileadi via Digitalmars-d
On 4/18/14, 9:25 AM, Aleksandar Ruzicic wrote: On Friday, 18 April 2014 at 15:30:52 UTC, David Gileadi wrote: [snip] Also note that there's a movement to make at least part of the website (the Phobos docs) use a different documentation generator, so the new look would need to be ported to tha

Re: Redesign of dlang.org

2014-04-21 Thread David Gileadi via Digitalmars-d
On 4/21/14, 12:38 PM, Aleksandar Ruzicic wrote: I'm not sure if it is smart to use simple text macro processing system as a replacement for full-featured DSL such is Sass. And I don't think that some features available (and really useful!) in Sass are even possible with Ddoc. For example branchin

Re: std.allocator: false pointers

2014-05-02 Thread David Gileadi via Digitalmars-d
On 5/2/14, 11:56 AM, Andrei Alexandrescu wrote: If speed is no issue, sure :o). My intuition is that the TwoBitVector would need certain primitives from BitVector to work well. Heh, however it's implemented, TwoBitVector's very name implies that it's cheap to use ;)

Re: Redesign of dlang.org

2014-05-06 Thread David Gileadi via Digitalmars-d
Is this still happening? Is there a repo or a place I can go to help?

Re: New opportunities for D => ASM.js

2014-05-16 Thread David Gileadi via Digitalmars-d
On 5/16/14, 11:52 AM, Nick Sabalausky wrote: But then using it as a GUI engine and software platform is like abusing Latex or PDF to make software run inside Acrobat Viewer. All the effort, bloat and compromises...and for what point? I assume that question is mostly rhetorical, because of cours

Re: Optional monitors suggestion

2014-05-19 Thread David Gileadi via Digitalmars-d
On 5/18/14, 7:10 AM, David Nadlinger wrote: ... Java classes could just be translated to "@synchronizable class" or whatever. Whether we preserve backwards compatibility or not, @synchronizable has my vote for the bikeshed's color.

Re: [OT] Extra time spent

2014-06-06 Thread David Gileadi via Digitalmars-d
On 6/6/14, 11:01 AM, Nick Sabalausky wrote: Bottom line is, managers are purely liabilities, not assets. It's no surprise to me that the best software out there is usually OSS, where there isn't one damn manager anywhere to be found. Funny how people think managers perform an actual function, an

Re: What's going on with std.experimental.lexer?

2014-06-10 Thread David Gileadi via Digitalmars-d
On 6/10/14, 3:57 AM, Iain Buclaw via Digitalmars-d wrote: I agree all the way with std.experimental as the package name. Though I might throw in an alternative argument to stdx and instead promote unsafe.* or std.unsafe. ;-) The only issue I see with *.unsafe.* is that it sounds related to @

Re: pyd - continuous integration

2014-06-10 Thread David Gileadi via Digitalmars-d
On 6/10/14, 1:31 AM, Russel Winder via Digitalmars-d wrote: On Mon, 2014-06-09 at 22:37 +, Ellery Newcomer via Digitalmars-d wrote: So pyd is at the point where it really needs some sort of test suite runner. It's kind of complicated since I need to test against * multiple versions of dmd/l

Re: [OT] DConf socks

2014-06-10 Thread David Gileadi via Digitalmars-d
On 6/10/14, 1:52 PM, Walter Bright wrote: On 6/10/2014 1:18 AM, JR wrote: Missed opportunity to use std.socks.assumeMine and netting yourself an extra pair... The trouble with the socks datatype is the destructor is randomly run on only one of each pair. For Windows users this situation was

Re: A Perspective on D from game industry

2014-06-16 Thread David Gileadi via Digitalmars-d
On 6/15/14, 11:56 PM, w0rp wrote: I was considering getting a job in the games industry, so I applied to a bunch of places in the UK during my final year of university. When you filtered out the jobs that were looking for years of industry experience, then filtered out the jobs that expected you

Re: Adding the ?. null verification

2014-06-23 Thread David Gileadi via Digitalmars-d
On 6/21/14, 4:32 PM, deadalnix wrote: On Saturday, 21 June 2014 at 22:40:32 UTC, H. S. Teoh via Digitalmars-d wrote: On Sat, Jun 21, 2014 at 03:26:45PM -0700, Andrei Alexandrescu via Digitalmars-d wrote: On 6/19/14, 1:29 PM, Etienne wrote: >writeln(currAssignment.safeDeref.typeInfo.ident.or("me

Re: D Logos

2014-06-24 Thread David Gileadi via Digitalmars-d
On 6/24/14, 9:03 AM, Alix Pexton wrote: On 22/06/2014 9:52 AM, Alix Pexton wrote: I feel that most of the new logos that have been proposed lately are too much of a departure from what we already have, so I'm throwing a few of my own designs into the ring. https://drive.google.com/file/d/0B3i8F

Re: Redesign of dlang.org

2014-06-30 Thread David Gileadi via Digitalmars-d
On 6/29/14, 3:15 PM, w0rp wrote: I just finished translating all of the pages I have worked on so far from diet templates to Markdown files. Now there is only one diet layout loaded, and the rest is all Markdown files. This has dramatically reduced the amount of memory consumed at build time. You

Re: Redesign of dlang.org

2014-06-30 Thread David Gileadi via Digitalmars-d
On 6/30/14, 2:11 PM, Gary Willoughby wrote: On Sunday, 29 June 2014 at 22:15:48 UTC, w0rp wrote: I just finished translating all of the pages I have worked on so far from diet templates to Markdown files. Now there is only one diet layout loaded, and the rest is all Markdown files. This has dram

Re: Thanks for the bounty!

2014-07-08 Thread David Gileadi via Digitalmars-d
On Friday, 4 July 2014 at 20:31:20 UTC, Walter Bright wrote: On 7/4/2014 5:49 AM, Andrej Mitrovic via Digitalmars-d wrote: Now *that* I definitely cannot work on. It's a complete conflict of interest due to our two companies. :) Dang, we can't afford any mutiny on the bounty! I just have to

Re: before D there was d

2014-07-09 Thread David Gileadi via Digitalmars-d
On 7/9/14, 6:17 AM, jim schmit wrote: i recently sent this email to andrei. he encouraged me to post it in this forum. here it is: hi andrei a colleague recently pointed me to the wired article about you & your D computer language. thought you might be interested an earlier attempt to produ

Re: Where will D sit in the web service space?

2015-07-24 Thread David Gileadi via Digitalmars-d
On 7/24/15 9:57 AM, Joakim wrote: On Friday, 24 July 2015 at 14:50:23 UTC, Ola Fosheim Grøstad wrote: ART. Of course Metal isn't general-purpose, nobody said it is, but I don't see why you'd say Swift isn't. Swift is clearly designed around Objective-C and Cocoa. Oh, and I didn't respond to

Re: D for Game Development

2015-08-10 Thread David Gileadi via Digitalmars-d
On 8/10/15 12:25 PM, "Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= " wrote: On Sunday, 9 August 2015 at 02:41:00 UTC, Manu wrote: People keep talking about Rust, I'm thinking of giving it a shot. I feel there is something wrong with the Rust and Go agendas, both languages have interesting features, bu

Re: Elm on error messages and compiler as an assistant

2016-02-03 Thread David Gileadi via Digitalmars-d
On 2/1/16 2:17 PM, Laeeth Isharc wrote: http://elm-lang.org/blog/compilers-as-assistants Thanks for sharing this. While D's error messages have improved over time, this shows that there's another level of friendliness possible.

Re: A few notes on choosing between Go and D for a quick project

2015-03-18 Thread David Gileadi via Digitalmars-d
On 3/18/15 4:48 PM, jkpl wrote: On Wednesday, 18 March 2015 at 23:41:41 UTC, Walter Bright wrote: On 3/18/2015 5:45 AM, CraigDillabaugh wrote: You said that "Unfortunately" this thinking is going out of style "for good reasons". I am confused (sorry, I am at work, and didn't have time to watc

Re: A few notes on choosing between Go and D for a quick project

2015-03-18 Thread David Gileadi via Digitalmars-d
On 3/18/15 4:54 PM, David Gileadi wrote: On 3/18/15 4:48 PM, jkpl wrote: On Wednesday, 18 March 2015 at 23:41:41 UTC, Walter Bright wrote: On 3/18/2015 5:45 AM, CraigDillabaugh wrote: You said that "Unfortunately" this thinking is going out of style "for good reasons". I am confused (sorry,

Re: Enhancement: issue error on all public functions that are missing ddoc sections

2015-03-20 Thread David Gileadi via Digitalmars-d
On 3/19/15 3:26 PM, deadalnix wrote: On Thursday, 19 March 2015 at 22:04:01 UTC, Walter Bright wrote: On 3/19/2015 2:43 AM, deadalnix wrote: Here is what will pass review : Presumably the reviewers will have some common sense and taste. class User { /** * Accessor to get the id of th

Re: A few notes on choosing between Go and D for a quick project

2015-03-20 Thread David Gileadi via Digitalmars-d
On 3/19/15 10:22 PM, Walter Bright wrote: On 3/19/2015 10:44 AM, Joakim wrote: One underused resource seems to be all the examples bearophile has put on Rosetta Code: http://rosettacode.org/wiki/Category:D If he, Adam, or some other proficient D user were to do a weekly series breaking down ea

Re: Where's "This week in D?"

2015-03-24 Thread David Gileadi via Digitalmars-d
On 3/24/15 11:09 AM, Andrei Alexandrescu wrote: On 3/24/15 10:52 AM, CraigDillabaugh wrote: On Monday, 23 March 2015 at 21:28:27 UTC, Andrei Alexandrescu wrote: No issue for the past week? -- Andrei Maybe Adam was vaporized by Aliens! Adam was on reddit a couple of hours ago. This is a bit

Re: Named unittests

2015-03-31 Thread David Gileadi via Digitalmars-d
On 3/31/15 3:28 PM, Andrei Alexandrescu wrote: On 3/31/15 2:50 PM, Martin Nowak wrote: On 03/30/2015 11:52 PM, Andrei Alexandrescu wrote: I'd like to make a DIP for named unittests. Who can help me with that? Why a DIP, isn't the only question what syntax to use. unittest (myname) vs. unitte

Re: unittests are really part of the build, not a special run

2015-04-02 Thread David Gileadi via Digitalmars-d
On 4/2/15 1:34 PM, Dicebot wrote: On Wednesday, 1 April 2015 at 20:48:43 UTC, Atila Neves wrote: On Wednesday, 1 April 2015 at 19:31:37 UTC, Dicebot wrote: P.S. I hate all the Ruby testing facilities, hate with bloody passion. You're going to _love_ my DConf talk ;) I was expecting that alrea

Re: unittests are really part of the build, not a special run

2015-04-02 Thread David Gileadi via Digitalmars-d
On 4/2/15 2:46 PM, Wyatt wrote: On Thursday, 2 April 2015 at 20:55:04 UTC, David Gileadi wrote: Having never used Cucumber but having been interested in it, what was the unpleasantness? Dealing with it at work, I find it puts us scarily at the mercy of regexen in Ruby, which is unsettling to

Re: D, Python, and Chapel

2015-04-03 Thread David Gileadi via Digitalmars-d
On 4/3/15 6:36 AM, Gary Willoughby wrote: Chapel overview: http://chapel.cray.com/overview.html Their hello world examples do a fantastic job of illustrating their main selling point. My hat's off to whoever put that on their site. D may have difficulty coming up with something like that, si

Re: D installer installs outdated D

2015-05-22 Thread David Gileadi via Digitalmars-d
On 5/22/15 10:53 AM, Chris wrote: Hi other Chris. Just to make sure, people can tell us apart :-) Uh, oh; an identity Chrisis!

Re: Bad Sound Quality on Livestreamed Videos

2015-05-30 Thread David Gileadi via Digitalmars-d
On 5/30/15 8:37 AM, John Colvin wrote: On Saturday, 30 May 2015 at 14:12:10 UTC, Per Nordlöw wrote: The livestreaming videos just published are really frustrating to watch because lots of stuttering in speech about once every 20 seconds or so and sometimes difficult to here what people say. So

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-10 Thread David Gileadi via Digitalmars-d
On 6/10/15 12:56 PM, Russel Winder via Digitalmars-d wrote: Please note, OED (which is the definition of the English language whatever any USA upstarts may try to pretend) is gearing up to define "they" as both singular and plural, thus at a stroke solving all the he/she, she/he, (s)he, it faffin

Re: Automatic documentation builds

2015-06-11 Thread David Gileadi via Digitalmars-d
On 6/11/15 7:04 AM, Steven Schveighoffer wrote: On 6/11/15 8:21 AM, Vladimir Panteleev wrote: I've put together a CI system of sorts that builds the documentation for all pull requests. Hopefully this should avoid the dlang.org build breaking again in the future. It integrates with GitHub as wel

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-11 Thread David Gileadi via Digitalmars-d
On 6/10/15 6:43 PM, Tofu Ninja wrote: On Thursday, 11 June 2015 at 01:30:08 UTC, weaselcat wrote: 'he' has been a gender neutral pronoun for centuries, and as far as I'm aware this has its roots in latin using 'man'(vir?) as a gender neutral pronoun. I am just saying that personally it sounds

Re: Better forums

2015-06-18 Thread David Gileadi via Digitalmars-d
On 6/18/15 1:12 AM, Tofu Ninja wrote: On Thursday, 18 June 2015 at 07:24:34 UTC, Jens Bauer wrote: On Thursday, 18 June 2015 at 04:35:31 UTC, Rikki Cattermole wrote: On 18/06/2015 4:25 p.m., Joakim wrote: On Thursday, 18 June 2015 at 04:01:42 UTC, Rikki Cattermole wrote: I agree with Rikki tha

Re: D could catch this wave: web assembly

2015-06-18 Thread David Gileadi via Digitalmars-d
On 6/18/15 10:41 AM, "Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= " wrote: And whyyy are they calling a binary format "assembly"? Because it sounds faster, of course :)

Re: split up the changelog?

2015-06-19 Thread David Gileadi via Digitalmars-d
On 6/19/15 8:59 AM, anonymous wrote: The changelog.html file is at about 1MB. That makes for a noticeable load time. And with all the issue lists, it's also a pretty solid wall of text: "Wait, is all this still for 2.067.0? Did I miss a version heading? I think I'm lost." Let's split it up by ve

Re: split up the changelog?

2015-06-19 Thread David Gileadi via Digitalmars-d
On 6/19/15 12:22 PM, Steven Schveighoffer wrote: But, what about making the changelog menu an accordion expander, and then you have your version list right there on the left? I really like that idea. The left nav is supposed to be an index to things, after all.

Re: Martin Nowak is officially MIA

2015-06-19 Thread David Gileadi via Digitalmars-d
On 6/19/15 2:00 PM, Brad Anderson wrote: IRC, I hope, is what you mean. Chatting by interrupts sounds hor- It sure does! :)

Re: std.uni.toLowerCase / .toUpperCase

2015-06-25 Thread David Gileadi via Digitalmars-d
On 6/25/15 7:10 AM, Vladimir Panteleev wrote: And, IMHO, this: fileName.readText.lowerCased.detabbed.toFile(fileName.withExtension(".foo")) looks much better than this: fileName.readText.lowerCaser.detabber.toFile(fileName.extensionSetter(".foo")) I agree with Jonathan that the latter is cle

Re: std.experimental.testing PR review

2015-06-26 Thread David Gileadi via Digitalmars-d
On 6/26/15 7:30 AM, Atila Neves wrote: On Friday, 26 June 2015 at 13:32:39 UTC, Dicebot wrote: Just in case it wasn't clear : I will vote "no" on this proposal as long as it features longish "readable" names like "shouldEquals". You'd rather `should!"=="`? I'm not sure which I'd prefer; the th

Re: Dscanner - DCD - Dfix ... Editor support or the lack of it.

2018-01-27 Thread David Gileadi via Digitalmars-d
On 1/26/18 5:50 PM, Dgame wrote: On Saturday, 27 January 2018 at 00:13:51 UTC, Benny wrote: On Saturday, 27 January 2018 at 00:08:17 UTC, Benny wrote: * Rust: Jetbrain IntelliJ + Rust plugin. It looks like it has become a official supported plugin by Jetbrain. Works perfectly out of the box. I

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

2018-01-31 Thread David Gileadi via Digitalmars-d
On 1/31/18 9:13 AM, John Gabriele wrote: On Wednesday, 31 January 2018 at 11:42:14 UTC, Seb wrote: On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote: And 3 different installation method's depending on the platform. Windows: DMD installer, LDC manually extract zip and setup path, GDC

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: Dub, Cargo, Go, Gradle, Maven

2018-02-21 Thread David Gileadi via Digitalmars-d
On 2/21/18 10:30 AM, H. S. Teoh wrote: I think the ideal situation straddles the divide between declarative build specs and a full-fledged general programming language. You don't want it to get too general, lest you end up with the build equivalent of spaghetti code where the build script become

Re: State of D: The survey is killing man, way too much

2018-03-03 Thread David Gileadi via Digitalmars-d
On 3/3/18 8:08 AM, 0x wrote: The D survey is killing maan! Those are lots of questions in there If I ever get hold of the people behind it... Is it a coincidence that your user handle is "negative one"? ;)

Re: Advent of D

2018-03-06 Thread David Gileadi via Digitalmars-d
On 3/6/18 11:09 AM, Jordi Gutiérrez Hermoso wrote: I wrote a blog post about working on Advent of Code in D. You can read it here: http://jordi.inversethought.com/blog/advent-of-d/ I really enjoyed this. Thank you!

Re: D course material

2018-03-13 Thread David Gileadi via Digitalmars-d
On 3/13/18 2:08 PM, aberba wrote: On Tuesday, 13 March 2018 at 17:20:57 UTC, Meta wrote: On Tuesday, 13 March 2018 at 12:39:24 UTC, Dmitry Olshansky wrote: [...] Honestly I'd recommend TDPL. It's got a lot of good real-world examples, including some OOP ones, but more importantly examples th

Re: Is @safe still a work-in-progress?

2018-08-17 Thread David Gileadi via Digitalmars-d
On 8/17/18 7:26 AM, H. S. Teoh wrote: It will continue to be a problem as long as @safe is implemented via blacklisting, because every single time there's a new language feature, there's a chance that a loophole is introduced into @safe. And that's not counting the combinatorial explosion of exis

Re: D is dead

2018-08-24 Thread David Gileadi via Digitalmars-d
On 8/24/18 10:02 AM, David Nadlinger wrote: On Friday, 24 August 2018 at 03:53:38 UTC, David Nadlinger wrote: […] All this is not to say that nothrow constructors aren't a good idea, though. This was meant to say nothrow DEstructors, as hopefully obvious from context. —David I was about to

Re: DIP 1003 Formal Review

2017-05-16 Thread David Gileadi via Digitalmars-d
On 5/12/17 9:17 AM, Mike Parker wrote: The first stage of the formal review for DIP 1003 [1], "Remove body as a Keyword", is now underway. From now until 11:59 PM ET on May 26 (3:59 AM GMT on May 27), the community has the opportunity to provide last-minute feedback. If you missed the prelimina

Re: C and memory safety comments by me

2017-05-18 Thread David Gileadi via Digitalmars-d
On 5/18/17 10:00 AM, Walter Bright wrote: https://www.reddit.com/r/cpp/comments/6b4xrc/walter_bright_believes_memory_safety_will_kill_c/dhkxhef/ Oddly enough that link took me to a comment thread about Rust CFFI, with no comments by you in it. Perhaps you meant the link to not include the dhk

Re: Another "D is cool" post

2017-05-29 Thread David Gileadi via Digitalmars-d
On 5/29/17 12:07 PM, H. S. Teoh via Digitalmars-d wrote: [snip an excellent post] I think a longish post like this would make an excellent shortish post for the D blog. In any case, great writeup!

Re: Expressing range constraints in CNF form

2017-06-12 Thread David Gileadi via Digitalmars-d
On 6/11/17 1:32 PM, Sebastiaan Koppe wrote: What about using ddoc? enum bool isInputRange(R) = is(typeof((ref R r) => r)) /// must be copyable && is(ReturnType!((R r) => r.empty) == bool) /// must support bool empty && is(typeof(lvalueOf!R.front)) /// must support front &&

Re: DIP 1009--Improve Contract Usability--Preliminary Review Round 2 Begins

2017-07-21 Thread David Gileadi via Digitalmars-d
On 7/21/17 6:51 AM, Mike Parker wrote: DIP 1009 is titled "Improve Contract Usability". For out contracts that use the return identifier, could the keyword "return" be used? out(return > 0) One possible problem with this syntax is a future where functions could have multiple return val

Re: DIP 1009--Improve Contract Usability--Preliminary Review Round 2 Begins

2017-07-21 Thread David Gileadi via Digitalmars-d
On 7/21/17 11:41 AM, Moritz Maxeiner wrote: On Friday, 21 July 2017 at 18:35:53 UTC, David Gileadi wrote: On 7/21/17 6:51 AM, Mike Parker wrote: DIP 1009 is titled "Improve Contract Usability". For out contracts that use the return identifier, could the keyword "return" be used? out(re

Re: How do you use D?

2017-07-29 Thread David Gileadi via Digitalmars-d
On 7/29/17 3:05 AM, Russel Winder via Digitalmars-d wrote: In 2004 maybe "D as better C++" was a good line. In 2017 "D is a general purpose programming language that allow faster development time than C++, Go, and Rust" is a far better line? This is what attracts me to D--it's easy to write, cl

A potential danger to dub

2017-09-16 Thread David Gileadi via Digitalmars-d
Let me preface this by saying I love package managers and think dub is one of the best things with dlang. However they can also sometimes be dangerous, as this PyPI incident[1] shows: several Python packages were uploaded that contained names similar to the standard library, and had an extra se

Re: Adding Markdown to Ddoc

2017-12-06 Thread David Gileadi via Digitalmars-d
On 12/6/17 6:41 AM, Nemanja Boric wrote: On Wednesday, 6 December 2017 at 04:11:33 UTC, Walter Bright wrote: https://help.github.com/articles/basic-writing-and-formatting-syntax/ Anyone interested in picking up the flag? (I know this has come up before, and I've been opposed to it, but I've c

Re: Adding Markdown to Ddoc

2017-12-06 Thread David Gileadi via Digitalmars-d
On 12/5/17 9:11 PM, Walter Bright wrote: https://help.github.com/articles/basic-writing-and-formatting-syntax/ Anyone interested in picking up the flag? (I know this has come up before, and I've been opposed to it, but I've changed my mind.) I didn't notice anyone pick this up yet. I'm takin

Re: Adding Markdown to Ddoc

2017-12-09 Thread David Gileadi via Digitalmars-d
On 12/8/17 6:49 PM, Walter Bright wrote: On 12/8/2017 7:30 AM, Jacob Carlborg wrote: Otherwise it will be confusing and very hard to remember which features are supported with Markdown syntax and which are not. This is way overstating the case. Ddoc already supports some markdown, and some ma

Re: Adding Markdown to Ddoc

2017-12-09 Thread David Gileadi via Digitalmars-d
On 12/9/17 2:25 PM, Adam D. Ruppe wrote: On Saturday, 9 December 2017 at 21:05:04 UTC, David Gileadi wrote: For instance, as I've been working on adding Markdown features I was surprised to discover that DDoc's current support for backtick-delimited code only works within a single line. Most i

Re: Adding Markdown to Ddoc

2017-12-11 Thread David Gileadi via Digitalmars-d
On 12/11/17 1:45 PM, Walter Bright wrote: On 12/11/2017 6:22 AM, Jakob Bornecrantz wrote: There are loads of implementations of CommonMark https://github.com/commonmark/CommonMark/wiki/List-of-CommonMark-Implementations They appear to be libraries that offer an implementation. Does the Mark

Lazily parse a JSON text file using stdx.data.json?

2017-12-16 Thread David Gileadi via Digitalmars-d
I'm a longtime fan of dlang, but haven't had a chance to do much in-depth dlang programming, and especially not range programming. Today I thought I'd use stdx.data.json to read from a text file. Since it's a somewhat large file, I thought I'd create a text range from the file and parse it that

Re: Lazily parse a JSON text file using stdx.data.json?

2017-12-17 Thread David Gileadi via Digitalmars-d
On 12/17/17 3:28 AM, WebFreak001 wrote: On Sunday, 17 December 2017 at 04:34:22 UTC, David Gileadi wrote: uh I don't know about stdx.data.json but if you didn't manage to succeed yet, I know that asdf[1] works really well with streaming json. There is also an example how it works. [1]: http:/

Re: Lazily parse a JSON text file using stdx.data.json?

2018-01-01 Thread David Gileadi via Digitalmars-d
On 12/30/17 8:16 PM, Marco Leise wrote: There is also the JSON parser from https://github.com/mleise/fast if you need to parse 2x faster than RapidJSON ;) Nice, I'll take a look. My original post was mainly to express how surprised I was that one of D's front-page features was, for me, imposs

Re: Stack Overflow Documentation D language page

2016-07-21 Thread David Gileadi via Digitalmars-d
On 7/21/16 9:20 AM, Bennet Leff wrote: If you haven't heard, Stack Overflow is starting an open documentation reference. It's brand new but I've already seen large contributions for other languages. I've started to get the ball rolling but it seems like the community would be interested in adding

Re: core.intrinsics

2016-10-13 Thread David Gileadi via Digitalmars-d
On 10/13/16 12:52 PM, Stefan Koch wrote: On Thursday, 13 October 2016 at 19:49:42 UTC, Johan Engelen wrote: On Thursday, 13 October 2016 at 19:35:08 UTC, Stefan Koch wrote: Please share your thoughts and tell me what other intrinsic functions could/should be added. I think the name should be

Re: DIP10005: Dependency-Carrying Declarations is now available for community feedback

2016-12-14 Thread David Gileadi via Digitalmars-d
On 12/14/16 9:27 AM, Andrei Alexandrescu wrote: On 12/14/2016 11:02 AM, default0 wrote: On Wednesday, 14 December 2016 at 14:21:55 UTC, Andrei Alexandrescu wrote: On 12/14/16 8:26 AM, Dominikus Dittes Scherkl wrote: On Tuesday, 13 December 2016 at 22:33:24 UTC, Andrei Alexandrescu wrote: Dest

Re: All function attributes possible with "@"?

2016-12-14 Thread David Gileadi via Digitalmars-d
On 12/14/16 2:34 PM, ketmar wrote: On Wednesday, 14 December 2016 at 21:02:09 UTC, Jonathan M Davis wrote: If we keep making breaking changes, we will never have a significant user base so the core issue is a direction D developement should go: 1) have a good language, or 2) have big userbase.

Re: DIP10005: Dependency-Carrying Declarations is now available for community feedback

2016-12-14 Thread David Gileadi via Digitalmars-d
On 12/14/16 4:38 PM, Timon Gehr wrote: On 15.12.2016 00:17, Andrej Mitrovic wrote: ubyte[] readSomeBytes ( ) { return read(1024); } It's a non-trivial exercise for the reader to understand where the `read` symbol is coming from. pragma(msg,fullyQualifiedName!read); Or, for the IDE-addi

Re: D future ...

2016-12-26 Thread David Gileadi via Digitalmars-d
On 12/24/16 5:11 PM, WebFreak001 wrote: On Thursday, 22 December 2016 at 04:47:06 UTC, Chris Wright wrote: CTFE ( Stefan is dealing with that ), Documentation, better Editor support... I think code-d could potentially be extended to install its dependencies, which would improve the situation t

Re: Name That Technique!

2017-02-04 Thread David Gileadi via Digitalmars-d
On 2/3/17 5:00 PM, deadalnix wrote: On Friday, 3 February 2017 at 23:33:58 UTC, Walter Bright wrote: I agree, it's pretty dazz! We need to give this technique a memorable name (not an acronym). I thought "Voldemort Types" turned out rather well, whereas CTFE is klunky, UFCS is even worse. The ab

Re: Compare boost::hana to D

2017-04-19 Thread David Gileadi via Digitalmars-d
On 4/19/17 11:30 AM, Adrian Matoga wrote: On Wednesday, 19 April 2017 at 18:26:20 UTC, Sebastiaan Koppe wrote: On Wednesday, 19 April 2017 at 18:02:46 UTC, Adrian Matoga wrote: [2] https://epi.github.io/2017/03/18/less_fun.html Great article! Thanks! I should mention I've also got somewhat

Re: NG technical issues: Is it just me?

2017-04-20 Thread David Gileadi via Digitalmars-d
On 4/20/17 2:05 PM, lawrence wrote: On 04/20/2017 02:09 PM, Timon Gehr wrote: On 20.04.2017 21:45, Nick Sabalausky (Abscissa) wrote: [snip] It's not just you. I have the same issues. I used to have this same problem, until I sent the server settings to check for updates every 2 minutes. I