On Wed, Jan 31, 2018 at 06:31:34PM +, Adam D. Ruppe via Digitalmars-d wrote:
> On Wednesday, 31 January 2018 at 17:14:56 UTC, H. S. Teoh wrote:
> > But otherwise, the two are equivalent. (In fact, backticks translate
> > directly into $(D ...) in the ddoc code. They are just syntactic
> > sugar
On Wed, Jan 31, 2018 at 08:05:37PM +, Adam D. Ruppe via Digitalmars-d wrote:
> On Wednesday, 31 January 2018 at 19:59:23 UTC, Seb wrote:
> > ... and Mike did put _a lot_ of effort in pushing colorful error
> > messages:
>
> Yes, that was a direct result of that forum post I alluded to. It
> is
On Wed, Jan 31, 2018 at 05:20:59PM +, Seb via Digitalmars-d wrote:
> On Wednesday, 31 January 2018 at 16:13:51 UTC, John Gabriele wrote:
> > I've never seen that page. Would've helped me to see it earlier. The
> > D download page should include a blurb with a link to that install
> > page.
>
>
On Wed, Jan 31, 2018 at 03:40:04PM +, Jakub Łabaj via Digitalmars-d wrote:
> What is the current state of the art of writing inline code in the
> documentation?
>
> Wiki says "use `...` instead of $(D ...)":
> https://wiki.dlang.org/Contributing_to_Phobos#Documentation_style.
>
> Some argumen
On Tue, Jan 30, 2018 at 10:12:07PM +, Ola Fosheim Grøstad via Digitalmars-d
wrote:
> On Tuesday, 30 January 2018 at 21:49:39 UTC, H. S. Teoh wrote:
> > Meaning, the "enormous performance advantage" is because of
> > "extremely eefficient native code". I don't argue that C++ has
> > extremely
On Tue, Jan 30, 2018 at 09:49:46PM +, Ola Fosheim Grøstad via Digitalmars-d
wrote:
> On Tuesday, 30 January 2018 at 21:43:45 UTC, Daniel Kozak wrote:
> > Thats not completly true, last time I tried some of best c++ version
> > from http://benchmarksgame.alioth.debian.org/. I was able to write
On Tue, Jan 30, 2018 at 09:26:30PM +, Ola Fosheim Grøstad via Digitalmars-d
wrote:
> On Tuesday, 30 January 2018 at 21:02:13 UTC, H. S. Teoh wrote:
> > On Tue, Jan 30, 2018 at 03:45:44PM -0500, Andrei Alexandrescu via
> > Digitalmars-d wrote:
> > > https://www.quora.com/Why-hasnt-D-started-to-
On Tue, Jan 30, 2018 at 03:45:44PM -0500, Andrei Alexandrescu via Digitalmars-d
wrote:
> https://www.quora.com/Why-hasnt-D-started-to-replace-C++
[...]
I actually agree with all of his points, except one: C++'s "enormous
performance advantage"?! Is he being serious? Or is his view biased by
dmd
On Tue, Jan 30, 2018 at 04:31:43AM +, rikki cattermole via Digitalmars-d
wrote:
[...]
> D isn't a scripting language, it is native. It will always matter what
> OS/platform you are compiling to.
One could always hook the front end to a codegen that emits bytecode
instead of native assembly.
On Tue, Jan 30, 2018 at 08:08:14AM +, Dukc via Digitalmars-d wrote:
> On Monday, 29 January 2018 at 17:51:40 UTC, Seb wrote:
>
> > - All high-level code should be usable in @safe
>
> This is not currently possible with functions that take a delegate
> parameter, including opApply. (without sa
On Tue, Jan 30, 2018 at 01:20:02AM +, Bastiaan Veelo via Digitalmars-d
wrote:
> On Tuesday, 30 January 2018 at 00:21:09 UTC, Amorphorious wrote:
> > Just curious what the point is and what box it opens.
>
> Better tooling is what comes to my mind. Imagine your editor to
> understand your code
On Mon, Jan 29, 2018 at 01:23:49AM +, jmh530 via Digitalmars-d wrote:
[...]
> It's probably that they view programming languages as a tool to get
> things done. Investing a lot of time in writing an IDE or plugin is
> time that could instead be spent writing programs that are useful in
> some o
On Sun, Jan 28, 2018 at 05:13:15PM -0700, Jonathan M Davis via Digitalmars-d
wrote:
> On Sunday, January 28, 2018 15:06:49 H. S. Teoh via Digitalmars-d wrote:
[...]
> > But the thing is, this is not a proprietary language where people
> > are paid to do the grunt work. It's u
On Sun, Jan 28, 2018 at 09:02:36AM -0700, Jonathan M Davis via Digitalmars-d
wrote:
[...]
> I have yet to find an IDE where I didn't feel like I was playing with
> primitive tools in comparison to vim. And as such, it's that much weirder to
> me for someone want to use an IDE. But it _does_ take q
On Sun, Jan 28, 2018 at 12:27:52AM -0800, Walter Bright via Digitalmars-d wrote:
> On 1/28/2018 12:05 AM, Jonathan M Davis wrote:
> > As to _why_ it works, I don't know - it seems like a bad idea to me
> > - but it does.
>
> It's so your code needn't care whether it is a static member or not,
> ju
On Sun, Jan 28, 2018 at 12:03:38AM +, Benny via Digitalmars-d wrote:
[...]
> The problem is Teoh that learning a language in Vim or a IDE are two
> totally different things.
>
> I used to program in Notepad because i grew up with PHP and knew it
> like the back of my hand. The result was very
On Sun, Jan 28, 2018 at 12:04:42AM -0700, Jonathan M Davis via Digitalmars-d
wrote:
> On Saturday, January 27, 2018 23:44:40 Jonathan M Davis via Digitalmars-d
> wrote:
[...]
> > It does exactly what I'd expect it to do, though honestly, it's the
> > sort of thing I wish weren't legal, just like
On Sat, Jan 27, 2018 at 03:48:19PM -0800, Timothee Cour wrote:
[...]
> eg `ldc -hash-threshold` would be 1 option.
[...]
> with a small threshold:
>
> mangled:
> _D8analysis3run__T9shouldRunℂ0abf2284dd3
>
> demangled:
> pure nothrow @nogc @safe immutable(char)[] analysis.run.shouldRun.ℂ0abf2284dd
On Sat, Jan 27, 2018 at 09:22:07PM +, timotheecour via Digitalmars-d wrote:
[...]
> ```
> 28 dscanner0x00010d59f428 @safe void
> std.getopt.getoptImpl!(std.getopt.config, immutable(char)[], bool*,
> immutable(char)[], bool*, immutable(char)[], bool*, immutable(c
On Sat, Jan 27, 2018 at 06:18:02PM +, Dgame via Digitalmars-d wrote:
[...]
> It's nice that this works for you, but I strongly believe that most of
> the programmers who are willing to try something new are younger and I
> also think that most of them don't use VIM/Emacs on a daily basis.
> It'
> On 1/26/18 5:50 PM, Dgame wrote:
[...]
> > My impression so far is that most of the D users love to program in
> > a tiny editor without the features which modern IDE's gives you.
> > That's impressive, but outdated and even a bit silly if the project
> > is bigger. In any company I've been so f
On Fri, Jan 26, 2018 at 10:26:02PM +, Jesse Phillips via Digitalmars-d
wrote:
> On Thursday, 25 January 2018 at 04:13:29 UTC, Andrei Alexandrescu wrote:
> > https://news.ycombinator.com/item?id=16227130
>
> http://eve-lang.com/
>
> Not quite the point of the language, but it is funny that it
On Fri, Jan 26, 2018 at 04:36:18AM -0700, Jonathan M Davis via Digitalmars-d
wrote:
> On Thursday, January 25, 2018 17:20:21 H. S. Teoh via Digitalmars-d wrote:
> > On Fri, Jan 26, 2018 at 01:08:10AM +, Mike Franklin via Digitalmars-d
> wrote:
> > > On Wednesday, 24 Jan
On Fri, Jan 26, 2018 at 08:34:50AM +0100, Johannes Pfau via Digitalmars-d wrote:
[...]
> What is the benefit of using link-time renaming (a linker specific
> feature) instead of directly renaming the symbol in the compiler? We
> could be quite radical and hash all symbols > a certain threshold. As
On Fri, Jan 26, 2018 at 01:08:10AM +, Mike Franklin via Digitalmars-d wrote:
> On Wednesday, 24 January 2018 at 09:35:44 UTC, lobo wrote:
>
> > And I'm broken after using D, going back to C++ is awful and Rust
> > just has too much friction to be enjoyable.
>
> Yep, I know exactly what you me
On Tue, Jan 23, 2018 at 09:36:03AM +, Simen Kjærås via Digitalmars-d wrote:
[...]
> struct R(T) {
> T[] arr;
> auto opHeadMutable(this This)() {
> import std.traits : CopyTypeQualifiers;
> return R!(CopyTypeQualifiers!(This, T))(arr);
> }
> }
>
> This is the code yo
On Thu, Jan 25, 2018 at 11:42:03AM -0700, Jonathan M Davis via Digitalmars-d
wrote:
> On Thursday, January 25, 2018 19:21:29 Benjamin Thaut via Digitalmars-d
> wrote:
> > If we think this is a good idea, should we rewrite this particular
> > string switch to use a associative array instead to avo
On Thu, Jan 25, 2018 at 07:21:29PM +0100, Benjamin Thaut via Digitalmars-d
wrote:
> _D6object__T8__switchTyaVxAyaa7_[...snip ridiculously long symbol...]
>
> The first time I encountered this symbol in phobos I though: WTF? Then
> I tried to demangle it:
> core.exception.RangeError@src\core\deman
On Thu, Jan 18, 2018 at 06:42:26PM +, Dmitry Olshansky via Digitalmars-d
wrote:
[...]
> Also forgot to mention that can pass BitPacked!(ubyte,2) to Trie
> template as value type to use 2 bit per value. Should reduce your
> width table 4-fold. Just saying;)
Thanks for the tip! Indeed, the ta
On Fri, Jan 19, 2018 at 07:18:22PM +, Luís Marques via Digitalmars-d wrote:
[...]
> void combulate(T)(T* item)
> {
> // ... lots of code here
> item.next = ...;
> }
[...]
[...]
> This catches the bug, but will have the disadvantage of generating
> code for the variou
On Wed, Jan 17, 2018 at 05:06:05AM +, Dmitry Olshansky via Digitalmars-d
wrote:
> On Tuesday, 16 January 2018 at 23:01:19 UTC, H. S. Teoh wrote:
[...]
> > One thing, though: I think it would benefit us all if we could
> > import at least gen_uni into Phobos, so that in the future when we
> > n
On Wed, Jan 17, 2018 at 02:15:08PM -0800, H. S. Teoh via Digitalmars-d wrote:
[...]
> OTOH, this combination of string import and self-referencing __FILE__
> opens up a host of curious possibilities (all of which already work
> today, btw):
[...]
Another interesting one: breaking th
On Wed, Jan 17, 2018 at 06:24:50PM +, Simen Kjærås via Digitalmars-d wrote:
[...]
> enum a = import(__FILE__);
> static if (a.indexOf("//") > -1) {
> fireZeMissiles();
> }
[...]
OTOH, this combination of string import and self-referencing __FILE__
opens up a host of curious possibilities (
On Wed, Jan 17, 2018 at 06:24:50PM +, Simen Kjærås via Digitalmars-d wrote:
> On Wednesday, 17 January 2018 at 16:52:40 UTC, Steven Schveighoffer wrote:
> > The charter of comments is to NOT affect code, ever. They can be
> > used to affect other systems, such as the ddoc generator, ide hints,
On Wed, Jan 17, 2018 at 11:52:40AM -0500, Steven Schveighoffer via
Digitalmars-d wrote:
[...]
> This proposal has comment *contents* affecting the build. The charter
> of comments is to NOT affect code, ever. They can be used to affect
> other systems, such as the ddoc generator, ide hints, etc.,
On Tue, Jan 16, 2018 at 05:49:11PM +, Dmitry Olshansky via Digitalmars-d
wrote:
> On Monday, 15 January 2018 at 19:52:07 UTC, H. S. Teoh wrote:
[...]
> > One thing I'm seeking help with, and this is mainly directed at
> > Dmitry Olshansky but can be anyone here who knows the internal
> > worki
On Tue, Jan 16, 2018 at 10:13:31PM +, Johan Engelen via Digitalmars-d wrote:
[...]
> We shouldn't bump the required dlang version while knowing that it
> will break current distribution packaging. Before bumping the dlang
> version to something that would require more than one bootstrap step
>
On Tue, Jan 16, 2018 at 02:45:06PM -0500, Andrei Alexandrescu via Digitalmars-d
wrote:
> https://issues.dlang.org/show_bug.cgi?id=255
>
> I think it would be great to reduce the median age of open issues, and
> the median longevity of closed issues. I'm in talks with Sebastian
> about publishing
On Sat, Jan 13, 2018 at 09:26:52AM -0800, H. S. Teoh via Digitalmars-d wrote:
[...]
> https://github.com/quickfur/strwidth
[...]
One thing I'm seeking help with, and this is mainly directed at Dmitry
Olshansky but can be anyone here who knows the internal workings of
std.uni well en
On Mon, Jan 15, 2018 at 06:58:37PM +, Jonathan Marler via Digitalmars-d
wrote:
[...]
> That being said, I don't think this model really get much closer to
> answering the original question, "what is a type?".
[...]
At the most abstract level, a type is just a set. The members of the set
repre
On Mon, Jan 15, 2018 at 06:20:16PM +, Jack Stouffer via Digitalmars-d wrote:
> On Monday, 15 January 2018 at 17:32:40 UTC, H. S. Teoh wrote:
> > On Mon, Jan 15, 2018 at 02:14:56PM +, Simen Kjærås via Digitalmars-d
> > wrote:
> > > On Monday, 15 January 2018 at 13:34:09 UTC, Jack Stouffer wr
On Mon, Jan 15, 2018 at 02:14:56PM +, Simen Kjærås via Digitalmars-d wrote:
> On Monday, 15 January 2018 at 13:34:09 UTC, Jack Stouffer wrote:
> > std.utf.displayWidth
>
> +1
[...]
Why std.utf rather than std.uni, though?
T
--
ASCII stupid question, getty stupid ANSI.
This past week, while reviewing Phobos PR #6008, I started experimenting
with an optimized D equivalent of wcswidth().
For more details, see:
https://issues.dlang.org/show_bug.cgi?id=7054
https://issues.dlang.org/show_bug.cgi?id=17810
as well as the discussion on:
https:
On Sat, Jan 13, 2018 at 12:22:17PM +, Heromyth via Digitalmars-d wrote:
[...]
> auto writerFor(OutRange)(auto ref OutRange outRange)
> {
> auto res = Writer!(OutRange)();
> res.setSink(outRange);
> return res;
> }
>
> struct Writer(OutRange)
> {
> private OutRange* output;
>
>
On Tue, Jan 09, 2018 at 09:08:11PM +, Brian Schott via Digitalmars-d wrote:
[...]
> I'm posting here so that this doesn't get lost in the bug tracker.
[...]
This made me smile and cringe at the same time. I thought it was stuff
posted *here* on the forum that get lost and forgotten, buried un
On Tue, Jan 09, 2018 at 06:20:31PM +0100, Benjamin Thaut via Digitalmars-d
wrote:
> [...] The compiler should be able to figure out that the destructor of
> SomeOtherStruct must already exist, as its clearly always
> instanciated. As a result the compiler should not instanciate the
> TypeInfo for
On Sun, Jan 07, 2018 at 07:20:44PM -0700, Jonathan M Davis via Digitalmars-d
wrote:
[...]
> LOL. Okay, I feel like an idiot now. Switching to static foreach
> resulted in a slight speed-up, and then switching to only resulted in
> a very large speed-up. However, it turns out that the main reason t
On Sun, Jan 07, 2018 at 12:18:27AM +, Ivan Trombley via Digitalmars-d wrote:
> While working with SDL, I found that I kept using the same pattern over and
> over:
> - Get the current clip rectangle.
> - Set a new clip rectangle.
> - restore the old clip rectangle on scope (exit).
>
> Instead o
On Fri, Jan 05, 2018 at 06:33:52PM +, Adam D. Ruppe via Digitalmars-d wrote:
> On Friday, 5 January 2018 at 18:07:54 UTC, H. S. Teoh wrote:
> > Simple solution: add another pair of {} to create a nested scope:
>
> That's illegal outside of functions, though, which is the place static
> foreach
On Fri, Jan 05, 2018 at 05:41:23PM +, Adam D. Ruppe via Digitalmars-d wrote:
> Y'all know if we write this:
>
> static foreach(foo; [1,2,3]) {
> int blargh = foo;
> }
>
> we get:
>
> e2.d(2): Error: variable e2.__anonymous.blargh conflicts with variable
> e2.__anonymous.blargh at e2.
On Thu, Jan 04, 2018 at 07:28:10PM -0800, Walter Bright via Digitalmars-d wrote:
> On 1/4/2018 2:34 AM, Mike Franklin wrote:
> > Walter seems to pop in daily, and occasionally reviews PRs, and his
> > PRs of late are mostly just refactorings rather than fixing
> > difficult bugs.
> There's a lot of
On Fri, Jan 05, 2018 at 03:26:03PM +, 12345swordy via Digitalmars-d wrote:
> On Friday, 5 January 2018 at 14:35:44 UTC, Jonathan M Davis wrote:
> > On Friday, January 05, 2018 14:29:41 Adam D. Ruppe via Digitalmars-d
> > wrote:
> > > [...]
> >
> > Either that or use structs on the stack instea
On Fri, Jan 05, 2018 at 10:00:18AM -0500, Steven Schveighoffer via
Digitalmars-d wrote:
[...]
> I don't know what caused it. I'm not at high risk, I never get the
> flu. I only got the shot because I had a baby and my wife cajoled me
> into it (didn't get one for baby #2, and didn't get sick). But
On Thu, Jan 04, 2018 at 12:55:45AM +, Jack Stouffer via Digitalmars-d wrote:
[...]
> Attack details published by Google Project Zero with official names
> https://meltdownattack.com
On Wed, Jan 03, 2018 at 06:06:04PM -0800, Brad Roberts via Digitalmars-d wrote:
[...]
> Calling it a vendor or a
On Thu, Jan 04, 2018 at 04:57:25PM -0700, Jonathan M Davis via Digitalmars-d
wrote:
> On Thursday, January 04, 2018 14:59:44 H. S. Teoh via Digitalmars-d wrote:
[...]
> > Are you sure that's non-CTFE? Isn't standard constant folding a
> > part of CTFE? Anyway, the ne
On Wed, Jan 03, 2018 at 02:44:21PM +0100, ag0aep6g via Digitalmars-d wrote:
> On 01/03/2018 02:51 AM, H. S. Teoh wrote:
> >
> > https://wiki.dlang.org/User:Quickfur/Compile-time_vs._compile-time#But_what_of_runtime_performance.3F
> >
> > object.destroy! :-P
>
> In the CTFE section, you expla
On Thu, Jan 04, 2018 at 12:06:14PM -0700, Jonathan M Davis via Digitalmars-d
wrote:
> On Thursday, January 04, 2018 10:27:37 H. S. Teoh via Digitalmars-d wrote:
> > On Thu, Jan 04, 2018 at 10:23:57AM +, Paolo Invernizzi via
> Digitalmars-d wrote:
[...]
> > > I'm m
On Thu, Jan 04, 2018 at 06:50:25PM +, Dmitry Olshansky via Digitalmars-d
wrote:
> On Thursday, 4 January 2018 at 18:09:32 UTC, Seb wrote:
[...]
> > BTW: For those who haven't seen this, dlang-bot now detects these
> > stalled PRs and for now labels them as "stalled":
> >
> > https://github.co
On Thu, Jan 04, 2018 at 10:23:57AM +, Paolo Invernizzi via Digitalmars-d
wrote:
> On Thursday, 4 January 2018 at 07:47:41 UTC, H. S. Teoh wrote:
> > [...]
>
> I'm missing Kenji...
Me too. :-( Does anybody know what happened to him? He just sortof
dropped off the radar suddenly and I haven't
On Thu, Jan 04, 2018 at 06:39:24AM +, Mike Parker via Digitalmars-d wrote:
[...]
> In the meantime, you could help reduce the pile by picking a bug to fix
> today. Multiple people, particularly those concerned about the number of old
> issues still open, who donate one or two days a month to fi
On Thu, Jan 04, 2018 at 12:25:59AM +, Justin Whear via Digitalmars-d wrote:
> // Reads bytes from stdin and writes a hexadecimal view like a no-frills
> xxd.
> // All the actual formatting work is done by format's sweet range syntax
Mmm, I like this! Care to submit a PR for this in the dlang.
On Wed, Jan 03, 2018 at 03:28:15PM -0700, Jonathan M Davis via Digitalmars-d
wrote:
[...]
> The problem is that there are some very vocal folks who complain about
> the GC, and then that often leads to folks thinking that there's a
> serious problem with the fact that D has a GC, when arguably, th
On Wed, Jan 03, 2018 at 12:14:19PM +, wakhshti via Digitalmars-d wrote:
>
> what is best (SQLite?) @small @local @offline database library to use
> in D?
[...]
I've been using SQLite for this type of usage, and it's served me pretty
well. I've been using Adam Ruppe's SQLite bindings:
On Tue, Jan 02, 2018 at 07:26:54PM -0700, Jonathan M Davis via Digitalmars-d
wrote:
> On Tuesday, January 02, 2018 17:51:01 H. S. Teoh via Digitalmars-d wrote:
> > object.destroy! :-P
>
> But that doesn't work during compile-time, does it? ;)
[...]
Which compile-time? :-
Finally got around to working on my draft article "Compile-time vs.
compile-time" again today. Mainly added another case study for a
commonly encountered issue, and cleaned up the outdated stuff on
"static" foreach (not the *real* static foreach that we have now). Now
I'm reasonably happy with its
On Tue, Jan 02, 2018 at 09:50:55PM +, Dennis via Digitalmars-d wrote:
> On Tuesday, 2 January 2018 at 21:00:34 UTC, Walter Bright wrote:
> > Just sent it there, too.
>
> Thank you! I recieved it there (albeit in the spam folder). Still weird I
> didn't recieve anything on my Gmail account.
Gm
On Tue, Jan 02, 2018 at 04:00:11PM +, Atila Neves via Digitalmars-d wrote:
> On Saturday, 30 December 2017 at 01:09:59 UTC, H. S. Teoh wrote:
[...]
> > Yeah... recently I've been resorting to `dmd -unittest -main
> > module.d` on single modules for faster turnaround time, because in
> > spite o
On Tue, Jan 02, 2018 at 09:57:08AM +, Patrick Schluter via Digitalmars-d
wrote:
> On Monday, 1 January 2018 at 18:32:37 UTC, Pjotr Prins wrote:
[...]
> > I am just going to share my thoughts a little. Github, in my
> > opinion, is hype and even though I depend on it today, I am trying
> > to d
On Fri, Dec 29, 2017 at 05:52:36PM -0700, Jonathan M Davis via Digitalmars-d
wrote:
[...]
> Oh, certainly. But my point is that once it starts taking minutes to
> be able to build and run the unit tests for what you're currently
> doing, it becomes infeasible to edit-test-edit-etc. in any kind of
On Fri, Dec 29, 2017 at 03:49:07PM -0700, Jonathan M Davis via Digitalmars-d
wrote:
[...]
> It also depends on your personality. Personally, while I like builds
> being near instantaneous when dealing with unit tests, if they take a
> few seconds, it's not a big deal, but I know folks who get seri
On Sun, Dec 24, 2017 at 12:09:56PM +, Russel Winder wrote:
> On Fri, 2017-12-22 at 10:39 -0800, H. S. Teoh via Digitalmars-d wrote:
[...]
> > In the long term, I think an approach similar to tup will have to be
> > adopted. O(n) dependency scanning just doesn't cut it anym
On Thu, Dec 28, 2017 at 01:22:13PM +, Atila Neves via Digitalmars-d wrote:
> On Thursday, 28 December 2017 at 07:21:28 UTC, Walter Bright wrote:
> > On 12/27/2017 1:23 PM, Atila Neves wrote:
> > > However, my experience has been that D has fast builds from
> > > scratch, but is really really sl
On Tue, Dec 26, 2017 at 01:50:06AM +, Neia Neutuladh via Digitalmars-d
wrote:
> On Monday, 25 December 2017 at 22:48:39 UTC, H. S. Teoh wrote:
> > The exact type does not and should not need to be known by user
> > code.
>
> It's a public type reported by some of the documentation but not oth
On Tue, Dec 26, 2017 at 11:28:56AM +, Mark via Digitalmars-d wrote:
> On Monday, 25 December 2017 at 22:48:39 UTC, H. S. Teoh wrote:
> > While I agree that all template parameters ought to be documented
> > and all auto return types thoroughly described, I disagree with
> > explicit naming of a
On Sat, Dec 23, 2017 at 10:39:37AM +, Petar via Digitalmars-d wrote:
> On Thursday, 21 December 2017 at 21:10:39 UTC, H. S. Teoh wrote:
> > After pulling from vibe.d git master today, my vibe.d project doesn't
> > compile anymore. `dub build` dies with:
> >
> > /usr/src/d/vibe.d/stream/vib
On Mon, Dec 25, 2017 at 04:26:52PM +, Piotr Klos via Digitalmars-d wrote:
> On Monday, 25 December 2017 at 03:23:33 UTC, Neia Neutuladh wrote:
> > If you have a function with a return type listed as `auto`, please
> > thoroughly describe what interface the return value provides.
> >
>
> I wou
On Sat, Dec 23, 2017 at 09:04:52PM +, Laeeth Isharc via Digitalmars-d wrote:
> http://erdani.com/d/downloads.daily.png
>
> Bad data, one off spike, or something else?
D is finally catching on? :-D (So I hope. :-P)
T
--
Food and laptops don't mix.
On Fri, Dec 22, 2017 at 06:21:04PM +, Russel Winder wrote:
> On Fri, 2017-12-22 at 09:42 -0800, H. S. Teoh via Digitalmars-d wrote:
> […]
> > that are a pain to manage. Yes I know dub does it "automatically",
> > but the problem with dub is that it tries to do too
> On Friday, 15 December 2017 at 08:13:25 UTC, aberba wrote:
> > 0. Since when did you or company start using D in this area?
Unfortunately I'm presently not able to use D at my job.
[...]
> > 1. Do you use a framework? Which one?
I've used Adam Ruppe's cgi.d for a bit, but recently switched to
On Thu, Dec 21, 2017 at 10:04:29PM +, WebFreak001 via Digitalmars-d wrote:
> On Thursday, 21 December 2017 at 21:10:39 UTC, H. S. Teoh wrote:
> > After pulling from vibe.d git master today, my vibe.d project
> > doesn't compile anymore. `dub build` dies with:
> >
> > /usr/src/d/vibe.d/stre
After pulling from vibe.d git master today, my vibe.d project doesn't
compile anymore. `dub build` dies with:
/usr/src/d/vibe.d/stream/vibe/stream/memory.d(56,42): Error:
constructor vibe.utils.array.AllocAppender!(ubyte[], ubyte).AllocAppender.this
(IAllocator alloc, ubyte[] initial_buf
On Tue, Dec 19, 2017 at 01:54:05AM -0800, Walter Bright via Digitalmars-d wrote:
> "C, Python, Go, and the Generalized Greenspun Law"
>
> http://esr.ibiblio.org/?p=7804
Coming from a strong C/C++ background, it took me a good long while to
accept the GC. I had all the usual objections about lack
On Fri, Dec 15, 2017 at 08:40:17PM +, John Gabriele via Digitalmars-d wrote:
> Not sure where to mention this, but it appears that the wiki's down
> (for me at least). I can ping it, but it won't come up in my browser.
Down for me too. It comes up with a message saying they're experiencing
tec
On Wed, Dec 13, 2017 at 03:33:51PM -0500, Steven Schveighoffer via
Digitalmars-d wrote:
> On 12/13/17 2:33 PM, Jonathan M Davis wrote:
[...]
> The best way I think to have ranges work is to only modify them in
> popFront/popBack, and the ctor.
[...]
I don't see anything wrong with doing work in .
On Wed, Dec 13, 2017 at 12:33:02PM -0700, Jonathan M Davis via Digitalmars-d
wrote:
> On Wednesday, December 13, 2017 11:33:35 Steven Schveighoffer via
> Digitalmars-d wrote:
> > I don't think there's a requirement for empty not to do any work, it
> > just has to return the same value each time.
On Fri, Dec 08, 2017 at 05:34:31PM -0800, Walter Bright via Digitalmars-d wrote:
> On 12/8/2017 3:10 AM, Seb wrote:
[...]
> > https://unicode.org/emoji/charts/full-emoji-list.html
>
> Thanks for the link, I didn't know that browsers supported them yet.
>
> If you want to use them, just use the ex
On Fri, Dec 08, 2017 at 05:38:21PM -0800, Walter Bright via Digitalmars-d wrote:
> On 12/8/2017 7:53 AM, Steven Schveighoffer wrote:
> > +1000, I can't imagine why you'd want emoji in your documentation.
>
> No D-Man emoji, sigh.
We should lobby the Unicode Consortium to add it!
T
--
Never st
On Fri, Dec 08, 2017 at 05:53:37AM +0200, ketmar via Digitalmars-d wrote:
[...]
> still, why `__ctfe` was designed as variable, and not as `enum ctfe =
> ;`?
https://wiki.dlang.org/User:Quickfur/Compile-time_vs._compile-time
T
--
I think the conspiracy theorists are out to get us...
On Fri, Dec 08, 2017 at 11:03:34AM +, Paolo Invernizzi via Digitalmars-d
wrote:
> On Friday, 8 December 2017 at 02:14:09 UTC, H. S. Teoh wrote:
> > On Thu, Dec 07, 2017 at 07:20:57PM -0700, Jonathan M Davis via
> > Digitalmars-d wrote: [...]
> > > In spite of the fact that CTFE is done at comp
On Fri, Dec 08, 2017 at 02:13:28AM -0800, Walter Bright via Digitalmars-d wrote:
> On 12/8/2017 1:48 AM, Jacob Carlborg wrote:
[...]
> > * Using emoji
>
> The problem with these is where are the images stored? So no.
Unicode contains emoji blocks, which are increasingly commonly used
nowadays.
B
On Thu, Dec 07, 2017 at 07:20:57PM -0700, Jonathan M Davis via Digitalmars-d
wrote:
[...]
> In spite of the fact that CTFE is done at compile time, __ctfe is a
> runtime thing - it's just that it's runtime from the perspective of
> CTFE. So, stuff like static if or static assert doesn't work. You
On Thu, Dec 07, 2017 at 01:21:11AM +, Nicholas Wilson via Digitalmars-d
wrote:
> I'd like to add an attribute to indicate that the annotated function
> is only available at compile time so that in cases where the operation
> is invalid at runtime (strings and concatenation on a GPU for
> insta
On Wed, Dec 06, 2017 at 02:42:49PM -0500, Andrei Alexandrescu via Digitalmars-d
wrote:
> On 12/06/2017 01:14 PM, H. S. Teoh wrote:
> > This "feature" has been the source of countless Phobos and dlang.org
> > bugs, leading to time-wasting churn of changing `someword` into
> > `_someword`, just to s
On Wed, Dec 06, 2017 at 10:32:38AM -0500, Steven Schveighoffer via
Digitalmars-d wrote:
> On 12/6/17 8:24 AM, Adrian Matoga wrote:
> > On Wednesday, 6 December 2017 at 12:13:56 UTC, Walter Bright wrote:
> > > On 12/5/2017 8:11 PM, Walter Bright wrote:
> > > > (I know this has come up before, and I
On Tue, Dec 05, 2017 at 07:09:50PM +, Adam D. Ruppe via Digitalmars-d wrote:
> On Tuesday, 5 December 2017 at 19:01:48 UTC, A Guy With a Question wrote:
> > alias Items(T) = Array!Item(T);
>
> try:
>
> Array!(Item!(T))
>
> > I'm not quite sure I understand how to create a generic container
>
On Sat, Dec 02, 2017 at 02:20:10AM -0800, Walter Bright via Digitalmars-d wrote:
[...]
> My car has a bunch emoticons labeling the controls. I can't figure out
> what any of them do without reading the manual, or just pushing random
> buttons until what I want happens. One button has an icon on it
On Sat, Dec 02, 2017 at 02:35:18AM +, codephantom via Digitalmars-d wrote:
[...]
> Just the fact that you've seen that source code, is enough to have
> already 'contaminated' you with that source code's licence, and, that
> could (potentially)constitute your work as being a derivative work.
>
On Fri, Dec 01, 2017 at 03:04:44PM -0800, Walter Bright via Digitalmars-d wrote:
> On 11/30/2017 9:23 AM, Kagamin wrote:
> > On Tuesday, 28 November 2017 at 03:37:26 UTC, rikki cattermole wrote:
> > > Be aware Microsoft is alone in thinking that UTF-16 was awesome.
> > > Everybody else standardized
On Fri, Dec 01, 2017 at 08:10:03PM +, Ola Fosheim Grøstad via Digitalmars-d
wrote:
> On Friday, 1 December 2017 at 19:43:53 UTC, H. S. Teoh wrote:
> > There's a link to the OptiML spec that, thankfully, makes it clear that
> > this is something primarily focused on machine learning and certain
On Fri, Dec 01, 2017 at 02:33:29PM -0500, Andrei Alexandrescu via Digitalmars-d
wrote:
> http://ascr-discovery.science.doe.gov/2017/11/language-barrier/
[...]
The article keeps talking about how generative programming is supposedly
the future, yet it's rather scant on descriptions of what generat
301 - 400 of 2284 matches
Mail list logo