Re: My first experience as a D Newbie

2017-10-12 Thread Vadim Lopatin via Digitalmars-d
On Friday, 13 October 2017 at 00:45:53 UTC, Dennis Cote wrote: On Thursday, 12 October 2017 at 07:48:09 UTC, Vadim Lopatin wrote: Could you please submit issue on https://github.com/buggins/dlangide/issues Done. https://github.com/buggins/dlangide/issues/349 Thank you! Could you please

Re: My first experience as a D Newbie

2017-10-12 Thread Vadim Lopatin via Digitalmars-d
On Friday, 13 October 2017 at 06:01:25 UTC, Vadim Lopatin wrote: On Friday, 13 October 2017 at 00:45:53 UTC, Dennis Cote wrote: On Thursday, 12 October 2017 at 07:48:09 UTC, Vadim Lopatin wrote: Could you please submit issue on https://github.com/buggins/dlangide/issues Done. https

Re: My first experience as a D Newbie

2017-10-12 Thread Vadim Lopatin via Digitalmars-d
On Thursday, 12 October 2017 at 03:50:31 UTC, Dennis Cote wrote: On Thursday, 12 October 2017 at 01:26:33 UTC, jmh530 wrote: You have to fetch it first if you don't already have it: dub fetch dlangide dub run dlangide Of course, you might still have an issue... I still have an issue on macOS

Re: My first experience as a D Newbie

2017-10-12 Thread Vadim Lopatin via Digitalmars-d
On Thursday, 12 October 2017 at 05:02:40 UTC, Dennis Cote wrote: On Thursday, 12 October 2017 at 03:50:31 UTC, Dennis Cote wrote: This time it runs but displays a window full of micro sized text and icons. It is barely readable. I figured out dlangide assumes a DPI setting of 96 which creates

Re: Simple web server benchmark - vibe.d is slower than node.js and Go?

2017-09-25 Thread Vadim Lopatin via Digitalmars-d
On Monday, 25 September 2017 at 08:01:02 UTC, tchaloupka wrote: On Monday, 25 September 2017 at 07:05:57 UTC, Vadim Lopatin wrote: On Monday, 25 September 2017 at 06:56:58 UTC, Vadim Lopatin wrote: On Sunday, 24 September 2017 at 22:54:11 UTC, Sönke Ludwig wrote: How on earth can that be

Re: Simple web server benchmark - vibe.d is slower than node.js and Go?

2017-09-25 Thread Vadim Lopatin via Digitalmars-d
On Monday, 25 September 2017 at 06:56:58 UTC, Vadim Lopatin wrote: On Sunday, 24 September 2017 at 22:54:11 UTC, Sönke Ludwig wrote: How on earth can that be unfair when the Go, node.js and Scala versions appear to use multi-threading, too? Looks like repo owner thinks they are single

Re: Simple web server benchmark - vibe.d is slower than node.js and Go?

2017-09-25 Thread Vadim Lopatin via Digitalmars-d
On Sunday, 24 September 2017 at 22:54:11 UTC, Sönke Ludwig wrote: How on earth can that be unfair when the Go, node.js and Scala versions appear to use multi-threading, too? Looks like repo owner thinks they are single threaded.

Re: Simple web server benchmark - vibe.d is slower than node.js and Go?

2017-09-24 Thread Vadim Lopatin via Digitalmars-d
On Friday, 22 September 2017 at 09:40:00 UTC, Sönke Ludwig wrote: What's was the last status? Could you observe any meaningful thread scaling? It works for me - multithreading improves performance on my PC. So far, test results on https://github.com/nuald/simple-web-benchmark show that D is 2

Re: Simple web server benchmark - vibe.d is slower than node.js and Go?

2017-09-22 Thread Vadim Lopatin via Digitalmars-d
On Thursday, 21 September 2017 at 19:40:48 UTC, bitwise wrote: On Thursday, 21 September 2017 at 18:55:04 UTC, Vadim Lopatin It does. But Golang uses them, too. Goroutines. Indeed. I'm reading about them right now, and they seem to be "multiplexed". I wonder if Vibe.d does so

