On Thursday, 1 October 2015 at 04:08:00 UTC, bitwise wrote:
I understand, but the C++ committee seems very conservative to
me, so when it's this easy to add for(:) support by giving
ranges begin()/end() functions, it makes me doubt they will
actually change the language for it.
As of C++11, C
On Thursday, 1 October 2015 at 02:53:25 UTC, lobo wrote:
On Thursday, 1 October 2015 at 01:54:22 UTC, bitwise wrote:
On Thursday, 1 October 2015 at 01:32:17 UTC, bitwise wrote:
I don't think it would be that hard to make something this
possible:
for(int x : iota(0, 5).to(3))
printf("%d ",
On Thursday, 1 October 2015 at 01:54:22 UTC, bitwise wrote:
On Thursday, 1 October 2015 at 01:32:17 UTC, bitwise wrote:
I don't think it would be that hard to make something this
possible:
for(int x : iota(0, 5).to(3))
printf("%d ", x);
Curiosity got the best of me:
http://ideone.com/Ro
On Wednesday, 30 September 2015 at 17:51:50 UTC, Jan Johansson
wrote:
Hello all,
I'm testing D language, and the first thing I want to do is to
separate declaration from implementation. I was happy to find
support of interfaces in the D language, and set out to do a
basic test. However, this
On Thursday, 1 October 2015 at 01:32:17 UTC, bitwise wrote:
I don't think it would be that hard to make something this
possible:
for(int x : iota(0, 5).to(3))
printf("%d ", x);
Curiosity got the best of me:
http://ideone.com/RoJxLa
output doesn't show up for some reason, but it works.
On Wednesday, 30 September 2015 at 19:24:05 UTC, Jeremy DeHaan
wrote:
On Wednesday, 30 September 2015 at 17:51:50 UTC, Jan Johansson
wrote:
[...]
Like Adam said, the real difference between a .d and a .di file
is that the .di file has all the guts removed and is just the
declarations.
If
On Thursday, 1 October 2015 at 00:42:43 UTC, lobo wrote:
If ranges are accepted into ISO C++ I can't imagine it would be
long before for(auto e:range).
Special features are not necessary to do this. C++ for loop works
on anything with begin()/end() functions. Real ranges could just
be a pair
On Wednesday, 30 September 2015 at 19:17:41 UTC, Steven
Schveighoffer wrote:
On 9/30/15 2:12 PM, Jan Johansson wrote:
[...]
There is no reason to use interfaces here, you can separate
declaration from implementation without them:
test.di:
module test;
class MyTest {
void Write(string m
On Wednesday, 30 September 2015 at 22:51:24 UTC, H. S. Teoh wrote:
On Wed, Sep 30, 2015 at 10:32:16AM -0400, Andrei Alexandrescu
[...]
I watched most of the video (mainly the first half where he
goes through the C++ version of the code), and I have to
confess I couldn't help noticing just ho
On Wed, Sep 30, 2015 at 10:32:16AM -0400, Andrei Alexandrescu via Digitalmars-d
wrote:
> On 09/30/2015 09:31 AM, Steven Schveighoffer wrote:
> >On 9/29/15 9:45 PM, deadalnix wrote:
> >>https://www.youtube.com/watch?v=mFUXNMfaciE
> >>
> >>From
> >>http://wiki.dlang.org/Component_programming_with_ra
Am Tue, 29 Sep 2015 11:06:01 +
schrieb Marc Schütz :
> No, the JSON type should just store the raw unparsed token and
> implement:
>
> struct JSON {
> T to(T) if(isNumeric!T && is(typeof(T("" {
> return T(this.raw);
> }
> }
>
> The end user can t
On Wednesday, 30 September 2015 at 01:45:49 UTC, deadalnix wrote:
https://www.youtube.com/watch?v=mFUXNMfaciE
From
http://wiki.dlang.org/Component_programming_with_ranges
Congrat H. S. Teoh
D's ranges are inarguably the best part of the language and one
of the major reasons to use it despite
On Wednesday, 30 September 2015 at 16:52:21 UTC, Adam D. Ruppe
wrote:
On Wednesday, 30 September 2015 at 09:49:34 UTC, rumbu wrote:
I would believe that when core.sys.windows will have the same
amount of code like core.sys.posix after the default
installation.
I'm unbelievably close to that n
On 09/30/2015 02:01 PM, Adam D. Ruppe wrote:
[snip]
Good material for a Q&A section of TWiD. -- Andrei
I haven't watched it yet, but it seems to be similar to this one from
NWCPP I watched recently:
https://www.youtube.com/watch?v=8yV2ONeWXyI
On 9/30/15 12:12 PM, wobbles via Digitalmars-d wrote:
On Wednesday, 30 September 2015 at 16:06:59 UTC, Joakim wrote:
On Wednesday, 30 September 2015 at 01:45:49 UTC, deadalnix wrote:
https://www.youtube.com/watch?v=mFUXNMfaciE
From
http://wiki.dlang.org/Component_programming_with_ranges
Congr
On Wednesday, 30 September 2015 at 17:51:50 UTC, Jan Johansson
wrote:
Hello all,
I'm testing D language, and the first thing I want to do is to
separate declaration from implementation. I was happy to find
support of interfaces in the D language, and set out to do a
basic test. However, this
On 9/30/15 2:12 PM, Jan Johansson wrote:
Thanks,
But (there is always a but) ;-)
The main.d should rely on itest.d, not test.d, otherwise I do the
declaration for the library itself, but the main.d includes the test.d -
the implementation (not the declaration).
If I change the 'dmd main.d tes
On Wednesday, 30 September 2015 at 16:06:59 UTC, Joakim wrote:
On Wednesday, 30 September 2015 at 01:45:49 UTC, deadalnix
wrote:
https://www.youtube.com/watch?v=mFUXNMfaciE
From
http://wiki.dlang.org/Component_programming_with_ranges
Congrat H. S. Teoh
Thanks for the link, I watched the whol
On Sunday, 20 September 2015 at 17:32:53 UTC, Adam wrote:
My experiences with D recently have not been fun.
The language itself has a top notch feature rich set. The
implementation, excluding bugs, feels a bit boxy and old
school. .NET has a unified approach and everything seems to fit
togeth
On Wednesday, 30 September 2015 at 18:01:57 UTC, Adam D. Ruppe
wrote:
On Wednesday, 30 September 2015 at 17:51:50 UTC, Jan Johansson
wrote:
The interface file (I called it test.di):
FYI there's no actual difference between .di files and .d
files. The way D is meant to be used is you write the
Hello Everyone,
I have one old foxpro application which is using dbf files as
database.
But now i want to develop a new VB.net application for the same
dbf database files.
when i try to read dbf files from VB.Net application at the same
time foxpro application and dbf files get crashed.
So an
On Wednesday, 30 September 2015 at 17:51:50 UTC, Jan Johansson
wrote:
The interface file (I called it test.di):
FYI there's no actual difference between .di files and .d files.
The way D is meant to be used is you write the declarations
together, then if you want to, you can automatically str
On Wed, Sep 30, 2015 at 04:14:59PM +, John Colvin via Digitalmars-d wrote:
> On Wednesday, 30 September 2015 at 14:53:31 UTC, H. S. Teoh wrote:
> >On Wed, Sep 30, 2015 at 08:30:47AM +0200, Jacob Carlborg via Digitalmars-d
> >wrote:
> >>On 2015-09-29 23:32, Andrej Mitrovic via Digitalmars-d wrot
Hello all,
I'm testing D language, and the first thing I want to do is to
separate declaration from implementation. I was happy to find
support of interfaces in the D language, and set out to do a
basic test. However, this test failed, and I want some newbie
help to understand how it should b
On Wednesday, 30 September 2015 at 17:12:37 UTC, Mengu wrote:
what is libucrtd.lib
http://blogs.msdn.com/b/vcblog/archive/2015/03/03/introducing-the-universal-crt.aspx
"The Universal CRT is a Windows operating system component. It is
a part of Windows 10. For Windows versions prior to Windows
On Wednesday, 30 September 2015 at 17:12:37 UTC, Mengu wrote:
On Wednesday, 30 September 2015 at 15:45:02 UTC, learn wrote:
working as advertised
libucrtd.lib is still sought and not found after another new
release.
you guys should get your shit together, otherwise more people
that try D
On Wednesday, 30 September 2015 at 15:45:02 UTC, learn wrote:
working as advertised
libucrtd.lib is still sought and not found after another new
release.
you guys should get your shit together, otherwise more people
that try D will "Moving back to .NET" and not tell you about it.
well i
On Wednesday, 30 September 2015 at 09:49:34 UTC, rumbu wrote:
I would believe that when core.sys.windows will have the same
amount of code like core.sys.posix after the default
installation.
I'm unbelievably close to that now, I just have a million other
things to do (...including adding Linu
On Wednesday, 30 September 2015 at 14:53:31 UTC, H. S. Teoh wrote:
On Wed, Sep 30, 2015 at 08:30:47AM +0200, Jacob Carlborg via
Digitalmars-d wrote:
On 2015-09-29 23:32, Andrej Mitrovic via Digitalmars-d wrote:
>If you have plaintext passwords stored anywhere you are
>already screwed. ;)
The
On Wednesday, 30 September 2015 at 01:45:49 UTC, deadalnix wrote:
https://www.youtube.com/watch?v=mFUXNMfaciE
From
http://wiki.dlang.org/Component_programming_with_ranges
Congrat H. S. Teoh
Thanks for the link, I watched the whole video today and it was a
very good presentation by Niebler.
working as advertised
libucrtd.lib is still sought and not found after another new
release.
you guys should get your shit together, otherwise more people
that try D will "Moving back to .NET" and not tell you about it.
well i guess i leave now too, since i don't have the time and
patienc
On 09/30/2015 08:02 AM, Ali Çehreli wrote:
> if H. S. Teoh or I could go to the conference.
Oops! I've mixed up the years. I did go to DConf 2014 but not DConf
2015. Still... :)
Ali
On 09/29/2015 06:45 PM, deadalnix wrote:
https://www.youtube.com/watch?v=mFUXNMfaciE
From
http://wiki.dlang.org/Component_programming_with_ranges
Congrat H. S. Teoh
Yay! :)
I almost gave the same talk! This talk could have been a part of DConf
2014 if H. S. Teoh or I could go to the confere
On Wednesday, 30 September 2015 at 02:59:40 UTC, Freddy wrote:
So this is what APL feels like. /s
Nah, the APL version would be shorter and only use builtins. ;)
-Wyatt
On Wed, Sep 30, 2015 at 08:30:47AM +0200, Jacob Carlborg via Digitalmars-d
wrote:
> On 2015-09-29 23:32, Andrej Mitrovic via Digitalmars-d wrote:
>
> >If you have plaintext passwords stored anywhere you are already
> >screwed. ;)
>
> The password always starts out in plaintext, or do you hash it
On 09/30/2015 09:31 AM, Steven Schveighoffer wrote:
On 9/29/15 9:45 PM, deadalnix wrote:
https://www.youtube.com/watch?v=mFUXNMfaciE
From
http://wiki.dlang.org/Component_programming_with_ranges
Congrat H. S. Teoh
Ditto!
Here is the link to the video at the time where D is credited, very nic
On Wednesday, 30 September 2015 at 13:40:48 UTC, Suliman wrote:
It would be nice to have such tool for D.
Take a look at:
https://github.com/Hackerpilot/dfmt
I found very interesting tool for .NET
https://stylecopplus.codeplex.com/#MoreCustomRules
It would be nice to have such tool for D.
On 9/29/15 9:45 PM, deadalnix wrote:
https://www.youtube.com/watch?v=mFUXNMfaciE
From
http://wiki.dlang.org/Component_programming_with_ranges
Congrat H. S. Teoh
Ditto!
Here is the link to the video at the time where D is credited, very nice
compliment:
https://youtu.be/mFUXNMfaciE?t=115
On 09/29/2015 11:45 PM, deadalnix wrote:
On Tuesday, 29 September 2015 at 21:02:42 UTC, Nordlöw wrote:
As a follow-up to
https://github.com/D-Programming-Language/phobos/pull/3207#issuecomment-144073495
I starting digging in DMD for logic controlling behaviour of assert(),
especially whether
On 09/29/2015 11:45 PM, deadalnix wrote:
On Tuesday, 29 September 2015 at 21:02:42 UTC, Nordlöw wrote:
As a follow-up to
https://github.com/D-Programming-Language/phobos/pull/3207#issuecomment-144073495
I starting digging in DMD for logic controlling behaviour of assert(),
especially whether
On Wednesday, 30 September 2015 at 12:43:10 UTC, Ola Fosheim
Grøstad wrote:
On Wednesday, 30 September 2015 at 09:16:44 UTC, Kagamin wrote:
On Tuesday, 29 September 2015 at 05:52:13 UTC, Ola Fosheim
Grøstad wrote:
D2 does not solve C++'s issues
Heartbleed?
C++ offers optional bounds checks
On Wednesday, 30 September 2015 at 07:44:09 UTC, Laeeth Isharc
wrote:
On Tuesday, 29 September 2015 at 16:19:19 UTC, Ola Fosheim
Grøstad wrote:
On Tuesday, 29 September 2015 at 15:31:30 UTC, Laeeth Isharc
wrote:
We know that you think D is a toy language, although you also
say that you aren't c
On Wednesday, 30 September 2015 at 09:16:44 UTC, Kagamin wrote:
On Tuesday, 29 September 2015 at 05:52:13 UTC, Ola Fosheim
Grøstad wrote:
D2 does not solve C++'s issues
Heartbleed?
C++ offers optional bounds checks + static analysis tools.
On Tuesday, 29 September 2015 at 22:05:48 UTC, rumbu wrote:
The original OP complained about compiler error messages and
the lack of a true IDE, these are not "qualities" of a system
level programming language, I see them as basic failures.
Yes, sure, but people looking for a system level lang
On Tuesday, 29 September 2015 at 17:33:04 UTC, Chris wrote:
This is not my impression. Even "geeks" don't touch D (I know
this from personal experience), even when there's no risk
involved, e.g. when writing a small internal tool. As soon as
they hear they have to learn about ranges and map!(a
On 9/29/2015 11:36 PM, Jacob Carlborg wrote:
Can't you copy the editable text fields? Or do you want to copy the labels as
well?
I'm not making myself clear.
I want to copy any or all of the text in the dialog box using the usual method:
click and drag the mouse to pick what I want to copy.
On 9/29/2015 11:03 PM, Dmitry Olshansky wrote:
When that happens to me I use Abbyy FineReader to OCR the screenshot, there is
even a special screenshot reader app. Sometimes it's a lifesaver.
I use a flamethrower to light cigarettes, too!
On Wednesday, 30 September 2015 at 09:49:34 UTC, rumbu wrote:
Or when mscoff32 libs will be included in setup.
Said to be in 2.068.1:
https://issues.dlang.org/show_bug.cgi?id=13889
On Wednesday, 30 September 2015 at 04:59:22 UTC, H. S. Teoh wrote:
On Wed, Sep 30, 2015 at 04:32:52AM +, Mike Parker via
Digitalmars-d wrote:
On Tuesday, 29 September 2015 at 22:05:48 UTC, rumbu wrote:
>My main complaints are also the compiler error messages ("Out
>of memory" is the most an
On Wednesday, 30 September 2015 at 01:55:43 UTC, deadalnix wrote:
On Wednesday, 30 September 2015 at 01:45:49 UTC, deadalnix
wrote:
https://www.youtube.com/watch?v=mFUXNMfaciE
From
http://wiki.dlang.org/Component_programming_with_ranges
Congrat H. S. Teoh
Shared on reddit:
https://www.reddi
On 09/30/2015 05:08 AM, Andrei Alexandrescu wrote:
On 09/29/2015 05:25 PM, John Colvin wrote:
auto pass = getPassword();
pass.clean();
assert(pass == pass.toLower());
//and on we go ...
Interesting angle, but it's not something we should worry about. -- Andrei
There's also the possibility of
On Tuesday, 29 September 2015 at 05:52:13 UTC, Ola Fosheim
Grøstad wrote:
D2 does not solve C++'s issues
Heartbleed?
On Wednesday, 30 September 2015 at 04:48:35 UTC, H. S. Teoh wrote:
I know the commandline scares away your average joe. That's the
kind of audience GUIs are catered to, which is understandable.
What gets annoying is when you're *forced* to use GUI even if
you're not the average joe. Many tasks
On Wednesday, 30 September 2015 at 04:59:22 UTC, H. S. Teoh wrote:
I find these kinds of comments rather humorous, actually. Every
once in a while, somebody would barge into the forum and decry
the current state of things, bemoaning that D is too
Linux-centric and that Windows gets no love.
T
On Tuesday, 29 September 2015 at 17:52:54 UTC, Chris wrote:
And don't forget a*se covering, risk aversion is often not much
more than that. It's one of the most common things in
organizations. If things go wrong, at least you stuck to the
protocol, the the well-established, widely used langua
On Tuesday, 29 September 2015 at 17:33:04 UTC, Chris wrote:
On Tuesday, 29 September 2015 at 05:52:13 UTC, Ola Fosheim
Grøstad wrote:
This logic is very difficult to follow. Software project
management is often done by people who are programmers. From a
project health point of view D2 suffers
On Tuesday, 29 September 2015 at 19:15:13 UTC, Meta wrote:
On Tuesday, 29 September 2015 at 14:34:42 UTC, Atila Neves
wrote:
runTests with no optional arguments will run the tests in
threads.
There's nothing about purity enforcement there. In fact, I
tried
using pure unit tests yesterday with
On Tuesday, 29 September 2015 at 17:13:26 UTC, bachmeier wrote:
On Tuesday, 29 September 2015 at 14:29:44 UTC, Atila Neves
wrote:
On Tuesday, 29 September 2015 at 12:04:51 UTC, bachmeier wrote:
Again, that's the problem. You shouldn't have to write your
own dub package in order to use dub
You
On Tuesday, 29 September 2015 at 17:22:30 UTC, jmh530 wrote:
On Tuesday, 29 September 2015 at 15:31:30 UTC, Laeeth Isharc
wrote:
In my experience, risk is the excuse, and habit and human
dislike of change is a much more powerful reason.
I love this line.
Thank you. The sentiment I am su
On Tuesday, 29 September 2015 at 16:19:19 UTC, Ola Fosheim
Grøstad wrote:
On Tuesday, 29 September 2015 at 15:31:30 UTC, Laeeth Isharc
wrote:
On Sunday, 27 September 2015 at 09:51:42 UTC, Ola Fosheim
Grøstad wrote:
But even after years of polish Go is still perceived as risky:
Of course it's
On Wednesday, 30 September 2015 at 05:17:59 UTC, deadalnix wrote:
On Wednesday, 30 September 2015 at 05:00:11 UTC, H. S. Teoh
wrote:
Are we accepting PRs to convert ddmd to be more D-like?
T
Sure, you can submit PR here :
https://github.com/SDC-Developers/SDC
;)
LOL.
- Jonathan M Davis
On Wednesday, 30 September 2015 at 04:48:35 UTC, H. S. Teoh wrote:
On Wed, Sep 30, 2015 at 01:59:36AM +, Jonathan M Davis via
Digitalmars-d wrote:
I know the commandline scares away your average joe. That's the
kind of audience GUIs are catered to, which is understandable.
What gets annoyin
64 matches
Mail list logo