Re: New (page-per-artifact) standard library doc examples are now editable and runnable

2017-02-18 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 02/18/2017 08:42 PM, Nick Sabalausky (Abscissa) wrote: Or it might be better to just toss this in around the top of the CSS: -- input, textarea { background-color: white; color: #333; } -- K, just tested it, works for me:

mysql-native v1.0.0-rc4

2017-02-18 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
One more update to the MySQL/MariaDB client lib, hopefully the last before v1.0.0 final. This one actually includes quite a few more changes I wanted to get in as long as it's making the big leap up to v1.0.0 (see below). For now, this still lives in a separate fork:

Re: New (page-per-artifact) standard library doc examples are now editable and runnable

2017-02-18 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 02/18/2017 11:48 AM, Seb wrote: On Friday, 17 February 2017 at 16:07:37 UTC, Nick Sabalausky (Abscissa) wrote: 1. This is pretty awesome. Thanks a lot :) 2. Looks like someone forgot to set a foreground text color for the output even though the background is set to white. This makes the

Re: New (page-per-artifact) standard library doc examples are now editable and runnable

2017-02-17 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 01/07/2017 11:12 AM, Andrei Alexandrescu wrote: Following https://github.com/dlang/dlang.org/pull/1532, the new-style docs now also allow editing and running examples. Start at http://dlang.org/library-prerelease/ and go anywhere to check it out. Thanks are due to Sönke Ludwig and Sebastian

scriptlike v0.9.7: Minor update

2017-02-23 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
Minor update to scriptlike (Utility library to help you write script-like programs in D) Aside from a few doc updates, this just fixes deprecation warnings when compiling with DMD 2.072 and up. https://github.com/Abscissa/scriptlike

Re: Android LDC in a Container

2017-02-19 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 01/15/2017 12:40 PM, Andre Pany wrote: Hi, on Dockerhub I published a repository which makes it really easy to develop Android applications using LDC and Joakims work. The repository contains Android 1.1.0 beta from https://github.com/joakim-noah/android/releases and also the NDK from

Re: two points

2017-02-12 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 02/09/2017 03:02 AM, Walter Bright wrote: It took me a while to find it, because you were using a pseudonym that I did not recognize. There are a number of frequent contributors to D using pseudonyms, and all have this issue with varying degrees. [...] I suppose I could write a cheat sheet

mysql-native v1.0.0: Big refresh

2017-02-26 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
mysql-native is now officially at v1.0.0! https://github.com/mysql-d/mysql-native mysql-native is a native D client driver for MySQL and MariaDB, usable either with or without vibe.d. It does not rely on the official C libraries, instead communicating directly with the server via the

scriptlike v0.10.1 - Another minor update

2017-02-25 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
Another minor, but this time slightly breaking update to Scriptlike (Utility library to help you write script-like programs in D). https://github.com/Abscissa/scriptlike v0.10.1 (changes since v0.9.7): - Change: Issue #33: Rename Path.toRawString to Path.raw. - Change: Deprecated

Re: Introducing Diskuto - an embeddable comment system

2017-03-17 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 03/16/2017 06:23 AM, Sönke Ludwig wrote: The latest version now offers three embedding modes: https://github.com/rejectedsoftware/diskuto/tree/master/examples User accounts and simple moderation are also supported now. The embed-diet example shows how this can be plugged in. Nice. Very

Re: Introducing Diskuto - an embeddable comment system

2017-03-15 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
Nice. The only example code uses diet templates though, how would one embed this when not using diet?

Re: Release vibe.d 0.7.31

2017-04-12 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 04/10/2017 04:48 PM, Sönke Ludwig wrote: The 0.7.x branch will continue to be maintained for a short while, but only bug fixes will be included from now on. Applications should switch to the 0.8.x branch as soon as possible. If a library depends on vibe, but wants to allow its users to use

scriptlike v0.10.2

2017-03-03 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
Scriptlike is a utility library to help you write script-like programs in D. https://github.com/Abscissa/scriptlike Changes in v0.10.2: - Enhancement: Added trace functions as debugging aid. Outputs file/line info and optionally a variable name/value.

