PostId
int64
13
11.8M
PostCreationDate
stringlengths
19
19
OwnerUserId
int64
3
1.57M
OwnerCreationDate
stringlengths
10
19
ReputationAtPostCreation
int64
-33
210k
OwnerUndeletedAnswerCountAtPostTime
int64
0
5.77k
Title
stringlengths
10
250
BodyMarkdown
stringlengths
12
30k
Tag1
stringlengths
1
25
Tag2
stringlengths
1
25
Tag3
stringlengths
1
25
Tag4
stringlengths
1
25
Tag5
stringlengths
1
25
PostClosedDate
stringlengths
19
19
OpenStatus
stringclasses
5 values
unified_texts
stringlengths
47
30.1k
OpenStatus_id
int64
0
4
5,391,481
03/22/2011 12:49:06
20,007
09/21/2008 17:21:19
1,674
71
The FastCGI process exceeded configured request timeout - Shared Hosting
I'm writing a wordpress plugin which do some time consuming XML file processing in the background. On my machine, it takes at least an hour. It doesn't consume at lot of CPU%, but it's just slow. When I test on my windows based shared hosting, I'm getting "The FastCGI process exceeded configured request timeout". PHP of the hosting is not running in safe_mode. From much searching, I realized that calling `set_time_out()` does not work when running as CGI under IIS. IIS impose another time limit here. I know that we can change the limit imposed from IIS's configuration. But it's not possible on a shared hosting. Thus I'm looking for a more user configurable way, such as having the limit configure in web.config of my site. I didn't find any information on that as most IIS users own the server. Does such method exist? Or there's something else can be done to override the time limit impose by IIS.
php
iis-7.5
shared-hosting
null
null
null
open
The FastCGI process exceeded configured request timeout - Shared Hosting === I'm writing a wordpress plugin which do some time consuming XML file processing in the background. On my machine, it takes at least an hour. It doesn't consume at lot of CPU%, but it's just slow. When I test on my windows based shared hosting, I'm getting "The FastCGI process exceeded configured request timeout". PHP of the hosting is not running in safe_mode. From much searching, I realized that calling `set_time_out()` does not work when running as CGI under IIS. IIS impose another time limit here. I know that we can change the limit imposed from IIS's configuration. But it's not possible on a shared hosting. Thus I'm looking for a more user configurable way, such as having the limit configure in web.config of my site. I didn't find any information on that as most IIS users own the server. Does such method exist? Or there's something else can be done to override the time limit impose by IIS.
0
7,982,737
11/02/2011 15:15:33
584,676
01/21/2011 16:00:22
604
40
Is it possible to add a branch to a git svn repository that was cloned from the Subversion repository's trunk?
I have a git-svn repository I had originally cloned from an svn repo's trunk, like so: http://server/svn/MxProject/trunk Since I cloned only the trunk and didn't grab the branches directory, is there a way I can access the branch without doing a full clone?
git
svn
git-svn
null
null
null
open
Is it possible to add a branch to a git svn repository that was cloned from the Subversion repository's trunk? === I have a git-svn repository I had originally cloned from an svn repo's trunk, like so: http://server/svn/MxProject/trunk Since I cloned only the trunk and didn't grab the branches directory, is there a way I can access the branch without doing a full clone?
0
9,888,199
03/27/2012 10:54:47
1,252,148
03/06/2012 12:10:59
1
0
XML reader for string instead of file
i have coded for xml parsing in c,but it is taking only xml present inside file. what i want to make is parsing of Xmlstring which will be entered. i have followed the following link: http://xmlsoft.org/html/libxml-xmlreader.html#xmlReaderForDoc
c
xml
null
null
null
03/28/2012 12:58:04
not a real question
XML reader for string instead of file === i have coded for xml parsing in c,but it is taking only xml present inside file. what i want to make is parsing of Xmlstring which will be entered. i have followed the following link: http://xmlsoft.org/html/libxml-xmlreader.html#xmlReaderForDoc
1
5,002,192
02/15/2011 10:04:30
617,549
02/15/2011 10:04:30
1
0
HOW TO RETRIEVE THE DATA FROM WEBSITE TO .NET PROJECT?
HOW TO RETRIEVE THE DATA FROM WEBSITE TO .NET PROJECT? SAY NEWLY LIFE INSURANCE PRODUCT AVAILABLE IN THE WEBSITE TO THE .NET PROJECT
.net
null
null
null
null
02/15/2011 10:12:47
not a real question
HOW TO RETRIEVE THE DATA FROM WEBSITE TO .NET PROJECT? === HOW TO RETRIEVE THE DATA FROM WEBSITE TO .NET PROJECT? SAY NEWLY LIFE INSURANCE PRODUCT AVAILABLE IN THE WEBSITE TO THE .NET PROJECT
1
2,958,863
06/02/2010 14:54:13
323,015
04/22/2010 07:59:34
9
1
java serialization singleton
in an interview the interviewer asked me a question that is it possible to serialize a singleton object? i said yes but in which scenario we should serialize a singleton. And is it possible to design a class whose object can not be serialized.
java
serialization
singleton
null
null
12/01/2011 17:54:43
not constructive
java serialization singleton === in an interview the interviewer asked me a question that is it possible to serialize a singleton object? i said yes but in which scenario we should serialize a singleton. And is it possible to design a class whose object can not be serialized.
4
10,763,738
05/26/2012 05:05:43
584,213
01/21/2011 09:17:50
69
0
How to add a column to a two dimensional array
I have data in a two dimensional array with n rows and p columns. For example: vector<vector<int> > dynamicArray(ROWS, vector<int>(COLUMNS)); for(int i = 0;i < dynamicArray.size();++i){ for(int j = 0;j < dynamicArray[i].size();++j){ dynamicArray[i][j] = i*j; } } Now, I want to add several columns to this array. I tried the following (Add a column of all 10s to the array), but if failed: for(int i=0; i < dynamicArray.size(); i++){ dynamicArray[i].push_back(10); } Is there a way to do this? Thanks!
c++
null
null
null
null
05/28/2012 08:45:50
not a real question
How to add a column to a two dimensional array === I have data in a two dimensional array with n rows and p columns. For example: vector<vector<int> > dynamicArray(ROWS, vector<int>(COLUMNS)); for(int i = 0;i < dynamicArray.size();++i){ for(int j = 0;j < dynamicArray[i].size();++j){ dynamicArray[i][j] = i*j; } } Now, I want to add several columns to this array. I tried the following (Add a column of all 10s to the array), but if failed: for(int i=0; i < dynamicArray.size(); i++){ dynamicArray[i].push_back(10); } Is there a way to do this? Thanks!
1
8,647,018
12/27/2011 16:44:06
981,792
10/06/2011 08:23:18
1
0
I installed php-soap with rpm file on Centos but doesn't work
I installed php-soap on my Centos server from RPM file. Then I restarted httpd service but doesn't work SOAP client. When I get: yum list installed php-soap listed here: php.i386 5.3.6-1.w5 installed php-cli.i386 5.3.6-1.w5 installed php-common.i386 5.3.6-1.w5 installed php-devel.i386 5.3.6-1.w5 installed php-gd.i386 5.3.6-1.w5 installed php-imap.i386 5.3.6-1.w5 installed php-mbstring.i386 5.3.6-1.w5 installed php-mysql.i386 5.3.6-1.w5 installed php-pdo.i386 5.3.6-1.w5 installed php-pear.noarch 1:1.4.9-6.el5 installed php-soap.i386 5.2.17-1.el5.art installed php-xml.i386 5.3.6-1.w5 installed There are SOAP options in php.ini file, there is soap.so in extension dir. But doesn't appear any SOAP option on phpinfo page. (Only soap.ini listed in ini files) What can I do for enable SOAP extension?
php
soap
centos
php-soapclient
php-modules
12/28/2011 08:05:32
off topic
I installed php-soap with rpm file on Centos but doesn't work === I installed php-soap on my Centos server from RPM file. Then I restarted httpd service but doesn't work SOAP client. When I get: yum list installed php-soap listed here: php.i386 5.3.6-1.w5 installed php-cli.i386 5.3.6-1.w5 installed php-common.i386 5.3.6-1.w5 installed php-devel.i386 5.3.6-1.w5 installed php-gd.i386 5.3.6-1.w5 installed php-imap.i386 5.3.6-1.w5 installed php-mbstring.i386 5.3.6-1.w5 installed php-mysql.i386 5.3.6-1.w5 installed php-pdo.i386 5.3.6-1.w5 installed php-pear.noarch 1:1.4.9-6.el5 installed php-soap.i386 5.2.17-1.el5.art installed php-xml.i386 5.3.6-1.w5 installed There are SOAP options in php.ini file, there is soap.so in extension dir. But doesn't appear any SOAP option on phpinfo page. (Only soap.ini listed in ini files) What can I do for enable SOAP extension?
2
10,321,832
04/25/2012 18:42:13
1,356,977
04/25/2012 18:26:13
1
0
How to connect a remote jms client to an embedded activemq broker in tomcat?
I have an embedded broker in tomcat that my webapp clients are connecting to fine using vm://localhost. I would like some remote clients in another jvm be able to connect to the embedded broker. How do I set up the embedded broker to listen on a port#? This works for embedded clients: server.xml fragment: <Resource auth="Container" name="jms/ConnectionFactory" type="org.apache.activemq.ActiveMQConnectionFactory" description="JMS Connection Factory" factory="org.apache.activemq.jndi.JNDIReferenceFactory" brokerURL="vm://localhost" brokerName="MyActiveMQBroker" useEmbeddedBroker="true"/> This isn't working for remote clients, but my embedded clients still connect using vm://localhost: <Resource auth="Container" name="jms/ConnectionFactory" type="org.apache.activemq.ActiveMQConnectionFactory" description="JMS Connection Factory" factory="org.apache.activemq.jndi.JNDIReferenceFactory" brokerURL="vm:(broker:(tcp://localhost:61616))" brokerName="MyActiveMQBroker" useEmbeddedBroker="true"/> My remote clients give this error: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused I also have been trying this: brokerURL="vm://localbroker?brokerConfig=xbean:file:C:/temp/activemq.xml" and in the activemq.xml, setting this: <transportConnectors> <transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/> </transportConnectors> <networkConnectors> <networkConnector uri="static:(tcp://0.0.0.0:61616)"/> </networkConnectors> I don't believe the xml file is getting read, because my symptoms never change when editing it. On tomcat startup, when the first client webapp deploys, the broker starts and reports that: Connector vm://localhost Started I never see another connector started, like tcp://0.0.0.0:61616. Is this possible?
xml
null
null
null
null
null
open
How to connect a remote jms client to an embedded activemq broker in tomcat? === I have an embedded broker in tomcat that my webapp clients are connecting to fine using vm://localhost. I would like some remote clients in another jvm be able to connect to the embedded broker. How do I set up the embedded broker to listen on a port#? This works for embedded clients: server.xml fragment: <Resource auth="Container" name="jms/ConnectionFactory" type="org.apache.activemq.ActiveMQConnectionFactory" description="JMS Connection Factory" factory="org.apache.activemq.jndi.JNDIReferenceFactory" brokerURL="vm://localhost" brokerName="MyActiveMQBroker" useEmbeddedBroker="true"/> This isn't working for remote clients, but my embedded clients still connect using vm://localhost: <Resource auth="Container" name="jms/ConnectionFactory" type="org.apache.activemq.ActiveMQConnectionFactory" description="JMS Connection Factory" factory="org.apache.activemq.jndi.JNDIReferenceFactory" brokerURL="vm:(broker:(tcp://localhost:61616))" brokerName="MyActiveMQBroker" useEmbeddedBroker="true"/> My remote clients give this error: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused I also have been trying this: brokerURL="vm://localbroker?brokerConfig=xbean:file:C:/temp/activemq.xml" and in the activemq.xml, setting this: <transportConnectors> <transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/> </transportConnectors> <networkConnectors> <networkConnector uri="static:(tcp://0.0.0.0:61616)"/> </networkConnectors> I don't believe the xml file is getting read, because my symptoms never change when editing it. On tomcat startup, when the first client webapp deploys, the broker starts and reports that: Connector vm://localhost Started I never see another connector started, like tcp://0.0.0.0:61616. Is this possible?
0
11,122,157
06/20/2012 14:48:27
763,029
05/20/2011 15:55:58
1,223
94
What does this phrase about producing randomized online surveys mean?
So I realize this may be too specific for here, but I don't know where else to post this: In regards to online surveys, there are 3 basic types of questions - single punch, multi-punch, and grid qualification. The grid type is basically a series of single-punch questions - maybe to rate a restaurants food, decor, air, etc. So I'm asked to: > Allow the ability to randomize the responses for single punch, > multi-punch, and grid qualification types(including the ability to > anchor certain ones). I think I get the randomized part - just make random answers. I'm confused at what "anchor certain ones" means .
surveys
null
null
null
null
null
open
What does this phrase about producing randomized online surveys mean? === So I realize this may be too specific for here, but I don't know where else to post this: In regards to online surveys, there are 3 basic types of questions - single punch, multi-punch, and grid qualification. The grid type is basically a series of single-punch questions - maybe to rate a restaurants food, decor, air, etc. So I'm asked to: > Allow the ability to randomize the responses for single punch, > multi-punch, and grid qualification types(including the ability to > anchor certain ones). I think I get the randomized part - just make random answers. I'm confused at what "anchor certain ones" means .
0
10,580,198
05/14/2012 08:55:42
888,134
08/10/2011 14:42:59
54
3
Custom list copy/create item SharePoint
I have created two custome lists with below columns - List 1 - Location(single line of text) - BU(single line of text) - Operations(multiple line of text) - List 2 - Location(single line of text) - Operations(multiple line of text) - Budget(single line of text) - Type(single line of text) When user creates a new item in list 1, I want to write a workflow wherein I want to create a new item of list 2 and copy Location and Operation in it. Please help to get this done. I am using SharePoint 2010
sharepoint
sharepoint2010
null
null
null
05/16/2012 21:02:30
not a real question
Custom list copy/create item SharePoint === I have created two custome lists with below columns - List 1 - Location(single line of text) - BU(single line of text) - Operations(multiple line of text) - List 2 - Location(single line of text) - Operations(multiple line of text) - Budget(single line of text) - Type(single line of text) When user creates a new item in list 1, I want to write a workflow wherein I want to create a new item of list 2 and copy Location and Operation in it. Please help to get this done. I am using SharePoint 2010
1
7,630,289
10/03/2011 01:03:35
974,912
10/01/2011 21:59:25
3
0
AFNetworking Post Request with json feedback
I am using AFNetworking and creating a post request for which I require json feedback. The code below works however I have two main questions for some reason the activity indicator in the status bar is not working - how would I enable it? The second question is this code correct, being new I get confused with blocks so I really want to know if I am doing it right thing for optimum performance, even though it works. NSURL *url = [NSURL URLWithString:@"mysite/user/signup"]; AFHTTPClient *httpClient = [[AFHTTPClient alloc] initWithBaseURL:url]; NSDictionary *params = [NSDictionary dictionaryWithObjectsAndKeys: usernamestring, @"login[username]", emailstring, @"login[email]", nil]; NSMutableURLRequest *request = [httpClient requestWithMethod:@"POST" path:@"mysite/user/signup"parameters:params]; [httpClient release]; AFJSONRequestOperation *operation = [AFJSONRequestOperation operationWithRequest:request success:^(id json) { NSString *status = [json valueForKey:@"status"]; if ([status isEqualToString:@"success"]) { [username resignFirstResponder]; [email resignFirstResponder]; [self.navigationController dismissModalViewControllerAnimated:NO]; } else { UIAlertView *alert =[[UIAlertView alloc] initWithTitle:@"Login Unsuccessful" message:@"Please try again" delegate:NULL cancelButtonTitle:@"OK" otherButtonTitles:NULL]; [alert show]; [alert release]; } } failure:^(NSHTTPURLResponse *response, NSError *error) { NSLog(@"%@", error); UIAlertView *alert =[[UIAlertView alloc] initWithTitle:@"Login Unsuccessful" message:@"There was a problem connecting to the network!" delegate:NULL cancelButtonTitle:@"OK" otherButtonTitles:NULL]; [alert show]; [alert release]; }]; NSOperationQueue *queue = [[[NSOperationQueue alloc] init] autorelease]; [queue addOperation:operation]; NSLog(@"check"); } Thank you very much for your help in advance :)
iphone
json
post
afnetworking
null
null
open
AFNetworking Post Request with json feedback === I am using AFNetworking and creating a post request for which I require json feedback. The code below works however I have two main questions for some reason the activity indicator in the status bar is not working - how would I enable it? The second question is this code correct, being new I get confused with blocks so I really want to know if I am doing it right thing for optimum performance, even though it works. NSURL *url = [NSURL URLWithString:@"mysite/user/signup"]; AFHTTPClient *httpClient = [[AFHTTPClient alloc] initWithBaseURL:url]; NSDictionary *params = [NSDictionary dictionaryWithObjectsAndKeys: usernamestring, @"login[username]", emailstring, @"login[email]", nil]; NSMutableURLRequest *request = [httpClient requestWithMethod:@"POST" path:@"mysite/user/signup"parameters:params]; [httpClient release]; AFJSONRequestOperation *operation = [AFJSONRequestOperation operationWithRequest:request success:^(id json) { NSString *status = [json valueForKey:@"status"]; if ([status isEqualToString:@"success"]) { [username resignFirstResponder]; [email resignFirstResponder]; [self.navigationController dismissModalViewControllerAnimated:NO]; } else { UIAlertView *alert =[[UIAlertView alloc] initWithTitle:@"Login Unsuccessful" message:@"Please try again" delegate:NULL cancelButtonTitle:@"OK" otherButtonTitles:NULL]; [alert show]; [alert release]; } } failure:^(NSHTTPURLResponse *response, NSError *error) { NSLog(@"%@", error); UIAlertView *alert =[[UIAlertView alloc] initWithTitle:@"Login Unsuccessful" message:@"There was a problem connecting to the network!" delegate:NULL cancelButtonTitle:@"OK" otherButtonTitles:NULL]; [alert show]; [alert release]; }]; NSOperationQueue *queue = [[[NSOperationQueue alloc] init] autorelease]; [queue addOperation:operation]; NSLog(@"check"); } Thank you very much for your help in advance :)
0
11,599,562
07/22/2012 10:38:54
1,535,561
07/18/2012 16:54:58
1
0
How can i do the requirement analysis of my project?
I want to make a b.tech project of "collaborative question-answer" like "yahoo answers".So how do i do requirement analysis for that project?
testing
null
null
null
null
07/22/2012 10:43:36
not constructive
How can i do the requirement analysis of my project? === I want to make a b.tech project of "collaborative question-answer" like "yahoo answers".So how do i do requirement analysis for that project?
4
2,980,634
06/05/2010 14:01:23
312,833
04/09/2010 13:47:58
82
5
Google Maps Api v2 error
var mymarkers= []; //array function createMarker(point,html,ref){ var marker = new GMarker(point); mymarkers[ref] = marker; GEvent.addListener(newmarker,'click',function(){newmarker.openInfoWindowHtml(html);}); map.addOverlay(newmarker); } Tis function works well, it adds a marker to the map no problem, but when trying to use mymarkers[] array of markers they have not been stored? Is there a validator to check the GMarker is nice and clean? google maps main.js throws a wobbly. Uncaught TypeError: Cannot read property '__e_' of undefined
gmarker
null
null
null
null
null
open
Google Maps Api v2 error === var mymarkers= []; //array function createMarker(point,html,ref){ var marker = new GMarker(point); mymarkers[ref] = marker; GEvent.addListener(newmarker,'click',function(){newmarker.openInfoWindowHtml(html);}); map.addOverlay(newmarker); } Tis function works well, it adds a marker to the map no problem, but when trying to use mymarkers[] array of markers they have not been stored? Is there a validator to check the GMarker is nice and clean? google maps main.js throws a wobbly. Uncaught TypeError: Cannot read property '__e_' of undefined
0
5,135,482
02/27/2011 19:52:27
353,137
05/28/2010 17:49:01
296
19
How to determine if locale's date format is Month/Day or Day/Month?
In my iPhone app, I'd like to be able to determine if the user's locale's date format is Month/Day (i.e. 1/5 for January fifth) or Day/Month (i.e. 5/1 for January fifth). I have a custom `NSDateFormatter` which does not use one of the basic formats such as `NSDateFormatterShortStyle` (11/23/37). In an ideal world, I want to use NSDateFormatterShortStyle, but just not display the year (only month & day#). What's the best way to accomplish this?
iphone
ios
internationalization
nsdate
nsdateformatter
null
open
How to determine if locale's date format is Month/Day or Day/Month? === In my iPhone app, I'd like to be able to determine if the user's locale's date format is Month/Day (i.e. 1/5 for January fifth) or Day/Month (i.e. 5/1 for January fifth). I have a custom `NSDateFormatter` which does not use one of the basic formats such as `NSDateFormatterShortStyle` (11/23/37). In an ideal world, I want to use NSDateFormatterShortStyle, but just not display the year (only month & day#). What's the best way to accomplish this?
0
3,028,810
06/12/2010 13:26:32
355,002
06/01/2010 01:49:32
35
0
about Sorting Algorithms
I want to know that we always use Sorting algorithm like (Insertion Sort or Merge Sort,...) just for lists and arrays?? and we do not use these algorithms for stack or queue ??? thanks
java
data-structures
null
null
null
null
open
about Sorting Algorithms === I want to know that we always use Sorting algorithm like (Insertion Sort or Merge Sort,...) just for lists and arrays?? and we do not use these algorithms for stack or queue ??? thanks
0
11,577,154
07/20/2012 10:02:36
1,540,394
07/20/2012 09:52:08
1
0
Our 3d Live wallpaper works fine on galaxy s2 but crashes on galaxy s3
We've developed couple of **3D Live wallpapers** based on Gl ES 1 There are already on Google Play and **everything was fine until brand new Galaxy SIII release**. Our wallpapers runs fine on Android 2,3,4 on all devices ingluding all Galaxy family. And Galaxy S2 EXEPT Galaxy sIII. **It just Crashes on startup**. So what's the diffenece between Galaxy s2 and s3 ?? **why works on s2 (android 4.0.3) and crashes on s3 (android 4.0.4)** Here is log (apkname is turtleisle): 07-20 09:07:08.075 D/KeyguardViewMediator( 2094): setHidden false 07-20 09:07:08.090 D/dalvikvm( 7968): Trying to load lib /data/data/com.hotpies.turtleisle/lib/libgdx.so 0x418f0bf0 07-20 09:07:08.090 D/KeyguardViewMediator( 2094): setHidden false 07-20 09:07:08.100 D/dalvikvm( 7968): Added shared lib /data/data/com.hotpies.turtleisle/lib/libgdx.so 0x418f0bf0 07-20 09:07:08.100 D/dalvikvm( 7968): No JNI_OnLoad found in /data/data/com.hotpies.turtleisle/lib/libgdx.so 0x418f0bf0, skipping init 07-20 09:07:08.105 D/KeyguardViewMediator( 2094): setHidden false .... 07-20 09:07:20.005 I/ActivityManager( 2094): Process com.hotpies.turtleisle (pid 7968) has died. 07-20 09:07:20.005 I/WindowManager( 2094): WIN DEATH: Window{429f06f0 XXX.XXXXXXX.XXXXXXXXXX.XXXXXXXXXXXXXXXX paused=false} 07-20 09:07:20.005 W/ActivityManager( 2094): Scheduling restart of crashed service com.hotpies.turtleisle/.WallpaperService in 5000ms 07-20 09:07:20.010 W/LiveWallpaperPreview( 7950): Wallpaper service gone: ComponentInfo{com.hotpies.turtleisle/com.hotpies.turtleisle.WallpaperService Thanks!!
android
3d
wallpaper
null
null
null
open
Our 3d Live wallpaper works fine on galaxy s2 but crashes on galaxy s3 === We've developed couple of **3D Live wallpapers** based on Gl ES 1 There are already on Google Play and **everything was fine until brand new Galaxy SIII release**. Our wallpapers runs fine on Android 2,3,4 on all devices ingluding all Galaxy family. And Galaxy S2 EXEPT Galaxy sIII. **It just Crashes on startup**. So what's the diffenece between Galaxy s2 and s3 ?? **why works on s2 (android 4.0.3) and crashes on s3 (android 4.0.4)** Here is log (apkname is turtleisle): 07-20 09:07:08.075 D/KeyguardViewMediator( 2094): setHidden false 07-20 09:07:08.090 D/dalvikvm( 7968): Trying to load lib /data/data/com.hotpies.turtleisle/lib/libgdx.so 0x418f0bf0 07-20 09:07:08.090 D/KeyguardViewMediator( 2094): setHidden false 07-20 09:07:08.100 D/dalvikvm( 7968): Added shared lib /data/data/com.hotpies.turtleisle/lib/libgdx.so 0x418f0bf0 07-20 09:07:08.100 D/dalvikvm( 7968): No JNI_OnLoad found in /data/data/com.hotpies.turtleisle/lib/libgdx.so 0x418f0bf0, skipping init 07-20 09:07:08.105 D/KeyguardViewMediator( 2094): setHidden false .... 07-20 09:07:20.005 I/ActivityManager( 2094): Process com.hotpies.turtleisle (pid 7968) has died. 07-20 09:07:20.005 I/WindowManager( 2094): WIN DEATH: Window{429f06f0 XXX.XXXXXXX.XXXXXXXXXX.XXXXXXXXXXXXXXXX paused=false} 07-20 09:07:20.005 W/ActivityManager( 2094): Scheduling restart of crashed service com.hotpies.turtleisle/.WallpaperService in 5000ms 07-20 09:07:20.010 W/LiveWallpaperPreview( 7950): Wallpaper service gone: ComponentInfo{com.hotpies.turtleisle/com.hotpies.turtleisle.WallpaperService Thanks!!
0
9,397,688
02/22/2012 15:26:01
962,563
09/24/2011 11:40:49
1
0
Maven building - Main Class not found
I have some problems with maven. It used to work just fine until a few minutes ago... This is what i get whenever i try to build now: ------------------------------------------------------- T E S T S ------------------------------------------------------- Error: Could not find or load main class Files\Java\jdk1.7.0_03\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\ImageMagick;C:\Program Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 pom.xml files are okay...Everything worked and now i cant get it to build anymore. Tried reinstalling java, maven, everything...
java
maven
build
null
null
02/22/2012 16:15:05
not a real question
Maven building - Main Class not found === I have some problems with maven. It used to work just fine until a few minutes ago... This is what i get whenever i try to build now: ------------------------------------------------------- T E S T S ------------------------------------------------------- Error: Could not find or load main class Files\Java\jdk1.7.0_03\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\ImageMagick;C:\Program Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 pom.xml files are okay...Everything worked and now i cant get it to build anymore. Tried reinstalling java, maven, everything...
1
5,725,732
04/20/2011 05:02:12
250,470
01/14/2010 05:39:27
903
51
Single page interface with PHP and jQuery
Can anyone help me to get started with building a single page interface application with PHP and jQuery? The main issue is how should i design the initial **A front controller (index.php)** and the the jQuery please suggest some tutorials or links. Since i am a beginner. i am interested to **learn it from the scratch** as well as **with some framework preferably cakePHP** Any help will be appreciated Thanks in advance
php
jquery
cakephp
singlepage
null
04/20/2011 10:06:21
not a real question
Single page interface with PHP and jQuery === Can anyone help me to get started with building a single page interface application with PHP and jQuery? The main issue is how should i design the initial **A front controller (index.php)** and the the jQuery please suggest some tutorials or links. Since i am a beginner. i am interested to **learn it from the scratch** as well as **with some framework preferably cakePHP** Any help will be appreciated Thanks in advance
1
9,021,175
01/26/2012 16:10:50
1,145,913
01/12/2012 16:11:27
11
0
Writing in a file with Phonegap
I've a problem with the Phonegap File API. Here a simple example of my problem : function gotFileWriter(writer) { for(var i=0;i<300;i++){ alert(i); writer.write(i); } } Navigator alert 0. 0 is written is the file Navigator alert 1. And nothing else. Thanks
file
phonegap
null
null
null
01/27/2012 16:22:30
not a real question
Writing in a file with Phonegap === I've a problem with the Phonegap File API. Here a simple example of my problem : function gotFileWriter(writer) { for(var i=0;i<300;i++){ alert(i); writer.write(i); } } Navigator alert 0. 0 is written is the file Navigator alert 1. And nothing else. Thanks
1
8,126,519
11/14/2011 18:46:49
803,244
06/17/2011 12:52:25
269
28
UDP cannot connect to anything other than 127.0.0.1
Im not too sure why this wont work. My application works fine if the client and server are ran on the same PC hence the 127.0.0.1 but it wont connect to my other laptop using IP 82.41.108.125 which is the IP of that device. Any reason why this is happening?
c++
networking
udp
null
null
null
open
UDP cannot connect to anything other than 127.0.0.1 === Im not too sure why this wont work. My application works fine if the client and server are ran on the same PC hence the 127.0.0.1 but it wont connect to my other laptop using IP 82.41.108.125 which is the IP of that device. Any reason why this is happening?
0
6,851,934
07/27/2011 22:17:49
853,934
07/20/2011 12:38:09
66
1
Do web servers (and related software) use all the CPU cores of the machines?
I'm wondering, since BASH etc. no matter what uses only one core, which kind of setups and software stacks would use all the cores on the CPU? Does Node.JS use all the cores, or an LEMP or LLMP stack? What's the way of coding for web and taking advantage of all the available system resources? Thank you.
linux
programming-languages
webserver
hardware
cpu
07/29/2011 17:52:47
not a real question
Do web servers (and related software) use all the CPU cores of the machines? === I'm wondering, since BASH etc. no matter what uses only one core, which kind of setups and software stacks would use all the cores on the CPU? Does Node.JS use all the cores, or an LEMP or LLMP stack? What's the way of coding for web and taking advantage of all the available system resources? Thank you.
1
10,600,345
05/15/2012 12:09:10
1,294,988
03/27/2012 08:34:48
69
5
How can i succesfully copy a file from server to local hard disk?
i'm trying to copy a database dump sql file from my server to my hdd using mac OSX Terminal (open ssh client). i know the command should be something like: scp [[user]@host]:mydump.sql mydump_local.sql but i found out that it did `copy` that file on the same server instead of my hdd (ie. using `ls *` i found both files mydump.sql and mydump_local.sql) what am i doing wrong?
osx
unix
ssh
scp
null
05/15/2012 13:15:53
off topic
How can i succesfully copy a file from server to local hard disk? === i'm trying to copy a database dump sql file from my server to my hdd using mac OSX Terminal (open ssh client). i know the command should be something like: scp [[user]@host]:mydump.sql mydump_local.sql but i found out that it did `copy` that file on the same server instead of my hdd (ie. using `ls *` i found both files mydump.sql and mydump_local.sql) what am i doing wrong?
2
10,409,976
05/02/2012 08:12:11
1,321,824
04/09/2012 12:11:42
26
0
Uriinfo for PUT method
I am using Urinfo for accessing query parameters in my restful web service as follows @GET @Produces("text/plain") @Path("/association") public Response Association( @Context UriInfo uriInfo){ String clinicianId = uriInfo.getQueryParameters().getFirst("clinicianId"); List<String> providerList = uriInfo.getQueryParameters().get("clinicialProviderId"); How to access Parameters for **PUT** metod using uriinfo.
jersey
null
null
null
null
null
open
Uriinfo for PUT method === I am using Urinfo for accessing query parameters in my restful web service as follows @GET @Produces("text/plain") @Path("/association") public Response Association( @Context UriInfo uriInfo){ String clinicianId = uriInfo.getQueryParameters().getFirst("clinicianId"); List<String> providerList = uriInfo.getQueryParameters().get("clinicialProviderId"); How to access Parameters for **PUT** metod using uriinfo.
0
7,938,381
10/29/2011 10:45:19
612,996
02/11/2011 11:57:28
84
2
displaying alert for verifying the app id in sandbox environment
when i run my app having in-app purchase functionality then why it display alert to verify app id although its test user account? Then it sends email for verification to that email address which do not exist actually. After entering to this method debugger shows alert to verify app id. Its not happening before. here is my code - (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions { NSLog(@"transaction........%@",transactions); NSLog(@"transaction count........%d",[transactions count]); NSLog(@"transaction description ........%@",transactions.description); for (SKPaymentTransaction *transaction in transactions) { switch (transaction.transactionState) { case SKPaymentTransactionStatePurchased: [self completeTransaction:transaction]; [[SKPaymentQueue defaultQueue] finishTransaction: transaction]; if(classvalue ==1){ abletodownload = FALSE; myobjaudioviewcontroller = [[audioviewcontroller alloc]initWithNibName:@"audioviewcontroller" bundle:[NSBundle mainBundle]]; [myobjaudioviewcontroller performSelector:@selector(downloading:)]; } break; case SKPaymentTransactionStateFailed: [self failedTransaction:transaction]; [[SKPaymentQueue defaultQueue] finishTransaction: transaction]; break; case SKPaymentTransactionStateRestored: [self restoreTransaction:transaction]; [[SKPaymentQueue defaultQueue] finishTransaction: transaction]; default: break; } } }
iphone
ios
in-app-purchase
in-app
null
null
open
displaying alert for verifying the app id in sandbox environment === when i run my app having in-app purchase functionality then why it display alert to verify app id although its test user account? Then it sends email for verification to that email address which do not exist actually. After entering to this method debugger shows alert to verify app id. Its not happening before. here is my code - (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions { NSLog(@"transaction........%@",transactions); NSLog(@"transaction count........%d",[transactions count]); NSLog(@"transaction description ........%@",transactions.description); for (SKPaymentTransaction *transaction in transactions) { switch (transaction.transactionState) { case SKPaymentTransactionStatePurchased: [self completeTransaction:transaction]; [[SKPaymentQueue defaultQueue] finishTransaction: transaction]; if(classvalue ==1){ abletodownload = FALSE; myobjaudioviewcontroller = [[audioviewcontroller alloc]initWithNibName:@"audioviewcontroller" bundle:[NSBundle mainBundle]]; [myobjaudioviewcontroller performSelector:@selector(downloading:)]; } break; case SKPaymentTransactionStateFailed: [self failedTransaction:transaction]; [[SKPaymentQueue defaultQueue] finishTransaction: transaction]; break; case SKPaymentTransactionStateRestored: [self restoreTransaction:transaction]; [[SKPaymentQueue defaultQueue] finishTransaction: transaction]; default: break; } } }
0
8,382,613
12/05/2011 08:23:44
755,278
05/16/2011 07:38:39
427
27
Want to install Android on my Data Card?
I'm having the dataCard which i usually used for connecting with net or used as a Flash Drive of 4GB. Previously i had install linux on my Pen Drive it works fine now i want to install on my Data Card which having both option (NetConnect with Flash Drive). Because Android is having Open Source Code now want to make my Data card like Complete System just plug with any system and work on Android any where any time with net connectivity. Can Any one having any idea how can i achieve this goal . Thanks In Advance I Just want to try this thing ... Thanks...
android
null
null
null
null
12/06/2011 14:25:58
off topic
Want to install Android on my Data Card? === I'm having the dataCard which i usually used for connecting with net or used as a Flash Drive of 4GB. Previously i had install linux on my Pen Drive it works fine now i want to install on my Data Card which having both option (NetConnect with Flash Drive). Because Android is having Open Source Code now want to make my Data card like Complete System just plug with any system and work on Android any where any time with net connectivity. Can Any one having any idea how can i achieve this goal . Thanks In Advance I Just want to try this thing ... Thanks...
2
10,275,588
04/23/2012 06:05:35
1,350,595
04/23/2012 05:57:51
1
0
Where is the source code of Linux Command "file"
I seek the coreutils-8.5.tar.xz and busybox-1.18.5.tar.bz2, but nothing is found. Help, thanks!!!
linux
file
command
source
null
04/24/2012 22:53:26
off topic
Where is the source code of Linux Command "file" === I seek the coreutils-8.5.tar.xz and busybox-1.18.5.tar.bz2, but nothing is found. Help, thanks!!!
2
9,702,032
03/14/2012 12:31:23
726,802
04/27/2011 08:27:33
3,235
349
Why Interface Layer/Abstract classes required in out project?
We normally use abstract function/Interfaces in our projects. Why it is really needed? Why can't we just go for Business logic Layer, Data Access Layer and Presentation Layer only
c#
asp.net
c#-4.0
interface
abstract-class
03/21/2012 12:06:43
not constructive
Why Interface Layer/Abstract classes required in out project? === We normally use abstract function/Interfaces in our projects. Why it is really needed? Why can't we just go for Business logic Layer, Data Access Layer and Presentation Layer only
4
8,141,346
11/15/2011 18:38:16
853,980
07/20/2011 13:00:11
1
0
inconsistency in htmlunit on clustered env?
We have a app that uses htmlunit to simulate browser. The htmlclient invokes a servlet that is supposed to do a redirect. This works from our local desktop and on dev environment. But we are noticing some inconsistencies in prod/stage env where we have a clustered env. It works for a while and then it fails consistently for a time-window and it gets working again. On further debuging we notice that for failed transaction, though the servlet does the redirect, the url doesnt get to the htmlclient to perform the actual redirection. Wondering if anyone has noticed this behaviour before.
htmlunit
production-environment
null
null
null
11/16/2011 01:08:45
not a real question
inconsistency in htmlunit on clustered env? === We have a app that uses htmlunit to simulate browser. The htmlclient invokes a servlet that is supposed to do a redirect. This works from our local desktop and on dev environment. But we are noticing some inconsistencies in prod/stage env where we have a clustered env. It works for a while and then it fails consistently for a time-window and it gets working again. On further debuging we notice that for failed transaction, though the servlet does the redirect, the url doesnt get to the htmlclient to perform the actual redirection. Wondering if anyone has noticed this behaviour before.
1
11,281,666
07/01/2012 11:44:08
1,203,043
02/10/2012 22:00:27
253
4
Create a video file of multiple images
I am trying to create a video in android that displays the chosen images by me. one by another. I've heard of ffmpeg and Dolphin player open source code. I'd like to know the cons and pros of them. Is ffmpeg is easy to work with? and what about the Dolphin player? Another thing I undestand is that ffmpeg is programmed by command line? Anyway, I would like to hear some reviews about ffmpeg or the Dolphin Player. Thank you.
java
android
ffmpeg
null
null
07/02/2012 15:43:17
off topic
Create a video file of multiple images === I am trying to create a video in android that displays the chosen images by me. one by another. I've heard of ffmpeg and Dolphin player open source code. I'd like to know the cons and pros of them. Is ffmpeg is easy to work with? and what about the Dolphin player? Another thing I undestand is that ffmpeg is programmed by command line? Anyway, I would like to hear some reviews about ffmpeg or the Dolphin Player. Thank you.
2
11,502,070
07/16/2012 09:58:43
379,716
06/30/2010 06:18:55
453
23
How to get count of shares using face book share button in php?
I have a list of events. For each event, I want to add a Facebook share button. An event can be shared only once. The system needs to keep track, how many events an user has shared on FB. I have not used FB share button. I searched but could not find an answer to this. Can we retrieve number of shared events' count for an user ? Suggestions are welcome, how to achieve this, if there is no such API method.
facebook
php5
null
null
null
null
open
How to get count of shares using face book share button in php? === I have a list of events. For each event, I want to add a Facebook share button. An event can be shared only once. The system needs to keep track, how many events an user has shared on FB. I have not used FB share button. I searched but could not find an answer to this. Can we retrieve number of shared events' count for an user ? Suggestions are welcome, how to achieve this, if there is no such API method.
0
6,812,510
07/25/2011 06:35:56
45,951
12/13/2008 10:55:39
582
40
Stand alone C# compiler
We have a software which we use in-house for our day to day work. It is like a customize CRM (sort of) and Bug Tracking software. We had a small team of 3 developers who had developed this software. Now this team is also working on other assignments. Recently we are receiving a lot of request for adding functionality from users (who are our employees and all of them are developers working of different projects) in our firm. The original team that created this software does not have enough time to work on enhancing this software. So instead of spending a lot of time in updating as per request and the updating the executable of software for each user, we want to implement a programming/scripting solution that is if possible free and open source. I was thinking of adding support for a language which is similar to C# to our application. Can anyone point me to some such implementation already existing? I don't know if I am taking the right decision or not regarding C# I would like to get opinion of experts on this also. TIA
c#
scripting
compiler
interpreter
basic
07/25/2011 06:47:55
not constructive
Stand alone C# compiler === We have a software which we use in-house for our day to day work. It is like a customize CRM (sort of) and Bug Tracking software. We had a small team of 3 developers who had developed this software. Now this team is also working on other assignments. Recently we are receiving a lot of request for adding functionality from users (who are our employees and all of them are developers working of different projects) in our firm. The original team that created this software does not have enough time to work on enhancing this software. So instead of spending a lot of time in updating as per request and the updating the executable of software for each user, we want to implement a programming/scripting solution that is if possible free and open source. I was thinking of adding support for a language which is similar to C# to our application. Can anyone point me to some such implementation already existing? I don't know if I am taking the right decision or not regarding C# I would like to get opinion of experts on this also. TIA
4
6,206,305
06/01/2011 19:01:48
214,796
11/19/2009 17:11:26
3,016
123
Why is Windows not considered suitable for real time systems/high performance servers?
I hope this question isn't too subjective, but why is Windows considered an unsuitable operating system for real time systems and high performance servers? Are there any technical papers or studies that gauge it's performance compared to *nix alternatives? I've never actually heard any explanation of why developers are against using Windows for these types of systems, aside from the extremely common 'Windows is not a real time operating system' statement, as if it's some kind of well known fact that doesn't need to be justified. Note that I'm asking about Windows CE/Windows Server, not the desktop versions of the operating system.
windows
performance
real-time-systems
null
null
06/02/2011 00:04:41
not constructive
Why is Windows not considered suitable for real time systems/high performance servers? === I hope this question isn't too subjective, but why is Windows considered an unsuitable operating system for real time systems and high performance servers? Are there any technical papers or studies that gauge it's performance compared to *nix alternatives? I've never actually heard any explanation of why developers are against using Windows for these types of systems, aside from the extremely common 'Windows is not a real time operating system' statement, as if it's some kind of well known fact that doesn't need to be justified. Note that I'm asking about Windows CE/Windows Server, not the desktop versions of the operating system.
4
4,798,141
01/25/2011 19:51:29
144,088
07/23/2009 22:04:08
148
8
Sendgrid vs Postmark vs Amazon SES
Amazon SES is new, but I know people who have used it. Could you please comment on the relative merits/drawbacks for Sendgrid, Postmark, and Amazon SES? Which would you recommend, and why? Is there another email API service you recommend instead? Thanks!
amazon-web-services
amazon
sendgrid
postmark
null
09/10/2011 15:39:48
not constructive
Sendgrid vs Postmark vs Amazon SES === Amazon SES is new, but I know people who have used it. Could you please comment on the relative merits/drawbacks for Sendgrid, Postmark, and Amazon SES? Which would you recommend, and why? Is there another email API service you recommend instead? Thanks!
4
5,964,685
05/11/2011 13:01:44
746,929
05/10/2011 13:24:02
8
0
How do I totally delete/reset bluetooth settings in Windows 7
I have a windows 7 machine that I've been using to experiment with several serial over bluetooth devices. I now have a couple of problems that I would like to solve without having to re-image my machine. The first problem is that I've had to uninstall and reinstall these devices so much that I'm now up to serial port 50. The second problem is that one particular device (that acts as a master) will only let me talk to it once before the serial port disconnects and forces me to reconnect to the computer. When working with a fresh install of Windows 7 using the same bluetooth dongle, I don't have the disconnect problem or the high com port problem, however, I prefer not to re-image my machine if I can help it. Anyone have any ideas how I can totally uninstall bluetooth and delete all of the com ports so I can start with clean bluetooth settings?
windows
windows-7
bluetooth
registry
null
07/22/2012 14:48:17
off topic
How do I totally delete/reset bluetooth settings in Windows 7 === I have a windows 7 machine that I've been using to experiment with several serial over bluetooth devices. I now have a couple of problems that I would like to solve without having to re-image my machine. The first problem is that I've had to uninstall and reinstall these devices so much that I'm now up to serial port 50. The second problem is that one particular device (that acts as a master) will only let me talk to it once before the serial port disconnects and forces me to reconnect to the computer. When working with a fresh install of Windows 7 using the same bluetooth dongle, I don't have the disconnect problem or the high com port problem, however, I prefer not to re-image my machine if I can help it. Anyone have any ideas how I can totally uninstall bluetooth and delete all of the com ports so I can start with clean bluetooth settings?
2
8,481,929
12/12/2011 22:38:41
1,032,521
11/06/2011 17:31:42
1
0
conversion .NET to java code
Any one can help me to get JAVA code for this piece of code in .NET. I have .NET code . i need this decryption technique using thru' java. Dim ByteConverter As UnicodeEncoding = New UnicodeEncoding rc2CSP.Key = ByteConverter.GetBytes(e.Key) rc2CSP.IV = ByteConverter.GetBytes(e.IV) Dim decryptor As ICryptoTransform = rc2CSP.CreateDecryptor(rc2CSP.Key, rc2CSP.IV) Dim encrypted() As Byte = ByteConverter.GetBytes(e.StringToDecrypt) Dim msDecrypt As New MemoryStream(encrypted) Dim csDecrypt As New CryptoStream(msDecrypt, decryptor, CryptoStreamMode.Read) Dim fromEncrypt() As Byte fromEncrypt = New Byte(encrypted.Length) {} csDecrypt.Read(fromEncrypt, 0, fromEncrypt.Length) 'Convert the byte array back into a string. Return ByteConverter.GetString(fromEncrypt)
java
.net
cryptography
null
null
12/13/2011 01:49:02
not a real question
conversion .NET to java code === Any one can help me to get JAVA code for this piece of code in .NET. I have .NET code . i need this decryption technique using thru' java. Dim ByteConverter As UnicodeEncoding = New UnicodeEncoding rc2CSP.Key = ByteConverter.GetBytes(e.Key) rc2CSP.IV = ByteConverter.GetBytes(e.IV) Dim decryptor As ICryptoTransform = rc2CSP.CreateDecryptor(rc2CSP.Key, rc2CSP.IV) Dim encrypted() As Byte = ByteConverter.GetBytes(e.StringToDecrypt) Dim msDecrypt As New MemoryStream(encrypted) Dim csDecrypt As New CryptoStream(msDecrypt, decryptor, CryptoStreamMode.Read) Dim fromEncrypt() As Byte fromEncrypt = New Byte(encrypted.Length) {} csDecrypt.Read(fromEncrypt, 0, fromEncrypt.Length) 'Convert the byte array back into a string. Return ByteConverter.GetString(fromEncrypt)
1
7,587,658
09/28/2011 18:18:57
939,266
09/11/2011 15:08:21
80
2
Visual Studio 2011 nuisances
I'm currently trying out the new Visual Studio 2011 which can be obtained [here](http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27543). And I must say I do like it :) I have only some small nuisances with it... 1. VS2011 now supports some new coloring options for keywords/typedefs/etc and also for parameters you get passed in a function. Some hipster at Microsoft decided they should display italic... And ugh it is ugly and I can't turn it off! In the 'Fonts and Colors' section only bold can be ticked and unticked. Does anyone know some registry/xml-file hack to change the font to non-italic again? 2. At C/C++ -> Code generation I can select the 'Enable Parallel Code Generation' but when building I get `LINK : fatal error LNK1104: cannot open file 'VCConcRT.lib'` Am I doing something wrong? (And how does this new feature compare to OpenMP, it is sort of advertised as an automatic parrelizer...) 3. When using the build-in regex support by `#include <regex>` all compiles fine, but when a function of the library is called it dies with a stack overflow message (so this site's name isn't just hot air after all!). Did the maximum stack size change in VS2011? And how can I modify the max stack size? I know all these things should probably be forwarded to Microsoft anyways, but maybe someone knows a quick fix and I don't want to report bugs that aren't eh.. bugs :)
c++
visual-studio
null
null
null
09/29/2011 03:42:30
not constructive
Visual Studio 2011 nuisances === I'm currently trying out the new Visual Studio 2011 which can be obtained [here](http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27543). And I must say I do like it :) I have only some small nuisances with it... 1. VS2011 now supports some new coloring options for keywords/typedefs/etc and also for parameters you get passed in a function. Some hipster at Microsoft decided they should display italic... And ugh it is ugly and I can't turn it off! In the 'Fonts and Colors' section only bold can be ticked and unticked. Does anyone know some registry/xml-file hack to change the font to non-italic again? 2. At C/C++ -> Code generation I can select the 'Enable Parallel Code Generation' but when building I get `LINK : fatal error LNK1104: cannot open file 'VCConcRT.lib'` Am I doing something wrong? (And how does this new feature compare to OpenMP, it is sort of advertised as an automatic parrelizer...) 3. When using the build-in regex support by `#include <regex>` all compiles fine, but when a function of the library is called it dies with a stack overflow message (so this site's name isn't just hot air after all!). Did the maximum stack size change in VS2011? And how can I modify the max stack size? I know all these things should probably be forwarded to Microsoft anyways, but maybe someone knows a quick fix and I don't want to report bugs that aren't eh.. bugs :)
4
6,212,939
06/02/2011 09:53:44
780,890
06/02/2011 09:53:44
1
0
Textbox onKeyPress in Firefox not working
<html> <head><script> function handleKeyPress(evt) { var nbr; var nbr = (window.event)?event.keyCode:evt.which; alert(nbr); return true; } </script> </head> <body><form> <input type=text name="txt" onkeypress="handleKeyPress();"></form> </body> </html> This is working perfectly with IE but not in Firefox. I'm using IE8 and Firefox 3
firefox
onkeypress
null
null
null
null
open
Textbox onKeyPress in Firefox not working === <html> <head><script> function handleKeyPress(evt) { var nbr; var nbr = (window.event)?event.keyCode:evt.which; alert(nbr); return true; } </script> </head> <body><form> <input type=text name="txt" onkeypress="handleKeyPress();"></form> </body> </html> This is working perfectly with IE but not in Firefox. I'm using IE8 and Firefox 3
0
3,769,728
09/22/2010 13:31:12
378,783
06/29/2010 08:10:19
170
17
Programing language concise and systematic description
Can you describe in few sentences or bullets program language you know best? It should be concise, not too long, lets say for one or two slides in presentation, but that contains important classifications of that language. Some details about usage and spread, supported platforms and available libraries. Some strengths and weaknesses. Most important concepts that language offers. Maybe some future expectations or plans in development. You can give score 1-10 if it helps you to grade things like speed or portability.
language-agnostic
programming-languages
language-features
classification
programming-paradigms
09/22/2010 14:16:24
not a real question
Programing language concise and systematic description === Can you describe in few sentences or bullets program language you know best? It should be concise, not too long, lets say for one or two slides in presentation, but that contains important classifications of that language. Some details about usage and spread, supported platforms and available libraries. Some strengths and weaknesses. Most important concepts that language offers. Maybe some future expectations or plans in development. You can give score 1-10 if it helps you to grade things like speed or portability.
1
2,764,120
05/04/2010 09:21:38
14,053
09/16/2008 21:50:26
407
23
Custom draw button using uxthem.dll
I have implemented my custom button inheriting from CButton and drawing it by using uxtheme.dll (DrawThemeBackground with BP_PUSHBUTTON). Everything works fine but I have two statuses (Normal and Pressed) which Hot status is the same. It means when the user places the cursor over the button it is drawn alike regardless the button status (Pressed or not). This is a bit confusing to the user and I would like to change the way the button is drawn in Pressed & Hot status. Does anybody know a way? I have also thought about custumizing the whole drawing but the buttons use gradients, borders, shadows, etc. So it is not easy to achive the same look&feel drawing everything by myself. Is there a way to find the source code of the dll or know how to do it? Thanks in advance. Javier
cbutton
mfc
null
null
null
null
open
Custom draw button using uxthem.dll === I have implemented my custom button inheriting from CButton and drawing it by using uxtheme.dll (DrawThemeBackground with BP_PUSHBUTTON). Everything works fine but I have two statuses (Normal and Pressed) which Hot status is the same. It means when the user places the cursor over the button it is drawn alike regardless the button status (Pressed or not). This is a bit confusing to the user and I would like to change the way the button is drawn in Pressed & Hot status. Does anybody know a way? I have also thought about custumizing the whole drawing but the buttons use gradients, borders, shadows, etc. So it is not easy to achive the same look&feel drawing everything by myself. Is there a way to find the source code of the dll or know how to do it? Thanks in advance. Javier
0
3,623,115
09/02/2010 00:53:01
184,131
10/05/2009 03:12:54
17
0
Automapper: Type conversion/formatting
Using AutoMapper, is it possible to do a type conversion *and* selectively format the destination value based on a ForMember expression? For example: Mapper.CreateMap<string, IHtmlString>().ConvertUsing<MvcHtmlStringConverter>(); Mapper .CreateMap<WebSearchResult, SearchResultViewData>() .ForMember(x => x.Cost, opt => opt.AddFormatter<CostValueFormatter>()); Assuming that both source and destination types have two properties, one named Url and the other Cost. I'd like Cost to be projected as a IHtmlString value formatted as $<value>. What I'm currently seeing is the projection from string to IHtmlString, but the formatter is not hit. What am I missing?
c#
automapper
null
null
null
null
open
Automapper: Type conversion/formatting === Using AutoMapper, is it possible to do a type conversion *and* selectively format the destination value based on a ForMember expression? For example: Mapper.CreateMap<string, IHtmlString>().ConvertUsing<MvcHtmlStringConverter>(); Mapper .CreateMap<WebSearchResult, SearchResultViewData>() .ForMember(x => x.Cost, opt => opt.AddFormatter<CostValueFormatter>()); Assuming that both source and destination types have two properties, one named Url and the other Cost. I'd like Cost to be projected as a IHtmlString value formatted as $<value>. What I'm currently seeing is the projection from string to IHtmlString, but the formatter is not hit. What am I missing?
0
6,076,338
05/20/2011 18:43:51
594,373
01/28/2011 20:34:08
25
1
Unknown field name 'SubmitOptions' after Perforce upgrade
I just migrated/upgraded from a Windows 2003 Perforce 2009.2 installation to a Windows 2008 R2 2010.2 box and noted that after the upgrade, the only issue that seems to present is the inability to create/edit workspaces from the UI - because it tries to set the SubmitOptions parameter and throws Error at line 0 of field 'SubmitOptions' in client specification. Unknown field name 'SubmitOptions'. Yes, I'm able to create/edit client spec using `p4 client`, as long as I don't try to include the `SubmitOptions` parameter. As far as I can tell, all aspects of the upgrade succeeded (p4d replacement, `p4d -xu` to upgrade the database, license in place, etc.) Any ideas? Haven't found a whisper of this issue online (and my Google-fu is pretty good...)
perforce
upgrade-issue
perforce-client-spec
null
null
null
open
Unknown field name 'SubmitOptions' after Perforce upgrade === I just migrated/upgraded from a Windows 2003 Perforce 2009.2 installation to a Windows 2008 R2 2010.2 box and noted that after the upgrade, the only issue that seems to present is the inability to create/edit workspaces from the UI - because it tries to set the SubmitOptions parameter and throws Error at line 0 of field 'SubmitOptions' in client specification. Unknown field name 'SubmitOptions'. Yes, I'm able to create/edit client spec using `p4 client`, as long as I don't try to include the `SubmitOptions` parameter. As far as I can tell, all aspects of the upgrade succeeded (p4d replacement, `p4d -xu` to upgrade the database, license in place, etc.) Any ideas? Haven't found a whisper of this issue online (and my Google-fu is pretty good...)
0
7,596,932
09/29/2011 11:54:23
958,968
09/22/2011 11:13:29
21
2
waht happening ,behind the screen when creating web application
i am very new to sharepoint,And i need to know, waht happening ,Behind the screen when creating web application in sharepoint2007 and sharepoint 2010.
sharepoint
sharepoint2010
sharepoint2007
null
null
09/29/2011 14:35:07
not a real question
waht happening ,behind the screen when creating web application === i am very new to sharepoint,And i need to know, waht happening ,Behind the screen when creating web application in sharepoint2007 and sharepoint 2010.
1
11,157,272
06/22/2012 13:36:44
1,465,859
06/19/2012 08:42:28
17
1
Stored Procedure in sql server 2005
I use the following function for insert the value in database through the stored procedure.but i have the exception in sqlConnection.Open();How to solve this? try { string dbConnectionString = "something"; SqlConnection sqlConnection = new SqlConnection(dbConnectionString); SqlCommand command = new SqlCommand("sp_Test", sqlConnection); command.CommandType = CommandType.StoredProcedure; command.Parameters.AddWithValue("@id ", SqlDbType.Int).Value = TextBox1.Text; command.Parameters.AddWithValue("@FullName", SqlDbType.VarChar).Value = TextBox2.Text; sqlConnection.Open(); command.ExecuteNonQuery(); sqlConnection.Close(); } catch (SqlException ex) { Console.WriteLine("SQL Error" + ex.Message.ToString()); }
c#
sql-server-2005
stored-procedures
null
null
null
open
Stored Procedure in sql server 2005 === I use the following function for insert the value in database through the stored procedure.but i have the exception in sqlConnection.Open();How to solve this? try { string dbConnectionString = "something"; SqlConnection sqlConnection = new SqlConnection(dbConnectionString); SqlCommand command = new SqlCommand("sp_Test", sqlConnection); command.CommandType = CommandType.StoredProcedure; command.Parameters.AddWithValue("@id ", SqlDbType.Int).Value = TextBox1.Text; command.Parameters.AddWithValue("@FullName", SqlDbType.VarChar).Value = TextBox2.Text; sqlConnection.Open(); command.ExecuteNonQuery(); sqlConnection.Close(); } catch (SqlException ex) { Console.WriteLine("SQL Error" + ex.Message.ToString()); }
0
8,667,105
12/29/2011 11:08:08
1,089,634
12/09/2011 11:38:21
1
0
htaccess file is not working
Options +FollowSymlinks RewriteEngine on RewriteRule ^home/(.+)$ home.php?id=$1 RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteCond $1 !^css$ RewriteCond $1 !^js$ RewriteCond $1 !^images$ RewriteRule ^(.*)$ $1.php css and javascript is not working in this code
javascript
.htaccess
null
null
null
12/30/2011 18:21:53
off topic
htaccess file is not working === Options +FollowSymlinks RewriteEngine on RewriteRule ^home/(.+)$ home.php?id=$1 RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteCond $1 !^css$ RewriteCond $1 !^js$ RewriteCond $1 !^images$ RewriteRule ^(.*)$ $1.php css and javascript is not working in this code
2
3,794,376
09/25/2010 15:25:30
428,753
08/23/2010 19:31:47
113
3
Can browsers connec to a proxy over SSL/TLS?
If I set up a proxy (such as Squid for example) configured with certs to listen for HTTPS are browsers able to connect to the proxy over TLS/SSL? Example of what I'm asking: Browser Proxy Server yahoo.com -> TLS -> Squid -> HTTP -> yahoo.com I've set up a proxy listening on 443, but am not having success getting browsers to use it (connecting to the http proxy on port 80 works fine).
browser
ssl
proxy
tls
null
null
open
Can browsers connec to a proxy over SSL/TLS? === If I set up a proxy (such as Squid for example) configured with certs to listen for HTTPS are browsers able to connect to the proxy over TLS/SSL? Example of what I'm asking: Browser Proxy Server yahoo.com -> TLS -> Squid -> HTTP -> yahoo.com I've set up a proxy listening on 443, but am not having success getting browsers to use it (connecting to the http proxy on port 80 works fine).
0
8,598,807
12/22/2011 02:27:41
1,110,951
12/22/2011 02:25:42
1
0
Anyone know asp.net or can help me with this issue?
I'm the senior front-end developer at my job and am having a problem with this page: http://staging.www.franklinstreetfinancial.com/Real_Estate/Property_Locator_Map It's supposed to have this interactive map on the page below the chrome of the site: http://staging.www.franklinstreetfinancial.com/TestZoom/map.html It's a jQuery map I built that works perfectly in every environment except this one. It's a webpart dropped into a custom CMS page built entirely in .NET. Anyone able to determine definitively what is actually happening?
jquery
.net
html
css
content-management-system
12/22/2011 02:44:58
not a real question
Anyone know asp.net or can help me with this issue? === I'm the senior front-end developer at my job and am having a problem with this page: http://staging.www.franklinstreetfinancial.com/Real_Estate/Property_Locator_Map It's supposed to have this interactive map on the page below the chrome of the site: http://staging.www.franklinstreetfinancial.com/TestZoom/map.html It's a jQuery map I built that works perfectly in every environment except this one. It's a webpart dropped into a custom CMS page built entirely in .NET. Anyone able to determine definitively what is actually happening?
1
10,532,502
05/10/2012 10:53:52
482,138
10/20/2010 18:45:36
2,159
64
C# Excel Interop
I'm creating an Excel worksheet dynamically via C#. I have a requirement that all active cells within a specific column has a dropdown with data that I provide. I can get it working on a single cell as such: Excel.Range range = (Excel.Range)activeSheet.Cells[Type.Missing, 4]; Excel.DropDowns dropDowns; Excel.DropDown dropDown; dropDowns = ((Excel.DropDowns)(activeSheet.DropDowns(Type.Missing))); dropDown = dropDowns.Add((double)range.Left, (double)range.Top, (double)range.Width, (double)range.Height, true); for (int i = 0; i < 10; ++i) { dropDown.AddItem(i.ToString()); } However, I can't seem to get it to appear only in active cells for a specific column. Any ideas? Thanks.
c#
interop
null
null
null
null
open
C# Excel Interop === I'm creating an Excel worksheet dynamically via C#. I have a requirement that all active cells within a specific column has a dropdown with data that I provide. I can get it working on a single cell as such: Excel.Range range = (Excel.Range)activeSheet.Cells[Type.Missing, 4]; Excel.DropDowns dropDowns; Excel.DropDown dropDown; dropDowns = ((Excel.DropDowns)(activeSheet.DropDowns(Type.Missing))); dropDown = dropDowns.Add((double)range.Left, (double)range.Top, (double)range.Width, (double)range.Height, true); for (int i = 0; i < 10; ++i) { dropDown.AddItem(i.ToString()); } However, I can't seem to get it to appear only in active cells for a specific column. Any ideas? Thanks.
0
3,885,194
10/07/2010 19:28:07
469,511
10/07/2010 19:28:07
1
0
Object reference not set to an instance of an object.
public Player(string name, List<Card> cards) { this.name = name; try { this.stack.insertCards(cards);//Here is the NullReferenceExeption } catch (Exception e) { throw e; } } public void insertCards(List<Card> cards) { stack.AddRange(cards); } public List<Card> GetSevenCards() //the Player gets the Cards from this function { List<Card> list = new List<Card>(); int ran; Random r = new Random(); for (int i = 0; i < 7; i++) { ran = r.Next(0, stack.Count()-1); list.Add(stack[ran]); stack.RemoveAt(ran); } return list; } the stack gets a cardlist of 7 Cards
c#
null
null
null
null
10/07/2010 19:37:33
not a real question
Object reference not set to an instance of an object. === public Player(string name, List<Card> cards) { this.name = name; try { this.stack.insertCards(cards);//Here is the NullReferenceExeption } catch (Exception e) { throw e; } } public void insertCards(List<Card> cards) { stack.AddRange(cards); } public List<Card> GetSevenCards() //the Player gets the Cards from this function { List<Card> list = new List<Card>(); int ran; Random r = new Random(); for (int i = 0; i < 7; i++) { ran = r.Next(0, stack.Count()-1); list.Add(stack[ran]); stack.RemoveAt(ran); } return list; } the stack gets a cardlist of 7 Cards
1
10,418,293
05/02/2012 16:54:41
952,704
09/19/2011 12:55:47
42
0
What are some good tools to create graphs with vertexes and edges?
I have implemented some algorithms from graph theory in C++. My teacher wants us to show some examples with graphs, so I need to draw a graph and then explain step by step how my implementation works. I don't want to use paint for this job so I was wondering is there any tool available that can make your life easier when trying to create weighted graphs with edges and vertexes? thanks!
c++
graph
null
null
null
05/03/2012 12:20:39
not constructive
What are some good tools to create graphs with vertexes and edges? === I have implemented some algorithms from graph theory in C++. My teacher wants us to show some examples with graphs, so I need to draw a graph and then explain step by step how my implementation works. I don't want to use paint for this job so I was wondering is there any tool available that can make your life easier when trying to create weighted graphs with edges and vertexes? thanks!
4
1,836,461
12/02/2009 22:56:15
135,946
07/09/2009 22:11:37
2,386
195
Obtaining clients IP address in GWT and Google App Engine
I have a need to capture IP address of the client in my GWT/GAE (Java) application. Since GAE does not support full set of java.net APIs I cannot do code such as snippet below. Can anyone suggest reliable way of achieving the same? for (final Enumeration<NetworkInterface> en = NetworkInterface.getNetworkInterfaces(); en.hasMoreElements();) { final NetworkInterface intf = en.nextElement(); for (final Enumeration<InetAddress> enumIpAddr = intf.getInetAddresses(); enumIpAddr.hasMoreElements();) { final InetAddress ip = enumIpAddr.nextElement(); if (!ip.isLoopbackAddress() && !ip.isLinkLocalAddress() && !ip.isAnyLocalAddress()) { return ip.getHostAddress().toString(); } } }
gwt
client-ip
gae-java
null
null
null
open
Obtaining clients IP address in GWT and Google App Engine === I have a need to capture IP address of the client in my GWT/GAE (Java) application. Since GAE does not support full set of java.net APIs I cannot do code such as snippet below. Can anyone suggest reliable way of achieving the same? for (final Enumeration<NetworkInterface> en = NetworkInterface.getNetworkInterfaces(); en.hasMoreElements();) { final NetworkInterface intf = en.nextElement(); for (final Enumeration<InetAddress> enumIpAddr = intf.getInetAddresses(); enumIpAddr.hasMoreElements();) { final InetAddress ip = enumIpAddr.nextElement(); if (!ip.isLoopbackAddress() && !ip.isLinkLocalAddress() && !ip.isAnyLocalAddress()) { return ip.getHostAddress().toString(); } } }
0
4,093,286
11/04/2010 02:01:38
496,680
11/04/2010 01:51:27
1
0
C++ templates - basics
I'm trying to follow my college notes, and I've tried googling the error and looking on stackover flow but I can't seem to figure out whats wrong. I've read on so many places that you need to have both implementation and specification files in one file (header) so I've done so. I've just copy and pasted from my printed slides, and have googled this and tried copying exactly what was written on the page and still I get errors. I'm using g++ compiler. Anyway, here is my code. template<class A_Type> class calc { public: A_Type multiply(A_Type x, A_Type y); A_Type add(A_Type x, A_Type y); }; template<class A_type> A_Type calc<A_Type>::multiply(A_Type x, A_Type y) { return x*y; } template<class A_Type> A_Type calc<A_Type>::add(A_Type x, A_Type y) { return x+y; } And I get the error: expected constructor, destructor, or type conversion before 'calc' (on line 10 of test.h) Am I missing something? I dont get it
c++
templates
null
null
null
null
open
C++ templates - basics === I'm trying to follow my college notes, and I've tried googling the error and looking on stackover flow but I can't seem to figure out whats wrong. I've read on so many places that you need to have both implementation and specification files in one file (header) so I've done so. I've just copy and pasted from my printed slides, and have googled this and tried copying exactly what was written on the page and still I get errors. I'm using g++ compiler. Anyway, here is my code. template<class A_Type> class calc { public: A_Type multiply(A_Type x, A_Type y); A_Type add(A_Type x, A_Type y); }; template<class A_type> A_Type calc<A_Type>::multiply(A_Type x, A_Type y) { return x*y; } template<class A_Type> A_Type calc<A_Type>::add(A_Type x, A_Type y) { return x+y; } And I get the error: expected constructor, destructor, or type conversion before 'calc' (on line 10 of test.h) Am I missing something? I dont get it
0
9,325,553
02/17/2012 09:13:11
1,215,790
02/17/2012 08:52:07
1
1
eclipse CDT copying all project settings
It is possible to export settings from one project and import them in another. However, it seems that only "include Paths" and "Symbols" can be moved to a new project this way. Is there any reliable way to copy all settings? Particularly I would like to copy the linker settings for my embedded ARM project. I do not want copy the settings manually, as this is something that will have to be done often by at bunch of people.
export
eclipse-cdt
project-settings
null
null
null
open
eclipse CDT copying all project settings === It is possible to export settings from one project and import them in another. However, it seems that only "include Paths" and "Symbols" can be moved to a new project this way. Is there any reliable way to copy all settings? Particularly I would like to copy the linker settings for my embedded ARM project. I do not want copy the settings manually, as this is something that will have to be done often by at bunch of people.
0
1,397,366
09/09/2009 03:15:30
31,671
10/27/2008 01:07:58
5,846
336
Frustrating problem with jQuery getElementById()
I'll firstly admit I'm a lot more productive when using jQuery, however I've been asked to implement a gallery written in vanilla JavScript. My normal javascript DOM skills are only average. This is the gallery I've been asked to implement [http://sandbox.leigeber.com/slideshow/][1] Now I've chopped and changed it ever so slightly so it'd fit into the new site's templating system a bit easier. Whenever I run it, this line causes an error ta=document.getElementById(thumbid); Saying that `ta` is null. I know the thumbid var's value does exist as an Id of the unordered list. My implementation is at [http://ikatanspa.com/~new/image-gallery/][2] I've tried to figure what's been going on for at least half an hour now, and can't seem to nail it! Can someone please tell me what I'm doing wrong? Thanks [1]: http://sandbox.leigeber.com/slideshow/ [2]: http://ikatanspa.com/~new/image-gallery/
javascript
getelementbyid
image-gallery
null
null
null
open
Frustrating problem with jQuery getElementById() === I'll firstly admit I'm a lot more productive when using jQuery, however I've been asked to implement a gallery written in vanilla JavScript. My normal javascript DOM skills are only average. This is the gallery I've been asked to implement [http://sandbox.leigeber.com/slideshow/][1] Now I've chopped and changed it ever so slightly so it'd fit into the new site's templating system a bit easier. Whenever I run it, this line causes an error ta=document.getElementById(thumbid); Saying that `ta` is null. I know the thumbid var's value does exist as an Id of the unordered list. My implementation is at [http://ikatanspa.com/~new/image-gallery/][2] I've tried to figure what's been going on for at least half an hour now, and can't seem to nail it! Can someone please tell me what I'm doing wrong? Thanks [1]: http://sandbox.leigeber.com/slideshow/ [2]: http://ikatanspa.com/~new/image-gallery/
0
3,270,484
07/17/2010 06:21:19
394,130
07/16/2010 17:05:29
-1
0
about tsr in java
whether JAVA is support TSR programs?
tsr
null
null
null
null
07/17/2010 06:29:56
not a real question
about tsr in java === whether JAVA is support TSR programs?
1
7,794,903
10/17/2011 14:00:50
818,700
06/28/2011 07:22:34
59
0
Hitting stored proc - javax.ejb.EJBException
I'm trying to hit a stored procedure but I'm getting this error message: 'javax.ejb.EJBException'... I've never worked with stored procedures so the exception is a bit Greek to me. Anyone that could perhaps shed some light on this? Below I pasted the code that I wrote: @WebMethod(operationName = "getSpecimenResultsXml") public String getSpecimenResultsXml(@WebParam(name = "specimenGuid") String specimenGuid, @WebParam(name = "publicationGuid") String publicationGuid, @WebParam(name = "forProvider") String forProvider) { //Method variables ResultSet rs = null; String xml = null; // 1) get server connection Connection conn = dataBaseConnection.getConnection(); // 2) Pass recieved parameters to stored proc. try { CallableStatement proc = conn.prepareCall("{ call getSpecimenReportXml(?, ?, ?) }"); proc.setString(1, specimenGuid); proc.setString(2, publicationGuid); proc.setString(3, forProvider); proc.execute(); rs = proc.getResultSet(); } catch (SQLException e) { System.out.println("--------------Error in getSpecimenResultsXml------------"); System.out.println("Cannot call stored proc: " + e); System.out.println("--------------------------------------------------------"); } // 3) Get String from result set try { xml = rs.getString(1); } catch (SQLException e) { System.out.println("--------------Error in getSpecimenResultsXml------------"); System.out.println("Cannot retrieve result set: " + e); System.out.println("--------------------------------------------------------"); } // 4) close connection try { conn.close(); } catch (Exception e) { System.out.println("--------------Error in getSpecimenResultsXml------------"); System.out.println("Cannot close connection: " + e); System.out.println("--------------------------------------------------------"); } // 5) return the returned String return xml; } Oh and the stored procedure us called **getSpecimenReportXml**...
java
sql
stored-procedures
jdbc
ejb
null
open
Hitting stored proc - javax.ejb.EJBException === I'm trying to hit a stored procedure but I'm getting this error message: 'javax.ejb.EJBException'... I've never worked with stored procedures so the exception is a bit Greek to me. Anyone that could perhaps shed some light on this? Below I pasted the code that I wrote: @WebMethod(operationName = "getSpecimenResultsXml") public String getSpecimenResultsXml(@WebParam(name = "specimenGuid") String specimenGuid, @WebParam(name = "publicationGuid") String publicationGuid, @WebParam(name = "forProvider") String forProvider) { //Method variables ResultSet rs = null; String xml = null; // 1) get server connection Connection conn = dataBaseConnection.getConnection(); // 2) Pass recieved parameters to stored proc. try { CallableStatement proc = conn.prepareCall("{ call getSpecimenReportXml(?, ?, ?) }"); proc.setString(1, specimenGuid); proc.setString(2, publicationGuid); proc.setString(3, forProvider); proc.execute(); rs = proc.getResultSet(); } catch (SQLException e) { System.out.println("--------------Error in getSpecimenResultsXml------------"); System.out.println("Cannot call stored proc: " + e); System.out.println("--------------------------------------------------------"); } // 3) Get String from result set try { xml = rs.getString(1); } catch (SQLException e) { System.out.println("--------------Error in getSpecimenResultsXml------------"); System.out.println("Cannot retrieve result set: " + e); System.out.println("--------------------------------------------------------"); } // 4) close connection try { conn.close(); } catch (Exception e) { System.out.println("--------------Error in getSpecimenResultsXml------------"); System.out.println("Cannot close connection: " + e); System.out.println("--------------------------------------------------------"); } // 5) return the returned String return xml; } Oh and the stored procedure us called **getSpecimenReportXml**...
0
8,397,449
12/06/2011 09:08:35
655,134
03/11/2011 09:49:34
387
17
MSBuild and creating ZIP files
Here is my build script: <?xml version="1.0" encoding="utf-8" ?> <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets"/> <PropertyGroup> <!-- Path where the solution file is located (.sln) --> <ProjectPath>W:\Demo</ProjectPath> <!-- Location of compiled files --> <DebugPath>W:\Demo\bin\Debug</DebugPath> <ReleasePath>W:\Demo\bin\Release</ReleasePath> <!-- Name of the solution to be compiled without the .sln extension --> <ProjectSolutionName>DemoTool</ProjectSolutionName> <!-- Path where the nightly zip file will be copyd --> <NightlyBuildPath>W:\Nightly_Builds\Demo</NightlyBuildPath> <!-- Name of the nighly zip file (YYYYMMDD_NightlyZipName.zip, date added automatically) --> <NightlyZipName>Demo</NightlyZipName> </PropertyGroup> <ItemGroup> <!-- All files and folders from ./bin/Debug or ./bin/Release what will be added to the nightly zip --> <DebugApplicationFiles Include="$(DebugPath)\**\*.*" Exclude="$(DebugPath)\*vshost.exe*" /> <ReleaseApplicationFiles Include="$(ReleasePath)\**\*.*" Exclude="$(ReleasePath)\*vshost.exe*" /> </ItemGroup> <Target Name="DebugBuild"> <Message Text="Building $(ProjectSolutionName) Debug Build" /> <MSBuild Projects="$(ProjectPath)\$(ProjectSolutionName).sln" Targets="Clean" Properties="Configuration=Debug"/> <MSBuild Projects="$(ProjectPath)\$(ProjectSolutionName).sln" Targets="Build" Properties="Configuration=Debug"/> <Message Text="$(ProjectSolutionName) Debug Build Complete!" /> <CallTarget Targets="CreateNightlyZip" /> </Target> <Target Name="CreateNightlyZip"> <PropertyGroup> <StringDate>$([System.DateTime]::Now.ToString('yyyyMMdd'))</StringDate> </PropertyGroup> <MakeDir Directories="$(NightlyBuildPath)"/> <Zip Files="@(DebugApplicationFiles)" WorkingDirectory="$(DebugPath)" ZipFileName="$(NightlyBuildPath)\$(StringDate)_$(NightlyZipName).zip" ZipLevel="9" /> </Target> </Project> My script works perfectly, only there is one strange problem. When i build a project first time and there is no `\bin\Debug` folder and its created during the build, but the ZIP file still comes empty. Running the build script second time when the `\bin\Debug` folder is now in place with builded files then the file are added to the ZIP. What could be the problem that running script first time the ZIP file is empty?
msbuild
zip
null
null
null
null
open
MSBuild and creating ZIP files === Here is my build script: <?xml version="1.0" encoding="utf-8" ?> <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets"/> <PropertyGroup> <!-- Path where the solution file is located (.sln) --> <ProjectPath>W:\Demo</ProjectPath> <!-- Location of compiled files --> <DebugPath>W:\Demo\bin\Debug</DebugPath> <ReleasePath>W:\Demo\bin\Release</ReleasePath> <!-- Name of the solution to be compiled without the .sln extension --> <ProjectSolutionName>DemoTool</ProjectSolutionName> <!-- Path where the nightly zip file will be copyd --> <NightlyBuildPath>W:\Nightly_Builds\Demo</NightlyBuildPath> <!-- Name of the nighly zip file (YYYYMMDD_NightlyZipName.zip, date added automatically) --> <NightlyZipName>Demo</NightlyZipName> </PropertyGroup> <ItemGroup> <!-- All files and folders from ./bin/Debug or ./bin/Release what will be added to the nightly zip --> <DebugApplicationFiles Include="$(DebugPath)\**\*.*" Exclude="$(DebugPath)\*vshost.exe*" /> <ReleaseApplicationFiles Include="$(ReleasePath)\**\*.*" Exclude="$(ReleasePath)\*vshost.exe*" /> </ItemGroup> <Target Name="DebugBuild"> <Message Text="Building $(ProjectSolutionName) Debug Build" /> <MSBuild Projects="$(ProjectPath)\$(ProjectSolutionName).sln" Targets="Clean" Properties="Configuration=Debug"/> <MSBuild Projects="$(ProjectPath)\$(ProjectSolutionName).sln" Targets="Build" Properties="Configuration=Debug"/> <Message Text="$(ProjectSolutionName) Debug Build Complete!" /> <CallTarget Targets="CreateNightlyZip" /> </Target> <Target Name="CreateNightlyZip"> <PropertyGroup> <StringDate>$([System.DateTime]::Now.ToString('yyyyMMdd'))</StringDate> </PropertyGroup> <MakeDir Directories="$(NightlyBuildPath)"/> <Zip Files="@(DebugApplicationFiles)" WorkingDirectory="$(DebugPath)" ZipFileName="$(NightlyBuildPath)\$(StringDate)_$(NightlyZipName).zip" ZipLevel="9" /> </Target> </Project> My script works perfectly, only there is one strange problem. When i build a project first time and there is no `\bin\Debug` folder and its created during the build, but the ZIP file still comes empty. Running the build script second time when the `\bin\Debug` folder is now in place with builded files then the file are added to the ZIP. What could be the problem that running script first time the ZIP file is empty?
0
6,399,797
06/19/2011 00:32:49
663,049
03/16/2011 18:12:06
185
0
Does anyone see why this script would die? Really need help
Does anyone see why this script isn't working? Spotted any errors? Any help would be great as i can't really see anything that would cause this. Theres no mysql_errors() or errors in the PHP log. Any help would be great, thanks guys :) <?php mysql_connect("localhost", "root", "root") or die(mysql_error()); mysql_select_db("projectfollower") or die(mysql_error()); include_once 'include/functions.php'; echo '<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>'; // GETS HIGHEST USER ID $result = mysql_query("SELECT MAX(priority) FROM users")or die(mysql_error()); if($result) { while($row=mysql_fetch_array($result)) { $all = $row['MAX(priority)']; // HIGHEST ID, WHICH IS THE AMMOUNT OF USERS $half = $row['MAX(priority)'] /2; // HALF OF ALL USERS $quater = $half /2; // QUATER OF ALL USERS ?> <?php // START POST ONE $result=mysql_query("select * from users WHERE priority>'$half' ORDER BY priority DESC LIMIT 11")or die ("Query failed: " . mysql_error()); if($result) { ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <table style="width: 97%; height: 4px;" class="style11115" align="center"> <?php while($row=mysql_fetch_array($result)) { ?> <script type="text/javascript"> $(document).ready(function(){ $("#<?php $row['ID']; ?>").click(function(){ $.ajax({ url: "oneup.php", success: function(){ data: "follower=<?php $user->get_username($uid); ?>&following=<?php $row['username']; ?>" }); }); }); </script> <strong><?php $row['username']; ?></strong> | <a href="http://twitter.com/twitterapi" id="<?php $row['ID']; ?>" class="twitter-follow-button">Follow @<?php $row['username']; ?></a> <?php } ?> </table> <?php } ?> <?php // START POST TWO $result=mysql_query("select * from users WHERE priority>'$half' ORDER BY priority DESC LIMIT 11")or die ("Query failed: " . mysql_error()); if($result) { ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <table style="width: 97%; height: 4px;" class="style11115" align="center"> <?php while($row=mysql_fetch_array($result)) { ?> <script type="text/javascript"> $(document).ready(function(){ $("#<?php $row['ID']; ?>").click(function(){ $.ajax({ url: "oneup.php", success: function(){ data: "follower=<?php $user->get_username($uid); ?>&following=<?php $row['username']; ?>" }); }); }); </script> <strong><?php $row['username']; ?></strong> | <a href="http://twitter.com/twitterapi" id="<?php $row['ID']; ?>" class="twitter-follow-button">Follow @<?php $row['username']; ?></a> <?php } ?> </table> <?php }?> <?php // START POST THREE $result=mysql_query("select * from users WHERE priority>'$quater' ORDER BY priority DESC LIMIT 11")or die ("Query failed: " . mysql_error()); if($result) { ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <table style="width: 97%; height: 4px;" class="style11115" align="center"> <?php while($row=mysql_fetch_array($result)) { ?> <script type="text/javascript"> $(document).ready(function(){ $("#<?php $row['ID']; ?>").click(function(){ $.ajax({ url: "oneup.php", success: function(){ data: "follower=<?php $user->get_username($uid); ?>&following=<?php $row['username']; ?>" }); }); }); </script> <strong><?php $row['username']; ?></strong> | <a href="http://twitter.com/twitterapi" id="<?php $row['ID']; ?>" class="twitter-follow-button">Follow @<?php $row['username']; ?></a> <?php } ?> </table> <?php }?> <?php // START POST FOUR $result=mysql_query("select * from users WHERE priority>'$quater' ORDER BY priority DESC LIMIT 11")or die ("Query failed: " . mysql_error()); if($result) { ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <table style="width: 97%; height: 4px;" class="style11115" align="center"> <?php while($row=mysql_fetch_array($result)) { ?> <script type="text/javascript"> $(document).ready(function(){ $("#<?php $row['ID']; ?>").click(function(){ $.ajax({ url: "oneup.php", success: function(){ data: "follower=<?php $user->get_username($uid); ?>&following=<?php $row['username']; ?>" }); }); }); </script> <strong><?php $row['username']; ?></strong> | <a href="http://twitter.com/twitterapi" id="<?php $row['ID']; ?>" class="twitter-follow-button">Follow @<?php $row['username']; ?></a> <?php } ?> </table> <?php }?> <?php // START POST FIVE $result=mysql_query("select * from users WHERE priority>'$quater' ORDER BY priority DESC LIMIT 11")or die ("Query failed: " . mysql_error()); if($result) { ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <table style="width: 97%; height: 4px;" class="style11115" align="center"> <?php while($row=mysql_fetch_array($result)) { ?> <script type="text/javascript"> $(document).ready(function(){ $("#<?php $row['ID']; ?>").click(function(){ $.ajax({ url: "oneup.php", success: function(){ data: "follower=<?php $user->get_username($uid); ?>&following=<?php $row['username']; ?>" }); }); }); </script> <strong><?php $row['username']; ?></strong> | <a href="http://twitter.com/twitterapi" id="<?php $row['ID']; ?>" class="twitter-follow-button">Follow @<?php $row['username']; ?></a> <?php } ?> </table> <?php }?> <?php // START POST SIX $result=mysql_query("select * from users WHERE priority>'$quater' ORDER BY priority DESC LIMIT 11")or die ("Query failed: " . mysql_error()); if($result) { ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <table style="width: 97%; height: 4px;" class="style11115" align="center"> <?php while($row=mysql_fetch_array($result)) { ?> <script type="text/javascript"> $(document).ready(function(){ $("#<?php $row['ID']; ?>").click(function(){ $.ajax({ url: "oneup.php", success: function(){ data: "follower=<?php $user->get_username($uid); ?>&following=<?php $row['username']; ?>" }); }); }); </script> <strong><?php $row['username']; ?></strong> | <a href="http://twitter.com/twitterapi" id="<?php $row['ID']; ?>" class="twitter-follow-button">Follow @<?php $row['username']; ?></a> <?php } ?> </table> <?php }?> <?php // START POST SEVEN $result=mysql_query("select * from users WHERE priority>'$quater' ORDER BY priority DESC LIMIT 11")or die ("Query failed: " . mysql_error()); if($result) { ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <table style="width: 97%; height: 4px;" class="style11115" align="center"> <?php while($row=mysql_fetch_array($result)) { ?> <script type="text/javascript"> $(document).ready(function(){ $("#<?php $row['ID']; ?>").click(function(){ $.ajax({ url: "oneup.php", success: function(){ data: "follower=<?php $user->get_username($uid); ?>&following=<?php $row['username']; ?>" }); }); }); </script> <strong><?php $row['username']; ?></strong> | <a href="http://twitter.com/twitterapi" id="<?php $row['ID']; ?>" class="twitter-follow-button">Follow @<?php $row['username']; ?></a> <?php } ?> </table> <?php }?> <?php // START POST EIGHT $result=mysql_query("select * from users WHERE priority<'$quater' ORDER BY priority DESC LIMIT 11")or die ("Query failed: " . mysql_error()); if($result) { ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <table style="width: 97%; height: 4px;" class="style11115" align="center"> <?php while($row=mysql_fetch_array($result)) { ?> <script type="text/javascript"> $(document).ready(function(){ $("#<?php $row['ID']; ?>").click(function(){ $.ajax({ url: "oneup.php", success: function(){ data: "follower=<?php $user->get_username($uid); ?>&following=<?php $row['username']; ?>" }); }); }); </script> <strong><?php $row['username']; ?></strong> | <a href="http://twitter.com/twitterapi" id="<?php $row['ID']; ?>" class="twitter-follow-button">Follow @<?php $row['username']; ?></a> <?php } ?> </table> <?php }?> <?php // START POST NINE $result=mysql_query("select * from users WHERE priority<'$quater' ORDER BY priority DESC LIMIT 11")or die ("Query failed: " . mysql_error()); if($result) { ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <table style="width: 97%; height: 4px;" class="style11115" align="center"> <?php while($row=mysql_fetch_array($result)) { ?> <script type="text/javascript"> $(document).ready(function(){ $("#<?php $row['ID']; ?>").click(function(){ $.ajax({ url: "oneup.php", success: function(){ data: "follower=<?php $user->get_username($uid); ?>&following=<?php $row['username']; ?>" }); }); }); </script> <strong><?php $row['username']; ?></strong> | <a href="http://twitter.com/twitterapi" id="<?php $row['ID']; ?>" class="twitter-follow-button">Follow @<?php $row['username']; ?></a> <?php } ?> </table> <?php }?> <?php // START POST TEN $result=mysql_query("select * from users WHERE priority<'$quater' ORDER BY priority DESC LIMIT 11")or die ("Query failed: " . mysql_error()); if($result) { ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <table style="width: 97%; height: 4px;" class="style11115" align="center"> <?php while($row=mysql_fetch_array($result)) { ?> <script type="text/javascript"> $(document).ready(function(){ $("#<?php $row['ID']; ?>").click(function(){ $.ajax({ url: "oneup.php", success: function(){ data: "follower=<?php $user->get_username($uid); ?>&following=<?php $row['username']; ?>" }); }); }); </script> <strong><?php $row['username']; ?></strong> | <a href="http://twitter.com/twitterapi" id="<?php $row['ID']; ?>" class="twitter-follow-button">Follow @<?php $row['username']; ?></a> <?php } ?> </table> <?php } print 'hey'; ?> <?php }} ?>
php
mysql
null
null
null
06/19/2011 00:53:26
not a real question
Does anyone see why this script would die? Really need help === Does anyone see why this script isn't working? Spotted any errors? Any help would be great as i can't really see anything that would cause this. Theres no mysql_errors() or errors in the PHP log. Any help would be great, thanks guys :) <?php mysql_connect("localhost", "root", "root") or die(mysql_error()); mysql_select_db("projectfollower") or die(mysql_error()); include_once 'include/functions.php'; echo '<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>'; // GETS HIGHEST USER ID $result = mysql_query("SELECT MAX(priority) FROM users")or die(mysql_error()); if($result) { while($row=mysql_fetch_array($result)) { $all = $row['MAX(priority)']; // HIGHEST ID, WHICH IS THE AMMOUNT OF USERS $half = $row['MAX(priority)'] /2; // HALF OF ALL USERS $quater = $half /2; // QUATER OF ALL USERS ?> <?php // START POST ONE $result=mysql_query("select * from users WHERE priority>'$half' ORDER BY priority DESC LIMIT 11")or die ("Query failed: " . mysql_error()); if($result) { ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <table style="width: 97%; height: 4px;" class="style11115" align="center"> <?php while($row=mysql_fetch_array($result)) { ?> <script type="text/javascript"> $(document).ready(function(){ $("#<?php $row['ID']; ?>").click(function(){ $.ajax({ url: "oneup.php", success: function(){ data: "follower=<?php $user->get_username($uid); ?>&following=<?php $row['username']; ?>" }); }); }); </script> <strong><?php $row['username']; ?></strong> | <a href="http://twitter.com/twitterapi" id="<?php $row['ID']; ?>" class="twitter-follow-button">Follow @<?php $row['username']; ?></a> <?php } ?> </table> <?php } ?> <?php // START POST TWO $result=mysql_query("select * from users WHERE priority>'$half' ORDER BY priority DESC LIMIT 11")or die ("Query failed: " . mysql_error()); if($result) { ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <table style="width: 97%; height: 4px;" class="style11115" align="center"> <?php while($row=mysql_fetch_array($result)) { ?> <script type="text/javascript"> $(document).ready(function(){ $("#<?php $row['ID']; ?>").click(function(){ $.ajax({ url: "oneup.php", success: function(){ data: "follower=<?php $user->get_username($uid); ?>&following=<?php $row['username']; ?>" }); }); }); </script> <strong><?php $row['username']; ?></strong> | <a href="http://twitter.com/twitterapi" id="<?php $row['ID']; ?>" class="twitter-follow-button">Follow @<?php $row['username']; ?></a> <?php } ?> </table> <?php }?> <?php // START POST THREE $result=mysql_query("select * from users WHERE priority>'$quater' ORDER BY priority DESC LIMIT 11")or die ("Query failed: " . mysql_error()); if($result) { ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <table style="width: 97%; height: 4px;" class="style11115" align="center"> <?php while($row=mysql_fetch_array($result)) { ?> <script type="text/javascript"> $(document).ready(function(){ $("#<?php $row['ID']; ?>").click(function(){ $.ajax({ url: "oneup.php", success: function(){ data: "follower=<?php $user->get_username($uid); ?>&following=<?php $row['username']; ?>" }); }); }); </script> <strong><?php $row['username']; ?></strong> | <a href="http://twitter.com/twitterapi" id="<?php $row['ID']; ?>" class="twitter-follow-button">Follow @<?php $row['username']; ?></a> <?php } ?> </table> <?php }?> <?php // START POST FOUR $result=mysql_query("select * from users WHERE priority>'$quater' ORDER BY priority DESC LIMIT 11")or die ("Query failed: " . mysql_error()); if($result) { ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <table style="width: 97%; height: 4px;" class="style11115" align="center"> <?php while($row=mysql_fetch_array($result)) { ?> <script type="text/javascript"> $(document).ready(function(){ $("#<?php $row['ID']; ?>").click(function(){ $.ajax({ url: "oneup.php", success: function(){ data: "follower=<?php $user->get_username($uid); ?>&following=<?php $row['username']; ?>" }); }); }); </script> <strong><?php $row['username']; ?></strong> | <a href="http://twitter.com/twitterapi" id="<?php $row['ID']; ?>" class="twitter-follow-button">Follow @<?php $row['username']; ?></a> <?php } ?> </table> <?php }?> <?php // START POST FIVE $result=mysql_query("select * from users WHERE priority>'$quater' ORDER BY priority DESC LIMIT 11")or die ("Query failed: " . mysql_error()); if($result) { ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <table style="width: 97%; height: 4px;" class="style11115" align="center"> <?php while($row=mysql_fetch_array($result)) { ?> <script type="text/javascript"> $(document).ready(function(){ $("#<?php $row['ID']; ?>").click(function(){ $.ajax({ url: "oneup.php", success: function(){ data: "follower=<?php $user->get_username($uid); ?>&following=<?php $row['username']; ?>" }); }); }); </script> <strong><?php $row['username']; ?></strong> | <a href="http://twitter.com/twitterapi" id="<?php $row['ID']; ?>" class="twitter-follow-button">Follow @<?php $row['username']; ?></a> <?php } ?> </table> <?php }?> <?php // START POST SIX $result=mysql_query("select * from users WHERE priority>'$quater' ORDER BY priority DESC LIMIT 11")or die ("Query failed: " . mysql_error()); if($result) { ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <table style="width: 97%; height: 4px;" class="style11115" align="center"> <?php while($row=mysql_fetch_array($result)) { ?> <script type="text/javascript"> $(document).ready(function(){ $("#<?php $row['ID']; ?>").click(function(){ $.ajax({ url: "oneup.php", success: function(){ data: "follower=<?php $user->get_username($uid); ?>&following=<?php $row['username']; ?>" }); }); }); </script> <strong><?php $row['username']; ?></strong> | <a href="http://twitter.com/twitterapi" id="<?php $row['ID']; ?>" class="twitter-follow-button">Follow @<?php $row['username']; ?></a> <?php } ?> </table> <?php }?> <?php // START POST SEVEN $result=mysql_query("select * from users WHERE priority>'$quater' ORDER BY priority DESC LIMIT 11")or die ("Query failed: " . mysql_error()); if($result) { ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <table style="width: 97%; height: 4px;" class="style11115" align="center"> <?php while($row=mysql_fetch_array($result)) { ?> <script type="text/javascript"> $(document).ready(function(){ $("#<?php $row['ID']; ?>").click(function(){ $.ajax({ url: "oneup.php", success: function(){ data: "follower=<?php $user->get_username($uid); ?>&following=<?php $row['username']; ?>" }); }); }); </script> <strong><?php $row['username']; ?></strong> | <a href="http://twitter.com/twitterapi" id="<?php $row['ID']; ?>" class="twitter-follow-button">Follow @<?php $row['username']; ?></a> <?php } ?> </table> <?php }?> <?php // START POST EIGHT $result=mysql_query("select * from users WHERE priority<'$quater' ORDER BY priority DESC LIMIT 11")or die ("Query failed: " . mysql_error()); if($result) { ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <table style="width: 97%; height: 4px;" class="style11115" align="center"> <?php while($row=mysql_fetch_array($result)) { ?> <script type="text/javascript"> $(document).ready(function(){ $("#<?php $row['ID']; ?>").click(function(){ $.ajax({ url: "oneup.php", success: function(){ data: "follower=<?php $user->get_username($uid); ?>&following=<?php $row['username']; ?>" }); }); }); </script> <strong><?php $row['username']; ?></strong> | <a href="http://twitter.com/twitterapi" id="<?php $row['ID']; ?>" class="twitter-follow-button">Follow @<?php $row['username']; ?></a> <?php } ?> </table> <?php }?> <?php // START POST NINE $result=mysql_query("select * from users WHERE priority<'$quater' ORDER BY priority DESC LIMIT 11")or die ("Query failed: " . mysql_error()); if($result) { ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <table style="width: 97%; height: 4px;" class="style11115" align="center"> <?php while($row=mysql_fetch_array($result)) { ?> <script type="text/javascript"> $(document).ready(function(){ $("#<?php $row['ID']; ?>").click(function(){ $.ajax({ url: "oneup.php", success: function(){ data: "follower=<?php $user->get_username($uid); ?>&following=<?php $row['username']; ?>" }); }); }); </script> <strong><?php $row['username']; ?></strong> | <a href="http://twitter.com/twitterapi" id="<?php $row['ID']; ?>" class="twitter-follow-button">Follow @<?php $row['username']; ?></a> <?php } ?> </table> <?php }?> <?php // START POST TEN $result=mysql_query("select * from users WHERE priority<'$quater' ORDER BY priority DESC LIMIT 11")or die ("Query failed: " . mysql_error()); if($result) { ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <table style="width: 97%; height: 4px;" class="style11115" align="center"> <?php while($row=mysql_fetch_array($result)) { ?> <script type="text/javascript"> $(document).ready(function(){ $("#<?php $row['ID']; ?>").click(function(){ $.ajax({ url: "oneup.php", success: function(){ data: "follower=<?php $user->get_username($uid); ?>&following=<?php $row['username']; ?>" }); }); }); </script> <strong><?php $row['username']; ?></strong> | <a href="http://twitter.com/twitterapi" id="<?php $row['ID']; ?>" class="twitter-follow-button">Follow @<?php $row['username']; ?></a> <?php } ?> </table> <?php } print 'hey'; ?> <?php }} ?>
1
8,316,967
11/29/2011 20:02:41
871,580
07/31/2011 13:31:48
14
4
Deploy a pre-built RoR application to a local (Linux) machine from source
I've inherited a RoR application which I'm in the process of working towards deploying on Heroku. Firstly I need to deploy on the dev environment but I can't seem to make this happen. I've installed Ruby rvm, Gems and Rails but outwith creating a new application Rails keeps throwing a myriad of errors. I'm running Ubuntu 11 and the file structure of the application is that of a freshly created app. Any thoughts would be appreciated. Thanks, SOliver.
ruby-on-rails
null
null
null
null
12/01/2011 18:56:49
too localized
Deploy a pre-built RoR application to a local (Linux) machine from source === I've inherited a RoR application which I'm in the process of working towards deploying on Heroku. Firstly I need to deploy on the dev environment but I can't seem to make this happen. I've installed Ruby rvm, Gems and Rails but outwith creating a new application Rails keeps throwing a myriad of errors. I'm running Ubuntu 11 and the file structure of the application is that of a freshly created app. Any thoughts would be appreciated. Thanks, SOliver.
3
7,449,054
09/16/2011 18:44:03
923,753
09/01/2011 15:33:48
6
0
WPF Best datagrid to be used in 2011
I know most of you have read this question atleast 100 times before today. but still the reason why i ask this question again is because in my company we are trying to use a datagrid in one of our wpf project. n after doing some research i found out that all the posts were dated back then in 2008/9 when datagrid was not there in wpf toolkit and xceed was the king in this arena. Since then i believe a lot of changes have taken place, we even have a datagrid in wpf toolkit. So if possible do let me know which is the best datagrid to be used in today's scenario....net framework 4...financial application..... Please share our experiences..... Thanks in advance
wpf
datagrid
wpfdatagrid
infragistics
xceed-datagrid
09/16/2011 20:17:20
not constructive
WPF Best datagrid to be used in 2011 === I know most of you have read this question atleast 100 times before today. but still the reason why i ask this question again is because in my company we are trying to use a datagrid in one of our wpf project. n after doing some research i found out that all the posts were dated back then in 2008/9 when datagrid was not there in wpf toolkit and xceed was the king in this arena. Since then i believe a lot of changes have taken place, we even have a datagrid in wpf toolkit. So if possible do let me know which is the best datagrid to be used in today's scenario....net framework 4...financial application..... Please share our experiences..... Thanks in advance
4
9,966,004
04/01/2012 16:19:22
58,839
01/25/2009 19:08:50
928
32
Wordpress drag posts and pages so you can order them
So has anyone done this? can be done? On wordpress admin, when you click List Pages, or List posts, I want to make a drag&drop in order to sort the pages/posts, but before I start I want to know if someone has done it already, or if there is a plugin for this.
php
javascript
html
css
wordpress
04/01/2012 17:08:15
off topic
Wordpress drag posts and pages so you can order them === So has anyone done this? can be done? On wordpress admin, when you click List Pages, or List posts, I want to make a drag&drop in order to sort the pages/posts, but before I start I want to know if someone has done it already, or if there is a plugin for this.
2
2,928,495
05/28/2010 11:20:45
158,455
08/18/2009 13:24:13
303
4
Tips for begining 3D Application Development
hey, guys i want to create an application that has 3D display. I want all the planets in it. Then the next step is i want to have satellites in it as well. I want to provide an interface to add satellites etc. Offcourse this will include 3D designing and it will be more like a game. I want to know what are the things i need to know to make this.. you know give me like a list 3D modeling and OpenGL etc.
application
3d
null
null
null
06/20/2012 04:56:54
not constructive
Tips for begining 3D Application Development === hey, guys i want to create an application that has 3D display. I want all the planets in it. Then the next step is i want to have satellites in it as well. I want to provide an interface to add satellites etc. Offcourse this will include 3D designing and it will be more like a game. I want to know what are the things i need to know to make this.. you know give me like a list 3D modeling and OpenGL etc.
4
7,923,954
10/28/2011 00:26:22
1,016,315
10/27/2011 10:50:00
8
0
Finished my break-even AreaChart - but can investors understand it?
So I think I've managed to visualize a fictional break-even analysis here: http://home.no/dwaynie/bin-debug/ But, does it look right? Will it be accepted by investors and finance people? It doesn't really look like any of the charts at [Google: break-even charts][1]. And, does it function right? Please give me criticism or suggest ways I can improve it: XML: <?xml version="1.0" encoding="utf-8"?> <data> <result quarter="Q1"> <TotalRevenue>0</TotalRevenue> <TotalVariableCost>900</TotalVariableCost> <TotalFixedCost>500</TotalFixedCost> </result> <result quarter="Q2"> <TotalRevenue>2000</TotalRevenue> <TotalVariableCost>2000</TotalVariableCost> <TotalFixedCost>500</TotalFixedCost> </result> <result quarter="Q3"> <TotalRevenue>3000</TotalRevenue> <TotalVariableCost>2500</TotalVariableCost> <TotalFixedCost>500</TotalFixedCost> </result> <result quarter="Q4"> <TotalRevenue>4000</TotalRevenue> <TotalVariableCost>3000</TotalVariableCost> <TotalFixedCost>500</TotalFixedCost> </result> </data> MXML: <?xml version="1.0"?> <!-- TODO: Wait for improved CSS support --> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> <!-- Load XML file --> <fx:Declarations> <fx:Model id="results" source="assets/break_even.xml" /> </fx:Declarations> <fx:Style> @namespace mx "library://ns.adobe.com/flex/mx"; mx|AreaChart, mx|Legend, mx|DataTip { fontFamily: Verdana; fontSize: 11; } <!-- mx|AreaChart { chartSeriesStyles: Series1, Series2; } .Series1 { areaFill: #999999; } .Series2 { areaFill: #cccccc; } --> mx|Legend { markerHeight: 15; markerWidth: 15; } mx|DataTip { paddingLeft: 3; paddingTop: 3; } </fx:Style> <s:Group> <!-- Position items in a row --> <s:layout> <s:HorizontalLayout /> </s:layout> <mx:AreaChart id="chart" dataProvider="{results.result}" showDataTips="true"> <mx:horizontalAxis> <mx:CategoryAxis categoryField="quarter" /> </mx:horizontalAxis> <mx:series> <mx:AreaSeries yField="TotalVariableCost" minField="TotalFixedCost" displayName="Total Cost"> <mx:areaFill> <mx:SolidColor color="blue" alpha="0.8" /> </mx:areaFill> <mx:areaStroke> <mx:SolidColorStroke color="blue" weight="2" /> </mx:areaStroke> </mx:AreaSeries> <mx:AreaSeries yField="TotalRevenue" displayName="Total Revenue"> <mx:areaFill> <mx:SolidColor color="#cccccc" alpha="0.8" /> </mx:areaFill> <mx:areaStroke> <mx:SolidColorStroke color="#cccccc" weight="2" /> </mx:areaStroke> </mx:AreaSeries> </mx:series> <!-- Disable grid lines --> <mx:backgroundElements> <fx:Array /> </mx:backgroundElements> <!-- Disable axis lines --> <mx:horizontalAxisRenderers> <mx:AxisRenderer id="horizontalAxis" axis="{chart.horizontalAxis}" showLine="false" /> </mx:horizontalAxisRenderers> <mx:verticalAxisRenderers> <mx:AxisRenderer id="verticalAxis" axis="{chart.verticalAxis}" showLine="false" /> </mx:verticalAxisRenderers> </mx:AreaChart> <mx:Legend dataProvider="{chart}" /> </s:Group> </s:Application> Thanks! Mats [1]: http://www.google.no/search?q=break-even%20analysis&um=1&ie=UTF-8&hl=no&tbm=isch&source=og&sa=N&tab=wi&biw=1280&bih=654&sei=%20fPSpTobHOqWC4gSArZmVDw
flex
charts
business
flex4.5
economics
10/30/2011 11:50:43
off topic
Finished my break-even AreaChart - but can investors understand it? === So I think I've managed to visualize a fictional break-even analysis here: http://home.no/dwaynie/bin-debug/ But, does it look right? Will it be accepted by investors and finance people? It doesn't really look like any of the charts at [Google: break-even charts][1]. And, does it function right? Please give me criticism or suggest ways I can improve it: XML: <?xml version="1.0" encoding="utf-8"?> <data> <result quarter="Q1"> <TotalRevenue>0</TotalRevenue> <TotalVariableCost>900</TotalVariableCost> <TotalFixedCost>500</TotalFixedCost> </result> <result quarter="Q2"> <TotalRevenue>2000</TotalRevenue> <TotalVariableCost>2000</TotalVariableCost> <TotalFixedCost>500</TotalFixedCost> </result> <result quarter="Q3"> <TotalRevenue>3000</TotalRevenue> <TotalVariableCost>2500</TotalVariableCost> <TotalFixedCost>500</TotalFixedCost> </result> <result quarter="Q4"> <TotalRevenue>4000</TotalRevenue> <TotalVariableCost>3000</TotalVariableCost> <TotalFixedCost>500</TotalFixedCost> </result> </data> MXML: <?xml version="1.0"?> <!-- TODO: Wait for improved CSS support --> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> <!-- Load XML file --> <fx:Declarations> <fx:Model id="results" source="assets/break_even.xml" /> </fx:Declarations> <fx:Style> @namespace mx "library://ns.adobe.com/flex/mx"; mx|AreaChart, mx|Legend, mx|DataTip { fontFamily: Verdana; fontSize: 11; } <!-- mx|AreaChart { chartSeriesStyles: Series1, Series2; } .Series1 { areaFill: #999999; } .Series2 { areaFill: #cccccc; } --> mx|Legend { markerHeight: 15; markerWidth: 15; } mx|DataTip { paddingLeft: 3; paddingTop: 3; } </fx:Style> <s:Group> <!-- Position items in a row --> <s:layout> <s:HorizontalLayout /> </s:layout> <mx:AreaChart id="chart" dataProvider="{results.result}" showDataTips="true"> <mx:horizontalAxis> <mx:CategoryAxis categoryField="quarter" /> </mx:horizontalAxis> <mx:series> <mx:AreaSeries yField="TotalVariableCost" minField="TotalFixedCost" displayName="Total Cost"> <mx:areaFill> <mx:SolidColor color="blue" alpha="0.8" /> </mx:areaFill> <mx:areaStroke> <mx:SolidColorStroke color="blue" weight="2" /> </mx:areaStroke> </mx:AreaSeries> <mx:AreaSeries yField="TotalRevenue" displayName="Total Revenue"> <mx:areaFill> <mx:SolidColor color="#cccccc" alpha="0.8" /> </mx:areaFill> <mx:areaStroke> <mx:SolidColorStroke color="#cccccc" weight="2" /> </mx:areaStroke> </mx:AreaSeries> </mx:series> <!-- Disable grid lines --> <mx:backgroundElements> <fx:Array /> </mx:backgroundElements> <!-- Disable axis lines --> <mx:horizontalAxisRenderers> <mx:AxisRenderer id="horizontalAxis" axis="{chart.horizontalAxis}" showLine="false" /> </mx:horizontalAxisRenderers> <mx:verticalAxisRenderers> <mx:AxisRenderer id="verticalAxis" axis="{chart.verticalAxis}" showLine="false" /> </mx:verticalAxisRenderers> </mx:AreaChart> <mx:Legend dataProvider="{chart}" /> </s:Group> </s:Application> Thanks! Mats [1]: http://www.google.no/search?q=break-even%20analysis&um=1&ie=UTF-8&hl=no&tbm=isch&source=og&sa=N&tab=wi&biw=1280&bih=654&sei=%20fPSpTobHOqWC4gSArZmVDw
2
6,401,361
06/19/2011 08:29:50
661,933
03/16/2011 05:58:19
112
6
"In Ruby there's more than one way of doing the same thing" - what does this mean??
Feel free to delete this topic if it's discussed or quite obvious. I hail from C# background and I'm planning to learn Ruby. Everything I read about it seems quite intriguing. But I'm confused over this basic philosophy of Ruby that "there's more than one way to do one thing". Can someone provide 2 or 3 simple arithmetic or string examples to make this point clear, like if its about the syntaxes or logics etc. Thanks..
ruby
syntax
programming-languages
null
null
06/19/2011 11:15:55
not a real question
"In Ruby there's more than one way of doing the same thing" - what does this mean?? === Feel free to delete this topic if it's discussed or quite obvious. I hail from C# background and I'm planning to learn Ruby. Everything I read about it seems quite intriguing. But I'm confused over this basic philosophy of Ruby that "there's more than one way to do one thing". Can someone provide 2 or 3 simple arithmetic or string examples to make this point clear, like if its about the syntaxes or logics etc. Thanks..
1
7,755,795
10/13/2011 14:35:40
993,661
10/13/2011 14:21:36
1
0
how to write file upload webscript in Alfresco
I'm trying to make a webscript in Alfresco to download a file. I'v made <input type="file" ...> and all is needed to upload the selected file on form submit. No working samples available on wiki. Thank you in advance.
alfresco
null
null
null
null
null
open
how to write file upload webscript in Alfresco === I'm trying to make a webscript in Alfresco to download a file. I'v made <input type="file" ...> and all is needed to upload the selected file on form submit. No working samples available on wiki. Thank you in advance.
0
9,627,056
03/09/2012 00:09:43
1,257,428
03/08/2012 16:02:08
3
0
ForLoop help plz
for(String name: names){ System.out.printli(name); } What is the first line mean ? I understand for(int i=0; i<=10;i++).
java
for-loop
null
null
null
03/09/2012 17:31:51
too localized
ForLoop help plz === for(String name: names){ System.out.printli(name); } What is the first line mean ? I understand for(int i=0; i<=10;i++).
3
8,904,563
01/18/2012 02:51:34
1,152,713
01/16/2012 21:27:04
1
0
i m suppose to to this in java?(it is suppose to print the prime numbers between 2 numbers)
Given two integers N and M (N ≤ M), output all the prime numbers between N and M inclusive, one per line. N and M will be positive integers less than or equal to 1,000,000,000. The difference between N and M will be less than or equal to 5,000,000. Sample Input 5 20 Sample Output 5 7 11 13 17 19 import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.StringTokenizer; import java.io.*; public class primes2 { public static void main(String[] args) throws Exception{ int i; BufferedReader bf = new BufferedReader( new InputStreamReader(System.in)); System.out.println("Enter number:"); new InputStreamReader(System.in); System.out.println("Enter number:"); int num = Integer.parseInt(bf.readLine()); System.out.println("Prime number: "); for (i=1; i < num; i++ ){ int j; for (j=2; j<i; j++){ int n = i%j; if (n==0){ break; } } if(i == j){ System.out.print(" "+i); } } } }
java
null
null
null
null
01/18/2012 04:12:29
not a real question
i m suppose to to this in java?(it is suppose to print the prime numbers between 2 numbers) === Given two integers N and M (N ≤ M), output all the prime numbers between N and M inclusive, one per line. N and M will be positive integers less than or equal to 1,000,000,000. The difference between N and M will be less than or equal to 5,000,000. Sample Input 5 20 Sample Output 5 7 11 13 17 19 import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.StringTokenizer; import java.io.*; public class primes2 { public static void main(String[] args) throws Exception{ int i; BufferedReader bf = new BufferedReader( new InputStreamReader(System.in)); System.out.println("Enter number:"); new InputStreamReader(System.in); System.out.println("Enter number:"); int num = Integer.parseInt(bf.readLine()); System.out.println("Prime number: "); for (i=1; i < num; i++ ){ int j; for (j=2; j<i; j++){ int n = i%j; if (n==0){ break; } } if(i == j){ System.out.print(" "+i); } } } }
1
11,613,547
07/23/2012 13:31:43
1,145,873
01/12/2012 15:46:33
230
7
LINQ equivalent for GWT
I was reading [this thread][1]. Is any of this project safe to use on the client side of GWT app? [1]: http://stackoverflow.com/questions/1217228/what-is-the-java-equivalent-for-linq
java
linq
gwt
null
null
07/24/2012 11:07:30
not constructive
LINQ equivalent for GWT === I was reading [this thread][1]. Is any of this project safe to use on the client side of GWT app? [1]: http://stackoverflow.com/questions/1217228/what-is-the-java-equivalent-for-linq
4
5,868,234
05/03/2011 10:38:08
694,103
04/06/2011 03:48:11
1
0
In MS SQL SERVER 2008 I am able to pass Table value parameter to my stored Procedure from NHibernate.How to achieve the same in Oracle
I have created a table as a type in MS SQL SERVER2008. As SQL Server 2008 supports passing table value parameter as IN parameter to stored Procedure.It is working fine. Now I have to perform the same approach in Oracle. I did it through **PLSQLAssociativeArray** but the limitaion of Associative array is they are homogeneous (every element must be of the same type). Where as in case of Table value parameter of MS SQL Server 2008,it is possible. **How to achieve the same in Oracle.?** Following are my type and stored procedure in **MS SQL SERVER 2008** **CREATE TYPE [dbo].[EmployeeType] AS TABLE( [EmployeeID] [int] NULL, [EmployeeName] [nvarchar](50) NULL ) GO** **CREATE PROCEDURE [dbo].[TestCustom] @location EmployeeType READONLY AS insert into Employee (EMP_ID,EMP_NAME) SELECT EmployeeID,EmployeeName FROM @location;** GO
nhibernate
sql-server-2008
stored-procedures
oracle11g
null
null
open
In MS SQL SERVER 2008 I am able to pass Table value parameter to my stored Procedure from NHibernate.How to achieve the same in Oracle === I have created a table as a type in MS SQL SERVER2008. As SQL Server 2008 supports passing table value parameter as IN parameter to stored Procedure.It is working fine. Now I have to perform the same approach in Oracle. I did it through **PLSQLAssociativeArray** but the limitaion of Associative array is they are homogeneous (every element must be of the same type). Where as in case of Table value parameter of MS SQL Server 2008,it is possible. **How to achieve the same in Oracle.?** Following are my type and stored procedure in **MS SQL SERVER 2008** **CREATE TYPE [dbo].[EmployeeType] AS TABLE( [EmployeeID] [int] NULL, [EmployeeName] [nvarchar](50) NULL ) GO** **CREATE PROCEDURE [dbo].[TestCustom] @location EmployeeType READONLY AS insert into Employee (EMP_ID,EMP_NAME) SELECT EmployeeID,EmployeeName FROM @location;** GO
0
11,377,262
07/07/2012 17:41:37
1,509,004
07/07/2012 16:38:42
1
0
Tools to show roadmap for multi-track projects
Does anyone know any good tool (or set of tools), which can make a graphical representation of a roadmap for project, which have several tracks, taking into account that each project can have several features (latest one contains them all)? As an example, imagine that there is a project, for which the earliest supported version is 3.1 (versions 1, 2 and 3.0 are not supported anymore). There are couple of more parallel tracks - like version 4.0, 4.1 and 5.0 (which is in development stage). From time to time there are features implemented. Principle is that if feature is implemented in the track e.g. 4.0, it will be NORMALLY "mapped" to the 4.1 and 5.0 (not to earlier track, but sometimes it is possible as well). It is also possible that feature made in 3.1 is mapped directly to the latest release on track 4 (meaning to the 4.1) and to 5.0. I guess, you got the idea. Note, that also each track have set of versions (deliveries, builds, whatever), and features are incuded at particular version. The requirements for such a tool(s) that are needed are: - it allows to specify the set of tracks and features with reasonable effort (no "drawing" skills shall be needed) - it shall give the graphical representation as the output - it shall be possible to see, how particular feature is "mapped" from one track to another Nice to have things: - it should be possible to see the version where the feature is included - it should be possible to automate the generation of such roadmap with reasonable effort (simplifying, the text file describes something like "track 4.0; track 4.1; ...; feature XXX 4.0 ver 11; feature XXX 4.1 ver 33; ..." and then the output is generated using some command with such file as an argument) I tried to make such think myself using Graphviz, using text file as a source, then perl script that make a DOT file and run Graphviz on it, but as complexity and the volume of source data increases, the resulting graph looks quite bad. Recently I also found incredibly good representation and example of how it could look like - see the http://www.evolutionoftheweb.com/ site. So, imagine that each browser line is a specific track of project with versions, and each crossing thing like HTML5 is a feature that should be shown, so it will be what I want. The representation is perfect, but I don't think it will be easy to maintain and extend it. Thanks in advance :)
representation
roadmap
null
null
null
07/10/2012 02:01:26
not constructive
Tools to show roadmap for multi-track projects === Does anyone know any good tool (or set of tools), which can make a graphical representation of a roadmap for project, which have several tracks, taking into account that each project can have several features (latest one contains them all)? As an example, imagine that there is a project, for which the earliest supported version is 3.1 (versions 1, 2 and 3.0 are not supported anymore). There are couple of more parallel tracks - like version 4.0, 4.1 and 5.0 (which is in development stage). From time to time there are features implemented. Principle is that if feature is implemented in the track e.g. 4.0, it will be NORMALLY "mapped" to the 4.1 and 5.0 (not to earlier track, but sometimes it is possible as well). It is also possible that feature made in 3.1 is mapped directly to the latest release on track 4 (meaning to the 4.1) and to 5.0. I guess, you got the idea. Note, that also each track have set of versions (deliveries, builds, whatever), and features are incuded at particular version. The requirements for such a tool(s) that are needed are: - it allows to specify the set of tracks and features with reasonable effort (no "drawing" skills shall be needed) - it shall give the graphical representation as the output - it shall be possible to see, how particular feature is "mapped" from one track to another Nice to have things: - it should be possible to see the version where the feature is included - it should be possible to automate the generation of such roadmap with reasonable effort (simplifying, the text file describes something like "track 4.0; track 4.1; ...; feature XXX 4.0 ver 11; feature XXX 4.1 ver 33; ..." and then the output is generated using some command with such file as an argument) I tried to make such think myself using Graphviz, using text file as a source, then perl script that make a DOT file and run Graphviz on it, but as complexity and the volume of source data increases, the resulting graph looks quite bad. Recently I also found incredibly good representation and example of how it could look like - see the http://www.evolutionoftheweb.com/ site. So, imagine that each browser line is a specific track of project with versions, and each crossing thing like HTML5 is a feature that should be shown, so it will be what I want. The representation is perfect, but I don't think it will be easy to maintain and extend it. Thanks in advance :)
4
7,593,208
09/29/2011 06:12:58
571,319
01/11/2011 13:32:48
121
2
What is difference between subnet / Gatewate / WINS / NetBios /DNS ? ( Clarification needed )
I am Confused between these terms . Whats the Difference between DNS and Netbios ? ( Both are used for conversion of name to IP ) What is a Gateway ? What is its functions ? Why do we put Default Gateway when we configure an IP ? What is a Subnet ? why is it needed? I have two PC. IP :135.29.105.118 Subnet : 255.255.255.128 IP :135.29.105.130 Subnet : 255.255.255.128 Will they communicate with each other ? If yes then Why? Subnetting is dividing it into 2 different networks right ?
networking
tcp
dns
gateway
subnet
09/29/2011 09:42:23
off topic
What is difference between subnet / Gatewate / WINS / NetBios /DNS ? ( Clarification needed ) === I am Confused between these terms . Whats the Difference between DNS and Netbios ? ( Both are used for conversion of name to IP ) What is a Gateway ? What is its functions ? Why do we put Default Gateway when we configure an IP ? What is a Subnet ? why is it needed? I have two PC. IP :135.29.105.118 Subnet : 255.255.255.128 IP :135.29.105.130 Subnet : 255.255.255.128 Will they communicate with each other ? If yes then Why? Subnetting is dividing it into 2 different networks right ?
2
3,970,825
10/19/2010 17:09:11
343,161
05/17/2010 14:46:10
547
60
When does EndReceive return zero bytes
I'm trying to get a better handle on using sockets asynchronously. According to this article, http://msdn.microsoft.com/en-us/library/bew39x2a(v=VS.85).aspx, I ought to be able to check the number of bytes returned by EndReceive, and if it's zero, I know I have all the data, and if it's non-zero, there may or may not be more data coming. This makes sense, but when I call BeginReceive for the last time, it's often several minutes before the callback function gets called...I assume something has to time out, but changing the Socket.ReceiveTimeout property doesn't seem to have an effect. Is this really the right pattern to use to determine when I've received all the data? Especially when I don't know the format of the message I'm receiving?
.net
sockets
null
null
null
null
open
When does EndReceive return zero bytes === I'm trying to get a better handle on using sockets asynchronously. According to this article, http://msdn.microsoft.com/en-us/library/bew39x2a(v=VS.85).aspx, I ought to be able to check the number of bytes returned by EndReceive, and if it's zero, I know I have all the data, and if it's non-zero, there may or may not be more data coming. This makes sense, but when I call BeginReceive for the last time, it's often several minutes before the callback function gets called...I assume something has to time out, but changing the Socket.ReceiveTimeout property doesn't seem to have an effect. Is this really the right pattern to use to determine when I've received all the data? Especially when I don't know the format of the message I'm receiving?
0
10,605,332
05/15/2012 16:47:48
842,411
07/13/2011 09:50:03
90
2
Processing heavy operation in background in Firefox extensions
I am working on a firefox extension that gets the html content from the current tab in the browser. Majority of the processing takes place in popup.js file which is embedded in the popup UI that is displayed on clicking the toolbar icon for the extension. Due to this, the performance of the extension suffers and occasionally I see a spinning wheel while capturing. Is there a way I could move this processing to the background? I am loading a script using the loadFrameScript api when the capture button is clicked. Is there any such thing as background page in Firefox extensions like in chrome and Safari? If no, please suggest a way to optimize this.
javascript
extension
firefox-addon
xul
null
null
open
Processing heavy operation in background in Firefox extensions === I am working on a firefox extension that gets the html content from the current tab in the browser. Majority of the processing takes place in popup.js file which is embedded in the popup UI that is displayed on clicking the toolbar icon for the extension. Due to this, the performance of the extension suffers and occasionally I see a spinning wheel while capturing. Is there a way I could move this processing to the background? I am loading a script using the loadFrameScript api when the capture button is clicked. Is there any such thing as background page in Firefox extensions like in chrome and Safari? If no, please suggest a way to optimize this.
0
5,733,931
04/20/2011 16:59:48
489,041
10/27/2010 15:34:54
1,209
71
Java String Unicode Value
How can I get the unicode value of a string in java? For example if the string is "Hi" I need something like \uXXXX\uXXXX
java
string
unicode
null
null
null
open
Java String Unicode Value === How can I get the unicode value of a string in java? For example if the string is "Hi" I need something like \uXXXX\uXXXX
0
2,613,803
04/10/2010 15:05:11
307,989
04/02/2010 21:27:59
20
0
How to run windows services into server
I have been made a windows service.in which i have been added project installer.in the project installer we have 2 things one is serviceProcessInstaller1 & second is serviceInstaller1.i have been changed serviceProcessInstaller1 account property as Local system.it is running in my local system but now i want to install into my server. i think i need to change its account setting but not sure. so please help me for that. thanx
c#
null
null
null
null
null
open
How to run windows services into server === I have been made a windows service.in which i have been added project installer.in the project installer we have 2 things one is serviceProcessInstaller1 & second is serviceInstaller1.i have been changed serviceProcessInstaller1 account property as Local system.it is running in my local system but now i want to install into my server. i think i need to change its account setting but not sure. so please help me for that. thanx
0
8,535,018
12/16/2011 13:42:36
435,803
08/31/2010 10:15:00
18
1
Entity Framework - Combining data on two rows
I have two tables. Orders OrderID | UserID | OrderTotal 1 | 1 | 100 2 | 2 | 110 3 | 1 | 120 Users UserId | ProprtyType | PropertyValue 1 | 1 | Kevin 1 | 2 | Nolan 1 | 1 | FirstName 1 | 2 | Surname Using the following Query var query = from orders in context.Orders join users in context.Users on orders.UserID equals user.UserID where userData.Type == 211 || userData.Type == 212 1 | 1 | 100 | Kevin 1 | 1 | 100 | Nolan 2 | 2 | 110 | FirstName 2 | 2 | 110 | Surname 3 | 1 | 120 | Kevin 3 | 1 | 120 | Nolan Is it possible in Entity frame work to combine the results so it returns the following 1 | 1 | 100 | Kevin | Nolan 2 | 2 | 110 | FirstName | Surname 3 | 1 | 120 | Kevin | Nolan Or 1 | 1 | 100 | Kevin Nolan 2 | 2 | 110 | FirstName Surname 3 | 1 | 120 | Kevin Nolan Thanks
c#
entity-framework
null
null
null
null
open
Entity Framework - Combining data on two rows === I have two tables. Orders OrderID | UserID | OrderTotal 1 | 1 | 100 2 | 2 | 110 3 | 1 | 120 Users UserId | ProprtyType | PropertyValue 1 | 1 | Kevin 1 | 2 | Nolan 1 | 1 | FirstName 1 | 2 | Surname Using the following Query var query = from orders in context.Orders join users in context.Users on orders.UserID equals user.UserID where userData.Type == 211 || userData.Type == 212 1 | 1 | 100 | Kevin 1 | 1 | 100 | Nolan 2 | 2 | 110 | FirstName 2 | 2 | 110 | Surname 3 | 1 | 120 | Kevin 3 | 1 | 120 | Nolan Is it possible in Entity frame work to combine the results so it returns the following 1 | 1 | 100 | Kevin | Nolan 2 | 2 | 110 | FirstName | Surname 3 | 1 | 120 | Kevin | Nolan Or 1 | 1 | 100 | Kevin Nolan 2 | 2 | 110 | FirstName Surname 3 | 1 | 120 | Kevin Nolan Thanks
0
5,746,290
04/21/2011 15:28:32
590,840
01/26/2011 15:36:34
384
45
How can I draw in the "bounce" area of a UIScrollView?
I have a custom-drawn view that I include in a UIScrollView that scrolls horizontally. The view draws a background with lines extending horizontally, and some different background colors. When I scroll to the far left such that the scroll view "bounces", I see gray background color. What I would like to do is to draw additional background lines and colors into that area, so that it looks like the view goes on forever, but I can't quite figure out how to do this. I've tried setting clipsToBounds to NO for all the views, and drawing in an area outside the view, but this doesn't seem to work. How can I draw in this area?
iphone
uiscrollview
drawrect
null
null
null
open
How can I draw in the "bounce" area of a UIScrollView? === I have a custom-drawn view that I include in a UIScrollView that scrolls horizontally. The view draws a background with lines extending horizontally, and some different background colors. When I scroll to the far left such that the scroll view "bounces", I see gray background color. What I would like to do is to draw additional background lines and colors into that area, so that it looks like the view goes on forever, but I can't quite figure out how to do this. I've tried setting clipsToBounds to NO for all the views, and drawing in an area outside the view, but this doesn't seem to work. How can I draw in this area?
0
7,524,459
09/23/2011 05:03:07
601,862
02/03/2011 16:16:50
26
0
Does TFS 2010 support Optimistic locking?
Does anyone know that whether TFS 2010 support optimistic locking or only pessimistic locking? I'm waiting for answer. Thank you very much
tfs2010
optimistic-locking
null
null
null
null
open
Does TFS 2010 support Optimistic locking? === Does anyone know that whether TFS 2010 support optimistic locking or only pessimistic locking? I'm waiting for answer. Thank you very much
0
7,093,095
08/17/2011 12:50:40
898,640
08/17/2011 12:47:00
1
0
Android GPS chip manufacturer
Is there a way to obtain the manufacturer of the GPS chip of an Android device? I can't find it anywhere...
android
gps
null
null
null
08/17/2011 14:47:55
off topic
Android GPS chip manufacturer === Is there a way to obtain the manufacturer of the GPS chip of an Android device? I can't find it anywhere...
2
10,941,528
06/08/2012 00:06:38
709,038
04/15/2011 01:55:23
97
2
Is there a tool that we can use to do encyption and decryption cross different platforms?
Our platform contains two products, one is a jsp based website the other is a C++ based server. We need to send user's password from jsp to c++. Can anybody tell me what is the best way or most secure way to do it? By the way, we have to use http for now, not https. Should we use public key cryptography? If so is there any tool or api that is available both in Java and C++ to do key-generation, encryption and decryption? Thanks
java
c++
security
cryptography
null
06/08/2012 00:39:09
not a real question
Is there a tool that we can use to do encyption and decryption cross different platforms? === Our platform contains two products, one is a jsp based website the other is a C++ based server. We need to send user's password from jsp to c++. Can anybody tell me what is the best way or most secure way to do it? By the way, we have to use http for now, not https. Should we use public key cryptography? If so is there any tool or api that is available both in Java and C++ to do key-generation, encryption and decryption? Thanks
1
11,005,844
06/12/2012 22:34:32
1,261,598
03/10/2012 22:07:13
1
0
Simple jQuery does not work in IE9
I am making chat opening/closing script with cookies and everything is working fantastic in Chrome, but not in IE9. You can see it: http://zauvek2.us.to/chat.html Please help me, thanks in advance
jquery
null
null
null
null
06/13/2012 13:54:33
not a real question
Simple jQuery does not work in IE9 === I am making chat opening/closing script with cookies and everything is working fantastic in Chrome, but not in IE9. You can see it: http://zauvek2.us.to/chat.html Please help me, thanks in advance
1
10,398,162
05/01/2012 13:15:03
1,367,793
05/01/2012 13:08:52
1
0
Layer 4 Protocol
I need to design and Implement a Simple layer 4 protocol for a project I am going to use UML for the simulation I need some suggestions for a simple protocol. Thank You
protocols
network-protocols
null
null
null
05/02/2012 08:55:19
off topic
Layer 4 Protocol === I need to design and Implement a Simple layer 4 protocol for a project I am going to use UML for the simulation I need some suggestions for a simple protocol. Thank You
2
1,401,126
09/09/2009 18:01:27
24,708
10/03/2008 01:46:12
252
11
Moving array items around
Here's my array: [2555] => Array ( [0] => stdClass Object ( [meta_id] => 1246 [post_id] => 2555 [meta_key] => event_date [meta_value] => Sept 24th - 29th ) [1] => stdClass Object ( [meta_id] => 1245 [post_id] => 2555 [meta_key] => _edit_last [meta_value] => 1 ) [2] => stdClass Object ( [meta_id] => 1244 [post_id] => 2555 [meta_key] => _edit_lock [meta_value] => 1252519100 ) [3] => stdClass Object ( [meta_id] => 1251 [post_id] => 2555 [meta_key] => articleimg [meta_value] => /image1.jpg ) ) [2038] => Array ( [0] => stdClass Object ( [meta_id] => 462 [post_id] => 2038 [meta_key] => articleimg [meta_value] => /image2.jpg ) [1] => stdClass Object ( [meta_id] => 463 [post_id] => 2038 [meta_key] => _edit_lock [meta_value] => 1251846014 ) [2] => stdClass Object ( [meta_id] => 464 [post_id] => 2038 [meta_key] => _edit_last [meta_value] => 1 ) [3] => stdClass Object ( [meta_id] => 467 [post_id] => 2038 [meta_key] => event_date [meta_value] => Sept 15 ) ) I'm trying to get this into an array that looks like: [2555] ( [event_date] => Sept 24th - 29th [articleimg] => /image1.jpg ) etc... I've written some nasty foreach and for loops and my head is swimming. Am I missing a simple way to do this?
php
arrays
null
null
null
null
open
Moving array items around === Here's my array: [2555] => Array ( [0] => stdClass Object ( [meta_id] => 1246 [post_id] => 2555 [meta_key] => event_date [meta_value] => Sept 24th - 29th ) [1] => stdClass Object ( [meta_id] => 1245 [post_id] => 2555 [meta_key] => _edit_last [meta_value] => 1 ) [2] => stdClass Object ( [meta_id] => 1244 [post_id] => 2555 [meta_key] => _edit_lock [meta_value] => 1252519100 ) [3] => stdClass Object ( [meta_id] => 1251 [post_id] => 2555 [meta_key] => articleimg [meta_value] => /image1.jpg ) ) [2038] => Array ( [0] => stdClass Object ( [meta_id] => 462 [post_id] => 2038 [meta_key] => articleimg [meta_value] => /image2.jpg ) [1] => stdClass Object ( [meta_id] => 463 [post_id] => 2038 [meta_key] => _edit_lock [meta_value] => 1251846014 ) [2] => stdClass Object ( [meta_id] => 464 [post_id] => 2038 [meta_key] => _edit_last [meta_value] => 1 ) [3] => stdClass Object ( [meta_id] => 467 [post_id] => 2038 [meta_key] => event_date [meta_value] => Sept 15 ) ) I'm trying to get this into an array that looks like: [2555] ( [event_date] => Sept 24th - 29th [articleimg] => /image1.jpg ) etc... I've written some nasty foreach and for loops and my head is swimming. Am I missing a simple way to do this?
0
6,680,120
07/13/2011 13:59:58
842,835
07/13/2011 13:59:58
1
0
Your recent binary submission to the App Store -
After I submit my app via archive , **I test in my iphone and I use distribution configuration before i publish** I received email from app store : Invalid Signature - Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target. Once you have corrected these issues, go to the app's version details page (found in the Manage Your Applications module of iTunes Connect) and click Ready to Submit Binary. Proceed through the submission process until the app's status is Waiting for Upload. You can then use Application Loader to upload the corrected binary.
iphone
xcode
configuration
distribution
null
03/21/2012 23:40:44
not a real question
Your recent binary submission to the App Store - === After I submit my app via archive , **I test in my iphone and I use distribution configuration before i publish** I received email from app store : Invalid Signature - Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target. Once you have corrected these issues, go to the app's version details page (found in the Manage Your Applications module of iTunes Connect) and click Ready to Submit Binary. Proceed through the submission process until the app's status is Waiting for Upload. You can then use Application Loader to upload the corrected binary.
1
11,483,466
07/14/2012 11:43:46
1,020,704
10/30/2011 13:24:56
152
3
Drawing online simultaneously on the iPad
Is there a Webapp or App for the iPad that enables two users to draw simultaneously on a canvas such that user B can watch in real time what user A is drawing in vice versa. I mean, is there something similar for the iPad as for example can be found at [FlockDraw][1] (which is unfortunatly a flash app) Having such a tool would be of great help. [1]: http://flockdraw.com/
ipad
drawing
simultaneous
null
null
07/15/2012 17:38:37
off topic
Drawing online simultaneously on the iPad === Is there a Webapp or App for the iPad that enables two users to draw simultaneously on a canvas such that user B can watch in real time what user A is drawing in vice versa. I mean, is there something similar for the iPad as for example can be found at [FlockDraw][1] (which is unfortunatly a flash app) Having such a tool would be of great help. [1]: http://flockdraw.com/
2
7,844,661
10/21/2011 03:31:27
884,995
08/08/2011 23:39:46
256
1
CakePHP-2.0: How can i check missing action/ missiong view for a controller?
If someone hits in the browser url bar with this http://mysite/users/unknownaction then i get error. I want to catch that error and redirect to http://mysite/ . How can i do this in CakePHP-2.0.
php
cakephp
cakephp-2.0
null
null
null
open
CakePHP-2.0: How can i check missing action/ missiong view for a controller? === If someone hits in the browser url bar with this http://mysite/users/unknownaction then i get error. I want to catch that error and redirect to http://mysite/ . How can i do this in CakePHP-2.0.
0
3,680,168
09/09/2010 20:05:26
402,011
07/26/2010 07:31:07
102
1
Passing the location of a file from JSP Form to Java Program
String fileToBeRead = "C:/Documents and Settings/Developer/Desktop/Anand exmps/Anand.xls"; I have completed a java program in which the location of a file is assigned to a string as above. But what actually is required is, the end user should select the location of file in a JSP form using `<input type="file" name="file"/>` tag. My query here is how can I make the location of the file that the user selects in the JSP form to be passed to the JAVA program that I have written already. Gimme some ideas regarding the same. Thanks in advance. Since am a beginner in Java, elaborate answers will really help in my procedings.
java
file
jsp
null
null
null
open
Passing the location of a file from JSP Form to Java Program === String fileToBeRead = "C:/Documents and Settings/Developer/Desktop/Anand exmps/Anand.xls"; I have completed a java program in which the location of a file is assigned to a string as above. But what actually is required is, the end user should select the location of file in a JSP form using `<input type="file" name="file"/>` tag. My query here is how can I make the location of the file that the user selects in the JSP form to be passed to the JAVA program that I have written already. Gimme some ideas regarding the same. Thanks in advance. Since am a beginner in Java, elaborate answers will really help in my procedings.
0
5,021,254
02/16/2011 19:37:11
564,338
01/05/2011 17:46:21
31
0
PHP Testing, for Procedural Code
Is there any way of testing procedural code? I have been looking at PHPUnit which seems like a great way of creating automated tests. However, it seems to be geared towards procedural code, are there any alternatives for procedural code? Or should I convert the website to object orientated before attempting to test the website? This may take a while which is a bit of a problem as I don't have a lot of time to waste. Thanks, Daniel.
php
null
null
null
null
null
open
PHP Testing, for Procedural Code === Is there any way of testing procedural code? I have been looking at PHPUnit which seems like a great way of creating automated tests. However, it seems to be geared towards procedural code, are there any alternatives for procedural code? Or should I convert the website to object orientated before attempting to test the website? This may take a while which is a bit of a problem as I don't have a lot of time to waste. Thanks, Daniel.
0
5,974,097
05/12/2011 06:25:04
581,054
01/19/2011 07:23:47
8
0
Spiltting a array into equal parts using php and codeigniter
This is the array which i need to spilt [["2018-08-02",null],["2018-08-03",null],["2018-08-04",null],["2018-08-05",null],["2018-08-06",null],["2018-08-07",null],["2018-08-08",null],["2018-08-09",null],["2018-08-10",null],["2018-08-11",null],["2018-08-12",null],["2018-08-13",null],["2018-08-14",null],["2018-08-15",null],["2018-08-16",null], ["2018-08-02",null],["2018-08-03",null],["2018-08-04",null],["2018-08-05",null],["2018-08-06",null],["2018-08-07",null],["2018-08-08",null],["2018-08-09",null],["2018-08-10",null],["2018-08-11",null],["2018-08-12","1650"],["2018-08-13","1650"],["2018-08-14","1650"],["2018-08-15","1650"],["2018-08-16","3300"], ["2018-08-02","4950"],["2018-08-03","4950"],["2018-08-04","4950"],["2018-08-05","4950"],["2018-08-06","4950"],["2018-08-07","4950"],["2018-08-08","4950"],["2018-08-09","4950"],["2018-08-10","4950"],["2018-08-11","4950"],["2018-08-12","1650"],["2018-08-13","1650"],["2018-08-14","1650"],["2018-08-15","1650"],["2018-08-16","3300"]] but i want to split like into 15 per array as shown below... 15 data per array..but if spilt it... i get null values and not able to fetch the values along with it.... **output 1** [["2018-08-02",null],["2018-08-03",null],["2018-08-04",null],["2018-08-05",null],["2018-08-06",null],["2018-08-07",null],["2018-08-08",null],["2018-08-09",null],["2018-08-10",null],["2018-08-11",null],["2018-08-12",null],["2018-08-13",null],["2018-08-14",null],["2018-08-15",null],["2018-08-16",null]] **output 2** [["2018-08-02",null],["2018-08-03",null],["2018-08-04",null],["2018-08-05",null],["2018-08-06",null],["2018-08-07",null],["2018-08-08",null],["2018-08-09",null],["2018-08-10",null],["2018-08-11",null],["2018-08-12","1650"],["2018-08-13","1650"],["2018-08-14","1650"],["2018-08-15","1650"],["2018-08-16","3300"]] **output 3** [["2018-08-02","4950"],["2018-08-03","4950"],["2018-08-04","4950"],["2018-08-05","4950"],["2018-08-06","4950"],["2018-08-07","4950"],["2018-08-08","4950"],["2018-08-09","4950"],["2018-08-10","4950"],["2018-08-11","4950"],["2018-08-12","1650"],["2018-08-13","1650"],["2018-08-14","1650"],["2018-08-15","1650"],["2018-08-16","3300"]] how to achieve this... thanks for ur time ...
php
codeigniter
null
null
null
05/12/2011 09:54:14
not a real question
Spiltting a array into equal parts using php and codeigniter === This is the array which i need to spilt [["2018-08-02",null],["2018-08-03",null],["2018-08-04",null],["2018-08-05",null],["2018-08-06",null],["2018-08-07",null],["2018-08-08",null],["2018-08-09",null],["2018-08-10",null],["2018-08-11",null],["2018-08-12",null],["2018-08-13",null],["2018-08-14",null],["2018-08-15",null],["2018-08-16",null], ["2018-08-02",null],["2018-08-03",null],["2018-08-04",null],["2018-08-05",null],["2018-08-06",null],["2018-08-07",null],["2018-08-08",null],["2018-08-09",null],["2018-08-10",null],["2018-08-11",null],["2018-08-12","1650"],["2018-08-13","1650"],["2018-08-14","1650"],["2018-08-15","1650"],["2018-08-16","3300"], ["2018-08-02","4950"],["2018-08-03","4950"],["2018-08-04","4950"],["2018-08-05","4950"],["2018-08-06","4950"],["2018-08-07","4950"],["2018-08-08","4950"],["2018-08-09","4950"],["2018-08-10","4950"],["2018-08-11","4950"],["2018-08-12","1650"],["2018-08-13","1650"],["2018-08-14","1650"],["2018-08-15","1650"],["2018-08-16","3300"]] but i want to split like into 15 per array as shown below... 15 data per array..but if spilt it... i get null values and not able to fetch the values along with it.... **output 1** [["2018-08-02",null],["2018-08-03",null],["2018-08-04",null],["2018-08-05",null],["2018-08-06",null],["2018-08-07",null],["2018-08-08",null],["2018-08-09",null],["2018-08-10",null],["2018-08-11",null],["2018-08-12",null],["2018-08-13",null],["2018-08-14",null],["2018-08-15",null],["2018-08-16",null]] **output 2** [["2018-08-02",null],["2018-08-03",null],["2018-08-04",null],["2018-08-05",null],["2018-08-06",null],["2018-08-07",null],["2018-08-08",null],["2018-08-09",null],["2018-08-10",null],["2018-08-11",null],["2018-08-12","1650"],["2018-08-13","1650"],["2018-08-14","1650"],["2018-08-15","1650"],["2018-08-16","3300"]] **output 3** [["2018-08-02","4950"],["2018-08-03","4950"],["2018-08-04","4950"],["2018-08-05","4950"],["2018-08-06","4950"],["2018-08-07","4950"],["2018-08-08","4950"],["2018-08-09","4950"],["2018-08-10","4950"],["2018-08-11","4950"],["2018-08-12","1650"],["2018-08-13","1650"],["2018-08-14","1650"],["2018-08-15","1650"],["2018-08-16","3300"]] how to achieve this... thanks for ur time ...
1
4,930,281
02/08/2011 06:38:20
384,619
07/06/2010 14:05:29
33
3
Which technology out of Microsoft .net or Java is the most preferred to develop web application?
I would like to develop ERP web application. I have fair knowledge on Microsoft .net framework and using that I have developed client server application and given to my clients. Please suggest me which technology I should opt for considering these factors 1. Software procurement cost 2. Resource availability for development 3. Software cost for development 4. Deployment Please suggest which technology I should use either Microsoft or Java Thanks in Advance
java
.net
null
null
null
02/08/2011 06:46:33
not constructive
Which technology out of Microsoft .net or Java is the most preferred to develop web application? === I would like to develop ERP web application. I have fair knowledge on Microsoft .net framework and using that I have developed client server application and given to my clients. Please suggest me which technology I should opt for considering these factors 1. Software procurement cost 2. Resource availability for development 3. Software cost for development 4. Deployment Please suggest which technology I should use either Microsoft or Java Thanks in Advance
4
8,712,436
01/03/2012 12:38:59
851,404
07/19/2011 06:51:33
196
12
Panorama hotspot implementation
I've recently developed an application that view a panorama 360 image, using [Panoramagl][1] library for iPhone, and i wanna enhance it and make more features like hotspot. I've tried to look at a `javascript` code that implement this feature, but it's useless. **I don't know from where to start implementing this feature and i don't understand the concept of the hotspot. can anyone put me on the right way to start implementing this feature ?** thx in advance. [1]: http://code.google.com/p/panoramagl/
iphone
objective-c
ios
opengl-es
panoramas
null
open
Panorama hotspot implementation === I've recently developed an application that view a panorama 360 image, using [Panoramagl][1] library for iPhone, and i wanna enhance it and make more features like hotspot. I've tried to look at a `javascript` code that implement this feature, but it's useless. **I don't know from where to start implementing this feature and i don't understand the concept of the hotspot. can anyone put me on the right way to start implementing this feature ?** thx in advance. [1]: http://code.google.com/p/panoramagl/
0
4,667,596
01/12/2011 10:18:04
572,522
01/12/2011 09:57:53
1
0
Cannot figure out how to run a mysqli_multi_query and use the results from the last query.
I've never used mysqli_multi_query before and it's boggling my brain, any examples I find on the net aren't helping me to figure out exactly what it is I want to do. Here is my code: <?php $link = mysqli_connect("server", "user", "pass", "db"); if (mysqli_connect_errno()) { printf("Connect failed: %s\n", mysqli_connect_error()); exit(); } $agentsquery = "CREATE TEMPORARY TABLE LeaderBoard ( `agent_name` varchar(20) NOT NULL, `job_number` int(5) NOT NULL, `job_value` decimal(3,1) NOT NULL, `points_value` decimal(8,2) NOT NULL );"; $agentsquery .= "INSERT INTO LeaderBoard (`agent_name`, `job_number`, `job_value`, `points_value`) SELECT agent_name, job_number, job_value, points_value FROM jobs WHERE YEAR(booked_date) = $current_year && WEEKOFYEAR(booked_date) = $weeknum;"; $agentsquery .= "INSERT INTO LeaderBoard (`agent_name`) SELECT DISTINCT agent_name FROM apps WHERE YEAR(booked_date) = $current_year && WEEKOFYEAR(booked_date) = $weeknum;"; $agentsquery .= "SELECT agent_name, SUM(job_value), SUM(points_value) FROM leaderboard GROUP BY agent_name ORDER BY SUM(points_value) DESC"; $i = 0; $agentsresult = mysqli_multi_query($link, $agentsquery); while ($row = mysqli_fetch_array($agentsresult)){ $number_of_apps = getAgentAppsWeek($row['agent_name'],$weeknum,$current_year); $i++; ?> <tr class="tr<?php echo ($i & 1) ?>"> <td style="font-weight: bold;"><?php echo $row['agent_name'] ?></td> <td><?php echo $row['SUM(job_value)'] ?></td> <td><?php echo $row['SUM(points_value)'] ?></td> <td><?php echo $number_of_apps; ?></td> </tr> <?php } ?> All I'm trying to do is run a multiple query and then use the final results from those 4 queries and put them into my tables. the code above really doesn't work at all, I just get the following error: > Warning: mysqli_fetch_array() expects > parameter 1 to be mysqli_result, > boolean given in > C:\xampp\htdocs\hydroboard\hydro_reporting_2010.php > on line 391 any help?
php
mysql
mysqli-multi-query
null
null
null
open
Cannot figure out how to run a mysqli_multi_query and use the results from the last query. === I've never used mysqli_multi_query before and it's boggling my brain, any examples I find on the net aren't helping me to figure out exactly what it is I want to do. Here is my code: <?php $link = mysqli_connect("server", "user", "pass", "db"); if (mysqli_connect_errno()) { printf("Connect failed: %s\n", mysqli_connect_error()); exit(); } $agentsquery = "CREATE TEMPORARY TABLE LeaderBoard ( `agent_name` varchar(20) NOT NULL, `job_number` int(5) NOT NULL, `job_value` decimal(3,1) NOT NULL, `points_value` decimal(8,2) NOT NULL );"; $agentsquery .= "INSERT INTO LeaderBoard (`agent_name`, `job_number`, `job_value`, `points_value`) SELECT agent_name, job_number, job_value, points_value FROM jobs WHERE YEAR(booked_date) = $current_year && WEEKOFYEAR(booked_date) = $weeknum;"; $agentsquery .= "INSERT INTO LeaderBoard (`agent_name`) SELECT DISTINCT agent_name FROM apps WHERE YEAR(booked_date) = $current_year && WEEKOFYEAR(booked_date) = $weeknum;"; $agentsquery .= "SELECT agent_name, SUM(job_value), SUM(points_value) FROM leaderboard GROUP BY agent_name ORDER BY SUM(points_value) DESC"; $i = 0; $agentsresult = mysqli_multi_query($link, $agentsquery); while ($row = mysqli_fetch_array($agentsresult)){ $number_of_apps = getAgentAppsWeek($row['agent_name'],$weeknum,$current_year); $i++; ?> <tr class="tr<?php echo ($i & 1) ?>"> <td style="font-weight: bold;"><?php echo $row['agent_name'] ?></td> <td><?php echo $row['SUM(job_value)'] ?></td> <td><?php echo $row['SUM(points_value)'] ?></td> <td><?php echo $number_of_apps; ?></td> </tr> <?php } ?> All I'm trying to do is run a multiple query and then use the final results from those 4 queries and put them into my tables. the code above really doesn't work at all, I just get the following error: > Warning: mysqli_fetch_array() expects > parameter 1 to be mysqli_result, > boolean given in > C:\xampp\htdocs\hydroboard\hydro_reporting_2010.php > on line 391 any help?
0
10,935,222
06/07/2012 15:44:31
1,366,265
04/30/2012 16:38:11
11
1
Hibernate 3.6, are you going to be around for a while?
Is there a "life expectancy" for the different versions of Hibernate? Any one knows if there is a plan to retire 3.6 and force an upgrade to Hibernate 4? If so, when is that due? We are trying to decide if and when to upgrade to Hibernate 4. Thanks in advance!
hibernate
hibernate3
hibernate-4.x
null
null
06/10/2012 16:03:22
off topic
Hibernate 3.6, are you going to be around for a while? === Is there a "life expectancy" for the different versions of Hibernate? Any one knows if there is a plan to retire 3.6 and force an upgrade to Hibernate 4? If so, when is that due? We are trying to decide if and when to upgrade to Hibernate 4. Thanks in advance!
2
9,724,324
03/15/2012 16:48:21
494,901
11/02/2010 15:14:22
598
11
PHP object invokation syntax
Given a piece of code such as: {$globalScript->qtip(active_page::getCurrentPageName()=='factsheet','../')} What's the difference in usage in PHP 5 between "->" and "::"?
php
php5
null
null
null
null
open
PHP object invokation syntax === Given a piece of code such as: {$globalScript->qtip(active_page::getCurrentPageName()=='factsheet','../')} What's the difference in usage in PHP 5 between "->" and "::"?
0
4,583,022
01/03/2011 08:29:32
235,825
12/21/2009 06:26:47
10,443
280
C++: Can a macro expand "abc" into 'a', 'b', 'c'?
I've written a variadic template that accepts a variable number of `char` parameters, i.e. template <char... Chars> struct Foo; I was just wondering if there were any macro tricks that would allow me to instantiate this with syntax similar to the following: Foo<"abc"> or Foo<SOME_MACRO("abc")> or Foo<SOME_MACRO(abc)> etc. Basically, anything that stops you from having to write the characters individually, like so Foo<'a', 'b', 'c'> This isn't a big issue for me as it's just for a toy program, but I thought I'd ask anyway.
c++
string
macros
preprocessor
variadic-template
null
open
C++: Can a macro expand "abc" into 'a', 'b', 'c'? === I've written a variadic template that accepts a variable number of `char` parameters, i.e. template <char... Chars> struct Foo; I was just wondering if there were any macro tricks that would allow me to instantiate this with syntax similar to the following: Foo<"abc"> or Foo<SOME_MACRO("abc")> or Foo<SOME_MACRO(abc)> etc. Basically, anything that stops you from having to write the characters individually, like so Foo<'a', 'b', 'c'> This isn't a big issue for me as it's just for a toy program, but I thought I'd ask anyway.
0
8,716,974
01/03/2012 18:33:11
560,287
01/02/2011 11:32:58
449
28
Add today to this PHP generate calendar function
I have been using this function for a while without a problem, although I need to add todays date as a class to the `<td>`. Where would I add this? /** * Returns a HTML calendar * * @return HTML table */ public function generateCalendar($year, $month, $days = array(), $day_name_length = 3, $month_href = NULL, $first_day = 0, $pn = array(), $hover_content = array()) { $first_of_month = gmmktime(0,0,0,$month,1,$year); #remember that mktime will automatically correct if invalid dates are entered for instance, mktime(0,0,0,12,32,1997) will be the date for Jan 1, 1998 this provides a built in "rounding" feature to generate_calendar() $day_names = array(); #generate all the day names according to the current locale for($n=0,$t=(3+$first_day)*86400; $n<7; $n++,$t+=86400) #January 4, 1970 was a Sunday $day_names[$n] = ucfirst(gmstrftime('%A',$t)); #%A means full textual day name list($month, $year, $month_name, $weekday) = explode(',',gmstrftime('%m,%Y,%B,%w',$first_of_month)); $weekday = ($weekday + 7 - $first_day) % 7; #adjust for $first_day $title = htmlentities(ucfirst($month_name)).'&nbsp;'.$year; #note that some locales don't capitalize month and day names @list($p, $pl) = each($pn); @list($n, $nl) = each($pn); #previous and next links, if applicable if($p) $p = '<span class="calendar-prev">'.($pl ? '<a href="'.htmlspecialchars($pl).'">'.$p.'</a>' : $p).'</span>&nbsp;'; if($n) $n = '&nbsp;<span class="calendar-next">'.($nl ? '<a href="'.htmlspecialchars($nl).'">'.$n.'</a>' : $n).'</span>'; $calendar = '<table class="calendar">'. '<thead><tr><td colspan="7" class="calendar-month">'.$p.($month_href ? '<a href="'.htmlspecialchars($month_href).'">'.$title.'</a>' : $title).$n."</td><tr>"; if($day_name_length){ #if the day names should be shown ($day_name_length > 0) #if day_name_length is >3, the full name of the day will be printed foreach($day_names as $d) $calendar .= '<th abbr="'.htmlentities($d).'">'.htmlentities($day_name_length < 4 ? substr($d,0,$day_name_length) : $d).'</th>'; $calendar .= "</tr>"; } $calendar .= "</thead><tbody><tr>"; if($weekday > 0) $calendar .= '<td colspan="'.$weekday.'">&nbsp;</td>'; #initial 'empty' days for($day=1,$days_in_month=gmdate('t',$first_of_month); $day<=$days_in_month; $day++,$weekday++){ if($weekday == 7){ $weekday = 0; #start a new week $calendar .= "</tr><tr>"; } if(isset($days[$day]) and is_array($days[$day])){ @list($link, $classes, $content) = $days[$day]; if(is_null($content)) $content = $day; @list($sub_content) = $hover_content[$day]; $calendar .= '<td'.($classes ? ' class="'.htmlspecialchars($classes).'">' : '>').'<div class="wrapper_div">'. '<div class="hoverContent">'.$sub_content.'</div>'. ($link ? '<a class="iframe" href="'.htmlspecialchars($link).'">'.$content.'</a>' : $content). '</div></td>'; } else $calendar .= "<td><div>$day</div></td>"; } if($weekday != 7) $calendar .= '<td colspan="'.(7-$weekday).'">&nbsp;</td>'; #remaining "empty" days return $calendar."</tr></tbody></table>"; }
php
null
null
null
null
01/04/2012 18:56:14
too localized
Add today to this PHP generate calendar function === I have been using this function for a while without a problem, although I need to add todays date as a class to the `<td>`. Where would I add this? /** * Returns a HTML calendar * * @return HTML table */ public function generateCalendar($year, $month, $days = array(), $day_name_length = 3, $month_href = NULL, $first_day = 0, $pn = array(), $hover_content = array()) { $first_of_month = gmmktime(0,0,0,$month,1,$year); #remember that mktime will automatically correct if invalid dates are entered for instance, mktime(0,0,0,12,32,1997) will be the date for Jan 1, 1998 this provides a built in "rounding" feature to generate_calendar() $day_names = array(); #generate all the day names according to the current locale for($n=0,$t=(3+$first_day)*86400; $n<7; $n++,$t+=86400) #January 4, 1970 was a Sunday $day_names[$n] = ucfirst(gmstrftime('%A',$t)); #%A means full textual day name list($month, $year, $month_name, $weekday) = explode(',',gmstrftime('%m,%Y,%B,%w',$first_of_month)); $weekday = ($weekday + 7 - $first_day) % 7; #adjust for $first_day $title = htmlentities(ucfirst($month_name)).'&nbsp;'.$year; #note that some locales don't capitalize month and day names @list($p, $pl) = each($pn); @list($n, $nl) = each($pn); #previous and next links, if applicable if($p) $p = '<span class="calendar-prev">'.($pl ? '<a href="'.htmlspecialchars($pl).'">'.$p.'</a>' : $p).'</span>&nbsp;'; if($n) $n = '&nbsp;<span class="calendar-next">'.($nl ? '<a href="'.htmlspecialchars($nl).'">'.$n.'</a>' : $n).'</span>'; $calendar = '<table class="calendar">'. '<thead><tr><td colspan="7" class="calendar-month">'.$p.($month_href ? '<a href="'.htmlspecialchars($month_href).'">'.$title.'</a>' : $title).$n."</td><tr>"; if($day_name_length){ #if the day names should be shown ($day_name_length > 0) #if day_name_length is >3, the full name of the day will be printed foreach($day_names as $d) $calendar .= '<th abbr="'.htmlentities($d).'">'.htmlentities($day_name_length < 4 ? substr($d,0,$day_name_length) : $d).'</th>'; $calendar .= "</tr>"; } $calendar .= "</thead><tbody><tr>"; if($weekday > 0) $calendar .= '<td colspan="'.$weekday.'">&nbsp;</td>'; #initial 'empty' days for($day=1,$days_in_month=gmdate('t',$first_of_month); $day<=$days_in_month; $day++,$weekday++){ if($weekday == 7){ $weekday = 0; #start a new week $calendar .= "</tr><tr>"; } if(isset($days[$day]) and is_array($days[$day])){ @list($link, $classes, $content) = $days[$day]; if(is_null($content)) $content = $day; @list($sub_content) = $hover_content[$day]; $calendar .= '<td'.($classes ? ' class="'.htmlspecialchars($classes).'">' : '>').'<div class="wrapper_div">'. '<div class="hoverContent">'.$sub_content.'</div>'. ($link ? '<a class="iframe" href="'.htmlspecialchars($link).'">'.$content.'</a>' : $content). '</div></td>'; } else $calendar .= "<td><div>$day</div></td>"; } if($weekday != 7) $calendar .= '<td colspan="'.(7-$weekday).'">&nbsp;</td>'; #remaining "empty" days return $calendar."</tr></tbody></table>"; }
3
5,224,635
03/07/2011 20:04:01
592,667
01/27/2011 18:10:55
90
1
3d cloud viewer?
I have a file which contains a bunch of points with their x,y, z locations.I am looking for a simple viewer where in I can load this point data and view it .Rotation is essential for me to check the depth of the cloud being generated .Can someone point out a light weight viewer with minimum installation overhead for this?
graphics
3d
null
null
null
null
open
3d cloud viewer? === I have a file which contains a bunch of points with their x,y, z locations.I am looking for a simple viewer where in I can load this point data and view it .Rotation is essential for me to check the depth of the cloud being generated .Can someone point out a light weight viewer with minimum installation overhead for this?
0
818,385
05/04/2009 00:07:01
19,112
09/19/2008 17:28:07
218
18
JQuery UI Tabs widget error handling
When an ajax request fails, the JQuery UI Tabs widget stops responding and the "Loading..." spinner remains on the tab that caused the error. I can get the ajax callback to give me some sort of alert message like so: $('#localtabs > ul').tabs({ ajaxOptions: { success: tabLoadSuccessCallback, error: tabLoadFailureCallback} }); function tabLoadSuccessCallback(XMLHttpRequest, textStatus, errorThrown) { alert("Yay!");} function tabLoadFailureCallback(XMLHttpRequest, textStatus, errorThrown) { alert("Could not get search results.");} But what I'd really like is to be able to display a message within the panel, cancel the spinner, and disable the tab that caused the problem while leaving the rest of the tabs operational. Does anyone have any ideas for how to do this?
jquery-ui
tabs
ajax
null
null
null
open
JQuery UI Tabs widget error handling === When an ajax request fails, the JQuery UI Tabs widget stops responding and the "Loading..." spinner remains on the tab that caused the error. I can get the ajax callback to give me some sort of alert message like so: $('#localtabs > ul').tabs({ ajaxOptions: { success: tabLoadSuccessCallback, error: tabLoadFailureCallback} }); function tabLoadSuccessCallback(XMLHttpRequest, textStatus, errorThrown) { alert("Yay!");} function tabLoadFailureCallback(XMLHttpRequest, textStatus, errorThrown) { alert("Could not get search results.");} But what I'd really like is to be able to display a message within the panel, cancel the spinner, and disable the tab that caused the problem while leaving the rest of the tabs operational. Does anyone have any ideas for how to do this?
0
8,573,562
12/20/2011 09:50:21
479,709
10/18/2010 19:34:08
68
5
Handling multiple rewrite conditions (one for live and one for development server)
I have a drupal 7 site. I have the live site and the development site for staging module updates. The live site has an associated domain name, whereas my dev site uses the ip address:port for access. Something like this: www.customersite.com for live and 10.0.1.10:10091 for dev. In the Drupal 7 .htaccess file is code one can uncomment so that non-www requests are appended with "www." However, I don't want this behavior when running on the IP site. How can I create a the correct rewrite condition for this? RewriteCond %{HTTP_HOST} !^www\. [NC] #RewriteCond %{HTTP_HOST} ^10.0.1.10\. [NC] RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
apache
drupal
.htaccess
mod-rewrite
null
null
open
Handling multiple rewrite conditions (one for live and one for development server) === I have a drupal 7 site. I have the live site and the development site for staging module updates. The live site has an associated domain name, whereas my dev site uses the ip address:port for access. Something like this: www.customersite.com for live and 10.0.1.10:10091 for dev. In the Drupal 7 .htaccess file is code one can uncomment so that non-www requests are appended with "www." However, I don't want this behavior when running on the IP site. How can I create a the correct rewrite condition for this? RewriteCond %{HTTP_HOST} !^www\. [NC] #RewriteCond %{HTTP_HOST} ^10.0.1.10\. [NC] RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
0
11,650,105
07/25/2012 12:49:47
1,551,514
07/25/2012 12:01:07
1
0
change doubango android-ngn-stack sip codec
I'm developing an android app for making sip calls using your android-ngn-stack 2.0 library. The app was working as expected. Lately the client has asked us to make the calls through GSM codecs only. Now the problem is, I'm not aware of how to manipulate codecs and achieve this thing. Please guide me with directions of using GSM codecs for making the sip calls using android-ngn-stack library. Need help urgently. Thanks in advance.
sip
null
null
null
null
07/26/2012 12:08:27
too localized
change doubango android-ngn-stack sip codec === I'm developing an android app for making sip calls using your android-ngn-stack 2.0 library. The app was working as expected. Lately the client has asked us to make the calls through GSM codecs only. Now the problem is, I'm not aware of how to manipulate codecs and achieve this thing. Please guide me with directions of using GSM codecs for making the sip calls using android-ngn-stack library. Need help urgently. Thanks in advance.
3
9,477,676
02/28/2012 06:56:18
1,023,146
11/01/2011 05:49:39
58
0
XCode 4.2 not getting installed on my mac
I want to install XCode 4.2 on my mac. I have the dmg, but when I start the installation process, I get the file size as zero kb. Attaching the screen shot of the same: ![Installation window SCode 4.2][1] Can anyone tell me what the problem might be??? The Mac version i am using is 10.7.2.... I have tried changing the install location, but it was of no use. The installation process takes around 15 mins (although the size is zero kbas is in screen shot) and at the end, I am getting the message "Installation Completed" ![Installation Process][2] ![installation Successful][3] [1]: http://i.stack.imgur.com/r7Dpz.png [2]: http://i.stack.imgur.com/IYNNP.png [3]: http://i.stack.imgur.com/JVXRv.png
xcode
xcode4.2
null
null
null
null
open
XCode 4.2 not getting installed on my mac === I want to install XCode 4.2 on my mac. I have the dmg, but when I start the installation process, I get the file size as zero kb. Attaching the screen shot of the same: ![Installation window SCode 4.2][1] Can anyone tell me what the problem might be??? The Mac version i am using is 10.7.2.... I have tried changing the install location, but it was of no use. The installation process takes around 15 mins (although the size is zero kbas is in screen shot) and at the end, I am getting the message "Installation Completed" ![Installation Process][2] ![installation Successful][3] [1]: http://i.stack.imgur.com/r7Dpz.png [2]: http://i.stack.imgur.com/IYNNP.png [3]: http://i.stack.imgur.com/JVXRv.png
0