Re: Simple web server benchmark - vibe.d is slower than node.js and Go?

2017-09-21 Thread Vadim Lopatin via Digitalmars-d
On Thursday, 21 September 2017 at 18:49:00 UTC, bitwise wrote: On Thursday, 21 September 2017 at 08:01:23 UTC, Vadim Lopatin wrote: There is a simple set of simple web server apps written in several languages (Go, Rust, Scala, Node-js): https://github.com/nuald/simple-web-benchmark I've

Re: Simple web server benchmark - vibe.d is slower than node.js and Go?

2017-09-21 Thread Vadim Lopatin via Digitalmars-d
On Thursday, 21 September 2017 at 17:13:16 UTC, Daniel Kozak wrote: Ok, maybe there is a some small improvments, but it is nothing what would make this faster than rust and still undere 30K on my pc More test results: On my Win10 PC, DMD/x86/libevent:27-29K, Go:31-33K

Re: Simple web server benchmark - vibe.d is slower than node.js and Go?

2017-09-21 Thread Vadim Lopatin via Digitalmars-d
On Thursday, 21 September 2017 at 13:46:49 UTC, Daniel Kozak wrote: Ok, after some more testing it seems it is almost sema with or without VibeManualMemoryManagement Do you see any benefits from using LDC instead of DMD?

Re: Simple web server benchmark - vibe.d is slower than node.js and Go?

2017-09-21 Thread Vadim Lopatin via Digitalmars-d
On Thursday, 21 September 2017 at 13:09:33 UTC, Daniel Kozak wrote: wrong version, this is my letest version: https://paste.ofcode.org/qWsQikdhKiAywgBpKwANFR Thank you! Updated.

Re: Simple web server benchmark - vibe.d is slower than node.js and Go?

2017-09-21 Thread Vadim Lopatin via Digitalmars-d
On Thursday, 21 September 2017 at 10:21:17 UTC, Sönke Ludwig wrote:     shared static this()     {     (...)     } BTW, I'd recommend using void main() { (...) runApplication(); } instead and dropping the VibeDefaultMain version in the package recipe. The

Re: Simple web server benchmark - vibe.d is slower than node.js and Go?

2017-09-21 Thread Vadim Lopatin via Digitalmars-d
On Thursday, 21 September 2017 at 08:18:51 UTC, Suliman wrote: Can it be issue with regex speed? auto reg = ctRegex!"^/greeting/([a-z]+)$"; Did you try without it? Regex is used for request paths like "/greeting/username" and not used for path "/" There is no big slowdown caused by regex. 4

Simple web server benchmark - vibe.d is slower than node.js and Go?

2017-09-21 Thread Vadim Lopatin via Digitalmars-d
There is a simple set of simple web server apps written in several languages (Go, Rust, Scala, Node-js): https://github.com/nuald/simple-web-benchmark I've sent PR to include D benchmark (vibe.d). I was hoping it could show performance at least not worse than other languages. But it appears

Re: Deimos X11 bindings license question

2017-09-12 Thread Vadim Lopatin via Digitalmars-d
On Tuesday, 12 September 2017 at 17:30:42 UTC, Basile B. wrote: On Monday, 11 September 2017 at 12:36:50 UTC, Vadim Lopatin wrote: On Monday, 4 September 2017 at 17:54:36 UTC, Vadim Lopatin wrote: Contributors to DUB package nomad-software/x11 nomad-software weltensturm Geod24 MartinNowak

Re: Deimos X11 bindings license question

2017-09-11 Thread Vadim Lopatin via Digitalmars-d
On Monday, 11 September 2017 at 13:41:39 UTC, rikki cattermole wrote: Needs more work but... https://github.com/Devisualization/spew/tree/master/src/utils/cf/spew/bindings/x11 yeah. Have you created this binding yourself w/o using of Deimos code?

