Re: D Binding to GUI libraries [was Interesting Observation from JAXLondon]

2018-10-21 Thread Andre Pany via Digitalmars-d
On Sunday, 21 October 2018 at 01:32:22 UTC, Nick Sabalausky (Abscissa) wrote: On 10/20/18 6:28 AM, Gregor Mückl wrote: Even though web and mobile UIs seem to be the rage at the moment, I believe a solid support for desktop UIs is very important for a general purpose language, if it wants to b

Re: DMD Linker Issue on Windows

2018-10-18 Thread Andre Pany via Digitalmars-d
On Thursday, 18 October 2018 at 00:24:29 UTC, Kai wrote: On Wednesday, 17 October 2018 at 17:44:34 UTC, Adam D. Ruppe wrote: [...] Hmm - wish it was so. When architecture not specified, the linker crashes. When it's given, this happens (seems to be a vibe issue?): [...] As far as I can

Re: What's going on with the DMD nightlies releases ?

2018-10-05 Thread Andre Pany via Digitalmars-d
On Wednesday, 19 September 2018 at 12:51:25 UTC, Basile B. wrote: The downloads of nightlies is broken since at least 2 weeks now. What's going on ? Unfortunately it is still broken that is the reason why all dub pull requests are marked as failed. Example https://ci.appveyor.com/project/s-l

Re: phobo's std.file is completely broke!

2018-09-14 Thread Andre Pany via Digitalmars-d
On Friday, 14 September 2018 at 19:06:14 UTC, Josphe Brigmo wrote: For very long file names it is broke and every command fails. These paths are not all that long but over 256 limit. (For windows) The problem this causes can be disastrous. If some check fails and runs code that isn't mean to

Re: rund users welcome

2018-09-11 Thread Andre Pany via Digitalmars-d
On Saturday, 8 September 2018 at 04:24:20 UTC, Jonathan Marler wrote: I've rewritten rdmd into a new tool called "rund" and have been using it for about 4 months. It runs about twice as fast making my workflow much "snappier". It also introduces a new feature called "source directives" where yo

Re: Static foreach bug?

2018-09-05 Thread Andre Pany via Digitalmars-d
On Wednesday, 5 September 2018 at 12:05:59 UTC, rikki cattermole wrote: Indeed. scope enum would make much more sense. scope enum sounds a lot better for me than static enum or even __local. The __ words looks a little bit like compiler magic as the __ words are reserved for the compiler.

Re: This is why I don't use D.

2018-09-05 Thread Andre Pany via Digitalmars-d
On Wednesday, 5 September 2018 at 06:47:00 UTC, Everlast wrote: On Wednesday, 5 September 2018 at 01:39:04 UTC, Paul Backus wrote: On Wednesday, 5 September 2018 at 00:49:36 UTC, Everlast wrote: [...] If you don't want to use D, then don't use D. No one is holding a gun to your head. It se

Re: D is dead (was: Dicebot on leaving D: It is anarchy driven development in all its glory.)

2018-09-02 Thread Andre Pany via Digitalmars-d
On Sunday, 2 September 2018 at 14:48:34 UTC, lurker wrote: after the beta i tried it the final again - just to be fair. 1.) install d, install visual d. 2.) trying to to look at options under visual d without a project crashes VS2017 - latest service pack. 3.) VS2017 - displays a problem o

Re: Dicebot on leaving D: It is anarchy driven development in all its glory.

2018-08-27 Thread Andre Pany via Digitalmars-d
On Monday, 27 August 2018 at 00:35:12 UTC, tide wrote: On Sunday, 26 August 2018 at 23:39:32 UTC, Manu wrote: [...] It's not just VisualD, the debug info DMD produces just doesn't include things like global variables for some reason. I use VS Code to debug, I get around it by using -gc (whi

Re: Dicebot on leaving D: It is anarchy driven development in all its glory.

2018-08-26 Thread Andre Pany via Digitalmars-d
On Sunday, 26 August 2018 at 13:40:17 UTC, Chris wrote: On Sunday, 26 August 2018 at 08:40:32 UTC, Andre Pany wrote: [...] No. Nobody forces you to use the latest version that may have an improved GC, new library functions or bug fixes. In fact, why bother with improving the language at all?

Re: Dicebot on leaving D: It is anarchy driven development in all its glory.

2018-08-26 Thread Andre Pany via Digitalmars-d
On Saturday, 25 August 2018 at 20:52:06 UTC, Walter Bright wrote: On 8/25/2018 3:52 AM, Chris wrote: On Friday, 24 August 2018 at 19:26:40 UTC, Walter Bright wrote: Every programmer who says this also demands new (and breaking) features. "Every programmer who..." Really? You want to remove a

Re: How possible is it to put DWARF debug infos in MSCOFF objects ?

2018-08-17 Thread Andre Pany via Digitalmars-d
On Friday, 17 August 2018 at 19:35:40 UTC, Basile B. wrote: On Friday, 17 August 2018 at 19:28:47 UTC, Basile B. wrote: Now that -m64 + LLD + MINGW works, the question is obvious. The background idea is of course to allow the use of GDB under Windows. At first glance the debug info API is not

Re: Faster printing of floats; is this something that D could benefit from?

2018-07-28 Thread Andre Pany via Digitalmars-d
On Saturday, 28 July 2018 at 16:02:22 UTC, Gary Willoughby wrote: I just saw this on hacker news: We present Ryū, a new routine to convert binary floating point numbers to their decimal representations using only fixed-size integer operations, and prove its correctness. Ryū is simpler and app

Re: So what is the state of cross-compilation in D?

2018-07-28 Thread Andre Pany via Digitalmars-d
On Saturday, 28 July 2018 at 08:56:30 UTC, Mike Franklin wrote: On Wednesday, 17 January 2018 at 13:24:37 UTC, Andre Pany wrote: On Wednesday, 17 January 2018 at 12:06:23 UTC, Rel wrote: Well, to be completely honest with you the only one thing I like about the Go programming language is the ab

Re: Struct Initialization syntax

2018-07-23 Thread Andre Pany via Digitalmars-d
On Monday, 23 July 2018 at 16:26:42 UTC, Seb wrote: tl;dr: the currently proposed syntax options are: --- struct S { int a = 2, b = 4, c = 6; } void foo() { bar(S({c: 10})); // Option 1 bar(S(c: 10)); // Option 2 bar(S{c: 10}); // Option 3 } --- So the struct-initialization

Re: gRPC, Better C and D

2018-07-03 Thread Andre Pany via Digitalmars-d
On Monday, 2 July 2018 at 18:06:43 UTC, bpr wrote: On Monday, 2 July 2018 at 10:25:07 UTC, Andre Pany wrote: Small update. With the help of evilrat I was able to translate the C headers to D. https://github.com/andre2007/grpc/tree/feature/d/src/d/source/grpc/c While the source code compiles wi

Re: gRPC, Better C and D

2018-07-02 Thread Andre Pany via Digitalmars-d
On Friday, 22 June 2018 at 18:10:54 UTC, Andre Pany wrote: Hi, the core of gRPC is written in C. I asked the developers whether they considered rewriting the core with Better C (https://github.com/grpc/grpc/issues/15786). They answered that they won't rewrite it with Better C but they are ope

gRPC, Better C and D

2018-06-22 Thread Andre Pany via Digitalmars-d
Hi, the core of gRPC is written in C. I asked the developers whether they considered rewriting the core with Better C (https://github.com/grpc/grpc/issues/15786). They answered that they won't rewrite it with Better C but they are open for including D into their ecosystem. They have support fo

Re: Binderoo additional language support?

2018-05-06 Thread Andre Pany via Digitalmars-d
On Sunday, 6 May 2018 at 15:28:11 UTC, Ethan wrote: https://goo.gl/forms/DtKpuwOWR9V2TCnP2 Rapidly iterating my D code from C++ or .NET is great, but these are only two use cases that I know of. So. Let's see what other use cases are out there, and what are the most common ones. The link ab

Re: DUB: Only fetch and cache packages in dub.json without running build

2018-04-10 Thread Andre Pany via Digitalmars-d
On Tuesday, 10 April 2018 at 13:50:38 UTC, Clinton wrote: Hi all, I'm setting up a CircleCI config for my project. Right now I'm trying to cache dependencies before running builds. This way I can run "dub build --nodeps" immediately after the packages are cached to avoid extra network calls a

Re: code.dlang.org having problems?

2018-03-24 Thread Andre Pany via Digitalmars-d
On Saturday, 24 March 2018 at 16:14:20 UTC, rikki cattermole wrote: On 25/03/2018 5:10 AM, Russel Winder wrote: On Sun, 2018-03-25 at 04:50 +1300, rikki cattermole via Digitalmars-d wrote: On 25/03/2018 4:48 AM, Russel Winder wrote: It seems Dub is dead, and thus so are new Dub builds. code.d

Re: Please vote for Dub integration into Sonatype Nexus

2018-03-21 Thread Andre Pany via Digitalmars-d
On Wednesday, 21 March 2018 at 15:30:57 UTC, Russel Winder wrote: On Wed, 2018-03-21 at 11:49 +, Andre Pany via Digitalmars-d wrote: [...] […] [...] JFrog have Artifactory yes, but I do not know if Bintray is actually something different or just a public instance of Artifactory. In

Re: Please vote for Dub integration into Sonatype Nexus

2018-03-21 Thread Andre Pany via Digitalmars-d
On Wednesday, 21 March 2018 at 09:37:15 UTC, Russel Winder wrote: On Tue, 2018-03-20 at 18:55 +, Dmitry Olshansky via Digitalmars-d wrote: On Tuesday, 20 March 2018 at 06:48:15 UTC, Andre Pany wrote: > Hi, > > if you have by chance a Sonatype account please vote for > this issue to get Dub

Please vote for Dub integration into Sonatype Nexus

2018-03-19 Thread Andre Pany via Digitalmars-d
Hi, if you have by chance a Sonatype account please vote for this issue to get Dub integrated into Sonatype Nexus: https://issues.sonatype.org/browse/NEXUS-15560. Kind regards André

code.dlang.org: 500 - Internal Server Error

2018-03-15 Thread Andre Pany via Digitalmars-d
Hi, while searching, there is an internal server error raised: http://code.dlang.org/search?q=d-unit 500 - Internal Server Error Internal Server Error Internal error information: vibe.db.mongo.connection.MongoDriverException@../vibe.d/mongodb/vibe/db/mongo/cursor.d(304): Query failed. Does th

Re: D course material

2018-03-14 Thread Andre Pany via Digitalmars-d
On Tuesday, 13 March 2018 at 12:39:24 UTC, Dmitry Olshansky wrote: Hi, folks! I’m testing waters for a D course at one University for first time it’ll be an optional thing. It’s still discussed but may very well become a reality. Before you ask - no, I’m not lecturing and in fact, I didn’t

#dbugfix Issue 17607

2018-03-11 Thread Andre Pany via Digitalmars-d
The minimized example from John Colvin is more easily to understand the issue: https://issues.dlang.org/show_bug.cgi?id=17607#c1 Current assumption: Due to a compiler bug, superfluous () are needed. This becomes a readability issue if you have a struct initialization for complex structures lik

Re: Embedded Linux really needs Dlang for the IOT market

2018-03-08 Thread Andre Pany via Digitalmars-d
On Friday, 9 March 2018 at 03:09:16 UTC, dangbinghoo wrote: hi all, I think the D community should make more effort to make Dlang more easier to use on embedded Linux(mostly are arm and mips, powerpc). currently, LDC seems to be more complete, but we can only see a hundred words on the wiki

Re: Which language futures make D overcompicated?

2018-02-13 Thread Andre Pany via Digitalmars-d
On Tuesday, 13 February 2018 at 11:14:25 UTC, rikki cattermole wrote: On 13/02/2018 11:11 AM, Russel Winder wrote: On Tue, 2018-02-13 at 10:45 +, aberba via Digitalmars-d wrote: […] I wish complaints about Dub would include exactly what was impossible with it. There's no reason to throw

Re: Dscanner - DCD - Dfix ... Editor support or the lack of it.

2018-01-25 Thread Andre Pany via Digitalmars-d
On Thursday, 25 January 2018 at 15:20:15 UTC, Benny wrote: After months doing a different project, i need a programming language for a new client with specific needs. D comes to mind. As usual that involves downloading the compiler (dmd and ldc). [...] While the several tools out of the box

Please provide a channel for D ecosystem ideas

2018-01-20 Thread Andre Pany via Digitalmars-d
Hi, the GSOC wiki page inspired me to write this request. If I have an idea how the improve the D ecosystem but cannot do it myself, there is at the moment no good channel to provide this idea to someone other in the D community. Maybe someone other is searching for an opportunity to help the

Re: So what is the state of cross-compilation in D?

2018-01-17 Thread Andre Pany via Digitalmars-d
On Wednesday, 17 January 2018 at 12:06:23 UTC, Rel wrote: Well, to be completely honest with you the only one thing I like about the Go programming language is the ability to easily cross-compile your Go program from any supported OS to any supported OS. So I was wondering what is the story of c

Re: Dll support: testers needed

2018-01-09 Thread Andre Pany via Digitalmars-d
On Tuesday, 9 January 2018 at 18:32:24 UTC, Benjamin Thaut wrote: Am 09.01.2018 um 16:03 schrieb Andre Pany: [...] First let me say that what you are describing is a very uncommon and ill-advised use case. As such there is not going to be any nice to use workflow to acieve what you are tryin

Re: Dll support: testers needed

2018-01-09 Thread Andre Pany via Digitalmars-d
On Tuesday, 9 January 2018 at 14:43:43 UTC, Benjamin Thaut wrote: Am 09.01.2018 um 12:02 schrieb MrSmith: Is it possible to put common code in exe, and use that code from dlls? Or anything can be exported only by dll? You can only export from dlls. I don't know of any use case where exporting

Re: How do you use D?

2018-01-06 Thread Andre Pany via Digitalmars-d
On Thursday, 4 January 2018 at 15:52:15 UTC, Andre Pany wrote: On Friday, 28 July 2017 at 14:58:01 UTC, Ali wrote: 3) It is not possible to run DMD with the microsoft linker and libs without adapting the sc.ini. That is a pain! In the build infrastructure I can only use the dmd zip archive and

Re: How do you use D?

2018-01-06 Thread Andre Pany via Digitalmars-d
On Friday, 5 January 2018 at 00:38:05 UTC, Laeeth Isharc wrote: On Thursday, 4 January 2018 at 15:52:15 UTC, Andre Pany wrote: On Friday, 28 July 2017 at 14:58:01 UTC, Ali wrote: [...] I am working for a german software company. There are various programming languages used. I created several

Re: How do you use D?

2018-01-04 Thread Andre Pany via Digitalmars-d
On Friday, 28 July 2017 at 14:58:01 UTC, Ali wrote: While the Orgs using D page is very nice ... I hoping to hear more personal stories ... So How do you use D? In work, (key projects or smaller side projects) in your side project, (github, links please) just to learn something new? (I would e

Re: Best SQL library to use with local desktop app

2018-01-03 Thread Andre Pany via Digitalmars-d
On Wednesday, 3 January 2018 at 12:14:19 UTC, wakhshti wrote: what is best (SQLite?) @small @local @offline database library to use in D? and also what about a simple GUI library ? (once there was a library named DFL, but i never could get it to run). As you proposed SQLite makes sense. My

Re: code.dlang.org name collision

2017-12-21 Thread Andre Pany via Digitalmars-d
On Thursday, 21 December 2017 at 20:13:21 UTC, Steven Schveighoffer wrote: I think currently on code.dlang.org, if you create a library/program for use, it uses the name you choose as a unique identifier for your project. However, this seems rather open to abuse, or to unnecessary conflicts.

Re: Question on Dual-Licensing Some Code for Phobos

2017-12-02 Thread Andre Pany via Digitalmars-d
On Thursday, 30 November 2017 at 19:17:32 UTC, Jack Stouffer wrote: I'm starting work on a proposal for stdx.decimal, and one of the clearest implementations to work off of is the Python implementation. This however, poses a problem because Python's source is under the PSFL, a BSD-like permis

Re: String import an entire directory

2017-11-13 Thread Andre Pany via Digitalmars-d
On Monday, 13 November 2017 at 09:27:10 UTC, Adrian Matoga wrote: On Saturday, 11 November 2017 at 14:11:50 UTC, Neia Neutuladh wrote: At my job, I put together a database migration tool for our services. It scans for resources in your JAR file with an appropriate path, interprets them as SQL s

Re: Project Elvis

2017-11-11 Thread Andre Pany via Digitalmars-d
On Saturday, 11 November 2017 at 11:18:24 UTC, codephantom wrote: Yeah, integrating gui's into a programming language is complexthere are some gui kits for D in github, but none I find compelling at this stage - even though they're authors are doing a great job. It's not that it's too com

Re: Anticipate the usage of Visual Studio 2017 Developer Command Prompt?

2017-11-04 Thread Andre Pany via Digitalmars-d
On Saturday, 4 November 2017 at 09:39:02 UTC, Rainer Schuetze wrote: On 03.11.2017 21:51, Andre Pany wrote: On Friday, 3 November 2017 at 11:52:10 UTC, Andre Pany wrote: [...] I have an idea which solves several problems. Current state: The dmd windows archive has a folder "bin" with a 32

Re: Anticipate the usage of Visual Studio 2017 Developer Command Prompt?

2017-11-03 Thread Andre Pany via Digitalmars-d
On Friday, 3 November 2017 at 11:52:10 UTC, Andre Pany wrote: Hi, Visual Studio has a batch file which sets all needed environment variables for the Microsoft linker (LIB environment variables points to all necessary folders). Even the folder containing the link.exe for the specified architec

Anticipate the usage of Visual Studio 2017 Developer Command Prompt?

2017-11-03 Thread Andre Pany via Digitalmars-d
Hi, Visual Studio has a batch file which sets all needed environment variables for the Microsoft linker (LIB environment variables points to all necessary folders). Even the folder containing the link.exe for the specified architecture (x86, amd64) is added to the path variable as first path.

Re: Note from a donor

2017-10-29 Thread Andre Pany via Digitalmars-d
On Wednesday, 25 October 2017 at 22:46:27 UTC, Adam Wilson wrote: On 10/25/17 11:23, H. S. Teoh wrote: On Wed, Oct 25, 2017 at 08:17:21AM -0600, Jonathan M Davis via Digitalmars-d wrote: [...] [...] Yeah. There have been timing attacks against otherwise-secure crypto algorithms that allow e

Re: Note from a donor

2017-10-26 Thread Andre Pany via Digitalmars-d
On Thursday, 26 October 2017 at 15:50:07 UTC, Andrei Alexandrescu wrote: On 10/26/2017 08:36 AM, jmh530 wrote: [...] I am preparing a request for Microsoft to allow us to redistribute some of their binaries. Of course we want to do that only if deemed necessary (they are not available easily

Re: Note from a donor

2017-10-25 Thread Andre Pany via Digitalmars-d
On Wednesday, 25 October 2017 at 04:55:16 UTC, Walter Bright wrote: On 10/24/2017 6:20 AM, Andrei Alexandrescu wrote: * better dll support for Windows. It's been there, but it breaks repeatedly because it is not in the test suite. Yes that is right. One of these issues is the Runtime.unload

Re: Note from a donor

2017-10-24 Thread Andre Pany via Digitalmars-d
On Tuesday, 24 October 2017 at 20:27:26 UTC, Adam Wilson wrote: On 10/24/17 07:14, Kagamin wrote: On Tuesday, 24 October 2017 at 13:20:10 UTC, Andrei Alexandrescu wrote: * RSA Digital Signature Validation in Phobos https://issues.dlang.org/show_bug.cgi?id=16510 the blocker for botan was OMF

Re: AWS SDK

2017-10-18 Thread Andre Pany via Digitalmars-d
On Wednesday, 18 October 2017 at 20:19:20 UTC, ikod wrote: Hello, On Wednesday, 18 October 2017 at 20:05:28 UTC, Andre Pany wrote: On Wednesday, 18 October 2017 at 19:28:30 UTC, aberba wrote: The implementation is straight forward. For every api definition (e.g. https://github.com/aws/aws-sdk

Re: AWS SDK

2017-10-18 Thread Andre Pany via Digitalmars-d
On Wednesday, 18 October 2017 at 19:28:30 UTC, aberba wrote: What's up with proprietary stuff in this? At least give us the setup for us to generate the apis on our own if you have your private stuff in there. I have been waiting for a D AWS SDK for "years"... At least any cloud SDK. The genera

Re: AWS SDK

2017-10-18 Thread Andre Pany via Digitalmars-d
On Wednesday, 18 October 2017 at 01:32:51 UTC, Ky-Anh Huynh wrote: On Tuesday, 28 June 2016 at 00:36:31 UTC, Brad Roberts wrote: On 6/27/16 10:53 AM, Brad Roberts via Digitalmars-d wrote: On 6/26/2016 4:06 PM, Jadbox via Digitalmars-d wrote: [...] I have some old code here: https://git

[your code here] Print Hex Dump issue

2017-09-16 Thread Andre Pany via Digitalmars-d
Hi, I just tried the print hex dump example. The output is: Application output (1: ) Compilation output: Program's output exceeds limit of 4096 bytes. Program's output exceeds limit of 4096 bytes. Maybe a smaller file could be used (currently the exe file itself is used). Or the limit could b

Re: D-Man emoji

2017-09-12 Thread Andre Pany via Digitalmars-d
On Monday, 11 September 2017 at 23:01:06 UTC, Walter Bright wrote: Here are some D-Man cartoons: https://github.com/dlang/dlang.org/pull/1648 which we sometimes use to decorate D related web pages: http://dlang.org/safed.html http://dlang.org/dstyle.html It seems we are under-utilizing our m

Re: Need some vibe.d hosting advice

2017-08-12 Thread Andre Pany via Digitalmars-d
On Saturday, 12 August 2017 at 08:49:44 UTC, Paolo Invernizzi wrote: On Friday, 11 August 2017 at 13:06:54 UTC, aberba wrote: So I'm into this platform with a vibe.d api server + back-end and I'm confused/curious to know the hosting package to use. I will have a lot of images uploaded by users.

Re: Need some vibe.d hosting advice

2017-08-11 Thread Andre Pany via Digitalmars-d
On Friday, 11 August 2017 at 13:06:54 UTC, aberba wrote: So I'm into this platform with a vibe.d api server + back-end and I'm confused/curious to know the hosting package to use. I will have a lot of images uploaded by users. 1. For sometime, I've been looking at heroku which is fine with it

Re: DMD license question

2017-08-08 Thread Andre Pany via Digitalmars-d
On Tuesday, 8 August 2017 at 14:28:30 UTC, meppl wrote: On Monday, 7 August 2017 at 21:28:52 UTC, Andre Pany wrote: Hi, as DMD is now under Boost Software License, can I distribute it as part of my commercial product? I want to provide script support within my application. The idea is to co

Re: Who here uses vibe-s3 from code.dlang.org?

2017-08-08 Thread Andre Pany via Digitalmars-d
On Monday, 7 August 2017 at 22:46:57 UTC, aberba wrote: vibe-s3 (https://code.dlang.org/packages/vibe-s3) is an Amazon s3 object storage API for D. Has anyone here used or tested it? What was your experiences? It has the tagline "this library is highly alpha and mostly untested. use at your o

Re: DMD license question

2017-08-08 Thread Andre Pany via Digitalmars-d
On Monday, 7 August 2017 at 21:56:01 UTC, Joakim wrote: On Monday, 7 August 2017 at 21:28:52 UTC, Andre Pany wrote: [...] Yes, the idea of the Boost Software License is that you don't have to ask such questions. Boost allows you to do anything you want with the source, whether embedding, mo

DMD license question

2017-08-07 Thread Andre Pany via Digitalmars-d
Hi, as DMD is now under Boost Software License, can I distribute it as part of my commercial product? I want to provide script support within my application. The idea is to compile the scripts (D coding) to shared libraries and load the shared libraries into the main program. Kind regards

Re: [your code here] HexViewer

2017-08-02 Thread Andre Pany via Digitalmars-d
On Wednesday, 2 August 2017 at 22:02:49 UTC, Vladimir Panteleev wrote: On Wednesday, 2 August 2017 at 21:59:23 UTC, Vladimir Panteleev wrote: Good idea! But I think it needs more ranges: The format call can be substituted with writefln directly: void main(string[] args) { import std.algor

[your code here] HexViewer

2017-08-02 Thread Andre Pany via Digitalmars-d
This application opens the file passed as argument and display the content in hex and text format: 00 00 03 00 00 00 64 00 00 00 FF 56 01 00 00 70 .....d... V..p 02 00 FF A6 00 00 00 20 02 00 00 00 00 00 00 00. ª... ... 00 00 00 00 00 00 00 00 00 00 00 00...

Re: Annoying module name / typename conflict

2017-07-16 Thread Andre Pany via Digitalmars-d
On Sunday, 16 July 2017 at 09:01:46 UTC, kdevel wrote: On Monday, 2 April 2012 at 22:20:13 UTC, bearophile wrote: For DMD choosing one or the other is arbitrary. It's a defect of the way the D module system is designed. Ran into that problem with a Module S containing module S; import

Re: Dub

2017-06-23 Thread Andre Pany via Digitalmars-d
On Friday, 23 June 2017 at 10:38:23 UTC, Russel Winder wrote: 350 issues, 42 pull requests. I have to admit I am shocked. After looking at the dub code I have to say the code is well written and well structured. That makes it easy for the community to help solving bugs. My gut feeling is so

Re: Please provide DMD as 64 executable

2017-05-21 Thread Andre Pany via Digitalmars-d
On Sunday, 21 May 2017 at 01:29:58 UTC, Laeeth Isharc wrote: On Friday, 19 May 2017 at 10:38:56 UTC, Andre Pany wrote: Should I file an issue for providing the 64 build of dmd on windows? As 64 bit is the default on the other platforms it should be available for windows too by default. Kind r

Re: Please provide DMD as 64 executable

2017-05-19 Thread Andre Pany via Digitalmars-d
On Thursday, 18 May 2017 at 17:05:49 UTC, Vladimir Panteleev wrote: On Thursday, 18 May 2017 at 13:41:21 UTC, Andre Pany wrote: One issue is that digger does not support proxies If the problem is about git:// URLs, you can configure Git to use https:// instead of git:// globally: https://git

Please provide DMD as 64 executable

2017-05-18 Thread Andre Pany via Digitalmars-d
Hi, is it possible to provide dmd as 64 download too for windows? I generated out of the Amazon Web Services API definitions D source code and always get this error message: "Fatal Error: Out of memorydmd failed with exit code 1." (There is really a space missing in the error text). I alread

Re: Low hanging fruit: dub git integration

2017-05-16 Thread Andre Pany via Digitalmars-d
On Wednesday, 17 May 2017 at 01:54:20 UTC, rikki cattermole wrote: I've built a prototype UI[1] for some code[0] to solve this exact problem. It may seem complex, but you can't rely on HTTP download options for easy access to repositories. I would appreciate anyone taking the time to do th

Re: Low hanging fruit: dub git integration

2017-05-16 Thread Andre Pany via Digitalmars-d
On Tuesday, 16 May 2017 at 19:41:32 UTC, Brad Anderson wrote: On Tuesday, 16 May 2017 at 18:10:52 UTC, Andre Pany wrote: Hi, While integrating the git protocol into dub is complex, there is a much much easier solution. Github and bitbucket provides access to the source code, including relea

Low hanging fruit: dub git integration

2017-05-16 Thread Andre Pany via Digitalmars-d
Hi, While integrating the git protocol into dub is complex, there is a much much easier solution. Github and bitbucket provides access to the source code, including releases, branches and commits as archive files using the http protocol. Without counting the actual unzip/untar coding I ass

Re: Concerns about using struct initializer in UDA?

2017-05-12 Thread Andre Pany via Digitalmars-d
On Friday, 12 May 2017 at 19:33:52 UTC, ag0aep6g wrote: On 05/12/2017 09:01 PM, Andre Pany wrote: [...] [...] [...] [...] [...] You can create the attribute separately: enum Field a = { locationName: "B" }; @a int c; Or if avoiding the extra symbol is more important than beauty,

Re: Concerns about using struct initializer in UDA?

2017-05-12 Thread Andre Pany via Digitalmars-d
On Friday, 12 May 2017 at 10:25:07 UTC, Seb wrote: On Friday, 12 May 2017 at 10:13:02 UTC, Andre Pany wrote: Does it make sense to open a DIP? It would make UDA quite nice to use if you can group several attributes into a struct. Or someone know whether there are already known issues why it i

Re: Concerns about using struct initializer in UDA?

2017-05-12 Thread Andre Pany via Digitalmars-d
On Friday, 12 May 2017 at 10:23:34 UTC, Nicholas Wilson wrote: On Thursday, 11 May 2017 at 10:49:58 UTC, Andre Pany wrote: Hi, I know there are concerns about struct initialization in method calls but what is about struct initializer in UDA? Scenario: I want to set several UDA values. At the

Re: Concerns about using struct initializer in UDA?

2017-05-12 Thread Andre Pany via Digitalmars-d
On Thursday, 11 May 2017 at 11:57:01 UTC, Stefan Koch wrote: On Thursday, 11 May 2017 at 11:36:17 UTC, Andre Pany wrote: On Thursday, 11 May 2017 at 10:51:09 UTC, Stefan Koch wrote: On Thursday, 11 May 2017 at 10:49:58 UTC, Andre Pany wrote: [...] We have that syntax already. I do not unde

Re: Concerns about using struct initializer in UDA?

2017-05-11 Thread Andre Pany via Digitalmars-d
On Thursday, 11 May 2017 at 10:51:09 UTC, Stefan Koch wrote: On Thursday, 11 May 2017 at 10:49:58 UTC, Andre Pany wrote: Hi, I know there are concerns about struct initialization in method calls but what is about struct initializer in UDA? Scenario: I want to set several UDA values. At the m

Concerns about using struct initializer in UDA?

2017-05-11 Thread Andre Pany via Digitalmars-d
Hi, I know there are concerns about struct initialization in method calls but what is about struct initializer in UDA? Scenario: I want to set several UDA values. At the moment I have to create for each value a structure with exactly 1 field. But it would be quite nice if I could use struct

Re: dubs: Getting into the Node scripts market

2017-05-03 Thread Andre Pany via Digitalmars-d
On Wednesday, 3 May 2017 at 12:16:30 UTC, rikki cattermole wrote: Actually there is a special syntax that is also used for shebang style scripts: `dub app.d arg1 arg2` is equivalent to `dub --quiet --temp-build --single app.d -- arg1 arg2`. It seems like the command line help wasn't really upd

dubs: Getting into the Node scripts market

2017-05-03 Thread Andre Pany via Digitalmars-d
Hi, it would be great if we can position D as replacement of Node scripts. With the --single argument of Dub we have almost everything we need in this scenario. But one thing is very odd. If you want to execute the app.d source file with dub you have to write: dub --single app.d - You have

Re: DConf Hackathon Ideas

2017-05-01 Thread Andre Pany via Digitalmars-d
On Thursday, 27 April 2017 at 22:57:48 UTC, Moritz Maxeiner wrote: On Thursday, 27 April 2017 at 19:55:44 UTC, Andre Pany wrote: On Thursday, 27 April 2017 at 17:47:19 UTC, Moritz Maxeiner wrote: [...] As workaround this is possible. Every developer and in every continious integration build

Re: DConf Hackathon Ideas

2017-04-27 Thread Andre Pany via Digitalmars-d
On Thursday, 27 April 2017 at 17:47:19 UTC, Moritz Maxeiner wrote: On Thursday, 27 April 2017 at 17:06:39 UTC, Andre Pany wrote: Another big issue for me is using dub in a company. Big companies do not want to use the official dub repository due to security issues. They want to run their own

Re: DConf Hackathon Ideas

2017-04-27 Thread Andre Pany via Digitalmars-d
On Thursday, 27 April 2017 at 14:53:02 UTC, Mike Parker wrote: This year, DConf has an extra day tacked on for problem solving in the form of a hackathon. The intent is to work on issues people find frustrating in the D ecosystem. While there will be time given at the event for proposals, and t

Re: Decimal/Currency Type

2016-08-09 Thread Andre Pany via Digitalmars-d
On Tuesday, 9 August 2016 at 10:48:50 UTC, Zane wrote: Is there such a thing build into D? If not, is there any plans to add it? It seems like this would be something needed by many applications (especially anything dealing with currency). Hi, the lack of a decimal type in Phobos is known a

Re: Call to Action: making Phobos @safe

2016-06-26 Thread Andre Pany via Digitalmars-d
On Saturday, 25 June 2016 at 22:44:37 UTC, Walter Bright wrote: Andrei identified a key blocker for D adoption is the incomplete implementation of @safe. I'm working on the compiler end. But Phobos has a lot of code that is pointlessly not @safe, making it frustrating to write @safe code that c

Re: Cross platform android ldc compiler

2016-06-18 Thread Andre Pany via Digitalmars-d
On Saturday, 18 June 2016 at 11:05:58 UTC, Jacob Carlborg wrote: On 2016-06-17 13:48, Andre Pany wrote: I think of a docker image containing ldc and all necessary dependencies for compiling an android/ios application. I think it's only possible to compile iOS applications on OS X and it's n

Re: Cross platform android ldc compiler

2016-06-17 Thread Andre Pany via Digitalmars-d
On Friday, 17 June 2016 at 12:26:18 UTC, Gerald wrote: On Friday, 17 June 2016 at 11:48:23 UTC, Andre Pany wrote: Hi, I want to share an idea with you. I do not know how far I will come myself with this idea due to my lack of linux and ldc knowledge. There is a great virtualization tool call

Cross platform android ldc compiler

2016-06-17 Thread Andre Pany via Digitalmars-d
Hi, I want to share an idea with you. I do not know how far I will come myself with this idea due to my lack of linux and ldc knowledge. There is a great virtualization tool called docker. With this tool it is possible to create images of software tools. This images will run out of the box o

Re: 10 lesser known languages, but no dlang?

2016-06-08 Thread Andre Pany via Digitalmars-d
On Wednesday, 8 June 2016 at 10:08:11 UTC, Ola Fosheim Grøstad wrote: http://programmingzen.com/2016/06/07/10-lesser-known-programming-languages-worth-exploring/ Maybe someone feel the inspiration to add a thoughtful comment in the comment-section on the article with a pointer to dlang.org?

Re: Andrei's list of barriers to D adoption

2016-06-06 Thread Andre Pany via Digitalmars-d
On Tuesday, 7 June 2016 at 05:38:25 UTC, H. S. Teoh wrote: On Tue, Jun 07, 2016 at 05:39:37AM +, ketmar via Digitalmars-d wrote: On Monday, 6 June 2016 at 05:49:53 UTC, Ethan Watson wrote: > Echoing the need for decimal support. I won't use it myself, > but I know it's critical for finance.

Re: Andrei's list of barriers to D adoption

2016-06-06 Thread Andre Pany via Digitalmars-d
On Monday, 6 June 2016 at 22:21:45 UTC, jmh530 wrote: On Monday, 6 June 2016 at 21:28:14 UTC, Walter Bright wrote: The reason is that otherwise, you've just limited your apps to handling a maximum amount of $21,474,836.48. I wouldn't mind running into that problem :-) It's really not that

Re: Andrei's list of barriers to D adoption

2016-06-06 Thread Andre Pany via Digitalmars-d
On Monday, 6 June 2016 at 06:29:27 UTC, Andrei Alexandrescu wrote: On 6/6/16 6:17 AM, Andre Pany wrote: to be usable for companies which want to create economic software, in my opinion D lacks std.decimal. Do C, C++, Java, Go, or Rust have a standard decimal type? -- Andrei With java 7 the

Re: Andrei's list of barriers to D adoption

2016-06-05 Thread Andre Pany via Digitalmars-d
On Monday, 6 June 2016 at 02:20:52 UTC, Walter Bright wrote: Andrei posted this on another thread. I felt it deserved its own thread. It's very important. - I go to conferences. Train and consult at large companies. Doz

Benjamin Thaut's talk: D's Import and Export Business

2016-05-19 Thread Andre Pany via Digitalmars-d
Hi, after looking Benjamins talk I took some time to think about it. Benjamin made some effort towards a sophisticated DLL suppport for D. What I understand: He won't push his changes until "export" will become an attribute. But without his changes there is no need to change the semantic of