Re: A Friendly Challenge for D

2018-10-11 Thread Ali Çehreli via Digitalmars-d
On 10/11/2018 10:14 AM, Jabari Zakiya wrote: > Ok, hopefully this will work for everyone. Try this link: > > https://mega.nz/#!yJxUEQgK!MY9dwjiWheE8tACtEeS0szduIvdBjiyTn4O6mMD_aZw Thank you. That worked just fine. I clicked the Download link and the pdf was saved on my end. :) Ali

Re: Farewell (of sorts)

2018-10-10 Thread Ali Çehreli via Digitalmars-d
Good luck! On 10/04/2018 06:15 AM, Shachar Shemesh wrote: > D will no longer be my day job. After a one year distraction with Go, I'm back to C++ myself. I've just finished my first reading of Scott Meyers' "Effective Modern C++" Oh boy! :) I'm reminded one more time that C++ is very hard to

Re: A Friendly Challenge for D

2018-10-10 Thread Ali Çehreli via Digitalmars-d
On 10/10/2018 07:52 PM, Jabari Zakiyth wrote: > On Wednesday, 10 October 2018 at 22:25:17 UTC, Neia Neutuladh wrote: >> On 10/10/2018 03:05 PM, Jabari Zakiya wrote: >>> https://www.scribd.com/doc/228155369/The-Segmented-Sieve-of-Zakiya-SSoZ >> >> It would be great if you could provide a link to a

Re: OT: Bad translations

2018-09-26 Thread Ali Çehreli via Digitalmars-d
A delicious Turkish desert is "kabak tatlısı", made of squash. Now, it so happens that "kabak" also means "zucchini" in Turkish. Imagine my shock when I came across that desert recipe in English that used zucchini as the ingredient! :) Ali

OT: Bad translations

2018-09-25 Thread Ali Çehreli via Digitalmars-d
On 09/24/2018 08:17 AM, 0xEAB wrote: > - Non-idiomatic translations of tech terms [2] This is something I had heard from a Digital Research programmer in early 90s: English message was something like "No memory left" and the German translation was "No memory on the left hand side" :) Ali

Re: Updating D beyond Unicode 2.0

2018-09-23 Thread Ali Çehreli via Digitalmars-d
On 09/22/2018 09:27 AM, Neia Neutuladh wrote: > Logographic writing systems. There is one logographic writing system > still in common use, and it's the standard writing system for Chinese > and Japanese. I had the misconception of each Chinese character meaning a word until I read "The Chinese

Re: Updating D beyond Unicode 2.0

2018-09-23 Thread Ali Çehreli via Digitalmars-d
On 09/21/2018 04:18 PM, Adam D. Ruppe wrote: > Well, for example, with a Chinese company, they may very well find > forced English identifiers to be an annoyance. Fully aggreed but as far as I know, Turkish companies use English in source code. Turkish alphabet is Latin based where dotted and

Re: splitting general into Technical and less technical

2018-08-29 Thread Ali Çehreli via Digitalmars-d
On 08/22/2018 10:20 PM, Nicholas Wilson wrote: That reminds me, what happened to our conversation with Ali Çehreli about splitting general [newsgroup/forum] into Technical and less technical? Even I remember that conversation. :) I don't remember who were involved but as soon as I opene

Re: New edition of "The D Programming Language"?

2018-08-03 Thread Ali Çehreli via Digitalmars-d
On 08/03/2018 02:27 PM, dlangPupil2 wrote: a web page listing major changes to D since Andrei's book came out Related, here is the errata: http://erdani.com/tdpl/errata/ Ali

Re: Interested in participating SAOC 2018

2018-08-01 Thread Ali Çehreli via Digitalmars-d
Please don't forget to write to soc...@dlang.org as described here: https://dlang.org/blog/symmetry-autumn-of-code/#students Ali

Re: [OT] Re: C's Biggest Mistake on Hacker News

