Re: The D Language Foundation at Open Collective

2018-03-15 Thread Meta via Digitalmars-d-announce
On Wednesday, 14 March 2018 at 12:00:42 UTC, Seb wrote: Yeah, the idea is that 5$ a month isn't much (~ one coffee in most countries), but if 500 people donate one coffee a month, you get the entire coffee machine with a warp engine :) Sorry to derail, but I had to ask: where does 1 coffee (ev

Re: OT: Coffee prices [was Re: The D Language Foundation at Open Collective]

2018-03-15 Thread Meta via Digitalmars-d-announce
On Thursday, 15 March 2018 at 13:10:57 UTC, Seb wrote: (though in Germany that's often cheaper than one cup of coffee) On second thought, maybe I'll move to Germany. I'll suffer expensive coffee in exchange for cheap beer ;-)

Re: Draft Review DIP: Enum and Function Parameter Attributes

2018-03-20 Thread Meta via Digitalmars-d-announce
On Wednesday, 21 March 2018 at 00:12:43 UTC, Mike Parker wrote: As it stands, this DIP [1] is currently the candidate to become DIP 1013. Any an all feedback for Draft Review is welcome. Please read the intent [2] behind the Draft Review before participating. Thanks! [1] https://github.com/dl

Re: Draft Review DIP: Enum and Function Parameter Attributes

2018-03-21 Thread Meta via Digitalmars-d-announce
On Wednesday, 21 March 2018 at 05:57:47 UTC, Mike Parker wrote: On Wednesday, 21 March 2018 at 02:26:02 UTC, Meta wrote: Low hanging fruit: Thanks for the feedback, but Draft Review comments should go in the PR thread. I'll add a link over there to the post, but when you get a chance, it

Re: std.variant Is Everything Cool About D

2018-03-29 Thread Meta via Digitalmars-d-announce
On Thursday, 29 March 2018 at 14:10:39 UTC, Mike Parker wrote: Jared Hanson (a.k.a Meta and MetaLang around these parts) was inspired by an article titled "std::visit is everything wrong with modern C++" to contrast it with D's std.variant.visit. The result is this well-written post for the D B

Re: std.variant Is Everything Cool About D

2018-03-30 Thread Meta via Digitalmars-d-announce
On Thursday, 29 March 2018 at 14:10:39 UTC, Mike Parker wrote: Jared Hanson (a.k.a Meta and MetaLang around these parts) was inspired by an article titled "std::visit is everything wrong with modern C++" to contrast it with D's std.variant.visit. The result is this well-written post for the D B

Re: std.variant Is Everything Cool About D

2018-03-30 Thread Meta via Digitalmars-d-announce
On Friday, 30 March 2018 at 13:44:50 UTC, Meta wrote: I've submitted it to Hacker News as well (looks like someone posted it yesterday, but it only got 1 vote and there was no discussion, so I figured that was grounds enough for resubmission). If you've got an account, please give me your mean

Re: std.variant Is Everything Cool About D

2018-04-01 Thread Meta via Digitalmars-d-announce
On Saturday, 31 March 2018 at 17:36:30 UTC, Pjotr Prins wrote: Great blog. Thanks. Thank you, glad you liked it.

Re: std.variant Is Everything Cool About D

2018-04-03 Thread Meta via Digitalmars-d-announce
On Wednesday, 4 April 2018 at 03:09:22 UTC, helxi wrote: On Thursday, 29 March 2018 at 14:10:39 UTC, Mike Parker wrote: Jared Hanson (a.k.a Meta and MetaLang around these parts) was inspired by an article titled "std::visit is everything wrong with modern C++" to contrast it with D's std.varian

Re: std.variant Is Everything Cool About D

2018-04-05 Thread Meta via Digitalmars-d-announce
On Wednesday, 4 April 2018 at 11:40:58 UTC, Steven Schveighoffer wrote: On 4/3/18 11:29 PM, Meta wrote: Also, with Nullable your data is guaranteed to not be boxed, whereas it's a possibility with Variant/Algebraic if the types you're working with are large enough. Not with Algebraic. -Steve

Re: DConf 2018 Livestream

2018-05-02 Thread Meta via Digitalmars-d-announce
On Thursday, 3 May 2018 at 00:32:07 UTC, Ali Çehreli wrote: On 05/02/2018 04:01 PM, Juan wrote: On Wednesday, 2 May 2018 at 17:47:43 UTC, Ali Çehreli wrote:   https://www.youtube.com/watch?v=HvqsUO77FGI Ali Hi Ali, Thanks for the link, and by the way could you share the link for the first

Re: Funding for code-d/serve-d

2018-05-06 Thread Meta via Digitalmars-d-announce
On Saturday, 5 May 2018 at 11:21:29 UTC, Mike Parker wrote: This morning at the Hackathon I announced that the D Foundation is raising money for code-d/serve-d, the plugin for Visual Studio Code and its companion Microsoft Language Server Protocol implementation for D. We've set up a goal of

Re: Looks like Digital Mars C++ is on the front page of HN at the moment!

2018-05-25 Thread Meta via Digitalmars-d-announce
On Thursday, 24 May 2018 at 20:10:24 UTC, Walter Bright wrote: Maybe. I was thinking about using DasBetterC for the DMC runtime library instead of C :-) That would be very cool Walter.

