problem about usage-Collection of common programming errors
user2148736
performance usage requirements
We have web service connected to REST API a we need to estimate maximum usage for specifying HW requirements.Inputs – We know estimated number of users and we know number of requests that we’re able to process on one server instance per some time unit. Required output – number of server instances needed to process all requests, including unexpected peaks. Problem we are facing – there can be usage peaks during hours and not all customers will make the same number of requests per some time unit
David Brown
statistics usage non-technical
We have a very small, specialized user base. No community. My boss wants to find out who is using it. And his approach is to simply make a hidden connection, maybe an auto update function, enabled by default WITHOUT notification when there is no update … I don’t really like the idea and try to come up with something different.There is a registration, then you can download a free trial. No other limitations, but the time limit.Sold licenses are usable across an ip-range – universities. So the r
Walter
TraumaPony
usage ada adoption
When one thinks of Ada, one usually thinks of avionics.What I’m interested in are some other applications of Ada? Where is it used? Are there any shipped applications written in Ada?For example, are there CRUD apps written in it? Or games? Etc.
user61852
java class usage
I see that Java has Boolean (class) vs boolean (primitive). Likewise, there’s an Integer (class) vs int (primitive). What’s the best practice on when to use the primitive version vs the class? Should I basically always be using the class version unless I have a specific (performance?) reason not to? What’s the most common, accepted way to use each?
Dan
c++ memory cpu leak usage
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% CPU, which is fine, and the other by itself takes ~15% CPU, which is fine. Together however CPU usage is 100% and the program cannot run as fast as it needs to. Can a m
Graviton
c# aop usage
Windows, Firefox or Google Chrome all monitor usage statistics and analyze the crash reports are sent to them. I am thinking of implementing the same feature into my application. Of course it’s easy to litter an application with a lot of logging statement, but this is the approach that I want to avoid because I don’t want my code to have too many cross cutting concern in a function. I am thinking about using AOP to do it, but before that I want to know how other people implement this feature fir
Mark Biek
apache proxy apache2 usage squid
Assuming I have an open source web server or proxy I can enhance, let’s say apache or squid. Is there a way to determine the time each client spends on a web page?HTTP is of course stateless, so it’s not trivial, but maybe someone has an idea on how to approach this problem?Thanks.
Alex Fisherr
flex flash camera detection usage
I am making an application that plays the video stream from the user’s local system (both Windows and Mac). I use the Camera.getCamera() method and in turn Camera.names to get a list of camera attached with the system. Unfortunately, if the camera is already in use by another application, say a desktop application on user’s system, the browser is crashed. Is there any way that I can detect if a specific camera from the list of available camera is already in use by any other application?
blenzcoffee
c# cpu usage
I have a single thread console application.I am confused with the concept of CPU usage. Should a good single thread application use ~100% of cpu usage (since it is available) or it should not use lots of cpu usage (since it can cause the computer to slow down)?I have done some research but haven’t found an answer to my confusion. I am a student and still learning so any feedback will be appreciated. Thanks.
user10099
c memory usage
I have to do as a school assigment small program in C that will read standart input and prints some standart output. To be more specific, it’s about reading numbers and sorting them. (you can skip this, it’s just for understanding the code) First line of the input should determine how many lines of numbers there will be. Second line is ammount of numbers in next line. Third line are to concrete numbers. Fourth line is ammount of numbers in next line and so on until it reaches K number of lines.
Aaron
linux redhat analysis usage
Note:2.6+ Kernel Or older 2.4Question:Generic suggested guidelines with regards to Linux kernel crash dump analysisSkills required, i.e. Kernel compilation skills etcSuggestions:Detailed walk-through, of the Red Hat Crash Utility Usage of Kdump
TiernanO
c# service monitoring usage
I have a project i am working on currently and would like to implement some sort of software tracking in the code. ideally, stuff like how often its launched. how long it runs for, feature tracking, etc. I already use Exceptioneer for unhandled exceptions, but would like something similar for usage tracking.this data should all be anonymous and ideally run as a service by someone else. and i would like to give the users the option to turn it off, if they so wish to… So, is this something i sho
Alireza
jquery dom memory usage
i have a page that contains a date picker and a div, by selecting a date from date picker all customers of that date populated using jquery ajax and then displayed using a table.everything works fine and customers displayed correctly.but browser memory usage grows by removing the old table and adding another table, it seems that the old DOM objects remains in the memory….after a while the page is useless because of very high memory usage of browser….is there any solution to this?<script
Nikson
python usage
I’m trying to decompyle some .pyc files – just need some basic data from them, i heard that best for it would be Uncompyle2,so i installed Python27(Win), then i installed Uncompyle2 from https://github.com/wibiti/uncompyle2 – everything is ok so far, now i try to find out how to use it, readme says that i need to write uncompyle2 –h to get some more help, im getting after this “undefined” message, next i tried to import script via import uncompyle2 in interpreter, i think module is loaded(after
Tech4Wilco
javascript usage typeof
what is the best usage for the “typeof” JavaScript function?if (typeof (myvar) == ‘undefined’) { //or if (typeof (myvar) == undefined) { //or if (typeof myvar == ‘undefined’) { //or if (typeof myvar == undefined) { Thanks
Web site is in building