Re: Found on proggit: Krug, a new experimental programming language, compiler written in D

2018-05-01 Thread H. S. Teoh via Digitalmars-d
On Tue, May 01, 2018 at 05:13:13PM +, IntegratedDimensions via Digitalmars-d wrote: [...] > The point of O is for the most dominant rate of growth(asymptotic > behavior). In mathematics, one only cares about n as it approaches > infinity and so any constant term will eventually be dwarfed.

Can I convert the Range returned by asUpperCase to ubyte[]?

2018-05-01 Thread Dr.No via Digitalmars-d-learn
I'm trying to do an optimization here: a hash function which expect a ubye[] array as argument, would just work if I cast string to ubyte[] but I need to convert it to upper case, so I'd like to do that lazily, so that the byte is converted to its upper case version soon as it's requested. I'm

Re: Found on proggit: Krug, a new experimental programming language, compiler written in D

2018-05-01 Thread jmh530 via Digitalmars-d
On Tuesday, 1 May 2018 at 18:46:20 UTC, H. S. Teoh wrote: Well, yes. Of course the whole idea behind big O is asymptotic behaviour, i.e., behaviour as n becomes arbitrarily large. Unfortunately, as you point out below, this is not an accurate depiction of the real world: [snip] The

Re: Follow @dlangconf and use #dconf on twitter

2018-05-01 Thread Bill Baxter via Digitalmars-d-announce
They're calling it "dconf" as short for the "Digital Health and Well-being Conference". Really?! Why wouldn't you use something less generic like "dhealth2018"? They're tweeting from the handle @dconf2018. I guess you should go ahead and sign up for the @dconf2019 and on accounts now. Maybe that

Re: Purity of delegate-style toString

2018-05-01 Thread Per Nordlöw via Digitalmars-d-learn
On Tuesday, 1 May 2018 at 12:03:15 UTC, ag0aep6g wrote: By the way, you shouldn't mark toString as @trusted when `sink` is @system. Thanks

Pure double to string conversion

2018-05-01 Thread Per Nordlöw via Digitalmars-d-learn
Is there a way to convert a `double` to a `string` in a `pure` function? I tried @safe pure unittest { import std.conv : to; const y = 3.14.to!string; } but it fails to compile as `pure` function `foo.__unittest_L1_C12` cannot call impure function `std.conv.to!string.to!double.to`

Re: How to curl!

2018-05-01 Thread IntegratedDimensions via Digitalmars-d-learn
On Tuesday, 1 May 2018 at 22:08:50 UTC, Dr.No wrote: On Tuesday, 1 May 2018 at 21:57:22 UTC, IntegratedDimensions wrote: Trying to curl basic stuff but std.net.curl isn't cooperating: curl "https://www.googleapis.com/youtube/v3/channels; -G -d part=contentDetails -d forUsername=test -d

Re: How to curl!

2018-05-01 Thread IntegratedDimensions via Digitalmars-d-learn
On Tuesday, 1 May 2018 at 23:02:39 UTC, Dr.No wrote: On Tuesday, 1 May 2018 at 22:51:01 UTC, IntegratedDimensions wrote: [...] those dlls: libeay32.dll libssl32.dll ssleay32.dll I'm sure they would be installed with whatever [...] I don't think so. IIRC, when I used D+curl I needed to

Release D 2.080.0

2018-05-01 Thread Martin Nowak via Digitalmars-d-announce
Glad to announce D 2.080.0. This release comes with CTFE support for log, exp and a couple of more math functions. There is also a new isReturnOnStack trait, an apply function for Nullable, and static method support for Objective-C classes. http://dlang.org/download.html

[Issue 18815] thread_attachThis crash

2018-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18815 --- Comment #1 from Manu --- I just confirmed, this is a regression from 2.78 to 2.79. It runs when building with 2.78, newer releases segfault. main.cpp: - #include extern "C" void rt_init(); extern "C" void dfunc();

[Issue 18815] thread_attachThis crash

2018-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18815 Manu changed: What|Removed |Added Keywords||C++, industry

How to curl!

2018-05-01 Thread IntegratedDimensions via Digitalmars-d-learn
Trying to curl basic stuff but std.net.curl isn't cooperating: curl "https://www.googleapis.com/youtube/v3/channels; -G -d part=contentDetails -d forUsername=test -d key=somekey import std.stdio; import std.net.curl; int main(string[] argv) { auto http = HTTP();

