Re: color library

2015-06-22 Thread Rikki Cattermole via Digitalmars-d
asked for. I just want functions to tell me if it is loosing or gaining precision in the conversion. That way it can be e.g. logged. On 22 June 2015 at 18:55, Rikki Cattermole via Digitalmars-d wrote: On 22/06/2015 8:45 p.m., Andrea Fontana wrote: On Monday, 22 June 2015 at 08:08:42 UTC,

Re: color library

2015-06-22 Thread Rikki Cattermole via Digitalmars-d
On 22/06/2015 8:45 p.m., Andrea Fontana wrote: On Monday, 22 June 2015 at 08:08:42 UTC, Rikki Cattermole wrote: Why would IImage support alpha? Shouldn't that be on the color? If so, the PR does support it see RGBA8 and friends. I said "on color or IImage". Anyway transparency is a property (

Re: color library

2015-06-22 Thread Rikki Cattermole via Digitalmars-d
On 22/06/2015 7:55 p.m., Andrea Fontana wrote: On Sunday, 21 June 2015 at 15:42:39 UTC, Rikki Cattermole wrote: interface IImage(COLOR) { @property { size_t width() @nogc nothrow; size_t height() @nogc nothrow; void* storage() @nogc nothrow; } COLOR pixelAt(s

Re: Naming things

2015-06-22 Thread Rikki Cattermole via Digitalmars-d
On 22/06/2015 7:17 p.m., Mike wrote: On Saturday, 20 June 2015 at 09:27:16 UTC, Vladimir Panteleev wrote: Two examples of controversial name pairs: setExt/setExtension, and toLower/toLowerCase. These functions have the same functionality, but one of them is eager, and the other is lazy. Can you

Re: Future(s) for D.

2015-06-21 Thread Rikki Cattermole via Digitalmars-d
On 22/06/2015 10:02 a.m., Etienne Cimon wrote: On Sunday, 21 June 2015 at 19:08:47 UTC, Jacob Carlborg wrote: On 20/06/15 16:00, Etienne wrote: Yep, looks like we already have better. I don't understand how D hasn't fully picked up in Web Dev at this point. Are they expecting an e-commerce/blo

Re: color library

2015-06-21 Thread Rikki Cattermole via Digitalmars-d
On Sunday, 21 June 2015 at 10:10:14 UTC, Rikki Cattermole wrote: On 21/06/2015 9:11 p.m., Manu via Digitalmars-d wrote: I've been working on a submission for a std.color library. I'm starting to become happy with it. I'd like to get API criticism/review, such that if there are no more major cha

Re: color library

2015-06-21 Thread Rikki Cattermole via Digitalmars-d
On 21/06/2015 9:11 p.m., Manu via Digitalmars-d wrote: I've been working on a submission for a std.color library. I'm starting to become happy with it. I'd like to get API criticism/review, such that if there are no more major changes, then I'll start the fine-details and documenting. https://gi

Re: Martin Nowak is officially MIA

2015-06-19 Thread Rikki Cattermole via Digitalmars-d
On 20/06/2015 9:03 a.m., Brad Anderson wrote: On Friday, 19 June 2015 at 21:00:27 UTC, Brad Anderson wrote: On Friday, 19 June 2015 at 19:27:09 UTC, Nick Sabalausky wrote: On 06/19/2015 02:41 PM, "Jacques =?UTF-8?B?TcO8bGxlciI=?= " wrote: You could use a teamchat like Slack, HipChat, ChatGrap

Re: Better forums

2015-06-18 Thread Rikki Cattermole via Digitalmars-d
On 18/06/2015 5:17 p.m., Vladimir Panteleev wrote: On Thursday, 18 June 2015 at 04:01:42 UTC, Rikki Cattermole wrote: Actually I'm in agreement with Vladimir. NNTP as a backend system works rather well. And personally I was quite surprised at this. BTW, here's a quick chart I made of how peopl

Re: D could catch this wave: web assembly

2015-06-18 Thread Rikki Cattermole via Digitalmars-d
On 18/06/2015 8:05 p.m., John Colvin wrote: This appears to have involvement from all major browser vendors, which provides hope it might actually catch on properly. An llvm backend will be created which will compile to "wasm", hopefully LDC and/or SDC could glue to this. https://www.w3.org/comm

Re: Better forums

2015-06-17 Thread Rikki Cattermole via Digitalmars-d
On 18/06/2015 4:25 p.m., Joakim wrote: On Thursday, 18 June 2015 at 04:01:42 UTC, Rikki Cattermole wrote: Actually I'm in agreement with Vladimir. NNTP as a backend system works rather well. And personally I was quite surprised at this. No, we could easily add tags just prepend them as: [GUI][S

Re: Martin Nowak is officially MIA

2015-06-17 Thread Rikki Cattermole via Digitalmars-d
On 18/06/2015 3:48 p.m., dnewbie wrote: I understand the feeling, but that seems unnecessarily harsh to demote Martin, since he is the one that have done the most for release, and it yielded actual results. Indeed. +1 and I do not do so/say so lightly.

Re: Better forums

2015-06-17 Thread Rikki Cattermole via Digitalmars-d
On 18/06/2015 3:55 p.m., Morbid.Obesity wrote: On Thursday, 18 June 2015 at 03:39:34 UTC, Vladimir Panteleev wrote: On Thursday, 18 June 2015 at 02:13:13 UTC, Morbid.Obesity wrote: It seems the forums are picking up a bit with newer people. I suggest that subforums be used for specific topics

Re: std.container: fork in the road

2015-06-16 Thread Rikki Cattermole via Digitalmars-d
On 17/06/2015 6:08 p.m., Andrei Alexandrescu wrote: Took a fresh look at std.container from a Design by Introspection perspective, and my assessment is as follows: * The current design of std.container is adequate but requires rather verbose implementations because it predates UFCS. For example,

Re: PHP verses C#.NET verses D.

2015-06-16 Thread Rikki Cattermole via Digitalmars-d
On 17/06/2015 5:40 p.m., Nick B wrote: On Wednesday, 17 June 2015 at 04:51:44 UTC, Rikki Cattermole wrote: On 17/06/2015 6:41 a.m., Nick B wrote: On Tuesday, 16 June 2015 at 06:29:46 UTC, Rikki Cattermole Oh please say Christchurch! sorry for the confusion. Its Wellington. Ahh right rig

Re: PHP verses C#.NET verses D.

2015-06-16 Thread Rikki Cattermole via Digitalmars-d
On 17/06/2015 6:41 a.m., Nick B wrote: On Tuesday, 16 June 2015 at 06:29:46 UTC, Rikki Cattermole wrote: On 16/06/2015 11:53 a.m., Nick B wrote: Hi. There is a startup in New Zealand that I have some dealings with at present. Any comments or suggestions on the above? Hello follow Kiwi! Hel

Re: PHP verses C#.NET verses D.

2015-06-15 Thread Rikki Cattermole via Digitalmars-d
On 16/06/2015 11:53 a.m., Nick B wrote: Hi. There is a startup in New Zealand that I have some dealings with at present. They have build most of their original code in PHP, (as this was quick and easy) but they also use some C#.net for interfacing to accounting appls on clients machines. The cor

Re: DMD memory management

2015-06-15 Thread Rikki Cattermole via Digitalmars-d
On 15/06/2015 10:54 p.m., ketmar wrote: that is, this approach to reduce compilation times is wrong. storing partially analyzed ASTs on disk as easily parsable binary representations (preferably ones that can be mmaped and used as-is) is right. updating the caches when more templates are semantic

Re: DIP80: phobos additions

2015-06-13 Thread Rikki Cattermole via Digitalmars-d
On 13/06/2015 10:35 p.m., Tofu Ninja wrote: On Saturday, 13 June 2015 at 08:45:20 UTC, John Colvin wrote: The tiny subset of numerical linear algebra that is relevant for graphics (mostly very basic operations, 2,3 or 4 dimensions) is not at all representative of the whole. The algorithms are di

Re: DIP80: phobos additions

2015-06-12 Thread Rikki Cattermole via Digitalmars-d
On 13/06/2015 7:45 a.m., jmh530 wrote: On Friday, 12 June 2015 at 17:56:53 UTC, Tofu Ninja wrote: Matrix math is matrix math, it being for ogl makes no real difference. I think it’s a little more complicated than that. BLAS and LAPACK (or variants on them) are low-level matrix math libraries

Re: You too can work on D for iOS

2015-06-12 Thread Rikki Cattermole via Digitalmars-d
On 12/06/2015 8:43 p.m., "Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= " wrote: On Friday, 12 June 2015 at 06:50:01 UTC, Rikki Cattermole wrote: On 12/06/2015 6:45 p.m., Nick Sabalausky wrote: On 06/12/2015 12:51 AM, Steven Schveighoffer wrote: The cost is really minimal if you are serious. A Mac Min

Re: You too can work on D for iOS

2015-06-11 Thread Rikki Cattermole via Digitalmars-d
On 12/06/2015 6:45 p.m., Nick Sabalausky wrote: On 06/12/2015 12:51 AM, Steven Schveighoffer wrote: The cost is really minimal if you are serious. A Mac Mini costs $500 new, and you get Xcode free. The last two computers I bought were about $340 each. And those are laptops, with screen and b

Re: DIP80: phobos additions

2015-06-11 Thread Rikki Cattermole via Digitalmars-d
On 12/06/2015 9:30 a.m., jmh530 wrote: On Tuesday, 9 June 2015 at 03:26:25 UTC, Ilya Yaroshenko wrote: There are https://github.com/9il/simple_matrix and https://github.com/9il/cblas . I will try to rework them for Phobos. Any ideas and suggestions? A well-supported matrix math library woul

Re: Automatic documentation builds

2015-06-11 Thread Rikki Cattermole via Digitalmars-d
On 12/06/2015 12:44 a.m., Steven Schveighoffer wrote: On 6/11/15 8:21 AM, Vladimir Panteleev wrote: I've put together a CI system of sorts that builds the documentation for all pull requests. Hopefully this should avoid the dlang.org build breaking again in the future. It integrates with GitHub

Re: Automatic documentation builds

2015-06-11 Thread Rikki Cattermole via Digitalmars-d
On 12/06/2015 12:28 a.m., Vladimir Panteleev wrote: On Thursday, 11 June 2015 at 12:27:29 UTC, Rikki Cattermole wrote: So for a PR it puts up a URL on the request? Because this would be pretty awesome in that context! Yes, just click "Details" at the bottom of the PR page to go to the test res

Re: Automatic documentation builds

2015-06-11 Thread Rikki Cattermole via Digitalmars-d
On 12/06/2015 12:21 a.m., Vladimir Panteleev wrote: I've put together a CI system of sorts that builds the documentation for all pull requests. Hopefully this should avoid the dlang.org build breaking again in the future. It integrates with GitHub as well, and on repositories covered by Brad's au

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-10 Thread Rikki Cattermole via Digitalmars-d
On 11/06/2015 3:37 a.m., Chris wrote: On Wednesday, 10 June 2015 at 14:29:51 UTC, Thiez wrote: On Wednesday, 10 June 2015 at 09:23:54 UTC, Chris wrote: One big difference between the D community and other languages' communities is is that D people keep criticizing the language and see every lit

Re: Daily downloads in decline

2015-06-10 Thread Rikki Cattermole via Digitalmars-d
On 10/06/2015 7:35 p.m., Iain Buclaw via Digitalmars-d wrote: On 10 June 2015 at 09:11, Rikki Cattermole via Digitalmars-d mailto:digitalmars-d@puremagic.com>> wrote: On 10/06/2015 7:02 p.m., deadalnix wrote: On Wednesday, 10 June 2015 at 04:55:43 UTC, Rikki Cattermole

Re: Daily downloads in decline

2015-06-10 Thread Rikki Cattermole via Digitalmars-d
On 10/06/2015 7:02 p.m., deadalnix wrote: On Wednesday, 10 June 2015 at 04:55:43 UTC, Rikki Cattermole wrote: I think that a lot of the people asking for a 2.067 LDC are just users of D, and (I am including myself in this group) a lot of those people don't know the first thing about LLVM or good

Re: Daily downloads in decline

2015-06-09 Thread Rikki Cattermole via Digitalmars-d
On 10/06/2015 4:44 p.m., Jack Stouffer wrote: On Tuesday, 9 June 2015 at 20:54:00 UTC, David Nadlinger wrote: Sorry if I appear a bit grumpy, but even though recently a number of people have been clamoring for more focus on high-impact, strategically important work, not a single one of them has

Re: DIP80: phobos additions

2015-06-07 Thread Rikki Cattermole via Digitalmars-d
On 8/06/2015 4:34 p.m., Tofu Ninja wrote: On Monday, 8 June 2015 at 04:22:56 UTC, Mike wrote: On Monday, 8 June 2015 at 04:21:45 UTC, Tofu Ninja wrote: Personally I would just be happy with a d wrapper for something like freeimage being included. That's what Deimos is for (https://github.com

Re: DIP80: phobos additions

2015-06-07 Thread Rikki Cattermole via Digitalmars-d
On 8/06/2015 4:12 p.m., Manu via Digitalmars-d wrote: On 8 June 2015 at 13:59, Rikki Cattermole via Digitalmars-d wrote: On 8/06/2015 3:53 p.m., Manu via Digitalmars-d wrote: On 8 June 2015 at 13:15, weaselcat via Digitalmars-d wrote: On Sunday, 7 June 2015 at 18:27:16 UTC, Robert burner

Re: DIP80: phobos additions

2015-06-07 Thread Rikki Cattermole via Digitalmars-d
On 8/06/2015 4:05 p.m., Manu via Digitalmars-d wrote: On 8 June 2015 at 13:54, Rikki Cattermole via Digitalmars-d wrote: On 8/06/2015 3:48 p.m., Manu via Digitalmars-d wrote: On 8 June 2015 at 13:08, Rikki Cattermole via Digitalmars-d wrote: On 8/06/2015 2:50 p.m., Tofu Ninja wrote: On

Re: DIP80: phobos additions

2015-06-07 Thread Rikki Cattermole via Digitalmars-d
On 8/06/2015 3:53 p.m., Manu via Digitalmars-d wrote: On 8 June 2015 at 13:15, weaselcat via Digitalmars-d wrote: On Sunday, 7 June 2015 at 18:27:16 UTC, Robert burner Schadek wrote: Phobos is awesome, the libs of go, python and rust only have better marketing. As discussed on dconf, phobos n

Re: DIP80: phobos additions

2015-06-07 Thread Rikki Cattermole via Digitalmars-d
On 8/06/2015 3:48 p.m., Manu via Digitalmars-d wrote: On 8 June 2015 at 13:08, Rikki Cattermole via Digitalmars-d wrote: On 8/06/2015 2:50 p.m., Tofu Ninja wrote: On Sunday, 7 June 2015 at 18:27:16 UTC, Robert burner Schadek wrote: Phobos is awesome, the libs of go, python and rust only

Re: DIP80: phobos additions

2015-06-07 Thread Rikki Cattermole via Digitalmars-d
On 8/06/2015 2:50 p.m., Tofu Ninja wrote: On Sunday, 7 June 2015 at 18:27:16 UTC, Robert burner Schadek wrote: Phobos is awesome, the libs of go, python and rust only have better marketing. As discussed on dconf, phobos needs to become big and blow the rest out of the sky. http://wiki.dlang.org

Re: Honey, I shrunk the build times

2015-06-06 Thread Rikki Cattermole via Digitalmars-d
On 7/06/2015 5:08 p.m., Andrei Alexandrescu wrote: On 6/6/15 10:00 PM, Rikki Cattermole wrote: On 7/06/2015 4:55 p.m., ketmar wrote: On Sat, 06 Jun 2015 21:30:02 -0700, Andrei Alexandrescu wrote: so in the end, after endless talking how separate compilation sux and everyone should do one-step

Re: Honey, I shrunk the build times

2015-06-06 Thread Rikki Cattermole via Digitalmars-d
On 7/06/2015 4:55 p.m., ketmar wrote: On Sat, 06 Jun 2015 21:30:02 -0700, Andrei Alexandrescu wrote: so in the end, after endless talking how separate compilation sux and everyone should do one-step combined compilation, separate compilation wins. it's funny how i'm always right in the end. No

Re: 6-weeks release cycle

2015-06-05 Thread Rikki Cattermole via Digitalmars-d
On 5/06/2015 8:28 p.m., Jonathan M Davis wrote: On Friday, 5 June 2015 at 06:42:06 UTC, Rikki Cattermole wrote: And shouldn't the CI be doing regression testing already? The autotester runs the unit tests that are in druntime, Phobos, and dmd. It catches a lot of stuff and generally prevents u

Re: 6-weeks release cycle

2015-06-04 Thread Rikki Cattermole via Digitalmars-d
On 5/06/2015 6:10 p.m., Dicebot wrote: On Friday, 5 June 2015 at 06:08:41 UTC, Rikki Cattermole wrote: Of course we could always get the CI to auto build a full release every day available for download. It would then be just a matter of picking one set and promoting as a version. Perfect for e

Re: 6-weeks release cycle

2015-06-04 Thread Rikki Cattermole via Digitalmars-d
On 5/06/2015 6:00 p.m., Dicebot wrote: Of many things that Rust got right, this is, in my opinion, something they did wrong. Quick release cycles only make sense in both bleeding edge model and with availability of excess developer resources. No amount of planning and management can compensate fo

Re: Why aren't you using D at work?

2015-06-02 Thread Rikki Cattermole via Digitalmars-d
On 3/06/2015 5:22 p.m., Kelet wrote: On Wednesday, 3 June 2015 at 03:47:00 UTC, Rikki Cattermole wrote: On 3/06/2015 3:35 p.m., Kelet wrote: For a small amount of software at work I'm able to use D. Most recently, I used D & vibe.d to communicate with a conveyor belt system for a warehouse. I'd

Re: Why aren't you using D at work?

2015-06-02 Thread Rikki Cattermole via Digitalmars-d
On 3/06/2015 3:35 p.m., Kelet wrote: For a small amount of software at work I'm able to use D. Most recently, I used D & vibe.d to communicate with a conveyor belt system for a warehouse. I'd use it more but most of our code and data is tied into a proprietary ecosystem (language, database, etc.)

Re: Make dub part of the standard dmd distribution

2015-06-02 Thread Rikki Cattermole via Digitalmars-d
On 3/06/2015 1:33 a.m., ketmar wrote: On Tue, 02 Jun 2015 22:30:47 +1200, Rikki Cattermole wrote: * non-windows, as dll support on windows is still not here, i believe. I've been able to do it a little bit already with my Web server. Haven't hit its limit so far. In other words as long as exc

Re: Make dub part of the standard dmd distribution

2015-06-02 Thread Rikki Cattermole via Digitalmars-d
On 2/06/2015 10:15 p.m., ketmar wrote: On Tue, 02 Jun 2015 21:51:54 +1200, Rikki Cattermole wrote: Essentially its compiler plugins that can add news types + free-functions as if it was D code provided by source code only also able to modify e.g. AST directly. So while in of itself would not pr

Re: Make dub part of the standard dmd distribution

2015-06-02 Thread Rikki Cattermole via Digitalmars-d
On 2/06/2015 9:32 p.m., ketmar wrote: On Tue, 02 Jun 2015 21:12:14 +1200, Rikki Cattermole wrote: I say wow. Okay not really I know it is possible and not all the hard. Personally I think it is a rather an awesome possibility. adding some CTFE functions is not that hard at all. it's not docu

Re: Make dub part of the standard dmd distribution

2015-06-02 Thread Rikki Cattermole via Digitalmars-d
On 2/06/2015 8:54 p.m., ketmar wrote: On Mon, 01 Jun 2015 16:05:17 -0400, Steven Schveighoffer wrote: A protocol to be used between dmd and dub (or any other package fetcher) would be a good first step. that was the thing i once proposed. see, we have a powerful scripting language inside DMD:

Re: Premake officially gains D support

2015-06-02 Thread Rikki Cattermole via Digitalmars-d
On 2/06/2015 8:22 p.m., Manu via Digitalmars-d wrote: Perhaps of interest, I have been maintaining D support in Premake for years (as an extension). It was finally merged into mainline... so Premake now officially supports D out-of-the-box. Huzzah! Yay!

Re: Make dub part of the standard dmd distribution

2015-06-01 Thread Rikki Cattermole via Digitalmars-d
On Monday, 1 June 2015 at 19:16:31 UTC, Nick Sabalausky wrote: On 06/01/2015 01:36 PM, Nick Sabalausky wrote: There is one part of that old proposal that I have come to like though, and wouldn't mind seeing: There was an idea to have DMD automatically invoke an external tool Oops, forgot

Re: Make dub part of the standard dmd distribution

2015-06-01 Thread Rikki Cattermole via Digitalmars-d
On 2/06/2015 1:11 a.m., Adam D. Ruppe wrote: On Monday, 1 June 2015 at 10:24:46 UTC, ketmar wrote: and now you killed the only sensible way to use it: as package manager. I don't care for it as a package manager either because it is too complex. As you know, I like to do my things as individua

Re: Make dub part of the standard dmd distribution

2015-05-31 Thread Rikki Cattermole via Digitalmars-d
On 1/06/2015 5:57 p.m., Manu via Digitalmars-d wrote: On 1 June 2015 at 15:05, Brad Anderson via Digitalmars-d wrote: On Monday, 1 June 2015 at 04:36:06 UTC, Andrei Alexandrescu wrote: On 5/31/15 8:48 PM, Manu via Digitalmars-d wrote: As for dub, I'd use it if it worked like a package manag

Re: Progress on Adam Wilson's Graphics API?

2015-05-31 Thread Rikki Cattermole via Digitalmars-d
On 31/05/2015 6:56 p.m., lobo wrote: On Sunday, 31 May 2015 at 05:17:27 UTC, Adam D. Ruppe wrote: On Sunday, 31 May 2015 at 04:46:51 UTC, lobo wrote: Again, I wonder why would you reimplement what you get from libpng? I've actually had people ask me what magic I did with my png.d because it o

Re: Progress on Adam Wilson's Graphics API?

2015-05-30 Thread Rikki Cattermole via Digitalmars-d
On 31/05/2015 4:46 p.m., lobo wrote: On Sunday, 31 May 2015 at 02:14:53 UTC, Rikki Cattermole wrote: You're missing a large part of what I'm saying. I understand what you're saying, I just disagree ;) I'd argue well tested and maintained dependencies are more important than what language th

Re: Uphill

2015-05-30 Thread Rikki Cattermole via Digitalmars-d
On 31/05/2015 3:52 p.m., Manu via Digitalmars-d wrote: On 28 May 2015 at 19:23, Rikki Cattermole via Digitalmars-d wrote: On 28/05/2015 8:55 p.m., Chris wrote: On Wednesday, 27 May 2015 at 19:35:35 UTC, ketmar wrote: On Wed, 27 May 2015 13:23:16 +, Paulo Pinto wrote: Only when I can

Re: Why aren't you using D at work?

2015-05-30 Thread Rikki Cattermole via Digitalmars-d
On 31/05/2015 3:03 p.m., Danni Coy via Digitalmars-d wrote: so is std.xml the exception? How many other parts of the standard library are like that? On Sun, May 31, 2015 at 12:37 PM, Rikki Cattermole via Digitalmars-d wrote: On 31/05/2015 2:27 p.m., H. S. Teoh via Digitalmars-d wrote: On

Re: Progress on Adam Wilson's Graphics API?

2015-05-30 Thread Rikki Cattermole via Digitalmars-d
On 31/05/2015 2:38 p.m., Adam D. Ruppe wrote: On Sunday, 31 May 2015 at 02:16:02 UTC, Rikki Cattermole wrote: As I've already said, out of the box experience should not rely on 3rd party. Rely on, no. But package? Sure. I'd be ok with built-in etc.c.sdl bindings and such. Perhaps dub obsolete

Re: Why aren't you using D at work?

2015-05-30 Thread Rikki Cattermole via Digitalmars-d
On 31/05/2015 2:27 p.m., H. S. Teoh via Digitalmars-d wrote: On Sun, May 31, 2015 at 02:17:59PM +1200, Rikki Cattermole via Digitalmars-d wrote: On 31/05/2015 11:37 a.m., Danni Coy via Digitalmars-d wrote: [...] The Standard Library. I want to use D so I can do more with less hours writing

Re: Progress on Adam Wilson's Graphics API?

2015-05-30 Thread Rikki Cattermole via Digitalmars-d
On 31/05/2015 3:07 a.m., Adam D. Ruppe wrote: On Saturday, 30 May 2015 at 14:28:57 UTC, Rikki Cattermole wrote: On 31/05/2015 2:27 a.m., ketmar wrote: SDL audio. ;-) Okay lets ignore libraries that is not D. Like that one. I think that is unnecessarily limiting. I do see your point about di

Re: Why aren't you using D at work?

2015-05-30 Thread Rikki Cattermole via Digitalmars-d
On 31/05/2015 11:37 a.m., Danni Coy via Digitalmars-d wrote: I have been doing my first serious attempt at D after convincing other people that it was the way to go quite a few years ago. (My copy of "The D Programming Language" doesn't have Andrei's name on it so it would have been around that t

Re: Progress on Adam Wilson's Graphics API?

2015-05-30 Thread Rikki Cattermole via Digitalmars-d
On 31/05/2015 1:26 p.m., lobo wrote: On Saturday, 30 May 2015 at 14:35:29 UTC, Rikki Cattermole wrote: On 31/05/2015 2:31 a.m., ketmar wrote: On Sun, 31 May 2015 02:28:51 +1200, Rikki Cattermole wrote: On 31/05/2015 2:27 a.m., ketmar wrote: On Sun, 31 May 2015 01:35:41 +1200, Rikki Cattermol

Re: Progress on Adam Wilson's Graphics API?

2015-05-30 Thread Rikki Cattermole via Digitalmars-d
On 31/05/2015 9:56 a.m., ketmar wrote: On Sun, 31 May 2015 02:35:22 +1200, Rikki Cattermole wrote: Personally I think it is more reasonable to assume certain libraries will be installed. Such as for Windows user32 and GDI. Where by there is no real alternatives. Like X11 for *nix. In other word

Re: Progress on Adam Wilson's Graphics API?

2015-05-30 Thread Rikki Cattermole via Digitalmars-d
On 31/05/2015 3:08 a.m., Adam D. Ruppe wrote: On Saturday, 30 May 2015 at 13:35:47 UTC, Rikki Cattermole wrote: Great example, if you wanted to play some music cross platform what D library what you use? Hint good luck, none really exist. I'm slowly getting through my simpleaudio.d What

Re: Progress on Adam Wilson's Graphics API?

2015-05-30 Thread Rikki Cattermole via Digitalmars-d
On 31/05/2015 2:31 a.m., ketmar wrote: On Sun, 31 May 2015 02:28:51 +1200, Rikki Cattermole wrote: On 31/05/2015 2:27 a.m., ketmar wrote: On Sun, 31 May 2015 01:35:41 +1200, Rikki Cattermole wrote: Great example, if you wanted to play some music cross platform what D library what you use? S

Re: Progress on Adam Wilson's Graphics API?

2015-05-30 Thread Rikki Cattermole via Digitalmars-d
On 31/05/2015 2:27 a.m., ketmar wrote: On Sun, 31 May 2015 01:35:41 +1200, Rikki Cattermole wrote: Great example, if you wanted to play some music cross platform what D library what you use? SDL audio. ;-) Okay lets ignore libraries that is not D. Like that one.

Re: Progress on Adam Wilson's Graphics API?

2015-05-30 Thread Rikki Cattermole via Digitalmars-d
On 31/05/2015 1:18 a.m., Bastiaan Veelo wrote: On Saturday, 30 May 2015 at 10:29:44 UTC, Rikki Cattermole wrote: On 30/05/2015 10:28 p.m., Bastiaan Veelo wrote: On Saturday, 3 May 2014 at 09:56:38 UTC, Nordlöw wrote: Is there any progress on the graphics API Adam Wilson is working on? Adam W

Re: Progress on Adam Wilson's Graphics API?

2015-05-30 Thread Rikki Cattermole via Digitalmars-d
On 30/05/2015 10:28 p.m., Bastiaan Veelo wrote: On Saturday, 3 May 2014 at 09:56:38 UTC, Nordlöw wrote: Is there any progress on the graphics API Adam Wilson is working on? Adam Wilson's DConf '14 talk [1] was an interesting and promising one. After that there were some commits a month later,

Re: dmd makes D appear slow

2015-05-29 Thread Rikki Cattermole via Digitalmars-d
On 30/05/2015 3:36 p.m., weaselcat wrote: On Saturday, 30 May 2015 at 03:24:45 UTC, Rikki Cattermole wrote: Both you and ketmer are evil. I'm liking these ideas... Now we just need some pretty and nice packages for e.g. Windows for ldc with debugger full support and we will be good. Last time

Re: dmd makes D appear slow

2015-05-29 Thread Rikki Cattermole via Digitalmars-d
On 30/05/2015 1:43 p.m., Manu via Digitalmars-d wrote: On 30 May 2015 at 09:14, ketmar via Digitalmars-d wrote: On Fri, 29 May 2015 11:58:09 -0700, H. S. Teoh via Digitalmars-d wrote: On Fri, May 29, 2015 at 06:50:02PM +, Dicebot via Digitalmars-d wrote: On Friday, 29 May 2015 at 18:38:2

Re: Uphill

2015-05-28 Thread Rikki Cattermole via Digitalmars-d
On 28/05/2015 8:55 p.m., Chris wrote: On Wednesday, 27 May 2015 at 19:35:35 UTC, ketmar wrote: On Wed, 27 May 2015 13:23:16 +, Paulo Pinto wrote: Only when I can sell D to customers that put money into this kind of stuff if customers are deciding which technologies to use... ok then, th

Re: std.database

2015-05-27 Thread Rikki Cattermole via Digitalmars-d
On 28/05/2015 4:57 p.m., Robert burner Schadek wrote: On Thursday, 28 May 2015 at 04:45:52 UTC, Erik Smith wrote: Shouldn't the statement be reusable? Yes it should. I added this use case: auto stmt = con.statement("insert into table values(?,?)"); stmt.execute("a",1); stmt.execute("b",2); s

Re: DConf 2015 livestreaming day 1: post feedback here

2015-05-27 Thread Rikki Cattermole via Digitalmars-d
On 28/05/2015 12:54 p.m., Andrei Alexandrescu wrote: John Colvin's experiment is great and we want to make it a full success. Please post here feedback and suggestions for tomorrow's DConf streaming. Thanks! -- Andrei Just a thought, livecoding.tv would be interested in hosting a live stream f

Re: std.database

2015-05-27 Thread Rikki Cattermole via Digitalmars-d
On 28/05/2015 2:04 p.m., Erik Smith wrote: I'm working on a standards grade interface & implementation for database clients in D. It defines a common interface (the implicit kind) and allows for both native and polymorphic drivers. A key feature is a range interface to query results. Here's th

Re: Status of Deimos bindings

2015-05-26 Thread Rikki Cattermole via Digitalmars-d
On 26/05/2015 7:24 p.m., ketmar wrote: On Tue, 26 May 2015 15:51:20 +1200, Rikki Cattermole wrote: Really what needs to happen is getting Derelict-Util into phobos. And some CTFE magic to create static bindings from those (if wanted). From there its just port the derelict libraries and deimo

Re: Status of Deimos bindings

2015-05-25 Thread Rikki Cattermole via Digitalmars-d
And some CTFE magic to create static bindings from those (if wanted).

Re: Status of Deimos bindings

2015-05-25 Thread Rikki Cattermole via Digitalmars-d
On 26/05/2015 9:33 a.m., FreeSlave wrote: What's the current status of Deimos? I don't think that this kind of bindings is useless, since not everyone always wants dynamic bindings. E.g. for the sake of simplicity or static linking. Actually Walter even fixes issues in these bindings time by time

Re: Request for Features/Ideas: A std.archive package

2015-05-25 Thread Rikki Cattermole via Digitalmars-d
On 26/05/2015 1:39 a.m., Liam McSherry wrote: On Monday, 25 May 2015 at 11:50:25 UTC, Rikki Cattermole wrote: Basically there is no lines between one function declaration and another. I've added some extra white-space. Awesome thanks, it'll make it a little easier to get it through review. T

Re: Request for Features/Ideas: A std.archive package

2015-05-25 Thread Rikki Cattermole via Digitalmars-d
On 25/05/2015 10:48 p.m., Liam McSherry wrote: On Monday, 25 May 2015 at 03:33:37 UTC, Rikki Cattermole wrote: Anyway, take a look at e.g. IWritableCapsuleArchive. There is a LOT more whitespace needed to be added in that file. Could you elaborate? Functions/etc in the interfaces are grouped

Re: Request for Features/Ideas: A std.archive package

2015-05-24 Thread Rikki Cattermole via Digitalmars-d
On 25/05/2015 9:32 a.m., Liam McSherry wrote: A first draft of the interfaces is available here: https://github.com/McSherry/phobos/blob/std.archive/std/archive/interfaces.d Please feel free to tear to pieces, make suggestions, etc. I'm impressed an interface has been started! Anyway, take

Re: Boy, std.bitmanip.bigEndianToNative is annoying to use

2015-05-22 Thread Rikki Cattermole via Digitalmars-d
On 23/05/2015 7:48 a.m., Jonathan M Davis wrote: On Friday, 22 May 2015 at 19:44:59 UTC, H. S. Teoh wrote: On Fri, May 22, 2015 at 12:39:12PM -0700, H. S. Teoh via Digitalmars-d wrote: [...] face.palm(); head.hang!inShame(); self.crawlBackTo(hole); [...] Truth be told, though, the

Re: Uphill

2015-05-22 Thread Rikki Cattermole via Digitalmars-d
On 22/05/2015 10:21 p.m., Chris wrote: I was recently thinking that D is a bit like climbing up a hill or a mountain. For the most part you are focused on reaching the top, yet every once in a while it's good to stop and turn around to enjoy the scenery and see how far you've come. So here is wha

Re: Request for Features/Ideas: A std.archive package

2015-05-22 Thread Rikki Cattermole via Digitalmars-d
On 22/05/2015 7:57 p.m., FreeSlave wrote: On Thursday, 21 May 2015 at 09:16:47 UTC, John Colvin wrote: On Thursday, 21 May 2015 at 08:55:05 UTC, Jacob Carlborg wrote: On 2015-05-21 00:46, Walter Bright wrote: Clearly, we need a Deimos entry for libarchive. https://github.com/d-programming-de

Re: [PRs] How to update on Github

2015-05-21 Thread Rikki Cattermole via Digitalmars-d
On 22/05/2015 1:30 a.m., Baz wrote: On Thursday, 21 May 2015 at 10:42:34 UTC, Rikki Cattermole wrote: On 21/05/2015 10:39 p.m., ZombineDev wrote: Basically you need clone your fork to your computer, add a "upstream" remote to github.com/D-Programming-Language/[repo name, eg. phobos], pull from

Re: [PRs] How to update on Github

2015-05-21 Thread Rikki Cattermole via Digitalmars-d
On 21/05/2015 10:39 p.m., ZombineDev wrote: Basically you need clone your fork to your computer, add a "upstream" remote to github.com/D-Programming-Language/[repo name, eg. phobos], pull from upstream the new changes and optionally update github by pushing to origin (origin normally is github).

Re: Some piece of WAT, is that a bug or a feature ?

2015-05-17 Thread Rikki Cattermole via Digitalmars-d
On 17/05/2015 8:38 p.m., deadalnix wrote: So this code: void main() { string outs; void foo() { outs ~= "prout !"; } import std.stdio; writeln(outs); } Obviously print an empty string. Bug or feature ? Feature. foo is never called.

Re: Shouldn't assert declarations be seen in documentation?

2015-05-12 Thread Rikki Cattermole via Digitalmars-d
On 12/05/2015 11:20 p.m., tcak wrote: On Tuesday, 12 May 2015 at 11:14:42 UTC, Rikki Cattermole wrote: On 12/05/2015 11:02 p.m., tcak wrote: On Tuesday, 12 May 2015 at 10:58:08 UTC, Rikki Cattermole wrote: On 12/05/2015 10:40 p.m., tcak wrote: I am developing a web server - web application sy

Re: Shouldn't assert declarations be seen in documentation?

2015-05-12 Thread Rikki Cattermole via Digitalmars-d
On 12/05/2015 11:02 p.m., tcak wrote: On Tuesday, 12 May 2015 at 10:58:08 UTC, Rikki Cattermole wrote: On 12/05/2015 10:40 p.m., tcak wrote: I am developing a web server - web application system, and it is going to be running on a small system that has 256MB memory at maximum. Hence, I tried to

Re: Shouldn't assert declarations be seen in documentation?

2015-05-12 Thread Rikki Cattermole via Digitalmars-d
On 12/05/2015 10:40 p.m., tcak wrote: I am developing a web server - web application system, and it is going to be running on a small system that has 256MB memory at maximum. Hence, I tried to use every bit of memory without wasting, and used align(1) on a struct type. Because it is used as share

Re: duml to generate UML diagrams in HTML format

2015-05-09 Thread Rikki Cattermole via Digitalmars-d
On 10/05/2015 1:44 a.m., tcak wrote: On Saturday, 9 May 2015 at 11:58:41 UTC, Rikki Cattermole wrote: On 9/05/2015 11:43 p.m., Rikki Cattermole wrote: On 9/05/2015 11:40 p.m., tcak wrote: On Saturday, 9 May 2015 at 11:37:57 UTC, Rikki Cattermole wrote: On 9/05/2015 11:32 p.m., tcak wrote: I

Re: duml to generate UML diagrams in HTML format

2015-05-09 Thread Rikki Cattermole via Digitalmars-d
On 9/05/2015 11:43 p.m., Rikki Cattermole wrote: On 9/05/2015 11:40 p.m., tcak wrote: On Saturday, 9 May 2015 at 11:37:57 UTC, Rikki Cattermole wrote: On 9/05/2015 11:32 p.m., tcak wrote: I have created my first project in github, and I wanted to share it. https://github.com/tcak/duml I start

Re: duml to generate UML diagrams in HTML format

2015-05-09 Thread Rikki Cattermole via Digitalmars-d
On 9/05/2015 11:40 p.m., tcak wrote: On Saturday, 9 May 2015 at 11:37:57 UTC, Rikki Cattermole wrote: On 9/05/2015 11:32 p.m., tcak wrote: I have created my first project in github, and I wanted to share it. https://github.com/tcak/duml I started working on it today morning, and completed in m

Re: duml to generate UML diagrams in HTML format

2015-05-09 Thread Rikki Cattermole via Digitalmars-d
On 9/05/2015 11:32 p.m., tcak wrote: I have created my first project in github, and I wanted to share it. https://github.com/tcak/duml I started working on it today morning, and completed in midday. But it is still in very early stages. So, I wanted to take thoughts of you guys. Purpose of this

Re: D for Android

2015-05-08 Thread Rikki Cattermole via Digitalmars-d
On 8/05/2015 6:33 p.m., Vadim Lopatin wrote: On Thursday, 7 May 2015 at 15:58:01 UTC, Joakim wrote: On Sunday, 17 August 2014 at 18:19:29 UTC, Joakim wrote: I'll keep updating the wiki with more info, how to build for the command-line and run the druntime/phobos unit tests, along with direction

Re: a "success story for D" ! !!

2015-05-05 Thread Rikki Cattermole via Digitalmars-d
On 6/05/2015 4:05 a.m., ponce wrote: On Tuesday, 5 May 2015 at 12:43:38 UTC, Rikki Cattermole wrote: On 6/05/2015 12:37 a.m., ponce wrote: On Tuesday, 5 May 2015 at 12:04:39 UTC, Alex Ogheri wrote: Hi guys, did you know this ?? http://vlang.org/ In fact, it gathered quite an enthusiastic ap

Re: a "success story for D" ! !!

2015-05-05 Thread Rikki Cattermole via Digitalmars-d
On 6/05/2015 12:37 a.m., ponce wrote: On Tuesday, 5 May 2015 at 12:04:39 UTC, Alex Ogheri wrote: Hi guys, did you know this ?? http://vlang.org/ In fact, it gathered quite an enthusiastic appreciation at dvcon in Munich!! Paper: http://vlang.org/dvcon2014.pdf I'd say that's pretty huge!

Re: std.xml2 (collecting features)

2015-05-04 Thread Rikki Cattermole via Digitalmars-d
On 5/05/2015 10:45 a.m., Liam McSherry wrote: On Sunday, 3 May 2015 at 17:39:48 UTC, Robert burner Schadek wrote: std.xml has been considered not up to specs nearly 3 years now. Time to build a successor. I currently plan the following featues for it: - SAX and DOM parser - in-situ / slicing pa

Re: FreeTree eviction strategy

2015-05-04 Thread Rikki Cattermole via Digitalmars-d
On 5/05/2015 5:56 a.m., Andrei Alexandrescu wrote: So I'm toying around with a promising structure that I call "free tree" for std.allocator. There's some detail with code and docs here: http://forum.dlang.org/thread/mi1qph$cgr$1...@digitalmars.com. A free tree allocator is akin to a free list.

Re: std.xml2 (collecting features)

2015-05-03 Thread Rikki Cattermole via Digitalmars-d
On 4/05/2015 5:39 a.m., Robert burner Schadek wrote: std.xml has been considered not up to specs nearly 3 years now. Time to build a successor. I currently plan the following featues for it: - SAX and DOM parser - in-situ / slicing parsing when possible (forward range?) - compile time switch (CT

Re: The hackathon week roundup

2015-05-02 Thread Rikki Cattermole via Digitalmars-d
On 3/05/2015 1:27 p.m., Walter Bright wrote: On 5/2/2015 5:12 PM, Andrei Alexandrescu wrote: On 5/2/15 4:50 PM, Ilya Yaroshenko wrote: * Tutorial: http://d.readthedocs.org (btw should we link that from the homepage?) May I transfer the repositories (both GitHub and RTD) to the D-Programming-L

Re: D audio playing and analysis library?

2015-04-28 Thread Rikki Cattermole via Digitalmars-d
On 29/04/2015 3:27 a.m., Adam D. Ruppe wrote: idk if it would be useful at all, I'm not even happy with it myself yet, but I am writing a simpleaudio.d https://github.com/adamdruppe/arsd/blob/master/simpleaudio.d it is meant to do waveform i/o and MIDI, but I'm not happy with my first draft of t

Re: D audio playing and analysis library?

2015-04-28 Thread Rikki Cattermole via Digitalmars-d
On 29/04/2015 3:00 a.m., ponce wrote: On Tuesday, 28 April 2015 at 11:18:14 UTC, Gan wrote: I found this: https://github.com/p0nce/dplug Which seems to be a good analysis library but I haven't found a library to play sounds. Is there one? SDL2 can through DerelictSDL2 (use the mixer extension

<    4   5   6   7   8   9   10   11   12   13   >