Re: Please don't do a DConf 2018, consider alternatives

2018-10-02 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 2 October 2018 at 07:32:58 UTC, Joakim wrote: Thank you for making clear that the real reason you and some others like the current format is because you want to have a fun "vacation"- as I pointed out in that earlier thread- rather than anything to do with D or advancing the ecosyst

Re: Warn on unused imports?

2018-09-25 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 25 September 2018 at 13:03:30 UTC, FeepingCreature wrote: I'm playing with a branch of DMD that would warn on unused imports: Honestly, I hate these types of warnings/errors. It makes playing with and designing code such a chore. I hope this is opt-in.

Re: DIP 1017--Add Bottom Type--Community Review Round 1

2018-08-09 Thread Gary Willoughby via Digitalmars-d
On Thursday, 9 August 2018 at 13:42:57 UTC, bachmeier wrote: On Thursday, 9 August 2018 at 03:02:55 UTC, Mike Parker wrote: This is the feedback thread for the first round of Community Review for DIP 1017, "Add Bottom Type": I hope there is a better name than Tbottom. A name like that is not

Faster printing of floats; is this something that D could benefit from?

2018-07-28 Thread Gary Willoughby via Digitalmars-d
I just saw this on hacker news: We present Ryū, a new routine to convert binary floating point numbers to their decimal representations using only fixed-size integer operations, and prove its correctness. Ryū is simpler and approximately three times faster than the previously fastest implemen

Re: Struct destructors not available in -betterC?

2018-07-11 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 10 July 2018 at 20:33:46 UTC, Seb wrote: But they easily can be: https://github.com/dlang/dlang.org/pull/2415 Thanks.

Struct destructors not available in -betterC?

2018-07-10 Thread Gary Willoughby via Digitalmars-d
Looking at the page on -betterC it says that struct destructors are not available. See point 11: https://dlang.org/spec/betterc.html#consequences This doesn't seem to be true as I'm using them with no problem.

Re: Friends in D, the easy way!

2018-06-18 Thread Gary Willoughby via Digitalmars-d
On Monday, 18 June 2018 at 06:37:41 UTC, Mr.Bingo wrote: These go in the module you want allow access to the outside world just as if they were in the same module! See the package attribute: https://dlang.org/spec/attribute.html#visibility_attributes

Re: Why not flag away the mistakes of the past?

2018-03-09 Thread Gary Willoughby via Digitalmars-d
On Wednesday, 7 March 2018 at 17:11:55 UTC, H. S. Teoh wrote: Kill autodecoding, I say. Kill it with fire!! T Please!!!

Re: don't answer (possible/likely) spam

2017-11-13 Thread Gary Willoughby via Digitalmars-d
On Friday, 10 November 2017 at 16:09:48 UTC, Stefan Koch wrote: please don't answer messages which are possibly spam. Try this by not answering to this thread. Ok! +1 ;)

Re: What are the unused but useful feature you know in D?

2017-11-07 Thread Gary Willoughby via Digitalmars-d
On Sunday, 25 June 2017 at 23:21:25 UTC, aberba wrote: Can you share feature(s) in D people are not talking about which you've found very useful? Some of the best features are in the standard library. I've written about them here: http://nomad.so/2014/08/hidden-treasure-in-the-d-standard-lib

Re: Note from a donor

2017-10-27 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 24 October 2017 at 13:20:10 UTC, Andrei Alexandrescu wrote: A person who donated to the Foundation made a small wish list known. Allow me to relay it: * RSA Digital Signature Validation in Phobos * std.decimal in Phobos * better dll support for Windows. Andrei std.decimal has be

Re: Named arguments

2017-10-25 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 24 October 2017 at 17:30:27 UTC, Andrey wrote: Hello, why there are no named arguments for functions like, for example, in kotlin i.e.: int sum(in int a, in int b) { return a + b; } sum(a = 1, b = 2); This has been discussed to death: http://forum.dlang.org/post/n8024o$dlj$

Re: Deimos X11 bindings license question

2017-10-23 Thread Gary Willoughby via Digitalmars-d
On Saturday, 21 October 2017 at 08:14:01 UTC, vondes wrote: How we can use it in https://mobile-phone-tracker.org mobile recorder on Android? That doesn't look like a very ethical program.

Re: Deimos X11 bindings license question

2017-09-13 Thread Gary Willoughby via Digitalmars-d
On Wednesday, 13 September 2017 at 17:55:43 UTC, Steven Schveighoffer wrote: Note BTW, the C headers are included in the distribution, and those are NOT boost licensed. I'm not a lawyer, so I have no idea the compatibility implications between the two. Thanks for the heads up, they've now been