Re: How an Engineering Company Chose to Migrate to D

2018-06-22 Thread Meta via Digitalmars-d-announce
On Wednesday, 20 June 2018 at 13:21:30 UTC, Mike Parker wrote: If you saw Bastiaan Veelo's DConf 2017 presentation, you'll know that his employer was evaluating D as a candidate for migrating their code base away from Extended Pascal. Recently, the decision was made and D was the coice. In this

Re: Blogpost about the T.init problem

2018-07-10 Thread Meta via Digitalmars-d-announce
On Tuesday, 10 July 2018 at 13:41:56 UTC, FeepingCreature wrote: I've written up a short blogpost about the T.init issue. It is not very enthusiastic. https://medium.com/@feepingcreature/d-structs-dont-work-for-domain-data-c09332349f43 Related links: https://github.com/dlang/phobos/pull/6594

Re: Blogpost about the T.init problem

2018-07-11 Thread Meta via Digitalmars-d-announce
On Wednesday, 11 July 2018 at 07:35:24 UTC, FeepingCreature wrote: On Wednesday, 11 July 2018 at 07:30:59 UTC, FeepingCreature wrote: Then just stick it in a Nullable. No explicit .init needed. To clarify this point some more, since on reflection it's ambiguous: you might well say that "well

Re: dpp now compiles julia.h headers

2018-07-13 Thread Meta via Digitalmars-d-announce
On Friday, 13 July 2018 at 19:02:56 UTC, Laeeth Isharc wrote: Atila Neves' d++ now compiles julia.h. Modulo bugs this makes it possible to embed Julia in D (and probably the other way around, but I have not tried). https://github.com/kaleidicassociates/juliad Very cool. It's awesome to be a

Re: Copy Constructor DIP and implementation

2018-09-17 Thread Meta via Digitalmars-d-announce
On Tuesday, 11 September 2018 at 15:08:33 UTC, RazvanN wrote: Hello everyone, I have finished writing the last details of the copy constructor DIP[1] and also I have published the first implementation [2]. As I wrongfully made a PR for the DIP queue in the early stages of the development of t

Re: Copy Constructor DIP and implementation

2018-09-24 Thread Meta via Digitalmars-d-announce
On Sunday, 23 September 2018 at 01:08:50 UTC, Jonathan M Davis wrote: @implicit is just there because of the fear of breaking a theoretical piece of code that's going to be extremely rare if it exists at all and in most cases would continue to work just fine even if it did exist. - Jonathan M

Re: Blog post: What D got wrong

2018-12-11 Thread Meta 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/ Template lambdas and better eponymous template syntax are the two big ones that I would really like. I

Re: Blog post: What D got wrong

2018-12-11 Thread Meta via Digitalmars-d-announce
On Tuesday, 11 December 2018 at 20:44:28 UTC, Dukc wrote: On Tuesday, 11 December 2018 at 15:34:28 UTC, Simen Kjærås wrote: I believe a reasonable case can be made for .! for UFCS - it's currently invalid syntax and will not compile, and ! is the symbol we already associate with template inst

Re: The New Fundraising Campaign

2019-01-04 Thread Meta via Digitalmars-d-announce
On Friday, 4 January 2019 at 10:30:07 UTC, Martin Tschierschke wrote: On Saturday, 10 November 2018 at 16:09:12 UTC, Mike Parker wrote: [...] Please read the blog post for more details: https://dlang.org/blog/2018/11/10/the-new-fundraising-campaign/ https://www.flipcause.com/secure/cause_pde

Re: The New Fundraising Campaign

2019-01-04 Thread Meta via Digitalmars-d-announce
On Friday, 4 January 2019 at 16:21:16 UTC, Mike Parker wrote: On Friday, 4 January 2019 at 15:43:41 UTC, Meta wrote: Awesome; funding goal reached in a little less than 2 months. I didn't even get around to donating yet, so maybe I'll save it for the next one instead. On a related note, D

Re: B Revzin - if const expr isn't broken (was Re: My Meeting C++ Keynote video is now available)

2019-01-16 Thread Meta via Digitalmars-d-announce
On Thursday, 17 January 2019 at 01:59:29 UTC, Walter Bright wrote: Bartosz Milewski is a C++ programmer and a Haskell fan. He once gave a presentation at NWCPP where he wrote a few lines of Haskell code. Then, he showed the same code written using C++ template metaprogramming. The Haskell bit

Re: Top Five World’s Most Underrated Programming Languages

2019-01-17 Thread Meta via Digitalmars-d-announce
On Friday, 18 January 2019 at 01:15:06 UTC, Bill Baxter wrote: Gotta laugh at Ruby being listed as "Underrated", though. --bb On Mon, Jan 14, 2019 at 12:25 PM Andrei Alexandrescu via Digitalmars-d-announce wrote: Of possible interest: https://www.technotification.com/2019/01/most-underr

