Re: Dconf 2014 Day 2 Talk 5: Tooling: Bringing Developers and Development Together by Brad Roberts

2014-07-12 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 7/11/14, 2:14 PM, Jacob Carlborg wrote: On 2014-07-10 20:27, Andrei Alexandrescu wrote: https://twitter.com/D_Programming/status/487301149645873152 https://www.facebook.com/dlang.org/posts/882371471776535 https://news.ycombinator.com/newest

Re: Dconf 2014 Day 2 Talk 5: Tooling: Bringing Developers and Development Together by Brad Roberts

2014-07-12 Thread John Colvin via Digitalmars-d-announce
On Saturday, 12 July 2014 at 08:54:29 UTC, Andrei Alexandrescu wrote: On 7/11/14, 2:14 PM, Jacob Carlborg wrote: On 2014-07-10 20:27, Andrei Alexandrescu wrote: https://twitter.com/D_Programming/status/487301149645873152 https://www.facebook.com/dlang.org/posts/882371471776535

Dakka: Actors for D

2014-07-12 Thread Rikki Cattermole via Digitalmars-d-announce
Alright so, I've just finished Dakka's[0] exception support. Functionality supported: Local actor references Remote node connections, using given ip/port Remote actor calling On start/stop/error support Capabilities per node (can this node do x? if not which can do to create a reference?)

Re: DMD v2.066.0-b3

2014-07-12 Thread AfroboyX via Digitalmars-d-announce
On Saturday, 12 July 2014 at 00:13:47 UTC, David Nadlinger wrote: For convenience, the list of unresolved issues marked as regressions: https://issues.dlang.org/buglist.cgi?bug_severity=regressionresolution=--- Seems like there is still quite a way to go until we can release RC1. David

Re: Dconf 2014 Day 2 Talk 5: Tooling: Bringing Developers and Development Together by Brad Roberts

2014-07-12 Thread Jacob Carlborg via Digitalmars-d-announce
On 2014-07-12 10:54, Andrei Alexandrescu wrote: archive.org preserves the original format and resolution and isn't fussy about file size. -- Andrei I'm not sure what problems you're having but youtube supports resolutions up to 4k and there are many files on youtube that are larger than the

Re: DMD v2.066.0-b3

2014-07-12 Thread Jacob Carlborg via Digitalmars-d-announce
On 2014-07-12 15:21, AfroboyX wrote: There is 1027 issues here... We can't even clear a list of 10 issues, what makes you think we can clear this list before the next release? The last three dashes of the URL is part of the link as well but is apparently not recognized as part of the link.

Re: Dconf 2014 Day 2 Talk 5: Tooling: Bringing Developers and Development Together by Brad Roberts

2014-07-12 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 7/12/14, 7:09 AM, Jacob Carlborg wrote: On 2014-07-12 10:54, Andrei Alexandrescu wrote: archive.org preserves the original format and resolution and isn't fussy about file size. -- Andrei I'm not sure what problems you're having but youtube supports resolutions up to 4k and there are many

Re: Dconf 2014 Day 2 Talk 5: Tooling: Bringing Developers and Development Together by Brad Roberts

2014-07-12 Thread John Colvin via Digitalmars-d-announce
On Saturday, 12 July 2014 at 20:33:24 UTC, Andrei Alexandrescu wrote: On 7/12/14, 7:09 AM, Jacob Carlborg wrote: On 2014-07-12 10:54, Andrei Alexandrescu wrote: archive.org preserves the original format and resolution and isn't fussy about file size. -- Andrei I'm not sure what problems

Re: DMD v2.066.0-b3

2014-07-12 Thread Andrew Edwards via Digitalmars-d-announce
On Saturday, 12 July 2014 at 00:13:47 UTC, David Nadlinger wrote: For convenience, the list of unresolved issues marked as regressions: https://issues.dlang.org/buglist.cgi?bug_severity=regressionresolution=--- Seems like there is still quite a way to go until we can release RC1. David

Re: DMD v2.066.0-b3

2014-07-12 Thread Brad Roberts via Digitalmars-d-announce
On 7/12/14, 4:31 PM, Andrew Edwards via Digitalmars-d-announce wrote: On Saturday, 12 July 2014 at 00:13:47 UTC, David Nadlinger wrote: For convenience, the list of unresolved issues marked as regressions: https://issues.dlang.org/buglist.cgi?bug_severity=regressionresolution=--- Seems like

Re: Using D

2014-07-12 Thread Ali Çehreli via Digitalmars-d
On 07/11/2014 09:53 AM, simendsjo wrote: On 07/11/2014 06:28 PM, Russel Winder via Digitalmars-d wrote: On Fri, 2014-07-11 at 17:43 +0200, simendsjo via Digitalmars-d wrote: […] A little anecdote.. I once got a 20% speed increase in Python by moving a variable instantiation outside a tight

