www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - DConf 2014 Day 2 Talk 4: Reducing D Bugs by Vladimir Panteleev

reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
http://www.reddit.com/r/programming/comments/2a8xf4/dconf_2014_day_2_talk_4_reducing_d_bugs_by/

https://www.facebook.com/dlang.org/posts/881813965165619

https://news.ycombinator.com/newest (please find and vote quickly)

https://twitter.com/D_Programming/status/486902390399180801


Andrei
Jul 09 2014
next sibling parent reply Andrej Mitrovic via Digitalmars-d-announce writes:
On 7/9/14, Andrei Alexandrescu via Digitalmars-d-announce
<digitalmars-d-announce puremagic.com> wrote:
 https://news.ycombinator.com/newest (please find and vote quickly)
Just paste the URL with some randomness in it and people can then copy-paste it themselves, this search & hunt think is silly. https://news.ycombinator.com<remove_me>/item?id=8010342
Jul 09 2014
parent "Puming" <zhaopuming gmail.com> writes:
On Wednesday, 9 July 2014 at 16:23:46 UTC, Andrej Mitrovic via 
Digitalmars-d-announce wrote:
 On 7/9/14, Andrei Alexandrescu via Digitalmars-d-announce
 <digitalmars-d-announce puremagic.com> wrote:
 https://news.ycombinator.com/newest (please find and vote 
 quickly)
Just paste the URL with some randomness in it and people can then copy-paste it themselves, this search & hunt think is silly. https://news.ycombinator.com<remove_me>/item?id=8010342
if the problem is because of referer url, then you don't even have to insert characters, just remove the 'https://' part and leave a plain text their and let people copy&paste, most browsers will add the protocol automatically(except only IE?). this may be ok: news.ycombinator.com/item?id=8010342
Jul 10 2014
prev sibling next sibling parent Andrej Mitrovic via Digitalmars-d-announce writes:
On 7/9/14, Andrej Mitrovic <andrej.mitrovich gmail.com> wrote:
 On 7/9/14, Andrei Alexandrescu via Digitalmars-d-announce
 <digitalmars-d-announce puremagic.com> wrote:
 https://news.ycombinator.com/newest (please find and vote quickly)
Just paste the URL with some randomness in it and people can then copy-paste it themselves, this search & hunt think is silly. https://news.ycombinator.com<remove_me>/item?id=8010342
s/think/thing
Jul 09 2014
prev sibling next sibling parent "Dicebot" <public dicebot.lv> writes:
http://youtu.be/5iXRFlKvEY0
Jul 09 2014
prev sibling next sibling parent reply simendsjo <simendsjo gmail.com> writes:
On 07/09/2014 06:00 PM, Andrei Alexandrescu wrote:
 http://www.reddit.com/r/programming/comments/2a8xf4/dconf_2014_day_2_talk_4_reducing_d_bugs_by/
 
 
 https://www.facebook.com/dlang.org/posts/881813965165619
 
 https://news.ycombinator.com/newest (please find and vote quickly)
 
 https://twitter.com/D_Programming/status/486902390399180801
 
 
 Andrei
Great talk! I didn't even know most of those tools existed! Would it make sense to add them to the dtools repository?
Jul 09 2014
parent reply =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= <per.nordlow gmail.com> writes:
On Wednesday, 9 July 2014 at 18:26:53 UTC, simendsjo wrote:
 Would it make sense to add them to the dtools repository?
It's already included there as a submodule :)
Jul 09 2014
parent reply simendsjo <simendsjo gmail.com> writes:
On 07/10/2014 01:22 AM, "Nordlöw" wrote:
 On Wednesday, 9 July 2014 at 18:26:53 UTC, simendsjo wrote:
 Would it make sense to add them to the dtools repository?
It's already included there as a submodule :)
Hidden in plain sight.
Jul 09 2014
parent reply "Dicebot" <public dicebot.lv> writes:
On Thursday, 10 July 2014 at 05:27:56 UTC, simendsjo wrote:
 On 07/10/2014 01:22 AM, "Nordlöw" wrote:
 On Wednesday, 9 July 2014 at 18:26:53 UTC, simendsjo wrote:
 Would it make sense to add them to the dtools repository?
It's already included there as a submodule :)
Hidden in plain sight.
Wait what? Are you speaking about https://github.com/D-Programming-Language/tools ?
Jul 10 2014
parent reply simendsjo <simendsjo gmail.com> writes:
On 07/10/2014 11:34 AM, Dicebot wrote:
 On Thursday, 10 July 2014 at 05:27:56 UTC, simendsjo wrote:
 On 07/10/2014 01:22 AM, "Nordlöw" wrote:
 On Wednesday, 9 July 2014 at 18:26:53 UTC, simendsjo wrote:
 Would it make sense to add them to the dtools repository?
It's already included there as a submodule :)
Hidden in plain sight.
Wait what? Are you speaking about https://github.com/D-Programming-Language/tools ?
I was mostly thinking about the lack of visibility on the wiki and homepage. And while dustmite is there, digger is not.
Jul 10 2014
parent "Dicebot" <public dicebot.lv> writes:
On Thursday, 10 July 2014 at 10:15:39 UTC, simendsjo wrote:
 On 07/10/2014 11:34 AM, Dicebot wrote:
 On Thursday, 10 July 2014 at 05:27:56 UTC, simendsjo wrote:
 On 07/10/2014 01:22 AM, "Nordlöw" wrote:
 On Wednesday, 9 July 2014 at 18:26:53 UTC, simendsjo wrote:
 Would it make sense to add them to the dtools repository?