Re: D-lighted, I'm Sure

2019-01-18 Thread Meta via Digitalmars-d-announce
On Friday, 18 January 2019 at 16:42:15 UTC, Ron Tarrant wrote: Just to set the record straight, I only had access to that Coleco Adam for the few weeks I was in that Newfoundland outport. Within a year, I too had my very own C-64 plugged into a monster Zenith console job. Remember those? I don'

Re: D-lighted, I'm Sure

2019-01-21 Thread Meta via Digitalmars-d-announce
On Saturday, 19 January 2019 at 22:09:57 UTC, Ron Tarrant wrote: On Friday, 18 January 2019 at 19:55:34 UTC, Meta wrote: Great read Ron. Can I ask which town in Newfoundland it was where you stayed back in 1985? Sure. I was in St. Lawrence on the Burin Peninsula. Do you know it? Unfortunat

Re: New Fundraiser: D Forums Server

2019-01-25 Thread Meta via Digitalmars-d-announce
On Friday, 25 January 2019 at 19:14:31 UTC, Mike Parker wrote: On Friday, 25 January 2019 at 19:11:59 UTC, Mike Parker wrote: Flipcause donors are not American. Did you have trouble? If so, you can go to the donation page and use the PayPal link. Sorry: https://dlang.org/foundation/donate.ht

Re: Containerize Your D Server Application

2019-03-14 Thread Meta via Digitalmars-d-announce
On Thursday, 14 March 2019 at 18:02:31 UTC, Arun Chandrasekaran wrote: On Thursday, 14 March 2019 at 12:38:30 UTC, Mike Parker wrote: One of the items on my list of "things I'd like to do if I only had the time" is to create a Mud server with D and deploy it with Docker. Just for kicks. If I ev

Re: Containerize Your D Server Application

2019-03-15 Thread Meta via Digitalmars-d-announce
On Friday, 15 March 2019 at 04:43:21 UTC, Nick Sabalausky (Abscissa) wrote: On 3/14/19 8:38 AM, Mike Parker wrote: One of the items on my list of "things I'd like to do if I only had the time" is to create a Mud server with D and deploy it with Docker. Just for kicks. If I ever do get around to

Re: DlangUI

2015-02-24 Thread Meta via Digitalmars-d-announce
On Tuesday, 24 February 2015 at 08:01:41 UTC, Vadim Lopatin wrote: On Tuesday, 20 May 2014 at 18:13:36 UTC, Vadim Lopatin wrote: Hello! I would like to announce my project, DlangUI library - cross-platform GUI for D. https://github.com/buggins/dlangui License: Boost License 1.0 Native librar

Re: DlangUI

2015-02-25 Thread Meta via Digitalmars-d-announce
On Wednesday, 25 February 2015 at 06:11:29 UTC, Vadim Lopatin wrote: Upgrade dependencies: dub upgrade --force-remove Ah yes, that does it. Thank you.

Re: This Week in D #7 - summary of reference counting discussion

2015-03-02 Thread Meta via Digitalmars-d-announce
On Monday, 2 March 2015 at 04:19:08 UTC, Adam D. Ruppe wrote: This was a very active week on the forums, though most of it was centered around DIP74 and its satellite discussions, leading to a somewhat thin newsletter. http://arsdnet.net/this-week-in-d/mar-01.html https://twitter.com/adamdrup

Re: Gary Willoughby: "Why Go's design is a disservice to intelligent programmers"

2015-03-26 Thread Meta via Digitalmars-d-announce
On Wednesday, 25 March 2015 at 23:00:32 UTC, bearophile wrote: Ola Fosheim Grøstad: Downplaying other languages makes the D crowd look desperate... That kind of articles are bad for the image of the D community (and the D code shown in that article is not the best). Bye, bearophile I don

Re: This week in D #14: job opening, Silicon Valley meetup, Dsource on GitHub

2015-04-20 Thread Meta via Digitalmars-d-announce
On Monday, 20 April 2015 at 06:39:00 UTC, weaselcat wrote: On Monday, 20 April 2015 at 06:23:36 UTC, ketmar wrote: as Adam didn't post announce for current TWiD, i'll try to do that instead, as i like to see that announcements here. http://arsdnet.net/this-week-in-d/apr-19.html the notable th

Re: [hackathon] FreeTree is FreeList on autotune

2015-05-02 Thread Meta via Digitalmars-d-announce
On Saturday, 2 May 2015 at 06:28:01 UTC, Andrei Alexandrescu wrote: I'm just done implementing a pretty cool allocator: FreeTree. https://github.com/andralex/phobos/blob/allocator/std/experimental/allocator/free_tree.d http://erdani.com/d/phobos-prerelease/std_experimental_allocator_free_tree.h

Re: Visual D 0.3.41 released

2015-05-16 Thread Meta via Digitalmars-d-announce
On Saturday, 16 May 2015 at 09:09:38 UTC, Rainer Schuetze wrote: Hi, there is a new release of Visual D available at http://rainers.github.io/visuald/visuald/StartPage.html Major new features: - new linker option "build and use local phobos library" to get a COFF32 version (dmd 2.067+) or a

