Re: [dlang.org] new forum design - preview

2016-01-15 Thread Andrei Alexandrescu via Digitalmars-d
On 1/15/16 1:35 AM, Tofu Ninja wrote: My criticism is why are people spending more time redesigning the look of the website again... we haven't even had this one that long. There are better ways to improve the website than re-skinning it. Nothing is really changing, just the colors and layout.

Re: Google Summer of Code 2016

2016-01-15 Thread Marc Schütz via Digitalmars-d
On Friday, 15 January 2016 at 12:36:32 UTC, Andrei Alexandrescu wrote: On 1/15/16 6:58 AM, Craig Dillabaugh wrote: On Friday, 15 January 2016 at 10:02:14 UTC, Marc Schütz wrote: * A flexible serialization framework in Phobos. std.csv could be changed to use it, and vibe.d as well as various

c style casts

2016-01-15 Thread Warwick via Digitalmars-d-learn
I though C style casts were not supported? But when I accidentaly did int i; if (uint(i) < length) it compiled and worked fine. Whys that?

Re: [dlang.org] new forum design - preview

2016-01-15 Thread John Colvin via Digitalmars-d
On Wednesday, 13 January 2016 at 06:01:41 UTC, Vladimir Panteleev wrote: http://beta.forum.dlang.org/ https://github.com/CyberShadow/DFeed/pull/51 I tried using this a bit and it's ... frustrating. I'll try and describe the thought process of a visit: I load beta.forum.dlang.org,

Re: Google Summer of Code 2016

2016-01-15 Thread Andrei Alexandrescu via Digitalmars-d
On 1/15/16 6:58 AM, Craig Dillabaugh wrote: On Friday, 15 January 2016 at 10:02:14 UTC, Marc Schütz wrote: On Friday, 15 January 2016 at 03:33:23 UTC, Andrei Alexandrescu wrote: A few quick ideas: * Bringing a parser generator library into phobos, either based on pegged or independent * SQL

Re: c style casts

2016-01-15 Thread Ilya Yaroshenko via Digitalmars-d-learn
On Friday, 15 January 2016 at 10:16:41 UTC, Warwick wrote: I though C style casts were not supported? But when I accidentaly did int i; if (uint(i) < length) it compiled and worked fine. Whys that? This is not a cast. You call constructor `uint(int x)`. In the same time

Re: [dlang.org] new forum design - preview

2016-01-15 Thread tn via Digitalmars-d
On Thursday, 14 January 2016 at 19:46:33 UTC, anonymous wrote: On 14.01.2016 16:29, tn wrote: I don't use my browser in full screen mode, but the useless white margins are still there. With the horizontal-split mode the line length of the message is less than 60 characters. Compared to that, I

Re: New D tool releases

2016-01-15 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 01/15/2016 12:52 AM, Vladimir Panteleev wrote: What will be gained by doing so? Can we add them as submodules and then just add them to the makefiles / build scripts? I think this would have been a better way to include DustMite too. That would work, too! -- Andrei

Re: Google Summer of Code 2016

2016-01-15 Thread Marc Schütz via Digitalmars-d
On Friday, 15 January 2016 at 03:33:23 UTC, Andrei Alexandrescu wrote: A few quick ideas: * Bringing a parser generator library into phobos, either based on pegged or independent * SQL parser, binder, validator * Anything building on the strengths on D: introspection, compile-time stuff,

Re: Google Summer of Code 2016

2016-01-15 Thread Craig Dillabaugh via Digitalmars-d
On Friday, 15 January 2016 at 10:02:14 UTC, Marc Schütz wrote: On Friday, 15 January 2016 at 03:33:23 UTC, Andrei Alexandrescu wrote: A few quick ideas: * Bringing a parser generator library into phobos, either based on pegged or independent * SQL parser, binder, validator * Anything

Re: DIP83

2016-01-15 Thread Márcio Martins via Digitalmars-d
On Thursday, 14 January 2016 at 14:28:05 UTC, deadalnix wrote: Ok I'll bite: it doesn't matter. This DIP is additive. The problem with D is not that we don't have stuff in there, is most of the stuff in there are half backed. Adding more half baked things in there only makes things worse.

Re: Rust's website is really good

2016-01-15 Thread Andrea Fontana via Digitalmars-d
On Friday, 15 January 2016 at 11:35:52 UTC, Saurabh Das wrote: I saw it via Reddit. Since the dlang.org website has been under discussion on this forum, I thought I would bring it up: https://www.rust-lang.org/faq.html https://www.rust-lang.org/ I admire the clean, modern look, simple colours

Re: DIP83

