Malfist
  • Member for 11 years, 4 months
  • Last seen more than 2 years ago
Computation Program Not Running at 100% CPU Utilization
Accepted answer
14 votes

Profile it! It's the only way to know exactly what is happening and what is using what resources and where it's being limited at.

View answer
What's the term for "while(true)" loop with "break" inside?
8 votes

It's a do-while loop with the conditional in the wrong place.

View answer
Alternatives to Professional Version Control
11 votes

What about setting up a WebDAV? It will automagically handle the straight line versioning history for them. All they have to do is connect to the server as if it was a network drive and every save ...

View answer
Can freelancers ask their client to sponsor an iPad for project needs?
7 votes

It's doubtful. Would you return the iPad to the client after the project is complete? Is it only for this client and this client only, and you do not see a future use for the iPad? If so, you might ...

View answer
Is there a way to combat Sales perpetually overcommitting?
Accepted answer
147 votes

Stop doing the 80 hour weeks. This is positive reinforcement. Because they are getting the product on time with expected costs, they are going to continue doing it, regardless of what it does to you. ...

View answer
Can anyone recommend a good robot kit for learning C++ robotics programming?
5 votes

Look into the Arduino. It's a microprocessor that's programmable in C++. You can easily use it to make or manipulate robots. It's not a robot itself, but it is the brains. You can do much more than ...

View answer
Hate repetition to the extreme
2 votes

It's a good idea to not repeat yourself, it's part of the DRY principles. However, the compiler will often take care of those minor optimizations. It's not worth getting worked up over. It's a ...

View answer
My boss wants a narrated line-by-line English explanation of our code
150 votes

Do you have design documents? Those are the English explanation of what the code does. A non-programming manager should not need more than that.

View answer
What could be a good team building activity to improve estimation skills?
Accepted answer
8 votes

Check out Joel On Software's Evidence Based Scheduling, it's a fairly simple way for people to figure out how estimate more accurately. The best way to learn how to estimate is to have good ...

View answer
What determines when a computer is considered a "client"?
7 votes

That is true, servers are service providers. But a server has two meanings. It can mean, a computer that runs a server (software). Or a piece of software that provides content to a client. So yes, a ...

View answer
What do you think of opening brace comments in source code?
51 votes

I would not recommend that style as it makes it difficult to scan for braces. void DoSomeInterestingImageManipulation(char *pImage) {//This will convert the image to formatABC which allows x% space ...

View answer
Are there still any companies/academic centers that use mainframes from 60s-70s?
Accepted answer
11 votes

NASA at the very least. The retired space shuttles ran the same computer programs and equipment from initial commission. If I remember correctly, they had about 32K of RAM. The reason they did this ...

View answer
Custom vs. browser-native scrollbars
1 votes

Jacob Nielsen has a great entry on scrollbars and what you should do with them. He specifically recommends not using the OS's scrollbars and warns against horizontal scrolling.

View answer
How do you update live web sites with code changes?
2 votes

Typically what I do is I keep everything in an SVN repository. When I'm finished with some changes, I commit on the dev site, and then checkout on production. Keeps everything synced, it's fast and ...

View answer
any document which says exactly what range of numbers are .NET BigIntegers designed for?
7 votes

Any number that could possibly get larger than ULong.MaxValue, or smaller than Long.MinValue should be represented using BigInteger. If NOT (Long.MinValue <= X <= ULong.MaxValue) Then ...

View answer
Javascript Ternary Operator vs. ||
8 votes

What you really need is a null coalesce operator. But seeing that javascript doesn't really have one, programmers typically use '||' to stand in for it. However, both are perfectly reasonable. To ...

View answer
Most difficult subject/theory in Computer Science?
18 votes

Pattern Recognition i.e. Artificial Intelligence. This refers to smart computing along with other pattern recognition tools like, Optical Character Recognition, Voice to text, facial identification, ...

View answer
What do you wish language designers paid attention to?
Accepted answer
49 votes

Unicode Support by default This day and age, programs are being developed to be used internationally, or under the assumption that they might be used internationally. They must provide support for ...

View answer
What do you wish language designers paid attention to?
8 votes

Naming Conventions (I'm looking at you PHP)

View answer
How have you found, refined and maintained your coding style?
1 votes

I worked in a team with a closed source game that I loved and the lead developer mentored me, and helped me improve my skills after I asked him too. He suggested, and I adopted the Zend Framework's ...

View answer
Do you check in bin or debug folders (and dlls) into your TFS?
0 votes

I avoid entering them into source control. They're redundant information, the binaries can be built by the source code in that revision. Additionally, the source code is always up to date, the builds ...

View answer
The Programmers Bill of Responsibilities
22 votes

The programmer is responsible for the privacy and security of all user provided data. Especially passwords, credit card numbers, email addresses, and physical location.

View answer
Which are the significant algorithms for humankind in past decades?
0 votes

Spoken and Written language. They are currently one of the most efficient algorithm to transfer knowledge from one thing to another. Without language, civil society could not exist, and information ...

View answer
Do you ever read language specs?
0 votes

Once. I read the Java Spec. The only reason I read it was I was competing nationally in Java Programming for FBLA (Future Business Leaders of America) and thought it would give me an edge. It was ...

View answer
Is "Computer Science != Software Engineering" an excuse to teach programming poorly?
0 votes

Those that can, do; those that cannot, teach. At my university, the knowledge base of the teachers is woefully deficient. I have seen teachers struggle to understand how to represent semi-structured ...

View answer
What's the worst programming book you've ever read?
26 votes

Hardcore Java This book was written by a person that truly did not understand the finer points of java. He didn't even understand by ref or by val parameter passing. I'll quote the top rated ...

View answer