Re: About GC: The Future of Rust : GC integration

2016-06-08 Thread Adam Wilson via Digitalmars-d
ketmar wrote: On Wednesday, 8 June 2016 at 17:13:38 UTC, deadalnix wrote: On Wednesday, 8 June 2016 at 12:04:34 UTC, ketmar wrote: On Wednesday, 8 June 2016 at 06:19:08 UTC, Ola Fosheim Grøstad wrote: I've yet to see a large desktop app relying on GC that does not feel sluggish. i've yet to

Re: a lambda with arguments has type void?

2016-06-08 Thread ketmar via Digitalmars-d-learn
On Thursday, 9 June 2016 at 05:20:46 UTC, cy wrote: On Tuesday, 7 June 2016 at 22:17:03 UTC, ag0aep6g wrote: You don't specify the types of the parameters of the function literals, so you effectively have templates there. As such the literals have no types, and can't be passed as arguments.

Re: Optimizations and performance

2016-06-08 Thread Daniel Kozak via Digitalmars-d
Dne 9.6.2016 v 02:25 Seb via Digitalmars-d napsal(a): While I appreciate that someone puts the time and effort in such benchmarks, what do they really say? In the brainfuck example the most expensive function call is the hash function, which is not needed at all! It is more about AA

Re: a lambda with arguments has type void?

2016-06-08 Thread cy via Digitalmars-d-learn
On Tuesday, 7 June 2016 at 22:17:03 UTC, ag0aep6g wrote: You don't specify the types of the parameters of the function literals, so you effectively have templates there. As such the literals have no types, and can't be passed as arguments. Yeah, I see that now. The compiler does have all the

Re: Fibers under the hood

2016-06-08 Thread Jonathan Marler via Digitalmars-d-learn
On Thursday, 9 June 2016 at 05:07:33 UTC, Nikolay wrote: On Thursday, 9 June 2016 at 04:57:30 UTC, Jonathan Marler wrote: I've googled and searched through the forums but haven't found too much on how fibers are implemented. How does yield return execution to the caller but then resume

Re: Fibers under the hood

2016-06-08 Thread Nikolay via Digitalmars-d-learn
On Thursday, 9 June 2016 at 04:57:30 UTC, Jonathan Marler wrote: I've googled and searched through the forums but haven't found too much on how fibers are implemented. How does yield return execution to the caller but then resume execution in the same place on the next call? Also some

Fibers under the hood

2016-06-08 Thread Jonathan Marler via Digitalmars-d-learn
I've googled and searched through the forums but haven't found too much on how fibers are implemented. How does yield return execution to the caller but then resume execution in the same place on the next call? Also some information on how the fiber call stack works would be nice. I'm

Re: Recursive SymbolNames solved.

2016-06-08 Thread Stefan Koch via Digitalmars-d-announce
On Wednesday, 8 June 2016 at 13:28:19 UTC, Stefan Koch wrote: Hi, I solved the issue. PR is coming shortly. Solution is as follows: Keep a list of already visited symbols in the mangler. And information where we store the mangle. meaning the position in the mangle string. If a symbol is

Re: LDC 1.0.0 has been released!

2016-06-08 Thread Kai Nacke via Digitalmars-d-announce
On Monday, 6 June 2016 at 10:45:39 UTC, Guillaume Piolat wrote: On Monday, 6 June 2016 at 07:25:49 UTC, tester wrote: On Monday, 6 June 2016 at 07:00:56 UTC, Kai Nacke wrote: Hi everyone, It is a great pleasure to announce that version 1.0.0 of LDC, the LLVM-based D compiler, is now

Re: Asio Bindings?

