|
Looks like another copy/paste error.
|
|
|
|
|
Marc Clifton wrote: Erm, Washington DC is not where "parliament" is usually held. Don't ruin jokes with the facts.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Yup, that's precisely why I edited it to read "Congress" in place of "Parliament" before stealing it and posting it on another site. I also changed "sitting" to "session," if it matters to anyone. I'm happy to report that I've scored quite a few on that site since posting late last night.
Will Rogers never met me.
|
|
|
|
|
So the Canadians came back to finish the job and did a better job of planning than they did the last time when they let them all get away.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
A user voted my CWtlPicture article a 1 because I did not supply an EXE file with the article. I stopped putting EXEs with most articles a few years ago because of virus concerns and because targeting multiple platforms (32 bit, 64 bit, etc.) adds complexity to the link structure.
I know it is more convenient to download and run a pre-compiled EXE than to download and build a project. However, at least half of the Code Project EXEs I've recently download either crash or do not run at all, so I have to debug and/or build the project anyway.
On the article submission page, it says "If emailing files, please do not email executable files within zips. Our email provider automatically bounces any email containing exe's, or zip's with exe's inside." But it is possible to send EXE files in other ways.
What is your take on providing EXE files with articles? Do you still do so? Have you run into platform issues with downloaded executables like I have? What is the best practice nowadays?
|
|
|
|
|
I remove my executables and object files.
|
|
|
|
|
The Code Project.
I wonder which part he didn't understand
Wrong is evil and must be defeated. - Jeff Ello
Any organization is like a tree full of monkeys. The monkeys on top look down and see a tree full of smiling faces. The monkeys on the bottom look up and see nothing but assholes.
|
|
|
|
|
That person does not have C++ in their profile so may have trouble compiling the project like I would.
Several places will not allow downloading files with .exe in them so you could always upload a version with and with out the .exe or a seperate file with just the exe for download for those that would like to test it as is.
Some like to view how a program works before digging into the code. If it crashes then they may not bother viewing the code.
I personally forget to remove the .exe from my projects before uploading them after spending so much time on the articles.
|
|
|
|
|
Yeah, I know including an EXE used to make things easier. But with Vista/Win7/Win8 security features blocking executables or demanding admin privilege, with various 64 bit and 32 bit architectures, with multiple versions of .NET possibly requiring download and installation, it doesn't seem like a good idea anymore to include an EXE that may only run properly on some systems while crashing on others.
|
|
|
|
|
You are right about that, the only way that would work is if version checking was built in so it would not just crash, but throw a error stating it needs version x or admin right to run properly on OS version X or .Net framework X.
|
|
|
|
|
There's usually no point in providing an EXE, because usually it's just an example anyway. The point of the example is showing how something works, not to provide a useful application. Some articles may come with a useful application, but usually that makes no sense to do.
|
|
|
|
|
I agree; most articles should not include an EXE. Only one of mine does.
I also don't include IDE-specific files because I generally don't use an IDE and they're unlikely to be of any use to the reader.
Only include the code and the article text; let the reader decide how to use it. Anyone who can't figure it out probably isn't worth your effort.
|
|
|
|
|
PIEBALDconsult wrote: I also don't include IDE-specific files because I generally don't use an IDE and they're unlikely to be of any use to the reader.
I'm going to have to disagree with this one unless you're publishing articles for Ruby/C++ on *nix/etc where no IDE is the norm. The vast majority of .net developers do use VS, and automatic up-conversion wizards mean that a minute to create a .sln/csproj pair for your article in the minimum version of VS that supports what you're doing will successfully load in all of the newer and shinier versions of VS that MS churns out.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
But I'm not going to create files that I don't need simply because someone else might find them helpful.
|
|
|
|
|
No exes in any of my articles.
|
|
|
|
|
Check his profile, he has quite a history of 'My vote of 1'. I thought you handled it well. My vote of 5!
"Go forth into the source" - Neal Morse
|
|
|
|
|
Yeah, he also did "My vote of 1" on this article, too. It's just a simple and goofy video game to show some WTL code tips but he says "its not real game".
|
|
|
|
|
There is no reason to provide any executable/compiled files - this site is 'for those who code'...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
I suspect that poster is of the [Gimme the Codez] variety - so I wouldn't let it bother you Ed
|
|
|
|
|
It's hard to believe there are nearly 11 million Code Project members now. It makes me feel old to be member 29062. Almost as old as you! Not quite the close-knit community of the golden days.
|
|
|
|
|
Ed Gadziemski wrote: What is your take on providing EXE files with articles? Do you still do so?
I never run the exe for the reasons you mentioned, concern about viruses, etc. Also, I usually want to include the code is something I'm doing, so I want to make sure the code compiles, I really don't give a darn about the exe.
Me, I just put a link to the code on GitHub nowadays. I'll make a branch specific for the code in the article so the reader can correlate what I'm writing about and the code examples in the article to the actual code.
Sorry to hear about your 1-voter.
Marc
|
|
|
|
|
You can always downvote the posting, then explain why.
Maybe a downvote or two will be enough to convince people not to downvote without good reason.
Or maybe it'll start flame wars. Who knows?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Mark_Wallace wrote: downvote without good reason
Members can vote any darn way they like. And so they do.
modified 25-Oct-14 23:18pm.
|
|
|
|
|
I think for 99.99% of the cases it makes no sense to include an .exe in an article explaining/discussing some code.
Try Hovercraft for Android, voted "a game" by players.
|
|
|
|
|
I usually don't add exe files to the downloads, for the reasons you have mentioned and most of my stuff is something where the source code is much more important than an executable.
The console is a black place
|
|
|
|