Budget Kitchen Sale Abbots Langley

2015-01-09 Thread bloboks via Digitalmars-d
Budget Kitchen Sale Abbots Langley. Thirty Ex Display Kitchens To Clear. W w w e x d i s p l a y k i t c h e n s 1 c o u k £ 595 Each with appliances.Tel 0 1 6 1 6 6 9 4 7 8 5

Re: Revert attributes to their defaults with default keywords

2015-01-09 Thread ketmar via Digitalmars-d
On Sat, 10 Jan 2015 02:47:00 + Meta via Digitalmars-d digitalmars-d@puremagic.com wrote: On Friday, 9 January 2015 at 14:26:26 UTC, aldanor wrote: It could work both ways at the same time. Maybe even something like default(pred) final(pred) nothrow -- if pred is compile-time-true,

Re: For those ready to take the challenge

2015-01-09 Thread Vladimir Panteleev via Digitalmars-d-learn
On Saturday, 10 January 2015 at 02:10:04 UTC, Jesse Phillips wrote: On Friday, 9 January 2015 at 13:50:29 UTC, eles wrote: https://codegolf.stackexchange.com/questions/44278/debunking-stroustrups-debunking-of-the-myth-c-is-for-large-complicated-pro Link to answer in D:

Re: Why doesn't mktspec() use clock_gettime?

2015-01-09 Thread weaselcat via Digitalmars-d
On Saturday, 10 January 2015 at 03:17:50 UTC, Andrei Alexandrescu wrote: On 1/9/15 6:13 PM, weaselcat wrote: On Saturday, 10 January 2015 at 02:03:17 UTC, Andrei Alexandrescu wrote: cc Sean Kelly https://github.com/D-Programming-Language/druntime/blob/master/src/core/sync/config.d#L28 Looks

[Issue 13964] InputRange!T doesn't have save method

2015-01-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13964 --- Comment #3 from Luís Marques l...@luismarques.eu --- (In reply to Ketmar Dark from comment #1) input ranges are not required to have `.save`. this is forward ranges which are: http://dlang.org/phobos/std_range.html#isForwardRange Right. I do

Re: Utah Valley University is a sponsor of DConf 2015

2015-01-09 Thread Ali Çehreli via Digitalmars-d-announce
On 01/09/2015 03:33 PM, MattCoder wrote: a good excuse to take my visa!). :D I encourage everyone to apply for visa as soon as possible. US visa process can be frustratingly delayed depending on many unknown factors. Ali

Re: Why doesn't mktspec() use clock_gettime?

2015-01-09 Thread ketmar via Digitalmars-d
On Fri, 09 Jan 2015 19:17:49 -0800 Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 1/9/15 6:13 PM, weaselcat wrote: On Saturday, 10 January 2015 at 02:03:17 UTC, Andrei Alexandrescu wrote: cc Sean Kelly

Re: Utah Valley University is a sponsor of DConf 2015

2015-01-09 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/9/15 3:33 PM, MattCoder wrote: On Friday, 9 January 2015 at 21:10:11 UTC, Andrei Alexandrescu wrote: Please spread the news: https://twitter.com/D_Programming/status/553642281941860352 ... Many thanks to UVU and especially its Computer Science Department Chair, Chuck Allison, who was

Is it possible to collect object usage information during compilation?

2015-01-09 Thread DaveG via Digitalmars-d
Let me preface this by saying I only have a general conceptual understanding of compilers and know nothing about actual implementation. One common problem with Object-Relational Mapping (ORM) is what data to load and when. There is basically 2 options: 1. Load everything: This certainly

Adding UVU as a sponsor

2015-01-09 Thread Andrei Alexandrescu via Digitalmars-d
https://github.com/D-Programming-Language/dconf.org/pull/35 Andrei

Wrapping a C library with its own GC + classes vs refcounted structs

2015-01-09 Thread aldanor via Digitalmars-d-learn
Hi all, I was wondering what's the most D-idiomatic way of dealing with a C library (or rather writing wrappers for a C library) that does its own GC via reference counting. The objects are identified and passed around by integer ids only; most functions like find me an object foo in object

Re: Why doesn't mktspec() use clock_gettime?

2015-01-09 Thread weaselcat via Digitalmars-d
On Saturday, 10 January 2015 at 02:03:17 UTC, Andrei Alexandrescu wrote: cc Sean Kelly https://github.com/D-Programming-Language/druntime/blob/master/src/core/sync/config.d#L28 Looks like that use has been disable with static if (false). What was the reason? A coworker spent a few hours

Re: Why doesn't mktspec() use clock_gettime?

