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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8,997,396 | 01/25/2012 03:09:41 | 1,092,899 | 12/12/2011 01:00:18 | 1 | 0 | Las Vegas Algorithm Mathematical Exercise | I have an exercise on Las Vegas algorithm, but so far not a clue on how to approach it as it is rather mathematical than programming which I'm familiar with. Anyway, here it is:
Let ε,δ be real numbers 0<ε<δ<1. Let A be a randomized algorithm that computes a function F with
Prob(A(x)=F(x))>=1/2 and Prob(A(x)="?")... | algorithm | homework | random | analysis | null | 01/25/2012 05:12:12 | off topic | Las Vegas Algorithm Mathematical Exercise
===
I have an exercise on Las Vegas algorithm, but so far not a clue on how to approach it as it is rather mathematical than programming which I'm familiar with. Anyway, here it is:
Let ε,δ be real numbers 0<ε<δ<1. Let A be a randomized algorithm that computes a function F ... | 2 |
3,639,750 | 09/03/2010 21:44:26 | 441,664 | 05/24/2010 20:05:22 | 93 | 1 | Latest version for mysql | What is the latest mysql version? is it v5.2 or v5.1?
Thanks. | mysql | null | null | null | null | 09/03/2010 21:49:42 | too localized | Latest version for mysql
===
What is the latest mysql version? is it v5.2 or v5.1?
Thanks. | 3 |
8,340,044 | 12/01/2011 10:45:59 | 1,075,235 | 12/01/2011 10:40:52 | 1 | 0 | Would someone tell me what to learn after C? | I'm a college student majoring in software engineering and I'm very interested in programming.
So I want to become able to write desktop application on my own ASAP. I have already learnt C, what should I learn next? Or would you suggest me a list of books to read? Thanks in advance. | c | college | null | null | null | 12/01/2011 10:50:57 | not constructive | Would someone tell me what to learn after C?
===
I'm a college student majoring in software engineering and I'm very interested in programming.
So I want to become able to write desktop application on my own ASAP. I have already learnt C, what should I learn next? Or would you suggest me a list of books to read? Than... | 4 |
11,014,809 | 06/13/2012 12:27:42 | 1,297,879 | 03/28/2012 10:22:13 | 56 | 1 | Simple Rest web service | I want to develop one simple project for creating Rest web service in Netbeans Editor.in that project client will give any input to me.without looking into client input i just want to return a string name "hello" to client.How should i proceed for that project.I am new to development of Rest Web service and also new ... | java | web-services | netbeans | null | null | 06/14/2012 04:09:41 | not a real question | Simple Rest web service
===
I want to develop one simple project for creating Rest web service in Netbeans Editor.in that project client will give any input to me.without looking into client input i just want to return a string name "hello" to client.How should i proceed for that project.I am new to development of R... | 1 |
2,928,090 | 05/28/2010 10:04:11 | 351,922 | 05/27/2010 12:06:08 | 6 | 1 | IE8 displays legend in blue but all other browsers dispaly it correctly in white text. Why? | I have a Joomla 1.5 site with a client login on the page (rather than going right into the back-end) using the standard Joomla module, but when the login is accessed via IE* the <legend> tag displays in blue. It is set in the .css files as white. IE8 is ignoring this. Any ideas? This only shows when admin is logged in ... | joomla | legend | internet-explorer-8 | null | null | null | open | IE8 displays legend in blue but all other browsers dispaly it correctly in white text. Why?
===
I have a Joomla 1.5 site with a client login on the page (rather than going right into the back-end) using the standard Joomla module, but when the login is accessed via IE* the <legend> tag displays in blue. It is set in t... | 0 |
6,948,461 | 08/04/2011 21:01:21 | 327,258 | 04/27/2010 20:45:52 | 109 | 6 | Formating a textfile to display in an EditText on android | I got my little html fisher working and it grabs a text file form a URL string. I can call setText to my EditText view and it will indeed display the text in the text file, but there is like no formatting at all (I am talking simple stuff like carriage returns and line feeds). how can i get this to happen some? Orig... | android | android-edittext | android-ui | null | null | null | open | Formating a textfile to display in an EditText on android
===
I got my little html fisher working and it grabs a text file form a URL string. I can call setText to my EditText view and it will indeed display the text in the text file, but there is like no formatting at all (I am talking simple stuff like carriage ret... | 0 |
1,562,948 | 10/13/2009 21:18:10 | 79,344 | 03/18/2009 07:14:46 | 185 | 5 | c++ dynamic dispatch problem | I've got the following structure:
struct A
{
A();
virtual ~A();
virtual void Foo() =0;
};
struct E;
struct F;
struct B: public A
{
B();
virtual ~B();
virtual void Bar(E*) =0;
virtual void Bar(F*) =0;
};
... | c++ | polymorphism | inheritance | multiple-dispatch | templates | null | open | c++ dynamic dispatch problem
===
I've got the following structure:
struct A
{
A();
virtual ~A();
virtual void Foo() =0;
};
struct E;
struct F;
struct B: public A
{
B();
virtual ~B();
virtual void Bar(E*) =0;
virtua... | 0 |
11,449,919 | 07/12/2012 10:29:16 | 1,520,459 | 07/12/2012 10:17:11 | 1 | 0 | Java Integer resetting it's self | I've been playing with a path finding program but I've run into a strange situation.
When creating an object one of the values appears to be resetting it's self to 0.
here are some screen dumps from the debugger.<br>
<a href="http://imageshack.us/photo/my-images/208/screen1edit.jpg/">http://imageshack.us/photo/my-im... | java | null | null | null | null | 07/12/2012 10:32:35 | not a real question | Java Integer resetting it's self
===
I've been playing with a path finding program but I've run into a strange situation.
When creating an object one of the values appears to be resetting it's self to 0.
here are some screen dumps from the debugger.<br>
<a href="http://imageshack.us/photo/my-images/208/screen1edit.... | 1 |
3,035,240 | 06/14/2010 06:08:34 | 364,274 | 06/11/2010 06:44:14 | 1 | 1 | best JavaScript Editor and debugger | JavaScript editors namely
- Komodo
- Eclipse (if it has any)
- Netbeans
- [Antechinus® JavaScript Editor][3]
[3]: http://www.c-point.com/javascript_editor.php
which one is best or proffered in by experience programmers, i am completely new to JavaScript and php so have no idea of which one to choose ... | php | javascript | editor | null | null | 09/13/2011 12:40:37 | not constructive | best JavaScript Editor and debugger
===
JavaScript editors namely
- Komodo
- Eclipse (if it has any)
- Netbeans
- [Antechinus® JavaScript Editor][3]
[3]: http://www.c-point.com/javascript_editor.php
which one is best or proffered in by experience programmers, i am completely new to JavaScript and ph... | 4 |
2,760,182 | 05/03/2010 18:14:50 | 246,963 | 01/09/2010 07:25:34 | 136 | 36 | form validation message inside textbox | How to make validation something like this screen shot..!
is there any jquery plugin ,will do the validation...
[my screebshot][1]
[1]: http://img338.imageshack.us/img338/966/loginh.gif | jquery | form-validation | jquery-validate | null | null | null | open | form validation message inside textbox
===
How to make validation something like this screen shot..!
is there any jquery plugin ,will do the validation...
[my screebshot][1]
[1]: http://img338.imageshack.us/img338/966/loginh.gif | 0 |
8,229,832 | 11/22/2011 16:03:39 | 443,966 | 09/10/2010 02:07:29 | 1,054 | 25 | scp to a ftp server? | I am not good at remember too much command, I don't like `ftp` commands, I like `scp` command, but the server is ftp. can I connect a ftp server by scp like command? | linux | ftp | scp | null | null | 11/22/2011 21:40:59 | off topic | scp to a ftp server?
===
I am not good at remember too much command, I don't like `ftp` commands, I like `scp` command, but the server is ftp. can I connect a ftp server by scp like command? | 2 |
7,189,456 | 08/25/2011 11:18:56 | 598,343 | 02/01/2011 12:11:25 | 311 | 7 | Providing links to files outside of IIS | I have an upload function in my system that stores the files on the d drive e.g D:\KBFiles. Now i need to offer these files as links through internet explorer. Obviously i cant just offer a path e.g D:\KBFiles\test.pdf. Whats the best way to handle this scenario | c# | asp.net | null | null | null | null | open | Providing links to files outside of IIS
===
I have an upload function in my system that stores the files on the d drive e.g D:\KBFiles. Now i need to offer these files as links through internet explorer. Obviously i cant just offer a path e.g D:\KBFiles\test.pdf. Whats the best way to handle this scenario | 0 |
10,997,719 | 06/12/2012 13:28:35 | 1,207,026 | 02/13/2012 14:38:59 | 22 | 1 | At what point does an index become necessary or worthwhile? | I'm in the process of learning Databases and SQL. From what I have read adding an index to a table can increase performance to from around (log(n)) to even constant time.
Considering the increased space usage, at what point does it make sense to add an index to a table?
For example if i was using an employees t... | sql | database | oracle | database-design | indexing | 06/12/2012 22:59:31 | not constructive | At what point does an index become necessary or worthwhile?
===
I'm in the process of learning Databases and SQL. From what I have read adding an index to a table can increase performance to from around (log(n)) to even constant time.
Considering the increased space usage, at what point does it make sense to add a... | 4 |
9,785,190 | 03/20/2012 10:40:08 | 1,023,433 | 11/01/2011 10:01:44 | 31 | 2 | ContactPicker.PickSingleContactAsync Windows 8 C# usage | Could someone give me an example of how to use the ContactPicker.PickSingleContactAsync() functionality correctly in Windows 8 ASync programming, i've tried the following code below and I don't seem to be able to retrieve the results, let alone proceed. the JavaScript example is a bit vague and I don't understand JavaS... | c# | asynchronous | contacts | windows-8 | null | null | open | ContactPicker.PickSingleContactAsync Windows 8 C# usage
===
Could someone give me an example of how to use the ContactPicker.PickSingleContactAsync() functionality correctly in Windows 8 ASync programming, i've tried the following code below and I don't seem to be able to retrieve the results, let alone proceed. the J... | 0 |
10,046,119 | 04/06/2012 16:13:01 | 1,317,785 | 04/06/2012 15:47:36 | 1 | 0 | Using python to Extract data from lines in file | I have a file with many lines of data much data like:
>chr1:4797973-4836816 57.7862
I want to create a new file with lines that look like:
>chr1 4797973 4836816 57.7862
chr# varies from line to line. # = 1-19, X, Y
Sorry if this is so basic...
J | python | null | null | null | null | 04/06/2012 16:28:53 | too localized | Using python to Extract data from lines in file
===
I have a file with many lines of data much data like:
>chr1:4797973-4836816 57.7862
I want to create a new file with lines that look like:
>chr1 4797973 4836816 57.7862
chr# varies from line to line. # = 1-19, X, Y
Sorry if this is so basic...
... | 3 |
4,659,931 | 01/11/2011 16:28:06 | 454,488 | 05/03/2010 03:43:01 | 164 | 2 | How do browsers work | I found this excellent article :
[how-browsers-work-part-1-architecture][1]
[1]: http://www.vineetgupta.com/2010/11/how-browsers-work-part-1-architecture/
But i could not find the part 2. I am guessing, once completed, it would explain the following aspects of how a browser works.
* Architecture
... | html | browser | null | null | null | 01/12/2011 00:41:15 | off topic | How do browsers work
===
I found this excellent article :
[how-browsers-work-part-1-architecture][1]
[1]: http://www.vineetgupta.com/2010/11/how-browsers-work-part-1-architecture/
But i could not find the part 2. I am guessing, once completed, it would explain the following aspects of how a browser works... | 2 |
7,468,674 | 09/19/2011 09:13:41 | 490,018 | 10/28/2010 11:21:45 | 137 | 12 | jqGrid: selected IDs are lost after changing the filter | I am implementing the functionality described at [the question][1].
I have looked through [the jqGrid examples][2].
See Advanced -> Multi Select.
There is the problem, the checkboxes' selection is reset when you change the filter, so selected IDs are reset. How to store all selected IDs despite the filter change... | asp.net-mvc | jqgrid | null | null | null | null | open | jqGrid: selected IDs are lost after changing the filter
===
I am implementing the functionality described at [the question][1].
I have looked through [the jqGrid examples][2].
See Advanced -> Multi Select.
There is the problem, the checkboxes' selection is reset when you change the filter, so selected IDs are r... | 0 |
7,883,189 | 10/24/2011 23:39:34 | 581,851 | 01/19/2011 17:37:29 | 589 | 8 | How to setup functionality where a user can edit their profile, but all changes must be approved by an admin? | Does anyone know of any examples of this in terms of both front end (interface) and back end? Thanks for your time! | php | null | null | null | null | 10/25/2011 00:28:04 | off topic | How to setup functionality where a user can edit their profile, but all changes must be approved by an admin?
===
Does anyone know of any examples of this in terms of both front end (interface) and back end? Thanks for your time! | 2 |
9,467,952 | 02/27/2012 15:52:28 | 249,341 | 01/12/2010 22:44:34 | 1,308 | 31 | What libraries are needed for this binary to run? | Linux-based (Ubuntu 11.10)
Before my computer crashed I had a binary on my computer: `./program` that was given to me without the source. This file executed just fine. When my hard drive failed, I started with a fresh install and tried to run this binary on the same computer. It now fails with:
bash: ./progra... | linux | shared-libraries | binaryfiles | null | null | 02/27/2012 20:56:48 | off topic | What libraries are needed for this binary to run?
===
Linux-based (Ubuntu 11.10)
Before my computer crashed I had a binary on my computer: `./program` that was given to me without the source. This file executed just fine. When my hard drive failed, I started with a fresh install and tried to run this binary on the ... | 2 |
10,808,973 | 05/30/2012 01:40:23 | 945,775 | 09/15/2011 00:37:44 | 1 | 0 | Which exploit/audit tool produces output like this? | I would like to audit the security of my site against SQL injections, and I have people showing me results like this (that's not my site, just an example of the output I'm being shown).
http://pastebin.com/WPCzCBZb
I would like to know what audit tool that comes from so I can test it myself.
Does anyone know... | sql | security | injection | audit | exploit | 06/01/2012 03:14:48 | off topic | Which exploit/audit tool produces output like this?
===
I would like to audit the security of my site against SQL injections, and I have people showing me results like this (that's not my site, just an example of the output I'm being shown).
http://pastebin.com/WPCzCBZb
I would like to know what audit tool that... | 2 |
7,244,338 | 08/30/2011 13:53:32 | 754,559 | 05/15/2011 15:01:29 | 26 | 4 | Changing data source for audio playback using existing MediaPlayer? | I'm trying to use the same media player but change the data source. Here is what I'm trying to do:
private String mediafile="my.mp3";
private MediaPlayer mMediaPlayer;
private void initMediaPlayer() {
// Setup media player, but don't start until user clicks button!
try {
if (mMe... | android | mediaplayer | audiomanager | null | null | null | open | Changing data source for audio playback using existing MediaPlayer?
===
I'm trying to use the same media player but change the data source. Here is what I'm trying to do:
private String mediafile="my.mp3";
private MediaPlayer mMediaPlayer;
private void initMediaPlayer() {
// Setup media pla... | 0 |
4,051,083 | 10/29/2010 10:45:22 | 73,603 | 03/04/2009 09:49:21 | 5,546 | 148 | Version controlled South migrations in virtualenv | I have a Django site placed in folder `site/`. It's under version control. I use South for schema and data migrations for my applications. Site-specific applications are under folder `site/` so they are all version-controlled along with their migrations.
I manage a virtualenv to keep third party components dry an... | version-control | virtualenv | data-migration | django-south | null | null | open | Version controlled South migrations in virtualenv
===
I have a Django site placed in folder `site/`. It's under version control. I use South for schema and data migrations for my applications. Site-specific applications are under folder `site/` so they are all version-controlled along with their migrations.
I ma... | 0 |
9,581,141 | 03/06/2012 09:41:46 | 792,359 | 06/10/2011 08:05:24 | 75 | 0 | In objective-c, what is the default value for a field if no default value is provided? | In objective-c, what is the default value for a field if no default value is provided?
eg UIButton, NSArray, NSMutableSet, UIActivityIndicatorView, int , BOOL
And what is the different between instance variable default value and local variable default value ? | iphone | objective-c | object | default | null | null | open | In objective-c, what is the default value for a field if no default value is provided?
===
In objective-c, what is the default value for a field if no default value is provided?
eg UIButton, NSArray, NSMutableSet, UIActivityIndicatorView, int , BOOL
And what is the different between instance variable default value... | 0 |
5,984,662 | 05/12/2011 21:25:40 | 124,240 | 06/17/2009 10:24:42 | 57 | 1 | Clock app "No Alarms" message on the background | In iPhone Clock App, on Alarm tab, if there are no alarms or if the last alarm is deleted, a message is displayed on the background view "No Alarms".
How can that be implemented?
I am using a TableViewController to implement a list of data and want to show a similar "No Data" when the last row is deleted.
| iphone | clock | null | null | null | null | open | Clock app "No Alarms" message on the background
===
In iPhone Clock App, on Alarm tab, if there are no alarms or if the last alarm is deleted, a message is displayed on the background view "No Alarms".
How can that be implemented?
I am using a TableViewController to implement a list of data and want to show a s... | 0 |
155,303 | 09/30/2008 22:03:42 | 17,235 | 09/18/2008 04:57:43 | 252 | 15 | .NET - How can you split a "caps" delimited string into an array? | How do I go from this string: "ThisIsMyCapsDelimitedString"
...to this string: "This Is My Caps Delimited String"
Fewest lines of code in VB.net is preferred but C# is also welcome.
Cheers! | .net | algorithm | string | null | null | null | open | .NET - How can you split a "caps" delimited string into an array?
===
How do I go from this string: "ThisIsMyCapsDelimitedString"
...to this string: "This Is My Caps Delimited String"
Fewest lines of code in VB.net is preferred but C# is also welcome.
Cheers! | 0 |
4,756,843 | 01/21/2011 08:41:20 | 584,147 | 01/21/2011 08:02:50 | 1 | 0 | jQuery.live() on plugin selector elements. | Alright, my issue is, I have created a jQuery plugin that binds a click, and mouseover event to the elements provided by the selector. Now, I need those events, to instead, be ".live" events, after a lot-a-bit of searching, I found 'a' solution located [here][1]
Which, the given solution is as follows..
(func... | jquery | plugins | selectors | live | null | null | open | jQuery.live() on plugin selector elements.
===
Alright, my issue is, I have created a jQuery plugin that binds a click, and mouseover event to the elements provided by the selector. Now, I need those events, to instead, be ".live" events, after a lot-a-bit of searching, I found 'a' solution located [here][1]
Which,... | 0 |
8,040,815 | 11/07/2011 18:22:17 | 1,034,276 | 11/07/2011 18:10:31 | 1 | 0 | Communication Between Windows and web application using vb.net or C# | I am new for dotnet. i need to implement one concept that is i am developing one desktop application that is act as server and create one website. so client give a request from website to my desktop application. the server get the request and perform some task and then response to client. how to implement this concept.... | c# | vb.net | null | null | null | 11/08/2011 00:00:50 | not a real question | Communication Between Windows and web application using vb.net or C#
===
I am new for dotnet. i need to implement one concept that is i am developing one desktop application that is act as server and create one website. so client give a request from website to my desktop application. the server get the request and per... | 1 |
8,517,447 | 12/15/2011 08:57:38 | 681,911 | 03/29/2011 11:02:10 | 6 | 1 | Setting background colour for a SurfaceView in Android | I am building a paint application for android. Extending the FingerPaint application sample provided with the SDK. However, unlike FingerPaint, I'm using SurfaceView with a separate rendering thread to draw to the surface. All this is very standard and straightforward. Working well. I want to, however, give a White col... | android | background | background-color | surfaceview | surfaceholder | null | open | Setting background colour for a SurfaceView in Android
===
I am building a paint application for android. Extending the FingerPaint application sample provided with the SDK. However, unlike FingerPaint, I'm using SurfaceView with a separate rendering thread to draw to the surface. All this is very standard and straigh... | 0 |
4,103,699 | 11/05/2010 05:00:32 | 337,690 | 05/10/2010 21:08:25 | 392 | 3 | PHP Logout Script with 4 frames in frameset | I have a study logout.php file which works fantastically, the issue I am faced with however is putting the script into a new 'intranet style' administrative site which uses 4 frames within a frameset (header, left, center, right).
There are two requirements I need to meet which I am having a very difficult time f... | php | javascript | jquery | frames | logout | null | open | PHP Logout Script with 4 frames in frameset
===
I have a study logout.php file which works fantastically, the issue I am faced with however is putting the script into a new 'intranet style' administrative site which uses 4 frames within a frameset (header, left, center, right).
There are two requirements I need ... | 0 |
10,055,024 | 04/07/2012 13:48:42 | 1,260,979 | 03/10/2012 12:10:34 | 13 | 1 | first time web hosting | I am pretty new to web development but over the last year I have been developing an application with zend framework but because i have been doing all the development offline I am yet to choose a web host. I have bought a domain name from godaddy but have read some reviews that recommend i steer clear of them for web h... | php | zend-framework | web-hosting | null | null | 04/07/2012 14:03:45 | not constructive | first time web hosting
===
I am pretty new to web development but over the last year I have been developing an application with zend framework but because i have been doing all the development offline I am yet to choose a web host. I have bought a domain name from godaddy but have read some reviews that recommend i s... | 4 |
11,287,922 | 07/02/2012 04:51:08 | 1,438,796 | 05/29/2012 01:10:57 | 61 | 2 | Recommended architecture for ASP.NET Webforms application | I have written an ASP.NET WebForms portal for a client. The project has kind of evolved rather than being properly planned and structured from the beginning. Consequently, all the code is mashed together within the same project and without any layers. The client is now happy with the functionality, so I would like t... | c# | asp.net | architecture | null | null | 07/02/2012 05:05:21 | not constructive | Recommended architecture for ASP.NET Webforms application
===
I have written an ASP.NET WebForms portal for a client. The project has kind of evolved rather than being properly planned and structured from the beginning. Consequently, all the code is mashed together within the same project and without any layers. Th... | 4 |
7,871,571 | 10/24/2011 05:24:30 | 1,010,279 | 10/24/2011 05:21:07 | 1 | 0 | Mysql local installation on windows 64 machine | I'm trying to install Mysql on my windows 64bit using Xampp,Easy php,but it doesnt seem to work.I cannot access phpmyadmin.Can someone please help me with the problem?
| mysql | xampp | windows64 | null | null | 11/23/2011 16:21:43 | off topic | Mysql local installation on windows 64 machine
===
I'm trying to install Mysql on my windows 64bit using Xampp,Easy php,but it doesnt seem to work.I cannot access phpmyadmin.Can someone please help me with the problem?
| 2 |
7,891,787 | 10/25/2011 15:34:14 | 234,451 | 12/18/2009 10:14:57 | 2,398 | 181 | Creating an RSS/XML datasource | I am trying to create a feeds data source to make getting feeds easier and cleaner, and as a way to learn some new bits and bobs of the Cake framework.
I have the datasource working as I'd like, it returns items, however I'd like to be able to instantiate it with different feeds so that I don't need to create a new ... | cakephp | rss | cakephp-2.0 | null | null | null | open | Creating an RSS/XML datasource
===
I am trying to create a feeds data source to make getting feeds easier and cleaner, and as a way to learn some new bits and bobs of the Cake framework.
I have the datasource working as I'd like, it returns items, however I'd like to be able to instantiate it with different feeds s... | 0 |
11,197,353 | 06/25/2012 21:04:37 | 1,346,418 | 04/20/2012 11:30:54 | 128 | 1 | Java slice a String | I have a url which always ending on an number for example:
String url=localhost:8080/myproject/reader/add/1/;
String anotherurl= localhost:8080/myproject/actor/take/154/;
And i want to take the number exist before the last slash("/") and after the second last slash.Does anyone knows how can i do this... | java | null | null | null | null | null | open | Java slice a String
===
I have a url which always ending on an number for example:
String url=localhost:8080/myproject/reader/add/1/;
String anotherurl= localhost:8080/myproject/actor/take/154/;
And i want to take the number exist before the last slash("/") and after the second last slash.Does anyon... | 0 |
11,224,291 | 06/27/2012 10:36:05 | 1,485,323 | 06/27/2012 10:29:53 | 1 | 0 | Undefined index: username in C:\wamp\www\Website\storeadmin\admin_login.php..and the same for password | //index.php
<?php
session_start();
if(!isset($_SESSION["member"])){
header("location:admin_login.php");
exit();
}
$managerID = preg_replace('#[^0-9]#i',"",$_SESSION["id"]);
$manager = preg_replace('#[A-Za-z0-9]#i',"",$_SESSION... | php | mysql | css | null | null | 06/27/2012 15:31:14 | not a real question | Undefined index: username in C:\wamp\www\Website\storeadmin\admin_login.php..and the same for password
===
//index.php
<?php
session_start();
if(!isset($_SESSION["member"])){
header("location:admin_login.php");
exit();
}
$managerID = ... | 1 |
10,965,743 | 06/10/2012 01:17:31 | 1,349,029 | 04/22/2012 02:14:47 | 194 | 23 | documenting processes | **Situation:**
I have to document a bunch of tech support procedures and save them to pdf or html. Things like setting up email users on the system, adding domains and databases for development environments, installing ssl certs and so forth.
**Goal:**
I want to do the work once while taking screenshots at key ... | documentation | null | null | null | null | 06/10/2012 22:48:35 | off topic | documenting processes
===
**Situation:**
I have to document a bunch of tech support procedures and save them to pdf or html. Things like setting up email users on the system, adding domains and databases for development environments, installing ssl certs and so forth.
**Goal:**
I want to do the work once while... | 2 |
432,106 | 01/11/2009 01:18:07 | 53,007 | 01/08/2009 16:57:03 | 121 | 14 | Do you prefer C# or Visual Basic .Net? | What do you see as benefits for one over the other? As far as I know, it's just preference. I have way more experience with C# than I do with Visual Basic and was wondering if I should dabble in Visual Basic for certain types of projects? | vb.net | c# | .net | null | null | 01/11/2009 01:22:20 | not constructive | Do you prefer C# or Visual Basic .Net?
===
What do you see as benefits for one over the other? As far as I know, it's just preference. I have way more experience with C# than I do with Visual Basic and was wondering if I should dabble in Visual Basic for certain types of projects? | 4 |
9,334,608 | 02/17/2012 20:01:11 | 1,215,039 | 02/16/2012 23:18:05 | 11 | 0 | Not so hidden form field | I have an input field where users can input a comment. I want to add another field but I want it to be "hidden" where when they click "add people" a drop-down-box with an input field pops down and then you type the name of the person you would like to add. Then when the user hits 'submit' the comment and the additional... | javascript | html | css | null | null | 02/19/2012 15:25:39 | not a real question | Not so hidden form field
===
I have an input field where users can input a comment. I want to add another field but I want it to be "hidden" where when they click "add people" a drop-down-box with an input field pops down and then you type the name of the person you would like to add. Then when the user hits 'submit' ... | 1 |
8,192,106 | 11/19/2011 05:21:56 | 548,852 | 12/20/2010 16:00:31 | 188 | 4 | Android Nested Interface to store constants | So I was looking at Google's I/O App, iosched, and I notice they implement constants through a nested interface. For example in their ScheduleDatabase class they have:
public class ScheduleDatabase extends SQLiteOpenHelper {
interface Tables {
String BLOCKS = "blocks"
String TR... | android | interface | constants | null | null | null | open | Android Nested Interface to store constants
===
So I was looking at Google's I/O App, iosched, and I notice they implement constants through a nested interface. For example in their ScheduleDatabase class they have:
public class ScheduleDatabase extends SQLiteOpenHelper {
interface Tables {
... | 0 |
6,464,999 | 06/24/2011 08:04:48 | 218,275 | 11/25/2009 02:56:51 | 114 | 5 | Any one help me modify this C chatting room program in Linux form using Socket to Pipes | This is a very simple chatting Room LINUX program written in C.
Here is the code of server.c and client.c
The codes are pasted [HERE][1], because the code styles disordered when I paste them on stackOverFlow..
Can you help to modify this from using Sockets to using Pipes and Daemon Processes?
Or show m... | c++ | c | linux | process | pipes | 06/24/2011 08:44:43 | not a real question | Any one help me modify this C chatting room program in Linux form using Socket to Pipes
===
This is a very simple chatting Room LINUX program written in C.
Here is the code of server.c and client.c
The codes are pasted [HERE][1], because the code styles disordered when I paste them on stackOverFlow..
Can ... | 1 |
140,295 | 09/26/2008 15:38:00 | 5,442 | 09/09/2008 15:46:21 | 61 | 3 | Using locale.setlocale in embedded Python without breaking file parsing in C thread | We're using a third-party middleware product that allows us to write code in an embedded Python interpreter, and which exposes an API that we can call into. Some of these API calls allow us to load various kinds of file, and the loading code is implemented in C. File loading happens in a separate thread, and calls back... | python | internationalization | locale | null | null | null | open | Using locale.setlocale in embedded Python without breaking file parsing in C thread
===
We're using a third-party middleware product that allows us to write code in an embedded Python interpreter, and which exposes an API that we can call into. Some of these API calls allow us to load various kinds of file, and the lo... | 0 |
8,628,261 | 12/25/2011 04:48:50 | 1,115,059 | 12/25/2011 04:40:05 | 1 | 0 | Java recursion program - Help needed | I need a recursive method that accepts an integer parameter "n" and prints the first n squares
separated by commas, with the odd squares in descending order followed by the even squares in ascending order.
For example,
if the input is 8
It should print the following output:
49, 25, 9, 1, 4, 16, 36, 64 | java | recursion | null | null | null | 12/27/2011 03:16:27 | not a real question | Java recursion program - Help needed
===
I need a recursive method that accepts an integer parameter "n" and prints the first n squares
separated by commas, with the odd squares in descending order followed by the even squares in ascending order.
For example,
if the input is 8
It should print the following outp... | 1 |
5,258,783 | 03/10/2011 11:05:34 | 651,348 | 03/09/2011 10:30:33 | 11 | 1 | phonegap in android | hi i want to install phone gap in android.
i had done lots of try from net but not install correct way.
so plz help me if u know..............Thanks in advance.. | android | null | null | null | null | 03/10/2011 12:33:52 | not a real question | phonegap in android
===
hi i want to install phone gap in android.
i had done lots of try from net but not install correct way.
so plz help me if u know..............Thanks in advance.. | 1 |
1,978,270 | 12/30/2009 03:32:07 | 209,962 | 11/12/2009 21:30:06 | 289 | 12 | Whats a good ruby idiom for breaking up a large class into modules? | I have a large class with lots of methods and it's starting to get a bit unorganized and hard to navigate. I'd like to break it up into modules, where each module is a collection of class and instance methods. Perhaps something like this:
class Large
include Validations
include Attributes
in... | ruby | null | null | null | null | null | open | Whats a good ruby idiom for breaking up a large class into modules?
===
I have a large class with lots of methods and it's starting to get a bit unorganized and hard to navigate. I'd like to break it up into modules, where each module is a collection of class and instance methods. Perhaps something like this:
c... | 0 |
1,412,422 | 09/11/2009 18:02:16 | 171,985 | 09/11/2009 10:04:36 | 1 | 0 | Best alternative solution for ASP.NET AJAX UpdatePanel | Best alternative solution for ASP.NET AJAX UpdatePanel for dynamically add and remove user controls without full postback | updatepanel | user | controls | asp.net | ajax | 09/16/2011 20:51:17 | not constructive | Best alternative solution for ASP.NET AJAX UpdatePanel
===
Best alternative solution for ASP.NET AJAX UpdatePanel for dynamically add and remove user controls without full postback | 4 |
2,677,012 | 04/20/2010 16:52:07 | 24,898 | 10/03/2008 16:09:32 | 453 | 10 | Where did the debug commands go in Visual Studio 2008? | You're going to think I'm either lying or nuts, but neither is the case. I installed VS2008 PRO on a Windows 7 x64 machine and all the debugging commands are missing. There's no debug toolbar and no Debug.* commands under Tools\Options\keyboard.
How do I get the debug functionality working? | visual-studio-2008 | debugging | null | null | null | null | open | Where did the debug commands go in Visual Studio 2008?
===
You're going to think I'm either lying or nuts, but neither is the case. I installed VS2008 PRO on a Windows 7 x64 machine and all the debugging commands are missing. There's no debug toolbar and no Debug.* commands under Tools\Options\keyboard.
How do I ge... | 0 |
4,672,858 | 01/12/2011 19:01:52 | 28,817 | 10/17/2008 04:26:41 | 6,668 | 167 | Symbolic vs word operators eg ( '||' vs 'or' and '!' vs 'not'). | I think `or` is keyword in c++.
It might be that I've been doing too much python code recently but I find `or` is more readable than `||` and `xor` much more readable than `^`.
Is it a good idea to use the word alternatives to the symbolic operators?
Why don't I see them used more? | c++ | null | null | null | null | null | open | Symbolic vs word operators eg ( '||' vs 'or' and '!' vs 'not').
===
I think `or` is keyword in c++.
It might be that I've been doing too much python code recently but I find `or` is more readable than `||` and `xor` much more readable than `^`.
Is it a good idea to use the word alternatives to the symbolic opera... | 0 |
11,615,365 | 07/23/2012 15:13:26 | 1,545,458 | 07/23/2012 09:38:40 | 1 | 0 | Make array from a csv file in PHP | Just for an example, [here][1] is a spreadsheet hosted at Google Docs.
Now, using fgetcsv I can open this file as a csv file and can print lines. But I want to just take B (width), C (Length), D (thickness) and H (Price) columns and make them in an array. So, the actual idea is, I will just take the values from the ... | php | arrays | csv | null | null | 07/23/2012 15:25:01 | not a real question | Make array from a csv file in PHP
===
Just for an example, [here][1] is a spreadsheet hosted at Google Docs.
Now, using fgetcsv I can open this file as a csv file and can print lines. But I want to just take B (width), C (Length), D (thickness) and H (Price) columns and make them in an array. So, the actual idea is... | 1 |
1,782,796 | 11/23/2009 12:14:37 | 59,279 | 01/27/2009 10:16:10 | 7,236 | 232 | Creating installers for complex cross-platform programs | I'm sketching an application deployment process for a bunch of relatively complex desktop applications. We have both native and Java apps, so the deployment must be able to check for existence of the JRE and install it if needed. Some of the apps depend on special hardware, so the deployment must also be able to launch... | deployment | installation | update | cross-platform | installer | null | open | Creating installers for complex cross-platform programs
===
I'm sketching an application deployment process for a bunch of relatively complex desktop applications. We have both native and Java apps, so the deployment must be able to check for existence of the JRE and install it if needed. Some of the apps depend on sp... | 0 |
6,716,979 | 07/16/2011 11:17:12 | 421,994 | 08/16/2010 17:34:15 | 1 | 0 | GWT serialization issue. | **Hi,
When I serialize the one of my object I got serialization exception. The object I created satisfies all the requirements for a object to get serialize in gwt like implements IsSerializable and having a default constructor etc.. I have attached a stack trace. Could any one help please.**
com.google.gwt.user... | gwt | null | null | null | null | null | open | GWT serialization issue.
===
**Hi,
When I serialize the one of my object I got serialization exception. The object I created satisfies all the requirements for a object to get serialize in gwt like implements IsSerializable and having a default constructor etc.. I have attached a stack trace. Could any one help pleas... | 0 |
5,949,095 | 05/10/2011 11:11:29 | 732,360 | 04/30/2011 12:00:43 | 11 | 0 | Sql Backup Need | We Have A Server Named "Exserver"
Now I Want To Take Backup Of A Database Which Is On Exserver Named "User"
And I Want To Take That Backup On My Local Pc's Hard Drive
How Could I Do That???? | sql | sql-server-2008 | server | null | null | 05/10/2011 22:32:49 | off topic | Sql Backup Need
===
We Have A Server Named "Exserver"
Now I Want To Take Backup Of A Database Which Is On Exserver Named "User"
And I Want To Take That Backup On My Local Pc's Hard Drive
How Could I Do That???? | 2 |
4,037,959 | 10/27/2010 21:42:55 | 31,141 | 10/24/2008 11:26:10 | 6,293 | 235 | BitC programming language, what's your stance about it? | What is your opinion about [BitC][1] as programming language?
Seems like a promising solution to "high level language with excellent performance that is pleasant to use" category.
What to you like and dislike about it? Do you think it has a chance to find its niche, or it is just yet another obscure programming l... | programming-languages | null | null | null | null | 10/28/2010 01:45:28 | not constructive | BitC programming language, what's your stance about it?
===
What is your opinion about [BitC][1] as programming language?
Seems like a promising solution to "high level language with excellent performance that is pleasant to use" category.
What to you like and dislike about it? Do you think it has a chance to fi... | 4 |
5,770,546 | 04/24/2011 12:44:06 | 722,428 | 04/24/2011 07:37:15 | 10 | 0 | another HAML problem about how HAML knows the end | = form_for(:subject, :url => {:action => "create"}) do |f|
= render :partial => "form", :locals => {:f => f}
#form_buttons= submit_tag "Create Subject"
noticed that form_for has a "do",so it needs a "end"
but in here,how does HAMLknows where to end the "end"
Sorry about my English,hope you can unde... | ruby | plugins | haml | ruby-on-rails-3 | null | null | open | another HAML problem about how HAML knows the end
===
= form_for(:subject, :url => {:action => "create"}) do |f|
= render :partial => "form", :locals => {:f => f}
#form_buttons= submit_tag "Create Subject"
noticed that form_for has a "do",so it needs a "end"
but in here,how does HAMLknows where to en... | 0 |
3,794,552 | 09/25/2010 16:27:44 | 12,388 | 09/16/2008 14:12:05 | 3,805 | 111 | Android SSL failure trying to connect with GAE | I am trying to connect an Android application with an HTTP remote service that is hosted in Google App Engine for Java (https://applicationname.appspot.com), using the HTTPClient 4 implementation that comes with Android.
I am using Android 2.1 in a real device (HTC Hero), and I get the following error: **`SSL23_GET_... | android | ssl | httpclient | android-networking | null | null | open | Android SSL failure trying to connect with GAE
===
I am trying to connect an Android application with an HTTP remote service that is hosted in Google App Engine for Java (https://applicationname.appspot.com), using the HTTPClient 4 implementation that comes with Android.
I am using Android 2.1 in a real device (HTC... | 0 |
3,620,357 | 09/01/2010 16:53:20 | 437,180 | 09/01/2010 16:53:20 | 1 | 0 | tfs problem. Cannot open solution file | i have this project in TFS, and someone else from another computer changed the solution file's name. Now when i try to open it, i cant. It gives ne this error -
"This project (xxx.sln) cannot be opened from source control because it was created by a version of Microsoft Visual Studio that is incompatible with this one... | vb.net | tfs | projects-and-solutions | null | null | null | open | tfs problem. Cannot open solution file
===
i have this project in TFS, and someone else from another computer changed the solution file's name. Now when i try to open it, i cant. It gives ne this error -
"This project (xxx.sln) cannot be opened from source control because it was created by a version of Microsoft Visu... | 0 |
11,712,473 | 07/29/2012 19:58:03 | 1,561,449 | 07/29/2012 19:38:15 | 1 | 0 | ORMLite Android - How can I "map" in ORMLite a base object that all Database entities extend | I am very new to ORMLite and I really need some help. I have an object that I call "BaseObject" which all classes that are persisted extend. This class has an "_id" field, a "dateCreated" field, a "dateModified" field, etc.... The database tables that correspond to all objects that extends this base object obviously ha... | android | annotations | ormlite | object-persistence | null | null | open | ORMLite Android - How can I "map" in ORMLite a base object that all Database entities extend
===
I am very new to ORMLite and I really need some help. I have an object that I call "BaseObject" which all classes that are persisted extend. This class has an "_id" field, a "dateCreated" field, a "dateModified" field, etc... | 0 |
3,061,247 | 06/17/2010 11:33:44 | 365,627 | 06/13/2010 10:48:52 | 6 | 0 | Initialization of a vector of vectors? | Is there a way to initialize a vector of vectors in the same ,quick, manner as you initialize a matrix?
typedef int type;
type matrix[2][2]=
{
{1,0},{0,1}
};
vector<vector<type> > vectorMatrix; //??? | c++ | stl | vector | matrix | null | null | open | Initialization of a vector of vectors?
===
Is there a way to initialize a vector of vectors in the same ,quick, manner as you initialize a matrix?
typedef int type;
type matrix[2][2]=
{
{1,0},{0,1}
};
vector<vector<type> > vectorMatrix; //??? | 0 |
8,445,271 | 12/09/2011 12:08:13 | 164,954 | 08/28/2009 15:39:43 | 72 | 0 | Determining members of a structure | Is it possible to determine that to Member2 points to a structure that has a group of 3 pointers based on the following code:
`UnknownStruct->Member3 = &UnknownStruct->Member2;
UnkownStruct->Member2 = &UnknownStruct->Member2;
UnknownStruct->Member4 = &UnknownStruct->Member2;`
I am reading the book "reverse ... | c++ | c | assembly | null | null | 12/09/2011 13:40:22 | not a real question | Determining members of a structure
===
Is it possible to determine that to Member2 points to a structure that has a group of 3 pointers based on the following code:
`UnknownStruct->Member3 = &UnknownStruct->Member2;
UnkownStruct->Member2 = &UnknownStruct->Member2;
UnknownStruct->Member4 = &UnknownStruct->Memb... | 1 |
8,676,199 | 12/30/2011 04:35:44 | 1,122,261 | 12/30/2011 03:37:08 | 1 | 0 | silhouette of curve | Can someone please explain how to solve for *t* in the equation [B(t)×B′(t) = 0] provided by Gareth Rees on the following question:
http://stackoverflow.com/questions/574732/calculate-the-horizon-of-a-curved-face-not-extrema
I'd love to see how *t* can be broken out and resolved for if all the point-values are kn... | expression | bezier | quadratic | null | null | 12/30/2011 18:43:23 | off topic | silhouette of curve
===
Can someone please explain how to solve for *t* in the equation [B(t)×B′(t) = 0] provided by Gareth Rees on the following question:
http://stackoverflow.com/questions/574732/calculate-the-horizon-of-a-curved-face-not-extrema
I'd love to see how *t* can be broken out and resolved for if al... | 2 |
8,748,100 | 01/05/2012 18:54:57 | 1,130,975 | 01/04/2012 22:41:06 | 1 | 0 | What webservices support CORS? | i'd like to know which webservices providers does support CORS and which of them are best to learn (simple functions and more advanced ones simultanously)
Thank you for your help! | web-services | soap | cors | null | null | 01/06/2012 02:50:19 | not constructive | What webservices support CORS?
===
i'd like to know which webservices providers does support CORS and which of them are best to learn (simple functions and more advanced ones simultanously)
Thank you for your help! | 4 |
7,470,217 | 09/19/2011 11:29:24 | 898,567 | 08/17/2011 12:02:11 | 21 | 3 | How can I configure two concurrent DNS servers in OSX | I'd like configure two DNS servers in OSX Snow Leopard, with both servers being active. The current implementation only shifts to the secondary DNS if there is no response from the first; I'd like to have the query sent to the secondary DNS if there is a *negative* response (i.e. "not found") from the first, or even be... | osx | apple | dns | osx-snow-leopard | multiple | 09/19/2011 11:54:12 | off topic | How can I configure two concurrent DNS servers in OSX
===
I'd like configure two DNS servers in OSX Snow Leopard, with both servers being active. The current implementation only shifts to the secondary DNS if there is no response from the first; I'd like to have the query sent to the secondary DNS if there is a *negat... | 2 |
5,092,376 | 02/23/2011 14:44:52 | 316,233 | 04/14/2010 06:58:22 | 68 | 1 | Phishing And CSS position:absolute | How CSS position:absolute rule actually helps phishing?
Can someone help me out, I'm confused :(
| css | position | absolute | phishing | null | 02/23/2011 14:52:26 | not a real question | Phishing And CSS position:absolute
===
How CSS position:absolute rule actually helps phishing?
Can someone help me out, I'm confused :(
| 1 |
5,189,167 | 03/04/2011 02:56:19 | 644,040 | 03/04/2011 02:56:19 | 1 | 0 | Can anyone i give me hints on this homework? | A nano-technology chemical company is manufacturing buckminsterfullerene molecules
made up of 60 carbon atoms arranged in the same way as a soccer ball (ref:
http://en.wikipedia.org/wiki/Buckminsterfullerene). The mass of a buckminsterfullerene
molecule is 1.19707641e-21 kg, and the density is 1.44e25 molecules per ... | c | homework | null | null | null | 03/05/2011 05:17:10 | not a real question | Can anyone i give me hints on this homework?
===
A nano-technology chemical company is manufacturing buckminsterfullerene molecules
made up of 60 carbon atoms arranged in the same way as a soccer ball (ref:
http://en.wikipedia.org/wiki/Buckminsterfullerene). The mass of a buckminsterfullerene
molecule is 1.19707641... | 1 |
10,869,858 | 06/03/2012 11:18:26 | 1,403,424 | 05/18/2012 13:06:43 | 1 | 1 | System Permission with PHP uploaded files in Local Windows 7 Server | I Have Serious Problem with My Local Server in Windows 7.
the uploaded files get System Permission and I Can't view it or edit it at all , none from windows or using Apache.
what is the problem exactly? why I have that permission with any file uploaded with Apache?
| php | windows | file | upload | permissions | 06/03/2012 21:11:30 | off topic | System Permission with PHP uploaded files in Local Windows 7 Server
===
I Have Serious Problem with My Local Server in Windows 7.
the uploaded files get System Permission and I Can't view it or edit it at all , none from windows or using Apache.
what is the problem exactly? why I have that permission with any file u... | 2 |
6,977,243 | 08/08/2011 02:28:27 | 872,042 | 08/01/2011 00:43:00 | 1 | 0 | protocol buffers with c & c++ | Now i have a c/s program with protocol buffers(using c++). I want to rewrite the server with c. But in the .proto file there are many services. The program implements the rpc itself, while protocol buffers-c provides another. I want someone to show me how to implement this examples.
service {
rpc... | c++ | c | protocol-buffers | null | null | 08/08/2011 07:20:45 | not a real question | protocol buffers with c & c++
===
Now i have a c/s program with protocol buffers(using c++). I want to rewrite the server with c. But in the .proto file there are many services. The program implements the rpc itself, while protocol buffers-c provides another. I want someone to show me how to implement this examples... | 1 |
2,726,167 | 04/28/2010 00:53:17 | 27,290 | 10/13/2008 01:39:44 | 268 | 11 | Parse a CSV file using python (to make a decision tree later) | First off, full disclosure: This is going towards a uni assignment, so I don't want to receive code. :). I'm more looking for approaches; I'm *very* new to python, having read a book but not yet written any code.
The entire task is to import the contents of a CSV file, create a decision tree from the contents of t... | python | decisiontrees | csv | null | null | 04/27/2012 14:30:01 | not constructive | Parse a CSV file using python (to make a decision tree later)
===
First off, full disclosure: This is going towards a uni assignment, so I don't want to receive code. :). I'm more looking for approaches; I'm *very* new to python, having read a book but not yet written any code.
The entire task is to import the co... | 4 |
7,820,319 | 10/19/2011 11:02:53 | 813,739 | 06/24/2011 08:42:26 | 47 | 3 | PHP Ecommerce for beginners | I have just dived into PHP ocean. I am basically a Java developer and learning PHP, and it seems to be literally an ocean of PHP API, Frameworks and e-commerce solution etc. So, basically I'm confused.
I wanted to know about PHP e-commerce solutions. I came across several things like Maganto, Zen Cart and several ot... | php | e-commerce | shopping-cart | php-frameworks | null | 10/19/2011 11:54:23 | not constructive | PHP Ecommerce for beginners
===
I have just dived into PHP ocean. I am basically a Java developer and learning PHP, and it seems to be literally an ocean of PHP API, Frameworks and e-commerce solution etc. So, basically I'm confused.
I wanted to know about PHP e-commerce solutions. I came across several things like... | 4 |
2,436,391 | 03/12/2010 22:47:47 | 82,265 | 03/24/2009 21:36:24 | 191 | 24 | What programming language to choose | We need to write a script that needs to process movies (using C-based ffmpeg) and also update our databases. Also there would be some thread programming to accomplish with a worker-manager design. I am thinking of writing this in Ruby is there any good language to do this, if so what is its primary advantage for choosi... | programming-languages | language-features | null | null | null | null | open | What programming language to choose
===
We need to write a script that needs to process movies (using C-based ffmpeg) and also update our databases. Also there would be some thread programming to accomplish with a worker-manager design. I am thinking of writing this in Ruby is there any good language to do this, if so... | 0 |
3,137,594 | 06/29/2010 03:08:11 | 93,311 | 04/20/2009 17:14:16 | 255 | 17 | How to create PI sequentially in Ruby.. | Out of pure interested, I'm curious how to create PI sequentially so that instead of the number being produced after the outcome of the process, allow the numbers to display as the process itself is being generated. If this is the case, then the number could produce itself, and I could implement garbage collection on p... | ruby | algorithm | math | mathematical-optimization | null | null | open | How to create PI sequentially in Ruby..
===
Out of pure interested, I'm curious how to create PI sequentially so that instead of the number being produced after the outcome of the process, allow the numbers to display as the process itself is being generated. If this is the case, then the number could produce itself, ... | 0 |
11,021,684 | 06/13/2012 19:08:05 | 1,079,466 | 12/03/2011 22:00:05 | 35 | 0 | Issue linking gcc-4.7 Mac OSX 10.6 | So I downloaded gcc using homebrew so that I could update gcc and g++ to 4.7.
So then I:
$ mkdir ~/bin
created ~/.bashrc with contents:
'export PATH=$HOME/bin:$PATH'
created ~/.bash_profile with contents:
'. $HOME/.bashrc'
and then:
$ ln -s /usr/local/bin/g++-4.7 ~/bin/g++
so now I run g++ -v and it'... | osx | gcc | g++ | null | null | null | open | Issue linking gcc-4.7 Mac OSX 10.6
===
So I downloaded gcc using homebrew so that I could update gcc and g++ to 4.7.
So then I:
$ mkdir ~/bin
created ~/.bashrc with contents:
'export PATH=$HOME/bin:$PATH'
created ~/.bash_profile with contents:
'. $HOME/.bashrc'
and then:
$ ln -s /usr/local/bin/g++-4.7 ... | 0 |
8,145,219 | 11/16/2011 00:42:36 | 773,263 | 05/27/2011 14:27:52 | 300 | 5 | Forward .html/.htm to .php with .config | I'm moving a site from my linux hosted server to a client's windows hosted server.
The .htaccess file no longer works and I'm told that windows servers use .config .
How can I forward all users accessing .html & .htm files to the equivalent .php file. | .htaccess | forwarding | windows-hosting | null | null | 11/22/2011 07:51:40 | off topic | Forward .html/.htm to .php with .config
===
I'm moving a site from my linux hosted server to a client's windows hosted server.
The .htaccess file no longer works and I'm told that windows servers use .config .
How can I forward all users accessing .html & .htm files to the equivalent .php file. | 2 |
10,006,621 | 04/04/2012 07:22:52 | 941,919 | 09/13/2011 06:27:07 | 14 | 0 | SQL Server Management Studio Express it does not open | When I click `SQL Server Management Studio Express` it does not open
it just blink and out,.,.
Please give the solution for opening that | sql-server-2005 | visual-studio-2008 | null | null | null | 04/05/2012 09:15:10 | off topic | SQL Server Management Studio Express it does not open
===
When I click `SQL Server Management Studio Express` it does not open
it just blink and out,.,.
Please give the solution for opening that | 2 |
11,658,277 | 07/25/2012 20:42:16 | 1,552,814 | 07/25/2012 20:35:50 | 1 | 0 | CPU usage while sending udp packets in C#.net | I'm trying to send udp packets using C# Socket class. Each packet has 1024 bytes and I send packets each 5 miliseconds. It cause my system cpu usage to go more than 50% which I beleive is not natural. does anyone have any idea about my problem? | .net | null | null | null | null | 07/31/2012 08:34:41 | not a real question | CPU usage while sending udp packets in C#.net
===
I'm trying to send udp packets using C# Socket class. Each packet has 1024 bytes and I send packets each 5 miliseconds. It cause my system cpu usage to go more than 50% which I beleive is not natural. does anyone have any idea about my problem? | 1 |
4,114,205 | 11/06/2010 17:23:02 | 389,119 | 07/12/2010 01:11:12 | 8 | 1 | Free web hosting for Wt | is there a free web hosting on which I can use/install Wt ?
Thanks. | c++ | web-hosting | wt | null | null | 06/27/2012 03:22:00 | not constructive | Free web hosting for Wt
===
is there a free web hosting on which I can use/install Wt ?
Thanks. | 4 |
4,459,244 | 12/16/2010 09:36:41 | 533,677 | 12/07/2010 13:03:45 | 1 | 0 | how to send voicemail in android | how to send voicemail in android | android | null | null | null | null | 12/16/2010 23:01:01 | not a real question | how to send voicemail in android
===
how to send voicemail in android | 1 |
5,114,126 | 02/25/2011 05:57:20 | 340,007 | 05/13/2010 06:47:07 | 3 | 1 | linkShare integration in iPhone | I want to integrate linkShare affiliated link into the my iPhone application.
I have already created the links for the applications which I want to sell from within my application using my linkShare account.
But the only problem is how would I get the logo, name and description of those applications. Is there an... | iphone | null | null | null | null | null | open | linkShare integration in iPhone
===
I want to integrate linkShare affiliated link into the my iPhone application.
I have already created the links for the applications which I want to sell from within my application using my linkShare account.
But the only problem is how would I get the logo, name and descripti... | 0 |
8,367,045 | 12/03/2011 10:28:51 | 961,904 | 09/23/2011 20:12:06 | 1 | 0 | gps tracking in background android | i have service for listening the gps locations and want to display the updated location in toast, i run the service in other activity by clicking a button. service is created successfully but not showing the toast of updated location.here is code
public class locationlistening_service extends Ser... | android | android-service | null | null | null | null | open | gps tracking in background android
===
i have service for listening the gps locations and want to display the updated location in toast, i run the service in other activity by clicking a button. service is created successfully but not showing the toast of updated location.here is code
public cla... | 0 |
2,128,195 | 01/24/2010 18:30:15 | 130,127 | 06/28/2009 19:06:48 | 29 | 0 | Access contents of PyBuffer from C | I have created a buffer object in python like so:
f = io.open('some_file', 'rb')
byte_stream = buffer(f.read(4096))
I'm now passing `byte_stream` as a parameter to a C function, through SWIG. I have a typemap for converting the data which looks like this:
%typemap(in) unsigned char * byte_stream {... | python | python-c-api | pybuffer | swig | null | null | open | Access contents of PyBuffer from C
===
I have created a buffer object in python like so:
f = io.open('some_file', 'rb')
byte_stream = buffer(f.read(4096))
I'm now passing `byte_stream` as a parameter to a C function, through SWIG. I have a typemap for converting the data which looks like this:
%t... | 0 |
9,654,686 | 03/11/2012 11:54:49 | 1,262,205 | 03/11/2012 11:50:43 | 1 | 0 | How to move a Video to the top of a page in html | Hi i was wondering if anyone knows how to move a video to the top and centre of a Page in html ?
Thanks
James:) | html | video | youtube | embed | null | 03/11/2012 23:27:36 | not a real question | How to move a Video to the top of a page in html
===
Hi i was wondering if anyone knows how to move a video to the top and centre of a Page in html ?
Thanks
James:) | 1 |
9,394,518 | 02/22/2012 12:14:53 | 1,082,619 | 12/06/2011 01:02:16 | 15 | 0 | Jquery ajax get request | I am new to jquery and php, I have two input fields, zip and city, the city shall output a value based from the zip that the user input. The jquery script shall call a URL: http://domain.com/city?zip.php="zip; so that zip.php will return an echo value that will output to the city input field.
I tried using ajax getX... | php | jquery | ajax | null | null | null | open | Jquery ajax get request
===
I am new to jquery and php, I have two input fields, zip and city, the city shall output a value based from the zip that the user input. The jquery script shall call a URL: http://domain.com/city?zip.php="zip; so that zip.php will return an echo value that will output to the city input fiel... | 0 |
7,758,224 | 10/13/2011 17:47:26 | 994,023 | 10/13/2011 17:39:17 | 1 | 0 | Connecting Maya 2011 with Mysqldb | I am using Maya 2011(64bit) and MySQL 5.5 (64 bit) in Windows 7 (64 bit) machine. I tried to connect maya with Mysqldb through python. So i copied the connector files into maya\python\lib\site packages. I was able to import MYsqldb module without any error. But when i tried call the cursor object(for querying), I foun... | python | mysql | maya | null | null | null | open | Connecting Maya 2011 with Mysqldb
===
I am using Maya 2011(64bit) and MySQL 5.5 (64 bit) in Windows 7 (64 bit) machine. I tried to connect maya with Mysqldb through python. So i copied the connector files into maya\python\lib\site packages. I was able to import MYsqldb module without any error. But when i tried call ... | 0 |
1,792,463 | 11/24/2009 19:44:38 | 218,068 | 11/24/2009 19:44:38 | 1 | 0 | posting data to zend framework action from external website | I am trying to post data from a website (non-zend) to my zend based website.
i use the php post method to post from the non-zend website which is
e.g.
$data=Array('testkey'=>'testvalue');
$query = http_build_query($data);
$host="localhost/index.php/default/proc/procnew";
$rr=post($... | zend-framework | post | action | null | null | 08/22/2011 03:36:36 | too localized | posting data to zend framework action from external website
===
I am trying to post data from a website (non-zend) to my zend based website.
i use the php post method to post from the non-zend website which is
e.g.
$data=Array('testkey'=>'testvalue');
$query = http_build_query($data);
... | 3 |
5,976,117 | 05/12/2011 09:42:21 | 713,179 | 04/05/2011 10:09:17 | 147 | 1 | NSDictionary and CTypedPtrMap-Objective C | Is it possible to get the same behaviour of `CTypedPtrMap<CMapWordToPtr,WORD,stTimer*> m_cAppMap;` in Objective C's NSDictionary.
NSDictionary holds key and value object. | objective-c | null | null | null | null | null | open | NSDictionary and CTypedPtrMap-Objective C
===
Is it possible to get the same behaviour of `CTypedPtrMap<CMapWordToPtr,WORD,stTimer*> m_cAppMap;` in Objective C's NSDictionary.
NSDictionary holds key and value object. | 0 |
11,377,734 | 07/07/2012 18:48:18 | 1,492,999 | 06/30/2012 12:41:44 | 38 | 2 | Best ORM with fluent API and automapping for .Net | I'm currently trying out FluentNHibernate and am very impressed by its fluent interface and automapping capabilities.
Does anybody know, if other ORM frameworks for .Net provide similar functionality? If yes, how good are they compared to FluentNHibernate? | .net | orm | fluent-nhibernate | null | null | 07/08/2012 17:53:09 | not constructive | Best ORM with fluent API and automapping for .Net
===
I'm currently trying out FluentNHibernate and am very impressed by its fluent interface and automapping capabilities.
Does anybody know, if other ORM frameworks for .Net provide similar functionality? If yes, how good are they compared to FluentNHibernate? | 4 |
3,938,921 | 10/15/2010 01:52:07 | 473,908 | 10/12/2010 22:52:52 | 10 | 0 | Prefered OS for server - Windows 2008 x64 or Linux CentOs, Fedora, Ubuntu | I want to know which want do you prefer for a Dedicated server... Yeah in 2 months I'll get a dedicated server but I don't know which OS to choose.
I use exec command from PHP to run .exe files... (like image converter, video converter) but I'm sure I can find that for Linux too... I don't know Linux very well, but ... | operating-system | hosting | null | null | null | 10/15/2010 03:44:53 | off topic | Prefered OS for server - Windows 2008 x64 or Linux CentOs, Fedora, Ubuntu
===
I want to know which want do you prefer for a Dedicated server... Yeah in 2 months I'll get a dedicated server but I don't know which OS to choose.
I use exec command from PHP to run .exe files... (like image converter, video converter) b... | 2 |
83,185 | 09/17/2008 13:29:23 | 1,219 | 08/13/2008 13:44:47 | 2,980 | 173 | Should you administer IQ tests to programmers during the interview process? | How many companies are using IQ tests to rate prospective programmers?
How would you weight an IQ test vs. education, experience, etc.?
Are there any legal issues that come into play with this kind of thing?
Is there an industry standard test? | interview-questions | interviews | language-agnostic | null | null | 03/08/2011 00:26:29 | not constructive | Should you administer IQ tests to programmers during the interview process?
===
How many companies are using IQ tests to rate prospective programmers?
How would you weight an IQ test vs. education, experience, etc.?
Are there any legal issues that come into play with this kind of thing?
Is there an industry... | 4 |
10,706,591 | 05/22/2012 16:59:12 | 1,160,997 | 01/20/2012 16:22:33 | 105 | 4 | What's a good way to share data between threads? | I asked [a question][1] earlier about `volatile` variables that opened up an enormous learning experience for me. Among other things, I realized I wasn't asking the right question. Hope this isn't bad stackoverflow etiquette, but I think I should create a new question here that addresses my underlying issue: I have two... | c++ | multithreading | null | null | null | 05/24/2012 20:55:27 | not constructive | What's a good way to share data between threads?
===
I asked [a question][1] earlier about `volatile` variables that opened up an enormous learning experience for me. Among other things, I realized I wasn't asking the right question. Hope this isn't bad stackoverflow etiquette, but I think I should create a new questi... | 4 |
6,358,218 | 06/15/2011 13:14:53 | 799,639 | 06/15/2011 13:14:15 | 1 | 0 | Change "class" to "struct" | Sorry for my english. So I need change the struct "class" to "struct normal" to make easy to read the source code. It's possible, change "class" in begin of code to "struct" in source code: http://www.syntax-example.com/Code/create-queue-dynamic-memory-allocation-973.aspx
thanks. | c++ | c | null | null | null | 06/15/2011 13:20:55 | not a real question | Change "class" to "struct"
===
Sorry for my english. So I need change the struct "class" to "struct normal" to make easy to read the source code. It's possible, change "class" in begin of code to "struct" in source code: http://www.syntax-example.com/Code/create-queue-dynamic-memory-allocation-973.aspx
thanks. | 1 |
8,975,508 | 01/23/2012 17:01:51 | 1,148,163 | 01/13/2012 17:09:10 | 31 | 0 | PCI Compliance guidance | I am in the middle of setting up an ecommerce solution on a commercial website.
My system will store card number in the form of : xxxx-xxxx-xxxx-4000 (just the last 4 digits) and XXX (nothing) for the CVV code.
The full details are sent to an external gateway (raven).
I would just like to know what level of PCI ... | php | e-commerce | credit-card | pci-dss | pci-compliance | 01/23/2012 20:43:06 | off topic | PCI Compliance guidance
===
I am in the middle of setting up an ecommerce solution on a commercial website.
My system will store card number in the form of : xxxx-xxxx-xxxx-4000 (just the last 4 digits) and XXX (nothing) for the CVV code.
The full details are sent to an external gateway (raven).
I would just li... | 2 |
1,661,936 | 11/02/2009 15:25:56 | 201,026 | 11/02/2009 15:25:56 | 1 | 0 | How to get the attribute value with XQuery in MS SQL Server 2008 | I have an XML like this:
<EXP>
<TITLES>
<SUBTITLE CL="AXT4" FL="1" NB="Text 1"/>
</TITLES>
<TITLES>
<SUBTITLE CL="BVT6" FL="2" NB="Text 2"/>
</TITLES>
<TITLES>
<SUBTITLE CL="PLO7" FL="3" NB="Text 3"/>
</TITLES>
</EXP>
Using XQuery in SQ... | xquery | sql-server | null | null | null | null | open | How to get the attribute value with XQuery in MS SQL Server 2008
===
I have an XML like this:
<EXP>
<TITLES>
<SUBTITLE CL="AXT4" FL="1" NB="Text 1"/>
</TITLES>
<TITLES>
<SUBTITLE CL="BVT6" FL="2" NB="Text 2"/>
</TITLES>
<TITLES>
<SUBTITLE CL="PLO7" F... | 0 |
2,968,913 | 06/03/2010 19:00:55 | 224,922 | 12/04/2009 16:51:10 | 1,328 | 2 | which language to choose for a LIVE web application? | i want to create not only a web application, but a web application where everything is LIVE.
eg. if someone posts a message and then another one replies, then the creator will get on his webpage a notification.
and also i want to implement a chat in the web application.
i want these features to be implemented ... | php | python | ruby | null | null | 06/06/2010 07:48:34 | not a real question | which language to choose for a LIVE web application?
===
i want to create not only a web application, but a web application where everything is LIVE.
eg. if someone posts a message and then another one replies, then the creator will get on his webpage a notification.
and also i want to implement a chat in the we... | 1 |
10,846,808 | 06/01/2012 08:22:02 | 155,196 | 08/12/2009 16:08:13 | 2,472 | 49 | Google Analytics Structure | I am trying to build a custom Analytics App. I am just wondering a few things.
Google Analytics contains Accounts which in turn contains Web Properties which in return gives you the Profile Id.
Just wanted to know can Accounts have mutiple Web Properties and Web properties have multiple Profile ids ?
how are t... | google | google-analytics | google-api | google-analytics-api | null | 06/04/2012 08:58:48 | off topic | Google Analytics Structure
===
I am trying to build a custom Analytics App. I am just wondering a few things.
Google Analytics contains Accounts which in turn contains Web Properties which in return gives you the Profile Id.
Just wanted to know can Accounts have mutiple Web Properties and Web properties have mul... | 2 |
4,327,026 | 12/01/2010 17:15:57 | 57,159 | 01/20/2009 16:21:54 | 7,418 | 400 | How do I get “select for xml” to output to several files? | Our customer is complaining that our export file is too long; they would like us to split the export into many files with no more than “n” records per file. Is there a way of doing this with “select for xml”
(If this is too hard, I can always post process the single large file to split it up)
| sql-server | xml | tsql | forxml | null | null | open | How do I get “select for xml” to output to several files?
===
Our customer is complaining that our export file is too long; they would like us to split the export into many files with no more than “n” records per file. Is there a way of doing this with “select for xml”
(If this is too hard, I can always post proce... | 0 |
4,391,495 | 12/08/2010 19:35:21 | 26,188 | 10/08/2008 15:35:46 | 5,613 | 293 | Mobile developer interview questions, that a non-mobile developer can ask | I need to interview some people for a mobile developer position (iphone) soon. The problem is that my strength is in Java web development.
What questions should i ask without sounding like an idiot?
Also, what are valid answers to these questions? | iphone | objective-c | interview-questions | mobile-phones | null | 12/03/2011 06:17:07 | not constructive | Mobile developer interview questions, that a non-mobile developer can ask
===
I need to interview some people for a mobile developer position (iphone) soon. The problem is that my strength is in Java web development.
What questions should i ask without sounding like an idiot?
Also, what are valid answers to thes... | 4 |
4,576,730 | 01/02/2011 01:58:07 | 112,194 | 05/25/2009 17:14:05 | 3,796 | 288 | Usability battles: designers vs. developers | We develop for web.
For some reason our design team hates [the look of] indented unordered and ordered lists. This is the default treatment for these lists, and I think it's for good reason. These types of lists are generally important, and indenting them draws attention to them, and makes them easier to read.
Ev... | usability | null | null | null | null | 01/02/2011 05:40:02 | not constructive | Usability battles: designers vs. developers
===
We develop for web.
For some reason our design team hates [the look of] indented unordered and ordered lists. This is the default treatment for these lists, and I think it's for good reason. These types of lists are generally important, and indenting them draws attent... | 4 |
322,612 | 11/27/2008 00:27:29 | 17,744 | 09/18/2008 14:22:40 | 1,428 | 62 | What are the most common mistakes made in WPF development? | This question intends to provide a list of solutions to common pitfalls or "gotcha's" when developing WPF applications. Responses should be voted up or down based on how common the type of issue is. Here are the rules:
- One response per post. This will clearly give the most common issues the highest ranking.
-... | wpf | pitfalls | null | null | null | 04/06/2012 17:51:36 | not constructive | What are the most common mistakes made in WPF development?
===
This question intends to provide a list of solutions to common pitfalls or "gotcha's" when developing WPF applications. Responses should be voted up or down based on how common the type of issue is. Here are the rules:
- One response per post. This wi... | 4 |
8,404,281 | 12/06/2011 17:41:19 | 1,068,000 | 11/27/2011 15:20:09 | 1 | 0 | page/title.html or page/title for craw rate or seo | Which one do you this is better regarding crawling rate, pageran, seo etc.?
www.url.com/page/title.html
or
www.url.com/page/title
Thanks | seo | pagerank | null | null | null | 12/07/2011 04:35:38 | off topic | page/title.html or page/title for craw rate or seo
===
Which one do you this is better regarding crawling rate, pageran, seo etc.?
www.url.com/page/title.html
or
www.url.com/page/title
Thanks | 2 |
10,269,514 | 04/22/2012 15:59:48 | 1,255,956 | 03/07/2012 23:54:40 | 28 | 2 | Solrj Query Dynamic Field | In Solrj (Solr 3.6), am I able to filter my search for a dynamic field:
params.set("fl", "name*_s");
Or do I [still][1] need to copy this field to a new field (non-dynamic) in order to search it?
Thank you in advance.
[1]: http://lucene.472066.n3.nabble.com/fl-parameter-and-dynamic-fields-td489832.h... | solr | lucene | solrj | null | null | null | open | Solrj Query Dynamic Field
===
In Solrj (Solr 3.6), am I able to filter my search for a dynamic field:
params.set("fl", "name*_s");
Or do I [still][1] need to copy this field to a new field (non-dynamic) in order to search it?
Thank you in advance.
[1]: http://lucene.472066.n3.nabble.com/fl-paramete... | 0 |
492,384 | 01/29/2009 16:33:34 | 33,324 | 11/01/2008 20:19:00 | 28 | 0 | How to find the sizeof( a pointer pointing to an array ) | First off, here is some code:
int main()
{
int days[] = {1,2,3,4,5};
int *ptr = days;
printf("%u\n", sizeof(days));
printf("%u\n", sizeof(ptr));
return 0;
}
Is there a any way to find out the size of the array that ptr is pointing to? Instead o... | c | sizeof | pointers | arrays | null | null | open | How to find the sizeof( a pointer pointing to an array )
===
First off, here is some code:
int main()
{
int days[] = {1,2,3,4,5};
int *ptr = days;
printf("%u\n", sizeof(days));
printf("%u\n", sizeof(ptr));
return 0;
}
Is there a any way to fin... | 0 |
5,235,271 | 03/08/2011 16:25:52 | 1,231,786 | 11/24/2010 00:57:10 | 190 | 7 | Objective-C: incompatible pointer type error | I am struggling with Objective-C... can't seem to get the differences between it and C#... anyway, I have the following code, which is giving me a build error (see http://imgur.com/zCbKu)
What is this trying to tell me? | objective-c | sqlite | null | null | null | null | open | Objective-C: incompatible pointer type error
===
I am struggling with Objective-C... can't seem to get the differences between it and C#... anyway, I have the following code, which is giving me a build error (see http://imgur.com/zCbKu)
What is this trying to tell me? | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.