Re: DWT API Documentation now on dpldocs.info

2018-03-07 Thread Patrick Schluter via Digitalmars-d-announce
On Thursday, 8 March 2018 at 01:21:44 UTC, Adam D. Ruppe wrote: As some of you might know, DWT is a D port of Java's SWT. It is as thus nearly identical and you can use Java's documentation with very little effort - copy/paste of Java examples almost just work as D too. [...] Thank you,

Re: mysql-native v2.1.0

2018-03-07 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 03/08/2018 02:14 AM, Bauss wrote: By any chance, are you ever storing a Connection or a ResultRange anywhere? I don't mean as a function-local variable or a a function parameter: I mean like as a class/struct member or as a global? (Well, not that D really has true globals, but a "global"

Re: Lobst.rs now has a "D" tag

2018-03-07 Thread Bauss via Digitalmars-d-announce
On Wednesday, 7 March 2018 at 16:34:31 UTC, Pradeep Gowda wrote: https://lobste.rs/t/d Please do not forget to tag your D related submissions with the "D" tag. Can someone invite me at baussproje...@gmail.com

Re: mysql-native v2.1.0

2018-03-07 Thread Bauss via Digitalmars-d-announce
On Thursday, 8 March 2018 at 07:03:15 UTC, Nick Sabalausky (Abscissa) wrote: On 03/07/2018 04:53 PM, bauss wrote: I can't seem to reproduce it now, but I'll keep an eye for it and see if it still happens, but I think the problem is when you return the connection from a function. I had

Re: mysql-native v2.1.0

2018-03-07 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 03/07/2018 04:53 PM, bauss wrote: I can't seem to reproduce it now, but I'll keep an eye for it and see if it still happens, but I think the problem is when you return the connection from a function. I had similar issues returning a raw connection created. By any chance, are you ever

Re: mysql-native v2.1.0

2018-03-07 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 03/07/2018 02:32 PM, bauss wrote: Wait why has it been updated to array() ? So it's not a real range anymore? Or was it always represented as an array behind the scenes? I just feel like allocating it into an additional array is a waste of memory? But if it was always like that I guess

Re: Gtk-D API Documentation now on dpldocs.info

2018-03-07 Thread ANtlord via Digitalmars-d-announce
On Thursday, 8 March 2018 at 01:27:07 UTC, Adam D. Ruppe wrote: GtkD is a D wrapper to the GTK library. It has plenty of doc comments attached... but they are in a special GTK syntax and all the cross references refer to C structs and functions instead of to D classes and methods. Well,

4 types of applications that can be created using java programming

2018-03-07 Thread mia avery via Digitalmars-d-announce
Hello Guys, Having more than 3 years experience at MindMajix.com in IT professional with expertise in providing Enterprise Performance Engineering solutions & Integrated end to end IT monitoring solutions to clients from various industries. 1) Standalone Application It is also known as

Release: nanovega.d rendering lib like html5 canvas

2018-03-07 Thread Adam D. Ruppe via Digitalmars-d-announce
https://github.com/adamdruppe/arsd nanovega.d depends on: simpledisplay.d, color.d, and ttf.d (latter only on Windows) Should also be present in v1.3 of the dub package http://code.dlang.org/packages/arsd-official API docs (includes an example to get you started)

Re: DWT API Documentation now on dpldocs.info

2018-03-07 Thread Adam D. Ruppe via Digitalmars-d-announce
On Thursday, 8 March 2018 at 01:34:12 UTC, Bill Baxter wrote: The logo in the corner - http://dwt.dpldocs.info/d-logo.png is a 404 btw. Yeah, I realized after generating the files that I used the wrong header source. The search is a broken link too... All fixed now via some hacky redirects

Re: Diamond Full-stack MVC / Template Engine - v2.7.0 Released!