2015-01-09 Thread Andrei Alexandrescu via Digitalmars-d
On 1/9/15 6:13 PM, weaselcat wrote: On Saturday, 10 January 2015 at 02:03:17 UTC, Andrei Alexandrescu wrote: cc Sean Kelly https://github.com/D-Programming-Language/druntime/blob/master/src/core/sync/config.d#L28 Looks like that use has been disable with static if (false). What was the

Re: Ready to make page-per-item ddocs the default?

2015-01-09 Thread Martin Nowak via Digitalmars-d
On Wednesday, 7 January 2015 at 08:46:41 UTC, Vladimir Panteleev wrote: * I still have reservations about using Disqus. I'm quite happy with the self hosted isso comments on my blog. https://code.dawg.eu/reducing-vibed-turnaround-time-part-2-less-compiling.html#isso-thread

[Issue 6574] Erroneous recursive call in template instantiation

2015-01-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6574 --- Comment #7 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dlang.org https://github.com/D-Programming-Language/dlang.org/commit/cad8d0e8b8201f3ae303241fed62afbb086b7be7 fix Issue 6574 -

Re: For those ready to take the challenge

2015-01-09 Thread Jesse Phillips via Digitalmars-d-learn
On Friday, 9 January 2015 at 13:50:29 UTC, eles wrote: https://codegolf.stackexchange.com/questions/44278/debunking-stroustrups-debunking-of-the-myth-c-is-for-large-complicated-pro Link to answer in D: http://codegolf.stackexchange.com/a/44417/13362

Re: Revert attributes to their defaults with default keywords

2015-01-09 Thread Meta via Digitalmars-d
On Friday, 9 January 2015 at 14:26:26 UTC, aldanor wrote: It could work both ways at the same time. Maybe even something like default(pred) final(pred) nothrow -- if pred is compile-time-true, reset all attributes and then add final/nothrow; if it's compile-time-false, disable final and

Why doesn't mktspec() use clock_gettime?

2015-01-09 Thread Andrei Alexandrescu via Digitalmars-d
cc Sean Kelly https://github.com/D-Programming-Language/druntime/blob/master/src/core/sync/config.d#L28 Looks like that use has been disable with static if (false). What was the reason? A coworker spent a few hours debugging a matter that pointed to this issue. He removed the false and

Re: For those ready to take the challenge

2015-01-09 Thread Andrei Alexandrescu via Digitalmars-d-learn
On 1/9/15 6:10 PM, Jesse Phillips wrote: On Friday, 9 January 2015 at 13:50:29 UTC, eles wrote: https://codegolf.stackexchange.com/questions/44278/debunking-stroustrups-debunking-of-the-myth-c-is-for-large-complicated-pro Link to answer in D: http://codegolf.stackexchange.com/a/44417/13362

Re: Utah Valley University is a sponsor of DConf 2015

2015-01-09 Thread MattCoder via Digitalmars-d-announce
On Friday, 9 January 2015 at 21:10:11 UTC, Andrei Alexandrescu wrote: Please spread the news: https://twitter.com/D_Programming/status/553642281941860352 ... Many thanks to UVU and especially its Computer Science Department Chair, Chuck Allison, who was instrumental in making this happen.

Re: We need a DConf 2015 logo

2015-01-09 Thread Steven Schveighoffer via Digitalmars-d
On 1/9/15 11:08 AM, Adam D. Ruppe wrote: On Friday, 9 January 2015 at 16:05:12 UTC, Andrei Alexandrescu wrote: Folks, I have no tools and no know-how about images. Could someone please upload a png to imgur.com. Thanks. -- Andrei I'm not sure if they wanted to do other changes, but I just

Re: Why do the same work about 'IndexOfAny' and 'indexOf' function?

2015-01-09 Thread ketmar via Digitalmars-d-learn
On Fri, 09 Jan 2015 15:36:21 + FrankLike via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: On Friday, 9 January 2015 at 14:03:21 UTC, ketmar via Digitalmars-d-learn wrote: On Fri, 09 Jan 2015 13:54:00 + Robert burner Schadek via Digitalmars-d-learn

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

2015-01-09 Thread Leandro Lucarella via Digitalmars-d-announce
Iain Buclaw via Digitalmars-d-announce, el 9 de January a las 11:30 me escribiste: On 9 January 2015 at 11:29, Iain Buclaw ibuc...@gdcproject.org wrote: On 9 January 2015 at 11:22, Joseph Rushton Wakeling via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On Thursday,

Re: We need a DConf 2015 logo

