Re: DIP1028 - Rationale for accepting as is

2020-05-22 Thread jmh530 via Digitalmars-d-announce
On Friday, 22 May 2020 at 18:44:09 UTC, Steven Schveighoffer wrote: [snip] You are using library fubar. fubar defines a function foo: I agree with most of what you said. I was trying to make the point that this is a contrived example where we know for sure that one function should be

Re: DIP1028 - Rationale for accepting as is

2020-05-22 Thread jmh530 via Digitalmars-d-announce
On Friday, 22 May 2020 at 18:34:32 UTC, Gregory wrote: [snip] Why are you assuming that the only thing wrong with useClibrary() is that it would use a C declaration that is @system? All @system code I've written is @system and wouldn't compile to @safe even if extern(C) declarations are

Re: DIP1028 - Rationale for accepting as is

2020-05-22 Thread jmh530 via Digitalmars-d-announce
On Friday, 22 May 2020 at 17:40:59 UTC, Atila Neves wrote: [snip] That is a failure of the language that should be resolved. And how do you suggest we fix it? @safe as whitelist instead of blacklist. When the compiler cannot verify that it is @safe, then it cannot be @safe.

Re: DIP1028 - Rationale for accepting as is

2020-05-22 Thread jmh530 via Digitalmars-d-announce
On Friday, 22 May 2020 at 16:47:34 UTC, Steven Schveighoffer wrote: [snip] You can't, you don't control that code, someone else does (this is important, you can declare extern(C) functions anywhere, even locally). You can make a separate module with one function that just calls the `free`

Re: DIP1028 - Rationale for accepting as is

2020-05-22 Thread jmh530 via Digitalmars-d-announce
On Friday, 22 May 2020 at 16:03:00 UTC, Steven Schveighoffer wrote: [snip] Fortunately, the above point can be more easily fixed by making `free` @system, which will then require annotating every subsequent piece of code that touches it. It's annoying transition, but it's do-able. The

Re: DIP1028 - Rationale for accepting as is

2020-05-22 Thread jmh530 via Digitalmars-d-announce
On Friday, 22 May 2020 at 01:22:19 UTC, Walter Bright wrote: [snip] Thank you for your reply. How about some time before this DIP is fully in the language, a compiler flag is added that will produce warnings for when extern prototypes without explicit @safe/@trusted/@system are used? Or

Re: On the D Blog: Lomuto's Comeback

2020-05-14 Thread jmh530 via Digitalmars-d-announce
On Thursday, 14 May 2020 at 13:40:24 UTC, Andrei Alexandrescu wrote: [snip] Really interesting. Thanks for sharing. I have recently been spending some spare time learning more about D's topN and pivotPartition implementation, which led me to your paper on fast deterministic selection.

Re: Blog series to teach and show off D's metaprogramming by creating a JSON serialiser

2020-05-07 Thread jmh530 via Digitalmars-d-announce
On Thursday, 7 May 2020 at 14:15:07 UTC, Greatsam4sure wrote: [snip] Yeah, I thought it looked good. I make mistakes all the time. I find that saying dumb things out loud often will help me learn and make fewer mistakes in the future.

Re: openmethods 1.3.0

2020-04-20 Thread jmh530 via Digitalmars-d-announce
On Monday, 20 April 2020 at 13:25:14 UTC, Jean-Louis Leroy wrote: [snip] That is not a problem. If I was granted two wishes, they would be: 1/ reallocate 'ClassInfo.deallocator' to me ;-) and 2/ add a more general feature to the language, similar to Perl's 'import' function: if a module

Re: openmethods 1.3.0

2020-04-20 Thread jmh530 via Digitalmars-d-announce
On Monday, 20 April 2020 at 08:17:24 UTC, Robert M. Münch wrote: [snip] This is very interesting stuff! Thanks a lot. I just read your blog post [1] and wonder if it's still up-to-date or maybe an update would make sense? This stuff sounds like a very fundamental concept/pattern and IMO

Re: Mir updates

2020-04-02 Thread jmh530 via Digitalmars-d-announce
On Thursday, 2 April 2020 at 13:16:46 UTC, 9il wrote: [snip] For my work, I use `mir-blas` - ndslice bindings to CBLAS API. It is faster to write binding rather than finish BLAS implementation. It is useful. And I think it is very promising for Dlang promotion and can really involve new

Re: Mir simple linear