2018-07-28 Thread Ali Çehreli via Digitalmars-d
On 07/28/2018 05:43 AM, Laeeth Isharc wrote: > It's not that bad calling D from Java. Running D's GC in a thread that is started by an external runtime (like Java's) can be problematic. If a D function on another D-runtime thread needs to run a collection, then it will not know about this Java

Re: Looking for the article comparing D to Ada and others

2018-07-26 Thread Ali Çehreli via Digitalmars-d
On 07/26/2018 03:07 AM, Francesco Mecca wrote: On Wednesday, 25 July 2018 at 21:59:52 UTC, Ali Çehreli wrote: Somebody had posted an article here on how well different languages matched certain requirements of a certain coding safety standards. I remember D was doing pretty well and I

Re: Looking for the article comparing D to Ada and others

2018-07-25 Thread Ali Çehreli via Digitalmars-d
On 07/25/2018 04:27 PM, Nicholas Wilson wrote: On Wednesday, 25 July 2018 at 21:59:52 UTC, Ali Çehreli wrote: Somebody had posted an article here on how well different languages matched certain requirements of a certain coding safety standards. I remember D was doing pretty well and I

Looking for the article comparing D to Ada and others

2018-07-25 Thread Ali Çehreli via Digitalmars-d
Somebody had posted an article here on how well different languages matched certain requirements of a certain coding safety standards. I remember D was doing pretty well and I think Ada (or SPARK?) was included as well. What article? Where? Thank you, Ali

Re: newCTFE report July

2018-07-18 Thread Ali Çehreli via Digitalmars-d
On 07/18/2018 11:28 AM, Stefan Koch wrote: > 2. there was the problem of the IndexExp being unaware of being inside > an AddrExp which would cause it to first evaluate four[0] to 1, and then > trying to take the address of literal one (which is zero as the marker > for an invalid address). Witho

Re: Anyone can contact Dmitry Olshansky?

2018-07-01 Thread Ali Çehreli via Digitalmars-d
On 07/01/2018 02:34 AM, ag0aep6g wrote: On 07/01/2018 08:00 AM, Ali Çehreli wrote: Apparent from uncharacteristic messages from Dmitry's account to multiple destinations recently, I suspect his gmail account has been compromised. Could also be a psychotic episode or some such. The incoh

[OT] Re: Anyone can contact Dmitry Olshansky?

2018-06-30 Thread Ali Çehreli via Digitalmars-d
On 06/30/2018 11:04 PM, Dmitry Olshansky wrote: > On Sunday, 1 July 2018 at 06:00:59 UTC, Ali Çehreli wrote: >> Apparent from uncharacteristic messages from Dmitry's account to >> multiple destinations recently, I suspect his gmail account has been >> compromised. >&

Anyone can contact Dmitry Olshansky?

2018-06-30 Thread Ali Çehreli via Digitalmars-d
Apparent from uncharacteristic messages from Dmitry's account to multiple destinations recently, I suspect his gmail account has been compromised. I'm not sure what options he has at this point but I think it's possible to use Google's Account Recovery page. Can someone find a way to reach Dm

Re: Is it possible to set up DConf Asia?

2018-06-29 Thread Ali Çehreli via Digitalmars-d
On 06/29/2018 02:20 AM, Joakim wrote: However, Ali notes significant interest in his D book in China and Russia (also see updated stats later in that thread): https://forum.dlang.org/post/oarr8l$19rh$1...@digitalmars.com Random stats of the day: LocationPages HitsBandwidth

Re: CVu, Code Critique, and D

2018-06-19 Thread Ali Çehreli via Digitalmars-d
On 06/19/2018 01:56 AM, Russel Winder wrote: > CVu is the member magazine for ACCU members ­– you have to be a member to read > it. Yeah, I still receive CVu and Overload. :) (Although, it feels as if it's been a while since I've seen one. I may have lapsed my membership. (?)) I remember hea

Re: CVu, Code Critique, and D

2018-06-19 Thread Ali Çehreli via Digitalmars-d
On 06/19/2018 01:56 AM, Russel Winder wrote: > Further to articles introducing D, Please tell more about those articles. Were they in print? Ali

Re: D code obfuscator

2018-06-14 Thread Ali Çehreli via Digitalmars-d
On 06/14/2018 04:33 AM, DigitalDesigns wrote: > 3 strikes and > your out! That was your third. :/ Ali

Re: What's happening with the `in` storage class

2018-06-08 Thread Ali Çehreli via Digitalmars-d
On 06/08/2018 09:55 PM, Walter Bright wrote: On 6/8/2018 7:17 PM, Adam D. Ruppe wrote: On Saturday, 9 June 2018 at 02:13:00 UTC, Walter Bright wrote: But it was never enforced, meaning that suddenly enforcing it is just going to break code left and right. It isn't going to break anything. It

Re: dlang feed, thunderbird

2018-05-24 Thread Ali Çehreli via Digitalmars-d
On 05/24/2018 06:36 AM, number wrote: > On Wednesday, 23 May 2018 at 18:50:37 UTC, Ali Çehreli wrote: > How do the newsgroups match to the forum categories (on the left here in > the forum), or specifically, what is the newsgroup for 'general' for > example? These are th

Re: dlang feed, thunderbird

2018-05-23 Thread Ali Çehreli via Digitalmars-d
On 05/23/2018 10:25 AM, number wrote: > I don't get any posts for this forum in Thunderbird since today. It > worked previously. Stop playing with Thunderbird's settings! :p > the URL : https://forum.dlang.org/feed/posts > works in Firefox, but creating a new account and subscription in > Thunde

