Re: GitHub could be acquired by Microsoft

2018-06-03 Thread Anton Fediushin via Digitalmars-d-announce
On Monday, 4 June 2018 at 04:26:25 UTC, Dmitry Olshansky wrote: On Monday, 4 June 2018 at 03:51:15 UTC, Anton Fediushin wrote: This is still just a rumour, we'll know the truth on Monday (which is today). Some articles about the topic:

Re: DIP Draft Review News

2018-06-03 Thread rikki cattermole via Digitalmars-d-announce
On 04/06/2018 5:01 PM, Mike Parker wrote: Named arguments lite I'm concerned about this DIP (keep in mind I wrote a referenced WIP DIP). 1. Reordering of parameters that match (with overloads) ```D int add(int a, int b); int add(int b, int a) { ... } ``` This part of the DIP needs quite a

Re: New programming paradigm

2018-06-03 Thread DigitalDesigns via Digitalmars-d-learn
On Sunday, 3 June 2018 at 16:36:52 UTC, Simen Kjærås wrote: On Sunday, 3 June 2018 at 14:57:37 UTC, DigitalDesigns wrote: On Sunday, 3 June 2018 at 09:52:01 UTC, Malte wrote: You might want to have a look at https://wiki.dlang.org/Dynamic_typing This sounds very similar to what you are doing.

DIP Draft Review News

2018-06-03 Thread Mike Parker via Digitalmars-d-announce
In the near future, I'll be prepping Mike Franklin's DIP, "Deprecation and removal of implicit integer and character literal conversion to bool" for community review. We need some more eyes on it for Draft Review first. For those of you whore are interested:

Re: GitHub could be acquired by Microsoft

2018-06-03 Thread Cym13 via Digitalmars-d-announce
On Monday, 4 June 2018 at 03:57:37 UTC, Suliman wrote: Git was never my favorite VCS. So I hope that this step will open door for project like pijul.org github.com is only site, not religious. So if it will be closed people will move/create to its analogs. Git has nothing to do with github,

Re: GitHub could be acquired by Microsoft

2018-06-03 Thread Jonathan M Davis via Digitalmars-d-announce
On Monday, June 04, 2018 03:51:15 Anton Fediushin via Digitalmars-d-announce wrote: > This is still just a rumour, we'll know the truth on Monday > (which is today). > > Some articles about the topic: > > https://fossbytes.com/microsoft-github-aquisition-report/ >

Re: GitHub could be acquired by Microsoft

2018-06-03 Thread Joakim via Digitalmars-d-announce
On Monday, 4 June 2018 at 03:51:15 UTC, Anton Fediushin wrote: This is still just a rumour, we'll know the truth on Monday (which is today). Some articles about the topic: https://fossbytes.com/microsoft-github-aquisition-report/

[Issue 18941] New: Memory corruption when using a mixin template

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18941 Issue ID: 18941 Summary: Memory corruption when using a mixin template Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: critical

Re: GitHub could be acquired by Microsoft

2018-06-03 Thread Dmitry Olshansky via Digitalmars-d-announce
On Monday, 4 June 2018 at 03:51:15 UTC, Anton Fediushin wrote: This is still just a rumour, we'll know the truth on Monday (which is today). Some articles about the topic: https://fossbytes.com/microsoft-github-aquisition-report/

Re: GitHub could be acquired by Microsoft

2018-06-03 Thread Suliman via Digitalmars-d-announce
Git was never my favorite VCS. So I hope that this step will open door for project like pijul.org github.com is only site, not religious. So if it will be closed people will move/create to its analogs.

GitHub could be acquired by Microsoft

2018-06-03 Thread Anton Fediushin via Digitalmars-d-announce
This is still just a rumour, we'll know the truth on Monday (which is today). Some articles about the topic: https://fossbytes.com/microsoft-github-aquisition-report/ https://www.theverge.com/2018/6/3/17422752/microsoft-github-acquisition-rumors What's your opinion about that? Will you

Re: Confusion/trying to understand CTFE keywords

2018-06-03 Thread Jonathan M Davis via Digitalmars-d-learn
On Sunday, June 03, 2018 21:32:06 gdelazzari via Digitalmars-d-learn wrote: > Hello everyone, I'm new here on the forum but I've been exploring > D for quite a while. I'm not an expert programmer by any means, > so this one may be a really silly question and, in that case, > please forgive me. > >

