Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread psychoticRabbit via Digitalmars-d
On Friday, 2 February 2018 at 15:06:35 UTC, Benny wrote: Other languages have slogans, they have selling points. When i hear Go, you hear uniformal, fast, simple syntax language. When i hear Rust, you hear safe, manual memory management. When i hear D, you hear ... ... ... ... When i hear

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread psychoticRabbit via Digitalmars-d
On Friday, 2 February 2018 at 15:06:35 UTC, Benny wrote: I am personally confused with D's message. I think that point hits the cause of your problem with D (along with your need to 'choose' something over 'something' else). Stop looking for the meaning of D .. and start experiencing it.

Re: An idea for commercial support for D

2018-02-03 Thread psychoticRabbit via Digitalmars-d
On Saturday, 3 February 2018 at 10:49:06 UTC, Joakim wrote: And what we find is that when you allow such mixing with permissively-licensed projects (that the GPL makes much more difficult), . I've never been a fan of the GPL.. until I read this thread. It may well be, that more and more

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-03 Thread psychoticRabbit via Digitalmars-d
On Saturday, 3 February 2018 at 04:16:25 UTC, Walter Bright wrote: On 2/2/2018 7:06 AM, Benny wrote: Other languages have slogans, they have selling points. When i hear Go, you hear uniformal, fast, simple syntax language. When i hear Rust, you hear safe, manual memory management. When i

Re: Quora: Why hasn't D started to replace C++?

2018-02-01 Thread psychoticRabbit via Digitalmars-d
On Thursday, 1 February 2018 at 17:13:52 UTC, Seb wrote: curl https://i.dlang.io/install.sh | bash -s dmd Yeah..let's all run an untrusted shell script (with unknown contents), right off the web. Will people never learn?

Re: An idea for commercial support for D

2018-02-01 Thread psychoticRabbit via Digitalmars-d
On Wednesday, 31 January 2018 at 08:43:46 UTC, Joakim wrote: ... My time-limited model makes sure all source is made open eventually, once the developers have been paid for their work. This deceptive hybrid model (based I my understanding of it per the description above) is really

Re: Quora: Why hasn't D started to replace C++?

2018-02-01 Thread psychoticRabbit via Digitalmars-d
On Friday, 2 February 2018 at 02:25:47 UTC, Arun Chandrasekaran wrote: On Friday, 2 February 2018 at 02:15:55 UTC, psychoticRabbit wrote: On Thursday, 1 February 2018 at 17:13:52 UTC, Seb wrote: curl https://i.dlang.io/install.sh | bash -s dmd Yeah..let's all run an untrusted shell script

Re: An idea for commercial support for D

2018-02-02 Thread psychoticRabbit via Digitalmars-d
On Friday, 2 February 2018 at 08:56:04 UTC, Joakim wrote: So given that all your claims are easily logically proven to be nonsense, there's no point in going any further. You need to do better than that to convince me ;-) Now.. I might entertain a model of paying someone, *after* they had

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-05 Thread psychoticRabbit via Digitalmars-d
On Monday, 5 February 2018 at 11:38:58 UTC, Ola Fosheim Grøstad wrote: On Monday, 5 February 2018 at 11:25:15 UTC, psychoticRabbit wrote: C is for trusting the programmer, so that they can do anything. It's also for keeping things fast - *even if not portable*. C++ is the same... No. C++

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-05 Thread psychoticRabbit via Digitalmars-d
On Monday, 5 February 2018 at 10:23:23 UTC, Ola Fosheim Grøstad wrote: On Monday, 5 February 2018 at 08:06:16 UTC, Boris-Barboris wrote: I have no doubt it can be done in the end. I solely imply that the disadvantage here is that in C's "main" (imo) use case it has to be done, and that is a

Re: On reddit: Quora: Why hasn't D started to replace C++?

2018-02-01 Thread psychoticRabbit via Digitalmars-d
On Thursday, 1 February 2018 at 00:57:16 UTC, Walter Bright wrote: https://www.reddit.com/r/programming/comments/7udfs4/is_anyone_replacing_c_with_d/ I think what will get people really interested in D, is an updated book from Andrei. I'm sure plenty of people (particulary C++ programmers)

Re: On reddit: Quora: Why hasn't D started to replace C++?

