Re: DConf 2013 Day 3 Talk 1: Metaprogramming in the Real World by Don Clugston

2013-06-12 Thread Juan Manuel Cabo
On 06/11/2013 09:33 AM, Andrei Alexandrescu wrote: Reddit: http://www.reddit.com/r/programming/comments/1g47df/dconf_2013_metaprogramming_in_the_real_world_by/ Hackernews: https://news.ycombinator.com/item?id=5861237 Twitter: https://twitter.com/D_Programming/status/344431490257526785

Re: DConf 2013 Day 2 Talk 5: A Precise Garbage Collector for D by Rainer Schütze

2013-06-12 Thread Juan Manuel Cabo
On 06/05/2013 10:23 AM, Andrei Alexandrescu wrote: Reddit: http://www.reddit.com/r/programming/comments/1fpw2r/dconf_2013_day_2_talk_5_a_precise_garbage/ Hackernews: https://news.ycombinator.com/item?id=5825320 Twitter: https://twitter.com/D_Programming/status/342269600689430529

Re: DConf 2013 Day 2 Talk 5: A Precise Garbage Collector for D by Rainer Schütze

2013-06-12 Thread Juan Manuel Cabo
On 06/05/2013 10:23 AM, Andrei Alexandrescu wrote: Reddit: http://www.reddit.com/r/programming/comments/1fpw2r/dconf_2013_day_2_talk_5_a_precise_garbage/ Hackernews: https://news.ycombinator.com/item?id=5825320 Twitter: https://twitter.com/D_Programming/status/342269600689430529

Re: xUnit Testing Framework for D

2013-06-12 Thread Juan Manuel Cabo
On 06/12/2013 07:15 PM, Mario Kroeplin wrote: Here is the 'dunit' mentioned in the talk by Stefan Rohe: https://github.com/linkrope/dunit D-stroy ;-) I'm glad that dunit was of use to you and that the fork went well. I'm sorry I couldn't follow up on it. --jm

Re: DConf 2013 Day 2 Talk 3: C# to D by Adam Wilson

2013-05-31 Thread Juan Manuel Cabo
On 05/31/2013 09:33 AM, Andrei Alexandrescu wrote: http://www.reddit.com/r/programming/comments/1feem1/dconf_2013_day_2_talk_3_from_c_to_d_by_adam_wilson/ {Enj,Destr}oy! Andrei Just watched it over lunch and I liked this talk very much. For transforming pieces of code I very often write

Re: DConf 2013 Day 2 Talk 3: C# to D by Adam Wilson

2013-05-31 Thread Juan Manuel Cabo
On 05/31/2013 05:18 PM, Nick Sabalausky wrote: On Fri, 31 May 2013 15:29:40 +0100 Regan Heath re...@netmail.co.nz wrote: I have old SHA etc hashing routines in old style D, this makes me want to spend some time bringing them up to date... http://dlang.org/phobos/std_digest_sha.html

Re: DConf 2013 Day 2 Talk 3: C# to D by Adam Wilson

2013-05-31 Thread Juan Manuel Cabo
On 05/31/2013 03:42 PM, Steven Schveighoffer wrote: [..] I would love to say that I have set aside enough time to do it, but it's very difficult to find the time :( I hate to commit to a certain time frame, I have done that here in the past and have been very wrong with my expectations.

Re: DConf 2013 Day 1 Talk 6: Concurrent Garbage Collection for D by Leandro Lucarella

2013-05-24 Thread Juan Manuel Cabo
On Monday, 20 May 2013 at 12:50:23 UTC, Andrei Alexandrescu wrote: On reddit: http://www.reddit.com/r/programming/comments/1eovfu/dconf_2013_day_1_talk_6_concurrent_garbage/ Enjoy! Discuss!! Vote!!! Andrei I know that this is slightly offtopic, since the topic lately seems to be how to

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

2012-03-26 Thread Juan Manuel Cabo
On Tuesday, 27 March 2012 at 00:58:26 UTC, Ary Manzana wrote: On 3/23/12 4:11 PM, Juan Manuel Cabo wrote: On Friday, 23 March 2012 at 06:51:48 UTC, James Miller wrote: Dude, this is awesome. I tend to just use time, but if I was doing anything more complicated, I'd use this. I would suggest

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

2012-03-26 Thread Juan Manuel Cabo
On Thursday, 22 March 2012 at 17:13:58 UTC, Manfred Nowak wrote: Juan Manuel Cabo wrote: like the unix 'time' command `version linux' is missing. -manfred Done!, it works in windows now too. (release 0.5 in github). --jm

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

2012-03-26 Thread Juan Manuel Cabo
On Tuesday, 27 March 2012 at 03:39:56 UTC, Ary Manzana wrote: On Tuesday, 27 March 2012 at 01:19:22 UTC, Juan Manuel Cabo wrote: On Tuesday, 27 March 2012 at 00:58:26 UTC, Ary Manzana wrote: On 3/23/12 4:11 PM, Juan Manuel Cabo wrote: On Friday, 23 March 2012 at 06:51:48 UTC, James Miller

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

2012-03-23 Thread Juan Manuel Cabo
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 get are very concentrated around the minimum. Andrei

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

2012-03-23 Thread Juan Manuel Cabo
On Thursday, 22 March 2012 at 17:13:58 UTC, Manfred Nowak wrote: Juan Manuel Cabo wrote: like the unix 'time' command `version linux' is missing. -manfred Linux only for now. Will make it work in windows this weekend. I hope that's what you meant. --jm

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

