Re: GREETINGS FROM iSTANBUL

2021-08-01 Thread rikki cattermole via Digitalmars-d-learn
It appears you are using the wrong lowercase character. https://en.wikipedia.org/wiki/Dotted_and_dotless_I From a quick experiment, it appears std.uni is treating the upper case dotted I's lower case as a grapheme. Which it probably shouldn't be as there is an actual character for that. We

Re: GREETINGS FROM iSTANBUL

2021-08-01 Thread Salih Dincer via Digitalmars-d-learn
On Sunday, 1 August 2021 at 18:22:05 UTC, Paul Backus wrote: On Sunday, 1 August 2021 at 17:56:00 UTC, rikki cattermole wrote: It appears you are using the wrong lowercase character. I think so too, here's the proof: ```d import std.string, std.stdio; void main() { auto istanbul =

Re: Registering-unregistering threads

2021-08-01 Thread WebFreak001 via Digitalmars-d-learn
On Friday, 30 July 2021 at 23:48:41 UTC, solidstate1991 wrote: I'm doing some audio-related work, and one thing I need is to unregister from (and maybe later temporarily re-register to) the GC, since it would cause some issues, and it would be nice if I still could use the GC during disk

Re: Two major problems with dub

2021-08-01 Thread rikki cattermole via Digitalmars-d-learn
On 02/08/2021 5:18 AM, Alain De Vos wrote: A simple and small wrapper around for instance the C-library libpq should be part of the language itself and should not pull in more than libpq itself. Just so that we are all using the same terminology. A binding defines the functions and types

Re: Social chat in the forums

2021-08-01 Thread rikki cattermole via Digitalmars-d-learn
On 02/08/2021 9:19 AM, Brian Tiffin wrote: Question, or suggestion.  In the Community forums, there is General and Announce. Announce is only for announcements. General is used sometimes for OT stuff, like I've congratulated Andrei on the birth of one of his kids (I asked prior). Or some

Re: GREETINGS FROM iSTANBUL

2021-08-01 Thread Paul Backus via Digitalmars-d-learn
On Sunday, 1 August 2021 at 17:56:00 UTC, rikki cattermole wrote: It appears you are using the wrong lowercase character. https://en.wikipedia.org/wiki/Dotted_and_dotless_I From a quick experiment, it appears std.uni is treating the upper case dotted I's lower case as a grapheme. Which it

Re: GREETINGS FROM iSTANBUL

2021-08-01 Thread Salih Dincer via Digitalmars-d-learn
On Sunday, 1 August 2021 at 18:22:05 UTC, Paul Backus wrote: A common solution to this in other languages is to have a version of toUpper that takes a locale as an argument. Some examples: - Javascript:

Social chat in the forums

2021-08-01 Thread Brian Tiffin via Digitalmars-d-learn
Question, or suggestion. In the Community forums, there is General and Announce. Where is the preferred place to *shoot the breeze*? D adjacent, but off-topic and mostly social (with the *desirable* assumption that the audience is all D programmers and openly nerd minded). Within the

Re: Two major problems with dub

2021-08-01 Thread Alain De Vos via Digitalmars-d-learn
A simple and small wrapper around for instance the C-library libpq should be part of the language itself and should not pull in more than libpq itself.

Re: Two major problems with dub

2021-08-01 Thread evilrat via Digitalmars-d-learn
On Sunday, 1 August 2021 at 17:25:26 UTC, Alain De Vos wrote: A simple example, dub package dpq2 pulls in, money,vide-d,stdx-allocator,derelict-pq,derelict-util This all for a handfull of C-functions. let's see Money - fits pretty ok, cause your average SQL has decimal type for that purpose

Re: Two major problems with dub

2021-08-01 Thread Paul Backus via Digitalmars-d-learn
On Sunday, 1 August 2021 at 15:38:32 UTC, Alain De Vos wrote: Dub has two big problems. 1. Unmaintained dub stuff. 2. Let's say you need bindings to postgresql library and you will see dub pulling in numerous of libraries, which have nothing at all to do with postgresql. More like a framework

Re: Two major problems with dub

2021-08-01 Thread evilrat via Digitalmars-d-learn
On Sunday, 1 August 2021 at 15:38:32 UTC, Alain De Vos wrote: 2. Let's say you need bindings to postgresql library and you will see dub pulling in numerous of libraries, which have nothing at all to do with postgresql. More like a framework stuff. This creates unneeded complexity, bloatware,

Re: Two major problems with dub

2021-08-01 Thread Adam D Ruppe via Digitalmars-d-learn
On Sunday, 1 August 2021 at 17:18:39 UTC, Alain De Vos wrote: A simple and small wrapper around for instance the C-library libpq should be part of the language itself and should not pull in more than libpq itself. i have one of those in two files: database.d for the interface and postgres.d

Re: Two major problems with dub

2021-08-01 Thread Alain De Vos via Digitalmars-d-learn
A simple example, dub package dpq2 pulls in, money,vide-d,stdx-allocator,derelict-pq,derelict-util This all for a handfull of C-functions.

Re: Two major problems with dub

2021-08-01 Thread Paul Backus via Digitalmars-d-learn
On Sunday, 1 August 2021 at 17:18:39 UTC, Alain De Vos wrote: A simple and small wrapper around for instance the C-library libpq should be part of the language itself and should not pull in more than libpq itself. I don't disagree. The question is, who will volunteer to create and maintain

Re: Two major problems with dub

2021-08-01 Thread Alain De Vos via Digitalmars-d-learn
Is there a security review for dub packages ?

GREETINGS FROM iSTANBUL

2021-08-01 Thread Salih Dincer via Digitalmars-d-learn
Greetings from istanbul... In our language, the capital letter 'i' is used, similar to the lower case. But in this example: ```d // D 2.0.83 import std.stdio, std.uni; void main() { auto message = "Greetings from istanbul"d; message.asUpperCase.writeln; // GREETINGS FROM ISTANBUL /*

Two major problems with dub

2021-08-01 Thread Alain De Vos via Digitalmars-d-learn
Dub has two big problems. 1. Unmaintained dub stuff. 2. Let's say you need bindings to postgresql library and you will see dub pulling in numerous of libraries, which have nothing at all to do with postgresql. More like a framework stuff. This creates unneeded complexity, bloatware, dependency

Re: Social chat in the forums

2021-08-01 Thread Brian Tiffin via Digitalmars-d-learn
On Sunday, 1 August 2021 at 21:35:05 UTC, rikki cattermole wrote: On 02/08/2021 9:19 AM, Brian Tiffin wrote: Question, or suggestion.  In the Community forums, there is General and Announce. Announce is only for announcements. General is used sometimes for OT stuff, like I've congratulated