Re: D idioms list

2015-01-08 Thread Foo via Digitalmars-d-announce
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;

Re: DConf 2015 Call for Submissions is now open

2015-01-08 Thread Walter Bright via Digitalmars-d-announce
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

Re: We're looking for a Software Developer! (D language)

2015-01-08 Thread John Carter via Digitalmars-d-announce
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

Re: We're looking for a Software Developer! (D language)

2015-01-08 Thread Leandro Lucarella via Digitalmars-d-announce
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

Re: We're looking for a Software Developer! (D language)

2015-01-08 Thread Rikki Cattermole via Digitalmars-d-announce
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...

Re: D idioms list

2015-01-08 Thread ketmar via Digitalmars-d-announce
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

Re: D idioms list

2015-01-08 Thread ketmar via Digitalmars-d-announce
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

Re: D idioms list

2015-01-08 Thread ketmar via Digitalmars-d-announce
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

Re: D idioms list

2015-01-08 Thread weaselcat via Digitalmars-d-announce
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

Re: We're looking for a Software Developer! (D language)

2015-01-08 Thread Lukasz Wrzosek via Digitalmars-d-announce
Is there any chance that in the future your company hire D developers in Warsaw office ?

Re: Sociomantic: We're looking for a Software Developer! (D language)

2015-01-08 Thread FG via Digitalmars-d-announce
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

We're looking for a Linuy Systems Admin!

2015-01-08 Thread Johanna Burgos via Digitalmars-d-announce
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

Re: D idioms list

2015-01-08 Thread Szymon Gatner via Digitalmars-d-announce
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

Re: D idioms list

2015-01-08 Thread ketmar via Digitalmars-d-announce
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

Re: D idioms list

2015-01-08 Thread ponce via Digitalmars-d-announce
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

Re: D idioms list

2015-01-08 Thread Szymon Gatner via Digitalmars-d-announce
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

Re: D idioms list

2015-01-08 Thread ponce via Digitalmars-d-announce
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:

Re: D idioms list

2015-01-08 Thread Szymon Gatner via Digitalmars-d-announce
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 =

Re: D idioms list

2015-01-08 Thread ketmar via Digitalmars-d-announce
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

Sociomantic: We're looking for a Software Developer! (D language)

2015-01-08 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
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

Sociomantic: We're looking for a Linux Systems Admin!

2015-01-08 Thread Don via Digitalmars-d-announce
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

Re: DConf 2015 Call for Submissions is now open

2015-01-08 Thread Iain Buclaw via Digitalmars-d-announce
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

Re: D idioms list

2015-01-08 Thread ponce via Digitalmars-d-announce
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.

D idioms list

2015-01-08 Thread ponce via Digitalmars-d-announce
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

Re: D idioms list

2015-01-08 Thread uri via Digitalmars-d-announce
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

Re: D idioms list

2015-01-08 Thread uri via Digitalmars-d-announce
On Thursday, 8 January 2015 at 10:35:07 UTC, ponce wrote: 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

Re: D idioms list

2015-01-08 Thread bearophile via Digitalmars-d-announce
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 of the same type, how do you compute the total of its items?

Re: We're looking for a Software Developer! (D language)

2015-01-08 Thread Rikki Cattermole via Digitalmars-d-announce
On 9/01/2015 12:10 a.m., Johanna Burgos wrote: Your Mission Support our team in the development of our event-based infrastructure Development of high-performance applications and services Writing applications to work with our distributed DHT database system You will be coding in the D-language

Re: We're looking for a Software Developer! (D language)

2015-01-08 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Thursday, 8 January 2015 at 13:21:05 UTC, Rikki Cattermole wrote: Unfortunately I half wish you guys had a New Zealand office. As I am in need of a job. Sure we can't tempt you to consider crossing the oceans? Berlin is a fun city and you will find many fellow New Zealanders to help you

Re: D idioms list

2015-01-08 Thread Robert burner Schadek via Digitalmars-d-announce
that a really nice idea, thanks. substring position, std.string.(last)indexOf(|Any|Neither) may be better btw. this should move to the dlang wiki. Any takers?

Re: We're looking for a Linuy Systems Admin!

2015-01-08 Thread Iain Buclaw via Digitalmars-d-announce
On 8 January 2015 at 11:08, Johanna Burgos via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Your Mission Provide server administration to our data centers Provisioning new servers, imaging, monitoring, and other daily routines Daily monitoring and maintenance of servers

Re: D idioms list

2015-01-08 Thread Foo via Digitalmars-d-announce
On Thursday, 8 January 2015 at 20:00:11 UTC, Foo 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 wished you learned earlier at one point in the D world is welcome to be

Re: D idioms list

2015-01-08 Thread Artur Skawina via Digitalmars-d-announce
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 different. what it does is actually extending/augmenting the struct, but not OO-inheritance, as one cannot pass augmented