Re: a tutorial on Vibe.d
On Wednesday, 27 October 2021 at 03:05:13 UTC, Rey Valeza wrote: I created a tutorial on Vibe.d in PDF form for download earlier this year. I don't recommend reading it online; downloading the file would be better. Would appreciate if you give me your feedback. Here it is: https://github.com/reyvaleza/vibed/blob/main/BuildWebAppsinVibe.pdf Thanks! I really appreciate this work. The tutorial is really well written. This is the first detail tutorial on vibe.d I have ever come across,you did a very good job. Thanks a lot
Re: DConf Online 2020 Schedule Change
On Thursday, 12 November 2020 at 08:34:46 UTC, Mike Parker wrote: On Wednesday, 11 November 2020 at 12:33:44 UTC, Greatsam4sure wrote: Is Andrei not having anything for the community in this dlang online conference? All the talks are in the published schedule. I have checked the list of people giving talks but I did not found Andrei's name, that is why I am asking.
Re: DConf Online 2020 Schedule Change
On Wednesday, 11 November 2020 at 08:43:26 UTC, Mike Parker wrote: On the first day of the conference, we've swapped Robert and Ali's timeslots. Ali's talk is now at 15:20 UTC and Robert's is at 16:40. https://dconf.org/2020/online/index.html Is Andrei not having anything for the community in this dlang online conference?
Re: The ABC's of Templates in D
On Friday, 31 July 2020 at 13:46:43 UTC, Mike Parker wrote: I'm planning to publish several articles and tutorials about D templates over the next few months. As a means of setting the stage, I've published this tutorial on the basics. The blog: https://dlang.org/blog/2020/07/31/the-abcs-of-templates-in-d/ Reddit: https://www.reddit.com/r/programming/comments/i17n5d/the_abcs_of_templates_in_d/ I've got a few more posts on the topic that I intend to write myself, one of which will incorporate Stefan Koch's dive into a template instantiation. But I'm also looking for guest posts demonstrating specific instantiations (heh) of templates in real-world D code. If you've got a code base that uses templates in interesting ways, please get in touch! We do offer a bounty for guest posts, so you can help with a bit of PR and make a bit of cash at the same time. Thanks for this excellent article. It is really needed. I can't wait for the rest part. I will also plead with you to let the articles cover the full capability of the D template while making it simple for a newbie to grab it
Re: Dlang: The Complete D programming Language Course
On Thursday, 23 July 2020 at 01:13:25 UTC, aberba wrote: Found this introductory course from Udemy on D Complete introduction to programming in D. Learn by doing assignments and projects. https://www.udemy.com/course/d-programming-language/ This is lovely. How, wish this training is free.
Re: Visual D 1.0.0 released
On Monday, 13 July 2020 at 10:27:10 UTC, Greatsam4sure wrote: On Monday, 13 July 2020 at 06:48:02 UTC, Rainer Schuetze wrote: On 12/07/2020 23:35, Rainer Schuetze wrote: [...] On second thought: if you installed the SDK after Visual D, the settings in "Tools -> Options -> Projects and Solutions -> Visual D Settings -> DMD directories -> Win32 COFF32 -> Library Paths" might not reflect that (it should contain something like $(WindowsSdkDir)lib\$(WindowsSdkVersion)\um\x86). You can also click "Reset Settings" on the Visual D settings page to correct that. Thanks a lot. I will look into that today thanks a lot. I have to install windows sdk manually and click reset in visual D setting page for the project to compile and run.
Re: Visual D 1.0.0 released
On Monday, 13 July 2020 at 06:48:02 UTC, Rainer Schuetze wrote: On 12/07/2020 23:35, Rainer Schuetze wrote: On 12/07/2020 11:11, greatsam4sure wrote: [...] [...] [...] [...] [...] [...] I suspect you don't have the Windows SDK installed with Visual Studio. user32.lib is usually found in "C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\um\x86", but that path is not passed on the command line with /LIBPATH. On second thought: if you installed the SDK after Visual D, the settings in "Tools -> Options -> Projects and Solutions -> Visual D Settings -> DMD directories -> Win32 COFF32 -> Library Paths" might not reflect that (it should contain something like $(WindowsSdkDir)lib\$(WindowsSdkVersion)\um\x86). You can also click "Reset Settings" on the Visual D settings page to correct that. Thanks a lot. I will look into that today
Re: Release D 2.093.0
On Sunday, 12 July 2020 at 09:04:40 UTC, Martin Nowak wrote: Glad to announce D 2.093.0, ♥ to the 54 contributors. This release comes with a preview for shared variable initialization, template instantiation statistics, better Windows support of the install.sh script, and higher accuracy GC memory options. http://dlang.org/download.html http://dlang.org/changelog/2.093.0.html -Martin Thanks to all the great people behind this great release.The D community hold you, people, a lot.
Re: Visual D 1.0.0 released
On Saturday, 4 July 2020 at 14:42:05 UTC, Manu wrote: This is huge! Congrats on the super cool milestone with a bunch of really great new stuff. Thanks so much for your tireless work Rainer! I wouldn't be here without all your effort on this. On Sat, Jul 4, 2020 at 11:05 PM Rainer Schuetze via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: Hello, after having passed the 10 year anniversary of public availability recently, it is finally time to release version 1.0 of Visual D, the Visual Studio extension that adds D language support to VS 2008-2019. You can find the installer at http://rainers.github.io/visuald/visuald/StartPage.html Highlights from this release: - semantic engine based on dmd front end now enabled by default and updated to 2.092. If you are low on memory or run a 32-bit Windows, you should switch back to the legacy engine. - debugger extension mago will now evaluate struct or class properties (methods or fields) __debugOverview, __debugExpanded and __debugTextView to customize the debugger display. mago can even display forward ranges as a list, but that is currently rather slow, so it is disabled by default (see debugger options). - the bar on the top of the edit window now displays the current edit scope and allows faster navigation within a source file (needs the dmd based engine) - ever wondered how to navigate to the type of a variable declared by `auto` inference? clicking an identifier in a tool tip from intellisense will now jump to its definition (only with the dmd based engine) See https://rainers.github.io/visuald/visuald/VersionHistory.html for the complete list of changes. Cheers, Rainer Each time run visualD project I get this error. I really did not know what i am not doing well. I will appreciate your help Build Log Building Win32\Debug\WindowsApp2.exe Command Line set PATH=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX86\x86;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE;C:\Program Files (x86)\Windows Kits\10\bin;C:\D\dmd-2.093.0\windows\bin;%PATH% set DMD_LIB=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\lib\x86;C:\Program Files (x86)\Windows Kits\10\Lib\10.0.18362.0\ucrt\x86 set VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\ set VCTOOLSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ set VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\ set WindowsSdkDir=C:\Program Files (x86)\Windows Kits\10\ set WindowsSdkVersion=10.0.18362.0 set UniversalCRTSdkDir=C:\Program Files (x86)\Windows Kits\10\ set UCRTVersion=10.0.18362.0 "C:\Program Files (x86)\VisualD\pipedmd.exe" -deps Win32\Debug\WindowsApp2.dep dmd -debug -m32mscoff -g -gf -X -Xf"Win32\Debug\WindowsApp2.json" -c -of"Win32\Debug\WindowsApp2.obj" WindowsApp2.d if %errorlevel% neq 0 goto reportError set LIB=C:\D\dmd-2.093.0\windows\bin\..\lib32mscoff echo. > C:\Users\great\source\repos\WindowsApp2\Win32\Debug\WindowsApp2.link.rsp echo "Win32\Debug\WindowsApp2.obj" /OUT:"Win32\Debug\WindowsApp2.exe" user32.lib >> C:\Users\great\source\repos\WindowsApp2\Win32\Debug\WindowsApp2.link.rsp echo kernel32.lib >> C:\Users\great\source\repos\WindowsApp2\Win32\Debug\WindowsApp2.link.rsp echo legacy_stdio_definitions.lib /LIBPATH:"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\lib\x86" /LIBPATH:"C:\Program Files (x86)\Windows Kits\10\Lib\10.0.18362.0\ucrt\x86" /DEBUG /PDB:"Win32\Debug\WindowsApp2.pdb" /INCREMENTAL:NO /NOLOGO /NODEFAULTLIB:libcmt libcmtd.lib /SUBSYSTEM:CONSOLE >> C:\Users\great\source\repos\WindowsApp2\Win32\Debug\WindowsApp2.link.rsp "C:\Program Files (x86)\VisualD\mb2utf16.exe" C:\Users\great\source\repos\WindowsApp2\Win32\Debug\WindowsApp2.link.rsp "C:\Program Files (x86)\VisualD\pipedmd.exe" -msmode -deps Win32\Debug\WindowsApp2.lnkdep "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX86\x86\link.exe" @C:\Users\great\source\repos\WindowsApp2\Win32\Debug\WindowsApp2.link.rsp if %errorlevel% neq 0 goto reportError if not exist "Win32\Debug\WindowsApp2.exe" (echo "Win32\Debug\WindowsApp2.exe" not created! && goto reportError) goto noError :reportError echo Building Win32\Debug\WindowsApp2.exe failed! :noError Output LINK : fatal error LNK1181: cannot open input file 'user32.lib' Building Win32\Debug\WindowsApp2.exe failed!
Re: Visual D 1.0.0 released
On Wednesday, 8 July 2020 at 01:26:55 UTC, Manu wrote: On Tue, Jul 7, 2020 at 10:00 PM JN via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: On Saturday, 4 July 2020 at 13:00:16 UTC, Rainer Schuetze wrote: > See > https://rainers.github.io/visuald/visuald/VersionHistory.html for the complete list of changes. > > Cheers, > Rainer Anyone who uses VisualD and Code-D can compare the two? (Yes, I know the difference between Visual Studio and Visual Studio Code). The difference is night vs day... VisualD is, by far, like REALLY FAR, the most mature and useful IDE and debug environment for D. TL;DR: if you are a D dev, and you use Windows, you should definitely try Visual Studio + VisualD. I for one couldn't work without it! VodualD is great. I appreciate the people behind it. Great thanks to your all. Setting up visual D is not user friendly. I downloaded visualD+dmd+LDC since version 0.52 I could not run ordinary Hello World. All kind of errors. I seek help on the learn group several times to not help. My experience with visual D is bad. Code-d on the order hand does not take 5mins to set up and you are good to go. It works great. Run your code without and errors. Code-d mirror well the ease of using the D compiler Later on I will post my error here if anybody can help out. Thanks to the authors of visualD and code-d, you people have done great job and should be proud of yourself. You have push D to another level of success and give users great ease of setting up D A million thanks to you alll
Re: LDC 1.22.0
On Tuesday, 16 June 2020 at 20:12:12 UTC, kinke wrote: Glad to announce LDC 1.22 - some highlights: - Based on D 2.092.1+. - AArch64: C(++) interop should now be on par with x86_64, and variadics usable with core.{vararg,stdc.stdarg}. - Windows hosts: Auto-detection & setup of installed Visual C++ toolchains revamped and newly enabled by default. - Complete FreeBSD x86_64 support, incl. CI and prebuilt package. - @weak functions emulation for Windows targets (and fix for ELF targets); no COMDATs emission for ELF anymore. - `pragma(inline, true)` fix when emitting multiple object files in a single cmdline. This may have a significant impact on performance (incl. druntime/Phobos) when not using LTO. - Android: Fix TLS initialization regression (introduced in v1.21) and potential alignment issues. Now defaulting to `-linker=bfd`. Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.22.0 Thanks to all contributors! Thank you for your great service to the D community. Your great work is showing clearly to me that passion itself is a great reward and motivation. Keep on the great work, D deserves the only the top
Re: Quick Start for Hunt Framework!
On Wednesday, 3 June 2020 at 11:05:24 UTC, WebFreak001 wrote: On Wednesday, 3 June 2020 at 07:44:24 UTC, Greatsam4sure wrote: On Wednesday, 3 June 2020 at 05:11:47 UTC, zoujiaqing wrote: Look this: https://github.com/huntlabs/hunt-framework/wiki/Quick-Start Thanks for this. We still need a more detail documentation and better tutorial. For example how do I build my desire ui? Can you guys not discuss with webfreak to add hunt project to code-d, so that anyone can just create a hunt project by a single click? hi, I wanted to add hunt for a while but the project creator is pretty dated code. I would much rather like to remove it from code-d and make a separate more flexible extension for auto generating projects (and update and provide all the templates using an API) Thanks in advance
Re: Quick Start for Hunt Framework!
On Wednesday, 3 June 2020 at 05:11:47 UTC, zoujiaqing wrote: Look this: https://github.com/huntlabs/hunt-framework/wiki/Quick-Start Thanks for this. We still need a more detail documentation and better tutorial. For example how do I build my desire ui? Can you guys not discuss with webfreak to add hunt project to code-d, so that anyone can just create a hunt project by a single click?
Re: Tensorflow wrapper for D
On Sunday, 31 May 2020 at 14:43:46 UTC, 9il wrote: by Shigeki Karita https://github.com/ShigekiKarita/tfd Thanks for this great work. I will give it a try later. Tensorflow im D is whatwhile
Re: Tensorflow wrapper for D
On Sunday, 31 May 2020 at 14:43:46 UTC, 9il wrote: by Shigeki Karita https://github.com/ShigekiKarita/tfd Thanks for this great work. I will give it a try later. Tensorflow in D is worthwhile
Re: Hunt Framework 3.1.0 Released, Web Framework for DLang!
On Monday, 25 May 2020 at 04:16:57 UTC, zoujiaqing wrote: On Friday, 22 May 2020 at 08:44:10 UTC, Greatsam4sure wrote: On Thursday, 21 May 2020 at 16:13:57 UTC, zoujiaqing wrote: [...] A holistic tutorial will help this framework more. The docs are not helpful to me. This is the reason people use vibe because of the better docs, tutorial, and book Thanks watch Hunt Framework! There will be document output next month. It Will be good for the docs to be comprehensive. Tutorials are also highly needed
Re: Hunt Framework 3.1.0 Released, Web Framework for DLang!
On Thursday, 21 May 2020 at 16:13:57 UTC, zoujiaqing wrote: Hunt Framework is a full stack Web framework based on DLang language. Designed for rapid development of Web servers, similar PHP's Laravel、Java's Spring、Python's Django! ## This major update is as follows: 1. safety - related GET parameter test 2. improve the worker thread, add WokerGroup Modularization 3. the underlying library Stability IO 4. improved Windows platform ## Parameter Check Example Code: ```D classUserController : Controller { ... @Actionstring user(@Min(1) uint id) { auto result = request.valid(); if (!result.isValid()) { string[string] messages = result.messages(); // error } return null; } } ``` You guys a working hard no doubt but a quality tutorial will greatly bring the desire adoption
Re: Hunt Framework 3.1.0 Released, Web Framework for DLang!
On Thursday, 21 May 2020 at 16:13:57 UTC, zoujiaqing wrote: Hunt Framework is a full stack Web framework based on DLang language. Designed for rapid development of Web servers, similar PHP's Laravel、Java's Spring、Python's Django! ## This major update is as follows: 1. safety - related GET parameter test 2. improve the worker thread, add WokerGroup Modularization 3. the underlying library Stability IO 4. improved Windows platform ## Parameter Check Example Code: ```D classUserController : Controller { ... @Actionstring user(@Min(1) uint id) { auto result = request.valid(); if (!result.isValid()) { string[string] messages = result.messages(); // error } return null; } } ``` A holistic tutorial will help this framework more. The docs are not helpful to me. This is the reason people use vibe because of the better docs, tutorial, and book
Re: Release Candidate 2.092.0 [was: Re: Beta 2.092.0]
On Saturday, 9 May 2020 at 08:00:50 UTC, Martin Nowak wrote: On Thursday, 30 April 2020 at 10:43:29 UTC, Martin Nowak wrote: Glad to announce the first beta for the 2.092.0 release, ♥ to the 47 contributors. Release candidate is live now. Thank you so much for all these great work
Re: Blog series to teach and show off D's metaprogramming by creating a JSON serialiser
On Thursday, 7 May 2020 at 00:28:10 UTC, SealabJaster wrote: On Wednesday, 11 December 2019 at 12:04:04 UTC, SealabJaster wrote: Final post of this series (also sorry for the necro, but it's probably better than making a new post): https://bradley.chatha.dev/BlogPost/JsonSerialiser/6-mixin-template-automate-dlang-tutorial-metaprogramming Pretty unhappy with its content, considering how long it's been since I wanted to write it, but hopefully its main purpose (to show off mixin template) is good enough. I'd also like to apologise here for constantly embarrassing myself here (and I guess also on the Discord a year or so back), I'm likely to just not post here anymore just to save myself from the anxiety. I hope this has been of some use to someone ^^. I want to write some more, but have no concrete plans for anything anytime soon. This Series of tutorial is really nice. Please keep up the good work. Don't give up. There are those in this group that are guru no doubt but they don't write tutorials for the upcoming ones to learn. Dlang lacks great incentives for beginners. It seems it is a language design for the expert despite dlang is a easy to learn language Your tutorial is really down to earth. I really learn a lot from it.
Re: Hunt Framework 3.0.0 Released, Web Framework for DLang!
On Friday, 1 May 2020 at 10:54:55 UTC, zoujiaqing wrote: This version is an important version jointly created by huntlabs and the team developers of Putao technology service end through nearly half a year's development iteration. Relying on the dependency injection technology, the module division of the whole framework becomes more reasonable and easy to expand and maintain. [...] Thanks for the greatwork. This really sound or look promising. Keep up the good work. Is there any book on the or tutorial on the huntframework?
Re: diet-ng Live mode and announcing dietpc
On Wednesday, 29 April 2020 at 18:47:47 UTC, Steven Schveighoffer wrote: On 4/29/20 1:25 PM, Greatsam4sure wrote: For chrome and edge refresh does not affect changes in HTML content but restart What about shift-refresh, which should reload the whole thing? Sometimes the caching gets in the way (it depends on the headers your server is sending). -Steve After a rebooting of my system, all browser now works
Re: diet-ng Live mode and announcing dietpc
On Wednesday, 29 April 2020 at 13:43:12 UTC, Steven Schveighoffer wrote: On 4/29/20 9:23 AM, Greatsam4sure wrote: On Tuesday, 24 March 2020 at 15:03:33 UTC, Steven Schveighoffer wrote: [...] Thanks, the live mode is really lovely.it really saves a lot of time building your UI. Chrome and edge browser are not working on my windows 10 but firefox is working greatly. Maybe be I need to update them Nice! The live mode shouldn't affect what HTML is sent, it basically should be equivalent to the compiled mode. It just changes when the HTML strings are generated. If your browsers are not consistent, that strongly points to something outside diet-ng (perhaps something to do with your content). If you have a use case, I can look into it. -Steve For chrome and edge refresh does not effect changes in HTML content but restart
Re: diet-ng Live mode and announcing dietpc
On Tuesday, 24 March 2020 at 15:03:33 UTC, Steven Schveighoffer wrote: Since October I have been using an experimental feature I created for the diet-ng package [1] that allows one to alter just the HTML portions of a diet template and have the server re-render those pages. It has saved me significant development time as I can e.g. alter a class on an html element, add javascript, just about anything that doesn't have to do with running actual D code, and I do not need to rebuild my entire application. Those of you who watched my dconf 2018 presentation may have heard me talk about the issue of vibe.d build times. [...] Thanks, the live mode is really lovely.it really saves a lot of time building your UI. Chrome and edge browser are not working on my windows 10 but firefox is working greatly. Maybe be I need to update them
Re: LDC 1.21.0
On Friday, 24 April 2020 at 04:28:00 UTC, zoujiaqing wrote: On Thursday, 23 April 2020 at 17:53:05 UTC, kinke wrote: [...] Thanks! Use LDC writing mobile app :) I am interested in mobile app using D. Pls can you post a link on how to start. I wiwill really appreciate it
Re: Vibe.d navigation
On Tuesday, 31 March 2020 at 18:38:19 UTC, Steven Schveighoffer wrote: On 3/31/20 2:23 PM, GreatSam4sure wrote: I am playing with the vibe.d for some days now. One thing I am struggling with is move from one page to another using web interface. The naming of the functions and proper navigation from one page to another is not clear to me. How to move from one page to another. I will appreciate any help. Please move to the learn forum on this, I'll help, but don't want to have a conversation here, this board is really for announcements. -Steve Thanks, I just realized my mistake. Deeply sorry
Vibe.d navigation
I am playing with the vibe.d for some days now. One thing I am struggling with is move from one page to another using web interface. The naming of the functions and proper navigation from one page to another is not clear to me. How to move from one page to another. I will appreciate any help.
Re: My Android project nearing beta
On Tuesday, 17 December 2019 at 00:41:01 UTC, Adam D. Ruppe wrote: On Monday, 16 December 2019 at 23:23:08 UTC, GreatSam4sure wrote: I will appreciate a step by step tutorial on how to get things setup and running dlang android app Did the website there help you at all? No sir, that is the reason for the request for a tutorial.
Re: My Android project nearing beta
On Monday, 16 December 2019 at 21:37:51 UTC, Adam D. Ruppe wrote: I'm gonna drop the link here without further comment: https://github.com/adamdruppe/d_android hopefully I've written enough in the repo so anyone who wants to play with it can... and if not, I need to fix the docs :) let me know if you find any success or failure playing with it. I will appreciate a step by step tutorial on how to get things setup and running dlang android app
Re: My Android project nearing beta
On Monday, 16 December 2019 at 21:37:51 UTC, Adam D. Ruppe wrote: I'm gonna drop the link here without further comment: https://github.com/adamdruppe/d_android hopefully I've written enough in the repo so anyone who wants to play with it can... and if not, I need to fix the docs :) let me know if you find any success or failure playing with it. Thanks, a lot, I am really happy with this project. Pls can we start using android studio to set up things just like java, kotlin, and C++ In that way, we can register strongly the presence of D on Android. Once again thanks
Re: My Android project nearing beta
On Monday, 16 December 2019 at 21:37:51 UTC, Adam D. Ruppe wrote: I'm gonna drop the link here without further comment: https://github.com/adamdruppe/d_android hopefully I've written enough in the repo so anyone who wants to play with it can... and if not, I need to fix the docs :) let me know if you find any success or failure playing with it. Thanks, a lot really happy with this project. Pls can we start you android studio to set up things like java, kotlin, and C++ In that, we can register the presence of D on Android strongly. Once again thanks
Re: dud: A dub replacement
On Monday, 25 November 2019 at 18:28:55 UTC, H. S. Teoh wrote: On Mon, Nov 25, 2019 at 12:15:42PM +, Joseph Rushton Wakeling via Digitalmars-d-announce wrote: [...] [...] I'm probably not the intended audience here, but just so it's out there, here's a list of dub showstoppers for me: [...] I am interested in D/java project. Can you help me with material or link on that. I Will be happy to use javafx as front end and D as back end for a desktop App. I have looking on GraalVm but no luck yet. Just need a good tutorial for a start-up
Re: Apache shiro for D is ported and release 1.0.0
On Thursday, 21 November 2019 at 08:32:45 UTC, zoujiaqing wrote: On Tuesday, 19 November 2019 at 13:04:26 UTC, Andre Pany wrote: On Tuesday, 19 November 2019 at 10:10:17 UTC, zoujiaqing wrote: Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management. With Shiro’s easy-to-understand API, you can quickly and easily secure any application – from the smallest mobile applications to the largest web and enterprise applications. http://shiro.apache.org/ PS: Shiro for D ported from Apache Shiro 1.4.0 Code for DLang: https://code.dlang.org/packages/hunt-shiro Github repository: https://github.com/huntlabs/hunt-shiro Fantastic, thanks a lot for this work. Kind regards Andre Thank you for your encouragement! We will continue to strive to improve the ecosystem of D language in the server field. For all your posts on this group, it is clear that you guys are really doing great jobs mo doubt. You guys even have HTTP 2, your framework. That is still a need in vibe.d. One time I see with you people is that there is less information on how to use your framework. There are no tutorials which are very important. It pays us all if you people can learn from vibe.d by creating great tutorials. You people need to invest in tutorials. Thanks to you guys for all the effort this far.
Re: Blog series to teach and show off D's metaprogramming by creating a JSON serialiser
On Thursday, 31 October 2019 at 09:02:07 UTC, Paolo Invernizzi wrote: On Thursday, 31 October 2019 at 00:05:06 UTC, SealabJaster wrote: https://bradley.chatha.dev/Home/Blog?post=JsonSerialiser1 Currently only the first post is out, as I'd like to collect feedback before writing any more. [...] Great Job, keep pushing! If you don't know it, I suggest to have a look to the venerable Philippe Sigaud "D Template Tutorial" for inspiration [1]. It was by far the most complete and comprensive tutorial covering every aspect of the D Template programming. It would be great to have also an updated version of it ... [1] https://github.com/PhilippeSigaud/D-templates-tutorial The tutorial you referred to is very comprehensive but i am confess is hard to understand. I have read it twice but i did not understand. It might be my fault but i will prefer a simple start with the newbie in mind
Re: Blog series to teach and show off D's metaprogramming by creating a JSON serialiser
On Thursday, 31 October 2019 at 00:05:06 UTC, SealabJaster wrote: https://bradley.chatha.dev/Home/Blog?post=JsonSerialiser1 Currently only the first post is out, as I'd like to collect feedback before writing any more. [...] This is truly beautiful. Good work, a great tutorial indeed. Can you pick up the topic of compile time from the ground up. I will also love tutorial on DasbetterC. No tutorial that i am aware in this aspect of D Thanks a million times. I am awaiting the rest part of the tutorial
Re: rapidxml for D has been ported.
On Tuesday, 8 October 2019 at 17:15:30 UTC, bauss wrote: On Tuesday, 8 October 2019 at 09:52:40 UTC, Andrea Fontana wrote: On Tuesday, 8 October 2019 at 08:56:26 UTC, zoujiaqing wrote: [...] So finally we have a working xml parser! https://github.com/DiamondMVC/Diamond/tree/master/xml Since 9 months ago. It will be nice to have a thorough tutorial on how to use it.
Re: LDC 1.18.0-beta1
On Thursday, 12 September 2019 at 23:49:04 UTC, kinke wrote: Glad to announce the first beta for LDC 1.18: * Based on D 2.088.0+ (yesterday's stable). * Bundled dub upgraded to v1.17.0+ with improved LDC support, incl. cross-compilation. * Init symbols of zero-initialized structs are no longer emitted. * druntime: DMD-compatible {load,store}Unaligned and prefetch added to core.simd. * JIT improvements, incl. multi-threaded compilation. Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.18.0-beta1 Please help test, and thanks to all contributors! Thanks to all who make this possible
Re: Beta 2.088.0
On Sunday, 25 August 2019 at 10:17:16 UTC, Martin Nowak wrote: On Friday, 16 August 2019 at 11:47:23 UTC, Suliman wrote: New releases become more and more strange. 30% of deprecation 30% removing futures It's also a sign of better documentation of even small deprecations. The short release cycle means that there is a bit more variance on the amount of features per release, e.g. see the many features in https://dlang.org/changelog/2.087.0.html. The effort you guys put on the compiler is really commendable. Thanks to all who are involve.
Re: Seoul D Meetup--August 14th, 7:00 PM
On Thursday, 1 August 2019 at 02:55:14 UTC, Mike Parker wrote: Please let the talk be recorded So that people can watch it later Sorry, but we won’t be recording it this time. Maybe we can start doing so at future meetups. Maybe you can be it on writing and release the lecture note in the form of lab01,lab02, etc.
Re: Seoul D Meetup--August 14th, 7:00 PM
On Wednesday, 31 July 2019 at 17:43:23 UTC, Mike Parker wrote: For the hordes of D programmers hiding somewhere in Seoul, Korea, our next Seoul D meetup is at 7:00 PM on August, 14, at Hyundai Studio Black near Gangnam Station. We've got ourselves a Meetup page now [1], so we're moving up in the world. We're calling the event "An Introduction to D" as we're expecting most attendees to be unfamiliar with D. We'll have a fallback talk ready to go in case we actually find ourselves surrounded by people who are already programming in D. A big thanks to the BOS Platform Foundation for sponsoring us. [1] https://www.meetup.com/Seoul-D-Programmers/events/263529419/ Please let the talk be recorded So that people can watch it later
Re: Beta 2.087.1
On Wednesday, 31 July 2019 at 23:15:18 UTC, Martin Nowak wrote: Glad to announce the first beta for the 2.087.1 point release, ♥ to the 23 contributors. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.087.1.html As usual please report any bugs at https://issues.dlang.org -Martin Thanks Martin Nowak. Keep on the great work. The D community appreciates your great works. Thanks to all contributors.
Re: Redis client hunt-redis RC1 released
On Tuesday, 23 July 2019 at 07:57:06 UTC, zoujiaqing wrote: A Powerfull Redis client library for D Programming Language. Porting from java Jedis, support redis 3.x / 4.x all features and 5.x some features. So what can I do with Redis? All of the following redis features are supported: * Sorting * Connection handling * Commands operating on any kind of values * Commands operating on string values * Commands operating on hashes * Commands operating on lists * Commands operating on sets * Commands operating on sorted sets * Transactions * Pipelining * Publish/Subscribe * Persistence control commands * Remote server control commands * Connection pooling * Sharding (MD5, MurmurHash) * Key-tags for sharding * Sharding with pipelining * Scripting with pipelining * Redis Cluster To use it just: ```D Redis redis = new Redis("localhost"); redis.set("foo", "bar"); string value = redis.get("foo"); ``` Redis Cluster: Redis cluster specification (still under development) is implemented ```D Set!(HostAndPort) redisClusterNodes = new HashSet!(HostAndPort)(); //Redis Cluster will attempt to discover cluster nodes automatically redisClusterNodes.add(new HostAndPort("127.0.0.1", 7379)); RedisCluster rc = new RedisCluster(redisClusterNodes); rc.set("foo", "bar"); string value = rc.get("foo"); ``` Welcome to use and test it :) https://github.com/huntlabs/hunt-redis https://code.dlang.org/packages/hunt-redis I really want to dry the hunt framework but cannot lay hand on any comprehensive tutorial. Please can you direct me on any on the web Keep on the good work
Re: Intellij: Support for TextMate Bundled
On Thursday, 25 July 2019 at 16:20:15 UTC, Andre Pany wrote: Hi, Intellij added support for TextMate bundles. By adding the DLang TextMate Bundle[1] you get syntax highlighting. If you want also code completion, formatting and linting you can install the LSP plugin from marketplace and setup DLS [2]. In addition there is also the complete D support including debugging by installing the IntelliJ D plugin from marketplace. [1] https://github.com/textmate/d.tmbundle [2] https://github.com/d-language-server/dls Kind regards Andre Thanks, I will dry it later
Re: I was able to write some D last week!
On Tuesday, 9 July 2019 at 12:31:15 UTC, Adam D. Ruppe wrote: On Tuesday, 9 July 2019 at 12:09:14 UTC, Greatsam4sure wrote: I don't know much about this project but l which to know more. My code is the oldest continuously maintained web library in D, started in 2008 and still developed today. It also does a bunch of other things like gui too. How does it compare to vibe.d? vibe.d has marketing, I don't really care since I write it for myself. That's the biggest difference. From a technical perspective, vibe is committed to its event driven model, while mine is more flexible and can use any additional libraries and is broadly compatible with environments (including old style cgi, where it started). The only docs I have for it are on dpldocs.info. I have being on this forum for about 2years plus now. I have never add of the project. It will be better to set up a website or blog for it like vibe.d with a comprehensive tutorial to encourage easy adoption. It pays no one to keep good framework secret
Re: gtkDcoding Facelift Launch
On Tuesday, 9 July 2019 at 09:53:29 UTC, Ron Tarrant wrote: Last week, gtkDcoding saw its 50th regularly-scheduled post. Today marks the launch of stage two of the facelift we've been working toward for the last month. The new features are: [...] Thanks a million, times. I will like a tutorial also on D standard library if you have the time.
Re: I was able to write some D last week!
On Tuesday, 9 July 2019 at 02:32:22 UTC, Adam D. Ruppe wrote: I am bumping the arsd repo dub's version number to 4.0.0. (this is super super arbitrary for me though, I very rarely ACTUALLY break backward compatibility, in fact I try to be both backward and forward compatible with myself and with dmd versions, just meh) Anyway, while version numbers are silly, you can read a more informational summary of a bunch of the new stuff here: http://dpldocs.info/this-week-in-d/Blog.Posted_2019_07_08.html ask me anything you like I don't know much about this project but l which to know more. How does it compare to vibe.d? it even has http2. Where can one get a tutorial for it? It will be better for this project to have a website of its own like vibe.d All the web framework only vibe was set up with business in mind. I will be happy for your reply
Re: Visual D 0.50.0 released
On Monday, 24 June 2019 at 05:25:32 UTC, Rainer Schuetze wrote: On 24/06/2019 00:25, Greatsam4sure wrote: Visual D works for VS 2008 up to VS 2019. The new project dialog in VS 2019 makes it hard to discover the new projects because the categories are hardcoded and cannot be extended. You have to scroll down the list of "All" project templates. Once used the project types appear in the recently used projects list. Thanks, I just installed the package with DMD and LDC but my old version of DMD was not replaced. Is there a reason for this? I now have two versions of DMD on my laptop now-dmd 2.086 and 2.086.1 It doesn't (yet) delete old versions of the compilers because of I didn't want to break existing setups. In case something fails to compile for your code with the new compiler release, you can easily go back to the previous one. The compiler update also doesn't change your environment as the DMD installer (optionally) does, so you have to set PATH yourself. It just works out of the box. It is ok for me. I am really happy with the experience, no error thrown at all. It will be nice to have an integrated terminal in the visual studio just as in vs code. Thanks for all the great works
Re: Visual D 0.50.0 released
On Sunday, 23 June 2019 at 21:49:49 UTC, Rainer Schuetze wrote: On 23/06/2019 21:06, Greatsam4sure wrote: On Sunday, 23 June 2019 at 17:58:27 UTC, Rainer Schuetze wrote: [...] Thanks to all, who make this possible. Which version of dmd and ldc is bundle with visual-D 0.50 and which version of visual studio 2019 does it support. dmd 2.086.1 and ldc 1.16.0 are bundled. These are mentioned in the filename of the download, but that isn't obvious on the front page. I guess this should be shown there, too. The latest version studio 2019 I have does not support previous version of visual D. I could not create a Dlang project with it Visual D works for VS 2008 up to VS 2019. The new project dialog in VS 2019 makes it hard to discover the new projects because the categories are hardcoded and cannot be extended. You have to scroll down the list of "All" project templates. Once used the project types appear in the recently used projects list. Thanks, I just installed the package with DMD and LDC but my old version of DMD was not replaced. Is there a reason for this? I now have two versions of DMD on my laptop now-dmd 2.086 and 2.086.1
Re: Visual D 0.50.0 released
On Sunday, 23 June 2019 at 17:58:27 UTC, Rainer Schuetze wrote: Hi, today a new version of Visual D has been released. Its main new features are - additional installer available that includes DMD and LDC - now checks for updates for Visual D, DMD and LDC, assisted download and install - debugger improvements: better support for dynamic type of classes, show exception messages, conditional breakpoints - highlight references to symbol at caret (experimental) See https://rainers.github.io/visuald/visuald/VersionHistory.html for the complete list of changes Visual D is a Visual Studio extension that adds D language support to VS2008-2019. It is written in D, its source code can be found on github: https://github.com/D-Programming-Language/visuald, pull requests welcome. The installers can be found at http://rainers.github.io/visuald/visuald/StartPage.html Visual D is now also available in the Visual Studio Marketplace: https://marketplace.visualstudio.com/items?itemName=RainerSchuetze.visuald Happy coding, Rainer Thanks to all, who make this possible. Which version of dmd and ldc is bundle with visual-D 0.50 and which version of visual studio 2019 does it support. The latest version studio 2019 I have does not support previous version of visual D. I could not create a Dlang project with it
Re: Beta 2.087.0
On Sunday, 16 June 2019 at 22:47:57 UTC, Martin Nowak wrote: Glad to announce the first beta for the 2.087.0 release, ♥ to the 66 contributors. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.087.0.html As usual please report any bugs at https://issues.dlang.org -Martin thanks to all those who make this release possible.
Re: DMD metaprogramming enhancement
On Thursday, 25 April 2019 at 23:41:32 UTC, Suleyman wrote: Hello everyone, I am happy to announce that in the next DMD release you will be able to more freely enjoy your metaprograming experience now that a long-standing limitation has been lifted. You can now instantiate local and member templates with local symbols. Example: --- struct S { private int _m; void exec(alias fun)() { fun(_m); } } unittest { int localVar; void set(int i) { localVar = i; } auto obj = S(10); obj.exec!set(); // no error or warning assert(localVar == 10); } --- I hope you enjoy! Thanks a lot. It is really refreshing to know this has been fixed.
Re: gtkDcoding Blog: Post #0009 - Boxes
On Tuesday, 12 February 2019 at 19:02:52 UTC, Ron Tarrant wrote: Another Tuesday, another blog post: http://gtkdcoding.com/2019/02/12/0009-boxes.html And I also tossed one up there on Sunday after discovering that the GTK Inspector works on Windows 10, too: http://gtkdcoding.com/2019/02/10/x0001-gtkdcoding-blog-extra-the-inspector.html And if you missed last Friday's post (which I also neglected to announce): http://gtkdcoding.com/2019/02/08/0008-callbacks.html Perhaps, to cut back on the number of announcements, I'll just do this on here once per week. Screen short of the ui of the code might be a little helpful
Re: DIP 1018--The Copy Constructor--Formal Review
On Monday, 25 February 2019 at 02:29:40 UTC, Manu wrote: On Sun, Feb 24, 2019 at 4:25 PM Walter Bright via Digitalmars-d-announce wrote: Thanks for letting me know you're abandoning the rvalue ref DIP. It's not an "rvalue ref" DIP (which I think has confused a lot of people), it's an rvalue *by-ref* DIP. In my head, an "rvalue ref" DIP is something completely different, useful for implementing move semantics of mismatching types. Are you talking about my DIP or that other thing? I had held off working on it because I didn't want to duplicate efforts; we're short-staffed enough as it is. 'abandoning's a strong word, but I don't have motivation to work on it right now. Please, be my guest! The worth of man is not measure by where he stand when all things are going well but where he stands in the time of face of challenge. Your dip has face significant challenge. It is just a test on your ability to forge ahead and get what you believe done in the face of challenges. I will really have problem in taking you serious if you just abandon the dip. Pls rewrite the dip and let it be 50-50% win for all of us
Re: code-d 0.20.0 - serve-d 0.4.0 - Happy new year!
On Tuesday, 1 January 2019 at 19:49:46 UTC, Laurent Tréguier wrote: On Monday, 31 December 2018 at 17:42:46 UTC, WebFreak001 wrote: [...] I had been waiting for new serve-d+code-d releases after seeing https://github.com/Pure-D/serve-d/commit/488e0f3135d32364f16cea5da96331c74f4c2afa :) Just tested on Ubuntu and Windows, the installation and everything else just work! Have you considered using Travis or CircleCI to build releases for macOS as well? [...] Happy new year! [...] Looking forward to reading it! [...] I've had this error when using libeay32.dll and ssleay32.dll, that dub uses. I think they are related to SSL handling, but I'm far from being an expert on this; are they necessary? Under windows 10 I have the same issue. When I check code-d folder, I found that it download Dcd but did no extract it. So I extracted it and code the content to code-d/bin. That solve the problem. Hope this help
Re: Visual D 0.48.0 released
On Sunday, 2 December 2018 at 16:02:25 UTC, Rainer Schuetze wrote: Hi, I have made a new release of Visual D available. Some highlights of version 0.48.0: * installer and binaries now digitally signed by the "D Language Foundation" * experimental: option to enable semantic identifier highlighting * mago debugger: show return value, closure and capture variables as locals (with dmd 2.084/nightly) See http://rainers.github.io/visuald/visuald/VersionHistory.html for the full list of changes. Visual D is a Visual Studio extension that adds D language support to VS2008-2017. It is written in D, its source code can be found on github: https://github.com/D-Programming-Language/visuald, pull requests welcome. The installer can be found at http://rainers.github.io/visuald/visuald/StartPage.html Happy coding, Rainer It will be nice if you can port this code base to vs code. It is the same visual studio code base. It will be nice if visual D can also be use in vs code. To me Visual D is great but I don't like visual studio
Re: Hunt framework 1.2.0 released
On Tuesday, 17 July 2018 at 09:27:26 UTC, Brian wrote: Hello, hunt framework fix bugs version release. Major updates: 1. Add simplify functions 2. You can use createUrl() to create link url from module.controller.action 3. support date() / url() function for template engine 4. fix multi-domain use other port 5. use portgresql / mysql / sqlite on default config 6. upgrade dependencies package version to latest 7. release stabled skeleton project hunt-framework source code: https://github.com/huntlabs/hunt hunt-skeleton source code: https://github.com/huntlabs/hunt-skeleton Where can one get comprehrnsive tutorial in English for the Hunt framework?
Re: Funding code-d
On Friday, 13 July 2018 at 14:20:19 UTC, Mike Parker wrote: As promised in my tweet of June 30 (and to the handful of people who emailed me), the cloud of mystery surrounding the use of the money raised for code-d and its supporting tools has now been (partially) lifted! In this post, I lay out the details of how the first $1000 will be paid out to project maintainer Jan Jurzitza, a.k.a Webfreak001, and explain what we hope to achieve with this ecosystem fundraising initiative going forward. This time around, it all came together in the background of prepping for DConf with little forethought beyond activating an Open Collective goal and then working with Jan to determine the details. Lessons were learned. Later this year, you'll see the result when we announce the next of what we hope to be an ongoing series of funding targets. In the meantime: The blog https://dlang.org/blog/2018/07/13/funding-code-d/ Reddit https://www.reddit.com/r/d_language/comments/8yka7b/funding_coded_the_d_blog/ This is truly commendable. I can wait to see these milestones achieve in practical terms. Wishing all involve great success. Thanks to all, who are involve for with this for the effort thus far
Re: Funding code-d
On Friday, 13 July 2018 at 14:20:19 UTC, Mike Parker wrote: As promised in my tweet of June 30 (and to the handful of people who emailed me), the cloud of mystery surrounding the use of the money raised for code-d and its supporting tools has now been (partially) lifted! In this post, I lay out the details of how the first $1000 will be paid out to project maintainer Jan Jurzitza, a.k.a Webfreak001, and explain what we hope to achieve with this ecosystem fundraising initiative going forward. This time around, it all came together in the background of prepping for DConf with little forethought beyond activating an Open Collective goal and then working with Jan to determine the details. Lessons were learned. Later this year, you'll see the result when we announce the next of what we hope to be an ongoing series of funding targets. In the meantime: The blog https://dlang.org/blog/2018/07/13/funding-code-d/ Reddit https://www.reddit.com/r/d_language/comments/8yka7b/funding_coded_the_d_blog/ This is truly commendable. I can wait to see these milestones achieve in practical terms. Wishing all involve great success. Thanks to all, who are involve with this for the effort thus far
Re: Blogpost about the T.init problem
On Tuesday, 10 July 2018 at 13:41:56 UTC, FeepingCreature wrote: I've written up a short blogpost about the T.init issue. It is not very enthusiastic. https://medium.com/@feepingcreature/d-structs-dont-work-for-domain-data-c09332349f43 Related links: https://github.com/dlang/phobos/pull/6594 problem with T.init and toString https://github.com/dlang/phobos/pull/6619 Nullable can't work with types where T.init violates invariants https://github.com/dlang/dmd/pull/8462 A somewhat sketchy PR to disable invariant on struct ~this Every language is plague with one bug or the order. For those will great love for the language they lend a helping hand to fixed the bug. I expect you to help also in whatsoever capacity you can. I am just learning D but I am thoroughly satisfy with the language. For me it is truly joy.
Re: Blogpost about the T.init problem
On Tuesday, 10 July 2018 at 13:41:56 UTC, FeepingCreature wrote: I've written up a short blogpost about the T.init issue. It is not very enthusiastic. https://medium.com/@feepingcreature/d-structs-dont-work-for-domain-data-c09332349f43 Related links: https://github.com/dlang/phobos/pull/6594 problem with T.init and toString https://github.com/dlang/phobos/pull/6619 Nullable can't work with types where T.init violates invariants https://github.com/dlang/dmd/pull/8462 A somewhat sketchy PR to disable invariant on struct ~this Sincerely speaking D language does not merit all these criticism. The magnitude of criticism on D language does not really make sense to me. I am yet to see a language so user friendly as D with such power and strength.I trust one day the world will see and know that D is a language build for programmers for great productivity and not just another money making machine This article justified your great love for D. Thanks for your great love for D
Re: I have a plan.. I really DO
On Wednesday, 11 July 2018 at 13:57:45 UTC, SrMordred wrote: But for technical aspect like performance, very honestly I'm still not sure of its technical superiority over similar languages. Just have a look at this one, which is quite famous : https://www.techempower.com/benchmarks/ I know that many people here will simply tell me that all those personal et external benchmarks are all wrong, etc. Maybe you are right. But in terms of communication, wouldn't it be much more effective that the D experts of this forum simply fix the open source code of those benchmarks to make D's technical superiority much more obvious, so that the decision makers of software development companies, which stupidly use the informations of such benchmarks when investigating alternative technologies, can more easily suggest to their leadership to switch to D ? I' quite sure that D can achieve performance equivalence with any other language. I don´t see any reason not to. About that specific benchmark, not sure vibe.d had some updates since the first time I saw because I remembered people arguing here about why it was not that good on performance. Maybe now it will make better results. And I agree about the communication part. Altough i like to see benchmarks and like to see the competition part of it their objective is just to point out that "we can do as much as these other guys can". When benchmarks go slow people say that "benchmark is not everything or are wrong somehow". But then when D get the fastest regex parser of the world, is all proud :) But again, I believe that D can be performance competitive in any case. Sincerely speaking D language does not merit all these criticism. The magnitude of criticism on D language does not really make sense to me. I am yet to see a language so user friendly as D with such power and strength.I trust one day the world will see and know that D is a language build for programmers for great productivity and not just another money making machine
Re: Visual D 0.47.0 released
On Sunday, 24 June 2018 at 13:08:53 UTC, Rainer Schuetze wrote: Hi, a new release of Visual D has just been uploaded. Major changes are * improved Visual C++ project integration: better dependencies, automatic libraries, name demangling * new project wizard * mago debugger: show vtable, dynamic type of interfaces, symbol names of pointer address See http://rainers.github.io/visuald/visuald/VersionHistory.html for the full version history. Visual D is a Visual Studio extension that adds D language support to VS2008-2017. It is written in D, its source code can be found on github: https://github.com/D-Programming-Language/visuald, pull requests welcome. An installer can be found at http://rainers.github.io/visuald/visuald/StartPage.html Happy coding, Rainer It will really be nice if visual D can come to visual Studio code. It is a beautiful nice work. Pls can we have it in visual Studio code? Pls...
D only has Advantages
On Thursday, 14 June 2018 at 05:31:18 UTC, Bugsy wrote: On Thursday, 14 June 2018 at 04:11:37 UTC, Anton Fediushin wrote: they have bugs and features D only has features that's because in D, bugs are actually features. The advantages of D are numerous. It a language design to make a newbie a pro and to give a pro an edge. It simplify Complex things and make them very simple. D is a joy to work with and bugs are not features
Re: code-d 0.17.0 + serve-d 0.1.2
On Tuesday, 10 April 2018 at 03:37:59 UTC, evilrat wrote: On Monday, 9 April 2018 at 19:10:46 UTC, Samson wrote: [...] Disable "normal" code-d, close VS, remove %appdata%/code-d, launch VS & enable code-d beta serve-d, enjoy. [...] Thanks, your suggestion work for me. Many thanks to you
Re: code-d 0.17.0 + serve-d 0.1.2
On Tuesday, 10 April 2018 at 03:37:59 UTC, evilrat wrote: On Monday, 9 April 2018 at 19:10:46 UTC, Samson wrote: [...] Disable "normal" code-d, close VS, remove %appdata%/code-d, launch VS & enable code-d beta serve-d, enjoy. [...] Thanks your suggestion work for me. many thanks to you
Re: code-d 0.17.0 + serve-d 0.1.2
On Tuesday, 3 April 2018 at 23:02:42 UTC, WebFreak001 wrote: new code-d (D extension for vscode) and serve-d (Language Server Protocol server for it) release See the CHANGELOG in vscode, or on https://github.com/Pure-D/code-d/blob/master/CHANGELOG.md Today massive improvements towards windows installation have been made and it should be a lot more painless now. Big thanks to Mike Franklin for helping me debug the windows installation, making this available very quickly and to p0nce for compiling the windows release because my VM wasn't working for this anymore. As now the extension is in stable and no longer requires the beta branch a lot of issues have been fixed and old ones which are probably no longer valid closed. If you find any issue please create a new one or reopen if you have an old issue. Here are some of my personal highlights: https://wfr.moe/fmEfTw.png - documentation inside autocompletion https://wfr.moe/fmq4Da.png - import timing https://wfr.moe/fmqCNt.png https://wfr.moe/fmqh3H.png - simple implement interface action n/a - everything compiles and installs without reloads or cumbersome dialogs, just install from marketplace, wait for the installation which should be very quick, especially with prebuilt binaries and start coding without any distractions! https://wfr.moe/fmzcS8.png - dub dependency browser n/a - automatic insertion of a module statement on rename and file creation code-d beta and code-d are therefore on the same release right now, but code-d beta will still be continuing to get features early. eager to hear your feedback, though gonna go to sleep for now. Planned for next release is internationalizing the final few messages which are in the code-d part, all serve-d parts have already been translated to German and Japanese and are determined by vscode language. Thanks a lot! It works fine for me now in windows 10 steps * I delete C:\Users\Greatsam\AppData\Roaming\code-d folder **Restart visual studio code at least twice with internet connect on to enable code-d serve-d to download DCD It shows dcd successfully installed with many deprecation message ***I used sdl in my dub project with the flags: dflags "-transition=intpromote" platform="dmd" I don't know if this have any effect. This help me to avoid some errors from the compilers Thanks all who make this a success on windows. It is a great achievement in moving D forward.
Re: DLS : an attempt at a language server
On Tuesday, 27 March 2018 at 18:32:40 UTC, Anton Pastukhov wrote: On Tuesday, 27 March 2018 at 18:08:14 UTC, Laurent Tréguier wrote: Hello, D community! I've been looking at D for a while now, but never got to really use it. And now that Microsoft initiated the Language Server Protocol, I thought about trying to make a language server using DCD, DFMT and D-Scanner. It only supports formatting with DFMT and basic autocompletion with DCD (for now). I've successfully got it working with both VSCode [1] and Atom [2], maybe I'll try to make extensions for some other editors as well. Also now that I've actually tried the language, I have to say I really like it :) [1]: https://marketplace.visualstudio.com/items?itemName=LaurentTreguier.vscode-dls [2]: https://atom.io/packages/ide-dlang Ahem... https://github.com/Pure-D/serve-d Do you test this, in Windows. Because I could get dcd,workspace-d etc to work on Windows.
Re: Vision document for H1 2018
On Sunday, 11 March 2018 at 04:06:13 UTC, Nick Sabalausky (Abscissa) wrote: On 03/10/2018 05:47 AM, Dylan Graham wrote: On Saturday, 10 March 2018 at 10:05:49 UTC, rumbu wrote: According to the State of D Survey, 71% of the respondents don't care about betterC. Why is betterC on the priority list? Yeah. Why should D worry about tying itself into C when it can't even interface with itself through DLLs? First of all, betterC is about far more than interfacing with C. In fact, interop with C isn't really what betterC is about at all - that's a separate aspect of the language. (And those C/C++ users who still haven't come to D - for many of them the holdout is *because* of the issues betterC aims to address. Make no mistake, for all the stockholm syndrome in the C and C++ worlds, there *are* a lot people openly wanting to jump ship but don't have a sufficient option yet. Heck, *I'm* a C/C++ -> D convert.) But more importantly: The D language itself is specifically designed and intended to be multi-purpose. Because of that, D users (and potential D users) are *highly* diverse. Everybody here has their own use-cases, their own needs and priorities, and their own list of things they want fixed yesterday. In a group this diverse, there just simply *isn't* much on the D wishlist that's crucially important to a *majority*, because we all need completely different things. Personally, better DLL support have little to no impact on me. Obviously it does for you, and I sympathise. Some of the things most important to me for D to improve you probably wouldn't care one bit about - and that's ok. We work on different sorts of things. Improved betterC is something I would find very nice if I ever have time or opportunity to get back into embedded software. But outside of that, yea, it doesn't impact me much more than it does for you. But here's the rub: In this crowd here, probably far more than most languages, we all have such wildly varying needs that 29% *is* what qualifies as significant around here. Most wishlist items are going to have similarly non-majority numbers. And they have to pick *something* to focus on. Luckily, as the vision document clearly states, there are *several* such "somethings" the dlang foundation is committing to working on. The D language is a marvel. It just nice using it. It is a superior language. It is pure joy programming in D. D language is mature enough to write up to 90% of all form of application. The problem I have seen thus far is the tools. The tools don't work especially on Windows. The only working ide on Windows is visual-D but tied to visual studio. Personally don't like visual studio, it look to old for my likely. The plugin for eclipse,visual studio code and intellij are really lacking behind. I having trying to setup code-d up in vs code for more than six months now to get auto completion but to no success. I have spent countless hours on the internet search for a solution but did not find any. I just get all kinds of errors. My next plane is to by a Linux system. So to me D is a beautiful language with no beautiful tools so not usable to me yet. All you need to set up dmd on Windows is to download it and install.it is less than 2mins, you are good to go. Running your code in command line is painless with dub. But who want to write a millions of lines of code using plan text editors without code hinting, auto complete and superior debuging? I love D language so much. The language is true mature now. Fix the following problem * Get the plugin for intellij, eclipse and vs code working especially on Windows * Proper documentation for the various packages and library *Make installation process as easy as installing dmd *Books that touch all capability of the D langauge with real like application. Programming in D is good but it must be enchance further D language must be easy to program on all pupular ide. All you need to write c# code in vs code is just two or three extension. There is code hinting, auto complete etc. Why will I not use C# in vs code? I have no reason. Good language with good tools- anybody will give it a trier Walter and all the team have done a good job. But give me more pride to sell D to all my colleagues. Programmers are known to be proud of their language, they must have very good reasons to switch. People switch from one languge to another because the new language just easy their pain. All the members of the D community must come together and face really and work together to move the language further to make D the number one langauge which is what D supposed to be. Working individually have move us here but working collectively will definitely make us the best. We must give people on all platform- windows, Mac, Linux,intellij,exclipse, netbeam,vs code, visual studio etc good reasons to use D besides the beaulty and power of the language. Love D