On Sunday, 7 May 2017 at 18:11:47 UTC, Patrick Schluter wrote:
It looks like the good people of Sociomantic have already
posted videos of the Dconf2017 on youtube.
https://www.youtube.com/channel/UC54uUlXuGhigMsdaNtP6THQ
Enjoy.
Wow. That was quick!
Hi,
I'm having a bit of an issue here and the compiler is not really
explicit.
Here's the code:
import std.typecons;
struct A { int i; }
void main()
{
enum t = tuple(A());
f!(t[0].i); //Error: Tuple(A(0)) must be an array or pointer
type, not Tuple!(A)
f!(([0]).i) //Ok
enum v
https://issues.dlang.org/show_bug.cgi?id=16232
--- Comment #4 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/7d7ce4a5ebaca7155e754b1bf7b45366e87d0194
Logger sharedLog comment on thread-safety
fix Issue
On Sunday, 7 May 2017 at 21:36:30 UTC, Mike Parker wrote:
On Sunday, 7 May 2017 at 18:11:47 UTC, Patrick Schluter wrote:
It looks like the good people of Sociomantic have already
posted videos of the Dconf2017 on youtube.
https://www.youtube.com/channel/UC54uUlXuGhigMsdaNtP6THQ
Enjoy.
And
https://issues.dlang.org/show_bug.cgi?id=7016
--- Comment #29 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/29273f261c94e1bbe1042ec58a362d70cb344188
remove .deps file generation
- for development, people
On Sunday, 7 May 2017 at 23:20:26 UTC, Adam D. Ruppe wrote:
I would just write it `else static if` all on one line and not
indent further. Then it barely looks any different anyway.
I just realized that I accidentally posted this while editing.
I agree with you on that this is barely
On Sunday, 7 May 2017 at 22:34:14 UTC, bastien penavayre wrote:
Why is the code following "return true" evaluated ?
It isn't evaluated, it is just compiled. The compile happens
before it is run, so it doesn't really know if it is reachable
yet.
ClLinearExpression opBinary(string op)
Hi something's been bugging me for a while,
for the following code:
{
auto t = tuple(0,0);
return true;
auto v = t[5];
return false;
}
Why is the code following "return true" evaluated ? I know that
it's the same
with the C++ but I was wondering why ?
My guess is for goto/labels
https://issues.dlang.org/show_bug.cgi?id=16856
--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/druntime
https://github.com/dlang/druntime/commit/c56e8e0d8d599b1742fe85210f07adacf07e5e2a
Fix issue 16856: Apply correct alignment on the
https://issues.dlang.org/show_bug.cgi?id=16856
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
On Saturday, 6 May 2017 at 23:53:45 UTC, Ethan Watson wrote:
I was speaking to Atila earlier about the things we like about
DConf. Sitting around talking to a bunch of computer scientists
is fantastic, and not something people generally get to do in
their chosen careers as a programmer.
EU
https://issues.dlang.org/show_bug.cgi?id=17382
ag0ae...@gmail.com changed:
What|Removed |Added
Keywords||ice
CC|
https://issues.dlang.org/show_bug.cgi?id=17382
Issue ID: 17382
Summary: void main(){}pragma(msg,main()); crashes DMD
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
On 5/7/17 7:03 PM, Stanislav Blinov wrote:
On Sunday, 7 May 2017 at 16:57:58 UTC, Andrei Alexandrescu wrote:
Zoom in on the screen for a nice surprise! http://imgur.com/a/qjI4l --
Andrei
I see only unsurprising Jpeg artifacts and not much more :)
It's too low resolution to make anything out.
https://issues.dlang.org/show_bug.cgi?id=16265
--- Comment #4 from Steven Schveighoffer ---
Trial PR: https://github.com/dlang/dmd/pull/6753
--
On Saturday, 6 May 2017 at 23:53:45 UTC, Ethan Watson wrote:
This is quite feasible in Europe, since everything is quite
close together. I'm keen. Atila is keen. Anyone else think this
is a great idea?
I'd definitely be interested as well. —David
On Saturday, 6 May 2017 at 23:53:45 UTC, Ethan Watson wrote:
I was speaking to Atila earlier about the things we like about
DConf. Sitting around talking to a bunch of computer scientists
is fantastic, and not something people generally get to do in
their chosen careers as a programmer.
EU
On Sunday, 7 May 2017 at 13:16:16 UTC, bachmeier wrote:
On Sunday, 7 May 2017 at 10:33:25 UTC, k-five wrote:
Although I found D for being more better, nicer,and fun than
C++ is, but there is a few questions on Stack-Over-Flow,
videos on Youtube, and some other forums in my country. So,
why
On Sunday, 7 May 2017 at 12:29:20 UTC, Stanislav Blinov wrote:
On Sunday, 7 May 2017 at 10:33:25 UTC, k-five wrote:
[...]
Because everyone is asking this question instead of actually
doing something about it :)
To be fair, D has a good amount of usage even today, it's just
not being
https://issues.dlang.org/show_bug.cgi?id=17216
Andrew changed:
What|Removed |Added
Component|dmd |tools
--
It looks like the good people of Sociomantic have already posted
videos of the Dconf2017 on youtube.
https://www.youtube.com/channel/UC54uUlXuGhigMsdaNtP6THQ
Enjoy.
https://issues.dlang.org/show_bug.cgi?id=17379
--- Comment #4 from Rainer Schuetze ---
> I am not sure what you mean by prepend the function name. The suggestion
> does not prepend the function name. Could you elaborate?
I meant that the demangler has to prepend the
https://issues.dlang.org/show_bug.cgi?id=17379
--- Comment #3 from Georgi D ---
(In reply to Rainer Schuetze from comment #2)
> Is this meant as a special rule "if the symbol has only a single identifier,
> prepend the function name and signature"? This could work but only
This looks very nice, but I'm having trouble getting it to work
on Windows with DMD.
What static linker are you using? DmdDCompiler is defined to need
one,
but the code in detect_static_linker expects the linker to
support the "--version" command-line parameter (or "/?" if the
linker is
On Sunday, 7 May 2017 at 16:57:58 UTC, Andrei Alexandrescu wrote:
Zoom in on the screen for a nice surprise!
http://imgur.com/a/qjI4l -- Andrei
I see only unsurprising Jpeg artifacts and not much more :)
It's too low resolution to make anything out.
Zoom in on the screen for a nice surprise! http://imgur.com/a/qjI4l --
Andrei
On Sunday, 7 May 2017 at 16:37:02 UTC, Ethan Watson wrote:
On Sunday, 7 May 2017 at 11:32:53 UTC, Adam Wilson wrote:
On 5/7/17 12:57, Seb wrote:
+1 - maybe its worth considering to make it for two days
(=one weekend)
That can work. It would be two or three days vacation
depending on flight
On Sunday, 7 May 2017 at 15:59:25 UTC, JV wrote:
On Sunday, 7 May 2017 at 15:16:58 UTC, k-five wrote:
On Sunday, 7 May 2017 at 13:57:47 UTC, JV wrote:
I'm kinda getting it but how do i write the stored user
input(string) varaible into a .txt??im getting confused since D
has so many read and
On Sunday, 7 May 2017 at 11:32:53 UTC, Adam Wilson wrote:
On 5/7/17 12:57, Seb wrote:
+1 - maybe its worth considering to make it for two days (=one
weekend)
That can work. It would be two or three days vacation depending
on flight schedules.
...
Not to mention a cool way to see new cities
On Sunday, 7 May 2017 at 15:16:58 UTC, k-five wrote:
On Sunday, 7 May 2017 at 13:57:47 UTC, JV wrote:
Hi guys
I'd like to know how to get an input from the user to be
stored in a .txt file using import std.file and is it possible
to directly write in a .txt file without using a variable to
On Sunday, April 2, 2017 8:40:15 PM CEST Brad Roberts via Digitalmars-d
wrote:
> I grabbed the official 10.3-CURRENT vm image from the freebsd website
> and gave it a whirl. For the 64 bit test run, the only failure was
> std.datetime unit tests failure. Apparently LocalTime().stdName is null
>
On Sunday, 7 May 2017 at 13:57:47 UTC, JV wrote:
Hi guys
I'd like to know how to get an input from the user to be stored
in a .txt file using import std.file and is it possible to
directly write in a .txt file without using a variable to store
the user input?
Thanks for the answer in
I'm reworking my code to use UDAs, and I'm running into a wall of
text of deprecation warnings when compiling.
import std.traits;
private:
struct SomeUDA {}
@SomeUDA
void foo() {}
@SomeUDA
void bar() {}
@SomeUDA
void etc() {}
public:
void main()
{
mixin("static import thisModule = "
I've just commented on the following thread on the 'internals' newsgroup:
http://forum.dlang.org/thread/tiiuucwivajgsnoos...@forum.dlang.org
I think this should be improved to display code that is being mixed-in.
Ali
On Sunday, 7 May 2017 at 13:57:47 UTC, JV wrote:
Hi guys
I'd like to know how to get an input from the user to be stored
in a .txt file using import std.file and is it possible to
directly write in a .txt file without using a variable to store
the user input?
Thanks for the answer in
https://issues.dlang.org/show_bug.cgi?id=17379
Rainer Schuetze changed:
What|Removed |Added
CC||r.sagita...@gmx.de
https://issues.dlang.org/show_bug.cgi?id=17216
--- Comment #6 from Andrew ---
Second proposed fix (removing the use of .tmp altogether) is at
https://github.com/cqexbesd/tools/tree/dlang_17216_v2. I don't have a copy of
Windows so it needs testing - but it works under OSX.
--
https://issues.dlang.org/show_bug.cgi?id=17216
--- Comment #5 from Andrew ---
I now have a fix at https://github.com/cqexbesd/tools/tree/dlang_17216.
It's not great - it just makes the windows work around only happen under
Windows.
Given
On Saturday, 6 May 2017 at 23:53:45 UTC, Ethan Watson wrote:
... Rather than a city meet up monthly, what about a
continental meet up quarterly?
... Anyone else think this is a great idea?
+1 !
-Johan
Hi :)
- OS: Winodws 10 Pro KN
- DMD: 2.073.2(ofcourse, i tried dmd of 2.074.x version. but
same result)
When i build some application with dub, i got this error:
--
dub build
xx ~master: building configuration
Hi guys
I'd like to know how to get an input from the user to be stored
in a .txt file using import std.file and is it possible to
directly write in a .txt file without using a variable to store
the user input?
Thanks for the answer in advance my mind is kinda jumbled about
this since im
On Sunday, 7 May 2017 at 11:29:30 UTC, k-five wrote:
It should be possible!
rdmd --eval=, without accepting argument is useless.
FWIW, you can still pass input through stdin.
https://issues.dlang.org/show_bug.cgi?id=17216
--- Comment #4 from Andrew ---
OK .tmp is added at
https://github.com/dlang/tools/commit/085dc5d000b828be9a3c2dc79548352f63b52db4
to work around a Windows problem so removing it without an alternative wouldn't
be good.
--
https://issues.dlang.org/show_bug.cgi?id=17216
Andrew changed:
What|Removed |Added
CC||and...@ugh.net.au
--- Comment
https://issues.dlang.org/show_bug.cgi?id=16856
Nemanja Boric <4bur...@gmail.com> changed:
What|Removed |Added
CC||4bur...@gmail.com
---
On Sunday, 7 May 2017 at 10:33:25 UTC, k-five wrote:
Although I found D for being more better, nicer,and fun than
C++ is, but there is a few questions on Stack-Over-Flow, videos
on Youtube, and some other forums in my country. So, why D is
not popular?
If by popular you mean C++ or Java
https://issues.dlang.org/show_bug.cgi?id=6004
Ulrich Küttler changed:
What|Removed |Added
CC||kuett...@gmail.com
---
On Sunday, 7 May 2017 at 11:29:08 UTC, Ecstatic Coder wrote:
I have released five of my internal tools on Github under the
GNU GPL, not only in the hope that they are useful to others,
but also to indirectly promote the D language, in which most of
them are implemented.
On Sunday, 7 May 2017 at 10:33:25 UTC, k-five wrote:
On Sunday, 7 May 2017 at 09:46:22 UTC, Patrick Schluter wrote:
On Saturday, 6 May 2017 at 10:15:03 UTC, k-five wrote:
If you want to learn the basis of the range concept and their
link to C++ Iterators, you should definitively read
On Sunday, 7 May 2017 at 11:46:33 UTC, Andrei Alexandrescu wrote:
On 5/7/17 1:30 PM, Stanislav Blinov wrote:
To follow this discussion up, and in light of yesterday's
Collections presentation at DConf, I though I'd go ahead and
make a basic implementation of traits-based IAllocator.
You
On 5/7/17 1:30 PM, Stanislav Blinov wrote:
To follow this discussion up, and in light of yesterday's Collections
presentation at DConf, I though I'd go ahead and make a basic
implementation of traits-based IAllocator.
You can find it here:
https://github.com/radcapricorn/alloctraits
https://issues.dlang.org/show_bug.cgi?id=17381
Issue ID: 17381
Summary: Checked format string is permissive after floating
point argument
Product: D
Version: D2
Hardware: All
OS: Linux
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=17379
--- Comment #1 from Georgi D ---
I discussed this is Andrey and Walter at D-Conf 2017 and the overall agreement
is that it makes sense to change the mangling of voldemort types this way.
For the example above the mangled name
On 5/7/17 12:57, Seb wrote:
On Sunday, 7 May 2017 at 06:58:51 UTC, Adam Wilson wrote:
On 5/7/17 07:41, Walter Bright wrote:
Dang, I wish I could participate in that!
Well, technically you could, but it involves a set of rather grueling
flights.
Depending on the day it's held I might be able
On Monday, 1 May 2017 at 13:00:27 UTC, Andrei Alexandrescu wrote:
On 05/01/2017 08:12 AM, Guillaume Piolat wrote:
On Sunday, 30 April 2017 at 21:43:26 UTC, Andrei Alexandrescu
wrote:
A pass through the root allocators (Mallocator, GCAllocator
etc)
figuring out what attributes could be
https://issues.dlang.org/show_bug.cgi?id=17380
ag0ae...@gmail.com changed:
What|Removed |Added
Keywords||ice
CC|
I have released five of my internal tools on Github under the GNU
GPL, not only in the hope that they are useful to others, but
also to indirectly promote the D language, in which most of them
are implemented.
https://github.com/senselogic
These tools are :
* Basil, a textual database
On Sunday, 7 May 2017 at 11:11:05 UTC, Vladimir Panteleev wrote:
On Sunday, 7 May 2017 at 10:49:25 UTC, k-five wrote:
After reading about rdmd and --eval, I tried this:
rdmd --eval='auto f=File("ddoc.html");foreach(line;f.byLine)
if(line.length<10) writeln(line);f.close'
and worked!
Now I
On 5/7/17 10:59 AM, Brian Schott wrote:
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
On Sunday, 7 May 2017 at 11:11:05 UTC, Vladimir Panteleev wrote:
Currently it's not possible:
https://issues.dlang.org/show_bug.cgi?id=13345
On Sunday, 7 May 2017 at 10:49:25 UTC, k-five wrote:
After reading about rdmd and --eval, I tried this:
rdmd --eval='auto f=File("ddoc.html");foreach(line;f.byLine)
if(line.length<10) writeln(line);f.close'
and worked!
Now I am wonder if there is a way to pass "ddoc.html" to this
https://issues.dlang.org/show_bug.cgi?id=17380
Issue ID: 17380
Summary: [REG 2.074.0] Compiler segfaults on undefined symbol
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity:
https://issues.dlang.org/show_bug.cgi?id=17379
Issue ID: 17379
Summary: Mangle voldemort types as if they are defined in the
outer scope to avoid exponential symbol name length
with templates
Product: D
Version: D2
On Sunday, 7 May 2017 at 06:58:51 UTC, Adam Wilson wrote:
On 5/7/17 07:41, Walter Bright wrote:
Dang, I wish I could participate in that!
Well, technically you could, but it involves a set of rather
grueling flights.
Depending on the day it's held I might be able to attend once a
year. If
After reading about rdmd and --eval, I tried this:
rdmd --eval='auto f=File("ddoc.html");foreach(line;f.byLine)
if(line.length<10) writeln(line);f.close'
and worked!
Now I am wonder if there is a way to pass "ddoc.html" to this
one-liner? that can work with --loop.
I mean:
// --loop by
On Sunday, 7 May 2017 at 09:46:22 UTC, Patrick Schluter wrote:
On Saturday, 6 May 2017 at 10:15:03 UTC, k-five wrote:
If you want to learn the basis of the range concept and their
link to C++ Iterators, you should definitively read Andrei's
article on them in the InformIT magazine. Here is
For anyone interested in iopipe, I have updated my github repository for
the iopipe[1] library. It's still not IMO ready for a dub link, as I
want to polish some more. But at least the code shown in my
presentation[2] will compile.
I also added the very incomplete and under-tested
https://issues.dlang.org/show_bug.cgi?id=5968
Ulrich Küttler changed:
What|Removed |Added
Status|NEW |RESOLVED
On Saturday, 6 May 2017 at 10:15:03 UTC, k-five wrote:
Although I am not sure but it may Range in D, has the same
concept that C++ has on iterator, like InputIterator or
OutputIterator, since I realized that the output of [ filter ]
does not have RandomAccessRange so I can not use input[ 0
https://issues.dlang.org/show_bug.cgi?id=17377
b2.t...@gmx.com changed:
What|Removed |Added
CC||b2.t...@gmx.com
--- Comment #1 from
On Saturday, 6 May 2017 at 16:44:00 UTC, Stanislav Blinov wrote:
Fantastic three days of presentations. A big Thank You to all
presenters, organizers and sponsors, and a special Thank You to
the team that made the livestream possible, so even those of us
who couldn't make it to Berlin could
https://issues.dlang.org/show_bug.cgi?id=17378
Issue ID: 17378
Summary: Allow multiple arguments for assert and static assert
Product: D
Version: D2
Hardware: All
OS: Linux
Status: NEW
Severity: enhancement
https://issues.dlang.org/show_bug.cgi?id=17377
Issue ID: 17377
Summary: Empty D program is not valgrind clean
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
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
https://issues.dlang.org/show_bug.cgi?id=17376
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=16232
--- Comment #3 from Robert Schadek ---
I will add a comment to make that clear
--
https://issues.dlang.org/show_bug.cgi?id=17376
Issue ID: 17376
Summary: modify global variable with pure method
Product: D
Version: D2
Hardware: x86
OS: All
Status: NEW
Severity: normal
Priority:
Really a message to John Colvin, but I lost his email…
Kingsley made two attempts to start a DLang London meet up, maybe third
time lucky?
It is worth noting that Phil Nash started a C++ London group a few
months back and now gets 100+ at each meeting. Clearly there is huge
interest in C++ in
On Sunday, 7 May 2017 at 06:58:51 UTC, Adam Wilson wrote:
On 5/7/17 07:41, Walter Bright wrote:
Dang, I wish I could participate in that!
Well, technically you could, but it involves a set of rather
grueling flights.
Depending on the day it's held I might be able to attend once a
year. If
On 5/7/17 07:41, Walter Bright wrote:
Dang, I wish I could participate in that!
Well, technically you could, but it involves a set of rather grueling
flights.
Depending on the day it's held I might be able to attend once a year. If
it's on the weekend, I can make a long weekend out of it.
80 matches
Mail list logo