[Issue 18816] [betterC] Standard Streams Unlinkable

2018-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18816 dd86k changed: What|Removed |Added CC||devddst...@gmail.com --

Re: How to curl!

2018-05-01 Thread IntegratedDimensions via Digitalmars-d-learn
On Tuesday, 1 May 2018 at 23:35:42 UTC, Arun Chandrasekaran wrote: On Tuesday, 1 May 2018 at 21:57:22 UTC, IntegratedDimensions wrote: Trying to curl basic stuff but std.net.curl isn't cooperating: This is one of the reasons I hate D ;/ I've spent more time trying to get std.net.curl to do

Re: auto: useful, annoying or bad practice?

2018-05-01 Thread Nick Sabalausky via Digitalmars-d
I'm a die-hard static typing fan, hate dynamic languages, heck I dont even like structural typing (ex, as used by D ranges). And that's exactly why I *love* auto. It lets you have static typing without turning programming into a 2000's-era C++/Java-style royal anti-DRY PITA. I also think

[Issue 18817] Include debug (symbols) builds of photos/druntime?

2018-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18817 --- Comment #1 from Manu --- It might also need a command line arg to select which default library to use (parallel to the current crt options)? --

Re: Follow @dlangconf and use #dconf on twitter

2018-05-01 Thread Juan via Digitalmars-d-announce
On Tuesday, 1 May 2018 at 03:57:25 UTC, Walter Bright wrote: Unfortunately, some other conference is using #dconf2018, so don't use that. By the way, it will be live streamed?

[Issue 18815] New: thread_attachThis crash

2018-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18815 Issue ID: 18815 Summary: thread_attachThis crash Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: enhancement Priority: P1

Re: A strategic vision for D

2018-05-01 Thread John Gabriele via Digitalmars-d
On Tuesday, 1 May 2018 at 17:20:54 UTC, Ali wrote: On Tuesday, 1 May 2018 at 12:26:25 UTC, Joakim wrote: I realize it's right before the conference, but I'd like to put out a request for Walter and Andrei to spend five minutes during your talks laying out some overarching strategy for how you

Is build a 64 bit version worth if I'm looking for better perfomance?

2018-05-01 Thread Dr.No via Digitalmars-d-learn
Looking for make application run fast as possible, aside optimization in the source code, is using 64 bit over 32 really worth?

Re: Is build a 64 bit version worth if I'm looking for better perfomance?

2018-05-01 Thread Uknown via Digitalmars-d-learn
On Tuesday, 1 May 2018 at 22:48:08 UTC, Dr.No wrote: Looking for make application run fast as possible, aside optimization in the source code, is using 64 bit over 32 really worth? With the GC yes, since false pointers become less of an issue. Also you get to take full advantage of the

[Issue 18816] New: [betterC] Standard Streams Unlinkable

2018-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18816 Issue ID: 18816 Summary: [betterC] Standard Streams Unlinkable Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

Re: A strategic vision for D

2018-05-01 Thread Nick Sabalausky via Digitalmars-d
On Tuesday, 1 May 2018 at 22:20:53 UTC, John Gabriele wrote: On Tuesday, 1 May 2018 at 17:20:54 UTC, Ali wrote: It is very clear, and feel free to read between the lines, on what might be the long term strategy I think point 1 in the vision is very telling 1. Lock down the language

Re: How to curl!

2018-05-01 Thread Arun Chandrasekaran via Digitalmars-d-learn
On Tuesday, 1 May 2018 at 21:57:22 UTC, IntegratedDimensions wrote: Trying to curl basic stuff but std.net.curl isn't cooperating: This is one of the reasons I hate D ;/ I've spent more time trying to get std.net.curl to do something that just works from the command line. std.net.curl is not

[Issue 18817] New: Include debug (symbols) builds of photos/druntime?

2018-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18817 Issue ID: 18817 Summary: Include debug (symbols) builds of photos/druntime? Product: D Version: D2 Hardware: All OS: Windows Status: NEW Severity: enhancement

Re: How to curl!

2018-05-01 Thread Dr.No via Digitalmars-d-learn
On Tuesday, 1 May 2018 at 21:57:22 UTC, IntegratedDimensions wrote: Trying to curl basic stuff but std.net.curl isn't cooperating: curl "https://www.googleapis.com/youtube/v3/channels; -G -d part=contentDetails -d forUsername=test -d key=somekey [...] Just a wild guess, do you have the SSL

