working

How do I prepare myself for working with other programmers?

I am a self-taught programmer. I'm reasonably intelligent and programming comes naturally(ish) to me, I just didn't do it at school or university. I've been working as a programmer on my own for many years now, and I think I need to get out into the real world and work with other programmers in more structured environments. My concerns...

Link Button on the page and set it as default button, work fine in IE but not in Mozila

I have a link button on the page and set it as default button, It works fine in IE but not working in Mozila Firefox. Does anybody have any clue how to resolve this issue? ...

T-Sql 2005 Adding hours to a datetime field with the result within working hours

I have two Datetime fields that I wish to add together. They are in the following format: '01/01/1900 00:00:00'. The main issue with this is that I want the calculation to only include working hours. The working day is between 08:30 and 17:30 and does not include weekends: Also if the first field starts out of the working day or is on ...

Set working directory in javascript

Does anyone know how to set the working directory in JavaScript before? Code I use for launching an application is this: // Create an object script oL = new ActiveXObject("WScript.Shell"); oFile = '"C:/Application.exe"'; oL.run(oFile); ...

Programmer working conditions

The company I work for currently has several groups of programmers working in separate rooms pretty close to each other (3-7 people per office) Recently there has been an idea floating around that focuses on taking down all the walls between all the programmers and putting them all in the same open space (40+ people). That is supposed t...

Setting the working directory of a Java Applet

Hi, I have two signed Jars, a.jar and b.jar. a.jar is launched as an applet inside the browser and b.jar is in Appdata/locallow/xyz (Vista). a adds b to it's classpath and calls some functions of b.jar. So far so good. Now b unpacks some dlls into the working directory and depends on them. It must be the working directory, because the d...

Working folder in ASP.NET

We have a web application written in ASP.NET 3.5. In it, we access a file in the code-behind. (Ordinary C# file access, done on the server during the page life-cycle, this has nothing to do with URLs or web browsers). On our production systems, we specify the full path to the file in question in the web.config. We'd like to be able t...

Memory allocation for _M_start and _M_finish in a vector

I'm defining a vector as: vector< int, MyAlloc< int> > *v = new vector< int, MyAllooc< int> > (4); MyAlloc is allocating space for only 4 ints. Memory for _M_start, _M_finish, and _M_end_of_storage is being allocated on the heap before the memory for the 4 ints. But who is allocating this memory for _M_start, _M_finish, and _M_end_of_...

Cookies authentication not working with HttpClient but same cookies is working with HttpURLConnection

I have cookies = session_ser = "MTQzMzI5LSotMTI2NTg3MDM4OS0qLTkuNDguMTEyLjUxLSotSmF2YS8xLjYuMF8xMC1yYw%3D%3D-%2A-eb5fdd26da5e7e0a7c5a096b412dcae3" With this cookies i want to access protected page from particular site its working with HttpURLConnection ,but is not working with HttpClient -------------code snipet for HttpURLConnectio...

How do I set the working directory of the parent process?

Programming environment assumed: Linux, GCC As the title reveals it, we are writing a Unix-style shell utility U that is supposed to be invoked (in most cases) from bash. How exactly could U change the working directory of bash (or parent in general)? P.S. the shell utility chdir succeeds in doing exactly the same, thus there must be ...

Git won't clean working tree - How to Diagnose

Hi I have a local repo and have pulled from several remotes. I am finding that I have about 15 files which are modified. Some of them have come from a remote and others I think, though I am not sure, may have been modified prior to pulling from a remote, but never committed (or else they were modified and committed locally but then have...

Link is not working as expectation

Hi Experts, I have a user control of menu which have links on which user is redirected to the desired page. When I am using that user control in my aspx page, on first time when user click to the link he is redirected to the destination, but when user again click that link it is showing the page stating that "cannot find server", the sa...

ASP.NET MVC RememberMe(It's large, please don't quit reading. Have explained the problem in detail and simple language. )

After searching a lot i did not get any answers and finally i had to get back to you. Below i am explaining my problem in detail. It's too long, so please don't quit reading. I have explained my problem in simple language. I have been developing an asp.net mvc project. I am using standard ASP.NET roles and membership. Everything is work...

Problems with mod_Rewrite

Hello, Originally I had following .htaccess file: php_value display_errors 1 php_value error_reporting 7 AddDefaultCharset utf-8 Options -Indexes <Files ~ ".*\.(info|tpl)$"> Order allow,deny Deny from all </Files> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteR...

PHP text output in clauses

Hello. I am working on a PHP project. There, I often use following syntax to output text in a cluase: if($boolean){ ?> output text <? }else{ ?> alternative <? } On my computer, this works perfectly well. I use XAMPP foer Mac OS X. But when I send the files to my coworker, these outputs often do not work and the compiler complains ...

Why doesn't the .click() not work in this instance?

Basically what this does is fadeIn pre-existing divs and then loads an image. When the image is loaded it then appends that into one of the pre-existing divs. Then it appends a new div with an id of xButton. Then later it $('#xButton').click() should hide the 3 divs. However it just doesn't work. If I change the click() to either #modalI...

CUPS will print ignoring the quotas set

I set the quotas both ways(though lpadmin and by editing printers.conf) and neither seem to work(i did restart the daemon) but print requests are still granted with no error. What is wrong?(i am running ubuntu linux 9.04) ...

Geodjango Tutorial - links in admin view aren't working

I'm new to Geodjango, and was really enjoying the tutorial at djangoproject.org. But when I got to the "Google / Geographic Admin" section I was unable to display the WorldBorders entries on a map. I can pull up http://localhost:800/admin in my browser, and I see something like this: DJANGO ADMINSTRATION SITE ADMINISTRATION Auth Group...

SVN Working Copy to Different Branch Merge Without Commit to Working Copy Branch

If a working copy (local copy) was created from a branch, lets call it A. Coding was done in branch A, but branch A was "Closed" to commits, and branch b was opened. How do I merge my working copy changes into Branch B and commit to branch B, without commiting my changes to branch A first. Trunk -> branch A. I checked out branch A...

NSTimer Reset Not Working

hi, i have a nstimer and it works perfectly counting down from 2:00 but when i hit the reset button it does not work it just stops the timer and when i press start again it will carry on with the timer as if it had never been stopped. Here is my code `@implementation TimerAppDelegate @synthesize window; (void)applicationDidFinishLaunc...