Re: Best Practice to manage large projects with dub?

2022-05-14 Thread Salih Dincer via Digitalmars-d-learn
On Friday, 13 May 2022 at 17:51:55 UTC, Ozan Süel wrote: Hi My situation: I'm working on and with many projects based on many libraries. I know how to handle these in Git, GitHub and Dub. But what would be the Best Practice in current dub? [...] I think you should stay away from Dub on big

Re: What are (were) the most difficult parts of D?

2022-05-14 Thread eugene via Digitalmars-d-learn
On Saturday, 14 May 2022 at 16:08:34 UTC, rikki cattermole wrote: On 15/05/2022 4:00 AM, eugene wrote: The more I have studied memory allocators & management strategies memory allocators and GC are different things i've had at some point 'free list' based allocator and it worked ~3 times

Re: What are (were) the most difficult parts of D?

2022-05-14 Thread rikki cattermole via Digitalmars-d-learn
On 15/05/2022 4:00 AM, eugene wrote: The more I have studied memory allocators & management strategies memory allocators and GC are different things i've had at some point 'free list' based allocator and it worked ~3 times faster than malloc/free when used for classical linked list

Re: What are (were) the most difficult parts of D?

2022-05-14 Thread eugene via Digitalmars-d-learn
On Saturday, 14 May 2022 at 15:04:55 UTC, rikki cattermole wrote: Garbage Collectors solve some really hard problems in regards to memory management. i've *never* encountered "really hard problems" with manual memory management in C. It is a very good base line for memory management when

Re: What are (were) the most difficult parts of D?

2022-05-14 Thread rikki cattermole via Digitalmars-d-learn
On 15/05/2022 2:51 AM, eugene wrote: On Wednesday, 11 May 2022 at 05:41:35 UTC, Ali Çehreli wrote: What are you stuck at? What was the most difficult features to understand? etc. Garbage collection. I am not programming languages theorist at at, but my imression is: * GC came from purely

Re: What are (were) the most difficult parts of D?

2022-05-14 Thread eugene via Digitalmars-d-learn
On Wednesday, 11 May 2022 at 05:41:35 UTC, Ali Çehreli wrote: What are you stuck at? What was the most difficult features to understand? etc. Garbage collection. I am not programming languages theorist at at, but my imression is: * GC came from purely functional languages where everything

Re: FTP LS

2022-05-14 Thread ikod via Digitalmars-d-learn
On Saturday, 14 May 2022 at 08:42:46 UTC, Anonymouse wrote: Before I go on duplicating effort, does anyone have anything that can access FTP beyond PUT and GET? I need to read file information from a NAS so I know if I should upload a file or not. `dlang-requests` has `Request.post` and

Re: What are (were) the most difficult parts of D?

2022-05-14 Thread zjh via Digitalmars-d-learn
On Saturday, 14 May 2022 at 12:46:45 UTC, frame wrote: Every larger app with a news feed also has possibility to categorize/filter it. I think we can set up a special `web page` to collect `good posts` and classify them according to `'author/category/label'`, and its content can be

Re: What are (were) the most difficult parts of D?

2022-05-14 Thread zjh via Digitalmars-d-learn
On Saturday, 14 May 2022 at 08:51:24 UTC, H. S. Teoh wrote: The D wiki could be used for this purpose. Many of your posts are very good. I like them very much. Thank you. I haven't played with `wiki`. However, Maybe we can `organize and display` good posts according to

Re: What are (were) the most difficult parts of D?

2022-05-14 Thread frame via Digitalmars-d-learn
On Saturday, 14 May 2022 at 04:31:48 UTC, zjh wrote: D forum should add a "`author delete`" function. Likewise, each post could add something like `votes` , good posts will naturally `come out` and be collected together. It's really convenient for beginners of `d`. This way, the similar

Re: FTP LS

2022-05-14 Thread ikod via Digitalmars-d-learn
On Saturday, 14 May 2022 at 10:17:14 UTC, ikod wrote: On Saturday, 14 May 2022 at 08:42:46 UTC, Anonymouse wrote: Before I go on duplicating effort, does anyone have anything that can access FTP beyond PUT and GET? I need to read file information from a NAS so I know if I should upload a

Re: FTP LS

2022-05-14 Thread ikod via Digitalmars-d-learn
On Saturday, 14 May 2022 at 08:42:46 UTC, Anonymouse wrote: Before I go on duplicating effort, does anyone have anything that can access FTP beyond PUT and GET? I need to read file information from a NAS so I know if I should upload a file or not. `dlang-requests` has `Request.post` and

Re: FTP LS

2022-05-14 Thread rikki cattermole via Digitalmars-d-learn
Phobos curl wrapper may be an option: https://dlang.org/phobos/std_net_curl.html#.FTP

Re: What are (were) the most difficult parts of D?

2022-05-14 Thread H. S. Teoh via Digitalmars-d-learn
On Sat, May 14, 2022 at 04:39:33AM +, zjh via Digitalmars-d-learn wrote: > On Saturday, 14 May 2022 at 04:31:48 UTC, zjh wrote: > > > Likewise, each post could add something like `votes` , > > Or something like all kinds of `tags` such as > `range/fiber/commandline/auto ref/in/...`. > >

FTP LS

2022-05-14 Thread Anonymouse via Digitalmars-d-learn
Before I go on duplicating effort, does anyone have anything that can access FTP beyond PUT and GET? I need to read file information from a NAS so I know if I should upload a file or not. `dlang-requests` has `Request.post` and `Request.get`, but seemingly no way to LS.