Re: DConf 2018 Videos

2018-05-21 Thread Ali Çehreli via Digitalmars-d
On 05/21/2018 10:03 PM, Manu wrote: I was really interested to see Walter's talk this year! :( He said he will have been giveneth the same talk somewhere elseth. Ali

Re: Override member variables

2018-05-19 Thread Ali Çehreli via Digitalmars-d
On 05/19/2018 11:09 AM, Gheorghe Gabriel wrote: > I've worked with a lot of programming languages and I've found something > interesting in Kotlin. You can override member variables. Would you like > to have this feature in D? It's needed in C++ and I'm sure any object-oriented programming langua

Re: DIP 1011 library alternative

2018-05-15 Thread Ali Çehreli via Digitalmars-d
For convenience: https://github.com/dlang/DIPs/blob/master/DIPs/DIP1011.md Ali

Re: andrei - better breakdown of statistics for downloads by region, OS, kind of site (academic/large corporate/large financial/etc)

2018-05-08 Thread Ali Çehreli via Digitalmars-d
On 03/21/2017 11:26 AM, Ali Çehreli wrote: For what its worth, here are the stats for ddili.org that hosts my books: Country  Pages   Hits Bandwidth (MB) ---  -   -    China  18754  19122   304.05   Turkey  18499  76544

D's string mixins are like Tcl's uplevel

2018-04-17 Thread Ali Çehreli via Digitalmars-d
I came across this Tcl advocacy article on Reddit (the article is from 2006): https://www.reddit.com/r/programming/comments/8cw63d/tcl_the_misunderstood/ "Everything is a string" concept of Tcl reminded me of how D can generate code as string. So, Tcl's 'uplevel' is like string mixins. It's

Re: that is bug?

2018-04-08 Thread Ali Çehreli via Digitalmars-d
On 04/08/2018 09:59 AM, Patrick Schluter wrote: On Sunday, 8 April 2018 at 16:47:59 UTC, Patrick Schluter wrote: On Sunday, 8 April 2018 at 10:03:33 UTC, kdevel wrote: On Sunday, 8 April 2018 at 07:22:19 UTC, Patrick Schluter wrote: [...] To summarize: C++ works as expected and C prevents th

Re: that is bug?

2018-04-07 Thread Ali Çehreli via Digitalmars-d
On 04/07/2018 10:53 AM, Ali wrote: > On Saturday, 7 April 2018 at 15:26:56 UTC, Ali Çehreli wrote: >> On 04/07/2018 02:07 AM, sdvcn wrote: >>> string stt = "none"; >>> true?writeln("AA"):writeln("BB"); ///Out:AA &

Re: that is bug?

2018-04-07 Thread Ali Çehreli via Digitalmars-d
On 04/07/2018 02:07 AM, sdvcn wrote: string stt = "none"; true?writeln("AA"):writeln("BB");   ///Out:AA     true?stt="AA":stt="BB";    -///Out:BB writeln(stt); It is a bug because the behavior does not match the spec: https://issues.dlang.org/show_bug.cgi?id=18743

Re: D beyond the specs

2018-03-18 Thread Ali Çehreli via Digitalmars-d
On 03/17/2018 02:31 AM, Ola Fosheim Grøstad wrote: > I don't know about compilers specifically, but the big distributors in > Europe charged some hefty margins on their imports. So pricing in US was > often much lower than here... It may not be distributor greed: I was one of the founders of a

Re: D beyond the specs

2018-03-16 Thread Ali Çehreli via Digitalmars-d
On 03/16/2018 08:32 AM, Radu wrote: > Maybe the name has something to do with it :D Not about numerology, but for "priming" reasons I think names do have effect. For example, Germany's country letter is D. ;) Thinking back, the fact that my daughter's name starts with D may have a positive e

Re: D beyond the specs

2018-03-16 Thread Ali Çehreli via Digitalmars-d
On 03/16/2018 09:18 AM, jmh530 wrote: > On Friday, 16 March 2018 at 16:02:07 UTC, bachmeier wrote: >> Much of programming language >> adoption involves choosing languages others are using Agreed. In my case, "others" have been people who I respected or happened to be my close friends. Over the

Re: Unreachable warning is annoying

2018-03-15 Thread Ali Çehreli via Digitalmars-d
On 03/15/2018 04:27 PM, Steven Schveighoffer wrote: Note, I replied with the following text, but for some reason the forum does NOT see this post. It should be here: https://forum.dlang.org/post/p8990d$2ona$1...@digitalmars.com And it does exist on the NNTP server. It was received by Thunde

Re: D course material