2018-02-01 Thread psychoticRabbit via Digitalmars-d
On Thursday, 1 February 2018 at 09:51:16 UTC, psychoticRabbit wrote: On Thursday, 1 February 2018 at 00:57:16 UTC, Walter Bright wrote: https://www.reddit.com/r/programming/comments/7udfs4/is_anyone_replacing_c_with_d/ I think what will get people really interested in D, is an updated book

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-04 Thread psychoticRabbit via Digitalmars-d
On Sunday, 4 February 2018 at 20:15:47 UTC, bpr wrote: Which benefits of C are lost? The ability to program on 16-bit platforms (yeah.. they still exist ;-) 16bit doesn't matter? .. it matters to me.

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-05 Thread psychoticRabbit via Digitalmars-d
On Monday, 5 February 2018 at 07:46:46 UTC, Dgame wrote: On Monday, 5 February 2018 at 00:56:20 UTC, welkam wrote: On Sunday, 4 February 2018 at 22:05:45 UTC, Dgame wrote: I want to use a language and if I see problems which are ignored I move on. That is how it is, no offense. So you see a

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-04 Thread psychoticRabbit via Digitalmars-d
On Sunday, 4 February 2018 at 10:31:17 UTC, Dgame wrote: On Sunday, 4 February 2018 at 01:46:34 UTC, psychoticRabbit wrote: Your suggestions are welcome. Just don't tell people that if they don't listen to them, then their community is bad. That's not how an open source community works. I've

Re: Quora: Why hasn't D started to replace C++?

2018-02-04 Thread psychoticRabbit via Digitalmars-d
On Sunday, 4 February 2018 at 18:00:22 UTC, Russel Winder wrote: On Fri, 2018-02-02 at 21:21 +, 12345swordy via Digitalmars-d wrote: […] Would it be easier for hire a proven manager(Or at least look for mangers that are able to volunteer)? What the D Foundation needs is a CEO who is a

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-05 Thread psychoticRabbit via Digitalmars-d
On Monday, 5 February 2018 at 16:03:44 UTC, Ola Fosheim Grøstad wrote: On Monday, 5 February 2018 at 12:23:58 UTC, psychoticRabbit wrote: No. C++ is primarliy about higher order abstractions. That's why it came about. Without the need for those higher order abstractions, C is just fine - no

Re: Bye bye, fast compilation times

2018-02-05 Thread psychoticRabbit via Digitalmars-d
On Monday, 5 February 2018 at 21:27:57 UTC, H. S. Teoh wrote: Comment out the call to `regex()`, and I get: -- real0m0.285s user0m0.262s sys 0m0.023s -- regex is not the only one I avoid.. how long you think this takes to compile? (try ldc2 too ..just for laughs ;-)

Re: Bye bye, fast compilation times

2018-02-05 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 6 February 2018 at 04:09:24 UTC, psychoticRabbit wrote: how long you think this takes to compile? (try ldc2 too ..just for laughs ;-) import std.net.isemail; void main() { auto checkEmail = "some...@somewhere.com".isEmail(); } oh.. and for an even bigger laugh... -O

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-05 Thread psychoticRabbit via Digitalmars-d
On Monday, 5 February 2018 at 22:02:09 UTC, Boris-Barboris wrote: I am of the opinion that currently C has no use outside of OS\embedded stuff Plenty of others seems to have a different opinion ;-) https://github.com/kozross/awesome-c (and that link is just for starters)

Re: A betterC base

2018-02-08 Thread psychoticRabbit via Digitalmars-d
On Thursday, 8 February 2018 at 15:51:38 UTC, Adam D. Ruppe wrote: On Thursday, 8 February 2018 at 15:43:01 UTC, ixid wrote: That's been said over and over and the message has not gotten through. It is almost never said! We always play by their terms and implicitly concede by saying "but we

Re: A betterC base

2018-02-08 Thread psychoticRabbit via Digitalmars-d
On Friday, 9 February 2018 at 01:55:10 UTC, Benny wrote: People talk about the need for a clear design focus, leadership and ... things go on as before. That is D in a nutshell. People doing what they want, whenever and things stay the same. New features ( that is always fun ), a few people

Re: A betterC base

2018-02-08 Thread psychoticRabbit via Digitalmars-d
On Thursday, 8 February 2018 at 23:27:25 UTC, Adam D. Ruppe wrote: On Thursday, 8 February 2018 at 15:55:09 UTC, JN wrote: Citation needed on how garbage collection has been a smashing success based on its merits rather than the merits of the languages that use garbage collection. Who cares?

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-03 Thread psychoticRabbit via Digitalmars-d
On Saturday, 3 February 2018 at 22:59:06 UTC, Dgame wrote: This is a nice, refreshing post. You state problems and why you switched to Go. You give a ton of informations (here and in your prior posts) why you did what you did and what problems you've seen. This could be used to improve D. But

Re: An idea for commercial support for D

2018-02-04 Thread psychoticRabbit via Digitalmars-d
On Sunday, 4 February 2018 at 08:26:54 UTC, Joakim wrote: I don't think it affects them much, as none of the motivations above would be hurt by paid contributors. If anything, it _increases_ their drive, as they have a lot more OSS code to work on with mixed codebases. Well, it's not