Re: D needs...

2015-05-21 Thread Meta via Digitalmars-d-announce
On Thursday, 21 May 2015 at 17:47:02 UTC, Daniel Kozak wrote: I will probably implement all variants (final!bool, !final, final(bool), default), if I have a enought spare time. Any plans on turning it into a PR when you're done?

Re: DlangIDE

2015-05-22 Thread Meta via Digitalmars-d-announce
On Friday, 22 May 2015 at 13:12:28 UTC, JohnnyK wrote: Thanks for the reply. Is the IDE ever going to be a full install package that can be deployed like the compiler (ie.. Windows setup, Linux package, or Mac install)? IMHO dub is too confusing, very proprietary and is not user friendly at al

Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Meta via Digitalmars-d-announce
On Thursday, 4 June 2015 at 15:04:05 UTC, Vladimir Panteleev wrote: http://beta.forum.dlang.org/ Many major and minor improvements. Some major ones: - dlang.org theme, fully responsive and mobile-friendly - keyboard navigation in all views - automatically saved post drafts - get notified of ne

Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Meta via Digitalmars-d-announce
On Friday, 5 June 2015 at 01:52:07 UTC, Vladimir Panteleev wrote: On Friday, 5 June 2015 at 01:48:20 UTC, Meta wrote: How feasible is it to add code formatting for the web interface? Not sure what you mean. Do you mean syntax highlighting for D code? If you mean the rewrapping issues with f

Re: This Week in D #19: Reggae, ranges, and DConf Wed. Afternoon summary

2015-06-08 Thread Meta via Digitalmars-d-announce
On Monday, 8 June 2015 at 19:21:10 UTC, Adam D. Ruppe wrote: http://arsdnet.net/this-week-in-d/jun-07.html These dconf articles are taking a long time to write, hence the lateness again, but here's the rest of Wednesday and some roundup of changes from the forum and pull requests. I was a bi

Re: Beta D 2.068.0-b1

2015-06-25 Thread Meta via Digitalmars-d-announce
On Wednesday, 24 June 2015 at 23:14:05 UTC, Martin Nowak wrote: First beta for the 2.068.0 release. http://downloads.dlang.org/pre-releases/2.x/2.068.0/ http://ftp.digitalmars.com/ Also available on Travis-CI as dmd-2.068.0-b1. A changelog containing all the upcoming changes will be provide

Re: This Week in D #23 - Interview with Dmitry Olshansky, dmd beta, std.experimental.color

2015-07-02 Thread Meta via Digitalmars-d-announce
On Thursday, 2 July 2015 at 14:16:41 UTC, Joakim wrote: On Thursday, 2 July 2015 at 10:26:36 UTC, Dmitry Olshansky wrote: On 29-Jun-2015 06:46, Adam D. Ruppe wrote: http://arsdnet.net/this-week-in-d/jun-28.html I should have probably said on the day one - AMA. P.S. Thanks to Joakim for editi

Re: Four new DConf 2015 videos

2015-07-08 Thread Meta via Digitalmars-d-announce
On Wednesday, 8 July 2015 at 16:26:31 UTC, QAston wrote: Looks like you've destroyed C++ concepts with this talk. It's kind of unfortunate for C++ because D has the benefit of hindsight. Ranges instead of iterators, DbI instead of Concepts/Generic Programming, static if/version/templates inst

Re: Programming in D On Goodreads

2015-07-18 Thread Meta via Digitalmars-d-announce
On Saturday, 18 July 2015 at 13:34:55 UTC, Ali Çehreli wrote: On 07/17/2015 12:37 PM, Jack Stouffer wrote: https://www.goodreads.com/book/show/25928594-programming-in-d I just added Ali Çehreli's "Programming in D" on Goodreads. If any of you have accounts, please rate the book, because people

Re: New D book available for pre-order: D Web Development

2015-07-22 Thread Meta via Digitalmars-d-announce
On Wednesday, 22 July 2015 at 15:29:20 UTC, Kai Nacke wrote: Hi all! Did you notice that development of LDC has been a bit slowly in the past? The reason is my book D Web Development, available now for pre-order: https://www.packtpub.com/web-development/d-web-development Awesome, I'll be pi

Re: Visual D 0.3.42 released

2015-08-05 Thread Meta via Digitalmars-d-announce
On Wednesday, 5 August 2015 at 21:03:51 UTC, Rainer Schuetze wrote: Hi, there is a new version of Visual D available at http://rainers.github.io/visuald/visuald/StartPage.html [snip] Thanks a lot. I've been using VisualD almost as long as I've been using D and it's always been great.

Re: Blog post : OOP composition with mixins

2015-09-01 Thread Meta via Digitalmars-d-announce
On Monday, 24 August 2015 at 11:10:16 UTC, Dicebot wrote: Rough summary of the talk I have given for recent Berlin D meetup event: https://blog.dicebot.lv/posts/2015/08/OOP_composition_with_mixins Are you planning on submitting this article to Reddit/Hacker News?

