|
What is the most evil or dangerous code fragment you have ever seen in a production environment at a company? I've never encountered production code that I would consider to be deliberately malicious and evil, so I'm quite curious to see what others have...
Started by God of Data on
, 21 posts
by 21 people.
Answer Snippets (Read the full thread at stackoverflow):
Of the few which did, all parameters were passed as strings(); break; case "btnCE": txtEdit.Text =... .
From the more or less unsecured database :|
( I could entertain the dailywtf every day for 6 months say 90% of methods took 0 parameters.
|
|
I have one std::list<> container and these threads:
One writer thread which adds elements indefinitely.
One reader/writer thread which reads and removes elements while available.
Several reader threads which access the SIZE of the container (by ...
Started by David Alfonso on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
The STL in VC++ version 6 int ContainerSize = 0;
Update the variable only inside already protected update calls, but you can.
Concurrent / thread-safe containers for vectors, hash maps and queues .
|
|
Prior to upgrading to windows 7, I was able to use Tomcat 6.0, but when I upgraded to the new Windows, and downloaded Eclipse EE, and downloaded the apache content, I am unable to get Apache to run. When I attempt to start my apacher server through either...
Started by CitadelCSCadet on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Final solution.
"Windows could not start the Apache Tomcat 6 0."
I have had exactly this problem when running Tomcat on Windows 2003 server.
But it will help once the current problem is solved .
|
Ask your Facebook Friends
|
I'm trying fossil as my new VCS, since I'm a lone developer working on small projects. I started testing fossil but I encountered a (probably major newbie) problem. How does one push or pull to another direcotry (which is easy on Hg). Fossil pull or push...
Started by Mosh on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Received: 230 6 0 0 Send: 224 2 0 0 Received: 590 8 2 0 Total network traffic: 649 bytes sent, 806/master/ master_repos.fsl Bytes Cards Artifacts Deltas Send: 130 1 0 0 Received: 230 6 ....
|
|
If you are someone who programs in C or C++, without the managed-language benefits of memory management, type checking or buffer overrun protection, using pointer arithmetic, how do you make sure that your programs are safe? Do you use a lot of unit tests...
Started by Robert Harvey on
, 11 posts
by 11 people.
Answer Snippets (Read the full thread at stackoverflow):
That strncpy terminates the string, is there an alternative?"
strncpy(dst, src, n); dst[n-1] = '\0_strncpy (dst, src, n) { assert((dst != NULL) && (src != NULL) && (n > 0)); strncpy(dst, src, n); dst[n-1] = '\0'; return dst; }
Primary....
|
|
Hi,
During Oracle 11g R2 prerequisite checks, I got Environment variable: "PATH" failure. It seems to me the length of the environment variable exceeds the recommended length.
Any help will be appreciated.
Thanks in advance,
MJ
Started by Bariir on
, 11 posts
by 6 people.
Answer Snippets (Read the full thread at oracle):
I went....
So and I'm getting this same error.
Any help will be appreciated.
It seems to me the length of the environment variable exceeds the recommended length.
Oracle 11g R2 prerequisite checks, I got Environment variable: "PATH" failure.
|
|
§ Description : Dynamic Environment SH5 v 2.1
§ Authors : stoianm & gap
§ About this mod : The weather randomly generated by Silent Hunter 5, as it is out of the box, tends to be quite static. This mod addresses the problem, aiming to enhance the game...
Started by stoianm on
, 15 posts
by 6 people.
Answer Snippets (Read the full thread at subsim):
Yhey are included Screenshoots from stoianm Env SH5 comp Real Environment version for people that like darker nights: stoianm Env SH5 comp Real Environment - Revision_2 (for movie - dark nights), stoianm Env SH5 comp....
Or the env nights...
|
|
Beautiful animals in their natural environment Found this beautiful. I think it was filmed in Juan's tank.
http://www.youtube.com/embed/mcbHKAWIk3I
yep. I'm a reefer. 220 gallon dt with lifereef overflow. 100 gallon custom sump. 2 70 gallon Frag tanks...
Started by dmatt88 on
, 11 posts
by 7 people.
Answer Snippets (Read the full thread at reefsanctuary):
Live Tank Cam Re: Beautiful animals in their natural environment That is definitelyRe: Beautiful animals in their natural environment Pretty Awesome ROB
To view links or images in signatures your post count must be ....
Have 0 posts.
|
|
While compiling gwt source, I get the error :
"An unexpected error has been detected by Java Runtime Environment "
Following is the hs_err_pid14267.log (error log) file is generated on server
How would you debug this?
# # An unexpected error has been ...
Started by Prathamesh on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Could you try with Java 6.
Usr/lib/jvm/java-6-sun-1.6.0.06
This is not the latest JDK out there.
|
|
The link between Mind and Social / Environmental-Issues.
The fast-paced, consumerist lifestyle of Industrial Society is causing exponential rise in psychological problems besides destroying the environment. All issues are interlinked. Our Minds cannot...
Started by sushilydv on
, 15 posts
by 7 people.
Answer Snippets (Read the full thread at envirolink):
Sushil_yadav
PowerSwitch
EnviroLink....
To read the modified Society Destroys Mind and Environment
Last edited by sushilydv on Wed Jun 24, 2009 10:14 pm, edited 2.
Additions to the article "Industrial Society Destroys Mind and Environment".
|