Thanks. Do I need to use rational fractions for the Currencies
class?
On 2015-01-31 13:02, data man wrote:
Thanks for the feedback!
And DUB supports the compilation of external С-code?
No, but you can execute shell commands before building the D code. There
are four settings [1] that could be of interest:
* preGenerateCommands
* postGenerateCommands
*
On Saturday, 31 January 2015 at 14:06:20 UTC, Piotrek wrote:
and named Mars (Deimos is unfortunately already taken ).
BTW, Mars is the name of the language, before people started
calling it D (which stuck).
On Saturday, 31 January 2015 at 14:33:35 UTC, Vladimir Panteleev
wrote:
On Saturday, 31 January 2015 at 14:06:20 UTC, Piotrek wrote:
and named Mars (Deimos is unfortunately already taken ).
BTW, Mars is the name of the language, before people started
calling it D (which stuck).
I know
On Saturday, 31 January 2015 at 15:02:09 UTC, Colin wrote:
Maybe you can articulate it in one post what this class is
trying to achieve?
Maybe this?
https://github.com/andersonpd/decimal/blob/master/decimal/bigfloat.d
The main thing is not to lose currency in calculations that use
arithmetic.
https://issues.dlang.org/show_bug.cgi?id=14089
Issue ID: 14089
Summary: [REG2.064] Assigning to AA has no value when
overriding opAssign
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
On Saturday, 31 January 2015 at 16:04:36 UTC, tcak wrote:
I do not have a big example in the end to show, but is there
any way to put labels into struct definitions?
struct CommunicationMessage{
char[2] signature;
mainData:
int info1;
int info2;
extraData:
ushort checksum;
On 1/31/15 1:10 AM, Martin Nowak wrote:
Thanks for this code, it's a lot nicer and simpler than mine. -- Andrei
So, pull request for std.array and reverting the dollar thingie?
Problem solved?
This looks like the way to go. I apologize to the community for the
indecision shown. -- Andrei
You could use a UDA like that, though getting the offset will be
a bit tricky.
The idea is to use some uda type, even plain string is good
enough, then use the __traits to find the first appearance of
that UDA in the object and return that offset.
Keep in mind that the @uda: syntax applies
Oh this hack also won't work with a label at the very end. You
could use sizeof for that though (however that would include
padding bytes. Perhaps last member's offsetof plus last member's
sizeof is a bit more accurate.)
https://issues.dlang.org/show_bug.cgi?id=14041
sinkuup...@gmail.com changed:
What|Removed |Added
Keywords||pull
CC|
https://issues.dlang.org/show_bug.cgi?id=14042
sinkuup...@gmail.com changed:
What|Removed |Added
Keywords||pull
CC|
Hi,
The history of std.(experimental.)logger and the latest thread
about gui functionality inclusion into Phobos made me think about
how to solve the problem of adding new modules.
I came up with the idea (maybe not new) to create a additional
library(along druntime and Phobos) delivered
The next version, which does not work:
https://bpaste.net/show/b9c85de68d07
On 31.01.15 15:45, RuZzz wrote:
Maybe I need good examples on C++, for this class, because a lot of
examples on C++.
Maybe this can help you:
https://github.com/andersonpd/decimal
Given the overwhelming number of responses you received, I would suggest
to adhere to Kiith-Sa's suggestion of dropping the idea of a czech-only
forum. I think that we are more likely to meet for a beer than to make
such forum alive in near future.
Martin
smime.p7s
Description: Elektronicky
https://issues.dlang.org/show_bug.cgi?id=14037
sinkuup...@gmail.com changed:
What|Removed |Added
CC||sinkuup...@gmail.com
I want to understand the correct architecture of the class.
On Saturday, 31 January 2015 at 13:45:22 UTC, RuZzz wrote:
I want to understand the correct architecture of the class.
Sorry, you still did not state your problem (or what you are
trying to achieve) clearly.
Writing down a clear problem description is likely to get you
halfway to the
When trying to run my program with profiling enabled it dies
before the first line of my main function runs. Everything works
fine without profiling. I get the following stack trace:
thread #1: tid = 0x38de4, 0x00010008d985
vision_entry`gc_malloc + 49, queue = 'com.apple.main-thread',
https://issues.dlang.org/show_bug.cgi?id=14042
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/7cab71b22bd829db8712e9a4c4b9c7b62a51552a
Fix Issue 14042 -
On Thursday, 29 January 2015 at 15:25:09 UTC, Mike Parker wrote:
On 1/29/2015 11:40 PM, CodeSun wrote:
Recently, I found something really weird when I use strerror_t
function
which is declared inside std.c.string.
The code snippet is listed below:
import std.c.string;
import core.stdc.errno;
On 31.01.15 15:56, zeljkog wrote:
On 31.01.15 15:45, RuZzz wrote:
Maybe I need good examples on C++, for this class, because a lot of
examples on C++.
Maybe this can help you:
https://github.com/andersonpd/decimal
Also
http://code.dlang.org/packages/eris
I do not have a big example in the end to show, but is there any
way to put labels into struct definitions?
struct CommunicationMessage{
char[2] signature;
mainData:
int info1;
int info2;
extraData:
ushort checksum;
content:
}
Example I defined something like above. I am
https://issues.dlang.org/show_bug.cgi?id=14042
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
Maybe I need good examples on C++, for this class, because a lot
of examples on C++.
I am looking for not only free solutions.
On Saturday, 31 January 2015 at 14:26:45 UTC, RuZzz wrote:
The next version, which does not work:
https://bpaste.net/show/b9c85de68d07
I really dont understand what your trying to achieve here.
Maybe you can articulate it in one post what this class is trying
to achieve?
Harbored-mod (https://github.com/kiith-sa/harbored-mod) is a
documentation generator based on Brian Schott's Harbored that
supports both DDoc and Markdown in documentation comments.
--
Examples of generated docs
--
* Public imports in a package.d:
On Wednesday, 28 January 2015 at 13:53:00 UTC, John Colvin wrote:
On Wednesday, 28 January 2015 at 13:30:59 UTC, Vadim Lopatin
wrote:
On Wednesday, 28 January 2015 at 13:18:11 UTC, John Colvin
wrote:
On Wednesday, 28 January 2015 at 10:57:57 UTC, Vadim Lopatin
wrote:
On Wednesday, 28 January
On Saturday, 31 January 2015 at 08:57:15 UTC, Martin Nowak wrote:
On Friday, 30 January 2015 at 14:11:27 UTC, CraigDillabaugh
wrote:
http://en.flossmanuals.net/GSoCMentoring/managing-the-mentors/
Sounds good, count me in.
Thank you very much.
Thanks for this code, it's a lot nicer and simpler than mine.
-- Andrei
So, pull request for std.array and reverting the dollar thingie?
Problem solved?
Can we commit to having stuff done by Feb 15 for a release on
Mar 1? -- Andrei
Sounds good, work on regressions should start soon and we should
no longer add features.
On Friday, 30 January 2015 at 14:11:27 UTC, CraigDillabaugh wrote:
http://en.flossmanuals.net/GSoCMentoring/managing-the-mentors/
Sounds good, count me in.
It seems completely unrelated to the -j flag, just related to
per-file compilation.
Look at the linker map file, maybe one build results in a better
layout, though the effect should be marginal.
On Saturday, 31 January 2015 at 07:00:05 UTC, eles wrote:
Everytime I follow the process managemnt and decision in D, it
looks to me like IndburIII-esque:
What management? You mean the process that follow the structure:
- analysis
- prioritization
- risk reduction
- design
- implementation
-
On Friday, 23 January 2015 at 18:37:07 UTC, Martin Drašar wrote:
Dne 23.1.2015 v 19:16 Andrei Alexandrescu via Digitalmars-d
napsal(a):
Both are nice:
http://tour.golang.org/welcome/1
http://rustbyexample.com/
Or something along the lines of https://tryhaskell.org
With possible integration
I don't know, you sound like a perfectionist to me, like most of
other community members. I can only give examples from my
experience.
I am a controls engineer in my current day job, and I do SW
coding in my free time (like couple of hours per week). In the
past, I changed my D GUI libs from
Am 31.01.2015 um 06:11 schrieb Dicebot:
On Friday, 30 January 2015 at 19:10:06 UTC, Martin Nowak wrote:
It has a serious drawback of increasing attribute noise even more
though. First approach allows for more automatic inference.
But with D restrictions it seems the least bad option.
Well,
https://issues.dlang.org/show_bug.cgi?id=14090
Issue ID: 14090
Summary: [REG2.067a] Incorrect recursive alias declaration
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: rejects-valid
On 01/31/15 17:04, tcak via Digitalmars-d-learn wrote:
struct CommunicationMessage{
[...]
content:
}
Example I defined something like above. I am using it as a base structure,
and don't know how long the content of message will be. But I know that it
will be at the end. I could use
On Saturday, 31 January 2015 at 18:11:48 UTC, Laeeth Isharc wrote:
This has the advantage over existing situation where you have
the official library where things need to go through exacting
and time consuming process and then dub. Within dub every
project is at the same level and it is not
https://issues.dlang.org/show_bug.cgi?id=14091
Issue ID: 14091
Summary: Migrate Digger to D-Programming-Language/tools
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
https://issues.dlang.org/show_bug.cgi?id=14091
Andrei Alexandrescu and...@erdani.com changed:
What|Removed |Added
Assignee|nob...@puremagic.com
On Saturday, 31 January 2015 at 17:43:49 UTC, jklp wrote:
On Saturday, 31 January 2015 at 15:31:37 UTC, Kiith-Sa wrote:
Harbored-mod (https://github.com/kiith-sa/harbored-mod) is a
documentation generator based on Brian Schott's Harbored that
supports both DDoc and Markdown in documentation
https://issues.dlang.org/show_bug.cgi?id=13776
--- Comment #3 from Denis Shelomovskij verylonglogin@gmail.com ---
(In reply to Kenji Hara from comment #2)
(In reply to Kenji Hara from comment #1)
https://github.com/D-Programming-Language/dmd/pull/4172
PR is merged and the issue is
On 31.01.15 17:04, tcak wrote:
I do not have a big example in the end to show, but is there any way to
put labels into struct definitions?
struct CommunicationMessage{
char[2] signature;
mainData:
int info1;
int info2;
extraData:
ushort checksum;
content:
}
Members of
This has the advantage over existing situation where you have the
official library where things need to go through exacting and
time consuming process and then dub. Within dub every project is
at the same level and it is not obvious which projects are the
ones to use, and there is not
On Saturday, 31 January 2015 at 15:31:37 UTC, Kiith-Sa wrote:
Harbored-mod (https://github.com/kiith-sa/harbored-mod) is a
documentation generator based on Brian Schott's Harbored that
supports both DDoc and Markdown in documentation comments.
--
Examples of generated
On Friday, 30 January 2015 at 20:27:22 UTC, Jacob Carlborg wrote:
On 2015-01-30 15:19, Chris wrote:
I see what you mean, I'm tired of clever backronyms [1] too.
However,
DStep is not a product or a company like Apple but a tool with
a very
specific use. If I look for a tool, I prefer it to
https://issues.dlang.org/show_bug.cgi?id=14041
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=14041
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/6a3cd276b8a39d5cfc6fe7280accfe692c6d16f4
Fix issue 14041 -
https://issues.dlang.org/show_bug.cgi?id=14057
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/5e9006b90825453600b2080bca2ecd5f337deb14
Cleanup of #2724
On Saturday, 31 January 2015 at 18:45:13 UTC, Israel wrote:
On Saturday, 31 January 2015 at 18:11:48 UTC, Laeeth Isharc
wrote:
This has the advantage over existing situation where you have
the official library where things need to go through exacting
and time consuming process and then dub.
I'm looking for feedback for:
https://github.com/D-Programming-Language/dlang.org/pull/878
https://issues.dlang.org/show_bug.cgi?id=14088
Investigation shows that the D Wiki is the best landing place for
newcomers, so they are directed there first. I think the current
page leaves newcomers a
On Saturday, 31 January 2015 at 19:03:55 UTC, Zach the Mystic
wrote:
I'm looking for feedback for:
https://github.com/D-Programming-Language/dlang.org/pull/878
https://issues.dlang.org/show_bug.cgi?id=14088
Investigation shows that the D Wiki is the best landing place
for newcomers, so they
https://issues.dlang.org/show_bug.cgi?id=14092
Issue ID: 14092
Summary: C++ mangling for struct nested inside same class as
static function is broken when in namespace
Product: D
Version: D2
Hardware: x86_64
https://issues.dlang.org/show_bug.cgi?id=14092
Colden Cullen coldencul...@gmail.com changed:
What|Removed |Added
Keywords||C++
--
On Saturday, 31 January 2015 at 19:35:45 UTC, Zach the Mystic
wrote:
On Saturday, 31 January 2015 at 19:22:06 UTC, Jonathan Marler
wrote:
Seems like a good idea to me. One thought, when I'm looking
at a new language and I see a Getting Started, I would
expect to see links for tutorials such
On Saturday, 31 January 2015 at 14:06:20 UTC, Piotrek wrote:
Hi,
The history of std.(experimental.)logger and the latest thread
about gui functionality inclusion into Phobos made me think
about how to solve the problem of adding new modules.
I came up with the idea (maybe not new) to create
On Saturday, 31 January 2015 at 19:03:55 UTC, Laeeth Isharc wrote:
On Saturday, 31 January 2015 at 18:45:13 UTC, Israel wrote:
the people who like and are good at writing docs are not
necessarily those who like and are good at writing code.
This is exactly how i feel.
On Saturday, 31 January 2015 at 19:22:06 UTC, Jonathan Marler
wrote:
On Saturday, 31 January 2015 at 19:03:55 UTC, Zach the Mystic
wrote:
I'm looking for feedback for:
https://github.com/D-Programming-Language/dlang.org/pull/878
https://issues.dlang.org/show_bug.cgi?id=14088
Investigation
On 2015-01-31 19:38, Chris wrote:
At version 0.0.1? :)
At version 0.1.0:
https://github.com/jacob-carlborg/dstep/releases/tag/v0.1.0
--
/Jacob Carlborg
On Saturday, 31 January 2015 at 19:52:11 UTC, Jacob Carlborg
wrote:
Is this supposed to work:
enum foo = [foo].map!((string e) = import(e));
When I compile the above code with 2.066.1 I get the following
error:
main.d(1): Error: variable e cannot be read at compile time
main.d(1): Error:
Is this supposed to work:
enum foo = [foo].map!((string e) = import(e));
When I compile the above code with 2.066.1 I get the following error:
main.d(1): Error: variable e cannot be read at compile time
main.d(1): Error: file name argument must be a string, not (__error)
--
/Jacob Carlborg
Am 31.01.2015 um 13:07 schrieb Martin Nowak:
That's probably how it should behave, though an attribute applying only
to public members unless explicitly added is unprecedented. Still seems
like the right choice here, but might require some additional compiler
logic.
Well you don't have to
https://issues.dlang.org/show_bug.cgi?id=14093
Issue ID: 14093
Summary: __traits(compiles, cast(Object)(tuple)) is true even
if it doesn't compile.
Product: D
Version: D2
Hardware: x86_64
OS: Linux
On Saturday, 31 January 2015 at 14:06:20 UTC, Piotrek wrote:
...
+1, basically boost for D. I heavily agree that the libraries
should complement Phobos and never be orthogonal to phobos lest
we have another tangos/phobos situation.
The next version
https://bpaste.net/show/9468f24d9df0
On 1/31/2015 7:10 AM, Piotrek wrote:
I know that, but the naming is the least important aspect of the proposal.
I agree. Let's not have endless posts bikeshedding the name, no matter how
tempting.
I like the idea of having an additional library that we would
ship alongside Phobos with every release. There of course some
obvious pros and cons for having 'Mars' (or whatever is called)
as a DUB packages vs included in the standard library:
Pros for being a DUB package:
+ faster release
On Saturday, 31 January 2015 at 14:06:20 UTC, Piotrek wrote:
Hi,
The history of std.(experimental.)logger and the latest thread
about gui functionality inclusion into Phobos made me think
about how to solve the problem of adding new modules.
I came up with the idea (maybe not new) to create
On 2015-01-31 20:54, Stefan Koch wrote:
I think this is not supposed to work.
try staticMap maybe ?
Yes, staticMap worked, thanks. I filed a bug [1]. If I recall correctly,
if the compiler outputs a message which includes __error it's a bug.
[1]
--
/Jacob Carlborg
https://issues.dlang.org/show_bug.cgi?id=14094
Issue ID: 14094
Summary: Using string import in map results in error message
with __error
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
On Saturday, 31 January 2015 at 19:35:45 UTC, Zach the Mystic
wrote:
On Saturday, 31 January 2015 at 19:22:06 UTC, Jonathan Marler
wrote:
On Saturday, 31 January 2015 at 19:03:55 UTC, Zach the Mystic
wrote:
I'm looking for feedback for:
On Saturday, 31 January 2015 at 12:22:32 UTC, Brian Schott wrote:
That's no moon. That's a space station.
:)
https://issues.dlang.org/show_bug.cgi?id=14093
Pierre krafft kpierre+dl...@outlook.com changed:
What|Removed |Added
CC|
On Friday, 30 January 2015 at 14:41:11 UTC, Laeeth Isharc wrote:
Thanks, Adam. That's what I had thought (your first
paragraph), but something Ola on a different thread confused me
and made me think I didn't understand it, and I wanted to pin
it down.
There is always significant
On Saturday, 31 January 2015 at 18:47:28 UTC, Kiith-Sa wrote:
Could you clone the current git master
(https://github.com/kiith-sa/harbored-mod.git) and try if it
works?
It's ok now, i confirm the fix.
https://issues.dlang.org/show_bug.cgi?id=14096
Vlad Levenfeld vlevenf...@gmail.com changed:
What|Removed |Added
CC||vlevenf...@gmail.com
https://issues.dlang.org/show_bug.cgi?id=14096
Issue ID: 14096
Summary: ICE in toir.c: 187
Product: D
Version: D1 D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: major
Priority: P1
https://issues.dlang.org/show_bug.cgi?id=14097
Issue ID: 14097
Summary: root/async.c: free after use
Product: D
Version: D2
Hardware: x86
OS: Windows
Status: NEW
Severity: critical
Priority: P1
On 1/31/2015 9:21 PM, Mike wrote:
Is D's core team genuinely interested in this domain?
Yes.
If you are genuinely interested, are you committed? And if so, what direction
would you like to take? So far, my ideas have been very unpopular and I'm
growing weary fighting the current. How can
https://issues.dlang.org/show_bug.cgi?id=11488
--- Comment #2 from Manfred Nowak svv1...@hotmail.com ---
(In reply to Stewart Gordon from comment #1)
If chaining of -, --. + and ++ is used heavily, then disallowing to
shoot oneself is okay. Hint: - -- -- -- - --- -- - -- - -- - --x is
how can i use wininet.dll from D? i got bindings from https://github.com/
CS-svnmirror/dsource-bindings-win32.git, and then i tried to create
wininet.lib with implib.exe from DMC package. no matter how i tried, the
resulting wininet.lib seems to not work, as linker keep complaining
about
On Saturday, 31 January 2015 at 18:45:13 UTC, Israel wrote:
On Saturday, 31 January 2015 at 18:11:48 UTC, Laeeth Isharc
wrote:
This has the advantage over existing situation where you have
the official library where things need to go through exacting
and time consuming process and then dub.
On 1/31/2015 8:08 AM, Andrei Alexandrescu wrote:
On 1/31/15 1:10 AM, Martin Nowak wrote:
Thanks for this code, it's a lot nicer and simpler than mine. -- Andrei
So, pull request for std.array and reverting the dollar thingie?
Problem solved?
This looks like the way to go. I apologize to the
On 1/02/2015 4:31 a.m., Kiith-Sa wrote:
Harbored-mod (https://github.com/kiith-sa/harbored-mod) is a
documentation generator based on Brian Schott's Harbored that
supports both DDoc and Markdown in documentation comments.
--
Examples of generated docs
On 1/02/2015 1:02 p.m., Rikki Cattermole wrote:
On 1/02/2015 4:31 a.m., Kiith-Sa wrote:
Harbored-mod (https://github.com/kiith-sa/harbored-mod) is a
documentation generator based on Brian Schott's Harbored that
supports both DDoc and Markdown in documentation comments.
Hello,
Walter and I have been mulling for a while on a vision for the first six
months of 2015.
http://wiki.dlang.org/Vision/2015H1
This is stuff we consider important for D going forward and plan to work
actively on. We encourage the D community to focus contributions along
the same
https://issues.dlang.org/show_bug.cgi?id=14097
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=13969
--- Comment #5 from Walter Bright bugzi...@digitalmars.com ---
https://github.com/D-Programming-Language/dmd/pull/4364
--
https://issues.dlang.org/show_bug.cgi?id=13969
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Hardware|x86 |All
On Saturday, 31 January 2015 at 20:34:32 UTC, Zach the Mystic
wrote:
The most important thing about a standard library is
decisiveness in the leadership about what *kinds* of things
should be in it. When it's been made clear that a given task is
worthy of inclusion in the standard library,
On Saturday, 31 January 2015 at 20:44:38 UTC, weaselcat wrote:
On Saturday, 31 January 2015 at 14:06:20 UTC, Piotrek wrote:
...
+1, basically boost for D. I heavily agree that the libraries
should complement Phobos and never be orthogonal to phobos lest
we have another tangos/phobos
https://issues.dlang.org/show_bug.cgi?id=14095
Jonathan M Davis issues.dl...@jmdavisprog.com changed:
What|Removed |Added
CC|
On Sun, 01 Feb 2015 03:27:06 +, ketmar wrote:
On Sun, 01 Feb 2015 03:09:15 +, ZombineDev wrote:
I have made a pull request[1] with your fix, if you don't mind.
thank you.
ah, and that caching is needed. `free()` in `AsyncRead::dispose` *can* be
executed before loop in `startthread`
On Sun, 01 Feb 2015 03:09:15 +, ZombineDev wrote:
I have made a pull request[1] with your fix, if you don't mind.
thank you.
signature.asc
Description: PGP signature
https://issues.dlang.org/show_bug.cgi?id=13952
--- Comment #2 from Martin Nowak c...@dawg.eu ---
(In reply to Walter Bright from comment #1)
Please provide a reproducible example.
I already spend almost a day on this and couldn't reduce it to less than
compiling Higgs and running the tests.
https://issues.dlang.org/show_bug.cgi?id=14093
sinkuup...@gmail.com changed:
What|Removed |Added
CC||sinkuup...@gmail.com
1 - 100 of 148 matches
Mail list logo