dmd v2.076.0-dirty?

2017-09-06 Thread Gary Willoughby via Digitalmars-d
I've just installed the latest dmd version (on ubuntu 64bit) and I get this: $ dmd --version DMD64 D Compiler v2.076.0-dirty Copyright (c) 1999-2017 by Digital Mars written by Walter Bright What does 'dirty' mean?

Deimos X11 bindings license question

2017-09-03 Thread Gary Willoughby via Digitalmars-d
Hi, A few years ago I forked the Deimos X11 bindings[1] repo to add dub support. Since then my repo[2] has received bug fixes and as such it's being used in many projects. (Also, in the following years dub support was added to the Deimos repo too.) I had a question from a developer as to the

Re: Interpolated strings

2017-08-25 Thread Gary Willoughby via Digitalmars-d
On Thursday, 24 August 2017 at 11:07:16 UTC, Suliman wrote: All modern languages like Dart and C# have string interpolation. Sharp example: Console.WriteLine($"Hello {args[0]}!"); Who can summary is there any objective reasons why it's not realized in D? Maybe you ought to read this entire

Re: Named multi-imports

2017-08-16 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 15 August 2017 at 03:37:39 UTC, rikki cattermole wrote: On 15/08/2017 2:59 AM, Johnson wrote: Not only that, but it requires adding more files to the command line. I currently have 3 import files to separate the gtk from gdk that and the only reason they exist is to combine them i

Re: RFC: Implementation of binary assignment operators (e.g s.x += 2) for @property functions

2017-08-15 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 15 August 2017 at 03:53:44 UTC, Michael V. Franklin wrote: An implementation of binary assignment operators for @property functions has been submitted to the DMD pull request queue at https://github.com/dlang/dmd/pull/7079. It addresses the following issues: Issue 8006 - Implemen

Re: Let's paint those bikesheds^Werror messages!

2017-06-28 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 27 June 2017 at 14:32:28 UTC, Vladimir Panteleev wrote: - Yes, not everyone likes colors. You can turn all colors off with a command-line switch. - Yes, everyone agrees that having all colors be configurable would be good. We still need defaults that are going to look OK on most t

Re: Checked vs unchecked exceptions

2017-06-27 Thread Gary Willoughby via Digitalmars-d
I think it's important to understand, D is *not* Java.

Re: Interpolated strings

2017-04-21 Thread Gary Willoughby via Digitalmars-d
On Friday, 21 April 2017 at 12:32:01 UTC, Nick Sabalausky (Abscissa) wrote: "Completely unnecessary" features like that are exactly what make D worthwhile in the first place. Otherwise may as well stick to C++ or Java. Multiple ways of doing the same thing are not valuable or progressive.

Re: Interpolated strings

2017-04-21 Thread Gary Willoughby via Digitalmars-d
On Thursday, 20 April 2017 at 18:28:30 UTC, Atila Neves wrote: I don't understand how writeln($"{a} times 3 is {a * 3}"); is even marginally better than writeln(a, " times 3 is ", a * 3); // look ma, works right now! It's not even fewer characters. Atila This! This is bloat that doesn't

Re: Red Hat's issues in considering the D language

2016-12-21 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 20 December 2016 at 23:08:28 UTC, Andrei Alexandrescu wrote: Hello, a few engineers at Red Hat are taking a look at using the D language on the desktop and have reached out to us. They have created a list of issues. We are on the top-level ones, and of course would appreciate any co

Re: All function attributes possible with "@"?

2016-12-16 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 13 December 2016 at 22:40:47 UTC, 01010100b wrote: On the wiki there is an argument given for why not to allow "@" on function attributes which are keywords, however it seems to include a reasoning error. Related DIP: https://wiki.dlang.org/DIP64

Re: I hate new DUB config format

2016-09-16 Thread Gary Willoughby via Digitalmars-d
On Wednesday, 14 September 2016 at 11:54:56 UTC, Suliman wrote: Sönke Ludwig, really sorry. It's look my big mistake. I looked at SDL more detail, and this format is much better than JSON. I hope a lot of people is changed their position too. There is a superset of Json that could of been use

Re: I hate new DUB config format

2016-09-16 Thread Gary Willoughby via Digitalmars-d
On Wednesday, 25 November 2015 at 10:17:02 UTC, Suliman wrote: I think that using SDL format was big mistake. Not only I do not want to spend time in learning yet another dead config format that now use only one project -- DUB. In time when DUB used json it was not perfect, but at last it was s

Re: Should debug{} allow GC?

