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
2,962,881
06/03/2010 01:55:25
325,400
04/25/2010 13:55:38
62
0
Android: Help with tabs view
So I'm trying to build a tabs view for an Android app, and for some reason I get a force close every time I try to run it on the emulator. When I run the examples, everything shows fine, so I went as far as to just about copy most of the layout from the examples(a mix of Tabs2.java and Tabs3.java), but for some reason ...
java
android
null
null
null
null
open
Android: Help with tabs view === So I'm trying to build a tabs view for an Android app, and for some reason I get a force close every time I try to run it on the emulator. When I run the examples, everything shows fine, so I went as far as to just about copy most of the layout from the examples(a mix of Tabs2.java and...
0
10,095,479
04/10/2012 19:52:16
1,267,673
03/13/2012 22:38:30
11
1
Set background color of cells based on MySQL query output
I am new to PHP and trying to learn enough to do some basic functions. I've been able to create a table for my users to edit themselves, and redisplay but I've come across a question. Using the script below, users can input their skill level for various products. I wanted to be able to highlight each cell in which ...
mysql
php5
null
null
null
null
open
Set background color of cells based on MySQL query output === I am new to PHP and trying to learn enough to do some basic functions. I've been able to create a table for my users to edit themselves, and redisplay but I've come across a question. Using the script below, users can input their skill level for various ...
0
11,455,576
07/12/2012 15:44:53
1,319,374
04/07/2012 17:09:48
307
4
Insert dynamic parameters to sqlite database statements
I want to insert parameters dynamically to statements at sqlite. I now write as follows: tx.executeSql('SELECT Data from Table Where something = "'+ anyvariable+ '"',[],successFn, errorCB); But I guess there is a better (cleaner) method to do it.. Any ideas?
javascript
jquery
sqlite
null
null
07/12/2012 17:19:24
off topic
Insert dynamic parameters to sqlite database statements === I want to insert parameters dynamically to statements at sqlite. I now write as follows: tx.executeSql('SELECT Data from Table Where something = "'+ anyvariable+ '"',[],successFn, errorCB); But I guess there is a better (cleaner) metho...
2
5,802,093
04/27/2011 09:41:30
726,942
04/27/2011 09:41:30
1
0
How to create folder on photo album
I would like to create folder on photo album. Is it possible? I searched AssetsLibrary. But It seems to be impossible.
iphone
objective-c
photo
null
null
04/28/2011 17:27:06
off topic
How to create folder on photo album === I would like to create folder on photo album. Is it possible? I searched AssetsLibrary. But It seems to be impossible.
2
7,846,567
10/21/2011 07:57:25
411,873
08/05/2010 11:03:12
29
2
Software to analyze clients usage, bill them accordingly
We are trying to move our product from an on-premise model to a cloud model. Hence we are looking out for a software that can be "plugged-in" to the existing product and we could bill the clients based on their usage. I looked into the below links. 1. http://cpb.codeplex.com/ 2. http://wso2.org/library/article...
saas
billing
metering
null
null
10/26/2011 02:39:16
off topic
Software to analyze clients usage, bill them accordingly === We are trying to move our product from an on-premise model to a cloud model. Hence we are looking out for a software that can be "plugged-in" to the existing product and we could bill the clients based on their usage. I looked into the below links. 1....
2
10,740,292
05/24/2012 15:12:17
1,415,363
05/24/2012 14:53:34
1
0
I am interested in making an android app which uses the barometric pressure sensor
The task to be achieved is to blow air near the sensor(the sensor, as far as I know is situated near the bottom of the screen). As air is blown bubbles should be formed on the screen. And I am an absolute beginer at making android apps, so please make the explanation thorough.
android
pressure
null
null
null
05/25/2012 19:03:17
not a real question
I am interested in making an android app which uses the barometric pressure sensor === The task to be achieved is to blow air near the sensor(the sensor, as far as I know is situated near the bottom of the screen). As air is blown bubbles should be formed on the screen. And I am an absolute beginer at making andro...
1
10,369,571
04/29/2012 03:58:42
1,363,717
04/29/2012 03:42:12
1
0
FTP "550 Access is denied" Error
I have two Clients who are connecting to an FTP (configured as part of IIS), both Clients can connect to the FTP successfully however Client A receives a "550 Access is denied , Error: Critical file transfer error" when they try and upload a file while Client B can successfully upload the file. They are both using File...
ftp
access-denied
filezilla
null
null
null
open
FTP "550 Access is denied" Error === I have two Clients who are connecting to an FTP (configured as part of IIS), both Clients can connect to the FTP successfully however Client A receives a "550 Access is denied , Error: Critical file transfer error" when they try and upload a file while Client B can successfully upl...
0
9,935,107
03/29/2012 23:33:38
354,259
05/31/2010 02:37:08
50
0
Haskell Trading engine
so we're doing this assignment at Uni and i have a serious craving to do the assignment in haskell. Its a simulation of a stock trading engine. Situation is that we have data coming in from a csv and we wish to parse each record and process it in a certain way dependent on which market phase its allocated to. Justifica...
haskell
null
null
null
null
03/30/2012 01:45:43
not a real question
Haskell Trading engine === so we're doing this assignment at Uni and i have a serious craving to do the assignment in haskell. Its a simulation of a stock trading engine. Situation is that we have data coming in from a csv and we wish to parse each record and process it in a certain way dependent on which market phase...
1
7,027,915
08/11/2011 14:45:52
711,649
04/16/2011 23:19:17
1
0
mysql Trigger On insert
whats wrong with my syntax? CREATE TRIGGER db_dhruniversity.trigger1 AFTER INSERT ON jos_dhruprofile FOR EACH ROW BEGIN UPDATE jos_users SET jos_users.department = jos_dhruprofile.department WHERE jos_users.id = jos_dhruprofile.uid END
php
mysql
triggers
null
null
null
open
mysql Trigger On insert === whats wrong with my syntax? CREATE TRIGGER db_dhruniversity.trigger1 AFTER INSERT ON jos_dhruprofile FOR EACH ROW BEGIN UPDATE jos_users SET jos_users.department = jos_dhruprofile.department WHERE jos_users.id = jos_dhruprofile.uid END
0
5,978,365
05/12/2011 13:02:04
750,587
05/12/2011 13:02:04
1
0
Loading another page before page loading using jquery
I want to open a external page and a small message before loading the original page ex: http://adf.ly/1VUM4 . I heart it is possible with jquery.Any idea how to do this?
jquery
ajax
blockui
null
null
03/11/2012 14:45:48
not constructive
Loading another page before page loading using jquery === I want to open a external page and a small message before loading the original page ex: http://adf.ly/1VUM4 . I heart it is possible with jquery.Any idea how to do this?
4
2,484,908
03/20/2010 21:46:54
67,586
02/17/2009 22:04:47
47
3
Physical storage of data in Access 2007
I've been trying to estimate the size of an Access table with a certain number of records. It has 4 Longs (4 bytes each), and a Currency (8 bytes). In theory: `1 Record = 24 bytes, 500,000 = ~11.5MB` However, the accdb file (even after compacting) increases by almost 30MB (~61 bytes per record). A few extra by...
ms-access
ms-access-2007
database
null
null
null
open
Physical storage of data in Access 2007 === I've been trying to estimate the size of an Access table with a certain number of records. It has 4 Longs (4 bytes each), and a Currency (8 bytes). In theory: `1 Record = 24 bytes, 500,000 = ~11.5MB` However, the accdb file (even after compacting) increases by almos...
0
4,316,210
11/30/2010 16:47:45
420,008
08/13/2010 21:07:36
26
2
Is it possible to read/edit shared preferences in native code?
I have an Android app that includes a C library using NDK to execute some some code. Within the C library I would like to update the applications shared preferences. My question... is it possible to read/edit shared preferences in native code?
android
null
null
null
null
null
open
Is it possible to read/edit shared preferences in native code? === I have an Android app that includes a C library using NDK to execute some some code. Within the C library I would like to update the applications shared preferences. My question... is it possible to read/edit shared preferences in native code?
0
8,697,136
01/02/2012 03:21:56
234,188
12/17/2009 22:33:41
185
4
Automated email from calendat control
I have a calendar control that I would like to send email notification in predetermined number of days before the event such as 10 days, then 3 days, etc. In the create events page I have set up a dropdown list where users can select the number of days and it is then saved in database. The site will be hosted with s...
asp.net
sql-server-2008
smtp
null
null
01/03/2012 08:25:14
not constructive
Automated email from calendat control === I have a calendar control that I would like to send email notification in predetermined number of days before the event such as 10 days, then 3 days, etc. In the create events page I have set up a dropdown list where users can select the number of days and it is then saved ...
4
4,343,916
12/03/2010 09:00:28
354,612
05/31/2010 13:21:29
43
2
How do I update existing STDOUT?
I need to print a bunch of strings to STDOUT. Instead of each string going on a newline, though, I want to have just one line that gets *updated* with each new string. Any ideas?
bash
shell
stdout
null
null
null
open
How do I update existing STDOUT? === I need to print a bunch of strings to STDOUT. Instead of each string going on a newline, though, I want to have just one line that gets *updated* with each new string. Any ideas?
0
10,698,265
05/22/2012 08:17:36
655,187
03/11/2011 10:35:50
580
42
changing the value of a currency based on a selected country in rails
I am building a rails ecommerce application and would like to integrate a currency exchange system were visitors can click on a check box and a list of countries will be displayed and when clicked on the value of the currencies of products on the site changes to the value of the selected countries currency. Is there a ...
ruby-on-rails
ruby-on-rails-3
ruby-on-rails-3.1
null
null
null
open
changing the value of a currency based on a selected country in rails === I am building a rails ecommerce application and would like to integrate a currency exchange system were visitors can click on a check box and a list of countries will be displayed and when clicked on the value of the currencies of products on th...
0
5,813,651
04/28/2011 04:32:55
728,534
04/28/2011 04:32:55
1
0
ASP .Net WebService
What happens if the webservice gets time out before the client actually gets the response.what happens if the client retries to call the webservice function before it gets the response for the previous call because of time out.
asp.net
web-services
null
null
null
null
open
ASP .Net WebService === What happens if the webservice gets time out before the client actually gets the response.what happens if the client retries to call the webservice function before it gets the response for the previous call because of time out.
0
6,804,529
07/24/2011 02:02:26
495,452
11/03/2010 02:14:50
535
1
Generate multiple dimension array in CodeIgniter
By using the code below in [**CodeIgniter**][1], we can generate a table as below $this->load->library('table'); $data = array( array('11', '12', '13'), array('21', '22', '23'), array('31', '32', '33'), array('41', '42', '43') ...
codeigniter
null
null
null
null
null
open
Generate multiple dimension array in CodeIgniter === By using the code below in [**CodeIgniter**][1], we can generate a table as below $this->load->library('table'); $data = array( array('11', '12', '13'), array('21', '22', '23'), array('31', '32'...
0
9,269,418
02/13/2012 23:09:31
1,189,717
02/04/2012 18:21:15
12
0
How to maintain high performance from a database, and optimisation of code?
I am using MYSQL, How can i manage High performance from a database. which is the best way to handle the very-big amount of data.
mysql
null
null
null
null
02/13/2012 23:40:48
not a real question
How to maintain high performance from a database, and optimisation of code? === I am using MYSQL, How can i manage High performance from a database. which is the best way to handle the very-big amount of data.
1
6,780,954
07/21/2011 18:36:21
599,303
02/02/2011 00:58:27
68
0
Beginner book for C++ Data Structure and Algorithm
I am looking for a very neat, for beginners, book on Data Structures and Algorithms using C++ (the OOP way). I tried [this][1] book but it is a little much for my standard. Please suggest. Thanks. [1]: http://www.amazon.com/Data-Structures-Algorithms-Adam-Drozdek/dp/0534491820/ref=sr_1_2?ie=UTF8&qid=131127315...
c++
algorithm
data-structures
books
null
10/03/2011 01:06:34
not constructive
Beginner book for C++ Data Structure and Algorithm === I am looking for a very neat, for beginners, book on Data Structures and Algorithms using C++ (the OOP way). I tried [this][1] book but it is a little much for my standard. Please suggest. Thanks. [1]: http://www.amazon.com/Data-Structures-Algorithms-Ada...
4
3,887,645
10/08/2010 04:14:23
392,434
07/15/2010 08:00:53
62
1
how to use parameter in linq to select different columns
i want to use linq to select certain columns to populate each combobox. right i have individual linq query to do the job. i wish to write a method to do that. var getUserName = Entity.Select(a=>a.Username); var getType = Entity.Select(a=>a.Type); var getAddress = Entity.Select(a=>a.Address); can...
c#
linq
null
null
null
null
open
how to use parameter in linq to select different columns === i want to use linq to select certain columns to populate each combobox. right i have individual linq query to do the job. i wish to write a method to do that. var getUserName = Entity.Select(a=>a.Username); var getType = Entity.Select(a=>a.Typ...
0
8,795,236
01/09/2012 21:08:33
1,136,662
01/08/2012 03:02:45
11
0
ExistDB vs Marklogic vs Sedna performance
Has anyone done a comparison of the following technologies? I am an open source lover, but i would definitely like to know and give it a shot. My user base on the client side is going to approx 1500 users daily. Please post if you have had any questions on this regard
xml
xslt
xquery
marklogic
existdb
01/11/2012 13:35:41
not constructive
ExistDB vs Marklogic vs Sedna performance === Has anyone done a comparison of the following technologies? I am an open source lover, but i would definitely like to know and give it a shot. My user base on the client side is going to approx 1500 users daily. Please post if you have had any questions on this regard
4
11,505,744
07/16/2012 13:48:50
1,507,346
07/06/2012 16:36:14
-1
1
host a SQLite .db file on dropbox.com
First of all, can anybody tell me if Dropbox.com has write access. if so then how would you access an SQLite .db file hosted there within your Java applet specs: I'm using Eclipse Helios Using David Crawshaw's SQLite jdbc driver (v. 056) not sure what other info you might need, if you need more...
java
sqlite
dropbox
sqlitejdbc
null
07/17/2012 14:02:58
not a real question
host a SQLite .db file on dropbox.com === First of all, can anybody tell me if Dropbox.com has write access. if so then how would you access an SQLite .db file hosted there within your Java applet specs: I'm using Eclipse Helios Using David Crawshaw's SQLite jdbc driver (v. 056) not sure what ...
1
3,313,094
07/22/2010 20:24:25
7,961
09/15/2008 14:47:10
1,154
36
Exchange Web Services (Managed API) vs. WebDav Performance Question
I'm new to Exchange (2007) development so please bear with me. :-). There appear to be a myriad of technologies for Exchange development -- the latest being Exchange Web Services -- and it's related Managed API. I need to write a program that can -- if necessary -- run on the Exchange servers -- to scan people's mail...
exchange
webdav
mapi
exchange2007
exchangewebservices
null
open
Exchange Web Services (Managed API) vs. WebDav Performance Question === I'm new to Exchange (2007) development so please bear with me. :-). There appear to be a myriad of technologies for Exchange development -- the latest being Exchange Web Services -- and it's related Managed API. I need to write a program that ca...
0
7,059,635
08/14/2011 20:49:52
44,084
12/07/2008 12:12:53
19,322
304
Invoking a function from a class member in PHP
Say I have the following: class C { private $f; public function __construct($f) { $this->f = $f; } public function invoke ($n) { $this->f($n); // <= error thrown here } } $c = new C(function ($m) { echo $m; }); $c->invoke("hell...
php
first-class-functions
null
null
null
null
open
Invoking a function from a class member in PHP === Say I have the following: class C { private $f; public function __construct($f) { $this->f = $f; } public function invoke ($n) { $this->f($n); // <= error thrown here } } $c = new C(function ($...
0
8,162,323
11/17/2011 04:58:49
1,023,755
11/01/2011 13:14:33
37
0
Monitoring a Web Application running in Linux Machiene
We have developed a Web Application which acceps some input data and which works fine in our Environment . We have uploaded this war to one of the Linux Machiene ( For onsite people to test it) (We dont have any http access to those Servers , but we do have acess through putty tool) Now my question is , can we mon...
java
linux
web-applications
monitoring
null
11/24/2011 23:56:37
off topic
Monitoring a Web Application running in Linux Machiene === We have developed a Web Application which acceps some input data and which works fine in our Environment . We have uploaded this war to one of the Linux Machiene ( For onsite people to test it) (We dont have any http access to those Servers , but we do have ...
2
4,034,658
10/27/2010 15:00:44
387,552
06/10/2010 14:47:55
108
11
Mapkit - Zoom level keeps resetting
I have the following code in place: -(void)viewDidLoad { //Set Zoom level using Span MKCoordinateSpan span; span.latitudeDelta = 0.05; span.longitudeDelta = 0.05; region.span = span; } -(void)locationChange:(CLLocation *)newLocation: (CLLocation *)oldLoca...
iphone
mkmapview
null
null
null
null
open
Mapkit - Zoom level keeps resetting === I have the following code in place: -(void)viewDidLoad { //Set Zoom level using Span MKCoordinateSpan span; span.latitudeDelta = 0.05; span.longitudeDelta = 0.05; region.span = span; } -(void)locationChange:(CLLoca...
0
11,629,332
07/24/2012 10:53:23
1,310,259
04/03/2012 11:08:58
1
0
how to match a pattern in several fields and print line if encountered n times
I have a file which looks like this: #CHROM POS ID REF ALT QUAL FILTER INFO FORMAT AD0062-C AD0065-C 2L 560 . T C 30.65 PASS AC=3;AF1=0.5;AN=4;CI95=0.5,0.5;DP4=9,3,7,2;DP=21;FQ=36;MQ=31;PV4=1,1,0.00019,0.46;SF=3,15 GT:GQ:PL . . 2L 595 . G T 61.75 PASS AC=11;AF1=0.5263;AN=22;CI95=0....
regex
linux
perl
awk
pattern-matching
07/25/2012 03:30:17
not a real question
how to match a pattern in several fields and print line if encountered n times === I have a file which looks like this: #CHROM POS ID REF ALT QUAL FILTER INFO FORMAT AD0062-C AD0065-C 2L 560 . T C 30.65 PASS AC=3;AF1=0.5;AN=4;CI95=0.5,0.5;DP4=9,3,7,2;DP=21;FQ=36;MQ=31;PV4=1,1,0.00019,0.46;SF=...
1
7,881,104
10/24/2011 19:48:00
533,049
12/07/2010 00:51:06
137
0
Trying to find if there are at least 2 words in a string
I am trying to find out if a phrase entered by the user has at least 2 words in it. If it does not, keep asking them to enter a phrase until they enter one with at least 2 words. Here is my code so far: It can successfully detect if they have entered 2 words, and it successfully detects if they don't enter 2 words ...
java
null
null
null
null
null
open
Trying to find if there are at least 2 words in a string === I am trying to find out if a phrase entered by the user has at least 2 words in it. If it does not, keep asking them to enter a phrase until they enter one with at least 2 words. Here is my code so far: It can successfully detect if they have entered 2 w...
0
4,757,190
01/21/2011 09:25:40
298,683
03/22/2010 00:24:51
20
1
Encoding multimedia file formats programmatically
I'm always wondered where to find rules to encode known file formats, for example: .jpg, .png, .mpg programmatically. How to write these binary formats? Some years ago, when I surfed phpBB scripts, I found that they for example don't use any gd or imagemagick, they write it in binary way. Not only for php, but for othe...
encoding
binary
null
null
null
null
open
Encoding multimedia file formats programmatically === I'm always wondered where to find rules to encode known file formats, for example: .jpg, .png, .mpg programmatically. How to write these binary formats? Some years ago, when I surfed phpBB scripts, I found that they for example don't use any gd or imagemagick, the...
0
8,659,861
12/28/2011 18:38:54
157,880
08/17/2009 16:40:05
864
48
Matrix transposition on a magnetic tape
Programming pearls Problem 7 is about transposing a `4000 x 4000` matrix stored on a **magnetic tape**.<br /> My solution was to simply use a temporary variable and swap the contents of `a[i][j]` and `a[j][i]`. <br /> The solution given by the author confused me a little bit. He says we should: 1. Prepend the row ...
matrix
programming-pearls
null
null
null
null
open
Matrix transposition on a magnetic tape === Programming pearls Problem 7 is about transposing a `4000 x 4000` matrix stored on a **magnetic tape**.<br /> My solution was to simply use a temporary variable and swap the contents of `a[i][j]` and `a[j][i]`. <br /> The solution given by the author confused me a little bi...
0
7,604,923
09/30/2011 00:51:40
818,502
06/28/2011 04:33:00
8
0
Adding a Second Page To an App
I have an app that has too much information in one spot so I wanted to add in a next button that would lead to a new page for more information. Is there an easy way to do this? (I am currently a novice user). Thanks for the help.
android
multipage
null
null
null
09/30/2011 18:27:42
not a real question
Adding a Second Page To an App === I have an app that has too much information in one spot so I wanted to add in a next button that would lead to a new page for more information. Is there an easy way to do this? (I am currently a novice user). Thanks for the help.
1
11,184,328
06/25/2012 06:23:42
1,479,155
06/25/2012 06:07:23
1
0
FACEBOOK POST ON USERS BEHALF....?
-If You Can Help Please Make It ***Noob*** Friendly- -I already have an app made, canvas and all that made and set up- -just trying to get it more viral- Trying to get this to work for my Facebook APP Post on your behalf This app may post on your behalf, including status updates, photos and m...
javascript
facebook
null
null
null
06/25/2012 11:03:57
too localized
FACEBOOK POST ON USERS BEHALF....? === -If You Can Help Please Make It ***Noob*** Friendly- -I already have an app made, canvas and all that made and set up- -just trying to get it more viral- Trying to get this to work for my Facebook APP Post on your behalf This app may post on your behalf...
3
4,204,030
11/17/2010 11:44:32
510,724
11/17/2010 11:44:32
1
0
about filenames in folder
i want to get all filenames in folder in c/c++ .i use dirent.h but it shows error on the dirent.h? how should i proceed? Is any way rather than dirent.h? Thanks in advance
amazon-ec2
null
null
null
null
11/17/2010 13:01:31
not a real question
about filenames in folder === i want to get all filenames in folder in c/c++ .i use dirent.h but it shows error on the dirent.h? how should i proceed? Is any way rather than dirent.h? Thanks in advance
1
9,361,181
02/20/2012 12:33:53
668,410
03/20/2011 17:23:13
10
1
WCF XElement serialization/deserialization
Have a WCF service, which has a DataMember with custom nodes (names and numbers of items may be different) Example: <AppData> <sometag>something</sometag> <othertag>something else</othertag> </AppData> Member definition as: <DataMember(IsRequired:=False)> Public AppData As X...
wcf
serialization
deserialization
xmlelement
null
null
open
WCF XElement serialization/deserialization === Have a WCF service, which has a DataMember with custom nodes (names and numbers of items may be different) Example: <AppData> <sometag>something</sometag> <othertag>something else</othertag> </AppData> Member definition as: <DataMember...
0
10,426,727
05/03/2012 07:10:13
1,371,778
05/03/2012 07:03:45
1
0
Page not found error when i m installing on web server ( but working fine on local server)
i have created drupal module that working fine ...but i hosted it to global URL then i m getting page not found error why?( after installing module and giving permission to it. )
drupal
null
null
null
null
05/05/2012 13:05:09
not a real question
Page not found error when i m installing on web server ( but working fine on local server) === i have created drupal module that working fine ...but i hosted it to global URL then i m getting page not found error why?( after installing module and giving permission to it. )
1
2,760,348
05/03/2010 18:40:43
312,670
04/09/2010 09:58:21
172
13
Unit Testing and Motivation to do so
I'm currently Unit Testing an application that isn't build to support unit testing very well, lot's of dependencies, refactoring and the developers who build the application didn't think of unit testing when they started developing. My job is to do research for unit testing, unit test the application and bring unit tes...
unit-testing
testing
motivation-techniques
organization
legacy
10/27/2011 04:46:21
off topic
Unit Testing and Motivation to do so === I'm currently Unit Testing an application that isn't build to support unit testing very well, lot's of dependencies, refactoring and the developers who build the application didn't think of unit testing when they started developing. My job is to do research for unit testing, un...
2
730,773
04/08/2009 16:24:36
87,725
04/06/2009 17:21:39
18
0
c++ profiling/optimization: How to get better profiling granularity in an optimized function
I am using google's perftools (http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html) for CPU profiling---it's a wonderful tool that has helped me perform a great deal of CPU-time improvements on my application. Unfortunately, I have gotten to the point that the code is still a bit slow, and when comp...
c++
optimization
profiler
null
null
null
open
c++ profiling/optimization: How to get better profiling granularity in an optimized function === I am using google's perftools (http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html) for CPU profiling---it's a wonderful tool that has helped me perform a great deal of CPU-time improvements on my applicat...
0
7,652,620
10/04/2011 18:46:15
979,092
10/04/2011 18:42:11
1
0
SQL Exception Login failed for user "service account Name"
I am using a serviceaccount util.sql.TestApp on a database I created. When I reach command.Connection.Open(); I am getting the SQL Exception Login failed for util.sql.TestApp This what I have in my web.config <add name="DBTest" connectionString="Server=Data.companyname.com; Database=TestApp; User Id=util....
.net
asp.net
.net-4.0
null
null
null
open
SQL Exception Login failed for user "service account Name" === I am using a serviceaccount util.sql.TestApp on a database I created. When I reach command.Connection.Open(); I am getting the SQL Exception Login failed for util.sql.TestApp This what I have in my web.config <add name="DBTest" connectionStri...
0
7,117,987
08/19/2011 06:55:18
864,866
07/27/2011 07:20:33
48
0
CakePHP: how can i handle general model functions?
I have some "global" functions not directly related to a model that need to be called from different controllers. Where can i put them and how can they be correctly called from a controller?
cakephp
null
null
null
null
null
open
CakePHP: how can i handle general model functions? === I have some "global" functions not directly related to a model that need to be called from different controllers. Where can i put them and how can they be correctly called from a controller?
0
10,770,973
05/27/2012 01:15:35
1,168,402
01/25/2012 03:25:44
300
3
Which linux distribution is advisable to setup a server?
There are Many distributions of Linux, I have no idea for Used to mount a web server (load balancers, MySQL, Apache) and so on.
linux
web-services
null
null
null
05/27/2012 01:21:20
not constructive
Which linux distribution is advisable to setup a server? === There are Many distributions of Linux, I have no idea for Used to mount a web server (load balancers, MySQL, Apache) and so on.
4
6,975,459
08/07/2011 20:08:35
302,908
03/26/2010 22:23:57
3,371
189
SQL nullable bit in where clause
create procedure [dbo].[MySproc] @Value bit = null as select columna from tablea where columnb = @Value This does not work if I pass in null to the parameter. Obviously when I change the predicate to columnb is null it works. What can I do to get this to work without using conditiona...
tsql
null
null
null
null
null
open
SQL nullable bit in where clause === create procedure [dbo].[MySproc] @Value bit = null as select columna from tablea where columnb = @Value This does not work if I pass in null to the parameter. Obviously when I change the predicate to columnb is null it works. What can I do to get...
0
2,462,962
03/17/2010 14:21:47
149,380
08/02/2009 19:50:28
31
3
I want to select the distict value from models field and then update them (django)
I have models... class Item(models.Model): name = models.CharField('Item Name', max_length = 30) item_code = models.CharField(max_length = 10) color = models.CharField(max_length = 150, null = True, blank = True) size = models.CharField(max_length = 30, null = True, blank = True) fabric_...
django-models
django
python
null
null
null
open
I want to select the distict value from models field and then update them (django) === I have models... class Item(models.Model): name = models.CharField('Item Name', max_length = 30) item_code = models.CharField(max_length = 10) color = models.CharField(max_length = 150, null = True, blank = Tru...
0
11,295,493
07/02/2012 14:17:08
1,361,316
04/27/2012 14:12:40
13
1
Drupal 7 - values added in hook_node_load not making its way to webform
I'm using hook_node_load to try and add some fields to a webform node. Here's the code: function custom_node_load($nodes, $types) { foreach ($nodes as $node) { if ($node->nid == '37') { if (isset($_GET['departure'])) { $node->departure_base_price = 'myValue'; ...
drupal
drupal-7
null
null
null
null
open
Drupal 7 - values added in hook_node_load not making its way to webform === I'm using hook_node_load to try and add some fields to a webform node. Here's the code: function custom_node_load($nodes, $types) { foreach ($nodes as $node) { if ($node->nid == '37') { if (isset($_GET['depart...
0
11,330,148
07/04/2012 13:32:54
959,215
09/22/2011 13:31:42
22
1
slovakia traffic data not showing on map over js api
Does anyone know why google does not provide traffic info for Slovakia on web maps using javascript api ? It used to work just fine. Now some other countires around are showing traffic but Slovakia is not. Also maps on maps.google.sk do show traffic data in Slovakia. So what is a problem with traffic over js api in S...
google-maps
google-maps-api-3
traffic
null
null
07/05/2012 15:20:57
off topic
slovakia traffic data not showing on map over js api === Does anyone know why google does not provide traffic info for Slovakia on web maps using javascript api ? It used to work just fine. Now some other countires around are showing traffic but Slovakia is not. Also maps on maps.google.sk do show traffic data in Sl...
2
6,035,141
05/17/2011 18:05:17
402,293
07/26/2010 13:05:25
156
3
Updating a Windows Form Control with its Handle outside of main UI thread ?
I've asked a [question][1] about my problem, and I've made some progress. I'm sending the Handle of a PictureBox component to my VolumeRender method, VolumeRender method binds the PictureBox component with vtkRenderWindow, process the pipeline and update the renderWindow. Okay, this process is done outside of UI threa...
.net
multithreading
c++-cli
null
null
null
open
Updating a Windows Form Control with its Handle outside of main UI thread ? === I've asked a [question][1] about my problem, and I've made some progress. I'm sending the Handle of a PictureBox component to my VolumeRender method, VolumeRender method binds the PictureBox component with vtkRenderWindow, process the pip...
0
5,850,127
05/01/2011 17:38:42
721,975
04/23/2011 18:04:39
6
0
How to unread a line in python
I am new to Python (2.6), and have a situation where I need to un-read a line I just read from a file. Here's basically what I am doing. for line in file: print line file.seek(-len(line),1) zz = file.readline() print zz However I notice that "zz" and "line" are not th...
python
file-io
null
null
null
null
open
How to unread a line in python === I am new to Python (2.6), and have a situation where I need to un-read a line I just read from a file. Here's basically what I am doing. for line in file: print line file.seek(-len(line),1) zz = file.readline() print zz However I no...
0
6,949,435
08/04/2011 22:34:10
144,776
07/24/2009 21:54:38
140
6
This bundle is invalid. Apple is not currently accepting applications built with this version of the SDK
I get the error "This bundle is invalid. Apple is not currently accepting applications built with this version of the SDK." when trying to submit my app to the Mac app store. I'm using Xcode 4.1, which I downloaded from the Mac App Store after purchasing a MacBook Air with Lion pre-installed. What could possibly be c...
xcode
osx-lion
mac-app-store
null
null
null
open
This bundle is invalid. Apple is not currently accepting applications built with this version of the SDK === I get the error "This bundle is invalid. Apple is not currently accepting applications built with this version of the SDK." when trying to submit my app to the Mac app store. I'm using Xcode 4.1, which I downl...
0
4,460,038
12/16/2010 11:00:31
544,649
12/16/2010 11:00:31
1
0
Code coverage without instrumentation
We have an automated regression test setup for Functional tests and are interested in measuring the test coverage/code coverage for our project which is based on Linux. I would like to know if there are any tools which can be used for test coverage/code coverage measurement without instrumenting the code. ...
testing
code-coverage
null
null
null
null
open
Code coverage without instrumentation === We have an automated regression test setup for Functional tests and are interested in measuring the test coverage/code coverage for our project which is based on Linux. I would like to know if there are any tools which can be used for test coverage/code coverage me...
0
4,486,395
12/20/2010 02:15:06
537,268
12/10/2010 01:14:09
6
0
how to design a windows appication using c# to execute command line from lightscribe?
hI Guys, Do you all have any idea on how to design a windows appication using c# to execute command line from lightscribe? any help would be grateful
c#
null
null
null
null
null
open
how to design a windows appication using c# to execute command line from lightscribe? === hI Guys, Do you all have any idea on how to design a windows appication using c# to execute command line from lightscribe? any help would be grateful
0
9,627,754
03/09/2012 01:31:59
1,179,945
01/31/2012 09:19:19
34
0
32-bit and 64-bit setup projects
How to create a single setup file which target both 32 and 64 bit system? It has dependencies on .net framework and third party dll. Also when the application run for first time there is a database installation procedure which install 32 bit sqlexpress. another problem is how to get existing(already installed) sql ser...
sql-server
winforms
setup-project
null
null
null
open
32-bit and 64-bit setup projects === How to create a single setup file which target both 32 and 64 bit system? It has dependencies on .net framework and third party dll. Also when the application run for first time there is a database installation procedure which install 32 bit sqlexpress. another problem is how to ge...
0
7,229,538
08/29/2011 11:35:06
129,609
06/26/2009 19:26:50
416
28
What is the methodology for developing/solving algorithms to difficult problems and how does it apply to this example?
I was working on a project for fun but it eventually led me to a difficult unrelated thought problem that I can't solve. My original question was going to be how to solve it but now that I am thinking about it, what would be really great is to know "how to go about" solving it. Most algorithms that I run into in d...
algorithm
null
null
null
null
08/29/2011 18:10:05
not constructive
What is the methodology for developing/solving algorithms to difficult problems and how does it apply to this example? === I was working on a project for fun but it eventually led me to a difficult unrelated thought problem that I can't solve. My original question was going to be how to solve it but now that I am thi...
4
10,605,400
05/15/2012 16:52:23
976,847
10/03/2011 14:20:39
401
52
OpenErp Server Error
I am new to openerp. I was able to log on. I tried on gunicorp and now I am unable to log in. Even If I don't use gunicorp I still get the below error: Pls advice what might be going wrong. Client Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py"...
openerp
null
null
null
null
05/18/2012 17:01:57
off topic
OpenErp Server Error === I am new to openerp. I was able to log on. I tried on gunicorp and now I am unable to log in. Even If I don't use gunicorp I still get the below error: Pls advice what might be going wrong. Client Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/...
2
8,077,434
11/10/2011 09:33:31
77,758
03/13/2009 14:54:27
569
26
Getting started in 3D (from a developer perspective)
Does anyone know good resources (website, blog, book, etc) on how to get started in 3D? I've done some very basic stuff in 3D in Processing or openFrameworks (C++) but I always missed knowing about 3D in general (modeling, meshes, 3D scripting languages, etc). I saw [a similar question][1] while researching befor...
resources
3d
theory
getting-started
language-learning
12/06/2011 04:30:56
not constructive
Getting started in 3D (from a developer perspective) === Does anyone know good resources (website, blog, book, etc) on how to get started in 3D? I've done some very basic stuff in 3D in Processing or openFrameworks (C++) but I always missed knowing about 3D in general (modeling, meshes, 3D scripting languages, etc)...
4
9,882,113
03/27/2012 01:18:11
404,020
07/28/2010 01:02:19
1,800
6
Why did my code fail to calculate the right answer?
I'm trying to solve this problem [here][1], which is to display the last five digits of the factorial of 1 trillion. I tested my code for smaller numbers up to 100k, and it's able to get the correct answer. Yet when I ran this and put in my answer on that website, they say it's wrong. Why did this not get the correct a...
c
algorithm
debugging
math
optimization
03/27/2012 15:40:49
too localized
Why did my code fail to calculate the right answer? === I'm trying to solve this problem [here][1], which is to display the last five digits of the factorial of 1 trillion. I tested my code for smaller numbers up to 100k, and it's able to get the correct answer. Yet when I ran this and put in my answer on that website...
3
125,597
09/24/2008 05:44:09
11,177
09/16/2008 05:53:10
61
5
Is it reasonable to have Boost as a dependency for a C++ open source project?
Boost is meant to be **the** standard non-standard C++ library that every C++ user can use. Is it reasonable to assume it's available for an open source C++ project, or is it a large dependency too far?
c++
boost
null
null
null
null
open
Is it reasonable to have Boost as a dependency for a C++ open source project? === Boost is meant to be **the** standard non-standard C++ library that every C++ user can use. Is it reasonable to assume it's available for an open source C++ project, or is it a large dependency too far?
0
6,009,818
05/15/2011 16:49:30
586,687
01/23/2011 21:18:27
163
3
take a photo to pc since a application c#?
I want to print all the pant with a button, and save it in any folder ( i know how to do it ) but i dont know how to take the photo ... and another thing, I want this program is HIDE and it works with a key for example f9 or f11 or any key, but i want this continue HIDE and working, how to take the print pant? and how ...
c#
folder
savefiledialog
null
null
05/15/2011 16:56:37
not a real question
take a photo to pc since a application c#? === I want to print all the pant with a button, and save it in any folder ( i know how to do it ) but i dont know how to take the photo ... and another thing, I want this program is HIDE and it works with a key for example f9 or f11 or any key, but i want this continue HIDE a...
1
9,190,433
02/08/2012 09:15:45
1,196,734
02/08/2012 09:12:18
1
0
MySQL - scheduled task
my requirement is. On every insert of a record (which contains a timestamp & status fields in it), I should schedule a task based on the timestamp and update the status value. Please help me with this. Is there any way to use procedure,events,trigger and gt this done?
mysql
null
null
null
null
null
open
MySQL - scheduled task === my requirement is. On every insert of a record (which contains a timestamp & status fields in it), I should schedule a task based on the timestamp and update the status value. Please help me with this. Is there any way to use procedure,events,trigger and gt this done?
0
7,906,969
10/26/2011 18:11:45
1,007,711
10/21/2011 19:05:56
8
0
Validate input of a directory
Their input should be a directory in c:\folder\subfolder\ format. Additionally I don't want it to try to run unless the directory contains .flv files. So it needs to exist AND contain .flv files. Otherwise it should ask the user to input another directory. The code also cleans up the slashes, and adds a trailing sl...
ruby
validation
null
null
null
null
open
Validate input of a directory === Their input should be a directory in c:\folder\subfolder\ format. Additionally I don't want it to try to run unless the directory contains .flv files. So it needs to exist AND contain .flv files. Otherwise it should ask the user to input another directory. The code also cleans up ...
0
10,015,091
04/04/2012 16:11:31
1,313,303
04/04/2012 15:59:55
1
0
Suggestions for ASP.NET Website
I am working on big application build using ASP.NET which was started 1.5 years back. The Site uses 3rd party telerik RadControls for UI. The problem with the website is it uses outdated stuffs like DataSets and all with no proper architecture. I have done some research and found some new technologies like ADO.NET Enti...
asp.net
asp.net-mvc
entity-framework
null
null
04/04/2012 22:30:22
not constructive
Suggestions for ASP.NET Website === I am working on big application build using ASP.NET which was started 1.5 years back. The Site uses 3rd party telerik RadControls for UI. The problem with the website is it uses outdated stuffs like DataSets and all with no proper architecture. I have done some research and found so...
4
522,286
02/06/2009 21:38:01
55,159
01/14/2009 20:03:19
2,973
142
Weird constants
I've seen these in real code: #define SCREEN_DIMENSIONS 2 #define THREE_THOUSAND_FIVE_HUNDRED_TWENTY_TWO 3522 What is the weirdest constant you've ever seen?
offtopic
subjective
humor
null
null
09/20/2011 02:06:17
not constructive
Weird constants === I've seen these in real code: #define SCREEN_DIMENSIONS 2 #define THREE_THOUSAND_FIVE_HUNDRED_TWENTY_TWO 3522 What is the weirdest constant you've ever seen?
4
7,758,820
10/13/2011 18:36:36
270,322
02/10/2010 13:52:15
24
3
How to deploy Signed applet with policy file?
Where I need to specify policy.URL.n?? How to deploy the Signed applet with policy file? I want to write, create directory/file, execute some file?? Please help me to deploy the signed applet. Thanks in advance.
java
deployment
applet
signed
policyfiles
10/14/2011 02:35:46
not a real question
How to deploy Signed applet with policy file? === Where I need to specify policy.URL.n?? How to deploy the Signed applet with policy file? I want to write, create directory/file, execute some file?? Please help me to deploy the signed applet. Thanks in advance.
1
1,663,319
11/02/2009 19:56:19
28,351
10/15/2008 19:16:13
86
7
How to allow self-registration to join a specific Wordpress MU blog.
I have a Wordpress MU instance installed. I allow self-registration, and self-creation of blogs. I have a user who has created a blog for a Chemistry class. He wants his 100 students to be able to self-register and become authors on this blog. How do I do this? It would be very painful to have to add the 100...
wordpress-mu
wordpress
blogs
wordpress-plugin
null
null
open
How to allow self-registration to join a specific Wordpress MU blog. === I have a Wordpress MU instance installed. I allow self-registration, and self-creation of blogs. I have a user who has created a blog for a Chemistry class. He wants his 100 students to be able to self-register and become authors on this b...
0
5,638,247
04/12/2011 16:02:22
704,419
04/12/2011 15:41:36
1
0
ONVIF Authentication in .NET 4.0 with Visual Studios 2010
stackoverflow. I've recently begun a new job, and I'm touching for the first time .NET and all related softwares, patterns, concepts and even languages. My task is to try to establish a communication with a ONVIF camera in the building to, eventually, upgrade the company's domotic solution to automatically recognize...
c#
.net
authentication
null
null
null
open
ONVIF Authentication in .NET 4.0 with Visual Studios 2010 === stackoverflow. I've recently begun a new job, and I'm touching for the first time .NET and all related softwares, patterns, concepts and even languages. My task is to try to establish a communication with a ONVIF camera in the building to, eventually, up...
0
6,182,923
05/31/2011 04:10:19
730,009
04/28/2011 19:53:03
6
0
I need help with finding and replacing using regular expression.
The following is a sample string I will be searching which will be on a separate line with other strings: Chapter 1: My name is: Shojib (aka mhs) Here is my regular expression to find that particular line: (Chapter)( )([0-9])(:)( .*) Now I want to keep the words and integers, and remove the punctuation, and separ...
regex
null
null
null
null
06/02/2011 11:42:47
too localized
I need help with finding and replacing using regular expression. === The following is a sample string I will be searching which will be on a separate line with other strings: Chapter 1: My name is: Shojib (aka mhs) Here is my regular expression to find that particular line: (Chapter)( )([0-9])(:)( .*) Now I want...
3
4,356,620
12/05/2010 00:18:37
190,155
10/14/2009 20:25:13
250
2
Cocoa: Drag and Drop any file type
I'm trying to create a drag and drop region that accepts any file type and will upload it to a server (using ASIHTTPRequest). I looked at the following example that Apple provides: [http://developer.apple.com/library/mac/#samplecode/CocoaDragAndDrop/Introduction/Intro.html][1] but it only covers dealing with the ...
objective-c
cocoa
drag-and-drop
file-type
null
null
open
Cocoa: Drag and Drop any file type === I'm trying to create a drag and drop region that accepts any file type and will upload it to a server (using ASIHTTPRequest). I looked at the following example that Apple provides: [http://developer.apple.com/library/mac/#samplecode/CocoaDragAndDrop/Introduction/Intro.html][1]...
0
10,346,922
04/27/2012 07:57:58
1,333,078
04/14/2012 08:59:27
24
3
Regular expresion tracer
I am looking for free alternative for [Regex Match Tracer (v2.0)][1]. There is many regular expresion checkers, but they dont show matches results. I need to check regexp and view all matches. It can by in any language (php, js, or win exe...). Did you know something that? [1]: http://www.regexlab.com/en/mtracer/
regex
null
null
null
null
04/29/2012 09:27:14
not constructive
Regular expresion tracer === I am looking for free alternative for [Regex Match Tracer (v2.0)][1]. There is many regular expresion checkers, but they dont show matches results. I need to check regexp and view all matches. It can by in any language (php, js, or win exe...). Did you know something that? [1]: http://...
4
1,098,308
07/08/2009 14:07:23
61,311
02/01/2009 23:39:04
521
52
Pass current user credentials to remote server
I have an application server (webservice or remoting, not yet decided) on a remote machine and a client on the same domain. I want to authenticate the user as a domain user on the server. I can ask the user to enter their Windows username/password and send those to the server and get the server to check them agains...
windows
null
null
null
null
null
open
Pass current user credentials to remote server === I have an application server (webservice or remoting, not yet decided) on a remote machine and a client on the same domain. I want to authenticate the user as a domain user on the server. I can ask the user to enter their Windows username/password and send those t...
0
8,251,706
11/24/2011 02:52:16
1,063,116
11/24/2011 02:48:17
1
0
If a copyrighted file is on a unprotected web server—but not linked to from anywhere—are you violating copyright?
I placed an image on a U.S. web server inadvertently. Nothing has ever linked to it, but of course a Getty web spider was able to find it and now they are requesting payment. In this case, I'm pretty sure I actually do own the proper license to the image, but while I'm trying to track down that information, I wonder if...
copyright-law
null
null
null
null
11/24/2011 03:34:46
off topic
If a copyrighted file is on a unprotected web server—but not linked to from anywhere—are you violating copyright? === I placed an image on a U.S. web server inadvertently. Nothing has ever linked to it, but of course a Getty web spider was able to find it and now they are requesting payment. In this case, I'm pretty s...
2
5,020,789
02/16/2011 18:54:50
597,272
01/31/2011 18:03:22
16
0
Grooveshark code
Does anyone know what Grooveshark.com is coded in? I mean PHP, rails, flash........?
untagged
null
null
null
null
07/20/2012 13:37:35
off topic
Grooveshark code === Does anyone know what Grooveshark.com is coded in? I mean PHP, rails, flash........?
2
10,860,983
06/02/2012 08:45:54
1,392,200
05/13/2012 13:22:44
6
0
python proxy list check
i have some text file which contain proxy ip . which look like following 130.14.29.111:80 130.14.29.120:80 130.159.235.31:80 14.198.198.220:8909 141.105.26.183:...
python
null
null
null
null
null
open
python proxy list check === i have some text file which contain proxy ip . which look like following 130.14.29.111:80 130.14.29.120:80 130.159.235.31:80 14.198.198.220:8909 ...
0
3,036,782
06/14/2010 11:23:51
366,272
06/14/2010 11:23:51
1
0
create multivalued index
How do we create multivalued index through code.
java
solr
null
null
null
06/15/2010 22:01:33
not a real question
create multivalued index === How do we create multivalued index through code.
1
487,735
01/28/2009 14:08:52
41,021
11/26/2008 13:16:39
847
54
How do you rate programmers?
Does any rating system exist to **rate** the capabilities of a person as a programmer, much like an **Intelligence Quotient** Test, where specific insights on **predefined aspects** are rated based on answers / multiple-choice questions. Ideally in a **language-independent manner** because the core programmer unders...
language-agnostic
programmer-skills
null
null
null
08/08/2011 14:22:25
off topic
How do you rate programmers? === Does any rating system exist to **rate** the capabilities of a person as a programmer, much like an **Intelligence Quotient** Test, where specific insights on **predefined aspects** are rated based on answers / multiple-choice questions. Ideally in a **language-independent manner** ...
2
10,127,723
04/12/2012 16:27:45
1,329,649
04/12/2012 16:22:25
1
0
Windows Azure CDN using https - connection reset
I keep having a problem where I'll randomly get connection resets when trying to access static content from the Azure CDN using https. I have enabled HTTPS on the cdn endpoint and most of the time it works fine, but sometimes it's like it just hangs and no https links to the cdn works. If I change to http it keeps ...
https
azure
cdn
null
null
null
open
Windows Azure CDN using https - connection reset === I keep having a problem where I'll randomly get connection resets when trying to access static content from the Azure CDN using https. I have enabled HTTPS on the cdn endpoint and most of the time it works fine, but sometimes it's like it just hangs and no https...
0
10,504,672
05/08/2012 18:53:05
1,127,181
01/03/2012 04:01:45
132
0
Selecting area rectangle on desktop
I'm trying to create an application in C#.NET that mimics the ability of the Windows 7 snipping tool, where when the application is run (or by a particular keystroke or however I choose to initiate it), the user can draw a rectangle on the screen no matter which window has focus, in order to capture a rectangular snaps...
c#
.net
graphics
screenshot
null
05/10/2012 09:57:32
too localized
Selecting area rectangle on desktop === I'm trying to create an application in C#.NET that mimics the ability of the Windows 7 snipping tool, where when the application is run (or by a particular keystroke or however I choose to initiate it), the user can draw a rectangle on the screen no matter which window has focus...
3
10,856,167
06/01/2012 19:20:41
899,055
08/17/2011 16:30:21
62
0
Performance Issues with DB Design and Heavy Data
I asked the following question regarding DB Design and Performance issue in my application today. http://stackoverflow.com/questions/10846340/db-design-and-data-retrieval-from-a-heavy-table/10846391#comment14126017_10846391 But, could not get much replies on that. I don't know, I may not have explained the questi...
sql-server-2008
database-design
query-optimization
database-performance
null
null
open
Performance Issues with DB Design and Heavy Data === I asked the following question regarding DB Design and Performance issue in my application today. http://stackoverflow.com/questions/10846340/db-design-and-data-retrieval-from-a-heavy-table/10846391#comment14126017_10846391 But, could not get much replies on t...
0
6,190,385
05/31/2011 16:06:38
70,942
02/25/2009 17:01:58
133
26
cmake doesn't display display message
Fedora 15 cmake version 2.8.4 I am using the following CMakeLists.txt. However the status message doesn't display when I run `cmake .` CMAKE_MINIMUM_REQUIRED(VERSION 2.6) PROJECT(proj2 C) IF(CMAKE_COMPILER_IS_GNUCXX) MESSAGE(STATUS "==== GCC detected - Adding compiler flags...
c
cmake
null
null
null
null
open
cmake doesn't display display message === Fedora 15 cmake version 2.8.4 I am using the following CMakeLists.txt. However the status message doesn't display when I run `cmake .` CMAKE_MINIMUM_REQUIRED(VERSION 2.6) PROJECT(proj2 C) IF(CMAKE_COMPILER_IS_GNUCXX) MESSAGE(STATUS...
0
10,219,300
04/18/2012 22:58:36
1,342,624
04/18/2012 22:25:53
1
0
Connect Pantheios logging in a DLL to the main application's logging
Here's the situation: I'm working on a MFC application and want to integrate some logging capabilities into it. I did some research and settled on Pantheios since it seems to be regarded as the best logging API out there. I had no problems getting simple logging up and running - I even threw in some callback stuff to c...
visual-c++
mfc
pantheios
null
null
null
open
Connect Pantheios logging in a DLL to the main application's logging === Here's the situation: I'm working on a MFC application and want to integrate some logging capabilities into it. I did some research and settled on Pantheios since it seems to be regarded as the best logging API out there. I had no problems gettin...
0
5,657,841
04/14/2011 02:15:13
285,856
03/03/2010 23:56:47
564
24
Get id attribute from another element in same list item with Jquery
<li class="ui-li ui-li-static ui-body-c"> <p class="ui-li-aside ui-li-desc"></p> <span id="122"></span> <h3 class="ui-li-heading"></h3> <p class="ui-li-desc"></p> <p class="ui-li-desc"><a class="ui-link">Report</a></p> </li> So here is my HTML markup. Goal: I ...
jquery
html
null
null
null
null
open
Get id attribute from another element in same list item with Jquery === <li class="ui-li ui-li-static ui-body-c"> <p class="ui-li-aside ui-li-desc"></p> <span id="122"></span> <h3 class="ui-li-heading"></h3> <p class="ui-li-desc"></p> <p class="ui-li-desc"><a class="ui-...
0
4,663,809
01/11/2011 23:20:42
408,244
08/02/2010 02:03:07
35
0
Can I declare the DirectoryIndex In .htaccess Non-recursively?
In my /httpdocs/ folder I need to change the filename of index.php. I did this by writing a new line to my .htaccess file: DirectoryIndex index2.php However, it seems that all subfolders under /httpdocs/ were looking for index2.php for their DirectoryIndex file. Is there a way I can alter the DirectoryIndex f...
.htaccess
recursion
directoryindex
null
null
null
open
Can I declare the DirectoryIndex In .htaccess Non-recursively? === In my /httpdocs/ folder I need to change the filename of index.php. I did this by writing a new line to my .htaccess file: DirectoryIndex index2.php However, it seems that all subfolders under /httpdocs/ were looking for index2.php for their ...
0
4,962,528
02/10/2011 20:51:20
483,777
10/22/2010 03:32:01
1
0
Offline access to FB graph api from Javascript SDK.
How do you query facebook's graph api via the javascript sdk for users that have allready given you permissions (offline access) and whose auth data you have stored, but who are not currently logged in to facebook?
facebook
facebook-graph-api
facebook-javascript-sdk
null
null
null
open
Offline access to FB graph api from Javascript SDK. === How do you query facebook's graph api via the javascript sdk for users that have allready given you permissions (offline access) and whose auth data you have stored, but who are not currently logged in to facebook?
0
10,174,936
04/16/2012 13:19:23
831,110
07/06/2011 08:02:20
33
4
How to get row index of listview from custom list adapter?
I have two layouts 1. **main.xml** ----- With a single ListView (say `listview_01`). 2. **row.xml** ----- With an ImageView(say `imageView_01`) & a TextView(say `textView_01`) I am filling my `listview_01` with `row.xml` as row using `array data` i have. I wanted to perform an operation on `onclick()` event ...
android
null
null
null
null
null
open
How to get row index of listview from custom list adapter? === I have two layouts 1. **main.xml** ----- With a single ListView (say `listview_01`). 2. **row.xml** ----- With an ImageView(say `imageView_01`) & a TextView(say `textView_01`) I am filling my `listview_01` with `row.xml` as row using `array data`...
0
859,095
05/13/2009 16:51:24
1,009
08/11/2008 13:01:27
613
40
What is the reason for the rise of programmers using Apple machines
I noticed a rise in the number of developers (mostly doing web development) using Apple machines. Does Mac OS offer a better environment for programming or is because of the hardware? What are the reasons?
apple
null
null
null
null
06/06/2012 12:53:10
off topic
What is the reason for the rise of programmers using Apple machines === I noticed a rise in the number of developers (mostly doing web development) using Apple machines. Does Mac OS offer a better environment for programming or is because of the hardware? What are the reasons?
2
10,378,566
04/30/2012 04:38:23
1,365,032
04/30/2012 04:27:09
1
0
Videos uploaded from iPhone that are greater than ~25MB appear corrupted
I am a bit new to the iPhone development. Using the following code on an iPhone app to upload images and videos (.mov) to an IIS web server (.aspx page). Pictures upload just fine no issues. However, when I try uploading videos, videos less than ~25MB upload and play fine with no issues. If I go for bigger videos (abov...
iphone
video
upload
webserver
asiformdatarequest
null
open
Videos uploaded from iPhone that are greater than ~25MB appear corrupted === I am a bit new to the iPhone development. Using the following code on an iPhone app to upload images and videos (.mov) to an IIS web server (.aspx page). Pictures upload just fine no issues. However, when I try uploading videos, videos less t...
0
4,040,888
10/28/2010 08:05:24
50,394
12/31/2008 04:52:41
9,714
435
Maven directory structure
I'm new to Maven and I've been reading all morning tutorials (amazing tool). This new Java project I started looking at however doesn't use the default directory structure. Instead of `src/main/java` for sources it uses something like `src/org/myapp`. When I run `mvn package` on the project (where `pom.xml` is lo...
java
maven-2
null
null
null
null
open
Maven directory structure === I'm new to Maven and I've been reading all morning tutorials (amazing tool). This new Java project I started looking at however doesn't use the default directory structure. Instead of `src/main/java` for sources it uses something like `src/org/myapp`. When I run `mvn package` on the...
0
10,612,495
05/16/2012 05:23:17
1,397,728
05/16/2012 05:12:56
1
0
how add an access list to Switch of Cisco Catalyst 2960
i have learned to drop a MAC address from the Switch, so that the system with the drop MAC address cannot use be connected to the internet... what i want is, i have a list valid MAC address, connect the system to the internet with the MAC address specified to the switch... if any other invalid MAC address syste...
java
sockets
telnet
null
null
05/16/2012 20:27:44
off topic
how add an access list to Switch of Cisco Catalyst 2960 === i have learned to drop a MAC address from the Switch, so that the system with the drop MAC address cannot use be connected to the internet... what i want is, i have a list valid MAC address, connect the system to the internet with the MAC address specifi...
2
8,601,482
12/22/2011 09:00:37
598,511
02/01/2011 14:16:14
444
18
jquery on vs click methods
I know that the on method, http://api.jquery.com/on/, is supposed to replace live, delegate etc. But is there any point of using it on places where youre currently using the click event, http://api.jquery.com/click/? On elements that are not dynamically generated for example. Thanks
jquery
null
null
null
null
null
open
jquery on vs click methods === I know that the on method, http://api.jquery.com/on/, is supposed to replace live, delegate etc. But is there any point of using it on places where youre currently using the click event, http://api.jquery.com/click/? On elements that are not dynamically generated for example. Thanks
0
9,065,498
01/30/2012 14:36:24
1,178,245
01/30/2012 14:24:03
1
0
Installing Certificates Programatically using Win32 Crypto API
I am trying to programatically install certificate to Windows Certificate Store, for this i am trying to get the information from certificate to see which store i need to open, but it seems not to work properly. Can someone please help me in this, and see what i am missing from below code. When I double click the certi...
winapi
certificate
cryptoapi
null
null
null
open
Installing Certificates Programatically using Win32 Crypto API === I am trying to programatically install certificate to Windows Certificate Store, for this i am trying to get the information from certificate to see which store i need to open, but it seems not to work properly. Can someone please help me in this, and ...
0
8,965,903
01/23/2012 00:03:02
1,164,099
01/22/2012 23:58:24
1
0
wcf duplex binding real environments
Please i want a some examples of **real environments** of where to use wcf duplex binding, and differences between other bindings or links to any good and well explained example. thank u
wcf-binding
null
null
null
null
01/23/2012 15:39:21
not a real question
wcf duplex binding real environments === Please i want a some examples of **real environments** of where to use wcf duplex binding, and differences between other bindings or links to any good and well explained example. thank u
1
7,290,142
09/02/2011 23:27:47
663,148
03/16/2011 19:31:05
158
0
Any url that starts with the pattern.. do this
I want to compare url A (`http://www.somehost.com/citizenship/wireless-reach/news-and-resources`) with the pattern url B (`http://www.somehost/.*/wireless-reach`) and if that URL A starts with the pattern url B then do this thing.. As URL A is originated from the URL B.. As in the below case it is not matching but this...
java
regex
pattern-matching
null
null
null
open
Any url that starts with the pattern.. do this === I want to compare url A (`http://www.somehost.com/citizenship/wireless-reach/news-and-resources`) with the pattern url B (`http://www.somehost/.*/wireless-reach`) and if that URL A starts with the pattern url B then do this thing.. As URL A is originated from the URL ...
0
3,655,727
09/07/2010 04:16:11
239,786
12/28/2009 20:41:13
22
1
How can I make a window or NSPanel out of an image?
I'm trying to add some style to my app and it's driving me crazy. I'm wanting to take a image that is transparent and use it as a window or NSPanel. I'm thinking this will have to be done programmatically but I would like to do it in Interface Builder. How can I achieve this effect either way. So far, I've tried both w...
objective-c
cocoa
xcode
osx
null
null
open
How can I make a window or NSPanel out of an image? === I'm trying to add some style to my app and it's driving me crazy. I'm wanting to take a image that is transparent and use it as a window or NSPanel. I'm thinking this will have to be done programmatically but I would like to do it in Interface Builder. How can I ...
0
514,948
02/05/2009 07:52:33
4,093
09/01/2008 18:31:02
423
12
What are the pros and cons for using a IOC container?
Using a IOC container will decrease the speed of your application because most of them uses reflection under the hood. They also can make your code more difficult to understand(?). On the bright side; they help you create more loosely coupled applications and makes unit testing easier. Are there other pros and cons for...
inversion-of-control
ioc-container
pros-cons
null
null
null
open
What are the pros and cons for using a IOC container? === Using a IOC container will decrease the speed of your application because most of them uses reflection under the hood. They also can make your code more difficult to understand(?). On the bright side; they help you create more loosely coupled applications and m...
0
10,450,387
05/04/2012 14:01:27
1,323,140
04/10/2012 03:51:05
1
0
DOUBLY LINKED LIST FORTRAN. PRINT FROM TAIL TO HEAD
I AM TRYING TO PRINT OUT A DOUBLY LINKED LIST. I AM ABLE TO GET THE LIST TO PRINT FROM HEAD TO TAIL.. HOWEVER WHEN I PRINT TAIL TO HEAD ONLY THE HEAD WILL PRINT. THIS IS THE LAST PART OF THE CODE. I HAVE INCLUDED THE LINK LIST CODE. ANY SUGGESTIONS? *INPUT UP TO EOF NULLIFY(HEAD,TAIL) DO WHILE...
algorithm
linked-list
fortran
fortran90
null
05/15/2012 06:54:11
too localized
DOUBLY LINKED LIST FORTRAN. PRINT FROM TAIL TO HEAD === I AM TRYING TO PRINT OUT A DOUBLY LINKED LIST. I AM ABLE TO GET THE LIST TO PRINT FROM HEAD TO TAIL.. HOWEVER WHEN I PRINT TAIL TO HEAD ONLY THE HEAD WILL PRINT. THIS IS THE LAST PART OF THE CODE. I HAVE INCLUDED THE LINK LIST CODE. ANY SUGGESTIONS? *IN...
3
7,784,841
10/16/2011 14:14:46
466,192
10/04/2010 20:10:16
865
31
Ideas on a recipe editor (in jquery)
I have to write a recipe editor (for web, using jquery), and I would like to hear your ideas on it. The goal is that in a first step, all the ingredients are entered (amount, unit and ingredient name; for example '1, kg, flower'); and in a second step the actual recipe is entered, using these ingredients. The idea i...
c#
jquery
asp.net-mvc-3
validation
editor
10/16/2011 15:05:24
off topic
Ideas on a recipe editor (in jquery) === I have to write a recipe editor (for web, using jquery), and I would like to hear your ideas on it. The goal is that in a first step, all the ingredients are entered (amount, unit and ingredient name; for example '1, kg, flower'); and in a second step the actual recipe is en...
2
5,438,301
03/25/2011 21:26:36
117,527
06/04/2009 17:43:15
729
23
Common uses of AI techniques
I am a build engineer in my current position but I dabble in applying AI techniques to improve our capabilities. What I am interested in is how your teams use AI Techniques (Pattern Recognition, Machine Learning, Bayesian Classification, or Neural Networks) in real life. I am looking for ideas on other ways of impro...
artificial-intelligence
machine-learning
null
null
null
03/26/2011 00:42:19
not a real question
Common uses of AI techniques === I am a build engineer in my current position but I dabble in applying AI techniques to improve our capabilities. What I am interested in is how your teams use AI Techniques (Pattern Recognition, Machine Learning, Bayesian Classification, or Neural Networks) in real life. I am lookin...
1
7,591,968
09/29/2011 02:53:21
438,822
09/03/2010 09:38:01
240
0
counting number of occurrences of an object in a list
I am trying to find the number of occurrences of an object in a list: class Complex{ double re, im; public: Complex (double r, double i):re(r), im(i){} Complex (){re = im = 0;} friend bool operator == (Complex, Complex); }; bool operator == (Complex ...
c++
list
compiler-errors
null
null
null
open
counting number of occurrences of an object in a list === I am trying to find the number of occurrences of an object in a list: class Complex{ double re, im; public: Complex (double r, double i):re(r), im(i){} Complex (){re = im = 0;} friend bool operator == (Co...
0
5,190,369
03/04/2011 06:16:53
644,218
03/04/2011 06:16:53
1
0
Facebook app develop - get only friends with birthday
I was searching for this topic but with no luck. I currently got all the friends from user (name,id,birthday). Is there any way to prevent from checking all the friend birthday list and just get from the user a list of friends that have birthday? (**from the Facebook birthday app reminder** ) thanks
php
facebook-graph-api
null
null
null
null
open
Facebook app develop - get only friends with birthday === I was searching for this topic but with no luck. I currently got all the friends from user (name,id,birthday). Is there any way to prevent from checking all the friend birthday list and just get from the user a list of friends that have birthday? (**from th...
0
11,076,058
06/18/2012 01:20:41
64,668
02/10/2009 17:06:41
1,514
60
querying data from client using signalR
We are planning to use signalR in place of wcf dual communication, since the latter has firewall issues because of port Everything works great so far, i am able to 1. subscribe to hub event from proxy `proxy.On<Type>()` 2. send data to clients using `Clients.MethodName(arg1, arg2)` but iam not able to figu...
c#
signalr
null
null
null
06/18/2012 04:44:41
too localized
querying data from client using signalR === We are planning to use signalR in place of wcf dual communication, since the latter has firewall issues because of port Everything works great so far, i am able to 1. subscribe to hub event from proxy `proxy.On<Type>()` 2. send data to clients using `Clients.Method...
3
6,115,615
05/24/2011 19:13:05
584,610
01/21/2011 15:05:55
72
0
C code question
When I entry a value for J variable,I am receive the error. #include<stdio.h> int main(void) { int num[0][0]; int ave, i, j; int a ,b; int sum = 0; printf("Enter numbers of row for i"); scanf ("%d", a); printf("Enter numbers of column for j"); scanf ("%d...
c
null
null
null
null
05/24/2011 20:51:25
not a real question
C code question === When I entry a value for J variable,I am receive the error. #include<stdio.h> int main(void) { int num[0][0]; int ave, i, j; int a ,b; int sum = 0; printf("Enter numbers of row for i"); scanf ("%d", a); printf("Enter numbers of column for...
1
2,194,432
02/03/2010 18:32:49
18,926
09/19/2008 14:55:03
492
17
Web User Controls, Javascript and Script Managers
Is there a way to only add a script manager to your Web User Control if there is not one already on the page (on the main page or if you are using the Web User Control multiple times)? Same question about adding javascript files to the page, many times I have controls that add the javascript into the head of the pag...
asp.net
web-user-controls
null
null
null
null
open
Web User Controls, Javascript and Script Managers === Is there a way to only add a script manager to your Web User Control if there is not one already on the page (on the main page or if you are using the Web User Control multiple times)? Same question about adding javascript files to the page, many times I have co...
0
10,663,168
05/19/2012 07:13:49
931,303
09/06/2011 18:15:59
598
15
Add LAteX to Blender
Is it possible to add LateX symbols to blender? For instance if I want to generate a 3D \theta on the Blender. I've searched on google and I've got no luck.
latex
blender
null
null
null
05/20/2012 01:27:01
not a real question
Add LAteX to Blender === Is it possible to add LateX symbols to blender? For instance if I want to generate a 3D \theta on the Blender. I've searched on google and I've got no luck.
1