2018-03-07 Thread Mike Parker via Digitalmars-d-announce
On Wednesday, 7 March 2018 at 22:37:36 UTC, bauss wrote: I finally got around and fixed the last corners here and there. If you wonder what Diamond is, then it's a library for developing full-stack MVC web-applications based on vibe.d. It contains a lot of features (Which you can see in the

Re: DWT API Documentation now on dpldocs.info

2018-03-07 Thread Bill Baxter via Digitalmars-d-announce
The logo in the corner - http://dwt.dpldocs.info/d-logo.png -- is a 404 btw. On Wed, Mar 7, 2018 at 5:32 PM, Bill Baxter wrote: > Cool! I used to love using DWT back in the day. > > Yeh the Eclipse ones look like they were written by someone trying very > hard to make you

Re: DWT API Documentation now on dpldocs.info

2018-03-07 Thread Bill Baxter via Digitalmars-d-announce
Cool! I used to love using DWT back in the day. Yeh the Eclipse ones look like they were written by someone trying very hard to make you think you were using a native app on some platform with a horrible UI from the 90s. --bb On Wed, Mar 7, 2018 at 5:28 PM, Adam D. Ruppe via

Gtk-D API Documentation now on dpldocs.info

2018-03-07 Thread Adam D. Ruppe via Digitalmars-d-announce
GtkD is a D wrapper to the GTK library. It has plenty of doc comments attached... but they are in a special GTK syntax and all the cross references refer to C structs and functions instead of to D classes and methods. Well, adrdox got some special-case code to handle this and do the

Re: Gtk-D API Documentation now on dpldocs.info

2018-03-07 Thread Adam D. Ruppe via Digitalmars-d-announce
Compare and contrast to the official gtk-d docs: https://api.gtkd.org/gtkd/gtk/AboutDialog.html and the C gtk docs: https://developer.gnome.org/gtk3/stable/GtkApplication.html You can see they are all generated from the same source doc comments, but I think mine is nicest - just translating

Re: DWT API Documentation now on dpldocs.info

2018-03-07 Thread Adam D. Ruppe via Digitalmars-d-announce
Compare and contrast with the official Java dox: http://help.eclipse.org/luna/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/package-summary.html both are generated from basically the same doc comments, but I like mine better :)

DWT API Documentation now on dpldocs.info

2018-03-07 Thread Adam D. Ruppe via Digitalmars-d-announce
As some of you might know, DWT is a D port of Java's SWT. It is as thus nearly identical and you can use Java's documentation with very little effort - copy/paste of Java examples almost just work as D too. But, the eclipse docs are meh and besides, it is nice to have the D docs anyway.

Re: Diamond Full-stack MVC / Template Engine - v2.7.0 Released!

2018-03-07 Thread Adam D. Ruppe via Digitalmars-d-announce
And api documentation for the new version! http://diamond.dpldocs.info/v2.7.0/index.html

Re: LDC 1.8.0

2018-03-07 Thread Stephan via Digitalmars-d-announce
On Sunday, 4 March 2018 at 22:37:21 UTC, kinke wrote: Hi everyone, on behalf of the LDC team, I'm glad to announce LDC 1.8. The highlights of this version in a nutshell: * Based on D 2.078.3. * New switch `-link-defaultlib-shared` to link against shared druntime/Phobos. * Plugins support,

Re: Documentation for any* dub package, any version

2018-03-07 Thread Adam D. Ruppe via Digitalmars-d-announce
On Wednesday, 7 March 2018 at 22:47:48 UTC, bauss wrote: How would you go about updating docs? Either go to the url for the specific version you want like http://diamond.dpldocs.info/v2.7.0/index.html and it will download (once dub scrapes it anyway) or ping me and I'll manually update the

Re: Documentation for any* dub package, any version

2018-03-07 Thread bauss via Digitalmars-d-announce
On Friday, 2 March 2018 at 00:04:10 UTC, Adam D. Ruppe wrote: On Thursday, 1 March 2018 at 11:00:15 UTC, Jonas Drewsen wrote: Would be cool if you could add support for creating docs from any dub project stored on github and not only the ones on code.dlang.org. That might be possible too.

