Re: Postgres and other database interfaces

2018-02-25 Thread Denis F via Digitalmars-d
On Sunday, 25 February 2018 at 20:56:16 UTC, Joe wrote: On Sunday, 25 February 2018 at 16:31:45 UTC, Denis F wrote: What are these sacrifices for? I do not like idea that I should drop some functionality of Postgres for conpatibility with another RDBMSes. Personally, I like specific databases

Re: Postgres and other database interfaces

2018-02-25 Thread Denis F via Digitalmars-d
On Sunday, 25 February 2018 at 19:29:59 UTC, kdevel wrote: On Sunday, 25 February 2018 at 11:46:26 UTC, Denis F wrote: But it is impossible to convert text :names or '?' into Postgres's "$1": Postgres isn't knows fields names at start of a query processing and you can't replace '?' to "$" by

Re: Postgres and other database interfaces

2018-02-25 Thread Denis F via Digitalmars-d
On Sunday, 25 February 2018 at 15:34:00 UTC, Joe wrote: On Sunday, 25 February 2018 at 09:07:34 UTC, Denis F wrote: Libraries already are similar automatically because RDBMSes uses similar principles. But it is impossible to make libraries absolutely identical due to the presence of important

Re: Postgres and other database interfaces

2018-02-25 Thread Denis F via Digitalmars-d
On Sunday, 25 February 2018 at 12:12:58 UTC, rikki cattermole wrote: Let's not go inventing a solution here, what does JDBC and ADO.net do? JDBC isn't touches this - it is just passes statement "as is". I.e. it isn't drops support of any type of args.

Re: Postgres and other database interfaces

2018-02-25 Thread Denis F via Digitalmars-d
On Sunday, 25 February 2018 at 09:23:18 UTC, rikki cattermole wrote: It's the same concept as the SQL (and other) Standards. Ok, I propose to be consistent and ask for compliance with the Standard from the RDBMSes. For example, arguments substitution: MySQL uses the '?' PostgreSQL uses $1

Re: Postgres and other database interfaces

2018-02-25 Thread Denis F via Digitalmars-d
On Sunday, 25 February 2018 at 03:03:05 UTC, Joe wrote: On Saturday, 24 February 2018 at 23:04:39 UTC, Denis F wrote: If anyone really want to impliment your idea, at my first glance at the PEP 249 I had a feeling that this is work for time less than a 1-2 weeks. It can be a simple wrapper

Re: Postgres and other database interfaces

2018-02-25 Thread Denis F via Digitalmars-d
On Sunday, 25 February 2018 at 03:20:08 UTC, Seb wrote: If you talk about using Travis to build the documentation and push to gh-pages like e.g explained here [1]. There are solutions: a) Use branch protection (GH offers this. No one can force push something to protected branches) b) Use a

Re: Postgres and other database interfaces

2018-02-24 Thread Denis F via Digitalmars-d
On Saturday, 24 February 2018 at 22:24:58 UTC, bachmeier wrote: On Saturday, 24 February 2018 at 18:41:21 UTC, Denis F wrote: Hi! Here is dpq2 and vibe-d-postgresql developer. The problem is that I do not know English very well. So,I think it's better not to write any documentation than to

Re: Postgres and other database interfaces

2018-02-24 Thread Denis F via Digitalmars-d
On Saturday, 24 February 2018 at 20:45:03 UTC, Joe wrote: On Saturday, 24 February 2018 at 18:56:23 UTC, Denis F wrote: It seems to me that this is a common misconception that it is possible to create a good universal tool for accessing the database in place of the many existing ones. I

Re: Postgres and other database interfaces

2018-02-24 Thread Denis F via Digitalmars-d
On Saturday, 24 February 2018 at 18:56:23 UTC, Denis F wrote: Postgres quarantiees that result of query will be immutable libpq, of course, not Postgres itself.

Re: Postgres and other database interfaces

2018-02-24 Thread Denis F via Digitalmars-d
On Saturday, 24 February 2018 at 05:45:45 UTC, rikki cattermole wrote: There is plenty of desire to build a generalized SQL interface for Phobos. But somebody needs to do it and it won't be all that much fun to do. I want to dwell on this. It seems to me that this is a common misconception

Re: Postgres and other database interfaces

2018-02-24 Thread Denis F via Digitalmars-d
On Saturday, 24 February 2018 at 05:33:56 UTC, Joe wrote: 2. dpq2. Second most downloaded and built on top of derelict-pq. The "documentation" consists of a README listing the features and a single example, which appears to focus on support for JSON/BSON. Hi! Here is dpq2 and

Re: Typedef.toString?

2018-02-23 Thread Denis F via Digitalmars-d
On Friday, 23 February 2018 at 15:26:02 UTC, Meta wrote: On Friday, 23 February 2018 at 13:56:35 UTC, Denis F wrote: On Thursday, 22 February 2018 at 20:26:17 UTC, Meta wrote: find all this inclusions. Maybe it is need to implement simple toString method inside of Typedef struct? Or just

Re: Typedef.toString?

2018-02-23 Thread Denis F via Digitalmars-d
On Thursday, 22 February 2018 at 20:26:17 UTC, Meta wrote: find all this inclusions. Maybe it is need to implement simple toString method inside of Typedef struct? Or just disable it at all? Yes. I doubt this behaviour is intended, so it's likely an oversight in Typedef's implementation.

Typedef.toString?

2018-02-22 Thread Denis F via Digitalmars-d
Hello! After replacing native type by std.typecons.Typedef I am faced with fact what all typeDefValue.to!string was silently changed its output to output of Typedef struct itself. It was too hard find all this inclusions. Maybe it is need to implement simple toString method inside of

Re: [howto] Serve ddox documentation on github.io deployed by Travis CI

2018-02-01 Thread Denis F via Digitalmars-d-announce
(3) Docs from proposed site can be easily wrapped into DevDocs/Zeal/Dash docs for comfort offline usage.

Re: [howto] Serve ddox documentation on github.io deployed by Travis CI

2018-02-01 Thread Denis F via Digitalmars-d-announce
On Saturday, 13 January 2018 at 11:42:42 UTC, Bastiaan Veelo wrote: On Saturday, 13 January 2018 at 10:02:18 UTC, Jacob Carlborg wrote: On 2018-01-13 05:59, Martin Nowak wrote: On Wednesday, 10 January 2018 at 08:50:37 UTC, Bastiaan Veelo wrote: Maybe worthwile to add this scaffolding to dub

Re: Dlang remote junior developer jobs

2018-01-17 Thread Denis F via Digitalmars-d
On Monday, 9 January 2017 at 12:39:22 UTC, Bauss wrote: You could take a look at this list and perhaps send in your job application, resume etc. and perhaps they might hire you for remote work, but honestly it's a shot in the sky. https://dlang.org/orgs-using-d.html Also there's this thread

Re: Dlang remote junior developer jobs

2018-01-17 Thread Denis F via Digitalmars-d
On Sunday, 8 January 2017 at 22:34:33 UTC, eugene wrote: Hello, everyone, could you share, please, your knowledge, where can i search D lang remote junior developer jobs? Hello! Same problem - I am need remote Dlang job. My Github contains my contacts: https://github.com/denizzzka/ And may