2016-01-15 Thread deadalnix via Digitalmars-d
On Friday, 15 January 2016 at 11:11:41 UTC, Tofu Ninja wrote: On Thursday, 14 January 2016 at 14:28:05 UTC, deadalnix wrote: We don't have line number in stack traces Huh? We dont have line numbers in stack traces? I have line numbers, I am using latest dmd, or are you talking about one of

Re: DIP83

2016-01-15 Thread Atila Neves via Digitalmars-d
On Thursday, 14 January 2016 at 19:51:37 UTC, Jacob Carlborg wrote: On 2016-01-14 15:28, deadalnix wrote: There is no point in discussing the doorbell when the house has no window. +1. And AST macros would solve the problem (and a lot of other problems). I used to think we didn't need AST

Re: DIP83

2016-01-15 Thread Tofu Ninja via Digitalmars-d
On Thursday, 14 January 2016 at 14:28:05 UTC, deadalnix wrote: We don't have line number in stack traces Huh? We dont have line numbers in stack traces? I have line numbers, I am using latest dmd, or are you talking about one of the other compilers?

Rust's website is really good

2016-01-15 Thread Saurabh Das via Digitalmars-d
I saw it via Reddit. Since the dlang.org website has been under discussion on this forum, I thought I would bring it up: https://www.rust-lang.org/faq.html https://www.rust-lang.org/ I admire the clean, modern look, simple colours and focus on what's important. The content is very good and

Re: Google Summer of Code 2016

2016-01-15 Thread Andrei Alexandrescu via Digitalmars-d
On 01/15/2016 08:11 AM, Marc Schütz wrote: On Friday, 15 January 2016 at 12:36:32 UTC, Andrei Alexandrescu wrote: On 1/15/16 6:58 AM, Craig Dillabaugh wrote: On Friday, 15 January 2016 at 10:02:14 UTC, Marc Schütz wrote: * A flexible serialization framework in Phobos. std.csv could be changed

Re: [dlang.org] new forum design - preview

2016-01-15 Thread Vladimir Panteleev via Digitalmars-d
On Friday, 15 January 2016 at 11:45:53 UTC, John Colvin wrote: The right panel of the split view extends significantly lower than the left panel. The navigation column extends down further still. There is some wasted vertical space above the footer and a *lot* wasted below it. Thanks for

Re: Google Summer of Code 2016

2016-01-15 Thread Tavi via Digitalmars-d
On Thursday, 14 January 2016 at 18:56:21 UTC, Craig Dillabaugh wrote: Deadline is getting closer, any new project ideas are welcome. Starting to get some contact from students now. FlatBuffers for DLang - http://google.github.io/flatbuffers/

Re: DIP83

2016-01-15 Thread Tofu Ninja via Digitalmars-d
On Friday, 15 January 2016 at 13:20:18 UTC, deadalnix wrote: Well I don't, both on OSX and linux, using the latest release. On linux I can do the addr2line dance, but on OSX I can't even do that as it require information that are gone once the program terminate. Hmmm, I'm on windows so maybe

Re: Google Summer of Code 2016

2016-01-15 Thread Craig Dillabaugh via Digitalmars-d
On Friday, 15 January 2016 at 13:43:07 UTC, Andrei Alexandrescu wrote: On 01/15/2016 08:11 AM, Marc Schütz wrote: On Friday, 15 January 2016 at 12:36:32 UTC, Andrei Alexandrescu wrote: On 1/15/16 6:58 AM, Craig Dillabaugh wrote: On Friday, 15 January 2016 at 10:02:14 UTC, Marc Schütz wrote:

Re: DIP83

2016-01-15 Thread Yazan D via Digitalmars-d
On Fri, 15 Jan 2016 13:20:18 +, deadalnix wrote: > > Well I don't, both on OSX and linux, using the latest release. On linux > I can do the addr2line dance, but on OSX I can't even do that as it > require information that are gone once the program terminate. Are you compiling with debug

Voldemort Type Construction Error

2016-01-15 Thread Nordlöw via Digitalmars-d-learn
I've made progress at the helper findingSplitter at https://github.com/nordlow/justd/blob/master/substitution.d#L122 I need this for implementing a new Phobos lazy `substitute()` (or replace). I've done most logic (AFAICT in my head) but I can't make the call to Result() work as it fails as

Re: [dlang.org] new forum design - preview

2016-01-15 Thread Random D user via Digitalmars-d
On Friday, 15 January 2016 at 05:56:37 UTC, Vladimir Panteleev wrote: - A specific list of things that can be improved I too like the current soft dark theme of the forum (and website). Would it be possible to have optional dark theme in the forum settings? I wish the main website would

Re: c style casts

2016-01-15 Thread Jacob Carlborg via Digitalmars-d-learn
On 2016-01-15 11:16, Warwick wrote: I though C style casts were not supported? But when I accidentaly did int i; if (uint(i) < length) it compiled and worked fine. Whys that? Wouldn't a C style cast be: int i; if ((uint)i < length) ? -- /Jacob Carlborg