Re: Quora: Why hasn't D started to replace C++?

2018-02-03 Thread psychoticRabbit via Digitalmars-d
On Saturday, 3 February 2018 at 15:33:01 UTC, Russel Winder wrote: Who is your management mentor? It is making your job harder if you are trying to teach yourselves purely from experience. Been there done that, made much better progress after reading: In my experience, there is nothing worse

Re: An idea for commercial support for D

2018-02-03 Thread psychoticRabbit via Digitalmars-d
On Saturday, 3 February 2018 at 13:14:04 UTC, rjframe wrote: Except it doesn't. The GPL can be used to keep a competitor from stepping up and using your work to create an alternative product, allowing you to have a mixed open/closed model without worrying about competition. Many companies

Re: Bye bye, fast compilation times

2018-02-06 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 6 February 2018 at 20:11:56 UTC, Walter Bright wrote: std.string.isEmail() in D1 was a simple function. Maybe regex is just the wrong solution for this problem. [...] C .. D style. I love it! (bugs and all).

Re: Quora: Why hasn't D started to replace C++?

2018-02-12 Thread psychoticRabbit via Digitalmars-d
On Monday, 12 February 2018 at 05:45:13 UTC, Ali wrote: C++ is expected to add ranges based on this library https://github.com/ericniebler/range-v3 Yes, but given the significance of C++, it really should be leading.. not following (at snails pace). C++ simply has too much legacy stuff to

Re: Being Positive

2018-02-12 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 13 February 2018 at 02:29:46 UTC, Seb wrote: On Monday, 12 February 2018 at 23:54:29 UTC, Arun Chandrasekaran wrote: Sorry if I'm hurting someone's sentiment, but is it just me who is seeing so much negative trend in the D forum about D itself? I don't remember seeing so much

Re: GSOC 2018 - no slots for D

2018-02-12 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 13 February 2018 at 01:20:57 UTC, Jakub Łabaj wrote: https://summerofcode.withgoogle.com/organizations/ Seems like we didn't make it this year :( Is there any feedback from Google when they don't accept an organisation? Do you think that maybe they don't perceive D as a viable

Re: GSOC 2018 - no slots for D

2018-02-12 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 13 February 2018 at 01:51:44 UTC, Seb wrote: To give the bad news positives ones too: I'm currently investigating to extend the Research Scholarships [1] the D Language Foundation offers to students of the UPB to all students. Nothing official yet, but there could be a DLang

Re: GSOC 2018 - no slots for D

2018-02-12 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 13 February 2018 at 02:12:10 UTC, Seb wrote: On Tuesday, 13 February 2018 at 01:59:16 UTC, psychoticRabbit wrote: Second, I don't get it. Are you saying D Foundation currently only provides such to students of UPB?

Re: Being Positive

2018-02-12 Thread psychoticRabbit via Digitalmars-d
On Monday, 12 February 2018 at 23:54:29 UTC, Arun Chandrasekaran wrote: Do you think it will help in reminding people not to post any negative things? No. Everyone knows the current state of D and this can be improved with more volunteers. Even a small topic like some xyz library is not up

Re: Quora: Why hasn't D started to replace C++?

2018-02-10 Thread psychoticRabbit via Digitalmars-d
On Sunday, 11 February 2018 at 00:15:32 UTC, Ola Fosheim Grostad wrote: On Sunday, 11 February 2018 at 00:06:07 UTC, psychoticRabbit wrote: On Sunday, 11 February 2018 at 00:03:16 UTC, psychoticRabbit wrote: On Tuesday, 30 January 2018 at 20:45:44 UTC, Andrei Alexandrescu wrote:

Re: Quora: Why hasn't D started to replace C++?

2018-02-10 Thread psychoticRabbit via Digitalmars-d
On Sunday, 11 February 2018 at 00:03:16 UTC, psychoticRabbit wrote: On Tuesday, 30 January 2018 at 20:45:44 UTC, Andrei Alexandrescu wrote: https://www.quora.com/Why-hasnt-D-started-to-replace-C++ Andrei Why indeed! Feature D C C++ C# Java (and this was bacvk in

Re: Quora: Why hasn't D started to replace C++?

2018-02-10 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 30 January 2018 at 20:45:44 UTC, Andrei Alexandrescu wrote: https://www.quora.com/Why-hasnt-D-started-to-replace-C++ Andrei Why indeed! Feature D C C++ C# Java (and this was bacvk in = Garbage Collection Yes No No Yes Yes Functions =

Re: Quora: Why hasn't D started to replace C++?