[Issue 18940] [std.net.curl]Can't run examples on page. cannot implicitly convert expression ... `char[]` to `string`

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18940 Seb changed: What|Removed |Added CC||greensunn...@gmail.com --- Comment #1 from Seb ---

Re: Pyd updates

2018-06-03 Thread Norm via Digitalmars-d
On Monday, 4 June 2018 at 01:17:31 UTC, Norm wrote: On Monday, 4 June 2018 at 00:53:26 UTC, ROB wrote: On Wednesday, 12 July 2006 at 23:35:55 UTC, Kirk McDonald wrote: [...] has there been any updates since July 2006 there does not seem to be any new msg's since unless you have forked this

Re: Pyd updates

2018-06-03 Thread Norm via Digitalmars-d
On Monday, 4 June 2018 at 00:53:26 UTC, ROB wrote: On Wednesday, 12 July 2006 at 23:35:55 UTC, Kirk McDonald wrote: [...] has there been any updates since July 2006 there does not seem to be any new msg's since unless you have forked this forum to a new location. if you have please provide

Re: Pyd updates

2018-06-03 Thread ROB via Digitalmars-d
On Wednesday, 12 July 2006 at 23:35:55 UTC, Kirk McDonald wrote: If anyone's interested, I just did some fairly major refactoring of how Pyd wraps functions. I've essentially written my own tuple/metaprogramming library. (Well, at least a limited one.) I'm not sure if the new code is any

[Issue 18940] New: [std.net.curl]Can't run examples on page. cannot implicitly convert expression ... `char[]` to `string`

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18940 Issue ID: 18940 Summary: [std.net.curl]Can't run examples on page. cannot implicitly convert expression ... `char[]` to `string` Product: D Version: D2 Hardware: x86_64

Re: Confusion/trying to understand CTFE keywords

2018-06-03 Thread Dave Jones via Digitalmars-d-learn
On Sunday, 3 June 2018 at 21:32:06 UTC, gdelazzari wrote: Note that this is not an attack to the language or anything (I actually really love it), I'm just trying to understand the reasoning behind this choice. Because they have a thing about not adding new keywords, apparently it's more

Re: Confusion/trying to understand CTFE keywords

2018-06-03 Thread Computermatronic via Digitalmars-d-learn
On Sunday, 3 June 2018 at 21:32:06 UTC, gdelazzari wrote: I'm trying to understand why keywords such as "static" or "enum" are used to denote compile time "things". What I mean is that those keywords are also used for other purposes, so I find it a bit confusing. Couldn't a keyword like "ctfe"

[Issue 18870] Link failure only with -allinst for code in isExpression

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18870 --- Comment #2 from Simon Arneaud --- Because the isExpression code isn't being used at runtime, I've been working around the problem with hacks like this. (Not pretty, but at least it stops the bug from being a blocker.) pragma(mangle,

[Issue 18884] getSymbolsByUDA fails on AliasSeq members

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18884 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18884] getSymbolsByUDA fails on AliasSeq members

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18884 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/8db8debe32576b3e0207e3b7c7ad7fd473d874a9 Fix issue 18884 - getSymbolsByUDA fails on AliasSeq

[Issue 18904] core.internal.string has issues with radix

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18904 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18904] core.internal.string has issues with radix

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18904 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/a10500040709b6a00738ce04fead451ec698a27e Fix issue 18904 - remove possibility of infinite

[Issue 18822] [REG 2.080.0] Compiling byGrapheme Fails

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18822 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18822] [REG 2.080.0] Compiling byGrapheme Fails

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18822 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/707c50b90c0799aa642bf530c8b35fe237ab5052 Fix Issue 18822 - Compiling byGrapheme Fails

Re: dub subpckages and how to depend on them internally

2018-06-03 Thread aliak via Digitalmars-d
On Sunday, 3 June 2018 at 15:23:52 UTC, Jesse Phillips wrote: On Sunday, 3 June 2018 at 12:08:44 UTC, aliak wrote: The exact error for that setup is: source/app.d(4,9): Error: module `liba` is in file 'lib/liba.d' which cannot be read import path[0] = source/ import path[1] =