2015-01-09 Thread Andrei Alexandrescu via Digitalmars-d
On 1/9/15 8:15 AM, Steven Schveighoffer wrote: On 1/9/15 11:08 AM, Adam D. Ruppe wrote: On Friday, 9 January 2015 at 16:05:12 UTC, Andrei Alexandrescu wrote: Folks, I have no tools and no know-how about images. Could someone please upload a png to imgur.com. Thanks. -- Andrei I'm not sure if

Re: Ready to make page-per-item ddocs the default?

2015-01-09 Thread Steven Schveighoffer via Digitalmars-d
On 1/8/15 4:01 PM, Steven Schveighoffer wrote: On 1/8/15 10:41 AM, Andrei Alexandrescu wrote: On 1/8/15 4:18 AM, Steven Schveighoffer wrote: Thoughts? I can put together a pull for core.stdc.* if it makes sense. Blurb LGTM, please make it happen. Also let's experiment with the ///'s.

Re: Why do the same work about 'IndexOfAny' and 'indexOf' function?

2015-01-09 Thread FrankLike via Digitalmars-d-learn
On Friday, 9 January 2015 at 15:57:21 UTC, ketmar via Digitalmars-d-learn wrote: On Fri, 09 Jan 2015 15:36:21 + FrankLike via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: On Friday, 9 January 2015 at 14:03:21 UTC, ketmar via Digitalmars-d-learn wrote: On Fri, 09 Jan

Re: NaCl/Emscripten

2015-01-09 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 9 January 2015 at 15:27:08 UTC, Mengu wrote: Don't know if there's any interest but Adam D. Ruppe has hacked DMD to output JavaScript. You should be able to find it somewhere on the newsgroup. guess you're talking about dtojs: https://github.com/adamdruppe/dtojs. I haven't

Re: An idea for commercial support for D

2015-01-09 Thread Joakim via Digitalmars-d
On Friday, 9 January 2015 at 14:43:02 UTC, Dicebot wrote: On Friday, 9 January 2015 at 12:21:35 UTC, Joakim wrote: To be honest if something like this would ever happen my first move would be to reach company leadership and discuss possible full forking of D compiler as a simple matter of

Re: Why do the same work about 'IndexOfAny' and 'indexOf' function?

2015-01-09 Thread FrankLike via Digitalmars-d-learn
On Friday, 9 January 2015 at 14:03:21 UTC, ketmar via Digitalmars-d-learn wrote: On Fri, 09 Jan 2015 13:54:00 + Robert burner Schadek via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: On Friday, 9 January 2015 at 13:25:17 UTC, ketmar via Digitalmars-d-learn wrote: if you

Re: @api: One attribute to rule them All

2015-01-09 Thread Zach the Mystic via Digitalmars-d
On Friday, 9 January 2015 at 11:40:28 UTC, Dicebot wrote: I think that push for more inference / WPO is an important goal for D. However I had somewhat more radical and generic changes in mind, ones that don't add new keywords or semantics but rather strictly define what existing ones mean.

Re: We need a DConf 2015 logo

2015-01-09 Thread Andrei Alexandrescu via Digitalmars-d
On 1/9/15 8:08 AM, Adam D. Ruppe wrote: On Friday, 9 January 2015 at 16:05:12 UTC, Andrei Alexandrescu wrote: Folks, I have no tools and no know-how about images. Could someone please upload a png to imgur.com. Thanks. -- Andrei I'm not sure if they wanted to do other changes, but I just

[Issue 13958] New: RangeError with impure map

2015-01-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13958 Issue ID: 13958 Summary: RangeError with impure map Product: D Version: D2 Hardware: x86_64 OS: Mac OS X Status: NEW Severity: critical Priority: P1

Re: Game development

2015-01-09 Thread Ras via Digitalmars-d
On Friday, 9 January 2015 at 06:26:19 UTC, ketmar via Digitalmars-d wrote: 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

Re: Parameterized enum does not work

2015-01-09 Thread Daniel Kozak via Digitalmars-d-learn
On Friday, 9 January 2015 at 07:52:50 UTC, Daniel Kozak wrote: 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;

Re: We need a DConf 2015 logo

2015-01-09 Thread Gary Willoughby via Digitalmars-d
On Friday, 9 January 2015 at 08:24:40 UTC, Colin wrote: It shouldn't just be similar, it should be the same one I feel. Me too. I don't think a complete re-brand of D is needed for the conference? Changing the logo will mean that all sites containing this logo i.e. main site, wiki's,

Re: An idea for commercial support for D

2015-01-09 Thread via Digitalmars-d
On Friday, 9 January 2015 at 04:33:53 UTC, Joakim wrote: I have little idea why you're going into all these detailed business cases that have nothing to do with the two separate concepts I've laid out, but what the hell, I'll bite. Start listing: 1. What alternatives the seller has. 2. What