2012-03-23 Thread Juan Manuel Cabo
On Friday, 23 March 2012 at 06:51:48 UTC, James Miller wrote: Dude, this is awesome. I tend to just use time, but if I was doing anything more complicated, I'd use this. I would suggest changing the name while you still can. avgtime is not that informative a name given that it now does more

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

2012-03-23 Thread Juan Manuel Cabo
On Friday, 23 March 2012 at 05:51:40 UTC, Manfred Nowak wrote: | For samples, if it is known that they are drawn from a symmetric | distribution, the sample mean can be used as an estimate of the | population mode. I'm not printing the population mode, I'm printing the 'sample mode'. It

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

2012-03-23 Thread Juan Manuel Cabo
On Friday, 23 March 2012 at 15:33:18 UTC, Andrei Alexandrescu wrote: 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

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

2012-03-23 Thread Juan Manuel Cabo
On Friday, 23 March 2012 at 10:51:37 UTC, 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. /** Inverse of Student's t distribution * [.] Great!!! Thank you soo much Don!!! --jm

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

2012-03-23 Thread Juan Manuel Cabo
On Friday, 23 March 2012 at 05:26:54 UTC, Nick Sabalausky wrote: Wow, that's just fantastic! Really, this should be a standard system tool. I think this guy would be proud: http://zedshaw.com/essays/programmer_stats.html Thanks for the good vibes! Hahahhah, that article is so ing

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

2012-03-22 Thread Juan Manuel Cabo
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: nontrivial but informative.) Andrei Thanks for

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

2012-03-21 Thread Juan Manuel Cabo
On Saturday, 17 March 2012 at 12:30:49 UTC, Marc P. Michel wrote: On Monday, 20 February 2012 at 01:49:04 UTC, Juan Manuel Cabo wrote: I thought I could do a better effort to describe why DUnit is so extraordinary, for a native language, especially for those unfamiliar with xUnit frameworks

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

2012-03-21 Thread Juan Manuel Cabo
On Sunday, 18 March 2012 at 11:05:59 UTC, Marc P. Michel wrote: Oh and also, changing version(linux) with version(Posix) for the color output management would be great. ( I'm on FreeBSD and was wondering why I had no colors as advertised :} ). Yeahp, will fix it. Sorry! Thanks for finding

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

2012-03-21 Thread Juan Manuel Cabo
On Wednesday, 21 March 2012 at 20:04:39 UTC, Rio wrote: On Wednesday, 21 March 2012 at 17:29:59 UTC, Juan Manuel Cabo wrote: Btw, here is the whole list: http://www.junit.org/junit/javadoc/3.8.1/junit/framework/Assert.html Do you have any thoughts? Be careful: for JUnit 4

avgtime - Small D util for your everyday benchmarking needs

2012-03-21 Thread Juan Manuel Cabo
This is a small util I wrote in D which is like the unix 'time' command but can repeat the command N times and show median, average, standard deviation, minimum and maximum. As you all know, it is not proper to conclude that a program is faster than another program by running them just once.

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

2012-03-21 Thread Juan Manuel Cabo
On Thursday, 22 March 2012 at 01:37:19 UTC, Tove wrote: Awesome, I do have a tiny feature request for the next version... a commandline switch to enable automatically discarding the first run as an outlier. /Tove Done, I just put it in github. (-d switch). But maybe you should be looking

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

2012-02-21 Thread Juan Manuel Cabo
We want to have many users. dUsers ~= (juanManuel); :-) :-) :-) --jm On 02/21/2012 09:39 PM, Walter Bright wrote: http://channel9.msdn.com/Shows/C9-GoingNative/GoingNative-6-The-D-Episode-with-Walter-Bright-and-Andrei-Alexandrescu

Re: Please try rdmd on large projects

2012-02-20 Thread Juan Manuel Cabo
GOOD! Is the missing chmod problem fixable? So that the binary has the same permissions as the D file? If my D file is not readable or runnable by 'other', the binary shouldn't be either. (the cached .deps should have the same readability as the D file too perhaps). I think that this is the big

Re: Please try rdmd on large projects

2012-02-20 Thread Juan Manuel Cabo
AM, Juan Manuel Cabo wrote: GOOD! Is the missing chmod problem fixable? So that the binary has the same permissions as the D file? If my D file is not readable or runnable by 'other', the binary shouldn't be either. (the cached .deps should have the same readability as the D file too

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

2012-02-19 Thread Juan Manuel Cabo
: a href=http://www.boost.org/LICENSE_1_0.txt;Boost License 1.0/a. Authors: Juan Manuel Cabo Version: 0.3 Source:dunit.d Last update: 2012-02-19 Copyright Juan Manuel Cabo 2012. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt

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

2012-02-19 Thread Juan Manuel Cabo
at 16:36:53 UTC, Andrei Alexandrescu wrote: 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

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

2012-02-19 Thread Juan Manuel Cabo
I thought I could do a better effort to describe why DUnit is so extraordinary, for a native language, especially for those unfamiliar with xUnit frameworks or TDD. So here it goes: *What is a unit test* Unit tests, ideally, test a specific functionality in isolation, so that if the test fails,