Re: core.stdc and betterC

2018-05-01 Thread dd86k via Digitalmars-d
On Tuesday, 1 May 2018 at 00:34:55 UTC, Walter Bright wrote: Please file all betterC issues with bugzilla and tag them with the 'betterC' keyword. We want to get them all fixed, and this makes it easy to find them! Hello Walter, I hope my first report[1] is properly done before I make other

Re: How to curl!

2018-05-01 Thread Dr.No via Digitalmars-d-learn
On Tuesday, 1 May 2018 at 22:51:01 UTC, IntegratedDimensions wrote: On Tuesday, 1 May 2018 at 22:08:50 UTC, Dr.No wrote: On Tuesday, 1 May 2018 at 21:57:22 UTC, IntegratedDimensions wrote: Trying to curl basic stuff but std.net.curl isn't cooperating: curl

Calling D and Mir functions for Python and NumPy

2018-05-01 Thread Shigeki Karita via Digitalmars-d-announce
To call D functions from python, especially to support mir ndslice and numpy ndarray, I'm making a new library "mir-pybuffer". The pybuffer is python's official C struct to support writing C extensions of numpy-like ndarray. The mir-pybuffer generates functions automatically to convert

Re: auto: useful, annoying or bad practice?

2018-05-01 Thread Nick Sabalausky via Digitalmars-d
I'm a die-hard static typing fan, hate dynamic languages, heck I dont even like structural typing (ex, as used by D ranges). And that's exactly why I *love* auto. It lets you have static typing without turning programming into a 2000's-era C++/Java-style royal anti-DRY PITA. I also think

Re: Interfacing with C++ Class named Object