llvm-mca: a static performance analysis tool

2018-03-07 Thread Johan Engelen via Digitalmars-d-announce
I find this such great LLVM news that I'd share it here: llvm-mca: a static performance analysis tool http://lists.llvm.org/pipermail/llvm-dev/2018-March/121490.html cheers, Johan

Diamond Full-stack MVC / Template Engine - v2.7.0 Released!

2018-03-07 Thread bauss via Digitalmars-d-announce
I finally got around and fixed the last corners here and there. If you wonder what Diamond is, then it's a library for developing full-stack MVC web-applications based on vibe.d. It contains a lot of features (Which you can see in the READ ME) To name a few of the key features: * Full

Re: mysql-native v2.1.0

2018-03-07 Thread bauss via Digitalmars-d-announce
On Wednesday, 7 March 2018 at 19:36:57 UTC, bauss wrote: On Wednesday, 7 March 2018 at 11:04:10 UTC, Nick Sabalausky (Abscissa) wrote: On 03/06/2018 01:31 PM, bauss wrote: I can't seem to find any examples on how they were updated and what exactly to change in my code. Also, FWIW,

Advent of D

2018-03-07 Thread greentea via Digitalmars-d-announce
On Wednesday, 7 March 2018 at 16:34:31 UTC, Pradeep Gowda wrote: https://lobste.rs/t/d Please do not forget to tag your D related submissions with the "D" tag. and a blog post: https://lobste.rs/s/b4qki7/advent_d

Re: mysql-native v2.1.0

2018-03-07 Thread bauss via Digitalmars-d-announce
On Wednesday, 7 March 2018 at 11:04:10 UTC, Nick Sabalausky (Abscissa) wrote: On 03/06/2018 01:31 PM, bauss wrote: I can't seem to find any examples on how they were updated and what exactly to change in my code. Also, FWIW, mysql-native uses semantic versioning (semver), so anything

Re: mysql-native v2.1.0

2018-03-07 Thread bauss via Digitalmars-d-announce
On Wednesday, 7 March 2018 at 10:14:08 UTC, Nick Sabalausky (Abscissa) wrote: On 03/06/2018 01:54 PM, bauss wrote: On Tuesday, 6 March 2018 at 18:36:45 UTC, bauss wrote: Like more specifically do I still call lockConnection() on a MySQLPool? If you're using vibe.d and MySQLPool, then yes.

Re: Release D 2.079.0

2018-03-07 Thread Steven Schveighoffer via Digitalmars-d-announce
On 3/7/18 12:02 PM, H. S. Teoh wrote: On Wed, Mar 07, 2018 at 02:53:17PM +, Mike Parker via Digitalmars-d-announce wrote: On Wednesday, 7 March 2018 at 14:20:54 UTC, H. S. Teoh wrote: It will force everyone who compiles dmd from source to use dub. It's not the end of the world, but I for

Re: Release D 2.079.0

2018-03-07 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Mar 07, 2018 at 02:53:17PM +, Mike Parker via Digitalmars-d-announce wrote: > On Wednesday, 7 March 2018 at 14:20:54 UTC, H. S. Teoh wrote: > > It will force everyone who compiles dmd from source to use dub. It's > > not the end of the world, but I for one will not be too happy about

Lobst.rs now has a "D" tag

2018-03-07 Thread Pradeep Gowda via Digitalmars-d-announce
https://lobste.rs/t/d Please do not forget to tag your D related submissions with the "D" tag.

Re: Release D 2.079.0

2018-03-07 Thread Sönke Ludwig via Digitalmars-d-announce
Am 07.03.2018 um 17:01 schrieb Paolo Invernizzi: On Wednesday, 7 March 2018 at 14:53:09 UTC, Sönke Ludwig wrote: But why wouldn't it be possible to make a quick bugfix release with the current scheme? It has happened in the past. Granted, if a 0.8.5-beta.1 is already tagged, then using 0.8.5

Re: Release D 2.079.0

2018-03-07 Thread Paolo Invernizzi via Digitalmars-d-announce
On Wednesday, 7 March 2018 at 14:53:09 UTC, Sönke Ludwig wrote: But why wouldn't it be possible to make a quick bugfix release with the current scheme? It has happened in the past. Granted, if a 0.8.5-beta.1 is already tagged, then using 0.8.5 for a quick intermediate release would be bad,

Re: Release D 2.079.0

2018-03-07 Thread Mike Parker via Digitalmars-d-announce
On Wednesday, 7 March 2018 at 14:20:54 UTC, H. S. Teoh wrote: It will force everyone who compiles dmd from source to use dub. It's not the end of the world, but I for one will not be too happy about it. IMO, much better than forcing everyone to compile with make, which I'm not too happy

Re: Release D 2.079.0

2018-03-07 Thread Sönke Ludwig via Digitalmars-d-announce
Am 07.03.2018 um 13:57 schrieb Paolo Invernizzi: On Wednesday, 7 March 2018 at 10:13:29 UTC, Sönke Ludwig wrote: Well, for all of the recent releases we made sure that there was no breakage for new compiler versions. This release was an exception, because I didn't manage to put out the fixed

Re: Release D 2.079.0

2018-03-07 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Mar 07, 2018 at 03:58:38PM +1300, rikki cattermole via Digitalmars-d-announce wrote: > On 07/03/2018 2:54 PM, psychoticRabbit wrote: > > On Tuesday, 6 March 2018 at 20:50:37 UTC, Jack Stouffer wrote: > > > > > > Also, if you'll allow me to have crazy ideas for a moment, one > > > wonders

Re: mysql-native v2.1.0

2018-03-07 Thread Steven Schveighoffer via Digitalmars-d-announce
On 3/7/18 5:23 AM, Sönke Ludwig wrote: Am 06.03.2018 um 05:31 schrieb Nick Sabalausky (Abscissa): (...) Also, AFAIK, vibe doesn't offer socket support like it does TCP, so vibe users would loose out on the automatic yield-on-io that's a cornerstone of vibe's concurrency design. There

Re: Release D 2.079.0

2018-03-07 Thread Steven Schveighoffer via Digitalmars-d-announce
On 3/6/18 3:50 PM, Jack Stouffer wrote: On Tuesday, 6 March 2018 at 12:21:41 UTC, Steven Schveighoffer wrote: That being said, I'm wondering if it wouldn't be better to have std.experimental be in its own repository. This allows selection of the dependency on std.experimental separate from

Re: Release D 2.079.0

2018-03-07 Thread Steven Schveighoffer via Digitalmars-d-announce
On 3/6/18 11:02 PM, Seb wrote: On Tuesday, 6 March 2018 at 19:57:13 UTC, Steven Schveighoffer wrote: On 3/6/18 2:30 PM, Martin Nowak wrote: On Tuesday, 6 March 2018 at 12:21:41 UTC, Steven Schveighoffer wrote: But if needed, you could have your dub package depend on a prior version.

Re: Release D 2.079.0

2018-03-07 Thread Paolo Invernizzi via Digitalmars-d-announce
On Wednesday, 7 March 2018 at 10:13:29 UTC, Sönke Ludwig wrote: Well, for all of the recent releases we made sure that there was no breakage for new compiler versions. This release was an exception, because I didn't manage to put out the fixed release in time. The plan is to have all future

Re: mysql-native v2.1.0

2018-03-07 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 03/06/2018 01:31 PM, bauss wrote: I can't seem to find any examples on how they were updated and what exactly to change in my code. Also, FWIW, mysql-native uses semantic versioning (semver), so anything that worked in v2.0.0 should still continue working in all v2.x.x.

Re: mysql-native v2.1.0

