usage

Netbeans IDE tutorials

I mostly use Eclipse but have mentionned Netbeans on my cv. Are there any good concise and up-to-date tutorials apart from the official ones that could bring me up to speed on how to use the IDE efficiently (shortcuts, debugging, views ...)? This excludes programming tutorials as I don't really need them unless there's a special manipula...

An explanation of memory usage on Windows server 2003

Hi, We've been working on a bit of puzzle at work. We have an application service installed on two machines, both running Windows server 2003. These services do exactly the same thing. However once loaded, one of the services uses 200mb less than the other service. We're at a bit of a loss to what might be causing this discrepancy. I...

Should properties in C# perform a lot of work?

When a property is read from or is assigned to, one would not expect it to perform a lot of work. When setSomeValue(...) and getSomeValue(...) methods are used instead, one should not be that surprised that something non-trivial might be going on under the hood. However, now that C# gave the world Properties, it seems silly to use getter...

What percent of web sites use JavaScript?

I'm wondering just how pervasive JavaScript is. This article states that 73% of websites they tested rely on JavaScript for important functionality, but it seems to me that the number must be larger. Have any surveys been done on this topic? Maybe a better way to phrase this question is - are there any sites that don't use JavaScript? ...

Increasing JRE Memory Usage in Eclipse

I read in another question that you can increase the JRE memory allowance for an app through Window -> Preferences in Eclipse, but I can't seem to find anything related to heap memory allocation. Editing -xms/xmx values in eclipse.ini doesn't help since those are for Eclipse itself. ...

is it legal/ethical to use source code provided in academic papers, or talks given at trade events like siggraph?

Is it legal to use source code from papers and such? Like this paper on perlin noise: http://mrl.nyu.edu/~perlin/paper445.pdf Links to this source code: http://mrl.nyu.edu/~perlin/noise/ And Stam's famous talk on fluid dynamics, includes source code throughout, annotated with instructions like "add these macros to the beginning of you...

Can C++ memory leaks negatively affect CPU usage?

Hi all, I have a C++ program that has a pretty terrible memory leak, about 4MB / second. I know where it's coming from and can fix it, but that's not my main problem. My program is taking up a very large amount of CPU usage and it isn't running as fast as I want it to. I have two different threads in the program. One by itself takes ~50...

java memory usage

I know I always post a similar question about array memory usage but now I want post the question more specific. After I read this article: http://www.javamex.com/tutorials/memory/object_memory_usage.shtml I didn't understand some things: the size of a data type is always the same also on different platform (Linux / Windows 32 / 6...

Delphi - COM/OLE starting example needed

Hi! 10 years have ellapsed since I used COM/OLE, and I forget 90% of them. Now we need to make a COM object to access some data from PHP/Python (this is specific thing, the php ODBC don't access the output params of a DataBase - like stored proc output), and my idea the I realize a minimal object with one method, and PHP/Python can call...

[PHP] - Memory usage/profiling

I'm using Netbeans + Xdebug + Winchachegrind and finally got it to work, but there is no memory usage information. Is it an Xdebug or WinCachegrind limit? ...

Software free trial and using software in open-source and commercial development

For example I found great uml tool (http://www.architexa.com/start/pricing) that is free for 30 days. Can I use screenshots from it in open-source and commercial website? since its mine for 30 days, I should be able to do whatever I want with it, right? ...

How can i get the iphone's CPU usage and memory usage?

How can i get the ipad's CPU usage and memory usage? ...

jcraft, eclipse sftp plugin documentation

I installed jcraft, but don't know how to use. is there any documentation available?. I googled, checked their site with no help. ...

When to use static classes and methods?

I have a general question...when should i be using static classes or static methods?.. I know the idea that static methods can be called without instantiating...and static classes should only be used for static methods?...but are there any performance concerns also with it...and when should they be preferred over instance methods and cla...

Is there a shell script that can monitor partition usage?

When I used to use cPanel it would send me an email when any partitions were approaching full. Is there a script out there that monitors df output that I can put in a cronjob? Thanks ...

Eclipse Ganymede javascript editor uses huge memory

Hi, I am new to here, but I wish someone can help me resolve the problem: version: 3.5 OS: Win 7 64bit JVM 1.6 I am using the javascript editor to write some code using YUI package, and seems it uses extremely huge amount of memory. Even when I put the mouse cursor on a variable, it will put up about 100M, so it runs to 1G very soon.....

Slashes after directory-names in various languages and configurations.

The question is really simple: should a path to a directory always contain a slash at the end? say: /path/to/directory/ over /path/to/directory. Linux/Unix seem to accept both. Most applications and libraries on linux follow this. e.g. a <Directory /home/someproject/foo/code> works just fine. In programming, say PHP I can do a dir on...

Is collecting user usage information a popular practice?

Do most web applications log and warehouse user usage information? I assume the big guys like google and facebook do, but is the practice widespread? If so, what are the major uses for this information and are there any best practices for collecting and using it? Any anecdotes about why this is worthwhile or what you gained from your ...

Mac XCode Collect Usage Statistics

Hello, Is there any framework or way that I can have my mac application report back usage statistics to me? It is programmed in xcode objective c. Thanks! Christian Stewart ...

What is the purpose of this c++ declaration?

Hi, I got a C++ struct: struct Student{ Student(){ } }; And the enum: enum studenttype_t { levelA = 0, levelB = 1, levelC = 2 }; Then somewhere else it is declared: vector<Student *> student; Could it be used as follows: student[levelA] = new Student(); If so, what does the student[levelA] m...