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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3,440,869 | 08/09/2010 14:15:31 | 40,655 | 11/25/2008 14:44:44 | 14,606 | 480 | ASP.Net RadioButton control inherits CheckBox | I've just encountered a "bug" with the following code.
foreach(Control control in controls)
{
if(control is TextBox)
{
//Do textbox stuff
}
if(control is CheckBox)
{
//Do checkbox stuff
}
if(control is RadioButton)
... | asp.net | inheritance | checkbox | radio-button | null | null | open | ASP.Net RadioButton control inherits CheckBox
===
I've just encountered a "bug" with the following code.
foreach(Control control in controls)
{
if(control is TextBox)
{
//Do textbox stuff
}
if(control is CheckBox)
{
//Do checkbox stuff
... | 0 |
9,785,996 | 03/20/2012 11:35:53 | 1,201,492 | 02/10/2012 07:18:15 | 678 | 9 | how to get he innnerhtml of div in jquery | I want to get the innerhtml of div in Jquery using `.html()` but it is not displaying anything. whereas id is not null | jquery | div | null | null | null | 03/21/2012 12:43:28 | not a real question | how to get he innnerhtml of div in jquery
===
I want to get the innerhtml of div in Jquery using `.html()` but it is not displaying anything. whereas id is not null | 1 |
1,297,586 | 08/19/2009 02:39:54 | 158,933 | 08/19/2009 02:34:18 | 1 | 0 | Top 5 to 10 Installer Packages | Can somebody give me top 5 to 10 Installer Packages Creator aside from WIX and MSI? The said installer creators has the folowing capabilities:
1. Supports MSI
2. Has scriptiing capabilities
3. Custom/user-defined U.I.
4. Has product-key or authorization-key capability
5. Has a boot-strap loader for .NET fra... | installer | null | null | null | null | 09/15/2011 13:01:36 | not constructive | Top 5 to 10 Installer Packages
===
Can somebody give me top 5 to 10 Installer Packages Creator aside from WIX and MSI? The said installer creators has the folowing capabilities:
1. Supports MSI
2. Has scriptiing capabilities
3. Custom/user-defined U.I.
4. Has product-key or authorization-key capability
5. ... | 4 |
3,307,944 | 07/22/2010 10:42:59 | 301,575 | 03/25/2010 09:54:43 | 42 | 0 | pinch gesture in iphone sdk | hi i want to know how i detect the font size of text when i use pinch gesture in iphone sdk | iphone | gesture-recognition | null | null | null | 07/24/2010 01:57:54 | not a real question | pinch gesture in iphone sdk
===
hi i want to know how i detect the font size of text when i use pinch gesture in iphone sdk | 1 |
8,203,951 | 11/20/2011 19:12:03 | 496,965 | 11/04/2010 09:00:55 | 548 | 10 | JS: How to handly dynamically returning values given by php with multable lines? | I'm trying to realize an indexhandler. Now I can click on a field in HTML and a second window appears. Then, by clicking one of several buttons on the second page, a value gets returned in the field of the first window. This works like this:
self.opener.document.getElementById('idOfFieldOnWindow1').value = 'myVa... | php | javascript | return | null | null | 11/21/2011 01:46:42 | not a real question | JS: How to handly dynamically returning values given by php with multable lines?
===
I'm trying to realize an indexhandler. Now I can click on a field in HTML and a second window appears. Then, by clicking one of several buttons on the second page, a value gets returned in the field of the first window. This works lik... | 1 |
5,679,243 | 04/15/2011 15:47:01 | 675,315 | 03/24/2011 16:41:33 | 6 | 0 | simple Java problem | Example 1 - works
public class MainScreen extends Activity implements OnClickListener {
public void onClick(View v) {
Button touchedButton = (Button) v;
Test (MainScreen.this, touchedButton.getId());
}
public void Test (MainScreen mainscreen, int touchedButton) {
if (touchedButto... | java | null | null | null | null | 01/27/2012 13:33:59 | not a real question | simple Java problem
===
Example 1 - works
public class MainScreen extends Activity implements OnClickListener {
public void onClick(View v) {
Button touchedButton = (Button) v;
Test (MainScreen.this, touchedButton.getId());
}
public void Test (MainScreen mainscreen, int touchedButto... | 1 |
4,905,781 | 02/05/2011 08:01:52 | 474,403 | 10/13/2010 11:41:27 | 1 | 0 | RoR nested categories | I wonder how to make url like: site.com/coding/ruby/rails/article-name
As you can see there is nested category. I've already looked at acts-as-tree and awesome nested sets, but it makes urls like site.com/rails/article-name.
So, please help me | ruby-on-rails | ruby-on-rails-3 | nested | url-routing | null | null | open | RoR nested categories
===
I wonder how to make url like: site.com/coding/ruby/rails/article-name
As you can see there is nested category. I've already looked at acts-as-tree and awesome nested sets, but it makes urls like site.com/rails/article-name.
So, please help me | 0 |
9,009,320 | 01/25/2012 19:53:06 | 386,679 | 07/08/2010 13:12:37 | 390 | 20 | Can't align right hand edges of form elements using percentage widths | Put simply the problem is thus:
If the first form element uses 90% of page width why doesn't the second row of elements, using 35% and 55%, use the same amount of the pages width?
I find I have to tweak the % up by differing amounts depending on the elements/page composition.
More confusingly as browser width... | html | css | forms | browser | alignment | null | open | Can't align right hand edges of form elements using percentage widths
===
Put simply the problem is thus:
If the first form element uses 90% of page width why doesn't the second row of elements, using 35% and 55%, use the same amount of the pages width?
I find I have to tweak the % up by differing amounts depen... | 0 |
4,330,569 | 12/02/2010 00:29:08 | 258,817 | 01/25/2010 21:52:28 | 116 | 4 | Deserializing empty array to Dictionary | I'm working on a Silverlight 3 application that has to communicate with a PHP 5.2.13 server app.
We're using [JSON.NET][1] to finish the job, but I'm having some problems with Dictionaries.
I'm doing some experiments and trying to deserialize an object that contains a Dictionary:
public Dictionary<string, Bl... | c# | php | json.net | null | null | null | open | Deserializing empty array to Dictionary
===
I'm working on a Silverlight 3 application that has to communicate with a PHP 5.2.13 server app.
We're using [JSON.NET][1] to finish the job, but I'm having some problems with Dictionaries.
I'm doing some experiments and trying to deserialize an object that contains a Di... | 0 |
10,152,757 | 04/14/2012 10:09:25 | 1,069,481 | 11/28/2011 14:15:18 | 7 | 5 | Landscape and portrait mode for application | I have defined two different layouts in my application.For portrait it is in layout folder and for landscape mode it is in layout-land folder.I have callde two APIs at one page that calls data from web server.Now it automatically moves to both mode.I am testing this on htc froyo set.
What i am finding that after swi... | android | null | null | null | null | 04/14/2012 12:30:20 | not a real question | Landscape and portrait mode for application
===
I have defined two different layouts in my application.For portrait it is in layout folder and for landscape mode it is in layout-land folder.I have callde two APIs at one page that calls data from web server.Now it automatically moves to both mode.I am testing this on h... | 1 |
11,127,945 | 06/20/2012 20:47:15 | 724,695 | 04/26/2011 03:31:41 | 393 | 7 | DirectX Demo does not draw anything on screen | I am learning DirectX 11 right now, and was trying out one of the demos from the book "Beginning DirectX 11 programming". I followed the books guidelines to make a base class that handles window creation and destruction(including d3d11 setup). All other demos are based on this class. So I was writing the Triangle demo,... | directx | directx-11 | null | null | null | null | open | DirectX Demo does not draw anything on screen
===
I am learning DirectX 11 right now, and was trying out one of the demos from the book "Beginning DirectX 11 programming". I followed the books guidelines to make a base class that handles window creation and destruction(including d3d11 setup). All other demos are based... | 0 |
10,669,301 | 05/19/2012 22:31:08 | 967,451 | 09/27/2011 15:54:34 | 894 | 12 | How to output decimals numbers in PHP for loop? | This:
for($i = 5.0; $i < 7.0; $i++) {
echo $i.'<br />';
}
Outputs:
5
6
I would like to output:
5.0
5.1
5.2
5.3
5.4
5.5
5.6
5.7
5.8
5.9
5.10
5.11
5.12
6.0
6.1
6.2
6.3
6.4
6.5
6.6
6.7
... | php | null | null | null | null | 05/20/2012 21:25:17 | too localized | How to output decimals numbers in PHP for loop?
===
This:
for($i = 5.0; $i < 7.0; $i++) {
echo $i.'<br />';
}
Outputs:
5
6
I would like to output:
5.0
5.1
5.2
5.3
5.4
5.5
5.6
5.7
5.8
5.9
5.10
5.11
5.12
6.0
6.1
... | 3 |
11,561,625 | 07/19/2012 13:12:35 | 1,043,852 | 11/13/2011 04:20:17 | 8 | 0 | Resources for making my own motherboard using 8086 or 80386 or x86 processor? | I am not crazy but just trying to reinvent the wheel to learn more about it. I am electronics graduate and want to make my own motherboard.
I want to do this to improve my assembly programming skills. I have done some small projects like making small hardware and writing drivers for them. But, recently i learned x86 ... | assembly | x86 | hardware | motherboard | null | 07/19/2012 15:31:23 | off topic | Resources for making my own motherboard using 8086 or 80386 or x86 processor?
===
I am not crazy but just trying to reinvent the wheel to learn more about it. I am electronics graduate and want to make my own motherboard.
I want to do this to improve my assembly programming skills. I have done some small projects li... | 2 |
8,946,230 | 01/20/2012 18:38:41 | 1,032,511 | 11/06/2011 17:23:47 | 26 | 3 | Trying to make a Custom UITableViewCell with a UITextField becomeFirstResponder when Editing | I have a UITableViewController with custom UITableViewCells that contain a UITextField. When switching the table view into edit mode, I add a new cell to the bottom of the table and would like to make this cell becomeFirstResponder. My tableView:cellForRowAtIndexPath method checks for this bottom cell, so I just added ... | ios5 | null | null | null | null | null | open | Trying to make a Custom UITableViewCell with a UITextField becomeFirstResponder when Editing
===
I have a UITableViewController with custom UITableViewCells that contain a UITextField. When switching the table view into edit mode, I add a new cell to the bottom of the table and would like to make this cell becomeFirst... | 0 |
3,164,054 | 07/02/2010 07:54:23 | 343,606 | 05/18/2010 02:11:21 | 3 | 0 | What's the redundant data in TCP packet? | I am reading "Unix Network Programming" and tcpdump the packet generate by the example. The example is just send out a packet contain string "liha".
I read the TCP/IP RFC and found normal IP header is 20B. and normal TCP header except data is 24B.
So, there are 8B before string "liha" in the captured packet. Are... | linux | tcp | tcpdump | null | null | null | open | What's the redundant data in TCP packet?
===
I am reading "Unix Network Programming" and tcpdump the packet generate by the example. The example is just send out a packet contain string "liha".
I read the TCP/IP RFC and found normal IP header is 20B. and normal TCP header except data is 24B.
So, there are 8B ... | 0 |
8,455,111 | 12/10/2011 07:23:55 | 429,107 | 08/24/2010 04:35:08 | 1 | 0 | How to track for 2 domains of example.org and example.org.cn? | just want to make sure what I did is correct.
I have 2 domains which is domain.org and domain.org.cn
They both are the same site actually, is just showing different language.
My question is, if I want to track those 2 sites using one GA id, I should just use 'Multiple top level domains', is it correct?
Why I'm ... | google | google-analytics | null | null | null | 12/10/2011 17:45:37 | off topic | How to track for 2 domains of example.org and example.org.cn?
===
just want to make sure what I did is correct.
I have 2 domains which is domain.org and domain.org.cn
They both are the same site actually, is just showing different language.
My question is, if I want to track those 2 sites using one GA id, I shoul... | 2 |
8,347,030 | 12/01/2011 19:20:17 | 465,175 | 10/03/2010 13:28:28 | 1 | 0 | I'm sending a HTML attachment from SQL Server DB Mail. Why does it have the incorrect MIME type? | When using SQL Server DB Mail to attach an HTML file to a message, the attachment is sent with the incorrect MIME type. When I attach the file inside Outlook, the MIME type is correct. Here is the MIME info from Outlook:
------_=_NextPart_001_01CCB05C.5F8D1025
Content-Type: text/html;
name="saved-no... | sql-server | sql-server-2005 | tsql | mime-types | dbmail | 12/02/2011 01:09:43 | off topic | I'm sending a HTML attachment from SQL Server DB Mail. Why does it have the incorrect MIME type?
===
When using SQL Server DB Mail to attach an HTML file to a message, the attachment is sent with the incorrect MIME type. When I attach the file inside Outlook, the MIME type is correct. Here is the MIME info from Outl... | 2 |
10,533,747 | 05/10/2012 12:14:39 | 1,387,011 | 05/10/2012 12:00:41 | 1 | 0 | JPA entity relationship | I have 3 entities "Teacher,Subject,Form". I want to create a relationship whose primary key is the foreign keys of these "Teacher, Subject, Form". This my relationship entity.
@Entity
public class TeacherFormMap extends Model{
@Id
@ManyToOne
@JoinColumn(name="tchId")
public Teach... | c# | php | c++ | null | null | 07/10/2012 11:46:33 | not a real question | JPA entity relationship
===
I have 3 entities "Teacher,Subject,Form". I want to create a relationship whose primary key is the foreign keys of these "Teacher, Subject, Form". This my relationship entity.
@Entity
public class TeacherFormMap extends Model{
@Id
@ManyToOne
@JoinColumn(na... | 1 |
9,652,393 | 03/11/2012 04:17:25 | 1,261,847 | 03/11/2012 04:15:35 | 1 | 0 | Selling paid apps from India on Android store? | I am located in India. Can developers in India sell PAID mobile apps on android and apple store? I know that free apps can be sold but cannot find enough information about selling paid apps.
If not what is the workaround for this? Please advice.
Thanks.. | android | iphone | null | null | null | 04/01/2012 13:28:55 | off topic | Selling paid apps from India on Android store?
===
I am located in India. Can developers in India sell PAID mobile apps on android and apple store? I know that free apps can be sold but cannot find enough information about selling paid apps.
If not what is the workaround for this? Please advice.
Thanks.. | 2 |
11,395,622 | 07/09/2012 13:04:36 | 1,510,692 | 07/08/2012 23:17:46 | 8 | 0 | Chrome extension to reload and close tab after a time interval | i am working on a extension for google chrome that reloads the a tab once after 2 seconds that the page has loaded and after that waits for 30 minutes and closes the tab or google chrome window.
ive tried these scripts in my .js file but none of them seem to worked
chrome.tabs.reload(integer tabId, object ... | javascript | google-chrome | script | google-chrome-extension | null | null | open | Chrome extension to reload and close tab after a time interval
===
i am working on a extension for google chrome that reloads the a tab once after 2 seconds that the page has loaded and after that waits for 30 minutes and closes the tab or google chrome window.
ive tried these scripts in my .js file but none of them ... | 0 |
8,618,730 | 12/23/2011 17:05:29 | 124,658 | 06/17/2009 20:43:34 | 80 | 4 | Web Application Deployment | I am using Visual Developer 2010 Express and having a hard time getting my web application to run under IIS. When I configure it in VS, I get an error saying I have a syntax error. When I try to launch the Web Site via the browser, I get a 404 on any one of the pages. This is my first intranet website and I am not th... | c# | asp.net | visual-studio | visual-studio-2010 | iis | 12/24/2011 17:45:54 | not a real question | Web Application Deployment
===
I am using Visual Developer 2010 Express and having a hard time getting my web application to run under IIS. When I configure it in VS, I get an error saying I have a syntax error. When I try to launch the Web Site via the browser, I get a 404 on any one of the pages. This is my first ... | 1 |
5,619,223 | 04/11/2011 09:22:59 | 698,330 | 04/08/2011 09:05:00 | 27 | 0 | Default Threads in Java | How many default Threads are started when ever we call jvm if there is no user created threads in the code ? I already Know 2 threads are going to start, those are
1) Main thread (Non Deamon Thread)
2) Garbage Collector (Deamon Thread) | java | multithreading | null | null | null | null | open | Default Threads in Java
===
How many default Threads are started when ever we call jvm if there is no user created threads in the code ? I already Know 2 threads are going to start, those are
1) Main thread (Non Deamon Thread)
2) Garbage Collector (Deamon Thread) | 0 |
10,561,478 | 05/12/2012 06:03:56 | 1,390,675 | 05/12/2012 05:46:30 | 1 | 0 | Find, copy, and replace with regexp or other? | I am a linguist (attempting some data mining of the Latin language) but am rather new to programming.
I have a file constituted like this:
cerycium:cerycia
cessatio:cessatio
cessatione
cessicius:cessicia
cessio:cessio
cessione
cessionem
cessioni
and I need it organize... | python | regex | bash | nlp | null | 05/13/2012 04:37:12 | not a real question | Find, copy, and replace with regexp or other?
===
I am a linguist (attempting some data mining of the Latin language) but am rather new to programming.
I have a file constituted like this:
cerycium:cerycia
cessatio:cessatio
cessatione
cessicius:cessicia
cessio:cessio
cessione
... | 1 |
5,920,928 | 05/07/2011 12:12:04 | 780,582 | 04/29/2011 06:04:39 | 4 | 0 | how to find the roots of polynomial equation of 'n'th degree in java | pls help me for resolving the above problem. | java | null | null | null | null | 05/07/2011 12:30:13 | not a real question | how to find the roots of polynomial equation of 'n'th degree in java
===
pls help me for resolving the above problem. | 1 |
6,091,656 | 05/23/2011 00:04:24 | 58 | 08/01/2008 13:56:33 | 4,145 | 60 | Is there a web host that will allow me to run nodejs? | Are there any web hosts out there offering node js support? | node.js | web-hosting | null | null | null | 05/23/2011 00:13:11 | too localized | Is there a web host that will allow me to run nodejs?
===
Are there any web hosts out there offering node js support? | 3 |
1,383,378 | 09/05/2009 14:01:58 | 135,786 | 07/09/2009 16:59:12 | 621 | 43 | In a WPF binding, how can I manipulate the data I'm binding, like, say concat two strings together? | I'd really like to be able to do some manipulation to the stuff I'm binding. Similar to being able to call String.Format() in a <%#%> tag in ASP.Net.
For example, assuming this is the type I'm binding:
class User {
public string FirstName { get; set; }
public string LastName { get; set; }
... | wpf | data-binding | c# | null | null | null | open | In a WPF binding, how can I manipulate the data I'm binding, like, say concat two strings together?
===
I'd really like to be able to do some manipulation to the stuff I'm binding. Similar to being able to call String.Format() in a <%#%> tag in ASP.Net.
For example, assuming this is the type I'm binding:
cla... | 0 |
6,057,136 | 05/19/2011 10:19:59 | 725,430 | 04/26/2011 13:13:33 | 131 | 0 | Padding Not Showing? | [On this page][1], the text under the photos in the main section (a.event) isn't showing the 5px padding top and bottom. Any ideas why? Thanks guys =)
a.event {
width:315px;
height:auto;
border:0;
padding: 5px 0;
}
[1]: http://www.glamourunderground.com/fitness/ | css | wordpress | padding | null | null | 05/19/2011 11:46:43 | too localized | Padding Not Showing?
===
[On this page][1], the text under the photos in the main section (a.event) isn't showing the 5px padding top and bottom. Any ideas why? Thanks guys =)
a.event {
width:315px;
height:auto;
border:0;
padding: 5px 0;
}
[1]: http://www.glamourunderground.com/fitness/ | 3 |
924,921 | 05/29/2009 08:12:20 | 75,554 | 03/09/2009 09:59:40 | 462 | 43 | Axis webservice with type="xsd:base64Binary" | So i have a wsdl that defines a message part like the following
<wsdl:message name="processEnvelopeResponse">
<wsdl:part name="processEnvelopeReturn" type="xsd:base64Binary"/>
</wsdl:message>
This maps to a xsd, wich then imports other xsds and so on.
I have the following questions:
1. How can i gen... | java | web-services | axis | null | null | null | open | Axis webservice with type="xsd:base64Binary"
===
So i have a wsdl that defines a message part like the following
<wsdl:message name="processEnvelopeResponse">
<wsdl:part name="processEnvelopeReturn" type="xsd:base64Binary"/>
</wsdl:message>
This maps to a xsd, wich then imports other xsds and so on.
I ... | 0 |
7,297,293 | 09/04/2011 03:45:26 | 656,925 | 08/12/2010 02:22:36 | 899 | 20 | embedded javascritp does not function when inserted in response to an ajax call |
****
embedded javascript in the .innerhtml does not run
I have what I call a mini-feed in which a user submits a post. This initiates an ajax call which saves the user data to the mysql table. From there PHP generates the xhtml. From there the the PHP generated xhtml is sent back to javascript as response te... | javascript | ajax | null | null | null | null | open | embedded javascritp does not function when inserted in response to an ajax call
===
****
embedded javascript in the .innerhtml does not run
I have what I call a mini-feed in which a user submits a post. This initiates an ajax call which saves the user data to the mysql table. From there PHP generates the xht... | 0 |
5,739,020 | 04/21/2011 03:02:23 | 91,748 | 04/16/2009 17:40:46 | 226 | 12 | Do you move up or down a directory structure? | My boss and I are having a discussion about whether moving from a folder to one of it's sub-folders should be referred to as moving 'up' or 'down' (ie: from root, do you move up or down to get to home?). What's the general consensus? | directory-structure | philosophy | null | null | null | 04/21/2011 03:31:52 | too localized | Do you move up or down a directory structure?
===
My boss and I are having a discussion about whether moving from a folder to one of it's sub-folders should be referred to as moving 'up' or 'down' (ie: from root, do you move up or down to get to home?). What's the general consensus? | 3 |
9,039,294 | 01/27/2012 19:58:16 | 1,174,263 | 01/27/2012 19:50:35 | 1 | 0 | App working on the wrong facebook account | I have two accounts and have set up an app on one (SharePress from a WordPress site). When a post is uploaded to facebook it does not appear on the account that has the app............. but it does appear on the account that has no apps. I have been scratching my head for hours. Anyone out there have a clue why this... | facebook | apps | null | null | null | 01/27/2012 21:10:48 | off topic | App working on the wrong facebook account
===
I have two accounts and have set up an app on one (SharePress from a WordPress site). When a post is uploaded to facebook it does not appear on the account that has the app............. but it does appear on the account that has no apps. I have been scratching my head fo... | 2 |
3,626,693 | 09/02/2010 11:36:29 | 168,472 | 09/04/2009 11:45:11 | 102 | 1 | Mac OS X version of Texture2D.m, .h available? | Apple's Texture2D class is a very useful bit of kit for iOS developers.
Q. Is there a Mac OS X version of this class available?
(I've googled but can only find iOS implementations, mostly through Cocos2D projects.)
Cheers. | cocoa | osx | class | opengl | texture2d | null | open | Mac OS X version of Texture2D.m, .h available?
===
Apple's Texture2D class is a very useful bit of kit for iOS developers.
Q. Is there a Mac OS X version of this class available?
(I've googled but can only find iOS implementations, mostly through Cocos2D projects.)
Cheers. | 0 |
9,321,871 | 02/17/2012 01:54:15 | 43,118 | 12/04/2008 06:57:07 | 2,478 | 37 | Avoid needing to set jmxremote ports (to use VisualVM remotely)? | We share a remote Linux box for developing various Java apps, and we use VisualVM over ssh to profile the apps [as described here](http://stackoverflow.com/questions/1609961/visualvm-over-ssh). Is there any way to enable JMX/profiling on our Java processes without needing to allocate/provision port numbers among our pr... | java | jvm | jmx | hotspot | visualvm | null | open | Avoid needing to set jmxremote ports (to use VisualVM remotely)?
===
We share a remote Linux box for developing various Java apps, and we use VisualVM over ssh to profile the apps [as described here](http://stackoverflow.com/questions/1609961/visualvm-over-ssh). Is there any way to enable JMX/profiling on our Java pro... | 0 |
3,547,696 | 08/23/2010 12:53:57 | 418,690 | 08/12/2010 17:03:34 | 83 | 0 | Simplest way to upload images | what is the simplest way to upload multi images (like 30-50) at once using PHP to process them?
Do you know any js/ajax script? Or it possible to use java uploader like on facebook?
I don't need images to use them on WYSIWYG editor, but to upload images per album. so all at once | java | php | upload | null | null | null | open | Simplest way to upload images
===
what is the simplest way to upload multi images (like 30-50) at once using PHP to process them?
Do you know any js/ajax script? Or it possible to use java uploader like on facebook?
I don't need images to use them on WYSIWYG editor, but to upload images per album. so all at once | 0 |
9,114,697 | 02/02/2012 15:10:46 | 775,896 | 05/30/2011 07:41:08 | 383 | 36 | Is there any Apple certification for iOS development? | Is there any certification exam available for iOS development?
Like we have for Microsoft .net or Oracle (SUN) JAVA.
If anyone have any knowledge about this then please share some links for that as I want to get some APPLE certification for iOS development.
Thanks a ton in advance for the reply
Mrunal | iphone | ios | ipad | apple | certification | 07/14/2012 12:34:37 | off topic | Is there any Apple certification for iOS development?
===
Is there any certification exam available for iOS development?
Like we have for Microsoft .net or Oracle (SUN) JAVA.
If anyone have any knowledge about this then please share some links for that as I want to get some APPLE certification for iOS development... | 2 |
8,947,353 | 01/20/2012 20:17:04 | 1,044,581 | 11/13/2011 20:42:38 | 63 | 0 | How do I add Code(bound) to button to control a Function value in a WHERE Clause? | I have this piece of code that controls the day(s) ago in a Date Add Function.
How do I embed this code to a form button, so that I can enter the days in a text box?
> WHERE
> ((DateSerial(CInt(Left([MY_DATE],4)),CInt(Mid([MY_DATE],5,2)),CInt(Right([MY_DATE],2))))=DateAdd("d",-2,Date())))
I want to bound th... | sql | ms-access-2007 | null | null | null | null | open | How do I add Code(bound) to button to control a Function value in a WHERE Clause?
===
I have this piece of code that controls the day(s) ago in a Date Add Function.
How do I embed this code to a form button, so that I can enter the days in a text box?
> WHERE
> ((DateSerial(CInt(Left([MY_DATE],4)),CInt(Mid([MY_... | 0 |
4,095,638 | 11/04/2010 10:17:24 | 435,129 | 08/30/2010 15:54:57 | 362 | 24 | Music meets DSP: What is the difference between Frequency, Pitch, Tone and Note | I am working through some DSP, in regard to writing music related software, and am getting confused by terminology.
I am starting to wonder whether these entities are inherently confusing / handwavey / loosely defined...
**Frequency** is clear: Cycles per second, Hz.
**Pitch**, **Tone** and **Note** are not ... | signal-processing | frequency | pitch | null | null | 11/04/2010 11:06:48 | off topic | Music meets DSP: What is the difference between Frequency, Pitch, Tone and Note
===
I am working through some DSP, in regard to writing music related software, and am getting confused by terminology.
I am starting to wonder whether these entities are inherently confusing / handwavey / loosely defined...
**Frequ... | 2 |
10,071,079 | 04/09/2012 09:05:45 | 1,271,912 | 03/15/2012 15:22:50 | 1 | 4 | What is the best answer for finding the maximum sum possible in an array | The question is :
Find the maximum sum possible in an array of positive integers by selecting the elements in such a way that no two elements are next to each other.
there is an answer like this :
but what is the best answer for this question
Let's denote the array by "t" and index it from 0. Let f be a f... | c | arrays | algorithm | null | null | 04/12/2012 02:56:46 | not a real question | What is the best answer for finding the maximum sum possible in an array
===
The question is :
Find the maximum sum possible in an array of positive integers by selecting the elements in such a way that no two elements are next to each other.
there is an answer like this :
but what is the best answer for this q... | 1 |
8,969,949 | 01/23/2012 10:06:50 | 218,725 | 11/25/2009 15:42:47 | 148 | 0 | Loading Javascript server-side | I'm looking to optimize a website that uses a lot of javascript, I would like to possibly run the javascript server side, can anyone provide any advice on this & javascript optimization in general?
Thanks in advance | javascript | optimization | server-side | null | null | 01/23/2012 20:41:12 | not a real question | Loading Javascript server-side
===
I'm looking to optimize a website that uses a lot of javascript, I would like to possibly run the javascript server side, can anyone provide any advice on this & javascript optimization in general?
Thanks in advance | 1 |
7,342,261 | 09/08/2011 01:38:49 | 933,883 | 09/08/2011 01:38:49 | 1 | 0 | WordPress no longer posts to Facebook | I have been posting my WordPress blog posts to my Facebook Page for several weeks without issue. Suddenly today it is not working (and I see by multiple posts to WordPress that I am not the only one). I have enabled third party cookies as they said to do. I have unlinked and relinked several times, but still I canno... | facebook | wordpress | null | null | null | 09/08/2011 03:46:45 | off topic | WordPress no longer posts to Facebook
===
I have been posting my WordPress blog posts to my Facebook Page for several weeks without issue. Suddenly today it is not working (and I see by multiple posts to WordPress that I am not the only one). I have enabled third party cookies as they said to do. I have unlinked an... | 2 |
10,165,033 | 04/15/2012 18:54:57 | 295,189 | 03/16/2010 21:44:33 | 1,542 | 19 | acl when the user is not allowed , redirect to some default page | sometime if a user manually enters in the url the action where he is not allowed, he gets this
Warning (512): DbAcl::check() - Failed ARO/ACO node lookup in permissions check. Node references:
Aro: Array
(
[User] => Array
(
[id] => 2
[company_i... | cakephp | cakephp-2.0 | cakephp-2.1 | null | null | null | open | acl when the user is not allowed , redirect to some default page
===
sometime if a user manually enters in the url the action where he is not allowed, he gets this
Warning (512): DbAcl::check() - Failed ARO/ACO node lookup in permissions check. Node references:
Aro: Array
(
[User] => Array... | 0 |
4,636,438 | 01/08/2011 22:12:15 | 568,371 | 01/08/2011 22:12:15 | 1 | 0 | PQN-Non Negative Least Squares Algorithm | I'm trying to code up an implementation of the PQN-NNLS algorithm described on page 10 <a href="http://www.wfu.edu/~plemmons/papers/nonneg.pdf">here</a> in C#. I'm having trouble reading the pseudocode though, could anybody give me a hand and write it out in a more intelligible format? I have already seen the matlab im... | c# | pseudocode | least-squares | null | null | null | open | PQN-Non Negative Least Squares Algorithm
===
I'm trying to code up an implementation of the PQN-NNLS algorithm described on page 10 <a href="http://www.wfu.edu/~plemmons/papers/nonneg.pdf">here</a> in C#. I'm having trouble reading the pseudocode though, could anybody give me a hand and write it out in a more intellig... | 0 |
11,058,851 | 06/15/2012 22:16:27 | 1,459,843 | 06/15/2012 22:02:21 | 1 | 0 | website layout not working correctly on older versions of IE - works fine on IE9, FF 13 and chrome | I have created my first site and put alot of time into it and I'm confuse I have tested the site on my browsers
IE9
Chrome 19.0.1084.56 m
Firefox 13.0
My layout all works for me
In checking previous browsers like IE8, IE7 etc the buttons on my menu are not even displaying properly I have an image as a button... | php | css | wordpress | internet-explorer | browser-compatibility | 06/18/2012 03:38:57 | too localized | website layout not working correctly on older versions of IE - works fine on IE9, FF 13 and chrome
===
I have created my first site and put alot of time into it and I'm confuse I have tested the site on my browsers
IE9
Chrome 19.0.1084.56 m
Firefox 13.0
My layout all works for me
In checking previous browse... | 3 |
11,140,770 | 06/21/2012 14:50:00 | 803,801 | 06/17/2011 18:59:12 | 419 | 5 | Matching a character before or after a word, but not both in regex | Lets say I need to match a word `word` where there may be a period before word or after word but not both. Then `word`, `.word`, and `word`. should be matched, but `.word.` should not be matched. How would I match this and capture what occurred before and after the word?
That was a simplified example that I'll need ... | regex | null | null | null | null | null | open | Matching a character before or after a word, but not both in regex
===
Lets say I need to match a word `word` where there may be a period before word or after word but not both. Then `word`, `.word`, and `word`. should be matched, but `.word.` should not be matched. How would I match this and capture what occurred bef... | 0 |
1,853,613 | 12/05/2009 21:58:25 | 457 | 08/05/2008 21:48:25 | 2,867 | 83 | Sinatra/Rack Sleep until Response Ready (like Exchange ActiveSync) | I'm wanting to do a lightweight push-style HTTP response in my existing Sinatra web app. Is there any mechanism that allows me to not respond to an HTTP request and keep the connection open until I wake up the connection at a future time? | ruby | sinatra | rack | push | null | null | open | Sinatra/Rack Sleep until Response Ready (like Exchange ActiveSync)
===
I'm wanting to do a lightweight push-style HTTP response in my existing Sinatra web app. Is there any mechanism that allows me to not respond to an HTTP request and keep the connection open until I wake up the connection at a future time? | 0 |
10,888,584 | 06/04/2012 21:24:21 | 1,112,535 | 12/22/2011 21:48:01 | 86 | 0 | App is not working on Android 4.0.3 but on Android 2.3.4 it is | I've an app that is working perfectly on Android 2.3.4 (Emulator/Phone). But I tried to install it on Android 4.0.3 (Emulator/Phone) and when i run it is not working. It shows me this message
"Unfortunately AppName has stopped"
When appears me an error the app is executing these classes:
public class ... | android | version | ice-cream-sandwich | gingerbread | null | null | open | App is not working on Android 4.0.3 but on Android 2.3.4 it is
===
I've an app that is working perfectly on Android 2.3.4 (Emulator/Phone). But I tried to install it on Android 4.0.3 (Emulator/Phone) and when i run it is not working. It shows me this message
"Unfortunately AppName has stopped"
When appears ... | 0 |
7,985,010 | 11/02/2011 17:53:16 | 1,026,187 | 11/02/2011 17:41:04 | 1 | 0 | Technological and framework choice for implemeting a dynamic programming language | What is the best way to implement a dynamic language (inspired from JavaScript) compiler?
- Translate this language code to C code and then compile the C code to x86
- LLVM Compiler Infrastructure
- Parrot VM
- LibJit
- Any other you propose
By "best way" I means the way to get the fastest running. | compiler | interpreter | vm | null | null | 11/19/2011 23:35:47 | not a real question | Technological and framework choice for implemeting a dynamic programming language
===
What is the best way to implement a dynamic language (inspired from JavaScript) compiler?
- Translate this language code to C code and then compile the C code to x86
- LLVM Compiler Infrastructure
- Parrot VM
- LibJit
- ... | 1 |
2,001,560 | 01/04/2010 19:24:13 | 243,405 | 01/04/2010 19:24:13 | 1 | 0 | Problem in serializing | Presently I need to serialize one of my object which contains more my own classes object.
But the problem is I dont want to save it in a file and then retrieve it into memory stream.
Is there any way to directly serialize my object into stream.
I used BinaryFormatter for seializing.
First I used a MemoryStream di... | serialization | null | null | null | null | null | open | Problem in serializing
===
Presently I need to serialize one of my object which contains more my own classes object.
But the problem is I dont want to save it in a file and then retrieve it into memory stream.
Is there any way to directly serialize my object into stream.
I used BinaryFormatter for seializing.
Fi... | 0 |
8,949,791 | 01/21/2012 00:53:36 | 1,161,727 | 01/21/2012 00:44:32 | 1 | 0 | Best Practice for a small n-tier application - Linq-sql, Entity FrameWork, or Strongly typed datasets | Im after some advice on building an application for my business. We want to create an Asset Management and Equipment Inspection application that would be linked. We have quite specific needs hence why we will be building in house.
I've read quite a bit about n-tier applications and had made my mind up to go with tab... | entity-framework | linq-to-sql | n-tier | strongly-typed-dataset | null | 01/22/2012 01:04:53 | not a real question | Best Practice for a small n-tier application - Linq-sql, Entity FrameWork, or Strongly typed datasets
===
Im after some advice on building an application for my business. We want to create an Asset Management and Equipment Inspection application that would be linked. We have quite specific needs hence why we will be b... | 1 |
10,546,288 | 05/11/2012 06:12:38 | 547,794 | 12/19/2010 16:18:00 | 567 | 11 | Using MVC Controller to replace .ashx | I need a controller to handle file uploads. Is it possible to just have a handler print text directly to the page rather than return view(); ?
public ActionResult Upload(HttpContext context)
{
HttpPostedFile file = context.Request.Files["fileData"];
Guid ... | c# | asp.net | asp.net-mvc | asp.net-mvc-3 | null | null | open | Using MVC Controller to replace .ashx
===
I need a controller to handle file uploads. Is it possible to just have a handler print text directly to the page rather than return view(); ?
public ActionResult Upload(HttpContext context)
{
HttpPostedFile file = context.Request.File... | 0 |
2,401,059 | 03/08/2010 11:56:50 | 213,615 | 11/18/2009 09:41:09 | 21 | 2 | OpenSSL with unicode paths | I have an implementation of SSL handshake from the client side, by using these functions:
SSL_CTX_load_verify_locations
SSL_CTX_use_certificate_chain_file
SSL_CTX_use_PrivateKey_file
All functions get char* type for the filename parameter.
How can I change it to support also unicode file locations?
Thanks! | openssl | security | ssl-certificate | unicode | null | null | open | OpenSSL with unicode paths
===
I have an implementation of SSL handshake from the client side, by using these functions:
SSL_CTX_load_verify_locations
SSL_CTX_use_certificate_chain_file
SSL_CTX_use_PrivateKey_file
All functions get char* type for the filename parameter.
How can I change it to support also unico... | 0 |
10,512,954 | 05/09/2012 09:05:11 | 533,356 | 12/07/2010 08:11:24 | 26 | 0 | fail when creating shared library with libstdc++ statically linked | using gcc 4.5.1 in a 64bit x86 machine,I first create a.o as following:
g++ -fPIC -c a.cc -o a.o
then try to create liba.so as following:
g++ -static-libstdc++ -shared -W1,-soname,liba.so -o liba.so.1.0.0 a.o
but failed, with the following information:
relocation R_X86_64_32S against `vtable for __gnu_cxx::std... | gcc | libstdc++ | null | null | null | null | open | fail when creating shared library with libstdc++ statically linked
===
using gcc 4.5.1 in a 64bit x86 machine,I first create a.o as following:
g++ -fPIC -c a.cc -o a.o
then try to create liba.so as following:
g++ -static-libstdc++ -shared -W1,-soname,liba.so -o liba.so.1.0.0 a.o
but failed, with the following ... | 0 |
4,304,940 | 11/29/2010 15:01:36 | 463,356 | 09/30/2010 22:34:39 | 126 | 1 | void pointers in C++ | I saw this example on a website, and the websites mentions:-
"One of its uses (void pointers) may be to pass generic parameters to a function"
// increaser
#include <iostream>
using namespace std;
void increase (void* data, int psize)
{
if ( psize == sizeof(char) )
{ char... | c++ | null | null | null | null | null | open | void pointers in C++
===
I saw this example on a website, and the websites mentions:-
"One of its uses (void pointers) may be to pass generic parameters to a function"
// increaser
#include <iostream>
using namespace std;
void increase (void* data, int psize)
{
if ( psize == si... | 0 |
6,085,015 | 05/21/2011 23:14:14 | 731,621 | 04/29/2011 18:56:34 | 1 | 0 | Have a primary key as well as auto incrementing field. | I have a table with four columns, (id, searchstring, count, timestamp). I want to be able to make to use of the ON DUPLICATE KEY UPDATE feature to update the count of 'searchstring' when a duplicate is entered. However, searchstring needs to be the primary key to be able to do this, and my id is automatically set to my... | mysql | primary-key | null | null | null | null | open | Have a primary key as well as auto incrementing field.
===
I have a table with four columns, (id, searchstring, count, timestamp). I want to be able to make to use of the ON DUPLICATE KEY UPDATE feature to update the count of 'searchstring' when a duplicate is entered. However, searchstring needs to be the primary key... | 0 |
7,021,624 | 08/11/2011 06:20:23 | 92,568 | 04/18/2009 18:45:13 | 1,202 | 34 | error C2678: binary '=' : no operator found which takes a left-hand operand of type 'const std::string' (or there is no acceptable conversion) | I am really confused on why I am getting following compilation error.
Microsoft Visual Studio Compiler.
`error C2678: binary '=' : no operator found which takes a left-hand operand of type 'const std::string' (or there is no acceptable conversion)`
#include <stdio.h>
#include <iostream>
#include <s... | c++ | visual-studio | null | null | null | null | open | error C2678: binary '=' : no operator found which takes a left-hand operand of type 'const std::string' (or there is no acceptable conversion)
===
I am really confused on why I am getting following compilation error.
Microsoft Visual Studio Compiler.
`error C2678: binary '=' : no operator found which takes a left-... | 0 |
7,798,063 | 10/17/2011 18:40:20 | 451,847 | 09/19/2010 10:13:13 | 199 | 3 | HTML5 canvas draw faded out background for text | I'm trying to draw a string with a background on a HTML5 canvas. I'm using the GMail favicon as an example, see this picture (from the labs settings page): ![Gmail favicon][1]
As you can see, the 8 in the picture has a white glow around it. Here's what I've tried so far:
var notstring = notifications.toString()... | html5 | canvas | drawing | null | null | null | open | HTML5 canvas draw faded out background for text
===
I'm trying to draw a string with a background on a HTML5 canvas. I'm using the GMail favicon as an example, see this picture (from the labs settings page): ![Gmail favicon][1]
As you can see, the 8 in the picture has a white glow around it. Here's what I've tried so... | 0 |
7,288,579 | 09/02/2011 19:52:28 | 133,273 | 07/05/2009 04:30:48 | 467 | 23 | Schema for forum that displays last topic and user | I'm building a simple forum as part of a larger project and one of the requirements is in the list of boards, we display the most recent topic along with the user who posted the topic.
Here are the relevant models I have:
Board
name
description
subjects_count
has_many Subjects
... | ruby-on-rails | null | null | null | null | null | open | Schema for forum that displays last topic and user
===
I'm building a simple forum as part of a larger project and one of the requirements is in the list of boards, we display the most recent topic along with the user who posted the topic.
Here are the relevant models I have:
Board
name
descr... | 0 |
11,562,720 | 07/19/2012 14:11:01 | 1,298,462 | 03/28/2012 14:36:55 | 1 | 0 | jquery asp.net webservice call not working | I'm trying to call an webservice and always get the error, the alert error shows 'undefined'
[WebMethod]
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
public static string Test()
{
JavaScriptSerializer js = new JavaScriptSerializer();
return js.Serialize("Test... | jquery | asp.net | ajax | null | null | null | open | jquery asp.net webservice call not working
===
I'm trying to call an webservice and always get the error, the alert error shows 'undefined'
[WebMethod]
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
public static string Test()
{
JavaScriptSerializer js = new JavaScriptS... | 0 |
11,489,979 | 07/15/2012 06:38:07 | 878,485 | 08/04/2011 11:30:11 | 69 | 3 | creating mobi file without using third party | I want to generate mobi file for kindle without using any third party using C#.
Is there is a way to do that? | c# | kindle | null | null | null | 07/15/2012 09:07:39 | not a real question | creating mobi file without using third party
===
I want to generate mobi file for kindle without using any third party using C#.
Is there is a way to do that? | 1 |
781,792 | 04/23/2009 13:49:11 | 24,875 | 10/03/2008 15:03:34 | 310 | 23 | How do I debug a single .cpp file in Visual Studio? | Is there any way to debug a single file in Visual Studio.NET?
I'm still a noob with C++, but I want to start learning how to get comfortable with the debugger, and as of right now I am writing really small files.
It seems if there is only one source file, it won't let me debug, but the moment I add another one, I ... | c++ | visual-studio-2008 | debugging | null | null | null | open | How do I debug a single .cpp file in Visual Studio?
===
Is there any way to debug a single file in Visual Studio.NET?
I'm still a noob with C++, but I want to start learning how to get comfortable with the debugger, and as of right now I am writing really small files.
It seems if there is only one source file, it... | 0 |
716,770 | 04/04/2009 08:31:00 | 50,475 | 12/31/2008 12:17:16 | 783 | 40 | Return plain objects in entity framework for serialization | I have been trying out both Linq to Sql and EF in my ASP.NET MVC application. After switching to EF I realized my XML/JSON serialization output has extra cruft.
XML:
<Test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<EntityKey>
<EntitySet... | entity-framework | poco | serialization | json | linq-to-sql | null | open | Return plain objects in entity framework for serialization
===
I have been trying out both Linq to Sql and EF in my ASP.NET MVC application. After switching to EF I realized my XML/JSON serialization output has extra cruft.
XML:
<Test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://ww... | 0 |
9,980,635 | 04/02/2012 17:04:24 | 1,308,237 | 04/02/2012 14:14:00 | 1 | 0 | MySQL: SELECT statement that compares values across multiple tables isn't returning the correct rows | I've searched a number of resources on SO and the web to try and figure out why my MySQL select statement isn't returning the correct rows/results. I apologize in advance if there's an answer here I missed and appreciate someone pointing it out to me.
A little background. Assume an email campaign application that ... | mysql | table | select | compare | case | null | open | MySQL: SELECT statement that compares values across multiple tables isn't returning the correct rows
===
I've searched a number of resources on SO and the web to try and figure out why my MySQL select statement isn't returning the correct rows/results. I apologize in advance if there's an answer here I missed and app... | 0 |
7,359,359 | 09/09/2011 09:04:49 | 848,117 | 03/19/2011 20:40:08 | 1 | 1 | Mirror flip CGPath | I have a simple circle CGPath.
I am having trouble flipping it horizontally, like a mirror effect.
If you are answering this question, please try to provide a full code and not only a general reference...
thx | ios | core-graphics | cgcontext | cgpath | uibezierpath | 09/09/2011 17:51:49 | not a real question | Mirror flip CGPath
===
I have a simple circle CGPath.
I am having trouble flipping it horizontally, like a mirror effect.
If you are answering this question, please try to provide a full code and not only a general reference...
thx | 1 |
3,727,916 | 09/16/2010 14:56:20 | 428,370 | 08/23/2010 11:48:54 | 27 | 1 | [python] xldate_as_tuple | im not quite sure how to use the following function:
xldate_as_tuple
for the following data
xldate:39274.0
xldate:39839.0
could someone please give me an example on usage of the function for the data? | python | date | xlrd | null | null | null | open | [python] xldate_as_tuple
===
im not quite sure how to use the following function:
xldate_as_tuple
for the following data
xldate:39274.0
xldate:39839.0
could someone please give me an example on usage of the function for the data? | 0 |
9,242,469 | 02/11/2012 17:45:50 | 1,066,432 | 11/26/2011 01:23:28 | 110 | 3 | Rewriting URL with mod_rewrite | How could I change, www.mysite.com/help.php to www.mysite.com/help using mod_rewrite?
And when they type in
www.mysite.com/help it will show everything from www.mysite.com/help.php | apache | .htaccess | mod-rewrite | null | null | 02/11/2012 20:02:41 | not a real question | Rewriting URL with mod_rewrite
===
How could I change, www.mysite.com/help.php to www.mysite.com/help using mod_rewrite?
And when they type in
www.mysite.com/help it will show everything from www.mysite.com/help.php | 1 |
8,787,141 | 01/09/2012 10:40:34 | 1,138,427 | 01/09/2012 10:10:50 | 1 | 0 | Small C/C++ library for GLSL image processing? | For an upcoming project I'm looking for a small cross-platform library that will easily let me apply multiple GLSL fragment shaders to images. Just basic 2D image processing, really. I'm experienced in C++ and GLSL shader writing but haven't done much work in OpenGL.
All actual image processing will be done using GL... | c++ | opengl | image-processing | glsl | null | 02/05/2012 03:46:12 | not constructive | Small C/C++ library for GLSL image processing?
===
For an upcoming project I'm looking for a small cross-platform library that will easily let me apply multiple GLSL fragment shaders to images. Just basic 2D image processing, really. I'm experienced in C++ and GLSL shader writing but haven't done much work in OpenGL.
... | 4 |
4,503,742 | 12/21/2010 20:45:19 | 275,097 | 02/17/2010 09:27:24 | 119 | 1 | How to see "anti if" movement and its gaol? | I have a developer for last 3 years, have been using if-else or if-else if statements a lot in my programing habit.
And today, I found [This][1] link.
One obvious sample i put here
public void doSomthing(String target, String object){
//validate requests
if(target != null && target.trim().leng... | java | programming-languages | patterns | anti-patterns | null | 12/21/2010 21:00:14 | not a real question | How to see "anti if" movement and its gaol?
===
I have a developer for last 3 years, have been using if-else or if-else if statements a lot in my programing habit.
And today, I found [This][1] link.
One obvious sample i put here
public void doSomthing(String target, String object){
//validate reque... | 1 |
1,753,008 | 11/18/2009 01:18:20 | 194,927 | 10/22/2009 21:55:16 | 6 | 0 | Making Controls public/Global in Netbeans with Java. | So I have multiple forms for my current project and I have made classes that interact and do some utility work behind these forms.
However I am unable to access controls on other forms.
Say I have a text control on Form A and I want to use a class that receives/manipulates data from a completely different Form B... | java | netbeans | controls | global-variables | public | null | open | Making Controls public/Global in Netbeans with Java.
===
So I have multiple forms for my current project and I have made classes that interact and do some utility work behind these forms.
However I am unable to access controls on other forms.
Say I have a text control on Form A and I want to use a class that re... | 0 |
9,586,330 | 03/06/2012 15:10:40 | 239,279 | 12/27/2009 20:03:55 | 497 | 7 | Using paypal buy now custom variables | I've got an order page with a single Buy Now button. After a user orders using this button, I'd like to redirect him back to my page with some custom message. For this I'd like to pass his userid to PayPal and get it back.
I've found that I can use custom fields - but didn't understand how I use it and how I get it ... | paypal | paypal-sandbox | null | null | null | null | open | Using paypal buy now custom variables
===
I've got an order page with a single Buy Now button. After a user orders using this button, I'd like to redirect him back to my page with some custom message. For this I'd like to pass his userid to PayPal and get it back.
I've found that I can use custom fields - but didn'... | 0 |
5,175,603 | 03/03/2011 01:25:46 | 495,363 | 11/02/2010 23:10:06 | 1 | 1 | Throws Null Pointer when not in jar | I am doing some XML parse and the program works just fine when I package it to a jar, but when I try to run it in NetBeans, it throws a Null Pointer Exception. I have tried debuging it, but I can't see any reason why it would do that. | java | jar | nullpointerexception | jdom | null | 03/03/2011 18:27:59 | not a real question | Throws Null Pointer when not in jar
===
I am doing some XML parse and the program works just fine when I package it to a jar, but when I try to run it in NetBeans, it throws a Null Pointer Exception. I have tried debuging it, but I can't see any reason why it would do that. | 1 |
10,332,153 | 04/26/2012 11:06:00 | 1,044,932 | 11/14/2011 04:10:22 | 91 | 0 | How to align the textview to right in android? | I am displaying the **date and the cricket score in a table**. But my problem is when I am displaying the No **1,2,3,....upto 9 it is working fine...But when I displayed 10 the date in the next date column is moving one place right because of two digit number 10.** How to solve this issue?
![enter image description... | android-layout | null | null | null | null | null | open | How to align the textview to right in android?
===
I am displaying the **date and the cricket score in a table**. But my problem is when I am displaying the No **1,2,3,....upto 9 it is working fine...But when I displayed 10 the date in the next date column is moving one place right because of two digit number 10.** Ho... | 0 |
9,317,210 | 02/16/2012 18:48:30 | 1,154,026 | 01/17/2012 13:37:57 | 525 | 23 | Send from hotmail with Javamail? | I can send from Yahoo and Gmail, but no matter what I do I can't send from hotmail.
public class LiveSenderActivity extends javax.mail.Authenticator {
private String mailhost = "smtp.live.com";
private String user;
private String password;
private Session session;
static {
Security.addProvider(new... | java | android | javamail | null | null | null | open | Send from hotmail with Javamail?
===
I can send from Yahoo and Gmail, but no matter what I do I can't send from hotmail.
public class LiveSenderActivity extends javax.mail.Authenticator {
private String mailhost = "smtp.live.com";
private String user;
private String password;
private Session session;
... | 0 |
1,301,312 | 08/19/2009 17:07:40 | 79,856 | 03/19/2009 04:23:11 | 817 | 46 | SQLite: Need Date >= (x) number of days from today |
Trying to select a date (x) days from today's date, where the date would be start of day (e.g. 12:00am that day).
For example, a query with date 5 days earlier..
@"select pkey, dateofmod from data WHERE dateofmod >= date('now', '? days')" , [NSNumber numberWithInt:-5];
doesn't seem to work. (using FMDB... | iphone | nsdate | sqlite | null | null | null | open | SQLite: Need Date >= (x) number of days from today
===
Trying to select a date (x) days from today's date, where the date would be start of day (e.g. 12:00am that day).
For example, a query with date 5 days earlier..
@"select pkey, dateofmod from data WHERE dateofmod >= date('now', '? days')" , [NSNumber ... | 0 |
11,510,923 | 07/16/2012 19:09:45 | 1,478,881 | 06/25/2012 02:07:26 | 3 | 0 | Find address using pointer and offset C# | I made a lot of research on memory reading and I reached here. I got the pointer and offset values, by adding an address manually and choosing "Pointer" on Cheat Engine I can get the address. But my question is how can I do this on C#?
**Pointer:** "client.dll"+0065F38
**Offset:** E4
This two values return the... | c# | memory | pointers | offset | reading | 07/17/2012 04:36:41 | not a real question | Find address using pointer and offset C#
===
I made a lot of research on memory reading and I reached here. I got the pointer and offset values, by adding an address manually and choosing "Pointer" on Cheat Engine I can get the address. But my question is how can I do this on C#?
**Pointer:** "client.dll"+0065F38
... | 1 |
7,067,726 | 08/15/2011 16:30:15 | 840,879 | 07/12/2011 14:00:57 | 6 | 3 | linked list in python | there are huge number of data, there are various groups. i want to check whether the new data fits in any group and if it does i want to put that data into that group. If datum doesn't fit to any of the group, i want to create new group. So, i want to use linked list for the purpose or is there any other way to doing s... | python | linked-list | null | null | null | 08/16/2011 00:40:58 | not a real question | linked list in python
===
there are huge number of data, there are various groups. i want to check whether the new data fits in any group and if it does i want to put that data into that group. If datum doesn't fit to any of the group, i want to create new group. So, i want to use linked list for the purpose or is the... | 1 |
8,310,469 | 11/29/2011 12:11:15 | 1,178,669 | 01/05/2010 08:17:25 | 4,930 | 221 | Why are arguments in JavaScript not preceded by the var keyword? | This may be a silly question, but why are function arguments in JavaScript not preceded by the var keyword?
Why:
function fooAnything(anything) {
return 'foo' + anyThing;
}
And not:
function fooAnything(var anything) {
return 'foo' + anyThing;
}
I have a feeling the answer... | javascript | null | null | null | null | null | open | Why are arguments in JavaScript not preceded by the var keyword?
===
This may be a silly question, but why are function arguments in JavaScript not preceded by the var keyword?
Why:
function fooAnything(anything) {
return 'foo' + anyThing;
}
And not:
function fooAnything(var anything) {... | 0 |
6,008,453 | 05/15/2011 12:48:56 | 754,462 | 05/15/2011 12:42:53 | 1 | 0 | Linked List need help cant print my data. want to make an add func. in C - C++ | this is my code. i wanted to print all my list datas. but i cant cause when i write while(llist->next != NULL) llist->next is NULL but i don't know why. please help me :)
#include <iostream>
#include <stdlib.h>
#include <stdio.h>
using namespace std;
struct rame
{
int data;
struct rame *next;
};... | c++ | c | null | null | null | null | open | Linked List need help cant print my data. want to make an add func. in C - C++
===
this is my code. i wanted to print all my list datas. but i cant cause when i write while(llist->next != NULL) llist->next is NULL but i don't know why. please help me :)
#include <iostream>
#include <stdlib.h>
#include <stdio.h>
us... | 0 |
3,970,130 | 10/19/2010 15:43:20 | 145,831 | 07/27/2009 15:50:24 | 540 | 25 | Injecting a service into an implementation of NHibernate's IUserType using Autofac. | I'm using NHibernate to map the following class to an Oracle database in my ASP.NET MVC application:
public class User
{
// Needs to be encrypted/decrypted when persisting
public virtual string Question { get; set; }
// Hashed
public virtual string Answer { get; set; }
... | asp.net | nhibernate | autofac | null | null | null | open | Injecting a service into an implementation of NHibernate's IUserType using Autofac.
===
I'm using NHibernate to map the following class to an Oracle database in my ASP.NET MVC application:
public class User
{
// Needs to be encrypted/decrypted when persisting
public virtual string Questio... | 0 |
2,689,887 | 04/22/2010 10:14:32 | 323,143 | 04/22/2010 10:14:32 | 1 | 0 | Webservice needs to be accessible through website | I have a .exe program which has an embedded webservice running on port 800.
I can access it locally via 127.0.0.1:800 just fine once the program is executed.
I need to be able to send the service commands such as: *** 127.0.0.1:800/dev *** will get a list of devices attached to the program.
To my knowledge i nee... | php | vb.net | .net | web-services | website | null | open | Webservice needs to be accessible through website
===
I have a .exe program which has an embedded webservice running on port 800.
I can access it locally via 127.0.0.1:800 just fine once the program is executed.
I need to be able to send the service commands such as: *** 127.0.0.1:800/dev *** will get a list of de... | 0 |
3,193,765 | 07/07/2010 10:08:00 | 379,239 | 06/29/2010 16:51:54 | 1 | 1 | When should I use stdClass and when should I use an array in php5 oo code ?? | In the middle of a period of big refactorings at work, I wish to introduce stdClass ***** as a way to return data from functions and I'm trying to find non-subjectives arguments to support my decision.
Are there any situations when would it be best to use one instead of the other ??
What benefits would I get to u... | php | oop | php5 | stdclass | null | null | open | When should I use stdClass and when should I use an array in php5 oo code ??
===
In the middle of a period of big refactorings at work, I wish to introduce stdClass ***** as a way to return data from functions and I'm trying to find non-subjectives arguments to support my decision.
Are there any situations when wou... | 0 |
4,967,300 | 02/11/2011 09:15:22 | 191,125 | 10/16/2009 10:11:33 | 85 | 6 | jQuery Plugin Authoring, Help with Click Events (drop down menu). | I'm trying to create a drop-down menu in a plugin manner. I'm familiar with scripting myself to solutions but I've never created a plugin before so I'm trying to learn how to do this, and therefore raising my level as a jQuery developer.
I'm trying to create basic drop down functionality. You have a link. You click ... | jquery | jquery-plugins | drop-down-menu | null | null | null | open | jQuery Plugin Authoring, Help with Click Events (drop down menu).
===
I'm trying to create a drop-down menu in a plugin manner. I'm familiar with scripting myself to solutions but I've never created a plugin before so I'm trying to learn how to do this, and therefore raising my level as a jQuery developer.
I'm tryi... | 0 |
11,238,685 | 06/28/2012 05:45:42 | 1,487,556 | 06/28/2012 05:36:03 | 1 | 0 | java.util.ConcurrentModificationException | why do we get java.util.ConcurrentModificationException while accessing the same synchronize method from different system at a same time.
please anyone can help me. | java | synchronization | null | null | null | 06/28/2012 06:02:27 | not a real question | java.util.ConcurrentModificationException
===
why do we get java.util.ConcurrentModificationException while accessing the same synchronize method from different system at a same time.
please anyone can help me. | 1 |
3,116,195 | 06/25/2010 07:10:16 | 375,989 | 06/25/2010 07:10:16 | 1 | 0 | python search from tag | i need help with python programming:
i need a command which can search all the words between tags from a text file.
for example in the text file has <concept> food </concept>. i need to search all the words between <concept> and </concept> and display them.
can anybody help please....... | python | null | null | null | null | null | open | python search from tag
===
i need help with python programming:
i need a command which can search all the words between tags from a text file.
for example in the text file has <concept> food </concept>. i need to search all the words between <concept> and </concept> and display them.
can anybody help please....... | 0 |
7,566,969 | 09/27/2011 09:31:27 | 966,693 | 09/27/2011 09:27:44 | 1 | 0 | ASP.NET web application taking a lot of time to Debug | actually i have an web application where i have a form which takes data from MYSQL database where i have written an Sp to get the data from DataBase(compares around 1 lakh of records and gives 40,000of records as output) and bind it to Gridview .at the very first time it takes 15 mins to debug and den for second time(r... | asp.net | null | null | null | null | 09/27/2011 14:08:22 | not a real question | ASP.NET web application taking a lot of time to Debug
===
actually i have an web application where i have a form which takes data from MYSQL database where i have written an Sp to get the data from DataBase(compares around 1 lakh of records and gives 40,000of records as output) and bind it to Gridview .at the very fir... | 1 |
7,940,472 | 10/29/2011 17:26:15 | 538,955 | 12/11/2010 15:31:57 | 54 | 3 | Favorite documentation generating tool | Quick question for you guys. I'm releasing my new Isis2 library for Linux as well as Windows users (library itself is in C# .NET but API can be called from C++ etc, and it works well with Mono). I've done the standard inline documentation for my public APIs.
Now during development I was using Sandcastle helper and... | documentation | tags | chm | sandcastle | null | 10/30/2011 12:42:19 | not constructive | Favorite documentation generating tool
===
Quick question for you guys. I'm releasing my new Isis2 library for Linux as well as Windows users (library itself is in C# .NET but API can be called from C++ etc, and it works well with Mono). I've done the standard inline documentation for my public APIs.
Now during d... | 4 |
5,582,512 | 04/07/2011 14:12:08 | 190,892 | 10/15/2009 21:07:32 | 145 | 5 | definition of Acme Developers for iPhone | I have heard the term acme developer of iPhone. I was just wondering, what it stands for?
I think I know the meaning, it is when a developer goes to a client and present's his/her ideas for the app.
Thanks for your info. | iphone | null | null | null | null | 04/08/2011 03:30:37 | off topic | definition of Acme Developers for iPhone
===
I have heard the term acme developer of iPhone. I was just wondering, what it stands for?
I think I know the meaning, it is when a developer goes to a client and present's his/her ideas for the app.
Thanks for your info. | 2 |
8,951,344 | 01/21/2012 07:09:35 | 109,367 | 05/19/2009 13:19:18 | 732 | 21 | How to naming "a list of series"? | For example
// Java code, I define a variable who type is list to "models"
List<Model> models;
This naming convertions work fine on most of the words.
I can do something like
for(int i = 0; i < models.size(); i++){
Model model = model.get(i);
// Something else
}
But I... | java | naming | null | null | null | 01/23/2012 18:26:31 | not constructive | How to naming "a list of series"?
===
For example
// Java code, I define a variable who type is list to "models"
List<Model> models;
This naming convertions work fine on most of the words.
I can do something like
for(int i = 0; i < models.size(); i++){
Model model = model.get(i);
... | 4 |
9,908,133 | 03/28/2012 13:05:03 | 1,246,787 | 03/03/2012 11:49:45 | 1 | 1 | Realm in authentication mechanism Pop3 Protocol | Is it necessary to have same realm as it is on server while configuring pop3 client ?? for authentication purpose.. | networking | pop3 | null | null | null | null | open | Realm in authentication mechanism Pop3 Protocol
===
Is it necessary to have same realm as it is on server while configuring pop3 client ?? for authentication purpose.. | 0 |
11,558,463 | 07/19/2012 10:06:04 | 846,083 | 07/15/2011 08:37:17 | 517 | 27 | Rubymotion including a static library | I'm trying to add the a library to my Rubymotion project, it shows no errors but I can't seem to access the classes in the library, in my rakefile I have ...
app.vendor_project('vendor/iSpeechSDK', :static,
:products => ["libiSpeechSDK.a"],
:headers_dir => "Headers")
app.framewor... | rubymotion | null | null | null | null | null | open | Rubymotion including a static library
===
I'm trying to add the a library to my Rubymotion project, it shows no errors but I can't seem to access the classes in the library, in my rakefile I have ...
app.vendor_project('vendor/iSpeechSDK', :static,
:products => ["libiSpeechSDK.a"],
:headers_di... | 0 |
5,813,575 | 04/28/2011 04:16:32 | 608,199 | 02/08/2011 06:05:55 | 105 | 10 | Sphinx how to create Real time indexes? | i am already `sphinx` documentation is follow but it's not clear for me.
Any one can help how create `real time indexes in php linux server` ?. | php | sphinx | null | null | null | 11/09/2011 00:32:19 | not a real question | Sphinx how to create Real time indexes?
===
i am already `sphinx` documentation is follow but it's not clear for me.
Any one can help how create `real time indexes in php linux server` ?. | 1 |
10,586,227 | 05/14/2012 15:19:41 | 1,391,308 | 02/02/2011 09:32:30 | 1 | 1 | Why does IContainer.IsRegistered(Type serviceType) add registrations? | Why does IContainer.IsRegistered(Type serviceType) add registrations?
Type serviceType = typeof (string[]);
int rc = container.ComponentRegistry.Registrations.Count();
container.IsRegistered(serviceType);
int rc2 = container.ComponentRegistry.Registrations.Count();
Assert.AreEqual(rc, rc2); | autofac | null | null | null | null | null | open | Why does IContainer.IsRegistered(Type serviceType) add registrations?
===
Why does IContainer.IsRegistered(Type serviceType) add registrations?
Type serviceType = typeof (string[]);
int rc = container.ComponentRegistry.Registrations.Count();
container.IsRegistered(serviceType);
int rc2 = containe... | 0 |
3,945,841 | 10/15/2010 20:22:19 | 20,570 | 09/22/2008 16:42:01 | 782 | 44 | Getters/Setters result in more brittle code? | A small debate flared up in a question about [protected member variables][1] regarding the use of getters/setters. There are lots of questions already over whether getters/setters are evil, however one particular argument against them, which was posed by two separate individuals with much higher reputation than myself... | getter-setter | null | null | null | null | 10/15/2010 20:34:33 | not constructive | Getters/Setters result in more brittle code?
===
A small debate flared up in a question about [protected member variables][1] regarding the use of getters/setters. There are lots of questions already over whether getters/setters are evil, however one particular argument against them, which was posed by two separate i... | 4 |
9,326,212 | 02/17/2012 10:02:35 | 1,215,900 | 02/17/2012 09:52:01 | 1 | 0 | SELECT chaining the result of two queries on MYSQL | I want to chain the contents of two queries. Please notice I DON'T want to use CONCAT() or CONCAT_WS() because that's not what I want to achieve.
Query 1 results:
Id Name
1 John
2 Mike
Query 2 results:
Id Name
3 Emily
7 Robert
And what I want is:
... | mysql | sql | database | query | select | null | open | SELECT chaining the result of two queries on MYSQL
===
I want to chain the contents of two queries. Please notice I DON'T want to use CONCAT() or CONCAT_WS() because that's not what I want to achieve.
Query 1 results:
Id Name
1 John
2 Mike
Query 2 results:
Id Name
3... | 0 |
9,946,397 | 03/30/2012 15:52:46 | 543,205 | 12/15/2010 10:22:48 | 750 | 47 | Does NHibernate support subqueries in the `from` clause? | Does NHibernate support subqueries in the `from` clause? For example I have sql queries looking like this:
SELECT subquery.Id, sum(subquery.Value) ...
FROM (SELECT DISTINCT ... ) as subquery
WHERE ...
GROUP BY subquery.Id
I've only found this info:
> HQL does not have subquery in from ... | nhibernate | null | null | null | null | null | open | Does NHibernate support subqueries in the `from` clause?
===
Does NHibernate support subqueries in the `from` clause? For example I have sql queries looking like this:
SELECT subquery.Id, sum(subquery.Value) ...
FROM (SELECT DISTINCT ... ) as subquery
WHERE ...
GROUP BY subquery.Id
I've ... | 0 |
10,054,745 | 04/07/2012 13:05:21 | 161,922 | 09/15/2008 21:12:35 | 3,483 | 84 | How do you install Python Xlib with pip? | "Python Xlib" ( http://pypi.python.org/pypi/Python%20Xlib ) is a low level python library for working with xlib. I have installed it on my Ubuntu Linux machine via apt, i.e. ``sudo aptitude install python-xlib``. However is it possible to install it with ``pip`` in a virtualenv? I am writing a software package that use... | python | pip | xlib | python-xlib | null | null | open | How do you install Python Xlib with pip?
===
"Python Xlib" ( http://pypi.python.org/pypi/Python%20Xlib ) is a low level python library for working with xlib. I have installed it on my Ubuntu Linux machine via apt, i.e. ``sudo aptitude install python-xlib``. However is it possible to install it with ``pip`` in a virtua... | 0 |
8,862,955 | 01/14/2012 14:51:04 | 811,743 | 06/23/2011 07:23:16 | 305 | 22 | Can a torrent client run with 4KB of RAM? | On a microchip.
Is it possible to run a torrent client with only 4KB of RAM?
I'm talking about a really optimized version. | microcontroller | bittorrent | null | null | null | 01/15/2012 12:16:28 | off topic | Can a torrent client run with 4KB of RAM?
===
On a microchip.
Is it possible to run a torrent client with only 4KB of RAM?
I'm talking about a really optimized version. | 2 |
8,371,648 | 12/03/2011 22:43:08 | 1,079,490 | 12/03/2011 22:36:53 | 1 | 0 | Get week number and the date for monday and sunday in the current week (Objective-C on iOS) | how is it possible to get the current weeknumber and the date of monday and sunday in the current week? | objective-c | nsdate | nsdateformatter | nsdatecomponents | null | 12/04/2011 06:24:09 | not a real question | Get week number and the date for monday and sunday in the current week (Objective-C on iOS)
===
how is it possible to get the current weeknumber and the date of monday and sunday in the current week? | 1 |
1,963,718 | 12/26/2009 16:29:16 | 238,885 | 12/26/2009 16:29:16 | 1 | 0 | Document Management Solution for 80 million Tiff files | Need to host 80 million tiff files (1000 KB each) some where around 10 Terrabytes, what would be the best Document Management solution. These files need to be on a filesystem but want to indexed thru the Document Management system ( Sharepoint, Documentum, Filenet etc). We already have indexes in CSV format and want to... | sharepoint | documentum | null | null | null | 12/26/2009 19:06:18 | off topic | Document Management Solution for 80 million Tiff files
===
Need to host 80 million tiff files (1000 KB each) some where around 10 Terrabytes, what would be the best Document Management solution. These files need to be on a filesystem but want to indexed thru the Document Management system ( Sharepoint, Documentum, Fil... | 2 |
7,462,811 | 09/18/2011 16:29:08 | 771,541 | 05/26/2011 14:59:47 | 92 | 8 | Web - Pop up in current window | Could anyone give me an example or a good place to start looking on creating pop-ups that don't open new windows, for example on the XenForo forums, when you click a username. It pops up with details about that user but over the current page as opposed to a new window.
Link to see effect, click on any username: http... | javascript | css | null | null | null | null | open | Web - Pop up in current window
===
Could anyone give me an example or a good place to start looking on creating pop-ups that don't open new windows, for example on the XenForo forums, when you click a username. It pops up with details about that user but over the current page as opposed to a new window.
Link to see... | 0 |
11,305,898 | 07/03/2012 06:55:08 | 1,497,880 | 07/03/2012 06:22:10 | 1 | 0 | How can I tell if a hacker is doing something I've heard called MIRRORING my mac? Working in terminal using NETSTAT; confused | I think i know who the perpetrator is; last year he compromised my Facebook, Wordpress, and Yahoo/Gmail accounts. A friend @Apple helped and now this. I normally would run Spyware/antivirus stuff and forget about it but I am compiling evidence against an ex whom I believe to be a malicious sociopath and more than cree... | terminal | ip-address | linux-device-driver | hacking | netstat | 07/03/2012 06:59:10 | off topic | How can I tell if a hacker is doing something I've heard called MIRRORING my mac? Working in terminal using NETSTAT; confused
===
I think i know who the perpetrator is; last year he compromised my Facebook, Wordpress, and Yahoo/Gmail accounts. A friend @Apple helped and now this. I normally would run Spyware/antiviru... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.