2018-02-11 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 30 January 2018 at 20:45:44 UTC, Andrei Alexandrescu wrote: https://www.quora.com/Why-hasnt-D-started-to-replace-C++ Andrei Why indeed! "I am appalled at the monstrous messes that computer scientists can produce under the name of ‘improvements’. It is to efforts such as C++

Re: Quora: Why hasn't D started to replace C++?

2018-02-11 Thread psychoticRabbit via Digitalmars-d
On Sunday, 11 February 2018 at 23:00:40 UTC, Walter Bright wrote: Even little ones like char16_t, char32_t, and being able to separate digits with single quotes, and larger ones like static if and ranges. D's support for ranges is probably the single most important reason why I choose to use

Re: Being Positive

2018-02-13 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 13 February 2018 at 09:46:14 UTC, Dave Jones wrote: Arguing, friction, grumbling, it's all a symptom of Ds open volunteer based development process IMO. It's also how democracy works. Walk into any parliament session, in any democracy, and you will see arguing, friction and

Re: Old but interesting link as to the low adoption reason for D

2018-02-13 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 13 February 2018 at 01:46:02 UTC, Token wrote: D should recognize and embrace its nature as research platform/compiler enthusiasts playground favorite. I think this is a really good point, and one that D should be proud of. That is pretty much how I see D, and I really enjoy

Re: GSOC 2018 - no slots for D

2018-02-13 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 13 February 2018 at 13:33:00 UTC, Andrei Alexandrescu wrote: On 02/12/2018 08:20 PM, Jakub Łabaj wrote: https://summerofcode.withgoogle.com/organizations/ Seems like we didn't make it this year :( Is there any feedback from Google when they don't accept an organisation? Do you

Re: Being Positive

2018-02-13 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 13 February 2018 at 08:08:28 UTC, bauss wrote: On Tuesday, 13 February 2018 at 01:32:29 UTC, psychoticRabbit wrote: It is a human right..to complain ;-) Not to be that guy, but technically you have no rights in an online community. You have privileges. You may have the

Re: Being Positive

2018-02-12 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 13 February 2018 at 05:34:01 UTC, psychoticRabbit wrote: btw. Mozilla has long had an unusual interest in people specifically from the Oregon State University. https://blog.mozilla.org/firefox/browser-built-with-love-sweat-volunteers/ Emily Dunham (the one in that youtube video,

Re: Being Positive

2018-02-12 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 13 February 2018 at 04:29:44 UTC, Nick Sabalausky (Abscissa) wrote: Rust has pretty much gone on record as deliberately using social engineering to squelch all disagreement by way of drumming out any and all dissenters: https://www.youtube.com/watch?v=dIageYT0Vgg Hey..that

Re: Being Positive

2018-02-12 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 13 February 2018 at 04:29:44 UTC, Nick Sabalausky (Abscissa) wrote: Rust has pretty much gone on record as deliberately using social engineering to squelch all disagreement by way of drumming out any and all dissenters: https://www.youtube.com/watch?v=dIageYT0Vgg a "friend of

Re: Being Positive

2018-02-12 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 13 February 2018 at 05:10:29 UTC, psychoticRabbit wrote: On Tuesday, 13 February 2018 at 04:29:44 UTC, Nick Sabalausky (Abscissa) wrote: Rust has pretty much gone on record as deliberately using social engineering to squelch all disagreement by way of drumming out any and all

Re: Being Positive

2018-02-13 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 13 February 2018 at 16:04:11 UTC, Abdulhaq wrote: Psychotic rabbit disturbed by programming related video. In other news don't poke the rabbit.

Re: Flow-Design: OOP component programming

2018-02-14 Thread psychoticRabbit via Digitalmars-d
On Wednesday, 14 February 2018 at 09:39:20 UTC, Luís Marques wrote: It seems that someone once again rediscovered the benefits of component programming, in the context of OOP, but (as usual) without the more mathematical and principled approach of something like ranges and algorithms:

Re: A betterC base

2018-02-09 Thread psychoticRabbit via Digitalmars-d
On Thursday, 8 February 2018 at 21:01:55 UTC, Walter Bright wrote: That really is an informative article, thanks. The only issue with it is that it doesn't cover the newer C++ ref counting model, which has proved popular. Here is another very informative article, outling the 'tradeoff'

Re: An idea for commercial support for D

2018-02-05 Thread psychoticRabbit via Digitalmars-d
On Sunday, 4 February 2018 at 08:26:54 UTC, Joakim wrote: I think you're missing the point entirely: _this is the model that the community uses to undermine the corporations_. I really do think it's the other way around - indeed, it is probably too late - as corporations have *already*

Re: Annoyance with new integer promotion deprecations