Re: How I Came To Write D is #1 on Hacker News!

2018-06-03 Thread Walter Bright via Digitalmars-d-announce
On 6/3/2018 3:03 PM, Huuskes wrote: I meant more in the AMA-ready-to-answer any questions sense, haha. You don't see that often where the creator of pops up in threads. It's nice to see, partially how I ended up here! ^^ Back in the Symantec days, I would regularly do tech support myself on

Re: How I Came To Write D is #1 on Hacker News!

2018-06-03 Thread Walter Bright via Digitalmars-d-announce
On 6/3/2018 1:48 PM, Huuskes wrote: On Sunday, 3 June 2018 at 20:37:14 UTC, Walter Bright wrote: https://news.ycombinator.com You always seem so on top of this :) On HN they seem more positive towards D than on Reddit. I noticed it 6 hours after it was posted.

Confusion/trying to understand CTFE keywords

2018-06-03 Thread gdelazzari via Digitalmars-d-learn
Hello everyone, I'm new here on the forum but I've been exploring D for quite a while. I'm not an expert programmer by any means, so this one may be a really silly question and, in that case, please forgive me. With the premise that I've still not looked a lot into "complex" compile time

Re: How I Came To Write D is #1 on Hacker News!

2018-06-03 Thread Huuskes via Digitalmars-d-announce
On Sunday, 3 June 2018 at 20:37:14 UTC, Walter Bright wrote: https://news.ycombinator.com You always seem so on top of this :) On HN they seem more positive towards D than on Reddit.

How I Came To Write D is #1 on Hacker News!

2018-06-03 Thread Walter Bright via Digitalmars-d-announce
https://news.ycombinator.com

Re: D on top of Hacker News!

2018-06-03 Thread JakubJ via Digitalmars-d
On Sunday, 3 June 2018 at 16:58:23 UTC, Sameer Pradhan wrote: It was nice to read Walter's article from 2014... Wonder who posted it, and how long it will stay in the visibility range, but it was a nice feeling to see it at the top. -- Sameer Hi Sameer, I just discovered it today and

[Issue 17968] [REG 2.073] object initializer omitted when it should be included.

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17968 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18819] DMD compilation crash

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18819 --- Comment #6 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/b8f3b7a9f1e33d3c130a04e1459ca601cad7127a Fix Issue 18871 & 18819 - DMD illegal hardware instruction

[Issue 17819] static foreach segfaults on __traits(allMembers)

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17819 --- Comment #9 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/ebbd8e92b61bcf05df443b62deeff0786581067c fix Issue 17819 - static foreach segfaults on

[Issue 18902] -lib crashes on static libraries in the command line

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18902 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 17819] static foreach segfaults on __traits(allMembers)

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17819 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18211] Access violation when generating JSON on static foreach

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18211 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18819] DMD compilation crash

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18819 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18902] -lib crashes on static libraries in the command line

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18902 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/cf5256b4eac7fd663aa1a8dd31f1e1b87389e0f0 Fix issue 18902 - -lib crashes on static libraries in the

[Issue 18115] [REG2.078-b1] case where && is not shortcut anymore in CTFE

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18115 --- Comment #19 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/30d5c4b3028d827c285a8bec682ed1acc69e1a57 fix Issue 18115 - [REG2.078-b1] case where && is not

[Issue 18871] DMD "illegal hardware instruction" crash

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18871 --- Comment #8 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/b8f3b7a9f1e33d3c130a04e1459ca601cad7127a Fix Issue 18871 & 18819 - DMD illegal hardware instruction

[Issue 17968] [REG 2.073] object initializer omitted when it should be included.

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17968 --- Comment #6 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/6fefecf21994bab869e2f281a4d2815a6884117a Fix issue 17968 - When generating xtoHash function for a

[Issue 18211] Access violation when generating JSON on static foreach

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18211 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/7736eb59fe766d3c59720f070bf86cfe4bf7f584 fix Issue 18211 - Access violation when generating JSON on

[Issue 18939] New: Wrong order slice lengths in array length mismatch error message

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18939 Issue ID: 18939 Summary: Wrong order slice lengths in array length mismatch error message Product: D Version: D2 Hardware: All OS: All Status: NEW

