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,095,936
02/23/2011 19:22:41
630,285
02/23/2011 13:46:43
6
0
Are flash cookies the same as http cookies?
Are flash cookies the same as http cookies? Libolai hammen akhen?
c#
flash
eclipse
cookies
null
null
open
Are flash cookies the same as http cookies? === Are flash cookies the same as http cookies? Libolai hammen akhen?
0
9,054,644
01/29/2012 16:19:01
1,161,054
01/20/2012 16:53:28
16
0
mysql 'as' using table name
i want to use string as table name in mysql like below select ('user' as b) from b; does anyone want to help me in this case? ------------------------------------------------------ mysql> select 'user' as b from b; ERROR 1146 (42S02): Table 'test.b' doesn't exist mysql> select ('user' as b) ...
mysql
sql
table
sql-injection
null
01/30/2012 17:55:15
not a real question
mysql 'as' using table name === i want to use string as table name in mysql like below select ('user' as b) from b; does anyone want to help me in this case? ------------------------------------------------------ mysql> select 'user' as b from b; ERROR 1146 (42S02): Table 'test.b' doesn't exist ...
1
10,572,866
05/13/2012 15:17:16
289,246
03/08/2010 23:30:38
2,495
69
jquery validate according to radio button
I am using jQuery validation plugin. I have two radio button A and B. When A is chosen, I display 3 input fields. When B is chosen I display other 3 input fields. How can I use the validation plugin in order to validate the relevant items only according to the radio buttons?
jquery
validation
jquery-validate
null
null
05/14/2012 17:35:04
not a real question
jquery validate according to radio button === I am using jQuery validation plugin. I have two radio button A and B. When A is chosen, I display 3 input fields. When B is chosen I display other 3 input fields. How can I use the validation plugin in order to validate the relevant items only according to the radi...
1
7,275,364
09/01/2011 19:21:04
722,233
04/24/2011 00:15:21
6
0
Error in code block
i am getting two errors in code block cant able to remove them.i think they are linking errors. ERRORS : ld can't find -lc ld can't find -lm plz suggest me some solution
c
codeblocks
null
null
null
09/02/2011 01:50:28
not a real question
Error in code block === i am getting two errors in code block cant able to remove them.i think they are linking errors. ERRORS : ld can't find -lc ld can't find -lm plz suggest me some solution
1
4,152,321
11/11/2010 07:50:41
413,016
08/06/2010 12:17:29
41
0
How to automate an INSERT INTO process in SQLite ?
I have created a database - tasks.db - with SQLite. This database has one table - todo - with the following fields : id (pk), date (NOW with trigger), project, duedate, status, description To enter a new row in SQLite from the command line, I have to write : sqlite3 tasks.db "insert into todo (project,duedate,s...
bash
scripting
sqlite3
null
null
null
open
How to automate an INSERT INTO process in SQLite ? === I have created a database - tasks.db - with SQLite. This database has one table - todo - with the following fields : id (pk), date (NOW with trigger), project, duedate, status, description To enter a new row in SQLite from the command line, I have to write : ...
0
4,284,242
11/26/2010 10:00:29
434,457
08/29/2010 22:23:26
6
2
How to override CursorAdapter bindView
I'm trying to display information from a Cursor in a ListView, each row contains a ImageView and a TextView. I have a CustomCursorAdapter extending CursorAdapter, in bindView I evaluate the data from the cursor and based on that set the views image and text. When I run the app the ListView displayes the correct amou...
android
sqlite
cursor
override
null
null
open
How to override CursorAdapter bindView === I'm trying to display information from a Cursor in a ListView, each row contains a ImageView and a TextView. I have a CustomCursorAdapter extending CursorAdapter, in bindView I evaluate the data from the cursor and based on that set the views image and text. When I run the...
0
4,066,295
11/01/2010 02:18:15
359,984
06/07/2010 01:56:25
30
6
Validating iPhone http requests
I have an iPhone game and I use a LASSO web page to add scores to a MySQL database. It now works fine, but I am getting one 'user' that submitted hundreds of impossibly good scores in succession. I know this could not have done the 'legal' way. I am now updating the app and want to avoid such nonsense. My initial th...
iphone
mysql
http
null
null
null
open
Validating iPhone http requests === I have an iPhone game and I use a LASSO web page to add scores to a MySQL database. It now works fine, but I am getting one 'user' that submitted hundreds of impossibly good scores in succession. I know this could not have done the 'legal' way. I am now updating the app and want t...
0
1,721,408
11/12/2009 10:51:46
39,709
11/21/2008 16:22:36
4,196
138
Dependency Injection - is this how it's meant to look?
Our project is using constructor-based Dependency Injection (we're using Unity as our container) and we have a number of constructors which have acquired a large number of parameters. For example: public FooRequestService( ITransactionDataBuilder transactionDataBuilder, IMapper<S...
unity
dependency-injection
discussion
null
null
04/05/2012 14:38:17
not constructive
Dependency Injection - is this how it's meant to look? === Our project is using constructor-based Dependency Injection (we're using Unity as our container) and we have a number of constructors which have acquired a large number of parameters. For example: public FooRequestService( ITransacti...
4
5,586,868
04/07/2011 19:59:31
670,111
03/21/2011 20:13:39
91
12
why does my direct traffic have 70% New visits
I thought direct traffic are people who type the website name or click the bookmark meaning they are returning visitors. but why does GA show 70% new visits in my direct traffic
seo
google-analytics
webmaster
null
null
04/19/2011 13:08:56
off topic
why does my direct traffic have 70% New visits === I thought direct traffic are people who type the website name or click the bookmark meaning they are returning visitors. but why does GA show 70% new visits in my direct traffic
2
1,823
08/05/2008 02:17:45
145
08/02/2008 14:40:17
93
5
Writing A "Conway's Game of Life" Program
Alright, so I've always wanted to write myself a nice little **Game of Life** program where you could play with the rules and adjust the number of cells and such; I've just never really had the time to mess around to do this (until recently). I understand the basic algorithm and such (if you don't, go to the [Game of ...
language-agnostic
gui
simulation
null
null
05/21/2012 17:07:23
not constructive
Writing A "Conway's Game of Life" Program === Alright, so I've always wanted to write myself a nice little **Game of Life** program where you could play with the rules and adjust the number of cells and such; I've just never really had the time to mess around to do this (until recently). I understand the basic algori...
4
10,286,861
04/23/2012 19:22:07
1,013,338
10/25/2011 18:46:50
29
0
PHP: Another regex I can't figure out
I'm having trouble with 2 regular expressions in PHP **1. stripping http(s):// and www.** https://www.google.be/search?sclient=psy-ab&q=regex&oq=regex http://www.google.be/search?sclient=psy-ab&q=regex&oq=regex https://google.be/search?sclient=psy-ab&q=regex&oq=regex http://google.be/search?scl...
php
regex
null
null
null
04/23/2012 22:37:22
not a real question
PHP: Another regex I can't figure out === I'm having trouble with 2 regular expressions in PHP **1. stripping http(s):// and www.** https://www.google.be/search?sclient=psy-ab&q=regex&oq=regex http://www.google.be/search?sclient=psy-ab&q=regex&oq=regex https://google.be/search?sclient=psy-ab&q=rege...
1
4,154,790
11/11/2010 13:18:34
502,980
11/10/2010 09:28:08
1
0
in an array how to find a no whish is near to zero
in an array how to find a element which is near about zero, and how to delete duplicate element from an array...............
java
null
null
null
null
11/11/2010 13:34:01
not a real question
in an array how to find a no whish is near to zero === in an array how to find a element which is near about zero, and how to delete duplicate element from an array...............
1
7,090,726
08/17/2011 09:38:46
898,359
08/17/2011 09:38:46
1
0
Sell a component that I made what website engine do I use?
I want to sell a component that I made. a single component, I am looking for a website engine that will deal with collecting payments, and sending the component once bought. If anyone has experiance with this please give a shout what product I can use! Thank you.
web-services
null
null
null
null
08/17/2011 11:14:18
off topic
Sell a component that I made what website engine do I use? === I want to sell a component that I made. a single component, I am looking for a website engine that will deal with collecting payments, and sending the component once bought. If anyone has experiance with this please give a shout what product I can use! ...
2
2,046,792
01/12/2010 04:57:07
52,752
01/08/2009 03:11:25
1,018
13
How to Server.Transfer Response.Redirect using System.Web.Routing in Web Forms?
I am using System.Web.Routing with ASP.NET (3.5) Web Forms that will URL rewrite the following URL from - http://www.myurl.com/campaign/abc to - http://www.myurl.com/default.aspx?campaign=abc The code is as below: public static void RegisterRoutes(RouteCollection routes) { routes.Add(...
asp.net
url-rewriting
url-routing
webforms
null
null
open
How to Server.Transfer Response.Redirect using System.Web.Routing in Web Forms? === I am using System.Web.Routing with ASP.NET (3.5) Web Forms that will URL rewrite the following URL from - http://www.myurl.com/campaign/abc to - http://www.myurl.com/default.aspx?campaign=abc The code is as below: ...
0
8,282,903
11/27/2011 01:06:16
190,234
10/14/2009 22:54:27
54
2
Machine parsable list of html5 tags and attributes
I looked almost everywhere, but I simply cannot find any machine parsable html5 reference. For html 4 / xhtml I could simply parse DTD, but for html5 there's no dtd. Is there ANY reference except for draft at http://dev.w3.org/html5/ ? (btw. html sructure of this draft is crap). I need: - list of tags - list...
html5
w3c
null
null
null
null
open
Machine parsable list of html5 tags and attributes === I looked almost everywhere, but I simply cannot find any machine parsable html5 reference. For html 4 / xhtml I could simply parse DTD, but for html5 there's no dtd. Is there ANY reference except for draft at http://dev.w3.org/html5/ ? (btw. html sructure of...
0
6,773,589
07/21/2011 08:59:40
855,547
07/21/2011 08:58:44
1
0
PHP Security Flaws?
Our team is developing a web app in the financial space using PHP. The big question that comes up first is always security related. What are the main security risks associated with PHP or scripted languages in general verus a more accepted (in the space) Java written app?
java
php
security
null
null
07/21/2011 09:15:53
not constructive
PHP Security Flaws? === Our team is developing a web app in the financial space using PHP. The big question that comes up first is always security related. What are the main security risks associated with PHP or scripted languages in general verus a more accepted (in the space) Java written app?
4
7,047,978
08/13/2011 01:35:38
892,655
08/13/2011 01:35:38
1
0
Photo post processing issue
I am facing a very annoying problem of photography. I am using DPP (Digital Photo Professional) for post processing of raw file, same photographs looks good on one monitor but becomes dark (high contrast) on other. Is there any way I can save color profile of photo with photograph it self, so that its appearanc...
image
processing
photography
null
null
08/13/2011 05:47:28
off topic
Photo post processing issue === I am facing a very annoying problem of photography. I am using DPP (Digital Photo Professional) for post processing of raw file, same photographs looks good on one monitor but becomes dark (high contrast) on other. Is there any way I can save color profile of photo with photogra...
2
8,792,712
01/09/2012 17:41:12
1,139,252
01/09/2012 17:39:24
1
0
Redirect all m. subdomain traffic to the normal tld.com site
Can I just make a normal m.domain.com subdomain and then somehow use .htaccess to redirect/rewrite it to the tld? I'm using Wordpress and all I will do at that point is detect if there is a m. subdomain and show a mobile template instead of the regular site.
apache
wordpress
.htaccess
godaddy
null
01/10/2012 20:35:10
off topic
Redirect all m. subdomain traffic to the normal tld.com site === Can I just make a normal m.domain.com subdomain and then somehow use .htaccess to redirect/rewrite it to the tld? I'm using Wordpress and all I will do at that point is detect if there is a m. subdomain and show a mobile template instead of the regu...
2
10,488,927
05/07/2012 20:49:47
1,218,317
02/18/2012 16:42:38
65
0
What is the HASH in a torrent the hash of?
I noticed while downloading a torrent that a hash is given. I tried calculating the hash of the .torrent file but they did not match. So I assumed that it is the hash of the files the torrent will download. But a hash is calculated on a single file and there are multiple files that are downloading using a single torren...
hash
null
null
null
null
05/07/2012 21:15:36
off topic
What is the HASH in a torrent the hash of? === I noticed while downloading a torrent that a hash is given. I tried calculating the hash of the .torrent file but they did not match. So I assumed that it is the hash of the files the torrent will download. But a hash is calculated on a single file and there are multiple ...
2
2,608,448
04/09/2010 14:55:11
312,902
04/09/2010 14:55:11
1
0
Ajax : Internet Explorer error
I am working on a login form. The Ajax code is as follows: /* ---------------------------- */ /* XMLHTTPRequest Enable */ /* ---------------------------- */ function createObject() { var request_type; var browser = navigator.appName; if(browser == "Microsoft Internet Explorer"){ ...
ajax
php
null
null
null
null
open
Ajax : Internet Explorer error === I am working on a login form. The Ajax code is as follows: /* ---------------------------- */ /* XMLHTTPRequest Enable */ /* ---------------------------- */ function createObject() { var request_type; var browser = navigator.appName; if(browser =...
0
6,607,097
07/07/2011 07:11:14
833,023
07/07/2011 07:11:14
1
0
Filter tree in Vaadin
I want to hide leafs from vaadin tree according to text in some editbox (on text change). ie if text in editbox is "ab" i want to show only leafs with text starting with "ab". and if text is empty, i want to show all leafs. How can i make that?
java
tree
filtering
vaadin
null
null
open
Filter tree in Vaadin === I want to hide leafs from vaadin tree according to text in some editbox (on text change). ie if text in editbox is "ab" i want to show only leafs with text starting with "ab". and if text is empty, i want to show all leafs. How can i make that?
0
10,272,374
04/22/2012 21:43:15
1,078,381
12/02/2011 23:27:33
102
3
Wrapper function for unkown formula
Is there any way to create such function? For ex: i need to calculate the area of triangle, and i don't remember the right formula to calculate this and there is no internet or other sources of some info neer to me. What i do remember that arguments for such function are some side **b** and height **h**. So i want to...
java
python
function
null
null
null
open
Wrapper function for unkown formula === Is there any way to create such function? For ex: i need to calculate the area of triangle, and i don't remember the right formula to calculate this and there is no internet or other sources of some info neer to me. What i do remember that arguments for such function are some ...
0
8,369,619
12/03/2011 17:45:09
1,079,229
12/03/2011 17:40:23
1
0
Error code while watch Flowplayer videos
I trying to watch the videos flowplayer type, but when i click play the video it keep on coming out this error code >> 200,stream not found,netstream.play.streamnotfound,clip:[Clip] Can you tell me how to fix this? is it my computer or the web server problem?i got windows 7 64 bit.
flowplayer
null
null
null
null
12/04/2011 18:20:11
off topic
Error code while watch Flowplayer videos === I trying to watch the videos flowplayer type, but when i click play the video it keep on coming out this error code >> 200,stream not found,netstream.play.streamnotfound,clip:[Clip] Can you tell me how to fix this? is it my computer or the web server problem?i got window...
2
4,080,796
11/02/2010 18:16:37
353,953
05/30/2010 11:07:43
3
0
How to write sequential commands in batch file
I want ot execute the following commands using batch file: 1.ftp 127.0.0.1 2.USERNAME 3.PASSWORD 4.put 5.D:\\zz.xml 6.mmm.xml Each command is a sequence of the prev command I want to move file from local to ftp server I googled for that and I found that insert ; between commands is the solution b...
c#
batch-file
command-prompt
null
null
null
open
How to write sequential commands in batch file === I want ot execute the following commands using batch file: 1.ftp 127.0.0.1 2.USERNAME 3.PASSWORD 4.put 5.D:\\zz.xml 6.mmm.xml Each command is a sequence of the prev command I want to move file from local to ftp server I googled for that and I fou...
0
7,509,002
09/22/2011 02:47:01
958,191
09/22/2011 02:47:01
1
0
vb.net activated fires multiple times
I want to update a database based on the form that is currently activated. I had originally decided to use the GotFocus event. However I now understand that will not work as the form has controls on it. So I then thought I wouls use the activated event. This works but seems to fire multiple times. I put in the fol...
vb.net
multiple
activated
null
null
null
open
vb.net activated fires multiple times === I want to update a database based on the form that is currently activated. I had originally decided to use the GotFocus event. However I now understand that will not work as the form has controls on it. So I then thought I wouls use the activated event. This works but seem...
0
9,527,995
03/02/2012 04:30:24
1,244,279
03/02/2012 04:12:41
1
0
vimeo simple api suddenly stopped working without change to php
On a client's website I have set up the vimeo simple api to pull a list of videos in an album and display them when they are clicked. Without change, the pages have suddenly stopped working. I did a bit of troubleshooting and was able to pinpoint what was causing the problem but can't seem to figure out a solution t...
php
api
gallery
vimeo
null
null
open
vimeo simple api suddenly stopped working without change to php === On a client's website I have set up the vimeo simple api to pull a list of videos in an album and display them when they are clicked. Without change, the pages have suddenly stopped working. I did a bit of troubleshooting and was able to pinpoint w...
0
8,460,437
12/10/2011 22:31:20
238,099
12/24/2009 07:15:18
117
5
Lightweight Objective-C XMPP Sever
How would I go about building an Objective-C server? Atleast a wrapper for an existing C server? I require the XMPP Sever to be independent: self-contained, and doesn't require extra libs/ mySQL/ etc. Where do I start?
objective-c
cocoa
xmpp
null
null
12/11/2011 14:41:34
not a real question
Lightweight Objective-C XMPP Sever === How would I go about building an Objective-C server? Atleast a wrapper for an existing C server? I require the XMPP Sever to be independent: self-contained, and doesn't require extra libs/ mySQL/ etc. Where do I start?
1
3,925,982
10/13/2010 16:44:59
253,489
01/18/2010 20:07:08
16
0
clock in/out time logging program
I would like to make an application that can be run directly from the computer. What I want to do Is allow employees to clock in and out through out the day. I want it to send the the time of check in/out to a remote database. I would like to make an .exe file and I would like for it to have a few input fields along wi...
c#
c++
null
null
null
10/13/2010 17:22:37
not a real question
clock in/out time logging program === I would like to make an application that can be run directly from the computer. What I want to do Is allow employees to clock in and out through out the day. I want it to send the the time of check in/out to a remote database. I would like to make an .exe file and I would like for...
1
8,882,799
01/16/2012 16:11:42
1,014,732
10/26/2011 14:13:10
6
0
Visual Studio 2010 ASP.NET Website issue with IIS
I have built a web application ASP.NET perfectly working when deployed within visual studio. The problem occurs when I try to publish it within my web application: all the files are correctly deployed into c\inetpub\wwwroot, my welcome.aspx page is displayed correctly, but NONE of the other pages/pictures are available...
asp.net
iis7
null
null
null
null
open
Visual Studio 2010 ASP.NET Website issue with IIS === I have built a web application ASP.NET perfectly working when deployed within visual studio. The problem occurs when I try to publish it within my web application: all the files are correctly deployed into c\inetpub\wwwroot, my welcome.aspx page is displayed correc...
0
8,475,351
12/12/2011 13:51:11
1,042,721
11/12/2011 02:08:51
51
5
TDebugInterfacedObject in which unit?
I need to find TDebugInterfacedObject defined in which unit ? Do you know where it is ?
delphi
null
null
null
null
12/12/2011 18:22:40
too localized
TDebugInterfacedObject in which unit? === I need to find TDebugInterfacedObject defined in which unit ? Do you know where it is ?
3
3,340,672
07/27/2010 04:05:28
364,314
06/11/2010 07:36:11
1
1
array of Type in xaml?
is there a way to declare an array of types in xaml? maybe something like this? <x:Array Type="x:Type"> <x:Type se:MyType1/> <x:Type se:MyType2/> <x:Type se:MyType3/> </x:Array>
wpf
xaml
null
null
null
null
open
array of Type in xaml? === is there a way to declare an array of types in xaml? maybe something like this? <x:Array Type="x:Type"> <x:Type se:MyType1/> <x:Type se:MyType2/> <x:Type se:MyType3/> </x:Array>
0
9,238,485
02/11/2012 07:06:05
1,118,218
12/27/2011 20:05:43
5
0
How do I see if my silverlight control is "Minimized" or "Maximized"
Silverlight newbie here, so I apologize if this question isn't even worded correctly. I am playing around with a richtextbox and storyboard animations. Basically, on mouseenter animate to 100px, on mouseleave animate to 0px. This is fairly basic, but what I can't figure out is how to see if it is in the minimize ...
silverlight
state
null
null
null
null
open
How do I see if my silverlight control is "Minimized" or "Maximized" === Silverlight newbie here, so I apologize if this question isn't even worded correctly. I am playing around with a richtextbox and storyboard animations. Basically, on mouseenter animate to 100px, on mouseleave animate to 0px. This is fairly ...
0
9,774,453
03/19/2012 17:00:02
822,718
06/30/2011 09:11:26
1
0
Create an Array of Objects in Javascript
I want to create this structure dynamically in Javascript: var myCols = [ {data1: 'A', data2: '0', data3: 1}, {data1: 'B', data2: '1', data3: 1}, {data1: 'C', data2: '2', data3: 1} ]; How can I do this? Thank you in Advance.
javascript
object
dynamic-arrays
null
null
03/19/2012 17:19:39
not a real question
Create an Array of Objects in Javascript === I want to create this structure dynamically in Javascript: var myCols = [ {data1: 'A', data2: '0', data3: 1}, {data1: 'B', data2: '1', data3: 1}, {data1: 'C', data2: '2', data3: 1} ]; How can I do this? Thank you in Advance.
1
7,814,605
10/18/2011 22:36:05
1,002,114
10/18/2011 22:33:49
1
0
Android Autostart app every some interval
I have developed an app and I need it the hole day up. But somethimes it just crash. I was thinking on creating an autostart with an interval, for ex, every 30 min, the app gets up, but I can't find the way. Any ideas? thanks in advance
android
multithreading
application
intervals
autostart
10/19/2011 10:32:16
not constructive
Android Autostart app every some interval === I have developed an app and I need it the hole day up. But somethimes it just crash. I was thinking on creating an autostart with an interval, for ex, every 30 min, the app gets up, but I can't find the way. Any ideas? thanks in advance
4
5,890,817
05/04/2011 22:55:58
69,520
02/22/2009 07:31:39
131
3
Postgres nested loop order
I have the following query: SELECT t1.c1 FROM t1,t2 WHERE t1.c2 = 'X' AND t1.id = t2.id AND t2.c3 = 'Y'; Postgres produces two plans for this query, something like: Nested Loop (rows=1 width=7) (actual rows=1 loops=1) -> Index Scan using idx1 on t1 (rows=1 width=7) (actual rows=4 loops=1) ...
postgresql
inner-join
null
null
null
null
open
Postgres nested loop order === I have the following query: SELECT t1.c1 FROM t1,t2 WHERE t1.c2 = 'X' AND t1.id = t2.id AND t2.c3 = 'Y'; Postgres produces two plans for this query, something like: Nested Loop (rows=1 width=7) (actual rows=1 loops=1) -> Index Scan using idx1 on t1 (rows=1 width...
0
7,504,854
09/21/2011 18:36:00
957,635
09/21/2011 18:36:00
1
0
Exchange Server 2003 transport issues
I am having trouble with our Exchange server at the moment and cannot work out what is wrong. Basically I can receive internal mail on the domain between exchange users but nothing from an external address comes through at all. Does anyone know what could be wrong? SBS2003 SP2
exchange
null
null
null
null
09/22/2011 07:31:03
off topic
Exchange Server 2003 transport issues === I am having trouble with our Exchange server at the moment and cannot work out what is wrong. Basically I can receive internal mail on the domain between exchange users but nothing from an external address comes through at all. Does anyone know what could be wrong? ...
2
8,521,120
12/15/2011 13:50:48
177,790
09/23/2009 12:53:25
36
8
Getting the full column name from jdbc's metadata object
I'm processing a resultset where the number of returned columns vary and thus I need to know which columns are present. I found that I can extract the returned column names like this: ResultSetMetaData meta = rs.getMetaData(); ArrayList<String> columns = new ArrayList<String>(); for (int i = 0; i < met...
java
jdbc
null
null
null
null
open
Getting the full column name from jdbc's metadata object === I'm processing a resultset where the number of returned columns vary and thus I need to know which columns are present. I found that I can extract the returned column names like this: ResultSetMetaData meta = rs.getMetaData(); ArrayList<String> c...
0
8,838,351
01/12/2012 16:14:42
1,129,078
01/04/2012 02:36:42
1
0
Asp.net c# cshtml with jquery Datatables 1.9 update
I have just start using razor 2 days ago, and i like it very much and at the midst of learning as well. Now, i am working on a Accounting project and I got stuck with jquery datatables 1.9 I am trying to create an editable datatable like the example I have found [jquery-datatables-editable][1] This is what I hav...
c#
jquery
razor
asp.net-4.0
datatables
01/14/2012 02:59:20
too localized
Asp.net c# cshtml with jquery Datatables 1.9 update === I have just start using razor 2 days ago, and i like it very much and at the midst of learning as well. Now, i am working on a Accounting project and I got stuck with jquery datatables 1.9 I am trying to create an editable datatable like the example I have fo...
3
4,847,020
01/31/2011 01:57:42
197,791
10/28/2009 03:01:14
138
2
Are files created on Office 2010 compatible with Office 2007?
In particular, will Word 2007, Excel 2007, PowerPoint 2007 and Access 2007 be able to open the files created by Word 2010, Excel 2010, PowerPoint 2010 and Access 2010, respectively?
ms-office
office-2007
null
null
null
01/31/2011 04:44:09
off topic
Are files created on Office 2010 compatible with Office 2007? === In particular, will Word 2007, Excel 2007, PowerPoint 2007 and Access 2007 be able to open the files created by Word 2010, Excel 2010, PowerPoint 2010 and Access 2010, respectively?
2
3,390,847
08/02/2010 18:53:25
408,963
08/02/2010 18:53:25
1
0
what should I charge for this side gig
This is not really technical but I could not find a better place to ask this Question than SO. I have a full time gig but recently someone I know wanted to get an application done that would send mass emails/texts to users who are related to a particular group. I am an OK RoR developer so have decided to do it ...
ruby-on-rails
null
null
null
null
08/02/2010 19:17:28
off topic
what should I charge for this side gig === This is not really technical but I could not find a better place to ask this Question than SO. I have a full time gig but recently someone I know wanted to get an application done that would send mass emails/texts to users who are related to a particular group. I am a...
2
2,946,539
05/31/2010 23:51:34
198,729
10/29/2009 08:13:14
2,091
1
How many kinds of drivers are there ?
Like **device driver**, I don't know whether there are some **other drivers** ?
device-driver
drivers
null
null
null
06/01/2010 10:20:29
not a real question
How many kinds of drivers are there ? === Like **device driver**, I don't know whether there are some **other drivers** ?
1
7,227,494
08/29/2011 07:52:24
903,455
08/20/2011 05:32:26
45
0
Deleting accounts kept inactive for 45 days
In my project I wanna automatically delete accounts that are kept inactive for more that 45days. For testing purpose I took 2 minutes and wrote the following code. But its not working. Can anybody tell me how to perform "Record deletion" if kept inactive for 2 minutes. My code follows. using System; usin...
c#
mysql
odbc
null
null
null
open
Deleting accounts kept inactive for 45 days === In my project I wanna automatically delete accounts that are kept inactive for more that 45days. For testing purpose I took 2 minutes and wrote the following code. But its not working. Can anybody tell me how to perform "Record deletion" if kept inactive for 2 minutes. ...
0
10,329,436
04/26/2012 08:05:13
165,078
08/28/2009 19:49:39
201
10
Copy one List to another List and SubList with LINQ
I have a list of employees, and all of them have another list nested which is called the EmployeeValuesCollection. So my class is something like :- public Employee(int employeeID, string jobTitle, int companyID, List<EmployeeValues> employeeValuesCollection) { EmployeeID = employ...
c#
linq
c#-4.0
linq-to-objects
null
null
open
Copy one List to another List and SubList with LINQ === I have a list of employees, and all of them have another list nested which is called the EmployeeValuesCollection. So my class is something like :- public Employee(int employeeID, string jobTitle, int companyID, List<EmployeeValues> employeeValu...
0
9,975,279
04/02/2012 11:07:15
1,005,335
10/20/2011 13:50:35
188
2
Open a file in c#
I am wondering when why I try to read all the files in a folder, if the name is index.html, nothing is happening, It's not even opening the file in the browser ... Can someone help me ? This is the code I use . foreach (System.IO.FileInfo thefile in fiArr) { if (thefile....
c#
asp.net
file
io
null
04/03/2012 11:09:35
not a real question
Open a file in c# === I am wondering when why I try to read all the files in a folder, if the name is index.html, nothing is happening, It's not even opening the file in the browser ... Can someone help me ? This is the code I use . foreach (System.IO.FileInfo thefile in fiArr) { ...
1
11,229,498
06/27/2012 15:14:24
901,336
08/18/2011 20:14:14
35
0
Trouble with CSS sprites in sharepoint 2007
I am trying to reduce the overall number of images on my site so I have implemented a css sprite menu. This code works fine in Internet Explorer 8 on my desktop, and when I implemented the code to sharepoint 2007 it works fine when using FireFox, but not for ie8 for some reason. Is there any known fixes or bugs with ...
html
css
sharepoint
null
null
null
open
Trouble with CSS sprites in sharepoint 2007 === I am trying to reduce the overall number of images on my site so I have implemented a css sprite menu. This code works fine in Internet Explorer 8 on my desktop, and when I implemented the code to sharepoint 2007 it works fine when using FireFox, but not for ie8 for som...
0
11,438,227
07/11/2012 17:33:43
1,480,041
06/25/2012 12:54:53
22
0
Need to search for a specific file and see if it is increasing in size in perl
I need to first search for a file, then see if it is increasing. Basically my plan is to do a find, then get it's size. sleep for 30 seconds and repeat the procedure and compare the sizes. I don't really know where to start. I'm not too familiar with the syntax
perl
search
null
null
null
07/11/2012 21:53:52
not a real question
Need to search for a specific file and see if it is increasing in size in perl === I need to first search for a file, then see if it is increasing. Basically my plan is to do a find, then get it's size. sleep for 30 seconds and repeat the procedure and compare the sizes. I don't really know where to start. I'm not too...
1
8,265,026
11/25/2011 05:13:34
862,663
07/26/2011 03:09:34
43
4
Why isn't this toggling?
I'm trying to get #content to toggle, but it won't work. $("button").click(function () { $("#content").slideToggle("slow"); }); <div id="container"> <button>toggggle</button> <?php get_sidebar(); ?> <di...
jquery
null
null
null
null
11/25/2011 21:39:35
not a real question
Why isn't this toggling? === I'm trying to get #content to toggle, but it won't work. $("button").click(function () { $("#content").slideToggle("slow"); }); <div id="container"> <button>toggggle</button> <?php get_sidebar()...
1
6,908,634
08/02/2011 07:32:41
871,894
07/31/2011 20:22:30
21
2
What programming language can be run on any operating system without installing any framework?
I write a program on C#, but in order to run the application .NET framework is needed and I'm have no authority to install any program on systems (most of them are XP), I want to know is any way to run C# application without .NET framework?(I search stackoverflow and google and most of people say NO, but I ask again...
c#
.net
null
null
null
08/02/2011 07:40:37
not constructive
What programming language can be run on any operating system without installing any framework? === I write a program on C#, but in order to run the application .NET framework is needed and I'm have no authority to install any program on systems (most of them are XP), I want to know is any way to run C# application ...
4
8,095,938
11/11/2011 15:11:33
475,821
10/14/2010 13:32:59
56
4
Inserting many objects in CoreData
I am trying to insert about 400 objects in CoreData with in memory storage, but it is to long. For about 20-30 seconds. Is it normal? May be exists some special case for many insertions?
iphone
ios
core-data
insert
null
null
open
Inserting many objects in CoreData === I am trying to insert about 400 objects in CoreData with in memory storage, but it is to long. For about 20-30 seconds. Is it normal? May be exists some special case for many insertions?
0
6,126,227
05/25/2011 14:40:14
769,777
05/25/2011 14:38:38
1
0
C++: Templating throws out a lot of errors
this has been torturing me for the last 24 hours now. I am creating a helper namespace for one of my projects, i wanted it to be able to use all types like ints, floats, doubles etc. But it seems like i just cant get the templating right. Anyways, here is my current code, my compiler doesn't spit out errors about...
c++
templates
null
null
null
null
open
C++: Templating throws out a lot of errors === this has been torturing me for the last 24 hours now. I am creating a helper namespace for one of my projects, i wanted it to be able to use all types like ints, floats, doubles etc. But it seems like i just cant get the templating right. Anyways, here is my current...
0
4,473,844
12/17/2010 18:55:02
140,652
07/18/2009 13:07:49
155
4
Outlook macro to prompt user info
I want to create a macro for Outlook that will prompt the user to enter their name in an input box, when they hit Send. Once they input the info and click Ok, I want to Append the name to the end of the message and then let the message go. Any ideas?
outlook
outlook-addin
outlook-2007
outlook-2003
outlook-vba
null
open
Outlook macro to prompt user info === I want to create a macro for Outlook that will prompt the user to enter their name in an input box, when they hit Send. Once they input the info and click Ok, I want to Append the name to the end of the message and then let the message go. Any ideas?
0
6,501,001
06/28/2011 02:41:04
807,771
06/21/2011 04:33:15
21
0
how i can make my web site refresh or reload by itself in (HTML) code ?
i need make my web sity refresh itself every 5 min in HTML code i'm using PHP also
php
html
null
null
null
06/28/2011 03:31:45
not a real question
how i can make my web site refresh or reload by itself in (HTML) code ? === i need make my web sity refresh itself every 5 min in HTML code i'm using PHP also
1
10,934,137
06/07/2012 14:44:21
1,442,496
06/07/2012 14:36:55
1
0
Xcode/objective-C 2 button combo
The application I'm working on is a stat app for the iPad. There are buttons going down the center of the screen. These buttons in the middle say goal or goalie save and such. Since i wanted them to work for both teams i decided a nice feature would be to click a middle button, then drag my finger to the upper left or ...
iphone
objective-c
ios
xcode
ipad
06/09/2012 18:46:27
not a real question
Xcode/objective-C 2 button combo === The application I'm working on is a stat app for the iPad. There are buttons going down the center of the screen. These buttons in the middle say goal or goalie save and such. Since i wanted them to work for both teams i decided a nice feature would be to click a middle button, the...
1
11,488,583
07/15/2012 01:01:18
1,355,207
04/25/2012 03:53:08
36
1
Automatic FormsAuthentication.Signout() when user close tab in asp.net
How to make automatic FormsAuthentication.Signout() when user close the tab/pages in asp.net C#
c#
asp.net
null
null
null
07/16/2012 09:44:50
not a real question
Automatic FormsAuthentication.Signout() when user close tab in asp.net === How to make automatic FormsAuthentication.Signout() when user close the tab/pages in asp.net C#
1
8,497,995
12/14/2011 00:01:55
1,096,822
12/13/2011 23:48:10
1
0
jQuery UI droppable Not Working
so I just starting using UI today for the first time. I am trying to make a form building tool. Anyways, everything was working just fine. I was able to drag my first icon and drop it on the main form body, just fine. When I do this, it appends a new div of class panel. I make panel droppable as well, however when I tr...
javascript
jquery
html
css
null
null
open
jQuery UI droppable Not Working === so I just starting using UI today for the first time. I am trying to make a form building tool. Anyways, everything was working just fine. I was able to drag my first icon and drop it on the main form body, just fine. When I do this, it appends a new div of class panel. I make panel...
0
10,948,773
06/08/2012 12:21:50
1,100,014
12/15/2011 14:03:28
13
0
CSS to be changed to be compatible with all the browsers
html, body { margin: 0px; padding: 0px; font: normal 14px/16px Helvetica, Sans-serif; } body { background: #cbd2d8; background-image: -webkit-gradient(linear, left top, right top, from(#c5ccd4), color-stop(0.75, #c5ccd4), color-stop(0.75, transparent), to(...
css
css3
null
null
null
06/09/2012 04:20:54
not a real question
CSS to be changed to be compatible with all the browsers === html, body { margin: 0px; padding: 0px; font: normal 14px/16px Helvetica, Sans-serif; } body { background: #cbd2d8; background-image: -webkit-gradient(linear, left top, right top, from(#c5ccd4), color-stop(0....
1
5,530,681
04/03/2011 15:57:24
527,298
12/01/2010 23:15:11
236
11
Normalize an Address
I am trying to normalize an address. The diagram below shows the relevant tables for this question I believe. I want to know how ZipCodes should be integrated into the model. This would be for international addresses so I know that a Zip/PostalCode is not used everywhere. I know City::ZipCode is 1::0-n. Since ...
database
database-design
relational-database
normalization
zipcode
null
open
Normalize an Address === I am trying to normalize an address. The diagram below shows the relevant tables for this question I believe. I want to know how ZipCodes should be integrated into the model. This would be for international addresses so I know that a Zip/PostalCode is not used everywhere. I know City::...
0
5,177,277
03/03/2011 06:05:15
642,440
03/03/2011 05:44:22
1
1
Why does LINQ Date Column comparison not work?
For a LINQ query like: var entities = from Account p in context.Accounts where p.LastTimeServerSettingsChanged > p.LastTimeDeviceConnected select p; the query that is generated is: SELECT [Extent1].[Username] AS [Username], [Ext...
linq
linq-to-sql
datetime
linq-to-entities
null
null
open
Why does LINQ Date Column comparison not work? === For a LINQ query like: var entities = from Account p in context.Accounts where p.LastTimeServerSettingsChanged > p.LastTimeDeviceConnected select p; the query that is generated is: SELECT...
0
4,606,970
01/05/2011 17:12:47
217,992
11/24/2009 17:43:37
271
17
setting timeout for a long running WCF Service
I have a WCF service method which takes more than two hours to execute (runs some reports). how can I make sure that it doesn't timeout regardless of the time it takes? I think there are many timeout settings in WCF config, I am not sure which one is relevant for me. for ASMX webservices, there was an option to specify...
iis
timeout
wcf
null
null
null
open
setting timeout for a long running WCF Service === I have a WCF service method which takes more than two hours to execute (runs some reports). how can I make sure that it doesn't timeout regardless of the time it takes? I think there are many timeout settings in WCF config, I am not sure which one is relevant for me. ...
0
8,530,517
12/16/2011 06:20:00
1,101,358
12/16/2011 06:16:35
1
0
Interested in doing gui programming and IDE programming
I was wondering if anyone knows what the category for learning how to make IDE and code completion and if there are any good books or resources for creating it? thanks
gui
ide
completion
null
null
12/17/2011 07:09:09
not constructive
Interested in doing gui programming and IDE programming === I was wondering if anyone knows what the category for learning how to make IDE and code completion and if there are any good books or resources for creating it? thanks
4
2,905,838
05/25/2010 14:57:56
72,937
03/02/2009 19:48:50
93
8
How to prevent the user from leaving the page
I am currently building a registration site where if the user leaves, I want to pop up a CSS box asking him if he is sure or not. I can accomplish this feat using confirm boxes, but the client says that they are too ugly. I've tried using unload and beforeunload, but both cannot stop the page from being redirected. Usi...
javascript
javascript-events
null
null
null
02/28/2012 14:22:24
not constructive
How to prevent the user from leaving the page === I am currently building a registration site where if the user leaves, I want to pop up a CSS box asking him if he is sure or not. I can accomplish this feat using confirm boxes, but the client says that they are too ugly. I've tried using unload and beforeunload, but b...
4
6,556,564
07/02/2011 10:52:10
825,692
07/02/2011 01:48:15
1
0
How could i Print a block of text in PHP
I have a HTML file which contains a table. Using the "file_get_content()" i am reading the file then. I want to print the table only. How could i do this
php5
null
null
null
null
null
open
How could i Print a block of text in PHP === I have a HTML file which contains a table. Using the "file_get_content()" i am reading the file then. I want to print the table only. How could i do this
0
9,734,151
03/16/2012 08:42:12
1,036,032
11/08/2011 16:38:12
115
0
How to be able to identify a constructor using JavaParser?
I am using Java Parser to get information about the method in a source file. I based my implementation as described in [this answer][1] . However the details of constructors are not being given. I think it has to do with how the Java parser works as the normal methods have a return type and the constructor doesn't. ...
java
parsing
constructor
null
null
null
open
How to be able to identify a constructor using JavaParser? === I am using Java Parser to get information about the method in a source file. I based my implementation as described in [this answer][1] . However the details of constructors are not being given. I think it has to do with how the Java parser works as the no...
0
7,366,071
09/09/2011 18:42:39
921,902
08/31/2011 15:18:18
6
0
Why I cannot get the passed value(PHP)
I want to pass a value "isProvena" from one file to another. I use a hidden form t pass the "isProvena" value like this: if ($_POST['type'] == 'printhpa' || $_POST['type'] == 'printphip' || $_POST['type'] == 'printphys' || $_POST['type'] == 'printprovenahpa') { echo "<form action='/content/822' me...
php
null
null
null
null
11/11/2011 09:54:37
too localized
Why I cannot get the passed value(PHP) === I want to pass a value "isProvena" from one file to another. I use a hidden form t pass the "isProvena" value like this: if ($_POST['type'] == 'printhpa' || $_POST['type'] == 'printphip' || $_POST['type'] == 'printphys' || $_POST['type'] == 'printprovenahpa') {...
3
10,342,623
04/26/2012 23:04:25
1,277,725
03/19/2012 03:00:58
3
1
Which programming pattern / framework for intranet
I need an advice on which pattern / framerwork worth for me , I mainly currently work on web forms, for intranet websites on the company I work, I use asp.net 3.5/4 and ADO.NET to get the job done, and ocasionally I use CMSs such as Joomla and WordPress, I am good at C#, VB, and html, as the new technolofies are com...
asp.net
asp.net-mvc
asp.net-mvc-3
entity-framework
webforms
04/27/2012 07:33:11
not constructive
Which programming pattern / framework for intranet === I need an advice on which pattern / framerwork worth for me , I mainly currently work on web forms, for intranet websites on the company I work, I use asp.net 3.5/4 and ADO.NET to get the job done, and ocasionally I use CMSs such as Joomla and WordPress, I am g...
4
11,071,640
06/17/2012 13:30:23
1,421,836
05/28/2012 13:41:59
20
0
Image function that allows images to be cropped and resized in PHP without using so much memory
I've used this code for a while now for a few sites I've built which is great for galleries but it uses up a lot of memory and I keep getting memory allocation errors within the error log. Is there anything that can be changed to make this script better? <?php // Smart Image Resizer 1.4.1 // Resizes i...
php
image
function
resize
gd
06/17/2012 23:53:26
off topic
Image function that allows images to be cropped and resized in PHP without using so much memory === I've used this code for a while now for a few sites I've built which is great for galleries but it uses up a lot of memory and I keep getting memory allocation errors within the error log. Is there anything that can be...
2
6,960,321
08/05/2011 17:32:36
659,490
03/14/2011 20:19:27
22
2
How to change the footer for a section in iWorks Pages?
I have a document with about 80 pages in iWorks Pages and I want to remove the pagenumbers in the footer within the last two sections with the glossary and my sources (pages 69-80). How can I do that? I have already unchecked the option to reuse the last footer and header. But I still can't edit the footer... ...
apple
iwork
null
null
null
08/06/2011 14:44:09
off topic
How to change the footer for a section in iWorks Pages? === I have a document with about 80 pages in iWorks Pages and I want to remove the pagenumbers in the footer within the last two sections with the glossary and my sources (pages 69-80). How can I do that? I have already unchecked the option to reuse the las...
2
3,240,377
07/13/2010 18:48:17
390,824
07/13/2010 18:48:17
1
0
Format Removable media with c# programming
I want to format (FAT32) removable drive with c# programming. In the internet I found a way, but the problem is that it opens the generic windows format program. But I want to do it with C# only and no built in windows support. My method is: // FAT32 Format Button click event [DllImport("...
c#
vs2008sp1
null
null
null
null
open
Format Removable media with c# programming === I want to format (FAT32) removable drive with c# programming. In the internet I found a way, but the problem is that it opens the generic windows format program. But I want to do it with C# only and no built in windows support. My method is: // FAT32 For...
0
6,928,429
08/03/2011 14:51:13
250,849
01/14/2010 15:56:27
273
22
How to strike any letter using Unicode in Java
In my Java application I want to output striked letters (like html tag <strike> do). Is there any way to do this using Unicode (combine )
java
unicode
null
null
null
null
open
How to strike any letter using Unicode in Java === In my Java application I want to output striked letters (like html tag <strike> do). Is there any way to do this using Unicode (combine )
0
3,910,869
10/12/2010 00:17:30
183,717
10/03/2009 20:08:39
569
0
Using SendKey in NSL
All, If anyone has experience working on NSL (Novell SecureLogin), I am trying to use the command SendKey "\|123" to send the F12 command, but there is no subsequent action taking place and nor any error. I tried googling out, but could not find much help. I have tried SendKey "{F12}" and SendKey ("{F12}") as well. ...
novell
null
null
null
null
null
open
Using SendKey in NSL === All, If anyone has experience working on NSL (Novell SecureLogin), I am trying to use the command SendKey "\|123" to send the F12 command, but there is no subsequent action taking place and nor any error. I tried googling out, but could not find much help. I have tried SendKey "{F12}" and S...
0
8,625,781
12/24/2011 16:52:52
1,114,734
12/24/2011 16:44:04
1
0
How to insert value in aspx webpage textbox from windows form c#
My name is Ishaq. I am new in this website. I have listened that it is the best website for solving problems of programmers. I want to insert text in the aspx webpage textbox programatically using c#. But i dont know how to do it. Can anyone please help me. Thanks in advance.
c#
asp.net
winforms
null
null
12/25/2011 03:59:12
not a real question
How to insert value in aspx webpage textbox from windows form c# === My name is Ishaq. I am new in this website. I have listened that it is the best website for solving problems of programmers. I want to insert text in the aspx webpage textbox programatically using c#. But i dont know how to do it. Can ...
1
10,868,429
06/03/2012 06:41:12
1,026,160
11/02/2011 17:17:54
3
1
SSO login dialog returns to fbDidNotLogin with no indication of error
I have recently created a new Facebook app ID as I'm adding Facebook SSO integration into my app. My app within Facebook is set to Native iOS and I've included the Bundle ID and a current published app's Apple ID (for testing). I've implemented the SDK as per the instructions (I have two other iOS apps currently usi...
iphone
ios
facebook
single-sign-on
null
null
open
SSO login dialog returns to fbDidNotLogin with no indication of error === I have recently created a new Facebook app ID as I'm adding Facebook SSO integration into my app. My app within Facebook is set to Native iOS and I've included the Bundle ID and a current published app's Apple ID (for testing). I've implement...
0
8,581,369
12/20/2011 20:15:35
1,108,596
12/20/2011 20:02:49
1
0
Need help transforming a dataset from multiple rows to a single row
I have a database (MySQL) that holds cost records for some of our customers (each customer has a different cost for items). Any given cost record has an effective date range (ie, the cost is valid for a given time frame). Here's some sample data: Customer ItemNumber EffectDate Counter Cost ABC12...
mysql
sql
database
tsql
null
null
open
Need help transforming a dataset from multiple rows to a single row === I have a database (MySQL) that holds cost records for some of our customers (each customer has a different cost for items). Any given cost record has an effective date range (ie, the cost is valid for a given time frame). Here's some sample data: ...
0
7,185,538
08/25/2011 05:29:50
754,865
05/15/2011 21:36:26
32
4
Conversation system
Am trying to build a conversation system for users on a web app am working on. At the the moment am quite confused on how to setup the database tables. for now i have a table with fields this - C_id - Message - S_id - R_id - read - date_time
php
mysql
database-design
null
null
08/25/2011 12:54:42
not a real question
Conversation system === Am trying to build a conversation system for users on a web app am working on. At the the moment am quite confused on how to setup the database tables. for now i have a table with fields this - C_id - Message - S_id - R_id - read - date_time
1
5,580,761
04/07/2011 12:08:56
696,753
04/07/2011 12:08:56
1
0
use of double pointer
When should a double pointer be used in C, can anyone explain with a example. what i know is double pointer is a pointer to a pointer, why is this required pointing to a pointer.
c
null
null
null
null
null
open
use of double pointer === When should a double pointer be used in C, can anyone explain with a example. what i know is double pointer is a pointer to a pointer, why is this required pointing to a pointer.
0
8,482,156
12/12/2011 22:58:52
1,094,695
12/12/2011 22:48:54
1
0
Unique IDs to multidimensional array elements in python
I have a multidimensional array with elements that can be completely random. For example, [[[1,2],[2,1],[3,1],[4,2]][[2,1],[4,3],[3,4],[1,3]]]. I'd like to assign an ID to each unique element (as in [1,2], not the elements within those) so that I can recognize it later on when this array is much larger, but I can't ...
python
multidimensional-array
unique-id
null
null
null
open
Unique IDs to multidimensional array elements in python === I have a multidimensional array with elements that can be completely random. For example, [[[1,2],[2,1],[3,1],[4,2]][[2,1],[4,3],[3,4],[1,3]]]. I'd like to assign an ID to each unique element (as in [1,2], not the elements within those) so that I can recog...
0
10,239,717
04/20/2012 03:08:30
1,337,528
04/17/2012 00:29:43
9
0
Preloading pictures for refresh, cache
I have these two php variables: `$img1src` and `$img2src`, they both hold a URL of an image. I was wondering if I was able to preload these images, or cache them to be accessed quickly after refreshing the page and displaying them in a `<img src >` Thanks in advance for the help, Aaron edit: If you don't know how...
php
javascript
html
caching
null
null
open
Preloading pictures for refresh, cache === I have these two php variables: `$img1src` and `$img2src`, they both hold a URL of an image. I was wondering if I was able to preload these images, or cache them to be accessed quickly after refreshing the page and displaying them in a `<img src >` Thanks in advance for th...
0
460,602
01/20/2009 09:39:34
4,406
09/03/2008 14:38:45
379
25
[Java] What is the best way to check if an object is from another(say fixed) list of objects?
Currently, I create a HashMap with Object Id as key and 1 as value. And the method asks for Object/Id and checks if there is a matching key. Is that ok? Or, is(are) there better alternative(s)?
java
hashmap
null
null
null
null
open
[Java] What is the best way to check if an object is from another(say fixed) list of objects? === Currently, I create a HashMap with Object Id as key and 1 as value. And the method asks for Object/Id and checks if there is a matching key. Is that ok? Or, is(are) there better alternative(s)?
0
11,233,290
06/27/2012 19:05:36
955,097
09/20/2011 15:23:49
77
3
CSS for ID not affecting img tag
I came across this issue last night where my CSS would not affect the img tag for the following HTML: <div class='container'> <div id="grid"><img src='test.jpg' /></div> </div> The CSS was as follows: #grid img { position:relative; top:75px; border:5px solid white; } Everything should h...
html
css
special-characters
img
null
06/29/2012 03:12:12
too localized
CSS for ID not affecting img tag === I came across this issue last night where my CSS would not affect the img tag for the following HTML: <div class='container'> <div id="grid"><img src='test.jpg' /></div> </div> The CSS was as follows: #grid img { position:relative; top:75px; border:5px...
3
1,044,202
06/25/2009 14:16:46
128,860
06/25/2009 14:05:08
1
0
Multi-way tree
How do you find the height of a multi-way tree? A binary tree looks something like this... int height(node *root) { if (root == NULL) return 0; else return max(height(root->left), height(root->right)) + 1; } I cant figure it for multi-way.
c++
tree
null
null
null
null
open
Multi-way tree === How do you find the height of a multi-way tree? A binary tree looks something like this... int height(node *root) { if (root == NULL) return 0; else return max(height(root->left), height(root->right)) + 1; } I cant figure it for multi-way.
0
5,037,282
02/18/2011 03:16:26
622,471
02/18/2011 02:27:45
1
0
operating system
how to install curl or more programming in ubuntu
ubuntu
null
null
null
null
02/18/2011 03:18:45
not a real question
operating system === how to install curl or more programming in ubuntu
1
10,983,118
06/11/2012 15:27:29
1,449,244
06/11/2012 14:59:10
1
0
MVC 3 Razor-Partial Validation of Model
I am currently working on a project in MVC 3 where I am leveraging Entity Framework to persist one data model over two Views which each contain one HTML Form (similar to wizard-based design). Yet after the user fills out the appropriate fields on the first View and submits the form, client-side validation for the en...
asp.net-mvc-3
razor
form-validation
entity-framework-mapping
null
null
open
MVC 3 Razor-Partial Validation of Model === I am currently working on a project in MVC 3 where I am leveraging Entity Framework to persist one data model over two Views which each contain one HTML Form (similar to wizard-based design). Yet after the user fills out the appropriate fields on the first View and submit...
0
10,999,342
06/12/2012 15:01:07
1,124,911
01/01/2012 07:03:18
1
0
Convert xml to pdf using Perl
I want to convert an excel xml file to PDF using Perl. I see PDF API2 allows working on PDF in perl, but how should I convert xml to PDF
xml
perl
null
null
null
06/14/2012 11:57:17
not a real question
Convert xml to pdf using Perl === I want to convert an excel xml file to PDF using Perl. I see PDF API2 allows working on PDF in perl, but how should I convert xml to PDF
1
6,285,750
06/08/2011 21:56:28
780,393
06/02/2011 01:31:46
1
0
Is there any combine name of analog and digital Device.??
Or Is there any device which is used for analog and digital communication.
electronics
digital
analog
null
null
06/10/2011 21:46:56
off topic
Is there any combine name of analog and digital Device.?? === Or Is there any device which is used for analog and digital communication.
2
6,925,963
08/03/2011 11:49:28
476,024
10/14/2010 16:35:57
822
5
How can i implement a listener for the gps?
I have an iPad app and wish to call a function every 0.1 miles I travel from a certain x start position . How can i implement this listener ?
iphone
objective-c
ios
ipad
null
null
open
How can i implement a listener for the gps? === I have an iPad app and wish to call a function every 0.1 miles I travel from a certain x start position . How can i implement this listener ?
0
4,948,896
02/09/2011 18:26:51
29,726
10/20/2008 18:37:55
343
8
Accessing user control properties defined in code behind in markup
I have a public property defined in code behind of a user control. I want to toggle visibility of controls in the markup based on the property's value. However, using the following syntax: <td style="display:<%#(Container.PageControlMode == PageControlMode. PageMode.Wizard) ? "none" : "inline" %;"> I have ...
asp.net
null
null
null
null
null
open
Accessing user control properties defined in code behind in markup === I have a public property defined in code behind of a user control. I want to toggle visibility of controls in the markup based on the property's value. However, using the following syntax: <td style="display:<%#(Container.PageControlMode ...
0
6,381,443
06/17/2011 04:45:25
802,690
06/17/2011 04:45:25
1
0
lines overlap in latex
The Figure 6 and Figure 7 demonstrates the throughput for to be decreased or dropped. Mobile IP and ABNM. The graph suggests the throughput The above lines overlap. I am not sure what is the reason. Please help(am writing a academic paper).
latex
null
null
null
null
06/17/2011 07:58:57
off topic
lines overlap in latex === The Figure 6 and Figure 7 demonstrates the throughput for to be decreased or dropped. Mobile IP and ABNM. The graph suggests the throughput The above lines overlap. I am not sure what is the reason. Please help(am writing a academic paper).
2
9,480,935
02/28/2012 11:19:02
1,129,995
01/04/2012 13:21:46
159
9
robocopy scheduler and command line
I have a .bat file that copies from z drive to c drive as follow : robocopy z:\file\ c:\file\ /E /R:2 /W:1 /PURGE robocopy z:\file\ c:\file\ /E /R:2 /W:1 /PURGE I have been searching all over the server to see what runs this batch file but cannot find any scheduled task or service that runs this batch ...
command-line
schedule
robocopy
null
null
02/29/2012 19:09:32
off topic
robocopy scheduler and command line === I have a .bat file that copies from z drive to c drive as follow : robocopy z:\file\ c:\file\ /E /R:2 /W:1 /PURGE robocopy z:\file\ c:\file\ /E /R:2 /W:1 /PURGE I have been searching all over the server to see what runs this batch file but cannot find any schedu...
2
10,938,161
06/07/2012 18:59:07
712,302
04/17/2011 16:42:44
747
12
Can a class expose a number without instantiating it?
A class can expose types without instantiating it. For example: class bar { typedef int GET_TYPE; }; template<class T> void foo() { typename T::GET_TYPE t; // do something with t } foo<bar>(); Can a integer number be exposed in a similar way? In the sense ...
c++
null
null
null
null
null
open
Can a class expose a number without instantiating it? === A class can expose types without instantiating it. For example: class bar { typedef int GET_TYPE; }; template<class T> void foo() { typename T::GET_TYPE t; // do something with t } foo<bar>(); Can ...
0
3,853,963
10/04/2010 09:20:20
97,581
04/29/2009 09:07:28
26
3
Clean HTML documentation template for Enterprise Architect
I use Enterprise Architect from Sparx Systems for reverse-engineering URL class diagrams from my source code, and want to take this a step further by using the software to generate HTML API documentation of my code. However I find the markup generated by Enterprise Architect to be full of Javascript, and I think I m...
uml
enterprise-architect
sparx
null
null
null
open
Clean HTML documentation template for Enterprise Architect === I use Enterprise Architect from Sparx Systems for reverse-engineering URL class diagrams from my source code, and want to take this a step further by using the software to generate HTML API documentation of my code. However I find the markup generated b...
0
10,817,282
05/30/2012 13:27:16
1,207,146
02/13/2012 15:46:40
179
23
How to style the default dragIndicator when dragging?
Using RF 4.1 I am trying to style the default `dragIndicator` (the one used when none is defined). When I use a custom `dragIndicator`, I can style it using the class `rf-ind-drag`, but the default `dragIndicator` only has the class `ui-draggable`. The problem with `ui-draggable` is, that it is already set before d...
java
jsf
richfaces
null
null
null
open
How to style the default dragIndicator when dragging? === Using RF 4.1 I am trying to style the default `dragIndicator` (the one used when none is defined). When I use a custom `dragIndicator`, I can style it using the class `rf-ind-drag`, but the default `dragIndicator` only has the class `ui-draggable`. The prob...
0
3,758,347
09/21/2010 08:01:36
387,454
07/09/2010 06:45:48
277
34
Grails: No signature of method findAll() is applicable for argument types: String, ArrayList
I'm new to grails and receive the following error: `No signature of method: Something.findAll() is applicable for argument types: (java.lang.String, java.util.ArrayList) values: [from Something AS s WHERE s.some_number LIKE ?, [%asdf%]]"` The error occurs when I run `test-app`. It occurs in the following place: ...
grails
groovy
gorm
findall
null
null
open
Grails: No signature of method findAll() is applicable for argument types: String, ArrayList === I'm new to grails and receive the following error: `No signature of method: Something.findAll() is applicable for argument types: (java.lang.String, java.util.ArrayList) values: [from Something AS s WHERE s.some_number ...
0
2,881,368
05/21/2010 10:46:21
213,000
11/17/2009 15:52:42
22
2
How to override a related sets "add" method?
I am working on a django project and i want to send a signal when something get's added to some models related set, e.g. we have an owner wo has a set of collectables and each time the method owner.collectable_set.add(something) is getting called i want signal like "collectable_added" or something. signals are clear to...
django
related
set
null
null
null
open
How to override a related sets "add" method? === I am working on a django project and i want to send a signal when something get's added to some models related set, e.g. we have an owner wo has a set of collectables and each time the method owner.collectable_set.add(something) is getting called i want signal like "col...
0
9,586,220
03/06/2012 15:04:07
1,046,219
11/14/2011 19:22:50
8
0
Program giving wrong answer when written but gives right answer when copied
I was doing selection sort. The program that I wrote was generating wrong result but when I copied it from a site. The codes are exactly the same except the one copied from the website has more number of spaces. I am providing both the codes. Please help The code written by me: #include<stdio.h> main() ...
c
null
null
null
null
04/06/2012 17:21:40
not a real question
Program giving wrong answer when written but gives right answer when copied === I was doing selection sort. The program that I wrote was generating wrong result but when I copied it from a site. The codes are exactly the same except the one copied from the website has more number of spaces. I am providing both the cod...
1
8,817,642
01/11/2012 10:19:55
622,875
02/18/2011 09:30:41
839
60
How to use POCO in MVC application
I have read about POCO (Plain old CLR (or C#) object) [here][1] ,and confused about usage of it. If i can go with Code First approach then weather i need to create .edmx file? Without that how can i use poco with code first approach? Please correct me if i understood something wrong in this case! Thanks. ...
asp.net-mvc-3
c#-4.0
entity-framework-4
null
null
null
open
How to use POCO in MVC application === I have read about POCO (Plain old CLR (or C#) object) [here][1] ,and confused about usage of it. If i can go with Code First approach then weather i need to create .edmx file? Without that how can i use poco with code first approach? Please correct me if i understood som...
0
4,978,571
02/12/2011 14:25:38
594,297
01/28/2011 19:21:20
1
1
Turn off Joomla System Session at the front end
I have a popular joomla site(4000/day) at shared server. I have performance problems. I want to disable joomla system session at frontend, so I take this row to the index.php: $mainframe =& JFactory::getApplication('site',array('session'=>false)); It works well for guests, but have a side effect. It is really...
caching
joomla
null
null
null
null
open
Turn off Joomla System Session at the front end === I have a popular joomla site(4000/day) at shared server. I have performance problems. I want to disable joomla system session at frontend, so I take this row to the index.php: $mainframe =& JFactory::getApplication('site',array('session'=>false)); It works ...
0
5,140,100
02/28/2011 09:23:24
246,776
01/08/2010 22:16:08
1,952
55
Registering multiple versions of packages with `ghc-pkg`?
I'm trying to install `GHC` and `Cabal` on FreeBSD 8.1. I've installed GHC 7.0.1 (because it's current stable release) and now trying to install `Cabal` (to install `cabal-install`), but it fails with this error message. %./Setup configure Configuring Cabal-1.8.0.4... Setup: At least the following d...
haskell
version
ghc
cabal
cabal-install
null
open
Registering multiple versions of packages with `ghc-pkg`? === I'm trying to install `GHC` and `Cabal` on FreeBSD 8.1. I've installed GHC 7.0.1 (because it's current stable release) and now trying to install `Cabal` (to install `cabal-install`), but it fails with this error message. %./Setup configure Co...
0
8,587,760
12/21/2011 09:41:58
584,518
01/21/2011 13:46:43
3,762
220
Unicode conversion issues
Here is a beginner question on Unicode. I'm using Embarcadero C++ Builder 2009, where they supposedly changed the default strings to use Unicode. - I type various symbols in my source editor, that aren't part of the standard "7-bit ASCII". - My program is using the String type of C++ Builder to fetch user input. -...
c++
unicode
embarcadero
null
null
null
open
Unicode conversion issues === Here is a beginner question on Unicode. I'm using Embarcadero C++ Builder 2009, where they supposedly changed the default strings to use Unicode. - I type various symbols in my source editor, that aren't part of the standard "7-bit ASCII". - My program is using the String type of C++ ...
0
8,046,321
11/08/2011 05:27:03
1,034,961
11/08/2011 04:52:45
1
0
listBox.ItemContainerGenerator.ContainerFromItem() returns null to the NEW item added in the listbox
This is my first post here so I hope you could help me with my problem regarding WPF. I have a listbox that is bind with an ObservableCollection: public ObservableCollection<DeviceSetting> DeviceSettings { get { return _deviceSettings; } ...
wpf
null
null
null
null
null
open
listBox.ItemContainerGenerator.ContainerFromItem() returns null to the NEW item added in the listbox === This is my first post here so I hope you could help me with my problem regarding WPF. I have a listbox that is bind with an ObservableCollection: public ObservableCollection<DeviceSetting> Dev...
0
3,848,953
10/03/2010 07:25:29
256,007
01/21/2010 17:10:22
395
40
LED Quix Buzzer Circuit With Logic Gates
I want to Make Simple a Quiz Buzzer Circuit With LED. e.g. I need LED instead of Buzzer. I don't need any reset Switch. I want to maximize the Use of Logic Gates in this Circuit. and Obviously no Capacitors are Allowed.and obviously no microcontroller. I am trying to do this for 2 days. But Cannot Make it Out. ...
logic
boolean-logic
electronics
circuit
null
10/13/2010 05:48:15
off topic
LED Quix Buzzer Circuit With Logic Gates === I want to Make Simple a Quiz Buzzer Circuit With LED. e.g. I need LED instead of Buzzer. I don't need any reset Switch. I want to maximize the Use of Logic Gates in this Circuit. and Obviously no Capacitors are Allowed.and obviously no microcontroller. I am trying to...
2