|
The Internet, even more than the media, kills intelligent discussion/thought, by creating enclaves where people who are like minded can engage in massive examples of groupthink, where the most stupid things become established fact in the minds of participants, simply because they choose to be around people who reaffirm what they want to believe.
Christian Graus
Clickety[^]
|
|
|
|
|
Then they aren't intelligent thinkers anyway.
Sometimes the loser kids are the coolest to hang around with.
But ONLY sometimes.
*sigh*
I love the word 'unguent'...
|
|
|
|
|
I think Christians point is that the Internet helps you avoid exposure to other ideas, and reinforce your own. With a normal circle of friends anf family you can't avoid different thoughts, but on the internet you can find a group for the weirdest stuff.
I don't think Intelligence is like in role playing games - drop 18 points in INT, and you are set. There are some physical rperequisites, but still it requires constant training, challenge and exposure. Beer-and-TV controled protohumans can develop quite some brain if challenged.
|
|
|
|
|
Ah, the irony. The more ideas that there are, the more you can avoid them.
Sometimes the loser kids are the coolest to hang around with.
But ONLY sometimes.
*sigh*
I love the word 'unguent'...
|
|
|
|
|
She said "It would do you good to go out from time to time, and wake up somewhere else."
I said: "How can I kiss a girl I just met? I don't even know her!"
Some of us walk the memory lane, others plummet into them like into a rabbit hole boost your code || Fold With Us! || sighist
|
|
|
|
|
|
disclaimer: this is my own personal view on frequent questions about CP. They do not constitute an official statement on behalf of CodeProject, my Employer, or the Kirgisian governmet
Q: How does the voting work? I thought it is the average, but...
A: It is a weighted average. Votes by new members weight less than votes by contributors.
Membership levels range from bronze to platinum. a platinum vote has the same effect as 5 bronze votes.
Q: How about a CD/DVD with CodeProject articles?
A: It would certainly be nice to have an offline collection of articles to browse. However, there are a points against it
(1) Legal: unlike other sites, CodeProject leaves the copyright with the author, and allows code to be published under a wide variety of licences. This is nice, but also means collecting all articles on a CD is a legal mine field. At least each author would have to be contacted for written consent to agree with his articles being included.
(2) Up-to-date articles: "do you want your old, buggy articles floating around on the web?" You can update your articles on CP, but you can't on a CD.
(3) Money. Running a site with even a few full-time employees is expensive, Bandwidth being only a part of it. CP is paid for mostly by advertisement, and maybe you noticed that CP ads are always on topic, and never intrusive. CP needs people visiting the site.
(4) Community. CP would be a cold and barren place without the community. And the community needs people visiting CP.
to be continued...
we are here to help each other get through this thing, whatever it is Vonnegut jr. Fold With Us! ||
|
|
|
|
|
A:
Don't mention it. it was tried as "Code Project Code Projects" (CP 2) but mostly failed. A few projects that moved away from CP quickly actually took off, though. Reasons are beyond this FAQ.
If you want to start a project, start it. If it's good, people will join. Keep in mind, however, that CPians are a different crowd than your typical OpenSourcers.
we are here to help each other get through this thing, whatever it is Vonnegut jr. boost your code || Fold With Us! || sighist | doxygen
|
|
|
|
|
The following is as unofficial as the rest of the FAQ, purely my own opinion at the time of posting:
from time to time, complaints or common suggestions regarding the votes pop up.
(1) The "rating" is just a number. Don't get overly excited or depressed about it.
(2) The article voting system works very well long term: good articles rise, bad articles drop
(3) Short term it doesn't work so well: the initial votes (about 5) have a high influence on exposure of your article, and affect if you can attract a "close to final" voting *early*.
(4) You cannot stop "hate votes"
Many ways are suggested to "fix" that, usually to find out where "1" votes come from. None look promising:
e.g. "Require people to leave a comment" : you can't stop people from posting "fhöwfdsnfä"
e.g. "Display who voted what": likely to cause revenge votings, which will distort voting further
(peterchens house rule: don't try to fix social problems with technical measures)
What can you do if you think your article was treated unfairly bad:
First ask yourself: is the article really that good? Compare to other articles with a good rating. From my experience, things that may attract low votes are (in no particular order):
- Non-Standard layout, non-standard font for body, unformatted paragraphs etc.
- Horizontal scolling on 800x600
- Just code, but no article explaining the what, why, how. CP is not a code repository.
- Presenting a solution that shows you don't know enough about the problem
- Pretentious title with simplistic code/implementation
- Broken Download
- Bad english. That is a problem for foreigners, consider asking someone to help you
- Assuming to much knowledge from your readers, not explainig the problem
- Being to popular
- technically inacceptable solution
(Note: I don't claim this is "fair", it's just the way it is. )
Things you can do:
- There are articles about writing good articles. read them.
- Ask kindly if someone would like to help you improve the article (e.g. proof-read, help with english etc.)
- If all this fails, and you still think someone else voted your article down just because he doesn't like you, take a deep breath, and wait for a week.
- If you think you made everything right, and suspect abuse of the voting system, contact a site editor through the suggestions board. Don#t expect miracles, though
What remains is that a '1' vote in the first five or so has much more influence than a later '1' vote. My suggeston: all article start with a vote of 3. It should be implementable eaily, and evens out the playing field a bit. I don't know all implications of this, though.
Some of us walk the memory lane, others plummet into a rabbit hole
Tree<t> in C# || Fold With Us! || sighist
|
|
|
|
|
The licence is chosen by the author of the article.
For authors that means they keep the full right to their work. Yay! They can republish it on another web site, sell it, put it into a book, no problem.
If you want to use code from the article, you(!) must(!) check the licence yourself. There should be one included in the download, or mentioned in the article, or at least in the message board.
If you can't find a licence, you should contact the author. If you post a question in the article's message board, the author gets notified, and can reply.
Sometimes, you can't find the author. With no licence, and no word from the author, you need to assume the worst: the copyright owner does not allow you to use or reproduce the code or other material. I know how bad this can be, but you are taking a definite risk here.
Authors: For bobs sake, add a licence to your article and your code! (and please don't slap a GPL on it because "it makes the code free to use")
|
|
|
|
|
extern "C" _InterlockedIncrement(LPLONG lpAddend);
extern "C" _InterlockedDecrement(LPLONG lpAddend);
#pragma intrinsic(_InterlockedIncrement, _InterlockedDecrement)
Documented for VC7, works wiht VC6
we are here to help each other get through this thing, whatever it is Vonnegut jr.
sighist Fold With Us! || Agile Programming | doxygen
|
|
|
|
|
Folding at home - Distributed research for a Cure for Cancer.
Team Code Project[^]
Download[^] and install the client. Enter your team number: 11561 in the settings, and let it run. It eats unused CPU time, an internet connection to get new jobs from time to time, and if you let it run unattended your power bill will be a bit higher. Results of research go into public domain. It makes decent screen saver, too.
I don't believe we can make it a better world. Maybe the little extra on the power bill would be more effective donated directly. Maybe all of this effort is in vain for a bug, a lawyer or a more clever approach. I don't get ego fuzzies looking at the screen. "Fold faster than the other guys" is fun, but only for a while. My computer won't beep with a "peterchens completes 'Cure for Cancer'" messagebox - it takes much more than 600 shields. We won't make a drug and distribute it freely among everybody who is struck with the plague of the industrialized world. There's only so much we do, and "folding at home" is not more than reusing your grocery bags because the Amazonian woods are burning down.
Today, a friend of mine goes into hospital. The lump grew a quite bit in the last month, and now presses against her air tube. They say it's no problem, but they said it wouldn't grow half a year before, too. They'll slice her open, cut it out, close her, and life goes on. That's what she says. That's what she thinks. She doesn't take the liberty to think about other possibilities. I cannot do anything. I can't hold her hand. I can't count the instruments they take out, and compare to the number they put in. I can't even visit her while she recovers. I can't talk with her about my fear. I can't do anything.
I fold.
we are here to help each other get through this thing, whatever it is Vonnegut jr.
sighist || Agile Programming | doxygen
|
|
|
|
|
How can I help cancer victims by downloading and installing this client? Can you please elaborate a little more on this? I don't mind my electricity bills hiking up.
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
In short, you are running a simulation of the 3D structure of proteins (which is essential for proteins to work as intended). "Folding" is the process of a protein achieving it's 3D layout when it is built.
There are different projects for different diseases, usually trying to understand and model the folding and/or mis-folding of a protein, or how a potential drug could "dock" to a protein. Instead of a simulation on a supercomputer, a network of mostly desktop PCs is used.
The "ultimate dream" of the project is to find a cure for cancer - more realistically: to help acquire information that may lead to this.
Here you find an overview of projects[^] running on F@H.
If you want to know details about the biology/chemistry, you should try the forums. They are crowded with bright minds (and people showing off their computing power )
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers! We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP Linkify!|Fold With Us!
|
|
|
|
|
Thanks, I am folding.
I am not ashamed to confess that I am ignorant of what I do not know.
- Marcus Tullius Cicero
|
|
|
|
|
cool!
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers! We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP Linkify!|Fold With Us!
|
|
|
|
|
Peter,
Thanks for the link. Glad to do my part!
Mike
|
|
|
|
|
I want to give my "bit" of help as well. I went to the download page (at the moment not working "Many connections. Please try later") But I have seen there are 2 different versions. 5.03 Graphical (WinXP) or 5.04 Console (XP as well). Which one do you recommend me?
Grüße aus Regensburg.
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
Rating helpfull answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Normally, the graphical client is the one - it's easy to install and to use, and it makes a decent screensaver.
I've never used the console-only / service client, is is intended for low-impact installations, (e.g. distribution in office network - provided the boss agrees), or server PCs that usually don't have an intractive user logged in.
Grüße aus Dresden!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP blog: TDD - the Aha! | Linkify!| FoldWithUs! | sighist
|
|
|
|
|
As response to a question how to learn C++ and become a "pro", "not only using DOS commands, but also MFC"
The following is a roadmap to "Mastering C++" - how I would teach it.
Some people might want to reorder the list which is fine with me - it all
depends on the teacher and the tools.
Chapter (I) Learning the language
- basic language: type system, control structures, functions, scope.
- basic concepts: programming style, structuring your program using
functions, the difference between contract, declaration and implementation - language: pointers.
pointer arithmetic, referencing, dereferencing, pointers vs. references,
pointer to pointer, adress of pointer, allocating raw memory, etc.
If you didn't succeed with (3): learn pointers
If you don't get it the third time, give up. Really. I am serious.* - debugging. assert, trace, using a debugger, distrusting yourself,
acquiring some programming style. - language: Function overloading.
- language: classes. Member functions, constructor, destructor
- concepts: encapsulation, simple object design, encapsulating state
- lanuage: learn exceptions **
- repeat concepts: good programming style, contract vs. declaration
vs. implementation - concepts: inheritance, polymorphy
- concepts: "enhanced" object design with the new knowledge
(exceptions and polymorphy) - language: some refined points
const-correctness, default constructor, copy constructor vs. assignment
operator, how to make a class behave like a built in type (but skip operator
overloading) - language: templates: function templates, class templates, template
specialization, - get an introduction on the STL (standard template library, which
makes the biggest part of the C++ run time library) - language: ok, now, just as sugar, operator overloading, and how to
make types truly act like built-ins - libraries: refine your knowledge on the STL
NOW you are ready to leave the console window
Chapter (II) ...but also MFC
- Windows API basics: This helps understanding some of the
mumbo-jumbo and awkwardnesses in the MFC much better
Event Driven Programming, Windows, Window Handles, Window Messages
(you can omit *creating* windows here, since this is a painful task made much
easier by frameworks - but the rest is important to understand and makes
working with the MFC easier).
GDI, standard controls etc. - Do the MFC "Scribble" tutorial, just following the main path (up to
"printing" or so). Don't try to understand everything, just get a feeling for
the "flow". - Do the "Scribble" tutorial again, this time exploring the background
explanations etc.
Chapter (II) Become a Pro
- Notice that, once you are here, you are the last remaining person on earth
doing MFC - Learn enhanced concepts: Exception Safety, Patterns etc. and all the fine
parts I have forgotten above - Learn "Industry Power" stuff: Automated Tests, Version Control,
Finalizing, and everything that belongs to running a larger project.
<b>Warning:</b> this course is a pain. In the ass, in the back, in your
fingers, everywhere. Yet, it's IMO one of the shorter routes to a pro. To be
true, you could start with th MFC stuff pretty much after (I)-(j), but this
makes you only half-a-programmer, and you might acquire some misfeats that are
hard to get rid of later.
The order of the list itself clearly shows some drawbacks of the C++ language,
namely, the position of exceptions, and especially the STLBoth are standard
tools that should be introduced much earlier, but require good understanding of
the basic language features.
*) I pretty much agree with the thought that understanding pointers
needs a certain "wiring" of the brain. All other stuff in C++ can be learned
by a decently intelligent person. Pointers are different, you either get them,
or you don't. If you can't do pointers, C++ will be a pain all the
time.
**) that's really late, to late. They are an important tool for error
handling - and people should learn it as early as possible. However, it
doesn't make much sense wihtout a good grasp on scope and code flow. I would
do exceptions right after (b), but books/courses don't do it without classes.
we are here to help each other get through this thing, whatever it is Vonnegut jr.
sighist || Agile Programming | doxygen
|
|
|
|
|
lol ,Peter is tired of being called "Mr. Chen",I suggest that you take a chinese name,just like chen pite
BTW,thank you for sharing your article, i'm learning MFC
|
|
|
|
|
Imagine you are on the holiday trip of your life - south italy, just across Sicily. Your'e in a bar, there's this incredible girl with piercing black eyes, and you don't know if she just smiles at your veiled attempts to explain the bartender what you'd like to drink, or just smiles at you.
To break the ice, you scratch together your last italian, and say something to her.
In that moment, the whole bustling location freezes. Eyes either turn to you, or away. The bartender slowly puts down the bottle of whatever you did not want to order, but finally agreed on. A young italian boy, slender, moving like quicksilver, dark, angry eyes, turns around and asks you (in unintelligible italian, of course):
"What did you just say to my little kid sister?"
THIS is the kid sister rule.
we are here to help each other get through this thing, whatever it is Vonnegut jr.
sighist || Agile Programming | doxygen
|
|
|
|
|
5! To funny
|
|
|
|
|
Since it crops up frequently:
a) VC7 : makes the CStringT template available for both ATL and MFC projects
b) WTL (clickety[^]) : provides a 1:1 CString clone for ATL/WTL projects under VC6. The ATL/WTL framework emphasizes "link on demand", so you could basically create a raw Win32 application/library with CString
c) On Codeguru you'll find a macro that extracts the CString sources from your MFC library, so oyu can add them to any other project
d) there are some CString clones[^]. However, with the availability of WTL, there's rarely a need, unless you need to be portable
e) finally, you can "rip out" the WTL CString class. All that CString needs from the framework is the Ressource HINSTANCE for implementing LoadString and similar functions. (IIRC there are some more system-dependent elements, which can be easily replaced)
we are here to help each other get through this thing, whatever it is Vonnegut jr.
sighist || Agile Programming | doxygen
|
|
|
|
|
"Have you tried Jesus?"
"Jesus? Oh, that guy. Tried to take the load of others, and couldn't even carry his own. He lived a life of agony and pain, and he died a horrible death. Now how can I load my own pain on the back of this guy!
Do you really think he was happy here? Look around. People are a pain. Everybody has one or two or a dozen who make all this bearable, but the rest - not that I dislike them, but I would miss their number, not them individually. Now imagine you walk around to get them all smiling, at once. And everytime five or six of them do, someone behind your back breaks into a curse.
I bet he found peace and his daddy only when sitting under an olive tree, watching an ant, and a stone, just be. This is where all that salvation and better afterlife comes from: HE just couldn't bear this life. If we wouldn't have killed him, he would have probably done this himself.
Do you know the scene, where Judas doubts his own plan, and doesn't want to go to Kaiphas? Jesus sees this and tells him his, Judas', task is harder than his own: carrying the burden of the traitor, rather than die for your fight. But to find an end, we need the traitor as much as the redeemer.
Who am I to burden this man with the dirt of my own? We went a few miles of our road together, but where he goes I cannot follow."
we are here to help each other get through this thing, whatever it is Vonnegut jr.
sighist || Agile Programming | doxygen
|
|
|
|
|