Re: how to define infix function

2018-06-03 Thread Meta via Digitalmars-d-learn
On Saturday, 2 June 2018 at 23:17:48 UTC, Simen Kjærås wrote: On Saturday, 2 June 2018 at 22:09:49 UTC, Neia Neutuladh wrote: On Saturday, 2 June 2018 at 21:44:39 UTC, greatsam4sure wrote: Sorry for the typo is it possible to define infix function in D 3.min(5)// 3: where min is a function,

Re: D on top of Hacker News!

2018-06-03 Thread I love Ice Cream via Digitalmars-d
Is D really a top 20 language? I don't remember seeing it anywhere close to the top 20. https://www.tiobe.com/tiobe-index/ has them in 31 Top comment is kind of depressing.

D on top of Hacker News!

2018-06-03 Thread Sameer Pradhan via Digitalmars-d
It was nice to read Walter's article from 2014... Wonder who posted it, and how long it will stay in the visibility range, but it was a nice feeling to see it at the top. -- Sameer

Re: New programming paradigm

2018-06-03 Thread Simen Kjærås via Digitalmars-d-learn
On Sunday, 3 June 2018 at 14:57:37 UTC, DigitalDesigns wrote: On Sunday, 3 June 2018 at 09:52:01 UTC, Malte wrote: You might want to have a look at https://wiki.dlang.org/Dynamic_typing This sounds very similar to what you are doing. I never really looked into it, because I prefer to know

Re: Simple tutorials for complex subjects