Re: Why do the same work about 'IndexOfAny' and 'indexOf' function?

2015-01-09 Thread FrankLike via Digitalmars-d-learn
iday, 9 January 2015 at 07:41:07 UTC, ketmar via Digitalmars-d-learn wrote: 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:

Re: NaCl/Emscripten

2015-01-09 Thread Manu via Digitalmars-d
On 9 January 2015 at 19:51, via Digitalmars-d digitalmars-d@puremagic.com wrote: On Friday, 9 January 2015 at 09:28:22 UTC, Manu via Digitalmars-d wrote: I was gonna start hacking around to see what the limitations are with Emscripten on D code tonight. Has anyone done any serious

Re: We need a DConf 2015 logo

2015-01-09 Thread ponce via Digitalmars-d
On Thursday, 8 January 2015 at 23:05:22 UTC, Piotrek wrote: The logo with new the perspective (the text) looks nice. I like it. May I ask if there was any inspiration? E.g I see a reference to the Interstallar movie as it was the best movie of 2014 for me ;)

Re: D idioms list

2015-01-09 Thread ponce via Digitalmars-d-announce
On Friday, 9 January 2015 at 05:58:09 UTC, ketmar via Digitalmars-d-announce wrote: p.p.s. maybe it's worth adding Artur's code sample[1] too, to show that extended structure can be passed to functions which requires original one? it's not obvious, at least for me. ;-) [1]

Re: Fastest Way of Accessing Entries in an AA

2015-01-09 Thread Jonathan M Davis via Digitalmars-d-learn
On Friday, January 09, 2015 07:51:27 Foo via Digitalmars-d-learn wrote: 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: You know, that you kan reuse the result of the in

Re: We need a DConf 2015 logo

2015-01-09 Thread ponce via Digitalmars-d
On Friday, 9 January 2015 at 07:25:22 UTC, Jacob Carlborg wrote: 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

Re: Why do the same work about 'IndexOfAny' and 'indexOf' function?

2015-01-09 Thread ketmar via Digitalmars-d-learn
On Fri, 09 Jan 2015 09:36:01 + FrankLike via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: Sorry,it's only a example .Thank you work hard,but it's not what I want. 'indexOfAny ' function should do this work. ”he is at home ,[home,office,”sea,plane], in

Re: We need a DConf 2015 logo

2015-01-09 Thread Colin via Digitalmars-d
On Friday, 9 January 2015 at 07:25:54 UTC, Jacob Carlborg wrote: 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

NaCl/Emscripten

2015-01-09 Thread Manu via Digitalmars-d
I'm looking at another potential opportunity to get D into the office, but the target's for this particular project are NaCL and/or Emscripten. I was gonna start hacking around to see what the limitations are with Emscripten on D code tonight. Has anyone done any serious investigation here? NaCl

Re: Parameterized enum does not work

2015-01-09 Thread Andre via Digitalmars-d-learn
Thanks a lot. Kind regards André On Friday, 9 January 2015 at 07:59:51 UTC, Daniel Kozak wrote: On Friday, 9 January 2015 at 07:52:50 UTC, Daniel Kozak wrote: 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

Re: NaCl/Emscripten

2015-01-09 Thread via Digitalmars-d
On Friday, 9 January 2015 at 09:28:22 UTC, Manu via Digitalmars-d wrote: I was gonna start hacking around to see what the limitations are with Emscripten on D code tonight. Has anyone done any serious investigation here? NaCl is a more useful target, but I think that will rely on a special

Re: We need a DConf 2015 logo

2015-01-09 Thread ponce via Digitalmars-d
On Friday, 9 January 2015 at 08:28:55 UTC, Gary Willoughby wrote: On Friday, 9 January 2015 at 08:24:40 UTC, Colin wrote: It shouldn't just be similar, it should be the same one I feel. Me too. I don't think a complete re-brand of D is needed for the conference? Changing the logo will mean

Tuples not working?

2015-01-09 Thread Jonathan Marler via Digitalmars-d-learn
import std.stdio; import std.typecons; void main() { alias TL = Tuple!(int, long, float); foreach (i, T; TL) writefln(TL[%d] = %s, i, typeid(T)); } Why is this not working? D:\dmd2\windows\bin\..\..\src\phobos\std\typecons.d(419): Error: need 'this' for '_expand_field_0' of type 'int'

Re: Ready to make page-per-item ddocs the default?

2015-01-09 Thread Steven Schveighoffer via Digitalmars-d
On 1/9/15 12:08 PM, Martin Nowak wrote: On Thursday, 8 January 2015 at 12:18:37 UTC, Steven Schveighoffer wrote: One thing that may be misleading about this -- our headers don't include *everything* from C-land. What's missing? They should just match their C counterparts. Andrei had the

