Re: D forums now live!

2012-02-19 Thread Vladimir Panteleev
On Thursday, 16 February 2012 at 13:22:43 UTC, bearophile wrote: A screen grab: http://oi39.tinypic.com/2s7e1dy.jpg I'm not quite sure what browser or configuration you're using, but the screenshot does not represent the intended look of the forums. At first sight there are three things I

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

2012-02-19 Thread Juan Manuel Cabo
Unit testing framework ('dunit') Allows to define unittests simply as methods which names start with 'test'. The only thing necessary to create a unit test class, is to declare the mixin TestMixin inside the class. This will register the class and its test methods for the test runner. License:

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

2012-02-19 Thread Juan Manuel Cabo
Interesting, congrats. A common question that will come up is comparing, contrasting, and integrating your work with the existing unittest language feature. You may want to address these issues directly in the documentation. Thanks!! I'll put it in the doc (and also clean up my crude

Re: D forums now live!

2012-02-19 Thread Vladimir Panteleev
On Sunday, 19 February 2012 at 16:16:29 UTC, bearophile wrote: That's the latest Firefox release, I have not used scripts to modify the page rendering, I have used two Firefox options present in its regular graphical menu. Other people where I work, and friends or mine, use similar settings.

Re: D forums now live!

2012-02-19 Thread bearophile
Vladimir Panteleev: This is a limitation of the format used to transmit mail and NNTP messages over the Internet (not all clients create messages with reflow information). I have just done some tests, and I've seen that the lines I am seeing on the screen in various moments are shorter

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

2012-02-19 Thread Jacob Carlborg
On 2012-02-19 19:18, Juan Manuel Cabo wrote: Interesting, congrats. A common question that will come up is comparing, contrasting, and integrating your work with the existing unittest language feature. You may want to address these issues directly in the documentation. Thanks!! I'll put it

Re: D forums now live!

2012-02-19 Thread Vladimir Panteleev
On Sunday, 19 February 2012 at 19:24:46 UTC, bearophile wrote: Vladimir Panteleev: This is a limitation of the format used to transmit mail and NNTP messages over the Internet (not all clients create messages with reflow information). I have just done some tests, and I've seen that the

Re: D forums now live!

2012-02-19 Thread Vladimir Panteleev
On Thursday, 16 February 2012 at 13:22:43 UTC, bearophile wrote: - All those thick boxes inside boxes waste too much screen surface that's better used for the actual messages text. I just noticed that the dlang.org style was updated some time in the past few months to have less borders and

Re: D forums now live!

2012-02-19 Thread bearophile
Vladimir Panteleev: Please see RFC 2646. Not all UAs implement it. I don't know what UAs means, acronyms don't help communication a lot. And it's not a matter of browser. The problem is: the design of those HTML pages doesn't leave enough horizontal space to the text area. Bye, bearophile

Re: D forums now live!

2012-02-19 Thread Vladimir Panteleev
On Sunday, 19 February 2012 at 20:34:48 UTC, bearophile wrote: Vladimir Panteleev: Please see RFC 2646. Not all UAs implement it. I don't know what UAs means, acronyms don't help communication a lot. I assumed that someone who claims to have HTML design sense would be familiar with the

Released fluent-logger-d

2012-02-19 Thread Masahiro Nakagawa
Hi guys, I announce the client library for Fluentd. Fluentd is a missing log collector. It's a hot project. If you want to know the overview of Fluentd, the slide is on slideshare. http://www.slideshare.net/treasure-data/fluentd-meetup-in-japan-11410514 And document is here:

Re: D forums now live!

2012-02-19 Thread bearophile
Vladimir Panteleev: I assumed that someone who claims to have HTML design sense would be familiar with the acronym for User-Agent ;) That's named acronym sense, I often fail at it on computer topics :-) The forum starts looking bad for me when I make the browser window smaller than 730

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,

Programming in D book, Parallelism chapter

2012-02-19 Thread Ali Çehreli
I have continued working on the book. 1) Translated the Parallelism chapter: http://ddili.org/ders/d.en/parallelism.html 2) Translated more chapters from the beginning of the book: * Redirecting Standard Input and Output Streams * Files * auto and typeof * Name Space * The for Loop * The

libexif bindings in Deimos

2012-02-19 Thread Lars T. Kyllingstad
A couple of years ago I ported the libexif C headers to D for a hobby project. The project itself never went anywhere, but I did complete the bindings. I have cleaned them up a bit and uploaded them to Deimos in the hope that they may be useful for someone else: