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
6,393,461
06/18/2011 02:29:34
648,865
03/07/2011 21:24:14
73
1
I have a PC not a mac, and I just purchased an iPhone 4, is there anyway I can get a copy of iOS 5?
I'm trying to figure out if I can update my iPhone to iOS 5 now rather than wait all the way till fall, is there a way to do this?
iphone
ios
mobile
null
null
06/18/2011 02:44:15
off topic
I have a PC not a mac, and I just purchased an iPhone 4, is there anyway I can get a copy of iOS 5? === I'm trying to figure out if I can update my iPhone to iOS 5 now rather than wait all the way till fall, is there a way to do this?
2
8,147,355
11/16/2011 05:56:38
1,034,904
11/08/2011 03:37:26
8
0
Objective C: Adaptive Toolbar
I want to create a toolbar without using the UIToolbar, instead i used image views and UIButtons but when i change the orientation of my iPad they remain where they are positioned. Why i didn't use UIToolbar?? because i am having problems with the spacing of my buttons, 'coz i want them closer to each other but on ...
iphone
objective-c
ios
ipad
user-interface
null
open
Objective C: Adaptive Toolbar === I want to create a toolbar without using the UIToolbar, instead i used image views and UIButtons but when i change the orientation of my iPad they remain where they are positioned. Why i didn't use UIToolbar?? because i am having problems with the spacing of my buttons, 'coz i wan...
0
7,793,629
10/17/2011 12:20:36
979,937
10/05/2011 08:05:27
3
0
How can I use applicationDidEnterBackground and locationManager method
I want to keep user location in time period at background. How can I do this? Could you help me?
objective-c
background
location
null
null
10/18/2011 17:04:03
not a real question
How can I use applicationDidEnterBackground and locationManager method === I want to keep user location in time period at background. How can I do this? Could you help me?
1
5,377,214
03/21/2011 11:50:38
418,832
08/12/2010 19:36:08
67
6
Help me improve this function
<pre> I have written the following function that does the following - 1. Read values in a column from an excel file 2. Each cell may have strings separated by comma 3. Two cells may share the same values e.g. cell 1 may have a,b and cell 2 may have b,c 4. The final goal is to create one single list - a,b,c Here...
python
null
null
null
null
03/21/2011 12:06:28
off topic
Help me improve this function === <pre> I have written the following function that does the following - 1. Read values in a column from an excel file 2. Each cell may have strings separated by comma 3. Two cells may share the same values e.g. cell 1 may have a,b and cell 2 may have b,c 4. The final goal is to cre...
2
9,445,479
02/25/2012 15:47:07
829,874
07/05/2011 14:13:37
1
0
Hardware Virtualization Locked Off
I need a dual boot OS 1) MS Win XP Pro SP3 X86 2) MS Win 7 SP1 Ulti X64 I currently am running on the first one. Tried to test the 2nd one using VIrtualBOx/VmWare. Looks like hardware virtualization is locked off for my processor. Which is Intel Core2Duo E7400 2.80 GHz. I know that it supports 64 bit OS. Proble...
hardware
virtualization
locked
off
null
03/27/2012 10:44:11
off topic
Hardware Virtualization Locked Off === I need a dual boot OS 1) MS Win XP Pro SP3 X86 2) MS Win 7 SP1 Ulti X64 I currently am running on the first one. Tried to test the 2nd one using VIrtualBOx/VmWare. Looks like hardware virtualization is locked off for my processor. Which is Intel Core2Duo E7400 2.80 GHz. I k...
2
7,501,837
09/21/2011 14:47:27
174,375
09/16/2009 14:27:39
4,926
136
Couple of questions about asp.net MVC view model patterns
I'm new to MVC. I have read this short bit detailing three ways of dealing with the view model in MVC: http://geekswithblogs.net/michelotti/archive/2009/10/25/asp.net-mvc-view-model-patterns.aspx The gist of it seems to me that: Method 1, pull an object out the database and use it as your view model. Quick ...
asp.net-mvc
view-model-pattern
null
null
null
09/21/2011 17:54:13
not constructive
Couple of questions about asp.net MVC view model patterns === I'm new to MVC. I have read this short bit detailing three ways of dealing with the view model in MVC: http://geekswithblogs.net/michelotti/archive/2009/10/25/asp.net-mvc-view-model-patterns.aspx The gist of it seems to me that: Method 1, pull a...
4
8,006,053
11/04/2011 07:24:12
339,555
05/12/2010 17:09:55
79
12
c# COMDelegate::DelegateConstruct Optimization
I'm using a few functions like ICollection<ICache> caches = new HashSet<ICache>(); ICollection<T> Matches<T>(string dependentVariableName) { return caches .Where(x => x.GetVariableName() == dependentVariableName) .Where(x => typeof(T).IsAssig...
c#
optimization
delegates
lambda
null
null
open
c# COMDelegate::DelegateConstruct Optimization === I'm using a few functions like ICollection<ICache> caches = new HashSet<ICache>(); ICollection<T> Matches<T>(string dependentVariableName) { return caches .Where(x => x.GetVariableName() == dependentVariable...
0
10,542,086
05/10/2012 21:02:13
241,677
12/31/2009 18:39:22
237
5
How to debug browser hang during upload
I am writing a simple file uploader in CodeIgniter 2.0.2. Pasting code below. Under *certain conditions* the browser hangs during this upload and I get "waiting for localhost" in the browser status bar (identical behavior in FF and Chrome). I have verified that the file is being uploaded to the Windows temporary fold...
php
codeigniter
file-upload
php.ini
null
null
open
How to debug browser hang during upload === I am writing a simple file uploader in CodeIgniter 2.0.2. Pasting code below. Under *certain conditions* the browser hangs during this upload and I get "waiting for localhost" in the browser status bar (identical behavior in FF and Chrome). I have verified that the file is...
0
3,943,463
10/15/2010 15:01:28
373,418
06/22/2010 16:56:26
624
45
SS Analysis Services ( SSAS ) DB schema comparison tool?
Does anyone know of a tool that compares SSAS databases? Not their data, just schema and maybe partition definitions.
sql-server
ssas
null
null
null
null
open
SS Analysis Services ( SSAS ) DB schema comparison tool? === Does anyone know of a tool that compares SSAS databases? Not their data, just schema and maybe partition definitions.
0
11,573,396
07/20/2012 05:29:09
262,379
01/30/2010 07:42:31
468
42
Is there a way to reorder reddit posts? or make a couple always stay at the top?
I'm a moderator on a reddit and am really liking it. The issue I have is that I would like to have a couple posts shown above the new ones
reddit
null
null
null
null
07/22/2012 08:36:10
off topic
Is there a way to reorder reddit posts? or make a couple always stay at the top? === I'm a moderator on a reddit and am really liking it. The issue I have is that I would like to have a couple posts shown above the new ones
2
10,643,995
05/17/2012 21:48:25
1,402,027
05/17/2012 21:16:06
1
0
Xcode "Application windows are expected to have a root view controller at the end of application launch" error
I am very new to this, and I am making my first app. When I try to run it, xcode says it was successful, but the simulator just gives me a black screen and I get this message. Here is my main.m code: @implementation ViewController @synthesize button; @synthesize text; - (IBAc...
objective-c
compiler-errors
null
null
null
null
open
Xcode "Application windows are expected to have a root view controller at the end of application launch" error === I am very new to this, and I am making my first app. When I try to run it, xcode says it was successful, but the simulator just gives me a black screen and I get this message. Here is my main.m code: ...
0
7,822,324
10/19/2011 13:49:09
1,003,236
10/19/2011 13:28:15
1
0
External link and hardware back button with jQuery Mobile
This is my first web site with jquery mobile, and i am having problems with external links. I´ll show yo one example. This is Page A <!DOCTYPE html > <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>PageA</title> <meta name="viewport" content="width=device-width, in...
jquery
android
button
mobile
back
null
open
External link and hardware back button with jQuery Mobile === This is my first web site with jquery mobile, and i am having problems with external links. I´ll show yo one example. This is Page A <!DOCTYPE html > <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>PageA</title> ...
0
11,475,906
07/13/2012 18:05:04
827,992
07/04/2011 11:06:19
179
6
Cross-platform video editing libraries for C and C++
I'm looking for libraries that can produce and edit video. the support for Live streamings is not essential. I'm only interested in open-source software with permissive licenses like the BSD or MIT.
c++
c
video
libraries
video-processing
07/16/2012 02:41:23
off topic
Cross-platform video editing libraries for C and C++ === I'm looking for libraries that can produce and edit video. the support for Live streamings is not essential. I'm only interested in open-source software with permissive licenses like the BSD or MIT.
2
11,476,672
07/13/2012 18:57:12
727,689
04/27/2011 16:20:18
3
0
I want a floating menu like in http://www.demasterblenders1753.com/en/ in a Joomla website. How do I do it in Joomla?
I want a floating menu like in http://www.demasterblenders1753.com/en/ in a Joomla website that I am developing http://www.eventcompany.co = How do I do it in Joomla ? Now my wife really wants a menu like that. I have tried Buaxua extension to put the floating menu - but here are a problem: It has only abilit...
javascript
joomla
joomla-extensions
joomla2.5
joomla-module
07/13/2012 18:59:13
not a real question
I want a floating menu like in http://www.demasterblenders1753.com/en/ in a Joomla website. How do I do it in Joomla? === I want a floating menu like in http://www.demasterblenders1753.com/en/ in a Joomla website that I am developing http://www.eventcompany.co = How do I do it in Joomla ? Now my wife really wants ...
1
11,656,510
07/25/2012 18:45:51
1,331,135
04/13/2012 08:55:55
32
0
What emacs tools are available for PERL programmer? How to install them?
I found many of .el files from emacswiki.org that are useful for perl programming in emacs. Help me set it up. I am finding it troublesome to install all elisp files on my ubuntu 12.04.
perl
emacs
elisp
null
null
07/27/2012 04:23:31
not a real question
What emacs tools are available for PERL programmer? How to install them? === I found many of .el files from emacswiki.org that are useful for perl programming in emacs. Help me set it up. I am finding it troublesome to install all elisp files on my ubuntu 12.04.
1
3,337,016
07/26/2010 16:51:18
402,518
07/26/2010 16:51:18
1
0
Is cinterviews.com useful for Preparation of Microsoft interview
Please suggest a good website or books for my microsoft interview soon ,One of my Friend suggested cinterviews.com for the interview .............Suggestions pleaseeeeeee
interview-questions
career-development
null
null
null
07/26/2010 18:43:47
off topic
Is cinterviews.com useful for Preparation of Microsoft interview === Please suggest a good website or books for my microsoft interview soon ,One of my Friend suggested cinterviews.com for the interview .............Suggestions pleaseeeeeee
2
4,706,140
01/16/2011 15:20:34
342,518
05/16/2010 18:42:16
1,272
74
Require and place block in a drupal theme?
In a theme I'm creating I'm wanting to place blocks in locations that are different from the default ones. Eg place the search block in the header. Is there any way to do this from a theme: Be able to require a block and place it somewhere?
php
html
drupal
drupal-theming
drupal-7
null
open
Require and place block in a drupal theme? === In a theme I'm creating I'm wanting to place blocks in locations that are different from the default ones. Eg place the search block in the header. Is there any way to do this from a theme: Be able to require a block and place it somewhere?
0
10,317,225
04/25/2012 13:55:58
62,601
02/04/2009 20:36:53
343
4
ServiceStack default format
I would like to set ServiceStack's default format to JSON, as opposed to the HTML formatted response it normally returns when a service is accessed from a browser. I know this can be specified on each request by sending a ?format=json parameter or setting the Accept header to application/json. Is there a way to chang...
c#
.net
servicestack
null
null
null
open
ServiceStack default format === I would like to set ServiceStack's default format to JSON, as opposed to the HTML formatted response it normally returns when a service is accessed from a browser. I know this can be specified on each request by sending a ?format=json parameter or setting the Accept header to applicati...
0
1,637,255
10/28/2009 13:31:14
164,216
08/27/2009 13:26:42
215
2
Accessing objects within objects?
I am a little confused about how I "set" and "get" the instance variables for an object that is contained within another. As you can see from the code below I first create a RocketBody which includes a SolidRocketMotor object. I am creating the SolidRocketMotor in RocketBody init and deallocating it in RocketBody deall...
objective-c
cocoa
null
null
null
null
open
Accessing objects within objects? === I am a little confused about how I "set" and "get" the instance variables for an object that is contained within another. As you can see from the code below I first create a RocketBody which includes a SolidRocketMotor object. I am creating the SolidRocketMotor in RocketBody init ...
0
10,716,433
05/23/2012 08:42:55
153,586
08/10/2009 08:33:26
59
1
Go HTTP handler - handling more than two form actions
I have a webapp where I have code like: func handler (w res, r req) { if req.Method == POST { // create html form 2 with a submit button2 return ; } // create html form 1 with a submit button1 return } func main() { handle("/", handler) } ...
go
null
null
null
null
null
open
Go HTTP handler - handling more than two form actions === I have a webapp where I have code like: func handler (w res, r req) { if req.Method == POST { // create html form 2 with a submit button2 return ; } // create html form 1 with a submit button1 return } ...
0
6,453,049
06/23/2011 11:06:58
561,850
10/29/2010 18:42:47
10
2
write code to run in GPU
I need to write program to run in the GPU instead of the CPU so that it will be speeder and I will be able to use more than one thread in the same time.I am already write the part of the code using c++ and openCV library (computer vision).I can use one more library to solve this problem but it must run at the windows a...
c++
windows
multithreading
ios4
gpu
06/23/2011 11:43:33
not a real question
write code to run in GPU === I need to write program to run in the GPU instead of the CPU so that it will be speeder and I will be able to use more than one thread in the same time.I am already write the part of the code using c++ and openCV library (computer vision).I can use one more library to solve this problem bu...
1
8,331,465
11/30/2011 19:07:14
839,748
04/23/2011 16:50:07
12
0
foreach GetEnumerator error when converting to Razor syntax
I'm currently in the process of converting the MVC 2 portion of a hybrid Web Forms/MVC 2 application to MVC 3 (I'm not familiar with Web Forms or MVC 2) and have been encountering some problems with some of the foreach statements (which work fine in the original hybrid application). When converting to Razor, some (n...
asp.net-mvc
razor
webforms-view-engine
null
null
null
open
foreach GetEnumerator error when converting to Razor syntax === I'm currently in the process of converting the MVC 2 portion of a hybrid Web Forms/MVC 2 application to MVC 3 (I'm not familiar with Web Forms or MVC 2) and have been encountering some problems with some of the foreach statements (which work fine in the o...
0
6,265,157
06/07/2011 12:29:36
787,447
06/07/2011 12:29:36
1
0
loading data from a struct to an array
Hi guys can you please help me populate this array with these structs nembers and then sort and display them. the data is in a textfile called "players.txt" struct playerType { string firstName; string lastName; string nationality; string dateOfBirth; string placeOfBirth; string club; string po...
c++builder
null
null
null
null
06/07/2011 23:08:38
not a real question
loading data from a struct to an array === Hi guys can you please help me populate this array with these structs nembers and then sort and display them. the data is in a textfile called "players.txt" struct playerType { string firstName; string lastName; string nationality; string dateOfBirth; strin...
1
3,595,470
08/29/2010 16:02:10
434,290
08/29/2010 15:58:40
1
0
Using Generics with LinqToObjects and NOT IN
I want to turn the follow function into a Lamda. After working on it for 45 minutes, I decided to go old school. How would one do this with a Lamda? public static void NotIn<T>(List<T> inListOne, List<T> notInListTwo,ref List<T> resultList) { resultList = new List<T>(); f...
c#
linq
linq-to-objects
null
null
null
open
Using Generics with LinqToObjects and NOT IN === I want to turn the follow function into a Lamda. After working on it for 45 minutes, I decided to go old school. How would one do this with a Lamda? public static void NotIn<T>(List<T> inListOne, List<T> notInListTwo,ref List<T> resultList) { ...
0
3,888,260
10/08/2010 06:41:25
469,920
10/08/2010 06:41:25
1
0
All inbuilt .Net attributes
I have used AppDomain.CurrentDomain.GetAssemblies() to list all assemblies, but how do I list all in-built attributes in .NET 2.0 using C#?
c#
linq
null
null
null
null
open
All inbuilt .Net attributes === I have used AppDomain.CurrentDomain.GetAssemblies() to list all assemblies, but how do I list all in-built attributes in .NET 2.0 using C#?
0
3,928,259
10/13/2010 21:37:56
372,510
06/21/2010 19:53:26
23
4
can i display alert view with the table view with segmented controls in every cell
i want to display the table view in alert view. This table view contains segmented control. these segmented controls are for on/off the audio, image, text. so there will be 3 cells with segmented controls. how to do this please help me out Thank u
iphone
uitableview
uialertview
uisegmentedcontrol
null
null
open
can i display alert view with the table view with segmented controls in every cell === i want to display the table view in alert view. This table view contains segmented control. these segmented controls are for on/off the audio, image, text. so there will be 3 cells with segmented controls. how to do this pl...
0
9,736,860
03/16/2012 12:02:41
1,218,046
02/18/2012 12:33:50
10
0
Loading XML and XSL files in PHP
I am developing an application in PHP were I use XML and XSL files. How can I load a XML file into a $xml variable and a XSL file into a $xsl variable?
php
xml
xslt
null
null
03/16/2012 21:54:23
not a real question
Loading XML and XSL files in PHP === I am developing an application in PHP were I use XML and XSL files. How can I load a XML file into a $xml variable and a XSL file into a $xsl variable?
1
9,839,114
03/23/2012 12:22:51
1,214,611
02/16/2012 19:00:47
1
0
Hibernate NOT IN subquery on junction table
I'm trying to do a query in hibernate like the following sql query: `SELECT phone.* FROM phone WHERE phone.id NOT IN (SELECT phone_id FROM user_phone)` I have the following entity classes: @Entity class User { @Id private Integer id; @ManyToMany private S...
java
sql
hibernate
null
null
null
open
Hibernate NOT IN subquery on junction table === I'm trying to do a query in hibernate like the following sql query: `SELECT phone.* FROM phone WHERE phone.id NOT IN (SELECT phone_id FROM user_phone)` I have the following entity classes: @Entity class User { @Id private Integer i...
0
8,061,288
11/09/2011 06:42:40
989,324
10/11/2011 10:47:21
46
1
Getting improper Output from HttpURLConnection InputStream
URL url = new URL("http://soandso.com"); String userpassword = username + ":" + password; conn = (HttpURLConnection)url.openConnection(); conn.setDoOutput(true); conn.setRequestMethod("POST"); BASE64Encoder enc = new sun.misc...
java
inputstream
httpurlconnection
http-put
null
null
open
Getting improper Output from HttpURLConnection InputStream === URL url = new URL("http://soandso.com"); String userpassword = username + ":" + password; conn = (HttpURLConnection)url.openConnection(); conn.setDoOutput(true); conn.setRequestMeth...
0
4,060,241
10/30/2010 19:09:36
376,873
06/26/2010 08:37:45
1,361
51
How to show/hide a MarkerCluster in maps v3?
I need to have different markers for different `mapType`s, and I'm pushing them to a <a href="http://code.google.com/p/google-maps-utility-library-v3/wiki/Libraries#MarkerClusterer">MarkerClusterer</a>. I "hide" the markers with: cluster.set("map", null); cluster.resetViewport(); cluster.redraw(); ...
javascript
google-maps-api-3
markerclusterer
null
null
null
open
How to show/hide a MarkerCluster in maps v3? === I need to have different markers for different `mapType`s, and I'm pushing them to a <a href="http://code.google.com/p/google-maps-utility-library-v3/wiki/Libraries#MarkerClusterer">MarkerClusterer</a>. I "hide" the markers with: cluster.set("map", null); ...
0
10,152,755
04/14/2012 10:09:10
1,259,198
03/09/2012 11:39:22
21
0
In drupal7 how to get nodes and their taxonomy values
Hi i created 2 nodes in Company CCK under taxonomy A, 2 nodes in Company CCk under taxonomy B. now i want to get a json parse for all the nodes in a taxonomy A. I tried like this www.mywebsite/api/taxonomy_term?selectNodes&parameters[tid]=1 but i wont get nodes under that category so any one help me, Thanks in...
drupal-7
null
null
null
null
05/10/2012 22:54:29
off topic
In drupal7 how to get nodes and their taxonomy values === Hi i created 2 nodes in Company CCK under taxonomy A, 2 nodes in Company CCk under taxonomy B. now i want to get a json parse for all the nodes in a taxonomy A. I tried like this www.mywebsite/api/taxonomy_term?selectNodes&parameters[tid]=1 but i wont get ...
2
10,653,125
05/18/2012 12:59:34
168,775
09/04/2009 20:42:51
5,766
306
Labeling coplot subplots
Is there a way to get the labels of each "given" variable to show up in it's respective subplot? For example, in the following plot (`x` and `y` numeric, `c` factor, called using `coplot(y ~ x | c)`), it would be helpful to have a little textbox in or label above each plot indicating which factor of `c` the plot repres...
r
plot
null
null
null
null
open
Labeling coplot subplots === Is there a way to get the labels of each "given" variable to show up in it's respective subplot? For example, in the following plot (`x` and `y` numeric, `c` factor, called using `coplot(y ~ x | c)`), it would be helpful to have a little textbox in or label above each plot indicating which...
0
6,230,538
06/03/2011 17:29:53
783,113
06/03/2011 17:29:53
1
0
Error installing to PostClassLoader: org.jboss.deployers.spi.DeploymentException: Cannot process metadata
Thanks in advance for any help you can provide: I'm developing an EJB 3 application on JBoss 5.0.1 GA. The application I'm deploying has worked for a couple of years with no problems. However recently I've been upgrading some functionality, and I've had to update one of the libraries that my main EJB module (MyEJB...
deployment
jboss5.x
classnotfound
null
null
null
open
Error installing to PostClassLoader: org.jboss.deployers.spi.DeploymentException: Cannot process metadata === Thanks in advance for any help you can provide: I'm developing an EJB 3 application on JBoss 5.0.1 GA. The application I'm deploying has worked for a couple of years with no problems. However recently I'v...
0
10,518,162
05/09/2012 14:28:47
1,380,151
05/07/2012 15:53:51
21
0
Is validation a cross cutting concern?
Some of my coworkers consider validation as an example of a cross cutting concern and think Aspect Oriented Programming is a good way to handle validation concerns. To use PostSharp notation they think something like this is a good idea: [InRange(20.0, 80.0)] public double Weight { get { retur...
validation
design
aop
aspect-oriented
null
null
open
Is validation a cross cutting concern? === Some of my coworkers consider validation as an example of a cross cutting concern and think Aspect Oriented Programming is a good way to handle validation concerns. To use PostSharp notation they think something like this is a good idea: [InRange(20.0, 80.0)] publ...
0
7,524,022
09/23/2011 03:47:06
960,371
09/23/2011 03:47:06
1
0
What kind of designers do I need to hire for a 3D iPhone Game?
I'm a serial entrepreneur and I have some ideas for an iPhone game but I don't know anything about iOS development. I've hired programmers to develop PHP/Mysql sites in the past, but not sure where to start with iPhone games. Basically, I want a game that will feature 3-dimensional custom cars and really nice gr...
iphone
ios
cocoa
3d
unity3d
09/23/2011 07:15:19
off topic
What kind of designers do I need to hire for a 3D iPhone Game? === I'm a serial entrepreneur and I have some ideas for an iPhone game but I don't know anything about iOS development. I've hired programmers to develop PHP/Mysql sites in the past, but not sure where to start with iPhone games. Basically, I want a...
2
8,061,955
11/09/2011 08:07:15
818,703
06/28/2011 07:24:02
54
4
Accessing tomcat server log from page(front-end)
Is there a way you could access tomcat server log from page? If there are some methods, or an implementation that could do that...
java
tomcat
null
null
null
null
open
Accessing tomcat server log from page(front-end) === Is there a way you could access tomcat server log from page? If there are some methods, or an implementation that could do that...
0
6,913,240
08/02/2011 13:57:54
267,025
02/05/2010 11:57:36
193
5
I'm a ruby on rails developer and I don't like using jquery-ui. Am I wrong?
I use jquery all the time and couldn't build a great website without it. But I'm learning to really dislike jquery-ui. On applications that I've seen use jquery-ui, I feel that there's too much javascript in the client. I've also seen situations where people attach jquery code to jquery-ui widgets that results in mu...
jquery
ruby-on-rails
unit-testing
jquery-ui
null
08/02/2011 14:12:04
off topic
I'm a ruby on rails developer and I don't like using jquery-ui. Am I wrong? === I use jquery all the time and couldn't build a great website without it. But I'm learning to really dislike jquery-ui. On applications that I've seen use jquery-ui, I feel that there's too much javascript in the client. I've also seen s...
2
3,717,360
09/15/2010 12:01:12
448,367
09/15/2010 12:01:12
1
0
Android SDK 2.0 supports A2DP and AVRCP or not
Can anyone let me know Android SDK 2.0 supports A2DP and AVRCP or not. Regards, John
android-emulator
null
null
null
null
null
open
Android SDK 2.0 supports A2DP and AVRCP or not === Can anyone let me know Android SDK 2.0 supports A2DP and AVRCP or not. Regards, John
0
2,207,030
02/05/2010 12:09:26
150,325
08/04/2009 12:44:24
318
25
layout problem with select fields
The `select` fields have both the same size attribute, but the `options` having a class with a specific padding (all the same class). But an empty select field has now a different length if it has no `option` elements. +-------------+ +-------------+ | foo | +---+ | | | ba...
html
css
null
null
null
null
open
layout problem with select fields === The `select` fields have both the same size attribute, but the `options` having a class with a specific padding (all the same class). But an empty select field has now a different length if it has no `option` elements. +-------------+ +-------------+ | foo ...
0
11,003,213
06/12/2012 19:09:23
1,452,030
06/12/2012 19:03:31
1
0
Android application development - Crash Report
I'm new to Android development and I'm trying to mimic the functionality of "Crash Report" - a free app on Android market. I've been doing some research on the topic and I see that a lot of folks have recommended ACRA. The difference in my use-case is that I'm trying to get the crash report for all applications that...
java
android
crash
null
null
06/13/2012 13:44:56
not a real question
Android application development - Crash Report === I'm new to Android development and I'm trying to mimic the functionality of "Crash Report" - a free app on Android market. I've been doing some research on the topic and I see that a lot of folks have recommended ACRA. The difference in my use-case is that I'm tryi...
1
1,442,273
09/18/2009 02:04:43
174,031
09/16/2009 00:44:28
33
0
What's the best way to compare the tech economy of two cities?
My future is likely to have a change of location coming in the next year. What would be the best way to compare the tech economy of two different and comparably populated cities? I searched for c# on dice.com and got 55 hits for one of the cities and 53 for the other. Can you think of a better way?
career-development
null
null
null
null
01/31/2012 13:05:17
off topic
What's the best way to compare the tech economy of two cities? === My future is likely to have a change of location coming in the next year. What would be the best way to compare the tech economy of two different and comparably populated cities? I searched for c# on dice.com and got 55 hits for one of the cities and...
2
10,208,878
04/18/2012 11:57:58
1,337,175
04/16/2012 20:04:57
1
0
Read/Write at the same time php mysql
good morning guys , i've tried to write a code to read and delete data from mysql at same page using php but i fail , is it possible to do that , could you show me an example , thanks in advance
php
mysql
delete
null
null
04/18/2012 19:54:22
not a real question
Read/Write at the same time php mysql === good morning guys , i've tried to write a code to read and delete data from mysql at same page using php but i fail , is it possible to do that , could you show me an example , thanks in advance
1
2,131,684
01/25/2010 10:45:28
47,177
12/17/2008 18:50:34
23
5
Update position of a point
My problem is this: I have a set of points in 3D space, and there positions are updated from time to time with a certain velocity. But i need to keep a minimal distance between them. Can you help me with this? Thanks in advance.
math
algorithm
null
null
null
01/25/2010 18:56:11
not a real question
Update position of a point === My problem is this: I have a set of points in 3D space, and there positions are updated from time to time with a certain velocity. But i need to keep a minimal distance between them. Can you help me with this? Thanks in advance.
1
10,195,597
04/17/2012 16:56:09
320,681
04/19/2010 19:14:43
936
28
How to change a doctype in HAML for selected layouts?
**How do you change doctypes in HAML for one particular view layout?** All other pages for the system need to remain HTML5, however I'm needing a particular type for one special exception. On Rails 3.1.x I've attempted several different ways to change my doctype from 5 to 4.01 to no avail. I've looked at the follo...
ruby-on-rails
ruby
haml
null
null
null
open
How to change a doctype in HAML for selected layouts? === **How do you change doctypes in HAML for one particular view layout?** All other pages for the system need to remain HTML5, however I'm needing a particular type for one special exception. On Rails 3.1.x I've attempted several different ways to change my do...
0
7,546,752
09/25/2011 16:11:05
774,018
05/28/2011 04:21:25
154
1
SQL random value in UPDATE
In MYSQL db, I need to UPDATE table "people" with a random number between 8 and 120, but if the value is between 103 and 109, I want it to become 110. How would I do such a query? UPDATE people SET column1 = '________random expression_________'
sql
null
null
null
null
null
open
SQL random value in UPDATE === In MYSQL db, I need to UPDATE table "people" with a random number between 8 and 120, but if the value is between 103 and 109, I want it to become 110. How would I do such a query? UPDATE people SET column1 = '________random expression_________'
0
10,179,106
04/16/2012 17:54:26
1,048,675
11/16/2011 00:04:57
27
0
Fwrite Fails w/ PHP Cron
I have this issue where cron runs a php script every 5 minutes to update a list. However, the list fails to update 5% of the time, and the list ends up blank. I don't believe it's related to cron, because I think I failed to manually generate the list twice out of like 100 tries. What I believe it's related to i...
php
cron
fwrite
null
null
null
open
Fwrite Fails w/ PHP Cron === I have this issue where cron runs a php script every 5 minutes to update a list. However, the list fails to update 5% of the time, and the list ends up blank. I don't believe it's related to cron, because I think I failed to manually generate the list twice out of like 100 tries. Wh...
0
5,562,202
04/06/2011 06:19:15
224,636
12/04/2009 09:50:53
289
3
Restart Windows Service in c#
I got a link from SO http://stackoverflow.com/questions/3309990/cannot-restart-a-service-c where it says to restart the windows service. The way it should restart the service is mentioned in the question as public static void RestartService(string serviceName, int timeoutMilliseconds) { Service...
c#
asp.net
visual-studio
windows-services
null
null
open
Restart Windows Service in c# === I got a link from SO http://stackoverflow.com/questions/3309990/cannot-restart-a-service-c where it says to restart the windows service. The way it should restart the service is mentioned in the question as public static void RestartService(string serviceName, int timeoutMi...
0
60,256
09/13/2008 01:57:34
2,915
08/25/2008 23:15:12
3,268
137
How do you balance fun feature creep with time constraints?
I enjoy programming, usually. Tedius stuff is easy to get done as quickly and correctly as possible so I can get through it and not have to see it again. But a lot of my coding is *fun* and when I get in the 'zone' I just really enjoy myself. Which is where I make the mistake of spending too much time, perhaps a...
estimation
intermediate
feature-creep
in-the-zone
null
10/31/2011 02:57:33
not constructive
How do you balance fun feature creep with time constraints? === I enjoy programming, usually. Tedius stuff is easy to get done as quickly and correctly as possible so I can get through it and not have to see it again. But a lot of my coding is *fun* and when I get in the 'zone' I just really enjoy myself. Which...
4
7,266,326
09/01/2011 05:10:07
922,833
09/01/2011 04:41:34
-1
0
NFC communicate with existing RFID
Is it possible to create an application utilizing NFC(Near field Communication) of mobile phone which will communicate with existing RFID infrastructure ?Have both in the same frequency range?
android
qt
symbian
nfc
null
09/01/2011 13:25:47
not a real question
NFC communicate with existing RFID === Is it possible to create an application utilizing NFC(Near field Communication) of mobile phone which will communicate with existing RFID infrastructure ?Have both in the same frequency range?
1
4,591,096
01/04/2011 06:10:53
241,631
12/31/2009 17:04:14
1,364
66
WP7 WrapPanel & MVVM
Is there a way to populate the Silverlight toolkit's `WrapPanel` via binding to an `ObservableCollection`? All the examples I've seen so far, including the toolkit example itself, either populate the `WrapPanel` programmatically or by explicitly adding each item in XAML. Thanks for your help!
data-binding
mvvm
windows-phone-7
null
null
null
open
WP7 WrapPanel & MVVM === Is there a way to populate the Silverlight toolkit's `WrapPanel` via binding to an `ObservableCollection`? All the examples I've seen so far, including the toolkit example itself, either populate the `WrapPanel` programmatically or by explicitly adding each item in XAML. Thanks for your hel...
0
8,388,070
12/05/2011 15:58:10
1,080,288
12/04/2011 17:08:28
8
0
Background image width not 100% on iPad
My background images have not been spanning the full width of the browser when viewed on an iPad. This has happened more than once now, so it must be in the way I'm writing the CSS. Here is an example of a footer whose bg image is stopping about 70% of the way on iPad- it has three columns floating within. I've p...
css
ipad
width
background-image
null
null
open
Background image width not 100% on iPad === My background images have not been spanning the full width of the browser when viewed on an iPad. This has happened more than once now, so it must be in the way I'm writing the CSS. Here is an example of a footer whose bg image is stopping about 70% of the way on iPad- it...
0
4,268,798
11/24/2010 16:03:03
107,613
05/15/2009 10:25:06
1,460
64
Should I put included code under SCM?
I'm developing a web app. If I include a jQuery plugin (or the jQuery file itself), this has to be put under my static directory, which is under SCM, to be served correctly. Should I gitignore it, or add it, even if I don't plan on modifying anything from it? And what about binary files (graphic resources) tha...
version-control
null
null
null
null
null
open
Should I put included code under SCM? === I'm developing a web app. If I include a jQuery plugin (or the jQuery file itself), this has to be put under my static directory, which is under SCM, to be served correctly. Should I gitignore it, or add it, even if I don't plan on modifying anything from it? And what...
0
8,483,695
12/13/2011 02:39:22
103,264
05/08/2009 01:16:16
2,398
4
Cloud application, database design
In a cloud application, you would have multiple customers using your service. Is it possible to keep all customers data in 1 table rather than having to create multiple tables per customer? Well it is possible but it would slow down the application right? if the customer stops using your service you would want to...
c#
sql-server
sql-server-2008
null
null
12/13/2011 12:31:17
not a real question
Cloud application, database design === In a cloud application, you would have multiple customers using your service. Is it possible to keep all customers data in 1 table rather than having to create multiple tables per customer? Well it is possible but it would slow down the application right? if the customer st...
1
6,403,463
06/19/2011 15:56:07
783,248
06/03/2011 19:20:17
11
1
Help picking a decent application framework for upcoming java web project
I have a new java web project that is using jQueryUI, plugins, html for for UI and I planned to follow the spring greenhouse example which also uses tiles. However, by my analysis, the following is required to get a simple help page up and running is tedious: - **A.** in views folder create (or copy) help.jsp and...
jquery
spring
wicket
guice
stripes
06/19/2011 21:27:22
not constructive
Help picking a decent application framework for upcoming java web project === I have a new java web project that is using jQueryUI, plugins, html for for UI and I planned to follow the spring greenhouse example which also uses tiles. However, by my analysis, the following is required to get a simple help page up and...
4
8,321,065
11/30/2011 04:14:47
622,096
02/17/2011 20:40:01
201
4
Populate LookUp fields with values
I have a sharepoint list with cols as ID, ProdMake and ProdYear. On my display or edit form, when I chose an ID and Prod Make , the ProdYear gets automatically populated as it is a cascading dropdown. Now based on Make and Year , there are other two other look up fields calling AsstdMake and AsstdYear that need to be a...
javascript
jquery
sharepoint
null
null
null
open
Populate LookUp fields with values === I have a sharepoint list with cols as ID, ProdMake and ProdYear. On my display or edit form, when I chose an ID and Prod Make , the ProdYear gets automatically populated as it is a cascading dropdown. Now based on Make and Year , there are other two other look up fields calling A...
0
11,092,995
06/19/2012 00:45:35
1,465,107
06/19/2012 00:38:03
1
0
NodeJS Asynchronicity Bug
I seem to have a strange asynchronicity bug in NodeJS: If I create a server object with net.createServer(<connectionHandler>), and perform some processing in <connectionHandler> before setting up the handlers for the 'data' event, the program misses the first few packets sent to it. If, however, I pause the str...
javascript
node.js
null
null
null
06/20/2012 12:35:34
not constructive
NodeJS Asynchronicity Bug === I seem to have a strange asynchronicity bug in NodeJS: If I create a server object with net.createServer(<connectionHandler>), and perform some processing in <connectionHandler> before setting up the handlers for the 'data' event, the program misses the first few packets sent to it. ...
4
9,696,234
03/14/2012 05:05:30
1,256,855
03/08/2012 11:12:28
1
0
display values in separate variables
I want to select multiple values from a list. That selected values should be displayed in separate variables. For eg ,from a list of flowers am selecting rose and jasmin means the output should be like 1=rose 2=jasmin The number 1,2 should increment automatically with the selection of values. What is the code fo...
php
null
null
null
null
03/14/2012 18:57:23
not a real question
display values in separate variables === I want to select multiple values from a list. That selected values should be displayed in separate variables. For eg ,from a list of flowers am selecting rose and jasmin means the output should be like 1=rose 2=jasmin The number 1,2 should increment automatically with the...
1
3,456,822
08/11/2010 08:59:28
69,783
02/23/2009 07:24:07
1,504
69
Fastest method for rendering a table view cell?
I'm developing an application that requires me to display many short strings of text in table cells. Currently, I'm using a default table view cell with about 14 UILabels added. Half of these labels contain static text that will not be changed, while the other half contains dynamic data that has to be updated when the ...
objective-c
performance
optimization
uitableview
uilabel
null
open
Fastest method for rendering a table view cell? === I'm developing an application that requires me to display many short strings of text in table cells. Currently, I'm using a default table view cell with about 14 UILabels added. Half of these labels contain static text that will not be changed, while the other half c...
0
10,991,022
06/12/2012 05:34:34
1,186,689
02/03/2012 04:05:17
118
5
UIAlertView Customization of UILocal Notification
I want to customize the default alert view of UILocal Notification.<br/> Is there anyway to change it?<br/> thanks in advance.
iphone
ipad
null
null
null
null
open
UIAlertView Customization of UILocal Notification === I want to customize the default alert view of UILocal Notification.<br/> Is there anyway to change it?<br/> thanks in advance.
0
9,714,407
03/15/2012 05:21:59
1,280,263
06/02/2011 07:36:07
-9
0
how to create my own new plugin in wordpress
I do not know about how to create my own new plugin in wordpress. so which is the best site tutorial to learn wordpress plugins. initially i do not known about wordpress plugins. but i known only few about wordpress. so anyone help me.
php
wordpress
null
null
null
03/15/2012 13:33:28
not constructive
how to create my own new plugin in wordpress === I do not know about how to create my own new plugin in wordpress. so which is the best site tutorial to learn wordpress plugins. initially i do not known about wordpress plugins. but i known only few about wordpress. so anyone help me.
4
573,488
02/21/2009 18:12:24
32,032
10/28/2008 11:09:47
104
19
Canvas, scrolling and special use case in Flex
I have a canvas of variable width and height with a maximum being **2K*2K** This canvas current height and widht vary depending on the user screen size. Usualy smaller than 2K*2K. If the user moves an element (free moving elements like child UIcontainer) inside the canvas at position greater than the current user...
flex
flash
actionscript-3
canvas
scrolling
null
open
Canvas, scrolling and special use case in Flex === I have a canvas of variable width and height with a maximum being **2K*2K** This canvas current height and widht vary depending on the user screen size. Usualy smaller than 2K*2K. If the user moves an element (free moving elements like child UIcontainer) inside ...
0
6,847,159
07/27/2011 15:38:46
800,452
06/15/2011 21:34:21
150
2
Learning PHP Security
I need to step my PHP skills but I know I cannot do that unless I learn some security. I don't really understand the concept of hashes and such and I'm not really sure where to start. Every resource I read seems to be talking over my head. What are some good websites or good books to learn this? Do I need to learn to h...
php
security
books
hash
hacking
10/02/2011 22:27:14
not constructive
Learning PHP Security === I need to step my PHP skills but I know I cannot do that unless I learn some security. I don't really understand the concept of hashes and such and I'm not really sure where to start. Every resource I read seems to be talking over my head. What are some good websites or good books to learn th...
4
10,914,667
06/06/2012 12:56:32
1,439,707
06/06/2012 12:10:40
1
0
Writing a map editor for game development
I have recently begun game development, working mainly with C++ and SDL. After creating few simple clones, I want to work on something more complex. Something with a lot more physics than I am used to, and complex game objects. So far, I have been using a basic tile editor I made in SDL to create binary maps, but n...
c++
null
null
null
null
06/07/2012 10:16:18
not constructive
Writing a map editor for game development === I have recently begun game development, working mainly with C++ and SDL. After creating few simple clones, I want to work on something more complex. Something with a lot more physics than I am used to, and complex game objects. So far, I have been using a basic tile ed...
4
3,016,861
06/10/2010 17:27:49
12,982
09/16/2008 16:30:29
58
7
Can you use a custom filter with PHP filter_var() and filter_input()
[PHP Filters][1] are pretty cool, but what do you do if the filters don't quite match what you want? Can you create a custom filter? [1]: http://us.php.net/manual/en/book.filter.php
php
null
null
null
null
null
open
Can you use a custom filter with PHP filter_var() and filter_input() === [PHP Filters][1] are pretty cool, but what do you do if the filters don't quite match what you want? Can you create a custom filter? [1]: http://us.php.net/manual/en/book.filter.php
0
246,868
10/29/2008 13:54:52
1,459,442
09/16/2008 19:10:07
103
13
Best Java Messaging Service Books
I'm looking to get up to speed on JMS for my job. Is there a JMS book that is a must have, or are some better than others? Or will any do?
java
jms
books
null
null
09/13/2011 12:50:42
not constructive
Best Java Messaging Service Books === I'm looking to get up to speed on JMS for my job. Is there a JMS book that is a must have, or are some better than others? Or will any do?
4
2,986,930
06/07/2010 03:31:30
305,732
03/31/2010 06:35:03
40
5
don't wanna lose data on Android after uninstalling
Now I make a trial application. I'd like to store IMEI and other info in Android permanently. And I don't want to lose them after uninstalling it. I tested with shared preference but it deletes after un-installation. SharedPreferences settings = getSharedPreferences(PREFS_NAME, 0); SharedPrefer...
android
storage
imei
trial
null
null
open
don't wanna lose data on Android after uninstalling === Now I make a trial application. I'd like to store IMEI and other info in Android permanently. And I don't want to lose them after uninstalling it. I tested with shared preference but it deletes after un-installation. SharedPreferences settings = ...
0
1,002,327
06/16/2009 15:43:16
104,849
05/11/2009 14:59:01
55
11
GUI Style Examples
Are there any site that show good examples of web application styles? Form designs and layout styles? "Coding is easy, getting it to look good thats hard" -Thanks
html
coding-style
css
design
null
05/17/2012 14:59:12
off topic
GUI Style Examples === Are there any site that show good examples of web application styles? Form designs and layout styles? "Coding is easy, getting it to look good thats hard" -Thanks
2
6,397,411
06/18/2011 16:41:34
672,305
03/23/2011 02:50:16
28
0
Workflow error in VS2010
i m trying to run an example of microsoft workflow software. I get the following error in a line: wsh.Description.Behaviors.Add(new SqlWorkflowInstanceStoreBehavior(ApprovalProcessDBConnectionString)); WorkflowIdleBehavior wib = new WorkflowIdleBehavior(); wib.TimeToUnload = new TimeSpa...
c
visual-studio-2010
workflow-foundation-4
null
null
null
open
Workflow error in VS2010 === i m trying to run an example of microsoft workflow software. I get the following error in a line: wsh.Description.Behaviors.Add(new SqlWorkflowInstanceStoreBehavior(ApprovalProcessDBConnectionString)); WorkflowIdleBehavior wib = new WorkflowIdleBehavior(); ...
0
10,632,074
05/17/2012 08:14:53
1,316,921
04/06/2012 06:56:21
3
0
How to select one row only?
I have 2 tables NAME +----+---------+ | id | name | +----+---------+ | 1 | ABC | | 2 | CCC | +----+---------+ TBL_STATUS +----+-----------+--------+ | id | name_id | status | +----+-----------+--------+ | ...
php
mysql
sql
sql-server
query
05/25/2012 06:55:24
too localized
How to select one row only? === I have 2 tables NAME +----+---------+ | id | name | +----+---------+ | 1 | ABC | | 2 | CCC | +----+---------+ TBL_STATUS +----+-----------+--------+ | id | name_id | status | +----...
3
9,828,740
03/22/2012 18:58:28
1,269,789
03/14/2012 18:10:45
1
0
problems downloading openjdk on gumstix
From the jpcap installation instructions <http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/install.html>, I understand that I need JRE 6 in order for jpcap to work on my Gumstix board. (Is that correct?) When I tried downloading openjdk-6-java using opkg, it gave me the following error: Downloading http://www...
java
openjdk
packet-sniffers
jpcap
gumstix
null
open
problems downloading openjdk on gumstix === From the jpcap installation instructions <http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/install.html>, I understand that I need JRE 6 in order for jpcap to work on my Gumstix board. (Is that correct?) When I tried downloading openjdk-6-java using opkg, it gave me the f...
0
4,689,672
01/14/2011 09:37:45
552,279
12/23/2010 10:41:58
13
0
Generic method in java
public class Stack<T> public <T> T pop() throws Exception My question is that why i need &lt;T> in method <b>public &lt;T> T pop() throws Exception</b> <br/> Thank you very much.
java
null
null
null
null
null
open
Generic method in java === public class Stack<T> public <T> T pop() throws Exception My question is that why i need &lt;T> in method <b>public &lt;T> T pop() throws Exception</b> <br/> Thank you very much.
0
7,249,682
08/30/2011 20:54:31
912,213
08/25/2011 13:38:39
-2
0
Directory tree listing
**Hi i am looking for script witch lists directory's from ftp and read's all files from the listed folder..Is there something that can help me?**
php
ftp
dir
null
null
08/30/2011 21:05:04
not a real question
Directory tree listing === **Hi i am looking for script witch lists directory's from ftp and read's all files from the listed folder..Is there something that can help me?**
1
2,172,290
01/31/2010 15:55:25
197,860
10/28/2009 06:22:02
357
18
JSF + Spring + JPA + Hibernate: keep entitymanager alive when rendering view?
Totally new to Spring & Java development but working on a project for a class with some experienced developers. I believe we're using Spring MVC as our web layer(but I'm a C# guy so I may be mistaken in that regard). We have a view that gets an object with lazily loaded properties -- pretty straightforward stuff. Ye...
java
hibernate
jpa
jsf
spring
null
open
JSF + Spring + JPA + Hibernate: keep entitymanager alive when rendering view? === Totally new to Spring & Java development but working on a project for a class with some experienced developers. I believe we're using Spring MVC as our web layer(but I'm a C# guy so I may be mistaken in that regard). We have a view tha...
0
7,160,215
08/23/2011 11:22:28
907,578
08/23/2011 11:06:04
1
0
How to show all files in Eclipse navigator/explorer?
I do not see some of my files (**.pickle*) in the Eclipse Navigator view (or Projet Explorer or PyDev Package Explorer). I tried to go to "Customize View..." and remove all filters. It didn't show *\*.pickle* files, but it did unhide some other file types (*.\** resources). How do I show those **.pickle* files in...
eclipse
null
null
null
null
null
open
How to show all files in Eclipse navigator/explorer? === I do not see some of my files (**.pickle*) in the Eclipse Navigator view (or Projet Explorer or PyDev Package Explorer). I tried to go to "Customize View..." and remove all filters. It didn't show *\*.pickle* files, but it did unhide some other file types (*....
0
7,199,524
08/26/2011 02:47:32
657,934
03/13/2011 21:44:35
391
0
How to query across a nested resource with a condition
I have the following models: User (id) UserRoom (user_id, room_id, banned(boolean) Room (id, uuid) Right now I can get all of a user's rooms as follows: current_user.rooms.find_all_by_uuid(@requested_ids) What I would like to do is expand this to only show rooms that aren't banned (banned ...
ruby-on-rails
ruby-on-rails-3
null
null
null
null
open
How to query across a nested resource with a condition === I have the following models: User (id) UserRoom (user_id, room_id, banned(boolean) Room (id, uuid) Right now I can get all of a user's rooms as follows: current_user.rooms.find_all_by_uuid(@requested_ids) What I would like to do i...
0
3,623,008
09/02/2010 00:17:56
437,461
09/02/2010 00:17:56
1
0
phpadmin mysql change 0 to 1 in a column
Great site, tons of help to me so far. I have a database with 10,000+ rows. There is a column ( tinyint(4) ) called ahtml. I need to change ~500 of the rows for that column from 0 to 1. I know there is a query I can run in phpadmin to do that instead of editing each row. I need to change ALL of the 0's t...
mysql
query
null
null
null
null
open
phpadmin mysql change 0 to 1 in a column === Great site, tons of help to me so far. I have a database with 10,000+ rows. There is a column ( tinyint(4) ) called ahtml. I need to change ~500 of the rows for that column from 0 to 1. I know there is a query I can run in phpadmin to do that instead of editing ...
0
8,798,576
01/10/2012 04:29:19
881,635
08/06/2011 05:19:01
1,629
54
Android: How to create such layout dynamicaly (not by xml)?
In My application i want to create the layout as like below image: ![enter image description here][1] [1]: http://i.stack.imgur.com/u3wPf.png So How to make it possible ? I have done Something like below code: public void showResult() { List<TextView> textListWord = new ArrayList<TextVie...
android
xml
android-layout
android-emulator
xml-layout
null
open
Android: How to create such layout dynamicaly (not by xml)? === In My application i want to create the layout as like below image: ![enter image description here][1] [1]: http://i.stack.imgur.com/u3wPf.png So How to make it possible ? I have done Something like below code: public void showResult...
0
7,265,962
09/01/2011 03:52:48
725,913
04/26/2011 18:21:20
595
9
Port this PHP decryption function to C#
I found the below decryption function which was written in php. I have successfully ported (and tested)the base-64 section of this function, so now it seems all that is left are the basics. I have a strong feeling that the line which reads '$keychar = substr...' is the line causing me my issues here. I'm sorry for the ...
c#
php
encryption
null
null
09/01/2011 13:34:53
too localized
Port this PHP decryption function to C# === I found the below decryption function which was written in php. I have successfully ported (and tested)the base-64 section of this function, so now it seems all that is left are the basics. I have a strong feeling that the line which reads '$keychar = substr...' is the line ...
3
4,395,370
12/09/2010 06:06:18
90,883
04/15/2009 00:34:20
186
6
get rid of random string before an for an image path on wordpress
When visiting my site (WordPress 3.0.3), images are loaded correctly. However, when you hit refresh, or come back to the same entry, the images' path become something like this: http://tambnguyen.com/wp-content/imgs/ic.cf62525f6780c4cc3784907fe26cbee5.xhassleblad-h4d-40-stainless-steel,j.jpg Here's the example en...
string
image
wordpress
random
img
12/09/2010 06:08:19
off topic
get rid of random string before an for an image path on wordpress === When visiting my site (WordPress 3.0.3), images are loaded correctly. However, when you hit refresh, or come back to the same entry, the images' path become something like this: http://tambnguyen.com/wp-content/imgs/ic.cf62525f6780c4cc3784907fe26...
2
2,170,752
01/31/2010 06:04:07
182,742
10/01/2009 20:16:06
186
13
Why Does Test Condition of "for(;;)" Succeed?
Insomuch as I understand "for(;;)" has no initial condition, no test condition and no increment condition, and therefore loops forever, I am curious why the test condition succeeds each loop. Does the empty expression ";" evaluate as true in C? Or is this a special case handled by compilers? [A similar, but unrel...
c
for-loop
infinite-loop
compiler
null
null
open
Why Does Test Condition of "for(;;)" Succeed? === Insomuch as I understand "for(;;)" has no initial condition, no test condition and no increment condition, and therefore loops forever, I am curious why the test condition succeeds each loop. Does the empty expression ";" evaluate as true in C? Or is this a special ...
0
6,989,781
08/08/2011 23:24:43
884,983
08/08/2011 23:23:55
1
0
FLVPlayback not loading in full screen
I'm building an .swf with video to play in the standalone Flash Player. It works perfectly fine when the swf is not full-screened. However, as soon as I test it as a published, full screen swf, the video does not load. I know the video is not loading because: 1) I can't see it. 2) Elements that are triggered by cue...
flash
fullscreen
flvplayback
null
null
08/09/2011 17:16:33
too localized
FLVPlayback not loading in full screen === I'm building an .swf with video to play in the standalone Flash Player. It works perfectly fine when the swf is not full-screened. However, as soon as I test it as a published, full screen swf, the video does not load. I know the video is not loading because: 1) I can't se...
3
4,069,741
11/01/2010 14:26:52
438,864
09/03/2010 10:39:18
47
2
The Best tool for building Sencha (Ext JS) applications are?
i started working on Ext JS but the building process has always been a head ache to me as i use notepad.. please suggest some tools which help me build the Ext JS applications easily.... Thank you,
extjs
sencha
sencha-touch
null
null
null
open
The Best tool for building Sencha (Ext JS) applications are? === i started working on Ext JS but the building process has always been a head ache to me as i use notepad.. please suggest some tools which help me build the Ext JS applications easily.... Thank you,
0
11,553,884
07/19/2012 04:18:13
103,264
05/08/2009 01:16:16
2,989
6
Geo location - how does it work?
Example I get the "Latitude" and "longitude" GEO location of the 6 mobile device: A,B,C,D,E,F (devices are either iphone, ipad, android etc) Now how do I find all devices within the radius of 10 meters, in range of device A? (just an example) is there a library I could use?
c#
android
iphone
titanium
null
07/20/2012 12:34:37
not a real question
Geo location - how does it work? === Example I get the "Latitude" and "longitude" GEO location of the 6 mobile device: A,B,C,D,E,F (devices are either iphone, ipad, android etc) Now how do I find all devices within the radius of 10 meters, in range of device A? (just an example) is there a library I could use? ...
1
9,904,486
03/28/2012 09:18:28
1,183,353
02/01/2012 17:44:30
22
0
in memory card I cant see the pictures, DCMI shortcut
I have a 8gb memory Card (SCAN DISK) ... there is 3 GB pictures in it but when I connect it to computer it seems only shortcut of DCMI folder... so İ cant acces to my pictures ... what can I do?
memory
picturegallery
null
null
null
03/29/2012 12:25:03
off topic
in memory card I cant see the pictures, DCMI shortcut === I have a 8gb memory Card (SCAN DISK) ... there is 3 GB pictures in it but when I connect it to computer it seems only shortcut of DCMI folder... so İ cant acces to my pictures ... what can I do?
2
2,876,509
05/20/2010 18:00:21
173,303
09/14/2009 18:15:06
63
2
WCF circular references in data contract
I have a WCF contract with circular references. For a simple parent-child relationship, the solution is pretty simple with .NET 3.5SP1 or greater - the IsReference property of a DataContract ([this page][1] has a good explanation). However, my relationships are three levels deep: grandparent <-> parent <-> child. A ...
wcf
circular-dependency
null
null
null
null
open
WCF circular references in data contract === I have a WCF contract with circular references. For a simple parent-child relationship, the solution is pretty simple with .NET 3.5SP1 or greater - the IsReference property of a DataContract ([this page][1] has a good explanation). However, my relationships are three lev...
0
10,768,321
05/26/2012 17:22:11
468,455
10/06/2010 20:39:42
632
16
PHP passing value to a class
I have a class called DatabaseController which I've set up as so: <?php class DBController { public $dbName; function _controller($passedDBName) { $dbName = $passedDBName; } function dbConnect() { print $this->$dbName; } } ...
php
class
constructor
null
null
null
open
PHP passing value to a class === I have a class called DatabaseController which I've set up as so: <?php class DBController { public $dbName; function _controller($passedDBName) { $dbName = $passedDBName; } function dbConnect() { print $this->$dbName; }...
0
9,109,581
02/02/2012 09:04:51
1,155,482
01/18/2012 05:24:20
46
1
Not able to move the file due to Jnotify watch
I am using JNotify to watch a folder, As soon as a new file comes into the folder, I need to parse that file and move the file in some other folder, When It executes the code of file movement "it is saying that it is used by some other process". As this file was already watched by JNotify so I can't move it. Ple...
java
file-io
jnotify
null
null
null
open
Not able to move the file due to Jnotify watch === I am using JNotify to watch a folder, As soon as a new file comes into the folder, I need to parse that file and move the file in some other folder, When It executes the code of file movement "it is saying that it is used by some other process". As this file was al...
0
5,769,343
04/24/2011 07:45:30
268,588
02/08/2010 11:11:02
162
0
horizontal line css problem with ie 9 , <hr /> color style not work in ie 9
why the below html code does not work in ie 9: <hr style="color:red;"/> how can i fix this ?
html
colors
internet-explorer-9
horizontal-line
null
null
open
horizontal line css problem with ie 9 , <hr /> color style not work in ie 9 === why the below html code does not work in ie 9: <hr style="color:red;"/> how can i fix this ?
0
6,872,316
07/29/2011 11:19:04
869,259
07/29/2011 11:19:04
1
0
Designing an Application Service portal for senior citizens
I want to design a web based application mainly for Wellness management catering to the needs of Senior Citizens. This app, will also provide options to store the health records like ECG, CTSCAN, Doppler, Sonography etc. Apart from this it will give them access to many essential services. What kind of database, front e...
design
architecture
cloud
computing
null
01/16/2012 13:52:32
not a real question
Designing an Application Service portal for senior citizens === I want to design a web based application mainly for Wellness management catering to the needs of Senior Citizens. This app, will also provide options to store the health records like ECG, CTSCAN, Doppler, Sonography etc. Apart from this it will give them ...
1
11,457,427
07/12/2012 17:35:35
1,521,546
07/12/2012 17:23:52
1
0
VectorStorage and Lists
Yeah I have searched. But did not meet my specifications.I want to create a midlet with vector storage and this should also contain two lists which should validate the data stored invector to the list and display login time and date for either successful login or unsucess full login.I have added vector class but did no...
java-me
lwuit
null
null
null
07/17/2012 11:35:29
not a real question
VectorStorage and Lists === Yeah I have searched. But did not meet my specifications.I want to create a midlet with vector storage and this should also contain two lists which should validate the data stored invector to the list and display login time and date for either successful login or unsucess full login.I have ...
1
10,855,559
06/01/2012 18:31:06
226,201
12/07/2009 08:28:56
656
43
shutdown hook doesn't fire when running with "lein run"
I have the following code: <!-- language: lang-lisp --> (ns test-hook.core) (defn -main [] (.addShutdownHook (Runtime/getRuntime) (Thread. #(println "shutdown"))) (println "start") (doseq [i (range 1 6)] (Thread/sleep 1000) (println i))) and the following proje...
clojure
leiningen
shutdown-hook
clojure-java-interop
null
null
open
shutdown hook doesn't fire when running with "lein run" === I have the following code: <!-- language: lang-lisp --> (ns test-hook.core) (defn -main [] (.addShutdownHook (Runtime/getRuntime) (Thread. #(println "shutdown"))) (println "start") (doseq [i (range 1 6)] (Thread/...
0
8,470,771
12/12/2011 06:43:08
784,338
06/04/2011 23:02:48
418
9
C++ Exercises for Beginner to Intermediate Programmers
I am a fairly experienced programmer in Java, and I am attempting to make the (somewhat painful) transition to C++. To do this I am looking for some interesting projects to work on. I am looking for stuff that would help give me experience with C++ libraries. For example, I recently wrote a simple program that would re...
c++
types
libraries
null
null
12/12/2011 11:29:22
not constructive
C++ Exercises for Beginner to Intermediate Programmers === I am a fairly experienced programmer in Java, and I am attempting to make the (somewhat painful) transition to C++. To do this I am looking for some interesting projects to work on. I am looking for stuff that would help give me experience with C++ libraries. ...
4
11,697,400
07/28/2012 01:10:08
1,502,121
07/04/2012 16:52:25
25
0
can I test an android app developed by me in my motorola atrix?
what I simply want to do is to know if, can I just download the android SDK develop an app and test it in my motorola atrix? I mean using my phone as a debugger. I'd like to start developing apps but I'd like to know how do I test them in my phone. Regards
android
debugging
sdk
motorola
null
07/28/2012 15:23:20
not a real question
can I test an android app developed by me in my motorola atrix? === what I simply want to do is to know if, can I just download the android SDK develop an app and test it in my motorola atrix? I mean using my phone as a debugger. I'd like to start developing apps but I'd like to know how do I test them in my phone....
1
8,925,178
01/19/2012 11:22:07
658,346
03/14/2011 07:00:57
48
0
solr: class to store data between filters
Unfortunately I forgot the name of class in which I could store some object f.e. in Filter1 and access this value in Filter11. Not Attribute. Object I want to store is one per whole Document. But should be used in several filters. Thank you.
filter
solr
null
null
null
01/19/2012 19:52:56
not a real question
solr: class to store data between filters === Unfortunately I forgot the name of class in which I could store some object f.e. in Filter1 and access this value in Filter11. Not Attribute. Object I want to store is one per whole Document. But should be used in several filters. Thank you.
1
7,469,400
09/19/2011 10:20:44
952,455
09/19/2011 10:20:44
1
0
Symfony 1.4: POST-Request is cut off
I am trying to send a form which has 7 checkboxes and 7 hiddenfields. After submitting the last 2 checkboxes and the last hiddenfield is missing. HTML-Source is clearly ok. Firebug clearly shows, that all these fields get submitted. When I do a <?php print_r ($_REQUEST); ?> it shows, that said fields are missing. ...
http
post
symfony
null
null
05/08/2012 18:04:09
too localized
Symfony 1.4: POST-Request is cut off === I am trying to send a form which has 7 checkboxes and 7 hiddenfields. After submitting the last 2 checkboxes and the last hiddenfield is missing. HTML-Source is clearly ok. Firebug clearly shows, that all these fields get submitted. When I do a <?php print_r ($_REQUEST); ?...
3
8,302,210
11/28/2011 20:57:49
242,933
01/04/2010 02:28:02
4,679
178
Is the JavaScript Number an arbitrary-precision number?
If I write the number literal `1.34` in JavaScript, it tells me its `constructor` is named `Number`. Does JavaScript use [arbitrary-precision arithmetic][1] with `Number` literals? [1]: http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic
javascript
numbers
literals
arbitrary-precision
null
11/28/2011 21:06:13
not a real question
Is the JavaScript Number an arbitrary-precision number? === If I write the number literal `1.34` in JavaScript, it tells me its `constructor` is named `Number`. Does JavaScript use [arbitrary-precision arithmetic][1] with `Number` literals? [1]: http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic
1
9,782,654
03/20/2012 07:11:57
1,280,217
03/20/2012 07:09:40
1
0
How to Implement all announcement list operations in Visual WebPart?
I am creating a Visual Web Part, which should provide all functionality like the default announcement list. for e.g when i click on particular title field,it should show details in modal popup.
c#
sharepoint2010
null
null
null
03/23/2012 20:56:47
not a real question
How to Implement all announcement list operations in Visual WebPart? === I am creating a Visual Web Part, which should provide all functionality like the default announcement list. for e.g when i click on particular title field,it should show details in modal popup.
1
6,678,277
07/13/2011 11:41:19
198,461
10/28/2009 21:29:11
1
0
Sample code for aggressive Flash ads (browser takeovers, floaters, etc.)?
I need sample code for a school project that involves showcasing/demonstrating stereotypical annoying Flash advertising tactics—for instance: spanning the whole screen, disabling the back button, making you wait before the close button appears, spoofing a virus scan, spawning a ton of popups, etc. I have to turn in ...
flash
actionscript-3
popup
swf
advertising
07/15/2011 15:31:36
off topic
Sample code for aggressive Flash ads (browser takeovers, floaters, etc.)? === I need sample code for a school project that involves showcasing/demonstrating stereotypical annoying Flash advertising tactics—for instance: spanning the whole screen, disabling the back button, making you wait before the close button appea...
2
6,238,549
06/04/2011 18:17:07
693,642
04/05/2011 19:33:28
68
1
Show all nested links in Drupal 7
I have a nested Drupal menu: -Fruits ---Apples ---Oranges ---Lemons -Cars ---Big car ---Small car ---Fucked up car -Whatever What code do I add to my `page.tpl.php` file so it will display it in `<ul><li>` format? The code I use only displays the 1st level links: ...
drupal
menu
nested
null
null
06/26/2011 19:29:10
off topic
Show all nested links in Drupal 7 === I have a nested Drupal menu: -Fruits ---Apples ---Oranges ---Lemons -Cars ---Big car ---Small car ---Fucked up car -Whatever What code do I add to my `page.tpl.php` file so it will display it in `<ul><li>` format? The code I use on...
2
3,849,655
10/03/2010 12:10:59
465,144
10/03/2010 12:10:59
1
0
Some really good examples of well written javascript
Can anyone point me in the direction of some really well written javascript examples. I have been trying to improve my javascript after reading a lot from douglas crockford book etc but i wondered where i could find some live examples of code that is written well?
javascript
null
null
null
null
03/27/2012 14:53:22
not constructive
Some really good examples of well written javascript === Can anyone point me in the direction of some really well written javascript examples. I have been trying to improve my javascript after reading a lot from douglas crockford book etc but i wondered where i could find some live examples of code that is written we...
4