What is the difference between gmake and make?

‘gmake’ refers specifically to GNU make. ‘make’ refers to the system’s default make implementation; on most Linux distros this is GNU make, but on other unixes, it could refer to some other implementation of make, such as BSD make, or the make implementations of various commercial unixes. The language accepted by GNU make is a … Read more

C++ performance vs. Java/C#

JIT vs. Static Compiler As already said in the previous posts, JIT can compile IL/bytecode into native code at runtime. The cost of that was mentionned, but not to its conclusion: JIT has one massive problem is that it can’t compile everything: JIT compiling takes time, so the JIT will compile only some parts of … Read more

jQuery delay not working

.delay() is used for items that are part of a queue, like animations. A simple addClass is not queued. You could use setTimeout. As an alternative, you could add the non-queued item to the queue using .queue(), though I think a setTimeout would be better.

What is a templating language?

The premise behind a template language is that the language is “embedded” within some other master document. Specifically, on your average document, the total size of the document is mostly document source than template language. Consider two contrived examples: vs You can see in the first example, the language wraps the document text. In the … Read more

“Incomplete type not allowed ” when creating std::ofstream objects

As @Mgetz says, you probably forgot to #include <fstream>. The reason you didn’t get a not declared error and instead this incomplete type not allowed error has to do with what happens when there is a type that has been “forward declared”, but not yet fully defined. Look at this example: Notice we could not actually instantiate a Foo object or … Read more

ifference between ibatis and mybatis

MyBatis is a fork from iBATIS, and according to Wikipedia most of iBATIS’ developers moved over to MyBatis too. The iBATIS project is currently marked as Inactive, therefore you should go with MyBatis for new projects and only use iBATIS if you’re maintaining an existing project which already uses iBATIS. http://en.wikipedia.org/wiki/MyBatis MyBatis is a fork … Read more

What’s the difference between sx and σx in the statistics calculations on a TI-Nspire?

After cross-checking in Excel and reading Bessel’s correction and Unbiased estimation of standard deviation on Wikipedia … σx gives the “regular” standard deviation and sx applies Bessel’s correction. In other words, σx is the exact standard deviation of the data given (with n in the denominator), and sx is an unbiased estimation of the standard deviation of a larger population assuming that the data given is only a … Read more

How to understand strptime vs. strftime

The difference between Time and DateTime has to do with implementation. A large amount of the DateTime functionality comes from the Rails world and is an arbitrary date with time of day. It’s more of a calendar-based system. Time is measured as seconds since January 1, 1970 UTC and is time-zone agnostic. On some systems it is limited to values between 1901 and … Read more