2018-05-01 Thread Robert M. Münch via Digitalmars-d-learn
On 2018-05-01 17:14:53 +, Robert M. Münch said: Yes, great! Thanks. I could extend the code now. But I get a next problem: extern (C++, b2d) { class AnyBase { bool isShared(); } pragma(mangle, "Object"); class b2dObject : AnyBase { } class Image : b2dObject { // class

Re: A strategic vision for D

2018-05-01 Thread Ali via Digitalmars-d
On Tuesday, 1 May 2018 at 12:26:25 UTC, Joakim wrote: I realize it's right before the conference, but I'd like to put out a request for Walter and Andrei to spend five minutes during your talks laying out some overarching strategy for how you see D evolving. It could be during the keynotes or

Re: Is build a 64 bit version worth if I'm looking for better perfomance?

2018-05-01 Thread Jonathan M Davis via Digitalmars-d-learn
On Tuesday, May 01, 2018 22:48:08 Dr.No via Digitalmars-d-learn wrote: > Looking for make application run fast as possible, aside > optimization in the source code, is using 64 bit over 32 really > worth? That would heavily depend on the program. The big win for D code and 64-bit that doesn't

[Issue 18818] New: VariantN has unittests that are compiled into user modules

2018-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18818 Issue ID: 18818 Summary: VariantN has unittests that are compiled into user modules Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW

C++ Meetup @ DConf on Thursday, May 3rd (7pm)

2018-05-01 Thread Seb via Digitalmars-d-announce
We are very happy to announce another special event at this year's DConf. For the first time, DConf will host a C++ Meetup. On Thursday evening (7pm) (i.e. after all official talks and enough time to have dinner), the C++ folks will invade the DConf territory. There will be a main talk by

Re: Found on proggit: Krug, a new experimental programming language, compiler written in D

2018-05-01 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 05/01/2018 10:51 PM, TheDalaiLama wrote: There's no substituion for taste...some have it.. some don't. 'Experience' is irrelevant. Honestly, there's a lot of truth to this. People can certainly learn, of course (well, at least some people can), but experience definitely does not imply

Re: Can I convert the Range returned by asUpperCase to ubyte[]?

2018-05-01 Thread Jonathan M Davis via Digitalmars-d-learn
On Tuesday, May 01, 2018 20:13:41 Dr.No via Digitalmars-d-learn wrote: > I'm trying to do an optimization here: a hash function which > expect a ubye[] array as argument, would just work if I cast > string to ubyte[] but I need to convert it to upper case, so I'd > like to do that lazily, so that

Re: auto: useful, annoying or bad practice?

2018-05-01 Thread Neia Neutuladh via Digitalmars-d
On Monday, 30 April 2018 at 21:11:07 UTC, Gerald wrote: So I'm curious, what's the consensus on auto? For local variables, it's not an unalloyed good, but it is good. When I use Java, everything is explicit, and sometimes that's nice. In D, I think I overuse `auto` for local variables.

Re: A strategic vision for D

2018-05-01 Thread Joakim via Digitalmars-d
On Wednesday, 2 May 2018 at 03:44:37 UTC, Nick Sabalausky (Abscissa) wrote: On 05/01/2018 10:27 PM, Joakim wrote: Those are specific technical priorities that hint at a strategy, as you say, but it is better to lay out that strategy itself. Not knocking that vision document, as I called for

[Issue 18800] [REG2.080.0-beta.1] Array.length setter segfaults for payloads with indirections

2018-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18800 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/b2016be15501039956e370ddc94e623a1caee0c5 fix Issue 18800 - Array.length setter segfaults for

[Issue 18800] [REG2.080.0-beta.1] Array.length setter segfaults for payloads with indirections

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

Re: Can I convert the Range returned by asUpperCase to ubyte[]?

2018-05-01 Thread ag0aep6g via Digitalmars-d-learn
On 05/01/2018 10:13 PM, Dr.No wrote: I'm trying to do an optimization here: a hash function which expect a ubye[] array as argument, would just work if I cast string to ubyte[] but I need to convert it to upper case, so I'd like to do that lazily, so that the byte is converted to its upper

Re: Release D 2.080.0

2018-05-01 Thread Joakim via Digitalmars-d-announce
On Wednesday, 2 May 2018 at 00:00:46 UTC, Martin Nowak wrote: Glad to announce D 2.080.0. This release comes with CTFE support for log, exp and a couple of more math functions. There is also a new isReturnOnStack trait, an apply function for Nullable, and static method support for

Re: auto: useful, annoying or bad practice?

2018-05-01 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 04/30/2018 05:35 PM, H. S. Teoh wrote: Also, design by introspection. Dependence on explicit types is so last century. Design by introspection FTW! Decoupling your code from explicit types makes it more encapsulated, and gives you incentive to write more defensively, resulting in better,

Re: Found on proggit: Krug, a new experimental programming language, compiler written in D

2018-05-01 Thread TheDalaiLama via Digitalmars-d
On Thursday, 26 April 2018 at 23:26:30 UTC, Walter Bright wrote: I posit that redundancy is something programmers learn to appreciate as they gain experience, and that eliminating redundancy is something new programmers think is a new idea :-) Not just 'new programmers', but even old

Re: D in SUSE Enterprise Linux

2018-05-01 Thread Joakim via Digitalmars-d-learn
On Tuesday, 1 May 2018 at 16:02:03 UTC, rikki cattermole wrote: On 02/05/2018 3:51 AM, Vino wrote: On Tuesday, 1 May 2018 at 15:42:38 UTC, Jonathan M Davis wrote: On Tuesday, May 01, 2018 15:18:12 Vino via Digitalmars-d-learn wrote: [...] That sounds like your /tmp is mounted with noexec.

Re: How to curl!

2018-05-01 Thread ikod via Digitalmars-d-learn
On Wednesday, 2 May 2018 at 00:04:49 UTC, IntegratedDimensions wrote: On Tuesday, 1 May 2018 at 23:35:42 UTC, Arun Chandrasekaran wrote: On Tuesday, 1 May 2018 at 21:57:22 UTC, IntegratedDimensions wrote: [...] std.net.curl is not quite up to date when compared to the curl command. It is

Re: A strategic vision for D

2018-05-01 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 05/01/2018 10:27 PM, Joakim wrote: Those are specific technical priorities that hint at a strategy, as you say, but it is better to lay out that strategy itself. Not knocking that vision document, as I called for a concrete document like that for years, but a conference keynote is a good

Re: A strategic vision for D

2018-05-01 Thread Joakim via Digitalmars-d
On Tuesday, 1 May 2018 at 17:20:54 UTC, Ali wrote: On Tuesday, 1 May 2018 at 12:26:25 UTC, Joakim wrote: I realize it's right before the conference, but I'd like to put out a request for Walter and Andrei to spend five minutes during your talks laying out some overarching strategy for how you

Re: A strategic vision for D

2018-05-01 Thread bachmeier via Digitalmars-d
On Tuesday, 1 May 2018 at 12:26:25 UTC, Joakim wrote: I realize it's right before the conference, but I'd like to put out a request for Walter and Andrei to spend five minutes during your talks laying out some overarching strategy for how you see D evolving. It could be during the keynotes or

Re: auto: useful, annoying or bad practice?

2018-05-01 Thread Craig Dillabaugh via Digitalmars-d
On Monday, 30 April 2018 at 21:11:07 UTC, Gerald wrote: I'll freely admit I haven't put a ton of thought into this post (never a good start), however I'm genuinely curious what people's feeling are with regards to the auto keyword. Speaking for myself, I dislike the auto keyword. Some of this

embedr: Call D functions from R and embed an R interpreter inside a D program

2018-05-01 Thread bachmeier via Digitalmars-d-announce
I had planned to work on this some more, but I'm editor of a journal and have recently agreed to become director of graduate studies, so there's no time to work on anything I don't use in my own research. Therefore I'm putting this out there as is. Basically, it works for me, but you might

Re: embedr: Call D functions from R and embed an R interpreter inside a D program

2018-05-01 Thread rikki cattermole via Digitalmars-d-announce
On 02/05/2018 2:42 AM, bachmeier wrote: I had planned to work on this some more, but I'm editor of a journal and have recently agreed to become director of graduate studies, so there's no time to work on anything I don't use in my own research. Therefore I'm putting this out there as is.

D in SUSE Enterprise Linux

2018-05-01 Thread Vino via Digitalmars-d-learn
Hi All, Request your help, trying to execute the below program in SUSE Linux but there is no output Code #!/usr/bin/env rdmd import std.stdio; void main() { writeln("Test"); } DMD Version : DMD64 D Compiler v2.079.1 Package installed : dmd-2.079.1-0.openSUSE.x86_64.rpm Execution 1 : rdmd

Re: D in SUSE Enterprise Linux

2018-05-01 Thread rikki cattermole via Digitalmars-d-learn
On 02/05/2018 2:56 AM, Vino wrote: Hi All,  Request your help, trying to execute the below program in SUSE Linux but there is no output Code #!/usr/bin/env rdmd import std.stdio; void main() { writeln("Test"); } DMD Version : DMD64 D Compiler v2.079.1 Package installed :

Re: Coding Challenges at Dconf2018: Implement Needleman–Wunsch and Smith–Waterman algorithms

2018-05-01 Thread rikki cattermole via Digitalmars-d-learn
On 01/05/2018 9:00 PM, biocyberman wrote: On Monday, 30 April 2018 at 20:34:41 UTC, Steven Schveighoffer wrote: On 4/30/18 2:47 PM, biocyberman wrote: Hellow D community. I am attending Dconf 2018 and giving a talk there on May 4. Link: https://dconf.org/2018/talks/le.html. It will be very

Re: Coding Challenges at Dconf2018: Implement Needleman–Wunsch and Smith–Waterman algorithms

2018-05-01 Thread biocyberman via Digitalmars-d-learn
On Monday, 30 April 2018 at 20:34:41 UTC, Steven Schveighoffer wrote: On 4/30/18 2:47 PM, biocyberman wrote: Hellow D community. I am attending Dconf 2018 and giving a talk there on May 4. Link: https://dconf.org/2018/talks/le.html. It will be very interesting to talk about the outcome of

Re: DConf 2018 Munich Registration is Open!

2018-05-01 Thread Joakim via Digitalmars-d-announce
On Sunday, 29 April 2018 at 15:34:49 UTC, Bastiaan Veelo wrote: On Monday, 19 March 2018 at 13:34:36 UTC, Mike Parker wrote: ... Visit dconf.org to see the programme[1] and register[2], then head over to the D Blog[3] for the latest post on DConf. See you in Munich May 2-5! [1]

Re: Lightening cable?

2018-05-01 Thread Stefan Koch via Digitalmars-d
On Monday, 30 April 2018 at 19:30:25 UTC, Luís Marques wrote: Hi. Can anyone staying at the conference hotel lend me an iPhone charging cable? Even just for a few minutes would help. I forgot mine :( It's a normal USB-A-mini right?

Re: auto: useful, annoying or bad practice?

2018-05-01 Thread Chris via Digitalmars-d
On Monday, 30 April 2018 at 21:56:23 UTC, H. S. Teoh wrote: On Mon, Apr 30, 2018 at 09:31:48PM +, Giles Bathgate via Digitalmars-d wrote: [...] [...] T On Monday, 30 April 2018 at 21:56:23 UTC, H. S. Teoh wrote: [...] Appart from the good points Teoh has made, imagine you would have

Re: Things to do in Munich

2018-05-01 Thread Jon Degenhardt via Digitalmars-d-announce
On Monday, 30 April 2018 at 19:57:10 UTC, Seb wrote: As I live in Munich and there have been a few threads about things to do in Munich, I thought I quickly share a few selected activities + current events. - over 80 museums (best ones: Museum Brandhost, Pinakothek der Moderne, Haus der

Re: Write in D with Coedit 3.6.11

2018-05-01 Thread Basile B. via Digitalmars-d-announce
On Sunday, 29 April 2018 at 02:18:37 UTC, Nicholas Wilson wrote: On Saturday, 28 April 2018 at 14:30:14 UTC, Basile B. wrote: New release of the strange D IDE not written in D and without Every time you post a release I think " I should check this out!" then I (re)discover that there are no

Purity of delegate-style toString

2018-05-01 Thread Per Nordlöw via Digitalmars-d-learn
In which cases (if any) is it possible to make a delegate-style implementation of toString such as void toString(scope void delegate(const(char)[]) sink) const @trusted pure { // sink("..."); // sink.formattedWrite!"..."(...); } pure?

Re: Purity of delegate-style toString

2018-05-01 Thread ag0aep6g via Digitalmars-d-learn
On 05/01/2018 01:44 PM, Per Nordlöw wrote: In which cases (if any) is it possible to make a delegate-style implementation of toString such as     void toString(scope void delegate(const(char)[]) sink) const @trusted pure     {     // sink("...");     //

A strategic vision for D

2018-05-01 Thread Joakim via Digitalmars-d
I realize it's right before the conference, but I'd like to put out a request for Walter and Andrei to spend five minutes during your talks laying out some overarching strategy for how you see D evolving. It could be during the keynotes or leading off the Q panel, but I think it's worth laying

Re: Lightening cable?

2018-05-01 Thread Luís Marques via Digitalmars-d
On Tuesday, 1 May 2018 at 09:32:13 UTC, Stefan Koch wrote: On Monday, 30 April 2018 at 19:30:25 UTC, Luís Marques wrote: Hi. Can anyone staying at the conference hotel lend me an iPhone charging cable? Even just for a few minutes would help. I forgot mine :( It's a normal USB-A-mini right?

Re: D in SUSE Enterprise Linux

2018-05-01 Thread Jonathan M Davis via Digitalmars-d-learn
On Tuesday, May 01, 2018 15:18:12 Vino via Digitalmars-d-learn wrote: > On Tuesday, 1 May 2018 at 15:04:43 UTC, rikki cattermole wrote: > > On 02/05/2018 2:56 AM, Vino wrote: > >> Hi All, > >> > >> Request your help, trying to execute the below program in > >> > >> SUSE Linux but there is no

Equivalent function of timeCreated for Linux

2018-05-01 Thread Vino via Digitalmars-d-learn
Hi All, Request your help, what is the equivalent function of timeCreated(Windows) for Linux. Or how do i get the file creation date and time in Linux using D. From, Vino.B

Re: Interfacing with C++ Class named Object

2018-05-01 Thread Timoses via Digitalmars-d-learn
On Tuesday, 1 May 2018 at 15:24:09 UTC, Robert M. Münch wrote: Hi, I'm mostly doing simple C-API wrappers around C++ code to access thigns from D. However, I wanted to try how far I can come using C++ directly. I have the following C++ code in namespace N: class Image : public Object {

Re: D in SUSE Enterprise Linux

2018-05-01 Thread Vino via Digitalmars-d-learn
On Tuesday, 1 May 2018 at 15:04:43 UTC, rikki cattermole wrote: On 02/05/2018 2:56 AM, Vino wrote: Hi All,  Request your help, trying to execute the below program in SUSE Linux but there is no output Code #!/usr/bin/env rdmd import std.stdio; void main() { writeln("Test"); } DMD Version

Re: A strategic vision for D

2018-05-01 Thread Joakim via Digitalmars-d
On Tuesday, 1 May 2018 at 12:46:04 UTC, bachmeier wrote: On Tuesday, 1 May 2018 at 12:26:25 UTC, Joakim wrote: I realize it's right before the conference, but I'd like to put out a request for Walter and Andrei to spend five minutes during your talks laying out some overarching strategy for

Interfacing with C++ Class named Object

2018-05-01 Thread Robert M. Münch via Digitalmars-d-learn
Hi, I'm mostly doing simple C-API wrappers around C++ code to access thigns from D. However, I wanted to try how far I can come using C++ directly. I have the following C++ code in namespace N: class Image : public Object { Error create(int w, int h, uint32_t p) noexcept; } And I have

Re: embedr: Call D functions from R and embed an R interpreter inside a D program

2018-05-01 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 1 May 2018 at 14:45:17 UTC, rikki cattermole wrote: On 02/05/2018 2:42 AM, bachmeier wrote: I had planned to work on this some more, but I'm editor of a journal and have recently agreed to become director of graduate studies, so there's no time to work on anything I don't use in

Re: Equivalent function of timeCreated for Linux

2018-05-01 Thread Jonathan M Davis via Digitalmars-d-learn
On Tuesday, May 01, 2018 15:41:07 Vino via Digitalmars-d-learn wrote: > Hi All, > > Request your help, what is the equivalent function of > timeCreated(Windows) for Linux. Or how do i get the file creation > date and time in Linux using D. AFAIK, no filesystems on Linux keep track of that

Re: D in SUSE Enterprise Linux

2018-05-01 Thread Vino via Digitalmars-d-learn
On Tuesday, 1 May 2018 at 15:42:38 UTC, Jonathan M Davis wrote: On Tuesday, May 01, 2018 15:18:12 Vino via Digitalmars-d-learn wrote: On Tuesday, 1 May 2018 at 15:04:43 UTC, rikki cattermole wrote: > On 02/05/2018 2:56 AM, Vino wrote: >> [...] > > Does this work? > > $ dmd -run foo.d Hi Rikki,

Re: D in SUSE Enterprise Linux

2018-05-01 Thread Jonathan M Davis via Digitalmars-d-learn
On Tuesday, May 01, 2018 15:51:14 Vino via Digitalmars-d-learn wrote: > On Tuesday, 1 May 2018 at 15:42:38 UTC, Jonathan M Davis wrote: > > On Tuesday, May 01, 2018 15:18:12 Vino via Digitalmars-d-learn > > > > wrote: > >> On Tuesday, 1 May 2018 at 15:04:43 UTC, rikki cattermole wrote: > >> > On

Re: D in SUSE Enterprise Linux

2018-05-01 Thread rikki cattermole via Digitalmars-d-learn
On 02/05/2018 3:51 AM, Vino wrote: On Tuesday, 1 May 2018 at 15:42:38 UTC, Jonathan M Davis wrote: On Tuesday, May 01, 2018 15:18:12 Vino via Digitalmars-d-learn wrote: On Tuesday, 1 May 2018 at 15:04:43 UTC, rikki cattermole wrote: > On 02/05/2018 2:56 AM, Vino wrote: >> [...] > > Does this

Re: Interfacing with C++ Class named Object

2018-05-01 Thread Robert M. Münch via Digitalmars-d-learn
On 2018-05-01 16:07:30 +, Timoses said: On Tuesday, 1 May 2018 at 15:24:09 UTC, Robert M. Münch wrote: Hi, I'm mostly doing simple C-API wrappers around C++ code to access thigns from D. However, I wanted to try how far I can come using C++ directly. I have the following C++ code in

Re: Found on proggit: Krug, a new experimental programming language, compiler written in D

2018-05-01 Thread IntegratedDimensions via Digitalmars-d
On Friday, 27 April 2018 at 00:03:34 UTC, H. S. Teoh wrote: On Thu, Apr 26, 2018 at 07:14:17PM -0400, Nick Sabalausky (Abscissa) via Digitalmars-d wrote: On 04/26/2018 06:47 PM, H. S. Teoh wrote: > > If "less is more" were universally true, we'd be programming > in BF instead of D. :-O