2018-03-14 Thread Ali Çehreli via Digitalmars-d
On 03/14/2018 03:51 AM, Dmitry Olshansky wrote: contact [...] Stewart directly. I think you mean Carl Sturtivant. Ali

Re: DConf hotel poor QoS

2018-03-09 Thread Ali Çehreli via Digitalmars-d
On 03/09/2018 07:26 AM, Luís Marques wrote: > conference hotel Somewhat related, I booked my room at the same hotel through Expedia for a cheaper price than DConf price. I'm sure it could go lower if I seached on other booking sites. (Expedia did increase the price about $3 while I was clickin

Re: Advent of D

2018-03-08 Thread Ali Çehreli via Digitalmars-d
On 03/07/2018 09:26 AM, Andrei Alexandrescu wrote: > The post does not appear on the /r/programming page, so it has been > flagged as spam. On the first page right now. Ali

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

2018-02-23 Thread Ali Çehreli via Digitalmars-d
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

Re: OT: Photo of a single atom by David Nadlinger wins top prize

2018-02-13 Thread Ali Çehreli via Digitalmars-d
On 02/13/2018 05:11 PM, David Nadlinger wrote: On Tuesday, 13 February 2018 at 23:09:07 UTC, Ali Çehreli wrote: David (aka klickverbot) is a longtime D contributor […] … who is slightly surprised at the amount of media interest this has attracted. ;)  — David Yeah... Especially when

OT: Photo of a single atom by David Nadlinger wins top prize

2018-02-13 Thread Ali Çehreli via Digitalmars-d
David (aka klickverbot) is a longtime D contributor. https://www.epsrc.ac.uk/newsevents/news/single-trapped-atom-captures-science-photography-competitions-top-prize/ Ali

Re: Multiple Alis

2018-02-13 Thread Ali Çehreli via Digitalmars-d
On 02/13/2018 03:05 AM, Andrea Fontana wrote: > I read this thread just because it was so strange that Ali was calling > "Multiple Alias This" in this way. I like it! :) Actually, I tried to make a code joke for this thread with "alias this" and discovered a compiler bug: https://issues.dla

Multiple Alis

2018-02-12 Thread Ali Çehreli via Digitalmars-d
Nothing serious but in case you are confused, there are at least three separate and awesome Alis frequenting these newsgroups. :) From: Ali Çehreli Email: acehr...@yahoo.com Almost always ends posts simply with "Ali" From: Ali Email: fakeem...@example.com Usually does not use any

Re: missing HexString documentation

2018-02-07 Thread Ali Çehreli via Digitalmars-d
On 02/07/2018 09:01 AM, Adam D. Ruppe wrote: > But for octal? It was a mistake. We should have just made it 0o. It sounds so natural. I forgot; what was the argument against it? Ali

Re: The daily D riddle

2018-01-27 Thread Ali Çehreli via Digitalmars-d
On 01/27/2018 10:25 PM, Shachar Shemesh wrote: What will the following code print? Do not use the compiler: import std.stdio; struct A { int a = 1; void initialize() {     a = a.init; } } void main() { A a; a.initialize(); writeln(a.a); } I find this behav

Re: The most confusing error message

2018-01-24 Thread Ali Çehreli via Digitalmars-d
On 01/24/2018 05:36 AM, Jonathan M Davis wrote: > It's probably > a result of whatever code generating the error message being shared between > explicit templates and other sorts of templates where the template keyword > isn't used, and it doesn't handle the non-explicit templates very well.

Re: gRPC in D good idea for GSOC 2018?

2018-01-19 Thread Ali Çehreli via Digitalmars-d
On 01/19/2018 02:14 AM, yawniek wrote: > Just look how > beautiful Golangs protocol implementations are and the whole ecosystem > that focused effort spawned. I agree and do have first-hand experience with that but I'm not experienced enough in this field to come up with a modern solution. If

Re: [theory] What is a type?

2018-01-15 Thread Ali Çehreli via Digitalmars-d
On 01/15/2018 10:58 AM, Jonathan Marler wrote: > On Sunday, 10 October 2010 at 12:28:32 UTC, Justin Johansson wrote: > I'm getting "nostalgia" from all the math terminology :) Just the date of the post you're responding to is sufficient for "nostalgia". ;) Ali

gRPC in D good idea for GSOC 2018?

2018-01-15 Thread Ali Çehreli via Digitalmars-d
I know a project where D could benefit from gRPC in D, which is not among the supported languages: https://grpc.io/docs/ Do you think gRPC support is worth adding to GSOC 2018 ideas? https://wiki.dlang.org/GSOC_2018_Ideas Ali

Re: Some Observations on the D Development Process

