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,250,751
03/09/2011 18:57:07
532,785
12/06/2010 19:54:09
66
8
Undefined or defined index ? Decide ...
I have strange problem. Line 61: $this->_currentRoute = Default_Model_Routes::getInstance()->getCurrentRoute(); .......... other code .......... Line 86: var_dump(isset($this->_currentRoute['url'])); Line 87: var_dump($this->_currentRoute['url']); Line 88: if ($this->_currentRoute['url'] == $...
php
apache
error
zend
undefined-index
null
open
Undefined or defined index ? Decide ... === I have strange problem. Line 61: $this->_currentRoute = Default_Model_Routes::getInstance()->getCurrentRoute(); .......... other code .......... Line 86: var_dump(isset($this->_currentRoute['url'])); Line 87: var_dump($this->_currentRoute['url']); ...
0
9,170,207
02/07/2012 02:25:41
1,193,664
02/07/2012 02:10:34
1
0
need help replacing single song in music player to selecting a song from a tableview - Obj-c
NSString* resourcePath = [[NSBundle mainBundle] resourcePath]; resourcePath = [resourcePath stringByAppendingString:@"/Future_Ghosts_-_Hands.mp3"]; NSLog(@"Path to play: %@", resourcePath); UIAudioPlayerView *example1 = [[UIAudioPlayerView alloc] initWithFrame:CGRectMake(22, 430, 222, 70) musicPath:resou...
objective-c
uitableview
audio
null
null
null
open
need help replacing single song in music player to selecting a song from a tableview - Obj-c === NSString* resourcePath = [[NSBundle mainBundle] resourcePath]; resourcePath = [resourcePath stringByAppendingString:@"/Future_Ghosts_-_Hands.mp3"]; NSLog(@"Path to play: %@", resourcePath); UIAudioPlayerView...
0
8,882,691
01/16/2012 16:04:05
745,235
02/10/2011 18:36:11
545
35
Re-install default message application
A friend just rooted (don't know if it is the correct word) my Galaxy 551 and some of the applications he deleted, Orkut, some games, etc, he also deleted the Message application. I can't send or receive messages, the icon com menu has disappeared. How can I get it back? Thanks in advance
message
root
null
null
null
01/16/2012 22:10:13
off topic
Re-install default message application === A friend just rooted (don't know if it is the correct word) my Galaxy 551 and some of the applications he deleted, Orkut, some games, etc, he also deleted the Message application. I can't send or receive messages, the icon com menu has disappeared. How can I get it back...
2
8,522,527
12/15/2011 15:32:08
636,493
02/27/2011 13:54:02
673
1
Position-dodge warning with ggplot boxplot?
I'm trying to make a boxplot with ggplot2 using the following code: p <- ggplot(data, aes(d$score, reorder(d$names d$scores, median))) + geom_boxplot() I have factors called names and integers called scores. My code produces a plot, but the graphic does not depict the boxes (only shows lines) and I get a w...
ggplot2
null
null
null
null
null
open
Position-dodge warning with ggplot boxplot? === I'm trying to make a boxplot with ggplot2 using the following code: p <- ggplot(data, aes(d$score, reorder(d$names d$scores, median))) + geom_boxplot() I have factors called names and integers called scores. My code produces a plot, but the graphic does not ...
0
4,836,391
01/29/2011 10:39:41
146,077
07/28/2009 00:21:46
2,923
218
Naming convention for unique constraint
Naming conventions are important, and primary key and foreign key have commonly used and obvious conventions (`PK_Table` and `FK_Table_ReferencedTable`, respectively). The `IX_Table_Column` naming for indexes is also fairly standard. What about the UNIQUE constraint? Is there a commonly accepted naming convention ...
sql
sql-server
naming-conventions
unique-constraint
null
06/02/2012 20:17:36
not constructive
Naming convention for unique constraint === Naming conventions are important, and primary key and foreign key have commonly used and obvious conventions (`PK_Table` and `FK_Table_ReferencedTable`, respectively). The `IX_Table_Column` naming for indexes is also fairly standard. What about the UNIQUE constraint? Is...
4
9,324,298
02/17/2012 07:13:53
920,334
08/30/2011 18:53:47
26
0
Wave Signal Process (Period)
what is the best way to detect 1 period in a wave signal? somebody has a specific algorithm to do that? know where found it??? I know fft, but I dont know how make it give me the wave period (position at time) pascal, matlab...
c++
delphi
matlab
pascal
null
02/18/2012 03:31:55
not a real question
Wave Signal Process (Period) === what is the best way to detect 1 period in a wave signal? somebody has a specific algorithm to do that? know where found it??? I know fft, but I dont know how make it give me the wave period (position at time) pascal, matlab...
1
5,934,947
05/09/2011 09:28:43
709,416
04/15/2011 08:03:16
67
7
Mobile Framework
We have one website which is built using jQuery and JSON and I want to make my site work in Mobile too. Could you suggest any best mobile framework that can be easily integrated with my existing technology without much coding changes. Thanks,<br> Karthik
javascript
jquery
mobile
null
null
02/07/2012 14:58:47
not constructive
Mobile Framework === We have one website which is built using jQuery and JSON and I want to make my site work in Mobile too. Could you suggest any best mobile framework that can be easily integrated with my existing technology without much coding changes. Thanks,<br> Karthik
4
7,723,642
10/11/2011 09:02:57
989,144
10/11/2011 08:53:58
1
0
How can i do Video Conferencing in JAVA?
I am working on the project for my last year, it is, "Video Conferencing Over Web". So i want to know how can i do Video Conferencing. Please be specific as i m a beginner.
java
jsp
servlets
null
null
10/11/2011 09:34:01
not a real question
How can i do Video Conferencing in JAVA? === I am working on the project for my last year, it is, "Video Conferencing Over Web". So i want to know how can i do Video Conferencing. Please be specific as i m a beginner.
1
6,159,506
05/28/2011 03:40:40
774,007
05/28/2011 03:40:40
1
0
How to make more images apear flat on the screen like shadow era (cocos 2d)?
If anyone has played shadow era before you know that the rectangles appear flat and seem to take up less space. Anyone know how I can make this? I want to make a field similar to shadow era's. Thanks in Advance!!
iphone
3d
field
shadow
flat
05/28/2011 12:55:26
not a real question
How to make more images apear flat on the screen like shadow era (cocos 2d)? === If anyone has played shadow era before you know that the rectangles appear flat and seem to take up less space. Anyone know how I can make this? I want to make a field similar to shadow era's. Thanks in Advance!!
1
8,520,424
12/15/2011 12:53:08
399,145
07/22/2010 13:40:20
1
0
How to pass items one by one to another msbuild task?
We are having x, y ,z properties files and having a master.properties file Now , i have written in my master.properties file some itemgroup like follows and pass this itemgroup to msbuild target so that it will work like foreach. Item group: <Components Include="Y:\Build\X.Properties"> ...
.net
powershell
msbuild
batch-file
null
null
open
How to pass items one by one to another msbuild task? === We are having x, y ,z properties files and having a master.properties file Now , i have written in my master.properties file some itemgroup like follows and pass this itemgroup to msbuild target so that it will work like foreach. Item group: ...
0
6,556,738
07/02/2011 11:32:03
826,004
07/02/2011 11:32:03
1
0
Argument type of anonymous function
I'm having some trouble with this code. It's supposed to be an OperationTree with Elements BinaryOperations and UnaryOperations. The method eval does the evaluation and looks up the variables in a map. Here's the code import collection.immutable.HashMap sealed abstract class OpTree[T]{ def...
scala
anonymous-function
scala-collections
null
null
null
open
Argument type of anonymous function === I'm having some trouble with this code. It's supposed to be an OperationTree with Elements BinaryOperations and UnaryOperations. The method eval does the evaluation and looks up the variables in a map. Here's the code import collection.immutable.HashMap sealed a...
0
4,874,687
02/02/2011 12:52:41
697,150
02/02/2011 12:22:25
1
0
SOAP_WSDL stop working since changing the server
I have a working website on a pre-production server, all functions are responding correctly. The site uses SOAP to request our clients server. It uses two basic functions, one for searching items and other one to get the details of an specific item. Since I've installed the website into the production server, the s...
php5
soap
wsdl
null
null
null
open
SOAP_WSDL stop working since changing the server === I have a working website on a pre-production server, all functions are responding correctly. The site uses SOAP to request our clients server. It uses two basic functions, one for searching items and other one to get the details of an specific item. Since I've i...
0
7,623,884
10/02/2011 00:37:01
399,584
07/22/2010 20:19:56
495
38
Threaded programming - ties to asynchronous programming? Useful for web apps?
Aside from AJAX, I don't know much about asynchronous programming, and certainly nothing about threads aside from the basic idea behind them. So, needless to say, I was a bit perplexed when I saw in a <a href="http://blogs.msdn.com/b/somasegar/archive/2011/09/30/visual-studio-11-programming-language-advances.aspx">MSD...
c#
multithreading
asynchronous
null
null
10/03/2011 12:13:19
not a real question
Threaded programming - ties to asynchronous programming? Useful for web apps? === Aside from AJAX, I don't know much about asynchronous programming, and certainly nothing about threads aside from the basic idea behind them. So, needless to say, I was a bit perplexed when I saw in a <a href="http://blogs.msdn.com/b/so...
1
5,314,400
03/15/2011 15:56:36
104,815
05/11/2009 14:10:21
1,448
104
Git client usage by operating system - what are the percentages?
Just curious if anyone knows what the amount of Git usage by OS is? For clients. This is a total guess - Linux 60%, Windows 25%, OSX 15%?
windows
linux
git
osx
null
03/15/2011 22:24:48
off topic
Git client usage by operating system - what are the percentages? === Just curious if anyone knows what the amount of Git usage by OS is? For clients. This is a total guess - Linux 60%, Windows 25%, OSX 15%?
2
448,223
01/15/2009 19:55:10
49,404
12/27/2008 19:51:12
58
4
Books and videos about privacy?
I'm looking for books, videos, TV shows or other media to aid a college-level discussion on privacy and the affect that today's technology has on it. Subject materials can include, but are not limited to: - Social networking sites (e.g. Facebook) - Protection of account information - Data mining and its rela...
privacy
books
null
null
null
04/29/2011 18:52:27
off topic
Books and videos about privacy? === I'm looking for books, videos, TV shows or other media to aid a college-level discussion on privacy and the affect that today's technology has on it. Subject materials can include, but are not limited to: - Social networking sites (e.g. Facebook) - Protection of account inf...
2
11,526,960
07/17/2012 16:36:11
626,265
02/21/2011 09:09:06
162
5
UIImage pixel data of image in UIImageView
I am kind of stuck and need help. in my app, when the user taps on a particular position on an UIImage (displayed in UIImageView), I want to access the pixel data from the UIImage. I have figured out how to access the pixel data of the UIImage; but need to map the current (X,Y) position on the UIImageView to the co...
uiimageview
uiimage
pixel
null
null
null
open
UIImage pixel data of image in UIImageView === I am kind of stuck and need help. in my app, when the user taps on a particular position on an UIImage (displayed in UIImageView), I want to access the pixel data from the UIImage. I have figured out how to access the pixel data of the UIImage; but need to map the cur...
0
9,992,015
04/03/2012 11:07:28
1,263,264
03/12/2012 04:08:25
3
0
How can create a webservices which will connect to a database then reterive data and respond back in XML format?
Actually i want to create a webservices with the help of Apache Axis2, Tomcat6.0 and Eclipse Helios , Which will connect to database and retrieve data and then send back in XML format.
web-services
null
null
null
null
null
open
How can create a webservices which will connect to a database then reterive data and respond back in XML format? === Actually i want to create a webservices with the help of Apache Axis2, Tomcat6.0 and Eclipse Helios , Which will connect to database and retrieve data and then send back in XML format.
0
11,584,670
07/20/2012 18:05:11
1,340,177
04/18/2012 02:33:52
1
0
Play Framework 2 HornetQ
Can I integrate Play Framework 2.0 with HornetQ ? I have a HornetQ server running and I want to consume messages from my Play web application.
playframework-2.0
hornetq
null
null
null
null
open
Play Framework 2 HornetQ === Can I integrate Play Framework 2.0 with HornetQ ? I have a HornetQ server running and I want to consume messages from my Play web application.
0
6,861,147
07/28/2011 15:00:43
867,729
07/28/2011 14:41:08
1
2
App Engine Python Forum, need a good Design Pattern and fix bugs
is there anyway that i can apply a good design pattern in the project im dealing with these days. [Python-GG Forum][1]. for this you may have to download the source from the website. anyway its my first google app engine hunt. waiting for open source contribution thanks [1]: http://python-gg.appspot.com/
python
django
google-app-engine
web-applications
django-templates
07/28/2011 22:49:46
not a real question
App Engine Python Forum, need a good Design Pattern and fix bugs === is there anyway that i can apply a good design pattern in the project im dealing with these days. [Python-GG Forum][1]. for this you may have to download the source from the website. anyway its my first google app engine hunt. waiting for open so...
1
10,643,712
05/17/2012 21:20:25
1,255,292
03/07/2012 17:13:00
1
0
How to implement the equivalent functionality to a custom IComparer for Linq to Entities OrderBy()?
How can I implement the equivalent to a custom IComparer for Linq to Entities OrderBy()? A custom comparer is not supported in Linq to Entities as MSDN documentation states: Most of the LINQ ordering methods are supported in LINQ to Entities, with the exception of those that accept an IComparer, because the compa...
linq-to-entities
order-by
icomparer
null
null
null
open
How to implement the equivalent functionality to a custom IComparer for Linq to Entities OrderBy()? === How can I implement the equivalent to a custom IComparer for Linq to Entities OrderBy()? A custom comparer is not supported in Linq to Entities as MSDN documentation states: Most of the LINQ ordering methods a...
0
3,296,832
07/21/2010 06:39:37
397,541
07/21/2010 05:32:54
1
0
how to validate a date
how to validate a given date
java
javascript
ruby-on-rails
ruby
null
07/21/2010 07:00:57
not a real question
how to validate a date === how to validate a given date
1
8,766,730
01/07/2012 02:05:41
251,824
01/15/2010 19:49:06
1,440
115
Tar command in mac os x adding "hidden" files, why?
I am writing my own tar archiver. All works fine inside my app (even reading tars generated with other tools) however I cannot get my tar files to work with 3rd party tar file readers. So I tried building a tar file on the command line, building one with my code and binary comparing the two. But there seems to be an...
linux
osx
terminal
osx-lion
tar
03/11/2012 18:32:31
off topic
Tar command in mac os x adding "hidden" files, why? === I am writing my own tar archiver. All works fine inside my app (even reading tars generated with other tools) however I cannot get my tar files to work with 3rd party tar file readers. So I tried building a tar file on the command line, building one with my code ...
2
10,723,030
05/23/2012 15:21:59
1,039,551
11/10/2011 10:33:50
74
4
Url with or without 'www'
From GWT I am getting some 'file not found' errors it gets from external websites linking to mine www.domain.com/file.php%3Fid%3DUSERid%26cat%3DCAT From Firefox I found that removing 'www' the problem is gone and the right page is displayed www.domain.com/file.php?id=USERid&cat=CAT 'www' reappears beca...
apache
url-rewriting
null
null
null
null
open
Url with or without 'www' === From GWT I am getting some 'file not found' errors it gets from external websites linking to mine www.domain.com/file.php%3Fid%3DUSERid%26cat%3DCAT From Firefox I found that removing 'www' the problem is gone and the right page is displayed www.domain.com/file.php?id=USERi...
0
1,964,807
12/27/2009 00:51:55
62,122
02/03/2009 20:47:20
561
15
False errors in eclipse?
Okay, so eclipse says my code has errors in it, but there are no red lines. When I try to run my project (Called Game2) it gives me this error: java.lang.NoClassDefFoundError: Game2 Caused by: java.lang.ClassNotFoundException: Game2 at java.net.URLClassLoader$1.run(Unknown Source) at java.securi...
java
eclipse
null
null
null
null
open
False errors in eclipse? === Okay, so eclipse says my code has errors in it, but there are no red lines. When I try to run my project (Called Game2) it gives me this error: java.lang.NoClassDefFoundError: Game2 Caused by: java.lang.ClassNotFoundException: Game2 at java.net.URLClassLoader$1.run(Unknow...
0
10,397,897
05/01/2012 12:53:28
263,268
02/01/2010 05:57:28
702
29
How to manage combinations of styles: multiple classes, specific classes, or context?
I'm not much of a web designer or programmer, but I seem to run into this issue with CSS classes: what's the best way of managing sets of CSS classes that share attributes in common? For example, I'm currently working on an application with a status bar representing the status of a file transfer. It's used in three ...
css
naming-conventions
css-selectors
css-classes
null
null
open
How to manage combinations of styles: multiple classes, specific classes, or context? === I'm not much of a web designer or programmer, but I seem to run into this issue with CSS classes: what's the best way of managing sets of CSS classes that share attributes in common? For example, I'm currently working on an ap...
0
6,855,000
07/28/2011 06:44:58
866,862
07/28/2011 06:44:58
1
0
how recurion works in this C # program?
using System; class RevStr { public void displayRev(string str) { if(str.Length > 0) displayRev(str.Substring(1, str.Length-1)); else return; Console.Write(str[0]); } } class MainClass { pu...
c#
c
null
null
null
null
open
how recurion works in this C # program? === using System; class RevStr { public void displayRev(string str) { if(str.Length > 0) displayRev(str.Substring(1, str.Length-1)); else return; Console.Write(str[0]); } ...
0
9,526,866
03/02/2012 01:40:55
24,391
10/02/2008 05:00:08
2,168
75
Is it possible to just print the string that was passed into the Scheme macro?
I am working on a language translator in guile scheme, and need to handle the basic case, where you're trying to convert a single word. (define var 5) (translate var) This should print the string `var` and not the number `5`. How do I do this using R5RS Scheme macros (the `define-syntax` style)?
macros
scheme
guile
r5rs
null
null
open
Is it possible to just print the string that was passed into the Scheme macro? === I am working on a language translator in guile scheme, and need to handle the basic case, where you're trying to convert a single word. (define var 5) (translate var) This should print the string `var` and not the numbe...
0
5,953,041
05/10/2011 16:09:37
376,338
06/25/2010 14:15:31
144
7
Android AutoCompleteTextView not rendering correctly????
Hi I have a AutoCompleteTextView which works fine on my Nexus1. When deploying the code on a Samsung Apollo i5801 the list doesn't display correctly. The data is in the list as I can scroll a little (see pics below). ![enter image description here][1]![enter image description here][2] Here is my CursorAdapt...
android
autocompletetextview
null
null
null
null
open
Android AutoCompleteTextView not rendering correctly???? === Hi I have a AutoCompleteTextView which works fine on my Nexus1. When deploying the code on a Samsung Apollo i5801 the list doesn't display correctly. The data is in the list as I can scroll a little (see pics below). ![enter image description here][1]...
0
11,185,550
06/25/2012 08:07:05
1,479,348
06/25/2012 07:55:52
1
0
what can be done to solve this error.plz help me out
<code><html> <head> <title>Insert title here</title> </head> <body> <%@page import="java.io.*"%> <%@page import="java.sql.*"%> <%@page import="java.util.*,java.sql.*,java.io.*"%> <% Connection conn= null; //Statement stmt= null; Statement stm...
jsp
using
null
null
null
06/25/2012 12:33:41
too localized
what can be done to solve this error.plz help me out === <code><html> <head> <title>Insert title here</title> </head> <body> <%@page import="java.io.*"%> <%@page import="java.sql.*"%> <%@page import="java.util.*,java.sql.*,java.io.*"%> <% Connection conn...
3
9,578,619
03/06/2012 05:55:59
1,186,389
02/02/2012 23:36:51
18
0
Why isn't remote mobile app testing more popular?
[Perfecto Mobile](http://www.perfectomobile.com/) and [Keynote DeviceAnywhere](http://www.keynotedeviceanywhere.com/index.aspx) are both seemingly valuable tools. They allow the user to connect remotely to a variety of mobile devices for testing purposes. My question is why is it that these companies and their tool...
android
testing
application
mobile
remote
03/07/2012 18:25:05
not constructive
Why isn't remote mobile app testing more popular? === [Perfecto Mobile](http://www.perfectomobile.com/) and [Keynote DeviceAnywhere](http://www.keynotedeviceanywhere.com/index.aspx) are both seemingly valuable tools. They allow the user to connect remotely to a variety of mobile devices for testing purposes. My qu...
4
6,417,055
06/20/2011 20:26:40
268,125
02/07/2010 13:23:37
181
15
Download files and store them locally with Phonegap/jQuery Mobile Android and iOS Apps
I wrote an jQuery Mobile app and packaged it with Phonegap to iOS and Android apps. At this point I am using locally stored json files to read data. I would like to update these json files from time to time by downloading newer json files from a server. How can I get the json from the server and store the json...
android
ios
phonegap
jquery-mobile
null
null
open
Download files and store them locally with Phonegap/jQuery Mobile Android and iOS Apps === I wrote an jQuery Mobile app and packaged it with Phonegap to iOS and Android apps. At this point I am using locally stored json files to read data. I would like to update these json files from time to time by downloading ...
0
10,643,992
05/17/2012 21:47:55
443,905
09/09/2010 23:17:23
31
1
Recognize font from this website?
I am hoping someone can recognize the font on the website http://www.dineinkelowna.com - the word "Kelowna" behind the "Dine In" is the font I'm looking for. I did this design a while ago and can't figure out what font it is (source files are gone). Any help is greatly appreciated. Thanks, Kevin
fonts
null
null
null
null
05/18/2012 18:53:04
off topic
Recognize font from this website? === I am hoping someone can recognize the font on the website http://www.dineinkelowna.com - the word "Kelowna" behind the "Dine In" is the font I'm looking for. I did this design a while ago and can't figure out what font it is (source files are gone). Any help is greatly appreciated...
2
5,559,503
04/05/2011 22:52:23
693,884
04/05/2011 22:52:23
1
0
Asymmetric TSP in C ?
I need an Asymmetric TSP Implementation in C ?
implementation
traveling-salesman
asymmetric
null
null
04/05/2011 23:58:37
not a real question
Asymmetric TSP in C ? === I need an Asymmetric TSP Implementation in C ?
1
5,717,519
04/19/2011 13:57:55
709,683
04/15/2011 11:05:48
1
1
PHP Login System Questions
I have read a lot of these but I have rather Few Questions that I think aren't adquately answered. If there is a link, please refer it to me and I'll be grateful. I have PHP Login system and It will be community site where user will register and login. Now I need your help in these things: 1. What hashing algorithm...
php
pdo
mysqli
login-script
null
null
open
PHP Login System Questions === I have read a lot of these but I have rather Few Questions that I think aren't adquately answered. If there is a link, please refer it to me and I'll be grateful. I have PHP Login system and It will be community site where user will register and login. Now I need your help in these th...
0
9,105,769
02/02/2012 01:08:06
580,918
01/19/2011 04:52:19
11
1
How do I turn off or ignore key repeat for my curses application?
So I recently found curses (specifically [PDcurses][1]) and I'm just getting into it. Right now I'm trying to write a little space shooter type game with it and it's worked fine so far for rendering and getting menu type input, but now when I go into the game, I've noticed that key repeat is pretty bad for action games...
c++
c
input
curses
pdcurses
null
open
How do I turn off or ignore key repeat for my curses application? === So I recently found curses (specifically [PDcurses][1]) and I'm just getting into it. Right now I'm trying to write a little space shooter type game with it and it's worked fine so far for rendering and getting menu type input, but now when I go int...
0
2,043,532
01/11/2010 17:23:40
248,245
01/11/2010 17:23:40
1
0
HIbernate Query taking very long time
I am trying optimize my code. I fetching the data using hibernate, when i am running the query directly on the database it fetching the results in 2secs, rowcount around 2800. Same query when i fire from my java code takes 8 secs. i have included the code sniplet below. Please help me out on this, its very urgent. ...
hibernate
query
optimization
null
null
null
open
HIbernate Query taking very long time === I am trying optimize my code. I fetching the data using hibernate, when i am running the query directly on the database it fetching the results in 2secs, rowcount around 2800. Same query when i fire from my java code takes 8 secs. i have included the code sniplet below. Pleas...
0
3,011,383
06/10/2010 03:08:38
63,651
02/07/2009 12:43:47
269
4
preg_match() Unknown modifier '[' help
I have this regex for getting the YouTube video ID: (?<=v=)[a-zA-Z0-9-]+(?=&)|(?<=[0-9]/)[^&\n]+|(?<=v=)[^&\n]+ I get it from there: http://stackoverflow.com/questions/2597080/regex-to-parse-youtube-yid The problem is I get `preg_match() Unknown modifier '['` warning. I know I have to enclose the regex ...
php
regex
null
null
null
null
open
preg_match() Unknown modifier '[' help === I have this regex for getting the YouTube video ID: (?<=v=)[a-zA-Z0-9-]+(?=&)|(?<=[0-9]/)[^&\n]+|(?<=v=)[^&\n]+ I get it from there: http://stackoverflow.com/questions/2597080/regex-to-parse-youtube-yid The problem is I get `preg_match() Unknown modifier '['` war...
0
7,108,850
08/18/2011 14:15:54
660,536
03/15/2011 12:17:53
130
4
variable decimal places in .Net string formatters?
Fixed decimal places is easy String.Format("{0:F1}", 654.321); gives 654.3 How do I feed the number of decimal places in as a parameter like you can in C? So String.Format("{0:F?}", 654.321, 2); gives 654.32 I can't find what should replace the ?
.net
string-formatting
null
null
null
null
open
variable decimal places in .Net string formatters? === Fixed decimal places is easy String.Format("{0:F1}", 654.321); gives 654.3 How do I feed the number of decimal places in as a parameter like you can in C? So String.Format("{0:F?}", 654.321, 2); gives 654.32 I can't find ...
0
8,830,860
01/12/2012 06:08:16
1,005,346
10/20/2011 13:55:53
116
2
UIModalPresentationFullScreen is not working properly in iPad Landscape?
I have to show the data in `modalViewController iPad`. I have to present the `viewController2` from `viewController1` as `ModalView` for `full screen`. The viewController1 is in `UITabbarController`, the viewController2 should be hide the tabBar. So, i used this code to show the viewController2 from viewController1, ...
ios
ipad
landscape
presentmodalviewcontrolle
orientation-changes
null
open
UIModalPresentationFullScreen is not working properly in iPad Landscape? === I have to show the data in `modalViewController iPad`. I have to present the `viewController2` from `viewController1` as `ModalView` for `full screen`. The viewController1 is in `UITabbarController`, the viewController2 should be hide the tab...
0
4,416,412
12/11/2010 11:07:22
515,080
11/21/2010 12:32:32
5
0
Bring application back to front
My application is a timer with alarm type app. When the timer expires i would like to bring the app's main activity back into view, if the user has navigated away, but the app is still running. I show where i would like to place the necessary code: public class MyCount extends CountDownTimer { ...
android
null
null
null
null
null
open
Bring application back to front === My application is a timer with alarm type app. When the timer expires i would like to bring the app's main activity back into view, if the user has navigated away, but the app is still running. I show where i would like to place the necessary code: public class MyCount...
0
6,834,018
07/26/2011 17:26:04
815,653
06/25/2011 20:20:58
81
2
Can we peek out partially inferred typing info. from Ocaml toplevel/compiler for a program that does not compile?
I would like to know, in Ocaml, whether a partial typing info. can be drawn by some existed functionality of toplevel/compiler, for a program that does not compile? Let me explain. In Ocaml, it's well known that inferred typed can be retrieved by -annot file. However, sometimes we have a piece of code that does not...
debugging
ocaml
partial
typing
null
null
open
Can we peek out partially inferred typing info. from Ocaml toplevel/compiler for a program that does not compile? === I would like to know, in Ocaml, whether a partial typing info. can be drawn by some existed functionality of toplevel/compiler, for a program that does not compile? Let me explain. In Ocaml, it's w...
0
6,702,086
07/15/2011 02:28:48
667,657
03/19/2011 20:26:01
13
0
wierd issue coverting millisecond to java Date
hi im trying to convert a date value in milliseconds granuality into java Date using **new Date( millsecs)** the converted value i get is 3 hours behind what it is supposed to be. I tried using online tools to conver the millisec value i have and it convert to correct date. Can some one point out what im missin...
java
null
null
null
null
07/16/2011 14:47:49
not a real question
wierd issue coverting millisecond to java Date === hi im trying to convert a date value in milliseconds granuality into java Date using **new Date( millsecs)** the converted value i get is 3 hours behind what it is supposed to be. I tried using online tools to conver the millisec value i have and it convert to ...
1
5,566,088
04/06/2011 12:09:53
685,210
02/25/2011 05:14:26
4
0
What is code for localization to pass the string file iPhone Simulator?
What is code for localization to pass the string file iPhone Simulator? Thanks in Advance
iphone
localization
null
null
null
04/07/2011 05:46:59
not a real question
What is code for localization to pass the string file iPhone Simulator? === What is code for localization to pass the string file iPhone Simulator? Thanks in Advance
1
2,423,335
03/11/2010 07:49:20
211,452
11/15/2009 14:27:23
192
5
using Jquery, replace html elements with own values
I have a table, has many rows. for example one of from rows(all rows are same): <tr> <td> <input type="text" /> </td> <td> <textarea cols="40" rows="3" ></textarea> </td> <td> ...
jquery
html-table
null
null
null
null
open
using Jquery, replace html elements with own values === I have a table, has many rows. for example one of from rows(all rows are same): <tr> <td> <input type="text" /> </td> <td> <textarea cols="40" rows="3" ><...
0
4,569,987
12/31/2010 12:03:51
277,696
02/20/2010 15:45:16
692
4
Filter first then select page
How to first filter the result based on params then to apply where-between? Some thing like With Results as ( Select colName,Title, Row_Number(Over...) as row from a table where colName=5 ) Select * from Results where row between @first and @last But it does not works. I n...
sql-server
null
null
null
null
null
open
Filter first then select page === How to first filter the result based on params then to apply where-between? Some thing like With Results as ( Select colName,Title, Row_Number(Over...) as row from a table where colName=5 ) Select * from Results where row between @first and ...
0
2,214,431
02/06/2010 19:37:17
105,084
05/12/2009 01:13:48
629
10
In Gtk, how do I search a ListStore for the row containing a particular value?
I have a `ListStore` modeling a list of `Tag`s. This list may change apart from the `ListStore`. What I'd like to do is listen to the `TagRemoved` event in my `TagList` class, and remove the `Tag` from the `ListStore` when the event is triggered. However, I can't seem to find a way to search a `ListStore` for the row c...
gtk
treeview
gtk#
c#
null
null
open
In Gtk, how do I search a ListStore for the row containing a particular value? === I have a `ListStore` modeling a list of `Tag`s. This list may change apart from the `ListStore`. What I'd like to do is listen to the `TagRemoved` event in my `TagList` class, and remove the `Tag` from the `ListStore` when the event is ...
0
7,729,388
10/11/2011 16:31:24
947,682
09/15/2011 20:47:13
1
0
Cisco router with a block of public ips
I have a cisco router with a block of 18 public ips. The router is configured correctly as the internet is up an running. I have an apache web server listening on port 8888 so I set up a static nat from the local apache ip address to an extra public ip. However, nothing works. I allowed the incoming tcp on port 8888 in...
networking
router
cisco
null
null
10/12/2011 02:01:13
off topic
Cisco router with a block of public ips === I have a cisco router with a block of 18 public ips. The router is configured correctly as the internet is up an running. I have an apache web server listening on port 8888 so I set up a static nat from the local apache ip address to an extra public ip. However, nothing work...
2
3,394,805
08/03/2010 08:24:11
63,748
02/07/2009 21:31:38
382
3
Core Data for temporary data
Is Core Data still a good option to use for the iOS even if they data will only be quite temporary. i.e – data being sent up to a server in the cloud once within range of a network, and then never needed again on the mobile device.
iphone
core-data
null
null
null
null
open
Core Data for temporary data === Is Core Data still a good option to use for the iOS even if they data will only be quite temporary. i.e – data being sent up to a server in the cloud once within range of a network, and then never needed again on the mobile device.
0
4,137,493
11/09/2010 19:14:41
65,311
02/11/2009 21:50:45
272
11
Capistrano multistage variables
When using ext/multistage, why aren't the variables that are set in a stage (production.rb) available in deploy.rb? In production.rb: `set :domain, "domain.com"` In deploy.rb: `set :vhost, "/var/www/#{domain}"` But when I try to run, it complains undefined local variable or method `domain' for #<Capist...
capistrano
null
null
null
null
null
open
Capistrano multistage variables === When using ext/multistage, why aren't the variables that are set in a stage (production.rb) available in deploy.rb? In production.rb: `set :domain, "domain.com"` In deploy.rb: `set :vhost, "/var/www/#{domain}"` But when I try to run, it complains undefined local var...
0
10,309,214
04/25/2012 04:04:41
1,284,959
03/22/2012 03:44:02
58
6
IPTables Range of Ports
Hey guys in my iptables file I have the following line: -A INPUT -m state --state NEW -m tcp -p tcp --dport 20000:25000 -j ACCEPT Because I'm trying to open a range of ports that will need to be open for multiple (Yes THAT many multiple) different minecraft servers. I know the issue is the IPTables because...
centos
iptables
null
null
null
null
open
IPTables Range of Ports === Hey guys in my iptables file I have the following line: -A INPUT -m state --state NEW -m tcp -p tcp --dport 20000:25000 -j ACCEPT Because I'm trying to open a range of ports that will need to be open for multiple (Yes THAT many multiple) different minecraft servers. I know the ...
0
3,966,918
10/19/2010 09:21:51
11,413
09/16/2008 07:47:02
4,209
229
Active Directory Web Services (ADWS) SDK
I recently come to know that there are web services (WCF) for Active Directory. I presume this is not about LDAP. Are there any documentations or blogs about it as to what the default endpoints are or what the API looks like or does it even talk in SOAP? or can you please shed some light on how to connect to Active...
wcf
soap
active-directory
null
null
null
open
Active Directory Web Services (ADWS) SDK === I recently come to know that there are web services (WCF) for Active Directory. I presume this is not about LDAP. Are there any documentations or blogs about it as to what the default endpoints are or what the API looks like or does it even talk in SOAP? or can you plea...
0
10,249,245
04/20/2012 15:39:09
1,346,917
04/20/2012 15:21:02
1
0
warnings!! Hardcode string && even having logo in drawable is giving error?
1.android:text="Full Name"/> says [I18N] Hardcoded string "Full Name", should use @string resource2.<ImageView android:src="@drawable/logo" says [Accessibility] Missing contentDescription attribute on image.3.<EditText android:id="@+id/reg_fullname" says This text field does not specify an inputType or a hint.
android
null
null
null
null
04/20/2012 21:59:53
not a real question
warnings!! Hardcode string && even having logo in drawable is giving error? === 1.android:text="Full Name"/> says [I18N] Hardcoded string "Full Name", should use @string resource2.<ImageView android:src="@drawable/logo" says [Accessibility] Missing contentDescription attribute on image.3.<EditText android:id="@+id/reg...
1
6,691,185
07/14/2011 09:39:15
562,478
01/04/2011 11:37:30
767
67
eval inside of eval
I am just wondering if there are situations when there are any benefits of using eval function inside of another eval function? Can anyone give an example when one eval function inside of another is actually helpful?
javascript
null
null
null
null
07/14/2011 14:25:13
not a real question
eval inside of eval === I am just wondering if there are situations when there are any benefits of using eval function inside of another eval function? Can anyone give an example when one eval function inside of another is actually helpful?
1
10,455,928
05/04/2012 20:46:23
1,375,873
05/04/2012 20:34:58
1
0
where do these duplicates appear in listbox?
fnamelength = Header[4]; lnamelength = (char)(Header[5]-Header[4]); idlength = (char)(messagelength - fnamelength - lnamelength); for (char i = (char)0, j = fnamelength, k = (char)(fnamelength + lnamelength); i < fnamelength || j < ...
c#
listbox
duplicates
null
null
05/05/2012 06:38:53
too localized
where do these duplicates appear in listbox? === fnamelength = Header[4]; lnamelength = (char)(Header[5]-Header[4]); idlength = (char)(messagelength - fnamelength - lnamelength); for (char i = (char)0, j = fnamelength, k = (char)(f...
3
1,537,850
10/08/2009 13:37:54
126,917
06/22/2009 12:58:01
15
0
Facebooker Connect and Safari 4
Seems to be a known problem, but I didn't find the solution. When your facebook app tries to perform some JS call via loading fb:iframe with JS code, Safari blocks this saying "Unsafe JavaScript attempt to access frame with URL <IFRAME URL> from frame with URL <CANVAS PAGE>. Domain, names and protocols must match". ...
facebook
connect
fbjs
javascript
null
null
open
Facebooker Connect and Safari 4 === Seems to be a known problem, but I didn't find the solution. When your facebook app tries to perform some JS call via loading fb:iframe with JS code, Safari blocks this saying "Unsafe JavaScript attempt to access frame with URL <IFRAME URL> from frame with URL <CANVAS PAGE>. Doma...
0
623,543
03/08/2009 13:05:07
70,262
02/24/2009 08:11:31
18
1
Best way to keep a large number of hobby projects alive; open sourcing?
Because my time is limited I can usually only focus on one or two of my hobby projects, while the others sit there wasting away. I am looking for a solution that would allow me to divide my time better. is open sourcing where I take the role of guiding the project realistic, or are there better solutions?
open-source
planning
hobby
null
null
04/30/2012 03:12:49
not constructive
Best way to keep a large number of hobby projects alive; open sourcing? === Because my time is limited I can usually only focus on one or two of my hobby projects, while the others sit there wasting away. I am looking for a solution that would allow me to divide my time better. is open sourcing where I take the rol...
4
6,088,339
05/22/2011 13:53:20
159,982
08/20/2009 11:49:42
617
1
jQuery stop "click" action afrer first elevent
There are two nested elements, both have different `click` actions. I need to stop outer element action when inner element is clicked. HTML: <div id='out'> <div id='in'></div> </div> jQuery: $('#out').click(function(){alert('OUT div is pressed')}) $('#in').click(function()...
jquery
null
null
null
null
null
open
jQuery stop "click" action afrer first elevent === There are two nested elements, both have different `click` actions. I need to stop outer element action when inner element is clicked. HTML: <div id='out'> <div id='in'></div> </div> jQuery: $('#out').click(function(){alert('O...
0
9,884,042
03/27/2012 05:54:04
1,292,276
03/26/2012 05:55:35
1
0
Hibernate Getting Output from a Generic Cursor
Need to get data out from oracle database using a complex procedure. The output is a generic cursor. i am using hibernate to fetch the output. But the Result set does not have a mapping as it is not some table. how can i fetch the data out from the cursor into my object. Is there a way i can get a resultset ob...
hibernate
null
null
null
null
null
open
Hibernate Getting Output from a Generic Cursor === Need to get data out from oracle database using a complex procedure. The output is a generic cursor. i am using hibernate to fetch the output. But the Result set does not have a mapping as it is not some table. how can i fetch the data out from the cursor into my...
0
2,413,471
03/09/2010 23:41:37
117,700
06/04/2009 23:04:34
1,106
21
where can i find exercises to practice SQL statements?
do you know where i can find some practice SQL problems? where i can write select statements
sql
null
null
null
null
12/10/2011 06:10:12
not constructive
where can i find exercises to practice SQL statements? === do you know where i can find some practice SQL problems? where i can write select statements
4
11,066,408
06/16/2012 19:29:23
1,461,020
06/16/2012 19:13:09
1
0
php sql search display
I've working on coding a PHP-SQL search. I've designed it in a manner that when a person logs in the page; he gets the option to search. The autocomplete works fine but "No results" are always displayed. The relevant code is: echo '<input class="input" id="keywords" name="keywords" type="text" ></td></tr>'; ...
php
sql
search
null
null
06/17/2012 13:46:56
too localized
php sql search display === I've working on coding a PHP-SQL search. I've designed it in a manner that when a person logs in the page; he gets the option to search. The autocomplete works fine but "No results" are always displayed. The relevant code is: echo '<input class="input" id="keywords" name="keywords"...
3
11,424,827
07/11/2012 02:46:55
1,516,455
07/11/2012 02:36:02
1
0
DHCP (server) laptop
I want to make my laptop as a DHCP server to assign IPs for a switch. how to set up my laptop to do it. Thank you my laptop use window XP
web-services
null
null
null
null
07/11/2012 05:57:19
off topic
DHCP (server) laptop === I want to make my laptop as a DHCP server to assign IPs for a switch. how to set up my laptop to do it. Thank you my laptop use window XP
2
9,086,240
01/31/2012 20:12:45
631,115
02/23/2011 21:05:18
128
6
Visual Studio file corrupted after power outage
I had a generic handler C# file, with an "ashx" extension, open in Visual Studio 2010 Professional, when I experienced a sudden power outage. Now, after restarting my computer and reopening the file, all I see is a bunch of hex values, instead of C# code. ![C# file corrupted][1] [1]: http://i.stack.imgur.com...
c#
visual-studio-2010
null
null
null
06/24/2012 02:06:30
too localized
Visual Studio file corrupted after power outage === I had a generic handler C# file, with an "ashx" extension, open in Visual Studio 2010 Professional, when I experienced a sudden power outage. Now, after restarting my computer and reopening the file, all I see is a bunch of hex values, instead of C# code. ![C# fi...
3
7,091,125
08/17/2011 10:12:49
926,379
06/10/2011 04:48:46
43
0
How to use the masterpage div tage in content placeholder pageload event?
i am writing code like this **(master.master)** <div id="Invoice" runat="server" visible="false"> <div class="quicklinks"> Quick Links</div> <ul style="margin-top: 0px;"> <l...
asp.net
master-pages
null
null
null
null
open
How to use the masterpage div tage in content placeholder pageload event? === i am writing code like this **(master.master)** <div id="Invoice" runat="server" visible="false"> <div class="quicklinks"> Quick Links</div> ...
0
11,742,192
07/31/2012 14:15:12
1,001,495
10/18/2011 15:37:10
132
1
CREATE ASSEMBLY - EXCEPTION_ACCESS_VIOLATION
I am trying to create an assembly on my SQL Server 2005 server. Here is what I am using: CREATE ASSEMBLY [SQLCLRTest] AUTHORIZATION [dbo] FROM 'path\to\my\file.dll' WITH PERMISSION_SET = EXTERNAL_ACCESS; I am getting this error as ouput: Msg 0, Level 11, State 0, Line 0 ...
sql-server
sql-server-2005
null
null
null
07/31/2012 14:59:33
off topic
CREATE ASSEMBLY - EXCEPTION_ACCESS_VIOLATION === I am trying to create an assembly on my SQL Server 2005 server. Here is what I am using: CREATE ASSEMBLY [SQLCLRTest] AUTHORIZATION [dbo] FROM 'path\to\my\file.dll' WITH PERMISSION_SET = EXTERNAL_ACCESS; I am getting this error as ou...
2
9,689,373
03/13/2012 17:52:59
937,748
09/10/2011 00:58:20
1
0
Android - Facebook app
just by curiosity, is Facebook app a native Android App or is a HTML5 app, like app created on PhoneGap. I hope anyone know that. Regards.
android
facebook
null
null
null
06/10/2012 22:06:42
not a real question
Android - Facebook app === just by curiosity, is Facebook app a native Android App or is a HTML5 app, like app created on PhoneGap. I hope anyone know that. Regards.
1
899,725
05/22/2009 20:02:15
62,245
02/04/2009 03:55:12
376
7
Force developer to use a particular constructor
I have the following class public class UIControl { public string FName{ get; set; } public HtmlInputCheckBox SelectCheckBox { get; set; } public bool OverrideSelect { get; set; } //Want to throw an ApplicationExceptioh if developer uses this constructor and pas...
c#
.net
null
null
null
null
open
Force developer to use a particular constructor === I have the following class public class UIControl { public string FName{ get; set; } public HtmlInputCheckBox SelectCheckBox { get; set; } public bool OverrideSelect { get; set; } //Want to throw an Applicatio...
0
5,615,239
04/10/2011 22:50:55
50,305
12/30/2008 20:58:06
2,402
26
C++ strlen for the String class
How does the C++ `length()` method work for the `std::string` class? Thanks.
c++
string
null
null
null
null
open
C++ strlen for the String class === How does the C++ `length()` method work for the `std::string` class? Thanks.
0
3,313,294
07/22/2010 20:46:01
158,865
08/18/2009 23:33:16
346
2
Trying to get a login to last 10 days.
I'm using a login system, and I'm trying to keep the user logged in for 10 days unless they specifically log out. I thought by using `session_set_cookie_params('864000');` that it would make the user stay logged in for 10 days. But it's not doing that, at least in Chrome. The user only seems to be logged in for the ...
php
null
null
null
null
null
open
Trying to get a login to last 10 days. === I'm using a login system, and I'm trying to keep the user logged in for 10 days unless they specifically log out. I thought by using `session_set_cookie_params('864000');` that it would make the user stay logged in for 10 days. But it's not doing that, at least in Chrome. ...
0
3,918,750
10/12/2010 20:29:32
473,800
10/12/2010 20:29:32
1
0
how to create a buttonbar with a sliding control in android?
The footprints and clock app on a HTC sense phones use a slider control on the bottom buttonbar (see this movie for an example: https://docs.google.com/leaf?id=0B9hmEy_z2CRzOTJmYTVlNDktYjkwMS00YTM5LTk3ODQtYmIzODU4Yzk1YjA0&hl=en&authkey=CMWwwegG). From the hierarchy viewer I can see that they use a custom control fo...
android
htcsense
buttonbar
null
null
null
open
how to create a buttonbar with a sliding control in android? === The footprints and clock app on a HTC sense phones use a slider control on the bottom buttonbar (see this movie for an example: https://docs.google.com/leaf?id=0B9hmEy_z2CRzOTJmYTVlNDktYjkwMS00YTM5LTk3ODQtYmIzODU4Yzk1YjA0&hl=en&authkey=CMWwwegG). Fro...
0
3,942,397
10/15/2010 12:56:49
347,185
05/21/2010 14:53:44
38
1
Ftp access denied to file after failed upload
I'm uploading file to ftp. Sometimes upload fails and on ftp chunk of a file leaves. e.g. 20 mb from file that have 50mb. Then I receive "550 Access is denied" when trying to re-upload file or delete that chunk of trash. Could smb advice a solution?
ftp
null
null
null
null
null
open
Ftp access denied to file after failed upload === I'm uploading file to ftp. Sometimes upload fails and on ftp chunk of a file leaves. e.g. 20 mb from file that have 50mb. Then I receive "550 Access is denied" when trying to re-upload file or delete that chunk of trash. Could smb advice a solution?
0
10,201,860
04/18/2012 02:11:14
1,333,839
04/14/2012 22:16:40
3
1
List as argument in Django
I have a function in Django that accepts an argument in the form of a list [var1, var2], but Django is throwing an exception. This works in interactive-python. stuff = ["Phone", "Plant", "Dog"] def doesStuff(items): for i in items: print i doesStuff(stuff) Phone Plant ...
python
django
arguments
null
null
04/20/2012 12:20:32
not a real question
List as argument in Django === I have a function in Django that accepts an argument in the form of a list [var1, var2], but Django is throwing an exception. This works in interactive-python. stuff = ["Phone", "Plant", "Dog"] def doesStuff(items): for i in items: print i doesStu...
1
10,134,292
04/13/2012 01:50:12
1,330,512
04/13/2012 01:15:15
1
0
JS function no longer applies
**Hello everyone.** I am currently trying to develop an extension for the Chrome browser and am having a problem. My extension works, but the **JS** function which is integrated only works page load, or when it refresh. But when browsing, when you return to the page or text should be amended, the ***JS*** functi...
google-chrome-extension
null
null
null
null
null
open
JS function no longer applies === **Hello everyone.** I am currently trying to develop an extension for the Chrome browser and am having a problem. My extension works, but the **JS** function which is integrated only works page load, or when it refresh. But when browsing, when you return to the page or text sho...
0
10,329,086
04/26/2012 07:35:39
1,294,699
03/27/2012 05:35:48
5
0
setting the value to superview,when clicking the subviews
I have dynamically created uiviews,which having many buttons.It is for selecting particular value(uibutton) from each row(uiview).While clicking the button,I have to get the button image changed(like highlighting).Now I am getting like that,but order is not matching.Buttons are not getting selected in some row.please ...
objective-c
ios
xcode
null
null
null
open
setting the value to superview,when clicking the subviews === I have dynamically created uiviews,which having many buttons.It is for selecting particular value(uibutton) from each row(uiview).While clicking the button,I have to get the button image changed(like highlighting).Now I am getting like that,but order is no...
0
5,440,293
03/26/2011 04:01:50
422,201
02/02/2010 00:50:04
205
3
Check different fields from an MySQL statement in PHP
I want to see if the search text is in any of the fields of a table, but I need to add it onto a WHERE clause that's already there. SELECT * FROM table WHERE name = 'test' AND email = 'test@email.com' I need to add on the end of this extra clauses to check if: AND name LIKE '%{$search_text}%' OR email...
php
sql
null
null
null
null
open
Check different fields from an MySQL statement in PHP === I want to see if the search text is in any of the fields of a table, but I need to add it onto a WHERE clause that's already there. SELECT * FROM table WHERE name = 'test' AND email = 'test@email.com' I need to add on the end of this extra clauses to...
0
7,376,488
09/11/2011 05:31:46
938,822
09/11/2011 03:48:53
1
0
Why is everyone saying that Delphi is outdated? this is true? should I spend time with it?
I just started programming in Delphi like a 3 months ago, and enjoyed it. Yeah, the language syntax of pascal is a bit odd, old. But everyone is advising me in the university, to not waste time with delphi, and "there are no future with delphi". Every time when I look for some references on google, I just drop in a 7 y...
java
javascript
objective-c
delphi
oop
09/11/2011 20:06:18
not constructive
Why is everyone saying that Delphi is outdated? this is true? should I spend time with it? === I just started programming in Delphi like a 3 months ago, and enjoyed it. Yeah, the language syntax of pascal is a bit odd, old. But everyone is advising me in the university, to not waste time with delphi, and "there are no...
4
4,094,725
11/04/2010 07:46:57
491,413
10/29/2010 14:39:00
451
54
Ask Microsoft for features
How does one make a feature request for Visual Studio to Microsoft?
visual-studio
microsoft
request
visual
features
09/15/2011 14:28:02
off topic
Ask Microsoft for features === How does one make a feature request for Visual Studio to Microsoft?
2
5,545,159
04/04/2011 22:44:05
691,934
04/04/2011 22:44:05
1
0
JQuery panning animation flickers
I am attempting to use JQuery to pan across a large image. The setup is straightforward enough, but I find the image flickers during the animation. My HTML code is as follows: <div style="height: 620px; width: 769px; position: relative; overflow: hidden;" id="ImageContainer"> <img id="AdImage" style="...
jquery
animation
flicker
null
null
null
open
JQuery panning animation flickers === I am attempting to use JQuery to pan across a large image. The setup is straightforward enough, but I find the image flickers during the animation. My HTML code is as follows: <div style="height: 620px; width: 769px; position: relative; overflow: hidden;" id="ImageCont...
0
11,256,464
06/29/2012 05:25:37
1,207,413
02/13/2012 17:55:27
143
2
list view show out of order
Here my custom listfield public Custom_ListField(String title[], String date[], String category[]) { super(0, ListField.MULTI_SELECT); setRowHeight(80); setCallback(this); Background background = BackgroundFactory.createBitmapBackground(bg); setBackground(background); rows = new Vector(); ...
blackberry
listfield
null
null
null
06/29/2012 11:46:50
not a real question
list view show out of order === Here my custom listfield public Custom_ListField(String title[], String date[], String category[]) { super(0, ListField.MULTI_SELECT); setRowHeight(80); setCallback(this); Background background = BackgroundFactory.createBitmapBackground(bg); setBackground(backgroun...
1
257,416
11/02/2008 21:36:06
15,965
09/17/2008 13:47:27
45
4
What are some good resources for learning C beyond K&R
I'm currently reaching the end of the K&R book "The C Programming Lanugage", and I'm looking for things to read next. Any recommendations of: - blogs - more detailed / advanced books (I've already stuck Advanced Programming in a Unix Environment on my Safari bookshelf) - open source c...
c
reading
unix
null
null
11/28/2011 14:29:18
not constructive
What are some good resources for learning C beyond K&R === I'm currently reaching the end of the K&R book "The C Programming Lanugage", and I'm looking for things to read next. Any recommendations of: - blogs - more detailed / advanced books (I've already stuck Advanced Programming in a Unix Envi...
4
9,830,727
03/22/2012 21:19:49
1,009,221
10/23/2011 05:19:01
1
0
Problems Determining Correct Orientation Using ALAssetOrientation and UIImageOrientation
I'm having problems orienting images properly on the iPhone. I'm accessing the images using the AssetLibrary classes. All, I want to do is properly orient the images for display, unfortunately for some images that are taken in portrait mode, they are in an orientation that doesn't make sense. In the block that...
objective-c
uiimage
orientation
alasset
uiimageorientation
null
open
Problems Determining Correct Orientation Using ALAssetOrientation and UIImageOrientation === I'm having problems orienting images properly on the iPhone. I'm accessing the images using the AssetLibrary classes. All, I want to do is properly orient the images for display, unfortunately for some images that are take...
0
3,752,900
09/20/2010 15:23:33
160,760
08/21/2009 12:25:54
71
3
How to preview variables in containers (e.g. std::map> in NetBeans in C++?
As I see, it's impossible to figure out what is in an STL map using NetBeans. Is there any plugin/trick/solution that will allow me to print out all values from a map in debug mode? As far as I know it's using GDB for debugging C++ applications. I've found some nice GDB macros for STL containers (here: http://sou...
c++
debugging
netbeans
gdb
null
null
open
How to preview variables in containers (e.g. std::map> in NetBeans in C++? === As I see, it's impossible to figure out what is in an STL map using NetBeans. Is there any plugin/trick/solution that will allow me to print out all values from a map in debug mode? As far as I know it's using GDB for debugging C++ ap...
0
6,203,589
06/01/2011 15:20:49
63,245
02/06/2009 09:13:10
329
26
favicon creation best practice
What are the best practices when creating favicons for the web? I want to create an icon that looks the best it can when displayed by the main browsers (including IE7) but has the smallest file size possible. I have just created a new icon with the following images within it. 16x16 bit (8 bit colour) 32x32 bit...
favicon
null
null
null
null
06/10/2012 15:47:04
not constructive
favicon creation best practice === What are the best practices when creating favicons for the web? I want to create an icon that looks the best it can when displayed by the main browsers (including IE7) but has the smallest file size possible. I have just created a new icon with the following images within it. ...
4
3,458,577
08/11/2010 13:08:59
370,982
06/19/2010 11:15:35
65
2
[Java & mysql] accessing data from servlet
I have got a requirement that mysql database can only be accessed from localhost. I have to implement a servlet that would access the database allowing other servers in this system to access data (servlet would work as a proxy). However, this system consists of a remote server which downloads large portions of data exe...
java
mysql
servlets
null
null
null
open
[Java & mysql] accessing data from servlet === I have got a requirement that mysql database can only be accessed from localhost. I have to implement a servlet that would access the database allowing other servers in this system to access data (servlet would work as a proxy). However, this system consists of a remote s...
0
11,676,716
07/26/2012 19:33:05
1,555,820
07/26/2012 19:21:38
1
0
Distribution Provisioning Profiles
Trying to create a new profile and the device selection is disabled. Any ideas on what it may be related to. Thank you
apple
distribution
provisioning
null
null
07/26/2012 19:43:19
not a real question
Distribution Provisioning Profiles === Trying to create a new profile and the device selection is disabled. Any ideas on what it may be related to. Thank you
1
3,831,370
09/30/2010 14:10:57
453,673
09/21/2010 08:46:42
35
0
Creating clone of an object not working with virtual base class
#include<iostream> using namespace std; class Something { public: int j; Something():j(20) {cout<<"Something initialized. j="<<j<<endl;} }; class Base { private: Base(const Base&) {} public: Base() {} virtual Bas...
c++
virtual
abstract-class
abstract
null
null
open
Creating clone of an object not working with virtual base class === #include<iostream> using namespace std; class Something { public: int j; Something():j(20) {cout<<"Something initialized. j="<<j<<endl;} }; class Base { private: Base(c...
0
6,638,052
07/09/2011 23:05:04
45,963
12/13/2008 12:23:04
2,637
43
Sudoku optimization working oddly
I'm optimizing my previous backtracking sudoku solver by taking into account the Integers already used in rows so the search space is limited. I have arrived at an odd solution with this method: static void solve2(int row, int col, int [][]grid, ArrayList<LinkedList<Integer>> availableNumsInRows){ ...
java
homework
sudoku
backtracking
null
07/11/2011 09:39:37
too localized
Sudoku optimization working oddly === I'm optimizing my previous backtracking sudoku solver by taking into account the Integers already used in rows so the search space is limited. I have arrived at an odd solution with this method: static void solve2(int row, int col, int [][]grid, ArrayList<LinkedList<Intege...
3
11,244,045
06/28/2012 11:53:20
574,270
01/13/2011 13:15:32
75
2
iis 7.5 website not reachable in lan / no db connection
I'm running a Windows Server 2008 R2 with IIS 7.5 and want to deploy an old silverlight business application with membership provider and wcf data services (not ria) on it, so everyone in the LAN could run the application out of their browser. I installed the IIS role with some roleservices (asp.net, authentication ...
c#
silverlight
sql-server-2008
iis-7.5
null
06/29/2012 12:30:20
off topic
iis 7.5 website not reachable in lan / no db connection === I'm running a Windows Server 2008 R2 with IIS 7.5 and want to deploy an old silverlight business application with membership provider and wcf data services (not ria) on it, so everyone in the LAN could run the application out of their browser. I installed ...
2
1,775,238
11/21/2009 11:29:15
216,047
11/21/2009 11:29:15
1
0
More advanced Java Course or C?
I just completed a my first semester in Java and I am trying to decide if I should take a more advanced Java course or take a class in C. Long term I plan to continue to learn them both, however, I am wondering if a deeper understanding of Java will serve me better or if learning the basics of another language will...
java
c
training
choice
null
02/03/2012 11:36:40
off topic
More advanced Java Course or C? === I just completed a my first semester in Java and I am trying to decide if I should take a more advanced Java course or take a class in C. Long term I plan to continue to learn them both, however, I am wondering if a deeper understanding of Java will serve me better or if learnin...
2
10,121,223
04/12/2012 09:49:29
579,628
01/18/2011 08:44:32
2,084
184
UItableView Cell Content size for iPad
Hi I face the strange problem. I have created UITableView for iPad. When I check the cell width i found it's 320 but for iPad i need 768 and 1024. The below screen shows the TableView in which the cell shows in Table When I add scrollBar with following ` UIScrollView *previewScrollView = [[UIScroll...
objective-c
ios
ipad
null
null
null
open
UItableView Cell Content size for iPad === Hi I face the strange problem. I have created UITableView for iPad. When I check the cell width i found it's 320 but for iPad i need 768 and 1024. The below screen shows the TableView in which the cell shows in Table When I add scrollBar with following ` ...
0
5,801,731
04/27/2011 09:09:46
726,885
04/27/2011 09:09:46
1
0
SurfaceListBox inside ScatterView
I have a SurfaceListBox inside an ScatterViewItem. It feets ok, but the thing is that I would like to move the ScatterviewItem if I don't select any item of the SurfaceListBox. I've got the following code: <Grid Background="{StaticResource WindowBackground}" > <s:ScatterView> <s:ScatterViewItem > <Gr...
pixelsense
null
null
null
null
null
open
SurfaceListBox inside ScatterView === I have a SurfaceListBox inside an ScatterViewItem. It feets ok, but the thing is that I would like to move the ScatterviewItem if I don't select any item of the SurfaceListBox. I've got the following code: <Grid Background="{StaticResource WindowBackground}" > <s:Scatte...
0
8,665,500
12/29/2011 08:28:29
1,057,076
11/21/2011 03:07:28
1
0
How can I install windows phone 7 on my develop board?
I'm a student and I am doing a project related to windows phone 7. Because this project is related to the hardware, so my teacher asked me to installing windows phone 7 on the board. I wondering that if I could install it. if I could, how can I do it? If I cannot, can I use windows embeded 7 standard instead??? My boa...
windows-phone-7
null
null
null
null
01/04/2012 19:07:58
off topic
How can I install windows phone 7 on my develop board? === I'm a student and I am doing a project related to windows phone 7. Because this project is related to the hardware, so my teacher asked me to installing windows phone 7 on the board. I wondering that if I could install it. if I could, how can I do it? If I can...
2
8,344,859
12/01/2011 16:34:50
632,472
02/24/2011 14:26:57
651
27
How check if a file exist in a server with bash
Check if a [file exist in my computer][1] is easy. But how about check if this file exist in my server? If my file is: host@server:/path/to/my/file.txt So I will need do what? [1]: http://stackoverflow.com/questions/638975/how-do-i-tell-if-a-file-does-not-exist-in-bash
bash
shell
null
null
null
12/02/2011 15:22:35
off topic
How check if a file exist in a server with bash === Check if a [file exist in my computer][1] is easy. But how about check if this file exist in my server? If my file is: host@server:/path/to/my/file.txt So I will need do what? [1]: http://stackoverflow.com/questions/638975/how-do-i-tell-if-a-file...
2
7,039,542
08/12/2011 11:39:13
574,413
01/13/2011 15:02:28
1
3
Show temporarily uploaded image file (PHP)
Can i show the uploaded image file before using move_uploaded_file function ? i want to show image file to user before its renamed and moved to image folder, so user can resize image or cancel opreation
php
file-upload
temporary-files
null
null
06/18/2012 12:46:09
not a real question
Show temporarily uploaded image file (PHP) === Can i show the uploaded image file before using move_uploaded_file function ? i want to show image file to user before its renamed and moved to image folder, so user can resize image or cancel opreation
1
6,419,887
06/21/2011 03:01:10
252,060
01/16/2010 07:03:00
153
31
Implementing toolbar for webpage
I saw the html toolbar having functions for translate, facebook, like, twitter, etc. How do I implement it, I tried to view source by downloading the code or view source online, it confuses me. Can anyone provide a simple explanation which I can built on? Ref: http://www.motherandchildhealth.com/Breastfeeding/Jack...
html
facebook
twitter
toolbar
translate
06/23/2011 07:47:06
not a real question
Implementing toolbar for webpage === I saw the html toolbar having functions for translate, facebook, like, twitter, etc. How do I implement it, I tried to view source by downloading the code or view source online, it confuses me. Can anyone provide a simple explanation which I can built on? Ref: http://www.mothe...
1
10,615,998
05/16/2012 09:46:43
1,398,256
05/16/2012 09:36:52
1
0
Accessing Mysql using dapper
Hi good morning all, I am a newbie in .Net. I heard about Dapper, for data accessing. I just want to use dapper in my application which uses Mysql as backend. Is there any links where i can get started in dapper for mysql. Or anyone please h...
c#
asp.net
mysql
dapper
null
05/18/2012 17:19:46
not a real question
Accessing Mysql using dapper === Hi good morning all, I am a newbie in .Net. I heard about Dapper, for data accessing. I just want to use dapper in my application which uses Mysql as backend. Is there any links where i can get started in dapper for mysql. ...
1
10,439,957
05/03/2012 22:05:07
737,310
05/04/2011 04:22:59
13
0
jquery deep copy AND Replace
Here is a overly simplistic version of what I am trying to do. var usersChoice; var object1 = {name: 'fu', id:'123', infoArray: [1,2,3,4,5]}; var object2 = {name: 'bar', id:'456', infoArray: [9,8]}; jQuery.extend(true, usersChoice, object1); Then if I want to change my mind jQuery...
javascript
jquery
null
null
null
null
open
jquery deep copy AND Replace === Here is a overly simplistic version of what I am trying to do. var usersChoice; var object1 = {name: 'fu', id:'123', infoArray: [1,2,3,4,5]}; var object2 = {name: 'bar', id:'456', infoArray: [9,8]}; jQuery.extend(true, usersChoice, object1); Then if I wa...
0
9,063,829
01/30/2012 12:24:59
694,770
04/06/2011 11:57:17
66
1
Date Time Picker like in Windows
I am looking for a component for Swing that would do the same thing that Windows 7 date and time pickers do (or be even better). They look so: ![Windows 7 example][1] And have following features I need: - you cannot enter an invalid value (value is ignored as you type and not when you leave the field) - it...
java
datepicker
datetimepicker
timepicker
null
null
open
Date Time Picker like in Windows === I am looking for a component for Swing that would do the same thing that Windows 7 date and time pickers do (or be even better). They look so: ![Windows 7 example][1] And have following features I need: - you cannot enter an invalid value (value is ignored as you type an...
0
5,026,359
02/17/2011 07:54:36
238,069
12/24/2009 06:06:07
50
3
Accessing Matlab Structure from Java
I've created a matlab function which returns a nested structure (structure which itself contains a structure). I've Created a jar file of the function using Javabuilder. Now, when I'm trying to cast return value of function in Java, it is showing an error that MWStructArray Casting is not possible. Why is this c...
java
matlab
javabuilders
null
null
null
open
Accessing Matlab Structure from Java === I've created a matlab function which returns a nested structure (structure which itself contains a structure). I've Created a jar file of the function using Javabuilder. Now, when I'm trying to cast return value of function in Java, it is showing an error that MWStructArray...
0
7,185,980
08/25/2011 06:27:49
911,309
08/25/2011 06:18:05
1
0
Complete Emailing Script for Marketing
I need a complete script for Email Marketing. Previously I used PhpList, but I didn't find it good enough for my work. I want all the Emails will reach to the Inbox not in spam, Emails will be HTML and the Email Addresses where I will send the Emails will not be my subscribed users, I will just collect the Email Addres...
php
email
html-email
null
null
08/25/2011 06:37:27
off topic
Complete Emailing Script for Marketing === I need a complete script for Email Marketing. Previously I used PhpList, but I didn't find it good enough for my work. I want all the Emails will reach to the Inbox not in spam, Emails will be HTML and the Email Addresses where I will send the Emails will not be my subscribed...
2
8,828,512
01/12/2012 00:06:30
346,405
05/20/2010 17:59:38
47
0
Best Project management software
I am currently looking for a good software for project management. I need the software to: - build code at every SVN commit - run unit tests once a day - run functional tests once a day - run coverage once a day - store builds - run FxCop once a day - integrate with Jira My candidates are Hudson (aka Je...
svn
testing
tfs
hudson
null
01/13/2012 01:34:19
not constructive
Best Project management software === I am currently looking for a good software for project management. I need the software to: - build code at every SVN commit - run unit tests once a day - run functional tests once a day - run coverage once a day - store builds - run FxCop once a day - integrate with Ji...
4