Re: [dlang.org] new forum design - preview

2016-01-15 Thread Jacob Carlborg via Digitalmars-d
On 2016-01-15 10:16, Vladimir Panteleev wrote: I added a new widget at the top of the basic view mode's post list: http://beta.forum.dlang.org/thread/op.xz6shob04sdys0@nicolass-macbook-pro.local Why does the text get smaller when width of the window gets smaller (when it gets small enough).

Re: Voldemort Type Construction Error

2016-01-15 Thread Jonathan M Davis via Digitalmars-d-learn
On Friday, January 15, 2016 14:04:50 Nordlöw via Digitalmars-d-learn wrote: > I've made progress at the helper findingSplitter at > > https://github.com/nordlow/justd/blob/master/substitution.d#L122 > > I need this for implementing a new Phobos lazy `substitute()` (or > replace). > > I've done

[Issue 15304] [REG 2.068.0] Error about SortedRange not being nothrow in debug mode

2016-01-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15304 Jack Stouffer changed: What|Removed |Added Component|phobos |dmd --

Re: Voldemort Type Construction Error

2016-01-15 Thread Anon via Digitalmars-d-learn
On Friday, 15 January 2016 at 14:04:50 UTC, Nordlöw wrote: What have I missed? In line 126, `static struct Result()` is a template. Either drop the parens there, or change the call on line 187 to `Result!()(haystack, needles)`.

Re: New D tool releases

2016-01-15 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 01/15/2016 08:24 AM, Suliman wrote: On Friday, 15 January 2016 at 13:00:14 UTC, Andrei Alexandrescu wrote: On 01/15/2016 12:52 AM, Vladimir Panteleev wrote: What will be gained by doing so? Can we add them as submodules and then just add them to the makefiles / build scripts? I think this

[Issue 15535] Emit error on "goto default" in final switch

2016-01-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15535 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/3e245ec352f97705e7fe383f9b6a350c14d29148 fix Issue 15535 - Disallow

DCD 0.7.5 released

2016-01-15 Thread Basile B. via Digitalmars-d-announce
just a "hot" fix since previous announce. https://github.com/Hackerpilot/DCD/releases/tag/v0.7.5

Re: Google Summer of Code 2016

2016-01-15 Thread Craig Dillabaugh via Digitalmars-d
On Friday, 15 January 2016 at 15:11:39 UTC, Tavi wrote: On Thursday, 14 January 2016 at 18:56:21 UTC, Craig Dillabaugh wrote: Deadline is getting closer, any new project ideas are welcome. Starting to get some contact from students now. FlatBuffers for DLang -

Why does buildHeap sift both down and up?

2016-01-15 Thread Andrei Alexandrescu via Digitalmars-d
I was looking through the heap primitives in std.algorithm.sorting and was surprised that buildHeap() at https://github.com/D-Programming-Language/phobos/blob/master/std/algorithm/sorting.d#L1289 uses percolate(). In turn, percolate() has two stages, one that sifts up, the other that sifts

Re: DUB & Win-10 SDK / link lib not found

2016-01-15 Thread Robert M. Münch via Digitalmars-d-learn
On 2016-01-15 00:36:57 +, Mike Parker said: Did you install DMD manually? In that case, you will usually need to edit sc.ini to point to the proper VC and Win SDK directories. The DMD installer should detect your installation and configure it for you. I use Digger, hence this might be

Re: std.experimental.yesnogc

2016-01-15 Thread Chris via Digitalmars-d
On Thursday, 14 January 2016 at 00:35:53 UTC, Andrei Alexandrescu wrote: Hey folks, I want to push things forward with artifacts dedicated to avoiding the GC, and of course my main worry is finding the right name. An obvious choice is std.experimental.nogc but we know from Marketing 101 that

core.sys.posix.sys.ioctl

2016-01-15 Thread sanjayss via Digitalmars-d-learn
Is there any reason that this module is not complete for platforms other than Linux -- the ioctl() system call is common across all Unix-like OSes, so it doesn't make sense that this is only partially supported. (I am using the latest DMD).

Re: core.sys.posix.sys.ioctl

2016-01-15 Thread Adam D. Ruppe via Digitalmars-d-learn
On Friday, 15 January 2016 at 18:32:22 UTC, sanjayss wrote: Is there any reason that this module is not complete for platforms other than Linux Nobody has written it up, except the parts they use.

Re: DUB & Win-10 SDK / link lib not found

2016-01-15 Thread Josh Phillips via Digitalmars-d-learn
I also ran into this issue because I upgraded VS and removed the old version. A quick re-install with the dmd .exe fixed it.

Re: [dlang.org] new forum design - preview