2018-06-03 Thread rikki cattermole via Digitalmars-d
On 04/06/2018 4:25 AM, Ethan wrote: Step seven: In your receive function that takes a byte stream, put in a switch statement that looks a little bit like the following: switch( msg.GetID ) {     static foreach( Message; ServerMessages )     {     case ObjectIDOf!Message:     Message

Simple tutorials for complex subjects

2018-06-03 Thread Ethan via Digitalmars-d
Hey dlang community. I've already been thinking in advance for DConf next year. If things keep going well for me, I may not have anything I can publicly talk about. So I've been thinking about what kind of capacity I can contribute to the conference. The easy way would be to raise my hand

Re: Line endings when redirecting output to file on windows.

2018-06-03 Thread Bastiaan Veelo via Digitalmars-d-learn
On Sunday, 3 June 2018 at 15:42:48 UTC, rikki cattermole wrote: On 04/06/2018 3:24 AM, Bastiaan Veelo wrote: I need some help understanding where extra '\r' come from when output is redirected to file on Windows. First, this works correctly:  rdmd --eval="(\"hello\" ~

Re: pipeProcess failing

2018-06-03 Thread Paul Backus via Digitalmars-d-learn
On Sunday, 3 June 2018 at 15:07:07 UTC, DigitalDesigns wrote: I'm calling pipe process using pipeProcess([AliasSeq!args], Redirect.stdout | Redirect.stdin); where args is a tuple. Everything works when I pass each argument individually. If I combine any args using a space it fails or if I

Re: New programming paradigm

2018-06-03 Thread Paul Backus via Digitalmars-d-learn
On Monday, 4 September 2017 at 03:26:23 UTC, EntangledQuanta wrote: Take a variant type. It contains the "type" and the data. To simplify, we will treat look at it like (pseudo-code, use your brain) enum Type { int, float } foo(void* Data, Type type); The normal way to deal with this is a

Re: Line endings when redirecting output to file on windows.

2018-06-03 Thread rikki cattermole via Digitalmars-d-learn
On 04/06/2018 3:24 AM, Bastiaan Veelo wrote: I need some help understanding where extra '\r' come from when output is redirected to file on Windows. First, this works correctly:  rdmd --eval="(\"hello\" ~ newline).toFile(\"out.txt\");" As expected, out.txt contains "hello\r\n". I would

[Issue 18938] Dmd segfault when compiling this dub package in test release

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18938 Roman changed: What|Removed |Added Severity|critical|regression --

[Issue 18938] Dmd segfault when compiling this dub package in test release

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18938 --- Comment #2 from Roman --- Can't reproduce on 2.079.0. So the issue can be marked as regression. --

Line endings when redirecting output to file on windows.

2018-06-03 Thread Bastiaan Veelo via Digitalmars-d-learn
I need some help understanding where extra '\r' come from when output is redirected to file on Windows. First, this works correctly: rdmd --eval="(\"hello\" ~ newline).toFile(\"out.txt\");" As expected, out.txt contains "hello\r\n". I would expect the following to do the same, but it doesn't:

Re: dub subpckages and how to depend on them internally

2018-06-03 Thread Jesse Phillips via Digitalmars-d
On Sunday, 3 June 2018 at 12:08:44 UTC, aliak wrote: The exact error for that setup is: source/app.d(4,9): Error: module `liba` is in file 'lib/liba.d' which cannot be read import path[0] = source/ import path[1] = ../lib/liba/source/ import path[2] = ../lib/libb/source/ import path[3] =

[Issue 18938] Dmd segfault when compiling this dub package in test release

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18938 --- Comment #1 from Roman --- Created attachment 1700 --> https://issues.dlang.org/attachment.cgi?id=1700=edit Dustmite result I added the reduced result produced by dustmite that can be run without dub: dmd -c icontheme-test-library.o -release

pipeProcess failing

2018-06-03 Thread DigitalDesigns via Digitalmars-d-learn
I'm calling pipe process using pipeProcess([AliasSeq!args], Redirect.stdout | Redirect.stdin); where args is a tuple. Everything works when I pass each argument individually. If I combine any args using a space it fails or if I pass an argument with "". So I guess something like this

Re: New programming paradigm

2018-06-03 Thread DigitalDesigns via Digitalmars-d-learn
On Sunday, 3 June 2018 at 09:52:01 UTC, Malte wrote: On Saturday, 2 June 2018 at 23:12:46 UTC, DigitalDesigns wrote: On Thursday, 7 September 2017 at 22:53:31 UTC, Biotronic wrote: [...] I use something similar where I use structs behaving like enums. Each field in the struct is an "enum

Re: LDC 1.10.0 beta

2018-06-03 Thread kinke via Digitalmars-d-announce
LDC 1.10.0-beta2 is out now, based on recent DMD stable and with these main changes since beta1: * Cross-compilation-friendly LDC config file extensions. * Fix std.math compile error regressions for ARM, AArch64, MIPS, etc. * Fix LDC compile errors on 64-bit macOS with DMD >= 2.079. * Fix

[Issue 18874] Add thatneedle.com to organizations using D

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18874 --- Comment #4 from m...@thatneedle.com --- Thank you. --

[Issue 18937] [REG 2.080.0] std.experimental.allocator: compiling `make` needs an unreasonable amount of memory for structs that contain static arrays

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18937 --- Comment #1 from ag0aep6g --- (In reply to ag0aep6g from comment #0) > I'm looking into fixing this there. Pull request: https://github.com/dlang/phobos/pull/6537 --

Re: Installation on Ubuntu 18.04 is broken

2018-06-03 Thread bachmeier via Digitalmars-d
On Saturday, 2 June 2018 at 00:30:09 UTC, Norm wrote: Get a new distro. Which other major language doesn't work on Ubuntu?

Re: Installation on Ubuntu 18.04 is broken

2018-06-03 Thread bachmeier via Digitalmars-d
On Saturday, 2 June 2018 at 00:11:58 UTC, Seb wrote: The bug you referenced has long been fixed and is part of 2.080.0 I guess my computer was trolling me then, because it didn't work. Please do report a bug with instructions on how to reproduce if you are still experiencing problems. As I

[Issue 18938] New: Dmd segfault when compiling this dub package in test release

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18938 Issue ID: 18938 Summary: Dmd segfault when compiling this dub package in test release Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW

[Issue 18937] New: [REG 2.080.0] std.experimental.allocator: compiling `make` needs an unreasonable amount of memory for structs that contain static arrays

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18937 Issue ID: 18937 Summary: [REG 2.080.0] std.experimental.allocator: compiling `make` needs an unreasonable amount of memory for structs that contain static arrays Product: D

[Issue 18932] core.internal.hash.hashOf(val, seed) ignores `seed` when val is a raw pointer

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18932 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18932] core.internal.hash.hashOf(val, seed) ignores `seed` when val is a raw pointer

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18932 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/a66bf90b88dfd5587d6f020d5bf4225f2784190a Fix Issue 18932 - core.internal.hash.hashOf(val,

Re: dub subpckages and how to depend on them internally

2018-06-03 Thread aliak via Digitalmars-d
On Thursday, 31 May 2018 at 20:01:43 UTC, Jesse Phillips wrote: On Thursday, 31 May 2018 at 17:56:57 UTC, aliak wrote: root |-- sub1/source |-- sub2/source Do that. You can have a top level source folder, but this is going to be code separate from your subpackage. The subpackage can

[Issue 18869] Add Jumia Food to organizations using D

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18869 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/71bb6258fbfd409ae0ef6ce3198c8fcce282b973 Fix Issue 18869 - Add Jumia Food to organizations

[Issue 18869] Add Jumia Food to organizations using D

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18869 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18874] Add thatneedle.com to organizations using D

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18874 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/a80fb11e47f26291e49bdd48e5189fafaeee2266 Fix Issue 18874 - Add thatneedle.com to

[Issue 18874] Add thatneedle.com to organizations using D

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18874 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: stride in slices

2018-06-03 Thread DigitalDesigns via Digitalmars-d
On Sunday, 3 June 2018 at 07:30:56 UTC, Meta wrote: On Saturday, 2 June 2018 at 18:49:51 UTC, DigitalDesigns wrote: Proposal: [a..b;m] m is the stride, if ; is not a good char then |, :, !, or # could be good chars. This is exactly what std.range.stride does. The syntax [a..b;m] directly

Re: how to define infix function

2018-06-03 Thread greatsam4sure via Digitalmars-d-learn
On Saturday, 2 June 2018 at 22:09:49 UTC, Neia Neutuladh wrote: On Saturday, 2 June 2018 at 21:44:39 UTC, greatsam4sure wrote: [...] This is a horrible abuse of D's operator overloading discovered by FeepingCreature in the distant past. You have to delimit your custom infix operator with

[Issue 18924] Use addition rather than XOR for order-independent hash combination

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18924 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18924] Use addition rather than XOR for order-independent hash combination

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18924 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/dd8bbc7aab50a77bbd49db1c4f90aaa72a4c155c Fix Issue 18924 - Use addition rather than XOR for

