Re: LinkedIn Article to be: Why you need to start moving off C/C++ to D, now.

2014-07-14 Thread Puming via Digitalmars-d
and the one from Walter: http://www.drdobbs.com/architecture-and-design/component-programming-in-d/240008321 you can see more links that I collected here: https://github.com/zhaopuming/awesome-d On Tuesday, 15 July 2014 at 03:46:40 UTC, Meta wrote: On Monday, 14 July 2014 at 23:22:54 UTC, J

Re: Continuous integration testing with travis and drone

2014-07-16 Thread Puming via Digitalmars-d
On Wednesday, 16 July 2014 at 04:11:28 UTC, Kapps wrote: On Wednesday, 16 July 2014 at 03:31:13 UTC, Pavel Evstigneev wrote: May I improve forum to support markdown? The forum is actually an interface to a newsgroup, so most forms of markdown would not be supported in the interest of having

Re: Behaviour of AAs after initialization

2014-08-07 Thread Puming via Digitalmars-d
On Thursday, 7 August 2014 at 16:53:24 UTC, H. S. Teoh via Digitalmars-d wrote: On Thu, Aug 07, 2014 at 11:46:48AM +, via Digitalmars-d wrote: AAs are (like regular dynamic arrays) initialized to `null`. On first modification (i.e. assignment of an element), memory is allocated and the AA

Re: Behaviour of AAs after initialization

2014-08-07 Thread Puming via Digitalmars-d
On Thursday, 7 August 2014 at 18:05:15 UTC, H. S. Teoh via Digitalmars-d wrote: On Thu, Aug 07, 2014 at 05:42:28PM +, via Digitalmars-d wrote: On Thursday, 7 August 2014 at 17:35:46 UTC, Puming wrote: >So I'd like to suggest a rule here similar to what assignment >does to >null AA: > >If s

Re: Behaviour of AAs after initialization

2014-08-07 Thread Puming via Digitalmars-d
On Thursday, 7 August 2014 at 17:42:29 UTC, Marc Schütz wrote: On Thursday, 7 August 2014 at 17:35:46 UTC, Puming wrote: So I'd like to suggest a rule here similar to what assignment does to null AA: If someone refers to an uninitialized null AA ( in implementation, that maybe, a copy of a nu

Clojure transducers

2014-08-30 Thread Puming via Digitalmars-d
Clojure is introducing a new way of composing functions (reducers this time), called transducers. It looks similar to composition/binding of functions, but somehow different. My functional-fu is not that deep to understand the statement "transducers are as fundamental as function composition" b

Re: D in my trashbin

2014-10-24 Thread Puming via Digitalmars-d
The only OS that I found problematic with the dmd zip is CentOS 5.8, all other systems I've tried: Centos 6.x, Ubuntu, Windows, MacOS, they all work perfectly. On Friday, 24 October 2014 at 02:42:13 UTC, frustrated wrote: Two days later and I still cant get a 'Hello World' to compile. It is f

Re: D3

2014-12-09 Thread Puming via Digitalmars-d
On Tuesday, 9 December 2014 at 05:04:35 UTC, Jeremy DeHaan wrote: On Tuesday, 9 December 2014 at 03:52:01 UTC, ketmar via Digitalmars-d wrote: On Mon, 08 Dec 2014 21:08:03 + Brad Anderson via Digitalmars-d wrote: On Monday, 8 December 2014 at 20:21:51 UTC, Andrej Mitrovic via Digitalmar

Re: Ref counting for CTFE?

2014-05-29 Thread Puming via Digitalmars-d
On Thursday, 29 May 2014 at 20:44:43 UTC, Dicebot wrote: I'd love to see command-line flag that enables garbage collection in compiler (disabled by default). It does not matter how fast compiler is if it crashes on big project. And difference between 10 seconds vs 30 seconds is not as importan

Re: Redesign of dlang.org