2016-01-15 Thread anonymous via Digitalmars-d
On 14.01.2016 23:03, tsbockman wrote: On Thursday, 14 January 2016 at 19:46:33 UTC, anonymous wrote: Would a border help? http://i.imgur.com/XoPddxr.png Or how about making the whole area gray? http://i.imgur.com/AXrmKU4.png Either of those would be an improvement. I went with the border.

Re: Google Summer of Code 2016

2016-01-15 Thread Jacob Carlborg via Digitalmars-d
On 2016-01-15 13:36, Andrei Alexandrescu wrote: I recall there has been one (or two?) unsuccessful attempts. -- Andrei Yes, twice. It mainly needs to be rangified. -- /Jacob Carlborg

Re: Voldemort Type Construction Error

2016-01-15 Thread Nordlöw via Digitalmars-d-learn
On Friday, 15 January 2016 at 16:51:24 UTC, Anon wrote: On Friday, 15 January 2016 at 14:04:50 UTC, Nordlöw wrote: What have I missed? In line 126, `static struct Result()` is a template. Either drop the parens there, or change the call on line 187 to `Result!()(haystack, needles)`. Ahh,

Re: DIP83

2016-01-15 Thread Jacob Carlborg via Digitalmars-d
On 2016-01-15 11:21, Atila Neves wrote: I used to think we didn't need AST macros until I hit the problems this DIP tries to address. After 2 years or so, I think you've finally convinced me Jacob ;) :D -- /Jacob Carlborg

Re: Google Summer of Code 2016

2016-01-15 Thread Jacob Carlborg via Digitalmars-d
On 2016-01-15 14:56, Craig Dillabaugh wrote: Agreed ... Jacob? I could help, but I have no interest in being an official mentor. -- /Jacob Carlborg

Re: [dlang.org] new forum design - preview

2016-01-15 Thread anonymous via Digitalmars-d
On 14.01.2016 22:58, ddd wrote: Cant you do a max-width on the container holding the main page? I agree it should I guess there should be a "not" in here? be an entire 2k display but my laptop the sidebar could easily push the edge of the window. The container has a max-width. There's

Re: [dlang.org] new forum design - preview

2016-01-15 Thread anonymous via Digitalmars-d
On 13.01.2016 18:13, Saurabh Das wrote: +1 for Sans-serif fonts! I find them much easier to read too :) (anonymous has assured me that this font will grow on me though). I only said it grew on me :) The page is too white. The style looks good on the main website, but on the forum makes it

Re: local import hijacking

2016-01-15 Thread tsbockman via Digitalmars-d
On Friday, 15 January 2016 at 09:05:27 UTC, Johannes Pfau wrote: I'm not sure why you even think the OP is using GDC. His bug report says he's on windows 10. GDC is not supported on windows systems and won't work for anything but trivial programs. And stack traces is one thing GDC has had

Index a parameter tuple with a run-time index

2016-01-15 Thread Nordlöw via Digitalmars-d-learn
How do I index a function parameter tuple with a run-time index?

Re: Google Summer of Code 2016

2016-01-15 Thread Tavi via Digitalmars-d
On Friday, 15 January 2016 at 16:06:00 UTC, Craig Dillabaugh wrote: On Friday, 15 January 2016 at 15:11:39 UTC, Tavi wrote: On Thursday, 14 January 2016 at 18:56:21 UTC, Craig Dillabaugh wrote: Deadline is getting closer, any new project ideas are welcome. Starting to get some contact from

Re: Glad and WGL

2016-01-15 Thread Josh Phillips via Digitalmars-d-learn
On Friday, 15 January 2016 at 07:37:27 UTC, Josh Phillips wrote: However I (of course) ran into new errors. Gl functions like glGetString and glGetIntegerv cause the program to crash. It appears that an opengl context is being created so I'm not sure whats causing the problem For anyone else

Re: Today was a good day

2016-01-15 Thread Ivan Kazmenko via Digitalmars-d
On Wednesday, 13 January 2016 at 03:38:45 UTC, Andrei Alexandrescu wrote: I tried a static rng but found out that pure functions call sort(). Overall I'm not that worried about attacks on sort(). So, sort() is still Introsort (O(n log n) worst case), but topN() can show quadratic performance?

Re: Index a parameter tuple with a run-time index