2018-01-12 Thread Ali Çehreli via Digitalmars-d
On 01/11/2018 02:15 PM, Johan Engelen wrote: And I've been working for a long time on a fuzzing article. It's almost done! - Johan A fuzzy font would suit that article. :o) Ali

Re: Test case available for issue 15206

2018-01-09 Thread Ali Çehreli via Digitalmars-d
On 01/09/2018 01:33 PM, H. S. Teoh wrote: > On Tue, Jan 09, 2018 at 09:08:11PM +, Brian Schott via Digitalmars-d wrote: > [...] >> I'm posting here so that this doesn't get lost in the bug tracker. > [...] > > This made me smile and cringe at the same time. I took it as Brian Schott humor r

Re: AliasSeq seems to compile slightly faster with static foreach

2018-01-08 Thread Ali Çehreli via Digitalmars-d
On 01/07/2018 06:20 PM, Jonathan M Davis wrote: > I misremembered how iota worked with a single > argument; I thought that iota(0) created an infinite range, whereas it > creates a zero-length range. I told you so! :) I remember pointing out that specific inconsistency of iota, I think in the

Re: D needs to publicize its speed of compilation

2018-01-02 Thread Ali Çehreli via Digitalmars-d
On 01/02/2018 10:13 AM, H. S. Teoh wrote: > As you can see, I made File into a template parameter so that the > unittest can simulate a virtual filesystem with a struct All I'm hearing is "blah blah blog." ;) Ali

Re: Maybe D is right about GC after all !

2017-12-20 Thread Ali Çehreli via Digitalmars-d
On 12/20/2017 01:14 AM, Paulo Pinto wrote: > from developers that learned it before C++98 and > can't care less what is being discussed on Reddit and HN. I don't blame them one bit because keeping up with C++ and learning C++ Core Guidelines is a tremendous task: https://github.com/isocpp/Cp

Re: Maybe D is right about GC after all !

2017-12-20 Thread Ali Çehreli via Digitalmars-d
On 12/20/2017 09:05 AM, Tony wrote: > how a garbage collector determines that there usage is just via > each other and that they can be deleted. Similar to the PHP link Dgame posted, the GC looks for live objects by starting from roots (essentially, the objects on the stack and the static vari

Re: Is it possible to request a code review?

2017-12-13 Thread Ali Çehreli via Digitalmars-d
On 12/13/2017 07:57 PM, IM wrote: > - Is this the idiomatic way to define a singleton in D?: > https://gitlab.com/3d_immortal/libdtasks/blob/master/src/tasks/TaskSystem.d#L24. > I got this from Ali's book. I think you got it from Adam D. Ruppe's book. David Simcha's DConf 2013 presenta

Help needed with 32-bit OSX druntime test failure

2017-12-13 Thread Ali Çehreli via Digitalmars-d
A test program I added to core/thread.d as a part of a pull request fails with only the 32-bit Darwin (OSX) tests: https://github.com/dlang/druntime/pull/1989 Here is the bug: https://issues.dlang.org/show_bug.cgi?id=18063 I was able to reproduce the issue on a MacBook Pro. Unfortunately,

Re: Is it possible to request a code review?

2017-12-12 Thread Ali Çehreli via Digitalmars-d
On 12/12/2017 07:15 PM, IM wrote: I started learning D recently. Welcome! There is also the Learn newsgroup[1]. ;) Ali [1] Available through a forum interface here: http://forum.dlang.org/group/learn

Re: Druntime and non-D threads

2017-12-12 Thread Ali Çehreli via Digitalmars-d
On 12/11/2017 07:18 PM, Joakim wrote: > On Friday, 8 December 2017 at 09:33:03 UTC, Ali Çehreli wrote: >> I failed to find a way for Druntime to be resilient when such threads >> disappear. For example, the registered cleanup handler in thread.d is >> called only for cance

Re: Druntime and non-D threads

2017-12-11 Thread Ali Çehreli via Digitalmars-d
On 12/11/2017 08:58 AM, Mengu wrote: > On Monday, 11 December 2017 at 16:25:42 UTC, Ali Çehreli wrote: >> On 12/08/2017 02:54 AM, Nemanja Boric wrote: >>> [...] >> >> So, in cases where D is just a portable library, the only sane thing >> to do seems to b

Platform-dependent tests for druntime

2017-12-11 Thread Ali Çehreli via Digitalmars-d
Since I don't have access to Windows, OS X, etc. systems nor have I expertise in them, I don't trust myself to write core.thread tests for anything but Posix. What to do for non-Posix systems? I'm tempted to wrap the entire test code with version(Posix) but it will give the wrong impression th

Re: Druntime and non-D threads

