-
Replied To a Post in How to implement row locking in MYSQL
Having multiple readers of a table simultaneously is not a problem and you should not try to lock the table. Having one read it while another is trying to write … -
Replied To a Post in How can i program a search engine like this
To quote myself - "We don't do your homework for you!". Until you make an effort, post the code here, and let us know what errors or issues you have, … -
Replied To a Post in Pagination
Just remember, we don't do your homework for you. Post your best-effort code and we will critique it and help you fix it, but don't expect us to do it … -
Replied To a Post in Javascript tag auto generated in my code
What tools are you using to generate your PHP? This doesn't happen "auto-magically". -
Replied To a Post in can someone help to understand this plz
Time to go back to the text book. This is not rocket science, and since you have to ask that question, you haven't been doing your homework... :-( -
Replied To a Post in Are VMs safe, when OS's are different?
Viruses that infect a virtual machine should only affect that virtual machine, unless it has some network connection to the host that can let the virus propagate to the host … -
Replied To a Post in can someone help to understand this plz
Your code as shown is not correct/valid and you aren't showing enough information, such as your class definitions. Are you trying to define a class inside another one? -
Replied To a Post in become a reseller or create my own software
Business is business. Some are good at it. Others not so. That said, it is possible to write your own software, especially for mobile apps, and have it sold for … -
Replied To a Post in AP Computer Science(Java) Question
To see what is going on, before line 8, put in a printf statement that will output i and j. That may help you see the behavior of the algorithm. … -
Replied To a Post in c and c++ , the difference?
C++ is derived from C, and is fully compatible with C code. It has added classes, templates, references (vs raw pointers), and a number of other advanced programming features that … -
Replied To a Post in linux and unix
Linux is NOT Unix, though they share a lot of design features, and support many of the same tools and application sets, though each application needs to be built for … -
Replied To a Post in power on password
After pulling the battery, hold the power-on button down for at least 10-30 seconds in order to drain the CMOS-Flash memory charge. Just removing the battern is insufficient. Also, some … -
Replied To a Post in declaration of 2 variables called count and distance
Also, normally we don't do your homework for you. Of course, you still need to initialize your variables to a sane value. I think Moschops is leaving that exercise to … -
Replied To a Post in Does my CPU has support for PAE, NX, and SSE2
PAE - Physical Address Extension - this allows your computer in 32-bit mode to access more than 4GB of RAM, although each process is still limited to that. SSE2 - … -
Replied To a Post in Convert .wmv video to a file that imovie can recognize?
Install ffmpeg. It is open source (free), runs on most anything, and can convert any format to any other, including .wmv files. Typical command line would be like this: ffmpeg … -
Replied To a Post in Difference
Everybody has a bad day from time to time. Common questions are often similar in form... Give the dude a break! And Ahmad, this is NOT a pathetic site, but … -
Replied To a Post in Serialization Realtime example
XML is frequently used to serialize objects and such these days. There are many packages that will help you with that for Java, C, C++, and other languages. And don't … -
Replied To a Post in ali asad
And don't forget to stick your tongue out and flap your arms vigorously while you reboot! Sorry, I couldn't help myself after these other responses! Do let us know WHAT … -
Replied To a Post in file operation
@ddanbe Fixed price projects... I'm involved in one of those right now. We are working our butts off to make it worth it! Ach, sales people! They will promise the … -
Gave Reputation to bernardo.mclobo in file operation
I'll give you a tip, i'm also a noob, and i'm learning by myself grabbing and reading books, the community in here is nice, they helped me a lot, the … -
Replied To a Post in What is difference between antivirus and spyware?
One is positive, the other negative. Positive and negative charges attract each other. Spyware helps sell antivirus software. Bingo! No spyware... No antivirus! Myself, I run Linux on all of … -
Replied To a Post in M-disks
I love this quote from the M-DISC web site: "This new standard of storage engraves your information into a patented rock-like layer that has been proven to last 1,000 years"... … -
Replied To a Post in Laptop choice
Dell makes some nice laptops for this use. I prefer them to HP because in my experience they have been better at support. Given that my last Dell laptop was … -
Replied To a Post in Use a mac as a programmer?
My wife is a staff physicist in the computing division of Fermi National Laboratory, doing serious software development for high-energy physics research. Her development systems are Macs, but the code … -
Replied To a Post in file operation
And, if we do his homework, do we get his degree? :-) -
Replied To a Post in Difference
It is kind of like asking "What is the difference between a Yugo and a Ferrari?" They are both cars. They can take you from point A to point B. … -
Replied To a Post in Why does my computer power off suddenly and without warning?
Send it back to HP for repair. As gerbil mentioned, it could be an overheating problem, but the random time to failure makes me doubt that. I suspect you have … -
Gave Reputation to mike_2000_17 in Goto statements: When are they useful?
Besides a few crazy little tricks that rely on goto's, there are two canonical use-cases for goto's. The goto's are not absolutely necessary in those cases (you could do without … -
Replied To a Post in Looking for the best Motherboard (and processsor) for multimedia creation
Do you want to run Windows, or Linux? With Linux, most software is free, which in a Windows system is often not the case, especially for video editing software. So, … -
Replied To a Post in Multiplication Table in a Void Function
Also, I think you are passing the array in by value (copy) so it won't be visible outside of the function. You need to pass by reference as in: `void … -
Replied To a Post in Goto statements: When are they useful?
Loops have an implicit goto when the terminating condition is met, but it is a compiler construct. Goto's have often been used in lieu of exceptions to break out of … -
Replied To a Post in Difference
What Suzie999 says. Don't ask stupid questions until you have exhausted standard search tools... -
Replied To a Post in c++ programs
Making programs in C++... Gee, after 25+ years of C++ programming, I don't know. What tinstaafl said - try some Google searches. There are a lot of good books out … -
Replied To a Post in Two Microsoft Excel Questions
What ddanbe says. For #2 you need to change the language to Norwegian so it will deal with the extra letters, accents, and such. -
Replied To a Post in Library for Image Processing
School/class assignment? Do work first. Post work here. If appropriate, we will critique and help you. -
Replied To a Post in virtual keyboars
Keyboard loggers and such are not unknown on Linux systems, but are very rare. Getting them installed is not trivial, especially if you are not running as the root user, … -
Replied To a Post in Fast help! VNC Linux CentOS 7, failed service
Since this is coming from systemd, I have to assume you are using a new/bleading-edge distribution? Please provide more system information. -
Replied To a Post in protection
Actually, most current processors support process segregation, but the OS has to utilize it. Most do these days, including Unix, Linux, and Windows (since Windows 2000). You don't want processes … -
Replied To a Post in Recieve from SerialPort from Another Machine
If you are using physical serial ports (even via USB) then IP addresses are irrelevant, and not used. You need to connect to the correct COM: port. -
Replied To a Post in While statement Asterisk
Your while loop on line 10 is incorrect. It should be `while (a>=5)` instead of `while <a=>5>;` Also, you have an extraneous `{` at the end of your code. -
Replied To a Post in C++.Net I/O using FSTREAM not working
@Nathan If they weren't open then I would expect the input and output operators to throw an exception. @markdean1989 What output do you get if you use cout instead of … -
Replied To a Post in removed virus now no internet connection
This is why I don't run Windows except on my company laptop, and that is seriously hardened against stuff like this. I am posting this from Firefox running on a … -
Replied To a Post in How would you go about a guidance system?
It's all in the physics - acceleration, inertia, vectors. So, if you want help, or some criticism, post your design here. My wife is a particle physicist. I am an … -
Replied To a Post in virtual keyboars
Why are you worried? Do you think someone is hacking your keyboard/computer interactions? Yes, that is possible, but really unlikely unless you are up to something that the government is … -
Replied To a Post in Java thread suspect of running indefinitely
Without access to the rest of your code I can only say that yes, you could be dealing with a thread race condition here. You might want to consider using … -
Replied To a Post in Self fixing operating system.
A self-healing OS? Sounds like a great subject for a PhD thesis in Computer Science. Personally, I don't know of any currently, although the QNX operating system is as reliable … -
Replied To a Post in Non crashing network
Networks don't usually crash unless a switch, router, or proxy server goes down. If a switch fails, then all the systems connected to it will not be accessible and they … -
Replied To a Post in Yosemite
Contact Adobe support. I'm not sure this version of OSX (latest probably?) is currently supported. In any case, do that, and I will contact the Adobe Creative Cloud support group … -
Replied To a Post in Classification of articles into a corpus of articles
We can't help until you tell us what your problem is. You have clearly delineated what you need to do. What have you done so far? What problems have you … -
Replied To a Post in Calculating file transfer time
Nobody really gets this correct. Microsoft certainly doesn't get it right, and Linux engineers are not much better. There are too many factors such as system load, I/O loads, disc …
The End.