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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9,281,577 | 02/14/2012 17:38:04 | 196,919 | 10/26/2009 21:39:42 | 995 | 109 | How to calculate proportional width of an image based on its height? | How to calculate **proportional width** of an image *based on its height*?
I mean we know only an image height only.
Thank you! | c# | .net | null | null | null | 02/14/2012 17:49:42 | not a real question | How to calculate proportional width of an image based on its height?
===
How to calculate **proportional width** of an image *based on its height*?
I mean we know only an image height only.
Thank you! | 1 |
7,828,129 | 10/19/2011 21:06:21 | 38,743 | 11/18/2008 23:19:02 | 3,988 | 135 | Drupal 7 - case-insensitive LIKE with db_select | I can't get a query to be case-insensitive using MySQL and Drupal 7. Here's my module code:
$results = db_select('people_table', 'p')->fields('p');
if (array_key_exists('department', $_GET)) {
$results->condition('Department', '%' . db_like($_GET['department']) . '%', 'LIKE');
}
return $... | php | mysql | drupal | select | case-insensitive | null | open | Drupal 7 - case-insensitive LIKE with db_select
===
I can't get a query to be case-insensitive using MySQL and Drupal 7. Here's my module code:
$results = db_select('people_table', 'p')->fields('p');
if (array_key_exists('department', $_GET)) {
$results->condition('Department', '%' . db_like($_GE... | 0 |
7,421,577 | 09/14/2011 19:01:31 | 379,417 | 06/29/2010 20:21:16 | 23 | 3 | Failing to call WCF Service | I have a WCF Service being hosted on IIS 5.1 with Anonymous access disabled. Below is a part of the web.config file showing how the service is configured:
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="basicHttpBindingCfg">
<security mode="TransportCredentialOnly">
<tran... | wcf | basichttpbinding | null | null | null | null | open | Failing to call WCF Service
===
I have a WCF Service being hosted on IIS 5.1 with Anonymous access disabled. Below is a part of the web.config file showing how the service is configured:
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="basicHttpBindingCfg">
<security mode="Trans... | 0 |
6,236,361 | 06/04/2011 11:05:39 | 655,336 | 03/11/2011 12:37:47 | 5 | 0 | asp.net mvc 3 ssl | I m using asp.net mvc3.0 and have created the application. The problem is when I execute the program with ssl it gives me error "A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer may become unresponsive."
But if I run without ssl it works fine, the problem is with... | javascript | asp.net-mvc-3 | null | null | null | 06/04/2011 13:52:48 | not a real question | asp.net mvc 3 ssl
===
I m using asp.net mvc3.0 and have created the application. The problem is when I execute the program with ssl it gives me error "A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer may become unresponsive."
But if I run without ssl it works fi... | 1 |
7,293,058 | 09/03/2011 12:17:25 | 658,740 | 03/14/2011 12:03:44 | 401 | 22 | Place Order fails in Magento OnePage Checkout | I have a Magento store that has been converted to a "one deal at a time" type store, and the checkout process is broken. I've been trying to debug this, but have hit a wall, primarily due to my limited understanding of Magento.
On the saveOrder step, when clicking "Place Order", the page shows "submitting order info... | php | ajax | magento | null | null | null | open | Place Order fails in Magento OnePage Checkout
===
I have a Magento store that has been converted to a "one deal at a time" type store, and the checkout process is broken. I've been trying to debug this, but have hit a wall, primarily due to my limited understanding of Magento.
On the saveOrder step, when clicking "... | 0 |
7,752,948 | 10/13/2011 10:46:32 | 990,194 | 10/11/2011 19:22:56 | 1 | 0 | Ruby on Rails Book | Do you suggest any books for learning ruby on rails? I already know some OO programming. I know there are many other topics like this one, but I am afraid that they might be a little bit outdated.
What do you suggest?
thx | ruby-on-rails | books | null | null | null | 10/14/2011 07:55:07 | not constructive | Ruby on Rails Book
===
Do you suggest any books for learning ruby on rails? I already know some OO programming. I know there are many other topics like this one, but I am afraid that they might be a little bit outdated.
What do you suggest?
thx | 4 |
3,789,560 | 09/24/2010 17:34:14 | 307,861 | 04/02/2010 18:14:10 | 17 | 0 | Calling 64-bit COM control from 32-bit app | We have a situation where one of our products is a 32-bit app, but needs to communicate with instruments via 64-bit COM control (which wraps a 64-bit device driver). For various reasons, we don't want to compile this app as a 64-bit app, but we DO want to run it on a 64-bit OS. Since the drivers and COM control must b... | c++ | com | 64bit | null | null | null | open | Calling 64-bit COM control from 32-bit app
===
We have a situation where one of our products is a 32-bit app, but needs to communicate with instruments via 64-bit COM control (which wraps a 64-bit device driver). For various reasons, we don't want to compile this app as a 64-bit app, but we DO want to run it on a 64-b... | 0 |
9,590,560 | 03/06/2012 19:33:44 | 1,253,073 | 03/06/2012 19:23:30 | 1 | 0 | DB connections are closing causing slow performance: MS SQL SERVER | I have two applications that uses the same 2 databases. 1 application runs fine, no performance issues. When i run the query below i get 1 connection per database. They stay open for a while. So as I browse it seems that those two connections are reused. After a while they close.
When I run the second application t... | sql | sql-server-2008 | connection-pooling | null | null | null | open | DB connections are closing causing slow performance: MS SQL SERVER
===
I have two applications that uses the same 2 databases. 1 application runs fine, no performance issues. When i run the query below i get 1 connection per database. They stay open for a while. So as I browse it seems that those two connections are r... | 0 |
942,734 | 06/03/2009 01:49:27 | 82,337 | 03/25/2009 01:44:49 | 26 | 0 | [ASP.NET] How to prevent adding same event in Asp.net page | I have been write code in Page_Load function like this
protected void Page_Load(object sender, EventArgs e)
{
if(!IsPostBack)
{
UserControl1.Button_Clicked += new EventHandler(UserControl1_Button_Clicked);
}
}
But the same function will be added again wh... | c# | asp.net | null | null | null | null | open | [ASP.NET] How to prevent adding same event in Asp.net page
===
I have been write code in Page_Load function like this
protected void Page_Load(object sender, EventArgs e)
{
if(!IsPostBack)
{
UserControl1.Button_Clicked += new EventHandler(UserControl1_Button_Clicked);
... | 0 |
2,319,665 | 02/23/2010 16:08:13 | 277,414 | 02/19/2010 23:22:21 | 13 | 0 | java move image with mouse | i want to put this image on a map, so i want:
- click a button and make a new image
- move the image with the mouse and when click the image must be on the jpanel and not move anymore. | java | move | image | with | mouse | null | open | java move image with mouse
===
i want to put this image on a map, so i want:
- click a button and make a new image
- move the image with the mouse and when click the image must be on the jpanel and not move anymore. | 0 |
8,240,613 | 11/23/2011 10:26:30 | 1,059,247 | 11/22/2011 06:52:14 | 1 | 0 | how to do camera for taking snap and stored into SD card? | im implementing one application that contains a button side by small screen for taking pic from camera....i need initially how camera starts and if button press snap an stored into SD card ..how to stored into SD card ..any one plz help me | java | android | android-layout | null | null | 11/24/2011 02:41:47 | not a real question | how to do camera for taking snap and stored into SD card?
===
im implementing one application that contains a button side by small screen for taking pic from camera....i need initially how camera starts and if button press snap an stored into SD card ..how to stored into SD card ..any one plz help me | 1 |
11,151,620 | 06/22/2012 07:08:08 | 1,395,692 | 05/15/2012 08:49:00 | 64 | 1 | CSS : centering a fixed menu with no specific width | i've been struggling with something: centering my CSS menu!! i can't figure out how to do it. What am i doing wrong?
http://jsfiddle.net/yfVs2/ | html | css | menu | null | null | null | open | CSS : centering a fixed menu with no specific width
===
i've been struggling with something: centering my CSS menu!! i can't figure out how to do it. What am i doing wrong?
http://jsfiddle.net/yfVs2/ | 0 |
5,897,936 | 05/05/2011 12:49:31 | 480,346 | 10/19/2010 10:23:33 | 330 | 5 | What is the max length of iPhone App Name? | What is the maximum length of iPhone App name we can have?
Thanks! | iphone | objective-c | cocoa-touch | iphone-sdk-4.0 | iphone-sdk-3.0 | 05/10/2011 01:06:53 | not a real question | What is the max length of iPhone App Name?
===
What is the maximum length of iPhone App name we can have?
Thanks! | 1 |
9,663,734 | 03/12/2012 08:24:24 | 196,210 | 10/25/2009 15:26:47 | 197 | 5 | Oracle: creating a query that gives a score to a record (using IF ELSE in a query) | Should I use something like SUM(IF... sintax)? | sql | oracle | null | null | null | 03/12/2012 18:18:27 | not a real question | Oracle: creating a query that gives a score to a record (using IF ELSE in a query)
===
Should I use something like SUM(IF... sintax)? | 1 |
7,145,562 | 08/22/2011 09:41:42 | 831,970 | 07/06/2011 16:12:23 | 18 | 6 | Colorize text/background, how to make pretty-print portable? Also, large list of Color Functions written by Aesthir, enjoy? | Although this isn't a specific question, I do have one.... but first, I'd like to share `[ Aesthir's Color Functions™ ]`... —— it's not really trademarked ;^) —— with all the shell-coders out there who would like things to look a bit nicer. I use these religiously throughout all my scripts (70+ now), just for fun, to ... | bash | shell | colors | portability | pretty-print | null | open | Colorize text/background, how to make pretty-print portable? Also, large list of Color Functions written by Aesthir, enjoy?
===
Although this isn't a specific question, I do have one.... but first, I'd like to share `[ Aesthir's Color Functions™ ]`... —— it's not really trademarked ;^) —— with all the shell-coders out... | 0 |
7,326,441 | 09/06/2011 21:34:11 | 329,700 | 04/30/2010 11:12:27 | 882 | 19 | File contains two EOF characters; what happens? | Will this screw up file size estimation on the file system? Will the filesystem overwrite everything past the first EOF character? How is this handled? | unix | eof | null | null | null | null | open | File contains two EOF characters; what happens?
===
Will this screw up file size estimation on the file system? Will the filesystem overwrite everything past the first EOF character? How is this handled? | 0 |
3,414,362 | 08/05/2010 11:51:32 | 411,908 | 08/05/2010 11:48:12 | 1 | 0 | what are the concepts i want to study for web designing | i want to become a web designer so what are the concepts i want to study | website-designing | null | null | null | null | 08/05/2010 12:14:33 | off topic | what are the concepts i want to study for web designing
===
i want to become a web designer so what are the concepts i want to study | 2 |
6,906,314 | 08/02/2011 01:18:34 | 576,638 | 01/15/2011 10:21:09 | 161 | 8 | php abbreviating numbers with K/M | The function below finds the number, rounds it off and puts a K or M on the end of it
IE: 25000 becomes 25K
function abbr_no($number) {
$number = preg_replace('/[^0-9]/', '', $number);
$numbers = array('', 'K', 'M');
if ($number == 0) {
return('n/a');
} else {
return (ro... | php | function | numbers | abbreviation | null | null | open | php abbreviating numbers with K/M
===
The function below finds the number, rounds it off and puts a K or M on the end of it
IE: 25000 becomes 25K
function abbr_no($number) {
$number = preg_replace('/[^0-9]/', '', $number);
$numbers = array('', 'K', 'M');
if ($number == 0) {
return('... | 0 |
2,274,769 | 02/16/2010 17:12:19 | 251,848 | 01/15/2010 20:35:01 | 600 | 15 | C++ pointers to class instances | I have an (for C++ programmers better than me) simple problem with classes and pointers.
I thought about posting example code describing my problem but I found it easier to just explain it in words.
Assuming I have three classes:
- **Class A:** The main class - it contains an instance of both `B` and `C`.
- **C... | c++ | pointers | null | null | null | null | open | C++ pointers to class instances
===
I have an (for C++ programmers better than me) simple problem with classes and pointers.
I thought about posting example code describing my problem but I found it easier to just explain it in words.
Assuming I have three classes:
- **Class A:** The main class - it contains an... | 0 |
6,910,511 | 08/02/2011 10:20:13 | 7,604 | 09/15/2008 14:02:40 | 148 | 2 | What PHP framework would you choose for a new Facebook application and why? | Considering facebook application is to be developed in PHP, which PHP framework (code igniter, Yii, cake php etc.) would you use? | php | facebook | frameworks | null | null | 08/02/2011 11:08:24 | not constructive | What PHP framework would you choose for a new Facebook application and why?
===
Considering facebook application is to be developed in PHP, which PHP framework (code igniter, Yii, cake php etc.) would you use? | 4 |
8,905,007 | 01/18/2012 04:01:48 | 474,009 | 10/13/2010 03:04:11 | 528 | 14 | What is the oposite of pop on a ruby array? | I have a array:
a = ['a', 'b', 'c']
a.pop return 'c', what would return 'a'? | ruby | null | null | null | null | 01/18/2012 12:55:11 | not a real question | What is the oposite of pop on a ruby array?
===
I have a array:
a = ['a', 'b', 'c']
a.pop return 'c', what would return 'a'? | 1 |
10,615,510 | 05/16/2012 09:19:56 | 345,859 | 05/20/2010 08:06:31 | 438 | 1 | How come python did not refer to this very simple scenario? | How come python did not refer to this so basic scenario?
[handling multiple modules versions][1]
[1]: http://stackoverflow.com/questions/6570635/how-to-deal-pip-install-multiple-package-versions
How come i need to deal with it by myself? when in java i have the maven product to do all this work for me??? | python | maven | null | null | null | 05/16/2012 10:08:26 | not a real question | How come python did not refer to this very simple scenario?
===
How come python did not refer to this so basic scenario?
[handling multiple modules versions][1]
[1]: http://stackoverflow.com/questions/6570635/how-to-deal-pip-install-multiple-package-versions
How come i need to deal with it by myself? when... | 1 |
4,211,748 | 11/18/2010 04:44:07 | 224,988 | 12/04/2009 18:31:03 | 2,305 | 109 | Autorun for Mac? | I've got a Flash projector which I plan to distribute on CD. I'm making a projector for Mac and Windows. I know how to do Autorun on Windows, but I want to do so on Mac as well.
How does that work? | osx | autorun | projector | null | null | null | open | Autorun for Mac?
===
I've got a Flash projector which I plan to distribute on CD. I'm making a projector for Mac and Windows. I know how to do Autorun on Windows, but I want to do so on Mac as well.
How does that work? | 0 |
8,780,949 | 01/08/2012 20:23:04 | 937,624 | 09/09/2011 22:09:13 | 334 | 0 | Making a good code structure | What do you say about the code structure below? This is one of the recommended ways of writing JS code in my education.
What is the pros and cons with writing code this way?
Can you recommend any better and maybe more elegant ways of writing code?
var DESKTOP = DESKTOP || {};
DESKTOP.Init = DESKTOP.Init... | javascript | code-structure | null | null | null | 01/08/2012 20:31:22 | off topic | Making a good code structure
===
What do you say about the code structure below? This is one of the recommended ways of writing JS code in my education.
What is the pros and cons with writing code this way?
Can you recommend any better and maybe more elegant ways of writing code?
var DESKTOP = DESKTOP || {}... | 2 |
10,903,083 | 06/05/2012 18:48:16 | 1,406,214 | 05/20/2012 12:27:13 | 23 | 1 | c# winforms how to multiply string array members? | First, i need to create a string array from DataGridView.SelectedCells.Values<br/><br/>
Then I need to multiplay that string - by istself, until a limit of member.count is riched.<br/><br/>
for example:<br/><br/>
if string [a] = {"a", "b", "c"}; //where abc are selectedCells.Values.<br/><br/>
new string should be:... | c# | winforms | datagridview | string-array | null | null | open | c# winforms how to multiply string array members?
===
First, i need to create a string array from DataGridView.SelectedCells.Values<br/><br/>
Then I need to multiplay that string - by istself, until a limit of member.count is riched.<br/><br/>
for example:<br/><br/>
if string [a] = {"a", "b", "c"}; //where abc are... | 0 |
573,837 | 02/21/2009 22:28:41 | 51,420 | 01/04/2009 18:20:58 | 160 | 11 | A shot in the dark - Application bug | Ok so this is gonna be a bit of a shot in the dark without you being able to see my application!
I have a bug. I have a SwimmingPool class, my app passes the pool from a tableview into a detail view where you can see all the swimmingPool class fields. You can then click on the individual detail, edit it, and then sa... | iphone | cocoa-touch | objective-c | memory-management | null | null | open | A shot in the dark - Application bug
===
Ok so this is gonna be a bit of a shot in the dark without you being able to see my application!
I have a bug. I have a SwimmingPool class, my app passes the pool from a tableview into a detail view where you can see all the swimmingPool class fields. You can then click on t... | 0 |
8,713,787 | 01/03/2012 14:29:51 | 5,692 | 09/11/2008 01:00:57 | 301 | 5 | What is the correct pronunciation of the Objective-C type "id"? | I've heard it pronounced as its letters "eye-dee" and as a word that rhymes with "did", but I can't find any official reference suggesting the correct pronunciation. What is it? | objective-c | pronunciation | null | null | null | 03/14/2012 04:14:42 | off topic | What is the correct pronunciation of the Objective-C type "id"?
===
I've heard it pronounced as its letters "eye-dee" and as a word that rhymes with "did", but I can't find any official reference suggesting the correct pronunciation. What is it? | 2 |
8,833,386 | 01/12/2012 10:17:45 | 860,200 | 07/24/2011 12:20:48 | 10 | 0 | php mysql redirect image URL to link URL | some one use my image URL in his site...
i want to redirect my site image URL like this :
> mysite.com/wallpaper/image_car.jpg
redirect to
> mysite.com/wallpaper/image_car.html
when he use in his site then its redirect
i want code in php
| php | mysql | null | null | null | 01/12/2012 16:27:58 | not a real question | php mysql redirect image URL to link URL
===
some one use my image URL in his site...
i want to redirect my site image URL like this :
> mysite.com/wallpaper/image_car.jpg
redirect to
> mysite.com/wallpaper/image_car.html
when he use in his site then its redirect
i want code in php
| 1 |
3,327,860 | 07/25/2010 03:20:58 | 208,513 | 11/11/2009 08:46:16 | 116 | 7 | How to print an a 4x4 array in clockwise direction using C# | Please help..if anyone have any sample code. | c# | algorithm | data-structures | null | null | 07/25/2010 04:17:59 | not a real question | How to print an a 4x4 array in clockwise direction using C#
===
Please help..if anyone have any sample code. | 1 |
9,197,267 | 02/08/2012 16:20:12 | 1,106,441 | 12/19/2011 17:49:47 | 1 | 0 | [NSDictionary and NSMutableArray] | I have a tableView with n rows.
In each row have data such as foodID, foodPrice...
when i select one of rows in table , it will load a new window displayed info :foodID foodPrice of slected table
I think Dictionary can solove but don't know how to code it
Please help me. | iphone | null | null | null | null | 02/08/2012 16:30:31 | not a real question | [NSDictionary and NSMutableArray]
===
I have a tableView with n rows.
In each row have data such as foodID, foodPrice...
when i select one of rows in table , it will load a new window displayed info :foodID foodPrice of slected table
I think Dictionary can solove but don't know how to code it
Please help me. | 1 |
3,232,921 | 07/12/2010 22:56:53 | 125,380 | 06/18/2009 20:38:16 | 1,905 | 38 | How to eliminate Perl rounding errors | Consider the following program:
<pre>
<code>
$x=12345678901.234567000;
$y=($x-int($x))*1000000000;
printf("%f:%f\n",$x,$y);
</code>
</pre>
Here's what is prints:
`12345678901.234568:234567642.211914`
I was expecting:
`12345678901.234567:234567000`
This appears to be some sort of rounding issue in ... | perl | rounding | null | null | null | null | open | How to eliminate Perl rounding errors
===
Consider the following program:
<pre>
<code>
$x=12345678901.234567000;
$y=($x-int($x))*1000000000;
printf("%f:%f\n",$x,$y);
</code>
</pre>
Here's what is prints:
`12345678901.234568:234567642.211914`
I was expecting:
`12345678901.234567:234567000`
This ap... | 0 |
4,064,160 | 10/31/2010 17:23:43 | 310,291 | 03/02/2010 15:22:39 | 1,257 | 16 | How to customize twitter "via" message in PHP ? | I can't find any mention on how to do this with twitter api. I'd like to do it without buying this commercial software:
http://www.webdesigndev.com/photoshop/how-to-brand-your-tweets-with-your-url-and-why-you-should | php | twitter | null | null | null | null | open | How to customize twitter "via" message in PHP ?
===
I can't find any mention on how to do this with twitter api. I'd like to do it without buying this commercial software:
http://www.webdesigndev.com/photoshop/how-to-brand-your-tweets-with-your-url-and-why-you-should | 0 |
9,098,655 | 02/01/2012 15:39:22 | 876,581 | 08/03/2011 12:22:37 | 149 | 1 | How can I add comments in SQL? | I want to add comment in a sql code. How can I do it ?
----- I use MySQL ------ | mysql | database | null | null | null | 02/02/2012 08:24:00 | too localized | How can I add comments in SQL?
===
I want to add comment in a sql code. How can I do it ?
----- I use MySQL ------ | 3 |
11,248,893 | 06/28/2012 16:22:58 | 768,505 | 05/24/2011 20:42:38 | 6 | 0 | PHP changing content in header | I have a site where the pages have the following structure:
<?php
include('header.php');
?>
Content goes here
<?php
include('header.php');
?>
In the header I have a div that contains anything that is wider than the page itself. This div is above the main content:
... | php | html | null | null | null | null | open | PHP changing content in header
===
I have a site where the pages have the following structure:
<?php
include('header.php');
?>
Content goes here
<?php
include('header.php');
?>
In the header I have a div that contains anything that is wider than the page itself. This... | 0 |
6,656,666 | 07/11/2011 21:15:23 | 673,726 | 03/23/2011 19:18:20 | 587 | 51 | Java socket timeout during read | What happens if a client connected through a `Socket` has a bad lag ?
Let's say i call `socket.read()` from the TCP server, and the client writes some stuff on the network pipe, but his connection is laging for 1 or 2 minutes. What will happen ? Will the `read` fail ? Or will it wait ?
I'm not sure if it's even pos... | java | sockets | tcp | timeout | null | null | open | Java socket timeout during read
===
What happens if a client connected through a `Socket` has a bad lag ?
Let's say i call `socket.read()` from the TCP server, and the client writes some stuff on the network pipe, but his connection is laging for 1 or 2 minutes. What will happen ? Will the `read` fail ? Or will it wa... | 0 |
7,463,799 | 09/18/2011 19:17:02 | 788,856 | 06/08/2011 08:52:15 | 6 | 0 | Windows service with sql | partial class TestService : ServiceBase
{
FileStream fs;
StreamWriter sw;
//SqlConnection con;
//SqlCommand com;
public TestService()
{
InitializeComponent();
fs = new FileStream(@"C:\SampleLast.txt", FileMode.Cre... | c# | .net | service | windows-services | timer | 09/18/2011 19:55:57 | not a real question | Windows service with sql
===
partial class TestService : ServiceBase
{
FileStream fs;
StreamWriter sw;
//SqlConnection con;
//SqlCommand com;
public TestService()
{
InitializeComponent();
fs = new FileStream(@"C:... | 1 |
5,434,809 | 03/25/2011 15:47:47 | 172,396 | 06/24/2009 10:46:36 | 69 | 3 | Sql Server - OUTER APPLY versus Sub-qeries | Please consider the following 2 statements in Sql Server:
This one is using Nested sub-queries:
WITH cte AS
(
SELECT TOP 100 PERCENT *
FROM Segments
ORDER BY InvoiceDetailID, SegmentID
)
SELECT *, ReturnDate =
(SELECT TOP 1 cte.DepartureInfo
FROM cte
WHERE seg.InvoiceDetail... | sql | sql-server | common-table-expression | null | null | 05/08/2012 20:19:57 | not constructive | Sql Server - OUTER APPLY versus Sub-qeries
===
Please consider the following 2 statements in Sql Server:
This one is using Nested sub-queries:
WITH cte AS
(
SELECT TOP 100 PERCENT *
FROM Segments
ORDER BY InvoiceDetailID, SegmentID
)
SELECT *, ReturnDate =
(SELECT TOP 1 cte.DepartureInf... | 4 |
10,069,995 | 04/09/2012 06:59:31 | 1,023,135 | 11/01/2011 05:38:01 | 1 | 0 | How to get current date in C#? | I'm using visual studio 2010 do developt my Windows phone application!
I'm newbie and i don't know how to show current date in follow format
For ex
I use
> String.Format("{0:dd/MM/yyyy}",date);
Out put:
> 09/04/2012 (this date is my datetime format)
But, I want out put exactly is (date only withou... | c# | datetime | format | null | null | null | open | How to get current date in C#?
===
I'm using visual studio 2010 do developt my Windows phone application!
I'm newbie and i don't know how to show current date in follow format
For ex
I use
> String.Format("{0:dd/MM/yyyy}",date);
Out put:
> 09/04/2012 (this date is my datetime format)
But, I want ... | 0 |
9,027,932 | 01/27/2012 01:32:35 | 1,122,441 | 12/30/2011 06:15:03 | 18 | 4 | how to let apache server do some preprocess to .js before it send the file | I was trying to compile JavaScript ,for the deploy code it is simple,just compile the code of the .js file,but for the develop code,compile means i must compile the .js file every time when I change it,which is not my favorite.
When developing,I use apache server to keep the code,I wish apache check every file and... | javascript | apache | null | null | null | 01/29/2012 06:04:38 | not a real question | how to let apache server do some preprocess to .js before it send the file
===
I was trying to compile JavaScript ,for the deploy code it is simple,just compile the code of the .js file,but for the develop code,compile means i must compile the .js file every time when I change it,which is not my favorite.
When de... | 1 |
1,179,697 | 07/24/2009 19:30:48 | 118,195 | 06/05/2009 18:16:50 | 10 | 1 | C# books or web sites for C++ developers | I am looking for web sites or books that would help a C++ developer to pick up C#.
So far, [this][1] is the best one I've found.
[1]: http://andymcm.com/csharpfaq.htm | c# | c++ | null | null | null | 09/30/2011 00:45:37 | not constructive | C# books or web sites for C++ developers
===
I am looking for web sites or books that would help a C++ developer to pick up C#.
So far, [this][1] is the best one I've found.
[1]: http://andymcm.com/csharpfaq.htm | 4 |
7,801,833 | 10/18/2011 02:36:58 | 345,599 | 05/19/2010 23:23:52 | 11 | 1 | Why am I seeing "Go to Facebook.com" on my canvas page? | I keep seeing the facebook logo with a link that reads "Go to Facebook.com" in my canvas app while screens are loading. Eventually the app loads fine, but what is this and how can I avoid it?
![Screenshot][1]
[1]: http://i.stack.imgur.com/67U0w.png | facebook | redirect | null | null | null | null | open | Why am I seeing "Go to Facebook.com" on my canvas page?
===
I keep seeing the facebook logo with a link that reads "Go to Facebook.com" in my canvas app while screens are loading. Eventually the app loads fine, but what is this and how can I avoid it?
![Screenshot][1]
[1]: http://i.stack.imgur.com/67U0w.png | 0 |
10,856,195 | 06/01/2012 19:23:31 | 1,431,448 | 06/01/2012 19:13:24 | 1 | 0 | C loop in a muli-variable array not working | The multi-array gets filled in properly, I have checked this with the debugger, however this loop here doesn't print out the second row of the array [1][0] to the first 0
void display(int pCount, int hands[4][26])
{
int j = 1;
int i;
while(j <= pCount)
{
printf("\nP... | c | null | null | null | null | 06/01/2012 21:55:46 | too localized | C loop in a muli-variable array not working
===
The multi-array gets filled in properly, I have checked this with the debugger, however this loop here doesn't print out the second row of the array [1][0] to the first 0
void display(int pCount, int hands[4][26])
{
int j = 1;
int i;
... | 3 |
4,830,466 | 01/28/2011 16:14:02 | 240,350 | 12/29/2009 17:43:16 | 102 | 2 | Regular Expression to get full string if it doesn't contain a specific character? | I need help with a regular expression that will find matches in the strings below:
> myDOG_test
>
> myCAT_test
Basically, I want to return 'DOG' or 'CAT' from these paths.
Then I have similar strings (all start with 'my') that don't contain the underscore AFTER the value I want, and in that case I just want... | php | regex | preg-match | null | null | null | open | Regular Expression to get full string if it doesn't contain a specific character?
===
I need help with a regular expression that will find matches in the strings below:
> myDOG_test
>
> myCAT_test
Basically, I want to return 'DOG' or 'CAT' from these paths.
Then I have similar strings (all start with 'my')... | 0 |
10,723,972 | 05/23/2012 16:17:10 | 1,200,814 | 02/09/2012 22:24:07 | 5 | 0 | Calling jQuery & CSS in functions using php | I am having a problem in my script...i have this jQuery script & CSS that i call in my functions when needed...
<script type="text/javascript">
$(function(){
// Accordion
$("#accordion").accordion({ header: "h3" });
// Tabs
$('#tabs').tabs();
... | php | jquery | css | function | null | 07/24/2012 02:54:00 | too localized | Calling jQuery & CSS in functions using php
===
I am having a problem in my script...i have this jQuery script & CSS that i call in my functions when needed...
<script type="text/javascript">
$(function(){
// Accordion
$("#accordion").accordion({ header: "h3" });
/... | 3 |
3,366,108 | 07/29/2010 19:11:16 | 349,223 | 05/24/2010 18:49:03 | 16 | 1 | Flash disable a button/movie clip, not working? | I am using Greensock to tween and during a rollOver I need to disable some buttons. I am pretty sure the code is right but the buttons do NOT disable?
code:
import com.greensock.*;
btn_skins.addEventListener(MouseEvent.CLICK,
function() {
TweenLite.to(mtvOrange, .25, {y:0});
}
);
btn_teenwolf.addEv... | flash | actionscript | button | disable | null | null | open | Flash disable a button/movie clip, not working?
===
I am using Greensock to tween and during a rollOver I need to disable some buttons. I am pretty sure the code is right but the buttons do NOT disable?
code:
import com.greensock.*;
btn_skins.addEventListener(MouseEvent.CLICK,
function() {
TweenLite.t... | 0 |
5,724,969 | 04/20/2011 02:42:20 | 714,607 | 04/19/2011 05:48:06 | 1 | 0 | Selecting a datagridview | My Questions is what if you select a datagridview and it will the value on the textboxes..
here's my code:
txtUsername.Text = grdUser.SelectedRow.Cells(1).Text;
thanks! | c# | null | null | null | null | 04/22/2011 01:55:57 | not a real question | Selecting a datagridview
===
My Questions is what if you select a datagridview and it will the value on the textboxes..
here's my code:
txtUsername.Text = grdUser.SelectedRow.Cells(1).Text;
thanks! | 1 |
6,169,394 | 05/29/2011 17:54:06 | 290,744 | 03/10/2010 17:13:36 | 66 | 3 | What is the purpose of using UIViewController IBOutlet | I am in the learning phase of iOS programming. I am trying to add a NIB (called B) in another NIB (called A). To do so, I have added a View Controller in A which uses the B NIB (using NIB Name). In addition, in the A's ViewController, I have created an IBOutlet to store B's ViewController. Finally, in A I have connecte... | iphone | interface-builder | iboutlet | null | null | null | open | What is the purpose of using UIViewController IBOutlet
===
I am in the learning phase of iOS programming. I am trying to add a NIB (called B) in another NIB (called A). To do so, I have added a View Controller in A which uses the B NIB (using NIB Name). In addition, in the A's ViewController, I have created an IBOutle... | 0 |
9,050,136 | 01/29/2012 01:19:05 | 959,214 | 09/22/2011 13:30:37 | 1 | 0 | Simple product image in Config product - Magento 1.5 | I am using Magento 1.5 and have around 33,450 products on my site. 32000 are simple products attached to 1300 configurable products.
Now, the main problem is that I need to change the product image when my customer selects different color.
How can I do that?
I already installed http://www.magentocommerce.com/m... | magento | null | null | null | null | null | open | Simple product image in Config product - Magento 1.5
===
I am using Magento 1.5 and have around 33,450 products on my site. 32000 are simple products attached to 1300 configurable products.
Now, the main problem is that I need to change the product image when my customer selects different color.
How can I do tha... | 0 |
9,329,085 | 02/17/2012 13:26:58 | 390,973 | 07/13/2010 21:19:08 | 48 | 3 | Store JSON Blobs in MySQL or S3 | I'm going to be storing some specification data as JSON strings (height, weight etc) -- one per product. The data will be accessed very infrequently (once initially and then only again if I change an algorithm and need to update the summary metrics). My plan is to store a reference to the JSON string's location in a My... | json | amazon-s3 | amazon-web-services | amazon-rds | null | null | open | Store JSON Blobs in MySQL or S3
===
I'm going to be storing some specification data as JSON strings (height, weight etc) -- one per product. The data will be accessed very infrequently (once initially and then only again if I change an algorithm and need to update the summary metrics). My plan is to store a reference ... | 0 |
2,697,390 | 04/23/2010 09:12:59 | 108,802 | 05/18/2009 13:37:08 | 301 | 10 | make inference rule for files in a folder | I use GNU make, I want my source files and object files to be in different folders.
As a first step, I want the source files at the root of my project folder, and the object files in a subfolder (say `Debug/`).
The inference rule would be:
.ss.obj:
echo Assembling $*.ss...
$(ASSEMBLY) $(2... | make | inference | null | null | null | null | open | make inference rule for files in a folder
===
I use GNU make, I want my source files and object files to be in different folders.
As a first step, I want the source files at the root of my project folder, and the object files in a subfolder (say `Debug/`).
The inference rule would be:
.ss.obj:
ec... | 0 |
2,416,844 | 03/10/2010 12:35:52 | 249,991 | 01/13/2010 16:23:24 | 136 | 10 | how to set custom title bar TextView Value dynamically in android? | friends,
i have created custom title bar using following titlebar.xml file with code
<?xml version="1.0" encoding="utf-8"?>
<TextView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/myTitle"
android:text="This is my new title"
android:layout_wi... | android | layout | activity | null | null | null | open | how to set custom title bar TextView Value dynamically in android?
===
friends,
i have created custom title bar using following titlebar.xml file with code
<?xml version="1.0" encoding="utf-8"?>
<TextView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/myTitl... | 0 |
7,860,662 | 10/22/2011 15:46:51 | 931,872 | 09/07/2011 02:19:13 | 271 | 2 | MFC database program | I want to make simple database program by use Microsoft Visual Studio 2008.
I have previously never created database program.
My program must communicate with mdb file.
Also My project is based on Dialog mode.
I want to know how can I get data from mde file and write.
Where can I find some articles about... | database | mfc | dialog | access | null | null | open | MFC database program
===
I want to make simple database program by use Microsoft Visual Studio 2008.
I have previously never created database program.
My program must communicate with mdb file.
Also My project is based on Dialog mode.
I want to know how can I get data from mde file and write.
Where can ... | 0 |
8,033,668 | 11/07/2011 07:14:16 | 616,342 | 02/14/2011 14:17:38 | 163 | 6 | how can we differentiate the image filter effects? | How can we differentiate the image filter effects? on what basis we can check the image filters like based on color matrix or pixels?Actually iam developing the image filter library in java so i want to know the difference between each image filters. ex vintage effect, Polaroid effect,sepia effect..etc.
Try to help ... | java | null | null | null | null | 11/07/2011 17:44:10 | not a real question | how can we differentiate the image filter effects?
===
How can we differentiate the image filter effects? on what basis we can check the image filters like based on color matrix or pixels?Actually iam developing the image filter library in java so i want to know the difference between each image filters. ex vintage ef... | 1 |
299,628 | 11/18/2008 18:14:26 | 598 | 08/07/2008 02:49:41 | 3,708 | 125 | Is an entity body allowed for an HTTP DELETE request? | When issuing an HTTP DELETE request, the request URI should completely identify the resource to delete. However, is it allowable to add extra meta-data as part of the entity body of the request? | http | rest | null | null | null | null | open | Is an entity body allowed for an HTTP DELETE request?
===
When issuing an HTTP DELETE request, the request URI should completely identify the resource to delete. However, is it allowable to add extra meta-data as part of the entity body of the request? | 0 |
11,617,859 | 07/23/2012 17:57:12 | 1,546,502 | 07/23/2012 17:21:21 | 1 | 0 | How to implement tag following in database? | I'm making a micro-blogging website where users can follow tags. Like in twitter, users can follow other users.. in my project they can follow tags as well. What should be the database design to implement tag following? User following is easy.
One way is to have like 5 tag ID columns in the table containing posts:
... | database | database-schema | null | null | null | null | open | How to implement tag following in database?
===
I'm making a micro-blogging website where users can follow tags. Like in twitter, users can follow other users.. in my project they can follow tags as well. What should be the database design to implement tag following? User following is easy.
One way is to have like ... | 0 |
3,438,635 | 08/09/2010 09:09:20 | 414,893 | 08/09/2010 09:09:20 | 1 | 0 | Give the solution of twice outer join |
Select MaterialProcessSlip.*,Vendor.CompanyName,O.Name from MaterialProcessSlip ProcessSlip left
outer join Vendors Vendor on (ProcessSlip.SubContractorId=Vendor.Id) MaterialProcessSlip left outer join Operations O on (ProcessSlip.Operationsid=O.id)
| c# | null | null | null | null | 08/10/2010 15:24:36 | not a real question | Give the solution of twice outer join
===
Select MaterialProcessSlip.*,Vendor.CompanyName,O.Name from MaterialProcessSlip ProcessSlip left
outer join Vendors Vendor on (ProcessSlip.SubContractorId=Vendor.Id) MaterialProcessSlip left outer join Operations O on (ProcessSlip.Operationsid=O.id)
| 1 |
6,918,555 | 08/02/2011 21:00:30 | 789,188 | 06/07/2011 13:37:11 | 58 | 0 | ANTLR: how to parse a region within matching brackets with a lexer | i want to parse something like this in my lexer:
( begin expression )
where expression are also surrounded by brackets. it isn't important what is in the expression, i just want to have all what's between the (begin and the matching ) as a token. an example would be:
<pre><code>(begin
(define x (+ 1... | antlr | matching | lexer | brackets | null | null | open | ANTLR: how to parse a region within matching brackets with a lexer
===
i want to parse something like this in my lexer:
( begin expression )
where expression are also surrounded by brackets. it isn't important what is in the expression, i just want to have all what's between the (begin and the matching ) as ... | 0 |
11,004,292 | 06/12/2012 20:24:34 | 207,937 | 11/10/2009 16:23:57 | 74 | 4 | .htaccess rewrite wildcard subdomain w/ capistrano deployments | I'm struggling to get a .htaccess thats working for me in this situation;
I've a wildcard domain pointing to /staging on my server, the folder looks something like this;
/staging/**newproject**/
/staging/**newproject**/current/ **<-- this is a symlink to the latest release**
/staging/**newprojec... | .htaccess | mod-rewrite | capistrano | mediatemple | null | 06/14/2012 12:01:54 | off topic | .htaccess rewrite wildcard subdomain w/ capistrano deployments
===
I'm struggling to get a .htaccess thats working for me in this situation;
I've a wildcard domain pointing to /staging on my server, the folder looks something like this;
/staging/**newproject**/
/staging/**newproject**/current/ **<-- t... | 2 |
1,592,257 | 10/20/2009 03:11:46 | 192,808 | 10/20/2009 03:11:46 | 1 | 0 | ObjectUtils.equal(x,y) null can work | ObjectUtils.equal(x,y)
x if is null
can work? | java | null | null | null | null | 01/19/2012 21:23:25 | not a real question | ObjectUtils.equal(x,y) null can work
===
ObjectUtils.equal(x,y)
x if is null
can work? | 1 |
2,216,324 | 02/07/2010 07:46:58 | 182,332 | 10/01/2009 07:59:18 | 35 | 14 | What is the best load testing tool? | What is the best load testing tool for asp.net applications? | load | testing | null | null | null | 04/16/2012 14:24:38 | not constructive | What is the best load testing tool?
===
What is the best load testing tool for asp.net applications? | 4 |
6,165,987 | 05/29/2011 04:39:52 | 733,287 | 05/01/2011 13:00:26 | 144 | 19 | remove default error message from a zend form image field | hi i am using a zend image element in my project , i have validated the field . if i choose other than an image and submit the form , a default error message is displayed , i tried to remove it and add a custom message by
$image->removeDecorator('Error');
$image->addErrorMessage('Invalid image');
but it is... | zend-framework | zend-form | null | null | null | null | open | remove default error message from a zend form image field
===
hi i am using a zend image element in my project , i have validated the field . if i choose other than an image and submit the form , a default error message is displayed , i tried to remove it and add a custom message by
$image->removeDecorator('Err... | 0 |
9,104,056 | 02/01/2012 22:06:09 | 1,183,327 | 02/01/2012 17:29:18 | 1 | 0 | memory error (access violation) on method parameters | I've got weird problem. I'm trying to write simple game in C++, but I failed on objects and data types. There's a code:
<!-- language: lang-cpp -->
// C++
// Statki
#include <stdio.h>
#include <time.h>
#include <map>
#include <vector>
#include <string>
#include <list>
#define D true
us... | c++ | memory-allocation | segmentation-fault | null | null | null | open | memory error (access violation) on method parameters
===
I've got weird problem. I'm trying to write simple game in C++, but I failed on objects and data types. There's a code:
<!-- language: lang-cpp -->
// C++
// Statki
#include <stdio.h>
#include <time.h>
#include <map>
#include <vector>
#in... | 0 |
10,142,099 | 04/13/2012 13:50:06 | 1,331,542 | 04/13/2012 12:11:25 | 1 | 0 | Jquery Library - Drawing House | I need some kind of WEB plugin (Javascript probably) where I need to design the house (kitchen,bathroom) with the furniture too.
Somebody know anything like that??
Thank youu! | javascript | jquery | jquery-ui | design | svg | 04/13/2012 15:10:46 | not a real question | Jquery Library - Drawing House
===
I need some kind of WEB plugin (Javascript probably) where I need to design the house (kitchen,bathroom) with the furniture too.
Somebody know anything like that??
Thank youu! | 1 |
111,007 | 09/21/2008 13:19:50 | 11,612 | 09/16/2008 09:30:01 | 11 | 3 | flex webservice client | Has anybody any useful links that can be used to consume a web service using flex?
The easier the solution the better
Thanks
| flex | webservices | null | null | null | 07/12/2011 14:56:37 | not constructive | flex webservice client
===
Has anybody any useful links that can be used to consume a web service using flex?
The easier the solution the better
Thanks
| 4 |
4,837,861 | 01/29/2011 16:09:18 | 554,216 | 12/26/2010 09:22:38 | 5 | 0 | Delpi DLL comport | i am developing a DLL in Delphi 2010 that is communicating with Comport.
But there is a problem that ia dont get any value from the port.
i am using the RxChar but i think the com objet is not triggering the RxChar command.
how can i trigger the RxChar so it would work??
unit unitfxvogir;
{$WAR... | dll | delphi-2010 | comports | null | null | null | open | Delpi DLL comport
===
i am developing a DLL in Delphi 2010 that is communicating with Comport.
But there is a problem that ia dont get any value from the port.
i am using the RxChar but i think the com objet is not triggering the RxChar command.
how can i trigger the RxChar so it would work??
unit unitfx... | 0 |
10,271,680 | 04/22/2012 20:08:10 | 1,350,017 | 04/22/2012 19:52:06 | 1 | 0 | ASP.NET C#, SQL Rendering images, sql query etc | Im creating a military site for an organisation. A part of the site is going to be a news/blog-wall.
The news are going to consist of an simpel article and for that article a few picture depending on what the article-writer is choosing.
In my database i made up two tables, one for news and one for pictures. Con... | c# | asp.net | sql | null | null | 04/23/2012 11:04:34 | not constructive | ASP.NET C#, SQL Rendering images, sql query etc
===
Im creating a military site for an organisation. A part of the site is going to be a news/blog-wall.
The news are going to consist of an simpel article and for that article a few picture depending on what the article-writer is choosing.
In my database i made... | 4 |
6,718,078 | 07/16/2011 14:42:59 | 732,372 | 04/30/2011 12:14:40 | 64 | 2 | is it okay to use GNU public license to create application to a company? | Am i allowed to use Extjs java script library vaersion which published under GNU public license to create a web application for a private company?
Regards
| javascript | open-source | extjs | licensing | gnu | 07/16/2011 15:11:43 | off topic | is it okay to use GNU public license to create application to a company?
===
Am i allowed to use Extjs java script library vaersion which published under GNU public license to create a web application for a private company?
Regards
| 2 |
1,950,121 | 12/23/2009 00:49:09 | 206,446 | 11/08/2009 22:19:26 | 192 | 4 | sort an array and assign new numerical keys? | i have an array like this (after i unset some elements):
$array[3] = 'apple';
$array[5] = 'pear';
$array[23] = 'banana';
which function do i use to sort them to:
$array[0] = 'apple';
$array[1] = 'pear';
$array[2] = 'banana';
i tried some of the sort functions but it didnt work.
... | php | sorting | arrays | null | null | null | open | sort an array and assign new numerical keys?
===
i have an array like this (after i unset some elements):
$array[3] = 'apple';
$array[5] = 'pear';
$array[23] = 'banana';
which function do i use to sort them to:
$array[0] = 'apple';
$array[1] = 'pear';
$array[2] = 'banana';
i tri... | 0 |
9,412,618 | 02/23/2012 11:58:04 | 1,177,567 | 01/30/2012 07:32:56 | 1 | 0 | How to find the cpu utilization(%) of a java class | Need an agent/java program that queries JVM and find the cpu utilization(%) of a java class and methods running in it .
| java | null | null | null | null | 06/06/2012 23:37:30 | not a real question | How to find the cpu utilization(%) of a java class
===
Need an agent/java program that queries JVM and find the cpu utilization(%) of a java class and methods running in it .
| 1 |
11,490,384 | 07/15/2012 07:59:26 | 1,493,470 | 06/30/2012 19:29:08 | 1 | 0 | CS193P Assignment 3, Communication between two ViewControllers | Ok, I know that the model for the new graphing vc is going to be a subclass of the calculator brain, but how do I get the program stack of the CalculatorBrain from the old VC to the GraphingBrain of my new VC? DO I have to go down the stack on the Storyboard-segue?
I have the pinching and panning on the new axes set... | objective-c | uiviewcontroller | protocols | communication | cs193p | null | open | CS193P Assignment 3, Communication between two ViewControllers
===
Ok, I know that the model for the new graphing vc is going to be a subclass of the calculator brain, but how do I get the program stack of the CalculatorBrain from the old VC to the GraphingBrain of my new VC? DO I have to go down the stack on the Stor... | 0 |
4,019,334 | 10/25/2010 22:20:24 | 211,327 | 11/15/2009 06:26:46 | 81 | 3 | What’s the JavaFX story? | I hear JavaFX was a horrible failure.
What was it exactly?
What did it try to accomplish?
Why and how did it fail? | java | history | javafx | null | null | 10/26/2010 00:06:32 | not a real question | What’s the JavaFX story?
===
I hear JavaFX was a horrible failure.
What was it exactly?
What did it try to accomplish?
Why and how did it fail? | 1 |
7,742,199 | 10/12/2011 15:04:16 | 645,226 | 03/04/2011 18:17:33 | 562 | 49 | Which is the best resource to learn Google DART? | Apart from http://www.dartlang.org/ which is the best website to learn Google DART? Any tutorials? Any good book for it?
Also, is it necessary to have any prior knowledge of Javascript to learn it? | dart | google-dart | null | null | null | 04/23/2012 17:51:15 | not constructive | Which is the best resource to learn Google DART?
===
Apart from http://www.dartlang.org/ which is the best website to learn Google DART? Any tutorials? Any good book for it?
Also, is it necessary to have any prior knowledge of Javascript to learn it? | 4 |
10,345,072 | 04/27/2012 05:11:56 | 1,351,241 | 04/23/2012 12:02:01 | 1 | 0 | Difference between web server and application server | Can any body explain me the difference between application server and web server ? any answer is welcome . Thank you . | server | application | web | null | null | 04/29/2012 09:27:02 | not a real question | Difference between web server and application server
===
Can any body explain me the difference between application server and web server ? any answer is welcome . Thank you . | 1 |
408,654 | 01/03/2009 05:27:07 | 9,266 | 09/15/2008 18:14:08 | 486 | 25 | WinForms: Tying actions together | I remember back when I used to do C++ Builder apps, you could create an action, then associate a menu item or context menu item, etc to the action. That way if you dis something like disable the action , the associated menu items would all be disabled. Is there something like that in a .net 2 winforms app? | c# | .net-2.0 | null | null | null | null | open | WinForms: Tying actions together
===
I remember back when I used to do C++ Builder apps, you could create an action, then associate a menu item or context menu item, etc to the action. That way if you dis something like disable the action , the associated menu items would all be disabled. Is there something like that... | 0 |
7,121,390 | 08/19/2011 12:13:56 | 861,059 | 07/25/2011 07:11:21 | 1 | 0 | wamp mySQL error | I have recently installed Windows Web Matrix in order to use Joomla but then I was instructed to download wamp instead. However I had problems installing it and then I figured that it was because Web Matrix was still installed. Therefore, I un-installed it and all the components it added.
Then, I tried re-installin... | mysql | phpmyadmin | wamp | wampserver | mysql-error-1045 | 08/21/2011 12:41:01 | not a real question | wamp mySQL error
===
I have recently installed Windows Web Matrix in order to use Joomla but then I was instructed to download wamp instead. However I had problems installing it and then I figured that it was because Web Matrix was still installed. Therefore, I un-installed it and all the components it added.
Then... | 1 |
11,558,203 | 07/19/2012 09:51:10 | 1,528,800 | 07/16/2012 11:46:09 | 1 | 0 | uncaught syntax error | I am using following code for local storage.
for(int i=0; i< files.length; i++)
{
System.out.println("base = " + files[i].getName() + "\n i=" +i + "\n");
AudioFile f = AudioFileIO.read(files[i]);
Tag tag = f.getTag();
//AudioHeader h = f.getAudioHeader();
... | javascript | null | null | null | null | null | open | uncaught syntax error
===
I am using following code for local storage.
for(int i=0; i< files.length; i++)
{
System.out.println("base = " + files[i].getName() + "\n i=" +i + "\n");
AudioFile f = AudioFileIO.read(files[i]);
Tag tag = f.getTag();
//AudioHeader h = f... | 0 |
5,161,544 | 03/01/2011 23:10:01 | 432,056 | 08/26/2010 16:03:09 | 40 | 4 | Android: Android 2.3.3 how to take screenshot without root? | I've been waiting for this feature.
Android 2.3.3 allows to take screenshot without root.
http://mobiputing.com/2011/03/google-android-2-3-3-adds-native-screenshot-support-may-break-google-voice/
Can you programmatically take screenshot? If so how?
Or is it only manually (like Home + Power button) like Appl... | android | screenshot | null | null | null | null | open | Android: Android 2.3.3 how to take screenshot without root?
===
I've been waiting for this feature.
Android 2.3.3 allows to take screenshot without root.
http://mobiputing.com/2011/03/google-android-2-3-3-adds-native-screenshot-support-may-break-google-voice/
Can you programmatically take screenshot? If so ho... | 0 |
6,105,921 | 05/24/2011 05:09:43 | 767,125 | 05/24/2011 05:07:35 | 1 | 0 | Attempting to use gettext to internationalize a php site | Okay, I have the following PHP code:
<?php
$locale = "es";
//$locale = $_SERVER["HTTP_ACCEPT_LANGUAGE"];
//if (isSet($_GET["locale"])) $locale = $_GET["locale"];
putenv("LC_ALL=$locale");
putenv("LANGUAGE=$locale");
setlocale(LC_ALL, $locale);
bindtextdomain("messages", "./loca... | php | internationalization | gettext | null | null | null | open | Attempting to use gettext to internationalize a php site
===
Okay, I have the following PHP code:
<?php
$locale = "es";
//$locale = $_SERVER["HTTP_ACCEPT_LANGUAGE"];
//if (isSet($_GET["locale"])) $locale = $_GET["locale"];
putenv("LC_ALL=$locale");
putenv("LANGUAGE=$locale");
setlo... | 0 |
6,591,747 | 07/06/2011 04:59:54 | 830,805 | 07/06/2011 03:19:47 | 4 | 0 | Im getting a blank page in php | Hello im trying to create a php email activation system for my users and when i run my script it returns a blank page and my database was not update any help is appreciated
Here is my code:
<?php
$host="localhost";
$username="root";
$password="power1";
$db_name="members";
$tbl_na... | php | null | null | null | null | 07/07/2011 02:58:38 | not a real question | Im getting a blank page in php
===
Hello im trying to create a php email activation system for my users and when i run my script it returns a blank page and my database was not update any help is appreciated
Here is my code:
<?php
$host="localhost";
$username="root";
$password="power1";
... | 1 |
11,369,058 | 07/06/2012 20:12:27 | 777,706 | 05/31/2011 12:57:54 | 203 | 13 | libSVM for iOS? | Has anybody been able to compile libSVM for iOS? I haven't found any guide online, or anybody reporting how fast it is on the new devices. Could anybody point me to the right directions in order to get libSVM running on iOS (if that's possible at all)?
Thank you. | ios | machine-learning | svm | libsvm | null | null | open | libSVM for iOS?
===
Has anybody been able to compile libSVM for iOS? I haven't found any guide online, or anybody reporting how fast it is on the new devices. Could anybody point me to the right directions in order to get libSVM running on iOS (if that's possible at all)?
Thank you. | 0 |
10,883,387 | 06/04/2012 14:54:11 | 1,435,323 | 06/04/2012 13:54:51 | 3 | 0 | How to time how long a Python program takes to run? | Is there a simple way to time a Python program's execution? | python | time | null | null | null | null | open | How to time how long a Python program takes to run?
===
Is there a simple way to time a Python program's execution? | 0 |
9,453,606 | 02/26/2012 13:50:06 | 1,162,333 | 01/21/2012 13:53:21 | 10 | 0 | UIBarButtonItem appearance not working on the device | I ran into the following problem:
I'm customizing the whole appearance of my app. Now I want to change the background of the backbuttons in the navigationbar. If I run my code on the simulator, it works. But if I run it on the device it doesn't change anything. How is this possible?
I'm running the app on my iPho... | objective-c | ios5 | xcode4.2 | null | null | null | open | UIBarButtonItem appearance not working on the device
===
I ran into the following problem:
I'm customizing the whole appearance of my app. Now I want to change the background of the backbuttons in the navigationbar. If I run my code on the simulator, it works. But if I run it on the device it doesn't change anythin... | 0 |
7,950,437 | 10/31/2011 06:06:11 | 978,180 | 10/04/2011 09:45:42 | 3 | 0 | Tund connector error : ERROR/TundConnector(1475): Communications error in android | I am getting the below error
10-28 15:55:48.252: ERROR/NetlinkEvent(1347): NetlinkEvent::FindParam(): Parameter 'UDEV_LOG' not found
10-28 15:55:48.442: ERROR/NetlinkEvent(1347): NetlinkEvent::FindParam(): Parameter 'UDEV_LOG' not found
10-28 15:55:49.082: ERROR/TundConnector(1475): Communications error
10-28 15... | android | null | null | null | null | null | open | Tund connector error : ERROR/TundConnector(1475): Communications error in android
===
I am getting the below error
10-28 15:55:48.252: ERROR/NetlinkEvent(1347): NetlinkEvent::FindParam(): Parameter 'UDEV_LOG' not found
10-28 15:55:48.442: ERROR/NetlinkEvent(1347): NetlinkEvent::FindParam(): Parameter 'UDEV_LOG' n... | 0 |
6,664,364 | 07/12/2011 12:46:48 | 25,645 | 10/06/2008 22:10:23 | 1,393 | 17 | Are there GUI component libraries for Cocoa OSX? | My Cocoa OSX applications are ugly. Are there libraries out there of better UI components?
Maybe also a good website to learn how to do good designs for Cocoa? (not iOS) | cocoa | osx | design | null | null | 07/13/2011 02:15:43 | not constructive | Are there GUI component libraries for Cocoa OSX?
===
My Cocoa OSX applications are ugly. Are there libraries out there of better UI components?
Maybe also a good website to learn how to do good designs for Cocoa? (not iOS) | 4 |
9,575,766 | 03/05/2012 23:35:55 | 267,416 | 02/05/2010 21:31:18 | 351 | 6 | Really Simple Open Source Java games | I need a simple open source Java game to assign it as a programming task to my friend who is learning Java and to be as a reference for him while re-implementing it. He wants to get his hands dirty with a real project but he is still in his first steps in learning the language so don't expect him to make a big game :)
... | java | open-source | source | null | null | 03/08/2012 17:16:28 | off topic | Really Simple Open Source Java games
===
I need a simple open source Java game to assign it as a programming task to my friend who is learning Java and to be as a reference for him while re-implementing it. He wants to get his hands dirty with a real project but he is still in his first steps in learning the language ... | 2 |
6,088,100 | 05/22/2011 13:05:52 | 743,846 | 04/03/2010 11:06:18 | 6 | 1 | Make firefox-addons uninstallable | Anyone knows how to disable the uninstall button when creating an addon?
| firefox-addon | uninstall | null | null | null | 05/22/2011 13:08:19 | not a real question | Make firefox-addons uninstallable
===
Anyone knows how to disable the uninstall button when creating an addon?
| 1 |
7,026,114 | 08/11/2011 12:48:12 | 696,034 | 04/07/2011 04:05:08 | 414 | 47 | jQueryUI .extend woes | I'm trying to figure out how to fix [this][1] code for jQueryUI 1.8.5 and jQuery 1.5.1 and am out of luck with such advanced stuff, can anyone lend a hand?
The problem is with the code below:
$.extend($.ui.boxer, {
defaults: $.extend({}, $.ui.mouse.defaults, {
appendTo: 'body',
distance: 0... | javascript | jquery | jquery-ui | null | null | null | open | jQueryUI .extend woes
===
I'm trying to figure out how to fix [this][1] code for jQueryUI 1.8.5 and jQuery 1.5.1 and am out of luck with such advanced stuff, can anyone lend a hand?
The problem is with the code below:
$.extend($.ui.boxer, {
defaults: $.extend({}, $.ui.mouse.defaults, {
appendTo:... | 0 |
4,945,647 | 02/09/2011 13:42:58 | 67,872 | 02/18/2009 15:06:46 | 1,024 | 87 | JavaScript Web Development tools suggestion? | I'm developing in C# ASP.NET and my lines of JavaScript start to grow quite a lot and I feel there most be some better tools for the actual JS development rather than working in Visual Studio.
Would appreciate recommendations of tools or plug ins for VS2010 and I prefer Open Source/Free tools.
Thanks,
Stefan
| javascript | .net | ide | null | null | 08/30/2011 13:35:06 | not constructive | JavaScript Web Development tools suggestion?
===
I'm developing in C# ASP.NET and my lines of JavaScript start to grow quite a lot and I feel there most be some better tools for the actual JS development rather than working in Visual Studio.
Would appreciate recommendations of tools or plug ins for VS2010 and I pre... | 4 |
7,699,160 | 10/08/2011 19:13:48 | 979,617 | 10/05/2011 03:16:33 | 14 | 1 | PHP: Get part of PHP of the url | So i have the code and i want the name Super as the url < href=""
<?php
include_once 'imdb.class.php';
$oIMDB = new IMDB(super);
if ($oIMDB->isReady) {
echo '<a href="some.com/super">
else {
echo '<p>Movie not found!</p>';
}
?>
| php | null | null | null | null | 10/08/2011 22:01:40 | not a real question | PHP: Get part of PHP of the url
===
So i have the code and i want the name Super as the url < href=""
<?php
include_once 'imdb.class.php';
$oIMDB = new IMDB(super);
if ($oIMDB->isReady) {
echo '<a href="some.com/super">
else {
echo '<p>Movie not found!</p>';
}
?>
| 1 |
6,800,164 | 07/23/2011 11:54:16 | 859,247 | 07/23/2011 11:24:03 | 1 | 0 | [Java]Sudoku- Region testing | I read through about 10 or so links about sudoku's before I even posted this, so I hope that there isn't some blatant answer to this lurking right around here waiting to make me look silly...
So the last few days I've taken it upon myself to create a sudoku generator, using a 'brute-force' randomity approach. I ha... | testing | generator | region | sudoku | null | null | open | [Java]Sudoku- Region testing
===
I read through about 10 or so links about sudoku's before I even posted this, so I hope that there isn't some blatant answer to this lurking right around here waiting to make me look silly...
So the last few days I've taken it upon myself to create a sudoku generator, using a 'brute... | 0 |
4,032,982 | 10/27/2010 12:09:53 | 488,779 | 10/27/2010 12:09:53 | 1 | 0 | Does anyone have any tips on submitting to clients proposals for iPhone apps? | I'm just starting out with a friend creating iPhone apps and the biggest hurdle other than finding clients is knowing how to structure proposals for clients.
Is it the norm to write a 1, 2 or 3 page proposal? Obviously I don't want to bore the client just with the initial proposal (sales pitch with quote).
How sh... | iphone | application | clients | null | null | null | open | Does anyone have any tips on submitting to clients proposals for iPhone apps?
===
I'm just starting out with a friend creating iPhone apps and the biggest hurdle other than finding clients is knowing how to structure proposals for clients.
Is it the norm to write a 1, 2 or 3 page proposal? Obviously I don't want to... | 0 |
5,591,594 | 04/08/2011 07:01:03 | 623,193 | 02/18/2011 13:25:01 | 6 | 0 | how to convert XML file into sqllite file | i am retrieving data from XML file but the file contains more than 15000 records,so my app is getting slowed.so i want it to convert it into sqllite file (by using programmatically or by using any tool).please provide me any solution for it. | iphone | xml | sqlite | null | null | null | open | how to convert XML file into sqllite file
===
i am retrieving data from XML file but the file contains more than 15000 records,so my app is getting slowed.so i want it to convert it into sqllite file (by using programmatically or by using any tool).please provide me any solution for it. | 0 |
1,172,997 | 07/23/2009 16:38:19 | 128,245 | 06/24/2009 14:05:36 | 88 | 7 | unlisted reserved word? | I ran into a very strange behaviour in some of our PHP code today. We have a class for dealing with files. It's something like this:
class AFile {
//usual constructor, set and get functions, etc.
//...
public function save() {
//do some validation
//...
... | php | return-value | null | null | null | null | open | unlisted reserved word?
===
I ran into a very strange behaviour in some of our PHP code today. We have a class for dealing with files. It's something like this:
class AFile {
//usual constructor, set and get functions, etc.
//...
public function save() {
//do some valid... | 0 |
11,469,635 | 07/13/2012 11:29:48 | 991,096 | 10/12/2011 09:03:24 | 1 | 0 | common language for any RDBMS technology | we are looking for a common language for any RDBMS technology.means if i write q query in SQL SERVER that query have to work on any RDBMS like oracle ,mysql....please help me. | sql-server-2008 | null | null | null | null | 07/15/2012 00:37:01 | not constructive | common language for any RDBMS technology
===
we are looking for a common language for any RDBMS technology.means if i write q query in SQL SERVER that query have to work on any RDBMS like oracle ,mysql....please help me. | 4 |
5,881,601 | 05/04/2011 09:55:28 | 724,982 | 04/26/2011 08:10:21 | 22 | 0 | C# run program from server | Can i run a c# winform program from my internet server?For example i install the program my server.after that i want to run this program other computer unless install framework to client | c# | null | null | null | null | 05/09/2011 01:18:41 | not a real question | C# run program from server
===
Can i run a c# winform program from my internet server?For example i install the program my server.after that i want to run this program other computer unless install framework to client | 1 |
3,040,698 | 06/14/2010 20:31:55 | 266,453 | 02/04/2010 18:14:02 | 28 | 1 | CSS three column layout, liquid center, no left-margin! | I am all in favor of CSS based layouts, but this one I just can't figure out. With a table it is oh-so-easy:
<html>
<head><title>Three Column</title></head>
<body>
<p>Test</p>
<table style="width: 100%; border: 1px solid black; min-height: 300px;">
<tr>
<td style="border: 1px solid ... | css | columns | null | null | null | null | open | CSS three column layout, liquid center, no left-margin!
===
I am all in favor of CSS based layouts, but this one I just can't figure out. With a table it is oh-so-easy:
<html>
<head><title>Three Column</title></head>
<body>
<p>Test</p>
<table style="width: 100%; border: 1px solid black; min-... | 0 |
10,977,454 | 06/11/2012 09:27:08 | 169,165 | 09/06/2009 05:50:45 | 98 | 0 | Pure c++ app for Android and its performance | Can I write a pure C++ app for Android? (for example, using NDK?)
Considering there's no difference of functionality, is pure Android C++ app faster and consumes lesser memory than Android Java app? In just my guess, I guess it is YES because C++ app won't do garbage collection which causes frame rate hiccup.
| android | c++ | performance | null | null | null | open | Pure c++ app for Android and its performance
===
Can I write a pure C++ app for Android? (for example, using NDK?)
Considering there's no difference of functionality, is pure Android C++ app faster and consumes lesser memory than Android Java app? In just my guess, I guess it is YES because C++ app won't do garbage... | 0 |
4,244,505 | 11/22/2010 10:35:50 | 251,160 | 01/14/2010 23:30:57 | 51 | 1 | Best Books or tutorials to be CakePHP Advanced Programmer | I started reading **Apress Beginning CakePHP From Novice to Professional 2008**
But I was wondering if there are any other books I should read or Important tutorials I should be doing to be able to build a complete, stable CakePHP project.
Simply put, What did you do to get better in CakePHP development, your foo... | php | cakephp | null | null | null | 05/12/2012 17:08:00 | not constructive | Best Books or tutorials to be CakePHP Advanced Programmer
===
I started reading **Apress Beginning CakePHP From Novice to Professional 2008**
But I was wondering if there are any other books I should read or Important tutorials I should be doing to be able to build a complete, stable CakePHP project.
Simply put,... | 4 |
11,489,552 | 07/15/2012 04:58:24 | 1,526,486 | 07/15/2012 04:53:46 | 1 | 0 | Invision Power Board 'Curse' Skins | Does anyone know how makes the IP.Board skins/themes for the 'Curse' forums like http://www.guildwars2guru.com/ and http://www.darthhater.com/?
Are they custom made?
Is there a company that makes skins similar to these that I can buy?
thanks,
Jack | forum | skin | invision-power-board | null | null | 07/15/2012 21:55:00 | off topic | Invision Power Board 'Curse' Skins
===
Does anyone know how makes the IP.Board skins/themes for the 'Curse' forums like http://www.guildwars2guru.com/ and http://www.darthhater.com/?
Are they custom made?
Is there a company that makes skins similar to these that I can buy?
thanks,
Jack | 2 |
6,037,289 | 05/17/2011 21:20:45 | 638,252 | 02/28/2011 19:24:36 | 51 | 0 | windows embedded vs linux | We are developing embedded device that will process video at very high speed. Device will have no UI, just receive and send video and data. For basic hardware we are planning to use PC motherboard which will communicate with custom devices like FPGA. What would you recommend for OS: Windows Embedded or Linux?
Consider... | windows-mobile | embedded-linux | null | null | null | 05/17/2011 22:06:25 | not a real question | windows embedded vs linux
===
We are developing embedded device that will process video at very high speed. Device will have no UI, just receive and send video and data. For basic hardware we are planning to use PC motherboard which will communicate with custom devices like FPGA. What would you recommend for OS: Windo... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.