2017-12-11 Thread Ali Çehreli via Digitalmars-d
On 12/08/2017 02:54 AM, Nemanja Boric wrote: On Friday, 8 December 2017 at 09:33:03 UTC, Ali Çehreli wrote: 5) We depend on SIGUSR1 (and SIGUSR2, which may not be necessary but it's a different topic) to suspend non-D threads. Does that work with all threads? What if the calling framewor

Re: Druntime and non-D threads

2017-12-11 Thread Ali Çehreli via Digitalmars-d
On 12/08/2017 04:23 AM, Guillaume Piolat wrote: >> Every D api call must call thread_attachThis > I advise to make a RAII struct you will put in any accessible callback, which deals with this Of course. :) That's how I've been trying to use. > IMHO thread_detachThis *must* be called at entry

Re: Druntime and non-D threads

2017-12-11 Thread Ali Çehreli via Digitalmars-d
On 12/08/2017 02:53 AM, Kagamin wrote: You can create a D thread an send request to it. That's a good idea. Thanks. Ali

Druntime and non-D threads

2017-12-08 Thread Ali Çehreli via Digitalmars-d
I'm trying to use D as a library to be called from a non-D environment e.g. Java runtime. If I'm not mistaken, it's quite difficult and perhaps impossible to use GC in such a scenario. It works as long as attached threads don't go away either by themselves or by thread_detachThis. My setup is

Re: Post about comparing C, C++ and D performance with a real world project

2017-12-07 Thread Ali Çehreli via Digitalmars-d
On 12/07/2017 03:07 PM, Iain Buclaw wrote: On 7 December 2017 at 23:39, Daniel Kozak wrote: The other slowdown is caused by concatenation. Because std::string += is more simillar to std.array.(Ref)Appender Correct. The semantics of ~= mean that the memory is copied around to a new allocatio

Re: What does the following program do?

2017-12-05 Thread Ali Çehreli via Digitalmars-d
On 12/05/2017 06:11 AM, Shachar Shemesh wrote: > "move" was supposed to initialize "source" to init. This does not appear > to be the case. Is that a bug? Where? The same issue came up recently in the learn group regarding moveFront(). The documentation fails to mention that the .init behavior

Re: Looking for a job in USA

2017-11-28 Thread Ali Çehreli via Digitalmars-d
On 11/28/2017 09:03 PM, bauss wrote: >> It certainly looks like at least one post has been deleted >> >> So it must be possible afterall ;-) > > People would still have it locally if they don't use the online forums. It depends on the settings of the NNTP client too. Thunderbird can list a spam

Re: tour.dlang.org is less than useless

2017-11-27 Thread Ali Çehreli via Digitalmars-d
On 11/27/2017 06:08 PM, codephantom wrote: Why do we have this link? https://tour.dlang.org I cannot recall it ever working. (is it just something at my end?) What is it meant to take us to? I remember needing to refresh the page in the browser. I don't know what class of page modificati

"body" can be a symbol and "do" has another use

2017-11-27 Thread Ali Çehreli via Digitalmars-d
On 11/19/2017 04:54 AM, Basile B. wrote: > After testing some code with i've indeed observed that the transition > period for `do` had started... > > "since when ?" i've wondered. > > Good question, it's even not in the changelog: Same here! I learned about this in a D snippet in an article on c

Re: D jobs?

2017-11-25 Thread Ali Çehreli via Digitalmars-d
On 11/25/2017 05:16 AM, Tofu Ninja wrote: >if anyone is in the bay area and is in a position to higher I'm not in a position to hire but I know networking is very effective in finding jobs. https://www.meetup.com/D-Lang-Silicon-Valley/ Just saying... ;) Ali

Re: DConf 2018 Logo

2017-11-17 Thread Ali Çehreli via Digitalmars-d
On 11/17/2017 02:50 PM, user1234 wrote: > On Thursday, 16 November 2017 at 23:03:10 UTC, H. S. Teoh wrote: >> On Thu, Nov 16, 2017 at 08:21:41PM +, user1234 via Digitalmars-d >> wrote: >>> On Thursday, 16 November 2017 at 14:11:22 UTC, Dukc wrote: >>> > On Wednesday, 15 November 2017 at 14:56:

Re: a linking error very hard to understand and solve...

2017-11-02 Thread Ali Çehreli via Digitalmars-d
On 11/02/2017 05:54 AM, Jean-Yves Vion-Dury wrote: On Thursday, 2 November 2017 at 11:54:51 UTC, Biotronic wrote: Is LRMSFiber the same type in all these cases? That is, do you have a type called LRMSFiber in more than one file? Yes, it appears first in an interface (inside a module/file)

Re: Adding syntacti sugar for simple "readonly" attribute ?

