On 07/10/15 3:18 PM, holo wrote:
Congrats on getting it working!
@Rikki Thanks :)
I was trying to write my own lib from beginning based on examples but
after some time i resign from that idea (will back to it when i will
have some more experience) and right now im trying to customize that one
https://issues.dlang.org/show_bug.cgi?id=15166
Kenji Hara changed:
What|Removed |Added
Summary|[Ref 2.069-devel] spurious |[REG2.069-devel] spurious
On 10/6/2015 7:04 PM, bitwise wrote:
On Wednesday, 7 October 2015 at 01:27:27 UTC, Walter Bright wrote:
On 10/4/2015 11:02 AM, bitwise wrote:
For example, streams.
No streams. InputRanges.
This is too vague to really respond to. It does serve as an example of the
over-emphasis on ranges in
https://issues.dlang.org/show_bug.cgi?id=15167
Kenji Hara changed:
What|Removed |Added
Summary|[Reg 2.069-devel] |[REG2.069-devel]
On 10/6/15 7:21 PM, Laeeth Isharc wrote:
could we have ssize_t defined in phobos somewhere so your code ends up
being portable ;) (It's trivial to do, obviously).
ptrdiff_t
-Steve
https://issues.dlang.org/show_bug.cgi?id=15138
--- Comment #9 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/f223530ec642a28f9152d10273837254e1ab6417
fix Issue 15138 - ICE with
https://issues.dlang.org/show_bug.cgi?id=15150
--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/9e1e61d6e9d7713f8d64def9c468c0771bb6efff
fix Issue 15150 - Public
https://issues.dlang.org/show_bug.cgi?id=15152
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/4d1b0864d25660fdd347146c4a19ad9ba878a3bb
fix Issue 15152 - template
On Wednesday, 7 October 2015 at 02:41:12 UTC, Walter Bright wrote:
On 10/6/2015 7:04 PM, bitwise wrote:
On Wednesday, 7 October 2015 at 01:27:27 UTC, Walter Bright
wrote:
On 10/4/2015 11:02 AM, bitwise wrote:
For example, streams.
No streams. InputRanges.
This is too vague to really
On Tuesday, 6 October 2015 at 22:21:41 UTC, Jonathan M Davis
wrote:
So, we're doing better than C# or Java do, but unfortunately,
there are just enough issues with ref-counting structs that to
get it fully right, we do need ref-counting in the language
(unfortunately, I don't remember all of
On 10/6/15 4:27 PM, anonymous wrote:
You can put an expression tuple ("expression AliasSeq"??) there. T.init is
one that always fits T's types. But you could generate one with different
values, too.
void foo(T...)(string str=null, T args = T.init) {
//...
}
void main()
{
Am Tue, 06 Oct 2015 21:39:28 +
schrieb Fusxfaranto :
> Additionally, just like associative arrays, if you need to access
> the value, you can get a pointer to it with the in operator (and
> if the key doesn't exist, it will return a null pointer).
>
>
On Tuesday, 6 October 2015 at 20:44:22 UTC, ponce wrote:
On Tuesday, 6 October 2015 at 17:20:39 UTC, Jonathan M Davis
wrote:
[...]
Unfortunately, it is quite common to need both virtual
functions and deterministic destruction. It isn't helpful to
disregard the problem by saying "you should
On 10/4/2015 11:02 AM, bitwise wrote:
For example, streams.
No streams. InputRanges.
On Tuesday, 6 October 2015 at 05:38:36 UTC, Jonathan M Davis
wrote:
Your suggestion only works by assuming that the result will fit
in a char, which doesn't fit at all with how coversions are
currently done in D. It would allow for narrowing conversions
which lost data. And there's no way that
On Tuesday, 6 October 2015 at 05:45:18 UTC, Andre wrote:
vagrant@vagrant-ubuntu-trusty-64:~/projects/tests/vibed_test$
dub
Target memutils 0.4.1 is up to date. Use --force to rebuild.
Target libasync 0.7.5 is up to date. Use --force to rebuild.
Target vibe-d 0.7.25 is up to date. Use --force to
JSON is a particular file format useful for serialising
heirachical data.
Given that D also has an XML module which appears to be
deprecated, I wonder if it would be better to write a more
abstract serialisation/persistance module that could use either
json,xml,some binary format and future
On Tuesday, 6 October 2015 at 20:44:22 UTC, ponce wrote:
On Tuesday, 6 October 2015 at 17:20:39 UTC, Jonathan M Davis
wrote:
But in general, at this point, with D, if you want
deterministic destruction, then you use structs. Classes are
not the appropriate place for it. If they were
On Tuesday, 6 October 2015 at 16:12:12 UTC, Russel Winder wrote:
Has anyone got a small example of microservices using D, with
Vibe.d or otherwise, that I can make use of? I need some
examples of small microservices for a session at μCon 2015.
on your email, in case it fits. nanomsg and a
On Tuesday, 6 October 2015 at 07:09:21 UTC, Jonathan M Davis
wrote:
On Tuesday, 6 October 2015 at 06:52:13 UTC, Ulrich Kuettler
wrote:
On Tuesday, 6 October 2015 at 02:31:53 UTC, Eric Niebler wrote:
Given that starting point, ranges of different strength are
an "obvious" next step that many
On Tuesday, 6 October 2015 at 19:31:20 UTC, Mengu wrote:
a half of it is the buzz and other half of is not. remember
people talking about reactjs, go and rails being buzz? they
were the same. we have built an online payment gateway and we
are about to decouple our application and switch to
On Monday, 5 October 2015 at 14:16:22 UTC, Jack Stouffer wrote:
Around the release of 2.068 I saw a couple of threads about
Objective C compatibility in D, but it wasn't merged into
stable for 2.068. Is this going to be merged into 2.069? Any
improvements from the very basic support that was
On Tuesday, 6 October 2015 at 14:55:23 UTC, Adam D. Ruppe wrote:
On Tuesday, 6 October 2015 at 14:46:56 UTC, tcak wrote:
void main(){
size_t dec = 0;
How is it generating "true" for (dec <= -10) ? Is there a
special casting or something?
size_t is unsigned, so the -10 is cast to
On 10/6/15 9:09 AM, Iain Buclaw via Digitalmars-d-announce wrote:
On 6 Oct 2015 12:30 am, "Adam D. Ruppe via Digitalmars-d-announce"
> wrote:
>
> On Monday, 5 October 2015 at 21:59:49 UTC, anonymous wrote:
>>
Am 06.10.2015 um 12:05 schrieb Alex:
JSON is a particular file format useful for serialising heirachical data.
Given that D also has an XML module which appears to be deprecated, I
wonder if it would be better to write a more abstract
serialisation/persistance module that could use either
On 10/6/15 8:42 AM, Rory McGuire via Digitalmars-d-announce wrote:
On Tue, Oct 6, 2015 at 2:43 AM, Andrei Alexandrescu via
Digitalmars-d-announce > wrote:
...
The event is sponsored by Siemens and free
On Tuesday, 6 October 2015 at 09:36:42 UTC, Marc Schütz wrote:
On Tuesday, 6 October 2015 at 05:45:18 UTC, Andre wrote:
vagrant@vagrant-ubuntu-trusty-64:~/projects/tests/vibed_test$
dub
Target memutils 0.4.1 is up to date. Use --force to rebuild.
Target libasync 0.7.5 is up to date. Use
On Monday, 5 October 2015 at 06:24:44 UTC, Andrei Alexandrescu
wrote:
On 10/5/15 1:34 AM, Rikki Cattermole wrote:
Vibe.d has a provider called libasync. Libasync is fully
implemented in
D. You probably should have tried that at least.
Although I still would recommend trying it ;) It's a lot
On Tuesday, 6 October 2015 at 11:30:00 UTC, Etienne Cimon wrote:
Will need to strip memutils, will you have std.allocator ready?
https://github.com/D-Programming-Language/phobos/tree/master/std/experimental/allocator
:)
On Tuesday, 6 October 2015 at 13:38:28 UTC, Gerald wrote:
My limited experience with gtkd has been very positive, while
the documentation is primarily reference material it's not very
difficult to figure out how things work with GTK based on
examples from C or pyGTK. I do use Linix and Gnome
On Tuesday, 6 October 2015 at 09:36:42 UTC, Marc Schütz wrote:
On Tuesday, 6 October 2015 at 05:45:18 UTC, Andre wrote:
vagrant@vagrant-ubuntu-trusty-64:~/projects/tests/vibed_test$
dub
Target memutils 0.4.1 is up to date. Use --force to rebuild.
Target libasync 0.7.5 is up to date. Use
On Tuesday, 6 October 2015 at 09:28:29 UTC, Marc Schütz wrote:
I see, this is a new problem introduced by `char + int = char`.
But at least the following could be disallowed without
introducing problems:
int a = 'a';
char b = 32;
But strictly speaking, we already accept overflow
On Tuesday, October 06, 2015 09:28:27 Marc Schütz via Digitalmars-d-learn wrote:
> I see, this is a new problem introduced by `char + int = char`.
> But at least the following could be disallowed without
> introducing problems:
>
> int a = 'a';
> char b = 32;
Sure, it would be nice, but
On 07/10/15 12:29 AM, Etienne Cimon wrote:
On Monday, 5 October 2015 at 06:24:44 UTC, Andrei Alexandrescu wrote:
On 10/5/15 1:34 AM, Rikki Cattermole wrote:
Vibe.d has a provider called libasync. Libasync is fully implemented in
D. You probably should have tried that at least.
Although I
On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote:
Are there any critical frameworks or libraries that are holding
you back in fully investing in D? Obviously I think D is an
awesome language, but some frameworks/libraries hold me back,
wish I could do everything in D.
Nothing major for
On Sunday, 4 October 2015 at 13:24:23 UTC, karabuta wrote:
In YHO, what keeps you from using any of those fully(mostly)?
Gtkd first, followed by dlangui. I need to know what I am
signing up for.
I'm working on a search utility using gtkd, it's essentially a
GUI for grep. I was using a
https://issues.dlang.org/show_bug.cgi?id=15149
--- Comment #4 from Kenji Hara ---
Created attachment 1554
--> https://issues.dlang.org/attachment.cgi?id=1554=edit
Dustmited test case.
--
On Tuesday, October 06, 2015 15:16:12 tcak via Digitalmars-d-learn wrote:
> While writing max ulong value, I added the "u" postfix. So
> compiler accepted it as ulong value (That's my interpretation if
> correct on compiler's side).
>
> writeln( 18_446_744_073_709_551_615u );
>
> But when I try to
On Tuesday, 6 October 2015 at 14:28:42 UTC, Kagamin wrote:
On Monday, 5 October 2015 at 16:40:06 UTC, Jan Johansson wrote:
Yes, I know WCF more than well, doing my own bindings,
federated security bindings, you name it. I also know that WCF
works with attribute values during runtime, through
On Tuesday, 6 October 2015 at 06:45:47 UTC, Jonathan M Davis
wrote:
On Monday, 5 October 2015 at 23:08:37 UTC, bitwise wrote:
Well, again that has it's pros and cons. This is why I just
want a normal language solution like DIP74.
They're not the same thing at all. scoped is supposed to put
Has anyone got a small example of microservices using D, with Vibe.d or
otherwise, that I can make use of? I need some examples of small
microservices for a session at μCon 2015.
--
Russel.
=
Dr Russel Winder t:+44
On Monday, 5 October 2015 at 15:01:14 UTC, Ola Fosheim Grøstad
wrote:
Could you line out how you would like a language to be so it
doesn't bore you stiff?
Consistency in philosophy is important. If D is a compile time
oriented library authors language (and I think it is) then that
needs to
On Tuesday, 6 October 2015 at 17:03:07 UTC, bitwise wrote:
On Tuesday, 6 October 2015 at 06:45:47 UTC, Jonathan M Davis
wrote:
They're not the same thing at all. scoped is supposed to put
the class on the stack, not the heap. And it's not
ref-counted. It's so that you can create a class object
On Tuesday, 6 October 2015 at 14:46:56 UTC, tcak wrote:
Maybe I am just too stressed out to see the problem.
[code]
import std.stdio;
void main(){
size_t dec = 0;
writeln( dec, " ", (dec <= -10), " ", (dec >= 10), " ", ((dec
<= -10) || (dec >= 10)) );
}
[/code]
[output]
0 true
On Tuesday, 6 October 2015 at 16:12:12 UTC, Russel Winder wrote:
Has anyone got a small example of microservices using D, with
Vibe.d or otherwise, that I can make use of? I need some
examples of small microservices for a session at μCon 2015.
As far as I know, there is no implementation of
On Friday, 2 October 2015 at 14:03:08 UTC, John Colvin wrote:
On Friday, 2 October 2015 at 09:43:54 UTC, Chris wrote:
Why do I get this error msg with dmd 2.067.1 and 2.068.0 in
release mode:
$ dub --build=release
On Tuesday, 6 October 2015 at 15:47:08 UTC, Sebastiaan Koppe
wrote:
At which point it begs the question, why not just write simple
primitive (de)serialization modules that only do one format?
Probably easier to build, maintain and debug.
The binary one is the one I care about, so that's the
On 10/05/2015 05:30 PM, Andy Smith wrote:
On Monday, 5 October 2015 at 19:35:53 UTC, anonymous wrote:
On Monday 05 October 2015 21:29, Adam D. Ruppe wrote:
which generates Microsoft format object files and the MS linker even
on 32
bit
I think you a word there.
I think you a grammatical
On 10/06/2015 08:16 AM, tcak wrote:
> While writing max ulong value, I added the "u" postfix.
Better to use U to be consistent with L (see below).
> But when I try to print out minimum value of long, compiler says
> Error: signed integer overflow
>
> writeln( -9_223_372_036_854_775_808 );
I
101 - 149 of 149 matches
Mail list logo