Re: Linking D code into existing C programs

2016-09-26 Thread Nick Sabalausky via Digitalmars-d
On 09/26/2016 07:32 PM, Walter Bright wrote: How much of an issue is this with D? Is it something we need to address? I don't know anything about the technical side of this issue, but I do think it's an important thing to have working well, since I believe it's important for us to start

Re: SDLang-D v0.10.0 - Big convenience improvements

2016-09-26 Thread Nick Sabalausky via Digitalmars-d-announce
On 09/25/2016 06:12 PM, Nick Sabalausky wrote: - // A few basic values first "Joe" last "Coder" ip "127.0.0.1" port=80 // Supports child tags folder "myFiles" color="yellow" protection=on { folder "my documents" { document "resume.pdf" } }

Re: [OT] Stackless fibers/coroutines

2016-09-26 Thread Nick Sabalausky via Digitalmars-d
On 09/26/2016 02:42 AM, Jacob Carlborg wrote: On 2016-09-25 20:16, Nick Sabalausky wrote: I don't see why not, but there would be one notable drawback: You could only have one instance existing at a time (per thread). But how does it work in languages which don't pass in the state explicitly,

SDLang-D v0.10.0 - Big convenience improvements

2016-09-25 Thread Nick Sabalausky via Digitalmars-d-announce
https://github.com/Abscissa/SDLang-D New in v0.10.0: Big convenience enhancements to DOM interface and an improved pull parser interface. Plus documentation improvements and a couple bugfixes. Full changelog: https://github.com/Abscissa/SDLang-D/blob/master/CHANGELOG.md

Re: [OT] Stackless fibers/coroutines

2016-09-25 Thread Nick Sabalausky via Digitalmars-d
On 09/25/2016 01:06 PM, Chris Wright wrote: On Sun, 25 Sep 2016 01:36:57 -0400, Nick Sabalausky wrote: The "turning functions inside-out" effect of continuation passing is exactly what input ranges suffer from[1] - and is exactly what stackless coroutines *avoid*. The compiler inverts them

Re: [OT] Stackless fibers/coroutines

2016-09-25 Thread Nick Sabalausky via Digitalmars-d
On 09/25/2016 06:39 AM, Jacob Carlborg wrote: I find it quite difficult to find correct definitions with many of these terms like: coroutine, fiber, stackless thread, resumeable function. Because many languages use the same name of different things and they use different names for the same

Re: [OT] Stackless fibers/coroutines

2016-09-24 Thread Nick Sabalausky via Digitalmars-d
On 09/24/2016 09:14 PM, Chris Wright wrote: On Sat, 24 Sep 2016 11:49:24 -0400, Nick Sabalausky wrote: My understanding is that C#'s coroutines, under the hood, work the same way as C's Protothreads library: You mean async/await, which is a compiler-provided CPS transformation on top of the

Re: Interesting talk about language design and evolution

2016-09-24 Thread Nick Sabalausky via Digitalmars-d
On 09/24/2016 02:11 PM, Brad Anderson wrote: Relevant is this list of C++17 features (many of which already work in popular compilers). http://stackoverflow.com/a/38060437/216300 I've got to admit, the D side of me is jealous of a few things on this list. Structured bindings, init ifs (one of

[OT] Stackless fibers/coroutines

2016-09-24 Thread Nick Sabalausky via Digitalmars-d
On 09/24/2016 10:20 AM, Jacob Carlborg wrote: On 2016-09-24 15:12, Nick Sabalausky wrote: +1. Although I haven't given it too much thought, I'd bet that could also be used to provide, in library, my #1 most wanted missing D feature: Input ranges (maybe even forward, too) written as stackless

Re: What's up with the assert enhancements proposed years ago?

2016-09-24 Thread Nick Sabalausky via Digitalmars-d
On 09/24/2016 04:03 AM, Martin Nowak wrote: assertPred!"=="(a, b); assertPred!"!"(a); assertPred!(std.range.equal)(a, b); Seems to do most of what DIP83 does w/ expensive feature design, and compiler implementation work. Also http://code.dlang.org/packages/unit-threaded comes with a couple of

Re: What's up with the assert enhancements proposed years ago?

2016-09-24 Thread Nick Sabalausky via Digitalmars-d
On 09/24/2016 03:34 AM, Jonathan M Davis via Digitalmars-d wrote: On Friday, September 23, 2016 23:50:03 Nick Sabalausky via Digitalmars-d wrote: And then that leads too, to the question of whether such third-party asserts are a good idea for the doc unittests I like so much... :/ I'd say

Re: What's up with the assert enhancements proposed years ago?

2016-09-24 Thread Nick Sabalausky via Digitalmars-d
On 09/24/2016 06:52 AM, Jacob Carlborg wrote: On 2016-09-24 00:02, Seb wrote: http://wiki.dlang.org/DIP83 (needs polishing and submission to the new dip process) http://wiki.dlang.org/DIP50 :) +1. Although I haven't given it too much thought, I'd bet that could also be used to provide,

Re: What's up with the assert enhancements proposed years ago?

