As developers we often have special requirements in terms of workstation setup, networking, etc. IT departments generally don't understand this and we're forced to use a standard environment with a few changes around the edges.
We're faced with that situation at work right now, except that the IT department we're dealing with is half wa...
Hi again,
I have been playing around with the postgresql.conf file for a couple days now. I was wondering what variables you guys like customizing and why?
Here is a sample of the file:
# - TCP Keepalives -
# see "man 7 tcp" for details
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
# 0 selects the system default
#tc...
What metrics to use and how to make calculations if writing specification for a new programming project is worth doing it and spending time (and money)?
...
This question is directed more for the users who have experience in many different work environments.
My boss's brother works for a large oil and gas company, and I have heard stories of some weird ergonomic policies that they have in place like having adjustable cubicle desk heights, forcing breaks after a certain amount of time, etc.
...
Possible Duplicates:
Why should i learn C++.
Which one: C++ or Java?
Hello. I only know Java and Assembly currently but was thinking of learning C++. However, I would like to hear from someone more experienced in the programming field which language should I dive into the most for general programming purposes (as in, the most ...
As developing stage comes to the end,
SEO is just to begin.
Let's say,there are enormous SEO methods,but just post the one which you think most effective!
...
suppose i have some data of type(key,value).how do i effeciently sort them so that i can find the key uising value and value using key?
...
Very often, I just create a new folder and test things out in there. I use remote upload and then edit and refresh the page to see if it works. Now, one time when I was asked to work on a friend's website, he told me to change the IP for his domain in my HOSTS windows file. He had a clone of his website on another server, so I could edit...
I decided to edit my post since people didn't quite get what I'm trying to do (I suppose it was not irrelevant to say why I needed it after all):
Ok, there we go. The thing is, I have a HUGE SQL script which many clients use and it has to be ran thoroughly every time a client executes the "database management" functionality that our sof...
I want to count many strings (>3G), so I choose SQLite with a table of (str TEXT PRIMARY KEY, count INTEGER DEFAULT 1).
There are about 3G strings, each takes 40*2/8=10 bytes, thus the whole strings is 30GB.
Of those 10 bytes, there are 2^80 kinds, which is much larger than 3G.
So how to update effectively ?
UPDATE table SET count = c...
Script Example:
@SET APPLY_ORA=YES
@REM ...
IF %APPLY_ORA%==YES (
@ECHO Doing Oracle
CALL %SOME_ORACLE_SPECIFIC_COMMAND% %SOME_ORACLE_SPECIFIC_FLAGS%
CALL %ANOTHER_ORACLE_SPECIFIC_COMMAND% %SOME_ORACLE_SPECIFIC_FLAGS%
) ELSE (
@ECHO Skipping Oracle
)
The idea is that I do not want to see IF YES==YES ( ) ELSE ( ) printed, particularly...
VBO is effective complex geometric 3D object.
But I think plain DrawArray with transformed vertices/texcoords are better for 2D animation sequence sprites.
Because there are a only 4 vertices for a box. With VBO, those vertices duplicated for each texcoords, and draw function should be called many times.
But with DrawArray, just pushes...
Consider the follwing HashMap.clear() code:
/**
* Removes all of the mappings from this map.
* The map will be empty after this call returns.
*/
public void clear() {
modCount++;
Entry[] tab = table;
for (int i = 0; i < tab.length; i++)
tab[i] = null;
size = 0;
}
It seems, that the internal array (table) of...
Please Help me compile a list of Effective Android Programming techniques
Don't forget to free resources after use.
Lot of resources like Cursors are overlooked. Free them too.
Don't Use magic Numbers.
values[0] is meaningless. The framework provides very useful accessors like values[SensorManager.DATA_X]
"Make use of onPause()/o...
Basically we have rows upon rows of programmers that do mundane tasks every day. This would involve writing code that is not very effective, is not unit tested, and often integrates poorly with the application. Not to mention that there is no accountability in terms of hours spent versus hours worked. I am not trying to get people fired ...
I was wondering what is the best work rhythm for the job a programmer does?
I am coding all day long and sometimes I get stuck in a problem and it keeps me occupied a few hours before I realize that maybe I need a break.
Some say frequent and short brakes help you but sometimes when I am focused on a problem I feel like a break would ...