2018-02-19 Thread psychoticRabbit via Digitalmars-d
On Monday, 19 February 2018 at 02:23:02 UTC, Walter Bright wrote: This one isn't double size. But google does insert some weird fields: Almost certainly, that 'wierd' stuff is related to googles insidious need to track and record EVERYTHING *you* do, so it can build an even better

Re: Annotation of functions

2018-02-20 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 20 February 2018 at 15:26:12 UTC, Adam D. Ruppe wrote: dmd -X spits out the json file with a list of functions and classes and other stuff. Then you can just filter that. 'dmd -X' looks like the perfect solution for my need. thanks.

Re: Annotation of functions

2018-02-20 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 20 February 2018 at 13:40:16 UTC, bauss wrote: I should probably have put an example usage to show how it's used: This makes we want to go back and program in C again ;-) (but thanks for taking the time to demo/explain)

Re: D source code formatter

2018-02-21 Thread psychoticRabbit via Digitalmars-d
On Thursday, 22 February 2018 at 04:48:58 UTC, Nicholas Wilson wrote: On Thursday, 22 February 2018 at 04:35:24 UTC, psychoticRabbit wrote: I rely (heavily) on clang-format in my C code. It save me so much effort and has become a vital day to day tool for me. I was wondering whether D also

Re: Annotation of functions

2018-02-22 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 20 February 2018 at 15:26:12 UTC, Adam D. Ruppe wrote: dmd -X spits out the json file with a list of functions and classes and other stuff. Then you can just filter that. do you know why the first and last character of the output from "dmd -o- -X somefile.d" are [ and ] with all

Re: Learning D Programming

2018-02-22 Thread psychoticRabbit via Digitalmars-d
On Thursday, 22 February 2018 at 10:31:05 UTC, Lianamelissa wrote: Hi this is liana working on... big data on aws ..,my question is D-programming is useful for the big data developers. Nice try.

D source code formatter

2018-02-21 Thread psychoticRabbit via Digitalmars-d
I rely (heavily) on clang-format in my C code. It save me so much effort and has become a vital day to day tool for me. I was wondering whether D also has a 'reliable' source code formatter. (reliable being a key word there). Also, if it does, then why is it not included in the distribution

Re: Annotation of functions

2018-02-22 Thread psychoticRabbit via Digitalmars-d
On Thursday, 22 February 2018 at 11:32:59 UTC, rjframe wrote: On Thu, 22 Feb 2018 10:41:48 +, psychoticRabbit wrote: On Tuesday, 20 February 2018 at 15:26:12 UTC, Adam D. Ruppe wrote: dmd -X spits out the json file with a list of functions and classes and other stuff. Then you can just

Re: Annoyance with new integer promotion deprecations

2018-02-19 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 20 February 2018 at 06:40:25 UTC, Tobias Müller wrote: It's no wonder that D has so few contributors if they are actively scared away. C'mon... was it really that scary? If you want more people to contribute, make it as easy for them as possible. and 'easy as possible' is

Annotation of functions

2018-02-20 Thread psychoticRabbit via Digitalmars-d
I've noticed that Go and Rust annotate functions. func (in go) fn (in rust) I was kind of wondering why they made that choice, given compilers in many languages do not. Would this be a useful feature in D? Everything else seems to have an annotation (e.g structs, classes.) So why not

Re: Annotation of functions

2018-02-20 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 20 February 2018 at 12:18:47 UTC, rikki cattermole wrote: So the point is moot. ok. I've come around... and the point reall is moot. so.. in that case..another idea...how about a compiler option to output a list of functions. (I don't really expect many will warm to that idea.)

Re: Which language futures make D overcompicated?

2018-02-20 Thread psychoticRabbit via Digitalmars-d
On Friday, 9 February 2018 at 07:54:49 UTC, Suliman wrote: I like D, but sometimes it's look like for me too complicated. Go have a lot of fans even it not simple, but primitive. But some D futures make it very hard to learning. Small list by me: 1. mixins 2. inout 3. too many attributes

Re: How do you get comfortable with Dlang.org's Forum?

2018-02-23 Thread psychoticRabbit via Digitalmars-d
On Friday, 23 February 2018 at 18:51:45 UTC, Biocyberman wrote: I think it has much to do with setting expectation right. Haven't used dfeed, I had trouble understanding dlang's forum but much less trouble with others. Well... D users will reach a some critical mass, at some point, whereby

Re: How do you get comfortable with Dlang.org's Forum?

2018-02-23 Thread psychoticRabbit via Digitalmars-d
On Saturday, 24 February 2018 at 01:53:48 UTC, Ali Çehreli wrote: On 02/23/2018 06:25 AM, psychoticRabbit wrote: > If there is one change that I would really like, it's dark theme I've never needed myself but most browsers allow overriding themes. Ali yeah..I tried this a while back, but