2014-06-10 Thread Puming via Digitalmars-d
On Tuesday, 10 June 2014 at 11:09:41 UTC, Jacob Carlborg wrote: On 10/06/14 10:12, Sönke Ludwig wrote: But yes, it's definitely not what you want to have for D. I'm not sure how much can be done about that, though - except from rewriting the CTFE engine with performance in mind (maybe even usi

Re: critique of vibe.d

2014-07-08 Thread Puming via Digitalmars-d
Vibe.d is more like a base library for async I/O, networking and concurrency, a full stack WEB framework should be built on top of it which focus on application development and ease of use for newcomers. Sonke has said that too. Vibe.d should focus on performance, networking, and other lowerlev

Re: critique of vibe.d

2014-07-08 Thread Puming via Digitalmars-d
Also, in playframework, vert.x and nodejs, they all have a plugin/module system, that people could easily compose plugins to make a website. (I call it plugin because that is what play used to call it, now they all call it a module but that name will easily conflict with D's sourcecode modules)

Re: critique of vibe.d

2014-07-08 Thread Puming via Digitalmars-d
On Wednesday, 9 July 2014 at 01:13:39 UTC, Nick Sabalausky wrote: On Tuesday, 8 July 2014 at 20:39:23 UTC, Andrei Alexandrescu wrote: There's been some discussion about vibe.d recently on reddit (e.g. http://www.reddit.com/r/programming/comments/2a20h5/wired_magazine_discovers_d/cir9443) and I

Re: Opportunities for D

2014-07-08 Thread Puming via Digitalmars-d
On Tuesday, 8 July 2014 at 21:22:31 UTC, Walter Bright wrote: 7. "D-Routines" - goroutines for D Goroutines are the killer feature of Go for a number of sensible people. We pretty much have this already with fibers, but what is lacking is a scheduler, which will take some effort, and a "Ch

Re: Opportunities for D

2014-07-10 Thread Puming via Digitalmars-d
On Thursday, 10 July 2014 at 11:19:26 UTC, Dicebot wrote: On Thursday, 10 July 2014 at 11:03:20 UTC, logicchains wrote: Are there any tutorials or blog posts out there demonstrating how to use this? I think posts along the lines of "This is a CSP/message passing program in Go/Erlang. This is th

Re: The object operator

2015-08-13 Thread puming via Digitalmars-d
On Friday, 14 August 2015 at 04:17:25 UTC, TheHamster wrote: assert(@@myObj.Do(3).Do(@).Do(@2) == 9); If what you want is to omit the object during the call chain, you can use with statement to mimic this feature, though not as compact as you suggested: ``` import std.stdio; class MyCla

Re: Type helpers instead of UFCS

2015-09-13 Thread Puming via Digitalmars-d
On Sunday, 13 September 2015 at 14:37:36 UTC, Kagamin wrote: On Saturday, 12 September 2015 at 21:04:47 UTC, BBasile wrote: You've got the idea. IDE plugins can not decently provide completion based on the UFCS possibilities. It's possible, just not implemented yet. Mono-d seems to have expe

Re: What are you planning for 2016?

2016-01-06 Thread Puming via Digitalmars-d
On Tuesday, 5 January 2016 at 12:27:12 UTC, Ola Fosheim Grøstad wrote: I wonder what kind of programming people plan or _hope_ to use D for in 2016? Do you have plans to: 8. or something else? What other languages do you think you will use or toy with in 2016 and for what purpose? What w

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

2016-01-13 Thread Puming via Digitalmars-d
On Wednesday, 13 January 2016 at 06:01:41 UTC, Vladimir Panteleev wrote: http://beta.forum.dlang.org/ https://github.com/CyberShadow/DFeed/pull/51 My 2 cents: 1. The left side bar is too wide. The content pane should be wider. 2. The "Group" column is too wide. 3. The "Last Post" column is

Re: [dlang.org] new forum design

2016-01-18 Thread Puming via Digitalmars-d
On Monday, 18 January 2016 at 10:20:13 UTC, Vladimir Panteleev wrote: As the new design rolled out on dlang.org, I decided to push the changes on forum.dlang.org as well. From what I gathered from the previous feedback thread, I believe we've addressed the most stringent issues. Once again than

Re: Official compiler

2016-02-24 Thread Puming via Digitalmars-d
On Thursday, 25 February 2016 at 02:48:24 UTC, Walter Bright wrote: On 2/24/2016 6:05 PM, Adam D. Ruppe wrote: I've also heard from big users who want the performance more than compile time and hit difficulty in build scaling.. I know that performance trumps all for many users. But we can ha

Re: The Sparrow language

2016-04-06 Thread Puming via Digitalmars-d
On Wednesday, 6 April 2016 at 13:15:48 UTC, Andrei Alexandrescu wrote: I just got word about Sparrow (from its creator no less): presentation_offline_Sparrow.pdf - https://db.tt/m2WwpxIY Speak.mp4 - https://db.tt/RDmrlEu7 ThesisLucTeo.pdf - https://db.tt/1ylGHuc1 An interesting language that sh

Re: The Sparrow language

2016-04-06 Thread Puming via Digitalmars-d
On Wednesday, 6 April 2016 at 20:42:27 UTC, Lucian Radu Teodorescu wrote: On Wednesday, 6 April 2016 at 14:54:18 UTC, Puming wrote: On Wednesday, 6 April 2016 at 13:15:48 UTC, Andrei Alexandrescu wrote: [...] Interesting. I've thinking about concepts too. Hopefully they could come into D. Ac

Re: Blocking points for further D adoption

2016-07-06 Thread Puming via Digitalmars-d
On Friday, 1 July 2016 at 00:08:51 UTC, dalailambda wrote: On Thursday, 30 June 2016 at 23:48:29 UTC, Mike Parker wrote: DMD *is* the official compiler. That's what a reference compiler is. The other compilers are there for those who want them and are developed independently of DMD. It's no dif

Re: Replace/Rename DWT forum with GUIs forum?

2016-10-26 Thread Puming via Digitalmars-d
On Thursday, 22 September 2016 at 05:48:42 UTC, Vadim Lopatin wrote: On Sunday, 18 September 2016 at 23:21:26 UTC, Gerald wrote: I would like to suggest that the existing DWT forum be renamed or replaced with a more generic GUIs forum. As far as I can tell, the DWT forum doesn't get much traffi

Re: Internal error on Wiki page

2017-02-08 Thread Puming via Digitalmars-d
On Wednesday, 8 February 2017 at 02:19:23 UTC, Ali Çehreli wrote: On 02/06/2017 06:43 PM, Luís Marques wrote: This page shows an error instead of displaying the Wiki content: [54c97baea4172eeabd69f522] 2017-02-06 13:47:44: Fatal exception

Re: code.dlang.org internal server error

2017-02-08 Thread puming via Digitalmars-d
On Wednesday, 8 February 2017 at 14:11:48 UTC, Sönke Ludwig wrote: Am 08.02.2017 um 14:29 schrieb singingbush: [...] Yes, we need to prioritize this somehow. Having a fallback mirror, coupled with dependency upgrade checks that run asynchronously would get rid of these issues. It would be gr

Re: code.dlang.org internal server error

2017-02-09 Thread puming via Digitalmars-d
On Thursday, 9 February 2017 at 10:54:05 UTC, Sönke Ludwig wrote: Am 09.02.2017 um 03:34 schrieb puming: On Wednesday, 8 February 2017 at 14:11:48 UTC, Sönke Ludwig wrote: [...] I have a VPS slot in Hong Kong for personal use, with 1GB memory, 30GB disk and 300GB monthly bandwidth. Is that

Re: code.dlang.org internal server error

2017-02-09 Thread puming via Digitalmars-d
On Thursday, 9 February 2017 at 12:19:12 UTC, Daniel Kozák wrote: V Thu, 9 Feb 2017 11:54:05 +0100 Sönke Ludwig via Digitalmars-d napsáno: [...] In general issue is not with connectivity to China but with GFW (https://en.wikipedia.org/wiki/Great_Firewall), So you would need some VPS insid

Re: Announcing libasync, a cross-platform D event loop

2014-09-24 Thread Zhao Puming via Digitalmars-d
Great work Etienne! will libasync make it into phobos? On Wednesday, 24 September 2014 at 13:13:34 UTC, Etienne wrote: It's finally here: https://github.com/etcimon/libasync We all know how event loops are the foundation of more popular libraries Qt and Nodejs.. we now have a natively compili