Re: DConf 2013 Day 1 Talk 2: Copy and Move Semantics in D by Ali Cehreli

2013-05-22 Thread Robert Jacques
On Fri, 10 May 2013 05:08:09 -0700, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Enjoy! https://www.youtube.com/watch?v=mPr2UspS0fE Andrei Thanks. I noticed a subtle error in the response to the question on logical const (at 32:11). Specifically, overloading the function on

Re: Short article on std.parallism

2011-06-08 Thread Robert Jacques
On Tue, 31 May 2011 02:21:13 -0400, Andrej Mitrovic andrej.mitrov...@gmail.com wrote: Why doesn't Appender overload opCatAssign? It would be almost trivial to replace usage of existing arrays with Appender, instead of having to replace all calls with var.put(). I've submitted a patch for an

Re: Plot2kill 0.2

2011-03-05 Thread Robert Jacques
On Sat, 05 Mar 2011 13:42:32 -0500, bearophile bearophileh...@lycos.com wrote: dsimcha: I've done some major updating of my Plot2kill plotting library lately, I see code that wants named arguments :-) 65 auto sleepinessFig = Figure(sleepinessPlot) 66

Re: Visual D 0.3.16 released

2010-09-27 Thread Robert Jacques
On Mon, 27 Sep 2010 03:58:47 -0400, Stephan s...@extrawurst.org wrote: On 25.09.2010 04:05, Aldo Nunez wrote: Rainer Schuetze r.sagita...@gmx.de wrote: * now supports and installs the Mago debugger (http://dsource.org/projects/mago_debugger) Thanks a lot, Rainer, for including the debugger

Re: Plot2Kill 0.02

2010-07-21 Thread Robert Jacques
On Tue, 20 Jul 2010 06:57:01 -0400, Lars T. Kyllingstad pub...@kyllingen.nospamnet wrote: On Sun, 18 Jul 2010 22:44:27 +, dsimcha wrote: == Quote from BLS (windev...@hotmail.de)'s article Next, Do you have any ideas about zooming ? (zooming a plotting region) ? This can already be

Re: D web site facelift

2010-07-06 Thread Robert Jacques
On Tue, 06 Jul 2010 08:09:47 -0400, David Gileadi gilea...@nspmgmail.com wrote: On 7/5/10 5:10 PM, Nick Sabalausky wrote: The search box still has invisible-text-syndrome. Sorry, fix will be in the next update. Also, the page still doesn't render properly when zoomed in Opera.

Re: dmd 1.062 and 2.047 release

2010-06-13 Thread Robert Jacques
On Sun, 13 Jun 2010 09:30:43 -0400, Lutger lutger.blijdest...@gmail.com wrote: Great, thank you! I noticed both std.concurrency and std.json are not (yet?) included in the documentation. Does that have any bearing on their status, are they usable and / or stable? There are some other

Re: dmd 1.062 and 2.047 release

2010-06-13 Thread Robert Jacques
On Sun, 13 Jun 2010 12:13:54 -0400, Robert Jacques sandf...@jhu.edu wrote: On Sun, 13 Jun 2010 09:30:43 -0400, Lutger lutger.blijdest...@gmail.com wrote: Great, thank you! I noticed both std.concurrency and std.json are not (yet?) included in the documentation. Does that have any

Re: dcollections 1.0 and 2.0a beta released

2010-05-24 Thread Robert Jacques
On Mon, 24 May 2010 08:06:29 -0400, Steven Schveighoffer schvei...@yahoo.com wrote: On Thu, 20 May 2010 12:46:59 -0400, Robert Jacques sandf...@jhu.edu wrote: On Thu, 20 May 2010 06:34:42 -0400, Steven Schveighoffer schvei...@yahoo.com wrote: [snip] I understand these points, but I'm

Re: dcollections 1.0 and 2.0a beta released

2010-05-20 Thread Robert Jacques
On Thu, 20 May 2010 06:34:42 -0400, Steven Schveighoffer schvei...@yahoo.com wrote: Robert Jacques Wrote: On Wed, 19 May 2010 21:42:35 -0400, Steven Schveighoffer Does that make sense? -Steve Yes and No. I understand where your coming from, but I think it's a bad idea. First, I think

Re: dcollections 1.0 and 2.0a beta released

2010-05-19 Thread Robert Jacques
On Wed, 19 May 2010 21:42:35 -0400, Steven Schveighoffer schvei...@yahoo.com wrote: Andrei Alexandrescu Wrote: To get back to one of my earlier points, the fact that the container interfaces are unable to express iteration is a corollary of the design's problem and an climactic disharmony.

Re: Small vector and matrix proposed for phobos2 now on github

2010-04-30 Thread Robert Jacques
On Fri, 30 Apr 2010 17:23:33 -0400, Jérôme M. Berger jeber...@free.fr wrote: Robert Jacques wrote: On Thu, 29 Apr 2010 19:16:49 -0400, Gareth Charnock gareth@gmail.com wrote: Jérôme M. Berger wrote: Gareth Charnock wrote: PS: Okay so I just had a looked at the matrix and vector classes

Re: Small vector and matrix proposed for phobos2 now on github

2010-04-29 Thread Robert Jacques
On Thu, 29 Apr 2010 19:16:49 -0400, Gareth Charnock gareth@gmail.com wrote: Jérôme M. Berger wrote: Gareth Charnock wrote: PS: Okay so I just had a looked at the matrix and vector classes in Ogre3D and irrlicht. Looks like they both define v*v as element wise multiplication but m*m is

Re: MessagePack for D released

2010-04-27 Thread Robert Jacques
On Tue, 27 Apr 2010 15:37:56 -0300, Masahiro Nakagawa repeate...@gmail.com wrote: On Wed, 28 Apr 2010 02:20:58 +0900, Lars T. Kyllingstad pub...@kyllingen.nospamnet wrote: For systems where real is 64 bits it may be possible to use an 80-bit std.numeric.CustomFloat as an intermediate

Re: Small vector and matrix proposed for phobos2 now on github

2010-04-26 Thread Robert Jacques
On Mon, 26 Apr 2010 03:46:47 -0300, Gareth Charnock gareth@gmail.com wrote: Thanks. To quickly answer this: - The version I'm seeing on github doesn't seem to have all the features you're referencing (i.e. v*v). Why are some ops limited to */ and other +-? It was quite late

Re: Small vector and matrix proposed for phobos2 now on github

2010-04-25 Thread Robert Jacques
On Sun, 25 Apr 2010 23:17:10 -0300, Gareth Charnock gareth@gmail.com wrote: I've put the beginnings of my matrix-vector library up on github (between swizzling, generalising to N dimensions and making use of static foreach this project quickly turned from a cleanup to a rewrite). You

Re: d support in codeblocks

2010-03-31 Thread Robert Jacques
On Wed, 31 Mar 2010 03:34:00 -0300, Matthias Pleh matthias.p...@ltw.at wrote: Thanks. I got a build working and have tested it out. It seems that you've made a substantial change to the default syntax highlighting, both in the terms you use and their settings. Now, most of them I can fix

Re: d support in codeblocks

2010-03-31 Thread Robert Jacques
On Wed, 31 Mar 2010 15:05:55 -0300, Matthias Pleh matthias.p...@gmx.at wrote: First, the normal code::block selector uses smart colors which are based upon the underlying text color, etc. Essentially, it only changes the background color (like many other editors) and doesn't change the

Re: d support in codeblocks

2010-03-30 Thread Robert Jacques
On Mon, 29 Mar 2010 16:41:52 -0300, Matthias Pleh matthias.p...@gmx.at wrote: Am 29.03.2010 18:51, schrieb Robert Jacques: On Sun, 28 Mar 2010 16:24:30 -0300, Matthias Pleh matthias.p...@gmx.at wrote: Hey all, as I already posted in D.ide newsgroup, I am working on an improvement for D

Re: d support in codeblocks

2010-03-29 Thread Robert Jacques
On Sun, 28 Mar 2010 16:24:30 -0300, Matthias Pleh matthias.p...@gmx.at wrote: Hey all, as I already posted in D.ide newsgroup, I am working on an improvement for D support in the codeblocks IDE. Now I've made a patch and posted it in the codeblocks forum:

Re: dmd 1.057 and 2.041 release

2010-03-08 Thread Robert Jacques
On Mon, 08 Mar 2010 16:42:54 -0500, Philippe Sigaud philippe.sig...@gmail.com wrote: On Mon, Mar 8, 2010 at 14:22, Steven Schveighoffer schvei...@yahoo.comwrote: The shrinkToFit name is not my favorite, anyone care to submit a better name? minimize is out because it has connotations of

Re: dmd 1.056 and 2.040 release

2010-01-30 Thread Robert Jacques
On Sat, 30 Jan 2010 10:56:28 -0500, Ary Borenszweig a...@esperanto.org.ar wrote: Walter Bright wrote: http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.056.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.040.zip Thanks

Re: Code Poet, an IDE for D

2009-11-12 Thread Robert Jacques
On Thu, 12 Nov 2009 14:34:31 -0500, Walter Bright newshou...@digitalmars.com wrote: dsimcha wrote: I thought (I'm not 100% sure on either of these counts) that: 1. We don't want anything in Phobos that requires attribution for works distributed exclusively in binary form, even if the

Re: dmd 1.047 and 2.032 releases

2009-09-04 Thread Robert Jacques
On Thu, 03 Sep 2009 19:45:44 -0400, Robert Jacques sandf...@jhu.edu wrote: Thanks for yet another great release, but.. has anyone else gotten DFL to compile? (The latest svn of DFL worked fine in 2.031) I've been trying to get it up and running but I've been seeing really weird errors

Re: dmd 1.047 and 2.032 releases

2009-09-04 Thread Robert Jacques
On Fri, 04 Sep 2009 04:40:51 -0400, Robert Jacques sandf...@jhu.edu wrote: On Thu, 03 Sep 2009 19:45:44 -0400, Robert Jacques sandf...@jhu.edu wrote: Thanks for yet another great release, but.. has anyone else gotten DFL to compile? (The latest svn of DFL worked fine in 2.031) I've

Re: dmd 1.046 and 2.031 releases

2009-07-07 Thread Robert Jacques
On Tue, 07 Jul 2009 02:35:44 -0400, Robert Jacques sandf...@jhu.edu wrote: On Tue, 07 Jul 2009 01:48:41 -0400, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Robert Jacques wrote: On Mon, 06 Jul 2009 01:05:10 -0400, Walter Bright newshou...@digitalmars.com wrote: Something

Re: dmd 1.046 and 2.031 releases

2009-07-07 Thread Robert Jacques
On Tue, 07 Jul 2009 03:33:24 -0400, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Robert Jacques wrote: That's really cool. But I don't think that's actually happening (Or are these the bugs you're talking about?): byte x,y; short z; z = x+y; // Error: cannot

Re: dmd 1.046 and 2.031 releases

2009-07-07 Thread Robert Jacques
On Tue, 07 Jul 2009 11:36:26 -0400, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Robert Jacques wrote: Andrei, I have a short vector template (think vec!(byte,3), etc) where I've had to wrap the majority lines of code in cast(T)( ... ), because I support bytes and shorts. I

Re: dmd 1.046 and 2.031 releases

2009-07-07 Thread Robert Jacques
On Tue, 07 Jul 2009 14:16:14 -0400, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Robert Jacques wrote: On Tue, 07 Jul 2009 11:36:26 -0400, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Robert Jacques wrote: Andrei, I have a short vector template (think vec!(byte,3

Re: dmd 1.046 and 2.031 releases

2009-07-07 Thread Robert Jacques
On Tue, 07 Jul 2009 18:05:26 -0400, Derek Parnell de...@psych.ward wrote: On Tue, 07 Jul 2009 14:05:33 -0400, Robert Jacques wrote: Well, how often does everyone else use bytes? Cryptography, in my case. Cool. If you don't mind, what's you're take new rules? (As different use cases

Re: dmd 1.046 and 2.031 releases

2009-07-07 Thread Robert Jacques
On Tue, 07 Jul 2009 20:48:50 -0400, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Robert Jacques wrote: long g; g = e + f; = d = cast(long) e + cast(long) f; Works today. Wrong. I just tested this and what happens today is: g = cast(long)(e+f); And this is (I think) correct

Re: dmd 1.046 and 2.031 releases

2009-07-07 Thread Robert Jacques
On Tue, 07 Jul 2009 21:05:45 -0400, Walter Bright newshou...@digitalmars.com wrote: Andrei Alexandrescu wrote: Robert Jacques wrote: long g; g = e + f; = d = cast(long) e + cast(long) f; Works today. Wrong. I just tested this and what happens today is: g = cast(long)(e+f

Re: dmd 1.046 and 2.031 releases

2009-07-07 Thread Robert Jacques
On Tue, 07 Jul 2009 23:01:58 -0400, Walter Bright newshou...@digitalmars.com wrote: Robert Jacques wrote: (Caveat: most 32-bit compilers probably defaulted integer to int, though 64-bit compilers are probably defaulting integer to long.) All 32 bit C compilers defaulted int to 32 bits. 64

Re: dmd 1.045 / 2.030 release

2009-05-12 Thread Robert Jacques
On Tue, 12 May 2009 12:41:50 -0400, dsimcha dsim...@yahoo.com wrote: == Quote from Tomas Lindquist Olsen (tomas.l.ol...@gmail.com)'s article Is there a reason for the missing announcement ? http://digitalmars.com/d/1.0/changelog.html#new1_045

Re: Titanion 0.4 + Phobos2 bug

2009-04-28 Thread Robert Jacques
On Tue, 28 Apr 2009 05:06:23 -0400, bearophile bearophileh...@lycos.com wrote: bearophile: struct Vec(T=float, size_t N=3) { static assert(N 0); Sorry. Better to use: struct Vec(T=float, int N=3) { static assert(N 0); From experience using D I have seen that using unsigned

Re: Titanion 0.4

2009-04-27 Thread Robert Jacques
On Mon, 27 Apr 2009 17:29:49 -0400, bearophile bearophileh...@lycos.com wrote: Moritz Warning: Titanion is a 2.5D shooter game for Windows, *nix and MacOSX. The original code by Kenta Cho was ported to use Tango and Derelict. Lot of fireworks and the code looks clean. Most D games I see

Re: DCat - a compact web application server in D.

2009-04-20 Thread Robert Jacques
On Mon, 20 Apr 2009 06:34:11 -0400, Steve Teale steve.te...@britseyeview.com wrote: Jacob Carlborg Wrote: Steve Teale wrote: Michel Fortin Wrote: On 2009-04-19 15:19:24 -0400, Steve Teale steve.te...@britseyeview.com said: This is incomplete at this point, but there's a working

Re: dmd 1.041 and 2.026 releases

2009-03-06 Thread Robert Jacques
On Fri, 06 Mar 2009 03:35:10 -0500, Don nos...@nospam.com wrote: But in the past, someone (Robert Frazer, I think) had complained that DMD's exp() was the bottleneck in his code, and was less than half as fast as MSVC/Intel, so the speed of these functions is actually critical sometimes.

Re: DMD 1.038 and 2.022 releases

2008-12-16 Thread Robert Jacques
On Mon, 15 Dec 2008 17:48:21 -0500, mastrost titi.mas...@free.fr wrote: int delegate() getPureFunction(int x){ int bar(){ return x; } return bar; } int delegate() getPureFunction(int x){ int bar(){ return x++; // no longer pure } return bar; } In

Re: DMD 1.038 and 2.022 releases

2008-12-16 Thread Robert Jacques
On Tue, 16 Dec 2008 12:28:43 -0800, Simen Kjaeraas simen.kja...@gmail.com wrote: On Tue, 16 Dec 2008 18:58:47 +0100, Robert Jacques sandf...@jhu.edu wrote: On Mon, 15 Dec 2008 17:48:21 -0500, mastrost titi.mas...@free.fr wrote: In this example, myPureFunction looks like a pure

Re: Scope storage class

2008-11-26 Thread Robert Jacques
On Wed, 26 Nov 2008 13:24:57 -0500, Jarrett Billingsley [EMAIL PROTECTED] wrote: scope int b() { .. } The reason I wonder is because I would expect that the compiler is still allocating the delegate on the heap if you use the first syntax. (the second is also shorter and clearer.) Just as a