It's a question you've probably asked or been asked several times. What's so great about Mainframes? The answer you've probably been given is "they are fast" "normal computers can't process as many 'transactions' per second as they do". Jeese, I mean it's not like Google is running a bunch of Mainframes and look how many transactions/...
I have to develop some software in my school to utilize the accelerometer in the Wiimote for recording data from experiments, for example finding the acceleration and velocity of a moving object. I understand how the accelerometer values will be used but I am sort of stuck on the programming front. There is a set of things that I would l...
I have an EXE and DLL running in different process. From DLL I have to send large of amount of data to EXE, which would vary from 50 chars to 2000 chars and more(The data is recordid of records saved in DB).
I thought about two options to do that:
Using SendMessage- In which data's will be sent in batch.
Use an Intermediate file to ...
Preamble: I like my digital subscription of some computer magazine (no advertisement!), it contains cool weekly digest of programmers useful links. I'm not going to place it there to avoid raising interest. The last issue contained something "30 best practices to your web application performance"
The first rule declares "Limit interacti...
How can you use data from the gyroscope to work out the angle of rotation in x,y and z. I am using the gyroscope in the WiiMotion plus amd Brian Peek's Wiimotelib 1.8 beta library.
Any help is greatly appreciated.
...
I'm working on an application that has similar logic as SO with regards to when the user was last seen. I've run into a conceptual problem that I'm hoping some of you Guru's can help me out with.
All activity is logged in an ActivityLog table in the database
When a logged in user hits the site and a new session is created, I update th...
What is backend and frontend programming?
...
From the Wikipedia defination,
Programming language is
Scripting languages are languages that allow you to send commands directly to a system that executes these commands. These commands are read line by line and executed-interpreted, but not compiled.
Whilst, Scripting language is
Programming languages are languages that all...
Recently i came across a project that needed a lot of improvement. So i started searching the web for some techniques that could enhance the loading speed of this web application.
After a while i found some techniques but they gave me just a couple of seconds boost.
So, dear co-programmers, please fill in any coding/enhancing techniqu...
Is there a good algorithm for generating colors for use in graphs such as line / pie / bar charts? Virtually all graphs have a built-in list of colors that they automatically assign to elements added to it. But sometimes you need to manually assign the colors yourself, and in that case you'll want to avoid manually inserting colors yours...
Hi.
I understand this question is very personal for everyone :), but still I'm forced to ask it.
Currently I'm using VIM and gVIM as my main editor, but imho it has a lot of downsides:
Very inconvenient scripting language.
Indentation and highlighting with regexps (real life shows that it's not the best idea).
Mixed file types issues ...
Hi,
We are having a web application build using asp.net 3.5 & sql server as database which is quite big and used by around 300 super users for managing around 5000 staffs.
Now we are implementing SMS functionality into the application which means the users will be able to send and recieve sms. Every two minute the sms server of the thir...
i was just curious about webbot project and i wish that i could create something similar to that project.
...
how to download from 4shared.com
...
Hi guys,
I have been programming for alot of time. Generally i program in some languages like PHP, ASP.net, Java, JavaScript and others. In all languages i have to use alot of if else statments . Like if value= 10 then ... if i review my code then i find alot of if conditions. So i would like to minimise them but how not sure.
one poi...
I am working on an existing CMS. We were thinking if it would be usefull to work with a cronjob. When thinking on this, we could only think on updating the search index for the cronjob, so we have no idea if we should add the cronjob to our CMS or not ...
What do you think?
...
hi,
I recently came across a problem for image file storage in network.
I have developed a desktop application. It runs in network. It has central database system. Users log in from their own computer in the network and do their job.
Till now the database actions are going fine no problem. Users shares data from same database server.
...
Hi there,
I have a general interest in the following question and would like to hear your opinion.
Setting: Imagine an API that provides a Callback-Interface Cb, that is you can create a Cb object and register it on the API. The API will call methods of your object in some other thread.
This could be the case where you want to receive...
Hi guys am in need of creating e learning environment project using flex and java could sombudy help me ? Thanks
Give ur ideas it wud sure help me out
...
I once read that static classes are very difficult and even impossible to debug. Is this true and why?
If an example would help, here is a PHP class I use to access a database (I don't think this is a PHP-specific question, though):
<?php
class DB
{
private static $instance;
private function __construct() { }
public stat...