Re: I'll be in Seattle at Lang.NEXT

2012-04-06 Thread Andrei Alexandrescu
On 3/15/12 10:39 AM, Andrei Alexandrescu wrote: Hello, Somewhat unexpectedly even to me, I'll be in Seattle for the Lang.NEXT conference together with Walter. Both of us will give talks. http://channel9.msdn.com/Events/Lang-NEXT/Lang-NEXT-2012 Would be glad to redo a D Seattle me

Re: Russian TDPL is available for orders

2012-04-04 Thread Andrei Alexandrescu
On 4/4/12 1:46 PM, Dmitry Olshansky wrote: Andrei, may I ask you what kind of memory you had in mind when refereed to "mass storage" in this statement of TDPL? Disk/SSD, not RAM. Andrei

Re: OSCON 2012 session: "Generic Programming Galore using D"

2012-04-03 Thread Andrei Alexandrescu
On 4/3/12 9:42 AM, Jacob Carlborg wrote: On 2012-04-03 16:30, Andrei Alexandrescu wrote: I'm glad to announce that OSCON 2012 (http://oscon.com/oscon2012) has approved my session proposal "Generic Programming Galore using D". Hope to see many of you there! Andrei Coo

OSCON 2012 session: "Generic Programming Galore using D"

2012-04-03 Thread Andrei Alexandrescu
I'm glad to announce that OSCON 2012 (http://oscon.com/oscon2012) has approved my session proposal "Generic Programming Galore using D". Hope to see many of you there! Andrei

Re: UFCS for D

2012-03-30 Thread Andrei Alexandrescu
On 3/30/12 9:32 AM, deadalnix wrote: Le 30/03/2012 16:24, Andrei Alexandrescu a écrit : On 3/30/12 3:20 AM, Walter Bright wrote: There has been a trend in Phobos of having some truly gigantic modules. I believe this is indicative of a problem in the language. Andrei and I have talked about it

Re: UFCS for D

2012-03-30 Thread Andrei Alexandrescu
On 3/30/12 3:20 AM, Walter Bright wrote: There has been a trend in Phobos of having some truly gigantic modules. I believe this is indicative of a problem in the language. Andrei and I have talked about it, and we think it is because of difficulties in breaking a module up into submodules of a pa

UFCS for D

2012-03-28 Thread Andrei Alexandrescu
http://www.reddit.com/r/programming/comments/rif9x/uniform_function_call_syntax_for_the_d/ Andrei

Adam Wilson is now a GSoC 2012 mentor!

2012-03-26 Thread Andrei Alexandrescu
We're very happy and honored to had Adam Wilson on board as a GSoC 2012 mentor. Adam brings solid project management experience and has a specific interest in the Mono-D project. Please join me in welcoming Adam to the ranks of GSoC mentors! Thanks, Andrei

Re: avgtime - Small D util for your everyday benchmarking needs

2012-03-24 Thread Andrei Alexandrescu
On 3/23/12 5:42 PM, Manfred Nowak wrote: Andrei Alexandrescu wrote: In the limit, taking the minimum over infinitely many measurements of X would yield T. True, if the thoretical variance of the distribution of T is close to zero. But horrible wrong, if T depends on an algorithm that is fast

Walter on reddit with an older article

2012-03-23 Thread Andrei Alexandrescu
http://www.reddit.com/r/programming/comments/r9p4c/walter_bright_on_c_compilation_speed/ Andrei

Re: avgtime - Small D util for your everyday benchmarking needs

2012-03-23 Thread Andrei Alexandrescu
On 3/23/12 5:51 AM, Don Clugston wrote: No, it's easy. Student t is in std.mathspecial. Aargh, I didn't get around to copying it in. But this should do it. [snip] Shouldn't put this stuff in std.numeric, or create a std.stat module? I think also some functions for t-test would be useful. A

Re: avgtime - Small D util for your everyday benchmarking needs

2012-03-23 Thread Andrei Alexandrescu
On 3/23/12 3:02 AM, Juan Manuel Cabo wrote: On Friday, 23 March 2012 at 05:16:20 UTC, Andrei Alexandrescu wrote: [.] (man, the gaussian curve is everywhere, it never ceases to perplex me). I'm actually surprised. I'm working on benchmarking lately and the distributions I ge

Re: avgtime - Small D util for your everyday benchmarking needs

2012-03-23 Thread Andrei Alexandrescu
On 3/23/12 12:51 AM, Manfred Nowak wrote: Andrei Alexandrescu wrote: You may want to also print the mode of the distribution, nontrivial but informative In case of this implementation and according to the given link: trivial and noninformative, because | For samples, if it is known that

Re: avgtime - Small D util for your everyday benchmarking needs

