DCV v0.2.0 - adaptation to the new ndslice

2017-03-01 Thread Relja Ljubobratovic via Digitalmars-d-announce
Hi everyone, I wanted to let you know that we've released new version of DCV[1], an open source computer vision library, written in D programming language, with goal to provide tools for solving most common computer vision problems - various image processing tasks, feature detection and

Re: Vibrant 2.0, major update

2017-02-17 Thread Relja Ljubobratovic via Digitalmars-d-announce
On Monday, 13 February 2017 at 14:22:25 UTC, Guillaume Piolat wrote: It's the 10th update for this abstract shooter made in D. This is the first time I've heard of this game. Downloaded the demo, and first impressions were mind blowing! Gameplay seems very fluid and well calibrated. But,

Re: macOS: debugging hell - strange behavior in lldb and gdb

2017-02-14 Thread Relja Ljubobratovic via Digitalmars-d-debugger
On Tuesday, 14 February 2017 at 20:32:53 UTC, John Colvin wrote: The docs say it is, but they could be wrong. Could you run dub with -v (and without any manually added -gc) and share the output? Sure, here's what I'd think is the relevant part: Performing "debug" build using ldc2 for x86_64.

Re: Compiling to shared library with static dependencies

2016-12-14 Thread Relja Ljubobratovic via Digitalmars-d
On Wednesday, 14 December 2016 at 22:17:25 UTC, Tanel L wrote: First of all thanks Johan for urging me to compile it with only with that flag. It worked! Previously I tried to compile it with only BUILD_SHARED or both - and that failed. But I got it working. Thanks! More details below.

Re: Compiling to shared library with static dependencies

2016-12-14 Thread Relja Ljubobratovic via Digitalmars-d
On Wednesday, 14 December 2016 at 21:41:53 UTC, Relja Ljubobratovic wrote: use just dcv:core with imageformats[1] http://code.dlang.org/packages/imageformats

Re: Compiling to shared library with static dependencies

2016-12-14 Thread Relja Ljubobratovic via Digitalmars-d
On Wednesday, 14 December 2016 at 20:46:15 UTC, Tanel L wrote: Hi, thanks for the answer. I had tried disabling all imports, but now I created a clean new project to test this - it worked. Awesome. So LDC compile-link is ok, and also python runtime linking is good. After that I moved

Re: Compiling to shared library with static dependencies

2016-12-14 Thread Relja Ljubobratovic via Digitalmars-d
On Wednesday, 14 December 2016 at 12:33:04 UTC, Tanel L wrote: Hello, Hi Tanel, I have just tried replicating the task you describe, and it worked flawlessly for me. I am very new to the D world - but serious in moving over to it after I have seen what a cool language it really is. I am

Re: Mir Blog: Writing efficient numerical code in D

2016-12-13 Thread Relja Ljubobratovic via Digitalmars-d-announce
On Tuesday, 13 December 2016 at 15:31:00 UTC, Mike Parker wrote: https://www.reddit.com/r/programming/comments/5i42vc/writing_efficient_numerical_code_in_d/ Thank you, Mike!

Re: Mir Blog: Writing efficient numerical code in D

2016-12-12 Thread Relja Ljubobratovic via Digitalmars-d-announce
On Tuesday, 13 December 2016 at 05:27:01 UTC, Andrei Alexandrescu wrote: I'm about to fall asleep, but I made a quick pass through the piece. Here are a few nits: Thanks for an extensive feedback, Andrei! I've followed up 99% of fixes given here[1], but unfortunately I'll be unavailable for

Re: Mir Blog: Writing efficient numerical code in D

2016-12-12 Thread Relja Ljubobratovic via Digitalmars-d-announce
On Monday, 12 December 2016 at 22:34:32 UTC, Johan Engelen wrote: On Monday, 12 December 2016 at 21:58:23 UTC, Relja Ljubobratovic wrote: Hey guys, We have just published another post on "Writing efficient numerical code in D", to Mir's Blog[1]. Nice :) Thanks! :) Some comments: - You

Mir Blog: Writing efficient numerical code in D

2016-12-12 Thread Relja Ljubobratovic via Digitalmars-d-announce
Hey guys, We have just published another post on "Writing efficient numerical code in D", to Mir's Blog[1]. In this post we are focusing on mir.ndslice.algorithm usage in DCV[2], computer vision library that has recently joined libmir organization. We've had great success in optimizing DCV's

Re: Neural Networks / ML Libraries for D

2016-10-31 Thread Relja Ljubobratovic via Digitalmars-d-learn
On Tuesday, 25 October 2016 at 11:17:29 UTC, Saurabh Das wrote: Hello, Are there any good ML libraries for D? In particular, looking for a neural network library currently. Any leads would be appreciated. Thanks, Saurabh There is also Henry Gouk's dnnet library[1]. I'm not sure how far

Re: Neural Networks / ML Libraries for D