Re: dmd Backend converted to Boost License

2017-04-08 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 04/07/2017 05:44 PM, Walter Bright wrote: 2. It's on all of the "Accepted OSS Licenses" lists that major corps have because of Boost itself being used in those companies. If your license isn't on the list, your project isn't being used. Yup. We figured every corporation that uses C++ has

Re: dmd Backend converted to Boost License

2017-04-08 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 04/07/2017 11:14 AM, Walter Bright wrote: https://github.com/dlang/dmd/pull/6680 Yes, this is for real! Symantec has given their permission to relicense it. Thank you, Symantec! Wow! This is HUGE news for D, and may I say, I think some *major* respect (and "props, j00!") are

Re: "Competitive Advantage with D" is one of the keynotes at C++Now 2017

2017-04-24 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 04/24/2017 11:17 AM, Timon Gehr wrote: Also, Java's type system is unsound. Not doubting you, but this sounds interesting. Further info or links?

Re: Boston D Meetup: Strawman Structs

2017-07-24 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 07/21/2017 05:55 PM, Steven Schveighoffer wrote: On 7/2/17 6:35 AM, Steven Schveighoffer wrote: I'll have a short presentation on a weird trick I discovered while writing some MySQL serialization code. Hope you can attend! https://www.youtube.com/watch?v=ZxzczSDaobw Very cool.

Re: "Competitive Advantage with D" is one of the keynotes at C++Now 2017

2017-04-28 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 04/28/2017 06:11 PM, H. S. Teoh via Digitalmars-d-announce wrote: That's the thing about C++: The right way is the obscure way, and the straightforward way is the wrong way. And yesterday's right way is today's wrong way. And apparently (it would seem), the only way NOT to completely fuck

Re: "Competitive Advantage with D" is one of the keynotes at C++Now 2017

2017-04-28 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 04/28/2017 04:26 PM, Atila Neves wrote: The other day I was reminded that in C++ land one has to manually write `operator<<` to print things out and `operator==` to compare things. What, seriously?!? That's the thing about C++: The right way is the obscure way, and the straightforward way

mysql-native v1.1.0 - small bugfix update

2017-06-08 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
mysql-native is a native D client driver for MySQL/MariaDB. It works with or without Vibe.d. Small bugfix update: - Fixed: #99: Update dub.sdl to allow vibe-d 0.8.* releases. - Fixed: #111: NEWDECIMAL type returns the wrong value. Since this type is intended as arbitrary precision, the

Re: Faster Command Line Tools in D

2017-05-26 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 05/25/2017 08:30 AM, xtreak wrote: There are repeated references over usage of D at Netflix for machine learning. It will be a very helpful boost if someone comes up with any reference or a post regarding how D is used at Netflix and addition of Netflix to

Re: D now available on Codefights.com

2017-06-13 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
Very cool I've never heard of codefights.com before but I'm giving it as try right now (with D, of course) and I'm really enjoying it! :) Kudos to all involved!! :)

mysqln - tagged bugfix release v1.1.1

2017-09-19 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
https://github.com/mysql-d/mysql-native Native D client driver for MySQL/MariaDB, works with or without Vibe.d Tagged bugfix release v1.1.1: - Fixed: #116: Prevent segfault on copying ResultRange. (@schveiguy) - Fixed: #120: Fix typos / grammars in documentation (@Marenz) - Fixed: #124: Fix

mysqln - v1.1.2

2017-09-20 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 09/20/2017 01:24 AM, Nick Sabalausky (Abscissa) wrote: https://github.com/mysql-d/mysql-native Native D client driver for MySQL/MariaDB, works with or without Vibe.d Tagged bugfix release v1.1.1: - Fixed: #116: Prevent segfault on copying ResultRange. (@schveiguy) - Fixed: #120: Fix typos

Re: mysqln - tagged bugfix release v1.1.1