2012-03-22 Thread Andrei Alexandrescu
On 3/22/12 11:53 PM, Juan Manuel Cabo wrote: On Thursday, 22 March 2012 at 22:22:31 UTC, Andrei Alexandrescu wrote: Sweet! You may want to also print the mode of the distribution, which is the time of the maximum sample density. http://en.wikipedia.org/wiki/Mode_(statistics) (Warning

Re: avgtime - Small D util for your everyday benchmarking needs

2012-03-22 Thread Andrei Alexandrescu
On 3/21/12 7:32 PM, Juan Manuel Cabo wrote: avgtime -r 10 -q ls -lR /etc Total time (ms): 933.742 Repetitions : 10 Median time : 90.505 Avg time : 93.3742 Std dev. : 4.66808 Minimum : 88.732 Maximum : 101.225 Sweet! You may want to also print the mode of the distributi

Re: Dejan Lekic created the D Developers Network on LinkedIn

2012-03-20 Thread Andrei Alexandrescu
On 3/20/12 1:34 PM, Andrei Alexandrescu wrote: Anyone using D in production is invited to join. http://www.linkedin.com/groups/D-Developer-Network Corrected link: http://linkedin.com/groups/D-Developer-Network-3923820 Andrei

Re: GDC goes github

2012-03-18 Thread Andrei Alexandrescu
On 3/18/12 7:39 AM, Iain Buclaw wrote: I have created a new GDC project on github, where I hope people will help contribute and continue development of the compiler there. https://github.com/gdc-developers I've been told to cue Walter asking to rename the organisation to D-Programming-GDC. :o

Re: Pegged: Syntax Highlighting

2012-03-17 Thread Andrei Alexandrescu
On 3/17/12 3:53 PM, Philippe Sigaud wrote: On Sat, Mar 17, 2012 at 18:11, Andrei Alexandrescu wrote: The D grammar is a 1000-line / hundreds of rules monster. I finished writing it and am now crushing bugs. God, that generates a 10_000 line module to parse it. I should simplify the code

Re: Pegged: Syntax Highlighting

2012-03-17 Thread Andrei Alexandrescu
On 3/17/12 9:13 AM, Philippe Sigaud wrote: I want to use Pegged for that purpose. So go ahead an commit the D grammar ;) Would be so awesome if Pegged would be able to parse D. ~Extrawurst The D grammar is a 1000-line / hundreds of rules monster. I finished writing it and am now crushing bugs.

Re: It's official: The D Programming Language will participate to GSoC 2012!

2012-03-16 Thread Andrei Alexandrescu
On 3/16/12 1:32 PM, Steven Schveighoffer wrote: On Fri, 16 Mar 2012 14:24:38 -0400, Andrei Alexandrescu wrote: Just got the acceptance message. This is great news! If you consider being a mentor, please apply as described in http://dlang.org/gsoc2012.html. Thanks! You really think Google

It's official: The D Programming Language will participate to GSoC 2012!

2012-03-16 Thread Andrei Alexandrescu
Just got the acceptance message. This is great news! If you consider being a mentor, please apply as described in http://dlang.org/gsoc2012.html. Thanks! Andrei

I'll be in Seattle at Lang.NEXT

2012-03-15 Thread Andrei Alexandrescu
Hello, Somewhat unexpectedly even to me, I'll be in Seattle for the Lang.NEXT conference together with Walter. Both of us will give talks. http://channel9.msdn.com/Events/Lang-NEXT/Lang-NEXT-2012 Would be glad to redo a D Seattle meeting. Regardless, the conference is interesting and free s

Re: Pegged, a Parsing Expression Grammar (PEG) generator in D

2012-03-11 Thread Andrei Alexandrescu
On 3/11/12 3:02 AM, Philippe Sigaud wrote: There is an operator to drop unnecessary nodes (':'). Good. Apart from that, a Pegged grammar is a self-contained entity: it automatically cuts nodes coming from other grammars, to simplify the tree (it keeps the matcheds substrings, of course). I pl

Re: Pegged, a Parsing Expression Grammar (PEG) generator in D

2012-03-10 Thread Andrei Alexandrescu
On 3/11/12 1:38 AM, Philippe Sigaud wrote: On Sun, Mar 11, 2012 at 08:26, Andrei Alexandrescu wrote: Any chance you consider adding AST generator actions as discussed in the main forum a while ago? The AST is automatically produced, and there are already AST actions to simplify / guide its

Re: Pegged, a Parsing Expression Grammar (PEG) generator in D

2012-03-10 Thread Andrei Alexandrescu
On 3/11/12 1:35 AM, Philippe Sigaud wrote: On Sun, Mar 11, 2012 at 08:26, Andrei Alexandrescu wrote: Splitting on ";" is trivial and makes client code considerably easier to play with. It's already implemented! No need for ';' Great! I think you'd be wise