Re: How do you get comfortable with Dlang.org's Forum?

2018-02-23 Thread psychoticRabbit via Digitalmars-d
On Saturday, 24 February 2018 at 04:13:15 UTC, Johannes Loher wrote: There are Browser extensions gor this (e.g. https://chrome.google.com/webstore/detail/stylish-custom-themes-for/fjnbnpbmkenffdnngjfgmeleoegfcffe?hl=en) Hey. thanks for the tip. though..I just refuse to use chrome ;-) (in

Re: Annotation of functions

2018-02-22 Thread psychoticRabbit via Digitalmars-d
On Thursday, 22 February 2018 at 14:50:37 UTC, Seb wrote: On Wednesday, 21 February 2018 at 01:58:17 UTC, psychoticRabbit wrote: On Tuesday, 20 February 2018 at 15:26:12 UTC, Adam D. Ruppe wrote: dmd -X spits out the json file with a list of functions and classes and other stuff. Then you

Re: Learning D Programming

2018-02-22 Thread psychoticRabbit via Digitalmars-d
On Thursday, 22 February 2018 at 14:29:23 UTC, Ali wrote: this account, seem to be going around programming forums asking the same question https://discuss.ocaml.org/t/ocaml-is-helpful-for-me/1603 not sure what this mean, but .. not a good sign A company that 'supposedly' provides

Re: Annotation of functions

2018-02-20 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 20 February 2018 at 12:45:25 UTC, rikki cattermole wrote: string creater() pure { return "void func() {}"; } mixin(creator()); That is why. There are plenty of functions, classes and structs that simply won't exist in the form of syntax until you execute CTFE. I think

Re: Annotation of functions

2018-02-20 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 20 February 2018 at 12:55:31 UTC, psychoticRabbit wrote: fn string creater() pure { return "void func() {}"; } so now I'm just looking for lines that begin with fn. the mixin doesn't matter. oh... I think I might have misunderstood your point ... due to not understanding

Re: Annotation of functions

2018-02-22 Thread psychoticRabbit via Digitalmars-d
On Thursday, 22 February 2018 at 13:17:42 UTC, ag0aep6g wrote: You don't have to remove the brackets. You just have to process the result correctly. It's not an object but an array with an object as its first element. ok. I think I demonstrated that I don't know what I'm doing with the

Re: How do you get comfortable with Dlang.org's Forum?

2018-02-23 Thread psychoticRabbit via Digitalmars-d
On Friday, 23 February 2018 at 13:47:16 UTC, biocyberman wrote: If I may say it honestly, and despite the useful 'save unsent draft' feature, the forum is by far the most user-unfriendly forum platform ever So, to your question: "How do you get comfortable with Dlang.org's Forum?"

Re: How do you get comfortable with Dlang.org's Forum?

2018-02-24 Thread psychoticRabbit via Digitalmars-d
On Saturday, 24 February 2018 at 20:29:34 UTC, Walter Bright wrote: Yeah, the immutability of NNTP posts is a feature, not a bug. but aren't git changes essentially immutable too? as long is there is a history of the changes, there is no problem with changes. I'm really only interested in

Re: How do you get comfortable with Dlang.org's Forum?

2018-02-25 Thread psychoticRabbit via Digitalmars-d
On Sunday, 25 February 2018 at 01:49:05 UTC, rikki cattermole wrote: On 25/02/2018 2:31 PM, psychoticRabbit wrote: NNTP is not the future..it's the past. Good news, mailing lists will exist long after we're all dead and gone. We don't actually die, cause every atom in our body is billions

Re: D course material

2018-03-13 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 13 March 2018 at 12:39:24 UTC, Dmitry Olshansky wrote: Hi, folks! I’m testing waters for a D course at one University for first time it’ll be an optional thing. It’s still discussed but may very well become a reality. Before you ask - no, I’m not lecturing and in fact, I didn’t

Re: D beyond the specs

2018-03-16 Thread psychoticRabbit via Digitalmars-d
On Friday, 16 March 2018 at 11:44:59 UTC, Chris wrote: Hint: there's a Ph.D. in it ;) Hint: Do not write a Ph.D based on impressions ;-)

Re: OT: Behaviour of Experienced Programmers Towards Newcomers

2018-03-18 Thread psychoticRabbit via Digitalmars-d
On Sunday, 18 March 2018 at 06:28:11 UTC, Amorphorious wrote: And who the fuck are you? See, it's funny how you say I'm a noob with mental problems that says shit about people yet you are doing THE EXACT SAME THING! At the very least, you are no better than me, in fact worse, because you

Re: OT: Behaviour of Experienced Programmers Towards Newcomers

2018-03-17 Thread psychoticRabbit via Digitalmars-d
On Saturday, 17 March 2018 at 07:01:53 UTC, rumbu wrote: 3 days ago: https://forum.dlang.org/post/ylngefsfuwqodaprw...@forum.dlang.org yeah...but that presumes Amorphorious is an 'expert programmer'. which is not the impression I got ;-)

Re: OT: Behaviour of Experienced Programmers Towards Newcomers

2018-03-17 Thread psychoticRabbit via Digitalmars-d
On Saturday, 17 March 2018 at 07:16:22 UTC, Jonathan M Davis wrote: Unfortunately, we do periodically have folks act like that around here, but fortunately, for the most part, it's folks who don't stick around long, and our regular posters are generally well-behaved. - Jonathan M Davis

Re: C++ launched its community survey, too

2018-02-27 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 27 February 2018 at 15:52:15 UTC, Andrei Alexandrescu wrote: https://isocpp.org/blog/2018/02/new-cpp-foundation-developer-survey-lite-2018-02 Andrei really, online surveys are dodgy at best. btw. Bjarne Stroustrup recently received the 2018 Charles Stark Draper Prize for

Re: Vanquish Forever These Bugs That Blasted Your Kingdom

2018-02-12 Thread psychoticRabbit via Digitalmars-d-announce
On Monday, 12 February 2018 at 06:28:15 UTC, Dmitry Olshansky wrote: Then pick assembly of sorts. C ABI is a stright-jacket that ensures e.g. that your callstack is laid out correctly so that a ‘ret’ will bring you back to the call site not somewhere else. Do I need to mention libc’s

Re: Fixed size array initialization

2018-02-10 Thread psychoticRabbit via Digitalmars-d-learn
On Sunday, 11 February 2018 at 01:13:00 UTC, psychoticRabbit wrote: Well, in C.. I can do: int arr[2] = { [0]=10, [1]=20 }; I cannot work out how to do that in D yet (anyone know??) Oh. just worked it out after reading this thread ;-) int[2] arr = [ 0:10, 1:20 ];