2016-09-23 Thread Nick Sabalausky via Digitalmars-d
On 09/23/2016 11:47 PM, Nick Sabalausky wrote: On 09/23/2016 07:57 PM, Jonathan M Davis via Digitalmars-d wrote: On Friday, September 23, 2016 16:57:49 Nick Sabalausky via Digitalmars-d wrote: So...umm...yea...whatever happened to that beefed-up "assert" feature? [...]

Re: What's up with the assert enhancements proposed years ago?

2016-09-23 Thread Nick Sabalausky via Digitalmars-d
On 09/23/2016 07:57 PM, Jonathan M Davis via Digitalmars-d wrote: On Friday, September 23, 2016 16:57:49 Nick Sabalausky via Digitalmars-d wrote: So...umm...yea...whatever happened to that beefed-up "assert" feature? [...] Ugh, so, "It was rejected for being library in

What's up with the assert enhancements proposed years ago?

2016-09-23 Thread Nick Sabalausky via Digitalmars-d
Some ages ago, a whole suite of "assertPred" functions were written (giving better diagnostic info, like showing "expected vs actual"), were totally awesome, were submitted to phobos...and were rejected because it was deemed both easy enough and preferable to get these features by modifying

Documentation unittests are seriously awesome

2016-09-23 Thread Nick Sabalausky via Digitalmars-d
Just had to say it. Been using it a lot this week. Referring to this stuff: /// Does foo stuff void foo() {} /// unittest { // Tests and docs in one, 2-for-1 win! } And all just built-in. Freaking sweet.

Re: [OT] Re: Why I am switching to Go

2016-09-22 Thread Nick Sabalausky via Digitalmars-d
On 09/22/2016 11:41 AM, Chris wrote: Around every two years they come up with something new, give or take a year depending on the topic. In general, I got the impression that once I've finally got used to using a certain term, it's no longer (politically or otherwise) correct, e.g. "STD" =>

[OT] Re: Why I am switching to Go

2016-09-22 Thread Nick Sabalausky via Digitalmars-d
On 09/22/2016 07:43 AM, Steven Schveighoffer wrote: On 9/20/16 3:14 PM, Intersteller wrote: TL;DR: I like and have used Go extensively. I glanced at D for 20 minutes and didn't like it. Grumpy old curmudgeon says: "Harumpf...Why back in my day, we pronounced 'TL;DR' as 'summary'...or

Re: Custom test runner

2016-09-21 Thread Nick Sabalausky via Digitalmars-d-learn
On 09/21/2016 02:26 AM, Jacob Carlborg wrote: On 2016-09-21 07:51, Nick Sabalausky wrote: IIRC, there is some way to hook in and use a custom unittest-runner. How does one go about that? http://dlang.org/phobos/core_runtime.html#.Runtime.moduleUnitTester Cool, thanks. I got that to work,

Re: null analysis with control flow

2016-09-21 Thread Nick Sabalausky via Digitalmars-d
On 09/21/2016 09:10 AM, w0rp wrote: 1. Most languages (including D) do not support pattern matching. If pattern matching was added, it would be totally alien to any programmers coming from C, Java, JavaScript, Python, etc. This means this method of handling null might not be adopted. I've

Re: Why I am switching to Go

2016-09-21 Thread Nick Sabalausky via Digitalmars-d
On 09/20/2016 03:14 PM, Intersteller wrote: Vibe.d looks great on the surface but lack of documentation, http://vibed.org/docs http://vibed.org/api There's also two examples right on the homepage. Did you try scrolling? I'll grant that the stupid "modern" sales-pitch-first,

Re: consequences of removing semicolons in D like in Python

2016-09-20 Thread Nick Sabalausky via Digitalmars-d
On 09/20/2016 08:20 AM, eugene wrote: On Tuesday, 20 September 2016 at 12:00:00 UTC, bachmeier wrote: Without the semicolons, I have to parse the code myself could you, please, explain, why do you parse code yourself? That's what happens in the brain when you read code. He's not talking

Re: [OT] Brokerage for the D Language Foundation

2016-09-17 Thread Nick Sabalausky via Digitalmars-d
On 09/17/2016 12:58 PM, Andrei Alexandrescu wrote: On 09/17/2016 12:53 PM, Nick Sabalausky wrote: That's how I hear it worked in the 50's, but does anyone but the brokers ever gain any real interest from such accounts anymore? From everything I've ever seen and heard, they pretty much all now

Re: [OT] Brokerage for the D Language Foundation