Re: Pegged, a Parsing Expression Grammar (PEG) generator in D

2012-03-10 Thread Andrei Alexandrescu
On 3/11/12 1:22 AM, Philippe Sigaud wrote: On Sun, Mar 11, 2012 at 00:34, Alex Rønne Petersen wrote: Admittedly I have not heard of PEGs before, so I'm curious: Is this powerful enough to parse a language such as C? I think so. But you'd have to do add some semantic action to deal with typed

Re: Pegged, a Parsing Expression Grammar (PEG) generator in D

2012-03-10 Thread Andrei Alexandrescu
On 3/10/12 5:56 PM, Andrej Mitrovic wrote: I see you are not the only one who started writing string array literals like this: enum PEGCode = grammarCode!( "Grammar<- S Definition+ EOI" ,"Definition<- RuleName Arrow Expression" ,"RuleName<- Identifier>(ParamList?)" ,"Express

Re: TDPL monthly sales at 12-month high

2012-03-07 Thread Andrei Alexandrescu
On 3/7/12 1:26 AM, Bystroushaak wrote: Yeah, its great book, probably the best I've read about programming. On 27.2.2012 14:16, MattCodr wrote: I started reading this book a couple of days ago and one thing that I liked on this book, is not only about D, but about design and implementation too.

Re: TDPL monthly sales at 12-month high

2012-03-06 Thread Andrei Alexandrescu
On 3/6/12 7:18 AM, Dejan Lekic wrote: Andrei Alexandrescu wrote: Today TDPL monthly sales in February climbed to a 12-month high. This is in all likelihood due to the increasing attention D has received lately, and a reflection of all the great work done by our community. Congratulations to

Re: parallel copy directory, faster than robocopy

2012-03-05 Thread Andrei Alexandrescu
On 3/4/12 2:53 PM, Jay Norwood wrote: I placed the two parallel file operations, rmdir and copy on github in https://github.com/jnorwood/file_parallel These combine the std.parallelism operations with the std.file operations to speed up the processing on Windows. --- I also put a useful

Re: Our second mentor: Alex Rønne Petersen

2012-03-04 Thread Andrei Alexandrescu
On 3/4/12 3:08 PM, deadalnix wrote: Le 04/03/2012 21:52, Andrei Alexandrescu a écrit : Please join me in welcoming Alex Rønne Petersen as a mentor! We believe he will bring great expertise and value to our ranks. Andrei What does that imply in practice ? You mean what a mentor&#

Our second mentor: Alex Rønne Petersen

2012-03-04 Thread Andrei Alexandrescu
Please join me in welcoming Alex Rønne Petersen as a mentor! We believe he will bring great expertise and value to our ranks. Andrei

Re: D in Academia

2012-03-04 Thread Andrei Alexandrescu
On 3/3/12 1:02 PM, Chuck Allison wrote: FYI: TDPL is a required text for CS 4450, Analysis of Programming Languages, at Utah Valley University starting Fall 2012. We'll study ML and D (and Prolog if time allows). On reddit with a terrible typo: http://www.reddit.com/r/programming/comments/qh9

Re: D in Academia

2012-03-03 Thread Andrei Alexandrescu
On 3/3/12 1:02 PM, Chuck Allison wrote: FYI: TDPL is a required text for CS 4450, Analysis of Programming Languages, at Utah Valley University starting Fall 2012. We'll study ML and D (and Prolog if time allows). Great! Chuck, as discussed privately, feel free to address to the main forum for

Contract programming in D discussed on reddit

2012-03-02 Thread Andrei Alexandrescu
http://www.reddit.com/r/programming/comments/qevy0/contract_programming_in_the_d_programming_language/ Andrei

Re: We have a GSoC mentor already: David Simcha

2012-03-02 Thread Andrei Alexandrescu
On 3/2/12 6:31 PM, MattCodr wrote: On Friday, 2 March 2012 at 23:42:59 UTC, Andrei Alexandrescu wrote: David Simcha applied for a second gig as a GSoC mentor. Needless to say, his application was approved :o). Please join me in welcoming him! Nice and good luck but... What app is it

We have a GSoC mentor already: David Simcha

2012-03-02 Thread Andrei Alexandrescu
David Simcha applied for a second gig as a GSoC mentor. Needless to say, his application was approved :o). Please join me in welcoming him! Andrei

Re: D to Javascript converter (a hacked up dmd)

2012-03-01 Thread Andrei Alexandrescu
On 2/29/12 11:58 AM, Adam D. Ruppe wrote: Sorry if I sent twice, it is so easy to hit the wrong button on things. On Wednesday, 29 February 2012 at 17:32:42 UTC, Andrei Alexandrescu wrote: So the idea is to make an entire subset of D convertible to Javascript? Yeah, and I'm pretty much

