Re: sumtype 0.3.0

2018-05-07 Thread Brian Schott via Digitalmars-d-announce
On Sunday, 6 May 2018 at 19:18:02 UTC, Paul Backus wrote: SumType is a generic sum type for modern D. It is meant as an alternative to `std.variant.Algebraic`. Features: - Pattern matching, including support for structural matching (*) - Self-referential types, using `This` - Works

Re: Test case available for issue 15206

2018-01-09 Thread Brian Schott via Digitalmars-d
On Tuesday, 9 January 2018 at 21:59:58 UTC, Ali Çehreli wrote: On 01/09/2018 01:33 PM, H. S. Teoh wrote: > On Tue, Jan 09, 2018 at 09:08:11PM +0000, Brian Schott via Digitalmars-d wrote: > This made me smile and cringe at the same time. I took it as Brian Schott humor right away.

Test case available for issue 15206

2018-01-09 Thread Brian Schott via Digitalmars-d
With some of the changes that are part of release of 2.078.0, this old bug can be more easily reproduced. I'm posting here so that this doesn't get lost in the bug tracker. Fortunately I can work around this by disabling optimizations on one or two executables, but it would be nice to have

Re: Advice requested for fixing issue 17914

2017-10-24 Thread Brian Schott via Digitalmars-d
On Tuesday, 24 October 2017 at 21:49:10 UTC, qznc wrote: My question wrt to the bug: Why is munmap/freeStack called in the destructor? Could be done right after termination? I've been reading the Fiber code and (so far) that seems seems to be reasonable. Can anybody think of a reason that

Re: Advice requested for fixing issue 17914

2017-10-24 Thread Brian Schott via Digitalmars-d
On Tuesday, 24 October 2017 at 14:28:01 UTC, Steven Schveighoffer wrote: A failing use case would help. Fixing a bug when you can't reproduce is difficult. -Steve I've attached one to the bug report.

Advice requested for fixing issue 17914

2017-10-23 Thread Brian Schott via Digitalmars-d
Context: https://issues.dlang.org/show_bug.cgi?id=17914 I need to get this issue resolved as soon as possible so that the fix makes it into the next compiler release. Because it involves cleanup code in a class destructor a design change may be necessary. Who should I contact to determine the

Re: Graph rendering on dlang.org

2017-06-30 Thread Brian Schott via Digitalmars-d
On Friday, 30 June 2017 at 21:55:34 UTC, Andrei Alexandrescu wrote: Whoa, pretty nice: http://erdani.com/conversions.svg. How do I place the whole thing upside down? Thanks! -- Andrei digraph "conversion" { rankdir="BT"; ... }

Re: Graph rendering on dlang.org