Re: Deimos X11 bindings license question

2017-09-11 Thread Vadim Lopatin via Digitalmars-d
On Monday, 4 September 2017 at 17:54:36 UTC, Vadim Lopatin wrote: Contributors to DUB package nomad-software/x11 nomad-software weltensturm Geod24 MartinNowak BBasile rikkimax Additionally, contributors to Deimos/libX11 growlercab bioinfornatics skilion CyberShadow Faianca Flamaros

Re: dub projects generate docs and host on code.dlang.org?

2017-09-06 Thread Vadim Lopatin via Digitalmars-d
On Monday, 4 September 2017 at 10:47:47 UTC, Manu wrote: I've seen a lot of dub projects with embedded ddoc that follows phobos example. These projects are then hosted on code.dlang.org, but often, the docs are never generated and hosted anywhere. In the event they are, links to docs are ad-ho

Re: Deimos X11 bindings license question

2017-09-06 Thread Vadim Lopatin via Digitalmars-d
On Wednesday, 6 September 2017 at 10:14:02 UTC, Kagamin wrote: On Wednesday, 6 September 2017 at 10:05:18 UTC, Vadim Lopatin wrote: Unlike LGPL for which you can create closed source apps if library is linked dynamically, the only way to use derelict binding with LGPL license is GPL compatible

Re: Deimos X11 bindings license question

2017-09-06 Thread Vadim Lopatin via Digitalmars-d
On Wednesday, 6 September 2017 at 09:23:33 UTC, Kagamin wrote: On Sunday, 3 September 2017 at 16:10:11 UTC, Gary Willoughby wrote: My question, is there a legal way to change the current license to Boost or MIT or something like? Because this particular developer wanted to use it in a project w

Re: dub projects generate docs and host on code.dlang.org?

2017-09-04 Thread Vadim Lopatin via Digitalmars-d
On Monday, 4 September 2017 at 10:47:47 UTC, Manu wrote: I've seen a lot of dub projects with embedded ddoc that follows phobos example. These projects are then hosted on code.dlang.org, but often, the docs are never generated and hosted anywhere. In the event they are, links to docs are ad-ho

Re: Deimos X11 bindings license question

2017-09-04 Thread Vadim Lopatin via Digitalmars-d
On Sunday, 3 September 2017 at 16:51:53 UTC, Mike Parker wrote: On Sunday, 3 September 2017 at 16:10:11 UTC, Gary Willoughby wrote: Hi, A few years ago I forked the Deimos X11 bindings[1] repo to add dub support. Since then my repo[2] has received bug fixes and as such it's being used in many

Re: Editor recommendations for new users.

2017-08-30 Thread Vadim Lopatin via Digitalmars-d
On Tuesday, 29 August 2017 at 08:15:08 UTC, Vadim Lopatin wrote: On Sunday, 27 August 2017 at 10:05:29 UTC, Nicholas Wilson wrote: So I will be doing a workshop on programming for the biology department at my university and I was wondering what would best suit the users. The following are a

Re: Events in D

2017-08-29 Thread Vadim Lopatin via Digitalmars-d
On Tuesday, 29 August 2017 at 05:10:25 UTC, bitwise wrote: I needed some C# style events, so I rolled my own. Long story short, the result was unsatisfactory. Library based events are inadequate for basically the same reasons as library based properties (often suggested/attempted in C++). The

Re: Editor recommendations for new users.

