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
1,064,146
06/30/2009 14:57:21
70,745
02/25/2009 08:51:48
8
1
Compare strings by their written representation - is it possible?
For example I have a column that contains string (in English - "A", "B" ) "AB1234" and I'd like to compare it to the string "AB1234" (in Russian "A", "B" ), for Example. Is there any built-in function to achieve this? The best way I found is to use Translate func where i enumerate all needed symbols.
oracle
sql
string
null
null
null
open
Compare strings by their written representation - is it possible? === For example I have a column that contains string (in English - "A", "B" ) "AB1234" and I'd like to compare it to the string "AB1234" (in Russian "A", "B" ), for Example. Is there any built-in function to achieve this? The best way I found is t...
0
8,036,927
11/07/2011 13:08:13
1,033,772
11/07/2011 13:03:36
1
0
SQL Server 2008 Navtie Client issue
We have two virtual machines on a server. We have Sql server installed on one vm and on another vm sybase is installed. We cann't find "SQL Server 2008 Navtie Client" driver on the machine where we have intalled sybase. We have tried to install it using "sqlncli.msi" but could not install it. We have got the following...
sql
sybase
null
null
null
11/11/2011 10:57:33
off topic
SQL Server 2008 Navtie Client issue === We have two virtual machines on a server. We have Sql server installed on one vm and on another vm sybase is installed. We cann't find "SQL Server 2008 Navtie Client" driver on the machine where we have intalled sybase. We have tried to install it using "sqlncli.msi" but could ...
2
10,517,532
05/09/2012 13:51:08
1,323,981
04/10/2012 11:53:26
67
1
How to improve the below code?
Is there a better way to write the below program (I am sure it can be but how) for (int i = 0; i < relevantElements.Count(); i++) { switch (len) { case 1: result.Add(new ContextElements { CultureName = G...
c#-4.0
null
null
null
null
null
open
How to improve the below code? === Is there a better way to write the below program (I am sure it can be but how) for (int i = 0; i < relevantElements.Count(); i++) { switch (len) { case 1: result.Add(new ContextElements { ...
0
461,898
01/20/2009 15:59:37
337
08/04/2008 18:11:42
1,403
36
Where to put AppSettings when breaking monothic asp.net site into libraries?
I have some business objects which use: Web.Configuration.WebConfigurationManager.AppSettings.Item("SomeSetting") Now that I'm breaking those objects into their own library, it feels dirty to take a dependency on System.Web when nothing else in the library has anything to do with web. What is the proper ...
asp.net
architecture
web-config
configuration
null
null
open
Where to put AppSettings when breaking monothic asp.net site into libraries? === I have some business objects which use: Web.Configuration.WebConfigurationManager.AppSettings.Item("SomeSetting") Now that I'm breaking those objects into their own library, it feels dirty to take a dependency on System.Web when...
0
1,015,734
06/18/2009 23:37:32
242,241
09/19/2008 21:40:11
1,388
105
Windows media server doesn't stop after playing 1 file from list
I'm playing Windows Media audio, triggered by an ASX meta-file which looks like this: <asx version="3.0" BannerBar="none"> <title>Foo</title> <author>Bar</author> <copyright>Baz</copyright> <moreinfo href="http://company.com/"/> <entry> <title>Audio Stream</title> ...
windowsmediaplayer
asx
xml
windowsmediaserver
null
null
open
Windows media server doesn't stop after playing 1 file from list === I'm playing Windows Media audio, triggered by an ASX meta-file which looks like this: <asx version="3.0" BannerBar="none"> <title>Foo</title> <author>Bar</author> <copyright>Baz</copyright> <moreinfo href="http://...
0
353,424
12/09/2008 16:42:05
23,447
09/29/2008 13:43:02
50
1
List of source members in a file with SQL
Is it possible to generate a list of all source members within an iSeries source file using SQL? Might be similar to getting table definitions from SYSTABLES and SYSCOLUMNS, but I'm unable to find anything so far.
sql
ibm-midrange
null
null
null
null
open
List of source members in a file with SQL === Is it possible to generate a list of all source members within an iSeries source file using SQL? Might be similar to getting table definitions from SYSTABLES and SYSCOLUMNS, but I'm unable to find anything so far.
0
2,837,983
05/14/2010 22:16:04
341,657
05/14/2010 22:16:04
1
0
Zend Framework subdomain+subfolder router rewrite problem
I'm new to Zend Framwork and this is an issue I've been struggling for several hours already... I'm trying to chain Hostname and standard Route in order to get url with subdomain+subfolders ie.: *http:// lang.mydomain.com/**myapplication/public**/controller* *http:// lang.mydomain.com/**myapplication/public**/...
zend-framework
url-helper
subdomains
bootstrapping
null
null
open
Zend Framework subdomain+subfolder router rewrite problem === I'm new to Zend Framwork and this is an issue I've been struggling for several hours already... I'm trying to chain Hostname and standard Route in order to get url with subdomain+subfolders ie.: *http:// lang.mydomain.com/**myapplication/public**/cont...
0
10,141,893
04/13/2012 13:37:10
1,221,705
02/20/2012 18:03:19
21
1
PHP storing a string
Cant remember this for the life of me and I just want to use it because.... LOL For example you may use $str = "this value of a string"; however there is another format where you can do something like: $str = EVO: this value of a string EVO; Its been so long I cant remember the right usage, anyone?
php
string
null
null
null
04/13/2012 17:31:08
not constructive
PHP storing a string === Cant remember this for the life of me and I just want to use it because.... LOL For example you may use $str = "this value of a string"; however there is another format where you can do something like: $str = EVO: this value of a string EVO; Its been so long I cant remember the ri...
4
4,867,711
02/01/2011 20:39:17
380,329
06/30/2010 17:02:48
62
4
Drupal contact form sending me duplicate emails
I'm new to Drupal, just made my first site and having some issues with email. Two questions: 1. I've enabled the site-wide contact form, and sometimes though not always, I'll receive two identical emails from my site when someone submits a message via the contact form. 2. I've found documentation on Drupal's ema...
drupal
email-integration
null
null
null
null
open
Drupal contact form sending me duplicate emails === I'm new to Drupal, just made my first site and having some issues with email. Two questions: 1. I've enabled the site-wide contact form, and sometimes though not always, I'll receive two identical emails from my site when someone submits a message via the contact ...
0
10,919,874
06/06/2012 18:20:51
863,180
07/26/2011 10:03:03
39
5
how to move file to error directory and rollback other move with apache camel?
First of all: i'm a camel newbie :-) I want to transfer a file from an input directory to an output directory and do some java stuff. If something goes wrong, i want to move the file to an error directory and rollback to move to the output directory. This is my route in java dsl: onException(Exception.cla...
apache-camel
null
null
null
null
null
open
how to move file to error directory and rollback other move with apache camel? === First of all: i'm a camel newbie :-) I want to transfer a file from an input directory to an output directory and do some java stuff. If something goes wrong, i want to move the file to an error directory and rollback to move to the...
0
6,906,922
08/02/2011 03:23:18
624,208
02/19/2011 08:29:49
6
0
Threading subprocesses in Python
If I use Python's Threading library can I accomplish a batch of subprocess processes faster? Let's say for instance I need to convert 100 .wav files to .mp3 files. If I wrap 'ffmpeg' in a Python script that used threading could I accomplish the task much faster? Does threading enable me to actually use all 8 threads a...
python
multithreading
shell
script
subprocess
null
open
Threading subprocesses in Python === If I use Python's Threading library can I accomplish a batch of subprocess processes faster? Let's say for instance I need to convert 100 .wav files to .mp3 files. If I wrap 'ffmpeg' in a Python script that used threading could I accomplish the task much faster? Does threading ena...
0
6,306,974
06/10/2011 13:25:17
450,811
09/17/2010 16:48:03
2,047
110
NetBeans declarative Action registration vs. Node popup menu
The "New Action" Wizard in NetBeans 7.0 generates a class which implements the `ActionListener` interface and has several annotations. These annotations place references to this action in the Toolbars/Menus specified in the Wizard. Most of this is explained in the NetBeans [wiki][1] and works as expected. My Problem...
java
annotations
action
netbeans-platform
null
null
open
NetBeans declarative Action registration vs. Node popup menu === The "New Action" Wizard in NetBeans 7.0 generates a class which implements the `ActionListener` interface and has several annotations. These annotations place references to this action in the Toolbars/Menus specified in the Wizard. Most of this is explai...
0
9,921,224
03/29/2012 07:51:55
1,204,243
02/11/2012 19:40:58
70
5
Large file uplods failing php
<br><br> Ive made a tiny site where my friends can upload songs and some tiny files that they want to but <br> my problem is that files over 5mb fails, as in the browser shows "Could not reach server" error<br> The max file size set by my server is 2mb, but i can upload 2.5-3mb fine<br> Probably because i overw...
php
apache
.htaccess
large-file-upload
null
null
open
Large file uplods failing php === <br><br> Ive made a tiny site where my friends can upload songs and some tiny files that they want to but <br> my problem is that files over 5mb fails, as in the browser shows "Could not reach server" error<br> The max file size set by my server is 2mb, but i can upload 2.5-3mb...
0
7,229,238
08/29/2011 11:03:54
634,524
02/25/2011 16:51:01
7
1
iTunes Connect and IAPs
Read somewhere that to have a free app in the App Store with IAP, one would have to have at least one paid app in the system. Is this correct and what constitutes the system? Any work-arounds? Thanks for any help.
ios
itunesconnect
null
null
null
08/29/2011 13:10:01
off topic
iTunes Connect and IAPs === Read somewhere that to have a free app in the App Store with IAP, one would have to have at least one paid app in the system. Is this correct and what constitutes the system? Any work-arounds? Thanks for any help.
2
10,206,537
04/18/2012 09:25:59
1,004,770
10/20/2011 08:37:43
185
3
Keyboard shortcut to highlight text in a web page
I was wondering if there is any keyboard shortcut there to highlight text(may be lines or paragraph) from a web page(in IE or firefox). Using mouse we will have to select the whole line/text, sometimes very cumbersome. What I need is select the text from a web page and copy the text to say a notepad.
keyboard-shortcuts
null
null
null
null
null
open
Keyboard shortcut to highlight text in a web page === I was wondering if there is any keyboard shortcut there to highlight text(may be lines or paragraph) from a web page(in IE or firefox). Using mouse we will have to select the whole line/text, sometimes very cumbersome. What I need is select the text from a web page...
0
3,371,839
07/30/2010 13:24:29
239,823
12/28/2009 21:49:02
176
4
Is it possible to access an instance variable via a static method?
In C#, is it possible to access an instance variable via a static method in different classes without using parameter passing?
c#
static
null
null
null
null
open
Is it possible to access an instance variable via a static method? === In C#, is it possible to access an instance variable via a static method in different classes without using parameter passing?
0
11,551,071
07/18/2012 22:05:56
1,315,447
04/05/2012 13:47:04
139
13
Uninstall VMware Workstation v8.04 completely from Windows 7
I wanted to uninstall Wmware v8.04 from my window 7 64bit. I could not do that from control panel. I received "The MSI failed" error like: http://www.sysprobs.com/fixed-the-msi-failed-vmware-workstation-uninstall-repair-and-update-in-windows-7 Then I followed this link to remove the wmware manually : http://kb.vmw...
windows-7
vmware
uninstall
vmware-workstation
null
07/18/2012 22:19:08
off topic
Uninstall VMware Workstation v8.04 completely from Windows 7 === I wanted to uninstall Wmware v8.04 from my window 7 64bit. I could not do that from control panel. I received "The MSI failed" error like: http://www.sysprobs.com/fixed-the-msi-failed-vmware-workstation-uninstall-repair-and-update-in-windows-7 Then I ...
2
5,648,444
04/13/2011 11:29:47
703,460
04/12/2011 06:05:18
1
0
Error While passing long query
I have a query. Declare @fromDate DateTime = '01/28/2009'; Declare @ToDate DateTime = '01/28/2011' ; Declare @IsMonthWise bit = 1 DECLARE @temp TABLE( userId BIGINT,Visits INT,DownLoads INT) DECLARE @tempmonth TABLE( userId BIGINT,Visits INT,DownLoads INT,MonthYear nvarchar(50)) if @Is...
c#
sql-server
query
ado.net
null
null
open
Error While passing long query === I have a query. Declare @fromDate DateTime = '01/28/2009'; Declare @ToDate DateTime = '01/28/2011' ; Declare @IsMonthWise bit = 1 DECLARE @temp TABLE( userId BIGINT,Visits INT,DownLoads INT) DECLARE @tempmonth TABLE( userId BIGINT,Visits INT,DownLoads INT...
0
7,964,201
11/01/2011 08:47:54
1,021,450
10/31/2011 05:41:49
1
0
Invalid coloumn name
1.xml file <?xml version="1.0"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <hibernate-mapping> <class name="com.vijay.Transfee" table="TRXN_FEE_TABLE"> <meta attribute="clas...
stored-procedures
null
null
null
null
11/03/2011 14:00:33
too localized
Invalid coloumn name === 1.xml file <?xml version="1.0"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <hibernate-mapping> <class name="com.vijay.Transfee" table="TRXN_FEE_TABLE"> ...
3
11,144,483
06/21/2012 18:28:05
271,351
02/11/2010 20:11:14
167
26
.Net Inline Schema/XML Programmatic Generation
I have a set of data rendered using ASP.Net (VB.Net) to a web page. I now want to export that data to XML. I have created some code to generate a schema, however, I don't know what to do next. I want to have the schema be in-line with the XML data, and I would like the compiler to check to make sure that the data I'm e...
asp.net
.net
xml
vb.net
xml-schema
null
open
.Net Inline Schema/XML Programmatic Generation === I have a set of data rendered using ASP.Net (VB.Net) to a web page. I now want to export that data to XML. I have created some code to generate a schema, however, I don't know what to do next. I want to have the schema be in-line with the XML data, and I would like th...
0
10,495,400
05/08/2012 08:47:14
1,352,998
04/24/2012 06:37:39
1
0
Difference in output while working with emulator and while working with tablet
scenario : I am working on code , but while I make changes in my code ( Like changing the image size {by changing the images from resource folder } ) Problem : Now the problem is when I use emulator in eclipse the serial order of activity (screen) is different from the one original tab , that has been developed b...
android
user-interface
null
null
null
null
open
Difference in output while working with emulator and while working with tablet === scenario : I am working on code , but while I make changes in my code ( Like changing the image size {by changing the images from resource folder } ) Problem : Now the problem is when I use emulator in eclipse the serial order of a...
0
5,822,117
04/28/2011 16:46:27
729,750
04/28/2011 16:46:27
1
0
how to dynamically create subdoamins
This is my first time to post in this website and i hope you help me out. I want to dynamically create new sub domains on my website. i mean if you have example.com then you dynamically create sub.example.com . i looked on google and there was nothing really good. i downloaded some scripts but they were all not working...
php
domain
subdomain
null
null
null
open
how to dynamically create subdoamins === This is my first time to post in this website and i hope you help me out. I want to dynamically create new sub domains on my website. i mean if you have example.com then you dynamically create sub.example.com . i looked on google and there was nothing really good. i downloaded ...
0
7,108,729
08/18/2011 14:06:51
900,694
08/18/2011 13:33:58
1
0
Switch from php to java
I currently run a dating website on LAMP, i am currently in the process of refactoring my code from normal php to Zend framework with Doctrine. i am happy with setup but often find function not found errors on live site cause i have renamed function. Which is frustrating as most of time is wasted is patching these erro...
java
php
null
null
null
08/23/2011 01:47:00
not a real question
Switch from php to java === I currently run a dating website on LAMP, i am currently in the process of refactoring my code from normal php to Zend framework with Doctrine. i am happy with setup but often find function not found errors on live site cause i have renamed function. Which is frustrating as most of time is ...
1
7,279,727
09/02/2011 05:59:06
663,660
03/17/2011 04:15:58
243
5
HornetQ 2.2.5 Embeded Example Exception
I am new to HornetQ and I am testing hornetQ Examples. I am getting Exception while running the example EmbeddedExample.java(resides in : hornetq-2.2.5.Final\examples\core\embedded\src\org\hornetq\core\example). I had made some change in that example and getting Exception. The changes I had made is, I had put sending p...
jms
hornetq
null
null
null
null
open
HornetQ 2.2.5 Embeded Example Exception === I am new to HornetQ and I am testing hornetQ Examples. I am getting Exception while running the example EmbeddedExample.java(resides in : hornetq-2.2.5.Final\examples\core\embedded\src\org\hornetq\core\example). I had made some change in that example and getting Exception. T...
0
8,961,179
01/22/2012 12:50:23
433,904
08/28/2010 20:03:19
439
5
How to replay array value in PHP
Need to replace below array "[4] => 1 " 4th value based condition. if 1 -> True 0-> False Array ( [0] => Array ( [0] => 33 [1] => Test [2] => test2@gmail.com [3] => [4] => 1 ) [1] => Array ( [0] => 36 [1] => Test2 [2] => test3@gmail.com [3] => [4] => 0 ) [2] => Array ( [0] => 37 [1] => Test4 [2] => test4@gmail.c...
php
null
null
null
null
01/23/2012 06:54:29
too localized
How to replay array value in PHP === Need to replace below array "[4] => 1 " 4th value based condition. if 1 -> True 0-> False Array ( [0] => Array ( [0] => 33 [1] => Test [2] => test2@gmail.com [3] => [4] => 1 ) [1] => Array ( [0] => 36 [1] => Test2 [2] => test3@gmail.com [3] => [4] => 0 ) [2] => Array ( [0] =...
3
8,997,839
01/25/2012 04:32:15
507,982
11/15/2010 07:58:33
138
11
Amazon RDS vs EC2 for set up for failover , replication
I've been reading up RDS vs EC2 for MySQL. My question is what the difference in setup between RDS and EC2 for MySQL in terms of set up and failover? Does that mean that when we configure RDS for MySQL on AWS, we just need an Instance with Read Replica / Mulit-AZ Deployment with failover automatically configured? ...
amazon-ec2
amazon
rds
null
null
01/30/2012 16:07:03
off topic
Amazon RDS vs EC2 for set up for failover , replication === I've been reading up RDS vs EC2 for MySQL. My question is what the difference in setup between RDS and EC2 for MySQL in terms of set up and failover? Does that mean that when we configure RDS for MySQL on AWS, we just need an Instance with Read Replica / ...
2
11,507,482
07/16/2012 15:28:25
1,469,502
06/20/2012 14:07:33
1
0
Moving footnote text citation to actual footnote reference location
I have a pdf document. When I convert that into RTF, the footnotes are converted into normal text. My requirement is I need to take the text in footnotes and place it in the references. For example, if the 1st footnote citation text is on the 1st page and the reference also in on the 1st page, I need to move that citat...
vba
vbscript
null
null
null
null
open
Moving footnote text citation to actual footnote reference location === I have a pdf document. When I convert that into RTF, the footnotes are converted into normal text. My requirement is I need to take the text in footnotes and place it in the references. For example, if the 1st footnote citation text is on the 1st ...
0
11,073,151
06/17/2012 16:58:32
885,920
08/09/2011 12:20:12
1,260
97
Why is System.Windows.Automation.Peers.AutomationPeer.GetPattern() method not implemented using Generics?
The `GetPattern()` method implementation of `WPF UI Automation system` is implemented taking the enum parameter `PatternInterface` and we normally use it in the following way: //Code with New Generics based implementation ButtonAutomationPeer buttonPeer = new ButtonAutomationPeer(button1); IInvokeProvi...
wpf
generics
c#-4.0
.net-4.0
null
06/17/2012 19:18:00
not a real question
Why is System.Windows.Automation.Peers.AutomationPeer.GetPattern() method not implemented using Generics? === The `GetPattern()` method implementation of `WPF UI Automation system` is implemented taking the enum parameter `PatternInterface` and we normally use it in the following way: //Code with New Generics b...
1
6,949,718
08/04/2011 23:15:11
876,011
08/03/2011 06:43:43
57
2
Can any explain about iReport in java?
1) Is it good report generator ?? 2) Do I have an ireport plugin foe netbeans ?? 3) What are the good tutotilas that I can use to learn about iReport??
java
netbeans
ireport
null
null
11/20/2011 01:14:04
not a real question
Can any explain about iReport in java? === 1) Is it good report generator ?? 2) Do I have an ireport plugin foe netbeans ?? 3) What are the good tutotilas that I can use to learn about iReport??
1
11,531,846
07/17/2012 22:38:35
1,327,732
04/11/2012 22:17:56
8
1
Why does Dreamweaver flag </head> as invalid markup when I have a <php ?> tag inside the <head>
I have the following code (editted for privacy) on my site homepage, index.php: <head> <title>My Site</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="language" content="english" /> <meta name="keywords" content="keyword1, keyword2, keyword3"> <me...
php
null
null
null
null
07/17/2012 22:40:31
off topic
Why does Dreamweaver flag </head> as invalid markup when I have a <php ?> tag inside the <head> === I have the following code (editted for privacy) on my site homepage, index.php: <head> <title>My Site</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="langu...
2
11,474,237
07/13/2012 16:09:14
1,524,032
07/13/2012 15:56:09
1
0
How do I get photo saved in contacts?
I got my memory card formatted. and lost my friend's photo from it. But still it is displaying his photo in the his contact. Now I wanna get it back. help me how do I get that photo?
android
photo
picture
android-contacts
null
07/13/2012 17:15:38
off topic
How do I get photo saved in contacts? === I got my memory card formatted. and lost my friend's photo from it. But still it is displaying his photo in the his contact. Now I wanna get it back. help me how do I get that photo?
2
7,487,307
09/20/2011 14:59:10
893,917
08/14/2011 14:15:00
1
0
Python - OSError: Directory not empty raised, how to fix?
I'm just trying to write a little application that takes a value from a file named 'DATA.DAT' and renames the folder which contains that file with that value. The .py script runs in another folder and allows the user to define the path. To give you a better idea, the user defined path must be like (on a mac) '/Users...
python
file
exception
directory
rename
null
open
Python - OSError: Directory not empty raised, how to fix? === I'm just trying to write a little application that takes a value from a file named 'DATA.DAT' and renames the folder which contains that file with that value. The .py script runs in another folder and allows the user to define the path. To give you a bet...
0
5,955,624
05/10/2011 19:49:03
731,889
04/29/2011 23:23:01
25
0
Best CSS Layout for typical ecommerce sites
Ok, I am probably going to get very varied opinions on this question but here goes anyway: what would be the best css layout type for a typical ecommerce site. Typical as in standard grid based product pages, header footer etc.
css
e-commerce
null
null
null
05/11/2011 01:38:03
not a real question
Best CSS Layout for typical ecommerce sites === Ok, I am probably going to get very varied opinions on this question but here goes anyway: what would be the best css layout type for a typical ecommerce site. Typical as in standard grid based product pages, header footer etc.
1
4,027,578
10/26/2010 20:11:26
196,874
10/03/2008 14:59:47
175
5
Which jQuery Flash plugin is good?
I found these three jQuery Flash plugin: 1) http://plugins.jquery.com/project/jquery_flash 2) http://jquery.lukelutman.com/plugins/flash/ 3) http://jquery.thewikies.com/swfobject/ so, which one is the best to use?
jquery
flash
null
null
null
10/28/2010 00:47:57
not constructive
Which jQuery Flash plugin is good? === I found these three jQuery Flash plugin: 1) http://plugins.jquery.com/project/jquery_flash 2) http://jquery.lukelutman.com/plugins/flash/ 3) http://jquery.thewikies.com/swfobject/ so, which one is the best to use?
4
2,846,846
05/17/2010 05:32:32
339,933
05/13/2010 04:14:33
1
0
AS3 car race game?
I am trying to make a racing game with an overhead view looking down. There will be a separate mc for the ground and another separate mc for the players car. How can I do this? O ya and just in case i am thinking the way I did: I tried to "rotate" the ground but when the car moves down the ground it moves away fr...
action
actionscript-3
null
null
null
null
open
AS3 car race game? === I am trying to make a racing game with an overhead view looking down. There will be a separate mc for the ground and another separate mc for the players car. How can I do this? O ya and just in case i am thinking the way I did: I tried to "rotate" the ground but when the car moves down the...
0
5,308,474
03/15/2011 07:01:42
609,282
02/09/2011 06:09:26
11
1
How does the femtocell works
i am doing a project on wireless intercom using wifi. i need to know a lot about femtocell to enhance my project. can anyone please help me, i need a detailed information about these femtocells and how they work
wireless
null
null
null
null
03/15/2011 07:19:32
off topic
How does the femtocell works === i am doing a project on wireless intercom using wifi. i need to know a lot about femtocell to enhance my project. can anyone please help me, i need a detailed information about these femtocells and how they work
2
5,657,060
04/13/2011 23:56:43
346,418
05/20/2010 18:18:35
62
1
what's the difference between "env" and "set" (on os/x or linux)?
I get similar running "env" and "set". Set gives more results - is it a superset of env? The man page for set doesn't give any info. How do these commands work and what's the difference? Thanks!
linux
osx
bash
null
null
04/14/2011 19:10:07
off topic
what's the difference between "env" and "set" (on os/x or linux)? === I get similar running "env" and "set". Set gives more results - is it a superset of env? The man page for set doesn't give any info. How do these commands work and what's the difference? Thanks!
2
288,608
11/13/2008 22:41:28
32,935
10/30/2008 23:04:55
18
0
ASP.Net MVC Output Caching: The directive or the configuration settings profile must specify the 'varyByParam' attribute.
I encountered the above error message after applying the OutputCache attribute on ActionResult methods with no input parameters - why would I use VaryByParams in this case? Is this a bug in ASP.Net MVC or is there a way of using OutputCache without setting this property? My big question is, if I have to use VaryByPa...
outputcache
asp.net-mvc
null
null
null
null
open
ASP.Net MVC Output Caching: The directive or the configuration settings profile must specify the 'varyByParam' attribute. === I encountered the above error message after applying the OutputCache attribute on ActionResult methods with no input parameters - why would I use VaryByParams in this case? Is this a bug in ASP...
0
4,143,383
11/10/2010 10:21:37
7,021
09/15/2008 13:01:34
3,517
94
WP7: Pass parameter to new page?
In a Windows Phone 7 Silverlight application I call a new page using NavigationService.Navigate(new Uri("/View/SecondPage.xaml", UriKind.Relative)); Now I want to pass parameters to the new page. I understand a simple parameter can be passed using: NavigationService.Navigate(new Uri("/View/Tilgungsrat...
windows-phone-7
parameter-passing
null
null
null
06/13/2012 16:28:42
not a real question
WP7: Pass parameter to new page? === In a Windows Phone 7 Silverlight application I call a new page using NavigationService.Navigate(new Uri("/View/SecondPage.xaml", UriKind.Relative)); Now I want to pass parameters to the new page. I understand a simple parameter can be passed using: NavigationServi...
1
10,977,337
06/11/2012 09:19:53
1,385,112
05/09/2012 16:11:05
119
2
How to convert 00:00:23 to 00:23 using PHP gmdate function
I have this code to show video duration in my app. $duration = 23; // seconds $duration = gmdate("H:i:s", $duration); The above code outputs 00:00:23 but hours field is not required since it is just 23 seconds, I would like it to show 00:23 seconds, and if the video length is more than hour for example, it shoul...
php
null
null
null
null
06/12/2012 08:03:53
not constructive
How to convert 00:00:23 to 00:23 using PHP gmdate function === I have this code to show video duration in my app. $duration = 23; // seconds $duration = gmdate("H:i:s", $duration); The above code outputs 00:00:23 but hours field is not required since it is just 23 seconds, I would like it to show 00:23 seconds,...
4
5,881,741
05/04/2011 10:08:44
670,082
03/21/2011 19:52:46
39
0
Best practices asp.net mvc: working with images
what are the best practices to process images in enterptices web applications. I mean - storing - assign with entity - fast loading/caching - delayed / ajax loading - suitable format (png, jpeg) - on fly editing (resizing, compress) - free libs/helpers - image watermarking/copyrigh...
asp.net-mvc
asp.net-mvc-3
null
null
null
05/06/2011 11:11:29
not a real question
Best practices asp.net mvc: working with images === what are the best practices to process images in enterptices web applications. I mean - storing - assign with entity - fast loading/caching - delayed / ajax loading - suitable format (png, jpeg) - on fly editing (resizing, compress) ...
1
9,631,305
03/09/2012 09:00:06
1,258,804
03/09/2012 07:56:15
1
0
validate user's email address of the correct format
<div> <input type="button" id="forgetPwd" value="Forget your password ?" name="forgetPwd" /> </div> <br/> <div id="form_pwd" style="display:none;"> <form method="POST" action="/working_time/ewt_users/newpassword" id="new_pwd"> ...
php
javascript
jquery
html
forms
03/09/2012 22:01:44
not a real question
validate user's email address of the correct format === <div> <input type="button" id="forgetPwd" value="Forget your password ?" name="forgetPwd" /> </div> <br/> <div id="form_pwd" style="display:none;"> <form method="POST" action="/working_t...
1
11,213,251
06/26/2012 17:59:06
313,100
04/09/2010 19:10:34
60
4
Trouble getting correct height of joint positions in Unity Xbox
I am using Xbox-Unity and am trying to make a Kinect game. I need to be able to know when a player's foot is in the air and when it comes back down on the ground. I thought that this would be as simple as tracking the Joint Positions but the foot's Y changes based on the proximity to the Kinect Camera (Taking the foot ...
unity3d
kinect
null
null
null
null
open
Trouble getting correct height of joint positions in Unity Xbox === I am using Xbox-Unity and am trying to make a Kinect game. I need to be able to know when a player's foot is in the air and when it comes back down on the ground. I thought that this would be as simple as tracking the Joint Positions but the foot's Y ...
0
6,579,003
07/05/2011 07:03:30
829,149
07/05/2011 07:03:01
1
0
How to turn URL's into RSS with PHP?
I want to create php page that receive URL's list and turn it into RSS feed. how can i extract from each url the title + description, there is some php
php
url
rss
feed
null
07/05/2011 12:05:31
not a real question
How to turn URL's into RSS with PHP? === I want to create php page that receive URL's list and turn it into RSS feed. how can i extract from each url the title + description, there is some php
1
8,451,361
12/09/2011 20:31:09
1,028,834
11/04/2011 00:29:55
406
40
Modular Application using MVVM, Prism, WPF and MEF - Examples / Tutorials
I am working on a modular application and have decided to restart and integrate Prism into what I'm trying to create instead of trying to re-create the wheel. Requirements: - Easily Updated with new Functionality (UI / Services) - WPF (Not Silverlight, esp now that MS has said no more updates :() - Shared Li...
c#
wpf
mvvm
prism
mef
12/09/2011 20:48:47
too localized
Modular Application using MVVM, Prism, WPF and MEF - Examples / Tutorials === I am working on a modular application and have decided to restart and integrate Prism into what I'm trying to create instead of trying to re-create the wheel. Requirements: - Easily Updated with new Functionality (UI / Services) - W...
3
1,837,678
12/03/2009 04:41:03
52,752
01/08/2009 03:11:25
874
12
Quick Thinker (QT) versus Thorough Thinker (TT)
How often do you hear people say things like: > That’s easy just do blah. > Can’t you just do blah? And how long do you think it took to come up a solution like that? And the answers are ***too often*** and ***not long at all***. Some people will argue that it’s a good thing because it saves time. However ...
career-development
null
null
null
null
02/03/2012 14:53:55
not constructive
Quick Thinker (QT) versus Thorough Thinker (TT) === How often do you hear people say things like: > That’s easy just do blah. > Can’t you just do blah? And how long do you think it took to come up a solution like that? And the answers are ***too often*** and ***not long at all***. Some people will argue t...
4
7,942,178
10/29/2011 22:49:38
1,020,217
10/29/2011 22:46:05
1
0
Basic Malloc/Free
If I have a snippit of my program like this: struct Node *node; while(...){ node = malloc(100); //do stuff with node } This means that every time I loop through the while loop I newly allocate 100 bytes that is pointed to by the node pointer right? If this is true, then how ...
c
homework
malloc
free
null
null
open
Basic Malloc/Free === If I have a snippit of my program like this: struct Node *node; while(...){ node = malloc(100); //do stuff with node } This means that every time I loop through the while loop I newly allocate 100 bytes that is pointed to by the node pointer right? If ...
0
3,835,672
10/01/2010 00:04:41
204,023
11/05/2009 19:33:08
456
31
Objective-C Coding Standards?
I've been teaching myself Objective-C for about 6 months and like using the language a lot. However I haven't found any good coding standards, so the code I write always ends up looking like an inconsistent mess. Things like naming conventions carry over just fine, but spacing, indentation and the (impossible?) 80 c...
objective-c
coding-style
null
null
null
07/10/2012 17:13:44
not constructive
Objective-C Coding Standards? === I've been teaching myself Objective-C for about 6 months and like using the language a lot. However I haven't found any good coding standards, so the code I write always ends up looking like an inconsistent mess. Things like naming conventions carry over just fine, but spacing, ind...
4
6,334,022
06/13/2011 17:37:15
94,541
04/22/2009 18:39:24
570
17
jqPlot reroutes to different site
I'm trying to reach `www.jqplot.com` ,but I get rerouted to this bogus url http://defender-jxcsx.vv.cc/9726a213fa4feeab/sa1/0/ Does anyone else have this problem? Not sure if it's the website or if my system has a bug. Tried on IE, Chrome and Firefox. Any help is appreciated. Thanks. [1]: http://ww...
jquery
security
browser
web-security
null
06/13/2011 19:06:24
off topic
jqPlot reroutes to different site === I'm trying to reach `www.jqplot.com` ,but I get rerouted to this bogus url http://defender-jxcsx.vv.cc/9726a213fa4feeab/sa1/0/ Does anyone else have this problem? Not sure if it's the website or if my system has a bug. Tried on IE, Chrome and Firefox. Any help is ap...
2
8,175,225
11/17/2011 22:21:14
128,807
06/25/2009 12:34:40
1,161
12
Why is my Android phone more stable than my Windows desktop?
My Android phone has never crashed as far as I know in the two years I have had it. My Windows desktop crashes at last once a month. Why is the Android phone more stable than the Windows desktop?
android
windows
stability
null
null
11/17/2011 22:27:40
not constructive
Why is my Android phone more stable than my Windows desktop? === My Android phone has never crashed as far as I know in the two years I have had it. My Windows desktop crashes at last once a month. Why is the Android phone more stable than the Windows desktop?
4
10,876,802
06/04/2012 05:48:39
1,208,852
02/14/2012 10:39:09
38
0
UIView Animation needed...Login the screen?
I want to be the animation when user click the login button to go the home page with animation. Any one Help me
iphone
ios
ios5
null
null
06/05/2012 06:36:39
not a real question
UIView Animation needed...Login the screen? === I want to be the animation when user click the login button to go the home page with animation. Any one Help me
1
11,607,020
07/23/2012 05:42:53
712,779
04/18/2011 04:27:49
46
6
Haskell, Scala, Clojure, what to choose for high performance pattern matching and concurrency
I have started work on FP recently after reading a lot of blogs and posts about advantages of FP for concurrent execution and performance. My need for FP has been largely influenced by the application that I am developing, My application is a state based data injector into another subsystem where timing is very crucial...
scala
haskell
clojure
programming-languages
ocaml
07/23/2012 08:01:35
not constructive
Haskell, Scala, Clojure, what to choose for high performance pattern matching and concurrency === I have started work on FP recently after reading a lot of blogs and posts about advantages of FP for concurrent execution and performance. My need for FP has been largely influenced by the application that I am developing...
4
6,154,310
05/27/2011 15:20:23
506,344
11/12/2010 22:47:19
43
4
Why should you use ACL in CakePHP instead of authentication with a user level feature?
Having difficulty seeing the advantage of going through all the trouble with ACL when I could do it myself.
cakephp
acl
null
null
null
null
open
Why should you use ACL in CakePHP instead of authentication with a user level feature? === Having difficulty seeing the advantage of going through all the trouble with ACL when I could do it myself.
0
8,650,648
12/28/2011 00:23:13
230,468
12/12/2009 23:07:51
28
0
Why a c++ string tokenizer isn't working
I tried to write a simple std::string tokenizer in c++, and I can't get it to work quite right. I found one online which *does* work, and I understand why it works.... but I still can't figure out why my original one *isn't* working. I'm assuming its some stupid little thing that I'm missing.... I'd appreciate a poin...
c++
string
tokenize
null
null
null
open
Why a c++ string tokenizer isn't working === I tried to write a simple std::string tokenizer in c++, and I can't get it to work quite right. I found one online which *does* work, and I understand why it works.... but I still can't figure out why my original one *isn't* working. I'm assuming its some stupid little th...
0
11,112,523
06/20/2012 03:43:15
691,366
04/04/2011 15:24:45
45
3
How do you find the requested URL with Google App Engine's Python Mail service?
My Google App Engine app wants to store various incoming emails including who the email was addressed to. I am trying to figure out how to look at the URL the email was posted to so I can find the intended recipient. app.yaml has: inbound_services: - mail handlers: - url: /_ah/mail/.+ ...
python
google-app-engine
wsgi
null
null
null
open
How do you find the requested URL with Google App Engine's Python Mail service? === My Google App Engine app wants to store various incoming emails including who the email was addressed to. I am trying to figure out how to look at the URL the email was posted to so I can find the intended recipient. app.yaml has: ...
0
11,711,423
07/29/2012 17:36:19
1,436,131
06/04/2012 21:58:51
21
4
Check to See if A Particular Active Record Object Is In A Particular 'Scope'
Currently on save I am trying to check to see if a recorded falls into a particular 'scope'. This 'scope' really is just some saved arguments for a .where call. Also with this 'scope' I am only ever checking values of the object, not ever how it relates to other objects in the database, so querying the database will al...
ruby-on-rails
activerecord
null
null
null
null
open
Check to See if A Particular Active Record Object Is In A Particular 'Scope' === Currently on save I am trying to check to see if a recorded falls into a particular 'scope'. This 'scope' really is just some saved arguments for a .where call. Also with this 'scope' I am only ever checking values of the object, not ever...
0
3,959,145
10/18/2010 12:32:32
476,024
10/14/2010 16:35:57
36
0
compatibility problem with xna
i have a game in development in xna 4.0 + Windows 7 . On the Windows 7 OS the game runs with no problem but when i move the project on Win XP with .net 4.0 installed the game doesn't work. what can be the problem? Regards, Alex Badescu
c#
windows-7
xna
null
null
null
open
compatibility problem with xna === i have a game in development in xna 4.0 + Windows 7 . On the Windows 7 OS the game runs with no problem but when i move the project on Win XP with .net 4.0 installed the game doesn't work. what can be the problem? Regards, Alex Badescu
0
346,722
12/06/2008 20:24:04
26,671
10/09/2008 23:27:11
322
20
Do real programmers network and share?
In a previous [question about homework on stackoverflow][1] I made the following statement: > I think it's extremely important for students to learn that real-world programmers work together, learn from each other, support each other, and share their knowledge and insights. It's this type of networking that inspires...
sharing
teamwork
inspiration
satisfaction
somewhat-subjective
10/27/2011 04:44:51
not constructive
Do real programmers network and share? === In a previous [question about homework on stackoverflow][1] I made the following statement: > I think it's extremely important for students to learn that real-world programmers work together, learn from each other, support each other, and share their knowledge and insights...
4
1,579,466
10/16/2009 17:53:19
165,355
08/29/2009 13:20:14
365
21
Any suggestions for a free software design tools?
Until now I didn't use any design tools for my small personal home projects. In my workplace I'm using Enterprise Architect which is great but I wont use it for my personal projects because it's expensive and has far more capabilities than I really need. Can you suggest some lightweight and free tool that I can use ...
design
software-tools
null
null
null
02/21/2012 13:06:03
not constructive
Any suggestions for a free software design tools? === Until now I didn't use any design tools for my small personal home projects. In my workplace I'm using Enterprise Architect which is great but I wont use it for my personal projects because it's expensive and has far more capabilities than I really need. Can you...
4
3,162,565
07/02/2010 00:36:13
366,797
01/23/2010 04:19:59
196
26
Why is the internet so unsecure?
The internet is so unsecure and unregulated that I frequently tell customers who use my app to never connect their production system to it!.. as a matter of fact, I tell them to acquire a standalone system exclusively dedicated to surfing the web and to never store any confidential info on it. Anything can be broken in...
security
internet
application
null
null
07/02/2010 00:41:32
not a real question
Why is the internet so unsecure? === The internet is so unsecure and unregulated that I frequently tell customers who use my app to never connect their production system to it!.. as a matter of fact, I tell them to acquire a standalone system exclusively dedicated to surfing the web and to never store any confidential...
1
173,732
10/06/2008 09:55:53
7,211
09/15/2008 13:21:29
583
58
To Which Open Source Projects Do You Contribute?
Are you regularly contributing to any open source projects? Which ones? How many contributions have you made? What attracted you to them?
subjective
open-source
project
null
null
08/09/2011 13:08:48
off topic
To Which Open Source Projects Do You Contribute? === Are you regularly contributing to any open source projects? Which ones? How many contributions have you made? What attracted you to them?
2
8,200,112
11/20/2011 07:36:35
560,161
01/02/2011 05:33:07
497
38
sfr400 scan results in mysql
Has anyone worked with the Suprema SFR-400 scanner? If so, please state if this is possible: The UFDatabase module, by default is for storing the scan result in an Access database. I tried changing the connection details to a MySQL database and the Access OLE field for the template is defined as a BLOB in MySQL. ...
mysql
sdk
blob
ole
fingerprinting
null
open
sfr400 scan results in mysql === Has anyone worked with the Suprema SFR-400 scanner? If so, please state if this is possible: The UFDatabase module, by default is for storing the scan result in an Access database. I tried changing the connection details to a MySQL database and the Access OLE field for the templa...
0
4,260,175
11/23/2010 19:47:14
517,945
11/23/2010 19:37:07
1
0
Display web content in iPhone app's web view with different stylesheet than in Mobile Safari
What is the best way to display the same web page differently between Mobile Safari and a WebView inside an iPhone app? (It seems both would have the same user agent so how else can I detect the difference?)
iphone
webview
stylesheet
null
null
null
open
Display web content in iPhone app's web view with different stylesheet than in Mobile Safari === What is the best way to display the same web page differently between Mobile Safari and a WebView inside an iPhone app? (It seems both would have the same user agent so how else can I detect the difference?)
0
1,889,881
12/11/2009 18:10:57
2,197
08/20/2008 20:58:04
5,177
156
Using Processing on a server to create images behind the scenes
The way I see most people use <a href="http://processing.org">Processing</a> is for drawing an image directly onto a screen or webpage on the client side. How would one use Processing to create an image without a visual canvas, then save this image to a file? **Here are the specific steps I'm interested in:** ...
processing
html
null
null
null
null
open
Using Processing on a server to create images behind the scenes === The way I see most people use <a href="http://processing.org">Processing</a> is for drawing an image directly onto a screen or webpage on the client side. How would one use Processing to create an image without a visual canvas, then save this image...
0
5,932,650
05/09/2011 04:51:36
744,532
05/09/2011 04:51:36
1
0
Java does not know when file does NOT exist
sorry I'm stuck on something stupid... Java knows when a file exists as it prints out "File found" but when the file does not exists it does NOT print "File not found" File file = new File(filePath, "Test_1.exe"); if (file.exists()){ System.out.println("File found"); }else{ System.out.println("F...
java
file
exists
null
null
05/10/2011 01:05:03
not a real question
Java does not know when file does NOT exist === sorry I'm stuck on something stupid... Java knows when a file exists as it prints out "File found" but when the file does not exists it does NOT print "File not found" File file = new File(filePath, "Test_1.exe"); if (file.exists()){ System.out.println("...
1
3,626,701
09/02/2010 11:38:02
122,444
06/13/2009 12:09:42
41
2
ruby gems under rvm on Ubuntu (failing to) install in the wrong location
I'm running Ubuntu 10.04 and originally installed ruby 1.9.1 (from source). I've just decided to try out ruby 1.9.2 and rails 3, and it seemed like a good time to use rvm to deal with the multiple ruby installs and gemsets. rvm installed and seems to be working, I installed ruby 1.9.2 in rvm and made that my defau...
ruby
rubygems
rvm
null
null
null
open
ruby gems under rvm on Ubuntu (failing to) install in the wrong location === I'm running Ubuntu 10.04 and originally installed ruby 1.9.1 (from source). I've just decided to try out ruby 1.9.2 and rails 3, and it seemed like a good time to use rvm to deal with the multiple ruby installs and gemsets. rvm installed ...
0
4,000,279
10/22/2010 19:28:56
45,849
12/12/2008 21:14:18
1,604
86
How do I restart phusion passenger?
rails@george:/srv/fsg_distro$ sudo passenger-status *** Phusion Passenger: no passenger_native_support.so found for the current Ruby interpreter. Compiling one... # mkdir -p /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/ext/ruby/ruby-1.8.7-x86_64-linux # cd /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/e...
ruby-on-rails
phusion-passenger
mod-rails
null
null
null
open
How do I restart phusion passenger? === rails@george:/srv/fsg_distro$ sudo passenger-status *** Phusion Passenger: no passenger_native_support.so found for the current Ruby interpreter. Compiling one... # mkdir -p /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/ext/ruby/ruby-1.8.7-x86_64-linux # cd /usr...
0
6,236,178
06/04/2011 10:26:42
38,581
11/18/2008 13:52:31
52
0
Candidate Excel Functions for GPU acceleration
I'm currently looking into writing an OpenCL Excel plugin. This would expose a set of functions that offer calculations to be performed on the GPU from Excel. As a proof of concept I've written an Array-sum kernel and exposed this successfully. It works well, having no noticeable latency introduced (the entire array...
python
excel
opencl
gpu-programming
null
06/05/2011 15:50:09
not constructive
Candidate Excel Functions for GPU acceleration === I'm currently looking into writing an OpenCL Excel plugin. This would expose a set of functions that offer calculations to be performed on the GPU from Excel. As a proof of concept I've written an Array-sum kernel and exposed this successfully. It works well, havin...
4
8,550,182
12/18/2011 06:18:40
724,764
04/26/2011 04:46:52
684
84
How does it snow on Google, by typing Let it snow
I know Google is actually promoting CSS3 and HTML5. I have seen that " > do a barrell roll " will rotate the page. but I am not sure how it snows when you type > Let it snow is this a CSS3 trick?
javascript
jquery
html5
google
css3
12/18/2011 19:15:52
not constructive
How does it snow on Google, by typing Let it snow === I know Google is actually promoting CSS3 and HTML5. I have seen that " > do a barrell roll " will rotate the page. but I am not sure how it snows when you type > Let it snow is this a CSS3 trick?
4
10,083,960
04/10/2012 06:13:26
714,693
04/19/2011 07:02:18
38
1
Looking for an open source,data file driven, fuzzy rules engine in C or C++
I'm looking for a fuzzy rules engine written in c or C++ that can take a file for truth tables Most I've seen so far compiles the tables and executes logic across them. I'd like to import and export the tables and weights on the fly.. I'm open to suggestions, JAVA and Python are not options.. cheers
c++
c
engine
rules
fuzzy
04/10/2012 06:17:39
not constructive
Looking for an open source,data file driven, fuzzy rules engine in C or C++ === I'm looking for a fuzzy rules engine written in c or C++ that can take a file for truth tables Most I've seen so far compiles the tables and executes logic across them. I'd like to import and export the tables and weights on the fly.. ...
4
10,058,456
04/07/2012 21:15:11
939,986
09/12/2011 06:30:56
-5
0
trying to create a simple text to ascii converter
I have a HTML form: <html> <body> <form> <textarea></textarea> <input type="button" value="Submit" onclick="????"></input> </form> <script type="text/javascript"> var code, chr = 'here'; code = chr.charCodeAt(0); document.write("The ASCII code of " + chr +" is "+code)...
javascript
forms
events
button
null
null
open
trying to create a simple text to ascii converter === I have a HTML form: <html> <body> <form> <textarea></textarea> <input type="button" value="Submit" onclick="????"></input> </form> <script type="text/javascript"> var code, chr = 'here'; code = chr.charCodeAt(0); ...
0
8,102,402
11/12/2011 03:45:01
1,042,773
11/12/2011 03:37:58
1
0
How long it takes you to slice and code a PSD file?
The reason why I'am asking is because I have recently started freelancing and PSD to html5/css3 conversion takes me alot of time. (about 8-9 hours for an average layout). Is it any way to speed up the process ? I already have created a base.css file that has most of the common css lines like reset and basic formatting....
css
html5
css3
slice
null
11/12/2011 04:03:34
off topic
How long it takes you to slice and code a PSD file? === The reason why I'am asking is because I have recently started freelancing and PSD to html5/css3 conversion takes me alot of time. (about 8-9 hours for an average layout). Is it any way to speed up the process ? I already have created a base.css file that has most...
2
9,060,419
01/30/2012 07:01:19
1,174,786
01/28/2012 04:30:01
1
0
How can I use Image Rotation jQuery in my iPhone app?
I am iPhone fresher...I want to make my images rotate on the same screen...I have the code of jQuery..But I actually don't know where should I put my code?how can I use HTML in iPhone...Help me
jquery
iphone
html
image
rotation
01/31/2012 11:13:51
too localized
How can I use Image Rotation jQuery in my iPhone app? === I am iPhone fresher...I want to make my images rotate on the same screen...I have the code of jQuery..But I actually don't know where should I put my code?how can I use HTML in iPhone...Help me
3
2,882,983
05/21/2010 14:34:00
233,076
12/16/2009 15:51:16
135
10
Does this feature exist? Defining my own curly brackets in C#
You'll appreciate the following two syntactic sugars: lock(obj) { //Code } same as: Monitor.Enter(obj) try { //Code } finally { Monitor.Exit(obj) } and using(var adapt = new adapter()){ //Code2 } same as: ...
c#
.net
syntactic-sugar
readability
null
null
open
Does this feature exist? Defining my own curly brackets in C# === You'll appreciate the following two syntactic sugars: lock(obj) { //Code } same as: Monitor.Enter(obj) try { //Code } finally { Monitor.Exit(obj) } and using(var adapt...
0
10,572,820
05/13/2012 15:09:59
509,934
11/16/2010 18:59:02
63
6
How do I set the zIndex on a dijit.TooltipDialog?
I've created a dijit.TooltipDialog and everything works as it should. However, if another dialog is produced from within the tooltip dialog it shows up behind the tooltip dialog instead of on top of it. I checked the zIndex on the 2 dialogs and the tooltip dialog is 1000 and the other dialog is 950. I've tried setti...
dojo
xpages
null
null
null
null
open
How do I set the zIndex on a dijit.TooltipDialog? === I've created a dijit.TooltipDialog and everything works as it should. However, if another dialog is produced from within the tooltip dialog it shows up behind the tooltip dialog instead of on top of it. I checked the zIndex on the 2 dialogs and the tooltip dialog i...
0
1,986,966
12/31/2009 20:22:16
14,069
09/16/2008 21:52:24
4,134
156
Is this a safe use of std::string?
I'm doing some maintenance work and ran across something like the following: std::string s; s.resize( strLength ); // strLength is a size_t with the length of a C string in it. memcpy( &s[0], str, strLength ); I know using &s[0] would be safe if it was a std::vector<char>, but is this...
c++
stdstring
memcpy
null
null
null
open
Is this a safe use of std::string? === I'm doing some maintenance work and ran across something like the following: std::string s; s.resize( strLength ); // strLength is a size_t with the length of a C string in it. memcpy( &s[0], str, strLength ); I know using &s[0] would be safe if...
0
8,349,018
12/01/2011 22:10:33
1,068,377
11/27/2011 21:56:29
1
0
Shaders in OpenGL ES for Android
I started to learn OpenGL ES for Android and i have some problems. I see different tutorials on the internet and i'm confused.There are some tutorials with shaders and without shaders but they are about same subject.What is a shader actually and are we have to use it? Which OpenGl version is suitable for creating...
android
opengl-es
shader
null
null
12/01/2011 22:37:38
not a real question
Shaders in OpenGL ES for Android === I started to learn OpenGL ES for Android and i have some problems. I see different tutorials on the internet and i'm confused.There are some tutorials with shaders and without shaders but they are about same subject.What is a shader actually and are we have to use it? Which O...
1
4,820,507
01/27/2011 18:50:31
155,902
08/13/2009 15:44:09
76
2
Java: can you cast Class into a specific interface?
I've got a project I am working on and in this project I would like to include the ability for developers to include their own plugins without having to change the whole code. This is what I have developed for it so far. this is the interface that the plugins are using. <pre><code> package com.pennion.pennpad; ...
java
class
null
null
null
null
open
Java: can you cast Class into a specific interface? === I've got a project I am working on and in this project I would like to include the ability for developers to include their own plugins without having to change the whole code. This is what I have developed for it so far. this is the interface that the plugins...
0
11,320,332
07/03/2012 22:55:39
875,298
08/02/2011 19:03:14
16
0
Android SDK 4.1 problems and slow SDK Manager downloads
I went to update the Eclipse installation with Android SDK 4.1 and have had nothing but problems. First it did not recognize the path to JDK1.7.0 without setting Environment Variable JAVA_HOME. Also the SDK location was not found so I decided to start from scratch and download the installation application. Now I am...
android
sdk
download
slow-load
null
07/03/2012 23:56:12
not a real question
Android SDK 4.1 problems and slow SDK Manager downloads === I went to update the Eclipse installation with Android SDK 4.1 and have had nothing but problems. First it did not recognize the path to JDK1.7.0 without setting Environment Variable JAVA_HOME. Also the SDK location was not found so I decided to start from s...
1
7,839,002
10/20/2011 16:16:36
812,537
06/23/2011 15:36:25
6
0
NCQRS vs. JOliver EventStore
Has anybody evaluated both NCQRS and JOliver's EventStore? Are there significant advantages to one or the other or do they target different audiences? What I've seen: NCQRS has built in support for NServiceBus. Not sure of the supported NSB version, but the licensing changes with NSB have made this an issue for...
cqrs
event-store
ncqrs
null
null
10/20/2011 17:56:38
not constructive
NCQRS vs. JOliver EventStore === Has anybody evaluated both NCQRS and JOliver's EventStore? Are there significant advantages to one or the other or do they target different audiences? What I've seen: NCQRS has built in support for NServiceBus. Not sure of the supported NSB version, but the licensing changes wi...
4
6,396,609
06/18/2011 14:16:17
732,284
04/30/2011 10:10:36
3,784
172
Small footprint embedded Java SQL database
I'm looking for an embedded SQL database for Java, with a small footprint. Something like SQLite, but it should be pure Java. So far I've seen HSQLDB and H2, but they're not what could be called small footprint. Ideally, the database I'm looking for would be embeddable in a J2ME application. Is there something like ...
java
sql
database
embedded
null
null
open
Small footprint embedded Java SQL database === I'm looking for an embedded SQL database for Java, with a small footprint. Something like SQLite, but it should be pure Java. So far I've seen HSQLDB and H2, but they're not what could be called small footprint. Ideally, the database I'm looking for would be embeddable in...
0
7,747,688
10/12/2011 23:17:14
992,418
10/12/2011 23:02:34
1
0
Python: Average Rainfall
Write a program that uses nested loops to collect data and calculate the average rainfall over a period of years entered by the user. The outer loop will iterate once each year and the inner loop 12 times for each month. Must display number of months, total inches of rain, and average rainfall over the time period per ...
python
error-message
input-validation
null
null
10/13/2011 07:26:24
too localized
Python: Average Rainfall === Write a program that uses nested loops to collect data and calculate the average rainfall over a period of years entered by the user. The outer loop will iterate once each year and the inner loop 12 times for each month. Must display number of months, total inches of rain, and average rain...
3
5,755,520
04/22/2011 12:44:43
641,151
03/02/2011 12:15:31
217
0
About the hardware implementation of register and memory
This is my wild guess about that: As we know,computer is a binary world,which means,each pin has two status:`0` and `1`. So for a 16-bit register,it needs 16 pins. For 1GB memory,it needs 1024*1024*1024 pins. ... Is that the case in real world computer architecture?
architecture
computer-science
null
null
null
04/23/2011 22:09:27
off topic
About the hardware implementation of register and memory === This is my wild guess about that: As we know,computer is a binary world,which means,each pin has two status:`0` and `1`. So for a 16-bit register,it needs 16 pins. For 1GB memory,it needs 1024*1024*1024 pins. ... Is that the case in real wor...
2
11,314,485
07/03/2012 15:41:12
1,499,251
07/03/2012 15:25:01
1
0
Batch program to copy plain text from website and create a .txt file
I am looking for help on how to copy text from an rss twitter feed to a text file. From here i will then try to parse the extra content and create a text file that can be placed on a shared server for a digital signage system the site that i will try to pull text off of is : "http://search.twitter.com/search.atom...
batch-file
null
null
null
null
07/05/2012 16:01:11
off topic
Batch program to copy plain text from website and create a .txt file === I am looking for help on how to copy text from an rss twitter feed to a text file. From here i will then try to parse the extra content and create a text file that can be placed on a shared server for a digital signage system the site that ...
2
9,211,871
02/09/2012 13:38:36
1,199,722
02/09/2012 13:09:53
1
0
Matlab efficient code generation
I am generating C code from Matlab coder. I have a function as follows function C = foo( A, B ) %#codegen for j=1:100, C = C+A(j); end end the code for this function in c generated is void foo(float A[100],B,float* C){ for(j=0;j<100;j++){ *C+=A[j]...
matlab
null
null
null
null
null
open
Matlab efficient code generation === I am generating C code from Matlab coder. I have a function as follows function C = foo( A, B ) %#codegen for j=1:100, C = C+A(j); end end the code for this function in c generated is void foo(float A[100],B,float* C){ ...
0
11,639,032
07/24/2012 20:45:26
18,138
09/18/2008 19:15:13
601
16
clojure style guidance
I have a map that I want to 'expand' into an infinite sequence in the following manner: {0 'zero 3 'three 10 'ten} => ('zero 'zero 'zero 'three 'three 'three 'three 'three 'three 'three 'ten 'ten 'ten ...) the indexes of the map indicating the index of the sequence where the value should change T...
clojure
null
null
null
null
07/24/2012 21:00:26
off topic
clojure style guidance === I have a map that I want to 'expand' into an infinite sequence in the following manner: {0 'zero 3 'three 10 'ten} => ('zero 'zero 'zero 'three 'three 'three 'three 'three 'three 'three 'ten 'ten 'ten ...) the indexes of the map indicating the index of the sequence where ...
2
1,766,380
11/19/2009 20:43:59
111,094
05/22/2009 13:41:55
1
0
Determining the path that a yum package installed to
I've installed ffmpeg using yum under Redhat, and I'm having difficulty figuring out where (what path) it installed the package to. Is there an easy way of determining this without resorting to finding it myself manually?
yum
redhat
linux
rpm
null
10/27/2011 13:40:06
off topic
Determining the path that a yum package installed to === I've installed ffmpeg using yum under Redhat, and I'm having difficulty figuring out where (what path) it installed the package to. Is there an easy way of determining this without resorting to finding it myself manually?
2
9,978,218
04/02/2012 14:25:47
281,504
02/25/2010 19:00:15
1,885
157
Why is style.left not returning a value in Javascript?
I'm trying to check the left co-ordinate of a div but it's not returning any value. When I try to check the left value in alert() it shows a blank. Can you help?? Browser is Firefox 8.0
javascript
null
null
null
null
04/02/2012 19:40:03
not a real question
Why is style.left not returning a value in Javascript? === I'm trying to check the left co-ordinate of a div but it's not returning any value. When I try to check the left value in alert() it shows a blank. Can you help?? Browser is Firefox 8.0
1
7,816,807
10/19/2011 05:11:39
1,002,448
10/19/2011 05:08:24
1
0
In-App payment in android
I am developing an application that has some digital contents like image,audio etc is there. I need to implement the In-App payment in the application so that users can purchase the content and enjoy it. How do i implement it ?
android
in-app-purchase
null
null
null
10/20/2011 14:10:16
off topic
In-App payment in android === I am developing an application that has some digital contents like image,audio etc is there. I need to implement the In-App payment in the application so that users can purchase the content and enjoy it. How do i implement it ?
2
2,421,261
03/10/2010 22:49:36
164,299
08/27/2009 15:30:18
1,479
38
How to merge two csv files in php ?
I have two csv file. First File has date offerid clicks orders Second File has date offerid shown How can I merge this two csv file programmatically in php ?
php
csv
merge
null
null
null
open
How to merge two csv files in php ? === I have two csv file. First File has date offerid clicks orders Second File has date offerid shown How can I merge this two csv file programmatically in php ?
0
8,459,276
12/10/2011 19:33:53
1,091,583
12/10/2011 19:30:04
1
0
What's The Best Way to Simulate Water Gravitating to One Spot (2d/3d) iPhone
What's The Best Way to Simulate Water Gravitating to One Spot (2d/3d) in the center, the objective being to push the water further away from the center.
iphone
physics
gravity
null
null
12/10/2011 22:28:47
not a real question
What's The Best Way to Simulate Water Gravitating to One Spot (2d/3d) iPhone === What's The Best Way to Simulate Water Gravitating to One Spot (2d/3d) in the center, the objective being to push the water further away from the center.
1
6,888,319
07/31/2011 08:20:01
606,625
02/07/2011 14:59:15
82
1
How do I correctly dispose of an object? Why does Code Analysis keep changing its mind?
I joined a project yesterday, we decided to merge our two projects into one, and incorporate the features of both (they basically absorbed us). The problem is, they have a memory leak somewhere, and they tasked me with finding and killing it. I ran a Code Analysis in Visual Studio and came up with a long list of ...
c#
dispose
null
null
null
null
open
How do I correctly dispose of an object? Why does Code Analysis keep changing its mind? === I joined a project yesterday, we decided to merge our two projects into one, and incorporate the features of both (they basically absorbed us). The problem is, they have a memory leak somewhere, and they tasked me with findi...
0
11,422,408
07/10/2012 21:37:26
1,500,828
07/04/2012 07:30:33
53
0
I would like to read a config file and save the information in an object - this solution alright?
at first I would like to try to explain my plan: Sometimes I just have to change some static values in my code (lets say, the path to a folder with data my program needs or the url to upload something) and after that I have to compile again. If lets say the url is changed where I want to upload the files and the url is...
c#
.net
oop
configuration
null
null
open
I would like to read a config file and save the information in an object - this solution alright? === at first I would like to try to explain my plan: Sometimes I just have to change some static values in my code (lets say, the path to a folder with data my program needs or the url to upload something) and after that ...
0
8,882,882
01/16/2012 16:17:50
826,815
07/03/2011 11:18:08
52
0
xslt1.0 (firefox): grouping and listing different nodes without redundancy
Each new problem that I think I will be able to solve, it turns out that I can't. So, with the following XML I would like to know how many different nodes are there based on the @num attribute. Easy to understand looking at the wished output. Initial XML code <data> <prot seq="AAA"> <no...
foreach
grouping
xslt-1.0
muenchian-grouping
null
null
open
xslt1.0 (firefox): grouping and listing different nodes without redundancy === Each new problem that I think I will be able to solve, it turns out that I can't. So, with the following XML I would like to know how many different nodes are there based on the @num attribute. Easy to understand looking at the wished outp...
0
10,542,638
05/10/2012 21:47:53
1,368,559
05/01/2012 20:19:04
13
0
How can I include a 3rd party package when I build in Python?
I'm writing a program that relies on the user having third party packages already installed. Is there any way to include those packages in my installer, or will they have to install them separately? I'm using distutils in 2.7 if it matters.
python
python-2.7
null
null
null
null
open
How can I include a 3rd party package when I build in Python? === I'm writing a program that relies on the user having third party packages already installed. Is there any way to include those packages in my installer, or will they have to install them separately? I'm using distutils in 2.7 if it matters.
0
5,133,133
02/27/2011 12:10:30
561,712
01/03/2011 20:19:03
1
0
PHP preg_replace() with exclusions
I'm trying to replace such string: "**Karcher HDS-C 7/11, 9/15, 8/15-E**" with "***HDS-C 7/11, 9/15, 8/15-E***". I use this pattern "**/[^A-Z0-9\s\.\,\-\/\(\)]/**" for preg_replace. And instead of getting "***HDS-C 7/11, 9/15, 8/15-E***", I'm getting "**K HDS-C 7/11, 9/15, 8/15-E**" with leading **K**. So my rul...
php
preg-replace
exclusion
null
null
null
open
PHP preg_replace() with exclusions === I'm trying to replace such string: "**Karcher HDS-C 7/11, 9/15, 8/15-E**" with "***HDS-C 7/11, 9/15, 8/15-E***". I use this pattern "**/[^A-Z0-9\s\.\,\-\/\(\)]/**" for preg_replace. And instead of getting "***HDS-C 7/11, 9/15, 8/15-E***", I'm getting "**K HDS-C 7/11, 9/15, 8/...
0
932,097
05/31/2009 14:08:42
69,535
02/22/2009 09:37:47
1
0
Warcraft III + wine + automatic battle.net logon
I want to logon on my battle.net account after starting Warcraft3 game. I'm using wine, so I believe it is possible to send keystrokes to wine/game (b,[pause],[password],enter,h,[channel name],enter). I'd like to enter particular channel too.
wine
linux
bash
null
null
05/31/2009 14:16:44
off topic
Warcraft III + wine + automatic battle.net logon === I want to logon on my battle.net account after starting Warcraft3 game. I'm using wine, so I believe it is possible to send keystrokes to wine/game (b,[pause],[password],enter,h,[channel name],enter). I'd like to enter particular channel too.
2
8,281,038
11/26/2011 19:37:23
859,082
07/23/2011 07:42:52
54
0
Why is my website taking such a long time to load?
How do I make my website load faster because as of right now it takse 10-15 seconds. Dotacommentaries.com
website
size
null
null
null
11/26/2011 19:59:55
too localized
Why is my website taking such a long time to load? === How do I make my website load faster because as of right now it takse 10-15 seconds. Dotacommentaries.com
3
2,076,370
01/16/2010 06:03:53
160,314
08/20/2009 19:43:30
803
23
Most underused data visualization
Histograms and scatterplots are great methods of visualizing data and the relationship between variables, but recently I have been wondering about what visualization techniques I am missing. What do you think is the most underused type of plot? Answers should: 1. Not be very commonly used in practice. 2. ...
r
plot
ggplot2
visualization
graphics
12/21/2011 14:20:29
not constructive
Most underused data visualization === Histograms and scatterplots are great methods of visualizing data and the relationship between variables, but recently I have been wondering about what visualization techniques I am missing. What do you think is the most underused type of plot? Answers should: 1. Not be ver...
4
2,743,892
04/30/2010 10:41:55
379,050
02/11/2010 18:43:40
106
0
Strange errors in Visual C++ :: 'malloc' : function does not take 1 arguments
Error 38 error C2660: 'malloc' : function does not take 1 arguments C:\VolumeRenderer\render.cpp 296 1 VolumeRenderer Error 39 error C2660: 'malloc' : function does not take 1 arguments C:\VolumeRenderer\render.cpp 412 1 VolumeRenderer Error 40 error C2660: 'malloc' : function does not take 1 arguments C:...
c
c++
visual-c++
null
null
null
open
Strange errors in Visual C++ :: 'malloc' : function does not take 1 arguments === Error 38 error C2660: 'malloc' : function does not take 1 arguments C:\VolumeRenderer\render.cpp 296 1 VolumeRenderer Error 39 error C2660: 'malloc' : function does not take 1 arguments C:\VolumeRenderer\render.cpp 412 1 VolumeR...
0