Re: Blog post : OOP composition with mixins

2015-09-01 Thread Meta via Digitalmars-d-announce
On Tuesday, 1 September 2015 at 14:32:11 UTC, Dicebot wrote: On Tuesday, 1 September 2015 at 14:11:44 UTC, Meta wrote: On Monday, 24 August 2015 at 11:10:16 UTC, Dicebot wrote: Rough summary of the talk I have given for recent Berlin D meetup event: https://blog.dicebot.lv/posts/2015/08/OOP_co

Re: Beta D 2.068.1-b2

2015-09-02 Thread Meta via Digitalmars-d-announce
On Tuesday, 1 September 2015 at 19:15:48 UTC, Jacob Carlborg wrote: On 2015-09-01 15:40, Steven Schveighoffer wrote: I'm not 100% sure, but that does seem like a bug. You should be able to completely mask toString from a base class if you don't specify override IMO. Perhaps we need an expl

Re: Build It And They Will Not Come

2015-09-12 Thread Meta via Digitalmars-d-announce
On Saturday, 12 September 2015 at 14:25:46 UTC, Nick Sabalausky wrote: That's pretty similar to how I felt about Doom3: People complained how "unrealistic" it was to not be able to duct tape the flashlight to the gun, but...For crap's sake, it's a game about a demon invasion from hell and one g

Re: Beta D 2.068.2-b2

2015-09-15 Thread Meta via Digitalmars-d-announce
On Monday, 14 September 2015 at 21:05:42 UTC, Martin Nowak wrote: The second beta for the 2.068.2 point release fixes an regression with destroy that could result in a memory leak [¹]. http://downloads.dlang.org/pre-releases/2.x/2.068.2/ -Martin [¹]: https://issues.dlang.org/show_bug.cgi?id=1

Re: Beta D 2.068.2-b2

2015-09-21 Thread Meta via Digitalmars-d-announce
On Monday, 21 September 2015 at 13:23:21 UTC, Rory McGuire wrote: That takes forever on 2.068.0 as well. Even as: import std.range; uint[ushort.max] inst; alias InstElem = ElementType!(typeof(inst)); even weirder (to me at least) its related to the number of items in "inst". uint[1] is quick.

Re: Scriptlike v0.9.4 - Perl-like interpolated strings, full examples and more.

2015-09-23 Thread Meta via Digitalmars-d-announce
On Wednesday, 23 September 2015 at 19:28:03 UTC, Nick Sabalausky wrote: On 09/23/2015 03:18 PM, Chad Joan wrote: This is why I argued for alternative mixin syntax in D some ... years? ... ago. It'd be really cool to have a writefln overload that did this: int somevar = 42; writefln#("This i

Re: Scriptlike v0.9.4 - Perl-like interpolated strings, full examples and more.

2015-09-25 Thread Meta via Digitalmars-d-announce
On Friday, 25 September 2015 at 14:38:33 UTC, Nick Sabalausky wrote: I like that idea. It it feasible? I'd always assumed the syntaxes were different because they needed to be for some sort of technical reason. But now that I look at it...maybe that could work after all? At first glance I can

Re: "Programming in D" paper book is available for purchase

2015-09-27 Thread Meta via Digitalmars-d-announce
On Wednesday, 9 September 2015 at 12:28:21 UTC, Ali Çehreli wrote: On 08/18/2015 05:57 PM, Ali Çehreli wrote: > it is up to date with 2.068 http://ddili.org/ders/d.en/index.html This information is coming a little late but here are the changes since the previous release on December 15: N

Re: New blog about D

2015-09-27 Thread Meta via Digitalmars-d-announce
I didn't even notice the blog name at first; I don't think it makes that much of a difference, and it wouldn't put me off reading articles from the blog. Usually blog posts are linked to directly from sites like Hackernews and Reddit anyway. As for the post itself, I enjoyed it. Vector swizzlin

Re: Beta D 2.069.0-b1

2015-10-09 Thread Meta via Digitalmars-d-announce
On Saturday, 10 October 2015 at 02:31:51 UTC, Martin Nowak wrote: That's what I meant, weird use-case, at best it's a callback better/setter. I've never written such code, but even if you would, the 2 pairs of parens are only a tiny problem for generic code, nothing to warrant the invasive lang

Re: Beta D 2.069.0-b1

2015-10-11 Thread Meta via Digitalmars-d-announce
On Sunday, 11 October 2015 at 16:00:40 UTC, Ola Fosheim Grøstad wrote: That also means that BETA does not distinguish between a function call and an assignment. Hey, neither does D! writeln("Hello, World!"); writeln = "Hello, World!";

Re: Beta D 2.069.0-b1

2015-10-11 Thread Meta via Digitalmars-d-announce
On Sunday, 11 October 2015 at 17:27:39 UTC, Ola Fosheim Grøstad wrote: On Sunday, 11 October 2015 at 16:42:36 UTC, Meta wrote: On Sunday, 11 October 2015 at 16:00:40 UTC, Ola Fosheim Grøstad wrote: That also means that BETA does not distinguish between a function call and an assignment. Hey,