Re: New programming paradigm

2018-06-03 Thread Malte via Digitalmars-d-learn
On Saturday, 2 June 2018 at 23:12:46 UTC, DigitalDesigns wrote: On Thursday, 7 September 2017 at 22:53:31 UTC, Biotronic wrote: [...] I use something similar where I use structs behaving like enums. Each field in the struct is an "enum value" which an attribute, this is because I have not

[Issue 18874] Add thatneedle.com to organizations using D

2018-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18874 --- Comment #2 from m...@thatneedle.com --- Hey, Looks good. Thanks for looking into this. --

Re: stride in slices

2018-06-03 Thread Seb via Digitalmars-d
On Sunday, 3 June 2018 at 07:30:56 UTC, Meta wrote: On Saturday, 2 June 2018 at 18:49:51 UTC, DigitalDesigns wrote: Proposal: [a..b;m] m is the stride, if ; is not a good char then |, :, !, or # could be good chars. This is exactly what std.range.stride does. The syntax [a..b;m] directly

Re: stride in slices

2018-06-03 Thread Meta via Digitalmars-d
On Saturday, 2 June 2018 at 18:49:51 UTC, DigitalDesigns wrote: Proposal: [a..b;m] m is the stride, if ; is not a good char then |, :, !, or # could be good chars. This is exactly what std.range.stride does. The syntax [a..b;m] directly translates to [a..b].stride(m).

Re: Convert a huge SQL file to CSV

2018-06-03 Thread biocyberman via Digitalmars-d-learn
On Friday, 1 June 2018 at 10:15:11 UTC, Martin Tschierschke wrote: On Friday, 1 June 2018 at 09:49:23 UTC, biocyberman wrote: I need to convert a compressed 17GB SQL dump to CSV. A workable solution is to create a temporary mysql database, import the dump, query by python, and export. But i