2016-06-08 Thread Joerg Joergonson via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 23:19:13 UTC, Andrej Mitrovic wrote: I do have (Steinberg) ASIO binding in D. The problem is I couldn't release the bindings. I've asked Steinberg if it was OK to release D bindings and they were strongly against it unfortunately (and this was over 3 years

[Issue 16144] send expiration date headers (enable caching)

2016-06-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16144 --- Comment #1 from greensunn...@gmail.com --- see also - e.g. https://developers.google.com/speed/pagespeed/insights/?url=dlang.org=mobile --

[Issue 16144] New: send expiration date headers (enable caching)

2016-06-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16144 Issue ID: 16144 Summary: send expiration date headers (enable caching) Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement

[Issue 16143] New: Assertion error for nested functions

2016-06-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16143 Issue ID: 16143 Summary: Assertion error for nested functions Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal

Re: Optimizations and performance

2016-06-08 Thread Dave via Digitalmars-d
On Wednesday, 8 June 2016 at 22:32:49 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 8 June 2016 at 22:19:47 UTC, Bauss wrote: D definitely needs some optimizations, I mean look at its benchmarks compared to other languages: https://github.com/kostya/benchmarks I believe the first step

[Issue 16142] Adding a dtor / postblit (even disabled) forces opAssign

2016-06-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16142 --- Comment #1 from Mathias Lang --- P.R: https://github.com/dlang/dmd/pull/5854 --

[Issue 16076] auto-deploy on every merged PR

2016-06-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16076 greensunn...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: Optimizations and performance

2016-06-08 Thread Seb via Digitalmars-d
On Wednesday, 8 June 2016 at 22:32:49 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 8 June 2016 at 22:19:47 UTC, Bauss wrote: D definitely needs some optimizations, I mean look at its benchmarks compared to other languages: https://github.com/kostya/benchmarks I believe the first step

[Issue 16142] New: Adding a dtor / postblit (even disabled) forces opAssign

2016-06-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16142 Issue ID: 16142 Summary: Adding a dtor / postblit (even disabled) forces opAssign Product: D Version: D2 Hardware: All OS: All Status: NEW

Re: Asio Bindings?

2016-06-08 Thread Andrej Mitrovic via Digitalmars-d-learn
I do have (Steinberg) ASIO binding in D. The problem is I couldn't release the bindings. I've asked Steinberg if it was OK to release D bindings and they were strongly against it unfortunately (and this was over 3 years ago..). Any kind of direct use of ASIO requires their approval first..

Re: Optimizations and performance

2016-06-08 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 8 June 2016 at 22:19:47 UTC, Bauss wrote: D definitely needs some optimizations, I mean look at its benchmarks compared to other languages: https://github.com/kostya/benchmarks I believe the first step towards better performance would be identifying the specific areas that are

Optimizations and performance

2016-06-08 Thread Bauss via Digitalmars-d
D definitely needs some optimizations, I mean look at its benchmarks compared to other languages: https://github.com/kostya/benchmarks I believe the first step towards better performance would be identifying the specific areas that are slow. I definitely believe D could do much better than

Re: The Problem With DIPs

2016-06-08 Thread Walter Bright via Digitalmars-d
On 6/8/2016 1:47 PM, Dicebot wrote: I will finish description for proposed process this weekend and send it to dmd-internal mail list. Cool!

[Issue 14136] std.uni.utfMatcher breaks @safety

2016-06-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14136 David Nadlinger changed: What|Removed |Added Status|RESOLVED|REOPENED

Re: The Problem With DIPs

2016-06-08 Thread Pie? via Digitalmars-d
On Wednesday, 8 June 2016 at 21:15:20 UTC, deadalnix wrote: On Wednesday, 8 June 2016 at 19:59:27 UTC, Walter Bright wrote: On 6/7/2016 1:32 PM, Jack Stouffer wrote: a lousy 28% of DIPs are either definitively closed or accepted. I understand that is frustrating. It happens to mine as well,

Re: Beta release DUB 1.0.0-beta.1

2016-06-08 Thread Nordlöw via Digitalmars-d-announce
On Tuesday, 7 June 2016 at 09:54:19 UTC, Sönke Ludwig wrote: DUB 1.0.0 is nearing completion. The new feature over 0.9.25 is... Great work! I've spread the news to all my hackish friends.

Re: template with enum arg ?

2016-06-08 Thread Ali Çehreli via Digitalmars-d-learn
On 06/08/2016 10:02 AM, chmike wrote: In a first implementation I defined a named enum in my class which I could use with my template function foo. final class Info { ... enum Value { info_1 = 1, ... } ... static bar(Value e) {...} } void foo(T)(T.Value e) { T.bar(e); }

Re: 10 lesser known languages, but no dlang?

2016-06-08 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 8 June 2016 at 15:52:49 UTC, Wyatt wrote: On Wednesday, 8 June 2016 at 10:08:11 UTC, Ola Fosheim Grøstad wrote: http://programmingzen.com/2016/06/07/10-lesser-known-programming-languages-worth-exploring/ Maybe someone feel the inspiration to add a thoughtful comment in the

Re: The Problem With DIPs

2016-06-08 Thread deadalnix via Digitalmars-d
On Wednesday, 8 June 2016 at 19:59:27 UTC, Walter Bright wrote: On 6/7/2016 1:32 PM, Jack Stouffer wrote: a lousy 28% of DIPs are either definitively closed or accepted. I understand that is frustrating. It happens to mine as well, though I am less bothered by it. It's a question of

Re: Beta D 2.071.1-b2

2016-06-08 Thread Jack Stouffer via Digitalmars-d-announce
On Sunday, 29 May 2016 at 21:53:23 UTC, Martin Nowak wrote: Second beta for the 2.071.1 release. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.071.1.html Please report any bugs at https://issues.dlang.org -Martin 2.072 is getting rather long in the tooth:

chainable scopes

2016-06-08 Thread ArturG via Digitalmars-d
this is a library implementation based on the with expression[1] idea i posted a while ago and is kinda related to the ?. operator. as we cant fully implement the above idea as a library i tried to do what's possible which are basically chainable scopes[2]. implemented as 2 templates:

[Issue 16141] New: Organizations page unreachable

2016-06-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16141 Issue ID: 16141 Summary: Organizations page unreachable Product: D Version: D2 Hardware: All URL: http://dlang.org/ OS: All Status: NEW

Re: The Problem With DIPs

2016-06-08 Thread Dicebot via Digitalmars-d
On Wednesday, 8 June 2016 at 20:44:10 UTC, Walter Bright wrote: I agree we should do better, I certainly welcome any efforts you're willing to devote to this. Most of the huge improvements in process in D have come about precisely because someone selected himself to take charge of the matter

Re: The Problem With DIPs

2016-06-08 Thread Walter Bright via Digitalmars-d
On 6/8/2016 1:37 PM, Pie? wrote: How about everyone stop working on "new features" and try to make D solid? This does get repeatedly proposed, usually along with "just add this one more feature" :-( There aren't any easy answers.

Re: The Problem With DIPs

2016-06-08 Thread Walter Bright via Digitalmars-d
On 6/8/2016 1:22 PM, Dicebot wrote: I believe it is big mistake to treat DIPs as a creative idea database. Most importantly because it diminishes motivation to put real effort into working on the DIP as opposed to just quickly throwing something on the table and moving on. Sure, those are useful

Re: Beta release DUB 1.0.0-beta.1

2016-06-08 Thread Rory McGuire via Digitalmars-d-announce
I made a little parser, it doesn't handle nested + comments (just needs a depth check). https://github.com/dlang/dub/pull/871 On Wed, Jun 8, 2016 at 9:44 PM, Rory McGuire wrote: > regex version pull request: > https://github.com/dlang/dub/pull/869 > > On Wed, Jun 8, 2016 at

Re: The Problem With DIPs

2016-06-08 Thread Pie? via Digitalmars-d
On Wednesday, 8 June 2016 at 19:59:27 UTC, Walter Bright wrote: On 6/7/2016 1:32 PM, Jack Stouffer wrote: a lousy 28% of DIPs are either definitively closed or accepted. There are currently 34 issues on it, where we implemented a feature and inadvertently broke something. There are constant

Re: The Problem With DIPs

2016-06-08 Thread Dicebot via Digitalmars-d
I believe it is big mistake to treat DIPs as a creative idea database. Most importantly because it diminishes motivation to put real effort into working on the DIP as opposed to just quickly throwing something on the table and moving on. Sure, those are useful for that purpose too, but focusing on

[Issue 13567] Attribute inference for private functions

2016-06-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13567 Daniel Nielsen changed: What|Removed |Added See Also|

[Issue 16138] Attributes of private functions should be inferred

2016-06-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16138 Daniel Nielsen changed: What|Removed |Added CC||gox...@gmail.com

Re: Recursive SymbolNames solved.

2016-06-08 Thread FlatBareRunner via Digitalmars-d-announce
On Wednesday, 8 June 2016 at 19:41:49 UTC, deadalnix wrote: On Wednesday, 8 June 2016 at 13:28:19 UTC, Stefan Koch wrote: Hi, I solved the issue. PR is coming shortly. Dude come on, that isn't an announce. There is No PR, there is no description of the solution, there is nothing. Hey guys,

Re: Recursive SymbolNames solved.

2016-06-08 Thread FlatBareRunner via Digitalmars-d-announce
On Wednesday, 8 June 2016 at 18:02:41 UTC, Jerry wrote: On Wednesday, 8 June 2016 at 13:28:19 UTC, Stefan Koch wrote: Hi, I solved the issue. PR is coming shortly. How was they getting recursive? Think to the fibo templatized example, it generates a very long mangle with basically always

Re: The Problem With DIPs

2016-06-08 Thread Walter Bright via Digitalmars-d
On 6/7/2016 1:32 PM, Jack Stouffer wrote: a lousy 28% of DIPs are either definitively closed or accepted. I understand that is frustrating. It happens to mine as well, though I am less bothered by it. It's a question of framing. Consider the regression list:

Re: Beta release DUB 1.0.0-beta.1

2016-06-08 Thread Rory McGuire via Digitalmars-d-announce
regex version pull request: https://github.com/dlang/dub/pull/869 On Wed, Jun 8, 2016 at 8:50 PM, Rory McGuire wrote: > On Wed, Jun 8, 2016 at 11:15 AM, Sönke Ludwig > wrote: >> Am 08.06.2016 um 08:59 schrieb Jacob Carlborg: >>> >>> On

Re: Beta release DUB 1.0.0-beta.1

2016-06-08 Thread Rory McGuire via Digitalmars-d-announce
On Wed, Jun 8, 2016 at 11:15 AM, Sönke Ludwig wrote: > Am 08.06.2016 um 08:59 schrieb Jacob Carlborg: >> >> On 2016-06-07 20:42, Sönke Ludwig wrote: >> >>> No, it has to be the "+" variant (the first /+ +/ comment is evaluated). >> >> >> That's unfortunate. >

Re: Beta release DUB 1.0.0-beta.1

2016-06-08 Thread Sönke Ludwig via Digitalmars-d-announce
Am 08.06.2016 um 16:58 schrieb Steven Schveighoffer: I agree with Jacob. A comment is a comment. Well, there are normal comments, doc comments and now DUB recipe comments. But at least if doc comments serve as an analogy, those are possible with all three comment styles, so that could be

Re: dlang.org using apache?

2016-06-08 Thread Ola Fosheim Grøstad via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 18:15:22 UTC, Seb wrote: - good nosql interface what's wrong with vibed's mongodb? Probably nothing for those who use it. I only use: https://cloud.google.com/datastore/ https://cloud.google.com/storage/ https://cloud.google.com/sql/ Amazon and Microsoft have

Re: dlang.org using apache?

2016-06-08 Thread Seb via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 17:59:29 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 8 June 2016 at 17:43:23 UTC, dewitt wrote: vibes website doesn't use a proxy. Yes, but more people visit dlang.org, and it makes it more official if it is showcased here as a visible part of the website (one

Re: Passing private functions to template algorithms

2016-06-08 Thread deadalnix via Digitalmars-d
On Wednesday, 8 June 2016 at 05:51:38 UTC, Stefan Koch wrote: If I had a specific case in mind I would have provided it. Then is is FUD.

Re: dlang.org using apache?

2016-06-08 Thread Ola Fosheim Grøstad via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 17:50:11 UTC, Seb wrote: I agree that a showcase website for vibed (or another D web framework) would be beneficial, but a real showcase has totally different specs: - > 1 million visitors per day - highly dynamic content (high-throughput databases) - solved

Re: Recursive SymbolNames solved.

2016-06-08 Thread Jerry via Digitalmars-d-announce
On Wednesday, 8 June 2016 at 13:28:19 UTC, Stefan Koch wrote: Hi, I solved the issue. PR is coming shortly. How was they getting recursive?

Re: dlang.org using apache?

2016-06-08 Thread Ola Fosheim Grøstad via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 17:43:23 UTC, dewitt wrote: vibes website doesn't use a proxy. Yes, but more people visit dlang.org, and it makes it more official if it is showcased here as a visible part of the website (one way or another). But if D wants to compete in web then there are

Re: dlang.org using apache?

2016-06-08 Thread Jonathan Marler via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 17:43:03 UTC, Seb wrote: On Wednesday, 8 June 2016 at 17:05:42 UTC, Jonathan Marler wrote: On Wednesday, 8 June 2016 at 15:51:58 UTC, Adam D. Ruppe wrote: On Wednesday, 8 June 2016 at 15:05:54 UTC, Ola Fosheim Grøstad wrote: The forum-index http header report:

Re: dlang.org using apache?

2016-06-08 Thread Seb via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 17:34:25 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 8 June 2016 at 17:17:37 UTC, Adam D. Ruppe wrote: bother with a proper setup. There's a reason ALL the other major languages and frameworks use Apache/nginx/IIS on their websites. It's the recommended way to do

Re: About GC: The Future of Rust : GC integration

2016-06-08 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 8 June 2016 at 15:24:45 UTC, Johan Engelen wrote: On Wednesday, 8 June 2016 at 06:19:08 UTC, Ola Fosheim Grøstad wrote: Yes, Inkscape uses the boehm collector, which is the same kind of collector D uses. Inkscape feels sluggish. Wow, I did not expect to see "Inkscape" pop up

Re: dlang.org using apache?

2016-06-08 Thread dewitt via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 17:34:25 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 8 June 2016 at 17:17:37 UTC, Adam D. Ruppe wrote: bother with a proper setup. There's a reason ALL the other major languages and frameworks use Apache/nginx/IIS on their websites. It's the recommended way to do

Re: dlang.org using apache?

2016-06-08 Thread Seb via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 17:05:42 UTC, Jonathan Marler wrote: On Wednesday, 8 June 2016 at 15:51:58 UTC, Adam D. Ruppe wrote: On Wednesday, 8 June 2016 at 15:05:54 UTC, Ola Fosheim Grøstad wrote: The forum-index http header report: Server:nginx/1.4.6 (Ubuntu) People check out stuff like

Re: dlang.org using apache?

2016-06-08 Thread Ola Fosheim Grøstad via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 17:25:32 UTC, Brad Anderson wrote: On Wednesday, 8 June 2016 at 14:41:55 UTC, Ola Fosheim Grøstad wrote: [snip] I like the "are we fast yet" websites that various project put up, displaying improvements over time. You mean like this?

Re: dlang.org using apache?

2016-06-08 Thread Ola Fosheim Grøstad via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 17:17:37 UTC, Adam D. Ruppe wrote: bother with a proper setup. There's a reason ALL the other major languages and frameworks use Apache/nginx/IIS on their websites. It's the recommended way to do it. Sure, you can have vibe.d behind nginx, if you want to, but it

Re: dlang.org using apache?

2016-06-08 Thread Brad Anderson via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 14:41:55 UTC, Ola Fosheim Grøstad wrote: [snip] I like the "are we fast yet" websites that various project put up, displaying improvements over time. You mean like this? http://digger.k3.1azy.net/trend/

Re: dlang.org using apache?

2016-06-08 Thread Ola Fosheim Grøstad via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 16:58:42 UTC, Mike Parker wrote: At any rate, we *are* using our own tech in several places. And I think Seb has shown that in practice, it probably isn't that big a deal that the entire website isn't served by a D project. If you want to convince me, as a backend

Re: dlang.org using apache?

2016-06-08 Thread dewitt via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 17:05:42 UTC, Jonathan Marler wrote: On Wednesday, 8 June 2016 at 15:51:58 UTC, Adam D. Ruppe wrote: On Wednesday, 8 June 2016 at 15:05:54 UTC, Ola Fosheim Grøstad wrote: The forum-index http header report: Server:nginx/1.4.6 (Ubuntu) People check out stuff like

Re: GSlice - Re: [OT] About GC: The Future of Rust : GC integration

2016-06-08 Thread deadalnix via Digitalmars-d
On Wednesday, 8 June 2016 at 11:59:49 UTC, Nick Treleaven wrote: On Wednesday, 8 June 2016 at 03:50:26 UTC, deadalnix wrote: (a fast malloc already needs to be able to find the allocation metadata from free's argument effisciently, BTW GLib (GTK+) have a GSlice API that doesn't allow resizing

Re: About GC: The Future of Rust : GC integration

2016-06-08 Thread ketmar via Digitalmars-d
On Wednesday, 8 June 2016 at 17:13:38 UTC, deadalnix wrote: On Wednesday, 8 June 2016 at 12:04:34 UTC, ketmar wrote: On Wednesday, 8 June 2016 at 06:19:08 UTC, Ola Fosheim Grøstad wrote: I've yet to see a large desktop app relying on GC that does not feel sluggish. i've yet to see a large

Re: dlang.org using apache?

2016-06-08 Thread Adam D. Ruppe via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 17:05:42 UTC, Jonathan Marler wrote: I can picture the article now: I can't. It is an industry-standard deployment with a commonly used configuration option - people change that all the time. PHP, for example, will modify it to output something like this:

Re: About GC: The Future of Rust : GC integration

2016-06-08 Thread deadalnix via Digitalmars-d
On Wednesday, 8 June 2016 at 12:04:34 UTC, ketmar wrote: On Wednesday, 8 June 2016 at 06:19:08 UTC, Ola Fosheim Grøstad wrote: I've yet to see a large desktop app relying on GC that does not feel sluggish. i've yet to see a large desktop app that does not feel sluggish. Most games.

Re: How to enable feedback for AssertError?

2016-06-08 Thread your_name via Digitalmars-d-learn
On Tuesday, 7 June 2016 at 04:21:34 UTC, Mike Parker wrote: On Tuesday, 7 June 2016 at 02:05:00 UTC, Seb wrote: On Tuesday, 7 June 2016 at 01:40:01 UTC, your_name wrote: The way I traced the problem, ironically ;), was to catch Error and print it to screen. It involved dereferencing a null

Re: dlang.org using apache?

2016-06-08 Thread Jonathan Marler via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 15:51:58 UTC, Adam D. Ruppe wrote: On Wednesday, 8 June 2016 at 15:05:54 UTC, Ola Fosheim Grøstad wrote: The forum-index http header report: Server:nginx/1.4.6 (Ubuntu) People check out stuff like that. Yeah, and that's an industry-standard production

Re: dlang.org using apache?

2016-06-08 Thread ketmar via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 16:58:31 UTC, Ola Fosheim Grøstad wrote: This is very basic marketing 101. engineers doesn't do marketing. engineers solving tasks.

template with enum arg ?

2016-06-08 Thread chmike via Digitalmars-d-learn
In a first implementation I defined a named enum in my class which I could use with my template function foo. final class Info { ... enum Value { info_1 = 1, ... } ... static bar(Value e) {...} } void foo(T)(T.Value e) { T.bar(e); } I could then write :

Re: dlang.org using apache?

2016-06-08 Thread Mike Parker via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 15:05:54 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 8 June 2016 at 14:45:58 UTC, Mike Parker wrote: What does that have to do with the website? The forum software is written in D and has a reputation for performance. This is simply a matter of it not popping up

Re: dlang.org using apache?

2016-06-08 Thread Ola Fosheim Grøstad via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 16:53:32 UTC, ketmar wrote: go write it! nope? why do you think that D devs should? they have other work to do, it would be *stupid* to not reuse existing tools. If I thought that D was good for the purpose, I would. I have not made such claims. I am pointing out

Re: dlang.org using apache?

2016-06-08 Thread Ola Fosheim Grøstad via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 16:44:00 UTC, ketmar wrote: On Wednesday, 8 June 2016 at 16:38:02 UTC, Ola Fosheim Grøstad wrote: They do of course use golang for their blog and make it available as a download. As they _should_. google. money. does that rings the bell? No. The go blog

Re: dlang.org using apache?

2016-06-08 Thread ketmar via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 16:49:46 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 8 June 2016 at 16:44:00 UTC, ketmar wrote: On Wednesday, 8 June 2016 at 16:38:02 UTC, Ola Fosheim Grøstad wrote: They do of course use golang for their blog and make it available as a download. As they

Re: The Official D Blog is Live

2016-06-08 Thread Seb via Digitalmars-d-announce
On Wednesday, 8 June 2016 at 16:44:35 UTC, Mike Parker wrote: On Wednesday, 8 June 2016 at 14:45:07 UTC, bachmeier wrote: Is it possible to announce the new This Week In D from the blog when it comes out? That sort of post doesn't really fit within the goals of the blog. I mean, TWID is put

Re: dlang.org using apache?

2016-06-08 Thread ketmar via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 16:40:37 UTC, Ola Fosheim Grøstad wrote: DFeed is a NNTP client, not a NNTP server. sure. why should it be an NNTP server? there is task to solve: provide web frontend to the existing NNTP server. that task was solved. there was no task "waste some time to

Re: dlang.org using apache?

2016-06-08 Thread Ola Fosheim Grøstad via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 16:36:50 UTC, ketmar wrote: On Wednesday, 8 June 2016 at 16:23:13 UTC, Ola Fosheim Grøstad wrote: Yes, no point in writing your own forum software. ah, sure, there was the reason to write DFeed! that's why forum.dlang.org is using engine written in D. DFeed is

Re: dlang.org using apache?

2016-06-08 Thread ketmar via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 16:38:02 UTC, Ola Fosheim Grøstad wrote: They do of course use golang for their blog and make it available as a download. As they _should_. google. money. does that rings the bell?

Re: dlang.org using apache?

2016-06-08 Thread Seb via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 13:32:00 UTC, Mike Parker wrote: On Wednesday, 8 June 2016 at 13:13:07 UTC, Jonathan Marler wrote: I've decided to write a web application using vibe and was shocked to see that dlang.org was using apache. Should I be scared that even after this long, the official

Re: Interest in Paris area D meetups?

2016-06-08 Thread Claude via Digitalmars-d
On Wednesday, 1 June 2016 at 20:33:40 UTC, Guillaume Chatelet wrote: On Wednesday, 1 June 2016 at 19:25:13 UTC, Claude wrote: On Wednesday, 18 May 2016 at 15:05:21 UTC, Guillaume Chatelet wrote: I got inspired by Steven's thread :) Anyone in Paris interested in D meetups? Sorry for the later

Re: The Official D Blog is Live

2016-06-08 Thread Mike Parker via Digitalmars-d-announce
On Wednesday, 8 June 2016 at 14:45:07 UTC, bachmeier wrote: Is it possible to announce the new This Week In D from the blog when it comes out? That sort of post doesn't really fit within the goals of the blog. I mean, TWID is put out every Sunday. That would mean I'd make a two or three line

Re: dlang.org using apache?

2016-06-08 Thread Ola Fosheim Grøstad via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 16:28:54 UTC, dewitt wrote: On Wednesday, 8 June 2016 at 15:18:27 UTC, ketmar wrote: On Wednesday, 8 June 2016 at 15:05:54 UTC, Ola Fosheim Grøstad wrote: People check out stuff like that. The forum backend also use a standard NNTP server, not implemented in D?

Re: Beta release DUB 1.0.0-beta.1

2016-06-08 Thread Jacob Carlborg via Digitalmars-d-announce
On 2016-06-08 16:58, Steven Schveighoffer wrote: I agree with Jacob. A comment is a comment. There is no reason one needs to use specifically /+. In fact the only reason for the existence of /+ is to allow nesting of comments -- which doesn't apply here. And basically the only reason why /+

Re: dlang.org using apache?

2016-06-08 Thread ketmar via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 16:23:13 UTC, Ola Fosheim Grøstad wrote: Yes, no point in writing your own forum software. ah, sure, there was the reason to write DFeed! that's why forum.dlang.org is using engine written in D.

Berlin D Meetup June 2016

2016-06-08 Thread Ben Palmer via Digitalmars-d-announce
Hi All, The June Berlin D Meetup will be happening at 20:00 (note new time) on Friday the 17th of June at Berlin Co-Op (http://co-up.de/) on the fifth floor. Danny Arends will be giving a more detailed version of his lightning talk he gave at the D conference on his web server, "DaNode".

[Issue 16140] New: while(auto x = y) does not behave like if(auto x = y)

2016-06-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16140 Issue ID: 16140 Summary: while(auto x = y) does not behave like if(auto x = y) Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW Severity:

Re: dlang.org using apache?

2016-06-08 Thread dewitt via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 15:18:27 UTC, ketmar wrote: On Wednesday, 8 June 2016 at 15:05:54 UTC, Ola Fosheim Grøstad wrote: People check out stuff like that. The forum backend also use a standard NNTP server, not implemented in D? That's ok too as there is no D forum software... it's even

Re: dlang.org using apache?

2016-06-08 Thread Ola Fosheim Grøstad via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 16:07:26 UTC, ketmar wrote: On Wednesday, 8 June 2016 at 15:57:42 UTC, Ola Fosheim Grøstad wrote: Huh? No, as long as D is not backed by some giant like Google or Apple it has to do its own marketing and showcase its own stuff where it can. the key words are

Re: dlang.org using apache?

2016-06-08 Thread ketmar via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 15:57:42 UTC, Ola Fosheim Grøstad wrote: Huh? No, as long as D is not backed by some giant like Google or Apple it has to do its own marketing and showcase its own stuff where it can. the key words are "where it can". rewriting already working tools (perfectly

Re: About GC: The Future of Rust : GC integration

2016-06-08 Thread Chris via Digitalmars-d
On Wednesday, 8 June 2016 at 15:24:45 UTC, Johan Engelen wrote: On Wednesday, 8 June 2016 at 06:19:08 UTC, Ola Fosheim Grøstad wrote: Yes, Inkscape uses the boehm collector, which is the same kind of collector D uses. Inkscape feels sluggish. Wow, I did not expect to see "Inkscape" pop up

Re: dlang.org using apache?

2016-06-08 Thread Ola Fosheim Grøstad via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 15:52:06 UTC, ketmar wrote: On Wednesday, 8 June 2016 at 15:40:48 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 8 June 2016 at 15:31:34 UTC, ketmar wrote: i'm trying to hint that there is no reason to reimplement *everything* in D. bad engineers reinvent, good

Re: 10 lesser known languages, but no dlang?

2016-06-08 Thread ketmar via Digitalmars-d
On Wednesday, 8 June 2016 at 15:52:49 UTC, Wyatt wrote: And basically _no one_ knows about J... i know! i even know about CLU!

Re: dlang.org using apache?

2016-06-08 Thread ketmar via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 15:40:48 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 8 June 2016 at 15:31:34 UTC, ketmar wrote: i'm trying to hint that there is no reason to reimplement *everything* in D. bad engineers reinvent, good engineers reuse! This is about marketing, not engineering.

Re: dlang.org using apache?

2016-06-08 Thread Adam D. Ruppe via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 15:05:54 UTC, Ola Fosheim Grøstad wrote: The forum-index http header report: Server:nginx/1.4.6 (Ubuntu) People check out stuff like that. Yeah, and that's an industry-standard production deployment. But perhaps we should just change the server line for the

Re: 10 lesser known languages, but no dlang?

2016-06-08 Thread Wyatt via Digitalmars-d
On Wednesday, 8 June 2016 at 10:08:11 UTC, Ola Fosheim Grøstad wrote: http://programmingzen.com/2016/06/07/10-lesser-known-programming-languages-worth-exploring/ Maybe someone feel the inspiration to add a thoughtful comment in the comment-section on the article with a pointer to dlang.org?

[Issue 16131] A struct is being copied unnecessarily when initialized

2016-06-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16131 --- Comment #6 from Sobirari Muhomori --- Try this: struct Foo { int x; Fiber fib; @disable this(this); void create(int x) { this.x = x; fib = new Fiber(); } void run() {

Re: dlang.org using apache?

2016-06-08 Thread Ola Fosheim Grøstad via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 15:31:34 UTC, ketmar wrote: i'm trying to hint that there is no reason to reimplement *everything* in D. bad engineers reinvent, good engineers reuse! This is about marketing, not engineering. Walter is arguing that vibe.d should be distributed with the compiler.

Re: Web page listing all D compilers (and DMDFE version!) on travis-ci

2016-06-08 Thread Nick Sabalausky via Digitalmars-d-announce
On 06/07/2016 12:05 PM, FreeSlave wrote: On Tuesday, 26 April 2016 at 06:42:11 UTC, Nick Sabalausky wrote: https://semitwist.com/travis-d-compilers That's an auto-generated listing of all versions of DMD, GDC and LDC available on travis-ci. [...] Looks like semitwist.com is down. Oops.

Re: dlang.org using apache?

2016-06-08 Thread ketmar via Digitalmars-d-learn
On Wednesday, 8 June 2016 at 15:23:58 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 8 June 2016 at 15:18:27 UTC, ketmar wrote: On Wednesday, 8 June 2016 at 15:05:54 UTC, Ola Fosheim Grøstad wrote: People check out stuff like that. The forum backend also use a standard NNTP server, not

Re: LDC+Dub+Vibe.d work on SmartOS 64bit now

2016-06-08 Thread Johan Engelen via Digitalmars-d-announce
On Wednesday, 8 June 2016 at 10:06:00 UTC, Oleg Nykytenko wrote: On Wednesday, 8 June 2016 at 08:43:59 UTC, Joakim wrote: Have you run the standard library's tests? There was a thread last summer about this: http://forum.dlang.org/thread/zhcduibirwprgbzqk...@forum.dlang.org We haven't run

Re: Nested comments

2016-06-08 Thread ketmar via Digitalmars-d-announce
On Wednesday, 8 June 2016 at 15:21:08 UTC, John Colvin wrote: On Wednesday, 8 June 2016 at 15:04:28 UTC, Kagamin wrote: BTW do people find nested comments particularly useful? Yes for: A) commenting out a block of code without having to care about syntactic correctness (otherwise

  1   2   >