Re: Beta D 2.069.0-b1

2015-10-13 Thread Meta via Digitalmars-d-announce
On Tuesday, 13 October 2015 at 13:18:36 UTC, Kagamin wrote: Well, in order to pass the result of a function call to a template parameter means that the function must be evaluated at compile time, which is not always possible, so it probably doesn't make sense to call a function when passed as a

Re: Beta D 2.069.0-b1

2015-10-14 Thread Meta via Digitalmars-d-announce
On Tuesday, 13 October 2015 at 16:07:50 UTC, Kagamin wrote: What doesn't work for you? extern int f(); struct T(F){} T!f t; //Error: template instance T!(f) does not match template declaration T(F) struct A(alias F){} A!f a; //works I don't remember. I fixed the issues a few weeks ago using

Re: It's a class! It's a struct! It's ... SuperStruct!

2015-10-18 Thread Meta via Digitalmars-d-announce
On Sunday, 18 October 2015 at 19:00:16 UTC, rcorre wrote: You might find this interesting. It's an "outside-in" approach to the same problem as opposed to your "inside-out" approach. Not finished, but the general idea is there. https://github.com/MetaLang/phobos/commit/c8132f53b791ed4a134dd456

Re: It's a class! It's a struct! It's ... SuperStruct!

2015-10-18 Thread Meta via Digitalmars-d-announce
On Sunday, 18 October 2015 at 21:18:52 UTC, rcorre wrote: That's just the kind of thing I was looking for! I actually started with a 'visitor' function that works similar to project: https://github.com/rcorre/superstruct/blob/master/src/superstruct.d#L153-L166 then decided to wrap the whole th

Re: CppCon: Declarative Control Flow

2015-10-19 Thread Meta via Digitalmars-d-announce
On Monday, 19 October 2015 at 16:51:59 UTC, Andrei Alexandrescu wrote: On 10/19/2015 12:51 PM, Andrei Alexandrescu wrote: On 10/19/2015 11:45 AM, cym13 wrote: On Monday, 19 October 2015 at 15:38:41 UTC, Andrei Alexandrescu wrote: A bit off topic but I've always wondered... Why are people calli

Re: Fastest JSON parser in the world is a D project

2015-10-22 Thread Meta via Digitalmars-d-announce
On Thursday, 22 October 2015 at 19:16:00 UTC, Laeeth Isharc wrote: We really do need to stop hiding our light under a bushel. Thinking in marketing terms doesn't always come easy to technically minded people, and I understand why, but ultimately the community benefits a great deal from people

Re: I want D to build OS,only with D

2015-10-26 Thread Meta via Digitalmars-d-announce
On Monday, 26 October 2015 at 15:54:52 UTC, guodemone wrote: kill C,kill C++,only D I like D,so to build OS(Dlang).but dmd,gdc,ldc. There is no example of a method to write OS(bootloader,)Including compiled, linked fashion 欢迎你!谢谢你的问题。请你抄写这个问题在这儿:http://forum.dlang.org/group/learn 对不起我说中文说得不

Re: Fastest JSON parser in the world is a D project

2015-10-28 Thread Meta via Digitalmars-d-announce
On Wednesday, 28 October 2015 at 13:56:27 UTC, Adam D. Ruppe wrote: On Tuesday, 27 October 2015 at 14:00:07 UTC, Martin Nowak wrote: Yikes, this is such an anti-pattern. https://github.com/rejectedsoftware/vibe.d/issues/634 Every time I use opDispatch, I add an if(name != "popFront") constrai

Re: Please vote for the DConf logo

2015-11-04 Thread Meta via Digitalmars-d-announce
1.1

Re: Andrei's Quora comments on Reddit: "D has no vision. Go is out of its depth. Rust skipped leg day."

2015-11-10 Thread Meta via Digitalmars-d-announce
On Wednesday, 11 November 2015 at 01:03:47 UTC, Ali Çehreli wrote: https://www.reddit.com/r/programming/comments/3sa6lf/d_has_no_vision_go_is_out_of_its_depth_rust/ Ali How can one man be so quotable?

Re: Beta D 2.069.2-b1

2015-11-28 Thread Meta via Digitalmars-d-announce
On Saturday, 28 November 2015 at 23:11:06 UTC, Martin Nowak wrote: On Saturday, 28 November 2015 at 21:37:35 UTC IMO, this should not be released until https://issues.dlang.org/show_bug.cgi?id=15281 is fixed. It's a very obvious and embarrassing bug. Yes, but someone has to do it. It's really

Re: Writing a scalable chat room service in D

2016-01-04 Thread Meta via Digitalmars-d-announce
On Monday, 4 January 2016 at 10:19:52 UTC, Sönke Ludwig wrote: Finally published the article that I had prepared in autumn last year. It gives an overview of the basic functionality needed to implement a typical web application using vibe.d. The example uses Redis as a data store - using other

Re: unit-threaded v0.6.5 - Type-parametrized tests