Re: Ready to make page-per-item ddocs the default?

2015-01-09 Thread Steven Schveighoffer via Digitalmars-d
On 1/9/15 12:08 PM, Martin Nowak wrote: On Thursday, 8 January 2015 at 12:18:37 UTC, Steven Schveighoffer wrote: One thing that may be misleading about this -- our headers don't include *everything* from C-land. What's missing? They should just match their C counterparts. Perhaps they do, I

[Issue 13810] ICE in e2ir does not assert

2015-01-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13810 --- Comment #5 from Steven Schveighoffer schvei...@yahoo.com --- Another case that probably would have slipped through if I hadn't known this :) forum.dlang.org/post/foyqzngnnobtsjkur...@forum.dlang.org --

Re: For those ready to take the challenge

2015-01-09 Thread Adam D. Ruppe via Digitalmars-d-learn
Huh, looking at the answers on the website, they're mostly using regular expressions. Weaksauce. And wrong - they don't find ALL the links, they find the absolute HTTP urls!

Re: For those ready to take the challenge

2015-01-09 Thread Adam D. Ruppe via Digitalmars-d-learn
On Friday, 9 January 2015 at 16:55:30 UTC, Justin Whear wrote: Was excited to give it a try, then remembered...std.xml :( Well, as the author of my dom.d, I think it counts as a first party library when I use it! --- import arsd.dom; import std.net.curl; import std.stdio, std.algorithm;

Re: dco how to specify Jpath?

2015-01-09 Thread FrankLike via Digitalmars-d-learn
On Sunday, 21 December 2014 at 07:43:14 UTC, FrankLike wrote: On Thursday, 20 November 2014 at 10:48:17 UTC, Suliman wrote: I am playing with dco. And it's look very helpful for tiny projects. I can't understand is it's possible to add to dco.ini Jpath? I am talking about something like:

Re: Ready to make page-per-item ddocs the default?

2015-01-09 Thread Martin Nowak via Digitalmars-d
On Thursday, 8 January 2015 at 12:18:37 UTC, Steven Schveighoffer wrote: One thing that may be misleading about this -- our headers don't include *everything* from C-land. What's missing? They should just match their C counterparts.

Re: For those ready to take the challenge

2015-01-09 Thread Justin Whear via Digitalmars-d-learn
On Fri, 09 Jan 2015 13:50:28 +, eles wrote: https://codegolf.stackexchange.com/questions/44278/debunking- stroustrups-debunking-of-the-myth-c-is-for-large-complicated-pro Was excited to give it a try, then remembered...std.xml :(

Re: For those ready to take the challenge

2015-01-09 Thread Justin Whear via Digitalmars-d-learn
On Fri, 09 Jan 2015 17:18:42 +, Adam D. Ruppe wrote: Huh, looking at the answers on the website, they're mostly using regular expressions. Weaksauce. And wrong - they don't find ALL the links, they find the absolute HTTP urls! Yes, I noticed that. `script src=http://app.js`/script` isn't

Re: NaCl/Emscripten

2015-01-09 Thread Mengu via Digitalmars-d
On Friday, 9 January 2015 at 12:46:41 UTC, Jacob Carlborg wrote: On 2015-01-09 10:28, Manu via Digitalmars-d wrote: I'm looking at another potential opportunity to get D into the office, but the target's for this particular project are NaCL and/or Emscripten. I was gonna start hacking around

Re: Game development

2015-01-09 Thread Ras via Digitalmars-d
On Friday, 9 January 2015 at 13:22:14 UTC, Mike Parker wrote: On 1/9/2015 2:35 PM, Ras wrote: No i dont. I want to use D language for as much as possible. The reason I want to use C++ for the engine is that it always has full support for DirectX. D has built-in support for COM and can

Re: We need a DConf 2015 logo

2015-01-09 Thread Andrei Alexandrescu via Digitalmars-d
On 1/9/15 1:39 AM, ponce wrote: On Friday, 9 January 2015 at 07:25:22 UTC, Jacob Carlborg wrote: 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.

Re: We need a DConf 2015 logo

2015-01-09 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 9 January 2015 at 16:05:12 UTC, Andrei Alexandrescu wrote: Folks, I have no tools and no know-how about images. Could someone please upload a png to imgur.com. Thanks. -- Andrei I'm not sure if they wanted to do other changes, but I just resized it to a more reasonable resolution

Re: Ready to make page-per-item ddocs the default?

2015-01-09 Thread H. S. Teoh via Digitalmars-d
On Fri, Jan 09, 2015 at 11:46:47AM -0800, Andrei Alexandrescu via Digitalmars-d wrote: [...] Stuff's up! http://dlang.org/library-prerelease/core/stdc/complex.html. I couldn't get rid of the darn space between the header name and the period. [...] Isn't this caused by the fact that the

Re: Ready to make page-per-item ddocs the default?

2015-01-09 Thread Martin Nowak via Digitalmars-d
On 01/09/2015 07:35 PM, Andrei Alexandrescu wrote: Maybe Calypso could be used for that? -- Andrei What's calypso, can't find anything.

Re: An idea for commercial support for D

2015-01-09 Thread anonymous via Digitalmars-d
On Friday, 9 January 2015 at 06:43:01 UTC, Joakim wrote: On Tuesday, 6 January 2015 at 22:37:40 UTC, anonymous wrote: [...] As far as I know there are companies that employ developers to work on open source software, with their patches open-sourced immediately. I'm assuming the employer can

Cast a struct to void*

2015-01-09 Thread John Colvin via Digitalmars-d-learn
struct S { void* p; } void main() { S s; auto a = cast(void*)s; //Error: e2ir: cannot cast s of type S to type void* } Is there are a good reason for this being disallowed?

Re: Cast a struct to void*

2015-01-09 Thread anonymous via Digitalmars-d-learn
On Friday, 9 January 2015 at 18:25:42 UTC, John Colvin wrote: struct S { void* p; } void main() { S s; auto a = cast(void*)s; //Error: e2ir: cannot cast s of type S to type void* } Is there are a good reason for this being disallowed? You'd expect `cast(void*)s == s.p`? That

Re: Ready to make page-per-item ddocs the default?

2015-01-09 Thread Andrei Alexandrescu via Digitalmars-d
On 1/9/15 10:10 AM, Steven Schveighoffer wrote: On 1/9/15 12:08 PM, Martin Nowak wrote: On Thursday, 8 January 2015 at 12:18:37 UTC, Steven Schveighoffer wrote: One thing that may be misleading about this -- our headers don't include *everything* from C-land. What's missing? They should just

Re: Cast a struct to void*

2015-01-09 Thread Ali Çehreli via Digitalmars-d-learn
On 01/09/2015 10:25 AM, John Colvin wrote: struct S { void* p; } void main() { S s; auto a = cast(void*)s; //Error: e2ir: cannot cast s of type S to type void* } Is there are a good reason for this being disallowed? I know two options: a) alias p this; b) auto

Re: Cast a struct to void*

2015-01-09 Thread John Colvin via Digitalmars-d-learn
On Friday, 9 January 2015 at 18:35:56 UTC, anonymous wrote: On Friday, 9 January 2015 at 18:25:42 UTC, John Colvin wrote: struct S { void* p; } void main() { S s; auto a = cast(void*)s; //Error: e2ir: cannot cast s of type S to type void* } Is there are a good reason for this being

Re: Tuples not working?

2015-01-09 Thread Ali Çehreli via Digitalmars-d-learn
On 01/09/2015 10:42 AM, Jonathan Marler wrote: import std.stdio; import std.typecons; void main() { alias TL = Tuple!(int, long, float); foreach (i, T; TL) writefln(TL[%d] = %s, i, typeid(T)); } Why is this not working? D:\dmd2\windows\bin\..\..\src\phobos\std\typecons.d(419):

Re: Cast a struct to void*

2015-01-09 Thread Steven Schveighoffer via Digitalmars-d-learn
On 1/9/15 1:50 PM, John Colvin wrote: On Friday, 9 January 2015 at 18:35:56 UTC, anonymous wrote: On Friday, 9 January 2015 at 18:25:42 UTC, John Colvin wrote: struct S { void* p; } void main() { S s; auto a = cast(void*)s; //Error: e2ir: cannot cast s of type S to type void* This

Re: Ready to make page-per-item ddocs the default?

2015-01-09 Thread Andrei Alexandrescu via Digitalmars-d
On 1/9/15 10:46 AM, Steven Schveighoffer wrote: On 1/9/15 12:08 PM, Martin Nowak wrote: On Thursday, 8 January 2015 at 12:18:37 UTC, Steven Schveighoffer wrote: One thing that may be misleading about this -- our headers don't include *everything* from C-land. What's missing? They should just

Re: Bare-metal programming in D (was GSOC - Holiday Edition)

2015-01-09 Thread Dmitry Olshansky via Digitalmars-d
09-Jan-2015 05:07, Mike пишет: 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

Re: Ready to make page-per-item ddocs the default?

2015-01-09 Thread Tobias Pankrath via Digitalmars-d
On Friday, 9 January 2015 at 20:00:27 UTC, H. S. Teoh via Digitalmars-d wrote: On Fri, Jan 09, 2015 at 11:46:47AM -0800, Andrei Alexandrescu via Digitalmars-d wrote: [...] Stuff's up! http://dlang.org/library-prerelease/core/stdc/complex.html. I couldn't get rid of the darn space between the

Re: Ready to make page-per-item ddocs the default?

2015-01-09 Thread Martin Nowak via Digitalmars-d
On 01/09/2015 09:29 PM, Tobias Pankrath wrote: In this case there is a span class=pln /span that is 16px wide and occupies exactly the space you want to get rid of. It only shows up when viewing the HTML using the Chrome developer tools (F12). It's not in the page source. It's highlighted as D

Rust 1.0 alpha

2015-01-09 Thread via Digitalmars-d
Rust is moving towards stability: «The alpha release is part of our transition into stability guarantees. While we’re not ready to make full stability guarantees yet, this release cycle moves us much closer to that 1.0 goal. When 1.0-beta1 is released six weeks from now, these important

Re: Ready to make page-per-item ddocs the default?

2015-01-09 Thread Andrei Alexandrescu via Digitalmars-d
On 1/9/15 12:35 PM, Martin Nowak wrote: On 01/09/2015 09:29 PM, Tobias Pankrath wrote: In this case there is a span class=pln /span that is 16px wide and occupies exactly the space you want to get rid of. It only shows up when viewing the HTML using the Chrome developer tools (F12). It's not in

Re: Bare-metal programming in D (was GSOC - Holiday Edition)

2015-01-09 Thread Mike via Digitalmars-d
On Friday, 9 January 2015 at 20:24:55 UTC, Dmitry Olshansky wrote: Great. This helps me understand what is the main impediment at the moment. With that in mind I think we can formulate our GSOC plan better. As far as I can tell it can focus on 2 paths: a) Get embedded-savy student to work

Re: Ready to make page-per-item ddocs the default?

2015-01-09 Thread Jacob Carlborg via Digitalmars-d
On 2015-01-09 20:46, Andrei Alexandrescu wrote: Stuff's up! http://dlang.org/library-prerelease/core/stdc/complex.html. I couldn't get rid of the darn space between the header name and the period. -- Andrei Is it just me or are the actual declarations missing? -- /Jacob Carlborg

Please merge

2015-01-09 Thread Andrei Alexandrescu via Digitalmars-d
https://github.com/D-Programming-Language/dconf.org/pull/32 -- thanks! Andrei

Re: Ready to make page-per-item ddocs the default?

2015-01-09 Thread Andrei Alexandrescu via Digitalmars-d
On 1/9/15 11:58 AM, H. S. Teoh via Digitalmars-d wrote: On Fri, Jan 09, 2015 at 11:46:47AM -0800, Andrei Alexandrescu via Digitalmars-d wrote: [...] Stuff's up! http://dlang.org/library-prerelease/core/stdc/complex.html. I couldn't get rid of the darn space between the header name and the

Re: Ready to make page-per-item ddocs the default?

2015-01-09 Thread Andrei Alexandrescu via Digitalmars-d
On 1/9/15 12:59 PM, Jacob Carlborg wrote: On 2015-01-09 20:46, Andrei Alexandrescu wrote: Stuff's up! http://dlang.org/library-prerelease/core/stdc/complex.html. I couldn't get rid of the darn space between the header name and the period. -- Andrei Is it just me or are the actual

Re: Ready to make page-per-item ddocs the default?

2015-01-09 Thread Andrei Alexandrescu via Digitalmars-d
On 1/9/15 1:18 PM, Andrei Alexandrescu wrote: On 1/9/15 1:17 PM, Andrei Alexandrescu wrote: On 1/9/15 12:59 PM, Jacob Carlborg wrote: On 2015-01-09 20:46, Andrei Alexandrescu wrote: Stuff's up! http://dlang.org/library-prerelease/core/stdc/complex.html. I couldn't get rid of the darn space

Utah Valley University is a sponsor of DConf 2015

2015-01-09 Thread Andrei Alexandrescu via Digitalmars-d-announce
Please spread the news: https://twitter.com/D_Programming/status/553642281941860352 We're happy to announce the first sponsor of DConf 2015: Utah Valley University. In addition to providing conference venue, UVU will cover room rental fees and simplify logistics and paperwork. Many thanks

Re: Ready to make page-per-item ddocs the default?

2015-01-09 Thread Andrei Alexandrescu via Digitalmars-d
On 1/9/15 1:17 PM, Andrei Alexandrescu wrote: On 1/9/15 12:59 PM, Jacob Carlborg wrote: On 2015-01-09 20:46, Andrei Alexandrescu wrote: Stuff's up! http://dlang.org/library-prerelease/core/stdc/complex.html. I couldn't get rid of the darn space between the header name and the period. --

One more easy task for the website

2015-01-09 Thread Andrei Alexandrescu via Digitalmars-d
Pliz pliz. https://issues.dlang.org/show_bug.cgi?id=13962 Andrei

[Issue 13962] New: http://dlang.org/phobos/object.html is formatted with the old style

2015-01-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13962 Issue ID: 13962 Summary: http://dlang.org/phobos/object.html is formatted with the old style Product: D Version: D2 Hardware: x86 OS: Mac OS X

Re: An idea for commercial support for D

2015-01-09 Thread Joakim via Digitalmars-d
On Wednesday, 7 January 2015 at 02:08:45 UTC, Joseph Rushton Wakeling via Digitalmars-d wrote: On 06/01/15 07:14, Joakim via Digitalmars-d wrote: I don't think such people matter, ie they're a very small but vocal minority. Also, these people are deeply irrational, as every piece of hardware

Re: NASA/JPL Rules for writing Critical Software

2015-01-09 Thread Mike James via Digitalmars-d
Walter Bright newshou...@digitalmars.com wrote in message news:m8n4c2$2ovq$1...@digitalmars.com... http://pixelscommander.com/wp-content/uploads/2014/12/P10.pdf Misra is also a good set of guidelines to follow... http://www.misra.org.uk/ -=mike=-

Re: DConf 2015 Call for Submissions is now open

2015-01-09 Thread Jonas Drewsen via Digitalmars-d-announce
On Thursday, 8 January 2015 at 10:31:58 UTC, 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 times! DConf 2015 will take place May 27-29 2015 at Utah Valley

Re: Alignment of dynamic arrays

2015-01-09 Thread bearophile via Digitalmars-d
Robert burner Schadek: IMO, If you slice a double array it is always aligned. Because doubles are 8 bytes long aka 64bit which would align them to every fourth 16bit boundary. If you have a 16-byte aligned array of doubles and you slice the first double away, what's the alignment of the

Re: Ready to make page-per-item ddocs the default?

2015-01-09 Thread Steven Schveighoffer via Digitalmars-d
On 1/9/15 2:14 AM, Jacob Carlborg wrote: 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

Re: Alignment of dynamic arrays

2015-01-09 Thread Steven Schveighoffer via Digitalmars-d
On 1/9/15 6:08 AM, Robert burner Schadek wrote: 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. But if you slice them, this

∅MQD 1.0.0-alpha released - now with full ∅MQ 4.0 support

2015-01-09 Thread Lars T. Kyllingstad via Digitalmars-d-announce
∅MQD is a D library that wraps the low-level C API of the ∅MQ (aka. ZeroMQ) messaging framework. It is a rather thin wrapper that maps closely to the C API, while making it safer, easier and more pleasant to use. The API is designed to feel familiar to existing ∅MQ users, yet natural to D

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

2015-01-09 Thread Dicebot via Digitalmars-d-announce
On Friday, 9 January 2015 at 11:30:23 UTC, Iain Buclaw via Digitalmars-d-announce wrote: Though I've never used Linuy before, is it like Linux? :-) Lack of post editing capabilities in NG ensures our shame will be eternal :)

Re: NASA/JPL Rules for writing Critical Software

2015-01-09 Thread Paulo Pinto via Digitalmars-d
On Friday, 9 January 2015 at 10:37:43 UTC, Mike James wrote: Walter Bright newshou...@digitalmars.com wrote in message news:m8n4c2$2ovq$1...@digitalmars.com... http://pixelscommander.com/wp-content/uploads/2014/12/P10.pdf Misra is also a good set of guidelines to follow...

Re: An idea for commercial support for D

2015-01-09 Thread Dicebot via Digitalmars-d
You have already proposed this idea once and were explained in great detail why it doesn't work. To be honest if something like this would ever happen my first move would be to reach company leadership and discuss possible full forking of D compiler as a simple matter of ensuring business

Re: An idea for commercial support for D

2015-01-09 Thread via Digitalmars-d
On Friday, 9 January 2015 at 11:40:47 UTC, Joakim wrote: Perhaps you're not a native speaker of the English language, but it is difficult to follow all the logical leaps you're making, as one point seems completely disconnected from the other and none seem connected to the topics from this

Revert attributes to their defaults with default keywords

2015-01-09 Thread Daniel Kozak via Digitalmars-d
I often have code like this: class A { final: nothrow: ... some methods ... } Problem comes when I need add methods which for eg.: throws or need to be virtual. I can put them before final: but this is not perfect, because I prefer when methods are place in specific

  1   2   >