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,368,023 | 07/30/2010 00:46:22 | 406,311 | 07/30/2010 00:19:42 | 1 | 0 | Java library for managing Apple Push Notifications | I found out that there are 2 open source projects I can use:
javapns (http://code.google.com/p/javapns/)
and java-apns (http://github.com/notnoop/java-apns)
Both of them are pretty good, but do not handle error responses. When you compose a payload in enhanced format, you can include an identifier with the payloa... | java | iphone | apple-push-notifications | null | null | null | open | Java library for managing Apple Push Notifications
===
I found out that there are 2 open source projects I can use:
javapns (http://code.google.com/p/javapns/)
and java-apns (http://github.com/notnoop/java-apns)
Both of them are pretty good, but do not handle error responses. When you compose a payload in enhanc... | 0 |
6,147,835 | 05/27/2011 04:26:50 | 500,778 | 11/08/2010 14:43:20 | 38 | 0 | php php_replace regex \\\ forward slash | I'm calling an Amazon API to get a URL to book cover thumbnails.
The thumbnail URL comes back like this:
\\ebc.amazon.com\images\EtcLkasff-_-23.jpg
The forward slashes are the problem. To make these images show up on my page is replace the "\" with a "/". But, my regex php_replace syntax is failing me.
... | php | api | amazon | null | null | null | open | php php_replace regex \\\ forward slash
===
I'm calling an Amazon API to get a URL to book cover thumbnails.
The thumbnail URL comes back like this:
\\ebc.amazon.com\images\EtcLkasff-_-23.jpg
The forward slashes are the problem. To make these images show up on my page is replace the "\" with a "/". But, m... | 0 |
6,933,653 | 08/03/2011 21:40:17 | 678,350 | 03/26/2011 20:07:45 | 16 | 0 | Rails Mailer :from not totally working | The address I am using with a mailer's `:from` is NOT showing up in sent emails. It is using the email address associated with the smtp_settings (gmail address) in the config.
I can set the name of the sender using "Name <email@email.com>", but the email address gets changed upon message receipt.
Everything loo... | ruby-on-rails | ruby | null | null | null | null | open | Rails Mailer :from not totally working
===
The address I am using with a mailer's `:from` is NOT showing up in sent emails. It is using the email address associated with the smtp_settings (gmail address) in the config.
I can set the name of the sender using "Name <email@email.com>", but the email address gets chan... | 0 |
11,385,200 | 07/08/2012 17:37:47 | 1,147,002 | 01/13/2012 05:23:39 | 33 | 1 | Your Thoughts: Entity Framework Data Context via a DataHelper class (centralized context and transactions) |
I want to get opinions on the code I have put together for a centralized DataContext via a DataHelper class that I have created to be re-used on projects.
**NOTE** - there is a ton of code here, sorry about that, but I really wanted to layout out the complete approach and uses for my ideas. I'm an not saying this... | c# | asp.net-mvc | entity-framework | null | null | 07/09/2012 00:33:05 | too localized | Your Thoughts: Entity Framework Data Context via a DataHelper class (centralized context and transactions)
===
I want to get opinions on the code I have put together for a centralized DataContext via a DataHelper class that I have created to be re-used on projects.
**NOTE** - there is a ton of code here, sorry a... | 3 |
6,647,439 | 07/11/2011 08:14:56 | 784,619 | 06/05/2011 09:52:30 | 19 | 1 | Video upload in asp.net | How to play video in asp.net C# with different extension.I only able to play flv format.Plz help. | c# | visual-studio | asp | null | null | 07/11/2011 09:33:41 | not a real question | Video upload in asp.net
===
How to play video in asp.net C# with different extension.I only able to play flv format.Plz help. | 1 |
11,278,177 | 06/30/2012 22:33:22 | 1,436,033 | 06/04/2012 20:55:17 | 11 | 0 | Current Load is WARNING - why? | On a VPS with 1 CPU core and 2GB RAM, I run a mysql+apache2 for a low traffic website. Sometimes the machine slows down or stops delivering through apache or mysql.
That's why i set up nagios which is sending me alerts like "Service Alert: localhost/Current Load is WARNING" after 5-10 days of running. Then I can l... | load | null | null | null | null | 07/01/2012 15:37:57 | off topic | Current Load is WARNING - why?
===
On a VPS with 1 CPU core and 2GB RAM, I run a mysql+apache2 for a low traffic website. Sometimes the machine slows down or stops delivering through apache or mysql.
That's why i set up nagios which is sending me alerts like "Service Alert: localhost/Current Load is WARNING" afte... | 2 |
6,714,877 | 07/16/2011 02:26:58 | 847,399 | 07/16/2011 02:26:58 | 1 | 0 | Image URL not working on wordpress | Problem location http://www.landfillsticker.com/supporters
When I specify the image URL in the wordpress image insert box I put in www.greenstarkville.org and when I go to the image on my supporters page I get http://www.landfillsticker.com/www.greenstarkville.org but I need it to go to www.greenstarkville.org. | wordpress | null | null | null | null | 07/17/2011 10:12:30 | off topic | Image URL not working on wordpress
===
Problem location http://www.landfillsticker.com/supporters
When I specify the image URL in the wordpress image insert box I put in www.greenstarkville.org and when I go to the image on my supporters page I get http://www.landfillsticker.com/www.greenstarkville.org but I need i... | 2 |
4,640,647 | 01/09/2011 17:40:15 | 568,961 | 01/09/2011 17:24:37 | 1 | 0 | (c cpp language) | please tell me about #define
i want to execute c program when i wrote p in the place of printf
using #define but how please tell me... | c | null | null | null | null | 01/09/2011 19:56:58 | not a real question | (c cpp language)
===
please tell me about #define
i want to execute c program when i wrote p in the place of printf
using #define but how please tell me... | 1 |
6,812,449 | 07/25/2011 06:27:04 | 257,453 | 01/23/2010 16:00:31 | 370 | 10 | How do i develop iOS Apps with Webkit ? Need Webkit starters Help | I wanted to learn this web app technology and develop cross platform apps for iOS, Andriod and other webkit supported platforms..
Any help and guide for the same will be really helpful.
Thanks in advance. | iphone | ios | webkit | cross-platform | null | 07/26/2011 00:02:04 | not a real question | How do i develop iOS Apps with Webkit ? Need Webkit starters Help
===
I wanted to learn this web app technology and develop cross platform apps for iOS, Andriod and other webkit supported platforms..
Any help and guide for the same will be really helpful.
Thanks in advance. | 1 |
6,873,074 | 07/29/2011 12:29:19 | 821,258 | 06/29/2011 14:07:32 | 141 | 0 | Is there any popular open source projects written in C++? | I've read the source code of a few popular open source projects like apache, nginx...
All of them are written in C, is there one written in C++? | c++ | open-source | null | null | null | 07/29/2011 12:34:37 | not constructive | Is there any popular open source projects written in C++?
===
I've read the source code of a few popular open source projects like apache, nginx...
All of them are written in C, is there one written in C++? | 4 |
6,679,796 | 07/13/2011 13:36:30 | 842,767 | 07/13/2011 13:29:49 | 1 | 0 | cant get complete comment in youtube app in c# | everything is ok above....
Feed<Comment> comments = request.GetComments(video);
foreach (Comment come in comments.Entries)
{
MessageBox.Show(come.ToString());
}
this is my code problem is i can't get the complete comment it only prints substring for ex:
if comment is : Hello man what ... | c# | application | youtube | null | null | 07/13/2011 16:55:46 | not a real question | cant get complete comment in youtube app in c#
===
everything is ok above....
Feed<Comment> comments = request.GetComments(video);
foreach (Comment come in comments.Entries)
{
MessageBox.Show(come.ToString());
}
this is my code problem is i can't get the complete comment it only print... | 1 |
11,659,116 | 07/25/2012 21:45:03 | 1,164,996 | 01/23/2012 13:12:54 | 1 | 1 | Eclipse Running OK on Mountain Lion? | Simple question. Has anyone had issues running Eclipse on Mountain Lion. More specifically, I'm using Helios Service Release 2 and Pydev. Don't want to upgrade if this will break. Thanks | eclipse | osx-lion | null | null | null | 07/26/2012 13:42:33 | too localized | Eclipse Running OK on Mountain Lion?
===
Simple question. Has anyone had issues running Eclipse on Mountain Lion. More specifically, I'm using Helios Service Release 2 and Pydev. Don't want to upgrade if this will break. Thanks | 3 |
8,034,588 | 11/07/2011 09:18:42 | 1,009,454 | 10/23/2011 11:28:30 | 3 | 0 | I'm looking for PHP-GTK video tutorials for desktop programming | I did heard php can writing to desktop programs. And I found PHP-GTK but I can't find any PHP-GTK video tutorials.
Firstly i want PHP-GTK video tutorails if not how can i learn PHP-GTK? | php | desktop | php-gtk | null | null | 11/08/2011 00:11:25 | not constructive | I'm looking for PHP-GTK video tutorials for desktop programming
===
I did heard php can writing to desktop programs. And I found PHP-GTK but I can't find any PHP-GTK video tutorials.
Firstly i want PHP-GTK video tutorails if not how can i learn PHP-GTK? | 4 |
8,264,790 | 11/25/2011 04:26:06 | 1,064,975 | 11/25/2011 04:22:12 | 1 | 0 | Custom Analog Timer in Android | Someone please help me in creating Custom Analog Timer.
Say if the time span is 30 minutes the clock should show only 30 minutes and start reducing as time reduces.
Thanks in Advance. | android | null | null | null | null | 11/25/2011 23:02:33 | not a real question | Custom Analog Timer in Android
===
Someone please help me in creating Custom Analog Timer.
Say if the time span is 30 minutes the clock should show only 30 minutes and start reducing as time reduces.
Thanks in Advance. | 1 |
3,485,539 | 08/14/2010 23:26:30 | 256,062 | 01/21/2010 18:16:20 | 56 | 0 | Possible to make a consistently successful stock market playing bot? | Who has created a bot to play the stock market and what kind of return did you see? I'm currently still in very alpha stages but I can play the stock market with play money and get some very nice results using historical real time data. Currently I have around 8 parameters that go into configuring the buy and sell func... | iphone | python | android | web-services | stocks | 08/15/2010 05:28:01 | off topic | Possible to make a consistently successful stock market playing bot?
===
Who has created a bot to play the stock market and what kind of return did you see? I'm currently still in very alpha stages but I can play the stock market with play money and get some very nice results using historical real time data. Currently... | 2 |
5,488,257 | 03/30/2011 15:13:53 | 607,864 | 02/08/2011 09:33:35 | 1 | 0 | How to troubleshoot/bypass locking problem which appears to be GIL related | An obscure lock-up between two threads seems to be related to the Global Interpreter Lock or some other "behind-the-scenes-lock", and I am at a loss how to continue troubleshooting. Any tips how to eliminate the lock-up would be appreciated.
The issue reproduces (erratically and somewhat random) in a larger set of c... | python | multithreading | gil | null | null | null | open | How to troubleshoot/bypass locking problem which appears to be GIL related
===
An obscure lock-up between two threads seems to be related to the Global Interpreter Lock or some other "behind-the-scenes-lock", and I am at a loss how to continue troubleshooting. Any tips how to eliminate the lock-up would be appreciated... | 0 |
7,281,598 | 09/02/2011 09:34:09 | 924,877 | 09/02/2011 08:25:21 | 1 | 0 | YII form get closed immediately after it start, can't place any elements inside that | when i add a form inside the for loop , the form get closed immediately and the elements are placed out side the form
i need to get the form with particular elements inside that
this is my code
`<?php
for($i=0;$i<$s;$i++)
{?>
<div>
<?php
echo CHtml::for... | yii | null | null | null | null | 09/04/2011 03:18:45 | too localized | YII form get closed immediately after it start, can't place any elements inside that
===
when i add a form inside the for loop , the form get closed immediately and the elements are placed out side the form
i need to get the form with particular elements inside that
this is my code
`<?php
for($i=0;... | 3 |
10,648,011 | 05/18/2012 06:52:19 | 1,377,467 | 05/06/2012 00:26:42 | 1 | 0 | I have an app idea. How can a get an app developer to help me. Maybe opensource the app? | The short of it is that I want to make an app that saves people money and it would be a free app. I know that there has to be someone out there that could help me make the connections in the SDK platform or work co-operatively with me on the idea to get it produced. The opening screen of the app would have eleven ca... | application | null | null | null | null | 05/19/2012 01:28:10 | not a real question | I have an app idea. How can a get an app developer to help me. Maybe opensource the app?
===
The short of it is that I want to make an app that saves people money and it would be a free app. I know that there has to be someone out there that could help me make the connections in the SDK platform or work co-operative... | 1 |
4,073,045 | 11/01/2010 21:07:19 | 481,913 | 10/20/2010 15:27:49 | 20 | 0 | Do you think any of the bIg Intenet Sites ever outsoureced their development? | Do you think there is a possibility that big internet sites ever outsourced their development at a young stage when they were not that popular or drew so much traffic?(maybe to keep expenses down) Or do they still do?
Say a site like Facebook, Mysapce or Digg (for a lack of other popular examples that come to m... | outsourcing | offshoring | null | null | null | 11/01/2010 21:14:10 | off topic | Do you think any of the bIg Intenet Sites ever outsoureced their development?
===
Do you think there is a possibility that big internet sites ever outsourced their development at a young stage when they were not that popular or drew so much traffic?(maybe to keep expenses down) Or do they still do?
Say a site l... | 2 |
2,567,589 | 04/02/2010 15:49:13 | 304,796 | 03/30/2010 04:38:30 | 39 | 0 | What is the difference between these usages: new SubElement() and SubElement()? | Into a class constructor, I need to create some objects on the fly and add them to a vector. Here is my code:
ContainerClass::ContainerClass() {
for (int i = 0; i < limit; i++)
elements.push_back(SubElement());
}
Is this the same thing with new SubElement()? Do I still need to free tho... | c++ | new-operator | memory | null | null | null | open | What is the difference between these usages: new SubElement() and SubElement()?
===
Into a class constructor, I need to create some objects on the fly and add them to a vector. Here is my code:
ContainerClass::ContainerClass() {
for (int i = 0; i < limit; i++)
elements.push_back(SubElement())... | 0 |
7,897,520 | 10/26/2011 00:40:54 | 418,751 | 08/12/2010 18:20:03 | 1 | 0 | Is there a good solutation to display a statistics report on iphone? | I am a new iphone developer, I got a problem when I develop my app. The situation is that I need to display a report with headers both on the vertical and horizontal. just like an excel does. is anyone can help me to figure out a good solution? better with some code. Any commits is appricated.
| iphone | report | solution | null | null | 11/12/2011 08:41:21 | not a real question | Is there a good solutation to display a statistics report on iphone?
===
I am a new iphone developer, I got a problem when I develop my app. The situation is that I need to display a report with headers both on the vertical and horizontal. just like an excel does. is anyone can help me to figure out a good solution? ... | 1 |
10,528,906 | 05/10/2012 06:58:06 | 1,376,262 | 05/05/2012 04:16:01 | 9 | 0 | C# 1 Click 2 Differences Action | Can anyone tell me how to Click on Image button to call UserControl form to run in Main form then do action automatically in UserControl form. (1 Click 2 differences Action)
Thanks in advance. | c# | null | null | null | null | 05/16/2012 12:34:49 | not a real question | C# 1 Click 2 Differences Action
===
Can anyone tell me how to Click on Image button to call UserControl form to run in Main form then do action automatically in UserControl form. (1 Click 2 differences Action)
Thanks in advance. | 1 |
9,004,302 | 01/25/2012 14:28:24 | 1,167,379 | 01/24/2012 15:46:07 | 1 | 0 | Sharepoint 2007 - Missing sites after after content database attachment | I have a new SharePoint server which I've attached a content database to. The new server is configured like the old one (same deployed solutions, settings, etc) and there was no errors when we attached the content database (which is a copy of the old server's content database).
At first, it looked fine, the site o... | sharepoint2007 | null | null | null | null | null | open | Sharepoint 2007 - Missing sites after after content database attachment
===
I have a new SharePoint server which I've attached a content database to. The new server is configured like the old one (same deployed solutions, settings, etc) and there was no errors when we attached the content database (which is a copy of... | 0 |
5,740,190 | 04/21/2011 06:03:38 | 101,301 | 05/05/2009 03:51:37 | 152 | 9 | How to execute PowerShell scripts in C# using the Task Parallel Library | I am currently executing PowerShell scripts as follows:
internal void RunScript(PowerShell powerShell, Runspace runspace, Script script, IDictionary parameters = null, Action<ICollection<PSObject>> callback = null)
{
SetupScriptRun(powerShell, runspace, script, parameters);
p... | c# | .net | powershell | task-parallel-library | null | null | open | How to execute PowerShell scripts in C# using the Task Parallel Library
===
I am currently executing PowerShell scripts as follows:
internal void RunScript(PowerShell powerShell, Runspace runspace, Script script, IDictionary parameters = null, Action<ICollection<PSObject>> callback = null)
{
... | 0 |
2,918,697 | 05/27/2010 05:34:39 | 194,205 | 10/21/2009 23:46:20 | 99 | 4 | Best Online Programming Degree? (Masters Level) | I am less then a year from graduating with my bachelors in web development, however I would like to continue on with a masters in programming. As far as I can tell, what I want is a masters in software engineering. Sadly my current college only offers more management oriented masters level degrees, and I want somethin... | online | college | degree | masters-degree | graduate-school | 12/09/2011 15:34:18 | not constructive | Best Online Programming Degree? (Masters Level)
===
I am less then a year from graduating with my bachelors in web development, however I would like to continue on with a masters in programming. As far as I can tell, what I want is a masters in software engineering. Sadly my current college only offers more managemen... | 4 |
4,123,243 | 11/08/2010 11:04:14 | 499,149 | 11/06/2010 09:52:58 | 16 | 2 | HTTP Response Status Codes in IE | For example, I get 12150 instead of 301. Anyone knows anything about that? | ajax | internet-explorer | null | null | null | 11/08/2010 11:22:32 | not a real question | HTTP Response Status Codes in IE
===
For example, I get 12150 instead of 301. Anyone knows anything about that? | 1 |
1,571,737 | 10/15/2009 11:19:43 | 45,284 | 12/11/2008 09:46:54 | 121 | 1 | How to convert spaces to required tabs? | Hi this is the sample text file with values , i need to remove the spaces and add the tabs could any one guide me the process?
Alpha : 12 13 14 15
Beta : 14 45 56 67
Gama : 89 98 00 00
Thanks in advance. | perl | null | null | null | null | 01/23/2012 04:06:29 | not a real question | How to convert spaces to required tabs?
===
Hi this is the sample text file with values , i need to remove the spaces and add the tabs could any one guide me the process?
Alpha : 12 13 14 15
Beta : 14 45 56 67
Gama : 89 98 00 00
Thanks in advance. | 1 |
1,240,162 | 08/06/2009 16:54:25 | 37,710 | 11/14/2008 15:47:30 | 3,134 | 197 | iis7 virtual-directory redirect change from iis6 | I have an ASP.NET 3.5 application that started in 1.1 and has been ported from IIS5 to IIS6 and now we're going to IIS7. Back in the 1.1 days we implemented URL-rewriting functionality based on HTTP Modules that still works great - fairly complex logic that is very stable. It allows us to take URL's like this
ww... | iis7 | url-rewrite | asp.net | redirect | null | null | open | iis7 virtual-directory redirect change from iis6
===
I have an ASP.NET 3.5 application that started in 1.1 and has been ported from IIS5 to IIS6 and now we're going to IIS7. Back in the 1.1 days we implemented URL-rewriting functionality based on HTTP Modules that still works great - fairly complex logic that is very ... | 0 |
8,829,388 | 01/12/2012 02:28:34 | 1,088,324 | 12/08/2011 18:25:46 | 20 | 0 | Android application built when installed on atrix phone uses only part of screen | Android custom application built when installed on my motorola atrix phone uses only part of screen.
Is there a way to code the application to use the complete screen and not a part of the screen.
Any help is greatly appreciated.
Thanks
| android | android-layout | android-emulator | null | null | 01/17/2012 22:18:24 | not a real question | Android application built when installed on atrix phone uses only part of screen
===
Android custom application built when installed on my motorola atrix phone uses only part of screen.
Is there a way to code the application to use the complete screen and not a part of the screen.
Any help is greatly appreciated... | 1 |
2,895,618 | 05/24/2010 08:10:30 | 112,502 | 05/26/2009 10:52:14 | 15 | 1 | Operator '!=' cannot be applied | when i try to create this check condition
if (dtimg != "")
{
//
}
it show following error
Error 4 Operator '!=' cannot be applied to operands of type 'System.Data.DataTable' and 'string' E:\user\Mohsin.Malik\Project\FlagProperties\code\FlagProperties\Pages\FraturePropertyDetail.aspx.cs 104 13 http://lo... | c# | asp.net | null | null | null | 05/24/2010 08:25:11 | not a real question | Operator '!=' cannot be applied
===
when i try to create this check condition
if (dtimg != "")
{
//
}
it show following error
Error 4 Operator '!=' cannot be applied to operands of type 'System.Data.DataTable' and 'string' E:\user\Mohsin.Malik\Project\FlagProperties\code\FlagProperties\Pages\FratureP... | 1 |
11,175,711 | 06/24/2012 07:23:55 | 945,688 | 09/14/2011 23:14:07 | 56 | 1 | How to rewite javascript function with php | I have a script.I will show sample.
<form>
<textarea id='input'></textarea>
<input onclick="convert()" value="go function" />
<textarea id="output"></textarea>
</form>
<script type="text/javascript" >
function convert() {
src = document.getElementById("i... | php | javascript | null | null | null | 06/24/2012 14:45:45 | not a real question | How to rewite javascript function with php
===
I have a script.I will show sample.
<form>
<textarea id='input'></textarea>
<input onclick="convert()" value="go function" />
<textarea id="output"></textarea>
</form>
<script type="text/javascript" >
function c... | 1 |
9,044,947 | 01/28/2012 11:37:14 | 583,828 | 01/21/2011 01:14:05 | 17 | 1 | Anyone have experience starting a computer repair business? | I'm thinking about starting a computer repair business. I have taken the A+ courses. Does anyone have any insight or experience in doing this? Is it better to open a location in an affluent neighborhood as oppose to a lesser one? Do I need to know mac and iphone as well and if so where do I learn this? Thanks any usefu... | business | computer-architecture | repair | null | null | 01/30/2012 00:56:19 | off topic | Anyone have experience starting a computer repair business?
===
I'm thinking about starting a computer repair business. I have taken the A+ courses. Does anyone have any insight or experience in doing this? Is it better to open a location in an affluent neighborhood as oppose to a lesser one? Do I need to know mac and... | 2 |
6,628,849 | 07/08/2011 18:34:41 | 220,447 | 11/28/2009 12:50:35 | 2,085 | 67 | Default type for method calls | I would like to know how if it is possible to have a default time when calling a method in Scala. Suppose I have the following method somewhere:
def apply[A]( id: String )( implicit processor: Processor[A] ) =
processor( data get id )
I would like `A` to be `String`, when the compiler has no hints abou... | scala | types | sbt | null | null | null | open | Default type for method calls
===
I would like to know how if it is possible to have a default time when calling a method in Scala. Suppose I have the following method somewhere:
def apply[A]( id: String )( implicit processor: Processor[A] ) =
processor( data get id )
I would like `A` to be `String`, ... | 0 |
8,867,305 | 01/15/2012 03:19:53 | 549,503 | 12/21/2010 05:03:32 | 56 | 1 | Linked-list: bubble sorting pointers(C) | I'm working on a university assignment. I am trying to write a linked-list sort in C. I am not allowed to swap values - only pointers.
Here is my sorting function:
struct node *sort_list(struct node *head) {
bool swapped ;
struct node *cur = head, *first ;
if ( head == NULL || head->next == NULL... | c | homework | pointers | data-structures | linked-list | 01/16/2012 10:33:49 | too localized | Linked-list: bubble sorting pointers(C)
===
I'm working on a university assignment. I am trying to write a linked-list sort in C. I am not allowed to swap values - only pointers.
Here is my sorting function:
struct node *sort_list(struct node *head) {
bool swapped ;
struct node *cur = head, *first ... | 3 |
7,450,756 | 09/16/2011 21:52:32 | 497,742 | 11/04/2010 21:18:29 | 38 | 1 | Jsoup with HTTP 304 (redirect) | We're writing a proxy which uses Jsoup. Connection.execute throws up HTTP 304 errors on every other request.
I can't figure out how to get Jsoup to tell apache to not send me 304s and just give me the data.
java.io.IOException: 304 error loading URL http://localhost/asdf
I tried doing this before the request, ... | apache | jsoup | null | null | null | null | open | Jsoup with HTTP 304 (redirect)
===
We're writing a proxy which uses Jsoup. Connection.execute throws up HTTP 304 errors on every other request.
I can't figure out how to get Jsoup to tell apache to not send me 304s and just give me the data.
java.io.IOException: 304 error loading URL http://localhost/asdf
I t... | 0 |
11,110,447 | 06/19/2012 22:33:30 | 1,467,695 | 06/19/2012 22:24:04 | 1 | 0 | How can I create BlazeDS module in intellij 11.0? | I am trying to create a BlazeDS module in Intellij Idea to be the server for a Flex application, written in Intellij Idea too, but I cant. Does anybody know how to do it with Intellij Idea 11.0? | flex | intellij-idea | null | null | null | 06/20/2012 12:03:41 | not a real question | How can I create BlazeDS module in intellij 11.0?
===
I am trying to create a BlazeDS module in Intellij Idea to be the server for a Flex application, written in Intellij Idea too, but I cant. Does anybody know how to do it with Intellij Idea 11.0? | 1 |
3,317,993 | 07/23/2010 12:12:24 | 44,232 | 12/08/2008 09:09:39 | 647 | 66 | Paraview and Python on Mac OSX | I've installed the binary distribution of paraview on OSX. When running this I can access the python interpreter from the Tools -> Python Shell. However I cannot figure out which libraries I need to add to PYTHONPATH in order to access VTK and Paraview functionality directly from Python.
Of course I could just compi... | osx | vtk | null | null | null | null | open | Paraview and Python on Mac OSX
===
I've installed the binary distribution of paraview on OSX. When running this I can access the python interpreter from the Tools -> Python Shell. However I cannot figure out which libraries I need to add to PYTHONPATH in order to access VTK and Paraview functionality directly from Pyt... | 0 |
39,196 | 09/02/2008 10:37:14 | 2,138 | 08/20/2008 14:23:45 | 83 | 6 | group_concat query performance | i am having serious performance problems (queries up to 55 seconds) while running a mysql query since i added a group_concat clause.
my query looks like:
select ... group_concat(distinct category.name) .... from page where
left outer join page_category on page.id = story_category.page_id
left ou... | mysql | sql | performance | null | null | null | open | group_concat query performance
===
i am having serious performance problems (queries up to 55 seconds) while running a mysql query since i added a group_concat clause.
my query looks like:
select ... group_concat(distinct category.name) .... from page where
left outer join page_category on page.id = s... | 0 |
9,217,510 | 02/09/2012 19:36:25 | 504,717 | 11/11/2010 15:54:37 | 58 | 1 | Building a gui which is dynamic at runtime | I am trying to work on a utility in which my requirement is to have "editable" gui elements for each instance. When i say "editable" it means, I am looking for something where the user can add some textfield or delete some text field at his will.
I was wondering, if there is some XML > Java available? So that addit... | java | xml | swing | xul | null | 02/09/2012 19:55:02 | not a real question | Building a gui which is dynamic at runtime
===
I am trying to work on a utility in which my requirement is to have "editable" gui elements for each instance. When i say "editable" it means, I am looking for something where the user can add some textfield or delete some text field at his will.
I was wondering, if t... | 1 |
5,648,051 | 04/13/2011 10:59:08 | 698,137 | 04/08/2011 06:57:59 | 1 | 0 | Uploading files | when i try to upload a file in alfresco i get the below error.
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
root cause
java.la... | eclipse-plugin | null | null | null | null | null | open | Uploading files
===
when i try to upload a file in alfresco i get the below error.
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
r... | 0 |
10,925,550 | 06/07/2012 04:10:20 | 268,436 | 02/08/2010 05:30:11 | 53 | 0 | MySQL combine data from multiple tables into one table | I have 27 tables of monthly web analytics with the following format:
+---------------+-------+
| url | views |
+---------------+-------+
| /foo/bar.php | 200 |
| /bar/foo.html | 500 |
+---------------+-------+
I need to combine them into a single table with a unique '... | mysql | null | null | null | null | null | open | MySQL combine data from multiple tables into one table
===
I have 27 tables of monthly web analytics with the following format:
+---------------+-------+
| url | views |
+---------------+-------+
| /foo/bar.php | 200 |
| /bar/foo.html | 500 |
+---------------+-------+
... | 0 |
8,042,512 | 11/07/2011 20:57:26 | 510,346 | 11/17/2010 04:07:26 | 446 | 7 | grails enum or string properties, what's difference in future db updates? | Let's say one creates a priority property as a string, using the constraint:
priority(inList:['Critical', 'Major', 'Normal', 'Enhancement'])
An alternative might be using an enum this way:
enum Priority { CRITICAL, MAJOR, NORMAL, ENHANCEMENT }
My questions are:
1) Is the enum way problematic wh... | grails | null | null | null | null | null | open | grails enum or string properties, what's difference in future db updates?
===
Let's say one creates a priority property as a string, using the constraint:
priority(inList:['Critical', 'Major', 'Normal', 'Enhancement'])
An alternative might be using an enum this way:
enum Priority { CRITICAL, MAJOR, NO... | 0 |
9,774,170 | 03/19/2012 16:42:06 | 818,557 | 06/28/2011 05:29:41 | 612 | 59 | Any means to authenticate scjp/ocpjp voucher | Are there any means to authenticate the SCJP/OCPJP voucher? Am from a place where anything can be duplicated and manipulated. Tried to search about it in the net but found nothing helpful.
I had contacted an institute and they were eager to sell the vouchers and also promised discounts on bulk purchase. Thus, I want... | scjp | ocpjp | null | null | null | 07/14/2012 12:31:26 | off topic | Any means to authenticate scjp/ocpjp voucher
===
Are there any means to authenticate the SCJP/OCPJP voucher? Am from a place where anything can be duplicated and manipulated. Tried to search about it in the net but found nothing helpful.
I had contacted an institute and they were eager to sell the vouchers and also... | 2 |
6,138,356 | 05/26/2011 12:20:33 | 686,054 | 03/31/2011 15:37:45 | 286 | 4 | Understanding this architecture | I have inherited a massive system from my predecessor and I am beginning to understand how it works but I cant fathom why.
It's in java and used interfaces which should add an extra layer but they ad 5 or 6.
here's how it goes the user interface button is pressed ant that calla a function that looks like this
... | java | architecture | interface | null | null | null | open | Understanding this architecture
===
I have inherited a massive system from my predecessor and I am beginning to understand how it works but I cant fathom why.
It's in java and used interfaces which should add an extra layer but they ad 5 or 6.
here's how it goes the user interface button is pressed ant that cal... | 0 |
2,673,892 | 04/20/2010 09:17:46 | 20,580 | 09/22/2008 16:56:43 | 216 | 15 | Join two results in Powershell | I've got two CMDlets that return lists of objects. One returns objects of the type SPSolution, which contains the property Id, the other returns objects of the type SPFeature with a property SolutionId.
Now I want to join/merge this data something like this:
$f = Get-Feature
$s = Get-Solution
$resul... | powershell | cmdlets | join | null | null | null | open | Join two results in Powershell
===
I've got two CMDlets that return lists of objects. One returns objects of the type SPSolution, which contains the property Id, the other returns objects of the type SPFeature with a property SolutionId.
Now I want to join/merge this data something like this:
$f = Get-Featur... | 0 |
8,583,623 | 12/21/2011 00:10:44 | 13,895 | 09/16/2008 21:13:57 | 7,608 | 507 | Easy way to get VS 2008 and ResXFileCodeGenerator to regenerate a resx file? | I'm running across a designer warning in Visual Studio 2008:
> The custom tool 'ResXFileCodeGenerator' failed while processing the file 'MyForm.resx'.
MyForm.resx appears to be "empty." It has a schema and (only) the following `<resheader>`s:
<resheader name="resmimetype">
<value>text/microsoft... | c# | .net | visual-studio-2008 | resources | warnings | null | open | Easy way to get VS 2008 and ResXFileCodeGenerator to regenerate a resx file?
===
I'm running across a designer warning in Visual Studio 2008:
> The custom tool 'ResXFileCodeGenerator' failed while processing the file 'MyForm.resx'.
MyForm.resx appears to be "empty." It has a schema and (only) the following `<re... | 0 |
5,028,448 | 02/17/2011 11:40:50 | 402,206 | 07/26/2010 11:21:22 | 1 | 0 | Facebook JS SDK does not need app secret to authenticate : How secure is it ? | When I use Facebook's JS SDK to authenticate my app (using FB.init method) all I need is my App ID. It does not require my app secret and/or app key.
However when I used PHP SDK, it required my app secret (atleast the example I used to learn used the app ID and app secret both).
Is it secure and recommended to use... | javascript | facebook | null | null | null | null | open | Facebook JS SDK does not need app secret to authenticate : How secure is it ?
===
When I use Facebook's JS SDK to authenticate my app (using FB.init method) all I need is my App ID. It does not require my app secret and/or app key.
However when I used PHP SDK, it required my app secret (atleast the example I used to... | 0 |
10,334,456 | 04/26/2012 13:28:08 | 1,049,521 | 11/16/2011 11:18:10 | 17 | 1 | Read conf.properties file from web app under Tomcat | I put a file with properties to *tomcat_folder*/conf and try to read it:
InputStream input = this.getClass().getClassLoader().getResourceAsStream("conf.properties");
properties.load(input);
But in fact I receive 'null'. I tried to print out current folder and it shows "home/username" folder (I wanted... | java | tomcat | null | null | null | null | open | Read conf.properties file from web app under Tomcat
===
I put a file with properties to *tomcat_folder*/conf and try to read it:
InputStream input = this.getClass().getClassLoader().getResourceAsStream("conf.properties");
properties.load(input);
But in fact I receive 'null'. I tried to print out cur... | 0 |
1,691,251 | 11/06/2009 23:35:58 | 39,321 | 11/20/2008 13:51:35 | 4,528 | 129 | What makes a process appear as Not responding in Windows? | What is it exactly that "triggers" Windows to mark a process as *Not responding* in the Task Manager and Resource Monitor? | windows | processes | null | null | null | null | open | What makes a process appear as Not responding in Windows?
===
What is it exactly that "triggers" Windows to mark a process as *Not responding* in the Task Manager and Resource Monitor? | 0 |
2,421,316 | 03/10/2010 22:58:55 | 185,973 | 10/07/2009 21:21:56 | 66 | 0 | Saving data recovered from a hard drive that crashed - how to sort out current from tmp and old files | I recently lost access to my Seagate eSATA HD after my Mac froze up and I had to do a hard shut down of both the Mac and my eSATA drive.
When plugged in, OSX says I must initialize the disk before use (Windows says the same thing, but uses the word "format"). I figured out the drive is now in RAW format.
I found ... | data-recovery | null | null | null | null | 01/27/2012 18:37:47 | off topic | Saving data recovered from a hard drive that crashed - how to sort out current from tmp and old files
===
I recently lost access to my Seagate eSATA HD after my Mac froze up and I had to do a hard shut down of both the Mac and my eSATA drive.
When plugged in, OSX says I must initialize the disk before use (Windows ... | 2 |
5,075,324 | 02/22/2011 07:33:48 | 481,913 | 10/20/2010 15:27:49 | 83 | 0 | Coordinating/Managing outsourced projects | Here is my problem:
I have outsourced my project and i am looking for the best way to coordniate with my outsourced developers.
In the current situation i have svn hosting where they upload the code revisions after adding features or any changes.
I am currently looking for some hosting where they could uplo... | svn | hosting | rsync | outsourcing | null | 09/23/2011 05:06:49 | off topic | Coordinating/Managing outsourced projects
===
Here is my problem:
I have outsourced my project and i am looking for the best way to coordniate with my outsourced developers.
In the current situation i have svn hosting where they upload the code revisions after adding features or any changes.
I am currently... | 2 |
7,078,249 | 08/16/2011 12:33:47 | 822,327 | 06/30/2011 04:28:24 | 6 | 0 | If anyone know about how to upload an image to a server and retrive the image from the server in blackberry | I want to send to a server and retrieve image from the server. | blackberry | null | null | null | null | 08/16/2011 13:00:57 | not a real question | If anyone know about how to upload an image to a server and retrive the image from the server in blackberry
===
I want to send to a server and retrieve image from the server. | 1 |
4,665,832 | 01/12/2011 06:08:54 | 256,111 | 01/21/2010 19:18:46 | 34 | 0 | C++, random number w/ range of 1-6 | I was wondering what the way is to get a random number with a range of 1-6, using the rand() method. This is to simulate a dice roll needed for me to find the average of 3 dice rolls so the type will be double. | c++ | homework | random | null | null | null | open | C++, random number w/ range of 1-6
===
I was wondering what the way is to get a random number with a range of 1-6, using the rand() method. This is to simulate a dice roll needed for me to find the average of 3 dice rolls so the type will be double. | 0 |
8,112,527 | 11/13/2011 15:17:51 | 434,223 | 08/29/2010 13:11:15 | 384 | 37 | SSL certificates with password encrypted key at hosting provider | We are a software company and offer hosting to our clients. We have a VPS at a large Dutch datacenter. For some of the applications, we need an SSL certificate which we'd like to encrypt with a password protected keyfile.
Our VPS reboots now and then because of updates whatsoever, but that means our apache doesn't s... | ssl | ssl-certificate | null | null | null | 11/13/2011 15:43:50 | off topic | SSL certificates with password encrypted key at hosting provider
===
We are a software company and offer hosting to our clients. We have a VPS at a large Dutch datacenter. For some of the applications, we need an SSL certificate which we'd like to encrypt with a password protected keyfile.
Our VPS reboots now and t... | 2 |
4,841,583 | 01/30/2011 06:48:37 | 124,802 | 06/18/2009 02:40:48 | 523 | 32 | is there a site with csharp recipes similar to activestate receipes for python ? | I really like the way that activestate has a collection of recipes for various dynamic languages.<br> Are there similar sites for static languages like csharp ? <br>
Besides the recipes, the following discussions are also educational... | c# | null | null | null | null | 07/11/2012 17:26:36 | not constructive | is there a site with csharp recipes similar to activestate receipes for python ?
===
I really like the way that activestate has a collection of recipes for various dynamic languages.<br> Are there similar sites for static languages like csharp ? <br>
Besides the recipes, the following discussions are also education... | 4 |
6,823,566 | 07/25/2011 23:18:16 | 563,306 | 01/05/2011 00:05:41 | 138 | 19 | pull data directory contents | I successfully rooted my Motorola Atrix device. I tried:
1) I could browse the data directory using command line, however I cannot pull any of the databases.
2) Is there a way to access ddms using root access so I can pull using the file explorer in ddms.
3) Is there a way to give the data directory read acces... | android | data | root | ddms | null | 07/26/2011 02:18:11 | off topic | pull data directory contents
===
I successfully rooted my Motorola Atrix device. I tried:
1) I could browse the data directory using command line, however I cannot pull any of the databases.
2) Is there a way to access ddms using root access so I can pull using the file explorer in ddms.
3) Is there a way to ... | 2 |
3,166,952 | 07/02/2010 15:11:17 | 316,959 | 04/14/2010 21:17:19 | 421 | 11 | How to return values from a dynamic sql stored procedure? | I have a stored proc which basically executes a dynamic sql.I want to although use this stored proc in my entity framework 4...so when i try to create a complex type...it shows that the procedure returns no columns...so is there any way i can force this procedure to return my values and get the entity framework to get ... | sql-server-2008 | stored-procedures | return-value | entity-framework-4 | null | null | open | How to return values from a dynamic sql stored procedure?
===
I have a stored proc which basically executes a dynamic sql.I want to although use this stored proc in my entity framework 4...so when i try to create a complex type...it shows that the procedure returns no columns...so is there any way i can force this pro... | 0 |
7,815,089 | 10/18/2011 23:46:46 | 776,940 | 05/31/2011 01:14:33 | 3 | 0 | What proportion of different types of software testing does your team use? | I'm seeking a little "wisdom of crowds" estimation and insight into best practices.
While there is a wide range of different types of testing, given the following list:
+ Manual exploratory testing (random ad-hoc testing either thru the user interface or APIs)
+ Manual end-to-end testing (predefined user-interfa... | unit-testing | testing | automated-tests | integration-testing | test-management | 10/19/2011 20:11:03 | not constructive | What proportion of different types of software testing does your team use?
===
I'm seeking a little "wisdom of crowds" estimation and insight into best practices.
While there is a wide range of different types of testing, given the following list:
+ Manual exploratory testing (random ad-hoc testing either thru t... | 4 |
6,072,936 | 05/20/2011 13:53:14 | 733,152 | 05/01/2011 09:15:04 | 15 | 0 | How to develop small software or application? | Hya Gurus,
I've been learning c++ for 8 - 10 months and want to develop a software or small applications (i am self taught using some books) so just consider me as C++ entry level programmer.since i don't know win32 etc for GUI development i can use some library.
I know most of c++ features , data structs , algos a... | c++ | null | null | null | null | 05/20/2011 14:02:07 | not constructive | How to develop small software or application?
===
Hya Gurus,
I've been learning c++ for 8 - 10 months and want to develop a software or small applications (i am self taught using some books) so just consider me as C++ entry level programmer.since i don't know win32 etc for GUI development i can use some library.
I... | 4 |
9,194,789 | 02/08/2012 14:01:39 | 1,069,980 | 11/28/2011 19:07:52 | 71 | 1 | Generate jquery array so I can use ++arrayname[i]; | I want to generate a basic array and declare it with a 'n' number of elements in jquery. I want to intialize each value of the array with 0 and I want to be able to call increment each value of the array.
++arrayname[i]; | javascript | jquery | arrays | auto-increment | null | 02/08/2012 14:07:33 | not a real question | Generate jquery array so I can use ++arrayname[i];
===
I want to generate a basic array and declare it with a 'n' number of elements in jquery. I want to intialize each value of the array with 0 and I want to be able to call increment each value of the array.
++arrayname[i]; | 1 |
11,015,092 | 06/13/2012 12:44:13 | 1,401,146 | 05/17/2012 13:54:13 | 96 | 3 | JAVA Web Development Starter | Hey I have much experience of working as a web programmer in PHP with kohana, cakephp, codeigniter and symfony2 framework. I know Jquery, AJAX, JavaScript. During my studies I took one java course but it was fully core java. I want to dirty my hands in java web development with some framework.
I need some suggestio... | java | java-ee | null | null | null | 06/14/2012 12:55:46 | not constructive | JAVA Web Development Starter
===
Hey I have much experience of working as a web programmer in PHP with kohana, cakephp, codeigniter and symfony2 framework. I know Jquery, AJAX, JavaScript. During my studies I took one java course but it was fully core java. I want to dirty my hands in java web development with some fr... | 4 |
3,635,534 | 09/03/2010 12:08:52 | 227,046 | 12/08/2009 10:29:40 | 150 | 0 | Implimenting blowfish and RC5 in java | I wanted to develop code in java for a cryptographic algorithms like Blowfish,RC5. I searched on the internet too but I got to know that Blowfish has ready made methods available. So writing own methods is like 'reinventing wheel' so is the same case with 'RC5' too?
If this is the case, can you please suggest me ... | java | cryptography | null | null | null | null | open | Implimenting blowfish and RC5 in java
===
I wanted to develop code in java for a cryptographic algorithms like Blowfish,RC5. I searched on the internet too but I got to know that Blowfish has ready made methods available. So writing own methods is like 'reinventing wheel' so is the same case with 'RC5' too?
If t... | 0 |
3,319,835 | 07/23/2010 15:45:27 | 130,705 | 06/29/2009 21:58:06 | 20 | 2 | CATiledLayer or CALayer drawing UIImage not working | Good day all;
I am trying to manually (not using sublayers) draw images within a CATiledLayer but it is not behaving as it should with the defined solution. I undertand that when you call 'CGContextDrawImage' you must scale and translate so as to flip it but I cannot for the life of me, get it to work.
I have a m... | iphone-sdk | quartz-graphics | null | null | null | null | open | CATiledLayer or CALayer drawing UIImage not working
===
Good day all;
I am trying to manually (not using sublayers) draw images within a CATiledLayer but it is not behaving as it should with the defined solution. I undertand that when you call 'CGContextDrawImage' you must scale and translate so as to flip it but ... | 0 |
10,111,719 | 04/11/2012 18:23:00 | 1,279,646 | 03/19/2012 22:15:52 | 124 | 1 | How come I cannot import my protocol in a class in my iOS project? | I created a protocol file "Protocol.h" and tried to import it into a view controller header .h file with
#import <Foundation/Foundation.h>
#import "Protocol.h"
However, XCode notes that the file "Protocol.h" cannot be found. Why not? Is is definitely in the same folder as the view controller header. | objective-c | ios | null | null | null | 04/12/2012 00:01:20 | too localized | How come I cannot import my protocol in a class in my iOS project?
===
I created a protocol file "Protocol.h" and tried to import it into a view controller header .h file with
#import <Foundation/Foundation.h>
#import "Protocol.h"
However, XCode notes that the file "Protocol.h" cannot be found. Why not?... | 3 |
5,778,495 | 04/25/2011 12:52:07 | 638,231 | 02/28/2011 19:08:05 | 937 | 22 | GNU make: build all sources in a different directory | Given:
programs := apps/prog1 apps/prog2 # the actual list is quite long
sources := src/prog1.cpp src/prog2.cpp # showing only 2 files
Make file has 2 targets `release` and `debug`. Each target should build every program in `bin/` directory and appends target name to the file name.
For exampl... | makefile | make | null | null | null | null | open | GNU make: build all sources in a different directory
===
Given:
programs := apps/prog1 apps/prog2 # the actual list is quite long
sources := src/prog1.cpp src/prog2.cpp # showing only 2 files
Make file has 2 targets `release` and `debug`. Each target should build every program in `bin/` directo... | 0 |
3,274,839 | 07/18/2010 08:36:07 | 1,178,669 | 01/05/2010 08:17:25 | 1,331 | 122 | Writing a tutorial for an audience with some background knowledge | At the moment, I am writing a JavaFX tutorial targeted at programmers with a solid grasp on Java. The idea is to give them an as-short-as-possible intro to JavaFX, focussing on the differences between Java and the JavaFX Scripting Language while at the same time skipping things which are identical in both languages.
... | documentation | technical-writing | null | null | null | null | open | Writing a tutorial for an audience with some background knowledge
===
At the moment, I am writing a JavaFX tutorial targeted at programmers with a solid grasp on Java. The idea is to give them an as-short-as-possible intro to JavaFX, focussing on the differences between Java and the JavaFX Scripting Language while at ... | 0 |
10,429,797 | 05/03/2012 10:45:44 | 1,159,901 | 01/20/2012 03:32:09 | 11 | 0 | python subbing variables into string | sample_string = """
<div>
<h1>
%s
<h1>
Image:
%s
<br>
<p>
text text text text text text
</p>
%s
<p>
text text text text text text text text text more text this is just more text
in a paragraph tag
</p>
</div>
>>> print sample_string
<div>
<h1>
va... | python | null | null | null | null | 05/03/2012 13:25:06 | not a real question | python subbing variables into string
===
sample_string = """
<div>
<h1>
%s
<h1>
Image:
%s
<br>
<p>
text text text text text text
</p>
%s
<p>
text text text text text text text text text more text this is just more text
in a paragraph tag
</p>
</div>
>>> print sample_... | 1 |
6,741,206 | 07/19/2011 01:03:28 | 463,675 | 10/01/2010 08:53:58 | 634 | 43 | Determining if an iPhone is Jail broken Programatically | I would like to know if this post is still useful for detecting jailbroken phones. Thanks.
http://stackoverflow.com/questions/1140856/determining-if-an-iphone-is-jail-broken-programatically | iphone | objective-c | null | null | null | 07/19/2011 02:36:11 | not a real question | Determining if an iPhone is Jail broken Programatically
===
I would like to know if this post is still useful for detecting jailbroken phones. Thanks.
http://stackoverflow.com/questions/1140856/determining-if-an-iphone-is-jail-broken-programatically | 1 |
4,986,217 | 02/13/2011 19:07:39 | 435,559 | 08/31/2010 05:04:48 | 840 | 3 | Find an Item in a Sorted Array with Shifted Elements in C ? | Find an Item in a Sorted Array with Shifted Elements using C ? | c | arrays | null | null | null | 02/13/2011 19:34:02 | not a real question | Find an Item in a Sorted Array with Shifted Elements in C ?
===
Find an Item in a Sorted Array with Shifted Elements using C ? | 1 |
8,990,249 | 01/24/2012 16:19:18 | 569,654 | 01/10/2011 10:16:58 | 826 | 15 | MVC template editor how to display items from two model | I hope I explain this correctly..
What I am trying to do is build up a session array with a list of products in.
Then display these on a form in text boxes with quantiles next to them and be able to submit them. I think I need to use template editor. But I don't know how to put data into the list of items.
This i... | c# | asp.net-mvc-3 | razor | null | null | null | open | MVC template editor how to display items from two model
===
I hope I explain this correctly..
What I am trying to do is build up a session array with a list of products in.
Then display these on a form in text boxes with quantiles next to them and be able to submit them. I think I need to use template editor. But I ... | 0 |
1,714,329 | 11/11/2009 10:31:32 | 172,011 | 09/11/2009 11:19:07 | 118 | 0 | Automating SSL renewal and distribution | I have many servers which SSL. Now anyone working with SSL and hundereds of servers will know the pain of renwewal and distribution of SSL certificates.
I want to automate this whole process(renewal and distribution).
Is there any open source product that can do this or any perl module that could assist me in doi... | ssl | null | null | null | null | 09/24/2011 03:43:10 | off topic | Automating SSL renewal and distribution
===
I have many servers which SSL. Now anyone working with SSL and hundereds of servers will know the pain of renwewal and distribution of SSL certificates.
I want to automate this whole process(renewal and distribution).
Is there any open source product that can do this o... | 2 |
4,819,765 | 01/27/2011 17:32:55 | 387,461 | 07/09/2010 07:00:47 | 81 | 10 | log4net does not roll over the log file sometimes when rollingstyle set to date | I have a windows c# application which uses log4net for logging. This is how the loggers are configured
<log4net>
<appender name="DebugFileAppender" type="log4net.Appender.RollingFileAppender">
<file value="Local\logs\ApplnTrace.log" />
<threshold value="INFO" />
<appendToFile value="true" /... | log4net | null | null | null | null | null | open | log4net does not roll over the log file sometimes when rollingstyle set to date
===
I have a windows c# application which uses log4net for logging. This is how the loggers are configured
<log4net>
<appender name="DebugFileAppender" type="log4net.Appender.RollingFileAppender">
<file value="Local\logs\App... | 0 |
11,170,556 | 06/23/2012 15:08:09 | 364,941 | 06/11/2010 21:18:42 | 644 | 20 | What method needs to be implemented to re-define frame and position of string in custom UILabel? | I'm using custom class that subclass from UILabel. It works fine unless I change the string which makes label's number of line to be changed. I look into the code and when it first initializes, it calls `-(void) layoutSubview` to determine origin of string and its frame. But when I change the value of string, this meth... | iphone | ios | uilabel | subclass | null | null | open | What method needs to be implemented to re-define frame and position of string in custom UILabel?
===
I'm using custom class that subclass from UILabel. It works fine unless I change the string which makes label's number of line to be changed. I look into the code and when it first initializes, it calls `-(void) layout... | 0 |
10,158,842 | 04/15/2012 01:22:44 | 1,269,657 | 03/14/2012 17:09:45 | 1 | 0 | how to get new access token for user given some user information? | how to get new access token for the user using user id, signature,seesion_key,secret?
i try many methods and not working please help me or give me another way to get new user access token ??
$graph_url = "https://graph.facebook.com/me?"
. "access_token=" . $access_token;
... | facebook | facebook-graph-api | null | null | null | 04/16/2012 15:32:17 | not a real question | how to get new access token for user given some user information?
===
how to get new access token for the user using user id, signature,seesion_key,secret?
i try many methods and not working please help me or give me another way to get new user access token ??
$graph_url = "https://graph.facebook.com/me?"
... | 1 |
3,457,114 | 08/11/2010 09:41:33 | 387,494 | 07/09/2010 07:48:22 | 26 | 1 | XCode 4.0 general release | XCode 4.0 is available for paid Apple devs. Does anyone know when (if ?) it will be available for general download for everyone to use ? | xcode4 | null | null | null | null | 01/19/2012 04:05:42 | too localized | XCode 4.0 general release
===
XCode 4.0 is available for paid Apple devs. Does anyone know when (if ?) it will be available for general download for everyone to use ? | 3 |
3,939,160 | 10/15/2010 02:53:10 | 124,538 | 06/17/2009 18:08:02 | 350 | 27 | Non-Android Market distributers, who's legit and who's not? | I recently logged into my Gmail account which is tied to my Android Developer account and I found two emails regarding distribution of my application through markets other than the Android Market.
The first was from "Ubinuri, Inc., a distributor of Android-based mobile applications through local app stores in Korea... | android | distribution | third-party | market | android-market | 10/15/2010 14:54:57 | off topic | Non-Android Market distributers, who's legit and who's not?
===
I recently logged into my Gmail account which is tied to my Android Developer account and I found two emails regarding distribution of my application through markets other than the Android Market.
The first was from "Ubinuri, Inc., a distributor of A... | 2 |
11,094,540 | 06/19/2012 04:47:45 | 453,438 | 09/21/2010 03:49:15 | 888 | 20 | How does one write a plugin for a language in Eclipse? | I want to write a plugin for .NET/Mono C# Development in Eclipse. Current plugins such as Emonic only provide support for .NET/Mono up to 3.5, and aren't very well documented and/or out of date.
Emonic uses a build tool called NAnt, which is maintained and works for .NET/Mono 4.0. I suppose this is how I will imple... | .net | eclipse | build | eclipse-plugin | mono | null | open | How does one write a plugin for a language in Eclipse?
===
I want to write a plugin for .NET/Mono C# Development in Eclipse. Current plugins such as Emonic only provide support for .NET/Mono up to 3.5, and aren't very well documented and/or out of date.
Emonic uses a build tool called NAnt, which is maintained and... | 0 |
8,907,079 | 01/18/2012 08:19:54 | 401,194 | 07/24/2010 18:57:27 | 114 | 8 | Alpha of UIBarButtonItem background can not be set to zero | I have an idea to use my own images as BarButton items. I did following:
1. Added UIView to UIToolbar in Interface Builder.
View was automatically converted to UIBarButtonItem with UIView contained.
2. Added UIImageView to UIView
3. Set Alpha of the UIView to zero
However, I cannot do anything with alpha ... | ios | uitoolbaritem | null | null | null | null | open | Alpha of UIBarButtonItem background can not be set to zero
===
I have an idea to use my own images as BarButton items. I did following:
1. Added UIView to UIToolbar in Interface Builder.
View was automatically converted to UIBarButtonItem with UIView contained.
2. Added UIImageView to UIView
3. Set Alpha of... | 0 |
627,723 | 03/09/2009 19:45:38 | 75,799 | 03/09/2009 19:45:38 | 1 | 0 | jquery sorting complex static object | i want to sort the keys or name of the method.. following is the object http://pastie.org/411854 | jquery | javascript | object | null | null | null | open | jquery sorting complex static object
===
i want to sort the keys or name of the method.. following is the object http://pastie.org/411854 | 0 |
5,466,197 | 03/28/2011 23:24:02 | 34,504 | 11/05/2008 00:24:42 | 710 | 37 | Can logical palettes be used in place of the system palette? | In one of our applications, we want to use custom colors and essentially ignore the standard windows palette in a number of cases (set WindowText to Blue rather than Black for example). My thought to do this is to just create a logical palette and apply that to the application using SelectPalette and RealizePalette, b... | delphi | colors | drawing | gdi | null | null | open | Can logical palettes be used in place of the system palette?
===
In one of our applications, we want to use custom colors and essentially ignore the standard windows palette in a number of cases (set WindowText to Blue rather than Black for example). My thought to do this is to just create a logical palette and apply... | 0 |
6,412,306 | 06/20/2011 13:53:26 | 806,735 | 05/10/2010 20:44:44 | 1 | 0 | SQL Distinct and non-distinct column selection | http://stackoverflow.com/questions/192924/sql-distinct-for-2-fields-in-a-database
The above link I believe is not too far from what I'm looking for. There was a post talking about what I believe I need. It says that I should have my fields that do NOT need to be distinct in an aggregate and then the ones I want dist... | sql | select | distinct | null | null | null | open | SQL Distinct and non-distinct column selection
===
http://stackoverflow.com/questions/192924/sql-distinct-for-2-fields-in-a-database
The above link I believe is not too far from what I'm looking for. There was a post talking about what I believe I need. It says that I should have my fields that do NOT need to be di... | 0 |
8,211,291 | 11/21/2011 11:45:04 | 521,469 | 11/26/2010 14:30:33 | 15 | 1 | Qt regex not matching | Qt's regex (C++) is not working as I expect. For example, in the following line (spaces as full stops)
.....mRNA............complement(join(<85666..86403,86539..>86727))
"mRNA" is not matched by:
QRegExp rxItem("^\\s{5}(\\w+)") ;
But is matched by the following:
QRegExp rxItem("\\s{4}(\\w+)")... | c++ | qt | qregexp | null | null | null | open | Qt regex not matching
===
Qt's regex (C++) is not working as I expect. For example, in the following line (spaces as full stops)
.....mRNA............complement(join(<85666..86403,86539..>86727))
"mRNA" is not matched by:
QRegExp rxItem("^\\s{5}(\\w+)") ;
But is matched by the following:
QRe... | 0 |
10,378,735 | 04/30/2012 05:05:23 | 1,364,936 | 04/30/2012 02:17:11 | 6 | 0 | How can I delete a row in a table | How can I delete a row in a table using PHP and MYSQL? with account_name, maintenance_type, ma_status, ma_contract_start, ma_contract_end, ma_reference_no | php | sql | null | null | null | 04/30/2012 11:19:09 | not a real question | How can I delete a row in a table
===
How can I delete a row in a table using PHP and MYSQL? with account_name, maintenance_type, ma_status, ma_contract_start, ma_contract_end, ma_reference_no | 1 |
7,448,365 | 09/16/2011 17:32:20 | 936,632 | 09/09/2011 11:07:17 | 21 | 5 | What is the best javascript library for game development? | For developing web based games such as a racing game, which is the best javascript game library available? Any good examples of web based games developed in javascript? | javascript | javascript-library | web | null | null | 09/16/2011 17:53:27 | not constructive | What is the best javascript library for game development?
===
For developing web based games such as a racing game, which is the best javascript game library available? Any good examples of web based games developed in javascript? | 4 |
1,589,510 | 10/19/2009 15:50:32 | 24,874 | 10/03/2008 15:02:28 | 5,825 | 268 | Visual Studio - Runtime impact of conditional and disabled breakpoints | After spending a little time wondering why my app was running a particular scenario very slowly with the debugger attached, I discovered that this was due to having a conditional breakpoint (whose condition was never being met). This seems reasonable, as the CPU would signal the breakpoint and VS would need to evaluat... | .net | visual-studio | debugging | breakpoints | conditional-breakpoint | null | open | Visual Studio - Runtime impact of conditional and disabled breakpoints
===
After spending a little time wondering why my app was running a particular scenario very slowly with the debugger attached, I discovered that this was due to having a conditional breakpoint (whose condition was never being met). This seems rea... | 0 |
5,747,157 | 04/21/2011 16:43:49 | 682,514 | 03/29/2011 17:02:20 | 1 | 0 | I have question in Linked lists ?Need answer | for the following polynomials : p1=2x14+3x10+5x6+6
p2=4x15+2x10+x6+6x+4
Do the following :
1. Diagrammatically represent the linked lists polynomials
2.Subtract the two polynomials as p2=p2-p1
3.Add the two polynomials as p1=p1+p2
Not(write the... | algorithm | null | null | null | null | 04/22/2011 20:21:37 | not a real question | I have question in Linked lists ?Need answer
===
for the following polynomials : p1=2x14+3x10+5x6+6
p2=4x15+2x10+x6+6x+4
Do the following :
1. Diagrammatically represent the linked lists polynomials
2.Subtract the two polynomials as p2=p2-p1
3.Ad... | 1 |
7,092,282 | 08/17/2011 11:46:46 | 894,720 | 08/15/2011 09:33:10 | 8 | 0 | Displaying UItableViewController inside UIPopoverController | I am dispalying a UITableViewController inside a UIPopoverController. Everything works fine expect that the size of the TableViewController is very large even thought there are only 3-4 cells. How can I make it so the popover controller's height is exactly the same as tableview's height?
| objective-c | cocoa-touch | ipad | uitableviewcontroller | uipopovercontroller | null | open | Displaying UItableViewController inside UIPopoverController
===
I am dispalying a UITableViewController inside a UIPopoverController. Everything works fine expect that the size of the TableViewController is very large even thought there are only 3-4 cells. How can I make it so the popover controller's height is exactl... | 0 |
8,092,321 | 11/11/2011 09:57:36 | 1,041,436 | 11/11/2011 09:54:59 | 1 | 0 | Sys.Net.WebserviceProxy.invoke is null or not an Object | I am getting above error when i run the page Methods.Same Script when I executed in the another project its working fine.
PageMethods.AjaxForDisplayingParticulars(SSLCNO1, District, onSuccess, OnFailed, "User Context" , 1000000);
Please Help me. | javascript | c#-3.0 | null | null | null | 11/11/2011 10:39:35 | not a real question | Sys.Net.WebserviceProxy.invoke is null or not an Object
===
I am getting above error when i run the page Methods.Same Script when I executed in the another project its working fine.
PageMethods.AjaxForDisplayingParticulars(SSLCNO1, District, onSuccess, OnFailed, "User Context" , 1000000);
Please Help me. | 1 |
4,946,055 | 02/09/2011 14:18:05 | 591,251 | 01/26/2011 20:05:50 | 3 | 0 | Programing languages availability per OS | I am looking for a summary of which programming language is available on particular OS (Windows Mac OS X,Linux). For example languages only for specific OS, and languages available on more than one OS. | windows | linux | osx | programming-languages | operating-system | 02/09/2011 14:35:22 | not a real question | Programing languages availability per OS
===
I am looking for a summary of which programming language is available on particular OS (Windows Mac OS X,Linux). For example languages only for specific OS, and languages available on more than one OS. | 1 |
8,525,051 | 12/15/2011 18:46:37 | 1,073,943 | 11/30/2011 17:55:17 | 1 | 0 | Update Top query | I am working with some data on sql server. A table has 4 identical rows and doesn't have any primary key. I wish to update any one row of those 4 may be a top row.
Is it possible to do this? I tried doing that by manipulating update queries in lot many ways, but nothing works...
| sql-server-2008 | sql-update | null | null | null | null | open | Update Top query
===
I am working with some data on sql server. A table has 4 identical rows and doesn't have any primary key. I wish to update any one row of those 4 may be a top row.
Is it possible to do this? I tried doing that by manipulating update queries in lot many ways, but nothing works...
| 0 |
10,549,804 | 05/11/2012 10:38:18 | 1,363,119 | 04/28/2012 16:34:49 | 34 | 0 | Im using break point but it never get to the first line in the class | This is the class:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HtmlAgilityPack;
using System.Net;
namespace GatherLinks
{
/// <summary>
/// A result encapsulating the Url and the HtmlDocument
/// <... | c# | null | null | null | null | null | open | Im using break point but it never get to the first line in the class
===
This is the class:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HtmlAgilityPack;
using System.Net;
namespace GatherLinks
{
/// <summary>
... | 0 |
11,687,798 | 07/27/2012 12:30:32 | 805,288 | 06/19/2011 11:49:18 | 8 | 0 | Compare current time with a time in a row using SQL in MySql | first of all i have a table like this:
userID Day Hour Class
----- --- ---- -----
65 Monday 08:00 Math
65 Monday 09:00 Bio
65 Monday 13:00 History
65 Tuesday 08:00 Sports
I am choosing the classes according to the current time.
W... | sql | null | null | null | null | null | open | Compare current time with a time in a row using SQL in MySql
===
first of all i have a table like this:
userID Day Hour Class
----- --- ---- -----
65 Monday 08:00 Math
65 Monday 09:00 Bio
65 Monday 13:00 History
65 Tuesday 08:00 Spo... | 0 |
8,764,601 | 01/06/2012 21:13:03 | 1,135,147 | 01/06/2012 20:42:13 | 1 | 0 | Connecting to amazon ec2 instance with ssh - timeout | every time I try to connect to my amazon instance my ssh client (Putty) times out. I have disabled all firewalls I could find (Router, windows built-in) and enabled ssh in security groups. Event log from putty:
2012-01-06 22:04:15 Looking up host "ec2-50-x-x-222.us-west-2.compute.amazonaws.com"
2012-01-06 22:04:15 C... | ssh | amazon-ec2 | null | null | null | 01/08/2012 15:35:39 | off topic | Connecting to amazon ec2 instance with ssh - timeout
===
every time I try to connect to my amazon instance my ssh client (Putty) times out. I have disabled all firewalls I could find (Router, windows built-in) and enabled ssh in security groups. Event log from putty:
2012-01-06 22:04:15 Looking up host "ec2-50-x-x-2... | 2 |
4,420,783 | 12/12/2010 08:04:30 | 104,668 | 05/11/2009 08:43:01 | 350 | 12 | What is the most useful String helper that you've encountered? | What useful helpers for String manipulation to you have to share?
I once wrote a replacement for String.Format(), which I find much more neat to use:
public static class StringHelpers
{
public static string Args(this string str, object arg0)
{
return String.Format(str, ar... | c# | string | helpers | null | null | 12/12/2010 09:27:39 | not a real question | What is the most useful String helper that you've encountered?
===
What useful helpers for String manipulation to you have to share?
I once wrote a replacement for String.Format(), which I find much more neat to use:
public static class StringHelpers
{
public static string Args(this string st... | 1 |
1,190,953 | 07/27/2009 22:12:45 | 83,889 | 03/28/2009 01:28:09 | 2,794 | 227 | Common programming mistakes for a CSS developer to avoid? | What are some of the most common mistakes overlooked by CSS developers? | css | null | null | null | null | 11/26/2011 03:04:32 | not constructive | Common programming mistakes for a CSS developer to avoid?
===
What are some of the most common mistakes overlooked by CSS developers? | 4 |
5,540,902 | 04/04/2011 15:40:01 | 534,877 | 12/08/2010 10:56:02 | 29 | 1 | How to find conflict between my CSS and JQuery UI CSS? | im using JQuery UI on my website to make for example buttons. It seems like my stylesheets are interefereing with the JQuery UI CSS because the button font-size is too big. How can i find out what's causing the problem? I installed Firebug 1.7 on FF 4.0 but i see it's mostly using JUI CSS from and from my stylesheet j... | css | jquery-ui | firebug | conflict | null | null | open | How to find conflict between my CSS and JQuery UI CSS?
===
im using JQuery UI on my website to make for example buttons. It seems like my stylesheets are interefereing with the JQuery UI CSS because the button font-size is too big. How can i find out what's causing the problem? I installed Firebug 1.7 on FF 4.0 but i ... | 0 |
11,636,366 | 07/24/2012 17:43:06 | 1,518,126 | 07/11/2012 14:39:11 | 5 | 0 | Simple python loop | I want to loop trough this table in python, and print key and the value, I'm a newbie in Python and the examples found on the internet doesn't work or print errors...
So how could I loop the below table properly and display key/value?
letters = {
"m":1, "n":1, "r":1, "M":1, "N":1, "R":1, "l":1, "L":1, "... | python | table | for-loop | null | null | 07/25/2012 07:20:22 | not a real question | Simple python loop
===
I want to loop trough this table in python, and print key and the value, I'm a newbie in Python and the examples found on the internet doesn't work or print errors...
So how could I loop the below table properly and display key/value?
letters = {
"m":1, "n":1, "r":1, "M":1, "N":1... | 1 |
10,457,876 | 05/05/2012 00:53:11 | 1,315,411 | 04/05/2012 13:32:28 | 1 | 0 | How do I create a static library out of my nested templated classes? | I have some classes in C++ that I want to make a static library out of. One of the classes is a hash table class that uses the other two to create the object. I've tried following another [small demonstration][1] in the answer to another question, but the library I produce doesn't seem to be defining anything i've writ... | c++ | c++11 | null | null | null | null | open | How do I create a static library out of my nested templated classes?
===
I have some classes in C++ that I want to make a static library out of. One of the classes is a hash table class that uses the other two to create the object. I've tried following another [small demonstration][1] in the answer to another question... | 0 |
6,560,538 | 07/03/2011 01:23:55 | 175,849 | 09/19/2009 04:11:09 | 3,329 | 298 | Why does OnLinkPrefixLength differ to adapter PrefixLength? | If you take the MSDN example inside [IP_ADAPTER_ADDRESSES Structure][1] on Windows 7 SP1 then expand out enumeration of unicast addresses:
char s[1024];
for (i = 0; pUnicast != NULL; i++) {
inet_ntop (pUnicast->Address.lpSockaddr->sa_family,
pUnicast->Address.lpSockaddr->sa_family == AF_INET ?
... | windows | winsock | ipv6 | null | null | null | open | Why does OnLinkPrefixLength differ to adapter PrefixLength?
===
If you take the MSDN example inside [IP_ADAPTER_ADDRESSES Structure][1] on Windows 7 SP1 then expand out enumeration of unicast addresses:
char s[1024];
for (i = 0; pUnicast != NULL; i++) {
inet_ntop (pUnicast->Address.lpSockaddr->sa_family,
... | 0 |
10,313,974 | 04/25/2012 10:38:45 | 1,355,923 | 04/25/2012 10:30:25 | 1 | 0 | PHP Point Reward System open source | I need to building a point reward system only website. I've try using Joomla with Alpha User Points extension to do, the extension is great for me, but Joomla is complicate on customize layout. Is there any good PHP open source library of Point Reward System? If function great as Alpha User Points is much better. Thank... | php | null | null | null | null | 04/25/2012 10:57:17 | not a real question | PHP Point Reward System open source
===
I need to building a point reward system only website. I've try using Joomla with Alpha User Points extension to do, the extension is great for me, but Joomla is complicate on customize layout. Is there any good PHP open source library of Point Reward System? If function great a... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.