2020-03-30 Thread jmh530 via Digitalmars-d-announce
On Monday, 30 March 2020 at 17:47:19 UTC, jmh530 wrote: [snip] The relevant function signature is @safe sumType!YRange[2] simpleLinearRegression(XRange, YRange)(XRange x, YRange y) if (isInputRange!XRange && isInputRange!YRange && !(isArray!XRange && isArray!YRange) &&

Re: Mir simple linear

2020-03-30 Thread jmh530 via Digitalmars-d-announce
On Monday, 30 March 2020 at 17:21:57 UTC, Vino wrote: Hi All, Can anyone guide me what is the problem with below code as it throws error. import std.stdio, mir.math.common: approxEqual; static immutable x = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; static immutable y = [1, 3, 2, 5, 7, 8, 8, 9,

Re: Mir updates

2020-03-30 Thread jmh530 via Digitalmars-d-announce
On Monday, 30 March 2020 at 06:33:13 UTC, 9il wrote: [snip] Thanks, I like 'em. I noticed that the little icon in the tabs has changed from most of them. However, the mir random is unchanged from before. Also, on the mir.glas page, one of the lines says "matrix-vector operations %3 done,

Re: [OT] Re: DIP 1027---String Interpolation---Format Assessment

2020-02-27 Thread jmh530 via Digitalmars-d-announce
On Thursday, 27 February 2020 at 15:11:07 UTC, Steven Schveighoffer wrote: [snip] We're going very off topic here, but I wanted to address this. Large hidden invisible types are not the problem (look at normal dynamic arrays, the large hidden type built into the runtime is a huge success I

Re: Blog post on calling C from Python via D

2020-02-26 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 26 February 2020 at 16:17:06 UTC, Panke wrote: [snip] If you had an RSS feed, I would subscribe. Wasn't there a planet D in the past? I've been subscribed on feedly without any issues. I can't recall what I actually did to subscribe as I can't seem to replicate it, but you

Re: Blog post on calling C from Python via D

2020-02-26 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 26 February 2020 at 14:51:06 UTC, Atila Neves wrote: [snip] A lot of the comments were about how stupid I was for not just using ctypes or cffi. I tried today and both of them are horrible. As I say in the blog post below, either they didn't read the article (people on the

Re: Beta 2.091.0

2020-02-26 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 26 February 2020 at 12:17:43 UTC, Martin Nowak wrote: Glad to announce the first beta for the 2.091.0 release, ♥ to the 55 contributors. [snip] I'm happy to see those Windows install improvements. In the changelog, it mentions isClose, but I didn't see that listed in the

Re: FeedSpot Recognizes the GtkDcoding Blog

2020-02-07 Thread jmh530 via Digitalmars-d-announce
On Friday, 7 February 2020 at 23:14:28 UTC, Andre Pany wrote: [snip] All what you say is completely true. Still, the license makes it a very hard job to advertise the D Programming Language at the place I work. It is already hard, and I do not want also get into discussions with IP

Re: FeedSpot Recognizes the GtkDcoding Blog

2020-02-07 Thread jmh530 via Digitalmars-d-announce
On Friday, 7 February 2020 at 19:51:52 UTC, Andre Pany wrote: [snip] Now it gets more complicated, GtkD has some additions to the lgpl rules. I cannot judge how high the risk is for companies to use this component, but as an employee I do anything to avoid any risk for the company I work

Re: D For Data Science: Calling R from D

2020-01-27 Thread jmh530 via Digitalmars-d-announce
On Monday, 27 January 2020 at 14:16:47 UTC, Mike Parker wrote: You've seen Lance Bachmeier posting in the forums under the bachmeier handle. He's put together a post for the D Blog showing how to integrate R into a D program. The Blog:

Re: My Android project nearing beta

2019-12-17 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 17 December 2019 at 17:41:46 UTC, bachmeier wrote: [snip] I had no idea that existed. That should really be promoted. There might be a lot of interest. First commit was only 8 days ago [1]. I'm sure there will be a bigger announcement when it's ready. [1]

Re: dud: A dub replacement

2019-11-11 Thread jmh530 via Digitalmars-d-announce
On Monday, 11 November 2019 at 19:17:54 UTC, Jacob Carlborg wrote: [snip] Hmm, that's unfortunate. It happens way too often in the D community, that a project is rewritten from scratch instead of improving the existing one. Especially since the D community is not that big. Although I can

Re: Release D 2.089.0

2019-11-06 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 6 November 2019 at 01:51:24 UTC, Heromyth wrote: [snip] There are some bugs in cas. See here: https://issues.dlang.org/show_bug.cgi?id=20354 https://issues.dlang.org/show_bug.cgi?id=20355 I suspect that providing simplified examples might improve your chances of getting these

Re: DIP 1021--Argument Ownership and Function Calls--Formal Assessment

2019-10-28 Thread jmh530 via Digitalmars-d-announce
On Sunday, 20 October 2019 at 12:31:23 UTC, Mike Parker wrote: DIP 1021, "Argument Ownership and Function Calls", has been formally accepted with minor revision. It was updated to make clear that the proposal is one piece of a bigger plan.

Re: Saving Money by Switching from PHP to D

2019-09-30 Thread jmh530 via Digitalmars-d-announce
On Monday, 30 September 2019 at 13:14:52 UTC, Mike Parker wrote: Andrea Fontana has contributed a guest post to the D blog about his company's experience moving their online magazine from PHP to D. Not only did they gain performance, they also saved quite a bit of money as a result. The

Re: LDC 1.18.0-beta1

2019-09-24 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 24 September 2019 at 18:24:36 UTC, Ivan Butygin wrote: On Tuesday, 24 September 2019 at 17:49:13 UTC, jmh530 wrote: About bind call overhead, bind object hold pointer to shared payload, which is allocated via malloc. This payload has function pointer (initially null). During

Re: LDC 1.18.0-beta1

2019-09-24 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 24 September 2019 at 16:48:48 UTC, kinke wrote: [snip] If you don't want to ship 10 fine-tuned binaries for 10 different CPUs (see `-mcpu=?`), you can use JIT to compile and tune performance-critical pieces for the executing/target CPU. E.g., letting the auto-vectorizer exploit

Re: LDC 1.18.0-beta1

2019-09-24 Thread jmh530 via Digitalmars-d-announce
On Monday, 23 September 2019 at 20:57:49 UTC, Ivan Butygin wrote: [snip] With @dynamicCompileEmit normal calls to function will go to static version but these functions can still be targets for bind. The confusing thing is that if I add a normal call to foo and then change

Re: LDC 1.18.0-beta1

2019-09-23 Thread jmh530 via Digitalmars-d-announce
On Monday, 23 September 2019 at 19:40:13 UTC, Ivan Butygin wrote: On Monday, 23 September 2019 at 12:22:47 UTC, Martin Tschierschke wrote: Can you please give (again?) a link or a more detailed description of the JIT, explaining some use cases?

Re: Release D 2.088.0

2019-09-07 Thread jmh530 via Digitalmars-d-announce
On Saturday, 7 September 2019 at 07:16:36 UTC, Manu wrote: [snip] What's the story with string though; the second line (linking back to the C++ reference) of the doco isn't there... O_o Hmm, I didn't notice that. It also is a problem for core.stdcpp.array. I'm looking at other uses of LINK2

Re: Release D 2.088.0

2019-09-06 Thread jmh530 via Digitalmars-d-announce
On Thursday, 5 September 2019 at 20:55:15 UTC, Manu wrote: [snip] Interesting... you can see in the code, there are doco comments everywhere, but the docs are empty O_o Also the second line of the description linking to the C++ docs is missing too... where did all the docs go? The point I

Re: Release D 2.088.0

2019-09-03 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 3 September 2019 at 14:02:43 UTC, bachmeier wrote: [snip] Those are a big deal. From a marketing perspective, those are gold IMO. If these are as big a deal as people seem to think, the documentation could be improved by including a brief example of how to use. In addition,

Re: Juliad: A library for interop between D and Julia

2019-08-30 Thread jmh530 via Digitalmars-d-announce
On Friday, 30 August 2019 at 13:30:06 UTC, Robert Schadek wrote: [snip] Cool. I haven't done much programming in Julia myself, but glad you guys are doing this kind of work.

Re: SAOC Experience Report: Porting a fork-based GC

2019-07-22 Thread jmh530 via Digitalmars-d-announce
On Monday, 22 July 2019 at 20:57:19 UTC, Meta wrote: [snip] This seems like a major failure in the process that this was allowed to happen - good work almost went abandoned. How can we prevent this in future SAoC/GSoC? Without knowing what the mentor did/didn't do, an obvious answer seems

Re: DConf 2019 Livestream

2019-05-08 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 8 May 2019 at 13:26:15 UTC, Mike Parker wrote: On Wednesday, 8 May 2019 at 13:14:05 UTC, RazvanN wrote: Will the recordings be uploaded somewhere (preferably youtube)? YouTube in approximately two weeks. Thanks for the slides thread as well...though I don't see Walter's on

Re: D 2019 GSoC projects - annoucement

2019-05-07 Thread jmh530 via Digitalmars-d-announce
On Monday, 6 May 2019 at 18:15:54 UTC, Seb wrote: Hi all, I'm very happy to announce that this year we will have six amazing GSoC students: [snip] Thanks to all those who helped make this happen. Good luck to the students.

Re: grain - D Language for Deep Learning

2019-04-26 Thread jmh530 via Digitalmars-d-announce
On Friday, 26 April 2019 at 06:35:42 UTC, Shigeki Karita wrote: I haven't know that GPU support in Stan. That's Cool! Cholesky decomposition always suffers me when I use covariance matrix or something. If you are interested in GPU acceleration in probabilistic programming, see also this

Re: Mir Algorithm 3.4.1 - RCArray and RCPtr

2019-04-24 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 24 April 2019 at 14:05:28 UTC, 9il wrote: [snip] RC types are created to be used with DIP1000. Plus, Mir Algorithm used in production with this DIP. See configuration "dips" [1] Well, the allocator support is not ready yet. But the mir_rc_context already contains `void*

Re: grain - D Language for Deep Learning

2019-04-24 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 24 April 2019 at 16:33:00 UTC, Shigeki Karita wrote: [snip] I see. I'm interested in Stan that is the best library for probabilistic models but it lacks of GPU computation. Therefore, I plan to add some probabilistic programming paradigm into grain like pytorch (pyro) and

Re: grain - D Language for Deep Learning

2019-04-24 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 24 April 2019 at 10:51:08 UTC, jmh530 wrote: On Wednesday, 24 April 2019 at 06:13:13 UTC, Fynn Schröder wrote: [snip] It's an autograd library for dynamic neural networks based on mir and cuda. See GitHub for more details: https://github.com/ShigekiKarita/grain I've tried it

Re: Mir Algorithm 3.4.1 - RCArray and RCPtr

2019-04-24 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 24 April 2019 at 01:34:58 UTC, 9il wrote: Thread safe RC Array and Ptr. Plus C++ headers for code integration. [snip] Cool. Does this make any use of DIP1000? How is the run-time/memory performance vs. the GC versions?

Re: grain - D Language for Deep Learning

2019-04-24 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 24 April 2019 at 06:13:13 UTC, Fynn Schröder wrote: [snip] It's an autograd library for dynamic neural networks based on mir and cuda. See GitHub for more details: https://github.com/ShigekiKarita/grain I've tried it and it works great -- although it's far from feature complete

Re: LDC 1.15.0

2019-04-12 Thread jmh530 via Digitalmars-d-announce
On Friday, 12 April 2019 at 13:54:05 UTC, kinke wrote: [snip] I'd use something like version (LDC) import ldc.attributes : restrict; else enum restrict = null; Excellent. Thanks.

Re: LDC 1.15.0

2019-04-12 Thread jmh530 via Digitalmars-d-announce
On Friday, 12 April 2019 at 13:54:05 UTC, kinke wrote: [snip] I'd use something like version (LDC) import ldc.attributes : restrict; else enum restrict = null; Much better, thanks.

Re: LDC 1.15.0

2019-04-12 Thread jmh530 via Digitalmars-d-announce
On Saturday, 6 April 2019 at 17:40:39 UTC, kinke wrote: * New generic @llvmAttr("name") parameter UDAs, incl. @restrict with C-like semantics. [snip] I think I had passed over this when I first read the announcement. The @llvmAttr("noalias") compiled on run.dlang.org, but I couldn't get

Re: The D Programming Language has been accepted as a GSoC 2019 organization

2019-02-27 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 26 February 2019 at 22:34:45 UTC, Seb wrote: Hi all, I have some very exciting news to share. [snip] Great news.

Re: unit-threaded v0.8.0

2019-02-01 Thread jmh530 via Digitalmars-d-announce
On Friday, 1 February 2019 at 12:51:18 UTC, Atila Neves wrote: [snip] I appreciate the reply. Thanks.

Re: DIP 1016--ref T accepts r-values--Formal Assessment

2019-01-31 Thread jmh530 via Digitalmars-d-announce
On Thursday, 31 January 2019 at 22:35:26 UTC, H. S. Teoh wrote: On Thu, Jan 31, 2019 at 10:26:39PM +, jmh530 via Digitalmars-d-announce wrote: On Thursday, 31 January 2019 at 21:57:21 UTC, Steven Schveighoffer wrote: [...] > That being said, you can look at the fact that most peo

Re: DIP 1016--ref T accepts r-values--Formal Assessment

2019-01-31 Thread jmh530 via Digitalmars-d-announce
On Thursday, 31 January 2019 at 21:57:21 UTC, Steven Schveighoffer wrote: [snip] That being said, you can look at the fact that most people don't even know about this problem, even seasoned veterans, as a sign that it's really not a big problem. The way you put it makes it sound like a

Re: DIP 1016--ref T accepts r-values--Formal Assessment

2019-01-31 Thread jmh530 via Digitalmars-d-announce
On Thursday, 31 January 2019 at 21:50:19 UTC, Olivier FAURE wrote: On Thursday, 31 January 2019 at 21:44:53 UTC, jmh530 wrote: It doesn't compile with dip1000 without first giving the getter functions a return attribute for this. But it still compiles with -dip1000 once you give x() and y()

Re: DIP 1016--ref T accepts r-values--Formal Assessment

2019-01-31 Thread jmh530 via Digitalmars-d-announce
On Thursday, 31 January 2019 at 21:42:04 UTC, Olivier FAURE wrote: [snip] It took me a while to understand what the compiler was doing. This really feels like something that shouldn't compile. It doesn't compile with dip1000 without first giving the getter functions a return attribute for

Re: unit-threaded v0.8.0

2019-01-31 Thread jmh530 via Digitalmars-d-announce
On Thursday, 31 January 2019 at 14:42:43 UTC, Atila Neves wrote: [snip] I've never had a need to use complicated values, so I haven't coded that. If presented with an example, I think there's a high chance I'd consider it an anti-pattern. I was thinking about something like what is in one

Re: unit-threaded v0.8.0

2019-01-30 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 30 January 2019 at 14:27:25 UTC, Atila Neves wrote: [snip] -- @Types!(ubyte, byte) @Types!(int, uint, float) @UnitTest void fun(T0, T1)() { static assert(T0.sizeof == 1); static assert(T1.sizeof == 4); } -- This now generates 6 tests, one

Re: Top Five World’s Most Underrated Programming Languages

2019-01-23 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 23 January 2019 at 13:03:18 UTC, Bienlein wrote: Also, the Internet was Java's killer application. No other language had the libraries for accessing the Internet easily. Then there is dynamic class loading. This made things a little bit more unsafe at runtime but in general

Re: Blog post: What D got wrong

2018-12-13 Thread jmh530 via Digitalmars-d-announce
On Thursday, 13 December 2018 at 17:07:58 UTC, H. S. Teoh wrote: [snip] Why not? You can opt out. It's not as though you're forced to use immutable everything and nothing but, like in a pure functional language. Just tack on @system or mutable when you need to. Mutable might be a

Re: Blog post: What D got wrong

2018-12-11 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 11 December 2018 at 10:45:39 UTC, Atila Neves wrote: A few things that have annoyed me about writing D lately: https://atilanevesoncode.wordpress.com/2018/12/11/what-d-got-wrong/ One thing that could be improved in this post is separating things that can't reasonably be either

Re: Google Summer of Code 2019

2018-12-10 Thread jmh530 via Digitalmars-d-announce
On Sunday, 25 November 2018 at 13:58:25 UTC, Mike Parker wrote: The time has come to start thinking about GSoC 2019. The application deadline for mentoring organizations is on February 6. I'd like to get a solid list of project ideas for potential student applications. I've set up a new page

Re: sumtype 0.7.0

2018-11-20 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 21 November 2018 at 00:38:25 UTC, Paul Backus wrote: SumType is a generic sum type for modern D. It is meant as an alternative to `std.variant.Algebraic`. [snip] Keep up the good work.

Re: xlsxd: A Excel xlsx writer

2018-11-07 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 7 November 2018 at 16:41:39 UTC, Robert Schadek wrote: https://code.dlang.org/packages/xlsxd [snip] You folks at Kaleidic keep doing great things.

Re: Wed Oct 17 - Avoiding Code Smells by Walter Bright

2018-11-07 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 7 November 2018 at 13:15:03 UTC, Dennis wrote: [snip] "Hello, MrHaltingProblem here! We obviously need a @noloops attribute. My co-workers are constantly writing buggy loops with wrong loop conditions so I NEED the extra protection. You're asking for a justification? Trust me,

Re: LDC 1.13.0-beta1

2018-11-05 Thread jmh530 via Digitalmars-d-announce
On Saturday, 3 November 2018 at 16:33:36 UTC, kinke wrote: I figured it'd be for a lot of Windows users. Why not explicitly express your gratitude with a little 'thank you' then? After all, that little bullet point in the release notes easily took some 40 hours of my spare time, and some

Re: smile.amazon.com Promotion

2018-11-01 Thread jmh530 via Digitalmars-d-announce
On Thursday, 1 November 2018 at 05:26:06 UTC, Joakim wrote: [snip] My guess, and this is purely a guess, is that they got discouraged by how few people paid attention to the Vision document or donated to the foundation on Opencollective and haven't bothered with this stuff since. I pay

Re: Release D 2.082.1

2018-10-31 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 31 October 2018 at 19:38:54 UTC, Walter Bright wrote: It appears to be identified as malware by Windows Defender: https://issues.dlang.org/show_bug.cgi?id=18786#c10 and on hackernews: https://news.ycombinator.com/item?id=18347138 I thought that was the point of signed

Re: smile.amazon.com Promotion

2018-10-29 Thread jmh530 via Digitalmars-d-announce
On Monday, 29 October 2018 at 16:01:38 UTC, Mike Parker wrote: One of the easiest ways to support the D Language Foundation is using smile.amazon.com when you make a purchase. Until Nov 2, they're running a special where they're donating 5% (10 times the usual amount) you buy through

Re: Beta 2.082.0

2018-10-26 Thread jmh530 via Digitalmars-d-announce
On Saturday, 27 October 2018 at 01:45:43 UTC, Martin Nowak wrote: [snip] http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.083.0.html "fix Issue 14246 - RAII - proper destruction of partically constructed objects" typo on partically?

Re: LDC 1.12.0

2018-10-19 Thread jmh530 via Digitalmars-d-announce
On Friday, 19 October 2018 at 10:03:17 UTC, jmh530 wrote: On Friday, 19 October 2018 at 02:18:38 UTC, Shigeki Karita wrote: [snip] https://github.com/jmmartinez/easy-just-in-time/blob/master/doc/slides/cppcon'18.pdf Thanks for those! I'm a little confused about using the jit in

Re: LDC 1.12.0

2018-10-19 Thread jmh530 via Digitalmars-d-announce
On Friday, 19 October 2018 at 02:18:38 UTC, Shigeki Karita wrote: [snip] https://github.com/jmmartinez/easy-just-in-time/blob/master/doc/slides/cppcon'18.pdf Thanks for those!

Re: Interfacing D with C: Arrays Part 1

2018-10-18 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 17 October 2018 at 15:20:08 UTC, Mike Parker wrote: I had intended to publish the next GC series post early this month, but after many revisions and discussions with a couple of reviewers, I've decided to put it on hold until something gets worked out about the conflation of

Re: LDC 1.12.0

2018-10-14 Thread jmh530 via Digitalmars-d-announce
On Saturday, 13 October 2018 at 16:05:31 UTC, kinke wrote: * New, Easy::jit-like interface for dynamic/JIT compilation. I'm not familiar with Easy::jit. Would it make sense to do some kind of simple tutorial? Or maybe blog post?

Re: libmir: recent updates

2018-09-10 Thread jmh530 via Digitalmars-d-announce
On Monday, 10 September 2018 at 17:42:16 UTC, jmh530 wrote: [snip] mir-algorithm and lubeck do not interact well right now on run.dlang.org as lubeck depends on the earlier API. The maintainer of that might consider adding an older version of mir-algorithm until the situation is resolved.

Re: libmir: recent updates

2018-09-10 Thread jmh530 via Digitalmars-d-announce
On Monday, 10 September 2018 at 14:33:11 UTC, 9il wrote: On Monday, 10 September 2018 at 12:55:01 UTC, Arredondo wrote: On Sunday, 9 September 2018 at 17:24:49 UTC, 9il wrote: Mir Algorithm http://mir-algorithm.dub.pm - v2.0.0, new ndslice API, Does new API mean that it's not backwards

Re: libmir: recent updates

2018-09-10 Thread jmh530 via Digitalmars-d-announce
On Monday, 10 September 2018 at 04:50:37 UTC, Shigeki Karita wrote: [snip] great. numir (numpy like helper functions library) also supports mir-algorithm v2 today https://github.com/libmir/numir/releases Glad to hear it. I hope the v2 API helps with explaining mir.

Re: Optional and NotNull version 0.5.0 - swift optional like and scala option like

2018-08-20 Thread jmh530 via Digitalmars-d-announce
On Monday, 20 August 2018 at 19:06:36 UTC, Seb wrote: [snip] That looks pretty cool! I added optional to run.dlang.io (e.g. https://run.dlang.io/is/912kVG) and the project tester (https://github.com/dlang/ci/pull/288). It's interesting that both sumtype and optional have match templates.

Re: Beta 2.082.0

2018-08-20 Thread jmh530 via Digitalmars-d-announce
On Friday, 17 August 2018 at 20:01:32 UTC, Martin Nowak wrote: Glad to announce the first beta for the 2.082.0 release, ♥ to the 47 contributors for this release. [snip] On the "UDAs on function arguments are now supported" part of the change log, just to be clear, @(22) is added to "a" for

Re: Optional and NotNull version 0.5.0 - swift optional like and scala option like

2018-08-16 Thread jmh530 via Digitalmars-d-announce
On Thursday, 16 August 2018 at 12:25:14 UTC, aliak wrote: Hi See: https://optional.dub.pm I've totally revamped the Optional type and am now quite happy with. It has a range interface and safe dispatching and can be used to 1) avoid null dereferencing, 2) have non-null guarantees, and 3)

Re: autowrap v0.0.1 - Automatically wrap existing D code for use in Python and Excel

2018-07-31 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 31 July 2018 at 09:09:11 UTC, Nicholas Wilson wrote: [snip] Also I'm working on a D kernel for Jupyter notebook which should be done soon. Excellent.

Re: Symmetry Autumn of Code

2018-07-18 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 18 July 2018 at 10:35:04 UTC, Andre Pany wrote: Proposal: Multi IDE debugger support (for windows) [snip] This is a good idea too.

Re: Symmetry Autumn of Code

2018-07-17 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 17 July 2018 at 17:36:12 UTC, Ecstatic Coder wrote: I'd suggest adding the following to SAOC 2018 project proposals : [snip] Things on my wishlist: Improved REPL support (esp Windows) Jupyter kernel for D (someone might be working on this) Very smooth integration between

Re: mir-optim v0.0.1: betterC nonlinear least squares

2018-07-13 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 10 July 2018 at 02:10:56 UTC, 9il wrote: The algorigbms from https://github.com/JuliaNLSolvers are good candidates. No plans to implement them for now, but PRs are wellcome. Another type of functionality that would be useful: https://www.mathworks.com/help/matlab/ref/fzero.html

Re: mir-optim v0.0.1: betterC nonlinear least squares

2018-07-10 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 10 July 2018 at 02:10:56 UTC, 9il wrote: The algorigbms from https://github.com/JuliaNLSolvers are good candidates. No plans to implement them for now, but PRs are wellcome. Dlangscience has headers for the nlopt and glpk C libraries that I've used in the past. ipopt is another

Re: mir-optim v0.0.1: betterC nonlinear least squares

2018-07-09 Thread jmh530 via Digitalmars-d-announce
On Monday, 9 July 2018 at 13:54:17 UTC, 9il wrote: https://github.com/libmir/mir-optim This work has been sponsored by Symmetry Investments and Kaleidic Associates. http://symmetryinvestments.com https://github.com/kaleidicassociates It looks like the docs are not correctly handling the

Re: Release D 2.081.0

2018-07-09 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 4 July 2018 at 10:03:57 UTC, Martin Nowak wrote: Glad to announce D 2.081.0. This release comes with... http://dlang.org/download.html http://dlang.org/changelog/2.081.0.html - -Martin I received a message on Windows 7 that "The version of this file is not compatible with

Re: Mir Algorithm v1.1.3

2018-07-03 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 3 July 2018 at 12:47:58 UTC, 9il wrote: [snip] New Mir features are open source reflection of work on large proprietary codebase. We have awesome Levenberg–Marquardt algorithm implementation (ndim non-linear least squares solver) in mir.optim, but it is closed source. Maybe if

Re: Mir Algorithm v1.1.3

2018-07-02 Thread jmh530 via Digitalmars-d-announce
On Sunday, 1 July 2018 at 15:18:55 UTC, 9il wrote: Mir Algorithm [1, 2] = Dlang core library for math, finance and a home for Dlang multidimensional array package - ndslice. New features: - most of routines in mir.ndslice.topology (e.g. map, zip, stride) accept common arrays

Re: I have a plan.. I really DO

2018-06-29 Thread jmh530 via Digitalmars-d-announce
On Friday, 29 June 2018 at 07:03:52 UTC, Dmitry Olshansky wrote: [snip] I'm a little confused. You're going to send $10 a day to D Foundation because you're upset about people complaining about D? I have my donation come through my paycheck. Company matches up to a certain amount a year.

Re: 'static foreach' chapter and more

2018-06-26 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 26 June 2018 at 01:52:42 UTC, Ali Çehreli wrote: I've made some online improvements to "Programming in D" since September 2017. [snip] +1

Re: D only has Advantages

2018-06-14 Thread jmh530 via Digitalmars-d-announce
On Thursday, 14 June 2018 at 10:18:26 UTC, Walter Bright wrote: Evidently my brand of humor got lost in translation. I grovel and beg for forgiveness, and will appropriately flagellate myself with a wet noodle. I found myself getting in trouble when I was texting and being sarcastic. I

Re: DConf 2018 Ex Post Facto

2018-05-31 Thread jmh530 via Digitalmars-d-announce
On Thursday, 31 May 2018 at 15:01:12 UTC, Mike Parker wrote: Since I returned home from my extended trip to Germany, it's been a slog trying to ramp back up into my usual routine. It was a week before I could find any words at all for a retrospective on the conference, and it very nearly took

Re: AppVeyor-D: Project to track recommended appveyor.yml (Win CI)

2018-05-31 Thread jmh530 via Digitalmars-d-announce
On Thursday, 31 May 2018 at 08:31:21 UTC, Nick Sabalausky (Abscissa) wrote: [snip] One nice thing about this (compared to the DWiki page) is that its actually being tested by AppVeyor itself. Plus, it now has full GitHub Issues/PR support for managing enhancement/submissions/discussion, all

Re: sumtype 0.3.0

2018-05-09 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 9 May 2018 at 14:56:20 UTC, Paul Backus wrote: [snip] What length actually does, after all the compile-time stuff is expanded, is essentially this: switch(v.tag) { case 0: return sqrt(v.value!Rectangular.x**2 + v.value!Rectangular.y**2); case 1: return

Re: sumtype 0.3.0

2018-05-09 Thread jmh530 via Digitalmars-d-announce
On Sunday, 6 May 2018 at 19:18:02 UTC, Paul Backus wrote: [snip] - Zero runtime overhead compared to hand-written C Just to clarify, would the run-time performance of the length function in the example be equivalent to if it had been specialized for the Rectangular types (e.g. double

Re: embedr: Call D functions from R and embed an R interpreter inside a D program

2018-05-01 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 1 May 2018 at 14:45:17 UTC, rikki cattermole wrote: On 02/05/2018 2:42 AM, bachmeier wrote: I had planned to work on this some more, but I'm editor of a journal and have recently agreed to become director of graduate studies, so there's no time to work on anything I don't use in

Re: autowrap v0.0.1 - Automatically wrap existing D code for use in Python and Excel

2018-04-18 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 18 April 2018 at 15:28:07 UTC, Atila Neves wrote: http://code.dlang.org/packages/autowrap This came out of the need at work to take existing D code and make it available for both Excel and Python. [snip] Cool. I bet something similar would work with embedr as well.

Re: #include C headers in D code

2018-04-09 Thread jmh530 via Digitalmars-d-announce
On Monday, 9 April 2018 at 11:03:48 UTC, Atila Neves wrote: Here's my blog post about my project that allows directly #including C headers in D* [snip] Fantastic.

Re: std.variant Is Everything Cool About D

2018-03-29 Thread jmh530 via Digitalmars-d-announce
On Friday, 30 March 2018 at 00:37:27 UTC, Meta wrote: Unfortunately, this turned out to be the worst possible day for me to try to actively monitor the thread and respond to questions. I'm surprised that people latched onto my little quip about C++ using the name variant for a tagged union.

Re: The D Language Foundation at Open Collective

2018-03-12 Thread jmh530 via Digitalmars-d-announce
On Monday, 12 March 2018 at 14:37:40 UTC, rikki cattermole wrote: Can you guys add another donation package, which is basically pay what you want towards a more long term issue? To incentivize fixing. Monetary wise I shouldn't donate but I do care about shared library support enough that I

Re: Article: Why Const Sucks

2018-03-06 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 6 March 2018 at 15:39:41 UTC, Jonathan M Davis wrote: [snip] How well Phobos has done with this has improved over time as more and better testing has been added (testing for reference type ranges is probably the most critical to finding this particular problem), but I doubt that

Re: LDC 1.8.0

2018-03-06 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 6 March 2018 at 14:06:54 UTC, Mike Parker wrote: On Sunday, 4 March 2018 at 22:37:21 UTC, kinke wrote: Thanks to all contributors! And thanks to Johan Engelen and Joakim for putting together an announcement for the blog! https://dlang.org/blog/2018/03/06/ldc-1-8-0-released/

Re: Release D 2.079.0

2018-03-05 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 6 March 2018 at 00:10:52 UTC, Sönke Ludwig wrote: BTW, the problems with this release are a strong hint that we should rethink the inclusion approach with std.experimental. Since breaking changes are tied to the DMD version, it makes those modules almost unusable outside of toy

  1   2   3   >