2016-09-17 Thread Nick Sabalausky via Digitalmars-d
On 09/17/2016 12:41 PM, Andrei Alexandrescu wrote: On 9/17/16 11:31 AM, John Colvin wrote: Ignorant here: Why would the foundation need a brokerage account? Companies (non-profits included) usually have some cash lying around. Some of that cash is needed for operational expenses (salaries,

Re: consequences of removing semicolons in D like in Python

2016-09-17 Thread Nick Sabalausky via Digitalmars-d
On 09/17/2016 09:38 AM, eugene wrote: because a programmer will have a choice of writing or not semicolons, as one anyway presses "Enter" why not to use it as a line separator, and one who likes to type semicolons won't be confused if there is backward compatibility Other people have already

Re: consequences of removing semicolons in D like in Python

2016-09-17 Thread Nick Sabalausky via Digitalmars-d
On 09/16/2016 07:00 PM, eugene wrote: Hello everyone, what if to remove semicolons at the end of each line of code in D like in Python? Is it worth it? Not worth it. Gripes about semicolons are a symptom of only seeing the superficial and not really understanding enough about languages to see

Re: mysql-native v0.1.5

2016-09-17 Thread Nick Sabalausky via Digitalmars-d-announce
On 09/16/2016 02:41 PM, Rory McGuire via Digitalmars-d-announce wrote: On 11 Sep 2016 16:57, "Nick Sabalausky via Digitalmars-d-announce" < digitalmars-d-announce@puremagic.com> wrote: [snip] ... a top priority for mysqln-native at this point. Hi Nick is that a typo or

Re: mysql-native v0.1.5

2016-09-11 Thread Nick Sabalausky via Digitalmars-d-announce
On 09/11/2016 07:02 AM, Emre Temelkuran wrote: There is absolutely no proper documentation (only original's 2011 one). This is why it's not popular. Yea, I agree, it's an embarrassment. It's a top priority for mysqln-native at this point.

Re: Fully-qualified symbol disambiguation is deprecated???

2016-09-09 Thread Nick Sabalausky via Digitalmars-d-learn
On 09/09/2016 12:35 PM, pineapple wrote: On Friday, 9 September 2016 at 11:54:42 UTC, Steven Schveighoffer wrote: Can you demonstrate the issue? I have never heard of this. imports should work when done inside a function. -Steve Tried and failed to reproduce with a simple example, but any

Re: Fully-qualified symbol disambiguation is deprecated???

2016-09-09 Thread Nick Sabalausky via Digitalmars-d-learn
On 09/08/2016 06:22 PM, Nick Sabalausky wrote: On 09/08/2016 06:13 PM, Steven Schveighoffer wrote: On 9/8/16 6:02 PM, Nick Sabalausky wrote: I'm getting deprecation messages ("Package...not accessible here, perhaps add static import") when simply trying to use fully-qualified symbol names to

Re: DlangUI 0.9.0: Console backend added

2016-09-09 Thread Nick Sabalausky via Digitalmars-d-announce
On 09/09/2016 07:21 AM, Vadim Lopatin wrote: Hello! Now it's possible to build DlangUI apps to run in console (Linux, Windows). Some screenshots (from dlangui example1 app): http://i63.tinypic.com/2wn1bg9.png http://i66.tinypic.com/142yctx.png http://i64.tinypic.com/snlc08.png

Re: Fully-qualified symbol disambiguation is deprecated???

2016-09-08 Thread Nick Sabalausky via Digitalmars-d-learn
On 09/08/2016 06:22 PM, Nick Sabalausky wrote: On 09/08/2016 06:13 PM, Steven Schveighoffer wrote: And there are still some straggling bugs which cause this message to be erroneously printed. I'm pretty sure I've hit one of those :( Can't be certain though until I examine my specific case

Re: Fully-qualified symbol disambiguation is deprecated???

2016-09-08 Thread Nick Sabalausky via Digitalmars-d-learn
On 09/08/2016 06:13 PM, Steven Schveighoffer wrote: On 9/8/16 6:02 PM, Nick Sabalausky wrote: I'm getting deprecation messages ("Package...not accessible here, perhaps add static import") when simply trying to use fully-qualified symbol names to disambiguate a symbol. Is this really intended?

Fully-qualified symbol disambiguation is deprecated???

2016-09-08 Thread Nick Sabalausky via Digitalmars-d-learn
I'm getting deprecation messages ("Package...not accessible here, perhaps add static import") when simply trying to use fully-qualified symbol names to disambiguate a symbol. Is this really intended?

mysql-native v0.1.6

2016-09-08 Thread Nick Sabalausky via Digitalmars-d-announce
Another small update, v0.1.6, to fix this: Linker error when using dub to import *just* vibe-d:core, but not all of vibe.d. At least once code.dlang.org notices the new tag.

mysql-native v0.1.5

2016-09-08 Thread Nick Sabalausky via Digitalmars-d-announce
Tagged a new release of mysql-native: A client driver for MySQL/MariaDB written natively in D from scratch via the published protocol specs, with no dependency on the C MySQL client library. Supports either Phobos or Vide.d sockets (works with or without Vibe.d). Despite the seemingly low

Re: D Github contributors - enable 2 factor authentification

2016-08-26 Thread Nick Sabalausky via Digitalmars-d
On 08/11/2016 05:25 PM, Walter Bright wrote: On 8/11/2016 7:34 AM, H. S. Teoh via Digitalmars-d wrote: so no actual code would be lost. Github dlang is our critical infrastructure, we should treat it accordingly. I agree we wouldn't lose the code history, but would lose just about everything

Re: D Github contributors - enable 2 factor authentification

2016-08-26 Thread Nick Sabalausky via Digitalmars-d
On 08/11/2016 10:56 AM, Kagamin wrote: On Thursday, 11 August 2016 at 13:35:08 UTC, qznc wrote: The code is pretty safe thanks to git. The comments get lost. Irony. Is git still a DVCS? If you lose the central repo, you just lose. The one big thing that always annoyed me about github is

Re: rdmd configuration files

2016-08-26 Thread Nick Sabalausky via Digitalmars-d
On 08/11/2016 06:04 PM, Jonathan Marler wrote: On Thursday, 11 August 2016 at 21:58:35 UTC, Chris Wright wrote: On Thu, 11 Aug 2016 20:44:12 +, Lodovico Giaretta wrote: In file rdmd_wrapper.sh: rdmd -my-special -command-line -parameters $* When you call it this way: ./rdmd_wrapper

Re: Minor updates: gen-package-version v1.0.4 and sdlang-d v0.9.6

2016-08-25 Thread Nick Sabalausky via Digitalmars-d-announce
On 08/25/2016 06:37 PM, Chris Wright wrote: On Tue, 23 Aug 2016 12:19:12 -0400, Nick Sabalausky wrote: Couple very minor updates: Please, for the love of potatoes, tell people what the project is for! Oops, right, I did forget that this time, didn't I. Posted too hastily!

Re: Minor updates: gen-package-version v1.0.4 and sdlang-d v0.9.6

2016-08-25 Thread Nick Sabalausky via Digitalmars-d-announce
On 08/24/2016 11:16 AM, Martin Nowak wrote: On Tuesday, 23 August 2016 at 16:19:12 UTC, Nick Sabalausky wrote: gen-package-version v1.0.4: What's your stance on including that functionality into dub? I have nothing against it, I think it would be a fine optional feature for dub. I won't

Minor updates: gen-package-version v1.0.4 and sdlang-d v0.9.6

2016-08-23 Thread Nick Sabalausky via Digitalmars-d-announce
Couple very minor updates: gen-package-version v1.0.4: - Updated docs to include dub.sdl samples, not just dub.json. https://github.com/Abscissa/gen-package-version sdlang-d v0.9.6: - Issue #39: Remove references to deprecated module std.stream

Re: Old COM with D Slides/Presentation?

2016-07-29 Thread Nick Sabalausky via Digitalmars-d
On 07/29/2016 01:53 PM, ZombineDev wrote: Is this what you are looking for: http://www.lunesu.com/uploads/ModernCOMProgramminginD.pdf ? Ah, yes, that's it, thanks.

Old COM with D Slides/Presentation?

2016-07-29 Thread Nick Sabalausky via Digitalmars-d
A few years ago there was a presentation, or maybe only slides were posted (I don't recall), that demonstrated D putting C++ and even C# to absolute shame for interfacing with COM using some closed in-house D library. I'm trying to search for the slides or any links or anything relating to

Re: QtE5 - is a wrapping of Qt-5 for D

2016-06-20 Thread Nick Sabalausky via Digitalmars-d-announce
On 06/20/2016 12:52 PM, MGW wrote: This my library has about 400 functions from Qt and is quite efficient for small applications. Ooh, awesome, this is something D really needs! Definitely going to have to give this a try.

Re: Beta release DUB 1.0.0-beta.1

2016-06-15 Thread Nick Sabalausky via Digitalmars-d-announce
On 06/13/2016 07:31 AM, Kagamin wrote: On Friday, 10 June 2016 at 17:45:54 UTC, Nick Sabalausky wrote: On 06/08/2016 11:04 AM, Kagamin wrote: BTW do people find nested comments particularly useful? God yes. It's the *only* block comment I ever use. Non-nesting comment blocks are a worthless

Re: Andrei's list of barriers to D adoption

2016-06-11 Thread Nick Sabalausky via Digitalmars-d
On 06/06/2016 04:15 AM, Russel Winder via Digitalmars-d wrote: 3. Have one lightweight D realized cross platform IDE. Qt us probably the best widget set to use for this. My model here is LiteIDE which is a Qt-based Go IDE realized in C++. It should of course be realized in Go, but there are no

Re: Beta release DUB 1.0.0-beta.1

2016-06-10 Thread Nick Sabalausky via Digitalmars-d-announce
On 06/08/2016 11:04 AM, Kagamin wrote: BTW do people find nested comments particularly useful? God yes. It's the *only* block comment I ever use. Non-nesting comment blocks are a worthless PITA with no real benefit: You can't comment out a block if the block already contains a block comment.

Re: Web page listing all D compilers (and DMDFE version!) on travis-ci

2016-06-08 Thread Nick Sabalausky via Digitalmars-d-announce
On 06/07/2016 12:05 PM, FreeSlave wrote: On Tuesday, 26 April 2016 at 06:42:11 UTC, Nick Sabalausky wrote: https://semitwist.com/travis-d-compilers That's an auto-generated listing of all versions of DMD, GDC and LDC available on travis-ci. [...] Looks like semitwist.com is down. Oops.

Re: Andrei's list of barriers to D adoption

2016-06-06 Thread Nick Sabalausky via Digitalmars-d
On 06/06/2016 01:49 AM, Ethan Watson wrote: I linked my DConf talks on a games industry forum, and the first response was that "It looks like a poor man's Rust". A notion I quickly The games industry (with some exceptions) has a very deeply rooted mentality of "$$$ matters, everything else

Re: The Case Against Autodecode

2016-06-03 Thread Nick Sabalausky via Digitalmars-d
On 06/02/2016 05:37 PM, Andrei Alexandrescu wrote: On 6/2/16 5:35 PM, deadalnix wrote: On Thursday, 2 June 2016 at 21:24:15 UTC, Andrei Alexandrescu wrote: On 6/2/16 5:20 PM, deadalnix wrote: The good thing when you define works by whatever it does right now No, it works as it was designed.

Re: [OT] The Case Against... Unicode?

2016-06-01 Thread Nick Sabalausky via Digitalmars-d
On 06/01/2016 12:26 PM, deadalnix wrote: On Wednesday, 1 June 2016 at 16:15:15 UTC, Patrick Schluter wrote: What Joakim does not understand, is that there are huge, huge quantities of documents that are multi-lingual. That should be obvious to anyone living outside the USA. Or anyone in

Re: The Case Against Autodecode

2016-06-01 Thread Nick Sabalausky via Digitalmars-d
On 06/01/2016 10:29 AM, Andrei Alexandrescu wrote: On 06/01/2016 06:25 AM, Marc Schütz wrote: On Tuesday, 31 May 2016 at 21:01:17 UTC, Andrei Alexandrescu wrote: The point is to operate on representation-independent entities (Unicode code points) instead of low-level representation-specific

Re: Dealing with Autodecode

2016-05-31 Thread Nick Sabalausky via Digitalmars-d
On 05/31/2016 09:36 PM, Adam D. Ruppe wrote: version(string_migration) deprecated void popFront(T)(ref T t) if(isSomeString!T) { static assert(0, "this is crap, fix your code."); } else deprecated("use -versionstring_migration to fix your buggy code, would you like to know more?") /*

Re: The Case Against Autodecode

2016-05-31 Thread Nick Sabalausky via Digitalmars-d
On 05/31/2016 01:23 PM, Andrei Alexandrescu wrote: On 05/31/2016 01:15 PM, Jonathan M Davis via Digitalmars-d wrote: The standard library has to fight against itself because of autodecoding! The vast majority of the algorithms in Phobos are special-cased on strings in an attempt to get around

Re: The Case Against Autodecode

2016-05-31 Thread Nick Sabalausky via Digitalmars-d
On 05/31/2016 04:55 PM, Andrei Alexandrescu wrote: On 05/31/2016 04:55 PM, Andrei Alexandrescu wrote: On 05/31/2016 03:32 PM, H. S. Teoh via Digitalmars-d wrote: Let's put the question this way. Given the following string, what do *you* think walkLength should return? şŭt̥ḛ́k̠ The

Re: The Case Against Autodecode

2016-05-30 Thread Nick Sabalausky via Digitalmars-d
On 05/30/2016 04:30 PM, Timon Gehr wrote: In D, enum does not mean enumeration, const does not mean constant, pure is not pure, lazy is not lazy, and char does not mean character. My new favorite quote :)

Re: The Case Against Autodecode

2016-05-30 Thread Nick Sabalausky via Digitalmars-d
On 05/29/2016 09:58 PM, Jack Stouffer wrote: The problem is not active users. The problem is companies who have > 10K LOC and libraries that are no longer maintained. E.g. It took Sociomantic eight years after D2's release to switch only a few parts of their projects to D2. With the loss of old

Re: The Case Against Autodecode

2016-05-29 Thread Nick Sabalausky via Digitalmars-d
On 05/12/2016 08:47 PM, Jack Stouffer wrote: If you're serious about removing auto-decoding, which I think you and others have shown has merits, you have to the THE SIMPLEST migration path ever, or you will kill D. I'm talking a simple press of a button. I'm not exaggerating here. Python, a

Scriptlike v0.9.6 - Minor update

2016-05-28 Thread Nick Sabalausky via Digitalmars-d-announce
This is a minor update to Scriptlike: A utility library to help you write script-like programs in D. - Fixed deprecation warnings with DMD 2.070.x and 2.071.0 - Fixes the Travis-CI build which had been a little bit borked. - Interact module properly flushes stdout when prompting for user input

Re: IDE - Coedit 2, update 6 released

2016-05-28 Thread Nick Sabalausky via Digitalmars-d-announce
Also, just a minor wishlist thing, but it'd be nice if the currently active file (or project name, or something) was prepended to the window's title bar, so it's displays on people's taskbar. That comes in handy when using multiple editor windows.

Re: IDE - Coedit 2, update 6 released

2016-05-28 Thread Nick Sabalausky via Digitalmars-d-announce
On 05/28/2016 09:08 AM, Basile B. wrote: On Friday, 27 May 2016 at 17:49:18 UTC, Bauss wrote: On Thursday, 26 May 2016 at 23:44:21 UTC, Basile B. wrote: Mostly because an important feature of the library manager was not compatible with DUB > v0.9.24. Otherwise almost nothing. See

Re: Dynamic Bindings to libui (x-platform GUI)

2016-05-25 Thread Nick Sabalausky via Digitalmars-d-announce
On 05/24/2016 04:52 PM, extrawurst wrote: So here are the inofficial Derelict Bindings to it: https://github.com/Extrawurst/DerelictLibui Some D-oriented docs and example code would be nice. > > find libui on github: > https://github.com/andlabs/libui Hmm: > uses the native GUI

Re: Github names & avatars

2016-05-18 Thread Nick Sabalausky via Digitalmars-d
On 05/13/2016 01:19 PM, Adam D. Ruppe wrote: Actually, given the blatant misogyny frequently on display on this forum, Don't claim things that inflammatory when they obviously aren't true.

Re: File size of exe: DMD vs LDC

2016-05-12 Thread Nick Sabalausky via Digitalmars-d
On 05/09/2016 06:58 AM, Chris wrote: I have a program whose size is 3.2 MB when compiled with LDC, and 6.3 MB when compiled with DMD. Both are release builds. That's almost twice as big. FWIW, keep in mind that doesn't necessarily imply the same 2x scale will still hold for larger programs.

Re: Command line parsing

2016-05-12 Thread Nick Sabalausky via Digitalmars-d
On 05/02/2016 08:52 AM, Andrei Alexandrescu wrote: I found this in https://peter.bourgon.org/go-best-practices-2016/: "I said it in 2014 but I think it’s important enough to say again: define and parse your flags in func main. Only func main has the right to decide the flags that will be

Re: Walter's Famous German Language Essentials Guide

2016-05-10 Thread Nick Sabalausky via Digitalmars-d
On 05/06/2016 07:04 AM, Chris wrote: On Friday, 6 May 2016 at 10:46:22 UTC, Andrei Alexandrescu wrote: We've had several remarks at DConf that the traffic on this forum makes it intractable. There's good information, but it's drowned by the immense off-topic discussions. We plan to create one

Re: Walter's Famous German Language Essentials Guide

2016-05-10 Thread Nick Sabalausky via Digitalmars-d
On 05/02/2016 05:49 PM, H. S. Teoh via Digitalmars-d wrote: Of course, the other great difficulty is the [Chinese] writing system, which requires the memorization of between 1000-2000 different glyphs just to be able to read with some fluency. I'd argue that's really about the same as

Re: Walter's Famous German Language Essentials Guide

2016-05-10 Thread Nick Sabalausky via Digitalmars-d
On 05/05/2016 10:52 AM, H. S. Teoh via Digitalmars-d wrote: The older, more complex system preserves some of the arguably flagrant shenanigans by ancient Chinese scribes who went overboard with the whole derivation from radicals idea and invented some of the most ridiculously complex characters

Re: Walter's Famous German Language Essentials Guide

2016-05-10 Thread Nick Sabalausky via Digitalmars-d
On 05/02/2016 12:22 PM, Jonathan M Davis via Digitalmars-d wrote: In any case, learning any new language is hard - especially the farther it is from your own (e.g. Asian languages are going to generally be pretty brutal to learn for someone speaking a European languages). That sounds

Re: So, About That Official Blog...

2016-05-08 Thread Nick Sabalausky via Digitalmars-d
On 05/06/2016 03:48 AM, maik klein wrote: On Friday, 6 May 2016 at 03:01:07 UTC, Dicebot wrote: On 05/06/2016 04:26 AM, Jack Stouffer wrote: Also, I can just include a simple JS library for the same auto-highlighting functionality. Please prefer static generators and pygment-like

Re: So, About That Official Blog...

2016-05-07 Thread Nick Sabalausky via Digitalmars-d
On 05/05/2016 05:25 PM, Jacques Müller wrote: On Thursday, 5 May 2016 at 18:22:50 UTC, Jack Stouffer wrote: blog: http://officaldlang.tumblr.com/ That's nice! But it seems like you misspelled the blog title. It's a feature, it keeps with web 2.0 tradition! :)

Re: How are you enjoying DConf? And where to go next?

2016-05-07 Thread Nick Sabalausky via Digitalmars-d
On 05/06/2016 10:13 AM, Andrei Alexandrescu wrote: The atmosphere here is great, and I'm curious how it feels for those who are watching remotely. Is the experience good? What can we do better? The livestream videos requiring flash was a bit of an issue. Also: we're talking about the DConf

Re: Web page listing all D compilers (and DMDFE version!) on travis-ci

2016-05-07 Thread Nick Sabalausky via Digitalmars-d-announce
On 05/07/2016 05:44 AM, Johan Engelen wrote: What I mean is: currently the Name column says e.g. "ldc2-0.17.1", but in the travis.yml file you must specify "ldc-0.17.1" to get it (without the "2"). Ahh, you're right, I hadn't noticed that.

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-05 Thread Nick Sabalausky via Digitalmars-d
On 05/04/2016 02:29 PM, Anon wrote: On Wednesday, 4 May 2016 at 15:46:13 UTC, Nick Sabalausky wrote: It's touchy, because I've come across people who actually do genuinely believe the field has things in place deliberately to exclude women/ethnicities...even though...those VERY SAME people have

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-05 Thread Nick Sabalausky via Digitalmars-d
On 05/04/2016 03:15 PM, Chris wrote: On Wednesday, 4 May 2016 at 15:46:13 UTC, Nick Sabalausky wrote: [snip] Verifiable fact: My sister paid considerably less than I did for each year of college even though we came from EXACTLY the same economic background, exactly the same city/town,

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-04 Thread Nick Sabalausky via Digitalmars-d
On 05/04/2016 12:16 PM, deadalnix wrote: On Wednesday, 4 May 2016 at 15:46:13 UTC, Nick Sabalausky wrote: On 05/04/2016 10:23 AM, deadalnix wrote: We need to acknowledge that there are system of oppression that keep women and people of color out of programming, Hard to tell for certain, but

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-04 Thread Nick Sabalausky via Digitalmars-d
On 05/04/2016 10:23 AM, deadalnix wrote: We need to acknowledge that there are system of oppression that keep women and people of color out of programming, Hard to tell for certain, but you ARE being sarcastic/joking about this, right? It's touchy, because I've come across people who

Re: [OT] Swift removing minor features to piss me off

2016-04-28 Thread Nick Sabalausky via Digitalmars-d
On 04/28/2016 02:49 PM, Steven Schveighoffer wrote: This is what bouncing the rubble looks like. 1. Swift 3 will no longer allow mutable variables as parameters. Instead, your parameters will be immutable, or reference (inout). To fix this, you can assign your immutable variable to a mutable

Re: Web page listing all D compilers (and DMDFE version!) on travis-ci

2016-04-28 Thread Nick Sabalausky via Digitalmars-d-announce
On 04/28/2016 04:03 PM, Seb wrote: FYI you miss the available ldc alpha and betas. On purpose? Didn't initially occur to me, but I'd say that's a "possible future enhancement". It will take more work, and some extra thought, to figure out how to handle: Right now, my tool relies on the

Re: Web page listing all D compilers (and DMDFE version!) on travis-ci

2016-04-27 Thread Nick Sabalausky via Digitalmars-d-announce
On 04/26/2016 02:42 AM, Nick Sabalausky wrote: https://semitwist.com/travis-d-compilers ... - Auto-trigger an update check on a regular basis (I'm thinking once daily?) so I don't have to stay on top of new compiler versions and trigger an update manually. (I can use Travis's API to do this.)

Re: So... let's document dmd

2016-04-07 Thread Nick Sabalausky via Digitalmars-d
On 04/05/2016 05:40 PM, Walter Bright wrote: I don't really understand why IDE makers don't use an actual programming language for plugins Programmer's Notepad 2 uses Python for plugins. Although the syntax highlighting is done through Scintilla which has it's own separate

Re: the most D-ish GUI library

2016-04-06 Thread Nick Sabalausky via Digitalmars-d
On 03/30/2016 10:48 AM, Jacob Carlborg wrote: On 2016-03-29 19:37, Nick Sabalausky wrote: Win and Mac: Qt looks native. For OS X, no not really. Although that might be due to the applications and not Qt. Last I used OSX even Apple's own programs were fairly inconsistent with each other.

Get third part of front-end version number

2016-04-05 Thread Nick Sabalausky via Digitalmars-d-learn
These days, DMD/DMDFE version numbers are three parts, ex: 2.070.1. I can get the first two via std.compiler.version_major and std.compiler.version_minor. Is there a way to get the third part? I know I can "dmd --help | grep DMD", but that only works for DMD. GDC's "gdc --version" doesn't

Re: the most D-ish GUI library

2016-03-29 Thread Nick Sabalausky via Digitalmars-d
On 03/28/2016 01:21 PM, WebFreak001 wrote: You are right, i forgot Qt/KDE guys. KDE uses Qt for their programs and stuff but GNOME and the Ubuntu team and most desktop environments do use GTK instead of Qt. Qt is more common on OS X and Windows than on linux. I guess there will never be an

Re: Females in the community.

2016-03-28 Thread Nick Sabalausky via Digitalmars-d
On 03/25/2016 03:40 PM, ag0aep6g wrote: On 25.03.2016 15:56, Nick Sabalausky wrote: On 03/17/2016 01:02 PM, ag0aep6g wrote: "A female" sounds like you're talking about an animal. Not to a native english speaker. I call bullshit on that. I don't have any strong evidence, and I'm not even a

Re: Mindset of the D team vs the Rust team

2016-03-28 Thread Nick Sabalausky via Digitalmars-d
On 03/24/2016 12:50 PM, Bruno Medeiros wrote: On 24/03/2016 09:16, Walter Bright wrote: We're doing just fine with NNTP and Vladimir's forum software. Using old communication software like NNTP is one example of that. Compare with Rust's Discourse. The only thing wrong with NNTP is that

Re: Females in the community.

2016-03-25 Thread Nick Sabalausky via Digitalmars-d
On 03/17/2016 01:42 PM, John Colvin wrote: P.S. what's with calling women "females", is it an americanism? It sounds super weird to a British ear, we'd normally only say "female" in a technical setting or about an animal, so it can sound a bit disrespectful. I don't know about over there, but

Re: Females in the community.

2016-03-25 Thread Nick Sabalausky via Digitalmars-d
On 03/17/2016 01:02 PM, ag0aep6g wrote: I can't be the only one who is irritated by this use of the word "female". Why do you avoid "woman"? "Woman" excludes non-adults. Non-adult, like I was when I started with code. That's the problem with PC nitpicking, it never ends. "A female" sounds

Re: the most D-ish GUI library

2016-03-25 Thread Nick Sabalausky via Digitalmars-d
On 03/13/2016 06:33 PM, WebFreak001 wrote: I prefer GtkD, its the most system native one on linux I dispute that. Many people, like myself, use KDE rather than GNOME or Unity, and GTK programs are just as horrible to put up with in this environment as they are on Windows. Even more so since

Re: Why don't you use the Github issue system?

2016-03-03 Thread Nick Sabalausky via Digitalmars-d
On 03/02/2016 07:57 PM, sigod wrote: On Thursday, 3 March 2016 at 00:27:39 UTC, Walter Bright wrote: 3. If Github goes dark, we still have our local complete copies of the git database. If Github issues goes dark, we lose it all. We control the Bugzilla database. This database is ABSOLUTELY

Re: Argon: an alternative parser for command-line arguments

2016-03-03 Thread Nick Sabalausky via Digitalmars-d-announce
On 03/02/2016 02:50 PM, Markus Laker wrote: https://github.com/markuslaker/Argon Let me know if you do something interesting with it. Markus Reminds me of one I used years ago for C#: I like the approach, it's a good one. Getopt by comparison, while very good, always seemed like a kludge

Re: Running DMD tests on Windows / build requirements

2016-02-21 Thread Nick Sabalausky via Digitalmars-d
On 02/19/2016 07:25 PM, Martin Krejcirik wrote: How do I run DMD tests on Windows ? I'm not able to, even with gmake. Unless things have changed since I last looked, DMD's Windows makefiles are written for Digital Mars Make, not gmake. The gmake makefiles are for Posix. And don't forget

Re: [OT] Some neat ideas from the Kotlin language

2016-02-19 Thread Nick Sabalausky via Digitalmars-d
On 02/19/2016 07:16 AM, Jacob Carlborg wrote: On 2016-02-19 00:33, Yuxuan Shui wrote: Just come across Kotlin today, and found some interesting ideas skimming through its tutorial: 1) Null check Kotlin has Optional types, suffixed with a '?'. Like 'Int?', same as in Swift. But instead of

Re: Official compiler

2016-02-18 Thread Nick Sabalausky via Digitalmars-d
On 02/18/2016 09:22 AM, Dejan Lekic wrote: Lots of programmers out there use and love languages that are far slower than any code DMD produces (think JavaScript, Python, Ruby). So I see no point here. While that's true, my impression is most of the users and fans of those languages use them

Re: Just because it's a slow Thursday on this forum

2016-02-11 Thread Nick Sabalausky via Digitalmars-d
On 02/10/2016 02:47 PM, H. S. Teoh via Digitalmars-d wrote: On Wed, Feb 10, 2016 at 02:32:37PM -0500, Andrei Alexandrescu via Digitalmars-d wrote: On 02/10/2016 02:25 PM, Nick Sabalausky wrote: I see no non-trivial cost. I, to, am not getting the cost story. H.S. Teoh, could you please

Re: OT: 'conduct unbecoming of a hacker'

2016-02-11 Thread Nick Sabalausky via Digitalmars-d
On 02/11/2016 06:53 AM, Dejan Lekic wrote: I know some will disagree with me, but I will say it anyway: IT community, especially developers, are known for poor social skills... People tend to forget that... There may be a certain *small* level of truth to that, but most of it is nothing more

Re: Just because it's a slow Thursday on this forum

2016-02-11 Thread Nick Sabalausky via Digitalmars-d
On 02/11/2016 11:22 AM, H. S. Teoh via Digitalmars-d wrote: Fair enough. Personally, though, I find a bunch of comma-separated values very unhelpful. It would be much better if they were labelled, e.g., if: int x, y, z; dump(x,y,z); outputs: x=1, y=2, z=3 it would

Re: Just because it's a slow Thursday on this forum

2016-02-11 Thread Nick Sabalausky via Digitalmars-d
On 02/11/2016 04:44 PM, John Colvin wrote: On Thursday, 11 February 2016 at 21:38:42 UTC, H. S. Teoh wrote: On Thu, Feb 11, 2016 at 03:38:42PM -0500, Nick Sabalausky via Digitalmars-d wrote: On 02/11/2016 11:22 AM, H. S. Teoh via Digitalmars-d wrote: >[...] My understanding is tha

Re: OT: 'conduct unbecoming of a hacker'

2016-02-11 Thread Nick Sabalausky via Digitalmars-d
On 02/11/2016 04:54 PM, w0rp wrote: His article is way too long. It seems like an article about whining about how people whine too much. It's metawhine! :)

<    1   2   3   4   5   6   7   8   9   >