Re: Using D

2014-07-12 Thread bearophile via Digitalmars-d
Ali Çehreli: Can that 'i = something' expression be monkey-patched in Python? If so, it could have side-effects to make the program change semantics like Russel Winder means. Right. And even PyPy isn't a compiler. Python is interpreted. And at best JITted. In most cases you use Cpython,

Re: Older versions of dmd

2014-07-12 Thread Jacob Carlborg via Digitalmars-d
On Friday, 11 July 2014 at 17:44:29 UTC, Frustrated wrote: So why isn't there a link to previous versions of dmd? I have a regression I need to test out but can't find 2.064! There's a perfect tool for that called DVM [1]. It's a cross-platform tool that allows you to install any version of

Re: Using D

2014-07-12 Thread Paolo Invernizzi via Digitalmars-d
On Friday, 11 July 2014 at 19:08:43 UTC, Nick Sabalausky wrote: Yea, that's one of the things that drew me to D. It came around saying (quite literally) pragmatic language design at exactly the time I was noticing how much of a pain ideology-driven and minimalist languages can be. +1000 ---

Re: API: string formatting / memory management

2014-07-12 Thread Johannes Pfau via Digitalmars-d
Am Fri, 11 Jul 2014 21:14:36 + schrieb Robert burner Schadek rburn...@gmail.com: On Friday, 11 July 2014 at 15:20:51 UTC, Johannes Pfau wrote: An logger can still receive the complete string by appending the chunks received in put but we might need some 'finish' function to signal

Re: Review: std.logger

2014-07-12 Thread Johannes Pfau via Digitalmars-d
Am Fri, 11 Jul 2014 21:26:25 + schrieb Robert burner Schadek rburn...@gmail.com: On Friday, 11 July 2014 at 18:02:58 UTC, Marc Schütz wrote: Some logging backends (e.g. systemd journal) support structured logging. Should support for this be included (as a subclass, presumably)?

Re: Using D

2014-07-12 Thread Russel Winder via Digitalmars-d
On Fri, 2014-07-11 at 20:25 +, Joakim via Digitalmars-d wrote: […] Name one general purpose language that currently crosses the native-scripting divide and has good usage on both ends of the market. It doesn't exist, because it's almost impossible to do. […] Go and D are really quite

Re: @nogc

2014-07-12 Thread Piotr Szturman via Digitalmars-d
W dniu 2014-07-11 05:18, Kapps pisze: On Friday, 11 July 2014 at 02:32:00 UTC, Manu via Digitalmars-d wrote: So, we allow assert() in nothrow functions, the argument is that assert is non-recoverable, so it's distinct from user exceptions. I have this in my 'nothrow @nogc' function:

Re: Using D

2014-07-12 Thread Russel Winder via Digitalmars-d
On Fri, 2014-07-11 at 18:53 +0200, simendsjo via Digitalmars-d wrote: […] Yes, I was very perplexed when I was profiling and finally found the main offender. Unfortunately I don't have the code - it was a project done for a past employer back in 2006/2007 (Python 2.4 IIRC). Ah. In which case

Re: Lexical, Syntatic and Semantic Merge of D Source Code

2014-07-12 Thread Joakim via Digitalmars-d
On Friday, 11 July 2014 at 13:58:53 UTC, Nordlöw wrote: Now that we have reasonable support for lexing and parsing D in D through Dscanner/libdparse/DCD I believe it would be worth the effort to try to implement D-specific merge algorithms that operate on either the - D token stream or - a D

Re: Using D

2014-07-12 Thread Russel Winder via Digitalmars-d
On Fri, 2014-07-11 at 16:54 +, Chris via Digitalmars-d wrote: […] I remember Java used to be th best thing ever. After years of using it, however, I found out how restricted the language was / is. Still, it's been a success, because people believed all the propaganda. What matters

Re: Using D

2014-07-12 Thread Russel Winder via Digitalmars-d
On Fri, 2014-07-11 at 10:40 -0700, H. S. Teoh via Digitalmars-d wrote: […] When I finally got past the hype and tried out the language for myself, I found the same thing you did: it's totally straitjacketed, and shoves the OO idealogy down your throat even when it obviously doesn't fit. The

Re: @nogc

2014-07-12 Thread via Digitalmars-d
On Saturday, 12 July 2014 at 09:44:16 UTC, Piotr Szturman wrote: W dniu 2014-07-11 05:18, Kapps pisze: On Friday, 11 July 2014 at 02:32:00 UTC, Manu via Digitalmars-d wrote: So, we allow assert() in nothrow functions, the argument is that assert is non-recoverable, so it's distinct from user

Re: Review: std.logger