2017-10-26 Thread Ali Çehreli via Digitalmars-d
On 10/26/2017 02:19 PM, LunaticWare wrote: > i don't know if this is the correct way to suggest enhancement to D, Improvement proposals are handled through DIPs here: https://github.com/dlang/DIPs > so maybe we could add syntactic sugar for "readonly" attributes. There is the following proj

Re: Note from a donor

2017-10-24 Thread Ali Çehreli via Digitalmars-d
On 10/24/2017 09:37 AM, H. S. Teoh wrote: > On Tue, Oct 24, 2017 at 09:20:10AM -0400, Andrei Alexandrescu via Digitalmars-d wrote: >> A person who donated to the Foundation made a small wish list known. >> Allow me to relay it: >> >> * RSA Digital Signature Validation in Phobos > [...] > > This

Re: gdc is in

2017-10-08 Thread Ali Çehreli via Digitalmars-d
On 10/08/2017 10:49 AM, Jack Applegame wrote: On Sunday, 8 October 2017 at 08:38:15 UTC, Iain Buclaw wrote: Donating for the upkeep of our infrastructure is also welcome. ;-) How to do this? You can donate to the foundation: https://dlang.org/foundation.html This is the donation page:

Re: Proposal: Object/?? Destruction

2017-10-04 Thread Ali Çehreli via Digitalmars-d
On 10/04/2017 05:06 AM, John Colvin wrote: > People often call this "destructuring" Thanks! Now it makes sense. :) Ali

Re: Finding class template instantiations via runtime reflection (for openmethods)

2017-09-22 Thread Ali Çehreli via Digitalmars-d
On 09/22/2017 05:16 AM, Steven Schveighoffer wrote: > On 9/21/17 4:32 PM, Jean-Louis Leroy wrote: >> it seems that classes that >> come from class template instantiations are not registered in >> ModuleInfo > I would say it's a bug. > > -Steve I think so too. I wanted to hear it from Steve firs

OT: Updating "Organizations using the D Language" page

2017-09-17 Thread Ali Çehreli via Digitalmars-d
On 09/16/2017 12:38 PM, Answar Enchali wrote: > I work for a company Eco-Médias Tech and we would like to invest in > adding D support to our current in house IDE. It would be nice if you don't mind adding your company to the following page. https://dlang.org/orgs-using-d.html Thanks, Ali

Re: Known reasons why D crashes without any message?

2017-09-14 Thread Ali Çehreli via Digitalmars-d
On 09/13/2017 03:20 AM, Thorsten Sommer wrote: > No stack trace, no exception, nothing. Maybe the OOM Killer if running on Linux. Ali

Re: D-Man emoji

2017-09-12 Thread Ali Çehreli via Digitalmars-d
It looks like dlang comic strips now continue on twitter: https://dlangcomicstrips.tumblr.com/ Ali

Re: static foreach issues

2017-09-05 Thread Ali Çehreli via Digitalmars-d
On 09/05/2017 07:05 PM, Psychological Cleanup wrote: > Nesting static foreach and using enum has latent problem. > > static foreach() > static foreach() > { > enum A = ; > } > > compiler complains because A is defined multiple times by the outer most > foreach. That's understandable as

Re: D vs Rust

2017-09-05 Thread Ali Çehreli via Digitalmars-d
On 09/04/2017 08:13 AM, Eljay wrote: > the original language was Object Pascal. Just a random connection: Bastiaan Veelo's DConf presentation was about parsing Extended Pascal. http://dconf.org/2017/talks/veelo.html > Sorry if I didn't express myself clearly. I agree that D rocks! :p Ali

Re: D vs Rust

2017-09-03 Thread Ali Çehreli via Digitalmars-d
On 09/03/2017 11:26 AM, Eljay wrote: > I put D on the list. Been there, done that. Decision makers rationalize any other choice pretty easily: - Python is 20 times slower: "We don't need speed." - Python has a global lock: "We will start RESTful separate processes." - Python's memory foot p

Re: enum pointers or class references limitation

2017-09-01 Thread Ali Çehreli via Digitalmars-d
On 09/01/2017 11:48 AM, Dmitry Olshansky wrote: > On Thursday, 31 August 2017 at 14:28:57 UTC, Ali Çehreli wrote: >> On 08/31/2017 01:52 AM, Nicholas Wilson wrote: >> >>> I think Timon is referring to: >>> >>> enum int[] foo = [1,2,3]; >>> >

Re: enum pointers or class references limitation

2017-08-31 Thread Ali Çehreli via Digitalmars-d
On 08/31/2017 01:52 AM, Nicholas Wilson wrote: I think Timon is referring to: enum int[] foo = [1,2,3]; auto bar = foo; auto baz = foo; assert(!(bar is baz)); // Passes Even better: enum int[] foo = [1,2,3]; assert(!(foo is foo)); // Passes Ali