2016-10-31 Thread Relja Ljubobratovic via Digitalmars-d-learn
On Wednesday, 26 October 2016 at 12:13:16 UTC, Ilya Yaroshenko wrote: https://github.com/ljubobratovicrelja/mir.experimental.model.rbf Now moved to https://github.com/libmir/mir-neural

Re: ndslice: feature deprecation voting / discussion

2016-10-03 Thread Relja Ljubobratovic via Digitalmars-d
On Sunday, 2 October 2016 at 16:36:14 UTC, jmh530 wrote: Wouldn't it be more flexible to allow both ways? If D can handle the case without brackets without any issue, why force it? In Matlab, writing ones(2, 2) produces a 2x2 matrix of ones. In numpy, I would write np.ones((2, 2)) I find it

Re: From the D Blog: Martin Nowak on the DMD release process

2016-08-15 Thread Relja Ljubobratovic via Digitalmars-d-announce
On Monday, 15 August 2016 at 08:37:16 UTC, Mike Parker wrote: Hi, Relja. Now that this is on my radar, I'll be in touch with you about putting a post together some time in the next couple of weeks. Hi, Mike. That's awesome, thanks!

Re: From the D Blog: Martin Nowak on the DMD release process

2016-08-15 Thread Relja Ljubobratovic via Digitalmars-d-announce
On Monday, 15 August 2016 at 07:41:59 UTC, Ilya Yaroshenko wrote: On Monday, 15 August 2016 at 07:37:25 UTC, ZombineDev wrote: On Monday, 15 August 2016 at 07:32:34 UTC, Ilya Yaroshenko wrote: On Monday, 15 August 2016 at 06:55:18 UTC, Suliman wrote: On Friday, 29 July 2016 at 12:09:46 UTC,

Re: daffodil, a D image processing library

2016-07-02 Thread Relja Ljubobratovic via Digitalmars-d-announce
On Friday, 1 July 2016 at 21:18:28 UTC, Vladimir Panteleev wrote: Generally most use cases for using an image library can be divided into: 1. You have full control over the images being loaded. This is the case when you're loading graphical assets for your application which otherwise

Re: daffodil, a D image processing library

2016-07-01 Thread Relja Ljubobratovic via Digitalmars-d-announce
On Friday, 1 July 2016 at 14:30:17 UTC, Benjamin Schaaf wrote: The problem with not knowing bit depth at compile time, is that you're now forced to store the image internally as plain bytes. So if you wanted to add two colors, you end up with ubyte[4] + ubyte[4] instead of int + int. At some

Re: daffodil, a D image processing library

2016-07-01 Thread Relja Ljubobratovic via Digitalmars-d-announce
On Thursday, 30 June 2016 at 21:35:37 UTC, Benjamin Schaaf wrote: daffodil is a image processing library inspired by python's Pillow (https://pillow.readthedocs.org/). It is an attempt at designing a clean, extensible and transparent API. https://github.com/BenjaminSchaaf/daffodil

Re: Commercial video processing app in D (experience report)

2016-04-28 Thread Relja Ljubobratovic via Digitalmars-d-announce
Awesome! Thanks so much for such detailed explanation! Btw, if you're interested in an image processing app in pure D, I've got one too: http://www.infognition.com/blogsort/ (sources: https://bitbucket.org/infognition/bsort ) Great, I'll check it out - Thanks!

Re: Commercial video processing app in D (experience report)

2016-04-28 Thread Relja Ljubobratovic via Digitalmars-d-announce
On Wednesday, 27 April 2016 at 12:42:05 UTC, thedeemon wrote: Hi, I just wanted to share some experience of using D in industry. Recently my little company released version 2.0 of our flagship product Video Enhancer, a video processing application for Windows, and this time it's written in D.

Re: Computer Vision Library in D

2016-04-21 Thread Relja Ljubobratovic via Digitalmars-d-announce
On Thursday, 21 April 2016 at 16:13:31 UTC, Bill Baxter wrote: Fortran has some linear algebra functions in the standard library. :-) Java and many other modern languages are pretty much actively hostile to doing numerical computation, so including a linear algebra package in the standard

Re: Computer Vision Library in D

2016-04-19 Thread Relja Ljubobratovic via Digitalmars-d-announce
On Wednesday, 20 April 2016 at 04:37:10 UTC, rikki cattermole wrote: On the note of linear algebra. Would you be willing to improve gfm:math (or start from scratch I don't really care too much) for Phobos inclusion? Frankly, I didn't know about the gfm project - it seems nice! About the math

Re: Computer Vision Library in D

2016-04-19 Thread Relja Ljubobratovic via Digitalmars-d-announce
Hey guys, thank you all for responding! Standard modules for color conversion already exists. See for instance That's awesome, thanks! - I'll look into it! Wouldn't it be easier to just write bindings to C interface of OpenCV, or make a thin D-style wrapper over that API, and use a proven