Re: TDPL monthly sales at 12-month high

2012-02-29 Thread Andrei Alexandrescu
On 2/28/12 2:19 PM, deadalnix wrote: Is that by contract or because you don't know/want to tell numbers ? Some of both. Sales information is traditionally guarded closely and only disclosed on terrific numbers (e.g. "one million readers" etc). Also, I don't have data outside Amazon, and on Am

Re: D to Javascript converter (a hacked up dmd)

2012-02-29 Thread Andrei Alexandrescu
On 2/26/12 9:51 PM, Adam D. Ruppe wrote: https://github.com/downloads/adamdruppe/dtojs/dtojs.zip [snip] That's interesting. So the idea is to make an entire subset of D convertible to Javascript? What use cases do you have in mind? Andrei

Re: Mono-D 0.3.0

2012-02-29 Thread Andrei Alexandrescu
On 2/29/12 10:21 AM, alex wrote: A couple of new completion features + several bugfixes - [Internal] Refactored and re-organized code structures, hopefully easier to maintain & understand; Removal of unnecessary code - [Resolver] Implemented selective imports & scoped importing - [Resolver] Fore

Attractive Chaos' blog entry: Timeline of the D programming language

2012-02-28 Thread Andrei Alexandrescu
Found this today: http://attractivechaos.wordpress.com/2012/02/28/timeline-of-the-d-programming-language/ Andrei

Re: TDPL monthly sales at 12-month high

2012-02-27 Thread Andrei Alexandrescu
On 2/27/12 5:08 AM, deadalnix wrote: Le 27/02/2012 06:17, Andrei Alexandrescu a écrit : Today TDPL monthly sales in February climbed to a 12-month high. This is in all likelihood due to the increasing attention D has received lately, and a reflection of all the great work done by our community

TDPL monthly sales at 12-month high

2012-02-26 Thread Andrei Alexandrescu
Today TDPL monthly sales in February climbed to a 12-month high. This is in all likelihood due to the increasing attention D has received lately, and a reflection of all the great work done by our community. Congratulations to all contributors! Andrei

You crapper encounter...

2012-02-25 Thread Andrei Alexandrescu
Had a good chuckle: http://buztech.org/read-d-programming-ebooks-lesson-1-getting-started.html Andrei

Re: GoingNative 6: The D Episode with Walter Bright and Andrei Alexandrescu

2012-02-24 Thread Andrei Alexandrescu
On 2/23/12 11:09 PM, Alex Rønne Petersen wrote: On 24-02-2012 05:06, Jeff Nowakowski wrote: On 02/23/2012 11:57 AM, Alex Rønne Petersen wrote: I still cannot fathom how the Scala guys thought using the JVM was a good idea. It gave them a good garbage collector (an area that has held D's perf

Re: GoingNative 6: The D Episode with Walter Bright and Andrei Alexandrescu

2012-02-24 Thread Andrei Alexandrescu
On 2/23/12 10:06 PM, Jeff Nowakowski wrote: On 02/23/2012 11:57 AM, Alex Rønne Petersen wrote: I still cannot fathom how the Scala guys thought using the JVM was a good idea. It gave them a good garbage collector (an area that has held D's performance back for years) And still is, unfortuna

Re: GoingNative 6: The D Episode with Walter Bright and Andrei Alexandrescu

2012-02-23 Thread Andrei Alexandrescu
On 2/22/12 9:51 PM, bearophile wrote: Regarding the comparison between dynamic languages like Python or Ruby and D: what Andrei has said is not fully fair. A simple common scripting task: read the lines of a text file and put them in a hash. This is probably faster in Python compared to D. I as

Re: GoingNative 6: The D Episode with Walter Bright and Andrei Alexandrescu

2012-02-23 Thread Andrei Alexandrescu
On 2/23/12 6:22 AM, MattCodr wrote: On Wednesday, 22 February 2012 at 00:39:17 UTC, Walter Bright wrote: http://channel9.msdn.com/Shows/C9-GoingNative/GoingNative-6-The-D-Episode-with-Walter-Bright-and-Andrei-Alexandrescu You want 1 million users? Simple... is just Andrei start saying that

Inheriting purity DDJ blog by Walter on reddit

2012-02-23 Thread Andrei Alexandrescu
http://www.reddit.com/r/programming/comments/q2pmd/inheriting_purity_in_the_d_programming_language/ Andrei

Re: GoingNative 6: The D Episode with Walter Bright and Andrei Alexandrescu

2012-02-21 Thread Andrei Alexandrescu
On 2/21/12 6:39 PM, Walter Bright wrote: http://channel9.msdn.com/Shows/C9-GoingNative/GoingNative-6-The-D-Episode-with-Walter-Bright-and-Andrei-Alexandrescu On reddit: http://www.reddit.com/r/programming/comments/q09su/c9goingnative_6_the_d_episode_with_walter_bright/ Andrei

Please try rdmd on large projects

2012-02-20 Thread Andrei Alexandrescu
Hello, I just submitted (https://github.com/D-Programming-Language/tools/commit/c77b870fdc5674d7434b03d1767ba831eaac25b1) a change to rdmd that runs one thread per stat when comparing file dates, using David's excellent std.parallelism. In my experiment the change introduces no additional l

Re: "Programming in D" book, Parallelism chapter

2012-02-20 Thread Andrei Alexandrescu
On 2/20/12 1:12 AM, Ali Çehreli wrote: I have continued working on the book. 1) Translated the Parallelism chapter: http://ddili.org/ders/d.en/parallelism.html Excellent work. I submitted this to reddit, and left the others for a future announcement. http://www.reddit.com/r/programming/com

Re: DUnit - class MyTest { mixin TestMixin; void testMethod1() {} void testMethod2() {}}

2012-02-19 Thread Andrei Alexandrescu
On 2/19/12 9:30 AM, Juan Manuel Cabo wrote: People of the D world.. I give you DUnit (not to be confused with an old tango DUnit, this one is for >= D2.057, and doesn't really require phobos or tango (just you version the few writeln's of the runner, and maybe something else)). https://github.co

Re: dmd 1.073 and 2.058 release

2012-02-14 Thread Andrei Alexandrescu
On 2/14/12 10:47 PM, Walter Bright wrote: Anyone care to count up the number of bug fixes here? http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.073.zip http://www.digitalmars.com/d/2.0/changelog.html https://github.com/downloads/D-Programming-Language/dmd/dmd.2.

Re: D forums now live!

2012-02-14 Thread Andrei Alexandrescu
On 2/14/12 4:31 PM, Andrei Alexandrescu wrote: On reddit: http://www.reddit.com/r/programming/comments/ppre5/the_new_d_online_forum_software_written_in_d/ Wow. Just WOW. At 80% acceptance rate and a ton of positive comments, the link is a home run. Did Vladimir just wrote D's killer app?

Re: D forums now live!

2012-02-14 Thread Andrei Alexandrescu
On 2/14/12 4:00 PM, Walter Bright wrote: http://forum.dlang.org/ This should replace the old miserable web interface to the forums. Thanks to Vladimir Panteleev for an awesome job writing this! On reddit: http://www.reddit.com/r/programming/comments/ppre5/the_new_d_online_forum_software_writ

Re: GSoC will open soon

2012-02-05 Thread Andrei Alexandrescu
On 2/5/12 10:22 PM, dsimcha wrote: On 2/5/2012 5:16 PM, Andrei Alexandrescu wrote: We intend to participate. Please start making project plans! http://google-opensource.blogspot.com/2012/02/google-summer-of-code-2012-is-on.html Andrei Where/how should we post the plans? Do we want to

GSoC will open soon

2012-02-05 Thread Andrei Alexandrescu
We intend to participate. Please start making project plans! http://google-opensource.blogspot.com/2012/02/google-summer-of-code-2012-is-on.html Andrei

Re: 4x speedup of recursive rmdir in std.file

2012-02-05 Thread Andrei Alexandrescu
On 2/5/12 3:04 PM, Jay Norwood wrote: I can tell you that there are a couple of seconds improvement in the execution time running 16 threads vs 8 on the i7 on the ssd drive, so we aren't keeping all the cores busy with 8 threads. I suppose they are all blocked waiting for file system operations f

Re: 4x speedup of recursive rmdir in std.file

2012-02-05 Thread Andrei Alexandrescu
On 2/5/12 10:16 AM, Nick Sabalausky wrote: "Jay Norwood" wrote in message news:jgm5vh$hbe$1...@digitalmars.com... == Quote from Nick Sabalausky (a@a.a)'s article Interesting. How does it perform when just running on one core? The library without the threads is 1 min 5 secs for the 1.5GB dire

GoingNative 2012 to be livestreamed tomorrow

2012-02-01 Thread Andrei Alexandrescu
I'm announcing this here because inevitably D will be mentioned during the panel with Bjarne Stroustrup, Herb Sutter, Hans Boehm, and myself. See you online! http://www.reddit.com/r/programming/comments/p71w6/goingnative_2012_livestreamed_for_free_feb_23/ Andrei

Re: Tango for D2: All user modules ported

2012-02-01 Thread Andrei Alexandrescu
On reddit: http://www.reddit.com/r/programming/comments/p5xzk/tango_library_for_d2_initial_port_finished/ Andrei

Re: Tango for D2: All user modules ported

2012-02-01 Thread Andrei Alexandrescu
On 1/31/12 8:59 PM, SiegeLord wrote: Hello everyone, Just wanted to put out an announcement with a progress report on porting effort of Tango. For those that don't know what it is, Tango is a framework library that used to be/is the de facto standard library of D1. This is awesome. Thanks for

Re: A tutorial on D templates: updates

2012-01-29 Thread Andrei Alexandrescu
On 1/29/12 11:56 PM, Philippe Sigaud wrote: On Mon, Jan 30, 2012 at 06:16, Andrei Alexandrescu wrote: Great! Just give me the green light when you feel this is reddit-publishable. That should be OK now, thanks. Let it ride! http://www.reddit.com/r/programming/comments/p2qfd

Re: Server-Side magazine interview, touches on D

2012-01-29 Thread Andrei Alexandrescu
On 1/29/12 4:52 PM, Adam D. Ruppe wrote: On Sunday, 29 January 2012 at 22:34:19 UTC, Andrei Alexandrescu wrote: I wish I’d convince a serious hacker to bring things to the point where could be inserted in a web page. That's very easy. About 100 lines of simple string manipulation mak

Re: A tutorial on D templates: updates

2012-01-29 Thread Andrei Alexandrescu
On 1/29/12 2:44 PM, Philippe Sigaud wrote: Hello, I posted there a few weeks ago about a tutorial on D templates I put in github: https://github.com/PhilippeSigaud/D-templates-tutorial/blob/master/dtemplates.pdf Since then, I received numerous mails, issues, advices and thanks. Thank to you a

Re: Server-Side magazine interview, touches on D

2012-01-29 Thread Andrei Alexandrescu
On 1/29/12 4:34 PM, Andrei Alexandrescu wrote: http://www.serversidemagazine.com/news/10-questions-with-facebook-research-engineer-andrei-alexandrescu/ Should have looked first, it's on reddit already. Please vote up :o). http://www.reddit.com/r/programming/comments/

Server-Side magazine interview, touches on D

2012-01-29 Thread Andrei Alexandrescu
http://www.serversidemagazine.com/news/10-questions-with-facebook-research-engineer-andrei-alexandrescu/ Andrei

Re: Modern COM Programming in D

2012-01-25 Thread Andrei Alexandrescu
On 1/24/12 9:10 PM, Walter Bright wrote: On 1/24/2012 5:07 PM, Lionello Lunesu wrote: Done: http://lunesu.com/uploads/ModernCOMProgramminginD.pdf Added to interface.html http://www.reddit.com/r/programming/comments/ow7qc/modern_com_programming_in_d/ Andrei

Re: http://dlang.org/bugstats.php

2012-01-23 Thread Andrei Alexandrescu
On 1/22/12 6:17 PM, Piotr Szturmaj wrote: DISPLAY=$(TR $(TD $(LINK2 http://d.puremagic.com/issues/buglist.cgi?$2, $1)) $(TD )) Did so. On Chrome things look the same. Is there improvement on other browsers? Thanks, Andrei

Re: http://dlang.org/bugstats.php

2012-01-22 Thread Andrei Alexandrescu
On 1/22/12 3:37 PM, Simen Kjærås wrote: The dates on the chart look completely random. Perhaps a tick for each month, and text only for each year? 5000.000 is a silly number of bugs, just like 3.1415926535897932 is a silly number of bugs. Get rid of the decimals. The scope should be limited to

Re: http://dlang.org/bugstats.php

2012-01-22 Thread Andrei Alexandrescu
On 1/22/12 1:55 AM, Daniel Murphy wrote: The bugzilla links up the top don't work for me. Do they work now? Are you inculding dups in the resolved count? Everything with the status RESOLVED, so I think so. Andrei

http://dlang.org/bugstats.php

2012-01-21 Thread Andrei Alexandrescu
We just put together a page that counts the bugs per category. It's linked from "Bug tracker" in the navigation panel. http://dlang.org/bugstats.php The format is sketchy. Looking forward to your suggestions for improvements. Andrei

Re: DMD 2.x compiler in Arch Linux repo

2012-01-16 Thread Andrei Alexandrescu
On 1/16/12 2:05 PM, Михаил Страшун wrote: Are there any negative consequences of doing this? :) Sorry, I know close to nothing about reddit. The news must be noteworthy. My question is basically "Is this an interesting piece of news, or something minor"? Andrei

Re: update.sh

2012-01-16 Thread Andrei Alexandrescu
On 1/16/12 5:46 AM, Nick Sabalausky wrote: I don't mean to say that your tool is bad or that you shouldn't have made it, but the issues you addressed with DVM can be fixed, and really, I've been detecting a bit of NIH coming from your general direction. I've noticed that any time you want somethi

Re: update.sh

2012-01-16 Thread Andrei Alexandrescu
On 1/16/12 9:22 AM, Jesse Phillips wrote: With that change it is likely you'll want to change update to use upstream instead of origin. Though it is probably dependent on if the user has upstream which I don't know of a good way to check. Or you could just require those to have an upstream. http

Re: update.sh

2012-01-16 Thread Andrei Alexandrescu
On 1/16/12 3:02 AM, Jacob Carlborg wrote: A large list of dependencies?? The only runtime dependency is zlib. That's in the case we want to include it in tools/. Andrei

Re: update.sh

2012-01-16 Thread Andrei Alexandrescu
On 1/16/12 1:18 AM, Jacob Carlborg wrote: On 2012-01-16 06:20, Nick Sabalausky wrote: "Andrei Alexandrescu" wrote in message news:jevr6q$8vp$1...@digitalmars.com... I just added a handy script, tools/update.sh. https://github.com/D-Programming-Language/to

Re: update.sh

2012-01-15 Thread Andrei Alexandrescu
On 1/15/12 11:07 PM, Jordi Sayol wrote: Now it works! But always compiles to 32-bit. Can it pass MODEL=xx to make? Done. https://github.com/D-Programming-Language/tools/commit/f4af4d29a66e5152da92e28550a607d1252840e4 Andrei

Re: update.sh

2012-01-15 Thread Andrei Alexandrescu
On 1/15/12 9:15 PM, Jesse Phillips wrote: Note that the line shown is using pulling as the D-Programming-Language organization, so only members there will have such access. You could use the read only version: git://github.com/D-Programming-Language/tools.git I might suggest using: git clone -

Re: update.sh

2012-01-15 Thread Andrei Alexandrescu
On 1/15/12 7:39 PM, Jordi Sayol wrote: Al 16/01/12 01:32, En/na Andrei Alexandrescu ha escrit: I just added a handy script, tools/update.sh. https://github.com/D-Programming-Language/tools/commit/cc4e3c07c2ebb19dbb90c2d29c828f5fb714e605 It's useful for people who work on dmd and wa

Re: A tutorial on D templates

2012-01-15 Thread Andrei Alexandrescu
On 1/15/12 4:19 PM, Philippe Sigaud wrote: On Sun, Jan 15, 2012 at 17:00, Ali Çehreli wrote: I do think a big range tutorial is overdue. Andrei's article is good, but we need something a bit more detailed / for newbies I am hoping that this is good enough for now: http://ddili.org/ders/d

Re: DMD 2.x compiler in Arch Linux repo

2012-01-15 Thread Andrei Alexandrescu
On 1/15/12 4:16 PM, Михаил Страшун wrote: http://www.archlinux.org/packages/?q=dmd Since today 2.x branch of dmd is in Arch Linux [community] repo, replacing 1.x branch. Awesome! Should I announce that on reddit? Andrei

update.sh

2012-01-15 Thread Andrei Alexandrescu
I just added a handy script, tools/update.sh. https://github.com/D-Programming-Language/tools/commit/cc4e3c07c2ebb19dbb90c2d29c828f5fb714e605 It's useful for people who work on dmd and want to either download anew or freshen their repositories. Comments and ideas are welcome. Andrei

Re: A tutorial on D templates

2012-01-14 Thread Andrei Alexandrescu
On 1/14/12 6:54 PM, Georg Wrede wrote: On 01/14/2012 08:45 PM, Walter Bright wrote: On 1/14/2012 7:05 AM, Jeff Nowakowski wrote: On 01/14/2012 03:16 AM, Walter Bright wrote: Minor stylistic nit pet peeve of mine: please remove the word "you" and "your" from the prose. That sounds a bit stri

Re: A tutorial on D templates

2012-01-14 Thread Andrei Alexandrescu
On 1/14/12 3:04 PM, Philippe Sigaud wrote: On Sat, Jan 14, 2012 at 21:07, Andrei Alexandrescu wrote: On 1/14/12 5:21 AM, Philippe Sigaud wrote: Uh, I don't think it'll ever be a book. I didn't write it with a book in mind. It's organized as a book (TOC, index, st

Re: A tutorial on D templates

2012-01-14 Thread Andrei Alexandrescu
Since we're on this topic I can't stop picking - all in good fun I hope - on Jonathan, the master of words. The following two sentences convey the same exact information: 1. There are certainly times when reducing how much "you" is used reduces the amount of text at no extra cost, but there a

Re: A tutorial on D templates

2012-01-14 Thread Andrei Alexandrescu
On 1/14/12 5:21 AM, Philippe Sigaud wrote: Uh, I don't think it'll ever be a book. I didn't write it with a book in mind. It's organized as a book (TOC, index, structure) and has 141 pages with quite a few more to come. At this point it would be more difficult to make it /not/ a book. Andr

Re: A tutorial on D templates

2012-01-14 Thread Andrei Alexandrescu
On 1/14/12 12:26 PM, Walter Bright wrote: On 1/14/2012 12:36 AM, Jonathan M Davis wrote: I confess that it's a bit of a pet peeve of mine when people insist on avoiding words like you and your. I completely disagree that it's a problem. And there are times where avoiding it can cause problems an

Re: A tutorial on D templates

2012-01-14 Thread Andrei Alexandrescu
On 1/14/12 11:08 AM, Philippe Sigaud wrote: On Sat, Jan 14, 2012 at 16:56, Andrei Alexandrescu wrote: On 1/13/12 3:20 PM, Philippe Sigaud wrote: https://github.com/PhilippeSigaud/D-templates-tutorial/blob/master/dtemplates.pdf (click on View Raw) If you have any comment, criticism

Re: A tutorial on D templates

2012-01-14 Thread Andrei Alexandrescu
On 1/14/12 10:57 AM, Philippe Sigaud wrote: On Sat, Jan 14, 2012 at 17:00, Andrei Alexandrescu wrote: On 1/14/12 9:56 AM, Andrei Alexandrescu wrote: [snip] Oh, one more thing. It would be great to make the explanatory boxes either floats, sidebars, or \mbox{}es so they don't span more

Re: A tutorial on D templates

2012-01-14 Thread Andrei Alexandrescu
On 1/14/12 9:56 AM, Andrei Alexandrescu wrote: [snip] Oh, one more thing. It would be great to make the explanatory boxes either floats, sidebars, or \mbox{}es so they don't span more than one page. Look what happened with "Specializations or static if or Templates Constraints?&q

Re: A tutorial on D templates

2012-01-14 Thread Andrei Alexandrescu
On 1/13/12 3:20 PM, Philippe Sigaud wrote: https://github.com/PhilippeSigaud/D-templates-tutorial/blob/master/dtemplates.pdf (click on View Raw) If you have any comment, criticism, explanation, what have you, I'm game. This is great! Should I post to reddit, or hold off a bit more? The docum

Native OSX/64 codegen: "Complex code, incomprehensible documentation, what's not to like?"

2011-12-27 Thread Andrei Alexandrescu
http://www.reddit.com/r/programming/comments/nsj7d/native_osx64_codegen_complex_code/ Andrei

Re: Downloading dmd.2.057.zip

2011-12-23 Thread Andrei Alexandrescu
On 12/22/11 10:06 PM, Vladimir Panteleev wrote: On Friday, 23 December 2011 at 04:01:28 UTC, Walter Bright wrote: For those where the download speed from the Digital Mars server is too slow: https://github.com/downloads/D-Programming-Language/dmd/dmd.2.057.zip I'm seeing a 10x speed increase!

Re: dmd 2.057 release

2011-12-14 Thread Andrei Alexandrescu
On 12/14/11 1:05 AM, Walter Bright wrote: Highlights are use of XMM floating point registers in 64 bit targets, and now supporting OS X 64 as a target. http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.057.zip A lot of people put a ton of effort into making this D

Re: dmd 2.057 release

2011-12-14 Thread Andrei Alexandrescu
On 12/14/11 1:44 AM, Walter Bright wrote: On 12/13/2011 11:18 PM, Jacob Carlborg wrote: On 2011-12-14 08:09, Bernard Helyer wrote: Changelog isn't showing up for me. Same here, latest change log is 2.056, which is empty. Andrei's working on uploading it. Sorry about the delay. Yah, sorry

Re: New homepage design of d-p-l.org is now live.

2011-12-14 Thread Andrei Alexandrescu
On 12/12/11 7:46 PM, Stewart Gordon wrote: On 06/12/2011 05:44, Andrei Alexandrescu wrote: http://d-p-l.org Andrei Why does it have an HTML 4.01 doctype but then go on to use XHTML syntax??? Stewart. I wouldn't know. What needs to be done? Andrei

Re: ldc new feature

2011-12-08 Thread Andrei Alexandrescu
On 12/8/11 6:52 AM, bioinfornatics wrote: Dear, I am pleased to announce the new features. LDC is now offering the flag-shared-lib and libraries to create static and dynamic. The latest version of ldc works with llvm 3.0 and uses dmdfe 2056. The project ldc sees increased the number of contributo

<    7   8   9   10   11   12   13   14   15   16   >