2017-08-29 Thread Vadim Lopatin via Digitalmars-d
On Sunday, 27 August 2017 at 10:05:29 UTC, Nicholas Wilson wrote: So I will be doing a workshop on programming for the biology department at my university and I was wondering what would best suit the users. The following are a must: support windows & mac ( the more consistent between the t

Re: Jetbrains announce support for rust plugin, show them we want one too!

2017-08-11 Thread Vadim Lopatin via Digitalmars-d
On Friday, 11 August 2017 at 11:34:44 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 9 August 2017 at 07:59:46 UTC, Ryion wrote: this here because its obvious pattern. I agree that this seems to be a very small community and it is hard to get things done in a small community. But it is counter p

Re: "I made a game using Rust"

2017-05-11 Thread Vadim Lopatin via Digitalmars-d
On Wednesday, 10 May 2017 at 12:52:34 UTC, JN wrote: Interesting thread I got from Reddit, someone made a game for PC and mobiles fully in Rust. https://michaelfairley.com/blog/i-made-a-game-in-rust/ "Last week, I released A Snake’s Tale on iOS, Android, Windows, Mac, and Linux.". I wonder,

Re: Gui in D: I miss this project

2017-01-17 Thread Vadim Lopatin via Digitalmars-d
On Monday, 16 January 2017 at 07:38:31 UTC, Jacob Carlborg wrote: On 2017-01-16 07:28, Vadim Lopatin wrote: Windows support in DlangUI is not native since it does not use native controls. DlangUI draws widgets itself on all platforms. But on Win32 it's possible to build app which uses

Re: Gui in D: I miss this project

2017-01-15 Thread Vadim Lopatin via Digitalmars-d
On Saturday, 14 January 2017 at 10:58:38 UTC, Dukc wrote: Which platforms do dlangui work on? It's console feature is cool, I do that with terminal.d rather than simpledisplay.d. I guess the other difference is probably Mac, I only support it there with the X11 thing installed, which Apple no

Re: Gui in D: I miss this project

2017-01-15 Thread Vadim Lopatin via Digitalmars-d
On Friday, 13 January 2017 at 22:55:03 UTC, Adam D. Ruppe wrote: On Friday, 13 January 2017 at 20:11:08 UTC, Dukc wrote: Does not work on as many platforms as DlangUI, trough. Which platforms do dlangui work on? It's console feature is cool, I do that with terminal.d rather than simpledispla

Re: Gui in D: I miss this project

2017-01-13 Thread Vadim Lopatin via Digitalmars-d
On Wednesday, 11 January 2017 at 15:56:46 UTC, Chris Wright wrote: On Wed, 11 Jan 2017 07:21:22 +, thedeemon wrote: If you need some GUI, DLangUI is just a "dub build" away. How does DLangUI do with screen readers and magnifiers? From what I'm seeing, neither GTK+ nor Qt work with screen

Re: Replace/Rename DWT forum with GUIs forum?

2016-10-26 Thread Vadim Lopatin via Digitalmars-d
On Sunday, 18 September 2016 at 23:21:26 UTC, Gerald wrote: I would like to suggest that the existing DWT forum be renamed or replaced with a more generic GUIs forum. As far as I can tell, the DWT forum doesn't get much traffic these days and I don't believe any of the current GUI options for D

Re: Replace/Rename DWT forum with GUIs forum?

2016-09-21 Thread Vadim Lopatin via Digitalmars-d
On Sunday, 18 September 2016 at 23:21:26 UTC, Gerald wrote: I would like to suggest that the existing DWT forum be renamed or replaced with a more generic GUIs forum. As far as I can tell, the DWT forum doesn't get much traffic these days and I don't believe any of the current GUI options for D

Re: Why D is not popular enough?

2016-08-22 Thread Vadim Lopatin via Digitalmars-d
On Monday, 22 August 2016 at 07:05:01 UTC, Shachar Shemesh wrote: On 22/08/16 09:31, Vadim Lopatin wrote: On Friday, 12 August 2016 at 19:29:42 UTC, Shachar Shemesh - No RAII support, despite the fact everybody here seems to think that D supports RAII. Shachar There IS RAII in D. I'm

Re: Why D is not popular enough?

2016-08-21 Thread Vadim Lopatin via Digitalmars-d
On Friday, 12 August 2016 at 19:29:42 UTC, Shachar Shemesh wrote: I'll give some highlights, but those are, mostly, things that I've already listed in this forum and in my lightening talk. - No RAII support, despite the fact everybody here seems to think that D supports RAII. Shachar There

Re: Using electron for IDE development

2016-07-05 Thread Vadim Lopatin via Digitalmars-d
On Monday, 4 July 2016 at 18:25:51 UTC, tcak wrote: As far as I known, and FEEL, one of the biggest problems of IDE development is cross platform user interface development. I'm working on cross-platform D IDE based on cross-platform GUI library. Works on Linux, Windows, OSX, and may be easy p

Re: Andrei's list of barriers to D adoption

2016-06-06 Thread Vadim Lopatin via Digitalmars-d
On Monday, 6 June 2016 at 08:21:22 UTC, ketmar wrote: On Monday, 6 June 2016 at 08:15:42 UTC, Russel Winder wrote: 3. Have one lightweight D realized cross platform IDE. by the way, Buggins has dlangIDE written with his dlangUI package. it is cross-platform, has debugger support, and written i

Re: the most D-ish GUI library

2016-03-19 Thread Vadim Lopatin via Digitalmars-d
On Wednesday, 16 March 2016 at 19:56:42 UTC, Saša Janiška wrote: What about integration with Mac OS, iirc, it has some (strange to me) habit of stealing app's functions and display them as system function or something (I recall trying to finish some video work on friend's laptop using Premiere

Re: the most D-ish GUI library

2016-03-16 Thread Vadim Lopatin via Digitalmars-d
On Tuesday, 15 March 2016 at 22:26:15 UTC, Karabuta wrote: DlangUI has a nice API design but still need serious design and art work to catch up with Gtk 3.18 - 2.0 in terms of UI look and feel. I also find that it just have basic widgets. With Gtk you have Switch, Stack, Notebook, HeaderBar, an

Re: the most D-ish GUI library

2016-03-14 Thread Vadim Lopatin via Digitalmars-d
On Sunday, 13 March 2016 at 22:49:30 UTC, Chris Wright wrote: dlangui will be consistent on different platforms. However, what I've seen in it doesn't support antialiasing, so it's kind of ugly. DlangUI does support antialiasing for font rendering and as well provides some enhancements like G

Re: What are the real GUI toolkits for D?

2016-01-28 Thread Vadim Lopatin via Digitalmars-d
On Sunday, 24 January 2016 at 12:16:09 UTC, nbro wrote: Except for GtkD and DWT, D does not seem to be supported by a really nice GUI toolkit. Anyway, a serious programming language nowadays should have a lot more support in that area. I have not tried GtkD yet, but it seems the most promising.

Re: D is on his way to Top 20 in Tiobe

2015-12-11 Thread Vadim Lopatin via Digitalmars-d
On Friday, 11 December 2015 at 15:29:52 UTC, Ola Fosheim Grøstad wrote: D/PowerNex 29 stars D/DMD 27 stars D/dlangui 13 stars Surprised to see dlangui in top.

Re: Is dlangui dead?

2015-11-11 Thread Vadim Lopatin via Digitalmars-d
On Wednesday, 11 November 2015 at 08:21:48 UTC, ponce wrote: On Wednesday, 11 November 2015 at 07:18:21 UTC, Vadim Lopatin wrote: On Wednesday, 11 November 2015 at 06:56:10 UTC, Vadim Lopatin wrote: [...] UPD: found interesting library - https://github.com/p0nce/DerelictCocoa I hope it

Re: Is dlangui dead?

2015-11-10 Thread Vadim Lopatin via Digitalmars-d
On Wednesday, 11 November 2015 at 06:56:10 UTC, Vadim Lopatin wrote: On Wednesday, 11 November 2015 at 06:25:35 UTC, Suliman wrote: [...] I'm not going to use native controls, only native way to create window, draw bitmap on it (or draw using OpenGL). Look and feel may be changed by corre

Re: Is dlangui dead?

2015-11-10 Thread Vadim Lopatin via Digitalmars-d
On Wednesday, 11 November 2015 at 06:25:35 UTC, Suliman wrote: On Wednesday, 11 November 2015 at 06:19:05 UTC, Vadim Lopatin wrote: On Thursday, 5 November 2015 at 08:25:52 UTC, FreeSlave wrote: On Thursday, 5 November 2015 at 06:36:13 UTC, Vadim Lopatin wrote: Hi! I'm back on Dl

Re: Is dlangui dead?

2015-11-10 Thread Vadim Lopatin via Digitalmars-d
On Thursday, 5 November 2015 at 08:25:52 UTC, FreeSlave wrote: On Thursday, 5 November 2015 at 06:36:13 UTC, Vadim Lopatin wrote: Hi! I'm back on DlangUI project. Fixed some issues recently, and got it working with recent DMD beta and latest versions of dependency libraries. That&#

Re: Is dlangui dead?

2015-11-05 Thread Vadim Lopatin via Digitalmars-d
On Thursday, 5 November 2015 at 08:25:52 UTC, FreeSlave wrote: On Thursday, 5 November 2015 at 06:36:13 UTC, Vadim Lopatin wrote: Hi! I'm back on DlangUI project. Fixed some issues recently, and got it working with recent DMD beta and latest versions of dependency libraries. That&#

Re: Is dlangui dead?

2015-11-04 Thread Vadim Lopatin via Digitalmars-d
On Sunday, 25 October 2015 at 20:56:22 UTC, thedeemon wrote: On Tuesday, 20 October 2015 at 17:01:19 UTC, karabuta wrote: I hope I am wrong, but dlangui seems to be abandoned for some time after all the hard work that went into it. I really like it since it was easy to setup and get things work

Re: std.database

2015-05-27 Thread Vadim Lopatin via Digitalmars-d
On Thursday, 28 May 2015 at 05:00:30 UTC, Rikki Cattermole wrote: On 28/05/2015 4:57 p.m., Robert burner Schadek wrote: On Thursday, 28 May 2015 at 04:45:52 UTC, Erik Smith wrote: Shouldn't the statement be reusable? Yes it should. I added this use case: auto stmt = con.statement("insert in

Re: D for Android

2015-05-07 Thread Vadim Lopatin via Digitalmars-d
On Thursday, 7 May 2015 at 15:58:01 UTC, Joakim wrote: On Sunday, 17 August 2014 at 18:19:29 UTC, Joakim wrote: I'll keep updating the wiki with more info, how to build for the command-line and run the druntime/phobos unit tests, along with directions for future work. An update: I tinkered wi

Re: Standard GUI framework inspired by Qt

2015-03-06 Thread Vadim Lopatin via Digitalmars-d
On Friday, 6 March 2015 at 09:09:43 UTC, Ola Fosheim Grøstad wrote: On Tuesday, 3 March 2015 at 18:43:50 UTC, Aram wrote: I've been thinking over a GUI framework for D for some time, and ended up with idea expressed by Andrew Fedoniouk here: http://www.digitalmars.com/d/archives/digitalmars/D/3

Re: Standard GUI framework inspired by Qt

2015-03-05 Thread Vadim Lopatin via Digitalmars-d
On Thursday, 5 March 2015 at 15:09:55 UTC, Aram wrote: On Thursday, 5 March 2015 at 13:38:58 UTC, Vadim Lopatin wrote: Probably DlangUI fits your requirements. https://github.com/buggins/dlangui It's written in D, so can be easy extended. Cross platform - backend part is separated, an

Re: Standard GUI framework inspired by Qt

2015-03-05 Thread Vadim Lopatin via Digitalmars-d
On Tuesday, 3 March 2015 at 18:43:50 UTC, Aram wrote: Hi all I've been thinking over a GUI framework for D for some time, and ended up with idea expressed by Andrew Fedoniouk here: http://www.digitalmars.com/d/archives/digitalmars/D/32633.html. That is, having a separate drawing layer, and wi

Re: H1 2015 - db access support in Phobos

2015-02-04 Thread Vadim Lopatin via Digitalmars-d
On Wednesday, 4 February 2015 at 16:46:19 UTC, Andrei Alexandrescu wrote: On 2/1/15 8:00 PM, Vadim Lopatin wrote: I would like to propose Java way for implementation of DB access (JDBC - Java DataBase Connectors). [snip] I think we should use ODBC as the foundation and build neat D-ish

Re: H1 2015 - db access support in Phobos

2015-02-04 Thread Vadim Lopatin via Digitalmars-d
On Tuesday, 3 February 2015 at 15:20:41 UTC, Vadim Lopatin wrote: On Tuesday, 3 February 2015 at 14:41:02 UTC, Vadim Lopatin wrote: On Tuesday, 3 February 2015 at 10:49:07 UTC, Robert burner IMO writing: foreach(it; db.select("...")) { } is epic. you have entered std.(range|algor

Re: H1 2015 - db access support in Phobos

2015-02-03 Thread Vadim Lopatin via Digitalmars-d
On Tuesday, 3 February 2015 at 15:30:42 UTC, Daniel Kozák wrote: V Tue, 03 Feb 2015 15:20:40 + Vadim Lopatin via Digitalmars-d napsáno: On Tuesday, 3 February 2015 at 14:41:02 UTC, Vadim Lopatin wrote: > On Tuesday, 3 February 2015 at 10:49:07 UTC, Robert burner >> IM

Re: H1 2015 - db access support in Phobos

2015-02-03 Thread Vadim Lopatin via Digitalmars-d
On Tuesday, 3 February 2015 at 14:03:22 UTC, Kagamin wrote: The database client library or the database itself in case of sqlite, i.e. code you link with. Dependency also means you should get it somewhere, possibly compiling with dmc. If only interfaces included into Phobos, it's not a problem

Re: H1 2015 - db access support in Phobos

2015-02-03 Thread Vadim Lopatin via Digitalmars-d
On Tuesday, 3 February 2015 at 14:41:02 UTC, Vadim Lopatin wrote: On Tuesday, 3 February 2015 at 10:49:07 UTC, Robert burner IMO writing: foreach(it; db.select("...")) { } is epic. you have entered std.(range|algorithm) land. Implemented in v0.2.17 for select. test: aut

Re: H1 2015 - db access support in Phobos

2015-02-03 Thread Vadim Lopatin via Digitalmars-d
On Tuesday, 3 February 2015 at 10:49:07 UTC, Robert burner Schadek wrote: On Tuesday, 3 February 2015 at 10:33:25 UTC, Vadim Lopatin wrote: ORM operations are not a simple single query/statement. They often use several queries to load dependent objects. make it an output range Of course

Re: H1 2015 - db access support in Phobos

2015-02-03 Thread Vadim Lopatin via Digitalmars-d
On Tuesday, 3 February 2015 at 12:06:25 UTC, Kagamin wrote: I see problems with licensing and external dependencies. License on API? (like Sun sued Google for implementation of Java API?) Or on third party libraries used by DB drivers.

Re: H1 2015 - db access support in Phobos

2015-02-03 Thread Vadim Lopatin via Digitalmars-d
On Tuesday, 3 February 2015 at 09:16:14 UTC, Robert burner Schadek wrote: But for such high level DB library must be based on some lower level DB API (connector). Like JDBC for JPA or Hibernate in Java. really, does it? there is no need for an abstraction layer. you can have functions generat

Re: H1 2015 - db access support in Phobos

2015-02-03 Thread Vadim Lopatin via Digitalmars-d
On Tuesday, 3 February 2015 at 08:37:04 UTC, Robert burner Schadek wrote: IMO the java way is to uncreative. We have UDA, CTFE and string mixins anything short of perfect SQL generated at compile time without anything else than UDA annotation to my structs is an epic lose for D. I mean, who wan

Re: H1 2015 - db access support in Phobos

2015-02-03 Thread Vadim Lopatin via Digitalmars-d
On Tuesday, 3 February 2015 at 08:23:56 UTC, Daniel Kozak wrote: On Monday, 2 February 2015 at 04:00:31 UTC, Vadim Lopatin wrote: I would like to propose Java way for implementation of DB access (JDBC - Java DataBase Connectors). Standard library must contain only * set of interfaces for

Re: H1 2015 - db access support in Phobos

2015-02-02 Thread Vadim Lopatin via Digitalmars-d
On Monday, 2 February 2015 at 18:00:28 UTC, AndyC wrote: On Monday, 2 February 2015 at 04:00:31 UTC, Vadim Lopatin wrote: I would like to propose Java way for implementation of DB access (JDBC - Java DataBase Connectors). Standard library must contain only * set of interfaces for uniform DB

H1 2015 - db access support in Phobos

2015-02-01 Thread Vadim Lopatin via Digitalmars-d
I would like to propose Java way for implementation of DB access (JDBC - Java DataBase Connectors). Standard library must contain only * set of interfaces for uniform DB access * Connection - can create Statement or PreparedStatement, control transactions * Statement - can run update o

Re: Lost a new commercial user this week :(

2014-12-18 Thread Vadim Lopatin via Digitalmars-d
On Thursday, 18 December 2014 at 13:51:08 UTC, Vadim Lopatin wrote: git clone g...@github.com:buggins/dlangide.git cd dlang ide dub run Sorry, it should be git clone https://github.com/buggins/dlangide.git cd dlangide dub run

Re: Lost a new commercial user this week :(

2014-12-18 Thread Vadim Lopatin via Digitalmars-d
On Thursday, 18 December 2014 at 13:43:15 UTC, Chris wrote: On Thursday, 18 December 2014 at 11:50:46 UTC, Vadim Lopatin wrote: On Thursday, 18 December 2014 at 11:00:43 UTC, Chris wrote: Very good! I tried it and couldn't clone the repo (permission denied). Downloaded the master zip in

Re: Lost a new commercial user this week :(

2014-12-18 Thread Vadim Lopatin via Digitalmars-d
On Thursday, 18 December 2014 at 11:00:43 UTC, Chris wrote: Very good! I tried it and couldn't clone the repo (permission denied). Downloaded the master zip instead, ran the above command and got this message (dmd v2.066.0 64bit Linux): ... Error executing command run: dmd failed with exit co

Re: Lost a new commercial user this week :(

2014-12-17 Thread Vadim Lopatin via Digitalmars-d
On Sunday, 14 December 2014 at 09:53:06 UTC, Rikki Cattermole wrote: Yeah they are great projects. But they won't ever be what I'm looking for. Personally? - I want a gui toolkit that is accelerated e.g. OpenGL. - That can be layered drawn on top of other OpenGL content. - Completely configurabl

Re: D's gui controls need a cool control for DataBase Programming

2014-06-03 Thread Vadim Lopatin via Digitalmars-d
On Tuesday, 3 June 2014 at 09:31:26 UTC, Rikki Cattermole wrote: On 3/06/2014 9:11 p.m., FrankLike wrote: Now,D is very cool for System Programming,but it's not cool for Database Programming. It needs some controls such as Calendar,DataTimePicker, DataGrid,DataView etc. DataGrid can display a lo

Re: The DUB package manager

2013-04-17 Thread Vadim Lopatin
Hello, I've sent pull request with fix of configurations/buildTarget support. https://github.com/rejectedsoftware/dub/pull/65 Could you review it? Best regards, Vadim