2016-09-12 Thread Gary Willoughby via Digitalmars-d
On Sunday, 11 September 2016 at 07:46:09 UTC, Manu wrote: I'm having a lot of trouble debugging @nogc functions. I have a number of debug functions that use GC, but I can't call them from @nogc code... should debug{} allow @nogc calls, the same as impure calls? We could with something like th

Re: @property Incorrectly Implemented?

2016-09-12 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 6 September 2016 at 19:18:11 UTC, John wrote: This is all you need to know: https://wiki.dlang.org/Property_Discussion_Wrap-up

Re: Phobos unittests either spuriously fail or spuriously pass

2016-08-14 Thread Gary Willoughby via Digitalmars-d
Maybe related: https://issues.dlang.org/show_bug.cgi?id=16204

Re: Decimal/Currency Type

2016-08-10 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 9 August 2016 at 10:48:50 UTC, Zane wrote: There has been a question or two about this before, but I really don't feel there has been a reasonable answer (or I have missed it). [...] There is one in the review queue since forever. https://wiki.dlang.org/Review_Queue Maybe take

Re: Minor feature request

2016-06-28 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 28 June 2016 at 06:13:44 UTC, Superstar64 wrote: --- auto func(MyObj obj) with(obj) { //... } auto func(int arg) return arg; auto func() try { //... } finally { return //... } --- Please no! All of these are awful.

Re: When using the -profile flag is it known behaviour that phobos unit tests fail?

2016-06-25 Thread Gary Willoughby via Digitalmars-d
On Friday, 24 June 2016 at 22:24:09 UTC, Walter Bright wrote: Please post bug reports to bugzilla. They'll get lost in the n.g. Done. https://issues.dlang.org/show_bug.cgi?id=16204

Re: When using the -profile flag is it known behaviour that phobos unit tests fail?

2016-06-24 Thread Gary Willoughby via Digitalmars-d
On Friday, 24 June 2016 at 17:36:49 UTC, Gary Willoughby wrote: When using the -profile flag is it known behaviour that phobos unit tests fail? (Ubuntu 16.04 - DMD64 D Compiler v2.071.0) For example, when following these steps I get a failed unit test: $ cd /usr/include/dmd/phobos/std

When using the -profile flag is it known behaviour that phobos unit tests fail?

2016-06-24 Thread Gary Willoughby via Digitalmars-d
When using the -profile flag is it known behaviour that phobos unit tests fail? (Ubuntu 16.04 - DMD64 D Compiler v2.071.0) For example, when following these steps I get a failed unit test: $ cd /usr/include/dmd/phobos/std/ $ rdmd -I/usr/include/dmd/phobos/std -I/usr/include/dmd/phobos/core -m

Re: Proposed Enhancement: Deprecate std.conv.text With 0 Arguments

2016-06-22 Thread Gary Willoughby via Digitalmars-d
On Wednesday, 22 June 2016 at 15:39:11 UTC, Meta wrote: If it is called with 0 arguments it will return null. This behaviour has caused several bugs in my code because combined with optional parens and UFCS, it is easy to accidentally call text with 0 args but have it look like passing a variab

Re: DConf Videos

2016-06-06 Thread Gary Willoughby via Digitalmars-d
On Monday, 6 June 2016 at 10:40:01 UTC, sarn wrote: What's the best source of DConf videos at the moment? Are there are any edited versions released? I'd like to share some of my favourite talks. Also, where are the DConf 2016 videos? I was under the impression that they would be released o

Re: Our Sister

2016-05-26 Thread Gary Willoughby via Digitalmars-d
On Thursday, 26 May 2016 at 16:11:22 UTC, Andrei Alexandrescu wrote: * Support several views of the same string, e.g. given s of type RCStr!char, it can be iterated byte-wise, code point-wise, code unit-wise etc. by using s.by!ubyte, s.by!char, s.by!dchar etc. Will s.by!Grapheme be supported

Re: A technique to mock "static interfaces" (e.g. isInputRange)

2016-05-26 Thread Gary Willoughby via Digitalmars-d
On Wednesday, 25 May 2016 at 21:38:23 UTC, Atila Neves wrote: There was talk in the forum of making it easier to come up instantiations of say, an input range for testing purposes. That got me thinking of how mocking frameworks make it easy to pass in dependencies without having to write a whol

Re: Preprocessing CSS

2016-05-24 Thread Gary Willoughby via Digitalmars-d
On Monday, 23 May 2016 at 16:04:14 UTC, Andrei Alexandrescu wrote: Found this on reddit: http://blog.00null.net/post/144763147991/using-gnu-m4-as-a-css-pre-processor. I found it interesting because I found it useful to preprocess our style.css on dlang.org with ddoc. Somehow that got lost a while

Are the Dconf t-shirts available to buy from anywhere?

2016-05-06 Thread Gary Willoughby via Digitalmars-d
I love the colors and the DConf logo. The t-shirts look really cool. Are they available to buy anywhere?

Re: Some questions on latest work

2016-05-04 Thread Gary Willoughby via Digitalmars-d
On Sunday, 1 May 2016 at 07:35:43 UTC, Bill Hicks wrote: ... https://www.reddit.com/r/iamverysmart

Re: Logo for DlangScience

2016-04-09 Thread Gary Willoughby via Digitalmars-d
On Saturday, 9 April 2016 at 13:59:26 UTC, 9il wrote: On Saturday, 9 April 2016 at 11:48:55 UTC, ag0aep6g wrote: On Saturday, 9 April 2016 at 10:16:36 UTC, 9il wrote: [...] You can find the old logo in the git history: https://github.com/D-Programming-Language/dlang.org/blob/a37e410710911bcc0

Re: the most D-ish GUI library

2016-03-19 Thread Gary Willoughby via Digitalmars-d
On Wednesday, 16 March 2016 at 19:51:37 UTC, Saša Janiška wrote: When you say 'modern' do you consider lack of some 'modern' widget or just general look (although I read that it improved in 8.6 or so)? Sometimes the widgets don't look 100% native. You can take a look at the example if you wan

Re: the most D-ish GUI library

2016-03-16 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 15 March 2016 at 07:50:48 UTC, Saša Janiška wrote: Jordi Sayol via Digitalmars-d writes: TkD works on Linux. Have you used it and/or what would be some prp/cons vs GtkD? Sincerely, Gour I'm the author of Tkd and it depends on your need to which library to use. Tkd is trul

Can I get more opinions on increasing the logo size on the site please

2016-02-10 Thread Gary Willoughby via Digitalmars-d
Can I get more opinions on increasing the logo size on the website please. See here for an example: https://github.com/D-Programming-Language/dlang.org/pull/1227 Destroy!

DMD 2.070.0 - The package is of bad quality

2016-01-29 Thread Gary Willoughby via Digitalmars-d
n who provided this package file and include the details beneath. Lintian check results for /home/gary/Desktop/dmd_2.070.0-0_amd64.deb: Can't close(GLOB(0xddf540)) filehandle: '' at /usr/share/lintian/helpers/coll/objdump-info-helper line 192 command failed with error code 123 at

Re: Dub needs some additions

2016-01-24 Thread Gary Willoughby via Digitalmars-d
On Saturday, 23 January 2016 at 20:24:05 UTC, Igor wrote: Some simple extensions to dub are required for proper windows support: 1. The Ability to generate full build selections for Visual D. I only get Win32 when using `dub generate VisualD`. Win64 support should be added, along with alterna

Re: DIP 88: Simple form of named parameters

2016-01-24 Thread Gary Willoughby via Digitalmars-d
On Saturday, 23 January 2016 at 14:19:03 UTC, Jacob Carlborg wrote: This is mostly to prevent ugly hacks like Flag [1]. http://wiki.dlang.org/DIP88 "A new syntax is added to be used when declaring a function that should be callable with named parameters:" Please, no more new syntax! This c

Re: [dlang.org] Let's talk about the logo

2016-01-22 Thread Gary Willoughby via Digitalmars-d
On Thursday, 21 January 2016 at 23:46:26 UTC, anonymous wrote: The logo is repeatedly being called out as a weak spot of the D brand. But so far Walter has been adamant about keeping it the way it is. I agree with him that changing it to a completely different one would probably not be a good

Re: Request for new Deimos repository

2016-01-22 Thread Gary Willoughby via Digitalmars-d
On Thursday, 21 January 2016 at 19:36:41 UTC, Jacob Carlborg wrote: I don't see a point in having a special Deimos repository. Just put it on GitHub and Dub. This. Deimos was always hard for people to fix because of lack of admins. Being separate projects on github and placed on the dub regi

Re: Dub and shared filestores

2016-01-11 Thread Gary Willoughby via Digitalmars-d
On Monday, 11 January 2016 at 15:15:24 UTC, Russel Winder wrote: Build on one platform, then build on another, will all the dependencies be recompiled? It will if you use force: dub build --force

Re: [dlang.org] getting the redesign wrapped up

2016-01-10 Thread Gary Willoughby via Digitalmars-d
On Sunday, 10 January 2016 at 19:50:40 UTC, cym13 wrote: On Sunday, 10 January 2016 at 17:17:44 UTC, Andrei Alexandrescu wrote: On 1/10/16 10:23 AM, anonymous wrote: On 10.01.2016 16:11, Andrei Alexandrescu wrote: Do you have a PR in place yet? Here we go: https://github.com/D-Programming-La

Re: Some feedback on the website.

2015-12-15 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 15 December 2015 at 08:26:44 UTC, Jacob Carlborg wrote: On 2015-12-15 08:07, deadalnix wrote: [snip] All of this is quite damaging to D's brand. Even even though I'm not a webdev, I've been working in growth for a long time and these things matter. I don't know DDoc, and I'm not

Re: How does D compare to Go when it comes to C interop?

2015-12-10 Thread Gary Willoughby via Digitalmars-d
On Thursday, 10 December 2015 at 13:33:07 UTC, Pradeep Gowda wrote: I read this post about the difficulties of using go/cgo to interface with C code: http://www.cockroachlabs.com/blog/the-cost-and-complexity-of-cgo/ How does D do in comparison? specifically in regards to: 1. Call overhead (CG

Re: Three people out of four dislike SDL

2015-12-02 Thread Gary Willoughby via Digitalmars-d
On Wednesday, 2 December 2015 at 10:22:12 UTC, Guillaume Piolat wrote: Learning SDLang being a chore is a bit overblown really. I think everyone agrees learning SDL is pretty straightforward. I think the feeling are that it is yet another (unnecessary) barrier to entry when using D and its to

Re: Three people out of four dislike SDL

2015-12-01 Thread Gary Willoughby via Digitalmars-d
I think the default should be the obscure, hipster language that no-one has heard of and who's website is currently offline[1]. Using this language for dub configuration should increase the barrier-to-entry just enough to weed out the soft programmers who we don't need using D. Json is far too

Re: I hate new DUB config format

2015-11-27 Thread Gary Willoughby via Digitalmars-d
On Thursday, 26 November 2015 at 22:46:57 UTC, Walter Bright wrote: "With a standard json parser in Phobos, zip zap boom you're done. You don't have to design it, argue about it, build it, document it, debug it, test it, optimize it, explain it, deal with bug requests, deal with enhancement req

Re: I hate new DUB config format

2015-11-25 Thread Gary Willoughby via Digitalmars-d
On Wednesday, 25 November 2015 at 10:17:02 UTC, Suliman wrote: If SDL will stay by default I will prefer to move to any other build system or will downgrade to old version of DUB. I made my thoughts clear in the original discussion. Please dump SDL and just use Json. Json is clear, concise,

Re: Non-freeing GC memory management

2015-11-18 Thread Gary Willoughby via Digitalmars-d
On Wednesday, 18 November 2015 at 05:56:37 UTC, Minas Mina wrote: That's correct. But you don't have to do it manually though, as you can always wrap your object inside a Unique!T. http://dlang.org/phobos/std_typecons.html#.Unique or scoped: http://dlang.org/phobos/std_typecons.html#.scoped

Re: DConf keynote speaker ideas

2015-11-17 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 17 November 2015 at 18:47:58 UTC, Andrei Alexandrescu wrote: I'm thinking of inviting a notable industry luminary to deliver a conference keynote. Please reply to this with ideas! -- Andrei It may seem a little left-field but what about someone like Jonathan Blow? The guy has obvio

Re: Is D so powerfull ??

2015-11-07 Thread Gary Willoughby via Digitalmars-d
On Saturday, 7 November 2015 at 12:49:18 UTC, BSaidus wrote: Excuse me for for these questionsn i'm a begginer. It seems that I begin like it so, reconforte me please !! Thanks. If you have anymore questions while learning D please visit our dedicated newsgroup/forum for learning: http://

Re: Under 1000 opened bugs for Phobos

2015-11-06 Thread Gary Willoughby via Digitalmars-d
On Friday, 6 November 2015 at 12:46:16 UTC, Chris wrote: Thanks for this post. There is some confusion, which makes people say "Naw, I dunno, maybe tomorrow." At least me! It's all in the wiki: http://wiki.dlang.org/Pull_Requests

Re: should fixedpoint be in phobos? project registry ?

2015-11-04 Thread Gary Willoughby via Digitalmars-d
On Wednesday, 4 November 2015 at 12:30:24 UTC, Laeeth Isharc wrote: Point came up in a discussion in the learn group that fixedpoint arithmetic would be quite useful, especially in the financial domain. There does exist a github library for this - it looked reasonably thought-through, but I ha

Re: Under 1000 opened bugs for Phobos

2015-11-03 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 3 November 2015 at 19:42:58 UTC, Andrei Alexandrescu wrote: I wrote this: http://wiki.dlang.org/Starting_as_a_Contributor, is it what you need it to be? -- Andrei There's also these: http://wiki.dlang.org/Building_DMD http://wiki.dlang.org/Pull_Requests

Re: dlang.org/library/* - is this still being used?

2015-11-01 Thread Gary Willoughby via Digitalmars-d
On Sunday, 1 November 2015 at 05:13:49 UTC, Vladimir Panteleev wrote: On Sunday, 1 November 2015 at 02:56:08 UTC, rsw0x wrote: The documentation is outdated and obfuscates google searches How is it outdated? In the /library version there are many broken links/anchors. It doesn't really matt

Re: Collection, why COW collection are important

2015-11-01 Thread Gary Willoughby via Digitalmars-d
On Saturday, 31 October 2015 at 23:02:12 UTC, deadalnix wrote: The hack team recently released project to add COW collection to hack in addition to current, reference type, collections. You can find explanation here : http://hhvm.com/blog/10649/improving-arrays-in-hack As collection are discu

Re: 0 in version number?

2015-10-18 Thread Gary Willoughby via Digitalmars-d
On Friday, 16 October 2015 at 23:23:15 UTC, H. S. Teoh wrote: Not to mention, if you want to talk about the truly Big Boys, even Windows doesn't follow any of the proposed versioning schemes (I mean, what's up with 3.0 -> 3.1 -> 95 -> 98 -> 2000 -> XP -> 7 -> 8 -> 9... ? That doesn't even follo

Re: 0 in version number?

2015-10-16 Thread Gary Willoughby via Digitalmars-d
On Friday, 16 October 2015 at 17:58:27 UTC, Jonathan M Davis wrote: How is whether there's a 0 before the 68 anything but bikeshedding? It's the same number either way, it sorts better as-is, and it would be inconsistent of us to change now. Changing how the overall numbering scheme works might

Re: 0 in version number?

2015-10-16 Thread Gary Willoughby via Digitalmars-d
On Friday, 16 October 2015 at 15:20:54 UTC, Shriramana Sharma wrote: I always wondered why DMD releases have a 0 in their minor version number -- surely 2.068 is the same as 2.68? Why then retain the zero? We keep trying to get people to understand the importance of a sane version scheme but

Re: D 2015/2016 Vision?

2015-10-05 Thread Gary Willoughby via Digitalmars-d
On Sunday, 4 October 2015 at 22:49:59 UTC, bitwise wrote: And if I want to nest a class in a struct? or pass a class around? and still have deterministic destruction? You can't nest a Scoped in a struct, and RefCounted doesn't work on a class. It just shouldn't be this hard do such trivial t

Re: D 2015/2016 Vision?

2015-10-05 Thread Gary Willoughby via Digitalmars-d
On Sunday, 4 October 2015 at 22:10:18 UTC, Namespace wrote: You can use classes without GC _and_ with deteministic lifetime: import std.stdio; class A { string name; this(string name) { this.name = name; } void hello() {

Re: Current state of GUI's

2015-09-03 Thread Gary Willoughby via Digitalmars-d
On Thursday, 3 September 2015 at 12:19:25 UTC, motaito wrote: ... Please see: http://wiki.dlang.org/GUI_Libraries

Re: A Small Enhancement Idea

2015-09-02 Thread Gary Willoughby via Digitalmars-d
On Wednesday, 2 September 2015 at 17:03:18 UTC, Jack Stouffer wrote: On Wednesday, 2 September 2015 at 16:40:04 UTC, ponce wrote: On Wednesday, 2 September 2015 at 16:28:12 UTC, Jack Stouffer wrote: I wanted some second opinions on an idea I had for D before I made a bugzilla issue. Currently

Re: Who can persuade Markus Persson to give money to the foundation?

2015-09-01 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 1 September 2015 at 15:09:33 UTC, Rikki Cattermole wrote: Can we please leave him alone. He's not in a good state right now, mentally. What's happened?

Re: Cross module conflict bug with private and public members?

2015-08-22 Thread Gary Willoughby via Digitalmars-d
On Saturday, 22 August 2015 at 14:28:23 UTC, H. S. Teoh wrote: On Sat, Aug 22, 2015 at 01:47:30PM +, Gary Willoughby via Digitalmars-d wrote: [...] test.d(41): Error: std.concurrency.Generator(T) at /usr/include/dmd/phobos/std/concurrency.d(1569) conflicts with std.range.Generator(Fun

Cross module conflict bug with private and public members?

2015-08-22 Thread Gary Willoughby via Digitalmars-d
import std.stdio; import std.range; import std.concurrency; void main(string[] args) { auto generator = new Generator!(int)({ foreach (value; 1..10) { yield(value); } }); foreach (value; generator)

Re: Facebook cover photo for dlang

2015-08-21 Thread Gary Willoughby via Digitalmars-d
On Wednesday, 19 August 2015 at 02:47:49 UTC, Brad Anderson wrote: Looks great. Now let's fix up that avatar with a high resolution, lossless version: https://i.imgur.com/PeMSYqY.png And preferably with the correct logo.

Re: I'm confused about ranges (input and forward in practice, in algorithms)

2015-08-14 Thread Gary Willoughby via Digitalmars-d
On Friday, 14 August 2015 at 00:33:30 UTC, Luís Marques wrote: Despite using them all the time, I'm suddenly confused about ranges... My understanding is that (for library-worth code) algorithms that consume ranges are supposed to use .save() to be compatible with both ref type and value type

Re: new release doesn't work as advertised

2015-08-13 Thread Gary Willoughby via Digitalmars-d
On Thursday, 13 August 2015 at 10:40:08 UTC, learn wrote: trying to compile the minimal console application generated by visuald: Building Debug\ConsoleApp1.exe... LINK : fatal error LNK1104: cannot open file 'libucrtd.lib' Building Debug\ConsoleApp1.exe failed! win10 - vs2015 This error ha

Re: Wiki article: Starting as a Contributor

2015-08-05 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 4 August 2015 at 19:56:42 UTC, Jacob Carlborg wrote: On 03/08/15 23:25, Andrei Alexandrescu wrote: I had to set up dmd and friends on a fresh Ubuntu box, so I thought I'd document the step-by-step process: http://wiki.dlang.org/Starting_as_a_Contributor Along the way I also hit a

Re: force inline/not-inline

2015-07-26 Thread Gary Willoughby via Digitalmars-d
On Sunday, 26 July 2015 at 21:58:02 UTC, Brandon Ragland wrote: On Saturday, 24 August 2013 at 19:13:49 UTC, jerro wrote: [...] Don't mean to resurrect an old thread but was working n a project to replace a few C programs today, that are time-sensitive and process fairly large batches of fil

Re: Named parameters

2015-07-25 Thread Gary Willoughby via Digitalmars-d
On Saturday, 25 July 2015 at 11:14:39 UTC, Gary Willoughby wrote: On Saturday, 25 July 2015 at 11:11:30 UTC, Gary Willoughby wrote: 2. I'm sure a template solution would work just fine. I've seen many on these forums. Here's one: https://github.com/jacob-carlborg/mambo/blob/ma

Re: Named parameters

2015-07-25 Thread Gary Willoughby via Digitalmars-d
On Saturday, 25 July 2015 at 11:11:30 UTC, Gary Willoughby wrote: 2. I'm sure a template solution would work just fine. I've seen many on these forums. Here's one: https://github.com/jacob-carlborg/mambo/blob/master/mambo/util/Reflection.d#L135

Re: Named parameters

2015-07-25 Thread Gary Willoughby via Digitalmars-d
On Friday, 24 July 2015 at 14:15:11 UTC, Shammah Chancellor wrote: Since D has optional arguments -- why don't we support named parameters? There are extremely handy and work beautifully in languages like C#. 1. This isn't C# 2. I'm sure a template solution would work just fine. I've seen ma

Re: Named parameters

2015-07-25 Thread Gary Willoughby via Digitalmars-d
On Saturday, 25 July 2015 at 09:41:19 UTC, Jacob Carlborg wrote: On 2015-07-24 23:04, Walter Bright wrote: The question is what problem does it solve. For one thing, it avoids the ugly hack which is the Flag template and Yes/No structs. With Flag: string getLine(Flag!"keepTerminator" keep

Re: dmd 2.068, 2.069, 2.0xx Evil Plan going forward

2015-07-20 Thread Gary Willoughby via Digitalmars-d
On Monday, 20 July 2015 at 19:30:36 UTC, Walter Bright wrote: I'm sad that this discussion on Evil Plans has so quickly turned into a deluge of posts bikeshedding a version number. Hardly bikeshedding. The comments are merely pointing out that as it stands D doesn't follow any particular versi

Re: dmd 2.068, 2.069, 2.0xx Evil Plan going forward

2015-07-20 Thread Gary Willoughby via Digitalmars-d
On Monday, 20 July 2015 at 04:02:04 UTC, Walter Bright wrote: Perhaps we should name this 2.100, to signify such a milestone. 2.1 Sounds good! But going forward can we stick to a sane versioning system like what dub uses: http://semver.org/

Re: What's the story with -property?

2015-06-30 Thread Gary Willoughby via Digitalmars-d
On Saturday, 27 June 2015 at 22:55:48 UTC, Mike wrote: There's a regression involving `-property` at https://issues.dlang.org/show_bug.cgi?id=14564. In that issue, it's stated by a reputable source that `-property` is going away. It was also stated in IRC that it never worked anyway. So, wh

Re: std.container: fork in the road

2015-06-17 Thread Gary Willoughby via Digitalmars-d
On Wednesday, 17 June 2015 at 06:08:57 UTC, Andrei Alexandrescu wrote: Took a fresh look at std.container from a Design by Introspection perspective, and my assessment is as follows: [...] 3. Implement std.experimental.collection and leave std.container for backwards compatibility. Then fol

Re: DConf 2015 Livestreaming?

2015-05-27 Thread Gary Willoughby via Digitalmars-d
On Wednesday, 27 May 2015 at 10:32:32 UTC, Liam McSherry wrote: On Wednesday, 27 May 2015 at 10:20:04 UTC, Per Nordlöw wrote: Isn't there any live-streaming of DConf this year? Unfortunately, there doesn't seem to be any streaming this year: http://forum.dlang.org/thread/zpwxvgiaigdbweach...

Re: Signals

2015-05-27 Thread Gary Willoughby via Digitalmars-d
On Wednesday, 27 May 2015 at 13:52:33 UTC, Robbin wrote: I'm writing a daemon in D on linux. I need to be able to stop (kill) it. The traditional C method is a signal handler. I can do this, but I can't figure out how to get the handler to do anything to tell the rest of the daemon to quit.

rdmd renames directories if they share the same name as an output file, what to do?

2015-04-30 Thread Gary Willoughby via Digitalmars-d
In the following bug report it's highlighted that rdmd renames directories if they share the same name as the output file. https://issues.dlang.org/show_bug.cgi?id=13758 Is there a consensus of opinion on what rdmd should do in this situation? i.e. should it raise an error and fail? Should the

Re: Updating ddoc to support modern HTML tags

2015-04-22 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 21 April 2015 at 11:27:35 UTC, Jacob Carlborg wrote: On 2015-04-20 21:42, Gary Willoughby wrote: and here are some proposed substitutions: https://gist.github.com/nomad-software/20d2ab1f7d4c9e55a343 I don't think you should use the "style" attribute at all. I th

Updating ddoc to support modern HTML tags

2015-04-20 Thread Gary Willoughby via Digitalmars-d
I've just done a little bit of work on the ddoc documentation and it was brought to my attention that the HTML output of ddoc is actually quite old. Some of the current tags are deprecated. I've raised this as an issue here: https://issues.dlang.org/show_bug.cgi?id=14473 Before starting on an

Re: [hackathon] One week left to the first D Hackathon!

2015-04-19 Thread Gary Willoughby via Digitalmars-d
On Saturday, 18 April 2015 at 16:26:41 UTC, Andrei Alexandrescu wrote: Join us for one week starting Saturday April 25th for the first D Hackathon! The D Hackathon is one week of intense participation and collaboration on anything and everything related to the D programming language. All pa

Re: Inplace array - reduce GC usage

2015-04-18 Thread Gary Willoughby via Digitalmars-d
On Saturday, 18 April 2015 at 10:49:01 UTC, Nikolay wrote: I wrote simple proof of concept library. The main aim is to reduce GC usage and improve data locality by replacing dynamic array for small immutable arrays. You can find more info here: * wiki - https://bitbucket.org/sibnick/inplacea

Re: Today's programming challenge - How's your Range-Fu ?

2015-04-18 Thread Gary Willoughby via Digitalmars-d
On Saturday, 18 April 2015 at 11:52:52 UTC, Chris wrote: On Saturday, 18 April 2015 at 11:35:47 UTC, Jacob Carlborg wrote: On 2015-04-18 12:27, Walter Bright wrote: That doesn't make sense to me, because the umlauts and the accented e all have Unicode code point assignments. This code snipp

Re: I came up with a new logo for the D language

2015-04-13 Thread Gary Willoughby via Digitalmars-d
On Monday, 13 April 2015 at 12:49:19 UTC, Abdulhaq wrote: I'd suggest a fresh look be introduced when the ref counting and GC work has been done, Believe it or not i'm not opposed to this. and personally I'd suggest just a simple clean 2D metro-ish "D" as the "logo", No. This is fashion. Hi

Re: I came up with a new logo for the D language

2015-04-13 Thread Gary Willoughby via Digitalmars-d
On Monday, 13 April 2015 at 12:49:19 UTC, Abdulhaq wrote: ... Walter has said many time the logo is *not* changing. On the off chance that the logo is authorised to be changed, I suggest we start a fundraiser to hire professional designers and maybe marketeers to re-brand and market D effectiv

  1   2   3   4   5   >