Closed prongs closed 10 years ago
Hi @prongs
Sorry for late response. Your debugger is really amazing. However, note that Greed has the ability to include multiple templates and let the user choose from them, that's one of the design goals. The purpose of the default template is just a simple and clean template for everyone.
My suggestion would be this, you can create a new template, called prongs.cpp
for example, and put your new template there, maybe with some simplification, since you don't have to keep compatible with the default template(If I'm seeing it right, your debugger covered some of the functionality of the default template, such as ostream<< on vectors, then you can just kick out the vector_wrapper from the default template in your prongs.cpp
).
Please notify me when you're done, and thanks for contributing to Greed.
BTW, the gradle thing. No, it would not update the jar in dist
, while it only generates a jar in build/jars
.
And I copy the jar to dist
myself, everytime :-)
You said "you can just kick out the vector_wrapper from the default template in your prongs.cpp". But the vector_wrappte
is in the GCCTest.cpp
.
And should I copy the jar too?
No, I will be in charge of the releasing, you can just commit your changes.
On Tue, Jul 2, 2013 at 5:29 PM, Rajat Khandelwal notifications@github.comwrote:
so should I copy the jar too?
— Reply to this email directly or view it on GitHubhttps://github.com/shivawu/topcoder-greed/pull/27#issuecomment-20335584 .
Chenyang WU Shanghai Jiao Tong University Cell: +86-15801929580 Address: No. 800 Dong Chuan Rd, Minhang District, Shanghai
Using this debugger templates, my vaccine software complains that the compiled binary is Trojan.KDZ.9324. And the code itself does not run. I have not made any detailed inspection, but why is that?
I'm not sure why.
Maybe the debugger code is a dangerous pattern of some viruses...
On Mon, Jul 15, 2013 at 12:32 AM, Jongwook Choi notifications@github.comwrote:
Using this debugger templates, my vaccine software complains that the compiled binary is Trojan.KDZ.9324. And the code itself does not run. I have not made any detailed inspection, but why is that?
— Reply to this email directly or view it on GitHubhttps://github.com/shivawu/topcoder-greed/pull/27#issuecomment-20939031 .
Chenyang WU Shanghai Jiao Tong University Cell: +86-15801929580 Address: No. 800 Dong Chuan Rd, Minhang District, Shanghai
Or maybe your antivirus is faulty! In any case, it's a false positive.
On Mon, Jul 15, 2013 at 9:48 PM, Shiva Wu notifications@github.com wrote:
I'm not sure why.
Maybe the debugger code is a dangerous pattern of some viruses...
On Mon, Jul 15, 2013 at 12:32 AM, Jongwook Choi notifications@github.comwrote:
Using this debugger templates, my vaccine software complains that the compiled binary is Trojan.KDZ.9324. And the code itself does not run. I have not made any detailed inspection, but why is that?
— Reply to this email directly or view it on GitHub< https://github.com/shivawu/topcoder-greed/pull/27#issuecomment-20939031> .
Chenyang WU Shanghai Jiao Tong University Cell: +86-15801929580 Address: No. 800 Dong Chuan Rd, Minhang District, Shanghai
—
Reply to this email directly or view it on GitHubhttps://github.com/shivawu/topcoder-greed/pull/27#issuecomment-20980984 .
Rajat Khandelwal Undergraduate Student IIT Delhi
@prongs BTW, Have you finished renaming your template? You are creating a test template, i assume, which will semantically replace GCCTest.cpp. So I think replace vector_wrapper will be no problem.
So you want me to add a template and a test template both?
You can decide. If leaving the default testing template will not cause compilation error, you can just add a new code template. If you need to create both template, create a new folder in Resource and put your template there. ;-)
Please don't. The whole point of DIY is we can write custom template and leave the default template clean. For example, I have a debugger in my Template.cpp [ https://gist.github.com/ashashwat/7042885 ] and if the current debugger is incorporated it would break things.
I also agree with @ashashwat.
OK, I'm going to close this, since the author is not responding.
A debugger for C++. Just have to do
debug(a, b, c, ...)
wherea
,b
,c
,...
can be either primitive, orvector
,set
,Pair
ormap
. Sorry I was not able to build.gradlew build
didn't update thejar
file indist
folder.