2017-09-25 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 09/21/2017 08:17 PM, Andrej Mitrovic wrote: On Wednesday, 20 September 2017 at 05:24:14 UTC, Nick Sabalausky (Abscissa) wrote: https://github.com/mysql-d/mysql-native Native D client driver for MySQL/MariaDB, works with or without Vibe.d Hey Nick, Can this also work with Percona MySQL?

Re: mysqln - tagged bugfix release v1.1.1

2017-09-25 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 09/25/2017 11:31 PM, Nick Sabalausky (Abscissa) wrote: On 09/21/2017 08:17 PM, Andrej Mitrovic wrote: On Wednesday, 20 September 2017 at 05:24:14 UTC, Nick Sabalausky (Abscissa) wrote: https://github.com/mysql-d/mysql-native Native D client driver for MySQL/MariaDB, works with or without

Re: remake of remake of Konami's Knightmare

2017-11-27 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 11/24/2017 08:28 PM, ketmar wrote: quickfix. forgot to properly set requested OpenGL version. http://files.catbox.moe/lx02hz.7z Very cool! Works under wine for me. Not a game I was familiar with, so it's cool learning hands-on about more of Konami's back catalog from one of the best

mysql-native v1.1.3

2017-12-01 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
An all-D MySQL/MariaDB client library: https://github.com/mysql-d/mysql-native In v1.1.3: - Fixed: #138: Prepared: Prevent mem allocs during cleanup. (@Marenz) - Fixed: #135: Now works on DMD 2.076 and up. (@SingingBush) - New: #135: Add travis-ci testing for OSX. (@SingingBush) - Fixed: DMD

Re: mysql-native v1.2.0: Housekeeping: Deprecations, Cleanup and Doc Improvements

2017-12-15 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 12/15/2017 04:45 AM, Jacob Carlborg wrote: On 2017-12-15 08:31, Nick Sabalausky (Abscissa) wrote: - The deperecated symbols have been removed (ie, the the outdated pre-v1.0.0 interfaces). If you have removed symbols that's a breaking API changes which should bump the right most digit in

mysql-native v1.2.0: Housekeeping: Deprecations, Cleanup and Doc Improvements

2017-12-14 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
An all-D MySQL/MariaDB client library: https://github.com/mysql-d/mysql-native In v1.2.0: There's also a few bugfixes, but aside from that, this is mainly a housekeeping release: - The deperecated symbols have been removed

Re: Release D 2.077.0

2017-11-02 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 11/02/2017 06:35 PM, Martin Nowak wrote: reproducible dmd builds, Curiosity: What exactly was preventing this before? Order of source files altering the order of output? Something else? Also, just musing...Regarding the matter of __TIME__(etc) breaking this guarantee (breaking it for

mysql-native v1.1.4: Introduced auto-purge to fix a few problems

2017-12-04 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
An all-D MySQL/MariaDB client library: https://github.com/mysql-d/mysql-native In v1.1.4: Introduced auto-purge to fix a few problems. - Fixed: #117: ResultRange cannot be copied. (@Abscissa) - Fixed: #119: Is a defensive

Re: D User Survey

2017-12-08 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 12/08/2017 08:00 PM, SomeRandomUser wrote: Isn't that just culture (music) how popular is American Country music in Europe?  I have met one person that liked it.  Trump is hardly an ultra-conservative (not to mention the various groups of conservatism social, fiscal, neo, etc..).  Alot of

Re: D User Survey

2017-12-10 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 12/09/2017 07:58 AM, wobbles wrote: On Thursday, 7 December 2017 at 14:31:01 UTC, Chris wrote:  I didn't know Ireland was so unknown, unless, of course, I'm supposed to choose "Great Britain". I also hated myself for clicking Great Britain :-) As an outsider, I'm curious about this. My

Re: D User Survey

2017-12-08 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 12/08/2017 05:53 AM, Chris wrote: Yep. D seems to be quite popular in Europe. I wonder why that is, given that it originated in the USA and people in the States are more open to new technologies. What were the technical and social factors at work here? Maybe D wasn't fancy enough to be