Re: Vanquish Forever These Bugs That Blasted Your Kingdom

2018-02-11 Thread psychoticRabbit via Digitalmars-d-announce
On Wednesday, 7 February 2018 at 20:30:54 UTC, Dmitry Olshansky wrote: Other languages like Rust or C# (or Java) have bounds check. Plus we probably lose it in release mode, which is the mode where lurking bugs are discovered usually days after development ;) Some of these languages would

Re: Fixed size array initialization

2018-02-10 Thread psychoticRabbit via Digitalmars-d-learn
On Saturday, 10 February 2018 at 10:55:30 UTC, rumbu wrote: I have a large static initialized array, let's say int[155], and I forgot to declare the last element: int[155] myarray = [ a, b, c, ... //forgot to declare the 155th element ]; Well, in C.. I can do: int arr[2] = {

Re: Vanquish Forever These Bugs That Blasted Your Kingdom

2018-02-11 Thread psychoticRabbit via Digitalmars-d-announce
On Sunday, 11 February 2018 at 15:18:20 UTC, Cym13 wrote: On the other hand, if my bank shoots itself in the foot it's with my money... We must definitely have ways to do it but it must be explicit and restricted to where it's useful. There is no need for -boundscheck=off in D. It is always

Re: Vanquish Forever These Bugs That Blasted Your Kingdom

2018-02-12 Thread psychoticRabbit via Digitalmars-d-announce
On Monday, 12 February 2018 at 07:10:42 UTC, Cym13 wrote: As someone who's job is to audit banking and governmental systems for security vulnerabilities, I can assure you it's a real issue. Not the most common one, okay, but that doesn't make it any less dangerous. humans auditing the work

import strangeness with std.stdio.write

