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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7,320,477 | 09/06/2011 13:13:06 | 930,732 | 09/06/2011 13:13:06 | 1 | 0 | Can not open more Excel Workbook or application | opening 300 processes cause the application crash, but system have enough resources, i don't know why????
this is my code:
int intNumberofProcesses;
cout << "Enter Number Of Processes:" << endl;
cin >> intNumberofProcesses;
STARTUPINFOA startUpInfo = {sizeof(startUpInfo)};
PROCESS_INFORMATION process... | c# | c++ | null | null | null | 09/07/2011 02:17:40 | not a real question | Can not open more Excel Workbook or application
===
opening 300 processes cause the application crash, but system have enough resources, i don't know why????
this is my code:
int intNumberofProcesses;
cout << "Enter Number Of Processes:" << endl;
cin >> intNumberofProcesses;
STARTUPINFOA startUpInfo =... | 1 |
2,192,899 | 02/03/2010 15:07:34 | 146,297 | 07/28/2009 09:56:13 | 7 | 0 | restful authentication and LDAP | I'm new on ruby, i use the restful authentication plugin and that works perfectly, Now, i have an authentication based on LDAP, and i want to combine ldap and restful authentication.
Ldap also
Any examples ?
Thank you for help. | ruby | authentication | restful-authentication | ldap | null | null | open | restful authentication and LDAP
===
I'm new on ruby, i use the restful authentication plugin and that works perfectly, Now, i have an authentication based on LDAP, and i want to combine ldap and restful authentication.
Ldap also
Any examples ?
Thank you for help. | 0 |
4,954,785 | 02/10/2011 08:20:57 | 611,028 | 02/10/2011 08:20:57 | 1 | 0 | How get the textarea value without using 'id' and 'name' in php or javascript ?? | How get the textarea value without using 'id' and 'name' in php or javascript ?? | php | null | null | null | null | 02/11/2011 00:22:48 | not a real question | How get the textarea value without using 'id' and 'name' in php or javascript ??
===
How get the textarea value without using 'id' and 'name' in php or javascript ?? | 1 |
9,952,026 | 03/31/2012 00:46:36 | 336,085 | 05/08/2010 09:00:54 | 132 | 1 | Java GUI compiles with no errors, but sometimes shows nothing | I'm using a custom class that extends JFrame, but sometimes it shows nothing. I never get any faults, so I'm curious if the is a java command that can help me print something. I looked around for other questions, but found nothing similar. Not really doing anything too crazy, but curious as to why this happens. I would... | java | swing | gui | null | null | null | open | Java GUI compiles with no errors, but sometimes shows nothing
===
I'm using a custom class that extends JFrame, but sometimes it shows nothing. I never get any faults, so I'm curious if the is a java command that can help me print something. I looked around for other questions, but found nothing similar. Not really do... | 0 |
4,883,337 | 02/03/2011 07:12:31 | 600,513 | 02/02/2011 19:12:42 | 1 | 1 | iphone mkmapview | This is karthik. I am developing an app using mapview in iphone. I have to use two different pins to show user locations. That two users are different type . One user is belong to some category and another one is some other category. I have to check that category and want to plot pin depend upon that category. When I t... | iphone | mkmapview | null | null | null | null | open | iphone mkmapview
===
This is karthik. I am developing an app using mapview in iphone. I have to use two different pins to show user locations. That two users are different type . One user is belong to some category and another one is some other category. I have to check that category and want to plot pin depend upon t... | 0 |
2,981,755 | 06/05/2010 19:28:41 | 254,592 | 01/20/2010 04:28:49 | 51 | 4 | Red5 Unable to Start Distribution. | I have installed subclipse, Ant, IvyDE, Red5 Plugin for eclipse, All of the Environmental variables are set and the necessary elements have been added to the path.
I am attempting to create a Red5 Distribution by using eclipse, opening Build.xml right clicking dist [default] in the outline window and running as and... | java | eclipse | red5 | null | null | null | open | Red5 Unable to Start Distribution.
===
I have installed subclipse, Ant, IvyDE, Red5 Plugin for eclipse, All of the Environmental variables are set and the necessary elements have been added to the path.
I am attempting to create a Red5 Distribution by using eclipse, opening Build.xml right clicking dist [default] ... | 0 |
4,301,138 | 11/29/2010 05:43:46 | 226,811 | 12/08/2009 01:57:35 | 47 | 4 | submit form with checkbox without refreshing page | I want to submit form by checkbox checked without redirecting/reloading/refreshing to another page but still on the same page.
**and my targets:**
after checkbox checked submit form with silent and then hiding
`<div id="question1"><!--the form here--></div>`
and show sections of
`<div id="question2" st... | php | javascript | ajax | forms | null | null | open | submit form with checkbox without refreshing page
===
I want to submit form by checkbox checked without redirecting/reloading/refreshing to another page but still on the same page.
**and my targets:**
after checkbox checked submit form with silent and then hiding
`<div id="question1"><!--the form here--></di... | 0 |
8,556,846 | 12/19/2011 03:36:06 | 1,048,993 | 11/16/2011 05:30:47 | 1 | 0 | nested for loop for spliting string based on multiple delimiters | i'm working on a python assignment which requires that a text be delimited sorted and printed as:
sentence are delimited by (.)
paragraphs by (,)
then print out as
what i've done so far:
`
text = "what time of the day is it. i'm heading out to the ball park, with the kids, on this nice evening. are y... | python | string | list | for-loop | nested | null | open | nested for loop for spliting string based on multiple delimiters
===
i'm working on a python assignment which requires that a text be delimited sorted and printed as:
sentence are delimited by (.)
paragraphs by (,)
then print out as
what i've done so far:
`
text = "what time of the day is it. i'm he... | 0 |
7,862,448 | 10/22/2011 20:42:15 | 504,200 | 11/11/2010 07:44:38 | 179 | 2 | What is the documentation software (phpdocs?) that automatically creates the doc files for Amazon? | I really like the auto-generated documentation website for Amazon's PHP SDK. See here: http://docs.amazonwebservices.com/AWSSDKforPHP/latest/
Do they use an open-source tool that I could use to create documentation for my own code? Something like phpdocs?
| php | amazon-web-services | amazon | null | null | null | open | What is the documentation software (phpdocs?) that automatically creates the doc files for Amazon?
===
I really like the auto-generated documentation website for Amazon's PHP SDK. See here: http://docs.amazonwebservices.com/AWSSDKforPHP/latest/
Do they use an open-source tool that I could use to create documentat... | 0 |
9,568,814 | 03/05/2012 15:02:22 | 822,307 | 06/30/2011 03:59:09 | 1 | 0 | c# load C file and then convert it to Assembly | (C#) I would like to load a C file using windows form then convert it into assembly language and shows it on a rich text box. Is it possible to do on C#? Thanks in advance! | c# | c | assembly | null | null | 07/06/2012 22:23:51 | not a real question | c# load C file and then convert it to Assembly
===
(C#) I would like to load a C file using windows form then convert it into assembly language and shows it on a rich text box. Is it possible to do on C#? Thanks in advance! | 1 |
7,340,722 | 09/07/2011 21:27:48 | 767,829 | 05/24/2011 13:43:34 | 358 | 6 | ? 1>c:\program files\microsoft sdks\windows\v6.0a\include\winbase.h(238) : error C2146: syntax error : missing ';' before identifier 'Internal' | I get the following error with a Windows file when compliling: winbase.h
Not sure why I get a syntax error and the compiler shows many more...
1>c:\program files\microsoft sdks\windows\v6.0a\include\winbase.h(238) : error C2146: syntax error : missing ';' before identifier 'Internal' | c++ | visual-studio-2008 | null | null | null | 09/08/2011 05:38:01 | not a real question | ? 1>c:\program files\microsoft sdks\windows\v6.0a\include\winbase.h(238) : error C2146: syntax error : missing ';' before identifier 'Internal'
===
I get the following error with a Windows file when compliling: winbase.h
Not sure why I get a syntax error and the compiler shows many more...
1>c:\program files\micr... | 1 |
9,197,357 | 02/08/2012 16:26:09 | 1,007,659 | 10/21/2011 18:22:53 | 23 | 2 | Suggestions on creating document library for infopath with departmental hierarchy? | I have one main site with many subsites. Each subsite is basically a department within the organization. I have a time card infopath form (with workflow) that everyone in the organization needs to fill out. However, I want keep the form so that each department can only see within their own unit. I know I can create... | sharepoint | sharepoint2010 | null | null | null | null | open | Suggestions on creating document library for infopath with departmental hierarchy?
===
I have one main site with many subsites. Each subsite is basically a department within the organization. I have a time card infopath form (with workflow) that everyone in the organization needs to fill out. However, I want keep t... | 0 |
11,303,747 | 07/03/2012 02:34:25 | 1,397,560 | 05/16/2012 02:33:34 | 1 | 1 | How to unlock a SPFile.SPCheckedOutStatus.ShortTerm lock on a ListItem on both Sharepoint 2007 and 2010 | How can a site administrator remove a short term lock on a SPListItem.SPFile object? This happens when a user opens a Office document for editing from a list without doing a checkout. If the user does not close the document an administrator cannot remove the shortterm lock.
At the moment, i want unlock that SPFile.... | sharepoint | sharepoint2010 | sharepoint2007 | null | null | 07/03/2012 13:45:51 | off topic | How to unlock a SPFile.SPCheckedOutStatus.ShortTerm lock on a ListItem on both Sharepoint 2007 and 2010
===
How can a site administrator remove a short term lock on a SPListItem.SPFile object? This happens when a user opens a Office document for editing from a list without doing a checkout. If the user does not close ... | 2 |
8,894,794 | 01/17/2012 12:42:36 | 1,153,899 | 01/17/2012 12:37:23 | 1 | 0 | website comparision | Every month we update our testing portal with the new data , we will do basic gui and functional testing as we have updated the new data.than we move the code to the production .Is there any tool to compare both the portals(look and feel of the portals are same or not) | comparison | portal | null | null | null | 01/23/2012 19:39:26 | not constructive | website comparision
===
Every month we update our testing portal with the new data , we will do basic gui and functional testing as we have updated the new data.than we move the code to the production .Is there any tool to compare both the portals(look and feel of the portals are same or not) | 4 |
3,821,064 | 09/29/2010 11:15:25 | 461,652 | 09/29/2010 11:15:25 | 1 | 0 | Call a base class constructor later (not in the initializer list) in C++ | I'm inheriting a class and I would like to call one of its constructors. However, I have to process some stuff (that doesn't require anything of the base class) before calling it. Is there any way I can just call it later instead of calling it on the initializer list? I believe this can be done in Java and C# but I'm n... | c++ | constructor | delayed-execution | null | null | null | open | Call a base class constructor later (not in the initializer list) in C++
===
I'm inheriting a class and I would like to call one of its constructors. However, I have to process some stuff (that doesn't require anything of the base class) before calling it. Is there any way I can just call it later instead of calling i... | 0 |
6,427,816 | 06/21/2011 15:24:14 | 302,707 | 03/26/2010 16:39:27 | 175 | 8 | Android: Capture data sent from my Application ? | is there a way to Capture the data that sent from my Application over the internt? | android | networking | null | null | null | null | open | Android: Capture data sent from my Application ?
===
is there a way to Capture the data that sent from my Application over the internt? | 0 |
9,317,668 | 02/16/2012 19:20:47 | 23,708 | 09/30/2008 08:12:29 | 45 | 2 | SignalR Persistent connection giving 404 on echo/negotiate | I'm having trouble with the most basic example https://github.com/SignalR/SignalR/wiki/QuickStart-Persistent-Connections. I get "404 on echo/negotiate" | signalr | null | null | null | null | null | open | SignalR Persistent connection giving 404 on echo/negotiate
===
I'm having trouble with the most basic example https://github.com/SignalR/SignalR/wiki/QuickStart-Persistent-Connections. I get "404 on echo/negotiate" | 0 |
11,082,214 | 06/18/2012 11:51:20 | 1,167,303 | 01/24/2012 15:08:02 | 3 | 0 | Hiding string inside EditText | Anyone knows how can hide a substring inside EditText?
It's possible?
Thanks | android | edittext | hide | null | null | 06/19/2012 12:11:59 | not a real question | Hiding string inside EditText
===
Anyone knows how can hide a substring inside EditText?
It's possible?
Thanks | 1 |
3,846,931 | 10/02/2010 18:07:03 | 260,594 | 01/28/2010 02:29:49 | 1,234 | 6 | replacing multiples spaces with single space | Why is this not working ?
$data = "What is the STATUS of your mind right now?";
$data =~ tr/ +/ /;
print $data;
Thanks in advance :) | perl | null | null | null | null | null | open | replacing multiples spaces with single space
===
Why is this not working ?
$data = "What is the STATUS of your mind right now?";
$data =~ tr/ +/ /;
print $data;
Thanks in advance :) | 0 |
9,507,016 | 02/29/2012 21:36:33 | 1,209,902 | 02/14/2012 19:59:27 | 1 | 0 | How do I dynamically generate objects in IOS? | I want to generate buttons dynamically. The code below generates 2 buttons. But how can I write a loop to generate lots (100 or 1000) buttons.
- (void)viewDidLoad
{
//allocate the view
self.view = [[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]];
//set the view's background c... | ios4 | null | null | null | null | 04/21/2012 14:29:38 | too localized | How do I dynamically generate objects in IOS?
===
I want to generate buttons dynamically. The code below generates 2 buttons. But how can I write a loop to generate lots (100 or 1000) buttons.
- (void)viewDidLoad
{
//allocate the view
self.view = [[UIView alloc] initWithFrame:[[UIScreen mainScreen] app... | 3 |
10,396,205 | 05/01/2012 10:05:48 | 1,254,018 | 03/07/2012 07:00:17 | 30 | 4 | a4j:ajax is not taking value of variable defined in rich:autocomplete by "var" attribute | i am working with richfaces 4.2.1.Final, i want to pass id of selected item in rich:autocomplete. have tried lot of options didn't work.
<rich:autocomplete autocompleteMethod="#{userBean.userAutoComplete}" autofill="true" minChars="1" mode="ajax" var="autoItems" fetchValue="#{autoItems.name}">
<rich:co... | ajax | jsf-2.0 | richfaces | ajax4jsf | null | null | open | a4j:ajax is not taking value of variable defined in rich:autocomplete by "var" attribute
===
i am working with richfaces 4.2.1.Final, i want to pass id of selected item in rich:autocomplete. have tried lot of options didn't work.
<rich:autocomplete autocompleteMethod="#{userBean.userAutoComplete}" autofill="tru... | 0 |
9,064,181 | 01/30/2012 12:53:08 | 155,668 | 08/13/2009 09:19:43 | 378 | 8 | Wrong OpenGL Texture Format Type for CL/GL-Interop? | I'm trying the OpenCL-OpenGL interop for textures on my Geforce 330M with CUDA Toolkit 4.0.
I want to capture a frame, use that data as an input image (`Image2D`) to a OpenCL Kernel. The Kernel should manipulate the data and write it to an `Image2DGL`, which is an image object with an attached OpenGL texture. Basica... | opengl | opencl | libavcodec | null | null | 02/02/2012 15:11:21 | too localized | Wrong OpenGL Texture Format Type for CL/GL-Interop?
===
I'm trying the OpenCL-OpenGL interop for textures on my Geforce 330M with CUDA Toolkit 4.0.
I want to capture a frame, use that data as an input image (`Image2D`) to a OpenCL Kernel. The Kernel should manipulate the data and write it to an `Image2DGL`, which i... | 3 |
10,186,512 | 04/17/2012 06:52:16 | 1,338,018 | 04/17/2012 06:46:27 | 1 | 0 | What are the best ruby on rails learning resources | I want to learn Ruby on rails and I want to have a good battle plan. Do you know any good stap by step tutorials, video-lessons. I think the best ones are the ones that guides you through a real application.
Thanks! | ruby-on-rails | ruby | null | null | null | 04/17/2012 09:49:56 | not constructive | What are the best ruby on rails learning resources
===
I want to learn Ruby on rails and I want to have a good battle plan. Do you know any good stap by step tutorials, video-lessons. I think the best ones are the ones that guides you through a real application.
Thanks! | 4 |
2,818,691 | 05/12/2010 12:23:54 | 322,021 | 03/12/2010 10:23:11 | 24 | 0 | magento - webserver question | I've uploaded the Magento installation file to my hosting and I've been told to go to the URL you uploaded it to using you browser, then the installation wizard will run you through the processes.
I uploaded to /home/domain/public_html/magneto
What URL should I use to access it?
Thanks in advance | html | url | website | null | null | 10/12/2011 03:20:18 | off topic | magento - webserver question
===
I've uploaded the Magento installation file to my hosting and I've been told to go to the URL you uploaded it to using you browser, then the installation wizard will run you through the processes.
I uploaded to /home/domain/public_html/magneto
What URL should I use to access it?
... | 2 |
8,333,124 | 11/30/2011 21:24:12 | 1,072,234 | 11/29/2011 21:37:48 | 1 | 0 | Compare two succesive line in the same file | I have a text file filled with paragraphs, I want to delete lines that begin with the same word as the line that proceed, I mean I have a line that begin with "hello", if the next line begin with "hello" too, then I have to delete it.
Thanks for help, it is really important for my project! | perl | file | word | compare | null | 02/09/2012 14:24:08 | not a real question | Compare two succesive line in the same file
===
I have a text file filled with paragraphs, I want to delete lines that begin with the same word as the line that proceed, I mean I have a line that begin with "hello", if the next line begin with "hello" too, then I have to delete it.
Thanks for help, it is really impor... | 1 |
7,199,672 | 08/26/2011 03:18:21 | 861,742 | 07/25/2011 14:15:14 | 31 | 0 | Can you share your ideas about LipiTK, the handwriting recognition tool? | I am going to try LipiTK, but i have only manual, thus it seems to take much of my time.
So i want to have some idea about it. It would be nice if somebody advise it, before i dig into manual.
Thanks | handwriting | null | null | null | null | 08/26/2011 03:48:46 | not constructive | Can you share your ideas about LipiTK, the handwriting recognition tool?
===
I am going to try LipiTK, but i have only manual, thus it seems to take much of my time.
So i want to have some idea about it. It would be nice if somebody advise it, before i dig into manual.
Thanks | 4 |
445,604 | 01/15/2009 04:06:01 | 22,468 | 09/25/2008 23:31:57 | 716 | 33 | Are there any new solutions for copying text to clipboard via JavaScript / Flash, since Flash 10? | Since Flash 10 was introduced, many of the popular 'copy to clipboard' scripts out there have stopped working due to new security restrictions. There is a Flash-only solution here:
[http://cfruss.blogspot.com/2009/01/copy-to-clipboard-swf-button-cross.html][1]
...though I'm looking for the ability to trigger the... | jquery | flash | copy | copy-paste | javascript | null | open | Are there any new solutions for copying text to clipboard via JavaScript / Flash, since Flash 10?
===
Since Flash 10 was introduced, many of the popular 'copy to clipboard' scripts out there have stopped working due to new security restrictions. There is a Flash-only solution here:
[http://cfruss.blogspot.com/2009... | 0 |
3,504,296 | 08/17/2010 15:44:28 | 25,812 | 10/07/2008 13:18:10 | 1,211 | 82 | how to apply XML signature on outgoing SOAP messages | I have generated stubs and bindings using cxf codegen. Everything runs fine however the server still rejects the message because of security issues. Basically I have 3 layers to take care all of which require certificates (which I have).
1. SSL Encryption on the pipe
2. certificate signature on specific data el... | java | xml | soap | cxf | x509certificate | null | open | how to apply XML signature on outgoing SOAP messages
===
I have generated stubs and bindings using cxf codegen. Everything runs fine however the server still rejects the message because of security issues. Basically I have 3 layers to take care all of which require certificates (which I have).
1. SSL Encryption ... | 0 |
2,750,076 | 05/01/2010 13:23:14 | 330,363 | 05/01/2010 13:23:14 | 1 | 0 | Are table headers only for the top row in html? | I always see the th tag only used in the first row of the table. Is there some specific reason why it can't be used to create 'left' headers along the leftmost column. Is this bad form, or is this ok.
Basically, a table with headings on the top row and the leftmost column, with the very top left square being empty.
... | html | table | header | null | null | null | open | Are table headers only for the top row in html?
===
I always see the th tag only used in the first row of the table. Is there some specific reason why it can't be used to create 'left' headers along the leftmost column. Is this bad form, or is this ok.
Basically, a table with headings on the top row and the leftmos... | 0 |
1,259,452 | 08/11/2009 10:04:30 | 42,968 | 12/03/2008 20:20:27 | 115 | 4 | Capturing webcam stream under linux | I'm trying to get images from a minoru3d webcam, which is actually two Vimicro webcams plus a USB hub in a single package. The problem is, opencv always takes streams in maximum resolution, making simultaneous capture from two webcams impossible(due to usb constraints). How do I set resolution or FPS? For some reason, ... | linux | webcam | v4l | null | null | null | open | Capturing webcam stream under linux
===
I'm trying to get images from a minoru3d webcam, which is actually two Vimicro webcams plus a USB hub in a single package. The problem is, opencv always takes streams in maximum resolution, making simultaneous capture from two webcams impossible(due to usb constraints). How do I... | 0 |
11,504,621 | 07/16/2012 12:47:06 | 1,528,855 | 07/16/2012 12:14:56 | 1 | 0 | Mysql Regular Expression search with no repeating characters | Im having a database table with words from dictionary.
Now I want to select words for anagram for example if i give the string "S E P I A N" it should fetch values like apes, pain, pains, pies, pines, sepia, etc.
For this I used the query
**SELECT * FROM words WHERE word REGEXP '^[SEPIAN]{1,6}$'**
... | php | mysql | regex | null | null | null | open | Mysql Regular Expression search with no repeating characters
===
Im having a database table with words from dictionary.
Now I want to select words for anagram for example if i give the string "S E P I A N" it should fetch values like apes, pain, pains, pies, pines, sepia, etc.
For this I used the query
... | 0 |
10,409,947 | 05/02/2012 08:10:25 | 1,369,449 | 05/02/2012 07:51:33 | 1 | 0 | How can I use Mason 2 with Apache web server virtual hosts | Suppose we want to create a virtual hosted web site with Apache and use Mason 2 for templating.
I read the documentation and they recommend I also use the Poet framework which should integrate with Apache though PSGI/Plack.
Would anyone provide a simple "hello world" tutorial for this? What should I do to apach... | perl | web-frameworks | mod-perl | plack | psgi | 05/03/2012 12:37:51 | not constructive | How can I use Mason 2 with Apache web server virtual hosts
===
Suppose we want to create a virtual hosted web site with Apache and use Mason 2 for templating.
I read the documentation and they recommend I also use the Poet framework which should integrate with Apache though PSGI/Plack.
Would anyone provide a s... | 4 |
6,137,451 | 05/26/2011 11:00:25 | 20,578 | 09/11/2008 10:52:31 | 10,361 | 582 | Using JavaScript, how can you tell if a user is tabbing backwards? | I've got an HTML link, and I want to take some action when the user tabs away from it - but only if the user is tabbing forwards through the document, as opposed to backwards.
Is there a reliable cross-browser way to detect which way the user is tabbing through the document, or indeed if they're tabbing through the ... | javascript | keyboard | accessibility | null | null | null | open | Using JavaScript, how can you tell if a user is tabbing backwards?
===
I've got an HTML link, and I want to take some action when the user tabs away from it - but only if the user is tabbing forwards through the document, as opposed to backwards.
Is there a reliable cross-browser way to detect which way the user is... | 0 |
7,302,807 | 09/04/2011 23:42:49 | 326,821 | 04/27/2010 11:43:16 | 1,181 | 9 | write file in the same path as c# file | Is it possible to write file to the same directory where the c# code that writes this file is ?
I mean something like there is c:\projects\myProject\test.cs
and when there is writeFile operation in test.cs
there is for example new file lest say test1.txt in c:\projects\myProject\test1.txt
Im running asp.n... | .net | asp.net | null | null | null | null | open | write file in the same path as c# file
===
Is it possible to write file to the same directory where the c# code that writes this file is ?
I mean something like there is c:\projects\myProject\test.cs
and when there is writeFile operation in test.cs
there is for example new file lest say test1.txt in c:\proj... | 0 |
7,575,455 | 09/27/2011 20:47:41 | 923,348 | 09/01/2011 11:22:31 | 110 | 1 | PHP replace ereg(i)(_replace) globally | I have 150+ PHP files I need to change (updating ereg to preg_match). I tired to update them manually but it takes for ever and I want to make sure all my replace will work the first time. What can I do to do this kind of operation?
Here's some example of my ereg(i)
if(eregi("^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,... | php | replace | eregi | null | null | null | open | PHP replace ereg(i)(_replace) globally
===
I have 150+ PHP files I need to change (updating ereg to preg_match). I tired to update them manually but it takes for ever and I want to make sure all my replace will work the first time. What can I do to do this kind of operation?
Here's some example of my ereg(i)
... | 0 |
11,236,997 | 06/28/2012 01:32:42 | 1,026,805 | 11/03/2011 00:58:46 | 87 | 9 | Java Breakout game bouncing the ball | I'm trying to make a breakout game in java. The ball bounces when hit to stones and bat but it won't after hitting the walls. See this paste for what I use.
http://pastebin.com/pkGsCBMa
Could anybody spot the error in the code...
Thanks | java | 2d | game-engine | breakout | null | 06/28/2012 12:18:56 | not a real question | Java Breakout game bouncing the ball
===
I'm trying to make a breakout game in java. The ball bounces when hit to stones and bat but it won't after hitting the walls. See this paste for what I use.
http://pastebin.com/pkGsCBMa
Could anybody spot the error in the code...
Thanks | 1 |
1,662,229 | 11/02/2009 16:20:30 | 201,065 | 11/02/2009 16:18:00 | 1 | 0 | C all type parameter | How can i write a function wich accepts a parameter of a genric type in C? (such as an int, a char...)
thanks. | c | null | null | null | null | null | open | C all type parameter
===
How can i write a function wich accepts a parameter of a genric type in C? (such as an int, a char...)
thanks. | 0 |
1,332,731 | 08/26/2009 06:37:47 | 80,002 | 03/19/2009 12:22:39 | 82 | 10 | How to invoke the same msbuild target twice? | I have the following msbuild script:
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
DefaultTargets="All">
<PropertyGroup>
...
</PropertyGroup>
<UsingTask AssemblyFile="$(GallioTaskPath)" TaskNa... | msbuild | targets | target | null | null | null | open | How to invoke the same msbuild target twice?
===
I have the following msbuild script:
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
DefaultTargets="All">
<PropertyGroup>
...
</PropertyGroup>
... | 0 |
6,415,569 | 06/20/2011 18:13:57 | 684,478 | 03/30/2011 18:10:09 | 1 | 0 | Difference in + and ++ in c? | What is the difference between + and ++ in C?
We use ++ to increment value but sometimes we use a[i]+=1 like this..
what is the functionality of this? | c | null | null | null | null | 06/20/2011 18:54:33 | not a real question | Difference in + and ++ in c?
===
What is the difference between + and ++ in C?
We use ++ to increment value but sometimes we use a[i]+=1 like this..
what is the functionality of this? | 1 |
1,526,861 | 10/06/2009 17:05:33 | 165,702 | 08/30/2009 20:22:55 | 58 | 1 | running bat file using windows schedualer | i wanted to run a .bat file in windows task schedualer, so i opened it, added a new task, browsed to the bat file, and... nothing happened. so i changed the timing to see if it'll run, and it didn't. next i right-clicked on the task and chose "run"- it didn't run. the file itself is only one line, basicly backups a fol... | batch | windows | scheduling | null | null | 10/07/2009 07:05:01 | off topic | running bat file using windows schedualer
===
i wanted to run a .bat file in windows task schedualer, so i opened it, added a new task, browsed to the bat file, and... nothing happened. so i changed the timing to see if it'll run, and it didn't. next i right-clicked on the task and chose "run"- it didn't run. the file... | 2 |
8,825,511 | 01/11/2012 19:35:13 | 1,143,992 | 01/11/2012 19:32:25 | 1 | 0 | Copying range from and multiple worbooks VBA | I need to find a VBA code to copy a cell from multiple workbooks in a folder to workbooks of the same name in an other folder?
Thank you | excel | vba | range | multiple | null | 01/12/2012 09:42:02 | not a real question | Copying range from and multiple worbooks VBA
===
I need to find a VBA code to copy a cell from multiple workbooks in a folder to workbooks of the same name in an other folder?
Thank you | 1 |
11,691,907 | 07/27/2012 16:29:12 | 1,557,680 | 07/27/2012 12:39:46 | 1 | 1 | Anybody know the idea to use System.Printing.PrintSystemJobInfo.NumberOfPagesPrinted in c# to count the number of pages printed | Anybody know the idea to use System.Printing.PrintSystemJobInfo.NumberOfPagesPrinted in c# to count the number of pages | c# | null | null | null | null | 07/27/2012 18:32:03 | not a real question | Anybody know the idea to use System.Printing.PrintSystemJobInfo.NumberOfPagesPrinted in c# to count the number of pages printed
===
Anybody know the idea to use System.Printing.PrintSystemJobInfo.NumberOfPagesPrinted in c# to count the number of pages | 1 |
6,024,297 | 05/16/2011 22:50:12 | 534,255 | 12/07/2010 21:32:57 | 1 | 2 | PHP script ending prematurely | I have a php file that does a whole sleuth of user account stuff. It's purely being used to test if the features are working. However the script stops before the first feature is output. I have determined that the code is failing somewhere in this code:
...more above...
Authentication Form<br>
<b... | php | codeigniter | null | null | null | null | open | PHP script ending prematurely
===
I have a php file that does a whole sleuth of user account stuff. It's purely being used to test if the features are working. However the script stops before the first feature is output. I have determined that the code is failing somewhere in this code:
...more above...
... | 0 |
3,269,349 | 07/16/2010 22:45:54 | 380,371 | 06/30/2010 18:01:05 | 35 | 0 | How can I prevent WPF UserControl elements from being visible outside of my desired view range? | I am trying to convert my WPF application into a WPF UserControl. In the original application, I had intentionally modified the margins of certain elements so that their edges were not within the bounds of the window. I did this in order to hide undesirable borders that I could not get rid of without having to write ... | wpf | margin | wpf-usercontrols | null | null | null | open | How can I prevent WPF UserControl elements from being visible outside of my desired view range?
===
I am trying to convert my WPF application into a WPF UserControl. In the original application, I had intentionally modified the margins of certain elements so that their edges were not within the bounds of the window. ... | 0 |
6,974,325 | 08/07/2011 17:09:58 | 849,109 | 07/17/2011 22:28:47 | 1 | 0 | Why isn't there a getCookie(String) method in the HttpServletRequest? | As a software consultant, I have been using the Servlet API since the dawn of the man, but I always want to know why there isn't a getCookie(String) method in the HttpServletRequest?
The API only defines the getCookies() method wich returns an array of Cookies, so if you are looking for some specific cookie at the ... | java | servlets | cookies | null | null | 08/08/2011 06:53:55 | not constructive | Why isn't there a getCookie(String) method in the HttpServletRequest?
===
As a software consultant, I have been using the Servlet API since the dawn of the man, but I always want to know why there isn't a getCookie(String) method in the HttpServletRequest?
The API only defines the getCookies() method wich returns ... | 4 |
1,968,411 | 12/28/2009 07:37:09 | 215,141 | 11/20/2009 02:16:00 | 6 | 0 | Java Netbeans simple display Image in Design Mode | I am using a custom subclass of JPanel to offer me more control over the display of some images. The code to it is below.
However, in Netbeans, in design mode, I would like to be able to see the image that I am working with, instead of simply looking at the outline of the object.
There is an image attribute, but... | java | netbeans | image | display | gui | null | open | Java Netbeans simple display Image in Design Mode
===
I am using a custom subclass of JPanel to offer me more control over the display of some images. The code to it is below.
However, in Netbeans, in design mode, I would like to be able to see the image that I am working with, instead of simply looking at the out... | 0 |
11,065,903 | 06/16/2012 18:13:30 | 1,274,999 | 03/16/2012 21:33:19 | 12 | 0 | Good datagrid / AJAX CRUD for multiple tables | I am looking for a good PHP / MySQL AJAX CRUD that allows inline editing, however with one quirky requirement... I have a main MySQL table that lists CATEGORY_ID as well as SUBCATEGORY_ID...
The CATEGORY_ID links to a category table that just has ID, NAME. - this part works on most solutions I've found
The SUBCA... | php | mysql | ajax | crud | multiple-tables | 06/22/2012 16:02:51 | not constructive | Good datagrid / AJAX CRUD for multiple tables
===
I am looking for a good PHP / MySQL AJAX CRUD that allows inline editing, however with one quirky requirement... I have a main MySQL table that lists CATEGORY_ID as well as SUBCATEGORY_ID...
The CATEGORY_ID links to a category table that just has ID, NAME. - this p... | 4 |
11,584,171 | 07/20/2012 17:26:37 | 1,541,408 | 07/20/2012 17:17:00 | 1 | 0 | How to create a chat in PHP and MySQL, with no JavaScript/jQuery/AJAX? | How can I make a chat with PHP and MySQL only, without any other language? I googled for a while, but all the solutions I found needed PHP+MySQL+AJAX/JS/jQuery. In order to keep my code as simple as possible, I'd like to only use those two languages (because idk ajax not js not jquery, LOL.). Any suggestion? I thought ... | php | mysql | sql | chat | null | 07/20/2012 17:32:22 | not a real question | How to create a chat in PHP and MySQL, with no JavaScript/jQuery/AJAX?
===
How can I make a chat with PHP and MySQL only, without any other language? I googled for a while, but all the solutions I found needed PHP+MySQL+AJAX/JS/jQuery. In order to keep my code as simple as possible, I'd like to only use those two lang... | 1 |
7,225,981 | 08/29/2011 04:11:53 | 917,117 | 08/29/2011 04:11:53 | 1 | 0 | How do I post a swf via graph api using PHP SDK | The title asks it all, can you help me please? Post an example. | flash | api | graph | facebook-graph-api | swf | 08/29/2011 15:26:01 | not a real question | How do I post a swf via graph api using PHP SDK
===
The title asks it all, can you help me please? Post an example. | 1 |
6,537,889 | 06/30/2011 16:17:46 | 190,480 | 10/15/2009 09:53:38 | 1,070 | 31 | How can I find the <script> element where my JavaScript is declared? | For a fragment of HTML/JavaScript that gets loaded into a host web page dynamically, I need the JavaScript fragment to know about where it is declared. Is there a way of doing this in plain JavaScript or jQuery? | javascript | jquery | html | null | null | 06/30/2011 17:58:36 | not a real question | How can I find the <script> element where my JavaScript is declared?
===
For a fragment of HTML/JavaScript that gets loaded into a host web page dynamically, I need the JavaScript fragment to know about where it is declared. Is there a way of doing this in plain JavaScript or jQuery? | 1 |
121,119 | 09/23/2008 13:51:12 | 16,777 | 09/17/2008 20:38:16 | 56 | 6 | Keyboards with the number pad in the middle? | I'm suffering from early RSI symptoms and am looking for a way to avoid injury. My physiotherapist has determined that the worst thing I seem to be doing is using my mouse at such a weird angle. The problem for me is, I keep my keyboard positioned such that my left and right forearms are angled in the same amount, i.... | keyboard | ergonomics | null | null | null | 10/31/2011 14:34:07 | off topic | Keyboards with the number pad in the middle?
===
I'm suffering from early RSI symptoms and am looking for a way to avoid injury. My physiotherapist has determined that the worst thing I seem to be doing is using my mouse at such a weird angle. The problem for me is, I keep my keyboard positioned such that my left an... | 2 |
6,474,617 | 06/24/2011 23:08:40 | 349,315 | 05/24/2010 20:38:27 | 25 | 1 | COUNT(id) query is taking too long, what performance enhancements might help? | I have a query timeout problem. When I did a:
SELECT COUNT(id) AS rowCount FROM infoTable;
in my program, my JDBC call timed out after 2.5 minutes.
I don't have much database admin expertise but I am currently tasked with supporting a legacy database. In this mysql database, there is an InnoDB table:
... | mysql | sql | null | null | null | null | open | COUNT(id) query is taking too long, what performance enhancements might help?
===
I have a query timeout problem. When I did a:
SELECT COUNT(id) AS rowCount FROM infoTable;
in my program, my JDBC call timed out after 2.5 minutes.
I don't have much database admin expertise but I am currently tasked with su... | 0 |
7,200,552 | 08/26/2011 05:58:57 | 750,459 | 05/12/2011 11:27:06 | 223 | 9 | Slash being escaped in URL | I'm using jquery.history plugin in my web-app and have a problem with '/' being escaped, so for example
I need to have following URL generated
**/SomeAction#Resource/ResOne**
but got
**/SomeAction#Resource%F2ResOne**
for loading the URL I use
$.history.load(btn.attr('action-name'));
where **btn** ele... | javascript | jquery | url | jquery-plugins | slash | null | open | Slash being escaped in URL
===
I'm using jquery.history plugin in my web-app and have a problem with '/' being escaped, so for example
I need to have following URL generated
**/SomeAction#Resource/ResOne**
but got
**/SomeAction#Resource%F2ResOne**
for loading the URL I use
$.history.load(btn.attr('acti... | 0 |
6,321,479 | 06/12/2011 10:32:18 | 794,657 | 06/12/2011 10:14:33 | 1 | 0 | Logic behind the for loop | I understand the above question is not so specific and there are answered threads relating to for loop.
I am new to programming, most of the answered thread are more specific.
My question:
What is the logic behind the for loop and how should be one's approach to write a for loop?
In simple words: How do you... | c# | for-loop | logic | statement | null | 06/12/2011 13:32:03 | not a real question | Logic behind the for loop
===
I understand the above question is not so specific and there are answered threads relating to for loop.
I am new to programming, most of the answered thread are more specific.
My question:
What is the logic behind the for loop and how should be one's approach to write a for loop?... | 1 |
6,285,900 | 06/08/2011 22:12:12 | 395,416 | 07/19/2010 01:02:31 | 3 | 0 | Set permissions on newly created databases with rules | I have a situation whereby an application we use has many databases used for storage, and creates new ones on the fly as needed (SQL Server 2008 R2).
- ApplicationDatabase
- ApplicationDatabase_Storage001
- ApplicationDatabase_Storage002
- ApplicationDatabase_Storage003
- etc...
As needed the application will... | sql | sql-server | null | null | null | null | open | Set permissions on newly created databases with rules
===
I have a situation whereby an application we use has many databases used for storage, and creates new ones on the fly as needed (SQL Server 2008 R2).
- ApplicationDatabase
- ApplicationDatabase_Storage001
- ApplicationDatabase_Storage002
- ApplicationData... | 0 |
9,933,514 | 03/29/2012 21:04:17 | 1,208,165 | 02/14/2012 02:39:13 | 16 | 0 | activeadmin heroku stylesheet config issue with partial fix | I was receiving the following error message after precompiling my assets locally and then pushing the code to heroku:
2012-03-28T17:06:01+00:00 app[web.1]: Started GET "/admin/login" for 67.163.67.203 at 2012-03-28 17:06:01 +0000
2012-03-28T17:06:01+00:00 app[web.1]:
2012-03-28T17:06:01+00:00 app[web.1]: Actio... | ruby-on-rails-3 | heroku | activeadmin | null | null | null | open | activeadmin heroku stylesheet config issue with partial fix
===
I was receiving the following error message after precompiling my assets locally and then pushing the code to heroku:
2012-03-28T17:06:01+00:00 app[web.1]: Started GET "/admin/login" for 67.163.67.203 at 2012-03-28 17:06:01 +0000
2012-03-28T17:06:0... | 0 |
2,370,025 | 03/03/2010 09:30:50 | 285,147 | 03/03/2010 09:26:27 | 1 | 0 | How to modify position of children inside loop in AS3 | I'm trying to make a dynamic image gallery from and xml. From my tutorials, right now i've got it so it will constantly add the next thumbnail below the other, which is fine, but I'm trying to figure out how to make it that once it reaches a certain y coordinate, it will move the x coordinate over and stack them again.... | actionscript-3 | for-loop | loops | null | null | null | open | How to modify position of children inside loop in AS3
===
I'm trying to make a dynamic image gallery from and xml. From my tutorials, right now i've got it so it will constantly add the next thumbnail below the other, which is fine, but I'm trying to figure out how to make it that once it reaches a certain y coordinat... | 0 |
11,663,416 | 07/26/2012 06:10:58 | 509,168 | 11/16/2010 07:03:59 | 388 | 14 | PHP Frameworks Yii vs Symfony2 | i'm starting a new project using PHP, this is my first time working with the language. However, i'm a very experienced web developer.
The new project i'm starting is the flagship project of our company, which we plan to continuously build, upgrade & improve upon it over the years.
From what i read online the showdo... | php | symfony-2.0 | yii | null | null | 07/26/2012 07:38:48 | not a real question | PHP Frameworks Yii vs Symfony2
===
i'm starting a new project using PHP, this is my first time working with the language. However, i'm a very experienced web developer.
The new project i'm starting is the flagship project of our company, which we plan to continuously build, upgrade & improve upon it over the years.
... | 1 |
11,420,993 | 07/10/2012 20:00:16 | 1,515,901 | 07/10/2012 19:57:37 | 1 | 0 | sobipro download from where? | I read great things about SobiPro that it works with Joomla 2.5.
I try the download link and it gives me an error in any browser.
Where can I download it? Is it free?
Please help. | php | joomla | null | null | null | 07/10/2012 23:11:12 | off topic | sobipro download from where?
===
I read great things about SobiPro that it works with Joomla 2.5.
I try the download link and it gives me an error in any browser.
Where can I download it? Is it free?
Please help. | 2 |
8,523,985 | 12/15/2011 17:13:28 | 1,100,362 | 12/15/2011 16:55:37 | 1 | 0 | What code in PHP/MySQL can i use to compare text in two text boxes and conclude whether they are similar? | i am required to include a plagiarism detection feature in my final year project: A final year projects portal for my school. I am using PHP/MySQL and i need a code that will help me check this by comparing the content of two text boxes. | php | javascript | mysql | null | null | 12/15/2011 17:36:34 | not a real question | What code in PHP/MySQL can i use to compare text in two text boxes and conclude whether they are similar?
===
i am required to include a plagiarism detection feature in my final year project: A final year projects portal for my school. I am using PHP/MySQL and i need a code that will help me check this by comparing th... | 1 |
10,081,328 | 04/09/2012 23:51:15 | 1,322,847 | 04/09/2012 22:54:52 | 1 | 0 | How do I go from codecademy to actual programming? Specific example included | So I have been spending a lot of time lately on codecademy and it is amazing. I feel like I am starting to really grasp JavaScript and programming in general. However, I want to start the basics of implementing my new skills into use. I am sure I am not alone with this desire and while I have some books coming in the m... | javascript | null | null | null | null | 04/09/2012 23:54:32 | not constructive | How do I go from codecademy to actual programming? Specific example included
===
So I have been spending a lot of time lately on codecademy and it is amazing. I feel like I am starting to really grasp JavaScript and programming in general. However, I want to start the basics of implementing my new skills into use. I a... | 4 |
5,490,571 | 03/30/2011 18:32:00 | 398,477 | 07/21/2010 21:14:25 | 209 | 6 | Is there a way to add the same image into a ImageView again and again? | Suppose i need to add a same image to an imageView to get a pattern, same like a scale thing where i have first section but need to repeat it 10 more times.
How should i go for this? | iphone | uiimageview | null | null | null | null | open | Is there a way to add the same image into a ImageView again and again?
===
Suppose i need to add a same image to an imageView to get a pattern, same like a scale thing where i have first section but need to repeat it 10 more times.
How should i go for this? | 0 |
11,010,386 | 06/13/2012 07:50:34 | 1,247,026 | 03/03/2012 15:49:36 | 1 | 0 | send Bitmap using intent Android | I hava a Bitmap variable in Activity1 name is `bmp`, and i want to send it to Activity2 using this code :
Intent in1 = new Intent(this, Activity2.class);
in1.putExtra("image",bmp);
startActivity(in1);
And in Activity2 i call it like this :
Bundle ex = getIntent().getExtras();
Bitmap bmp2... | android | android-intent | bitmap | null | null | null | open | send Bitmap using intent Android
===
I hava a Bitmap variable in Activity1 name is `bmp`, and i want to send it to Activity2 using this code :
Intent in1 = new Intent(this, Activity2.class);
in1.putExtra("image",bmp);
startActivity(in1);
And in Activity2 i call it like this :
Bundle ex = get... | 0 |
2,324,841 | 02/24/2010 09:20:47 | 193,777 | 10/21/2009 12:29:27 | 26 | 0 | How to setup sping security to authenticate signed requests? | Does spring support authentication of signed requests? (like those provided by open social **Signed authorization** ,i.e [open social makeRequest API][1])
if so, how do you configure it?
Best Regards
Yaniv
[1]: http://wiki.opensocial.org/index.php?title=Gadgets.io_(v0.8) | spring-security | opensocial | authorization | null | null | null | open | How to setup sping security to authenticate signed requests?
===
Does spring support authentication of signed requests? (like those provided by open social **Signed authorization** ,i.e [open social makeRequest API][1])
if so, how do you configure it?
Best Regards
Yaniv
[1]: http://wiki.opensocial.org/in... | 0 |
11,113,344 | 06/20/2012 05:31:29 | 1,468,167 | 06/20/2012 05:21:29 | 1 | 0 | How to Override the Joom shopping component into fronend & backend in Joomla? | I am working on Joom shopping and want to Customize the some files of its models/controller/views so please tell me how to do that in using override methods with joomla .
Thanks in Advance ...
| joomla1.6 | null | null | null | null | null | open | How to Override the Joom shopping component into fronend & backend in Joomla?
===
I am working on Joom shopping and want to Customize the some files of its models/controller/views so please tell me how to do that in using override methods with joomla .
Thanks in Advance ...
| 0 |
6,435,860 | 06/22/2011 06:36:48 | 465,558 | 10/04/2010 05:58:18 | 757 | 16 | How to binding stackpanel to some variable ? | On my application i have 3 stackpanels that their visibility is binding to 3 radio button - in case radio button A is checked => stackpanel A1 is visible ...
I want to define some variable that will be call CurrentStackPanelInFocus that will be bind to the stackpanel that is visible.
I dont know how to do it.
... | silverlight | null | null | null | null | null | open | How to binding stackpanel to some variable ?
===
On my application i have 3 stackpanels that their visibility is binding to 3 radio button - in case radio button A is checked => stackpanel A1 is visible ...
I want to define some variable that will be call CurrentStackPanelInFocus that will be bind to the stackpane... | 0 |
7,461,300 | 09/18/2011 11:56:10 | 157,607 | 08/17/2009 08:26:41 | 26 | 1 | Suggestion for an interesting unsolved problem in the smartphone apps development domain to write a thesis on | I am preparing to do a dissertation on a software development course I am taking, I would like to propose my own topic for this dissertation, I am looking for an interesting problem in the smartphone apps (iOS, Android, WebOS, Windows Phone etc) development world that is yet to be solved properly (or universally).
... | android | ios | windows-phone-7 | webos | thesis | 09/18/2011 12:43:12 | off topic | Suggestion for an interesting unsolved problem in the smartphone apps development domain to write a thesis on
===
I am preparing to do a dissertation on a software development course I am taking, I would like to propose my own topic for this dissertation, I am looking for an interesting problem in the smartphone apps ... | 2 |
3,136,131 | 06/28/2010 21:07:08 | 76,267 | 03/10/2009 17:27:32 | 377 | 20 | Is Python (Django) experience professionaly comparable to Ruby on Rails? | I ask this because there seems to be a few more jobs available (at least by telecommute) in RoR. If an employer sees significant Python/Django experience on a resume, would it be plausible to believe that the developer would be able quickly learn Rails? | python | ruby-on-rails | django | jobs | null | 04/30/2012 14:23:01 | not constructive | Is Python (Django) experience professionaly comparable to Ruby on Rails?
===
I ask this because there seems to be a few more jobs available (at least by telecommute) in RoR. If an employer sees significant Python/Django experience on a resume, would it be plausible to believe that the developer would be able quickly l... | 4 |
10,239,177 | 04/20/2012 01:46:42 | 1,345,395 | 04/20/2012 01:13:06 | 1 | 0 | open source Ruby projects for beginners | Please forgive my poor English.I have just learned C++,and have no experience of software development.Someone told me to begin with ruby.I find that these advanced projects on Github are too complex for me to understand.so I'm seeking some small and simple opensource projects for beginners like me. | ruby | open-source | github | null | null | 04/20/2012 02:11:37 | not constructive | open source Ruby projects for beginners
===
Please forgive my poor English.I have just learned C++,and have no experience of software development.Someone told me to begin with ruby.I find that these advanced projects on Github are too complex for me to understand.so I'm seeking some small and simple opensource project... | 4 |
11,276,905 | 06/30/2012 19:10:11 | 1,493,432 | 06/30/2012 18:54:14 | 1 | 0 | Do we need Hibernate mapping In this scenario? | I am new to hibernate. Please help me.
I have 2 tables named Employee and Country.I need to save the Employee with selected country.In my case , I will nowhere get employee details back and show it on UI. Do i need to maintain mapping(onetoone mapping) between Employee and Country objects? Can't i directly save empl... | hibernate | hibernate-mapping | null | null | null | null | open | Do we need Hibernate mapping In this scenario?
===
I am new to hibernate. Please help me.
I have 2 tables named Employee and Country.I need to save the Employee with selected country.In my case , I will nowhere get employee details back and show it on UI. Do i need to maintain mapping(onetoone mapping) between Empl... | 0 |
2,586,530 | 04/06/2010 16:29:32 | 229,853 | 12/11/2009 18:14:59 | 115 | 2 | Zend Namespace - Check if Session Exists | All,
I am using Zend Framework and Zend_Session to do global session management for my application. I plan to clear all sessions on logout and hence am using the following code:
if($this->sessionExists())
{
$this->destroy();
}
But it seems like it's not doing a good job.. I am getting an... | zend-framework | php5 | session | null | null | null | open | Zend Namespace - Check if Session Exists
===
All,
I am using Zend Framework and Zend_Session to do global session management for my application. I plan to clear all sessions on logout and hence am using the following code:
if($this->sessionExists())
{
$this->destroy();
}
But it seems li... | 0 |
10,729,983 | 05/24/2012 01:19:59 | 784,572 | 01/16/2011 08:54:12 | 127 | 0 | Regex surround matching word with html tag | I'm trying to highlight all matching word inside the body but not words inside any html tag. For example the keyword given is 'para'. Here's the paragraph:
<p class="para"> Example of paragraph. Lorem ipsum dolor sit amet. </p>
resulting in:
<p class="para">
Example of <strong>para</strong>graph. ... | javascript | regex | null | null | null | null | open | Regex surround matching word with html tag
===
I'm trying to highlight all matching word inside the body but not words inside any html tag. For example the keyword given is 'para'. Here's the paragraph:
<p class="para"> Example of paragraph. Lorem ipsum dolor sit amet. </p>
resulting in:
<p class="par... | 0 |
11,482,617 | 07/14/2012 09:32:51 | 1,525,364 | 07/14/2012 09:27:37 | 1 | 0 | what are newest algorithms in pattern recognition? | HI every body I was asking about the newest algorithms in pattern recognition cause I'm new in the field and i was asking what are the best sites that provide new articles and searches in that field
thanks in advance | design-patterns | recognition | null | null | null | 07/15/2012 11:58:25 | not constructive | what are newest algorithms in pattern recognition?
===
HI every body I was asking about the newest algorithms in pattern recognition cause I'm new in the field and i was asking what are the best sites that provide new articles and searches in that field
thanks in advance | 4 |
7,891,894 | 10/25/2011 15:41:12 | 951,422 | 09/18/2011 16:35:36 | 334 | 0 | What editor to use? | For almost a year i'm using Notepad++ editor , don't get me wrong - it's the best editor i have found so far recently i started coding in Javascript and i noticed that all my code is in the same color , objects , vars , functions even though i have set the style my self.
i decided to get an other editor , i haven't... | php | javascript | php5 | null | null | 10/25/2011 15:44:54 | not constructive | What editor to use?
===
For almost a year i'm using Notepad++ editor , don't get me wrong - it's the best editor i have found so far recently i started coding in Javascript and i noticed that all my code is in the same color , objects , vars , functions even though i have set the style my self.
i decided to get an... | 4 |
2,958,939 | 06/02/2010 15:01:47 | 266,276 | 02/04/2010 14:42:36 | 86 | 6 | detecting double free object, release or not release ... | If we have this code in our interface .h file:
NSString *fieldNameToStoreModel;
NSFetchedResultsController *fetchedResultsController;
NSManagedObjectContext *managedObjectContext;
DataEntered *dataEntered;
In our implementation file .m we must have:
- (void)dealloc {
[fieldName... | iphone | memory-allocation | release | null | null | null | open | detecting double free object, release or not release ...
===
If we have this code in our interface .h file:
NSString *fieldNameToStoreModel;
NSFetchedResultsController *fetchedResultsController;
NSManagedObjectContext *managedObjectContext;
DataEntered *dataEntered;
In our implementation fil... | 0 |
9,008,407 | 01/25/2012 18:48:02 | 1,169,311 | 01/25/2012 13:36:23 | -1 | 0 | SDK integration with eclipse | how to integrated SDK with eclipse as https://dlssl.google.com/android/eclipse/ is not working .
Thanks in advance!
| java | android | eclipse | application | mobile | 01/25/2012 18:53:46 | not a real question | SDK integration with eclipse
===
how to integrated SDK with eclipse as https://dlssl.google.com/android/eclipse/ is not working .
Thanks in advance!
| 1 |
11,070,140 | 06/17/2012 09:04:22 | 1,461,603 | 06/17/2012 08:54:28 | 1 | 0 | which is plugin this plugin? dark page white div? | i m a webmaster of www.salsanapoli.com and <a href="http://www.bricabrac.it">www.bricabrac.it</a>
i'd like insert the effect like this (<a href="http://www.mediafire.com/?7r6e3n333njt2gd">http://www.mediafire.com/?7r6e3n333njt2gd</a>)
Is there a jquery plugin that make the page dark and only one div white?
txt... | jquery | plugins | jquery-effects | null | null | 06/17/2012 11:29:12 | too localized | which is plugin this plugin? dark page white div?
===
i m a webmaster of www.salsanapoli.com and <a href="http://www.bricabrac.it">www.bricabrac.it</a>
i'd like insert the effect like this (<a href="http://www.mediafire.com/?7r6e3n333njt2gd">http://www.mediafire.com/?7r6e3n333njt2gd</a>)
Is there a jquery plugin... | 3 |
10,504,818 | 05/08/2012 19:03:47 | 559,299 | 12/31/2010 14:35:51 | 176 | 3 | Spring MVC + JUnit + Cobertura: Cobertura Report wrong | I use Spring MVC for a project and I'm creating unit tests right now. I've got JUnit + Cobertura + Spring MVC running. The problem is that the Cobertura report doesn't include all the lines that were actually executed if I test an injected object - and it must be injected, because it has another @Autowired dependency i... | java | unit-testing | spring-mvc | junit | cobertura | 05/29/2012 12:05:32 | too localized | Spring MVC + JUnit + Cobertura: Cobertura Report wrong
===
I use Spring MVC for a project and I'm creating unit tests right now. I've got JUnit + Cobertura + Spring MVC running. The problem is that the Cobertura report doesn't include all the lines that were actually executed if I test an injected object - and it must... | 3 |
7,978,656 | 11/02/2011 10:13:42 | 770,791 | 09/24/2010 05:18:57 | 1 | 0 | how to access/generate .ppt file through an IOS App | After seeing apple's keynote and other similar applications, I would like to prepare an app which makes presentation(.ppt file) and try to add some other things for an IOS application. But i don't know how & from where i should start from programming side or if any,
Please can anyone give suggestions regarding this... | iphone | ios | xcode | ipad | null | 11/03/2011 06:44:57 | not a real question | how to access/generate .ppt file through an IOS App
===
After seeing apple's keynote and other similar applications, I would like to prepare an app which makes presentation(.ppt file) and try to add some other things for an IOS application. But i don't know how & from where i should start from programming side or if a... | 1 |
1,012,305 | 06/18/2009 12:12:46 | 125,055 | 06/18/2009 12:12:46 | 1 | 0 | How do I get total GPRS usage in KBs on a Windows Mobile Device? | Anyone knows how to do this programmatically? I looked at the registry keys but I couldn't find anything. I don't know maybe I missed it.
Under the registry key HKLM/Software/Microsoft/shell/cumulativecalltimers/line_0/ there are the values "OutgoingDataPhoneLifeTime" and "OutgoingDataPhoneLifeTimeNumCalls"; but thes... | windows-mobile | c# | c++ | gprs | usage | null | open | How do I get total GPRS usage in KBs on a Windows Mobile Device?
===
Anyone knows how to do this programmatically? I looked at the registry keys but I couldn't find anything. I don't know maybe I missed it.
Under the registry key HKLM/Software/Microsoft/shell/cumulativecalltimers/line_0/ there are the values "Outgoi... | 0 |
1,081,789 | 07/04/2009 08:20:50 | 90,025 | 04/12/2009 18:25:16 | 512 | 21 | How to recommend next achievement | Coles Notes:
I have a similar setup to StackOverflow. Users get Achievements. I have many more achievements than SO, lets say on the order of 10k, and each user has in the 100s of achievements. Now, how would you recommend (to recommend) the next achievement for a user to try for?
Long version:
The objects ar... | django | achievements | web | python | recommendation | 06/11/2012 08:29:29 | not constructive | How to recommend next achievement
===
Coles Notes:
I have a similar setup to StackOverflow. Users get Achievements. I have many more achievements than SO, lets say on the order of 10k, and each user has in the 100s of achievements. Now, how would you recommend (to recommend) the next achievement for a user to try ... | 4 |
9,423,182 | 02/23/2012 23:33:51 | 1,103,989 | 12/17/2011 23:13:04 | 11 | 0 | Can Twitter's embedded tweets be rendered dynamically? | Twitter's new-ish 'embedded tweets' feature is nice, but as far as I can tell the Twitter API's widgets.js can only render the embedded tweets at page load.
If I dynamically load some content via Ajax and insert it into the DOM, and that content includes the code for an embedded tweet, is there a way to get widgets.... | javascript | twitter | null | null | null | null | open | Can Twitter's embedded tweets be rendered dynamically?
===
Twitter's new-ish 'embedded tweets' feature is nice, but as far as I can tell the Twitter API's widgets.js can only render the embedded tweets at page load.
If I dynamically load some content via Ajax and insert it into the DOM, and that content includes th... | 0 |
8,586,528 | 12/21/2011 07:48:31 | 415,699 | 08/10/2010 02:03:13 | 50 | 0 | wordpress url rewrite alpha numerical pagination | I have a aplhanumeric pagination and wanting to have pretty url
On Page `http://www.mysite.com/glossary/`
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | [A][1] | B | C | [D][2] | E | [F][3] | [G][4] | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
Apple
Alicia
Amy
A swee... | wordpress | url-rewriting | url-routing | null | null | null | open | wordpress url rewrite alpha numerical pagination
===
I have a aplhanumeric pagination and wanting to have pretty url
On Page `http://www.mysite.com/glossary/`
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | [A][1] | B | C | [D][2] | E | [F][3] | [G][4] | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X ... | 0 |
9,694,776 | 03/14/2012 01:38:02 | 1,249,216 | 03/05/2012 06:44:11 | 24 | 0 | Wt the difference between pure C and the subset C of C++? | Wt the difference between pure C and the subset C of C++?
And I want know some details about 'Clean C' which Lua based. Anyone know these features? | c++ | c | pure | null | null | 03/14/2012 22:09:13 | not a real question | Wt the difference between pure C and the subset C of C++?
===
Wt the difference between pure C and the subset C of C++?
And I want know some details about 'Clean C' which Lua based. Anyone know these features? | 1 |
8,179,309 | 11/18/2011 07:52:25 | 771,168 | 05/26/2011 11:00:22 | 430 | 12 | Rails / Active Record has_many through association - fetching a record | I have a has_many relationship of models Role and Access through model Permission.
I have a situation that no two roles should have identical accesses. So, I created a custom validation which basically results in an error message when current role(being created) is assigned the same accesses as previously existing ... | mysql | ruby-on-rails | activerecord | ruby-on-rails-3.1 | has-many-through | null | open | Rails / Active Record has_many through association - fetching a record
===
I have a has_many relationship of models Role and Access through model Permission.
I have a situation that no two roles should have identical accesses. So, I created a custom validation which basically results in an error message when curre... | 0 |
6,396,405 | 06/18/2011 13:38:45 | 108,742 | 05/18/2009 11:48:25 | 62 | 2 | Android + Linux kernel + Proprietary stuff: License question | I'm working on a custom ROM for an Android device I own. I asked Vendor for kernel source code. They gave me a first tar.gz, but when I compiled using *.config* from /proc/config.gz from my running device, I realized that USB Gadget, USB Debug and so on were missing.
I asked again and they gave me a new board-qsd8x5... | android | linux | gpl | null | null | 06/19/2011 06:00:27 | off topic | Android + Linux kernel + Proprietary stuff: License question
===
I'm working on a custom ROM for an Android device I own. I asked Vendor for kernel source code. They gave me a first tar.gz, but when I compiled using *.config* from /proc/config.gz from my running device, I realized that USB Gadget, USB Debug and so on ... | 2 |
10,827,268 | 05/31/2012 04:01:07 | 1,417,448 | 05/25/2012 12:59:52 | 80 | 3 | Wrapping a Stored Procedure SQL | using oracle to code the sql statement, been given some homework I don't thoroughly understand/struggling to grasp(so if you have any good tutorials/links for basic sql procedures/functions that would be appreciated.
here is the question
---------------------------------------
A Stored Procedure that lists al... | sql | oracle | function | procedure | null | null | open | Wrapping a Stored Procedure SQL
===
using oracle to code the sql statement, been given some homework I don't thoroughly understand/struggling to grasp(so if you have any good tutorials/links for basic sql procedures/functions that would be appreciated.
here is the question
------------------------------------... | 0 |
8,928,001 | 01/19/2012 14:45:30 | 1,149,958 | 01/15/2012 01:35:47 | 10 | 0 | Api on iPhone x iPad | I got problem with one API. It is developed for both devices. On iPad it works great but if I run it on iPhone it sucks. It slows down very much. Does anyone know where could be the problem. Notice I use storyboards and same View controllers and delegates for both devices.
Any suggestion? | iphone | xcode | ipad | null | null | 01/19/2012 21:33:45 | not a real question | Api on iPhone x iPad
===
I got problem with one API. It is developed for both devices. On iPad it works great but if I run it on iPhone it sucks. It slows down very much. Does anyone know where could be the problem. Notice I use storyboards and same View controllers and delegates for both devices.
Any suggestion? | 1 |
6,058,056 | 05/19/2011 11:40:13 | 134,340 | 07/07/2009 15:36:56 | 298 | 25 | How do I change the module type in IntelliJ | I have created a project from maven using mvn idea:idea. I recreate the project whenever there is a significant change to the pom files.
Sometimes after recreating, when I open IntelliJ it tells me that the modules have an unknown type so they will be treated as Unknown Modules.
1. How do I changes these modul... | intellij-idea | null | null | null | null | null | open | How do I change the module type in IntelliJ
===
I have created a project from maven using mvn idea:idea. I recreate the project whenever there is a significant change to the pom files.
Sometimes after recreating, when I open IntelliJ it tells me that the modules have an unknown type so they will be treated as Unkn... | 0 |
8,976,325 | 01/23/2012 18:00:34 | 1,165,494 | 01/23/2012 17:48:48 | 1 | 0 | Is a cross-language actor middleware useful? | I would like to know your thoughts about the usefulness of a cross-language actor middleware, like something that enables us to write a system in erlang that could interact with actors in scala, for example, but actually using the actor model. For now I'm not concerned with questions like actor creation across language... | concurrency | erlang | actor | akka | null | 01/24/2012 01:51:47 | not constructive | Is a cross-language actor middleware useful?
===
I would like to know your thoughts about the usefulness of a cross-language actor middleware, like something that enables us to write a system in erlang that could interact with actors in scala, for example, but actually using the actor model. For now I'm not concerned ... | 4 |
11,626,016 | 07/24/2012 07:24:31 | 1,345,376 | 04/20/2012 00:55:53 | 372 | 4 | How does openid signature work without a shared key | Following is my understanding - A third party app redirects to a an OP for authentication. Once the authentication is complete the OP redirects back to the third party app.
It also sends back in query string a number of parameters and also sends back a signature. My question is how does the third party app verify t... | security | openid | null | null | null | 07/24/2012 11:58:14 | off topic | How does openid signature work without a shared key
===
Following is my understanding - A third party app redirects to a an OP for authentication. Once the authentication is complete the OP redirects back to the third party app.
It also sends back in query string a number of parameters and also sends back a signat... | 2 |
6,969,044 | 08/06/2011 21:32:33 | 580,226 | 01/18/2011 16:19:29 | 8 | 0 | send data from Blackberry application to another running application(and not running application)? | 1. send data from Blackberry application to another running application??((plz no listening thread))
2. Call Application by parameter from another application??
3. create one cod file for both application(make the first depend on other)??
sry form my bad english | java | blackberry | blackberry-eclipse-plugin | null | null | null | open | send data from Blackberry application to another running application(and not running application)?
===
1. send data from Blackberry application to another running application??((plz no listening thread))
2. Call Application by parameter from another application??
3. create one cod file for both application(make t... | 0 |
688,658 | 03/27/2009 05:31:00 | 71,263 | 02/26/2009 07:14:46 | 1 | 0 | LINQ to SQL Classes | Is it better to have one fat data context class with all the tables in it or break them into smaller classes and potentially having "single table" classes?
From organizational standpoint I feel like I shouldn't split relations over several data contexts (I don't even think it's doable). But on the other hand I think... | linq | c# | sql | null | null | null | open | LINQ to SQL Classes
===
Is it better to have one fat data context class with all the tables in it or break them into smaller classes and potentially having "single table" classes?
From organizational standpoint I feel like I shouldn't split relations over several data contexts (I don't even think it's doable). But ... | 0 |
10,104,365 | 04/11/2012 10:40:56 | 1,296,353 | 03/27/2012 18:40:50 | 8 | 0 | c#, VS2010, Membeship | I would like to make a method to prevent users to creating more than 5 advertisement by day in my website.
users are managed by membeship
Thank you very much for help. | c# | null | null | null | null | 04/11/2012 13:06:20 | not a real question | c#, VS2010, Membeship
===
I would like to make a method to prevent users to creating more than 5 advertisement by day in my website.
users are managed by membeship
Thank you very much for help. | 1 |
6,624,137 | 07/08/2011 12:02:00 | 835,282 | 07/08/2011 11:44:49 | 1 | 0 | Help needed in making firewall from C/C++ language | i have assigned a task to make a program in C/C++ to be run Client pc(windows platform) for followings:
1. to block access to a site(s), either by drop down menu or user entered.
2. act as a url filter to block any url consisting any word from a given list, for example bad "Facebook" or a bad word.
progress:
... | c++ | c | url | project | firewall | 07/08/2011 14:48:19 | too localized | Help needed in making firewall from C/C++ language
===
i have assigned a task to make a program in C/C++ to be run Client pc(windows platform) for followings:
1. to block access to a site(s), either by drop down menu or user entered.
2. act as a url filter to block any url consisting any word from a given list, fo... | 3 |
2,476,508 | 03/19/2010 10:37:57 | 293,925 | 03/15/2010 11:40:49 | 3 | 0 | Which user account is running SQLCMD in T-SQL Script without -U and -P option? | I am using sqlcmd in a T-SQl script to write a text file to a network location. However SQLCMD is failing to write to that location due to access permission to the network folder. SP is being run under my user account which has access to the network folder.
Could you please help me under which account sqlcmd will ru... | sqlcmd | sql | sql-server | null | null | null | open | Which user account is running SQLCMD in T-SQL Script without -U and -P option?
===
I am using sqlcmd in a T-SQl script to write a text file to a network location. However SQLCMD is failing to write to that location due to access permission to the network folder. SP is being run under my user account which has access t... | 0 |
7,380,312 | 09/11/2011 18:19:34 | 939,442 | 09/11/2011 18:13:05 | 1 | 0 | Need to find cost of a sequence | Imagine that a data structure has a sequence of n operations. The ith operation costs 2i if i is an exact power of 2, costs 3i if i is an exact power of 3, and 1 for all other operations.
What would be the total cost of n such operations in terms of n??
Basically, need to figure out how many powers of 2 and 3 are ... | c | data-structures | null | null | null | 09/11/2011 19:07:01 | not a real question | Need to find cost of a sequence
===
Imagine that a data structure has a sequence of n operations. The ith operation costs 2i if i is an exact power of 2, costs 3i if i is an exact power of 3, and 1 for all other operations.
What would be the total cost of n such operations in terms of n??
Basically, need to figur... | 1 |
10,618,946 | 05/16/2012 12:51:06 | 1,180,170 | 01/31/2012 11:18:00 | 6 | 0 | how to create slides like PowerPoint slides at run time in c#? | I want to create an application which creates slides as like as PowerPoint slides at the run time in c# . I do not want to save that as ppt . I just want to create UI like PowerPoint. I want to add new slides on button click, slides will be add in list of slides and enlarge the slide which is recently created.
... | c# | vb.net | null | null | null | 06/28/2012 12:46:08 | not a real question | how to create slides like PowerPoint slides at run time in c#?
===
I want to create an application which creates slides as like as PowerPoint slides at the run time in c# . I do not want to save that as ppt . I just want to create UI like PowerPoint. I want to add new slides on button click, slides will be add ... | 1 |
2,571,612 | 04/03/2010 15:09:37 | 305,300 | 03/30/2010 16:34:48 | 15 | 0 | How can I create a Searchstring for a Google AJAX Search API? | i have this code to get the search resutls from the api:
**querygoogle.php:**
<?php
session_start();
// Here's the Google AJAX Search API url for curl. It uses Google Search's site:www.yourdomain.com syntax to search in a specific site. I used $_SERVER['HTTP_HOST'] to find my doma... | google | php | json | api | null | null | open | How can I create a Searchstring for a Google AJAX Search API?
===
i have this code to get the search resutls from the api:
**querygoogle.php:**
<?php
session_start();
// Here's the Google AJAX Search API url for curl. It uses Google Search's site:www.yourdomain.com syntax to sear... | 0 |
5,942,322 | 05/09/2011 20:48:20 | 736,338 | 05/03/2011 14:33:50 | 29 | 0 | MYSQL, PHP, image upload/update fail. | i am trying to allow users to update their profile picture using this code.
require("../connection.php");
$imgName = $_FILES['pic']['name'];
$imgTmp = $_FILES['pic']['tmp_name'];
$imgtype = $_FILES['pic']['type'];
$imgSize = $_FILES['pic']['size'];
$max... | php | mysql | image | upload | null | null | open | MYSQL, PHP, image upload/update fail.
===
i am trying to allow users to update their profile picture using this code.
require("../connection.php");
$imgName = $_FILES['pic']['name'];
$imgTmp = $_FILES['pic']['tmp_name'];
$imgtype = $_FILES['pic']['type'];
$imgSi... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.