On Friday, 27 May 2016 at 05:03:43 UTC, xenon325 wrote:
For example, I have one thread with traditional (slow) SQLite
client, which seldom updates data. And another thread which
reads data with sqlite-d. Will not program crash or read
trash/inconsistent data ?
sqlite-d provides no safety
On Saturday, 27 February 2016 at 16:08:21 UTC, Stefan Koch wrote:
Hello,
I am happy to announce the official alpha version of sqlite-d!
sqlite-d is a reader for the SQLite File Format 3.
On Thursday, 26 May 2016 at 19:11:50 UTC, Stefan Koch wrote:
So, all that sqlite-d does is reading the
On Thursday, 26 May 2016 at 16:00:54 UTC, Andrei Alexandrescu
wrote:
4. Autodecoding is slow and has no place in high speed string
processing.
I would agree only with the amendment "...if used naively",
which is important. Knowledge of how autodecoding works is a
prerequisite for writing
On 05/26/2016 07:23 PM, H. S. Teoh via Digitalmars-d wrote:
Therefore, instead of:
myString.splitter!"abc".joiner!"def".count;
we have to write:
myString.representation
.splitter!("abc".representation)
.joiner!("def".representation)
On Friday, 27 May 2016 at 01:51:24 UTC, Laeeth Isharc wrote:
On Friday, 27 May 2016 at 00:55:34 UTC, Seb wrote:
[...]
That's great - looks really good and gets the message across
clearly.
I don't know, but one might need to check with the
organisations involved before using their logo.
On Friday, 27 May 2016 at 00:55:34 UTC, Seb wrote:
On Sunday, 1 May 2016 at 17:11:17 UTC, Seb wrote:
On Sunday, 1 May 2016 at 16:26:55 UTC, Seb wrote:
So which companies could be "friends of D"?
I just found this wiki site -
https://wiki.dlang.org/Current_D_Use
-> apparently it's a bit
On Friday, 27 May 2016 at 00:55:34 UTC, Seb wrote:
On Sunday, 1 May 2016 at 17:11:17 UTC, Seb wrote:
On Sunday, 1 May 2016 at 16:26:55 UTC, Seb wrote:
So which companies could be "friends of D"?
I just found this wiki site -
https://wiki.dlang.org/Current_D_Use
-> apparently it's a bit
On Sunday, 1 May 2016 at 17:11:17 UTC, Seb wrote:
On Sunday, 1 May 2016 at 16:26:55 UTC, Seb wrote:
So which companies could be "friends of D"?
I just found this wiki site -
https://wiki.dlang.org/Current_D_Use
-> apparently it's a bit hidden, so let's get this to as
"friends of D" to
On Thursday, 26 May 2016 at 23:13:10 UTC, Seb wrote:
So yet another summary:
New users:
- Learn / Help
Community:
- General
- Annouce (Official annoucements)
- Broadcast
Development:
- Core (Language and standard library development)
- GDC
I would like to see a forum for third-party
Mostly because an important feature of the library manager was
not compatible with DUB > v0.9.24. Otherwise almost nothing.
See https://github.com/BBasile/Coedit/releases/tag/2_update_6 for
the changelog and the binaries.
On Thu, May 26, 2016 at 04:24:10PM -0400, Andrei Alexandrescu via Digitalmars-d
wrote:
> On 05/26/2016 02:44 PM, Seb wrote:
> > If you want RCStr to be adapted it has to be a drop-in replacement
> > for string.
>
> With all the criticism leveled against string, I thought more of the
> opposite.
On Thu, May 26, 2016 at 12:00:54PM -0400, Andrei Alexandrescu via Digitalmars-d
wrote:
[...]
> On 05/12/2016 04:15 PM, Walter Bright wrote:
[...]
> > 4. Autodecoding is slow and has no place in high speed string processing.
>
> I would agree only with the amendment "...if used naively", which is
On Thursday, 26 May 2016 at 23:03:46 UTC, Joakim wrote:
On Thursday, 26 May 2016 at 21:45:56 UTC, Seb wrote:
On Thursday, 26 May 2016 at 21:17:18 UTC, jmh530 wrote:
On Thursday, 26 May 2016 at 20:27:25 UTC, Jonathan M Davis
wrote:
[...]
I suggest renaming Learn to be Learn/Help.
Wow
On Thursday, 26 May 2016 at 21:45:56 UTC, Seb wrote:
On Thursday, 26 May 2016 at 21:17:18 UTC, jmh530 wrote:
On Thursday, 26 May 2016 at 20:27:25 UTC, Jonathan M Davis
wrote:
It may be that we want to create another list or two for some
specific
stuff, but trying to split stuff across a
On Thursday, 26 May 2016 at 22:15:42 UTC, ag0aep6g wrote:
On 05/26/2016 11:13 PM, Era Scarecrow wrote:
void scan(ref Data[][] data, Condition cond) {
foreach(i; ...) {
if (cond)
data[i] ~= ...
}
}
Sorry, I'm still lost. Why can't you do whatever you're doing
On 05/26/2016 11:13 PM, Era Scarecrow wrote:
By adding a struct overload for opOpAssign I can shrink it all down
to this, and avoid lengths entirely... As such internally the length
starts at 0, and checks are in place to ensure the bounds are never
exceeded.
void scan(ref Data[][] data,
On Thursday, 26 May 2016 at 20:46:31 UTC, TheDGuy wrote:
On Thursday, 26 May 2016 at 20:25:43 UTC, Basile B. wrote:
[...]
I tried this with the gfm-package. I opened the dub.json file
as a project and clicked 'Compilation'-> 'Compile Project' then
it did its things:
[...]
gfm doesn't
On Thursday, 26 May 2016 at 21:42:31 UTC, jmh530 wrote:
On Thursday, 26 May 2016 at 20:24:10 UTC, Andrei Alexandrescu
wrote:
On 05/26/2016 02:44 PM, Seb wrote:
If you want RCStr to be adapted it has to be a drop-in
replacement for
string.
With all the criticism leveled against string, I
On Sunday, 8 May 2016 at 11:39:45 UTC, Nordlöw wrote:
I'm in favour of this, Seb. IMO, the pros outweigh the cons.
Integrated peer-review is a big win.
We already see at our github repos that peer review/help is
great, so why not for the DIPs?
https://issues.dlang.org/show_bug.cgi?id=16081
Issue ID: 16081
Summary: CTFE mistakes for arr in cast
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
On Thursday, 26 May 2016 at 21:51:51 UTC, qznc wrote:
On Thursday, 26 May 2016 at 17:07:54 UTC, Seb wrote:
I think we all agree that general is having to much traffic
and according to CyberShadow [1] this again is just an
approval issue, however I expect this a bit controversial, so
please no
On Thursday, 26 May 2016 at 17:07:54 UTC, Seb wrote:
I think we all agree that general is having to much traffic and
according to CyberShadow [1] this again is just an approval
issue, however I expect this a bit controversial, so please no
OT! Only other category proposals.
How about a "Show
On Thursday, 26 May 2016 at 21:17:18 UTC, jmh530 wrote:
On Thursday, 26 May 2016 at 20:27:25 UTC, Jonathan M Davis
wrote:
It may be that we want to create another list or two for some
specific
stuff, but trying to split stuff across a bunch of groups is
going to cause
its own problems. We
On Thursday, 26 May 2016 at 20:24:10 UTC, Andrei Alexandrescu
wrote:
On 05/26/2016 02:44 PM, Seb wrote:
If you want RCStr to be adapted it has to be a drop-in
replacement for
string.
With all the criticism leveled against string, I thought more
of the opposite. This is an opportunity to get
On Thursday, 26 May 2016 at 06:07:36 UTC, Jonathan M Davis wrote:
At this point, generic code should just never use opDollar
unless it specifically tests for it, and usually, there's
really no reason to do that rather than just using length at
this point, much as it's far more aesthetically
On Thursday, 26 May 2016 at 12:33:31 UTC, Adam D. Ruppe wrote:
On Thursday, 26 May 2016 at 12:30:30 UTC, Alex Parrill wrote:
The line "not having to make another array to keep track of
lengths and then shorten them" is fairly vague. "Shortening"
an array via slicing is basically free (it's
On 05/26/2016 04:32 PM, Bastiaan Veelo wrote:
* Would it support implicit sharing (copy-on-write)? What about
sub-strings?
Yes, COW. Substrings will be managed COW-ish as well (no copy upon
substring extraction).
* Will concatenations be fast?
No, it will copy (i.e. no multiple segments
https://issues.dlang.org/show_bug.cgi?id=16080
Sönke Ludwig changed:
What|Removed |Added
Severity|major |regression
---
https://issues.dlang.org/show_bug.cgi?id=16080
Sönke Ludwig changed:
What|Removed |Added
Keywords||ice,
https://issues.dlang.org/show_bug.cgi?id=16080
Issue ID: 16080
Summary: Internal error: backend\cgobj.c 3406 when building
static library
Product: D
Version: D2
Hardware: x86
OS: Windows
Status:
On Thursday, 26 May 2016 at 20:27:25 UTC, Jonathan M Davis wrote:
It may be that we want to create another list or two for some
specific
stuff, but trying to split stuff across a bunch of groups is
going to cause
its own problems. We already have enough issues with folks
posting in the
On Thursday, 26 May 2016 at 11:47:13 UTC, ag0aep6g wrote:
I don't follow. Why can't you use a built-in array? What can
you do with the stand-in that you can't do with the array
itself?
I can do the job with the built-in arrays, however the need for
another temporary array to keep track of
On Thursday, 26 May 2016 at 18:53:35 UTC, Iakh wrote:
Functions with lambdas cannot be @nogc as far as they allocates
closures.
Counterexample:
// Note that this is NOT a good way to do numerical quadrature!
double integrate(scope double delegate(double x) @nogc f,
double
(Pinging this thread one last time.)
Tripaneer.com is added to both pages.
Ali
On 05/16/2016 10:24 AM, Ali Çehreli wrote:
Companies that use D:
https://wiki.dlang.org/Current_D_Use
Open D jobs:
https://wiki.dlang.org/Jobs
I'm mostly interested in the ones that are in SF Bay Area. ;)
On Thursday, 26 May 2016 at 20:25:43 UTC, Basile B. wrote:
But the procedure I described is very easy. you just have to
clone, compile and click a button in the library manager. It's
even better because you can choose which version to compile by
"git checkout vx.x.x" while using the "DUB
On Thursday, 26 May 2016 at 16:11:22 UTC, Andrei Alexandrescu
wrote:
I've been working on RCStr (endearingly pronounced "Our
Sister"), D's up-and-coming reference counted string type. The
goals are:
* Reference counted, shouldn't leak if all instances destroyed;
even if not, use the GC as a
On 25.05.2016 01:19, Elie Morisse wrote:
On Saturday, 13 October 2012 at 22:58:56 UTC, Timon Gehr wrote:
Afaik free-function operator overloads (but not in the context of
UFCS) were considered and turned down because D did not want to get
amidst discussions about adding Koenig lookup. UFCS does
On Thursday, 26 May 2016 at 19:07:42 UTC, TheDGuy wrote:
On Thursday, 26 May 2016 at 17:25:25 UTC, Basile B. wrote:
I'm on Windows now. I'm sorry but both packages were setup
successfully.
What you can do is the other way:
- clone the git repos.
- open the DUB json as project.
- choose the
On Thursday, May 26, 2016 17:07:54 Seb via Digitalmars-d wrote:
> I think we all agree that general is having to much traffic and
> according to CyberShadow [1] this again is just an approval
> issue, however I expect this a bit controversial, so please no
> OT! Only other category proposals.
>
>
On 05/26/2016 02:44 PM, Seb wrote:
If you want RCStr to be adapted it has to be a drop-in replacement for
string.
With all the criticism leveled against string, I thought more of the
opposite. This is an opportunity to get it right. -- Andrei
On Thursday, May 26, 2016 16:24:37 Elie Morisse via Digitalmars-d-learn wrote:
> On Thursday, 26 May 2016 at 06:23:17 UTC, Jonathan M Davis wrote:
> > The difference is that it's impossible to do
> > 10.opBinary!"+"(15), so if you're forced to do
> > foo.opBinary!"+"(bar) to get around a symbol
On Thursday, 26 May 2016 at 19:40:35 UTC, Claude wrote:
On Thursday, 26 May 2016 at 18:44:22 UTC, ikod wrote:
Is there any recommended workaround for this problem? Is this
a bug?
I don't think it's a bug. Even without a GC, on GNU/Linux OS, I
would enclose the receive function (or any
On 2016-05-25 23:38, Atila Neves wrote:
Interesting? Crazy? Worth adding to unit-threaded? Phobos (after much
cleaning up)?
Interesting, yes. Crazy, not enough :). Here's an example of replacing
functions and replacing methods on individual objects [1].
I'm trying to do something like you
On Thursday, May 26, 2016 16:20:37 Adam D. Ruppe via Digitalmars-d wrote:
> On Thursday, 26 May 2016 at 16:11:22 UTC, Andrei Alexandrescu
>
> wrote:
> > I've been working on RCStr (endearingly pronounced "Our Sister")
>
> You really should actually mention RCStr in the subject line so
> people
On Thursday, May 26, 2016 17:50:36 Adam D. Ruppe via Digitalmars-d wrote:
> Would an RCStr pass isSomeString? I kinda think it shouldn't.
> Actually, isSomeString probably shouldn't often be used - instead
> checking for string-like range capabilities is likely better for
> algorithms. Then doing
On Thursday, 26 May 2016 at 19:35:22 UTC, Suliman wrote:
Oh! Look like for all time I misunderstood the purpose of your
project. Do you mean that your tool is created not for being
SQL compatible driver, but make possible to use D code for
iteration with DB?
Yes and no, currently it does
On Thursday, 26 May 2016 at 19:32:31 UTC, ag0aep6g wrote:
On Thursday, 26 May 2016 at 19:12:44 UTC, Joakim wrote:
Or we could just go by topic and not bother with separate
forums too, as it has largely failed so far.
The General/Learn split is working pretty well. It works
because people who
On Thursday, 26 May 2016 at 18:44:22 UTC, ikod wrote:
Is there any recommended workaround for this problem? Is this a
bug?
I don't think it's a bug. Even without a GC, on GNU/Linux OS, I
would enclose the receive function (or any blocking system
function like poll etc) in a do-while loop
On Thursday, 26 May 2016 at 19:11:50 UTC, Stefan Koch wrote:
On Thursday, 26 May 2016 at 14:45:58 UTC, Suliman wrote:
Could you explain more details? What do you mean by
indirection work with data?
Sure, I can explain.
So, all that sqlite-d does is reading the sqlite-db files.
However the
On Thursday, 26 May 2016 at 19:12:44 UTC, Joakim wrote:
Or we could just go by topic and not bother with separate
forums too, as it has largely failed so far.
The General/Learn split is working pretty well. It works because
people who ask learning questions in General get told to post to
On Thursday, 26 May 2016 at 18:38:30 UTC, Seb wrote:
I proposed two weeks ago to turn off the bot, but it seems some
people like it.
Most projects I can think of have separate *-commits lists for
automated spam like that.
-Wyatt
On Thursday, 26 May 2016 at 18:38:30 UTC, Seb wrote:
I proposed two weeks ago to turn off the bot, but it seems some
people like it.
Yet the DMD group doesn't get them anymore, and no one is
complaining (loud enough).
Github is already high-traffic, so I expect if we have a
mailing list it
On Thursday, 26 May 2016 at 18:44:42 UTC, Seb wrote:
Great news!
I think one can't stress this enough: If you want RCStr to be
adapted it has to be a drop-in replacement for string.
Maybe we can bundle the transition from auto-decoding with the
adaption to a RCString. There was the proposal
On Thursday, 26 May 2016 at 18:44:22 UTC, ikod wrote:
Hello,
On linux, in the code below, receive() returns -1 with
errno=EINTR if syscall is interrupted by GC (so you can see
several "insterrupted") when GC enabled, and prints nothing
(this is desired and expected behavior) when GC
On Thursday, 26 May 2016 at 17:07:54 UTC, Seb wrote:
I think we all agree that general is having to much traffic and
according to CyberShadow [1] this again is just an approval
issue, however I expect this a bit controversial, so please no
OT! Only other category proposals.
I disagree. You
On Thursday, 26 May 2016 at 14:45:58 UTC, Suliman wrote:
Could you explain more details? What do you mean by indirection
work with data?
Sure, I can explain.
So, all that sqlite-d does is reading the sqlite-db files.
However the proper sqlite does much more:
It implements a whole
On Thursday, 26 May 2016 at 17:25:25 UTC, Basile B. wrote:
I'm on Windows now. I'm sorry but both packages were setup
successfully.
What you can do is the other way:
- clone the git repos.
- open the DUB json as project.
- choose the right config in the inspector.
- compile.
- while the
Functions with lambdas cannot be @nogc as far as they allocates
closures.
And the way lambdas works is completely different from C++ way.
In D using
lambda we define how some part of "stack" frame allocates. So in
some aspect
closure allocation is property of a function. So we need a way
to
On Thursday, 26 May 2016 at 17:45:15 UTC, Xinok wrote:
On Thursday, 26 May 2016 at 16:11:22 UTC, Andrei Alexandrescu
wrote:
I've been working on RCStr (endearingly pronounced "Our
Sister"), D's up-and-coming reference counted string type. The
goals are:
...
I don't know how practical this
Hello,
On linux, in the code below, receive() returns -1 with
errno=EINTR if syscall is interrupted by GC (so you can see
several "insterrupted") when GC enabled, and prints nothing (this
is desired and expected behavior) when GC disabled.
Looks like the reason of the problem is call
On Thursday, 26 May 2016 at 16:20:37 UTC, Adam D. Ruppe wrote:
On Thursday, 26 May 2016 at 16:11:22 UTC, Andrei Alexandrescu
wrote:
I've been working on RCStr (endearingly pronounced "Our
Sister")
You really should actually mention RCStr in the subject line so
people overwhelmed with the
On Thursday, 26 May 2016 at 17:45:59 UTC, ag0aep6g wrote:
On 05/26/2016 07:07 PM, Seb wrote:
Proposed categories:
- DMD
- DRuntime
- Phobos
Already there, but not used a lot. Druntime and Phobos are just
being spammed by GitHub.
I suggest combining the three into one Development group
On Thursday, 26 May 2016 at 17:17:00 UTC, ketmar wrote:
great lib (libui). sadly, no GNU/Linux support in there yet.
gtk+3 is complete crap, and it doesn't even *have* to present
in system (it isn't in my case). and libui cannot fallback to
gtk+2. it's sad: i was very excited by the nice C UI
On Thursday, 26 May 2016 at 17:50:36 UTC, Adam D. Ruppe wrote:
That would be templated so like byUTF!char and byUTF!wchar
right?
Then byCodePoint can just be another name for byUTF!dchar. I
kinda like that.
Ideally, the string type would also use lazy imports for any
conversion table. So
On Thursday, 26 May 2016 at 17:32:33 UTC, Jack Stouffer wrote:
Well, because we already have the standard library functions
representation, byUTF
That would be templated so like byUTF!char and byUTF!wchar right?
Then byCodePoint can just be another name for byUTF!dchar. I
kinda like that.
On Thursday, 26 May 2016 at 17:09:03 UTC, TheDGuy wrote:
On Thursday, 26 May 2016 at 17:06:03 UTC, Basile B. wrote:
colorize works. You meant "serial-port" ?
Well, i get the same message for both packages...Even though it
creates a new folder with all the files in
On Thursday, 26 May 2016 at 17:07:54 UTC, Seb wrote:
Proposed categories:
- DMD
- DRuntime
- Phobos
- Language design (or Idea pool)
- D Foundation + resources
- Events
- Other (formerly known as General)
I would worry about splitting it in to too many categories. There
are already are DMD
https://issues.dlang.org/show_bug.cgi?id=15925
Martin Nowak changed:
What|Removed |Added
CC||c...@dawg.eu
--- Comment #8
https://issues.dlang.org/show_bug.cgi?id=15966
--- Comment #13 from Martin Nowak ---
Works as expected with -transition=import/checkimports and that behavior is
already covered by test cases.
--
On 05/26/2016 12:58 PM, Gary Willoughby wrote:
On Thursday, 26 May 2016 at 16:11:22 UTC, Andrei Alexandrescu wrote:
* Support several views of the same string, e.g. given s of type
RCStr!char, it can be iterated byte-wise, code point-wise, code
unit-wise etc. by using s.by!ubyte, s.by!char,
On Thursday, 26 May 2016 at 16:11:22 UTC, Andrei Alexandrescu
wrote:
* Support const and immutable qualifiers for the character type.
How is that going BTW. Last I heard you were having problems with
inout/const.
* Support several views of the same string, e.g. given s of
type RCStr!char,
On Thursday, 26 May 2016 at 17:09:03 UTC, TheDGuy wrote:
On Thursday, 26 May 2016 at 17:06:03 UTC, Basile B. wrote:
colorize works. You meant "serial-port" ?
Well, i get the same message for both packages...Even though it
creates a new folder with all the files in
great lib (libui). sadly, no GNU/Linux support in there yet.
gtk+3 is complete crap, and it doesn't even *have* to present in
system (it isn't in my case). and libui cannot fallback to gtk+2.
it's sad: i was very excited by the nice C UI library (even if it
is actually a wrapper).
let's hope
On Thursday, 26 May 2016 at 17:09:03 UTC, TheDGuy wrote:
On Thursday, 26 May 2016 at 17:06:03 UTC, Basile B. wrote:
colorize works. You meant "serial-port" ?
Well, i get the same message for both packages...Even though it
creates a new folder with all the files in
On Thursday, 26 May 2016 at 17:06:03 UTC, Basile B. wrote:
On Thursday, 26 May 2016 at 17:02:06 UTC, TheDGuy wrote:
On Thursday, 26 May 2016 at 16:53:42 UTC, Basile B. wrote:
[...]
Thanks, now i found it.
If i try to add for example 'colorize' as a package i get:
Fetching serial-port
On Thursday, 26 May 2016 at 17:06:03 UTC, Basile B. wrote:
colorize works. You meant "serial-port" ?
Well, i get the same message for both packages...Even though it
creates a new folder with all the files in
AppData\Roaming\dub\packages
On 26.05.2016 17:11, TheDGuy wrote:
Hi,
i use Visual D as a plugin for visual studio to create D applications.
But what bothers me a bit is that i have to tell visual D the exact link
to the .lib file for every lib i want to use in the project (!).
So these are the steps i have to make to get
I think we all agree that general is having to much traffic and
according to CyberShadow [1] this again is just an approval
issue, however I expect this a bit controversial, so please no
OT! Only other category proposals.
Proposed categories:
- DMD
- DRuntime
- Phobos
- Language design (or
On Thursday, 26 May 2016 at 17:02:06 UTC, TheDGuy wrote:
On Thursday, 26 May 2016 at 16:53:42 UTC, Basile B. wrote:
[...]
Thanks, now i found it.
If i try to add for example 'colorize' as a package i get:
Fetching serial-port ~master...
Placing serial-port ~master to
On Thursday, 26 May 2016 at 16:53:42 UTC, Basile B. wrote:
- Registering a dub package from online is in the "library
manager"
- The DUB project editor is a widget that's not docked by
default, see in the menu "Windows", the item "Dub project
editor".
The Native project configuration and
On Thursday, 26 May 2016 at 17:02:06 UTC, TheDGuy wrote:
Thanks, now i found it.
If i try to add for example 'colorize' as a package i get:
Fetching serial-port ~master...
Placing serial-port ~master to
C:\Users\luc\AppData\Roaming\dub\packages\...
Neither a package description file, nor
On Thursday, 26 May 2016 at 16:53:42 UTC, Basile B. wrote:
On Thursday, 26 May 2016 at 16:21:30 UTC, TheDGuy wrote:
On Thursday, 26 May 2016 at 16:01:22 UTC, Basile B. wrote:
To register a DUB package, you can either fetch (DUB icon) or
clone the repo, open the DUB JSON project, compile the
On Thursday, 26 May 2016 at 16:43:20 UTC, Dicebot wrote:
On Thursday, 26 May 2016 at 16:38:16 UTC, Andrei Alexandrescu
wrote:
If Vladimir is okay with auto-deployment I'm okay too. Move
fast! The only question is, how do we avoid cases in which a
deployment breaks something important? --
On Thursday, 26 May 2016 at 16:21:30 UTC, TheDGuy wrote:
On Thursday, 26 May 2016 at 16:01:22 UTC, Basile B. wrote:
To register a DUB package, you can either fetch (DUB icon) or
clone the repo, open the DUB JSON project, compile the right
config, then in the libman there's a icon with a gray
On Thursday, 26 May 2016 at 15:51:39 UTC, Basile B. wrote:
Oh, I'm so sorry ! I totally missed the point of the Q.
float.nan is not a "unique" value. Several values verify "nan"
(Look at std.math.isNan). So I suppose it's simpler to test
for nullity. Though with the sign there's also two
On Thursday, 26 May 2016 at 16:38:16 UTC, Andrei Alexandrescu
wrote:
If Vladimir is okay with auto-deployment I'm okay too. Move
fast! The only question is, how do we avoid cases in which a
deployment breaks something important? -- Andrei
You don't need to avoid - just hit "revert" button and
On 5/26/16 11:53 AM, Seb wrote:
Hey,
Let me tell you a little story - once there was the amazing Dconf at the
beginning of this month (4-6.5).
We put a notice about it on dlang.org "DConf 2016 is coming up: May 4-6
in Berlin, Germany. Secure your seat before it's sold out!".
It took two
On Thursday, 26 May 2016 at 16:20:37 UTC, Adam D. Ruppe wrote:
On Thursday, 26 May 2016 at 16:11:22 UTC, Andrei Alexandrescu
wrote:
I've been working on RCStr (endearingly pronounced "Our
Sister")
You really should actually mention RCStr in the subject line so
people overwhelmed with the
On Thursday, 26 May 2016 at 16:00:54 UTC, Andrei Alexandrescu
wrote:
instead, it should use standard library algorithms for
searching,
matching etc. When needed, iterating every code unit is
trivially
done through indexing.
For an example where the std.algorithm/range functions don't cut
On Thursday, 26 May 2016 at 06:23:17 UTC, Jonathan M Davis wrote:
The difference is that it's impossible to do
10.opBinary!"+"(15), so if you're forced to do
foo.opBinary!"+"(bar) to get around a symbol conflict, it won't
work with built-in types.
Obviously operator overloading should be
On Thursday, 26 May 2016 at 16:01:22 UTC, Basile B. wrote:
To register a DUB package, you can either fetch (DUB icon) or
clone the repo, open the DUB JSON project, compile the right
config, then in the libman there's a icon with a gray chain
over a book. Click this icon and the library is
I've been working on RCStr (endearingly pronounced "Our Sister"), D's
up-and-coming reference counted string type. The goals are:
* Reference counted, shouldn't leak if all instances destroyed; even if
not, use the GC as a last-resort reclamation mechanism.
* Entirely @safe.
* Support UTF
On Thursday, 26 May 2016 at 15:41:45 UTC, TheDGuy wrote:
On Thursday, 26 May 2016 at 15:21:40 UTC, Basile B. wrote:
Use Coedit: the widget "library manager" allow to register
libraries in a single click and then they are usable on the
fly, in the projects or in a runnable modules, without
This might be a good time to discuss this a tad further. I'd appreciate
if the debate stayed on point going forward. Thanks!
My thesis: the D1 design decision to represent strings as char[] was
disastrous and probably one of the largest weaknesses of D1. The
decision in D2 to use
Hey,
Let me tell you a little story - once there was the amazing Dconf
at the beginning of this month (4-6.5).
We put a notice about it on dlang.org "DConf 2016 is coming up:
May 4-6 in Berlin, Germany. Secure your seat before it's sold
out!".
It took two weeks, but finally karthikeyan
On Thursday, 26 May 2016 at 15:48:18 UTC, Basile B. wrote:
On Thursday, 26 May 2016 at 15:34:50 UTC, ArturG wrote:
On Thursday, 26 May 2016 at 15:29:52 UTC, Basile B. wrote:
float.init is not equal to 0.0f. In D FP points values are
initialized to nan (not a number).
By the way for
On Thursday, 26 May 2016 at 15:34:50 UTC, ArturG wrote:
On Thursday, 26 May 2016 at 15:29:52 UTC, Basile B. wrote:
float.init is not equal to 0.0f. In D FP points values are
initialized to nan (not a number).
By the way for strings it works, it's like the array case I
described in the
On Thursday, 26 May 2016 at 15:38:55 UTC, Basile B. wrote:
because nan is not 0 and that the shortcut for float is
if (fpValue) <=> if (fpValue != 0)
if (!fpValue)<=> if (fpValue == 0)
There's no relation between the initializer and the shortcut.
It's not because for some values the
On Thursday, 26 May 2016 at 15:21:40 UTC, Basile B. wrote:
Use Coedit: the widget "library manager" allow to register
libraries in a single click and then they are usable on the
fly, in the projects or in a runnable modules, without
specifying anything (except a (*) in a project setting
On 05/26/2016 05:28 PM, ArturG wrote:
On Thursday, 26 May 2016 at 15:25:26 UTC, ag0aep6g wrote:
[...]
What does it matter?
You would have to create special cases for them.
When? If you want to check if something is the .init value, compare
against .init.
1 - 100 of 152 matches
Mail list logo