PostId
int64
13
11.8M
PostCreationDate
stringlengths
19
19
OwnerUserId
int64
3
1.57M
OwnerCreationDate
stringlengths
10
19
ReputationAtPostCreation
int64
-33
210k
OwnerUndeletedAnswerCountAtPostTime
int64
0
5.77k
Title
stringlengths
10
250
BodyMarkdown
stringlengths
12
30k
Tag1
stringlengths
1
25
Tag2
stringlengths
1
25
Tag3
stringlengths
1
25
Tag4
stringlengths
1
25
Tag5
stringlengths
1
25
PostClosedDate
stringlengths
19
19
OpenStatus
stringclasses
5 values
unified_texts
stringlengths
47
30.1k
OpenStatus_id
int64
0
4
2,968,652
06/03/2010 18:18:46
313,276
04/10/2010 01:42:24
1
0
roll() and add()
what is the diference between roll() and add() in java ?
java
null
null
null
null
06/03/2010 18:27:14
not a real question
roll() and add() === what is the diference between roll() and add() in java ?
1
8,472,604
12/12/2011 10:03:02
656,606
03/12/2011 13:24:45
193
28
I changed "hdd1\Content" folder with JTAG console, how to restore and update this folder
I changed "hdd1\Content" folder with JTAG console, how to restore and update this folder, because xbox hangs up. Thank you!
xbox360
null
null
null
null
null
open
I changed "hdd1\Content" folder with JTAG console, how to restore and update this folder === I changed "hdd1\Content" folder with JTAG console, how to restore and update this folder, because xbox hangs up. Thank you!
0
10,887,345
06/04/2012 19:46:40
1,279,844
03/05/2011 05:09:52
146
11
Getting Facebook Like button (generated by JS) to appear
I'm using PrettyPhoto lightbox for an image gallery. When the image pops up, Twitter and Facebook buttons appear under it. That's built into the PrettyPhoto plugin, and it works fine. The problem is, the Facebook button is the iframe kind (which doesn't allow the user to enter a comment). I want to replace it with t...
javascript
facebook
prettyphoto
null
null
null
open
Getting Facebook Like button (generated by JS) to appear === I'm using PrettyPhoto lightbox for an image gallery. When the image pops up, Twitter and Facebook buttons appear under it. That's built into the PrettyPhoto plugin, and it works fine. The problem is, the Facebook button is the iframe kind (which doesn't a...
0
3,301,835
07/21/2010 16:59:40
1,063
08/12/2008 05:40:42
1,271
48
Why use an IDE?
This may be too opinionated, but what I'm trying to understand why some companies mandate the use of an IDE. In college all I used was vim, although on occasion I used netbeans for use with Java. Netbeans was nice because it did code completion and had some nice templates for configuration of some the stranger services...
ide
null
null
null
null
07/21/2010 17:24:24
not constructive
Why use an IDE? === This may be too opinionated, but what I'm trying to understand why some companies mandate the use of an IDE. In college all I used was vim, although on occasion I used netbeans for use with Java. Netbeans was nice because it did code completion and had some nice templates for configuration of some ...
4
8,302,290
11/28/2011 21:05:21
761,330
05/19/2011 15:12:42
541
7
Why char* causes undefined behaviour while char[] not in the example
Attempting to modify a string literal causes undefined behavior: char * p = "wikipedia"; p[0] = 'W'; // undefined behaviour One way to prevent this is defining it as an array instead of a pointer: char p[] = "wikipedia"; p[0] = 'W'; // ok
c
string
char
undefined-behavior
null
11/29/2011 21:29:27
not a real question
Why char* causes undefined behaviour while char[] not in the example === Attempting to modify a string literal causes undefined behavior: char * p = "wikipedia"; p[0] = 'W'; // undefined behaviour One way to prevent this is defining it as an array instead of a pointer: char p[] = "wikipedi...
1
9,828,091
03/22/2012 18:13:09
1,286,641
03/22/2012 18:02:38
1
0
How to cancel BeforeEdit event in gxt EditorGrid based on data stored in model for the selected row
I have an EditorGrid. I would like to cancel the edit (using the BeforeEdit event) if the user does not have edit rights to that specific column. This data (a "canEdit" value), is in the data store for the row, but has not been added a column to the grid. I think the best way to go about this is by cancelling the e...
gxt
ext-gwt
null
null
null
null
open
How to cancel BeforeEdit event in gxt EditorGrid based on data stored in model for the selected row === I have an EditorGrid. I would like to cancel the edit (using the BeforeEdit event) if the user does not have edit rights to that specific column. This data (a "canEdit" value), is in the data store for the row, but ...
0
11,536,605
07/18/2012 07:47:46
1,506,029
07/06/2012 07:17:39
1
0
i can't add yahoo contact friends in nimbuzz
I try so many time to add yahoo contact in Nimbuzz But when i try to login is say The service is not available so if you have a any idea plsss help me out
yahoo-messenger
nimbuzz
null
null
null
07/18/2012 14:08:26
not a real question
i can't add yahoo contact friends in nimbuzz === I try so many time to add yahoo contact in Nimbuzz But when i try to login is say The service is not available so if you have a any idea plsss help me out
1
9,849,833
03/24/2012 07:05:57
428,073
08/23/2010 05:58:43
547
8
How to display alert message after inserting data into database?
I have create web app in MVS 3 but failed to display alert message after data insert into database Controller code: [HttpPost] public ActionResult QuestionBank(QuestionBank questionbank) { if (ModelState.IsValid) { dbEntities.Q...
asp.net-mvc
asp.net-mvc-3
mvc
null
null
null
open
How to display alert message after inserting data into database? === I have create web app in MVS 3 but failed to display alert message after data insert into database Controller code: [HttpPost] public ActionResult QuestionBank(QuestionBank questionbank) { if (Mo...
0
8,860,119
01/14/2012 04:18:11
1,148,879
01/14/2012 03:38:36
1
0
keep running on 2 conditionally incremented list in JAVA
I'm really new to JAVA (1 week into the college semester) so forgive me if this is a silly mistake or the code is sloppy, but I'm having a really hard time with this. What this is supposed to do is add a student to the enrolled list if there's room, and if there isn't room, add them to the waitlist. This is what I've ...
java
null
null
null
null
01/14/2012 05:04:11
not a real question
keep running on 2 conditionally incremented list in JAVA === I'm really new to JAVA (1 week into the college semester) so forgive me if this is a silly mistake or the code is sloppy, but I'm having a really hard time with this. What this is supposed to do is add a student to the enrolled list if there's room, and if t...
1
6,425,810
06/21/2011 13:15:50
769,977
05/25/2011 16:43:32
26
0
Help me with PHP regex
I want to remove the _8 from the $thumbnail $thumbnail = "http://d2dsfsd.humbnails/20415/33-d148-45b1-9098-11e5c/thumbnail_8.jpg";
php
regex
preg-replace
preg-match
null
06/22/2011 03:05:06
too localized
Help me with PHP regex === I want to remove the _8 from the $thumbnail $thumbnail = "http://d2dsfsd.humbnails/20415/33-d148-45b1-9098-11e5c/thumbnail_8.jpg";
3
3,216,902
07/09/2010 22:17:52
355,325
06/01/2010 11:11:15
47
1
Portable JDK, Tomcat, and Eclipse (Windows)
Does anybody know how to make a usb thumb drive with a JDK, Tomcat, and Eclipse (J2EE) (all for a Windows platform, preferably)? I saw [this question][1], but the only answer was speculative. I know that the eclipse part would be easy -- just put it on the thumb drive. Tomcat requires a JDK as far as I know. Woul...
java
windows
eclipse
tomcat
jdk
null
open
Portable JDK, Tomcat, and Eclipse (Windows) === Does anybody know how to make a usb thumb drive with a JDK, Tomcat, and Eclipse (J2EE) (all for a Windows platform, preferably)? I saw [this question][1], but the only answer was speculative. I know that the eclipse part would be easy -- just put it on the thumb dr...
0
8,838,289
01/12/2012 16:11:42
1,145,895
01/12/2012 16:01:11
1
0
which server for my file? Android
I don´t know which is the best server like mediafire or megaupload I can use to locate a database which I need to download to use in my app. I know how to download images with the URL but I try this with any other files and I can´t download it. Thanks for all and sorry about my english ;) César.
android
server
null
null
null
01/12/2012 16:42:15
off topic
which server for my file? Android === I don´t know which is the best server like mediafire or megaupload I can use to locate a database which I need to download to use in my app. I know how to download images with the URL but I try this with any other files and I can´t download it. Thanks for all and sorry about...
2
5,275,835
03/11/2011 16:52:36
596,256
01/31/2011 02:17:51
24
0
any idea for clean the data crawled from various forums ?
I need to do some search engine optimization. one of the ideas is to do some data cleaning about the crawled data from forums. Lots of useless information are in the crawled pages. How could I get rid of them and just get the useful posts ? I'm thinking to use some regex to get the content between <body> </ body> and...
perl
data-mining
data-cleansing
cleaned-data
null
03/12/2011 00:48:14
not a real question
any idea for clean the data crawled from various forums ? === I need to do some search engine optimization. one of the ideas is to do some data cleaning about the crawled data from forums. Lots of useless information are in the crawled pages. How could I get rid of them and just get the useful posts ? I'm thinking t...
1
3,442,879
08/09/2010 18:16:20
343,845
05/18/2010 09:21:37
942
28
Changing code of an LGPL project and licenses on installers
I have a project I am working on, which links to: - Qt - Qt Solutions' QtSingleApplication - Botan I have a license dialog in my application, which shows the licenses for the application itself and everything it links to. I have a couple questions regarding the distribution process. - Do I have to presen...
licensing
gpl
bsd-license
null
null
null
open
Changing code of an LGPL project and licenses on installers === I have a project I am working on, which links to: - Qt - Qt Solutions' QtSingleApplication - Botan I have a license dialog in my application, which shows the licenses for the application itself and everything it links to. I have a couple questi...
0
11,658,426
07/25/2012 20:52:58
1,324,415
04/10/2012 15:19:38
1
0
Tool that transforms various input files to single output format
I'm looking for a solution for a problem that seems quite common to me. But I can't find any directions. The problem I'm having is that I receive multiple input files (xsl, xslx, csv, plain ascii) that I need to transform into one format. So I'm actually looking for a tool that can be configured to parse inputfiles ...
c#
visual-studio-2010
xslt
null
null
07/27/2012 19:36:52
off topic
Tool that transforms various input files to single output format === I'm looking for a solution for a problem that seems quite common to me. But I can't find any directions. The problem I'm having is that I receive multiple input files (xsl, xslx, csv, plain ascii) that I need to transform into one format. So I'm a...
2
10,157,159
04/14/2012 20:36:13
1,309,441
04/03/2012 03:14:15
6
0
useing 2 tables mysql
I am working on a web site that has a movie list. What I am looking to do is make it so the user can check of and rate the movies that they have seen. I have 2 different tables one for the users and one for the movies. This is my first attempt to have 2 tables link and as such I am not sure what the starting point on s...
php
mysql
null
null
null
04/16/2012 02:01:19
not a real question
useing 2 tables mysql === I am working on a web site that has a movie list. What I am looking to do is make it so the user can check of and rate the movies that they have seen. I have 2 different tables one for the users and one for the movies. This is my first attempt to have 2 tables link and as such I am not sure w...
1
7,598,918
09/29/2011 14:34:10
971,350
09/29/2011 14:25:15
1
0
How can I link the buttons android with external functions?
Good afertoon. I'm like development in Visual Studio with the Mono C # android is an application for Android. I want to know How can I link the buttons android with external functions? I want msgrecieved equals Text1.Text! How can I do this? Thank you for your attention;) The Source Code: //C...
c#
android
visual-studio
button
null
09/29/2011 22:21:08
not a real question
How can I link the buttons android with external functions? === Good afertoon. I'm like development in Visual Studio with the Mono C # android is an application for Android. I want to know How can I link the buttons android with external functions? I want msgrecieved equals Text1.Text! How can I do this? Tha...
1
9,462,343
02/27/2012 08:59:49
479,995
10/19/2010 02:52:42
23
1
Most Complete Database of Earthquakes
I would appreciate any pointers to where can I get the most complete database on earthquakes in Japan (or Worldwide) during last 50-100 years. I know about USGS database - but it lacks earthquakes of magnitude below 4, and has unacceptably many gaps. By "most complete" I mean long historical period, and records f...
database
geo
null
null
null
02/27/2012 09:20:36
off topic
Most Complete Database of Earthquakes === I would appreciate any pointers to where can I get the most complete database on earthquakes in Japan (or Worldwide) during last 50-100 years. I know about USGS database - but it lacks earthquakes of magnitude below 4, and has unacceptably many gaps. By "most complete" I...
2
10,351,686
04/27/2012 13:39:43
1,306,585
04/01/2012 17:06:10
75
3
unchecked unsafer operations
Not quite sure why I am getting this error, but does anyone know what exception I should be trying to catch and where? I am assuming that I getting this error because I am not checking for possible exceptions. import java.awt.*; import java.util.*; import java.awt.event.*; import javax.swing.*; ...
java
homework
null
null
null
null
open
unchecked unsafer operations === Not quite sure why I am getting this error, but does anyone know what exception I should be trying to catch and where? I am assuming that I getting this error because I am not checking for possible exceptions. import java.awt.*; import java.util.*; import java.awt.even...
0
1,082,511
07/04/2009 16:20:39
18,091
09/18/2008 18:40:50
675
24
iPhone board game: OpenGL ES or CoreGraphics?
I want to program a board game (similar to checkers) for the iPhone. Would OpenGL ES or CoreGraphics be a better option? What do most games of this type on the App Store use?
iphone
opengl-es
coregraphics
null
null
04/03/2012 07:45:39
not constructive
iPhone board game: OpenGL ES or CoreGraphics? === I want to program a board game (similar to checkers) for the iPhone. Would OpenGL ES or CoreGraphics be a better option? What do most games of this type on the App Store use?
4
8,324,975
11/30/2011 11:11:27
1,073,129
11/30/2011 10:32:08
1
0
Problems in running Hive queries
I have configured Hadoop and Hive on Windows through Cygwin. But I am facing some problems like: in hive terminal (CLI): hive> when i enter query, the query do not execute and terminal remains busy. If i enter the query like: bin/hive -e 'LOAD DATA INPATH 'kv1.txt' OVERWRITE INTO TABLE pokes;' The Output is l...
hadoop
hive
null
null
null
null
open
Problems in running Hive queries === I have configured Hadoop and Hive on Windows through Cygwin. But I am facing some problems like: in hive terminal (CLI): hive> when i enter query, the query do not execute and terminal remains busy. If i enter the query like: bin/hive -e 'LOAD DATA INPATH 'kv1.txt' OVERWRIT...
0
3,650,457
09/06/2010 09:44:46
73,299
03/03/2009 17:01:29
1,590
62
SOAP-proxy in Scala - what do I need?
I'm trying to write a program in Scala, that will accept SOAP-requests, get the response from the real server (or read it from the local disc) and return the data to the original client. I'm new to the java/scala ecosystem, so I have no clue, what libraries to choose. I heard Scala's XML-handling is quite nice, so ...
java
xml
http
scala
soap
null
open
SOAP-proxy in Scala - what do I need? === I'm trying to write a program in Scala, that will accept SOAP-requests, get the response from the real server (or read it from the local disc) and return the data to the original client. I'm new to the java/scala ecosystem, so I have no clue, what libraries to choose. I he...
0
6,006,546
05/15/2011 04:47:02
749,955
05/12/2011 05:42:28
11
0
How would you define infinity?
Expand your thoughts upon this: #define INFINITY ((1 << (8*sizeof (int) - 6)) - 4) Is expanded?
c++
define
infinity
null
null
05/15/2011 05:17:28
not a real question
How would you define infinity? === Expand your thoughts upon this: #define INFINITY ((1 << (8*sizeof (int) - 6)) - 4) Is expanded?
1
5,705,916
04/18/2011 16:26:41
713,772
04/18/2011 16:26:41
1
0
Getting the full url on a ASPX page, including parametres?
Is there a way to find the full url of an ASPX page, wich has hidden parametres? thanks
asp.net
url
asp
attributes
full
04/18/2011 19:22:46
not a real question
Getting the full url on a ASPX page, including parametres? === Is there a way to find the full url of an ASPX page, wich has hidden parametres? thanks
1
9,043,683
01/28/2012 07:26:49
1,126,236
01/02/2012 12:40:42
13
0
how to show progress bar status by percentage
I am using progress dialog for android 2.3.3. Progress dialog's status is showing with the format as "60% 60/100" but I want to display only percentage not "60/100". How can I do it? please help.
android
android-progressbar
null
null
null
null
open
how to show progress bar status by percentage === I am using progress dialog for android 2.3.3. Progress dialog's status is showing with the format as "60% 60/100" but I want to display only percentage not "60/100". How can I do it? please help.
0
5,355,596
03/18/2011 17:19:43
632,998
02/24/2011 19:38:38
238
26
Text cutting off in sliding banner
I have a sliding banner and a span in each banner element. I have some text in the span tags but the text is **being cut off on the right** when you **expand** the banner element. <br /> There is an example here: http://jsfiddle.net/vCbcz/13/ <br /> Please ignore the space on the left, it is intentional. <br />Doe...
textwrapping
null
null
null
null
null
open
Text cutting off in sliding banner === I have a sliding banner and a span in each banner element. I have some text in the span tags but the text is **being cut off on the right** when you **expand** the banner element. <br /> There is an example here: http://jsfiddle.net/vCbcz/13/ <br /> Please ignore the space on ...
0
6,418,882
06/20/2011 23:56:31
235,692
12/20/2009 23:46:20
16
0
Event keycode in javascript for galaxy tablet
Any one aware of the event keycode of the key (to use in javascript) for the following. Android devices --> key which minimizes the keyboard when the focus is on. Generally, we can minimize the keyboard which is up (when the focus is on textbox) by pressing a key in android devices (which is generally at the left...
javascript
android
null
null
null
null
open
Event keycode in javascript for galaxy tablet === Any one aware of the event keycode of the key (to use in javascript) for the following. Android devices --> key which minimizes the keyboard when the focus is on. Generally, we can minimize the keyboard which is up (when the focus is on textbox) by pressing a key...
0
9,025,398
01/26/2012 21:11:29
306,084
03/31/2010 14:17:31
1,138
62
Spree administration AJAX request works in development, 404s in production
I'm building a site on Spree 0.70.3 and Rails 3.1.3. In development I just run thin on port 3000; in production, we have Passenger 3.0.9 and Nginx 1.0.8. When associating a Product with a Taxon in Spree, you come to a page with an empty list of taxons. Starting to type in a Search box triggers an AJAX post request t...
jquery-ajax
ruby-on-rails-3.1
nginx
spree
null
null
open
Spree administration AJAX request works in development, 404s in production === I'm building a site on Spree 0.70.3 and Rails 3.1.3. In development I just run thin on port 3000; in production, we have Passenger 3.0.9 and Nginx 1.0.8. When associating a Product with a Taxon in Spree, you come to a page with an empty ...
0
10,371,612
04/29/2012 11:06:24
1,354,439
04/24/2012 17:57:22
16
0
Python: Exploring data of GUI program
Is there ANY way( using python) to get values of variables stored in GUI? As an example to explain my question I will take a well known built in windows calculator. Lets say I type in it a value 245. It is easy to see this value when looking at calculator GUI display, but how can I make the python to get this value? ...
python
gui
variables
value
null
04/30/2012 15:31:40
not a real question
Python: Exploring data of GUI program === Is there ANY way( using python) to get values of variables stored in GUI? As an example to explain my question I will take a well known built in windows calculator. Lets say I type in it a value 245. It is easy to see this value when looking at calculator GUI display, but ho...
1
9,858,754
03/25/2012 08:14:32
1,257,248
03/08/2012 14:43:54
33
11
Restricting visibility of class outside the namespace in which it is declared
I have a namespace in c++ which contains 5 classes. All of them are having 'public' access modifier. Out of these, 2 classes are static classes. I want to restrict these classes to be visible outside the namespace in which they are declared. So, like in another namespace, if i import this namespace, then these 2 ...
c++
null
null
null
null
null
open
Restricting visibility of class outside the namespace in which it is declared === I have a namespace in c++ which contains 5 classes. All of them are having 'public' access modifier. Out of these, 2 classes are static classes. I want to restrict these classes to be visible outside the namespace in which they are de...
0
1,489,482
09/28/2009 21:30:46
18,927
09/19/2008 14:55:09
264
19
Has anyone ever given a developer interview online?
In these trying times I've been asking to dramatically reduce our costs associated with hiring developers. One of the ways we're hoping to do this is to stop flying candidates in until we're 98% sure we're going to hire them. To accomplish that goal, we're thinking about doing some of the interviews via webcam. Most...
interview-questions
null
null
null
null
12/01/2011 16:22:12
not constructive
Has anyone ever given a developer interview online? === In these trying times I've been asking to dramatically reduce our costs associated with hiring developers. One of the ways we're hoping to do this is to stop flying candidates in until we're 98% sure we're going to hire them. To accomplish that goal, we're thi...
4
2,919,848
05/27/2010 09:18:05
324,112
04/23/2010 11:24:54
54
1
How to set Menu Help Text in Window Custom ShellExtension popup menu Item
I need to set the menu help text of my shell context menu popup menu item just like winzip shellContext menu. I tried IContextMenu_GetCommandString but it is only setting menu help for sub menus of my main popup menu. Please help me and let me know how to set the menu help for my main poup menu? Thanks
windows
shell
contextmenu
null
null
null
open
How to set Menu Help Text in Window Custom ShellExtension popup menu Item === I need to set the menu help text of my shell context menu popup menu item just like winzip shellContext menu. I tried IContextMenu_GetCommandString but it is only setting menu help for sub menus of my main popup menu. Please help me and let ...
0
7,578,162
09/28/2011 04:04:23
92,992
04/20/2009 05:35:39
21
1
A group with more than one admin can not be added to an applications roles
All members of my group are verified developers. I get the following error after making some of them admins of the group. Unverified Developers Found A specified Group contains unverified developers. Unverified developers cannot be added to this app. Read http://www.facebook.com/help/?faq=17580 for details.
facebook
roles
null
null
null
09/28/2011 10:40:36
off topic
A group with more than one admin can not be added to an applications roles === All members of my group are verified developers. I get the following error after making some of them admins of the group. Unverified Developers Found A specified Group contains unverified developers. Unverified developers cannot be adde...
2
6,270,287
06/07/2011 19:04:28
745,674
05/09/2011 18:57:44
8
0
How to read from two comports?
I'm writing code that reads from a comport. I want it to read from two ports without having to close the first port and open the second one. How would I go about doing this?
c#
null
null
null
null
06/09/2011 03:52:15
not a real question
How to read from two comports? === I'm writing code that reads from a comport. I want it to read from two ports without having to close the first port and open the second one. How would I go about doing this?
1
8,706,534
01/02/2012 23:52:23
1,104,785
12/18/2011 18:22:47
34
0
Insert into form curly brackets alias with Jquery / Javascript
I am not even sure if this is even possible or how easy it is, but what I am trying to work out is how to, if it is possible, to use jquery or javascript to insert an alias for a form field / curly brackets where the cursor currently is selected on the page. Let me try and explain it a bit better....... So I go t...
javascript
jquery
forms
curly-braces
curly-brackets
null
open
Insert into form curly brackets alias with Jquery / Javascript === I am not even sure if this is even possible or how easy it is, but what I am trying to work out is how to, if it is possible, to use jquery or javascript to insert an alias for a form field / curly brackets where the cursor currently is selected on the...
0
3,090,720
06/22/2010 06:20:10
261,591
01/29/2010 06:07:22
18
4
Jquery based File Explorer/Manager
Is there a demo of jQuery based File Explorer or Manager, similar to Windows Explorer?
jquery
null
null
null
null
02/27/2012 16:11:33
not constructive
Jquery based File Explorer/Manager === Is there a demo of jQuery based File Explorer or Manager, similar to Windows Explorer?
4
11,285,953
07/01/2012 22:00:10
1,494,813
07/01/2012 21:56:00
1
0
Sending sms using Java code
Guys I have a project that requires sending sms to a mobile using java code, actually it is a web-application implemented using j2ee with glassfish server. I googled this topic but all the codes found requires a sms-host. Any help??
java
java-ee
web
sms
null
07/01/2012 23:41:49
not a real question
Sending sms using Java code === Guys I have a project that requires sending sms to a mobile using java code, actually it is a web-application implemented using j2ee with glassfish server. I googled this topic but all the codes found requires a sms-host. Any help??
1
2,724,268
04/27/2010 19:16:15
251,589
01/15/2010 14:24:59
640
21
Bourne Shell: Convert ~/Desktop to /users/me/Desktop
Incredably annoyed at the Java Keytool. So much so that I have created a new tag: "SunSuck". The keytool does not resolve impartial directories. Ie this works: keytool -keystore "/users/me/Desktop" ... This doesn't: keytool -keystore "~/Desktop" ... Is there something that I could call like t...
bourne
scripting
path
sunsuck
null
null
open
Bourne Shell: Convert ~/Desktop to /users/me/Desktop === Incredably annoyed at the Java Keytool. So much so that I have created a new tag: "SunSuck". The keytool does not resolve impartial directories. Ie this works: keytool -keystore "/users/me/Desktop" ... This doesn't: keytool -keystore "~/D...
0
11,535,139
07/18/2012 06:04:14
390,111
07/13/2010 05:06:50
128
6
WCF RIA Services - Query with param
I'm working with my data via WCF RIA Services. I expose my data via RIA queries and it's works fine. Now I need to get parameterized query method. I've added parameter to query method on server side: public IQueryable<User> GetUsers(string param1) { return _dataContext.Users; } .. and pass pa...
wcf-ria-services
null
null
null
null
null
open
WCF RIA Services - Query with param === I'm working with my data via WCF RIA Services. I expose my data via RIA queries and it's works fine. Now I need to get parameterized query method. I've added parameter to query method on server side: public IQueryable<User> GetUsers(string param1) { return _da...
0
6,418,755
06/20/2011 23:36:24
621,645
08/26/2010 09:37:59
96
0
IOS developer program( individual)
My clients has purchased an IOS developer program (individual company), he would like to put to the apple store with the name of his company ? can he do this ? How ? or the app will have the name of his program developer ?
iphone
null
null
null
null
06/20/2011 23:50:18
off topic
IOS developer program( individual) === My clients has purchased an IOS developer program (individual company), he would like to put to the apple store with the name of his company ? can he do this ? How ? or the app will have the name of his program developer ?
2
1,835,193
12/02/2009 19:19:27
191,776
10/17/2009 19:08:19
5
1
Is it a better practice to typecast the pointer returned by malloc?
For the C code below, compare the defintions of the int pointers a & b; #include <stdio.h> #include <stdlib.h> int main() { int *a=malloc(sizeof(int)); int *b=(int *)malloc(sizeof(int)); return(0); } Is it better in any way to typecast the pointer of type void, retu...
c
pointers
malloc
null
null
null
open
Is it a better practice to typecast the pointer returned by malloc? === For the C code below, compare the defintions of the int pointers a & b; #include <stdio.h> #include <stdlib.h> int main() { int *a=malloc(sizeof(int)); int *b=(int *)malloc(sizeof(int)); return(0); ...
0
11,445,949
07/12/2012 06:14:17
1,289,939
03/24/2012 12:07:42
1
0
Develop existing symfony project
I am new to symfony Framework (PHP Framework), I want to modify OrangeHRM a project based on Symfony Framework. please help me to setup development mode for existing symfony project. I never tried Symfony before but I Know PHP programming, I want to add some forms in OrangeHRM, Tell me how do I add or modify forms ...
php
symfony
null
null
null
07/12/2012 12:24:23
not a real question
Develop existing symfony project === I am new to symfony Framework (PHP Framework), I want to modify OrangeHRM a project based on Symfony Framework. please help me to setup development mode for existing symfony project. I never tried Symfony before but I Know PHP programming, I want to add some forms in OrangeHRM,...
1
11,154,681
06/22/2012 10:44:20
1,158,894
01/19/2012 16:00:08
23
0
JQuery / PHP Upload and Crop
This link: http://www.webmotionuk.co.uk/php-jquery-image-upload-and-crop-v11/ Theres a nice plugin which i can use for uploading and cropping images. I'm going to use the crop part, but it uploads a resized image as well. What i want to know, is how I can customize the plugin to only upload the cropped image...
php
javascript
jquery
null
null
06/22/2012 17:05:02
not a real question
JQuery / PHP Upload and Crop === This link: http://www.webmotionuk.co.uk/php-jquery-image-upload-and-crop-v11/ Theres a nice plugin which i can use for uploading and cropping images. I'm going to use the crop part, but it uploads a resized image as well. What i want to know, is how I can customize the plugi...
1
9,849,920
03/24/2012 07:21:24
1,289,622
03/24/2012 06:49:27
1
0
Storing space on server to perticular user
i have to create application such that when user login and provide the space then that much space is allocated for that user on server..make directory of that user.. this space is utilize by user to upload files and store it on server. i have read about ftp functions on http://www.php.net/manual/en/book.ftp.php.
php
php5
null
null
null
06/25/2012 03:31:27
not a real question
Storing space on server to perticular user === i have to create application such that when user login and provide the space then that much space is allocated for that user on server..make directory of that user.. this space is utilize by user to upload files and store it on server. i have read about ftp functions o...
1
6,880,212
07/30/2011 00:10:38
447,979
09/15/2010 03:38:46
1,099
137
check output for success/error messages in PDO class
$pdo = new PDO(...); $stmt = $pdo -> prepare($query); $stmt -> bindValue(1,$url); $stmt -> execute(); How I check if my query is executed with success? Thanks in advance!
php
pdo
null
null
null
null
open
check output for success/error messages in PDO class === $pdo = new PDO(...); $stmt = $pdo -> prepare($query); $stmt -> bindValue(1,$url); $stmt -> execute(); How I check if my query is executed with success? Thanks in advance!
0
4,420,234
12/12/2010 03:07:11
129,735
06/27/2009 02:24:52
321
13
Inline SVG in Firefox
I'm a bit stumped with this one. I'm rendering SVG visualizations using Protovis, a JS library, and it works perfectly well in Chrome. I save the rendered SVG on my server and try to re-render it in a "gallery" view using a PHP function, and this fails in Firefox. All I see is the text in the SVG, but not the SVG. I...
firefox
svg
protovis
null
null
null
open
Inline SVG in Firefox === I'm a bit stumped with this one. I'm rendering SVG visualizations using Protovis, a JS library, and it works perfectly well in Chrome. I save the rendered SVG on my server and try to re-render it in a "gallery" view using a PHP function, and this fails in Firefox. All I see is the text in the...
0
5,051,689
02/19/2011 15:40:03
553,823
12/25/2010 13:07:29
43
0
Emails notifications are not sent from the God gem
I use the God gem to monitor my delayed_job processes, so far the gem is doing its job as it should but from some reason I can't get him to send email notifications (i use google apps). Here are my god file configuration: God::Contacts::Email.defaults do |d| d.from_email = 'system@example.com' d.f...
ruby-on-rails
ruby
rubygems
delayed-job
god
null
open
Emails notifications are not sent from the God gem === I use the God gem to monitor my delayed_job processes, so far the gem is doing its job as it should but from some reason I can't get him to send email notifications (i use google apps). Here are my god file configuration: God::Contacts::Email.defaults do |...
0
7,615,496
09/30/2011 20:03:56
973,754
09/30/2011 19:52:55
1
0
iTextSharp HTML to PDF preserving spaces
I am using the FreeTextBox.dll to get user input, and storing that information in HTML format in the database. A samle of the user's input is the below: <pre><p>                                                                     133 Peachtree St NE<br />                                                             ...
html
pdf
itextsharp
null
null
null
open
iTextSharp HTML to PDF preserving spaces === I am using the FreeTextBox.dll to get user input, and storing that information in HTML format in the database. A samle of the user's input is the below: <pre><p>                                                                     133 Peachtree St NE<br />               ...
0
9,426,783
02/24/2012 07:08:06
805,896
06/20/2011 01:52:07
115
0
best xml editor for eclipse
I am new to XML, could you please suggest me the best xml editor pugin for eclipse. 1-I need to create/edit xml and xsd files, 2-had a look at previouse questions asked in this area but couldn't reach a conclusion. thank you
xml
eclipse
editor
null
null
05/29/2012 23:22:03
not constructive
best xml editor for eclipse === I am new to XML, could you please suggest me the best xml editor pugin for eclipse. 1-I need to create/edit xml and xsd files, 2-had a look at previouse questions asked in this area but couldn't reach a conclusion. thank you
4
7,844,033
10/21/2011 01:15:58
697,461
04/07/2011 19:22:48
154
0
How to find if kernel virtual address is a pinned memory
Is there any way to find out if any particular kernel virtual address is pinned? Thanks Abhijeet
c
windows
linux
kernel
null
10/21/2011 20:02:50
not a real question
How to find if kernel virtual address is a pinned memory === Is there any way to find out if any particular kernel virtual address is pinned? Thanks Abhijeet
1
7,390,372
09/12/2011 15:35:14
940,900
09/12/2011 15:35:14
1
0
Dowload app from App Store from command line
Does anyone know how can I download an app from App Store to iTunes from a command line? Do you have a good reference to CL help/guide for iTunes? Thanks, Guy
iphone
itunes
null
null
null
09/12/2011 17:35:48
off topic
Dowload app from App Store from command line === Does anyone know how can I download an app from App Store to iTunes from a command line? Do you have a good reference to CL help/guide for iTunes? Thanks, Guy
2
9,411,291
02/23/2012 10:34:39
1,157,942
01/19/2012 07:46:24
26
0
Alter Datatype uniqueidentifier into int in table aspnetUsers using SqlServerMembershipProvider
I am using SqlServerMembershipProvider and i setup the database. Now, How to change the data type of the UserId column in the aspnetdb from uniqueidentifier to int? Whether it occurs any errors while altering the datatype?
asp.net
sql-server-2008
null
null
null
02/23/2012 17:18:20
not a real question
Alter Datatype uniqueidentifier into int in table aspnetUsers using SqlServerMembershipProvider === I am using SqlServerMembershipProvider and i setup the database. Now, How to change the data type of the UserId column in the aspnetdb from uniqueidentifier to int? Whether it occurs any errors while altering the dataty...
1
9,370,629
02/21/2012 00:47:58
1,103,257
12/17/2011 08:49:04
50
2
uiscrollview zoom in and zoom out doesn't work properly
I have a uiscrollview and there is a uiimageview inside it. I want the used to be able to zoom in out of the image since it's a big image. the scrollview only needs to scroll vertically not horizontally. before adding the zooming effect I had the following code and it worked as I wanted, -(void)viewDidLoad ...
ios
scroll
imageview
zoom
null
null
open
uiscrollview zoom in and zoom out doesn't work properly === I have a uiscrollview and there is a uiimageview inside it. I want the used to be able to zoom in out of the image since it's a big image. the scrollview only needs to scroll vertically not horizontally. before adding the zooming effect I had the followin...
0
364,622
12/13/2008 01:23:59
45,895
12/13/2008 01:20:23
1
0
With Ruby 1.9 approaching, should I buy "The Ruby Way - Second Edition", based on Ruby 1.8, or just wait for another book?
I've bought "Programming Ruby" from Pragmatic Programmers (still in beta), but friends say that "The Ruby Way" is much better. Should I buy it or wait for Ruby 1.9 books?
ruby
book
recommendation
null
null
09/27/2011 13:58:41
not constructive
With Ruby 1.9 approaching, should I buy "The Ruby Way - Second Edition", based on Ruby 1.8, or just wait for another book? === I've bought "Programming Ruby" from Pragmatic Programmers (still in beta), but friends say that "The Ruby Way" is much better. Should I buy it or wait for Ruby 1.9 books?
4
642,610
03/13/2009 13:08:20
2,763
08/24/2008 23:06:05
431
41
Making VB.NET debugging like C#
I've programmed in C# for the majority of my .NET career - now I'm working on a VB.net project - when debugging it drives me insane the differences of how the debugging works. two off the top of my head are 1) having to prefix my immediate window queries with ? 2) not being able to mouse over a GUID, I have to...
c#
c#-to-vb.net
vb.net
null
null
null
open
Making VB.NET debugging like C# === I've programmed in C# for the majority of my .NET career - now I'm working on a VB.net project - when debugging it drives me insane the differences of how the debugging works. two off the top of my head are 1) having to prefix my immediate window queries with ? 2) not being...
0
8,871,063
01/15/2012 15:57:57
978,615
10/04/2011 14:07:01
21
0
Linux Mint Operating System Dual Boot Help Needed
I was wondering if I could get some help. I'm dual booting Linux Mint and Windows 7. The dual boot screen to select which operating system you want to done through mint. The thing is I have a lot of options to select: Mint Mint-Recovery Windows 7 Windows 7-Recovery What I want to do is basically cut down the ...
windows-7
operating-system
mint
null
null
01/15/2012 23:28:15
off topic
Linux Mint Operating System Dual Boot Help Needed === I was wondering if I could get some help. I'm dual booting Linux Mint and Windows 7. The dual boot screen to select which operating system you want to done through mint. The thing is I have a lot of options to select: Mint Mint-Recovery Windows 7 Windows 7-R...
2
5,904,164
05/05/2011 21:13:03
593,712
01/28/2011 11:17:58
8
0
decoding very special characters php
how can I decode this kind of chars? Have tried many functions and they didnt worked. Any ideas? Here a printscreen of the chars: http://img714.imageshack.us/img714/2069/unled1yt.jpg TY!
php
decode
special
chars
null
05/06/2011 01:08:09
not a real question
decoding very special characters php === how can I decode this kind of chars? Have tried many functions and they didnt worked. Any ideas? Here a printscreen of the chars: http://img714.imageshack.us/img714/2069/unled1yt.jpg TY!
1
6,917,507
08/02/2011 19:30:04
722,695
04/24/2011 15:03:23
126
1
TCL TK canvas Pixelmap
i need to generade a pixelmap. I know the height and the width. But now i need to fill one pixel ( or a block for bigger resolution ) on the position x y. what ist the easyest think to do it? It should not be just one pixel, because its could be to small to view it. so it would be really good if i could say, my c...
tcl
tk
null
null
null
null
open
TCL TK canvas Pixelmap === i need to generade a pixelmap. I know the height and the width. But now i need to fill one pixel ( or a block for bigger resolution ) on the position x y. what ist the easyest think to do it? It should not be just one pixel, because its could be to small to view it. so it would be real...
0
6,452,581
06/23/2011 10:28:19
464,465
10/02/2010 06:58:29
199
2
How to append an array on textfield in iphone
i have an application in which i want to fetch value from database using particular ID column and display all data of row in textfield on button click event. I have done the following code for getting the values : //this is a function which i am created which will be called in button click event -(...
iphone
objective-c
sqlite
null
null
null
open
How to append an array on textfield in iphone === i have an application in which i want to fetch value from database using particular ID column and display all data of row in textfield on button click event. I have done the following code for getting the values : //this is a function which i am created w...
0
11,450,966
07/12/2012 11:35:43
1,138,457
01/09/2012 10:30:26
356
22
How to run an application a system / root in android
I've been searching about this topic but I haven't found a clear solution yet. As far as I know, you can specify different **protectionLevel** in your **AndroidManifest.xml**, those permissions allow other applications to interact with the one you are developing. As an example, imagine that I want to kill a processes, ...
android
security
permissions
system
root
null
open
How to run an application a system / root in android === I've been searching about this topic but I haven't found a clear solution yet. As far as I know, you can specify different **protectionLevel** in your **AndroidManifest.xml**, those permissions allow other applications to interact with the one you are developing...
0
7,848,500
10/21/2011 11:02:19
416,169
08/10/2010 13:07:54
28
0
Iterating through Simple XML nested XML elements
Below is my XML tree SimpleXMLElement Object ( [test] => SimpleXMLElement Object ( [testnew] => SimpleXMLElement Object ( [Cost1] => 0 [Cost2] => 0 [Cost3] => 296....
php
simplexml
null
null
null
11/14/2011 17:17:58
not a real question
Iterating through Simple XML nested XML elements === Below is my XML tree SimpleXMLElement Object ( [test] => SimpleXMLElement Object ( [testnew] => SimpleXMLElement Object ( [Cost1] => 0 ...
1
6,907,398
08/02/2011 04:51:53
844,365
07/14/2011 10:42:43
14
0
Publishing App in Android Market
I have published an app in the Android Market yesterday. It has been more than 15 overs since I have activated and published the app. But still I am not able to see my app in the market. I tried with the format : http://market.android.com/details?id=com.android.example Also I searched with the app name. Is ...
android
null
null
null
null
08/02/2011 21:30:32
off topic
Publishing App in Android Market === I have published an app in the Android Market yesterday. It has been more than 15 overs since I have activated and published the app. But still I am not able to see my app in the market. I tried with the format : http://market.android.com/details?id=com.android.example Als...
2
981,298
06/11/2009 14:04:57
107,834
05/15/2009 17:17:13
56
3
best IDE software for Windows?
Anyone got reccomendations for the best IDE software for a windows powered computer? I want text editor, css editor, ftp, live preview if poss, and it should also be able to handle php and javascript. Any suggestions? What do you use and what is awesome!
ide
work-environment
development-environment
null
null
09/02/2011 14:14:09
not constructive
best IDE software for Windows? === Anyone got reccomendations for the best IDE software for a windows powered computer? I want text editor, css editor, ftp, live preview if poss, and it should also be able to handle php and javascript. Any suggestions? What do you use and what is awesome!
4
1,591,030
10/19/2009 20:42:39
29,290
10/18/2008 20:38:12
2,007
76
Delphi - unmangle names in BPL's
Is it possible to unmangle names like these in Delphi? If so, where do I get more information? Example of an error message where it cannot find a certain entry in the dbrtl100.bpl I want to know which exact function it cannot find (unit, class, name, parameters, etc). --------------------------- myApp....
delphi
bpl
name-mangling
null
null
null
open
Delphi - unmangle names in BPL's === Is it possible to unmangle names like these in Delphi? If so, where do I get more information? Example of an error message where it cannot find a certain entry in the dbrtl100.bpl I want to know which exact function it cannot find (unit, class, name, parameters, etc). -...
0
8,181,353
11/18/2011 11:02:41
1,053,621
11/18/2011 10:50:28
1
0
How to upgrade/update a C application with newer version
My application is in c language. I have to add a functionality in my application so that it should be able to upgrade itself according to the latest version.More specifically it should recognize if any newer version is found and get updated with that newer version (according to the new executable). There may be situa...
c++
c
gcc
null
null
11/18/2011 21:21:03
not constructive
How to upgrade/update a C application with newer version === My application is in c language. I have to add a functionality in my application so that it should be able to upgrade itself according to the latest version.More specifically it should recognize if any newer version is found and get updated with that newer v...
4
1,197,917
07/29/2009 03:30:01
133,392
07/05/2009 16:42:32
47
0
cakephp VS codeigniter VS zend framework
Which one is better? In my case, I would like the following: Lesser code to write, have really strong library and plugin base. Always have new library etc added in from contributor, eg: google map and etc... Ease and speed. Ability to use together with the templating system like smarty. Have ACL that can co...
codeigniter
vs
cakephp
zend
null
08/29/2011 19:57:05
not constructive
cakephp VS codeigniter VS zend framework === Which one is better? In my case, I would like the following: Lesser code to write, have really strong library and plugin base. Always have new library etc added in from contributor, eg: google map and etc... Ease and speed. Ability to use together with the templati...
4
10,597,368
05/15/2012 09:00:33
1,307,927
04/02/2012 11:44:55
21
0
Accessing hyperlink in SharePoint custom list using Javascript
I have a SharePoint 2007 custom list and one of the columns in that is a __"Hyper Link or Picture"__ field. My requirement is, if the field URL contains year that is less than 2009, I need to set the Url to "#". As our business requirement needs all the records lesser than 2009 are considered for archieve, hence th...
sharepoint2007
null
null
null
null
null
open
Accessing hyperlink in SharePoint custom list using Javascript === I have a SharePoint 2007 custom list and one of the columns in that is a __"Hyper Link or Picture"__ field. My requirement is, if the field URL contains year that is less than 2009, I need to set the Url to "#". As our business requirement needs al...
0
34,234
08/29/2008 09:19:31
1,114
08/12/2008 12:54:42
35
6
GPG: How does key signing work and how is it done?
I've been reading various tutorials about GPG, and many of them mention that keys may be signed by other people to verify their authenticity. Unfortunately, I have been unable to find information regarding exactly how this process works. How does one sign a key, and how is the signed key used (different from the previo...
gpg
null
null
null
null
null
open
GPG: How does key signing work and how is it done? === I've been reading various tutorials about GPG, and many of them mention that keys may be signed by other people to verify their authenticity. Unfortunately, I have been unable to find information regarding exactly how this process works. How does one sign a key, a...
0
8,188,138
11/18/2011 19:38:04
1,054,502
11/18/2011 19:34:31
1
0
Can't redirect non-existent php pages to 404
Ok so I have some non-existent php pages that I would like to send a 404 response for. I can get it working for non-existent html pages but not the php pages. Any thoughts? http://stackoverflow.com/questions/2137912/htaccess-and-custom-errordocument-for-different-file-types
php
http-status-code-404
null
null
null
11/22/2011 06:25:29
not a real question
Can't redirect non-existent php pages to 404 === Ok so I have some non-existent php pages that I would like to send a 404 response for. I can get it working for non-existent html pages but not the php pages. Any thoughts? http://stackoverflow.com/questions/2137912/htaccess-and-custom-errordocument-for-different-f...
1
6,832,927
07/26/2011 15:55:34
1,088,570
07/05/2011 21:41:11
107
0
Mysql syntax help -- Update
I have 1500 rows and i want to update all the rows with a constant value(Varchar) This can done using UPDATE command in Mysql but i am not sure about the syntax for that.. Thanks in advance.
mysql
null
null
null
null
07/27/2011 10:40:03
not a real question
Mysql syntax help -- Update === I have 1500 rows and i want to update all the rows with a constant value(Varchar) This can done using UPDATE command in Mysql but i am not sure about the syntax for that.. Thanks in advance.
1
4,838,254
01/29/2011 17:20:31
595,128
01/29/2011 17:20:31
1
0
Formal language set is superset of regular languages set? please explain it.
Formal language set is superset of regular languages set? please explain it.
.net
null
null
null
null
01/29/2011 17:26:22
not a real question
Formal language set is superset of regular languages set? please explain it. === Formal language set is superset of regular languages set? please explain it.
1
7,606,051
09/30/2011 04:47:14
124,061
06/17/2009 03:41:02
2,221
111
Google Protocol buffers in client/server when have different packet type
I want to use protocol buffers in tcp/ip communication, but i may have different packets to send/receive, how can i differentiate the package types over protocol buffers, it seems I have to know the next packet type to use protocol buffer, but in my case, i may don't know the type in advance. any idea?
protocol-buffers
null
null
null
null
10/03/2011 11:58:13
not a real question
Google Protocol buffers in client/server when have different packet type === I want to use protocol buffers in tcp/ip communication, but i may have different packets to send/receive, how can i differentiate the package types over protocol buffers, it seems I have to know the next packet type to use protocol buffer, bu...
1
6,149,641
05/27/2011 08:23:33
219,609
11/26/2009 18:13:57
768
9
Design pattern for multiple view states?
I have an application that takes the user through a set of steps, configuring a product, say about 10+ screens. With options to go back, skip to a certain point etc. I need to fade between these steps, and also have language switches available at any point. I was thinking of using an MVC style pattern, having a mas...
actionscript-3
mvc
design-patterns
user-interface
view
null
open
Design pattern for multiple view states? === I have an application that takes the user through a set of steps, configuring a product, say about 10+ screens. With options to go back, skip to a certain point etc. I need to fade between these steps, and also have language switches available at any point. I was thinki...
0
9,773,722
03/19/2012 16:12:48
141,835
07/21/2009 07:53:45
1,508
60
N2CMS - The resource cannot be found
I have created `news container` and `news page` templates. In edit mode, for some pages I get 404 error message. All `news pages` belong to the same node so I'm wondering why some of them throw an exception and others are displayed correctly? I'm using ASP.NET MVC 3 with Razor view engine. Any help would be grea...
n2
n2cms
null
null
null
null
open
N2CMS - The resource cannot be found === I have created `news container` and `news page` templates. In edit mode, for some pages I get 404 error message. All `news pages` belong to the same node so I'm wondering why some of them throw an exception and others are displayed correctly? I'm using ASP.NET MVC 3 with Ra...
0
495,335
01/30/2009 12:18:29
23,087
09/27/2008 23:32:12
26
4
Plugin dependency best practices
We have an application supporting plugins via interfaces. On the other side plugins contain lots of logic and code in themselves. Plugins have dependencies (project and dll references) to application libraries beside the interfaces that application exposes. Application core libraries have lots of reusable component...
plugins
dependencies
null
null
null
05/27/2012 14:35:48
not constructive
Plugin dependency best practices === We have an application supporting plugins via interfaces. On the other side plugins contain lots of logic and code in themselves. Plugins have dependencies (project and dll references) to application libraries beside the interfaces that application exposes. Application core lib...
4
7,384,639
09/12/2011 07:35:29
892,510
08/12/2011 21:40:21
6
0
Wrapping text in spinner android
I have long text that I want to put in a few, but not all, items in a spinner. Tried using the answer [here][1] but was not able to get it to work. I created and saved multiline_spinner_dropdown_item.xml in res/layout directory but still get an error "multiline_spinner_dropdown_item cannot be resolved" in Eclipse. ...
android
spinner
wrap
null
null
null
open
Wrapping text in spinner android === I have long text that I want to put in a few, but not all, items in a spinner. Tried using the answer [here][1] but was not able to get it to work. I created and saved multiline_spinner_dropdown_item.xml in res/layout directory but still get an error "multiline_spinner_dropdown_i...
0
6,035,176
05/17/2011 18:07:52
753,202
05/14/2011 01:03:46
3
0
Call class method from non-class method
The following piece of code refuses to compile because the method: "FollowPlayer" is a class method with class level access. How do I correctly allow NSTimer to call +(void)FollowPlayer? - (void)awakeFromNib{zombie_size=4; timer=[NSTimer scheduledTimerWithInterval: 1.0 target:self selector:@selector(FollowPlayer...
objective-c
methods
nstimer
class-method
null
null
open
Call class method from non-class method === The following piece of code refuses to compile because the method: "FollowPlayer" is a class method with class level access. How do I correctly allow NSTimer to call +(void)FollowPlayer? - (void)awakeFromNib{zombie_size=4; timer=[NSTimer scheduledTimerWithInterval: 1....
0
9,812,669
03/21/2012 20:52:58
1,151,521
01/16/2012 09:07:11
164
12
Silverlight on Mac - how to debug a Memory Leak?
I've written a Silverlight app that works as an uploader for Amazon's S3. It works fine on PC, but on Mac it has a huge memory leak. The problem: I don't know how to debug it. WinDbg, the top Google suggestion, obviously is out. I don't think I can get a clue from inside of VS (when connected via remote debugging). ...
silverlight
osx
memory-leaks
null
null
null
open
Silverlight on Mac - how to debug a Memory Leak? === I've written a Silverlight app that works as an uploader for Amazon's S3. It works fine on PC, but on Mac it has a huge memory leak. The problem: I don't know how to debug it. WinDbg, the top Google suggestion, obviously is out. I don't think I can get a clue fro...
0
9,621,601
03/08/2012 16:56:56
1,108,042
12/20/2011 14:32:41
3
0
Android: Getting bundle string to create sqlite database table
Thanks for your time in reading my question. I plan to write an app that allow the user to select the table columns to perform a full text search. Therefore, I get the user input into bundle string and try to pass this into the SQLiteOpenHelper. However, the SQLOpenHelper is unable to get the string. My code snippe...
android
sqlite
null
null
null
null
open
Android: Getting bundle string to create sqlite database table === Thanks for your time in reading my question. I plan to write an app that allow the user to select the table columns to perform a full text search. Therefore, I get the user input into bundle string and try to pass this into the SQLiteOpenHelper. Ho...
0
6,427,458
06/21/2011 15:01:29
755,285
05/16/2011 07:42:12
6
1
click ImageButton
I have one question. There are 4 ImageButtons(a1, a2 and b1, b2). You can chose only a1 or a2 and never both at the same time. Should I check each click on these buttons? How can I do this? Can anyone help me?
click
imagebutton
null
null
null
null
open
click ImageButton === I have one question. There are 4 ImageButtons(a1, a2 and b1, b2). You can chose only a1 or a2 and never both at the same time. Should I check each click on these buttons? How can I do this? Can anyone help me?
0
6,720,290
07/16/2011 21:18:19
526,021
12/01/2010 03:33:00
23
0
User generated external link
Im creating an user profile page, which gives them the option of adding a link to their personal website. How can I create a link to their website? I want to do something like this ` <a href="user.website_link">Twitter<a/>` but that takes them to an external link... Thanks in advance.
ruby-on-rails
ruby
null
null
null
07/08/2012 00:48:47
not a real question
User generated external link === Im creating an user profile page, which gives them the option of adding a link to their personal website. How can I create a link to their website? I want to do something like this ` <a href="user.website_link">Twitter<a/>` but that takes them to an external link... Thanks in ad...
1
8,965,265
01/22/2012 22:23:07
1,107,412
12/20/2011 08:38:33
32
0
Fix an ad-hoc network hosted by a Windows XP machine (problems with MTU)
I have the following problem. I use an old Windows XP laptop as some sort of a wireless router by creating an ad-hoc wireless network. It works OK with my Win7 laptop, but when I brought my MacBook Pro from work I realized that although it finds and connects to the network, all it could actually show were a few Google ...
windows-7
windows-xp
wifi
adhoc
mtu
null
open
Fix an ad-hoc network hosted by a Windows XP machine (problems with MTU) === I have the following problem. I use an old Windows XP laptop as some sort of a wireless router by creating an ad-hoc wireless network. It works OK with my Win7 laptop, but when I brought my MacBook Pro from work I realized that although it fi...
0
11,082,089
06/18/2012 11:43:15
1,442,072
06/07/2012 11:27:08
1
0
C# crystal report root.substring(0,root.length-10)
**hi everyone plz help me out , i can't understand these 2 lines and why we cut the root with substring (sorry for my english) root=AppDomain.CurrentDomain.BaseDirectory; C.FileName = root.Substring(0, root.Length - 10) + "etat_selection_formula.rpt";**
c#
null
null
null
null
06/19/2012 08:46:34
not a real question
C# crystal report root.substring(0,root.length-10) === **hi everyone plz help me out , i can't understand these 2 lines and why we cut the root with substring (sorry for my english) root=AppDomain.CurrentDomain.BaseDirectory; C.FileName = root.Substring(0, root.Length - 10) + "etat_selection_formula.rpt";**
1
7,162,133
08/23/2011 13:56:39
349,223
05/24/2010 18:49:03
345
2
CSS Best Approach for 2 backgrounds?
I have a design that has some images across the top 25% of the background then it is just a simple gradient I can repeat for the rest. What is the best approach to have the Images on the top, then fill out the rest of the page with the gradient? I took this approach: html{ background: #cac2ac url("...
html
css
background-image
null
null
null
open
CSS Best Approach for 2 backgrounds? === I have a design that has some images across the top 25% of the background then it is just a simple gradient I can repeat for the rest. What is the best approach to have the Images on the top, then fill out the rest of the page with the gradient? I took this approach: ...
0
9,418,395
02/23/2012 17:50:04
828,583
07/04/2011 18:33:35
6
0
CakePhp2 autocomplete (jquery-ui folding) not working without ajax, only with array of available inputs
I am using **cakephp2**. I want to make **autocomplete in cakephp2**, but not with ajax, it is array where are autocomplete`s available inputs. I have simple LocationsController (not important but i enclosed it) where i have: class LocationsController extends AppController { public $name = 'Lo...
javascript
jquery-ui
jquery-ui-autocomplete
cakephp-2.0
null
null
open
CakePhp2 autocomplete (jquery-ui folding) not working without ajax, only with array of available inputs === I am using **cakephp2**. I want to make **autocomplete in cakephp2**, but not with ajax, it is array where are autocomplete`s available inputs. I have simple LocationsController (not important but i enclosed ...
0
2,310,563
02/22/2010 11:35:29
278,636
02/22/2010 11:35:29
1
0
Python Virtualbox API
[http://enomalism.com/api/pyvb/pyvb.vm.vbVM-class.html][1] there is a parameter **kw in __init__(self, **kw) what is it? [1]: http://enomalism.com/api/pyvb/pyvb.vm.vbVM-class.html
python
null
null
null
null
null
open
Python Virtualbox API === [http://enomalism.com/api/pyvb/pyvb.vm.vbVM-class.html][1] there is a parameter **kw in __init__(self, **kw) what is it? [1]: http://enomalism.com/api/pyvb/pyvb.vm.vbVM-class.html
0
6,047,562
05/18/2011 15:55:37
658,500
03/14/2011 09:24:59
10
1
Creat menu from array need help???
Really need some help. i have got the following here. which is pulled from an array. [TheBeautifulSouth/2-15 One Last Love Song.m4a] => Array ( [name] => TheBeautifulSouth/2-15 One Last Love Song.m4a [time] => 1296612503 [size] => 7628998 [hash] => ...
php
arrays
menu
null
null
null
open
Creat menu from array need help??? === Really need some help. i have got the following here. which is pulled from an array. [TheBeautifulSouth/2-15 One Last Love Song.m4a] => Array ( [name] => TheBeautifulSouth/2-15 One Last Love Song.m4a [time] => 1296612503 [...
0
10,599,724
05/15/2012 11:25:49
773,625
05/27/2011 19:11:15
618
22
GUI testing framework for JavaFX 2
I'm currently reading the book [Growing Object-Oriented Software Guided by Tests][1] which gives a decent introduction into test driven development. One drawback is that the code developed through the book is based on Swing. For my next project I'd like to use Java FX 2 and I'm wondering if there are any GUI testing...
frameworks
tdd
javafx-2
gui-testing
null
null
open
GUI testing framework for JavaFX 2 === I'm currently reading the book [Growing Object-Oriented Software Guided by Tests][1] which gives a decent introduction into test driven development. One drawback is that the code developed through the book is based on Swing. For my next project I'd like to use Java FX 2 and I'...
0
6,172,862
05/30/2011 06:15:24
748,515
05/11/2011 11:07:54
1
0
when should a Btree be used
When should a btree be used is there any advantage of using Btree ? and in real time which application uses btree? Note: Btree is not a binary tree
c
null
null
null
null
06/18/2011 18:22:48
not a real question
when should a Btree be used === When should a btree be used is there any advantage of using Btree ? and in real time which application uses btree? Note: Btree is not a binary tree
1
6,896,118
08/01/2011 08:53:41
145,567
07/27/2009 07:10:18
1,666
53
Basic Scala OOP question - pass by reference?
I'm a little stumped at how silly this problem is, but I thought I might ask anyway. I have an object Foo, with several fields. I want a method that can change any of it's fields depending on which one is passed in as a parameter. Like so: class Foo { var x = 0 var y = 0 } cl...
oop
scala
null
null
null
null
open
Basic Scala OOP question - pass by reference? === I'm a little stumped at how silly this problem is, but I thought I might ask anyway. I have an object Foo, with several fields. I want a method that can change any of it's fields depending on which one is passed in as a parameter. Like so: class Foo { ...
0
9,233,708
02/10/2012 19:33:58
1,202,792
02/10/2012 19:24:46
1
0
How to create a working array with images in Android?
I have been struggling to work with images using an array for my android application , i had created an array with a few images but even after i use a loop only 1 image gets loaded on the imageview i.e the last image present in the array so here only 'fourofclubs.png' is getting loaded. this is my code:- ...
java
android
null
null
null
02/12/2012 06:11:46
not a real question
How to create a working array with images in Android? === I have been struggling to work with images using an array for my android application , i had created an array with a few images but even after i use a loop only 1 image gets loaded on the imageview i.e the last image present in the array so here only 'fourofclu...
1
5,496,006
03/31/2011 06:24:20
581,866
01/19/2011 17:50:03
169
2
JSF Validation Required Fields
I'm using primefaces and their growl control in order to display validation error messages and I would like to use the required="true" but customize the message for each input component that uses the required="true". I know you can override the default require message and I know you can create a server side check and ...
jsf-2.0
primefaces
null
null
null
null
open
JSF Validation Required Fields === I'm using primefaces and their growl control in order to display validation error messages and I would like to use the required="true" but customize the message for each input component that uses the required="true". I know you can override the default require message and I know you...
0
5,480,293
03/29/2011 23:46:12
206,446
11/08/2009 22:19:26
2,985
6
Markdown to online blog/wiki/guides?
Are there sites where I can have an account, type in my markdown and then it would generate pretty blog/wiki/guides for me automatically without me having to bother with setting up a server and so on?
markdown
null
null
null
null
11/11/2011 13:09:50
off topic
Markdown to online blog/wiki/guides? === Are there sites where I can have an account, type in my markdown and then it would generate pretty blog/wiki/guides for me automatically without me having to bother with setting up a server and so on?
2
6,799,460
07/23/2011 09:19:02
859,150
07/23/2011 09:19:02
1
0
Why segmentation fault on implementation of strcpy? Please help!
I implement a simple strcpy, but when i run it , it always give a segmentation fault. Please help ! Below is my code: #include <stdio.h> char* mystrcpy(char*dst,char*src){ char *ptr=dst; while( *src !='\0'){ *dst=*src; dst++; src++; } return ptr; } ...
c
segmentation-fault
strcpy
null
null
null
open
Why segmentation fault on implementation of strcpy? Please help! === I implement a simple strcpy, but when i run it , it always give a segmentation fault. Please help ! Below is my code: #include <stdio.h> char* mystrcpy(char*dst,char*src){ char *ptr=dst; while( *src !='\0'){ *dst=*s...
0
10,468,815
05/06/2012 07:02:25
677,833
03/26/2011 08:11:28
18
0
How to change Java Project Structure in IntelliJ IDEA?
Need to add new files to Project and other stuff.
java
intellij-idea
null
null
null
05/06/2012 10:45:53
not a real question
How to change Java Project Structure in IntelliJ IDEA? === Need to add new files to Project and other stuff.
1
4,062,498
10/31/2010 09:12:09
440,379
09/06/2010 05:45:08
230
15
How long would it take to transfer a 1GB file over a 1 Gbps connection?
I answered that it would depend on a variety of factors including network latency, packet creation and collation etc. But the interviewer wanted a specific number, to which i answered something like 10 Secs :) ( > 8 secs ). Is there an exact formula for this?
networking
interview-questions
null
null
null
11/02/2010 09:19:17
off topic
How long would it take to transfer a 1GB file over a 1 Gbps connection? === I answered that it would depend on a variety of factors including network latency, packet creation and collation etc. But the interviewer wanted a specific number, to which i answered something like 10 Secs :) ( > 8 secs ). Is there an exact f...
2
5,649,503
04/13/2011 12:50:15
1,088,313
01/19/2011 04:08:55
79
0
usability web sites
Where to find website that i could do a report on that needs some usability. I have been looking and dont know where to look at.. Thanks
css
null
null
null
null
04/13/2011 13:20:59
not a real question
usability web sites === Where to find website that i could do a report on that needs some usability. I have been looking and dont know where to look at.. Thanks
1
10,000,731
04/03/2012 20:17:38
1,104,427
12/18/2011 11:53:38
35
0
Learn python the hard way exercise 43, nothing happens
Currently going through Zed Shaw's Learn Python The Hard Way and have reached exercise 43. I thought I understood everything until I tried to run my script ... nothing happens. No error messages, nothing. I've been trying to go through my code but can't seem to find out why this is. Here's my code, hope someone can...
python
language-learning
null
null
null
04/03/2012 20:31:13
too localized
Learn python the hard way exercise 43, nothing happens === Currently going through Zed Shaw's Learn Python The Hard Way and have reached exercise 43. I thought I understood everything until I tried to run my script ... nothing happens. No error messages, nothing. I've been trying to go through my code but can't seem ...
3
10,985,991
06/11/2012 19:02:31
890,179
08/11/2011 15:03:06
175
31
conditional compilation in java
Below is a snippet of my code - class A { private boolean debug = false; // Called when server boots up. public void init (property) { debug = property.getBoolean ("debug_var"); // read debug from a config file. } // some other function ...
java
null
null
null
null
null
open
conditional compilation in java === Below is a snippet of my code - class A { private boolean debug = false; // Called when server boots up. public void init (property) { debug = property.getBoolean ("debug_var"); // read debug from a config file. } ...
0
7,457,552
09/17/2011 20:25:26
918,806
08/30/2011 01:14:08
11
0
What language should I use to create a "Repair Status" system for my computer repair business?
I was just wondering the best programming language to create an online system with both a backend for the technician and a front end for the user to see the status. Also If you know of a system that already exits that would be great. I don't exactly know what to search for. Otherwise I would have found something my...
php
javascript
ajax
null
null
09/17/2011 20:46:27
not constructive
What language should I use to create a "Repair Status" system for my computer repair business? === I was just wondering the best programming language to create an online system with both a backend for the technician and a front end for the user to see the status. Also If you know of a system that already exits tha...
4