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,088,087
07/06/2009 17:03:15
60,558
01/30/2009 10:26:57
86
8
Collecting/Processing headers in PHP Soap Server
I'm creating a web service using PHP5's native SOAP Methods. Everything went fine until I tried to handle authentication using SOAP Headers. I could easily find how to add the username/password to the SOAP headers, **client-side**: $myclient = new SoapClient($wsdl, $options); $login = new SOAPHeader($w...
php
soap
web-services
null
null
null
open
Collecting/Processing headers in PHP Soap Server === I'm creating a web service using PHP5's native SOAP Methods. Everything went fine until I tried to handle authentication using SOAP Headers. I could easily find how to add the username/password to the SOAP headers, **client-side**: $myclient = new SoapClie...
0
3,211,828
07/09/2010 10:40:12
387,637
07/09/2010 10:40:11
1
0
repeator control in asp.net
can you explain about repeator control in asp.net and if its possble then give me one small example ..................plzz
asp.net
null
null
null
null
07/09/2010 10:51:28
not a real question
repeator control in asp.net === can you explain about repeator control in asp.net and if its possble then give me one small example ..................plzz
1
973,598
06/10/2009 03:47:35
116,176
06/02/2009 18:57:58
53
4
What do the Visual Studio margin colors mean?
I noticed that Visual Studio colors a few pixel wide area in the margin, to the right of the area where you place breakpoints. What do these colors mean?
visual-studio
null
null
null
null
null
open
What do the Visual Studio margin colors mean? === I noticed that Visual Studio colors a few pixel wide area in the margin, to the right of the area where you place breakpoints. What do these colors mean?
0
7,770,318
10/14/2011 15:59:05
995,724
02/28/2011 23:10:35
1
0
How to prevent browser from displaying php code?
The browser shows php source code if I go to http://mysite.com/script.php. There must be a way to prevent it!
php
security
browser
null
null
10/14/2011 16:28:45
not constructive
How to prevent browser from displaying php code? === The browser shows php source code if I go to http://mysite.com/script.php. There must be a way to prevent it!
4
3,662,961
09/07/2010 21:37:19
32,484
10/29/2008 17:48:46
5,236
119
A question on the backward/forward compatibility of csc.exe
Is the .NET command line compiler (csc.exe) in VS2010 a full, .NET 4.0 compiler? Furthermore (And this may sound stupid), if I write code in .NET 4.0 but it only makes use of .NET 2.0 features and nothing beyond that, would it compile with a .NET 2.0 compiler? Thanksa
.net
null
null
null
null
null
open
A question on the backward/forward compatibility of csc.exe === Is the .NET command line compiler (csc.exe) in VS2010 a full, .NET 4.0 compiler? Furthermore (And this may sound stupid), if I write code in .NET 4.0 but it only makes use of .NET 2.0 features and nothing beyond that, would it compile with a .NET 2.0 comp...
0
8,407,523
12/06/2011 22:04:20
654,666
03/11/2011 03:11:46
539
31
Django models and views misconception
I have a model that contains the models.Models subclass which looks as below : from django.db import models from django.contrib.auth.models import User class BlogPost(models.Model): title = models.CharField(max_length=50) post = models.TextField() posted_by = models.ForeignKey(User) ...
django
django-models
django-templates
django-views
null
12/08/2011 01:08:24
too localized
Django models and views misconception === I have a model that contains the models.Models subclass which looks as below : from django.db import models from django.contrib.auth.models import User class BlogPost(models.Model): title = models.CharField(max_length=50) post = models.TextField() ...
3
7,369,207
09/10/2011 02:24:26
863,951
07/26/2011 17:15:12
11
0
How to fix "Error parsing data org.json.JSONException: Value <?xml of type java.lang.String cannot be converted to JSONArray" in my program
I am very new to android and I'm trying to make a program that shows you results from a database that I have. So when I type in a first name and the database sends the information of that person to me. However, when I look at the LogCat it says "09-09 22:05:39.544: ERROR/log_tag(8813): Error parsing data org.json.JS...
android
mysql
database
database-connection
null
null
open
How to fix "Error parsing data org.json.JSONException: Value <?xml of type java.lang.String cannot be converted to JSONArray" in my program === I am very new to android and I'm trying to make a program that shows you results from a database that I have. So when I type in a first name and the database sends the informa...
0
6,560,331
07/03/2011 00:20:12
504,325
11/11/2010 09:55:34
414
30
C# paradoxical and controversial constructs
The purpose of this post is to collect all neat and tricky c# constructs and issues that don't occur on everyday basis. So here goes: **Issue 1** (this one I've discovered by my own) What will be printed on screen? class Program { private static String Function(out String str) { ...
c#
.net
null
null
null
07/03/2011 00:38:29
not constructive
C# paradoxical and controversial constructs === The purpose of this post is to collect all neat and tricky c# constructs and issues that don't occur on everyday basis. So here goes: **Issue 1** (this one I've discovered by my own) What will be printed on screen? class Program { private st...
4
10,679,659
05/21/2012 04:53:28
1,245,455
03/02/2012 15:54:19
6
0
Android App Interfacing with IMAP and populating with Gmail emails
I am trying to make an application which will basically be the same as the stock email app. To allow me to log into an email account using IMAP and SMTP. I have been trying to understand the protocols and how to interface them with an app, but am at a loss. Can anyone possibly guide me to a solution or a direct downloa...
android
email
imap
null
null
null
open
Android App Interfacing with IMAP and populating with Gmail emails === I am trying to make an application which will basically be the same as the stock email app. To allow me to log into an email account using IMAP and SMTP. I have been trying to understand the protocols and how to interface them with an app, but am a...
0
8,418,435
12/07/2011 16:06:57
110,569
03/25/2009 14:25:28
151
4
Why is connectionStrings.config ignored when publishing from VS2010
I'm publishing my web application project to a shared network folder, web.config is published, but my other config files are ignored. These config files all have their "Build Action" property set to "Content".
visual-studio-2010
null
null
null
null
null
open
Why is connectionStrings.config ignored when publishing from VS2010 === I'm publishing my web application project to a shared network folder, web.config is published, but my other config files are ignored. These config files all have their "Build Action" property set to "Content".
0
5,602,599
04/09/2011 02:54:28
699,588
04/09/2011 02:54:28
1
0
c# regex matching
Broadly: how do I match a word with regex rules for a)the beginning, b)the whole word, and c)the end? More specifically: How do I match an expression of length >= 1 that has the following rules: 1. It cannot have any of: ! @ # 2. It cannot begin with a space or = 3. It cannot end with a space I tried: ^[^\s=][...
c#
regex
matching
null
null
null
open
c# regex matching === Broadly: how do I match a word with regex rules for a)the beginning, b)the whole word, and c)the end? More specifically: How do I match an expression of length >= 1 that has the following rules: 1. It cannot have any of: ! @ # 2. It cannot begin with a space or = 3. It cannot end with a spa...
0
5,468,999
03/29/2011 07:03:57
681,527
03/29/2011 07:03:57
1
0
help with 960 grid and jquery
Doing this as a class group project, I'm doing the front end while other members are doing the backend. I'm using the 24 columns 960 grid system, to try and position everything. It is my first time really doing a project using CSS and the 960 grid system. I'm using javascript to include other html files.Excluding ...
jquery
css
960.gs
null
null
null
open
help with 960 grid and jquery === Doing this as a class group project, I'm doing the front end while other members are doing the backend. I'm using the 24 columns 960 grid system, to try and position everything. It is my first time really doing a project using CSS and the 960 grid system. I'm using javascript to ...
0
3,494,580
08/16/2010 15:22:04
98,317
04/30/2009 07:29:08
13
2
Is there such a thing as a 'half-day' programming job?
I love programming and I look forward to going to work everyday, but there are other (non-paying) activities which I would describe as my passion. I dream sometimes of having half my day devoted to this passion of mine, but I've never heard of any employer agreeing to half pay for half a day's work. Has anybody arra...
career-development
null
null
null
null
01/28/2012 21:13:54
not constructive
Is there such a thing as a 'half-day' programming job? === I love programming and I look forward to going to work everyday, but there are other (non-paying) activities which I would describe as my passion. I dream sometimes of having half my day devoted to this passion of mine, but I've never heard of any employer agr...
4
9,285,465
02/14/2012 22:56:26
1,011,089
10/24/2011 14:51:09
82
0
Configuring and hosting WCF services in a Prism desktop application
My application is currently made up of 2 different solutions. 1) The Shell which contains all the WPF and front end logic 2) The BackEnd which contains all the WCF service implementations and NHibernate related data access. At the moment, there are 6 different WCF service contracts defined. I currently have this...
c#
wpf
wcf
hosting
prism
02/23/2012 23:08:10
not constructive
Configuring and hosting WCF services in a Prism desktop application === My application is currently made up of 2 different solutions. 1) The Shell which contains all the WPF and front end logic 2) The BackEnd which contains all the WCF service implementations and NHibernate related data access. At the moment, ther...
4
11,339,964
07/05/2012 07:48:37
1,421,204
05/28/2012 07:39:45
6
0
Implement facory pattern with spring annotation
This is related to http://stackoverflow.com/a/8735621/1421204 I need to implement factory pattern with auto detect and autowired bean @Service("Service") public class ServiceImpl implements Service{ private static ServiceImpl ServiceImpl; public static final ServiceImpl getService( String service) { ...
design-patterns
service
implementation
factory
autowired
07/07/2012 15:02:43
not a real question
Implement facory pattern with spring annotation === This is related to http://stackoverflow.com/a/8735621/1421204 I need to implement factory pattern with auto detect and autowired bean @Service("Service") public class ServiceImpl implements Service{ private static ServiceImpl ServiceImpl; public stat...
1
9,518,572
03/01/2012 15:06:03
216,238
11/21/2009 21:24:44
449
5
UTF-8 html without BOM displays strange characters
I have some HTML which contains some forign characters (€, ó, á). The HTML document is saved as UTF-8 without BOM. When I view the page in the browser the forign characters seem to get replaced with stranger character combinations (€, ó, Ã). It's only when I save my HTML document as UTF-8 with BOM that the character...
html
utf-8
bom
null
null
null
open
UTF-8 html without BOM displays strange characters === I have some HTML which contains some forign characters (€, ó, á). The HTML document is saved as UTF-8 without BOM. When I view the page in the browser the forign characters seem to get replaced with stranger character combinations (€, ó, Ã). It's only when I sa...
0
10,876,555
06/04/2012 05:10:43
480,346
10/19/2010 10:23:33
983
14
How to animate image like this using iPhone SDK?
Please check this app: http://itunes.apple.com/us/app/draw-hearts-happy-valentines/id419003288?mt=8 Screenshot from that app is shown below: ![enter image description here][1] [1]: http://i.stack.imgur.com/HLTe4.jpg Can you please let me know how we can achieve such animation? Thanks!
iphone
objective-c
ios
cocoa-touch
animation
06/04/2012 07:32:38
not a real question
How to animate image like this using iPhone SDK? === Please check this app: http://itunes.apple.com/us/app/draw-hearts-happy-valentines/id419003288?mt=8 Screenshot from that app is shown below: ![enter image description here][1] [1]: http://i.stack.imgur.com/HLTe4.jpg Can you please let me know how we...
1
11,105,286
06/19/2012 16:27:32
713,428
04/18/2011 12:57:04
407
19
Create NuGet package which installs references with Copy Local set to false
Is there a way to create a NuGet package where when the package is installed into a project it adds references to the dlls with "Copy Local" set to false? I assume it would be some kind of script within the 'install.ps1' file.
nuget
null
null
null
null
null
open
Create NuGet package which installs references with Copy Local set to false === Is there a way to create a NuGet package where when the package is installed into a project it adds references to the dlls with "Copy Local" set to false? I assume it would be some kind of script within the 'install.ps1' file.
0
10,870,687
06/03/2012 13:20:16
780,478
06/02/2011 03:34:34
129
1
bishops giving Wrong answer (spoj)
i was trying to do this problem but i could not able to get it accepted , its input is large so i thought to take it with strings but still i am getting wrong answer . problem statement is here [bishops][1] [1]: http://ww.spoj.pl/problems/BISHOPS/ here is my code: #include<iostream> #include<s...
c++
null
null
null
null
06/04/2012 08:07:20
not a real question
bishops giving Wrong answer (spoj) === i was trying to do this problem but i could not able to get it accepted , its input is large so i thought to take it with strings but still i am getting wrong answer . problem statement is here [bishops][1] [1]: http://ww.spoj.pl/problems/BISHOPS/ here is my code: ...
1
7,639,887
10/03/2011 19:45:52
9,938
09/15/2008 20:31:28
1,256
11
What is the best way to do a lookup then disable / enable fields?
This is more of a user interface design type question. Here is the scenario. I have a web application written in ASP.NET MVC and use some jquery on the app. Here is what I need. I have a page with 4 fields. Return Tag Part Number Serial Number Notes If the user enters a Return Tag then I ...
jquery
user-interface
user-experience
null
null
10/05/2011 14:05:15
not constructive
What is the best way to do a lookup then disable / enable fields? === This is more of a user interface design type question. Here is the scenario. I have a web application written in ASP.NET MVC and use some jquery on the app. Here is what I need. I have a page with 4 fields. Return Tag Part Number...
4
3,005,973
06/09/2010 13:01:57
357,849
06/03/2010 19:29:39
13
0
What is the purpose of ROWLOCK on Delete and when should I use it?
Ex) When should I use this statement: DELETE TOP (@count) FROM ProductInfo WITH (ROWLOCK) WHERE ProductId = @productId_for_del; And when should be just doing: DELETE TOP (@count) FROM ProductInfo WHERE ProductId = @productId_for_del;
sql
null
null
null
null
null
open
What is the purpose of ROWLOCK on Delete and when should I use it? === Ex) When should I use this statement: DELETE TOP (@count) FROM ProductInfo WITH (ROWLOCK) WHERE ProductId = @productId_for_del; And when should be just doing: DELETE TOP (@count) FROM ProductInfo WHERE ProductId = @productId_for_del...
0
2,860,699
05/18/2010 20:03:27
344,441
05/18/2010 20:03:27
1
0
MySQL: group by and IF statement
Here is my problem: By default `parent_id` = 0. I want to select all records with `parent_id` = 0 and only the last ones with `parent_id` > 0. I tried this, but it didn't work: SELECT * FROM `articles` IF `parent_id` > 0 THEN GROUP BY `parent_id` HAVING COUNT(`parent_id`) >= 1 END; ORDER BY `time` DESC ...
mysql
group-by
null
null
null
null
open
MySQL: group by and IF statement === Here is my problem: By default `parent_id` = 0. I want to select all records with `parent_id` = 0 and only the last ones with `parent_id` > 0. I tried this, but it didn't work: SELECT * FROM `articles` IF `parent_id` > 0 THEN GROUP BY `parent_id` HAVING COUNT(`parent_id...
0
6,358,906
06/15/2011 14:01:01
798,807
06/15/2011 02:23:50
1
0
Loading list elements randomly
So I've got an unordered list. What I need is to load each <li> randomly, but have them stay in there corresponding spot of the list if that makes sense. Example: <ul id="nameOfList"> <li>element here</li> <li>no element here</li> <li>element here</li> <li>element here</li> <li>no element here</li>...
jquery
random
null
null
null
06/15/2011 15:03:34
not a real question
Loading list elements randomly === So I've got an unordered list. What I need is to load each <li> randomly, but have them stay in there corresponding spot of the list if that makes sense. Example: <ul id="nameOfList"> <li>element here</li> <li>no element here</li> <li>element here</li> <li>element h...
1
5,437,909
03/25/2011 20:41:15
660,065
03/15/2011 06:30:18
40
9
How do SQL server 2000 and XML linked?
How do SQL server 2000 and XML linked? Can XML be used to access data? FOR XML (ROW, AUTO, EXPLICIT)
sql
xml
null
null
null
03/25/2011 21:14:16
not a real question
How do SQL server 2000 and XML linked? === How do SQL server 2000 and XML linked? Can XML be used to access data? FOR XML (ROW, AUTO, EXPLICIT)
1
7,527,518
09/23/2011 10:19:18
960,833
09/23/2011 09:42:54
1
0
Twitter integration using c# code
Now am working with a twitter integration part to update status from my application .Now am tried with different ways but the authentication error is getting,and i tried with code bellow i given but in status am getting null value.can u help me to solve it out. This is my code in c# OAuthTokens tokens = new OAu...
facebook-c#-sdk
null
null
null
null
null
open
Twitter integration using c# code === Now am working with a twitter integration part to update status from my application .Now am tried with different ways but the authentication error is getting,and i tried with code bellow i given but in status am getting null value.can u help me to solve it out. This is my cod...
0
3,582,650
08/27/2010 08:56:42
410,589
08/04/2010 09:34:01
6
4
CSS on PDF (Prawn)
Can we use stylesheet classes inside Pdf reports? i am trying to change the header_color from b7e3fe to .heading oh the stylesheet, inside the table file:heading.pdf.prawn texts=[""],[""] pdf.table texts, :headers => [" Heading "], :header_color => 'b7e3fe', file: public/style...
ruby-on-rails
null
null
null
null
null
open
CSS on PDF (Prawn) === Can we use stylesheet classes inside Pdf reports? i am trying to change the header_color from b7e3fe to .heading oh the stylesheet, inside the table file:heading.pdf.prawn texts=[""],[""] pdf.table texts, :headers => [" Heading "], :header_color => 'b7e3fe', ...
0
8,833,165
01/12/2012 10:01:58
1,012,590
10/25/2011 11:04:00
19
8
how stack ,GC and heap memory work?
Can anybody help me to when object destroyed? when they used heap and stack memory? if possible then explain based on diagram.
java
null
null
null
null
01/12/2012 10:53:42
not a real question
how stack ,GC and heap memory work? === Can anybody help me to when object destroyed? when they used heap and stack memory? if possible then explain based on diagram.
1
693,154
03/28/2009 17:23:49
78,351
03/15/2009 19:37:58
135
5
What's the best software for checking disk health on Mac ?
Does Mac OS X have a good utility provided by default. Disk Utility doesn't seem very comprehensive. What is the best software available ?
osx
mac-os-x
disk
null
null
03/28/2009 17:33:21
off topic
What's the best software for checking disk health on Mac ? === Does Mac OS X have a good utility provided by default. Disk Utility doesn't seem very comprehensive. What is the best software available ?
2
11,368,745
07/06/2012 19:45:13
1,389,352
05/11/2012 11:50:14
1
0
Not able to run sdk manager exe file
Not able to run sdk manager exe file, when i click this file command prompt pop ups and get close within a second on windows 7. I have installed jdk 1.7
android
null
null
null
null
07/10/2012 18:13:25
not a real question
Not able to run sdk manager exe file === Not able to run sdk manager exe file, when i click this file command prompt pop ups and get close within a second on windows 7. I have installed jdk 1.7
1
7,831,723
10/20/2011 06:00:02
968,749
09/28/2011 09:19:46
1
0
Should -Dsun.java2d.noddraw=true should be the first argument always?
Is there any difference using -Dsun.java2d.noddraw=true as the first argument or it can be used at anywhere -Dsun.java2d.noddraw=true -Xms256m -Xmx512m can i pass the noddraw argument in this position instead of passing it first. -Xms256m -Xmx512m -Dsun.java2d.noddraw=true
java
null
null
null
null
10/20/2011 17:52:30
not a real question
Should -Dsun.java2d.noddraw=true should be the first argument always? === Is there any difference using -Dsun.java2d.noddraw=true as the first argument or it can be used at anywhere -Dsun.java2d.noddraw=true -Xms256m -Xmx512m can i pass the noddraw argument in this position instead of passing it first. -Xms256m -X...
1
1,319,399
08/23/2009 19:55:25
126,015
06/19/2009 22:39:19
50
4
How to debug JavaFX
I've just started working with javafx, it seems cool and NetBeans seems much more fun than Eclipse but I find it impossible to debug my application. I've added breakpoints, and I pressed the debug button, I see the debugger is registered to some port but it doesn't cause the application to start. When I run the appl...
java
javafx
debugging
null
null
null
open
How to debug JavaFX === I've just started working with javafx, it seems cool and NetBeans seems much more fun than Eclipse but I find it impossible to debug my application. I've added breakpoints, and I pressed the debug button, I see the debugger is registered to some port but it doesn't cause the application to star...
0
8,762,575
01/06/2012 18:24:59
864,442
07/26/2011 23:38:05
46
0
Selecting and Copying terminal output in gnome
What are the keyboard options to select and copy the output of gnome terminal window? Using mouse is not an option as I have more than 50,000 lines to select and copy. I do remember vaguely that you select a line at the bottom and another command takes you to the start of the terminal window then copy it. Thank...
linux
terminal
null
null
null
01/08/2012 05:44:39
off topic
Selecting and Copying terminal output in gnome === What are the keyboard options to select and copy the output of gnome terminal window? Using mouse is not an option as I have more than 50,000 lines to select and copy. I do remember vaguely that you select a line at the bottom and another command takes you to the ...
2
11,522,541
07/17/2012 12:34:35
1,531,782
07/17/2012 12:32:17
1
0
Can some give me link for pymedia to support Python 2.7
I am not able to install Pymedia for python 2.7 version where to download pls provide me a source for that
python
null
null
null
null
07/19/2012 04:25:18
not constructive
Can some give me link for pymedia to support Python 2.7 === I am not able to install Pymedia for python 2.7 version where to download pls provide me a source for that
4
10,904,862
06/05/2012 20:59:09
1,273,586
03/16/2012 08:50:31
6
0
easy way to edit the content of a website online
i've just made a new website for a costumer. Everything is done and is published online. However this customer now asks me if it is possible that i can add the function to edit the content of the website online. Does anyone know how to do this or what i need to do this? I was thinking that i need a sort of cms sy...
html
null
null
null
null
06/05/2012 21:13:08
off topic
easy way to edit the content of a website online === i've just made a new website for a costumer. Everything is done and is published online. However this customer now asks me if it is possible that i can add the function to edit the content of the website online. Does anyone know how to do this or what i need to do...
2
3,479,922
08/13/2010 18:58:36
327,216
04/27/2010 19:51:00
31
1
how-to switch resx at runtime?
I have a second resx file Strings.ps-ps.resx that I want to point my code to at runtime. Each resx has Designer.cs with a unique class name. Do I have to switch/wrap these things myself? ...or is there some built in approach? thx!
c#
internationalization
resx
null
null
null
open
how-to switch resx at runtime? === I have a second resx file Strings.ps-ps.resx that I want to point my code to at runtime. Each resx has Designer.cs with a unique class name. Do I have to switch/wrap these things myself? ...or is there some built in approach? thx!
0
3,372,346
07/30/2010 14:19:43
246,776
01/08/2010 22:16:08
734
21
Javascript comparison question (null >= 0)
How should I understand these? null>0 > false null==0 > false null>=0 > true
javascript
comparison
null
null
null
null
open
Javascript comparison question (null >= 0) === How should I understand these? null>0 > false null==0 > false null>=0 > true
0
4,163,996
11/12/2010 11:08:24
505,624
11/12/2010 10:46:45
1
0
Tools to assist migration of C++ projects
Currently we want to migrate some modules of our C++ projects, and I wonder if someone has already used CppDepend in the preparation phase to understand the existing code base, and detect all dependencies before migration. Any feedback is welcome. Thanks
c++
null
null
null
null
11/13/2010 01:38:32
not a real question
Tools to assist migration of C++ projects === Currently we want to migrate some modules of our C++ projects, and I wonder if someone has already used CppDepend in the preparation phase to understand the existing code base, and detect all dependencies before migration. Any feedback is welcome. Thanks
1
9,237,867
02/11/2012 04:39:32
1,203,347
02/11/2012 04:31:08
1
0
ITEXTSHARP in .net, Extract image code, I can't get this to work
I am looking to simply extract all images from a pdf. I found some code that looks like it is exactly what I need Private Sub getAllImages(ByVal dict As pdf.PdfDictionary, ByVal images As List(Of Byte()), ByVal doc As pdf.PdfReader) Dim res As pdf.PdfDictionary = CType(pdf.PdfReader.GetPdfObject(dict.Get(p...
.net
itextsharp
null
null
null
null
open
ITEXTSHARP in .net, Extract image code, I can't get this to work === I am looking to simply extract all images from a pdf. I found some code that looks like it is exactly what I need Private Sub getAllImages(ByVal dict As pdf.PdfDictionary, ByVal images As List(Of Byte()), ByVal doc As pdf.PdfReader) Dim ...
0
6,493,967
06/27/2011 13:55:47
817,501
06/27/2011 13:55:47
1
0
SQL Injection on INSERT statement
I have to follow query which I wanna break: INSERT INTO `table` (`A`,`B`,`C`,`D`,`E`,`F`,`G`,`TIMESTAMP`) VALUES ('' ,'1','2','z','X','1','n',NOW()); WHERE X is the value which comes from POST I wanna inject a UPDATE statement: what I tryd: ' XOR (UPDATE `table2` SET `VALUE` = ...
sql
update
insert
sql-injection
injection
06/27/2011 14:06:24
not constructive
SQL Injection on INSERT statement === I have to follow query which I wanna break: INSERT INTO `table` (`A`,`B`,`C`,`D`,`E`,`F`,`G`,`TIMESTAMP`) VALUES ('' ,'1','2','z','X','1','n',NOW()); WHERE X is the value which comes from POST I wanna inject a UPDATE statement: what I tryd: ...
4
4,135,095
11/09/2010 14:59:46
184,046
10/04/2009 20:35:01
2,631
31
Tackling Interview Phobia?
For most of the people, their day starts with Google. Mine starts with Google and SO in parallel so I thought I'll post this question I've seen [elsewhere][2] as I am interested in knowing what the opinions of people here are mainly because I respect this community more than any other. Today morning, I came across [thi...
interview-questions
self-improvement
attitude
null
null
11/09/2010 15:19:55
off topic
Tackling Interview Phobia? === For most of the people, their day starts with Google. Mine starts with Google and SO in parallel so I thought I'll post this question I've seen [elsewhere][2] as I am interested in knowing what the opinions of people here are mainly because I respect this community more than any other. T...
2
4,092,698
11/03/2010 23:48:16
149,080
08/01/2009 21:00:20
1,326
21
Rails - PaperClip & Acts_As_Versioned - Accessing a Photo URL
I've implemented the following: **File versioning in Ruby on Rails with Paperclip & acts_as_versioned:** [http://eggsonbread.com/2009/07/23/file-versioning-in-ruby-on-rails-with-paperclip-acts_as_versioned/][1] When you upload a new photo it is now successfully being version. The issue I'm having is that I can't...
ruby-on-rails
ruby-on-rails-3
paperclip
acts-as-versioned
null
null
open
Rails - PaperClip & Acts_As_Versioned - Accessing a Photo URL === I've implemented the following: **File versioning in Ruby on Rails with Paperclip & acts_as_versioned:** [http://eggsonbread.com/2009/07/23/file-versioning-in-ruby-on-rails-with-paperclip-acts_as_versioned/][1] When you upload a new photo it is n...
0
11,062,153
06/16/2012 09:08:50
454,520
09/21/2010 23:41:50
83
2
Floating image to the right
I would like to float the image in div#rakshak to the right of div#MainMenu. How can I fix the css in the site below http://goo.gl/BqALW
html
css-float
null
null
null
06/18/2012 03:22:10
too localized
Floating image to the right === I would like to float the image in div#rakshak to the right of div#MainMenu. How can I fix the css in the site below http://goo.gl/BqALW
3
10,453,749
05/04/2012 17:52:09
1,344,148
04/19/2012 13:41:12
1
0
PHP assign mysql_fetch_array(data) to a array variable
I would like to use the following: $row1 = mysql_fetch_array($genDay[0][0]); $row2 = mysql_fetch_array($genDay[0][1]); $row3 = mysql_fetch_array($genDay[0][2]); $row4 = mysql_fetch_array($genDay[0][3]); $row5 = mysql_fetch_array($genDay[0][4]); $row6 = mysql_fetch_array($genDay[0][5]); $row7 = mysql_fet...
php
mysql
arrays
variables
multidimensional-array
null
open
PHP assign mysql_fetch_array(data) to a array variable === I would like to use the following: $row1 = mysql_fetch_array($genDay[0][0]); $row2 = mysql_fetch_array($genDay[0][1]); $row3 = mysql_fetch_array($genDay[0][2]); $row4 = mysql_fetch_array($genDay[0][3]); $row5 = mysql_fetch_array($genDay[0][4]); $...
0
11,558,406
07/19/2012 10:02:39
1,436,681
06/05/2012 06:43:02
1
1
.app file not working on 5.1.1 update on iphone?
I have created one application app file(build file) its not working on iphone 4s that is jailbroken and its working on iphone that is not jailbroken iphone. Please help what are the steps that i have to follow to install on jailbroken iphone.
application
build
jailbreak
null
null
07/19/2012 16:06:51
not a real question
.app file not working on 5.1.1 update on iphone? === I have created one application app file(build file) its not working on iphone 4s that is jailbroken and its working on iphone that is not jailbroken iphone. Please help what are the steps that i have to follow to install on jailbroken iphone.
1
7,938,535
10/29/2011 11:15:38
133,939
07/06/2009 22:38:15
7,069
210
How can I use the Platform LSF blaunch command to start processes simultaneously?
I'm having a hard time figuring out why I can't launch commands in parallel using the LSF `blaunch` command: for num in `seq 3`; do blaunch -u JobHost ./cmd_${num}.sh & done Error message: Oct 29 13:08:55 2011 18887 3 7.04 lsb_launch(): Failed while executing tasks. Oct 29 13:08:55 201...
bash
lsf
null
null
null
null
open
How can I use the Platform LSF blaunch command to start processes simultaneously? === I'm having a hard time figuring out why I can't launch commands in parallel using the LSF `blaunch` command: for num in `seq 3`; do blaunch -u JobHost ./cmd_${num}.sh & done Error message: Oct 29 13:08:55...
0
11,188,335
06/25/2012 11:17:55
1,479,762
06/25/2012 11:07:06
1
0
How to find the path (ipadress) in mysql_conect () when trying to execute query from another web site
I am trying to select data from a web site from another web site. Now I am confused about the address need to insert in the mysql_connect(). How can I find out the address need to insert in the mysql_connect().(How to find out the path from cpanel). Sincerely, Rose Franklin
php
mysql-connect
null
null
null
06/26/2012 11:53:04
not a real question
How to find the path (ipadress) in mysql_conect () when trying to execute query from another web site === I am trying to select data from a web site from another web site. Now I am confused about the address need to insert in the mysql_connect(). How can I find out the address need to insert in the mysql_connect()....
1
7,872,131
10/24/2011 06:50:11
878,077
08/04/2011 07:35:06
85
1
intresting SQL query
I have this data in my table: onum amt odate cnum snum 3001 18,69 1990-03-10 00:00:00.000 2008 1007 3002 1900,10 1990-03-10 00:00:00.000 2007 1004 3003 767,19 1990-03-10 00:00:00.000 2001 1001 3005 5160,45 1990-03-10 00:00:00.000 2003 1002 3006 1098,16 1990-03-...
sql
tsql
null
null
null
null
open
intresting SQL query === I have this data in my table: onum amt odate cnum snum 3001 18,69 1990-03-10 00:00:00.000 2008 1007 3002 1900,10 1990-03-10 00:00:00.000 2007 1004 3003 767,19 1990-03-10 00:00:00.000 2001 1001 3005 5160,45 1990-03-10 00:00:00.000 2003 1002 ...
0
9,560,905
03/05/2012 02:24:05
680,578
03/28/2011 16:24:25
851
83
MySQL select all users who have not logged in in 30 days
I have a table that has a user id & timestamp, like the following. [member id] [timestamp] 1 1142461087 1 1339461211 2 1321280124 1 1249042100 3 1308325002 3 1308259235 I want to return a list of unique member ids ...
mysql
query
unix-timestamp
null
null
null
open
MySQL select all users who have not logged in in 30 days === I have a table that has a user id & timestamp, like the following. [member id] [timestamp] 1 1142461087 1 1339461211 2 1321280124 1 1249042100 3 1308325002 3 ...
0
7,218,059
08/27/2011 23:36:16
304,853
03/30/2010 07:03:27
348
22
PHP - include index.php for path above this one
So, am using this code here... <?php if (file_exists(dirname(dirname(__FILE__)) . '/index.php')) include(dirname(dirname(__FILE__)) . '/index.php'); else exit; ?> So I have a filepath like so: > /root/folder/a_sub1/b_sub1/c_sub1/d_sub1 Each *_sub folder has a file `index.p...
php
filesystems
include
null
null
09/01/2011 17:47:38
too localized
PHP - include index.php for path above this one === So, am using this code here... <?php if (file_exists(dirname(dirname(__FILE__)) . '/index.php')) include(dirname(dirname(__FILE__)) . '/index.php'); else exit; ?> So I have a filepath like so: > /root/folder/a_sub1/b_sub1/c...
3
11,554,548
07/19/2012 05:38:27
1,495,246
07/02/2012 06:06:25
1
0
Gantt view for android
Can any body know how to create gantt view in android. My idea is to create view dynamically and add that view using arrayADapter or List Adapter to Listview. Is it possible? Please reply if anybody know this ?
java
android
listview
project
gantt
07/20/2012 12:12:35
not a real question
Gantt view for android === Can any body know how to create gantt view in android. My idea is to create view dynamically and add that view using arrayADapter or List Adapter to Listview. Is it possible? Please reply if anybody know this ?
1
7,482,946
09/20/2011 09:27:14
865,170
07/27/2011 10:38:05
1
0
How you implement Abstraction(oops) in c# code
Many times i faced this question by the interviewer.Can any body give me a good example
c#
null
null
null
null
09/20/2011 11:28:35
off topic
How you implement Abstraction(oops) in c# code === Many times i faced this question by the interviewer.Can any body give me a good example
2
2,008,747
01/05/2010 20:12:36
244,213
01/05/2010 20:12:35
1
0
Wordpress theme Javascript problem
I have a wordpress site running the WP-Coda theme [here][1], and have been working to create a page template. The link to the a page with the template is namastebella.byethost5.com/random (Sorry no hyperlink, can't post 2 as a beginner!) The "fadethis" javascript function makes animated hovers on the top three links...
wordpress
wordpress-theming
javascript
null
null
02/09/2011 08:17:34
too localized
Wordpress theme Javascript problem === I have a wordpress site running the WP-Coda theme [here][1], and have been working to create a page template. The link to the a page with the template is namastebella.byethost5.com/random (Sorry no hyperlink, can't post 2 as a beginner!) The "fadethis" javascript function make...
3
7,786,827
10/16/2011 19:47:50
515,024
11/21/2010 10:39:02
26
1
Getting date of a revision using svn info
My objective is to extract revisions from the repository that are at least 30 days apart from each other. Lets say I want to examine revisions starting from 30 to 100. For each of the revisions, I have used SVN info command and use the last changed date as the date of that revision. The next steps are straightforward. ...
svn
repository
null
null
null
null
open
Getting date of a revision using svn info === My objective is to extract revisions from the repository that are at least 30 days apart from each other. Lets say I want to examine revisions starting from 30 to 100. For each of the revisions, I have used SVN info command and use the last changed date as the date of that...
0
9,198,602
02/08/2012 17:42:21
966,858
09/27/2011 10:52:41
38
3
jquery retrieve firefox 11 translate3d data preferably as an array
I cant really add much more here. I am using a plugin but need a way to retrieve the 3d translation and scale as an array. I have tried: $('#image').css('-moz-transform) but only get a string back. is there a special way to get an array without having to substr and replace? Thanks in advance.
jquery
firefox
css-transitions
null
null
null
open
jquery retrieve firefox 11 translate3d data preferably as an array === I cant really add much more here. I am using a plugin but need a way to retrieve the 3d translation and scale as an array. I have tried: $('#image').css('-moz-transform) but only get a string back. is there a special way to get an ar...
0
7,317,745
09/06/2011 09:31:08
341,878
05/15/2010 11:04:37
313
7
Too many pages using kaminari gem in Ruby on Rails 3.1 application
I am using the kaminari pagination gem in my simple Rails 3.1 application. Problem is it creates too many pages, I end up with completly blank pages at the end of my page list. I have experimented in the console with: current_user.articles Which returns me a list of 6 articles, the same as the ones being d...
ruby-on-rails
ruby-on-rails-3
pagination
ruby-on-rails-3.1
kaminari
null
open
Too many pages using kaminari gem in Ruby on Rails 3.1 application === I am using the kaminari pagination gem in my simple Rails 3.1 application. Problem is it creates too many pages, I end up with completly blank pages at the end of my page list. I have experimented in the console with: current_user.article...
0
11,554,561
07/19/2012 05:40:03
1,536,853
07/19/2012 05:36:32
1
0
How to use twitpic image in imageview in iphone app?
I am already uploaded image from twitpic,But i want to show image from twitpic like "http://twitpic.com/a97wy7" to imageview in iphone programatically
iphone
ios
twitter
null
null
07/19/2012 11:49:51
not a real question
How to use twitpic image in imageview in iphone app? === I am already uploaded image from twitpic,But i want to show image from twitpic like "http://twitpic.com/a97wy7" to imageview in iphone programatically
1
10,218,818
04/18/2012 22:10:19
260,345
01/27/2010 18:23:29
156
0
jsTree onSelect event
I've been trying to get the text of a node that is selected in a jsTree. I am able to populate the tree and trigger the onSelect event, but I can't find out which node was clicked. I've seen examples on the net that use `data.rslt.obj.attr("data")` to fetch the text, however this is returning undefined for me. Addition...
javascript
jstree
null
null
null
null
open
jsTree onSelect event === I've been trying to get the text of a node that is selected in a jsTree. I am able to populate the tree and trigger the onSelect event, but I can't find out which node was clicked. I've seen examples on the net that use `data.rslt.obj.attr("data")` to fetch the text, however this is returning...
0
215,784
10/19/2008 00:36:38
3,153
08/27/2008 02:45:05
6,758
144
Making money while programming Linux and/or open source for small business?
During university, I wanted to start a software business. I didn't know what at the time, but I knew it would have to be Windows and closed source in order to make enough money to support a career. Was I wrong? What could I have been told that would have changed my mind? I'm looking for arguments about why I could...
linux
windows
commercial
open-source
null
09/19/2011 05:15:07
off topic
Making money while programming Linux and/or open source for small business? === During university, I wanted to start a software business. I didn't know what at the time, but I knew it would have to be Windows and closed source in order to make enough money to support a career. Was I wrong? What could I have been ...
2
8,319,550
11/30/2011 00:14:55
793,454
06/10/2011 21:59:20
293
25
how to collect form ids using jQuery
A jQuery selector $(".thumb_up") returns a collection of forms like this: [<form id="like_post_78" ...</form> <form id="like_post_79"> ... </form>] Ultimately I want to generate a string consisting of the numerical ending portion of the form ids. "78,79" What's the most efficient way of getting this...
jquery
null
null
null
null
null
open
how to collect form ids using jQuery === A jQuery selector $(".thumb_up") returns a collection of forms like this: [<form id="like_post_78" ...</form> <form id="like_post_79"> ... </form>] Ultimately I want to generate a string consisting of the numerical ending portion of the form ids. "78,79" Wha...
0
10,595,310
05/15/2012 06:32:58
649,524
03/08/2011 08:54:48
1,045
90
Return ObservableCollection from linq query
I have following linq snippet ObservableCollection<int> ints = new ObservableCollection<int>(); ints.Add(3); ints.Add(4); ints.Add(5); ints.Add(6); ints.Add(3); ints.Add(4); ints.Add(1); ints.Add(2); var groupedInts = ints.GroupBy(i=>i).Select(i=> new {Key=i.Key, Cou...
wpf
linq
winrt
null
null
null
open
Return ObservableCollection from linq query === I have following linq snippet ObservableCollection<int> ints = new ObservableCollection<int>(); ints.Add(3); ints.Add(4); ints.Add(5); ints.Add(6); ints.Add(3); ints.Add(4); ints.Add(1); ints.Add(2); var groupedInts = i...
0
326,649
11/28/2008 20:51:16
1,463
08/15/2008 17:26:44
1,872
78
C# Financial Functions library
I'm looking for an open source C# .NET Financial Functions library. Something that does IRR (Internal Rate of Return) and other common functions that are available in applications like Excel. Suggestions?
c#
.net
null
null
null
06/17/2012 15:59:08
not constructive
C# Financial Functions library === I'm looking for an open source C# .NET Financial Functions library. Something that does IRR (Internal Rate of Return) and other common functions that are available in applications like Excel. Suggestions?
4
7,452,540
09/17/2011 04:55:20
392,286
07/15/2010 04:25:48
28
2
c#, hand held device
I am currently working on NET 2.0. I need to develop a web page that can be called from desktop and also a hand held device(It has Windows CE on it). I've never tried anything like this before. Ideally, the requirement is to call my web page on the hand held device and produce the page on it. The page needs to perform ...
c#
null
null
null
null
09/17/2011 07:11:57
not a real question
c#, hand held device === I am currently working on NET 2.0. I need to develop a web page that can be called from desktop and also a hand held device(It has Windows CE on it). I've never tried anything like this before. Ideally, the requirement is to call my web page on the hand held device and produce the page on it. ...
1
8,600,741
12/22/2011 07:41:38
1,111,249
12/22/2011 07:36:55
1
0
FPGA and Camera Interface via Verilog HDL
I have two questions regarding my project. 1) I want to interface a camera with my FPGA board which is DE2 of ALTERA family, the properties of camera are a) Camera is of Epix Inc b) the camera is operated or controlled via a software (XCAP) in PC c) The camera comes with Frame Grabber which is PCI interfaced with...
interface
camera
fpga
null
null
12/23/2011 17:05:07
not a real question
FPGA and Camera Interface via Verilog HDL === I have two questions regarding my project. 1) I want to interface a camera with my FPGA board which is DE2 of ALTERA family, the properties of camera are a) Camera is of Epix Inc b) the camera is operated or controlled via a software (XCAP) in PC c) The camera comes ...
1
9,445,758
02/25/2012 16:26:43
970,083
09/28/2011 22:44:21
46
1
Android : can I visual activity always?
Please look here https://market.android.com/details?id=com.myboyfriendisageek.aircalc this activity is always above any running applications. HOw can I do it ? Thanks
android
null
null
null
null
null
open
Android : can I visual activity always? === Please look here https://market.android.com/details?id=com.myboyfriendisageek.aircalc this activity is always above any running applications. HOw can I do it ? Thanks
0
7,213,084
08/27/2011 07:18:19
84,433
03/30/2009 03:57:20
762
16
How to do this simple set of nearly identical js without so much repeating?
I'm trying to learn DRY coding and wondering how to do this sort of thing with a lot less code. ie I have something like this: var option_shipping = $('#option_shipping div.selected .tag').text(), option_payment = $('#option_payment div.selected .tag').text(); if(option_shipping.length < 1) { err...
jquery
null
null
null
null
null
open
How to do this simple set of nearly identical js without so much repeating? === I'm trying to learn DRY coding and wondering how to do this sort of thing with a lot less code. ie I have something like this: var option_shipping = $('#option_shipping div.selected .tag').text(), option_payment = $('#option_paym...
0
11,475,914
07/13/2012 18:05:38
1,524,240
07/13/2012 17:36:12
1
0
How to to create a key/value map from a string in java
I have a text like "SimpleKey1:word1. SimpleKey2: word word word, word word. word word. CompoundKey3 / CompoundKey3: word word word, word. Key3: word. SimpleKey4: word words, words word-word (word 18 word 100 ). CompoundKey4 / CompoundKey4: word word." I need to parse that string in order obtain a key/value map ...
java
regex
null
null
null
07/14/2012 05:10:04
not a real question
How to to create a key/value map from a string in java === I have a text like "SimpleKey1:word1. SimpleKey2: word word word, word word. word word. CompoundKey3 / CompoundKey3: word word word, word. Key3: word. SimpleKey4: word words, words word-word (word 18 word 100 ). CompoundKey4 / CompoundKey4: word word." ...
1
10,882,036
06/04/2012 13:18:11
1,428,123
05/31/2012 10:12:04
3
1
Showing can not open file
This is my code to download and then open the file from the sdcard.. but after downloading the file, when i click to the file to open it show a Toast message... cannot open file.. Please Tell me where is the error... ' package com.pdf; import java.io.File; import android.app.Activity; ...
android
pdf
open
null
null
null
open
Showing can not open file === This is my code to download and then open the file from the sdcard.. but after downloading the file, when i click to the file to open it show a Toast message... cannot open file.. Please Tell me where is the error... ' package com.pdf; import java.io.File; ...
0
9,621,509
03/08/2012 16:51:15
860,126
07/24/2011 10:08:25
174
2
Limit number of records using trigger and constraints in MySQL
I have a table called BFFs, that stores userID, and best friend's userID and I would like to restrict that table to have exactly 3 number of best friends for each different user. I mean if the table structre is: BFFs(userID, userID) and records are: (3286, 1212) (3286, 4545) (3286, 7878) ...
mysql
triggers
constraints
null
null
null
open
Limit number of records using trigger and constraints in MySQL === I have a table called BFFs, that stores userID, and best friend's userID and I would like to restrict that table to have exactly 3 number of best friends for each different user. I mean if the table structre is: BFFs(userID, userID) and re...
0
7,903,805
10/26/2011 14:05:01
954,912
09/20/2011 13:57:47
6
0
How can I check smartphone data usage by app? (for each major smartphone OS)
My work requires me to find a way to check how much data a specific app is using. Is there currently any way I can do this for each of the major smartphone OSes? - Android - iOS - Windows Phone 7 - Blackberry - Symbian Thanks!
android
iphone
windows-phone-7
blackberry
symbian
10/26/2011 15:16:04
off topic
How can I check smartphone data usage by app? (for each major smartphone OS) === My work requires me to find a way to check how much data a specific app is using. Is there currently any way I can do this for each of the major smartphone OSes? - Android - iOS - Windows Phone 7 - Blackberry - Symbian Than...
2
9,785,506
03/20/2012 11:02:57
315,168
04/13/2010 06:18:48
5,455
254
Overriding portlet templates with z3c.jbot
Is it possible? Do portlet renderers satisfy necessary conditions for z3c.jbot to kick in? If so... what's the correct syntax to refer portlet renderer via z3c.jbot filename?
plone
null
null
null
null
null
open
Overriding portlet templates with z3c.jbot === Is it possible? Do portlet renderers satisfy necessary conditions for z3c.jbot to kick in? If so... what's the correct syntax to refer portlet renderer via z3c.jbot filename?
0
4,394,238
12/09/2010 02:10:24
535,828
12/09/2010 02:10:24
1
0
How to force a tombstone/crash in a Froyo phone?
How to force a tombstone/crash in a Froyo phone? I need a way to perform a test, forcing a tombstone generation in a Froyo phone. Preferably using adb commands. Does anyone know how to do this? Thanks a lot!
tombstoning
null
null
null
null
null
open
How to force a tombstone/crash in a Froyo phone? === How to force a tombstone/crash in a Froyo phone? I need a way to perform a test, forcing a tombstone generation in a Froyo phone. Preferably using adb commands. Does anyone know how to do this? Thanks a lot!
0
9,945,943
03/30/2012 15:24:58
1,300,469
03/29/2012 10:06:18
1
0
I need to write on a file student info and read only names?
I'm here writing on a text file Name ,age and GPA of student and then i want to read only student name ,and I'm trying to do so all info show up ,i just need to get just names without age or GPA #include<stdio.h> #include<Windows.h> #include<tchar.h> struct Student { WCHAR name[20]; ...
c
winapi
file-io
null
null
03/30/2012 15:52:59
too localized
I need to write on a file student info and read only names? === I'm here writing on a text file Name ,age and GPA of student and then i want to read only student name ,and I'm trying to do so all info show up ,i just need to get just names without age or GPA #include<stdio.h> #include<Windows.h> #inc...
3
6,472,534
06/24/2011 19:01:18
720,075
04/22/2011 05:07:53
13
0
To what extent can buying/selling shares be computerised?
Out of interest, how far can buying and selling shares be made automatic? How far do you think it can go? And what would you need to do it?
scripting
null
null
null
null
06/24/2011 19:31:06
off topic
To what extent can buying/selling shares be computerised? === Out of interest, how far can buying and selling shares be made automatic? How far do you think it can go? And what would you need to do it?
2
4,700,262
01/15/2011 15:06:54
378,183
06/28/2010 15:50:07
757
16
How do I make a single WordPress installation seem to power two sites?
I'd like to set up a single WordPress installation at `siteA.com` with 2 static pages and a blog. I have two domain names and I would like to set it up so that `siteA.com` shows page 1 as its home page, and `siteB.com` would show page 2 as the homepage. **Both sites would share the blog contents.** Since the Wordpre...
php
wordpress
.htaccess
null
null
null
open
How do I make a single WordPress installation seem to power two sites? === I'd like to set up a single WordPress installation at `siteA.com` with 2 static pages and a blog. I have two domain names and I would like to set it up so that `siteA.com` shows page 1 as its home page, and `siteB.com` would show page 2 as the ...
0
9,601,516
03/07/2012 12:27:53
560,065
01/02/2011 00:34:42
265
3
Installing Perl DateTime
When installing DateTime for Perl I get the following errors and it fails; # Failed test 'Make sure we can add 50 years worth of years in America/New_York time zone' # at t/30future-tz.t line 45. Use of uninitialized value in numeric ge (>=) at /home/bensley/.cpan/build/DateTime-0.72/blib/lib/DateT...
perl
perl-module
null
null
null
null
open
Installing Perl DateTime === When installing DateTime for Perl I get the following errors and it fails; # Failed test 'Make sure we can add 50 years worth of years in America/New_York time zone' # at t/30future-tz.t line 45. Use of uninitialized value in numeric ge (>=) at /home/bensley/.cpan/buil...
0
7,787,762
10/16/2011 22:22:37
638,036
02/28/2011 16:36:14
752
57
String literal token generates MismatchedTokenException with escape sequence token
I am currently trying to implement an Antlr parser.<br/> I obtain strange MismatchedTokenException in a token that identifies string literals once I add escape sequence support. Following is the Antlr parser example that causes the issue: rule: STRING_LITERAL ; STRING_LITERAL : '"' S...
antlr
antlr3
null
null
null
null
open
String literal token generates MismatchedTokenException with escape sequence token === I am currently trying to implement an Antlr parser.<br/> I obtain strange MismatchedTokenException in a token that identifies string literals once I add escape sequence support. Following is the Antlr parser example that causes ...
0
5,683,565
04/16/2011 00:18:56
209,432
11/12/2009 09:25:12
48
1
Scp from iPad (or alternative)
I want to scp photos from my iPad to my server. I use MobileTerminal but ssh nor scp seem to be valid commands :S Guess it's not inatalled. Is there any way to install scp or a alternative that works like scp? I don't have FTP on my server and I need to send large amounts of photos. Thanks in advance!
ipad
scp
null
null
null
04/16/2011 14:44:10
off topic
Scp from iPad (or alternative) === I want to scp photos from my iPad to my server. I use MobileTerminal but ssh nor scp seem to be valid commands :S Guess it's not inatalled. Is there any way to install scp or a alternative that works like scp? I don't have FTP on my server and I need to send large amounts of photo...
2
7,057,990
08/14/2011 16:09:49
585,101
01/21/2011 21:46:19
469
31
form_tag not working as expected
I've added a method to my controller and routed it correctly but when I try to call it from a `form_tag` it give me a router error. What's going on? <% form_tag search_item_path, :method => 'get' do %> <%= text_field_tag :name , '' %> <%= submit_tag "Submit" %> <% end %> routes: reso...
ruby-on-rails
ruby-on-rails-3
routes
null
null
null
open
form_tag not working as expected === I've added a method to my controller and routed it correctly but when I try to call it from a `form_tag` it give me a router error. What's going on? <% form_tag search_item_path, :method => 'get' do %> <%= text_field_tag :name , '' %> <%= submit_tag "Submit" %>...
0
10,239,455
04/20/2012 02:31:25
1,100,624
12/15/2011 19:29:45
11
1
Advice on which technologies to use for a client-server desktop application
I am writing a desktop application in Java which will allow clients to authenticate to a server with their credentials, and afterwards view and manipulate some data (orders, invoices, employees etc.) stored on the server. I have decided to use Java to write the client, with SWT for the GUI. However, since I haven't ...
java
python
rest
soap
technologies
04/20/2012 04:19:21
not constructive
Advice on which technologies to use for a client-server desktop application === I am writing a desktop application in Java which will allow clients to authenticate to a server with their credentials, and afterwards view and manipulate some data (orders, invoices, employees etc.) stored on the server. I have decided...
4
6,910,295
08/02/2011 10:00:32
864,866
07/27/2011 07:20:33
28
0
Want to create a super-modern interface in HTML5
i would like to create an app for my company to handle internal workflow documentation, that need to be approved from several levels with a fresh and modern interface. I NEED to make a stunning interface and i'm trying to find something different to the classic (and maybe *old* jqueryUI); i would like to use html5 b...
html5
user-interface
null
null
null
08/02/2011 10:44:28
not a real question
Want to create a super-modern interface in HTML5 === i would like to create an app for my company to handle internal workflow documentation, that need to be approved from several levels with a fresh and modern interface. I NEED to make a stunning interface and i'm trying to find something different to the classic (...
1
11,044,121
06/15/2012 03:09:26
1,051,745
11/17/2011 12:08:27
6
0
Dynamic Form Generation Via PHP MYSQL
I have a form with dynamic input fields . Admin can add /delete/edit additional form fields to form (from backed). so if a any changes done to form->input element that element will be rendered with changes . I managed to generate forms with using numbering . that means each input->name data will stored in one table...
php
mysql
dynamic-data
dynamic-forms
null
06/16/2012 02:58:47
not a real question
Dynamic Form Generation Via PHP MYSQL === I have a form with dynamic input fields . Admin can add /delete/edit additional form fields to form (from backed). so if a any changes done to form->input element that element will be rendered with changes . I managed to generate forms with using numbering . that means eac...
1
10,154,595
04/14/2012 15:04:54
902,207
08/19/2011 09:57:20
239
14
Using a variable in a selector in LESS
I have a variable `@index` and I want to output a selector so that when `@index` is `3`, the selector is `[data-sth="3"]`. Longer example: @index: 3; /* selector here */ { color: red; } Desired output: [data-sth="3"] { color: red; } I've tried a few things, but ha...
less
null
null
null
null
null
open
Using a variable in a selector in LESS === I have a variable `@index` and I want to output a selector so that when `@index` is `3`, the selector is `[data-sth="3"]`. Longer example: @index: 3; /* selector here */ { color: red; } Desired output: [data-sth="3"] { color: re...
0
7,306,076
09/05/2011 09:17:46
928,294
09/05/2011 05:39:21
1
3
What is this error means?
when i am trying to access a fanpage like this http://www.facebook.com/dialog/oauth?%20%20%20%20client_id=MY_APP_ID&redirect_uri=/FANSITE_ADDRESS&display=wap I GOT THIS ERROR ! **FACEBOOK** Sorry, something went wrong. We're working on getting this fixed as soon as we can. « Back to Home** here MY_APP...
facebook
page
web
null
null
09/05/2011 22:30:13
off topic
What is this error means? === when i am trying to access a fanpage like this http://www.facebook.com/dialog/oauth?%20%20%20%20client_id=MY_APP_ID&redirect_uri=/FANSITE_ADDRESS&display=wap I GOT THIS ERROR ! **FACEBOOK** Sorry, something went wrong. We're working on getting this fixed as soon as we can. ...
2
10,438,727
05/03/2012 20:18:00
944,247
09/14/2011 09:16:27
12
1
what is assembly? In vs in 1 project i see 1 assembly.info file. Can i say 1 project=1 assembly?
I read many theoritical definitions on assembly. But i m not clear finally what actually is assembly in dotnet.
c#
.net
null
null
null
05/03/2012 20:21:51
not a real question
what is assembly? In vs in 1 project i see 1 assembly.info file. Can i say 1 project=1 assembly? === I read many theoritical definitions on assembly. But i m not clear finally what actually is assembly in dotnet.
1
7,741,619
10/12/2011 14:25:28
125,857
06/19/2009 16:52:42
949
3
How to make imported functions have same param order as the SP?
WIth EF 4.0, any Stored Procedure can be imported as function in edmx. When I imported sp, the function has different parameter order as orginal SP has. How to enforce imported function have same parameter order as orginal SP has?
entity-framework
entity-framework-4
entity-framework-4.1
null
null
null
open
How to make imported functions have same param order as the SP? === WIth EF 4.0, any Stored Procedure can be imported as function in edmx. When I imported sp, the function has different parameter order as orginal SP has. How to enforce imported function have same parameter order as orginal SP has?
0
9,281,251
02/14/2012 17:18:10
669,153
03/21/2011 09:27:52
288
17
reopen model dialog jquery
Hi<br/>I have a modal dialog what open when the document is ready.<br/>When I close it, I have this error `Object doesn't support property or method 'dialog'` at `$("#dialog").dialog('close');` and I can't reopen it. $("#info").find(".openImg").click(function() { $("#dialog").load("/Ajax.htm", function() { ...
jquery
html
null
null
null
02/15/2012 16:24:48
too localized
reopen model dialog jquery === Hi<br/>I have a modal dialog what open when the document is ready.<br/>When I close it, I have this error `Object doesn't support property or method 'dialog'` at `$("#dialog").dialog('close');` and I can't reopen it. $("#info").find(".openImg").click(function() { $("#dialog").l...
3
8,475,770
12/12/2011 14:23:13
711,628
04/16/2011 22:38:34
21
1
Wpf MessageBox taskbar visiblity issue
Good day. I have WPF application, which, in some situations, may show MessageBox before the MainWindow is inited and it must be visible in taskbar. I can't set owner to MainWindow, because it is not ready. Could somebody help? Many thanks
c#
wpf
.net-4.0
messagebox
null
12/12/2011 17:22:51
not a real question
Wpf MessageBox taskbar visiblity issue === Good day. I have WPF application, which, in some situations, may show MessageBox before the MainWindow is inited and it must be visible in taskbar. I can't set owner to MainWindow, because it is not ready. Could somebody help? Many thanks
1
11,339,122
07/05/2012 06:49:40
1,350,602
04/23/2012 06:03:14
15
0
What is "impression" and "request" mean in admob?
I cannot find the definition of these 2 terms, what exactly they mean? I know I will get credit if the user "click" the ads. But what about "impression" and "request"?
android
admob
null
null
null
07/05/2012 14:40:07
off topic
What is "impression" and "request" mean in admob? === I cannot find the definition of these 2 terms, what exactly they mean? I know I will get credit if the user "click" the ads. But what about "impression" and "request"?
2
11,201,479
06/26/2012 05:56:56
1,411,084
05/22/2012 19:37:17
1
0
read logcats at every run
I want to read logcat , but there is aa problem , most of source codes are available are designed to load logs manulay , I want some thing like build in Eclipse Logcat reader that loads logs automatically . I do not want use timer to load logs at , I need it when logs changed . is there ?
android
null
null
null
null
06/27/2012 11:48:02
not a real question
read logcats at every run === I want to read logcat , but there is aa problem , most of source codes are available are designed to load logs manulay , I want some thing like build in Eclipse Logcat reader that loads logs automatically . I do not want use timer to load logs at , I need it when logs changed . is ...
1
5,256,355
03/10/2011 06:41:30
653,006
03/10/2011 06:34:18
1
0
php drop down list
i’m new to codeigniter and i’m working on a project. i have to create a dynamic drop down menu with values from my database, when a selection is made in the drop down as soon as you click on the submit button a new page has to occur where all the cities associated with the province selected in the drop menu appear, the...
php-frameworks
null
null
null
null
null
open
php drop down list === i’m new to codeigniter and i’m working on a project. i have to create a dynamic drop down menu with values from my database, when a selection is made in the drop down as soon as you click on the submit button a new page has to occur where all the cities associated with the province selected in t...
0
5,465,678
03/28/2011 22:13:30
681,023
03/28/2011 22:00:15
1
0
how do i create a li k from 1 module to another in java???
heyy guys , I just created a server-client program and a login page in "java" but now am not able to connect or link those two modules !!! if u enter username and password correctly it has to load the server-client program but in my case login stuff and that server-client program is working properly but they both ar...
java
login
connection
client
null
03/29/2011 00:42:44
not a real question
how do i create a li k from 1 module to another in java??? === heyy guys , I just created a server-client program and a login page in "java" but now am not able to connect or link those two modules !!! if u enter username and password correctly it has to load the server-client program but in my case login stuff and...
1
7,370,863
09/10/2011 09:34:59
137,328
07/13/2009 10:18:37
86
0
problem using Data paginator in icefaces
I have been trying to populate data from a csv file in ice:datatable. I am trying to bind the datatable to a data paginator to display 10 rows on each page.But when I click on other page numbers of paginator,it encounters the following exception java.lang.IllegalArgumentException: -10 at javax.faces.component.UIDa...
icefaces
null
null
null
null
null
open
problem using Data paginator in icefaces === I have been trying to populate data from a csv file in ice:datatable. I am trying to bind the datatable to a data paginator to display 10 rows on each page.But when I click on other page numbers of paginator,it encounters the following exception java.lang.IllegalArgument...
0
7,738,526
10/12/2011 10:19:23
988,670
10/11/2011 01:43:29
4
0
sql query to display employees with the same sally and commission
hey guy im not that good at sql so need some help the question is DISPLAY THE NAME,DEPARTMENT NAME AND SALARY OF ANY EMPLOYEE WHOSE SALARY AND COMMISSION(BOTH) MATCH THE SALARY AND COMMISSION OF ANY EMPLOYEE LOCATED IN DALLAS. INCLUDE EMPLOYEES WORKING IN DALLAS IN YOUR RESULT. this is my code so far which come...
sql
query
null
null
null
10/12/2011 20:05:38
too localized
sql query to display employees with the same sally and commission === hey guy im not that good at sql so need some help the question is DISPLAY THE NAME,DEPARTMENT NAME AND SALARY OF ANY EMPLOYEE WHOSE SALARY AND COMMISSION(BOTH) MATCH THE SALARY AND COMMISSION OF ANY EMPLOYEE LOCATED IN DALLAS. INCLUDE EMPLOYEES...
3
11,740,713
07/31/2012 13:01:37
1,183,113
02/01/2012 16:00:19
60
7
jquery ui popup MVC 3 not firing
Developing an ASP.NET MVC 3 application (my first) and running into some trouble with jQuery, as I've never used it before. I'm trying to open up details for a particular search result in a modal dialog. relevant razor code: @foreach (var item in Model.claims) { <tr> <td...
jquery
asp.net-mvc-3
razor
null
null
null
open
jquery ui popup MVC 3 not firing === Developing an ASP.NET MVC 3 application (my first) and running into some trouble with jQuery, as I've never used it before. I'm trying to open up details for a particular search result in a modal dialog. relevant razor code: @foreach (var item in Model.claims) { ...
0
1,998,166
01/04/2010 08:16:03
243,049
01/04/2010 08:16:03
1
0
What next in the career map for a Lead QA Engineer
I am a Lead QA Engineer in a Software company and at a stage in my career wherein i need to plan my next move. Option 1: The very obvious move would be to stay as a QA Lead and eventually become a QA Manager. But i don't see very good prospects/future after that. Or am i wrong? Option 2: I love programming/codin...
qa
career
development
null
null
02/02/2012 08:38:46
not constructive
What next in the career map for a Lead QA Engineer === I am a Lead QA Engineer in a Software company and at a stage in my career wherein i need to plan my next move. Option 1: The very obvious move would be to stay as a QA Lead and eventually become a QA Manager. But i don't see very good prospects/future after th...
4
2,050,281
01/12/2010 16:03:28
101,152
05/04/2009 21:23:56
408
6
Some really ugly C macro
I need some really ugly C macro (as an example, not to any real project), that does some simple thing (like adding one, for example) really hard and unreadable way. Anyone has some idea?
c
macros
null
null
null
01/12/2010 16:20:02
not a real question
Some really ugly C macro === I need some really ugly C macro (as an example, not to any real project), that does some simple thing (like adding one, for example) really hard and unreadable way. Anyone has some idea?
1
8,684,609
12/30/2011 22:20:06
621,338
02/17/2011 12:03:19
1,077
62
Dude, where's my php.ini?
So a few years ago I installed apache 2.2x and php 5.3.1 on a Linux server I maintain. I used .tar.gz's and built them as instructed (instead of rpms and what-have-you). And all was fine. Today I need to install this http://us2.php.net/ibm_db2 which seems like a php library. I went through all the steps up to make...
php
linux
php5
db2
db2-luw
null
open
Dude, where's my php.ini? === So a few years ago I installed apache 2.2x and php 5.3.1 on a Linux server I maintain. I used .tar.gz's and built them as instructed (instead of rpms and what-have-you). And all was fine. Today I need to install this http://us2.php.net/ibm_db2 which seems like a php library. I went t...
0
5,707,214
04/18/2011 18:29:17
713,899
04/18/2011 17:58:49
1
0
Manipulating data in a Microsoft Access table
I have a large database of client details, and I need to generate a totally new field of data based on a single other field. It would be a simple IF..THEN deal. Example: The source field has data that looks like this "BAR DIN" (Barrie Dinners) and I need to fill a new field with "Dinners". From what I understan...
ms-access
macros
datatable
null
null
null
open
Manipulating data in a Microsoft Access table === I have a large database of client details, and I need to generate a totally new field of data based on a single other field. It would be a simple IF..THEN deal. Example: The source field has data that looks like this "BAR DIN" (Barrie Dinners) and I need to fill a...
0
9,826,806
03/22/2012 16:48:02
1,286,483
03/22/2012 16:41:18
1
0
using recuresion tree to find upper bound guess, Algorithms
how can i find guess by using the recursion tree for this recursion T(n)= 2 T(n^1/2) + O (lgn) any help would be apreciated
algorithm
null
null
null
null
03/31/2012 19:04:50
not a real question
using recuresion tree to find upper bound guess, Algorithms === how can i find guess by using the recursion tree for this recursion T(n)= 2 T(n^1/2) + O (lgn) any help would be apreciated
1
2,995,745
06/08/2010 08:28:09
235,973
12/21/2009 12:01:47
1
0
Samsung i7500 Galaxy - speakers, calling problem after listening music
I've been listening music on my Samsung i7500 Galaxy with headset plugged to the device. After listening I've plugged headset out and now while I call to somebody I see there is a call on the device screen, but either me, either person whom I am calling to, doesn't hear the other person. While I plug headset again I ca...
android
call
speaker
android-hardware
null
06/10/2011 09:33:34
off topic
Samsung i7500 Galaxy - speakers, calling problem after listening music === I've been listening music on my Samsung i7500 Galaxy with headset plugged to the device. After listening I've plugged headset out and now while I call to somebody I see there is a call on the device screen, but either me, either person whom I a...
2