Re: Community Rant

2017-08-23 Thread Ali Çehreli via Digitalmars-d
On 08/22/2017 08:24 AM, ixid wrote: On Tuesday, 22 August 2017 at 15:14:33 UTC, Jonathan Shamir wrote: various. Out of interest did you pick up D before or after joining the start up? If before did you introduce D to them or were they already using it? Weka uses D after their CTO Liran's eva

Re: Exception chaining and collectException

2017-08-21 Thread Ali Çehreli via Digitalmars-d
On 08/19/2017 01:58 PM, Nemanja Boric wrote: C++ also provides a way to inspect if you're in the middle of the stack unwinding caused by an exception, to make this a bit more controllable, and I would think we should provide the similar primitive: http://en.cppreference.com/w/cpp/error/uncaught_

Re: Exception chaining and collectException

2017-08-21 Thread Ali Çehreli via Digitalmars-d
On 08/17/2017 02:48 PM, H. S. Teoh via Digitalmars-d wrote: > So the question becomes, why does the catch block *not* > catch the instance of MyException when another exception is in transit?! I caught (!) the same or similar behavior last year: https://issues.dlang.org/show_bug.cgi?id=16177

Re: Fix D's segfaults!

2017-08-20 Thread Ali Çehreli via Digitalmars-d
On 08/20/2017 12:14 PM, Johnson Jones wrote: >>> Dmd needs to be modified so that errors try to show from the source >>> code. This should be obvious the reasons, if it is not possible, make >>> it possible! There are no excuses why dmd should make me go on an >>> easter egg hunt when a seg fault

Re: Is there a cleaner way of doing this?

2017-08-07 Thread Ali Çehreli via Digitalmars-d
On 08/07/2017 01:01 AM, Shachar Shemesh wrote: It is often desired to have a struct with an extra parameter. The common way to do this is like so: struct S(T) { T param; void initialize(T param) { this.param = param; // Other stuff } } The problem is what happens wh

Re: [OT] Bitcoin's Split Is Good for Progress

2017-08-02 Thread Ali Çehreli via Digitalmars-d
On 08/02/2017 09:21 AM, jmh530 wrote: I was surprised to see a familiar name here: https://www.bloomberg.com/view/articles/2017-08-02/bitcoin-s-split-is-good-for-progress "They -- led by former Facebook developer Amaury Sechet -- moved ahead with new software that would increase the maximum b

[OT] Alternative to Thunderbird (was: Re: NG technical issues: Is it just me?)

2017-08-01 Thread Ali Çehreli via Digitalmars-d
On 08/01/2017 09:58 AM, Mike Wey wrote: The errors seem to be getting more frequent lately. But i nog also get these errors on the GtkD newsgroup (vibenews) so it might be a Thunderbird issue. Is anybody getting the errors with a different client? Is there a better (lightweight, more stable,

Re: D client for ROS

2017-07-30 Thread Ali Çehreli via Digitalmars-d
On 07/29/2017 03:21 AM, Johan Engelen wrote: Hi all, Are there any robot folks out here that are working with ROS and would be able to work on creating a D client library for it? ROS is used a lot at our university and in robot research in general, and most people use the C++ client (the main

Re: How do you use D?

2017-07-28 Thread Ali Çehreli via Digitalmars-d
On 07/28/2017 11:02 AM, Anton Fediushin wrote: > not with Go/Rust. They're good programming languages I really don't want to be in a position to diss other languages but with some experience, I can tell you that I agree with blog posts about Go being a disservice to programmers.[1] It is a go

Re: Problem while copy Array Element to variable

2017-07-25 Thread Ali Çehreli via Digitalmars-d
On 07/25/2017 10:11 AM, Ali Çehreli wrote: int var; auto var = myarray[0]; // it assign 50 to var Remove that 'auto' please. Apparently, I edited my message instead of code. :p Ali

Re: Problem while copy Array Element to variable

2017-07-25 Thread Ali Çehreli via Digitalmars-d
On 07/25/2017 09:14 AM, Zaheer Ahmed wrote: > My Dynamic array completely work good but when assign it's one index to > a variable, it's saves ASCII of that index. > writeln(myarray); // output 24 > var = myarray[0]; // it assign 50 to var > Why changed to ASCII and how to get rid of. First, just

Floating point operator <> and friends

2017-07-22 Thread Ali Çehreli via Digitalmars-d
Are the following floating operators gone? !> !< !>= !<= <> !<> <>= !<>= They still appear at least on the following pages: http://dlang.org/spec/lex.html#tokens https://wiki.dlang.org/Operator_precedence Thanks to Andrew Edwards's warning and unless someone objects, I'm removing them

  1   2   3   4   5   6   7   8   9   10   >