2018-03-07 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 03/07/2018 05:23 AM, Sönke Ludwig wrote: Am 06.03.2018 um 05:31 schrieb Nick Sabalausky (Abscissa): (...) Also, AFAIK, vibe doesn't offer socket support like it does TCP, so vibe users would loose out on the automatic yield-on-io that's a cornerstone of vibe's concurrency design. There

Re: mysql-native v2.1.0

2018-03-07 Thread Sönke Ludwig via Digitalmars-d-announce
Am 06.03.2018 um 05:31 schrieb Nick Sabalausky (Abscissa): (...) Also, AFAIK, vibe doesn't offer socket support like it does TCP, so vibe users would loose out on the automatic yield-on-io that's a cornerstone of vibe's concurrency design. There currently appears to be something broken, but

Re: mysql-native v2.1.0

2018-03-07 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 03/06/2018 01:54 PM, bauss wrote: On Tuesday, 6 March 2018 at 18:36:45 UTC, bauss wrote: Like more specifically do I still call lockConnection() on a MySQLPool? If you're using vibe.d and MySQLPool, then yes. But that's completely unrelated to prepared statements, it has nothing to do

Re: Release D 2.079.0

2018-03-07 Thread Sönke Ludwig via Digitalmars-d-announce
Am 07.03.2018 um 10:17 schrieb Paolo Invernizzi: On Wednesday, 7 March 2018 at 04:02:18 UTC, Seb wrote: On Tuesday, 6 March 2018 at 19:57:13 UTC, Steven Schveighoffer wrote: On 3/6/18 2:30 PM, Martin Nowak wrote: On Tuesday, 6 March 2018 at 12:21:41 UTC, Steven Schveighoffer wrote: But if

Re: mysql-native v2.1.0

2018-03-07 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 03/07/2018 04:16 AM, aberba wrote: On Tuesday, 6 March 2018 at 10:15:30 UTC, Martin Tschierschke wrote: On Tuesday, 6 March 2018 at 07:39:00 UTC, aberba wrote: UNIX sockets provide a way to securely connect in an enclosed/isolated environment without exposing connection externally. This is

Re: mysql-native v2.1.0

2018-03-07 Thread Martin Tschierschke via Digitalmars-d-announce
On Wednesday, 7 March 2018 at 09:16:42 UTC, aberba wrote: On Tuesday, 6 March 2018 at 10:15:30 UTC, Martin Tschierschke wrote: [...] [...] [...] The MySQL instance is running in a managed cloud instance. You don't get to tweak things like with vps. Proxy based connection its what's used.

Re: mysql-native v2.1.0

2018-03-07 Thread aberba via Digitalmars-d-announce
On Tuesday, 6 March 2018 at 10:15:30 UTC, Martin Tschierschke wrote: On Tuesday, 6 March 2018 at 07:39:00 UTC, aberba wrote: On Tuesday, 6 March 2018 at 04:31:42 UTC, Nick Sabalausky (Abscissa) wrote: [...] [...] UNIX sockets provide a way to securely connect in an enclosed/isolated

Re: Release D 2.079.0

2018-03-07 Thread Paolo Invernizzi via Digitalmars-d-announce
On Wednesday, 7 March 2018 at 04:02:18 UTC, Seb wrote: On Tuesday, 6 March 2018 at 19:57:13 UTC, Steven Schveighoffer wrote: On 3/6/18 2:30 PM, Martin Nowak wrote: On Tuesday, 6 March 2018 at 12:21:41 UTC, Steven Schveighoffer wrote: But if needed, you could have your dub package depend on a

Re: Article: Why Const Sucks

2018-03-07 Thread Simen Kjærås via Digitalmars-d-announce
On Tuesday, 6 March 2018 at 17:41:42 UTC, H. S. Teoh wrote: Yeah, Andrei has admitted before that this is probably what he would do today, if he were given a second chance to design ranges. But at the time, the landscape of D was rather different, and certain language features didn't exist