Re: Pitching D to a gang of Gophers

2016-03-07 Thread landaire via Digitalmars-d
On Saturday, 5 March 2016 at 11:05:09 UTC, Dmitry Olshansky wrote: - tooling, tooling, tooling (IDE plugins and build tools work great) I'd like to add that one of the things that I love about Go is that it is crazy easy to cross-compile. `GOOS=freebsd go build` and I have a FreeBSD binary

Re: std.database

2016-03-02 Thread landaire via Digitalmars-d
On Wednesday, 2 March 2016 at 18:28:34 UTC, landaire wrote: How is this a UAF? Isn't the struct copied? Ah I think I misunderstood. You mean in the database, not the dpaste?

Re: std.database

2016-03-02 Thread landaire via Digitalmars-d
On Wednesday, 2 March 2016 at 03:07:54 UTC, Rikki Cattermole wrote: Okay I've found a problem. Here is some code demonstrating it. http://dpaste.dzfl.pl/022c9e610a18 Now take a look again at Database https://github.com/cruisercoder/dstddb/blob/master/src/std/database/poly/database.d#L37 Do

Re: D Functional garden

2016-02-29 Thread landaire via Digitalmars-d-announce
On Monday, 29 February 2016 at 15:09:56 UTC, Seb wrote: Have a look yourself at: https://garden.dlang.io/ Looks really good. Nice work.

Re: Neovim autocompletion using deoplete

2016-02-21 Thread landaire via Digitalmars-d
On Sunday, 21 February 2016 at 19:46:50 UTC, Idan Arye wrote: No offense LoL. People who have time to get offended by hearing their project is inferior to another project, should better use that time to improve that project of them! I'm not sure where I said or how you got the idea I was

Re: Neovim autocompletion using deoplete

2016-02-21 Thread landaire via Digitalmars-d
On Sunday, 21 February 2016 at 13:36:26 UTC, maik klein wrote: Good job, but could you also explain why do you think its better than in dutyl? I currently also use nvim with dutyl(dcd, dscanner, fmt) and youcompleteme and I haven't run into any issues. Is it possible to filter

Neovim autocompletion using deoplete

2016-02-20 Thread landaire via Digitalmars-d
I wanted to drop by with a link to something I've been working on for a few days: deoplete-d [1]. If anyone uses Neovim with deoplete [2] this plugin will add asynchronous autocompletion for D utilizing DCD. It's pretty basic right now but I've found it better than using dutyl. Issues are

Re: What's going to replace std.stream?

2016-02-16 Thread landaire via Digitalmars-d-learn
On Saturday, 6 February 2016 at 06:29:56 UTC, cy wrote: I don't see anything analagous to what std.stream does in phobos... has it just not been made public yet? This was actually something that kind of killed my vibe when I was working on a project recently. I wanted to use some interface

Re: We need better documentation for functions with ranges and templates

2015-12-16 Thread landaire via Digitalmars-d
On Wednesday, 16 December 2015 at 18:25:31 UTC, Luís Marques wrote: On Monday, 14 December 2015 at 19:04:46 UTC, bachmeier wrote: Something has to be done with the documentation for Phobos functions that involve ranges and templates. Just today: - "Where's the documentation for makeIndex?"

Re: We need better documentation for functions with ranges and templates

2015-12-15 Thread landaire via Digitalmars-d
On Tuesday, 15 December 2015 at 08:08:10 UTC, landaire wrote: I started exploring D a couple of months ago and I was the original poster in the reddit thread who sparked this discussion. While on the topic of documentation I wanted to quickly put in my thoughts about what frustrated me with

Re: We need better documentation for functions with ranges and templates

2015-12-15 Thread landaire via Digitalmars-d
On Tuesday, 15 December 2015 at 02:39:16 UTC, Steven Schveighoffer wrote: On 12/14/15 9:34 PM, Steven Schveighoffer wrote: InputRange find(alias pred = "a == b", InputRange, Element)(InputRange haystack, Element needle) if (isInputRange!InputRange && is(typeof(binaryFun!pred(haystack.front,

Re: We need better documentation for functions with ranges and templates

2015-12-15 Thread landaire via Digitalmars-d
On Tuesday, 15 December 2015 at 19:51:37 UTC, Andrei Alexandrescu wrote: I suggest you start with the simpler stuff, such as better formatting of overloads. That'll allow you to find your way around the doc build and see what the macros are and what they generate. It'd be great if you got the

BNF grammar for D?

2014-10-27 Thread landaire via Digitalmars-d
There have been similar questions asked on this forum before (most recent one in June with no result: http://forum.dlang.org/thread/cafmgiz8fyv2a+scqpqteyesfsybznfy--nsxl5rqnowwna4...@mail.gmail.com?page=1), but I was curious if anyone happens to have a BNF grammar for D laying around. I've

Re: BNF grammar for D?

2014-10-27 Thread landaire via Digitalmars-d
On Monday, 27 October 2014 at 22:30:15 UTC, Brian Schott wrote: On Monday, 27 October 2014 at 22:06:28 UTC, landaire wrote: I've searched all over and can't seem to find anything. There are links to my projects in that thread. Sorry, what I meant was I couldn't find a BNF grammar :) I must

Re: BNF grammar for D?

2014-10-27 Thread landaire via Digitalmars-d
On Monday, 27 October 2014 at 22:35:16 UTC, Jeremy Powers via Digitalmars-d wrote: This looks eerily familiar... I took a stab at an Intellij plugin a long time ago, and happened to pick the same name: https://github.com/elendel-/intelliD Been meaning to pick back up again, but haven't had

Re: BNF grammar for D?

2014-10-27 Thread landaire via Digitalmars-d
On Monday, 27 October 2014 at 22:43:55 UTC, Jeremy Powers via Digitalmars-d wrote: From my mucking about before, I think you'll get more mileage from using libdparse directly than trying to (re)implement a parser for the plugin. For one, you save yourself all the pain of fixing weird edge

Re: BNF grammar for D?

2014-10-27 Thread landaire via Digitalmars-d
On Monday, 27 October 2014 at 23:17:14 UTC, Rikki Cattermole wrote: On Monday, 27 October 2014 at 22:06:28 UTC, landaire wrote: I've also been playing with getting a Intellij IDEA plugin up but it utilises DScanner. The only issue I'm having right now is for some reason its adding two elements