2018-02-13 Thread psychoticRabbit via Digitalmars-d-learn
So, strange problem below. The commented-out line will not compile (if I un-comment it), unless I either move std.stdio into main, or, move std.file out of main. Whereas writeln works just fine as is. - module test; import std.stdio; void main() { import std.file;

Re: import strangeness with std.stdio.write

2018-02-13 Thread psychoticRabbit via Digitalmars-d-learn
On Tuesday, 13 February 2018 at 13:46:11 UTC, psychoticRabbit wrote: So, strange problem below. The commented-out line will not compile (if I un-comment it), unless I either move std.stdio into main, or, move std.file out of main. Whereas writeln works just fine as is.

Re: import strangeness with std.stdio.write

2018-02-13 Thread psychoticRabbit via Digitalmars-d-learn
On Tuesday, 13 February 2018 at 13:52:37 UTC, rikki cattermole wrote: On 13/02/2018 1:46 PM, psychoticRabbit wrote: So, strange problem below. The commented-out line will not compile (if I un-comment it), unless I either move std.stdio into main, or, move std.file out of main. Whereas

Re: import strangeness with std.stdio.write

2018-02-13 Thread psychoticRabbit via Digitalmars-d-learn
On Tuesday, 13 February 2018 at 14:18:05 UTC, ketmar wrote: psychoticRabbit wrote: Also, if I do this below, how does the compiler choose the correct write function? import std.stdio; import std.file; void main() { write("hello"); writeln("hello again"); } it's easy: just take a

Re: import strangeness with std.stdio.write

2018-02-13 Thread psychoticRabbit via Digitalmars-d-learn
On Tuesday, 13 February 2018 at 13:57:38 UTC, ketmar wrote: `std.file` has function named `write()` too. and local import completely shadows global imports (i.e. it removes global imports from overload set for the given scope), hence `std.stdio.write()` is not available there. "..local

Re: import strangeness with std.stdio.write

2018-02-13 Thread psychoticRabbit via Digitalmars-d-learn
On Tuesday, 13 February 2018 at 14:21:31 UTC, bauss wrote: What you can do is use aliases to use both functions. import io = std.stdio; void main() { import file = std.file; file.write("hello"); io.writeln("hello again"); } that's a nice simple solution. thanks.

Re: No error message in DMD 2.078.2

2018-02-12 Thread psychoticRabbit via Digitalmars-d-learn
On Tuesday, 13 February 2018 at 05:51:05 UTC, Domain wrote: module main; void main () { writeln("Hello"); } Of course, this won't compile, but error message is confused: C:\Git\hello\source>dmd app.d app.d(5): Error: object.Error@(0): Access Violation 0x0065445A

Re: The Expressive C++17 Coding Challenge in D

2018-02-13 Thread psychoticRabbit via Digitalmars-d-announce
On Tuesday, 13 February 2018 at 23:35:36 UTC, Seb wrote: Someone revived the Expressive C++17 Coding Challenge thread today and I thought this is an excellent opportunity to revive my blog and finally write an article showing why I like D so much:

Re: The Expressive C++17 Coding Challenge in D

2018-02-14 Thread psychoticRabbit via Digitalmars-d-announce
On Wednesday, 14 February 2018 at 08:53:31 UTC, drug wrote: 14.02.2018 11:45, Ola Fosheim Grøstad пишет: On Tuesday, 13 February 2018 at 23:35:36 UTC, Seb wrote: Someone revived the Expressive C++17 Coding Challenge thread today and I thought this is an excellent opportunity to revive my blog

Re: Disk space used and free size of a Network share folder in Windows

2018-02-14 Thread psychoticRabbit via Digitalmars-d-learn
On Wednesday, 14 February 2018 at 12:29:13 UTC, rikki cattermole wrote: See: https://msdn.microsoft.com/en-us/library/windows/desktop/aa364935(v=vs.85).aspx any idea on how I'd convert this C# code to D? == public class Program { [DllImport("kernel32.dll")]

Re: The Expressive C++17 Coding Challenge in D

2018-02-14 Thread psychoticRabbit via Digitalmars-d-announce
On Wednesday, 14 February 2018 at 09:50:31 UTC, Ola Fosheim Grøstad wrote: If C++ isn't viewed as a competitor, why bother with repetitive complaining about C++? Because it doesn't get enough criticism ;-) I believe the programming langauges of the future, and the ones people should invest

Re: Disk space used and free size of a Network share folder in Windows

2018-02-14 Thread psychoticRabbit via Digitalmars-d-learn
On Wednesday, 14 February 2018 at 15:24:42 UTC, Vino wrote: ...the only problem is i am not sure hot to get the out put without the headings(Caption FreeSpace,Size) any help on same is much appreciated. writeln(result.output[38..$]);

Re: Building from source on FreeBSD

2018-02-19 Thread psychoticRabbit via Digitalmars-d-learn
On Monday, 19 February 2018 at 12:01:31 UTC, Jonathan M Davis wrote: I've never been able to figure this problem out, so I've I always just edited the makefile so that the two programs in CURL_TOOLS aren't built. IIRC, if you use -v to see the full linker command, it's even actually linking to

Re: Beta 2.079.0

2018-02-21 Thread psychoticRabbit via Digitalmars-d-announce
On Wednesday, 21 February 2018 at 10:15:48 UTC, Jonathan M Davis wrote: On Wednesday, February 21, 2018 10:04:01 Kagamin via Digitalmars-d-announce wrote: On Tuesday, 20 February 2018 at 22:54:43 UTC, H. S. Teoh wrote: > Yeah, personally I'd avoid writing it that way too. There's no other way

  1   2   3   >