2014-07-12 Thread Dicebot via Digitalmars-d
On Saturday, 12 July 2014 at 03:22:10 UTC, Jesse Phillips wrote: On Friday, 11 July 2014 at 14:39:09 UTC, David Nadlinger wrote: On Friday, 11 July 2014 at 14:36:34 UTC, Dicebot wrote: Round of a formal review before proceeding to voting. Subject for Phobos inclusion :

Re: Any interest in detailed GC traces

2014-07-12 Thread Kiith-Sa via Digitalmars-d
On Saturday, 12 July 2014 at 03:54:59 UTC, safety0ff wrote: I found this link on reddit: http://dave.cheney.net/2014/07/11/visualising-the-go-garbage-collector and I was wondering if there was interest in having D's GC output detailed trace information. I was thinking perhaps collecting data

Re: Review: std.logger

2014-07-12 Thread Johannes Pfau via Digitalmars-d
Am Fri, 11 Jul 2014 14:36:30 + schrieb Dicebot pub...@dicebot.lv: Round of a formal review before proceeding to voting. Subject for Phobos inclusion : http://wiki.dlang.org/Review/std.logger authored by Robert Schadek. Code:

import from Internet

2014-07-12 Thread Katayama Hirofumi MZ via Digitalmars-d
Could you support importing from Internet feature? I think that'll be very convenient. import http://example.com/MyLibrary.d;;

Re: import from Internet

2014-07-12 Thread Dicebot via Digitalmars-d
On Saturday, 12 July 2014 at 12:24:19 UTC, Katayama Hirofumi MZ wrote: Could you support importing from Internet feature? I think that'll be very convenient. import http://example.com/MyLibrary.d;; dub : code.dlang.org

Re: Using D

2014-07-12 Thread Iain Buclaw via Digitalmars-d
On 12 July 2014 11:27, Russel Winder via Digitalmars-d digitalmars-d@puremagic.com wrote: On Fri, 2014-07-11 at 16:54 +, Chris via Digitalmars-d wrote: […] I remember Java used to be th best thing ever. After years of using it, however, I found out how restricted the language was /

Re: import from Internet

2014-07-12 Thread Katayama Hirofumi MZ via Digitalmars-d
dub : code.dlang.org OK, I'll move to there.

Re: Review: std.logger

2014-07-12 Thread Robert burner Schadek via Digitalmars-d
On Saturday, 12 July 2014 at 09:19:47 UTC, Johannes Pfau wrote: I think we can provide structured logging support as a non-breaking API extension, so we should not make this part of this review. But here's how I'd imagine such an API to work: I look at the journald spec and LoggerPayload

Re: import from Internet

2014-07-12 Thread Dicebot via Digitalmars-d
On Saturday, 12 July 2014 at 13:10:09 UTC, Katayama Hirofumi MZ wrote: https://github.com/D-Programming-Language/dub/issues/373 What I have meant is that importing from internet functionality is currently provided by dub packages and does not belong to compiler. URL imports in your proposed

Re: import from Internet

2014-07-12 Thread Katayama Hirofumi MZ via Digitalmars-d
https://github.com/D-Programming-Language/dub/issues/373

Re: Review: std.logger

2014-07-12 Thread Robert burner Schadek via Digitalmars-d
On Saturday, 12 July 2014 at 12:19:03 UTC, Johannes Pfau wrote: Am Fri, 11 Jul 2014 14:36:30 + schrieb Dicebot pub...@dicebot.lv: Round of a formal review before proceeding to voting. Subject for Phobos inclusion : http://wiki.dlang.org/Review/std.logger authored by Robert Schadek.

Re: Any interest in detailed GC traces