2016-03-10 Thread Meta via Digitalmars-d-announce
On Wednesday, 9 March 2016 at 18:01:49 UTC, Atila Neves wrote: The forum must be sick of hearing from me... :P I'm always excited for a new release of unit-threaded

Re: Units of Measurement Library: units-d

2016-04-01 Thread Meta via Digitalmars-d-announce
On Friday, 1 April 2016 at 22:54:53 UTC, Simen Kjaeraas wrote: On Friday, 1 April 2016 at 21:46:35 UTC, ag0aep6g wrote: On 01.04.2016 22:59, Simen Kjaeraas wrote: The usual way to fix it would be to include __FILE__ and __LINE__ in the template arguments: Right, no mixin this way. I wouldn't

Re: Release D 2.071.0

2016-04-06 Thread Meta via Digitalmars-d-announce
On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote: This release fixes many long-standing issues with imports and the module system. See the changelog for more details. Thanks to everyone who worked on fixing and pushing this through. I thought I would never see the day when this wa

Re: unit-threaded v0.6.13 - tags, autotags and support for integration tests

2016-05-16 Thread Meta via Digitalmars-d-announce
On Monday, 16 May 2016 at 08:37:48 UTC, Atila Neves wrote: with(immutable Sandbox()) { writeFile("foo.txt", "foobarbaz\ntoto"); // can also pass string[] for lines shouldExist("foo.txt"); shouldNotExist("bar.txt"); shouldEqualLines("foo.txt", ["foobarbaz", "toto"]); } That's a

Re: unit-threaded v0.6.13 - tags, autotags and support for integration tests

2016-05-17 Thread Meta via Digitalmars-d-announce
On Tuesday, 17 May 2016 at 09:54:15 UTC, Marc Schütz wrote: You surely mean "used to be destroy", right? Good question... If I write this: struct Test { ~this() { writeln("destroying Test"); } } with (Test()) { //Do stuff } Will Test's destructor be run once we exit the `with` scope?

Re: foo => "bar" key/value literals in D!

2016-05-23 Thread Meta via Digitalmars-d-announce
On Monday, 23 May 2016 at 19:00:40 UTC, Adam D. Ruppe wrote: Have I gone completely mad?!?! --- void main() { import std.stdio; writeln(obj!( foo => "bar", baz => 12 )); } --- Prints out: { foo: bar baz: 12 } A few twea

Re: foo => "bar" key/value literals in D!

2016-05-23 Thread Meta via Digitalmars-d-announce
On Tuesday, 24 May 2016 at 01:11:39 UTC, Meta wrote: Clever and terrible. Now just modify the code to generate a struct or class and you've invented new anonymous struct/object syntax. Also, I think this has revealed a bug (or deficiency) in the compiler. If you put this inside the foreach lo

Re: foo => "bar" key/value literals in D!

2016-05-25 Thread Meta via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 11:22:41 UTC, Jacob Carlborg wrote: I don't think this is the right approach. I think the correct approach is to allow introspection of template parameters [1]. That would allow to get the parameter names without having to instantiate the template. Is that true? I

Re: Facebook is using D in production starting today

2016-06-03 Thread Meta via Digitalmars-d-announce
On Friday, 11 October 2013 at 00:36:12 UTC, Andrei Alexandrescu wrote: Today I committed the first 5112 lines of D code to Facebook's repository. The project is in heavy daily use at Facebook. Compared to the original version (written in C++) we've measured massive wins in all of source code si

Re: D-Man culture

2016-06-21 Thread Meta via Digitalmars-d-announce
On Monday, 20 June 2016 at 14:14:06 UTC, Martin Tschierschke wrote: On Sunday, 19 June 2016 at 15:01:33 UTC, Seb wrote: Hi, I am not sure how much you have heard about the D-Man, but in Japan there is an entire culture based on the D-Man! As I learned about this by accident (and even Walter di

Re: D-Man culture

2016-06-21 Thread Meta via Digitalmars-d-announce
On Tuesday, 21 June 2016 at 19:13:09 UTC, Meta wrote: On Monday, 20 June 2016 at 14:14:06 UTC, Martin Tschierschke wrote: On Sunday, 19 June 2016 at 15:01:33 UTC, Seb wrote: Hi, I am not sure how much you have heard about the D-Man, but in Japan there is an entire culture based on the D-Man!

Re: Release DUB 1.0.0

2016-06-23 Thread Meta via Digitalmars-d-announce
On Thursday, 23 June 2016 at 20:49:23 UTC, Basile B. wrote: Do "single-file packages" have a special name, ie official, e.g if I want to add a menu item for this ? - Compile and run single file DUB package - Compile and run monolithic DUB package - ? I also think to "runnable DUB module" or "D

Re: GSoC Summer of Code Update

2016-06-25 Thread Meta via Digitalmars-d-announce
On Friday, 24 June 2016 at 17:26:19 UTC, Craig Dillabaugh wrote: Just wanted to congratulate our 4 Google Summer of Code students who have now officially all passed their mid-term evaluations. So congrats to Lodovico, Wojciech, Jeremy, and Sebastian for making it this far, and thanks to the m

Re: D-Man culture

2016-07-21 Thread Meta via Digitalmars-d-announce
On Thursday, 21 July 2016 at 09:42:54 UTC, Sean Campbell wrote: I did this about a week ago. ___ /\ /\ \_ _/ \_ _/ / / \ \ / / \ \ / / \ \ \ \ /___/\ / / \ \ | __ \

Re: The D Language Foundation has filed for non-profit status

2016-07-21 Thread Meta via Digitalmars-d-announce
D is almost becoming respectable ;-) It's come far from even 2013

Re: DIP1000: Scoped Pointers

2016-08-16 Thread Meta via Digitalmars-d-announce
On Tuesday, 16 August 2016 at 16:34:05 UTC, Dicebot wrote: On 08/16/2016 07:26 PM, Patrick Schluter wrote: What happens in that case ? void test() { scope rnd = new Rnd; // reference semantic and stack allocated Rnd rnd2; rnd2 = rnd; some_sneaky_function_that_saves_global_state(rnd);

Re: [GSoC] Mir.random.flex - Generic non-uniform random sampling

2016-08-22 Thread Meta via Digitalmars-d-announce
On Monday, 22 August 2016 at 15:34:47 UTC, Seb wrote: Hey all, I am proud to publish a report of my GSoC work as two extensive blog posts, which explain non-uniform random sampling and the mir.random.flex package (part of Mir > 0.16-beta2): http://blog.mir.dlang.io/random/2016/08/19/intro-to

Re: On the future of DIP1000

2016-08-27 Thread Meta via Digitalmars-d-announce
Best to add him to your killfile instead of responding.

Re: New user, even she does not know yet

2016-09-26 Thread Meta via Digitalmars-d-announce
On Monday, 26 September 2016 at 12:06:58 UTC, Daniel Kozak wrote: https://onedrive.live.com/?authkey=!AEQ5lsngH-Oe3DA&id=87E57DF7155C89C9!24197&cid=87E57DF7155C89C9 Congratulations!

Re: Please say hello to Alexandru

2016-10-06 Thread Meta via Digitalmars-d-announce
On Thursday, 6 October 2016 at 08:56:43 UTC, Alexandru Razvan Caciulescu wrote: On Tuesday, 4 October 2016 at 23:01:37 UTC, Andrei Alexandrescu wrote: Hello everyone, It is with great joy and honor to announce that Alexandru Razvan Caciulescu will work with the D Language Foundation starting

Re: New team member: Lucia

2016-10-15 Thread Meta via Digitalmars-d-announce
Welcome. It's great that grad students are interested in working on D.

Re: Boston D Language Meetup in Back Bay

2016-11-16 Thread Meta via Digitalmars-d-announce
On Thursday, 17 November 2016 at 01:20:58 UTC, Steven Schveighoffer wrote: I had one job... Forgot to post the link BEFORE the live stream. In any case, it was recorded and is here: https://www.youtube.com/watch?v=dVuPgbRIljA Sorry, please accept my shameful apology. -Steve I was wonderin

Re: DIP 1003: remove `body` as a keyword

2016-11-22 Thread Meta via Digitalmars-d-announce
On Tuesday, 22 November 2016 at 15:11:04 UTC, Sönke Ludwig wrote: Am 21.11.2016 um 22:19 schrieb Timon Gehr: 3 is ambiguous. Can you give an example? I'm curious as well. I considered that option 3 might be ambiguous but I managed to convince myself that it wouldn't be. I'm guessing you're

Re: DIP 1003: remove `body` as a keyword

2016-12-11 Thread Meta via Digitalmars-d-announce
On Sunday, 11 December 2016 at 11:33:40 UTC, Basile B. wrote: DIP 1003 is faddish. It would really be better to have a system that would allow any keyword to be used as identifier. An escape system is the key. It would also guarantee that the DIP would not be accepted. With this DIP I aimed f

Re: DIP 1003: remove `body` as a keyword

2016-12-15 Thread Meta via Digitalmars-d-announce
On Thursday, 15 December 2016 at 15:31:40 UTC, Basile B. wrote: On Sunday, 11 December 2016 at 20:27:36 UTC, Meta wrote: On Sunday, 11 December 2016 at 11:33:40 UTC, Basile B. wrote: DIP 1003 is faddish. It would really be better to have a system that would allow any keyword to be used as ident

Re: [your donation here]

2016-12-20 Thread Meta via Digitalmars-d-announce
Note that the donations are made in USD, which isn't surprising but if you don't live in the US you could end up donating more than you intended to with the difference in currencies.

Re: D books for $5

2016-12-20 Thread Meta via Digitalmars-d-announce
On Friday, 16 December 2016 at 05:43:02 UTC, Kai Nacke wrote: Hi all, Packt Publishing offers eBooks for $5 for a limited time. If your collection of D eBooks is still incomplete then this is a great chance for you. :-) D Cookbook by Adam D. Ruppe (https://www.packtpub.com/application-devel

<    1   2   3   >