2017-06-30 Thread Brian Schott via Digitalmars-d
On Friday, 30 June 2017 at 21:40:05 UTC, Andrei Alexandrescu wrote: What would be a nice tool to render this DAG online? Who'd want to work on inserting this? Ideally it would be some vector rendering. Graphviz's "dot" tool can output svg. digraph "conversions" { "mutable" ->

Thoughts on some code breakage with 2.074

2017-05-08 Thread Brian Schott via Digitalmars-d
Recently the EMSI data department upgraded the compiler we use to build our data processing code to 2.074. This caused several of the thousands of processes to die with signal 8 (floating point exceptions). This was caused by the fix to issue 17243. This is a good thing. We need more breaking

My D tool projects have moved

2017-05-07 Thread Brian Schott via Digitalmars-d-announce
I moved DCD, D-Scanner, dfmt, and other D tool projects to the dlang-community organization on Github: https://github.com/dlang-community This should make things more convenient if I get hit by a bus, decide that Malbolge* is the one true programming language, or just take too long to review

Re: DConf 2017 Berlin - Streaming ?

2017-05-04 Thread Brian Schott via Digitalmars-d
On Saturday, 29 April 2017 at 20:46:06 UTC, Andrej Mitrovic wrote: The last bit of news I've received is they will be streamed on youtube this time. Is there any update on this? (Preferably in the form of a URL)

Re: Separating ddmd

2016-11-09 Thread Brian Schott via Digitalmars-d
On Monday, 7 November 2016 at 09:08:28 UTC, ANtlord wrote: By the way, does somebody knows where mr. Schott (Hackerpilot)? You have to perform a summoning ritual. Start here: https://en.wikipedia.org/wiki/Magic_circle#Techniques

V0.5.2 of Emsi's containers library is released

2016-09-22 Thread Brian Schott via Digitalmars-d-announce
https://github.com/economicmodeling/containers/releases/tag/v0.5.2 This is a containers library built on top of std.experimental.allocator. Version 0.5.2 fixes several bugs in the UnrolledList and HashMap containers.

Removing the Symbol rule from the grammar

2016-07-07 Thread Brian Schott via Digitalmars-d
Context: http://dlang.org/spec/grammar.html The "Symbol" rule is used only by two other rules in the grammar, "TemplateArgument" and "WithStatement". In the case of "WithStatement", the grammar looks like this: WithStatement: 'with' '(' Expression | Symbol | TemplateInstance ')'

Re: D grammar

2016-06-14 Thread Brian Schott via Digitalmars-d
On Tuesday, 14 June 2016 at 17:27:21 UTC, Joerg Joergonson wrote: I wonder if someone could write a program generator that generates random valid D code from one of these grammars and runs it in DMD to find compilation errors. It shouldn't be too hard to do and only needs to provide coverage

Re: D grammar

2016-06-13 Thread Brian Schott via Digitalmars-d
On Sunday, 12 June 2016 at 06:45:58 UTC, Russel Winder wrote: I should know this, but… Is there an official D grammar (EBNF or otherwise) or is the language defined by the DMD parser? I am looking to continue Kingsley's DLanguage IntelliJ IDEA plugin and for that it is necessary to have a

Re: Idea: swap with multiple arguments

2016-05-25 Thread Brian Schott via Digitalmars-d
On Wednesday, 25 May 2016 at 17:08:02 UTC, Martin Tschierschke wrote: And if not, where does it breaks the general language design? Here: https://en.wikipedia.org/wiki/Comma_operator

Re: Killing the comma operator

2016-05-10 Thread Brian Schott via Digitalmars-d
On Tuesday, 10 May 2016 at 10:00:04 UTC, Guillaume Piolat wrote: KILL IT NOW, WITH FIRE Then salt the ground it grew on and irradiate it. The comma operator has stolen our ability to have tuples and in return it has given us bugs.

Re: Setting a list of values

2016-05-07 Thread Brian Schott via Digitalmars-d-learn
On Monday, 2 May 2016 at 10:15:04 UTC, Marc Schütz wrote: This check can be done purely by looking at the tokens. In other words it's trivial for D-Scanner to warn about this. https://github.com/Hackerpilot/Dscanner/issues/341

Re: what's wrong with my class?

2016-05-04 Thread Brian Schott via Digitalmars-d-learn
On Wednesday, 4 May 2016 at 23:19:08 UTC, Jonathan Villa wrote: What I'm doing wrong? :< All right. D's type system is marking the `Session` constructor as `shared`. This makes the check `static if (is(typeof(result.__ctor(args` in std.conv.emplace fail because `result` is a non-shared

Re: what's wrong with my class?

2016-05-04 Thread Brian Schott via Digitalmars-d-learn
On Wednesday, 4 May 2016 at 23:34:52 UTC, Jonathan Villa wrote: On Wednesday, 4 May 2016 at 23:33:28 UTC, Brian Schott wrote: On Wednesday, 4 May 2016 at 23:19:08 UTC, Jonathan Villa wrote: What I'm doing wrong? :< I see that the types of `id_user` aren't necessarily the same betw

Re: what's wrong with my class?

2016-05-04 Thread Brian Schott via Digitalmars-d-learn
On Wednesday, 4 May 2016 at 23:19:08 UTC, Jonathan Villa wrote: What I'm doing wrong? :< I see that the types of `id_user` aren't necessarily the same between `create` and `this`.

Re: [OT] Are there any jobs for D?

2016-05-02 Thread Brian Schott via Digitalmars-d
On Monday, 2 May 2016 at 23:08:02 UTC, Tofu Ninja wrote: I am going to be graduating soon and figured it would be cool to see if there were any jobs for D. Where would one look? http://wiki.dlang.org/Current_D_Use

Re: Spurious thought…

2016-04-29 Thread Brian Schott via Digitalmars-d
On Friday, 29 April 2016 at 10:34:49 UTC, Eto Demerzel wrote: No. You're not fooling anybody, Daneel.

Re: LDC 1.0.0-beta1 has been released! Please help testing!

2016-04-26 Thread Brian Schott via Digitalmars-d-announce
On Monday, 25 April 2016 at 06:42:02 UTC, Kai Nacke wrote: LDC 1.0.0-beta1, the LLVM-based D compiler, is available for download! Using a recent build of LDC I was able to build EMSI's core data processing library and get it to pass all of its tests. It also seems to handle DCD and

Re: Why is Linux the only OS in version identifier list that has a lowercase name?

2016-04-11 Thread Brian Schott via Digitalmars-d-learn
On Monday, 11 April 2016 at 23:01:08 UTC, marcpmichel wrote: Is it because Linux is not an OS ? :p I gnu somebody would bring that up.

Re: Fixed-Length Array Sorting

2016-04-04 Thread Brian Schott via Digitalmars-d
On Monday, 4 April 2016 at 09:36:19 UTC, Nordlöw wrote: I have some C++ that does optimal sorting of 3 and 4 elements at https://github.com/nordlow/justcxx/blob/master/sortn.hpp Would anybody be interesting in getting this integrated into std.algorithm.sorting ? That's too readable. Try

Re: Categorization of warnings

2016-03-28 Thread Brian Schott via Digitalmars-d
On Monday, 28 March 2016 at 16:47:53 UTC, Jack Stouffer wrote: The only reason compilers have warnings in them is because C++ needs an entire compiler to warn you about potential problems, and it has since become tradition for that feature to be included. We can just as easily rely on dscanner

Re: Mallocator

2016-03-03 Thread Brian Schott via Digitalmars-d
On Thursday, 3 March 2016 at 19:01:52 UTC, Erik Smith wrote: I get the error "allocate is not callable using a non-shared object" and I'm not sure how to resolve it. Are you calling `Mallocator.allocate()` or `Mallocator.instance.allocate()`?

Re: Official compiler

2016-02-24 Thread Brian Schott via Digitalmars-d
On Thursday, 25 February 2016 at 02:08:32 UTC, Paul O'Neil wrote: On 02/18/2016 02:06 PM, rsw0x wrote: I believe Brian Schott had worked on something like this for D... Did that ever go anywhere? Brian's project is at https://github.com/Hackerpilot/generated . I can't speak to the state

Re: Sublime Text 3 Gets Better D Support

2016-02-09 Thread Brian Schott via Digitalmars-d-announce
On Wednesday, 27 January 2016 at 17:34:35 UTC, Jack Stouffer wrote: Sublime Text is a very popular text editor, and for a while now it's had marginal D support. What has changed recently is updated syntax highlighting to support all the new keywords that have come in the last couple of years

Re: Attributes on static constructors

2016-02-09 Thread Brian Schott via Digitalmars-d
On Sunday, 7 February 2016 at 06:15:29 UTC, Brian Schott wrote: Compiler bug or spec bug? Filed here: https://issues.dlang.org/show_bug.cgi?id=15666

Attributes on static constructors

2016-02-06 Thread Brian Schott via Digitalmars-d
std.socket has a line that looks like this: shared static this() @system http://dlang.org/spec/grammar.html#StaticConstructor states that function attributes are only valid on "static" and "shared static". Compiler bug or spec bug?

Re: Attributes on static constructors

2016-02-06 Thread Brian Schott via Digitalmars-d
On Sunday, 7 February 2016 at 06:15:29 UTC, Brian Schott wrote: ... that function attributes are only valid on "static" and "shared static". And by that I mean "static and shared static destructors".

Re: New DCD and dfmt betas

2016-01-26 Thread Brian Schott via Digitalmars-d-announce
On Tuesday, 26 January 2016 at 13:37:45 UTC, Jacob Carlborg wrote: I'm asking because it doesn't manage to line break this code at all: Fixed: https://github.com/Hackerpilot/dfmt/issues/226

Re: New DCD and dfmt betas

2016-01-26 Thread Brian Schott via Digitalmars-d-announce
On Tuesday, 26 January 2016 at 08:37:10 UTC, Jacob Carlborg wrote: On 2016-01-26 03:18, Brian Schott wrote: https://github.com/Hackerpilot/dfmt/releases/tag/v0.5.0-beta2 This version of dfmt includes several whitespace and indentation fixes. There is also some fine-tuning in the line wrap

New DCD and dfmt betas

2016-01-25 Thread Brian Schott via Digitalmars-d-announce
https://github.com/Hackerpilot/dfmt/releases/tag/v0.5.0-beta2 This version of dfmt includes several whitespace and indentation fixes. There is also some fine-tuning in the line wrap calculation algorithm and a new option to control the formatting of template constraints. Bash-completion

Re: Why do some attributes start with '@' while others done't?

2016-01-21 Thread Brian Schott via Digitalmars-d
On Thursday, 21 January 2016 at 23:14:14 UTC, Dibyendu Majumdar wrote: I see. And which approach is considered better? Personally don't see why the '@' prefix is necessary. Regards Without the "@", the following valid code would break: bool safe = !aIsDangerous && !bIsDangerous; Every time

Re: Why do some attributes start with '@' while others done't?

2016-01-21 Thread Brian Schott via Digitalmars-d
On Thursday, 21 January 2016 at 23:25:01 UTC, Era Scarecrow wrote: Although I'll be honest, breaking code is never fun, and making people scour their code to fix something that worked before is just an annoyance. On the other hand I'm almost tempted to suggest a tool that would update changes

Re: Why do some attributes start with '@' while others done't?

2016-01-21 Thread Brian Schott via Digitalmars-d
On Thursday, 21 January 2016 at 23:58:31 UTC, jmh530 wrote: Perhaps they could begin a process, like adding @pure and @nothrow. Then, people at least people can update source code at their own pace. I doubt adding those would break much code (which makes me wonder if it would be possible to do

Re: blog post - "An illustrated guide to using Sublime Text 3 for D programming"

2016-01-21 Thread Brian Schott via Digitalmars-d-announce
On Friday, 22 January 2016 at 04:39:00 UTC, Pradeep Gowda wrote: Comments are suggestions are welcome. You probably want to point DCD at the phobos and druntime import directories that DMD is actually using, not whatever is in git master. If you run `dmd` with no arguments it will tell you

Re: Compile-Time RNG

2016-01-20 Thread Brian Schott via Digitalmars-d
On Wednesday, 20 January 2016 at 23:21:04 UTC, CTRNG wrote: I managed to create a compile-time random number generator. Proof of concept, with some explanatory comments: http://dpaste.dzfl.pl/668646ce6d71 Just thought this might be of interest to some of you here. That's nearly as fun as

Request for new Deimos repository

2016-01-20 Thread Brian Schott via Digitalmars-d
EMSI has a D version of rec.h from GNU recutils[1]. If somebody creates a repository for this I can get these bindings into Deimos pretty quickly. [1] https://www.gnu.org/software/recutils/manual/recutils.html#Purpose

Re: Can file name, module name, class name and variable name be the same?

2016-01-18 Thread Brian Schott via Digitalmars-d-learn
On Monday, 18 January 2016 at 05:20:42 UTC, WhatMeWorry wrote: I can workaround the problem but it seems like a kludge; I'm curious about the subtleties of this problems. You can't have a variable with the same name as a module because they're both symbols with the same name. It messes up the

DCD and dfmt bugfix releases

2016-01-15 Thread Brian Schott via Digitalmars-d-announce
DCD 0.7.5: https://github.com/Hackerpilot/DCD/releases/tag/v0.7.5 If you're on DCD 0.7.4, upgrade to 0.7.5 to avoid a crash. dfmt 0.4.4: github.com/Hackerpilot/dfmt/releases/tag/v0.4.4 The new dfmt release fixes some spacing and alignment bugs.

Re: std.experimental.yesnogc

2016-01-14 Thread Brian Schott via Digitalmars-d
On Thursday, 14 January 2016 at 07:44:16 UTC, Jacob Carlborg wrote: std.experimental.memory with submodules for the different use cases: std.experimental.memory.rc std.experimental.memory.gc std.experimental.memory.manual // or something Agreed.

New D tool releases

2016-01-14 Thread Brian Schott via Digitalmars-d-announce
Please see the Github links for a list of changes and issues resolved. You may notice that they're all in Dub now. The real Brian is in cryo-stasis in case we need him later. In order to not arouse too much suspicion about shape-shifters these projects can still be built with git and make.

Re: New D tool releases

2016-01-14 Thread Brian Schott via Digitalmars-d-announce
On Friday, 15 January 2016 at 06:27:23 UTC, Basile B. wrote: By chance it' has happend again while the console was opened: The announce newsgroup is not a bug tracker, but this is: https://github.com/Hackerpilot/DCD/issues

Re: DIP86: Consistency for the "deprecated" attribute/storage class

2016-01-14 Thread Brian Schott via Digitalmars-d
On Thursday, 14 January 2016 at 12:33:19 UTC, deadalnix wrote: HAHAHAHAHA consistency, good one :) We can dream.

DIP86: Consistency for the "deprecated" attribute/storage class

2016-01-13 Thread Brian Schott via Digitalmars-d
http://wiki.dlang.org/DIP86 Your thoughts?

Re: "Good PR" mechanical check

2016-01-12 Thread Brian Schott via Digitalmars-d
On Wednesday, 13 January 2016 at 05:19:36 UTC, H. S. Teoh wrote: There are also some (smaller) examples in std.range, such as in transposed(), where nested arrays are formatted like matrices in order to make it clear what the function is trying to do. I'm almost certain dfmt (or any mechanical

Dessert waxes and floor toppings

2016-01-11 Thread Brian Schott via Digitalmars-d
I have an idea to simplify the grammar: Attribute: Pragma | ProtectionAttribute | FloorWaxOrDessertTopping ; StorageClass: "enum" | FloorWaxOrDessertTopping ; FloorWaxOrDessertTopping: "abstract" | AlignAttribute

Re: Beta D 2.070.0-b1

2016-01-11 Thread Brian Schott via Digitalmars-d-announce
On Sunday, 3 January 2016 at 19:24:57 UTC, Martin Nowak wrote: First beta for the 2.070.0 release. Still a few things missing from the changelog, there is a new package std.experimental.ndslice, and native (DWARF based) exception handling on linux. http://dlang.org/download.html#dmd_beta

Re: Ddoc/parser behavior question

2016-01-07 Thread Brian Schott via Digitalmars-d
On Thursday, 7 January 2016 at 08:40:37 UTC, Jacob Carlborg wrote: Is it spelled out if one just do: int a; /// doc1 Yes, but that's not my question. The behavior that I'm talking about is that the comment on the line before the line containing "int" is applied to all three variables, and

Ddoc/parser behavior question

2016-01-06 Thread Brian Schott via Digitalmars-d
Consider the following code: /// doc1 int a, /// doc2 b, /// doc3 c; /// doc4 Ddoc's behavior is to generate this documentation: int a; doc1 doc2 int b; doc1 doc3 int c; doc1 doc4 This isn't really spelled out in the ddoc spec. Is this behavior intentional

Re: Mockup of my doc dream ideas

2015-12-26 Thread Brian Schott via Digitalmars-d
On Saturday, 26 December 2015 at 19:56:13 UTC, Adam D. Ruppe wrote: Still quite a bit to do but it is getting there. I'm using Brian Schott's libdparse to get the source. I want to borrow some of his DCD code to do the scope name lookups and make those dummy links real, and then it is the task

Re: Mockup of my doc dream ideas

2015-12-26 Thread Brian Schott via Digitalmars-d
On Saturday, 26 December 2015 at 21:38:23 UTC, Adam D. Ruppe wrote: I do NOT want the current symbol to be highlighted. Harbored doesn't do that either. The only time I use that feature in ddoc is to disable it.

Re: Formal Review of std.range.ndslice

2015-11-16 Thread Brian Schott via Digitalmars-d
On Monday, 16 November 2015 at 22:45:35 UTC, Jack Stouffer wrote: This is the start of the two week formal review for the proposed std.range.ndslice. This new addition to the standard library would add the ability to create and manipulate multi-dimensional random access ranges in a way that

Re: Reviewing syntax highlight support in cgdb

2015-11-14 Thread Brian Schott via Digitalmars-d
On Saturday, 14 November 2015 at 10:44:53 UTC, Iain Buclaw wrote: Hi, I'm currently making changes to cgdb, and would like to have someone give a quick view over the lexer rules. https://github.com/cgdb/cgdb/blob/master/lib/tokenizer/dlexer.l Having a skim over myself, I see @nogc needs

Re: Here's looking at you, kid

2015-11-13 Thread Brian Schott via Digitalmars-d
On Friday, 13 November 2015 at 22:34:18 UTC, Andrei Alexandrescu wrote: Hi everyone, Recently there's been an uptick of site visits on dlang.org and also dmd downloads (http://erdani.com/d/downloads.daily.png). Amid increased scrutiny it's important to focus on improving documentation. I

Re: AliasSeq + isExpression type specialization behavior

2015-11-10 Thread Brian Schott via Digitalmars-d-learn
On Tuesday, 10 November 2015 at 10:28:45 UTC, Marc Schütz wrote: This fails, too: static assert(is(AliasSeq!(char) : AliasSeq!(dchar))); Which makes sense IMO, because it can be thought of as an unnamed struct, cp. the following: struct A { char c; } struct B { dchar c; } static assert(is(A

Re: Associative arrays

2015-11-09 Thread Brian Schott via Digitalmars-d-learn
On Tuesday, 10 November 2015 at 01:29:11 UTC, Brian Schott wrote: Yes. It's a hack that gives you a modulus without having to do a modulus. It only works on powers of two. http://graphics.stanford.edu/~seander/bithacks.html#ModulusDivisionEasy

AliasSeq + isExpression type specialization behavior

2015-11-09 Thread Brian Schott via Digitalmars-d-learn
Given the following code: ``` import std.meta; static assert(is(char : dchar)); static assert(is(AliasSeq!(int, char) : AliasSeq!(int, char))); static assert(is(AliasSeq!(int, char) : AliasSeq!(int, dchar))); ``` The third static assert fails. Should it, given that the first and second pass?

Re: Parse d source file by using compiler

2015-11-09 Thread Brian Schott via Digitalmars-d-learn
On Monday, 9 November 2015 at 05:49:25 UTC, tcak wrote: I checked for a flag in this page http://dlang.org/dmd-linux.html , but couldn't have found any for this purpose. Is there a way to parse a d source file so it generates a tree in JSON, XML, or something-that-can-be-processed-easily

Re: Associative arrays

2015-11-09 Thread Brian Schott via Digitalmars-d-learn
On Monday, 9 November 2015 at 21:33:09 UTC, TheFlyingFiddle wrote: On Monday, 9 November 2015 at 04:52:37 UTC, rsw0x wrote: On Monday, 9 November 2015 at 04:29:30 UTC, Rikki Cattermole wrote: Fwiw, EMSI provides high quality containers backed by std.experimental.allocator.

DCD 0.7.3

2015-10-30 Thread Brian Schott via Digitalmars-d-announce
From the README: "The D Completion Daemon is an auto-complete program for the D programming language." 0.7.3 is another bug-fix release. https://github.com/Hackerpilot/DCD/releases/tag/v0.7.3 Changes from 0.7.2: * #264 Updated manual pages * #263 Completing renamed imports is broken * #262

Re: Two new openings at EMSI (D experience a plus)

2015-10-22 Thread Brian Schott via Digitalmars-d-announce
On Thursday, 22 October 2015 at 18:24:57 UTC, Justin Whear wrote: We've got two new openings at EMSI, one of which will work daily in D. For the other D experience is a big plus. Data Engineer: http://www.jobs.net/jobs/economic-modeling/en-us/job/United-States/

Re: Problem Benchmarking HashSet from containers-em

2015-10-22 Thread Brian Schott via Digitalmars-d-learn
On Thursday, 22 October 2015 at 22:06:47 UTC, Nordlöw wrote: Can't I use InSituRegion in this way? No. InSituRegion is not copyable. Try creating a `HashSet!(InSituRegion*)` instead.

Reminder: EMSI's containers library exists

2015-10-21 Thread Brian Schott via Digitalmars-d
Just in case people forgot: https://github.com/economicmodeling/containers It's based on std.experimental.allocator, and was the project that caused a lot of allocator bugs being found and fixed.

Re: Vision

2015-10-21 Thread Brian Schott via Digitalmars-d
On Wednesday, 21 October 2015 at 23:03:43 UTC, Jack Stouffer wrote: On Wednesday, 21 October 2015 at 20:50:29 UTC, Andrei Alexandrescu wrote: Better late than later. http://wiki.dlang.org/Vision/2015H2_(draft) Destroy. After we make this good I'll rename it and make it official. Andrei

dfmt 0.4.1

2015-10-21 Thread Brian Schott via Digitalmars-d-announce
dfmt is a formatter for D source code. Changes from 0.4.0: * #189: Better formatting for "in" expressions where the right side of the "in" operator is a function literal. * #190: Fix a bug where whitespace was removed from some ASM statements. * #191: Add "-i" as an alias for the "--inplace"

Re: DCD 0.7.1

2015-10-20 Thread Brian Schott via Digitalmars-d-announce
On Tuesday, 20 October 2015 at 08:28:19 UTC, Dicebot wrote: Which LDC is it supposed to build with? Trying latest stable (0.15.1) I get: src/server/autocomplete.d(23): Error: module logger is in file 'std/experimental/logger.d' which cannot be read 0.16 beta. I'll add another mention of this

Re: DCD 0.7.1

2015-10-19 Thread Brian Schott via Digitalmars-d-announce
On Monday, 19 October 2015 at 20:29:41 UTC, Brian Schott wrote: From the README: "The D Completion Daemon is an auto-complete program for the D programming language." 0.7.1 is a (boring) bug-fix release. https://github.com/Hackerpilot/DCD/releases/tag/v0.7.1 Skip that. Grab 0.7

DCD 0.7.1

2015-10-19 Thread Brian Schott via Digitalmars-d-announce
From the README: "The D Completion Daemon is an auto-complete program for the D programming language." 0.7.1 is a (boring) bug-fix release. https://github.com/Hackerpilot/DCD/releases/tag/v0.7.1

Re: Beta D 2.069.0-b2

2015-10-14 Thread Brian Schott via Digitalmars-d-announce
On Wednesday, 14 October 2015 at 13:53:17 UTC, Martin Nowak wrote: Second beta for the 2.069.0 release. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.069.0.html Please report any bugs at https://issues.dlang.org -Martin Is there any reason that these fixes won't be

dfmt 0.4.0

2015-09-17 Thread Brian Schott via Digitalmars-d-announce
https://github.com/Hackerpilot/dfmt https://github.com/Hackerpilot/dfmt/releases/tag/v0.4.0 https://github.com/Hackerpilot/dfmt/issues?q=milestone%3A0.4.0+is%3Aclosed dfmt is a formatter for D source code. Version 0.4.0 includes a few minor features such as "//dfmt off" and "//dfmt on"

Re: module std.stream is deprecated - Will be removed by phobos version 2.070

2015-09-11 Thread Brian Schott via Digitalmars-d
On Friday, 11 September 2015 at 20:29:56 UTC, Vladimir Panteleev wrote: Apparently it was decided at DConf 2015 to remove std.stream and friends from Phobos. Kill it with fire.

Re: Beta D 2.068.2-b1

2015-09-10 Thread Brian Schott via Digitalmars-d-announce
On Thursday, 10 September 2015 at 03:38:31 UTC, Martin Nowak wrote: Due to a regression in 2.068.1 we'll directly follow up with an unplanned point release 2.068.2. This is the beta for that point release. http://downloads.dlang.org/pre-releases/2.x/2.068.2/ Please test any of your code

Re: DCD: Autocomplete without the IDE

2015-09-09 Thread Brian Schott via Digitalmars-d-announce
On Wednesday, 9 September 2015 at 07:04:27 UTC, Ludovit Lucenic wrote: Hello yaz, how far did you get with Sublime Text autocomplete support for D? https://github.com/yazd/DKit/ There's a link to this on DCD's wiki.

Re: std.experimental.testing formal review

2015-09-09 Thread Brian Schott via Digitalmars-d
On Wednesday, 9 September 2015 at 15:20:41 UTC, Robert burner Schadek wrote: This post marks the start of the two week review process of std.experimental.testing. PR: https://github.com/D-Programming-Language/phobos/pull/3207 Dub: http://code.dlang.org/packages/unit-threaded Doc: See

Re: Interesting user mistake

2015-09-03 Thread Brian Schott via Digitalmars-d
On Thursday, 3 September 2015 at 17:17:26 UTC, Steven Schveighoffer wrote: What about all other operations that may be typos from op= where op is also a unary operator? e.g. =- We'd have to special-case '*': a=*b;

Re: DCD 0.7.0

2015-09-02 Thread Brian Schott via Digitalmars-d-announce
On Tuesday, 1 September 2015 at 21:36:46 UTC, Brian Schott wrote: https://github.com/Hackerpilot/DCD/tree/v0.7.0 After an alpha, a beta, and two release candidates DCD 0.7.0 is ready. And now in Homebrew: https://github.com/Homebrew/homebrew/pull/43490

DCD 0.7.0

2015-09-01 Thread Brian Schott via Digitalmars-d-announce
https://github.com/Hackerpilot/DCD/tree/v0.7.0 After an alpha, a beta, and two release candidates DCD 0.7.0 is ready. The D Completion Daemon is an auto-complete program for the D programming language. Highlights: * A large portion of DCD's symbol resolution engine was removed and

Re: v0.2.1 of EMSI's containers library

2015-09-01 Thread Brian Schott via Digitalmars-d-announce
On Tuesday, 1 September 2015 at 13:51:45 UTC, jmh530 wrote: The link to documentation doesn't seem to have anything on it. The package name on the left is expandable.

v0.2.1 of EMSI's containers library

2015-08-31 Thread Brian Schott via Digitalmars-d-announce
https://github.com/economicmodeling/containers This containers library is built on top of Andrei's std.experimental.allocator. It's currently used by libraries internal to EMSI, as well as the open-source DCD project. The containers are backed by malloc (Mallocator) by default, but you can

Re: GC-proof resource classes

2015-08-30 Thread Brian Schott via Digitalmars-d
On Sunday, 30 August 2015 at 21:59:59 UTC, ponce wrote: I'm not sure there is even a need for synchronization since other threads that wan't to allocate try to take the GC lock while the GC-hijacked thread calls destructors. And if the destructor isn't called by the GC, I don't see a problem

Re: DCD v0.7.0-rc1

2015-08-29 Thread Brian Schott via Digitalmars-d-announce
On Thursday, 27 August 2015 at 22:18:25 UTC, Brian Schott wrote: On Thursday, 27 August 2015 at 10:13:38 UTC, BBasile wrote: I've seen some activity on your allocator fork and on the DCD submodules yesterday, is it ok to release the DCD binaries based on the current state ? Is the problem

Re: DCD v0.7.0-rc1

2015-08-29 Thread Brian Schott via Digitalmars-d-announce
On Saturday, 29 August 2015 at 10:38:39 UTC, Brian Schott wrote: I think I've nailed down all the bugs in the allocators and the memory leaks in my own code. I just need to fix https://github.com/Hackerpilot/DCD/issues/251 and 0.7.0 will be done. One more RC: https://github.com/Hackerpilot

Re: DCD v0.7.0-rc1

2015-08-27 Thread Brian Schott via Digitalmars-d-announce
On Thursday, 27 August 2015 at 10:13:38 UTC, BBasile wrote: I've seen some activity on your allocator fork and on the DCD submodules yesterday, is it ok to release the DCD binaries based on the current state ? Is the problem fixed ? Or would you recommend more to distribute latest stable 0.6

Re: DCD v0.7.0-rc1

2015-08-25 Thread Brian Schott via Digitalmars-d-announce
On Tuesday, 25 August 2015 at 08:46:18 UTC, BBasile wrote: On Friday, 21 August 2015 at 10:15:09 UTC, Brian Schott wrote: https://github.com/Hackerpilot/DCD/releases/tag/v0.7.0-rc1 If nothing else comes up I'll tag 0.7.0 Monday. DCD is an editor-independent auto-completion program for D code

Destructors, deallocateAll, and GCAllocator

2015-08-24 Thread Brian Schott via Digitalmars-d
I've discovered that several allocators in std.experimental.allocator call deallocateAll on their parent allocators during their destructors. This is not a problem unless the parent allocator happens to be GCAllocator and the original destructor call was caused by a GC collection. GC.free

dfmt 0.4.0-rc1

2015-08-24 Thread Brian Schott via Digitalmars-d-announce
https://github.com/Hackerpilot/dfmt/releases/tag/v0.4.0-rc1 dfmt is a formatter for D source code. Check the link above for a list of changes from beta2.

DCD v0.7.0-rc1

2015-08-21 Thread Brian Schott via Digitalmars-d-announce
https://github.com/Hackerpilot/DCD/releases/tag/v0.7.0-rc1 If nothing else comes up I'll tag 0.7.0 Monday. DCD is an editor-independent auto-completion program for D code. Read more here: https://github.com/Hackerpilot/DCD

Re: DCD 0.7.0-alpha1

2015-08-10 Thread Brian Schott via Digitalmars-d-announce
On Monday, 10 August 2015 at 07:24:20 UTC, anonymous wrote: let's say 16X per line, for 4000X lines and ಠ_ಠ

DCD 0.7.0-alpha1

2015-08-07 Thread Brian Schott via Digitalmars-d-announce
https://github.com/Hackerpilot/DCD/releases/tag/v0.7.0-alpha1 DCD is an IDE and editor-independent autocompletion system for the D programming language. Release notes are available at the above link. 0.7.0 has some major changes to its internal structure, so please help me to test it.

Re: Changelog

2015-08-05 Thread Brian Schott via Digitalmars-d-announce
On Wednesday, 5 August 2015 at 06:45:56 UTC, Martin Nowak wrote: On 08/05/2015 01:57 AM, Martin Nowak wrote: Release Candidate for 2.068.0 To make this a successful release we need to work on the changelog, so that the rest of the world can know what we actually did. Right now it only

Re: Changelog

2015-08-05 Thread Brian Schott via Digitalmars-d-announce
On Wednesday, 5 August 2015 at 20:57:49 UTC, anonymous wrote: getUDAs and getSymbolsByUDA don't seem to have made it, so they're correctly commented out for now. That's annoying. Those three were meant to go together.

Re: Beta D 2.068.0-b2

2015-07-26 Thread Brian Schott via Digitalmars-d-announce
On Sunday, 26 July 2015 at 21:13:07 UTC, anonymous wrote: On Saturday, 25 July 2015 at 12:21:19 UTC, Martin Nowak wrote: Second beta for the 2.068.0 release. Is std.expermimental.allocator planned for 2.068 ? I see it's still not merged and we already almost in August. That makes me

Re: Voting for std.experimental.allocator

2015-07-08 Thread Brian Schott via Digitalmars-d-announce
On Wednesday, 8 July 2015 at 11:33:03 UTC, Dicebot wrote: Please respond to this post with a comment starting with a single Yes/No and optional explanation after that. Yes.

Re: Heisenbug involving Destructors GC - Help Needed

2015-06-26 Thread Brian Schott via Digitalmars-d
On Saturday, 27 June 2015 at 03:16:35 UTC, rsw0x wrote: calling destroy on a pointer should either be fixed or be an error, that should not be allowed to happen. Completely agreed. Calling destroy() on a pointer has been incorrect EVERY time I've seen it done.

  1   2   3   4   5   6   >