Re: PostgreSQL native impl
On Tuesday, 3 January 2017 at 01:08:28 UTC, Chris Wright wrote: On Mon, 02 Jan 2017 20:29:55 +, Anton wrote: Today i spent about hour to write pure-D simple PostgreSQL driver for demonstration purposes. I was looking for developers interested in complete PostgreSQL driver (pure D) That demo not implements auth, therefore requires trusted user [1] https://github.com/anton-dutov/postgresql-native-d [2] https://www.postgresql.org/docs/9.6/static/protocol.html Nice! Looks like it wouldn't be much work to add prepared queries. I notice you rolled your own uri library. Might I point you toward urld? It supports ipv6 hosts (probably handy) and unicode domain names (nice to have, probably not useful here). http://code.dlang.org/packages/urld This is really neat! I've been looking for one such. I'm used to https://github.com/cpp-netlib/uri in C++.
Aedi 0.1.0 release
Good day. Aedi release 0.1.0 is available now. Following changes from 0.0.1 have been made: - Added annotation based configuration. - Added additional logic in register based configuration, to handle composite containers. - Added support for setting and auto-wiring of public fields, along with methods. - Added factory method pattern to library. - Added switchable container, that can be switched on and off (in offline mode no objects are served). - Added a proof of concept implementation of proxy based container (though not working at the moment). - Added and improved documentation. - Added unittests, testing most of the code. - Improved register based configuration handling of containers with simple data. - Improved error reporting, when a method mismatch, or incompatibility with configuration occurs. - Implemented support for struct construction and configuration (now di containers are - able to construct and wire them too). - Updated examples to reflect new abilities. - Removed Register struct from register based configuration, due to no need. For the next release, planning to add: - pre and post instantiation processing. - fiddle with proxy based containers, that can serve proxy objects instead of real ones. - probably, some sort of integration with vibed, and other libs/frameworks. Project's repository: https://github.com/aermicioi/aedi Project's documentation (check aedi package members for start): https://aermicioi.github.io/aedi/ Waiting for reviews, and bug reporting.
Re: Terminix Year In Review
On Monday, 2 January 2017 at 18:23:53 UTC, Gerald wrote: Since Terminix is a GTK 3 application, the minimum baseline is that your emulator would have to be a GTK 3 Widget, I have no idea what would be involved in creating a GTK widget in D as I've never tried it myself. Hi Gerald, There's this tutorial from Davyd Madeley about writing a clock-widget (this is Gtk2) in C: 1- https://thegnomejournal.wordpress.com/2005/12/02/writing-a-widget-using-cairo-and-gtk2-8/ 2- https://thegnomejournal.wordpress.com/2006/02/16/writing-a-widget-using-cairo-and-gtk2-8-part-2/ Antonio
Re: Aedi 0.1.0 release
On Tue, 03 Jan 2017 11:47:44 +, Alexandru Ermicioi wrote: > Aedi release 0.1.0 is available now. This would be the perfect place to describe what Aedi is and why people might be interested in it.
Re: Terminix Year In Review
On Monday, 2 January 2017 at 21:11:47 UTC, Getald wrote: I'm not sure a textview would be viable, it might work for the command prompt but I doubt it would handle ncurses type applications like vi or nano very well. I don't know GTK at all, but my terminal thing's frontend just needs keyboard and mouse input events and a canvas to draw onto (including text string drawing functions). So I'm guessing the TextView is actually overfeatured for what I'd want.