Re: unit-threaded v0.7.45 - now with more fluency

2018-05-08 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 05/08/2018 05:05 AM, Cym13 wrote: I wouldn't say it's an abuse, the dot means exactly the same thing as everywhere else in the language. No, it really doesn't mean the same thing at all. Not when you look away from the unimportant implementation details and towards the big picture:

Re: unit-threaded v0.7.45 - now with more fluency

2018-05-08 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 05/07/2018 11:57 PM, Johannes Loher wrote: On Monday, 7 May 2018 at 09:19:31 UTC, Dechcaudron wrote: I think I'm siding with Johannes here. Much as the overloads look nice, I don't really see the advantage over `shouldEqual`. Also, what's with `all.these.identifiers`? Any particular reason

Re: sumtype 0.3.0

2018-05-08 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 05/07/2018 05:35 PM, Paul Backus wrote: Personally, I consider [pattern matching] an essential feature--arguably *the* essential feature-- After having used Nemerle, I tend to agree. I haven't gotten around to using this yet, but I did take a look at the source and was blown away by how

Re: iopipe v0.0.4 - RingBuffers!

2018-05-12 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 05/12/2018 08:14 AM, Steven Schveighoffer wrote: But I am not expecting any miracles here. GNU grep does pretty much everything it can to achieve performance -- including eschewing the standard library buffering system as I am doing. I can probably match the performance at some point, but

Re: Diamond mentioned in stackshare.io article

2018-05-05 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 05/05/2018 04:45 PM, Gheorghe Gabriel wrote: On Saturday, 5 May 2018 at 20:34:05 UTC, Gheorghe Gabriel wrote: [...] Sorry for my english mistakes. I am very tired right now and english is not my main language. I cannot correct that 2 it's -> to -> its. No worries, even most native

Re: Complicated Types: Prefer “alias this” Over “alias” For Easier-To-Read Error Messages

2018-05-21 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 05/21/2018 12:36 PM, Arredondo wrote: > One typo: > >> 1. Although the alias this means MyType... >> 2. Although the alias this means MyType... On 05/21/2018 01:43 PM, Steven Schveighoffer wrote: > The list has two "1." headers. Looks like the blog software got confused by my multi-paragraph

Re: Complicated Types: Prefer “alias this” Over “alias” For Easier-To-Read Error Messages

2018-05-21 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 05/21/2018 01:30 PM, Paul Backus wrote: I'm not sure making `_data` private is really a good idea. For example, this only works if `_data` is public: import std.algorithm; import std.range; import std.stdio; struct MyType { auto _data = iota(10); alias _data this; } void

Re: Complicated Types: Prefer “alias this” Over “alias” For Easier-To-Read Error Messages

2018-05-21 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 05/21/2018 01:43 PM, Steven Schveighoffer wrote: Nice idea, I wonder if the compiler couldn't do this automatically with alias, however. It already does this in some cases (e.g. string instead of immutable(char)[]). This would help solve the problem that error messages aren't going to get

Re: Looks like Digital Mars C++ is on the front page of HN at the moment!

2018-05-23 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 05/23/2018 09:01 PM, Walter Bright wrote: It's been a great thread. Everyone was very nice. Now that it's gone from the front page, here's the direct link: https://news.ycombinator.com/item?id=17129678 Whoa, I didn't even realize D was now used in some of the DMC++ source. That's a very

Re: GitHub could be acquired by Microsoft