2014-07-12 Thread safety0ff via Digitalmars-d
On Saturday, 12 July 2014 at 11:06:10 UTC, Kiith-Sa wrote: Would definitely like this. I even think something like this should be built in. Sadly, I think this feature would require recompiling druntime because of overhead. (now if possible, it'd also be good to have a way to get

Re: import from Internet

2014-07-12 Thread Russel Winder via Digitalmars-d
On Sat, 2014-07-12 at 13:13 +, Dicebot via Digitalmars-d wrote: On Saturday, 12 July 2014 at 13:10:09 UTC, Katayama Hirofumi MZ wrote: https://github.com/D-Programming-Language/dub/issues/373 What I have meant is that importing from internet functionality is currently provided by dub

Re: import from Internet

2014-07-12 Thread Paulo Pinto via Digitalmars-d
Am 12.07.2014 15:47, schrieb Russel Winder via Digitalmars-d: On Sat, 2014-07-12 at 13:13 +, Dicebot via Digitalmars-d wrote: On Saturday, 12 July 2014 at 13:10:09 UTC, Katayama Hirofumi MZ wrote: https://github.com/D-Programming-Language/dub/issues/373 What I have meant is that

Re: Using D

2014-07-12 Thread Paulo Pinto via Digitalmars-d
Am 12.07.2014 14:54, schrieb Iain Buclaw via Digitalmars-d: On 12 July 2014 11:27, Russel Winder via Digitalmars-d digitalmars-d@puremagic.com wrote: On Fri, 2014-07-11 at 16:54 +, Chris via Digitalmars-d wrote: […] I remember Java used to be th best thing ever. After years of using

Re: Go vs. D vs Java 8

2014-07-12 Thread Russel Winder via Digitalmars-d
On Thu, 2014-07-10 at 11:29 -0700, H. S. Teoh via Digitalmars-d wrote: On Thu, Jul 10, 2014 at 07:17:39PM +0100, Russel Winder via Digitalmars-d wrote: On Mon, 2014-07-07 at 15:47 +, Meta via Digitalmars-d wrote: On Monday, 7 July 2014 at 15:33:06 UTC, bearophile wrote: If you

Re: Review: std.logger

2014-07-12 Thread Johannes Pfau via Digitalmars-d
Am Sat, 12 Jul 2014 13:09:37 + schrieb Robert burner Schadek rburn...@gmail.com: On Saturday, 12 July 2014 at 09:19:47 UTC, Johannes Pfau wrote: I think we can provide structured logging support as a non-breaking API extension, so we should not make this part of this review. But

Re: Review: std.logger

2014-07-12 Thread Johannes Pfau via Digitalmars-d
Am Sat, 12 Jul 2014 13:18:29 + schrieb Robert burner Schadek rburn...@gmail.com: * Can the logger be influenced by command line flags / environment variables? I guess not, but if it can it should be documented. I thought not writing about it makes it clear that you can not. Yes,

Re: import from Internet

2014-07-12 Thread Dicebot via Digitalmars-d
I agree. Go approach my seem tempting in its simplicity but it scales terribly. It is one of less wise decisions made by Go authors.

Re: Using D

2014-07-12 Thread Russel Winder via Digitalmars-d
On Sat, 2014-07-12 at 13:54 +0100, Iain Buclaw via Digitalmars-d wrote: […] Or a better Oberon, I haven't quite decided which yet... :) Whatever the reality initially, it is definitely now marketed as a modernized C. Echoes of C++ then. If there were more D users in the London area than one

Re: Any interest in detailed GC traces

2014-07-12 Thread Rainer Schuetze via Digitalmars-d
On 12.07.2014 05:54, safety0ff wrote: I found this link on reddit: http://dave.cheney.net/2014/07/11/visualising-the-go-garbage-collector and I was wondering if there was interest in having D's GC output detailed trace information. I was thinking perhaps collecting data and then writing it as

Re: import from Internet

2014-07-12 Thread Russel Winder via Digitalmars-d
On Sat, 2014-07-12 at 15:52 +0200, Paulo Pinto via Digitalmars-d wrote: […] Except when: - one needs proper versions Clearly just using DVCS repositories is a versioning problem, though the Go system does not automatically update clones so you are in total control of updating. Recognizing the

Re: Using D

2014-07-12 Thread Iain Buclaw via Digitalmars-d
On 12 July 2014 15:11, Russel Winder via Digitalmars-d digitalmars-d@puremagic.com wrote: On Sat, 2014-07-12 at 13:54 +0100, Iain Buclaw via Digitalmars-d wrote: […] Or a better Oberon, I haven't quite decided which yet... :) Whatever the reality initially, it is definitely now marketed as a

Re: Go vs. D vs Java 8

2014-07-12 Thread H. S. Teoh via Digitalmars-d
On Sat, Jul 12, 2014 at 03:01:19PM +0100, Russel Winder via Digitalmars-d wrote: On Thu, 2014-07-10 at 11:29 -0700, H. S. Teoh via Digitalmars-d wrote: [...] That was zen; this is tao. :P Very Sifu Anthony Korahais [...]

Re: import from Internet

2014-07-12 Thread Russel Winder via Digitalmars-d
On Sat, 2014-07-12 at 14:07 +, Dicebot via Digitalmars-d wrote: I agree. Go approach my seem tempting in its simplicity but it scales terribly. It is one of less wise decisions made by Go authors. The decision wasn't made by the Go authors, it was proposed and initially implemented by

Re: Brighton [was Using D]

2014-07-12 Thread Russel Winder via Digitalmars-d
On Sat, 2014-07-12 at 15:37 +0100, Iain Buclaw via Digitalmars-d wrote: […] I live literally 400 yards away from the burnt down west pier. Its a beautiful sight in the morning, come sun, rain, or fog. I hear they are building a 100 metre high elevator-to-nowhere in its place. Sad times...

Re: Brighton [was Using D]

2014-07-12 Thread Iain Buclaw via Digitalmars-d
On 12 July 2014 15:53, Russel Winder via Digitalmars-d digitalmars-d@puremagic.com wrote: On Sat, 2014-07-12 at 15:37 +0100, Iain Buclaw via Digitalmars-d wrote: […] I live literally 400 yards away from the burnt down west pier. Its a beautiful sight in the morning, come sun, rain, or fog. I

The constness problem

2014-07-12 Thread Peter Alexander via Digitalmars-d
http://pointersgonewild.wordpress.com/2014/07/11/the-constness-problem/ I can relate to this. I don't use classes much in D, but I find it frustrating that you need to reach to std.typecons.Rebindable for what I would consider to be a more common usage of const with classes. I really feel

Re: Go vs. D vs Java 8

2014-07-12 Thread Russel Winder via Digitalmars-d
On Sat, 2014-07-12 at 07:37 -0700, H. S. Teoh via Digitalmars-d wrote: On Sat, Jul 12, 2014 at 03:01:19PM +0100, Russel Winder via Digitalmars-d wrote: On Thu, 2014-07-10 at 11:29 -0700, H. S. Teoh via Digitalmars-d wrote: [...] That was zen; this is tao. :P Very Sifu Anthony

Re: Thread Attributes

2014-07-12 Thread Jonathan Marler via Digitalmars-d
On Friday, 11 July 2014 at 18:56:07 UTC, Timon Gehr wrote: On 07/10/2014 08:12 PM, Jonathan Marler wrote: So what do people think? How do you make sure there is at most one thread of each kind? Good question. First, since the language doesn't support starting threads itself (like Go) but

Re: import from Internet

2014-07-12 Thread Dicebot via Digitalmars-d
On Saturday, 12 July 2014 at 14:43:13 UTC, Russel Winder via Digitalmars-d wrote: The decision wasn't made by the Go authors, it was proposed and initially implemented by users, then incorporated into Go by the official high priests. As to whether it is wise, that is must be left to opinion and

Re: Go vs. D vs Java 8

2014-07-12 Thread Israel Rodriguez via Digitalmars-d
On Monday, 7 July 2014 at 15:33:06 UTC, bearophile wrote: Nordlöw: Done. But that author doesn't switch to dmd 2.066beta1 :-) From the blog post: However, the language itself feels a bit old and a bit too much like C++. That's not strange considering its age, but you can’t help thinking

Re: Go vs. D vs Java 8

2014-07-12 Thread Timon Gehr via Digitalmars-d
On 07/12/2014 05:56 PM, Israel Rodriguez wrote: On Monday, 7 July 2014 at 15:33:06 UTC, bearophile wrote: From the blog post: However, the language itself feels a bit old and a bit too much like C++. That's not strange considering its age, but you can’t help thinking that time has left D a

Re: Review: std.logger

2014-07-12 Thread Sönke Ludwig via Digitalmars-d
Overall looks good to me. Some points that haven't been mentioned so far in this review round: - Using a class with static members doesn't seem to be very idiomatic. It seems like the three member properties can simply be made global and everything should be fine - the LogManager. prefix

Re: Go vs. D vs Java 8

2014-07-12 Thread Israel Rodriguez via Digitalmars-d
On Saturday, 12 July 2014 at 16:11:46 UTC, Timon Gehr wrote: On 07/12/2014 05:56 PM, Israel Rodriguez wrote: On Monday, 7 July 2014 at 15:33:06 UTC, bearophile wrote: From the blog post: However, the language itself feels a bit old and a bit too much like C++. That's not strange considering

Re: Dub feature [was import from Internet]

2014-07-12 Thread Russel Winder via Digitalmars-d
On Sat, 2014-07-12 at 15:41 +, Dicebot via Digitalmars-d wrote: […] verify contributions, version control. Regarding latter I find it quite telling that dub has recently banned usage of ~master as dependency version and only allows explicit tags/releases - good hygienic decision for

Re: import from Internet

2014-07-12 Thread Russel Winder via Digitalmars-d
On Sat, 2014-07-12 at 15:41 +, Dicebot via Digitalmars-d wrote: […] Sorry but I am tired of endless appeal to history / usage - by this logic Java and PHP are very good languages full of wisdom. And if someone thinks so we will have a hard time agreeing about anything. Why are you

Re: For the adventurous: News from the LDC/Linux front

2014-07-12 Thread Joseph Rushton Wakeling via Digitalmars-d
On 10/07/14 01:35, David Nadlinger via Digitalmars-d wrote: A few lost hairs and an implementation of weak symbols later, this should now be fixed in Git master. In other words, there are currently no known issues with shared libraries, so everybody test away. ;) Hmm, I just rebuild current

