Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1
It's look like Sublime do not understand from which folder module should be imported. It's do not colorized import readconfig; if readconfig.d are putted in folder with main file.
Re: dmd 2.065 beta 3
On Tuesday, 4 February 2014 at 06:58:02 UTC, evilrat wrote: i have some strange behaviour when building with -O, if in short it reports taking address of interface as dereferencing null. error reported with 2.065 beta2 and beta3, but i don't remember if i had this on 2.064. any advices? here is repro case(for simplicity use dub) https://gist.github.com/evilrat666/151adaf4ce94ee1a1c68 You are dereferencing null. You have a side-effect in an assertion, so in non debug code that code looks like: IDXGIFactory fact; while( fact.EnumAdapters(cast(UINT)numAdapters, &temp) != DXGI_ERROR_NOT_FOUND ) { ... } Here fact is guaranteed to be null in non-debug mode as you're only instantiating it in the assert.
Re: dmd 2.065 beta 3
On Tuesday, 4 February 2014 at 10:37:19 UTC, Kapps wrote: On Tuesday, 4 February 2014 at 06:58:02 UTC, evilrat wrote: i have some strange behaviour when building with -O, if in short it reports taking address of interface as dereferencing null. error reported with 2.065 beta2 and beta3, but i don't remember if i had this on 2.064. any advices? here is repro case(for simplicity use dub) https://gist.github.com/evilrat666/151adaf4ce94ee1a1c68 You are dereferencing null. You have a side-effect in an assertion, so in non debug code that code looks like: IDXGIFactory fact; while( fact.EnumAdapters(cast(UINT)numAdapters, &temp) != DXGI_ERROR_NOT_FOUND ) { ... } Here fact is guaranteed to be null in non-debug mode as you're only instantiating it in the assert. oh, ok thanks. i forgot about asserts being omitted for release/optimize. such stupid mistake :(
Re: dmd 2.065 beta 3
El 03/02/14 19:34, Andrew Edwards ha escrit: [...] > http://ftp.digitalmars.com/dmd_2.065.0-b3-0_amd64.deb > http://ftp.digitalmars.com/dmd_2.065.0-b3-0_i386.deb > http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_amd64.deb > http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_i386.deb Correct deb download links: http://ftp.digitalmars.com/dmd_2.065.0~b3-0_amd64.deb http://ftp.digitalmars.com/dmd_2.065.0~b3-0_i386.deb http://ftp.digitalmars.com/libphobos2-65_2.065.0~b3-0_amd64.deb http://ftp.digitalmars.com/libphobos2-65_2.065.0~b3-0_i386.deb -- Jordi Sayol
Re: Visual D 0.3.37 released
On Wednesday, 13 November 2013 at 06:48:44 UTC, Rainer Schuetze wrote: On 12.11.2013 10:19, evilrat wrote: On Tuesday, 12 November 2013 at 08:06:24 UTC, Rainer Schuetze wrote: If you switch the debugger to "Mago", the conversion is no longer needed, so you can still build and debug Win32 executables. mago gives "cannot launch debugger on %appname%. hr = 897...", so only x64 debugger left for usage Are you sure that you are not trying to debug a 64-bit executable with mago? Maybe the working directory is invalid, this can also cause problems. If it still fails, please show the full error code, maybe I can guess what's going wrong. Are there any news on that issue ? I get the same error Messages as mentioned with these debuggers: VS and VS (x86 Mixed Mode) OUTPUT: AppName.pdb: cannot load PDB helper DLL Mago WIN ERROR MESSAGE: cannot launch debugger on AppNamel.exe hr = 89710016 AppName is a 32-Bit executable. Its on a fresh installed Win 8 with VS2013, unfortunately no old VS2012 dlls available. Would it help to upgrade to Win 8.1 ?
Re: So, You Want To Write Your Own Programming Language?
On Tuesday, 4 February 2014 at 07:43:36 UTC, Walter Bright wrote: On 1/21/2014 8:29 PM, Walter Bright wrote: http://www.reddit.com/r/programming/comments/1vtm2l/so_you_want_to_write_your_own_language_dr_dobbs/ Just showed up on Hacker News: https://news.ycombinator.com/item?id=7172971 A reply blog article appeared on reddit today: http://genericlanguage.wordpress.com/2014/02/04/advice-on-writing-a-programming-language/
Re: Opensourced my web server written in D
On 2/3/14, 2:02 AM, Danny Arends wrote: I wrote a small web server in D to learn the language. It's not done yet (what software ever is) but I wanted to show it off anyway. As always of-course any feedback is welcome See it here: https://github.com/DannyArends/DaNode Gr, Danny Arends http://www.dannyarends.nl Vote up! http://www.reddit.com/r/programming/comments/1x0625/small_opensource_web_server_written_in_d/ Andrei
Re: So, You Want To Write Your Own Programming Language?
On 2/4/14, 8:59 AM, Gary Willoughby wrote: On Tuesday, 4 February 2014 at 07:43:36 UTC, Walter Bright wrote: On 1/21/2014 8:29 PM, Walter Bright wrote: http://www.reddit.com/r/programming/comments/1vtm2l/so_you_want_to_write_your_own_language_dr_dobbs/ Just showed up on Hacker News: https://news.ycombinator.com/item?id=7172971 A reply blog article appeared on reddit today: http://genericlanguage.wordpress.com/2014/02/04/advice-on-writing-a-programming-language/ http://www.reddit.com/r/programming/comments/1wz8k6/advice_on_writing_a_programming_language/ Andrei
Re: dmd 2.065 beta 3
On 2/3/14, 3:34 PM, Andrew Edwards wrote: On 2/3/14, 5:29 PM, Meta wrote: When installing on Windows, it lists the required space on disk as 0KB. That's something we can work towards fixing. But does it install? Is it working for you? Are you having any problems with it that needs to be addressed? Let's record that as a bugzilla issue. Thanks, Andrei
Re: So, You Want To Write Your Own Programming Language?
On 2/4/2014 10:54 AM, Andrei Alexandrescu wrote: On 2/4/14, 8:59 AM, Gary Willoughby wrote: On Tuesday, 4 February 2014 at 07:43:36 UTC, Walter Bright wrote: On 1/21/2014 8:29 PM, Walter Bright wrote: http://www.reddit.com/r/programming/comments/1vtm2l/so_you_want_to_write_your_own_language_dr_dobbs/ Just showed up on Hacker News: https://news.ycombinator.com/item?id=7172971 A reply blog article appeared on reddit today: http://genericlanguage.wordpress.com/2014/02/04/advice-on-writing-a-programming-language/ http://www.reddit.com/r/programming/comments/1wz8k6/advice_on_writing_a_programming_language/ And it's the top reddit article at the moment!
Re: Scott Meyers will deliver a keynote talk at DConf 2014
On 2/4/14, 12:34 PM, Andrei Alexandrescu wrote: I'm happy to announce that Scott Meyers will deliver a keynote talk at the upcoming DConf 2014. Details of the talk are forthcoming. In wake of this announcement, we decided to keep registration opened at pre-registration costs until we publish a program. Register now! http://dconf.org Andrei
Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1
On Tuesday, 4 February 2014 at 10:19:46 UTC, Suliman wrote: It's look like Sublime do not understand from which folder module should be imported. It's do not colorized import readconfig; if readconfig.d are putted in folder with main file. Try running 'DKit: Update Import Paths' command in Sublime. If that doesn't resolve it, please submit a bug https://github.com/yazd/DKit.
Re: Scott Meyers will deliver a keynote talk at DConf 2014
Does this mean D has to get the r-value references situation in order before May? :P That is funny :)
Re: Scott Meyers will deliver a keynote talk at DConf 2014
On Tuesday, 4 February 2014 at 20:34:29 UTC, Andrei Alexandrescu wrote: I'm happy to announce that Scott Meyers will deliver a keynote talk at the upcoming DConf 2014. Details of the talk are forthcoming. I guess he heard someone mention at the last DConf that having an Effective D book is in order. :p
Re: Scott Meyers will deliver a keynote talk at DConf 2014
On Tuesday, 4 February 2014 at 20:34:29 UTC, Andrei Alexandrescu wrote: I'm happy to announce that Scott Meyers will deliver a keynote talk at the upcoming DConf 2014. Details of the talk are forthcoming. Scott Meyers (http://aristeia.com) is one of the best experts worldwide in all aspects of software development using C++. He authored the best-selling Effective C++ series ("Effective C++", "More Effective C++", and "Effective STL") and founded the "Effective Software Development Series" at Addison Wesley, where he acts as a Consulting Editor. Scott holds a M.Sc. from Stanford University and a Ph.D. from Brown University. Andrei That's great. Some of my favorite C++ books were written by him. Does this mean D has to get the r-value references situation in order before May? :P
Re: Scott Meyers will deliver a keynote talk at DConf 2014
On Tuesday, 4 February 2014 at 20:34:29 UTC, Andrei Alexandrescu wrote: I'm happy to announce that Scott Meyers will deliver a keynote talk at the upcoming DConf 2014. Details of the talk are forthcoming. wow, this is fantastic news! *cheer*
Re: Scott Meyers will deliver a keynote talk at DConf 2014
On Tuesday, 4 February 2014 at 20:34:29 UTC, Andrei Alexandrescu wrote: I'm happy to announce that Scott Meyers will deliver a keynote talk at the upcoming DConf 2014. Details of the talk are forthcoming. Andrei This is great news and such a coup for the D community. There will be a *lot* of people looking forward to this. Fantastic.
Scott Meyers will deliver a keynote talk at DConf 2014
I'm happy to announce that Scott Meyers will deliver a keynote talk at the upcoming DConf 2014. Details of the talk are forthcoming. Scott Meyers (http://aristeia.com) is one of the best experts worldwide in all aspects of software development using C++. He authored the best-selling Effective C++ series ("Effective C++", "More Effective C++", and "Effective STL") and founded the "Effective Software Development Series" at Addison Wesley, where he acts as a Consulting Editor. Scott holds a M.Sc. from Stanford University and a Ph.D. from Brown University. Andrei
Re: So, You Want To Write Your Own Programming Language?
On 2/4/14, 12:52 PM, Walter Bright wrote: On 2/4/2014 10:54 AM, Andrei Alexandrescu wrote: On 2/4/14, 8:59 AM, Gary Willoughby wrote: On Tuesday, 4 February 2014 at 07:43:36 UTC, Walter Bright wrote: On 1/21/2014 8:29 PM, Walter Bright wrote: http://www.reddit.com/r/programming/comments/1vtm2l/so_you_want_to_write_your_own_language_dr_dobbs/ Just showed up on Hacker News: https://news.ycombinator.com/item?id=7172971 A reply blog article appeared on reddit today: http://genericlanguage.wordpress.com/2014/02/04/advice-on-writing-a-programming-language/ http://www.reddit.com/r/programming/comments/1wz8k6/advice_on_writing_a_programming_language/ And it's the top reddit article at the moment! Not for long: http://www.reddit.com/r/programming/comments/1x0mid/scott_meyers_to_keynote_dconf_2014_discounted/ Andrei
Re: Scott Meyers will deliver a keynote talk at DConf 2014
On 2/4/2014 1:25 PM, Mark Isaacson wrote: Intriguing and exciting! I know he has always referred to himself as a "one language pony" in the past; I'm curious to see how that plays out. Scott Meyers also wrote the foreword for Andrei's book "The D Programming Language".
Re: Scott Meyers will deliver a keynote talk at DConf 2014
On 2/4/2014 2:07 PM, MattCoder wrote: Question: I want to participate, but I am from another country, then I need to get my passport first, but in case it is denied (It happens sometimes) can I have a refund? Registrations are non-refundable, but are transferable. But I understand your difficulty, and suggest a compromise. Mail us a check to lock in the pre-registration price, and we'll just put it in a drawer for now. If you can't get the passport, we'll just rip up the check.
Re: Scott Meyers will deliver a keynote talk at DConf 2014
On Tuesday, 4 February 2014 at 20:53:02 UTC, Andrei Alexandrescu wrote: On 2/4/14, 12:34 PM, Andrei Alexandrescu wrote: In wake of this announcement, we decided to keep registration opened at pre-registration costs until we publish a program. Register now! http://dconf.org Andrei Question: I want to participate, but I am from another country, then I need to get my passport first, but in case it is denied (It happens sometimes) can I have a refund? Matheus.
Re: Scott Meyers will deliver a keynote talk at DConf 2014
Intriguing and exciting! I know he has always referred to himself as a "one language pony" in the past; I'm curious to see how that plays out.
Re: Opensourced my web server written in D
Thanks for posting, I just posted it here because I mentioned I wrote it to someone who then wanted a look. So why not open it up for everyone. But the whole reddit attention already got me 10 stars ! yay ! I am planning on making a blog post series out of it describing the components, there is a little write up already in the DDOC of the files (I love DDOC), to generate run: ./sh/doc Then the documentation will be at: http://localhost/ddoc or just: cd www/localhost/ddoc Anywayz will keep you guys posted. Danny Arends On Tuesday, 4 February 2014 at 18:21:32 UTC, Andrei Alexandrescu wrote: On 2/3/14, 2:02 AM, Danny Arends wrote: I wrote a small web server in D to learn the language. It's not done yet (what software ever is) but I wanted to show it off anyway. As always of-course any feedback is welcome See it here: https://github.com/DannyArends/DaNode Gr, Danny Arends http://www.dannyarends.nl Vote up! http://www.reddit.com/r/programming/comments/1x0625/small_opensource_web_server_written_in_d/ Andrei
Re: Scott Meyers will deliver a keynote talk at DConf 2014
I'm impressed! Will it be about D? Considering his high specialization in C++, my guess is that it will be some comparison remarks between C++ and D.
Re: Scott Meyers will deliver a keynote talk at DConf 2014
Am 04.02.2014 22:25, schrieb Mark Isaacson: Intriguing and exciting! I know he has always referred to himself as a "one language pony" in the past; I'm curious to see how that plays out. Looking at his last post, maybe he had enough of C++ quirks? :) http://scottmeyers.blogspot.de/2014/02/capture-quirk-in-c14.html
Re: Scott Meyers will deliver a keynote talk at DConf 2014
This is important step forward from internal community fuss to wider recognition. Scott is person to recogned with!
Re: dmd 2.065 beta 3
On Tuesday, 4 February 2014 at 18:51:06 UTC, Andrei Alexandrescu wrote: Let's record that as a bugzilla issue. Thanks, Andrei https://d.puremagic.com/issues/show_bug.cgi?id=12075
Re: Scott Meyers will deliver a keynote talk at DConf 2014
On 2/4/14, 3:34 PM, extrawurst wrote: On Tuesday, 4 February 2014 at 20:53:02 UTC, Andrei Alexandrescu wrote: In wake of this announcement, we decided to keep registration opened at pre-registration costs until we publish a program. When is this scheduled to be announced ? We'll announce the date of the announcement soon :o). Andrei
Re: Scott Meyers will deliver a keynote talk at DConf 2014
On Tuesday, 4 February 2014 at 20:39:13 UTC, Brad Anderson wrote: On Tuesday, 4 February 2014 at 20:34:29 UTC, Andrei Alexandrescu wrote: I'm happy to announce that Scott Meyers will deliver a keynote talk at the upcoming DConf 2014. Details of the talk are forthcoming. Scott Meyers (http://aristeia.com) is one of the best experts worldwide in all aspects of software development using C++. He authored the best-selling Effective C++ series ("Effective C++", "More Effective C++", and "Effective STL") and founded the "Effective Software Development Series" at Addison Wesley, where he acts as a Consulting Editor. Scott holds a M.Sc. from Stanford University and a Ph.D. from Brown University. Andrei That's great. Some of my favorite C++ books were written by him. Does this mean D has to get the r-value references situation in order before May? :P His website is where I first learned about D back in 2007.
Re: dmd 2.065 beta 1 #2
On 01/27/2014 03:10 AM, Jordi Sayol wrote: [...] error: line 2: Illegal char '-' in: Version: 2.065.0-b2 - rpm packages do not allows "-" on version. I've pull-requested deb/rpm scripts to fix new dmd versioning scheme. Dash "-" is replaced by tilde "~" on deb/rpm packages version, and so on packages name. https://github.com/D-Programming-Language/installer/pull/47 I get: rpm packages do not allows "~" on version. As I wrote earlier we're stuck with RPM 4.8.1 which doesn't allow the use of tilde. In fact Fedoras package guidelines explicitly discourage using "~" https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Pre-Release_packages and suggests to use the 'Release' field. Currently we always set this to 0 (https://github.com/D-Programming-Language/installer/blob/4df7d4339062a348739c5c8e884bdf09bdad4778/linux/dmd_rpm.sh#L287), but we're supposed to enumerate the prerelease versions with 0.1.b1, 0.2.b2, 0.3.b3, 0.4.rc1, 0.5.rc2. For a final version this will become 1 andOnce a final build it will start with 1 and potential rebuilds get a 2, 3. The i386 fedora rpm names would looks this. dmd.2.065.0-0.1.b1.fedora.i386.rpm //<- Beta1 dmd.2.065.0-0.2.b2.fedora.i386.rpm //<- Beta2 dmd.2.065.0-0.3.b3.fedora.i386.rpm //<- Beta3 dmd.2.065.0-0.4.rc1.fedora.i386.rpm //<- RC1 dmd.2.065.0-0.5.rc2.fedora.i386.rpm //<- RC2 dmd.2.065.0-1.fedora.i386.rpm //<- final release dmd.2.065.0-2.fedora.i386.rpm //<- fixup of the "final" release The important part is, that the beta stuff stay out of the version number. Only the 'Release' field is allowed to have letters. I'm a bit unsure how that would continue with 2.065.1. dmd.2.065.1-0.1.b1.fedora.i386.rpm dmd.2.065.1-0.2.rc1.fedora.i386.rpm dmd.2.065.1-1.fedora.i386.rpm Would that work for OpenSuse and .deb too? -Martin
Re: Scott Meyers will deliver a keynote talk at DConf 2014
On Tuesday, 4 February 2014 at 22:49:27 UTC, Alessandro Stamatto wrote: I'm impressed! Will it be about D? Considering his high specialization in C++, my guess is that it will be some comparison remarks between C++ and D. That would be great ;)
Re: Scott Meyers will deliver a keynote talk at DConf 2014
On Tue, 04 Feb 2014 19:01:50 -0500, Andrei Alexandrescu wrote: On 2/4/14, 3:34 PM, extrawurst wrote: On Tuesday, 4 February 2014 at 20:53:02 UTC, Andrei Alexandrescu wrote: In wake of this announcement, we decided to keep registration opened at pre-registration costs until we publish a program. When is this scheduled to be announced ? We'll announce the date of the announcement soon :o). I see missing in the "Important dates" is the release of the chosen talks. Is that known? Or are they going to be surprise announcements like this one? Already have my plane and conference ticket :) Just curious at this point. -Steve
Re: Scott Meyers will deliver a keynote talk at DConf 2014
On Tuesday, 4 February 2014 at 22:18:59 UTC, Walter Bright wrote: On 2/4/2014 2:07 PM, MattCoder wrote: Question: I want to participate, but I am from another country, then I need to get my passport first, but in case it is denied (It happens sometimes) can I have a refund? Registrations are non-refundable, but are transferable. But I understand your difficulty, and suggest a compromise. Mail us a check to lock in the pre-registration price, and we'll just put it in a drawer for now. If you can't get the passport, we'll just rip up the check. I'll check about the passport requirements first. PS: Do you know until when the pre-registration price will be available? Thanks for answering and be gentle with my situation. Matheus.
Re: Scott Meyers will deliver a keynote talk at DConf 2014
On Tuesday, 4 February 2014 at 20:53:02 UTC, Andrei Alexandrescu wrote: In wake of this announcement, we decided to keep registration opened at pre-registration costs until we publish a program. When is this scheduled to be announced ?
Re: Scott Meyers will deliver a keynote talk at DConf 2014
On 5 February 2014 06:34, Andrei Alexandrescu wrote: > I'm happy to announce that Scott Meyers will deliver a keynote talk at the > upcoming DConf 2014. Details of the talk are forthcoming. > > Scott Meyers (http://aristeia.com) is one of the best experts worldwide > in all aspects of software development using C++. He authored the > best-selling Effective C++ series ("Effective C++", "More Effective C++", > and "Effective STL") and founded the "Effective Software Development > Series" at Addison Wesley, where he acts as a Consulting Editor. Scott > holds a M.Sc. from Stanford University and a Ph.D. from Brown University. Awesome! That's a great endorsement! Now we'll need to apply some serious peer pressure for an Effective D ;)
Re: Visual D 0.3.37 released
On 04.02.2014 18:47, ParticlePeter wrote: On Wednesday, 13 November 2013 at 06:48:44 UTC, Rainer Schuetze wrote: On 12.11.2013 10:19, evilrat wrote: On Tuesday, 12 November 2013 at 08:06:24 UTC, Rainer Schuetze wrote: If you switch the debugger to "Mago", the conversion is no longer needed, so you can still build and debug Win32 executables. mago gives "cannot launch debugger on %appname%. hr = 897...", so only x64 debugger left for usage Are you sure that you are not trying to debug a 64-bit executable with mago? Maybe the working directory is invalid, this can also cause problems. If it still fails, please show the full error code, maybe I can guess what's going wrong. Are there any news on that issue ? I get the same error Messages as mentioned with these debuggers: VS and VS (x86 Mixed Mode) OUTPUT: AppName.pdb: cannot load PDB helper DLL Mago WIN ERROR MESSAGE: cannot launch debugger on AppNamel.exe hr = 89710016 AppName is a 32-Bit executable. Its on a fresh installed Win 8 with VS2013, unfortunately no old VS2012 dlls available. Would it help to upgrade to Win 8.1 ? Have you tried the latest beta version [1]? This had some improvements in cv2pdb to find the ms*pdb.dll and some fixes in mago aswell. Launching a program with a non-existing working directory causes this problem, too. Maybe you have made a typo there? [1] https://github.com/D-Programming-Language/visuald/releases
Re: dmd 2.065 beta 3
On 03.02.2014 19:54, evilrat wrote: On Monday, 3 February 2014 at 18:37:20 UTC, Andrew Edwards wrote: Windows users, please give the new installer a try. It has been updated to facilitate proper installation. vc2013/win 8.1/winsdk 8.1 detects visual studio correctly, path to win sdk correctly. has wrong path to mspdb120.dll, current: PATH=%PATH%;%VCINSTALLDIR%\bin\x86_amd64;%VCINSTALLDIR%\..\Common7\IDE should be: PATH=%PATH%;%VCINSTALLDIR%\bin;%VCINSTALLDIR%\..\Common7\IDE There is an unfortunate collision with the search paths for 64-bit and 32-bit linker: 1. If you let the installer patch sc.ini to use the latest VS installation, it will use the 64-bit linker, and the settings are ok 2. If the installer does patch sc.ini or if you just use the zip-distribution, the 32-bit linker is the default as it has the same installation path for all supported versions of VS. I guess we could always add the line PATH=%PATH%;%VCINSTALLDIR%\bin;%VCINSTALLDIR%\..\Common7\IDE after the VS version specific lines. has no path to libs dir for sdk 8.1, should be: ; Platform libraries (Windows SDK 8.1) LIB=%LIB%;"%WindowsSdkDir%\Lib\winv6.3\um\x64" According to commit log, this has been taking care of.