It's already included there as a submodule :)
Hidden in plain sight.
Wait what? Are you speaking about https://github.com/D-Programming-Language/tools ?
I was mostly thinking about the lack of visibility on the wiki and homepage. And while dustmite is there, digger is not.
I was referring to the fact that tools repo has no submodules and was confused what Nordlöw has in mind.
Jul 10 2014
prev sibling parent reply "safety0ff" <safety0ff.dev gmail.com> writes:
On Wednesday, 9 July 2014 at 16:00:47 UTC, Andrei Alexandrescu 
wrote:
 http://www.reddit.com/r/programming/comments/2a8xf4/dconf_2014_day_2_talk_4_reducing_d_bugs_by/

 https://www.facebook.com/dlang.org/posts/881813965165619

 https://news.ycombinator.com/newest (please find and vote 
 quickly)

 https://twitter.com/D_Programming/status/486902390399180801
Since this talk I've used Digger twice to find where an issue was incidentally fixed (i.e. reversed search.) The only hiccup I ran into was when the first slice of history wouldn't build. Simply moving the start/end point was good enough to allow it to find the commit I was looking for.
Jul 10 2014
parent reply "Trass3r" <un known.com> writes:
Digger is awesome. Have never heard of it before this talk.

Unfortunately it's a huge PITA to get a Win64 build with it cause 
of those stupid hardcoded "\Program Files (x86)\Microsoft Visual 
Studio 10.0\VC" paths. The modified makefiles etc are always 
reverted by Digger before building.
Jul 13 2014
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 13.07.2014 19:35, Trass3r wrote:
 Digger is awesome. Have never heard of it before this talk.

 Unfortunately it's a huge PITA to get a Win64 build with it cause of
 those stupid hardcoded "\Program Files (x86)\Microsoft Visual Studio
 10.0\VC" paths. The modified makefiles etc are always reverted by Digger
 before building.
You can add the compiler to the make command line with some magic quoting. My build script calls druntime: make -f win64.mak DMD=../windows/bin/dmd.exe "CC=\"c:\l\vc10\bin64\cl.exe\"" target phobos: make -f win64.mak DMD=../windows/bin/dmd.exe "CC=\"c:\l\vc10\bin64\cl.exe\"" MAKE=c:\l\dmc\bin\make "AR=\"c:/l/vc10/bin64/lib.exe\"" LIB=..\lib64\phobos64.lib
Jul 13 2014
next sibling parent reply "Trass3r" <un known.com> writes:
 You can add the compiler to the make command line with some 
 magic quoting.

 My build script calls

 druntime:
 make -f win64.mak DMD=../windows/bin/dmd.exe 
 "CC=\"c:\l\vc10\bin64\cl.exe\"" target

 phobos:
 make -f win64.mak DMD=../windows/bin/dmd.exe 
 "CC=\"c:\l\vc10\bin64\cl.exe\"" MAKE=c:\l\dmc\bin\make 
 "AR=\"c:/l/vc10/bin64/lib.exe\"" LIB=..\lib64\phobos64.lib
Isn't the make call hardcoded in Digger?
Jul 13 2014
parent Rainer Schuetze <r.sagitario gmx.de> writes:
On 13.07.2014 20:43, Trass3r wrote:
 You can add the compiler to the make command line with some magic
 quoting.

 My build script calls

 druntime:
 make -f win64.mak DMD=../windows/bin/dmd.exe
 "CC=\"c:\l\vc10\bin64\cl.exe\"" target

 phobos:
 make -f win64.mak DMD=../windows/bin/dmd.exe
 "CC=\"c:\l\vc10\bin64\cl.exe\"" MAKE=c:\l\dmc\bin\make
 "AR=\"c:/l/vc10/bin64/lib.exe\"" LIB=..\lib64\phobos64.lib
Isn't the make call hardcoded in Digger?
I don't know, never used digger so far. I just remembered the problem with win64.mak.
Jul 13 2014
prev sibling parent reply "Trass3r" <un known.com> writes:
 druntime:
 make -f win64.mak DMD=../windows/bin/dmd.exe 
 "CC=\"c:\l\vc10\bin64\cl.exe\"" target

 phobos:
 make -f win64.mak DMD=../windows/bin/dmd.exe 
 "CC=\"c:\l\vc10\bin64\cl.exe\"" MAKE=c:\l\dmc\bin\make 
 "AR=\"c:/l/vc10/bin64/lib.exe\"" LIB=..\lib64\phobos64.lib
That works? So it probably doesn't need the includes set in the makefile.
Jul 14 2014
parent reply "Trass3r" <un known.com> writes:
Nope doesn't.
Setting VCDIR and SDKDIR via the make command works.
Jul 14 2014
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 14.07.2014 16:55, Trass3r wrote:
 Nope doesn't.
 Setting VCDIR and SDKDIR via the make command works.
Works for me. Maybe you need a newer version of make (there was a silent update in 2012, my version is 5.06). This kind of escaping also depends a lot on the used shell, I'm just using cmd.exe.
Jul 14 2014
parent reply "Trass3r" <un known.com> writes:
 Setting VCDIR and SDKDIR via the make command works.
Works for me. Maybe you need a newer version of make (there was a silent update in 2012, my version is 5.06).
Well if you don't set VCDIR you won't get proper include paths. So no clue why it works for you.
Jul 14 2014
parent Rainer Schuetze <r.sagitario gmx.de> writes:
On 14.07.2014 21:05, Trass3r wrote:
 Setting VCDIR and SDKDIR via the make command works.
Works for me. Maybe you need a newer version of make (there was a silent update in 2012, my version is 5.06).
Well if you don't set VCDIR you won't get proper include paths. So no clue why it works for you.
Ok, I'm not starting the bare cmd.exe, but the one from VS that calls vcvars32.bat. That way the INCLUDE environment variable contains the correct paths. I agree, the VCDIR/SDKDIR settings in the makefile are not very helpful, but can also be ignored that way.
Jul 14 2014