Re: The constness problem

2014-07-12 Thread H. S. Teoh via Digitalmars-d
On Sat, Jul 12, 2014 at 03:03:12PM +, Peter Alexander via Digitalmars-d wrote: http://pointersgonewild.wordpress.com/2014/07/11/the-constness-problem/ I can relate to this. I don't use classes much in D, but I find it frustrating that you need to reach to std.typecons.Rebindable for what

Re: Review: std.logger

2014-07-12 Thread H. S. Teoh via Digitalmars-d
On Sat, Jul 12, 2014 at 06:13:28PM +0200, Sönke Ludwig via Digitalmars-d wrote: Overall looks good to me. Some points that haven't been mentioned so far in this review round: - Using a class with static members doesn't seem to be very idiomatic. It seems like the three member properties can

Re: For the adventurous: News from the LDC/Linux front

2014-07-12 Thread Joseph Rushton Wakeling via Digitalmars-d
On 12/07/14 19:12, Joseph Rushton Wakeling via Digitalmars-d wrote: Hmm, I just rebuild current git master from a fresh pull, and the problem is still there. :-( I'm so sorry, this is completely wrong. I'd just forgotten to put back my /etc/ld.so.conf.d/ldc2.conf file pointing to

Re: Proposal for design of 'scope' (Was: Re: Opportunities for D)

2014-07-12 Thread via Digitalmars-d
On Friday, 11 July 2014 at 21:04:05 UTC, H. S. Teoh via Digitalmars-d wrote: On Thu, Jul 10, 2014 at 08:10:36PM +, via Digitalmars-d wrote: Hmm. Seems that you're addressing a somewhat wider scope than what I had in mind. I was thinking mainly of 'scope' as does not escape the body of this

Re: Dub feature [was import from Internet]

2014-07-12 Thread Sönke Ludwig via Digitalmars-d
Am 12.07.2014 18:20, schrieb Russel Winder via Digitalmars-d: On Sat, 2014-07-12 at 15:41 +, Dicebot via Digitalmars-d wrote: […] verify contributions, version control. Regarding latter I find it quite telling that dub has recently banned usage of ~master as dependency version and only

Re: Proposal for design of 'scope' (Was: Re: Opportunities for D)

2014-07-12 Thread via Digitalmars-d
On Friday, 11 July 2014 at 22:03:37 UTC, H. S. Teoh via Digitalmars-d wrote: Along these lines, I'm wondering if turtles all the way down is the wrong way of looking at it. Consider, for example, an n-level deep nesting of aggregates. If obj.nest1 is const, then obj.nest1.nest2.x must also be

Re: import from Internet

2014-07-12 Thread Dicebot via Digitalmars-d
On Saturday, 12 July 2014 at 16:38:35 UTC, Russel Winder via Digitalmars-d wrote: On Sat, 2014-07-12 at 15:41 +, Dicebot via Digitalmars-d wrote: […] Sorry but I am tired of endless appeal to history / usage - by this logic Java and PHP are very good languages full of wisdom. And if

Re: Using D

2014-07-12 Thread Joakim via Digitalmars-d
On Saturday, 12 July 2014 at 10:27:12 UTC, Russel Winder via Digitalmars-d wrote: In the end it is about community rather than the programming language per se. Java created a huge community that was evangelical. Go has rapidly created an active community that is evangelical. Python has rapidly

Re: Opportunities for D

2014-07-12 Thread Walter Bright via Digitalmars-d
On 7/10/2014 10:53 PM, deadalnix wrote: Most of them never gathered any attention. Sometimes, when the idea is right, you still need to get behind and push it. Build it and they will come is a stupid hollywood fantasy. I've also written DIPs, which garnered zero comments. I implemented

Re: Opportunities for D

2014-07-12 Thread Johannes Pfau via Digitalmars-d
Am Sat, 12 Jul 2014 13:27:26 -0700 schrieb Walter Bright newshou...@digitalmars.com: On 7/10/2014 10:53 PM, deadalnix wrote: Most of them never gathered any attention. Sometimes, when the idea is right, you still need to get behind and push it. Build it and they will come is a stupid

Re: Review: std.logger

2014-07-12 Thread Andrei Alexandrescu via Digitalmars-d
On 7/12/14, 4:04 AM, Dicebot wrote: On Saturday, 12 July 2014 at 03:22:10 UTC, Jesse Phillips wrote: On Friday, 11 July 2014 at 14:39:09 UTC, David Nadlinger wrote: On Friday, 11 July 2014 at 14:36:34 UTC, Dicebot wrote: Round of a formal review before proceeding to voting. Subject for Phobos

Re: import from Internet

2014-07-12 Thread Andrei Alexandrescu via Digitalmars-d
On 7/12/14, 6:47 AM, Russel Winder via Digitalmars-d wrote: On Sat, 2014-07-12 at 13:13 +, Dicebot via Digitalmars-d wrote: On Saturday, 12 July 2014 at 13:10:09 UTC, Katayama Hirofumi MZ wrote: https://github.com/D-Programming-Language/dub/issues/373 What I have meant is that importing

Re: import from Internet

2014-07-12 Thread w0rp via Digitalmars-d
This is a really bad idea. Being able to decide how a dependency gets pulled in for a library you depend on is a blessing, especially when you have to lock versions down. This only works for something like loading JavaScript files, where you can assume only roughly 6 concurrent connections per

Re: The constness problem

2014-07-12 Thread Lars T. Kyllingstad via Digitalmars-d
On Saturday, 12 July 2014 at 15:03:13 UTC, Peter Alexander wrote: http://pointersgonewild.wordpress.com/2014/07/11/the-constness-problem/ I can relate to this. I don't use classes much in D, but I find it frustrating that you need to reach to std.typecons.Rebindable for what I would consider

Re: Review: std.logger

2014-07-12 Thread Andrei Alexandrescu via Digitalmars-d
On 7/12/14, 10:19 AM, H. S. Teoh via Digitalmars-d wrote: On Sat, Jul 12, 2014 at 06:13:28PM +0200, Sönke Ludwig via Digitalmars-d wrote: Overall looks good to me. Some points that haven't been mentioned so far in this review round: - Using a class with static members doesn't seem to be very

Re: import from Internet

2014-07-12 Thread Andrei Alexandrescu via Digitalmars-d
On 7/12/14, 12:54 PM, Dicebot wrote: On Saturday, 12 July 2014 at 16:38:35 UTC, Russel Winder via Digitalmars-d wrote: On Sat, 2014-07-12 at 15:41 +, Dicebot via Digitalmars-d wrote: […] Sorry but I am tired of endless appeal to history / usage - by this logic Java and PHP are very good

Re: Rosettacode example collection

2014-07-12 Thread Trass3r via Digitalmars-d
Somebody (I think bearophile) mentioned a while back that they had a folder with all the D solutions from Rosettacode. Yeah that would indeed be nice to have.

Re: For the adventurous: News from the LDC/Linux front

2014-07-12 Thread Joseph Rushton Wakeling via Digitalmars-d
On 08/07/14 19:54, David Nadlinger via Digitalmars-d wrote: And secondly, proper support for building druntime/Phobos as shared libraries and loading D shared objects dynamically has now arrived in LDC! As you might be aware, Martin Nowak has spent a considerable amount of effort on adding

Re: Opportunities for D

2014-07-12 Thread Andrei Alexandrescu via Digitalmars-d
On 7/12/14, 1:38 PM, Johannes Pfau wrote: But you've got some nice bonus: If somebody doesn't like your pull request you can just merge it anyway. That hasn't happened in a really long time, and last time it did is before we had due process in place. But if you veto something the only one

Re: Opportunities for D

2014-07-12 Thread Andrei Alexandrescu via Digitalmars-d
On 7/12/14, 1:27 PM, Walter Bright wrote: On 7/10/2014 10:53 PM, deadalnix wrote: Most of them never gathered any attention. Sometimes, when the idea is right, you still need to get behind and push it. Build it and they will come is a stupid hollywood fantasy. I've also written DIPs, which

git tag --fubar

2014-07-12 Thread Andrew Edwards via Digitalmars-d
I should be posting this in dmd-beta but instead I'm posting it here because I am currently locked out of my gmail account, the recovery account for which is yahoo and I'm locked out of that too. Google doesn't trust me because I moved out of the country and then went on a trip... and Yahoo

What is the Go/NoGo gauge for releases?

2014-07-12 Thread Andrew Edwards via Digitalmars-d
Moved from D.announce for further discussion by request: On Saturday, 12 July 2014 at 00:13:47 UTC, David Nadlinger wrote: For convenience, the list of unresolved issues marked as regressions: https://issues.dlang.org/buglist.cgi?bug_severity=regressionresolution=--- Seems like there is

Re: Opportunities for D

2014-07-12 Thread Walter Bright via Digitalmars-d
On 7/12/2014 1:38 PM, Johannes Pfau wrote: But you've got some nice bonus: If somebody doesn't like your pull request you can just merge it anyway. I'd only do that in an emergency. I'll also just pull the ones for D1. But if you veto something the only one who can probably merge anyway is

Re: git tag --fubar

2014-07-12 Thread Walter Bright via Digitalmars-d
On 7/12/2014 5:27 PM, Andrew Edwards wrote: Some advice would really be appreciated. I share your pain. Others here have rescued my github apocalyptic screwups several times.

Re: What is the Go/NoGo gauge for releases?

2014-07-12 Thread Nick Sabalausky via Digitalmars-d
On 7/12/2014 8:35 PM, Andrew Edwards wrote: Moved from D.announce for further discussion by request: On Saturday, 12 July 2014 at 00:13:47 UTC, David Nadlinger wrote: For convenience, the list of unresolved issues marked as regressions:

Re: Software Assurance Reference Dataset

2014-07-12 Thread via Digitalmars-d
On Friday, 11 July 2014 at 17:28:39 UTC, deadalnix wrote: The compiler can ensure that you hit at least every 4k or so. It doesn't look like a very hard constraint to have a volatile load per untouched 4k of stack (which should be very rare). Sure, it should be possible to work it into the

Re: Software Assurance Reference Dataset

2014-07-12 Thread Walter Bright via Digitalmars-d
On 7/11/2014 10:28 AM, deadalnix wrote: The compiler can ensure that you hit at least every 4k or so. And it already does.

Re: Using D

2014-07-12 Thread Iain Buclaw via Digitalmars-d
.On 12 July 2014 20:55, Joakim via Digitalmars-d digitalmars-d@puremagic.com wrote: On Saturday, 12 July 2014 at 10:27:12 UTC, Russel Winder via Digitalmars-d wrote: In the end it is about community rather than the programming language per se. Java created a huge community that was

Raw Binary into the console

2014-07-12 Thread Sean Campbell via Digitalmars-d-learn
How Can I Print Raw Binary Into The Console? I Have Variable Of Type ubyte which equals 0b011 How Can I Get The Variable To Print Out As 011

Re: Raw Binary into the console

2014-07-12 Thread Ali Çehreli via Digitalmars-d-learn
On 07/11/2014 10:56 PM, Sean Campbell wrote: How Can I Print Raw Binary Into The Console? Taking a step back, a D program prints to stdout, not console. However, in most cases a D program's output ends up on the console when it is started in a console. So, one can print any byte value to

Const problems

2014-07-12 Thread bearophile via Digitalmars-d-learn
In case you have missed the thread: http://www.reddit.com/r/programming/comments/2ag8qe/the_constness_problem/ Bye, bearophile

Something like Python's psutils for D?

2014-07-12 Thread Thomas Mader via Digitalmars-d-learn
The Subject says it all, is something like psutils available in D? [1] I need it to measure memory usage of a process. [1] https://github.com/giampaolo/psutil thank you Thomas

Re: Something like Python's psutils for D?

2014-07-12 Thread Thomas Mader via Digitalmars-d-learn
I also need to get the user and system time of a process, doesn't seem to be available in Phobos. (e.g. getrusage in Linux but platform independent)

Re: Value Reference Type Traits

2014-07-12 Thread Nordlöw
On Friday, 11 July 2014 at 16:22:37 UTC, anonymous wrote: There's http://dlang.org/phobos/std_traits.html#hasIndirections Thx.

Help to find crash in simple stack type?

2014-07-12 Thread Gary Willoughby via Digitalmars-d-learn
I've created a simple stack type using calloc/free which seems to work nicely. Then instead of using C functions i've tried to implement the same type using the GC. However i'm experiencing a crash. I've been staring at this snippet for hours now any help would be appreciated. This is a

Re: Help to find crash in simple stack type?

2014-07-12 Thread Rainer Schuetze via Digitalmars-d-learn
On 12.07.2014 16:24, anonymous wrote: No explanation or solution, but a reduction: import core.memory; void main() { alias T = ubyte; enum size1 = 2_049; /* 2_048 = 2^^11 */ enum size2 = 1_048_577; /* 1_048_576 = 2^^20 */ T* _data; _data =

Re: Help to find crash in simple stack type?

2014-07-12 Thread Rainer Schuetze via Digitalmars-d-learn
On 12.07.2014 19:05, Rainer Schuetze wrote: Thanks for the reduction. GC.realloc seems broken for reallocations to sizes larger than the current GC pool. Please file a bug report. Actually done that myself: https://issues.dlang.org/show_bug.cgi?id=13111

OSX, Need help with Compiling and linking errors

2014-07-12 Thread Israel Rodriguez via Digitalmars-d-learn
Ive been reading the OSX notes for the DMD compiler but not everything is clear to me as i dont know how exactly the compiler looks for things. i wanted to test it out first using this package from code.dlang.org http://code.dlang.org/packages/colorize I downloaded the zip, extracted it, and

DStyle: Braces on same line

2014-07-12 Thread Danyal Zia via Digitalmars-d-learn
Hi, I noticed that in Andrei's talks and his book, he used braces on the same line of delcaration, however Phobos and other D libraries I know use braces on their own line. Now I'm in a position where I need to take decision on coding style of my library and I get accustomed to use braces on

  1   2   >