2016-01-15 Thread anonymous via Digitalmars-d-learn
On 15.01.2016 21:42, Nordlöw wrote: How do I index a function parameter tuple with a run-time index? With a switch and a static foreach: void f(A...)(size_t i, A a) { import std.stdio: writeln; switch_: switch (i) { foreach (iT, T; A) { case iT:

Re: local import hijacking

2016-01-15 Thread tsbockman via Digitalmars-d
On Friday, 15 January 2016 at 08:12:03 UTC, Russel Winder wrote: "several versions behind" might be a better way if putting this. The release cycles of DMD (basically unconstrained), LDC (basically unconstrained), and GDC (heavily constrained), mean that "out of date" is a bad marketing phrase.

Re: Premake officially gains D support

2016-01-15 Thread Dibyendu Majumdar via Digitalmars-d
On Tuesday, 2 June 2015 at 08:23:08 UTC, Manu wrote: Perhaps of interest, I have been maintaining D support in Premake for years (as an extension). It was finally merged into mainline... so Premake now officially supports D out-of-the-box. Huzzah! Curious to know if anyone here uses Premake,

Re: core.sys.posix.sys.ioctl

2016-01-15 Thread sanjayss via Digitalmars-d-learn
On Friday, 15 January 2016 at 18:34:14 UTC, Adam D. Ruppe wrote: On Friday, 15 January 2016 at 18:32:22 UTC, sanjayss wrote: Is there any reason that this module is not complete for platforms other than Linux Nobody has written it up, except the parts they use. Is the contribution process

Re: Index a parameter tuple with a run-time index

2016-01-15 Thread Meta via Digitalmars-d-learn
On Friday, 15 January 2016 at 20:48:39 UTC, anonymous wrote: On 15.01.2016 21:42, Nordlöw wrote: How do I index a function parameter tuple with a run-time index? With a switch and a static foreach: void f(A...)(size_t i, A a) { import std.stdio: writeln; switch_: switch (i)

Re: Index a parameter tuple with a run-time index

2016-01-15 Thread Meta via Digitalmars-d-learn
On Friday, 15 January 2016 at 20:42:47 UTC, Nordlöw wrote: How do I index a function parameter tuple with a run-time index? I believe it's impossible because a parameter tuple is not a runtime entity. If it was an expression tuple (a compile-time tuple of only values, no types or symbols)

Re: core.sys.posix.sys.ioctl

2016-01-15 Thread Adam D. Ruppe via Digitalmars-d-learn
On Friday, 15 January 2016 at 21:21:26 UTC, sanjayss wrote: Is the contribution process straightforward. For this, yes. Should be able to just fork druntime and edit the ioctl.d that exists to flesh it out to be more complete. Make sure it matches the original C names, values, etc., and

Re: Index a parameter tuple with a run-time index

2016-01-15 Thread Justin Whear via Digitalmars-d-learn
On Fri, 15 Jan 2016 20:52:46 +, Meta wrote: > And of course I'm proven wrong as soon as I post :) Sometimes I forget > how powerful D's code generation abilities are. Username doesn't check out, :(

Re: Index a parameter tuple with a run-time index

2016-01-15 Thread Meta via Digitalmars-d-learn
On Friday, 15 January 2016 at 21:47:21 UTC, Justin Whear wrote: On Fri, 15 Jan 2016 20:52:46 +, Meta wrote: And of course I'm proven wrong as soon as I post :) Sometimes I forget how powerful D's code generation abilities are. Username doesn't check out, :( Huh?

Re: Variable below zero but if statement doesn't grab?

2016-01-15 Thread Basile B. via Digitalmars-d-learn
On Tuesday, 5 January 2016 at 23:52:05 UTC, Basile B. wrote: On Monday, 28 December 2015 at 18:02:53 UTC, jkpl wrote: On Monday, 28 December 2015 at 15:50:06 UTC, Basile B. wrote: On Monday, 28 December 2015 at 15:07:08 UTC, jkpl wrote: On Sunday, 27 December 2015 at 16:00:34 UTC, jkpl wrote:

[Issue 15569] New: Implicit fall-through does not cause an error

2016-01-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15569 Issue ID: 15569 Summary: Implicit fall-through does not cause an error Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: regression

[Issue 15569] Implicit fall-through does not cause an error

2016-01-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15569 Jake Drahos changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 14411] switch statement: docs/behavior differ

2016-01-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14411 Jake Drahos changed: What|Removed |Added CC||j...@kedrahos.com ---

Re: Google Summer of Code 2016

2016-01-15 Thread Craig Dillabaugh via Digitalmars-d
On Friday, 15 January 2016 at 20:20:29 UTC, Jacob Carlborg wrote: On 2016-01-15 13:36, Andrei Alexandrescu wrote: I recall there has been one (or two?) unsuccessful attempts. -- Andrei Yes, twice. It mainly needs to be rangified. How much work do you think that would involve? Would it be

Re: Google Summer of Code 2016

2016-01-15 Thread Craig Dillabaugh via Digitalmars-d
On Friday, 15 January 2016 at 20:46:59 UTC, Tavi wrote: On Friday, 15 January 2016 at 16:06:00 UTC, Craig Dillabaugh wrote: On Friday, 15 January 2016 at 15:11:39 UTC, Tavi wrote: On Thursday, 14 January 2016 at 18:56:21 UTC, Craig Dillabaugh wrote: Deadline is getting closer, any new project

Re: So... let's document dmd

2016-01-15 Thread Jack Stouffer via Digitalmars-d
On Saturday, 16 January 2016 at 05:11:57 UTC, Joakim wrote: The ddmd lexer is already on dub, just have to add the parser next: http://code.dlang.org/packages/ddmd You missed the main point of my question.

Adam D. Ruppe's Minigui using example

2016-01-15 Thread Andre Polykanine via Digitalmars-d-learn
Hi everyone, I would like to use Minigui (https://github.com/adamdruppe/arsd/blob/master/minigui.d) and test it for accessibility. Does anyone have an actual example of, say, a simple form with a set of radio buttons or check boxes to start with? Thanks in advance!

Re: dmd installation question

2016-01-15 Thread Brad Anderson via Digitalmars-d
On Saturday, 16 January 2016 at 01:16:22 UTC, Dibyendu Majumdar wrote: Hi I have downloaded and installed DMD on a Windows 10 64-bit machine. When I try to build my app in Visual Studio - I am getting an error: Error: cannot find source code for runtime library file 'object.d' dmd

Re: Adam D. Ruppe's Minigui using example

2016-01-15 Thread Adam D. Ruppe via Digitalmars-d-learn
On Saturday, 16 January 2016 at 01:27:32 UTC, Andre Polykanine wrote: Does anyone have an actual example of, say, a simple form with a set of radio buttons or check boxes to start with? Thanks in advance! Sort of. I still haven't used it in a real world program so it isn't complete but

Re: So... let's document dmd

2016-01-15 Thread Joakim via Digitalmars-d
On Friday, 15 January 2016 at 23:58:32 UTC, Jack Stouffer wrote: On Friday, 15 January 2016 at 04:53:16 UTC, Andrei Alexandrescu wrote: https://github.com/D-Programming-Language/dlang.org/pull/1196 https://github.com/D-Programming-Language/dmd/pull/5352 Destroy!! Andrei Since dmd is now in

Fuck the brits

2016-01-15 Thread Basile B. via Digitalmars-d-learn
On Friday, 15 January 2016 at 22:16:09 UTC, Basile B. wrote: On Tuesday, 5 January 2016 at 23:52:05 UTC, Basile B. wrote: On Monday, 28 December 2015 at 18:02:53 UTC, jkpl wrote: On Monday, 28 December 2015 at 15:50:06 UTC, Basile B. wrote: On Monday, 28 December 2015 at 15:07:08 UTC, jkpl

Re: local import hijacking

2016-01-15 Thread tsbockman via Digitalmars-d
On Saturday, 16 January 2016 at 00:03:31 UTC, Meta wrote: And the build is failing on DAutoTest with nasty assert errors. It built fine for me locally, anyone know what might be the problem? Error - file 'dimport.d' contains windows line endings at line 1 ... *** [checkwhitespace] Error 1

Re: DIP83

2016-01-15 Thread rsw0x via Digitalmars-d
On Friday, 15 January 2016 at 11:58:19 UTC, Márcio Martins wrote: On Thursday, 14 January 2016 at 14:28:05 UTC, deadalnix wrote: [...] True that. I think it's great to keep evolving the language and making it better, on the other hand, if D is to get serious adoption, then everything,

Re: [dlang.org] new forum design - preview

2016-01-15 Thread Saurabh Das via Digitalmars-d
On Friday, 15 January 2016 at 20:33:32 UTC, anonymous wrote: On 13.01.2016 18:13, Saurabh Das wrote: +1 for Sans-serif fonts! I find them much easier to read too :) (anonymous has assured me that this font will grow on me though). I only said it grew on me :) The page is too white. The

Re: local import hijacking

2016-01-15 Thread Meta via Digitalmars-d
On Friday, 15 January 2016 at 23:57:51 UTC, Meta wrote: On Thursday, 14 January 2016 at 20:37:54 UTC, Andrei Alexandrescu wrote: On 01/14/2016 02:10 PM, Joakim wrote: Wow, can't believe his PR has been sitting unreviewed for 5 months: https://github.com/D-Programming-Language/dmd/pull/4915

Re: local import hijacking

2016-01-15 Thread Andrei Alexandrescu via Digitalmars-d
On 01/15/2016 06:57 PM, Meta wrote: On Thursday, 14 January 2016 at 20:37:54 UTC, Andrei Alexandrescu wrote: On 01/14/2016 02:10 PM, Joakim wrote: Wow, can't believe his PR has been sitting unreviewed for 5 months: https://github.com/D-Programming-Language/dmd/pull/4915 I notice Kenji has

Re: So... let's document dmd

2016-01-15 Thread tsbockman via Digitalmars-d
On Saturday, 16 January 2016 at 05:29:03 UTC, Jack Stouffer wrote: On Saturday, 16 January 2016 at 05:11:57 UTC, Joakim wrote: The ddmd lexer is already on dub, just have to add the parser next: http://code.dlang.org/packages/ddmd You missed the main point of my question. I'm confused as

Re: So... let's document dmd

2016-01-15 Thread Joakim via Digitalmars-d
On Saturday, 16 January 2016 at 05:36:23 UTC, tsbockman wrote: On Saturday, 16 January 2016 at 05:29:03 UTC, Jack Stouffer wrote: On Saturday, 16 January 2016 at 05:11:57 UTC, Joakim wrote: The ddmd lexer is already on dub, just have to add the parser next:

Re: local import hijacking

2016-01-15 Thread John Colvin via Digitalmars-d
On Friday, 15 January 2016 at 08:15:50 UTC, Iain Buclaw wrote: On 15 Jan 2016 9:12 am, "Russel Winder via Digitalmars-d" < digitalmars-d@puremagic.com> wrote: In this mindset D is certainly stable enough for production, it is not beta software. DMD is the playground compiler, GDC the

Re: local import hijacking

2016-01-15 Thread Meta via Digitalmars-d
On Saturday, 16 January 2016 at 00:07:59 UTC, tsbockman wrote: On Saturday, 16 January 2016 at 00:03:31 UTC, Meta wrote: And the build is failing on DAutoTest with nasty assert errors. It built fine for me locally, anyone know what might be the problem? Error - file 'dimport.d' contains

dmd installation question

2016-01-15 Thread Dibyendu Majumdar via Digitalmars-d
Hi I have downloaded and installed DMD on a Windows 10 64-bit machine. When I try to build my app in Visual Studio - I am getting an error: Error: cannot find source code for runtime library file 'object.d' dmd might not be correctly installed. Run 'dmd -man' for installation

Re: dmd installation question

2016-01-15 Thread Dibyendu Majumdar via Digitalmars-d
On Saturday, 16 January 2016 at 01:16:22 UTC, Dibyendu Majumdar wrote: I have downloaded and installed DMD on a Windows 10 64-bit machine. When I try to build my app in Visual Studio - I am getting an error: Error: cannot find source code for runtime library file 'object.d' dmd might

Re: [dlang.org] new forum design - preview

2016-01-15 Thread Vladimir Panteleev via Digitalmars-d
On Friday, 15 January 2016 at 15:25:42 UTC, Jacob Carlborg wrote: On 2016-01-15 10:16, Vladimir Panteleev wrote: I added a new widget at the top of the basic view mode's post list: http://beta.forum.dlang.org/thread/op.xz6shob04sdys0@nicolass-macbook-pro.local Why does the text get smaller

Re: Beta D 2.070.0-b1

2016-01-15 Thread Adam D. Ruppe via Digitalmars-d-announce
Has anyone built a Windows program with the beta? I tried and got undefined identifier HWND, but have been unable to minimize the test case and it might be just my install not being clean.

Re: [dlang.org] new forum design - preview

2016-01-15 Thread Kapps via Digitalmars-d
On Wednesday, 13 January 2016 at 06:01:41 UTC, Vladimir Panteleev wrote: http://beta.forum.dlang.org/ https://github.com/CyberShadow/DFeed/pull/51 The bold fonts, such as unread threads are way too wide, I find it distracting and hard to read. I'm not sold on red links everywhere. It goes

Re: [dlang.org] new forum design - preview

2016-01-15 Thread Vladimir Panteleev via Digitalmars-d
On Saturday, 16 January 2016 at 06:27:03 UTC, Kapps wrote: There's too little usable space. On my 27" 5k iMac, it's a huge amount of white space. The argument is that people don't want to look at huge lines, but generally these high resolution monitors are zoomed in or have DPI scaling. If

Re: Voldemort Type Construction Error

2016-01-15 Thread Kapps via Digitalmars-d-learn
On Friday, 15 January 2016 at 20:04:47 UTC, Nordlöw wrote: On Friday, 15 January 2016 at 16:51:24 UTC, Anon wrote: On Friday, 15 January 2016 at 14:04:50 UTC, Nordlöw wrote: What have I missed? In line 126, `static struct Result()` is a template. Either drop the parens there, or change the

Re: So... let's document dmd

2016-01-15 Thread Jack Stouffer via Digitalmars-d
On Friday, 15 January 2016 at 04:53:16 UTC, Andrei Alexandrescu wrote: https://github.com/D-Programming-Language/dlang.org/pull/1196 https://github.com/D-Programming-Language/dmd/pull/5352 Destroy!! Andrei Since dmd is now in D, is there any reason to not allow people to import from it

Re: local import hijacking

2016-01-15 Thread Meta via Digitalmars-d
On Thursday, 14 January 2016 at 20:37:54 UTC, Andrei Alexandrescu wrote: On 01/14/2016 02:10 PM, Joakim wrote: Wow, can't believe his PR has been sitting unreviewed for 5 months: https://github.com/D-Programming-Language/dmd/pull/4915 I notice Kenji has been absent for a while, could anyone

DCD and dfmt bugfix releases

2016-01-15 Thread Brian Schott via Digitalmars-d-announce
DCD 0.7.5: https://github.com/Hackerpilot/DCD/releases/tag/v0.7.5 If you're on DCD 0.7.4, upgrade to 0.7.5 to avoid a crash. dfmt 0.4.4: github.com/Hackerpilot/dfmt/releases/tag/v0.4.4 The new dfmt release fixes some spacing and alignment bugs.

Re: dmd installation question

2016-01-15 Thread Brad Anderson via Digitalmars-d
On Saturday, 16 January 2016 at 02:07:13 UTC, Brad Anderson wrote: On Saturday, 16 January 2016 at 01:16:22 UTC, Dibyendu Majumdar wrote: [...] Probably this: https://issues.dlang.org/show_bug.cgi?id=15456 I'm going to try to get around to fixing that and making an installer for LDC this

Re: DIP83

2016-01-15 Thread rsw0x via Digitalmars-d
On Friday, 15 January 2016 at 13:20:18 UTC, deadalnix wrote: On Friday, 15 January 2016 at 11:11:41 UTC, Tofu Ninja wrote: On Thursday, 14 January 2016 at 14:28:05 UTC, deadalnix wrote: We don't have line number in stack traces Huh? We dont have line numbers in stack traces? I have line

Re: [dlang.org] new forum design - preview

2016-01-15 Thread tsbockman via Digitalmars-d
On Friday, 15 January 2016 at 09:16:15 UTC, Vladimir Panteleev wrote: I added a new widget at the top of the basic view mode's post list: http://beta.forum.dlang.org/thread/op.xz6shob04sdys0@nicolass-macbook-pro.local Cool. I like the "Thread overview" tree thing.

Re: [dlang.org] new forum design - preview

2016-01-15 Thread Vladimir Panteleev via Digitalmars-d
On Saturday, 16 January 2016 at 06:27:03 UTC, Kapps wrote: The bold fonts, such as unread threads are way too wide, I find it distracting and hard to read. I'm not sold on red links everywhere. It goes against what most sites do with making red links be things that stand out, and it's

Re: [dlang.org] new forum design - preview

2016-01-15 Thread Vladimir Panteleev via Digitalmars-d
On Thursday, 14 January 2016 at 22:40:36 UTC, Zardoz wrote: On Wednesday, 13 January 2016 at 06:01:41 UTC, Vladimir Panteleev wrote: http://beta.forum.dlang.org/ https://github.com/CyberShadow/DFeed/pull/51 I like the new layout, but I like the actual color scheme. Any chance you could

Re: So... let's document dmd

2016-01-15 Thread Jack Stouffer via Digitalmars-d
On Saturday, 16 January 2016 at 05:36:23 UTC, tsbockman wrote: On Saturday, 16 January 2016 at 05:29:03 UTC, Jack Stouffer wrote: On Saturday, 16 January 2016 at 05:11:57 UTC, Joakim wrote: The ddmd lexer is already on dub, just have to add the parser next:

Re: New D tool releases

2016-01-15 Thread Basile B. via Digitalmars-d-announce
On Friday, 15 January 2016 at 07:17:42 UTC, Brian Schott wrote: On Friday, 15 January 2016 at 06:27:23 UTC, Basile B. wrote: By chance it' has happend again while the console was opened: The announce newsgroup is not a bug tracker, but this is: https://github.com/Hackerpilot/DCD/issues

Re: local import hijacking

2016-01-15 Thread Johannes Pfau via Digitalmars-d
Am Thu, 14 Jan 2016 21:36:01 + schrieb tsbockman : > On Thursday, 14 January 2016 at 14:56:39 UTC, Byron Heads wrote: > > std.net.curl.CurlException@std\net\curl.d(4033): Couldn't > > resolve host name on handle 2188398 > > > > 0x00405F65 > >

Re: local import hijacking

2016-01-15 Thread Iain Buclaw via Digitalmars-d
On 15 Jan 2016 9:12 am, "Russel Winder via Digitalmars-d" < digitalmars-d@puremagic.com> wrote: > > In this mindset D is certainly stable enough for production, it is not > beta software. DMD is the playground compiler, GDC the conservative but > solid one, and LDC the core production tool. > > --

  1   2   >