2018-06-09 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 06/09/2018 08:29 PM, bauss wrote: On Saturday, 9 June 2018 at 23:41:43 UTC, Nick Sabalausky (Abscissa) wrote: (I just hope it doesn't lead to GitLab running out of cash too.) And then Microsoft acquires both and everyone moves to Bitbucket. Endless cycle :) Ahhh! Time to make my own

Re: GitHub could be acquired by Microsoft

2018-06-09 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 06/09/2018 11:06 AM, Paolo Invernizzi wrote: [1] https://about.gitlab.com/2018/06/05/gitlab-ultimate-and-gold-free-for-education-and-open-source/ From the link: "It has been a crazy 24 hours for GitLab. More than 2,000 people tweeted about #movingtogitlab. We imported over 100,000

Re: GitHub could be acquired by Microsoft

2018-06-08 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 06/08/2018 01:01 AM, H. S. Teoh wrote: but the valuable associated information like PR discussions is specific to Github and there is no easy way (if there's a way at all!) to export this data and import it elsewhere. For importing, you may be right. For exporting, I'm not sure I agree.

Re: Arrogant - HTML5 dom with CSS selectors

2018-06-13 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 06/13/2018 09:23 AM, Andrea Fontana wrote: > On behalf of the company I work for [1] today I released a new library: > arrogant. > Nice! It is a fully conformant HTML5 dom library with CSS selectors. Does this mean that it requires the raw HTML input to already be fully conformant HTML5

Re: Arrogant - HTML5 dom with CSS selectors

2018-06-13 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 06/13/2018 02:25 PM, Andrea Fontana wrote: On Wednesday, 13 June 2018 at 18:06:02 UTC, Nick Sabalausky (Abscissa) wrote: Does this mean that it requires the raw HTML input to already be fully conformant HTML5 or simply that it supports and outputs valid HTML5? The second one. If you parse

Re: Encouraging preliminary results implementing memcpy in D

2018-06-14 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 06/14/2018 05:01 AM, AnotherTorUser wrote: sorry. but what world do you live in? Note this part of what I said: >> If I worked in such an organization that tracked its employees >> activities *outside the workplace* That part is KEY, but it sounds like you an errExit have chosen to

Re: GitHub could be acquired by Microsoft

2018-06-07 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 06/07/2018 04:36 AM, Walter Bright wrote: On 6/6/2018 10:28 PM, Nick Sabalausky (Abscissa) wrote: Keep in mind, if we had been commoditizing and decentralizing repository hosting, issue tracking, PRs, user accounts, etc. right from the start like we should've been, then this MS buyout of

Re: GitHub could be acquired by Microsoft

2018-06-09 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 06/08/2018 06:02 PM, Brad Roberts wrote: Essentially (if not actually) everything on github is available through their api's.  No need for scraping or other heroics to gather it. That does make things a little bit simpler, but web scraping really isn't all that much more complicated.

Re: Encouraging preliminary results implementing memcpy in D

2018-06-14 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 06/14/2018 02:34 AM, errExit wrote: The D Foundation now subjects all users having an ip originating from a tor exit node, to having their posts moderated (but by whom, when, how, criteria ?? etc). Literally millions of people could, and probably would, be using that exit node. So

Re: SecureD moving to GitLab

2018-06-09 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 06/09/2018 01:47 AM, Walter Bright wrote: Oh, employers do try that. I would negotiate what is mine and what is the company's, before signing. In particular, I'd disclose all projects I'd worked on before, and get a specific acknowledgement that those were not the company's. When I'd

Re: GitHub could be acquired by Microsoft

2018-06-09 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 06/09/2018 03:56 AM, Kagamin wrote: On Saturday, 9 June 2018 at 07:06:23 UTC, Nick Sabalausky (Abscissa) wrote: Whether web API or web scraping: Either way, you still have to submit an HTTP request, parse the results according to the format the server has chosen to spit out, and possibly

AppVeyor-D: Project to track recommended appveyor.yml (Win CI)

2018-05-31 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
I wanted to use AppVeyor to add Windows CI to some of my D projects, but when I tried the appveyor.yml config on the DWiki[1], I found it needed some work. So after quite a bit of tinkering (and throwing semi-random bits at the wall to see what would work), I finally got it running properly

Re: AppVeyor-D: Project to track recommended appveyor.yml (Win CI)

2018-05-31 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 05/31/2018 07:03 AM, jmh530 wrote: Thanks for this. Is there something similar for Travis? D support is already built-in on travis so it's not really needed there. See: https://docs.travis-ci.com/user/languages/d/ https://wiki.dlang.org/Continuous_Integration Also:

Re: GitHub could be acquired by Microsoft

2018-06-06 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 06/03/2018 11:51 PM, Anton Fediushin wrote: What's your opinion about that? Will you continue using GitHub? The obvious question is "Will MS use evil/strongarm shenanigans with GitHub?" That would've been the one and only right question if this were the 90's. (And the answer probably

Re: LDC 1.9.0 beta

2018-04-26 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 04/26/2018 03:11 AM, Joakim wrote: I don't know how those links are relevant. Yes, some projects are supporting WebAssembly, but that doesn't mean the web hasn't been declining, so this port likely isn't worth the effort. Nobody is stopping anyone from doing the port though: ldc has some

mysql-native v2.2.2: Minor updates

2018-05-03 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
An all-D MySQL/MariaDB client library: https://github.com/mysql-d/mysql-native == Tagged release, 'v2.2.2'. Sorry, no "zero date" fix just yet, but I think we're getting close (#65). In this version: - Fixed #177: Update unit-threaded, and don't lock

mysql-native: Prepared statements: Direction and future

2018-01-15 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
I've posted (what basically amounts to an article) about my current thoughts on addressing Prepared's current downsides in the next release (v2.0.0), as well as a little bit of future direction of the lib. Anyone interested in mysql-native's prepared statements (especially their interplay

mysql-native v1.2.1 (Was: mysql-native v1.2.0: Housekeeping: Deprecations, Cleanup and Doc Improvements)

2018-01-13 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 12/15/2017 04:45 AM, Jacob Carlborg wrote: On 2017-12-15 08:31, Nick Sabalausky (Abscissa) wrote: - The deperecated symbols have been removed (ie, the the outdated pre-v1.0.0 interfaces). If you have removed symbols that's a breaking API changes which should bump the right most digit in

mysql-native v2.0.0-rc1: Release Candidate: Redesigned Prepared

2018-02-04 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
An all-D MySQL/MariaDB client library: https://github.com/mysql-d/mysql-native -- I've tagged a release candidate ("v2.0.0-rc1") which, among other various enhancements and cleanups, includes a redesign of prepared statements which are now connection-independent

Re: Official Dub package for DWT

2018-02-07 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
Very cool, will have to give it a try. I'm very interested in cross platform native-UI GUI libs for D.

mysql-native v2.0.0-rc3: Third release candidate

2018-02-08 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
Hopefully the last. Changes since RC2 listed in changelog: https://github.com/mysql-d/mysql-native/blob/master/CHANGELOG.md -- Incidentally, when you're sticking to semantic versioning, utilizing release candidates and git branches REALLY comes in handy ;) Highly

Re: NES emulator written in D

2018-02-03 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
Very cool!

Re: mysql-native v2.0.0-rc1: Release Candidate: Redesigned Prepared

2018-02-06 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 02/06/2018 03:42 AM, aberba wrote: I really want to thank you for putting much time into documentation. Very much appreciated. This library is very necessary for the stuff I do. Glad to hear! Boring as documenting can be, my viewpoint is that it's every bit as integral to a tool as the

mysql-native v2.0.0-rc2

2018-02-06 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
Second release candidate: Tagged v2.0.0-rc2 Changes since RC1 listed in changelog: https://github.com/mysql-d/mysql-native/blob/master/CHANGELOG.md These changes are needed to help prepare for the eventual v2.1.0

Re: dxml 0.2.0 released

2018-02-12 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 02/12/2018 05:02 PM, H. S. Teoh wrote: On Mon, Feb 12, 2018 at 02:54:48PM +, rikki cattermole via Digitalmars-d-announce wrote: [...] Everything you have mentioned is not in Phobos. Just because something is 'good enough' does not make it 'good enough' for Phobos. In the words of Andrei

Re: dxml 0.2.0 released

2018-02-12 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 02/12/2018 11:15 AM, rikki cattermole wrote: dxml 7.5k LOC std.xml 3k LOC dxml would make the situation a lot worse. 4.5k LOC == "a lot worse"? Uuuuhhh...WAT?

mysql-native v2.0.0: Redesign Prepared

2018-02-12 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
An all-D MySQL/MariaDB client library: https://github.com/mysql-d/mysql-native This new v2.0.0, among other various enhancements and cleanups, includes a redesign of prepared statements which are now connection-independent (among

Re: dxml 0.2.0 released

2018-02-12 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 02/12/2018 10:49 PM, Jonathan M Davis wrote: Andrei used to complain periodically about how large std.datetime was, thinking that it was way too much code, and then someone actually went to the effort of stripping out all of the comments and unit tests and whatnot to count the actual lines

Re: D compiler daily downloads at an all-time high

2018-02-14 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 02/13/2018 01:15 PM, Dmitry Olshansky wrote: On Monday, 12 February 2018 at 15:20:29 UTC, Martin Tschierschke wrote: On Monday, 16 November 2015 at 15:20:51 UTC, Andrei Congratulations to everybody who co Andrei Old post but new numbers! http://erdani.com/d/downloads.daily.png Would be

Re: Beta 2.079.0

2018-02-19 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 02/19/2018 05:49 AM, Martin Nowak wrote: http://dlang.org/changelog/2.079.0.html ...WOW O_o This release is seriously, just...wow! One question though: I'm unclear on the "include imports". Do those basically obviate the original purpose of rdmd? Ie, so dmd doesn't need to be passed

mysql-native v2.1.0-rc1: New features

2018-02-23 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
An all-D MySQL/MariaDB client library: https://github.com/mysql-d/mysql-native == Tagged 'v2.1.0-rc1', release candidate for v2.1.0, which mainly adds a few new features, inlcuding greatly simplified shortcut syntax for prepared statements (with

mysql-native v2.1.0-rc3

2018-02-25 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
Third release candidate, `v2.1.0-rc3`: Snuck in a long-overdue fix for #28: "MYXProtocol thrown when using large integers as prepared parameters." https://github.com/mysql-d/mysql-native/issues/28 --- In other news, there will likely be another release immediately

Re: mysql-native v2.1.0-rc1: New features

2018-02-25 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 02/25/2018 02:01 AM, Suliman wrote: What about string interpolation like: conn.exec("INSERT INTO table_name VALUES ({i}, {s})"); ? Instead of: conn.exec("INSERT INTO table_name VALUES (?, ?)", i, s); The syntax is purely, 100% server-side. Mysql-native just passes the whole string,

Re: mysql-native v2.1.0-rc1: New features

2018-02-24 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
Minor second release candidate, 'v2.1.0-rc2'. Only thing this changes is to update the example in the readme to include the new simplified prepared statement interface.

SDLang-D v0.10.4 - Minor maintenance release

2018-07-15 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
announce.sdl: == // SDLang-D // - // A library to read (pull parse or dom) and write (dom) // SDLang data (such as used by DUB's dub.sdl files). // // SDLang // --- // A text-file format similar to XML/JSON/YAML, but is //

Re: SDLang-D v0.10.4 - Minor maintenance release

2018-07-18 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 07/18/2018 01:57 PM, Anton Pastukhov wrote: On Monday, 16 July 2018 at 04:14:12 UTC, Nick Sabalausky (Abscissa) wrote: announce.sdl: == [...] http://sdl.ikayzo.org/ is down, so maybe remove links to it from sdlang.org? Yea, it

Re: Assertions in production code on Reddit

2018-08-31 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 08/30/2018 05:31 PM, Walter Bright wrote: https://www.reddit.com/r/programming/comments/9bl72d/assertions_in_production_code/ > >High reliability is not achieved by making perfect designs, it is >achieved by making designs that are tolerant of failure. Runtime >checking is essential to

Re: expectations 0.1.0

2018-09-04 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 09/04/2018 12:05 AM, Paul Backus wrote: On Monday, 3 September 2018 at 21:55:57 UTC, Nick Sabalausky (Abscissa) wrote: By contrast, a function that returns an `Expected!T` does *not* force its caller to acknowledge it. If an error occurs, and the caller never checks value or

[OT] My State is Illegally Preventing Me From Voting In The Upcoming 2018 US Elections

2018-09-09 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
I sincerely apologize for the OT, but AFAIK, I don't have anywhere else to post. Please rm/delete/ban/etc... as appropriate, I take full responsibility. This is a (potentially inappropriate) "CYA" (Covering my "A 55") posting, so please delete/rm/ban/etc. as necessary, if applicable.

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: 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: mysql-native v2.1.0

2018-03-08 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 03/08/2018 06:57 AM, bauss wrote: But if you can't store the pools anywhere, how are you supposed to use them with vibe.d? You can store the pools wherever you need to, just don't hold onto a Connection past the end of a vibe task. Creating a new pool for every thread seems expensive

Re: Vision document for H1 2018

2018-03-13 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 03/11/2018 11:31 PM, Laeeth Isharc wrote: C# slices look great. I wonder if that might open the door for D on the CLR. I know that was attempted once a long way back, but was deemed infeasible and abandoned. IIRC, inability to implement slices was the main blocker.

Re: Vibe.d web interface tutorial

2018-03-13 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 03/13/2018 09:42 AM, Daniel Kozak wrote: Yes PHP is always to blame :) From my archives: https://semitwist.com/articles/article/view/10-fun-facts-about-php

mysql-native v2.2.1: Bugfixes

2018-03-08 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
An all-D MySQL/MariaDB client library: https://github.com/mysql-d/mysql-native == Tagged bugfix release, 'v2.2.1'. Full changelog: https://github.com/mysql-d/mysql-native/blob/master/CHANGELOG.md This fixes a pretty big regression (for vibe.d users) from

Re: Vision document for H1 2018

2018-03-10 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 03/10/2018 05:47 AM, Dylan Graham wrote: On Saturday, 10 March 2018 at 10:05:49 UTC, rumbu wrote: According to the State of D Survey, 71% of the respondents don't care about betterC. Why is betterC on the priority list? Yeah. Why should D worry about tying itself into C when it can't

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: 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 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 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: std.variant Is Everything Cool About D

2018-03-29 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 03/29/2018 01:30 PM, 12345swordy wrote: There are some quite criticisms being made in the comments section. Some of them I actually agree with. Much as I love D, its Variant/Arithmetic *is* a terribly inferior hack compared to various languages that have built-in sum types. (Like

Re: Vision document for H1 2018

2018-03-16 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 03/16/2018 02:35 PM, Tony wrote: On Friday, 16 March 2018 at 15:04:21 UTC, Kagamin wrote: On Thursday, 15 March 2018 at 16:03:14 UTC, rumbu wrote: Are you sure that you are talking about phobos and not tango? :) I'm eager to find how I'm uninformed. Tango doesn't use UFCS, while phobos

Re: The D Language Foundation at Open Collective

2018-03-19 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 03/19/2018 12:31 AM, Tony wrote: I believe they only mentioned the time factor, but it is also labor intensive to manually pour the water. Yup [nod, nod]. That's why decades ago they invented machines to pour the hot water over the coffee for us ;) It even heats up the water, too!

Re: The D Language Foundation at Open Collective

2018-03-18 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 03/18/2018 04:18 PM, Tony wrote: On Thursday, 15 March 2018 at 12:36:24 UTC, Meta wrote: Sorry to derail, but I had to ask: where does 1 coffee (even extra large) cost $5 USD? Let me know so I know to never move there. I have seen regular coffee at $4.50 and as high as $5.50 in the USA

mysql-native v2.2.0: Maintenance Release (and news)

2018-03-03 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
An all-D MySQL/MariaDB client library: https://github.com/mysql-d/mysql-native == Tagged 'v2.2.0'. Full changelog: https://github.com/mysql-d/mysql-native/blob/master/CHANGELOG.md This is primarily a maintenance release including some bugfixes, and the

  1   2   >