http://pixelscommander.com/wp-content/uploads/2014/12/P10.pdf
With auto a = new double[1000], is there any guarantee that
a.ptr is aligned on a 16-byte boundary? Indeed I would like to
use core.simd and this alignment is paramount for efficient
loading from memory to SSE2 registers.
On MacOS X and 64-bit Linux, it looks true for dmd. Looking at
the
On 2015-01-05 00:50:55 +, Brian Schott said:
Looks like it's time to spend some more time with perf:
http://i.imgur.com/k50dFbU.png
X-axis: Meaningless (Phobos module file names)
Y-axis: Time in hnsecs (Lower is better)
I had to hack the ddmd code to get it compile (more 1337 h4x were
On Thursday, 8 January 2015 at 23:06:39 UTC, Nordlöw wrote:
On Thursday, 8 January 2015 at 16:11:07 UTC, ketmar via
Digitalmars-d-learn wrote:
how can it? compiler doesn't know what the code is supposed to
do. if
compilers will know such things someday, we can stop writing
programs
altogether,
Luc Bourhis:
With auto a = new double[1000], is there any guarantee that
a.ptr is aligned on a 16-byte boundary?
Arrays are aligned on a 16-byte. But if you slice them, this
alignment can be broken.
In past I suggested to put the alignment of an array in the D
type system, as an optional
On Friday, 9 January 2015 at 00:23:47 UTC, bearophile wrote:
Luc Bourhis:
With auto a = new double[1000], is there any guarantee that
a.ptr is aligned on a 16-byte boundary?
Arrays are aligned on a 16-byte.
Good news!
But if you slice them, this alignment can be broken.
Yes, of
On Wednesday, 7 January 2015 at 14:10:49 UTC, Dmitry Olshansky
wrote:
Truth be told none of listed in this thread feel fundamental to
me. It looks more like a set of patches to each specific
problem in the compiler or run-time. Yeah, run-time would
better be more customizable, but it's just
I saw recently (at last in this thread:
http://forum.dlang.org/thread/tdfydchrairigdlgt...@forum.dlang.org#post-qakiogaqvmiwlneimhgu:40forum.dlang.org)
that many users use
key in aa ? aa[key] : ValueType.init;
instead of
auto ptr = key in aa;
ptr ? *ptr : ValueType.init;
https://issues.dlang.org/show_bug.cgi?id=9119
--- Comment #13 from hst...@quickfur.ath.cx ---
Furthermore, printing of the range returned by byPair() produces output of the
form:
-
immutable(Tuple!(string, int))(a, 123)
immutable(Tuple!(string, int))(b, 234)
immutable(Tuple!(string, int))(c,
https://issues.dlang.org/show_bug.cgi?id=13936
--- Comment #9 from hst...@quickfur.ath.cx ---
The nice thing about assuming non-equivalence relation by default is that it's
the most general: it will produce correct behaviour in all use cases with no
further work required from the user. In my
On 9 January 2015 at 02:53, Ras via Digitalmars-d
digitalmars-d@puremagic.com wrote:
Hello,
I want to write the game engine in C++ and write all the game logic and ai
etc in D. How would i do this?
I do this extensively. You can check out how I do D bindings for my
engine:
On 1/8/2015 8:42 AM, Jonathan M Davis via Digitalmars-d-announce wrote:
On Thursday, January 08, 2015 10:31:37 Iain Buclaw via Digitalmars-d-announce
wrote:
On 6 January 2015 at 23:24, Andrei Alexandrescu via
Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote:
Hello,
Exciting
https://issues.dlang.org/show_bug.cgi?id=13936
--- Comment #12 from hst...@quickfur.ath.cx ---
I don't see what's the big problem with supporting non-equivalence relations,
all it means is that you have to evaluate the predicate only between adjacent
elements rather than between an element and
On 1/8/15 2:40 PM, ponce wrote:
There: http://ovh.to/GAYPaom
- same vector logo but with text and gray background
- a render in 500x150 (I've used Firefox)
- instructions on how to render again
Let me know if you need any change.
Take a look!
http://dconf.org
On 2014-12-20 23:27:18 +, aldanor said:
- static foreach (declaration foreach)
- fixing __traits templates (eg getProtection vein extremely flaky,
allMembers not working etc) -- seeing as ctfe is one of flagship
features of D, it would make sense to actually make it work flawlessly.
If you email me at john DOT carter AT taitradio DOT com we can take this
conversation out of the D forum as it is going way off topic.
On Fri, Jan 9, 2015 at 4:05 PM, Rikki Cattermole via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote:
On 9/01/2015 2:53 p.m., John Carter via
On Thursday, 8 January 2015 at 15:27:57 UTC, Joakim wrote:
the customer not being very price-sensitive. As for estimating
the total cost, the seller also needs to estimate his expected
revenue, ie how much demand there is and at what price. With
this model, you are allowing the seller to get
On Thursday, 8 January 2015 at 13:21:05 UTC, Rikki Cattermole
wrote:
The challenge is on. If you think it’s you we’re looking for,
send us your battle plan along with a certificate of your
super powers at care...@sociomantic.com. Alternatively, a
motivational cover letter and resume in English
On 9/01/2015 2:53 p.m., John Carter via Digitalmars-d-announce wrote:
Whilst we are not currently using D at Tait Electronics
I am certainly trying to make it happen.
So if this job fits you...
On Thu, 08 Jan 2015 21:22:30 +
ponce via Digitalmars-d-announce digitalmars-d-announce@puremagic.com
wrote:
On Thursday, 8 January 2015 at 20:23:11 UTC, ketmar via
Digitalmars-d-announce wrote:
i'm not sure, but maybe it worth renaming struct inheritance
to
extending a struct? or
On Thursday, 8 January 2015 at 23:22:19 UTC, Ola Fosheim Grøstad
wrote:
On Thursday, 8 January 2015 at 15:27:57 UTC, Joakim wrote:
the customer not being very price-sensitive. As for
estimating the total cost, the seller also needs to estimate
his expected revenue, ie how much demand there is
Hi,
Should following coding work?
string lpad(ubyte length, long n)
{
import std.string: rightJustify;
import std.conv: to;
return rightJustify(to!string(n), length, '0');
}
enum lpad14(long n) = lpad(14, n);
void main()
{
lpad14(123);
}
There is
On Thu, 08 Jan 2015 22:27:53 +0100
Joseph Rushton Wakeling via Digitalmars-d digitalmars-d@puremagic.com
wrote:
On 08/01/15 22:02, ketmar via Digitalmars-d wrote:
am i fobidding someone to reply? O_O
but yes, i want to create an impression that timewasters are not
welcome.
Well, it's
On Fri, 09 Jan 2015 05:35:04 +
Ras via Digitalmars-d digitalmars-d@puremagic.com wrote:
On Thursday, 8 January 2015 at 18:03:48 UTC, ketmar via
Digitalmars-d wrote:
On Thu, 08 Jan 2015 17:31:49 +
NVolcz via Digitalmars-d digitalmars-d@puremagic.com wrote:
engines) and why do
Hello.
disclaimer: please, ignore compiler inlining abilities while you are
reading this post. i'll give some reasoning later.
let's imagine that we have such function:
void putPixel (int x, int y, uint color) {
if ((color0xff) == 0) {
// replace pixel
} else if ((color0xff) !=
On Thursday, 8 January 2015 at 18:03:48 UTC, ketmar via
Digitalmars-d wrote:
On Thu, 08 Jan 2015 17:31:49 +
NVolcz via Digitalmars-d digitalmars-d@puremagic.com wrote:
engines) and why do you want to write the engine in C++ and
the logic in D?
i bet he thinking that D is a fancy scripting
On Thu, 8 Jan 2015 21:25:24 + (UTC)
Justin Whear via Digitalmars-d digitalmars-d@puremagic.com wrote:
On Thu, 08 Jan 2015 23:02:26 +0200, ketmar via Digitalmars-d wrote:
but yes, i want to create an impression that timewasters are not
welcome.
Ironically this is exactly why I'm
On Friday, January 09, 2015 00:20:07 Foo via Digitalmars-d-learn wrote:
On Thursday, 8 January 2015 at 23:06:39 UTC, Nordlöw wrote:
On Thursday, 8 January 2015 at 16:11:07 UTC, ketmar via
Digitalmars-d-learn wrote:
how can it? compiler doesn't know what the code is supposed to
do. if
On Thursday, 25 December 2014 at 09:46:19 UTC, Martin Nowak wrote:
On Saturday, 20 December 2014 at 19:22:05 UTC, safety0ff wrote:
On Saturday, 20 December 2014 at 17:40:06 UTC, Martin Nowak
wrote:
Just wondering what the general sentiment is.
Multiple alias this (DIP66 / #6083.)
It's
On 2015-01-08 22:01, Steven Schveighoffer wrote:
core.stdc.config is not technically a standard C header, and it seems
pretty strange. I'm going to leave that one alone unless someone objects.
Shouldn't this then be documented like any other druntime/Phobos module.
There are many cases
On Thursday, 8 January 2015 at 15:15:59 UTC, Robert burner
Schadek wrote:
use canFind like such:
bool a = canFind(strs,s) = 1;
let the compiler figger out what the types of the parameter are.
canFind is work for such as :
bool x = canFind([exe,lib,a,dll],a );
but can't work for
On Fri, 09 Jan 2015 07:10:14 +
FrankLike via Digitalmars-d-learn digitalmars-d-learn@puremagic.com
wrote:
On Thursday, 8 January 2015 at 15:15:59 UTC, Robert burner
Schadek wrote:
use canFind like such:
bool a = canFind(strs,s) = 1;
let the compiler figger out what the types
On Friday, 9 January 2015 at 06:17:53 UTC, Andre wrote:
Hi,
Should following coding work?
string lpad(ubyte length, long n)
{
import std.string: rightJustify;
import std.conv: to;
return rightJustify(to!string(n), length, '0');
}
enum lpad14(long n) = lpad(14,
On Tuesday, 6 January 2015 at 22:32:22 UTC, uri wrote:
On Tuesday, 6 January 2015 at 13:34:59 UTC, Joakim wrote:
Before you make such claims, you should probably think about
them a little bit first. Please tell me one company that does
not buy outside commercial software which they then use
On 2015-01-09 03:38, Andrei Alexandrescu wrote:
Take a look!
http://dconf.org
https://github.com/D-Programming-Language/dconf.org/pull/31
The font is different compared to the PNG in the zip. The one on the
site has a serif font.
--
/Jacob Carlborg
On 2015-01-08 23:40, ponce wrote:
There: http://ovh.to/GAYPaom
- same vector logo but with text and gray background
- a render in 500x150 (I've used Firefox)
- instructions on how to render again
Let me know if you need any change.
Shouldn't the logo look at least somewhat similar to the one
On 1/8/2015 1:01 PM, Steven Schveighoffer wrote:
core.stdc.config is not technically a standard C header, and it seems pretty
strange. I'm going to leave that one alone unless someone objects.
Yeah, the mere existence of that module grates.
On Friday, 9 January 2015 at 07:50:53 UTC, Daniel Kozak wrote:
On Friday, 9 January 2015 at 06:17:53 UTC, Andre wrote:
Hi,
Should following coding work?
string lpad(ubyte length, long n)
{
import std.string: rightJustify;
import std.conv: to;
return
On Friday, 9 January 2015 at 06:18:53 UTC, Jonathan M Davis via
Digitalmars-d-learn wrote:
On Friday, January 09, 2015 00:20:07 Foo via
Digitalmars-d-learn wrote:
On Thursday, 8 January 2015 at 23:06:39 UTC, Nordlöw wrote:
On Thursday, 8 January 2015 at 16:11:07 UTC, ketmar via
On Thu, 08 Jan 2015 22:25:11 +0100
Artur Skawina via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote:
On 01/08/15 21:23, ketmar via Digitalmars-d-announce wrote:
i'm not sure, but maybe it worth renaming struct inheritance to
extending a struct? or even something completely
On Thu, 08 Jan 2015 21:22:30 +
ponce via Digitalmars-d-announce digitalmars-d-announce@puremagic.com
wrote:
On Thursday, 8 January 2015 at 20:23:11 UTC, ketmar via
Digitalmars-d-announce wrote:
i'm not sure, but maybe it worth renaming struct inheritance
to
extending a struct? or
On Thu, 08 Jan 2015 23:06:38 +
Nordlöw via Digitalmars-d-learn digitalmars-d-learn@puremagic.com
wrote:
On Thursday, 8 January 2015 at 16:11:07 UTC, ketmar via
Digitalmars-d-learn wrote:
how can it? compiler doesn't know what the code is supposed to
do. if
compilers will know such
On Tuesday, 6 January 2015 at 22:37:40 UTC, anonymous wrote:
On Tuesday, 6 January 2015 at 19:46:51 UTC, Joakim wrote:
On Tuesday, 6 January 2015 at 19:06:27 UTC, anonymous wrote:
[...]
I don't know of any commercial support model where you only
pay for the fixes you need at any given moment
On 2015-01-08 22:23, Adam D. Ruppe wrote:
On Thursday, 8 January 2015 at 21:14:43 UTC, Andrei Alexandrescu wrote:
I don't think there is a way.
version(Ddoc) dummy prototypes maybe. But that gets painful.
Tango is using this method quite heavily in some modules. It also gives
the
On 2015-01-08 22:25, Andrei Alexandrescu wrote:
Yah, as I said it's a project.
Can we at least generate the documentation on multiple platforms, just
to make sure we got all modules.
--
/Jacob Carlborg
On 1/8/2015 7:41 AM, Andrei Alexandrescu wrote:
If we get real cocky we might insert for each symbol a LUCKY link googling for
the
header name and symbol name.
Livin' on the edge!
https://issues.dlang.org/show_bug.cgi?id=13901
hst...@quickfur.ath.cx changed:
What|Removed |Added
CC||hst...@quickfur.ath.cx
--
On Thu, Jan 08, 2015 at 01:14:43PM -0800, Andrei Alexandrescu via Digitalmars-d
wrote:
On 1/8/15 1:01 PM, Steven Schveighoffer wrote:
There are many cases where the members are dependent on the OS. The
one that strikes me as the most OS dependent (so far) is errno.d. I'm
guessing that only
On Thursday, 8 January 2015 at 10:21:26 UTC, ponce wrote:
I've started a list of curated D tips and tricks here:
http://p0nce.github.io/d-idioms/
Anything that you wished you learned earlier at one point in
the D world is welcome to be added or suggested.
I think the focus should be on
On 08/01/15 22:11, market via Digitalmars-d wrote:
just gtfo ketmar... just do it.
Sorry, no. Not acceptable either.
If you can't suffer someone's posts, please use your
newsreader's filtering features to not see their posts. I know
it's not perfect, but by and large it does improve things.
Isn't it better for the community to politely reign in those who
misbehave? Elitism is terribly damaging, we want D to
On 07/01/15 16:02, Laeeth Isharc via Digitalmars-d-learn wrote:
class node
{
string name;
node ref;
}
Small recommendation (apart from the reserved word issue which you fixed): it's
generally considered good D style to give structs and classes names that start
with capital letters,
On 1/8/15 4:32 PM, Andrei Alexandrescu wrote:
The dpl-generated docs are now the default on dlang.org.
I don't know what dpl-generated means. I'm not seeing any differences.
-Steve
On 1/8/15 1:46 PM, Steven Schveighoffer wrote:
On 1/8/15 4:32 PM, Andrei Alexandrescu wrote:
The dpl-generated docs are now the default on dlang.org.
I don't know what dpl-generated means. I'm not seeing any differences.
Oh, sorry. They aren't the default yet, but they'll be soon :o). --
Is there any chance that in the future your company hire D
developers in Warsaw office ?
On 2015-01-08 14:01 Joseph Rushton Wakeling wrote:
Just to mention that this call is particularly focused on getting
new people for my team at Sociomantic.
There is one important piece of information missing:
Are you still using only D1?
If not, how is your code base currently split into D1
On Wednesday, 7 January 2015 at 23:16:19 UTC, Andrei Alexandrescu
wrote:
On 1/7/15 3:08 PM, ponce wrote:
On Wednesday, 7 January 2015 at 22:36:28 UTC, Andrei
Alexandrescu wrote:
On 1/7/15 12:26 PM, ponce wrote:
On Tuesday, 6 January 2015 at 19:27:23 UTC, Andrei
Alexandrescu wrote:
The DConf
Now I wonder how will runtime template instantiation work.
it is not really difficult, but it a bit of work to make it run
for example you when you use ListT you are going to use a
specialization of the template such as Listint which is not
template anymore.
On Thursday, 8 January 2015 at 22:40:41 UTC, ponce wrote:
There: http://ovh.to/GAYPaom
- same vector logo but with text and gray background
- a render in 500x150 (I've used Firefox)
- instructions on how to render again
Let me know if you need any change.
I think that is a pretty sweet logo.
On Thursday, 8 January 2015 at 22:40:41 UTC, ponce wrote:
There: http://ovh.to/GAYPaom
- same vector logo but with text and gray background
- a render in 500x150 (I've used Firefox)
- instructions on how to render again
Let me know if you need any change.
The logo with new the perspective
On Thursday, 8 January 2015 at 16:11:07 UTC, ketmar via
Digitalmars-d-learn wrote:
how can it? compiler doesn't know what the code is supposed to
do. if
compilers will know such things someday, we can stop writing
programs
altogether, as compilers will be able to write any program for
us. ;-)
Your Mission
Provide server administration to our data centers
Provisioning new servers, imaging, monitoring, and other daily
routines
Daily monitoring and maintenance of servers
Perform backup, file replications, and script management for
servers
Test and apply new software and patches
There are some tools in the wild which allows to compile C#(MSIL)
into native code (using LLVM) thus being cross-compiled as
opposed to C# native compiler which Windows OS oriented.
here some links:
https://csnative.codeplex.com/
and
https://github.com/xen2/SharpLang
On Thursday, 8 January 2015 at 10:21:26 UTC, ponce wrote:
I've started a list of curated D tips and tricks here:
http://p0nce.github.io/d-idioms/
Anything that you wished you learned earlier at one point in
the D world is welcome to be added or suggested.
I think the focus should be on
On Wednesday, 7 January 2015 at 23:18:03 UTC, Andrei Alexandrescu
wrote:
We just deployed Nick's work at
https://github.com/D-Programming-Language/dlang.org/pull/726,
which enables jump-to navigation for structures. For example,
from http://dlang.org/phobos/std_array.html#.Appender one can
this conversation is so funny: well what's wrong with this .
It's a keyword...
Aa Ha ha ha ha , rol.
Seriously, is it so complicated to use a D editor ? I mean with
syntax color...
Man afraid to ask stoopid questions stays stoopid. And compiler
error message far from informative.
Not
On Thu, 08 Jan 2015 11:24:34 +
Szymon Gatner via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote:
On Thursday, 8 January 2015 at 10:21:26 UTC, ponce wrote:
I've started a list of curated D tips and tricks here:
http://p0nce.github.io/d-idioms/
Anything that you
On Thursday, 8 January 2015 at 10:56:00 UTC, bearophile wrote:
ponce:
I'm not familiar with the terse, range-heavy, UFCS style that
has emerged from Phobos
In Rosettacode I have inserted tons of examples of that coding
style.
An example, given a tuple of arbitrary length, with items all
On Thursday, 8 January 2015 at 11:31:14 UTC, ketmar via
Digitalmars-d-announce wrote:
On Thu, 08 Jan 2015 11:24:34 +
Szymon Gatner via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote:
On Thursday, 8 January 2015 at 10:21:26 UTC, ponce wrote:
I've started a list of
On Thursday, 8 January 2015 at 11:41:43 UTC, Szymon Gatner wrote:
Question:
Where did this syntax came from? It is not documented for
'import' keyword.(first time I see that D has built-in
resource compiler):
ubyte[] sdlBytes = cast(ubyte[]) import(SDL2.dll);
it is documented:
On Wednesday, 2 April 2014 at 20:23:58 UTC, Paulo Pinto wrote:
So it finally happened, C# gets an AOT compiler in addition to
NGEN/JIT
as part of standard Visual Studio tools.
On Wednesday, 7 January 2015 at 20:10:35 UTC, Artem Tarasov wrote:
I'm trying to compile my software with the latest compiler, and
it spits out the following error:
$ make
...
rdmd --force --build-only -IBioD -g -L-Lhtslib -L-l:libhts.a
-L-l:libphobos2.a -ofbuild/sambamba.o main.d
...
On Thursday, 8 January 2015 at 11:53:37 UTC, ponce wrote:
On Wednesday, 2 April 2014 at 20:23:58 UTC, Paulo Pinto wrote:
So it finally happened, C# gets an AOT compiler in addition to
NGEN/JIT
as part of standard Visual Studio tools.
On Thursday, 8 January 2015 at 10:11:38 UTC, Danny wrote:
Hi,
sigh, so I have to annoy you with the truth...
On Tuesday, 6 January 2015 at 17:15:28 UTC, FrankLike wrote:
How to prevent sensitive information is displayed when the
extension 'exe' is modified to 'txt' on windows?
By not
On 1/7/15 1:03 AM, Andrei Alexandrescu wrote:
On 1/6/15 6:17 PM, Steven Schveighoffer wrote:
On 1/6/15 5:43 PM, Andrei Alexandrescu wrote:
Let's crowdsource the review. Please check the entries linked from here:
http://dlang.org/library/index.html.
std.algorithm has many of the descriptions
On 1/6/15 8:16 PM, Andrei Alexandrescu wrote:
On 1/6/15 3:44 PM, weaselcat wrote:
On Tuesday, 6 January 2015 at 22:43:45 UTC, Andrei Alexandrescu wrote:
Let's crowdsource the review. Please check the entries linked from
here: http://dlang.org/library/index.html.
Andrei
Is it intentional for
On Thursday, 8 January 2015 at 11:29:30 UTC, Laeeth Isharc wrote:
this conversation is so funny: well what's wrong with this .
It's a keyword...
Aa Ha ha ha ha , rol.
Seriously, is it so complicated to use a D editor ? I mean
with syntax color...
Man afraid to ask stoopid questions stays
On Thursday, 8 January 2015 at 11:43:30 UTC, ponce wrote:
On Thursday, 8 January 2015 at 11:41:43 UTC, Szymon Gatner
wrote:
Question:
Where did this syntax came from? It is not documented for
'import' keyword.(first time I see that D has built-in
resource compiler):
ubyte[] sdlBytes =
On Thursday, 8 January 2015 at 10:37:57 UTC, Joakim wrote:
supply/demand curve for his product. In this variable pricing
model, the customer also takes some of that risk, ie you'll pay
more if enough other people don't also want the product.
Businesses don't like risk. They need to estimate
On 2015-01-08 13:18, Steven Schveighoffer wrote:
I like this idea.
One thing that may be misleading about this -- our headers don't include
*everything* from C-land.
What would be a good generic blurb? strawman:
core.stdc.ctype:
This contains bindings to selected types and functions from the
On Thursday, 8 January 2015 at 12:18:37 UTC, Steven Schveighoffer
wrote:
On 1/6/15 8:16 PM, Andrei Alexandrescu wrote:
On 1/6/15 3:44 PM, weaselcat wrote:
On Tuesday, 6 January 2015 at 22:43:45 UTC, Andrei
Alexandrescu wrote:
Let's crowdsource the review. Please check the entries
linked from
On Thu, 08 Jan 2015 11:41:42 +
Szymon Gatner via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote:
On Thursday, 8 January 2015 at 11:31:14 UTC, ketmar via
Digitalmars-d-announce wrote:
On Thu, 08 Jan 2015 11:24:34 +
Szymon Gatner via Digitalmars-d-announce
On 1/7/15 10:55 AM, Vladimir Panteleev wrote:
On Wednesday, 7 January 2015 at 15:42:24 UTC, Andrei Alexandrescu wrote:
* I still have reservations about using Disqus.
I did keep that in mind. The long and short of it it it's impossible
to make a change that everybody likes. We must move
On 1/7/15 2:09 AM, Andrei Alexandrescu wrote:
http://dlang.org/library/std/digest/digest/digest.html
Ugh. -- Andrei
I remember this from the movie being std.digest when digest goes
through the tunnel and becomes himself.
-Steve
On Wednesday, 7 January 2015 at 07:09:01 UTC, Andrei Alexandrescu
wrote:
http://dlang.org/library/std/digest/digest/digest.html
Ugh. -- Andrei
This thread needs more digest:
http://dlang.org/library/std/digest/digest/digest.digest.html
On Wednesday, 7 January 2015 at 17:08:55 UTC, H. S. Teoh via
Digitalmars-d-learn wrote:
Try this:
http://dlang.org/phobos-prerelease/std_algorithm#.findAmong
T
You mean ? The result is not that I want to get!
---test.d--
import std.stdio,
Hello all,
Just to mention that this call is particularly focused on getting
new people for my team at Sociomantic. It may be of especial
interest to anyone who wants to work on machine learning problems
(we have lots of fun stuff in the pipeline), but whatever your
background, this is a great
It is probably not obvious why our HR department posted this job
ad to this newsgroup, particularly to anyone who doesn't know
Sociomantic's relationship to the D community.
Most of the apps running on our servers, are written in D. The
role doesn't involve D programming, and the job ad
On Wednesday, 7 January 2015 at 17:08:55 UTC, H. S. Teoh via
Digitalmars-d-learn wrote:
Try this:
http://dlang.org/phobos-prerelease/std_algorithm#.findAmong
T
Thank you,it can work. but it's not what I want.
---test.d--
import std.stdio,
what's wrong with the code above ? i get an error no
identifier for declarator node. (I have not used classes
much, since structs often seem to be enough for what I need
to do mostly).
ref is a reserved keyword.
--
Paulo
this conversation is so funny: well what's wrong with this .
I just experimented with a battery of macros (json.ddoc) for generating
json via ddoc. Results for std.algorithm are in
http://paste.ofcode.org/DFnxChvmRGJiXYpYYk2XWr.
There are a couple of things that make the generated json invalid:
1. I couldn't get escaping to work. My ESCAPES is:
On 8/01/2015 9:32 p.m., Andrei Alexandrescu wrote:
I just experimented with a battery of macros (json.ddoc) for generating
json via ddoc. Results for std.algorithm are in
http://paste.ofcode.org/DFnxChvmRGJiXYpYYk2XWr.
There are a couple of things that make the generated json invalid:
1. I
On Thursday, 8 January 2015 at 01:22:54 UTC, Rikki Cattermole
wrote:
Have you got opEqual's defined?
Its wanting that and toHash I think.
Yes, I have opEquals defined. I've just tried to add dummy toHash
(returning a constant), but it doesn't help :(
OK, it seems I'll have to stick with
On Thursday, 8 January 2015 at 02:56:36 UTC, Manu via
Digitalmars-d wrote:
L*ab, L*CHab, HSL, HWB
C#'s and Java's colour struct provides what they call HSB which
is related to HSV. In computer vision a variant is HSI.
http://en.wikipedia.org/wiki/HSL_and_HSV
Java has a separate colour
On Wednesday, 7 January 2015 at 23:31:30 UTC, H. S. Teoh via
Digitalmars-d wrote:
On Wed, Jan 07, 2015 at 10:03:00PM +, Peter Alexander via
Digitalmars-d wrote:
https://issues.dlang.org/show_bug.cgi?id=13806
For the lazy: BitArray has an init() method, which hides the
property
On Wednesday, 7 January 2015 at 23:16:19 UTC, Andrei Alexandrescu
wrote:
On 1/7/15 3:08 PM, ponce wrote:
On Wednesday, 7 January 2015 at 22:36:28 UTC, Andrei
Alexandrescu wrote:
On 1/7/15 12:26 PM, ponce wrote:
On Tuesday, 6 January 2015 at 19:27:23 UTC, Andrei
Alexandrescu wrote:
The DConf
On 6 January 2015 at 23:24, Andrei Alexandrescu via
Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote:
Hello,
Exciting times! DConf 2015 will take place May 27-29 2015 at Utah Valley
University in Orem, UT.
Awesome, that runs over my birthday (28th). My friends and family
On Thursday, 8 January 2015 at 10:30:38 UTC, uri wrote:
This is great, thanks.
Something I personally would find useful is a comparison
between the C++ way and idiomatic D with Phobos. I finding
coming from C/C++ to D very easy but I'm always wondering if
I'm doing things the D way.
On 1/8/2015 12:32 AM, Andrei Alexandrescu wrote:
I haven't yet figured the circumstances.
We can't just let anybody know those things.
I've started a list of curated D tips and tricks here:
http://p0nce.github.io/d-idioms/
Anything that you wished you learned earlier at one point in the
D world is welcome to be added or suggested.
I think the focus should be on stuff that could make you more
productive, or is just funky
1 - 100 of 174 matches
Mail list logo