PostId int64 13 11.8M | PostCreationDate stringlengths 19 19 | OwnerUserId int64 3 1.57M | OwnerCreationDate stringlengths 10 19 | ReputationAtPostCreation int64 -33 210k | OwnerUndeletedAnswerCountAtPostTime int64 0 5.77k | Title stringlengths 10 250 | BodyMarkdown stringlengths 12 30k | Tag1 stringlengths 1 25 ⌀ | Tag2 stringlengths 1 25 ⌀ | Tag3 stringlengths 1 25 ⌀ | Tag4 stringlengths 1 25 ⌀ | Tag5 stringlengths 1 25 ⌀ | PostClosedDate stringlengths 19 19 ⌀ | OpenStatus stringclasses 5
values | unified_texts stringlengths 47 30.1k | OpenStatus_id int64 0 4 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3,166,270 | 07/02/2010 13:49:59 | 382,104 | 07/02/2010 13:49:59 | 1 | 0 | How to reduce the processing time ? | In my office we have a computer that is connected to some hardware and a program in the computer (NI TestStand) runs a test on the hardware and it takes around 10 to 12 hours to complete the test and to produce final report. Is there any way to minimize this time ? You suggestions ? Thanks in advance. | c# | automation | null | null | null | 07/02/2010 13:58:29 | not a real question | How to reduce the processing time ?
===
In my office we have a computer that is connected to some hardware and a program in the computer (NI TestStand) runs a test on the hardware and it takes around 10 to 12 hours to complete the test and to produce final report. Is there any way to minimize this time ? You suggesti... | 1 |
11,277,076 | 06/30/2012 19:37:18 | 1,275,959 | 03/17/2012 16:11:15 | 68 | 8 | How to start with gwt? | I am working on a project that had been already developed. The javascript was quite unfamiliar to me because it is based on a java, using gwt libraries.
So, when I change some code in the java file, nothing is taken into account. So I was told to download and install gwt and ant. What am I supposed to do then ? Can... | java | gwt | null | null | null | 06/30/2012 20:17:37 | not a real question | How to start with gwt?
===
I am working on a project that had been already developed. The javascript was quite unfamiliar to me because it is based on a java, using gwt libraries.
So, when I change some code in the java file, nothing is taken into account. So I was told to download and install gwt and ant. What am... | 1 |
10,836,760 | 05/31/2012 15:36:26 | 1,218,010 | 02/18/2012 11:47:04 | 86 | 15 | Force GWT compiler to stop pruning invalid CompilationUnits | I have a project in PlayN that allows me to compile a single java codebase to every platform under the sun; I am building against gwt trunk, which presently allows GWT.create() to be called in pure java implementations. There are some hoops to jump through, namely calling ServerGwtBridge.getInstance().register(String.... | java | gwt | maven | code-generation | playn | null | open | Force GWT compiler to stop pruning invalid CompilationUnits
===
I have a project in PlayN that allows me to compile a single java codebase to every platform under the sun; I am building against gwt trunk, which presently allows GWT.create() to be called in pure java implementations. There are some hoops to jump throu... | 0 |
11,303,914 | 07/03/2012 03:01:46 | 666,576 | 03/18/2011 19:08:32 | 505 | 2 | AS3: is it required to call BitmapData.dispose()? | Is it required to call BitmapData.dispose() for every BitmapData that one wants to have removed from memory completely, or does that buffer get freed anyway as soon as the BitmapData object gets garbage collected? | actionscript-3 | flash | air | garbage-collection | bitmapdata | null | open | AS3: is it required to call BitmapData.dispose()?
===
Is it required to call BitmapData.dispose() for every BitmapData that one wants to have removed from memory completely, or does that buffer get freed anyway as soon as the BitmapData object gets garbage collected? | 0 |
4,137,297 | 11/09/2010 18:47:53 | 484,801 | 10/23/2010 01:34:13 | 1 | 0 | Check if popup window is already open | How can I modify this so it checks and if a popup window is already open?
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=350,height=100');");
} | javascript | null | null | null | null | null | open | Check if popup window is already open
===
How can I modify this so it checks and if a popup window is already open?
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=350,heig... | 0 |
4,900,329 | 02/04/2011 16:24:35 | 378,045 | 06/28/2010 13:01:56 | 8 | 0 | List of Anonymous Type and Dynamics... Confused | I found something inside .NET that works a bit differently that I would have expected. The code I am pasting won't make sense, but it is a condensed version of a much more complicated function I have. I'm essentially getting the anonymous type information as a parameter (no instance created yet of the anonymous type)... | dynamic | c#-4.0 | anonymous-types | null | null | null | open | List of Anonymous Type and Dynamics... Confused
===
I found something inside .NET that works a bit differently that I would have expected. The code I am pasting won't make sense, but it is a condensed version of a much more complicated function I have. I'm essentially getting the anonymous type information as a para... | 0 |
1,199,309 | 07/29/2009 10:37:02 | 135,624 | 07/09/2009 12:40:59 | 208 | 15 | Recommend XML Difference open source Java libraries? | I have a requirement to compare two XML documents and report differences. String comparison is not sufficient as I want to be able to say that:
<Foo/>
is the same as
<Foo></Foo>
Anyone used a library they would recommend?
| java | xml | null | null | null | 06/13/2012 13:30:54 | not constructive | Recommend XML Difference open source Java libraries?
===
I have a requirement to compare two XML documents and report differences. String comparison is not sufficient as I want to be able to say that:
<Foo/>
is the same as
<Foo></Foo>
Anyone used a library they would recommend?
| 4 |
3,146,614 | 06/30/2010 05:08:28 | 369,207 | 06/17/2010 10:23:52 | 9 | 1 | Big image with many icon or one image one icon? | I have to display around 100 icons (each 50x50) in Button. I am downloading big png Image which contains all 100 icons, then I create each icon using Image.subImage() method.
But my application getting OutOfMemoryError.
I am thinking about 2 solution for this:
1) download 100 icons as tar(combined into single) f... | lwuit | null | null | null | null | null | open | Big image with many icon or one image one icon?
===
I have to display around 100 icons (each 50x50) in Button. I am downloading big png Image which contains all 100 icons, then I create each icon using Image.subImage() method.
But my application getting OutOfMemoryError.
I am thinking about 2 solution for th... | 0 |
2,571,786 | 04/03/2010 16:08:16 | 307,948 | 04/02/2010 20:27:09 | 1 | 0 | ASP.NET web service using forms authentication from a windows app. | I have an ASP.NET web service that I can access via a windows program but now I want to secure the web service. I can secure the web service using forms authentication. How do you access the secured web service from a windows forms application? | asp.net | null | null | null | null | null | open | ASP.NET web service using forms authentication from a windows app.
===
I have an ASP.NET web service that I can access via a windows program but now I want to secure the web service. I can secure the web service using forms authentication. How do you access the secured web service from a windows forms application? | 0 |
11,333,829 | 07/04/2012 18:16:57 | 1,233,051 | 02/25/2012 21:07:58 | 1 | 0 | Intent with using login page | "I want to create a **login page** through which person can _navigate_ to the another page and he enters wrong ID and password, it will refused to enter with a toast that incorrect id or password. plz can u give me the code"
| android | android-intent | null | null | null | 07/04/2012 19:52:11 | not a real question | Intent with using login page
===
"I want to create a **login page** through which person can _navigate_ to the another page and he enters wrong ID and password, it will refused to enter with a toast that incorrect id or password. plz can u give me the code"
| 1 |
7,521,431 | 09/22/2011 20:57:18 | 959,993 | 09/22/2011 20:54:01 | 1 | 0 | Problem with getJSON response | I have some problem with $.getJSON response in Chrome
The query is
$.getJSON("[http://www.askgeo.com/api/428014/sf2t36ujv1tsf325t5734gstr4/timezone.json?callback=?&points=55.77184,37.623553][1]",
function(json){
<some code>
}
);
if you click on this link you'll get an json text.
By when ... | getjson | null | null | null | null | null | open | Problem with getJSON response
===
I have some problem with $.getJSON response in Chrome
The query is
$.getJSON("[http://www.askgeo.com/api/428014/sf2t36ujv1tsf325t5734gstr4/timezone.json?callback=?&points=55.77184,37.623553][1]",
function(json){
<some code>
}
);
if you click on this link y... | 0 |
6,640,239 | 07/10/2011 09:17:47 | 817,892 | 06/27/2011 18:05:04 | 1 | 0 | SSH on Mac //What Can I do more with SSH? | I can now copy,paste, remove files remotely using ssh on terminal. I would like to know what could I possibly do over SSH. please give me an instruction to do that.
Thank you
Toni | osx | ssh | terminal | null | null | 07/10/2011 13:23:32 | not a real question | SSH on Mac //What Can I do more with SSH?
===
I can now copy,paste, remove files remotely using ssh on terminal. I would like to know what could I possibly do over SSH. please give me an instruction to do that.
Thank you
Toni | 1 |
5,549,208 | 04/05/2011 08:32:57 | 259,328 | 01/26/2010 15:24:33 | 306 | 8 | In iOS - How do I fit a UILabel to its text, without changing its position ? | I have a UILabel which has RTL text in it (I mean the text in it is aligned to the right).
I'm calling sizeToFit on it, so it'll shrink the height of it, and the text won't appear in the middle of the label, but rather on the top.
However, the width is shrinking as well.
And now - the positioning of this label... | ios | uilabel | rtl | null | null | null | open | In iOS - How do I fit a UILabel to its text, without changing its position ?
===
I have a UILabel which has RTL text in it (I mean the text in it is aligned to the right).
I'm calling sizeToFit on it, so it'll shrink the height of it, and the text won't appear in the middle of the label, but rather on the top.
H... | 0 |
2,260,050 | 02/14/2010 03:27:35 | 53,740 | 01/10/2009 18:52:56 | 900 | 9 | What language makes a strong developer these days? | What modern language is good at creating strong developers these days? Python, Ruby, C++, C sharp ... developing for the iPhone? | programming-languages | null | null | null | null | 02/14/2010 03:30:17 | not constructive | What language makes a strong developer these days?
===
What modern language is good at creating strong developers these days? Python, Ruby, C++, C sharp ... developing for the iPhone? | 4 |
7,306,811 | 09/05/2011 10:34:07 | 889,312 | 08/11/2011 06:02:51 | 10 | 0 | Text to Image/PDF converter in PHP | Is there any script, that takes HTML formatted text(including html tag elements) from mysql database and generates a image/PDF for a web application.
Ex HTML text: hello < h1 > World < /h1> It's a < span style="font-size:24";>good< /span> day.
It should read all the tags and display content on the Image according... | php | mysql | html | image-processing | null | null | open | Text to Image/PDF converter in PHP
===
Is there any script, that takes HTML formatted text(including html tag elements) from mysql database and generates a image/PDF for a web application.
Ex HTML text: hello < h1 > World < /h1> It's a < span style="font-size:24";>good< /span> day.
It should read all the tags an... | 0 |
2,821,448 | 05/12/2010 17:56:04 | 332,460 | 05/04/2010 14:29:24 | 8 | 0 | Can a product that uses BouncyCastle be exported from the UK | We are doing work for a company, based in the UK, who are planning on developing an application that uses the BouncyCastle.Crypto.dll. They intend to make their product (including the crypto dll) available for download over the Internet. Are there UK restrictions on the export of crypto software that would prevent them... | c# | cryptography | legal | null | null | 09/02/2011 18:14:53 | off topic | Can a product that uses BouncyCastle be exported from the UK
===
We are doing work for a company, based in the UK, who are planning on developing an application that uses the BouncyCastle.Crypto.dll. They intend to make their product (including the crypto dll) available for download over the Internet. Are there UK res... | 2 |
7,128,499 | 08/19/2011 23:42:03 | 849,953 | 07/18/2011 11:52:36 | 3 | 0 | Motorola Milestone Android - Bluetooth Issue - Paired but not connected | I have tried various devices that I want to connect with bluetooth but none of them work. I can pair them But after pairing it says "Paired but not connected" I have tried all normal steps: Soft upgrade to 2.2.1, Hard reset etc.
Intrestingly, If i downloade the application "Bluetooth File transfer" by medieval softw... | android | bluetooth | connection | motorola | milestone | 08/20/2011 23:38:32 | off topic | Motorola Milestone Android - Bluetooth Issue - Paired but not connected
===
I have tried various devices that I want to connect with bluetooth but none of them work. I can pair them But after pairing it says "Paired but not connected" I have tried all normal steps: Soft upgrade to 2.2.1, Hard reset etc.
Intrestingl... | 2 |
5,631,618 | 04/12/2011 07:10:51 | 703,526 | 04/12/2011 07:05:01 | 1 | 0 | c# app.cofig file | Greetings!
I got this error in my c# windows application: "Configuration system failed to initialize". It was working fine.suddenly i got this exception.It shows innerexception detail as Root element is missing. (C:\\Users\\company\\AppData\\Local\\Clickbase_Corp_Sverige_AB\\TouchStation.vshost.exe_Url_no1nets4fg3oy... | c# | null | null | null | null | null | open | c# app.cofig file
===
Greetings!
I got this error in my c# windows application: "Configuration system failed to initialize". It was working fine.suddenly i got this exception.It shows innerexception detail as Root element is missing. (C:\\Users\\company\\AppData\\Local\\Clickbase_Corp_Sverige_AB\\TouchStation.vshos... | 0 |
1,309,521 | 08/21/2009 00:25:05 | 106,095 | 05/13/2009 08:38:34 | 187 | 13 | Launch a child process on OSX/Unix that doesn't inherit files/ports | I want to launch a child process on OS X such that the child process does not inherit the current process's open files/ports.
Any suggestions on how to accomplish this? Shell commands that I can invoke using the system() function would work too - I just don't know of a good shell command that enables this.
Thank... | unix | processes | osx | null | null | null | open | Launch a child process on OSX/Unix that doesn't inherit files/ports
===
I want to launch a child process on OS X such that the child process does not inherit the current process's open files/ports.
Any suggestions on how to accomplish this? Shell commands that I can invoke using the system() function would work to... | 0 |
9,403,093 | 02/22/2012 21:12:43 | 857,218 | 07/22/2011 03:36:20 | 8 | 0 | Scale HTML content using JQuery Mobile & Phonegap | I need to dynamically load content from HTML emails into some type of content area within my HTML so that it is scaled to fit, exactly the way the native mail apps do for iPhone/Android. I have spent two days Googling and testing to no avail. I'm loading the HTML content (which is often set to width=600 or something ... | jquery-mobile | phonegap | resize | viewport | null | null | open | Scale HTML content using JQuery Mobile & Phonegap
===
I need to dynamically load content from HTML emails into some type of content area within my HTML so that it is scaled to fit, exactly the way the native mail apps do for iPhone/Android. I have spent two days Googling and testing to no avail. I'm loading the HTML... | 0 |
6,624,325 | 07/08/2011 12:21:58 | 706,058 | 04/13/2011 12:41:34 | 48 | 0 | JQuery: ajax request return value "undefined" inside same function | I have this piece of code:
function CallAPI(paramString) {
var returnVal;
var jqxhr = $.get(
"http://url/../"
)
.success(function (data) { returnVal = data; })
.error(function (xhr, ajaxOptions, thrownError) { alert("Error!\n xhr.status = [" + xhr.status ... | jquery | jquery-ajax | return-value | null | null | null | open | JQuery: ajax request return value "undefined" inside same function
===
I have this piece of code:
function CallAPI(paramString) {
var returnVal;
var jqxhr = $.get(
"http://url/../"
)
.success(function (data) { returnVal = data; })
.error(function (xhr, a... | 0 |
4,514,507 | 12/22/2010 22:59:51 | 551,799 | 12/22/2010 22:55:16 | 1 | 0 | jquery Tablesorter - sort field by <input value="value"> | I want to sort my 4th and 5th field by the information on my INPUT attr VALUE
This is my html:
<table class=tablesorter width="764" border=1 cellpadding=0 cellspacing=0 id="objective3">
<thead>
<tr>
<th bgcolor="#396FAE" class="divtopheader1">Strategy</th>
<th bgcolor="#396FAE" class="divt... | jquery | null | null | null | null | null | open | jquery Tablesorter - sort field by <input value="value">
===
I want to sort my 4th and 5th field by the information on my INPUT attr VALUE
This is my html:
<table class=tablesorter width="764" border=1 cellpadding=0 cellspacing=0 id="objective3">
<thead>
<tr>
<th bgcolor="#396FAE" class="divtoph... | 0 |
215,770 | 10/19/2008 00:18:27 | 18,446 | 09/19/2008 01:49:34 | 759 | 43 | Can record field updates in OCaml be generalized? | I'm a very novice OCaml programmer so please forgive me if this is a stupid/obvious question. There's *a lot* to absorb and I may have missed this in the documentation.
I have a base of code that's starting to look like this:
let update_x p x =
add_delta p;
p.x <- x;
refresh p
let... | ocaml | macros | records | null | null | null | open | Can record field updates in OCaml be generalized?
===
I'm a very novice OCaml programmer so please forgive me if this is a stupid/obvious question. There's *a lot* to absorb and I may have missed this in the documentation.
I have a base of code that's starting to look like this:
let update_x p x =
ad... | 0 |
8,233,812 | 11/22/2011 21:06:02 | 299,128 | 03/22/2010 15:06:56 | 6 | 0 | how does a page load in cakephp | When you type name of the controller/view in the url respective page opens in the browser. I wanted to know where is the controller and view instantiated in cakephp. | php | url | cakephp | null | null | 11/23/2011 02:39:13 | not a real question | how does a page load in cakephp
===
When you type name of the controller/view in the url respective page opens in the browser. I wanted to know where is the controller and view instantiated in cakephp. | 1 |
8,476,280 | 12/12/2011 15:00:47 | 874,927 | 08/02/2011 15:19:48 | 144 | 9 | Subclassing the Application Class | In Android when you subclass the `Application` class is it best to intialise variables in the constructor or in `onCreate`? Or does it make no difference? | android | application | constructor | context | super | null | open | Subclassing the Application Class
===
In Android when you subclass the `Application` class is it best to intialise variables in the constructor or in `onCreate`? Or does it make no difference? | 0 |
10,613,362 | 05/16/2012 06:48:37 | 1,359,137 | 04/26/2012 15:52:12 | 23 | 0 | How can I give file extentions list using FileDialog? | I can give extentions for file using JFileChooser.
Example:
JFileChooser chooser = new JFileChooser();
FileNameExtensionFilter filter = new FileNameExtensionFilter(
"JPG & GIF Images", "jpg", "gif");
chooser.setFileFilter(filter);
But I can understand how to do this same thing Using FileDi... | java | filedialog | null | null | null | null | open | How can I give file extentions list using FileDialog?
===
I can give extentions for file using JFileChooser.
Example:
JFileChooser chooser = new JFileChooser();
FileNameExtensionFilter filter = new FileNameExtensionFilter(
"JPG & GIF Images", "jpg", "gif");
chooser.setFileFilter(filter);
... | 0 |
7,611,370 | 09/30/2011 13:50:31 | 359,326 | 06/05/2010 17:52:19 | 52 | 7 | WPF: dynamically created Binding does not work | I want to bind TextBlocks to a Modell. But it does not work and I have no idea why.
class GameModel : INotifyPropertyChanged {
string[] _teamNames;
...
public string teamName(int team)
{
return _teamNames[team];
}
public void setTeamName(int team, string name)
{
... | c# | .net | wpf | binding | null | null | open | WPF: dynamically created Binding does not work
===
I want to bind TextBlocks to a Modell. But it does not work and I have no idea why.
class GameModel : INotifyPropertyChanged {
string[] _teamNames;
...
public string teamName(int team)
{
return _teamNames[team];
}
pub... | 0 |
2,868,380 | 05/19/2010 18:44:36 | 330,642 | 05/02/2010 01:57:10 | 26 | 2 | A funny idea for 404 pages ? | I need a funny idea/inspiration for my 404 pages it can be a picture or funny dialog. | http-status-code-404 | custom-error-pages | website | null | null | 05/19/2010 18:48:46 | off topic | A funny idea for 404 pages ?
===
I need a funny idea/inspiration for my 404 pages it can be a picture or funny dialog. | 2 |
8,137,743 | 11/15/2011 14:19:44 | 940,274 | 09/12/2011 09:58:37 | 109 | 6 | Does anyone have the Scott Allen's ChartBuilder class? | I am trying to use the Scott Allen's ChartBuilder class, but I can't find it anywhere, I tried googling and go through a guide, but it links to msdn page which doesn't exist anymore
Does anyone still have that class? | asp.net | vb.net | mschart | null | null | 11/17/2011 15:55:01 | off topic | Does anyone have the Scott Allen's ChartBuilder class?
===
I am trying to use the Scott Allen's ChartBuilder class, but I can't find it anywhere, I tried googling and go through a guide, but it links to msdn page which doesn't exist anymore
Does anyone still have that class? | 2 |
4,927,796 | 02/07/2011 23:11:56 | 237,696 | 12/23/2009 15:48:17 | 2,818 | 186 | Bitwise not "~" in PHP not working, "Fatal error: Unsupported operand types in ..." | PHP Doc (http://php.net/manual/en/language.operators.bitwise.php) clearly states:
~ $a Not Bits that are set in $a are not set, and vice versa.
So why am I getting a fatal error when trying to run the following line?
~ $noResults;
TIA | php | bitwise | null | null | null | null | open | Bitwise not "~" in PHP not working, "Fatal error: Unsupported operand types in ..."
===
PHP Doc (http://php.net/manual/en/language.operators.bitwise.php) clearly states:
~ $a Not Bits that are set in $a are not set, and vice versa.
So why am I getting a fatal error when trying to run the following line?
... | 0 |
2,293,794 | 02/19/2010 02:53:54 | 182,551 | 10/01/2009 15:01:48 | 21 | 5 | Can't change UITableViewCell size in Interface Builder | does anyone have the same problem as I do? ... I've upgraded to the iPhone SDK 3.2 and I am unable to resize UITableViewCell object in my XIB file (usually I've been just resizing the view but now the cell has the same size and there is just a grey are around) ... btw, I've tried to reinstall twice including one deep r... | iphone | xcode | interface-builder | uitableviewcell | null | null | open | Can't change UITableViewCell size in Interface Builder
===
does anyone have the same problem as I do? ... I've upgraded to the iPhone SDK 3.2 and I am unable to resize UITableViewCell object in my XIB file (usually I've been just resizing the view but now the cell has the same size and there is just a grey are around)... | 0 |
6,271,079 | 06/07/2011 20:16:18 | 768,472 | 05/24/2011 20:23:16 | 26 | 1 | Assign to NSString after alloc/init | This doesn't seem to work:
NSString *string=[[NSString alloc] init];
string=@"%@M",anotherstring;
I expect this to make "string" equal to "5M" if "anotherstring" is "5".
Is this not the right syntax? Now, I could use initWithFormat and it would work, but how can you separate it into two different line... | objective-c | null | null | null | null | null | open | Assign to NSString after alloc/init
===
This doesn't seem to work:
NSString *string=[[NSString alloc] init];
string=@"%@M",anotherstring;
I expect this to make "string" equal to "5M" if "anotherstring" is "5".
Is this not the right syntax? Now, I could use initWithFormat and it would work, but how ca... | 0 |
10,989,980 | 06/12/2012 02:48:59 | 1,442,957 | 06/07/2012 18:23:52 | 6 | 0 | python django dynamic zipping and download | I have a checkbox form. I am trying to make it so if a user checks the "video" box and submits the form then the video files gets zipped and django generates a dynamic download that pops up on the user screen. I want the same to happen for the audio. BUT if the user selects both checkboxes and submits, the the audio an... | python | html | django | null | null | null | open | python django dynamic zipping and download
===
I have a checkbox form. I am trying to make it so if a user checks the "video" box and submits the form then the video files gets zipped and django generates a dynamic download that pops up on the user screen. I want the same to happen for the audio. BUT if the user selec... | 0 |
4,601,446 | 01/05/2011 06:36:20 | 474,101 | 10/01/2010 08:06:09 | 25 | 1 | Write a program to enter a string and count number of character and number of word | i want to enter a srring and count number of character and number of word...without using libary funcyion | c | string | null | null | null | 07/20/2012 11:07:53 | not a real question | Write a program to enter a string and count number of character and number of word
===
i want to enter a srring and count number of character and number of word...without using libary funcyion | 1 |
6,596,258 | 07/06/2011 12:20:25 | 829,034 | 05/12/2011 18:55:41 | 1 | 1 | Can't dispatch DDM chunk 52454151: no handler defined error | this code is not work properly.
Button button = (Button)findViewById(R.id.button_start);
button.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
Intent intent = new Intent(TestActivity.this,Lession1.class);
startA... | android | null | null | null | null | null | open | Can't dispatch DDM chunk 52454151: no handler defined error
===
this code is not work properly.
Button button = (Button)findViewById(R.id.button_start);
button.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
Intent i... | 0 |
10,585,120 | 05/14/2012 14:16:49 | 179,120 | 09/25/2009 15:21:41 | 1,986 | 70 | perl merge output and stderr and filter lines in windows | I would like to run a external command in perl and filter some of the lines.
I don't know how to filter the lines that go to stderr. I have the following code right now:
#!/usr/bin/env perl
use File::Spec;
#open STDERR, '>', File::Spec->devnull() or die "could not open STDERR: $!\n";
open(FIL... | perl | null | null | null | null | null | open | perl merge output and stderr and filter lines in windows
===
I would like to run a external command in perl and filter some of the lines.
I don't know how to filter the lines that go to stderr. I have the following code right now:
#!/usr/bin/env perl
use File::Spec;
#open STDERR, '>', File::Spec->d... | 0 |
5,899,754 | 05/05/2011 14:49:55 | 727,033 | 04/27/2011 10:31:02 | 13 | 0 | how to Play a sound file stocked in a data base Access | Please can you give me the code that allows me to read a file.wav ("alarme.wav") stored in a database, I tried the following code:
private void button1_Click (object sender, EventArgs e)
{
OdbcConnection cn = new OdbcConnection ("DSN = cp1");
cn.Open ();
OdbcCommand cmd1 = new OdbcComman... | c# | null | null | null | null | null | open | how to Play a sound file stocked in a data base Access
===
Please can you give me the code that allows me to read a file.wav ("alarme.wav") stored in a database, I tried the following code:
private void button1_Click (object sender, EventArgs e)
{
OdbcConnection cn = new OdbcConnection ("DSN = cp... | 0 |
11,406,576 | 07/10/2012 04:23:33 | 1,495,157 | 07/02/2012 04:55:25 | 1 | 0 | memory allocation for functions in c | Is the memory for the c function allocated when the program is compiled first or is it allocated when the function call is seen first?i.e is memory for c function allocated in stack or code segment. | memory-management | null | null | null | null | null | open | memory allocation for functions in c
===
Is the memory for the c function allocated when the program is compiled first or is it allocated when the function call is seen first?i.e is memory for c function allocated in stack or code segment. | 0 |
6,000,090 | 05/14/2011 05:56:07 | 354,247 | 05/31/2010 01:50:38 | 449 | 21 | Does Ruby Use Abstract Registers? | I was wondering if the Ruby language uses abstract registers for data.
I feel like this could be one of the main reasons why Ruby is naturally a slow language.
Thanks in advance,
hwrd | ruby | cpu-registers | null | null | null | 05/14/2011 08:18:59 | not a real question | Does Ruby Use Abstract Registers?
===
I was wondering if the Ruby language uses abstract registers for data.
I feel like this could be one of the main reasons why Ruby is naturally a slow language.
Thanks in advance,
hwrd | 1 |
8,585,764 | 12/21/2011 06:14:36 | 1,109,196 | 11/02/2011 09:05:16 | 1 | 0 | One scource code multiple web applications | i have a project to work on , has one source code and they need multiple versions
i.e : different domains to work under the same code...
let me know what technology behind this? | php | null | null | null | null | 12/21/2011 13:53:13 | not a real question | One scource code multiple web applications
===
i have a project to work on , has one source code and they need multiple versions
i.e : different domains to work under the same code...
let me know what technology behind this? | 1 |
7,048,317 | 08/13/2011 03:08:41 | 892,700 | 08/13/2011 03:08:41 | 1 | 0 | YUI3 Tabview How to determine the label of selected tab | I need a YUI3 tabview like
<div id="demo"></div>
<script>
YUI().use('tabview', function(Y) {
var tabview = new Y.TabView({
children: [{
label: 'foo',
content: '<p>foo content</p>'
}, {
label: 'bar',
con... | yui3 | tabview | null | null | null | null | open | YUI3 Tabview How to determine the label of selected tab
===
I need a YUI3 tabview like
<div id="demo"></div>
<script>
YUI().use('tabview', function(Y) {
var tabview = new Y.TabView({
children: [{
label: 'foo',
content: '<p>foo content</p>'
... | 0 |
7,759,198 | 10/13/2011 19:09:12 | 994,108 | 10/13/2011 18:26:55 | 1 | 0 | MIPS machine code | Convert the following MIPS instructions to the machine codes (Write answers in hex):
Machine Code in Hex
add$t1, $t2, $t3 _________________________________
addi$t2, $t1, -7_________________________________
Register IDs: $t1 – 9; $t2 – 10; $t3 – 11
| mips | null | null | null | null | 10/13/2011 20:53:44 | too localized | MIPS machine code
===
Convert the following MIPS instructions to the machine codes (Write answers in hex):
Machine Code in Hex
add$t1, $t2, $t3 _________________________________
addi$t2, $t1, -7_________________________________
Register IDs: $t1 – 9; $t2 – 10; $t3 – 11
| 3 |
8,477,933 | 12/12/2011 17:01:39 | 632,998 | 02/24/2011 19:38:38 | 1,216 | 61 | Passing two parameter functions into apply | Say I have a function called
> myfun <- function(x,y) {median(x,y)} #obviously the actual function is something more complicated
Now lets say in a certain use, the y parameter is constant, (say `c(1,2,3,4,5)`). Is there any way I can pass this into apply without wrapping it in another function?
i.e.
<br />inst... | r | null | null | null | null | null | open | Passing two parameter functions into apply
===
Say I have a function called
> myfun <- function(x,y) {median(x,y)} #obviously the actual function is something more complicated
Now lets say in a certain use, the y parameter is constant, (say `c(1,2,3,4,5)`). Is there any way I can pass this into apply without wr... | 0 |
232,781 | 10/24/2008 07:51:52 | 23,491 | 09/29/2008 15:38:54 | 23 | 2 | build a string using checkbox | can anybody show me how to build a string using checkbox. what would be the best way to do this.
for example i have 4 checkbox's each with its own value (valueA, valueB, valueC, valueD)
the thing is i want to display each result in different lines.
result if B & C is selected :
valueB <br>
valueC
and ho... | checkbox | c# | vb | visual-studio | null | null | open | build a string using checkbox
===
can anybody show me how to build a string using checkbox. what would be the best way to do this.
for example i have 4 checkbox's each with its own value (valueA, valueB, valueC, valueD)
the thing is i want to display each result in different lines.
result if B & C is selected :... | 0 |
11,524,863 | 07/17/2012 14:35:31 | 824,750 | 07/01/2011 11:15:43 | 3,852 | 209 | Blur background with Viewbox | i'm building a similar effect which AERO glass gives you, a blurred window. I quickly realized that is not easy in WPF, but i managed to get it to work almost completely.
I'm just stuck when a Viewbox is involved.
So what i did was: I created a rectangle, made a visual brush to take a portion of a given background ... | c# | wpf | viewbox | visualbrush | null | null | open | Blur background with Viewbox
===
i'm building a similar effect which AERO glass gives you, a blurred window. I quickly realized that is not easy in WPF, but i managed to get it to work almost completely.
I'm just stuck when a Viewbox is involved.
So what i did was: I created a rectangle, made a visual brush to tak... | 0 |
4,093,342 | 11/04/2010 02:12:16 | 452,252 | 09/20/2010 02:17:38 | 1 | 0 | How to design a reusable web service? | I am writing a common web service which will be invoked by different applications. I can foresee that some web methods should be resuable since the schema of soap request will be same. However, the response schema might be updated depends on client type. To reduce this impact of modifition, I would like to design the r... | web-services | null | null | null | null | null | open | How to design a reusable web service?
===
I am writing a common web service which will be invoked by different applications. I can foresee that some web methods should be resuable since the schema of soap request will be same. However, the response schema might be updated depends on client type. To reduce this impact ... | 0 |
8,278,966 | 11/26/2011 14:10:46 | 744,240 | 05/08/2011 21:11:07 | 11 | 0 | R: how can i get cluster number correspond to data using k-means clustering techniques in R? | i clustered data by k-means clustering method, how can i get cluster number correspond to data using k-means clustering techniques in R? In order to get each record belongs to which cluster.
example
12 32 13 => 1. 12,13 2. 32 | r | cluster-analysis | k-means | null | null | null | open | R: how can i get cluster number correspond to data using k-means clustering techniques in R?
===
i clustered data by k-means clustering method, how can i get cluster number correspond to data using k-means clustering techniques in R? In order to get each record belongs to which cluster.
example
12 32 13 => ... | 0 |
8,633,858 | 12/26/2011 07:38:00 | 1,113,499 | 12/23/2011 13:45:11 | 1 | 0 | online exam application in php | i am developing general online exam app in php
i want to put a timer of 30 minutes, while ending the page should be redirected to another one and session will be ended automatically so that candidate can not attempt it again.
i have used set_time_limit(); function bt how it works i dnt know, please provide me som... | php | application | online | exam | null | 12/26/2011 23:19:44 | not a real question | online exam application in php
===
i am developing general online exam app in php
i want to put a timer of 30 minutes, while ending the page should be redirected to another one and session will be ended automatically so that candidate can not attempt it again.
i have used set_time_limit(); function bt how it wor... | 1 |
2,590,384 | 04/07/2010 06:18:06 | 100,240 | 05/03/2009 12:46:50 | 601 | 4 | How to delete refClass record in Doctrine? | I have many-to-many relations with the following tables.
post
tag
post_tag
I created three classes with Doctrine, so I have the following classes as well.
BasePost
BaseTag
BasePostTag
in the setUp() method, I defined relations. I like to delete tag record when I delete post record. So I simply put casca... | doctrine | many-to-many | null | null | null | null | open | How to delete refClass record in Doctrine?
===
I have many-to-many relations with the following tables.
post
tag
post_tag
I created three classes with Doctrine, so I have the following classes as well.
BasePost
BaseTag
BasePostTag
in the setUp() method, I defined relations. I like to delete tag record ... | 0 |
9,080,575 | 01/31/2012 13:48:16 | 266,642 | 02/04/2010 23:02:07 | 681 | 21 | Google Map API doesn'twork when DOCTYPE declared in Chrome and Firefox | I have this weird problem where my Google Maps API script doesn't work, *no map is rendered*, when I declare a DOCTYPE.
Without a DOCTYPE I get the following warning, but it works and *a map is rendered*:
> ***Resource interpreted as Other but transferred with MIME type undefined.***
I have no real clue to wha... | javascript | google-maps-api-3 | javascript-objects | null | null | null | open | Google Map API doesn'twork when DOCTYPE declared in Chrome and Firefox
===
I have this weird problem where my Google Maps API script doesn't work, *no map is rendered*, when I declare a DOCTYPE.
Without a DOCTYPE I get the following warning, but it works and *a map is rendered*:
> ***Resource interpreted as Othe... | 0 |
9,064,780 | 01/30/2012 13:41:34 | 96,617 | 04/27/2009 15:27:38 | 333 | 30 | Parsing dates with json-lib | I have the following JSON object:
{"startDate":"30/01/2008","startPeriod":"2008","dboid":"5308204301485575800000","action":"update","grid":"variantAssigGrid","endDate":"30/01/2011","endPeriod":"2011","institution":"5301004301485575300000"}
After applying JSONObject.toBean, start and end date are set to the curren... | json | json-lib | null | null | null | null | open | Parsing dates with json-lib
===
I have the following JSON object:
{"startDate":"30/01/2008","startPeriod":"2008","dboid":"5308204301485575800000","action":"update","grid":"variantAssigGrid","endDate":"30/01/2011","endPeriod":"2011","institution":"5301004301485575300000"}
After applying JSONObject.toBean, start a... | 0 |
2,852,629 | 05/17/2010 20:41:09 | 120,854 | 06/10/2009 20:17:27 | 359 | 26 | datalist itemdatabound event having issues changing item bg color on condition | Hey guys I'm trying to do something really simple.. I'm checking a data column in my datarow if it's > 0 I want the item back color in the datalist to be green if its < 0 remain transparent...
if (e.Item.ItemType == ListItemType.Item ||
e.Item.ItemType == ListItemType.AlternatingItem)
{
... | c# | asp.net | datalist | ado.net | null | null | open | datalist itemdatabound event having issues changing item bg color on condition
===
Hey guys I'm trying to do something really simple.. I'm checking a data column in my datarow if it's > 0 I want the item back color in the datalist to be green if its < 0 remain transparent...
if (e.Item.ItemType == ListItemType.... | 0 |
6,105,555 | 05/24/2011 04:03:16 | 767,060 | 05/24/2011 03:58:39 | 1 | 0 | Program for working on systems services using c++, Say performance or bandwidth monitoring. | I need to program basic system services of windows like network monitoring, performance monitoring etc in c or c++, i couldn't find any books for those system services in c or c++. Can anyone show me a piece of program or concept where or how to begin with. | c++ | c | windows-services | operating-system | system | 05/24/2011 11:11:05 | not a real question | Program for working on systems services using c++, Say performance or bandwidth monitoring.
===
I need to program basic system services of windows like network monitoring, performance monitoring etc in c or c++, i couldn't find any books for those system services in c or c++. Can anyone show me a piece of program or c... | 1 |
9,144,207 | 02/04/2012 20:21:37 | 80,738 | 03/20/2009 23:10:43 | 36 | 4 | Geocoding API using JSonKit | I have trouble in parsing Google Geocoding API response. Here is the method :
-(void) findLatLong:(NSString*) adr{
NSString *encodedAddress = (NSString *) CFURLCreateStringByAddingPercentEscapes(
NULL, (CFStringRef) a... | objective-c | google-maps | mapkit | geocoding | jsonkit | null | open | Geocoding API using JSonKit
===
I have trouble in parsing Google Geocoding API response. Here is the method :
-(void) findLatLong:(NSString*) adr{
NSString *encodedAddress = (NSString *) CFURLCreateStringByAddingPercentEscapes(
... | 0 |
186,007 | 10/09/2008 05:28:54 | 11,135 | 09/16/2008 05:26:36 | 22 | 4 | What is the best language construction in C#? | What is the best language construction you have worked with in C#.
One of my favorites is Generics. | c# | null | null | null | null | 10/09/2008 07:56:25 | not constructive | What is the best language construction in C#?
===
What is the best language construction you have worked with in C#.
One of my favorites is Generics. | 4 |
8,084,007 | 11/10/2011 17:51:06 | 865,663 | 07/27/2011 14:44:15 | 1 | 0 | Dotnetnuke 6 Ribbonbar Admin and dropdown gone | <a href="http://i.stack.imgur.com/cC4sc.jpg">http://i.stack.imgur.com/cC4sc.jpg</a>
Above is the ribbonbar after I have logged in as a super user. The Admin option next to Host is completely gone. I would have put the image in the post directly, but I am a new user.
The site is running DNN6, the skin is only in t... | dotnetnuke | runtime-error | dotnetnuke-6 | null | null | null | open | Dotnetnuke 6 Ribbonbar Admin and dropdown gone
===
<a href="http://i.stack.imgur.com/cC4sc.jpg">http://i.stack.imgur.com/cC4sc.jpg</a>
Above is the ribbonbar after I have logged in as a super user. The Admin option next to Host is completely gone. I would have put the image in the post directly, but I am a new user... | 0 |
11,521,129 | 07/17/2012 11:00:26 | 830,993 | 07/06/2011 06:36:58 | 167 | 8 | NTAccount.Translate Method fails with error Some or all identity references could not be translated | PipeAccessRule par = new PipeAccessRule("Everyone", PipeAccessRights.ReadWrite, System.Security.AccessControl.AccessControlType.Allow);
This code fails with error:
> Some or all identity references could not be translated.
I guess this is because I'm using "Everyone" while launch my app on non-English loca... | c# | .net | translate | user-accounts | null | null | open | NTAccount.Translate Method fails with error Some or all identity references could not be translated
===
PipeAccessRule par = new PipeAccessRule("Everyone", PipeAccessRights.ReadWrite, System.Security.AccessControl.AccessControlType.Allow);
This code fails with error:
> Some or all identity references could n... | 0 |
9,957,026 | 03/31/2012 15:05:57 | 1,305,161 | 03/31/2012 14:57:10 | 1 | 0 | How to authenticate username and password using keychain | I am working on creating an app login details. I have gone through keychain and i was able to create keychain wrapper. But the problem is how can we authenticate username and password details entered in login page.I have programmed to set username and password using he following
[keychainItem setObject:@"passwor... | ios | authentication | login | keychain | null | null | open | How to authenticate username and password using keychain
===
I am working on creating an app login details. I have gone through keychain and i was able to create keychain wrapper. But the problem is how can we authenticate username and password details entered in login page.I have programmed to set username and passwo... | 0 |
8,935,263 | 01/20/2012 00:17:22 | 1,082,764 | 12/06/2011 03:31:49 | 55 | 0 | What is the best way to protect my DB class from being hacked | I Have a class called 'DBinterface' and a class called 'user'.
1. is it perfectly fine for the connect function to be public?
class dbinterface {
private $_dbLink;
private $dbHost = 'host';
private $dbUser = 'user';
private $dbName = 'name';
pri... | php | oop | null | null | null | 01/20/2012 23:25:44 | not a real question | What is the best way to protect my DB class from being hacked
===
I Have a class called 'DBinterface' and a class called 'user'.
1. is it perfectly fine for the connect function to be public?
class dbinterface {
private $_dbLink;
private $dbHost = 'host';
private $dbUse... | 1 |
4,908,444 | 02/05/2011 17:41:42 | 430,979 | 08/25/2010 17:03:29 | 6 | 0 | Checksum Failure | I've got this script and it produces the following error: 001 Checksum failure
This is the script, i don't know what's wrong with it, could you help me?
<?php
/*
Access control for TargetPay Pay per Use
(C) TargetMedia 2007
Upload this file in the protected directory and make sure
th... | php | checksum | null | null | null | 02/07/2011 02:39:56 | not a real question | Checksum Failure
===
I've got this script and it produces the following error: 001 Checksum failure
This is the script, i don't know what's wrong with it, could you help me?
<?php
/*
Access control for TargetPay Pay per Use
(C) TargetMedia 2007
Upload this file in the protected directory... | 1 |
9,456,272 | 02/26/2012 19:17:22 | 844,039 | 07/14/2011 07:24:36 | 69 | 4 | error with setContentView on tabs and AsyncTask | I have a strange error with my code.
I am trying to show to user logo and after that to display the tabs.
Tried to clean and build project still the same errors,and I dont use import R.
But my problem is some strange error :
java.lang.RuntimeException: Your content must have a TabHost whose id attribute is ... | android | tabs | android-asynctask | null | null | null | open | error with setContentView on tabs and AsyncTask
===
I have a strange error with my code.
I am trying to show to user logo and after that to display the tabs.
Tried to clean and build project still the same errors,and I dont use import R.
But my problem is some strange error :
java.lang.RuntimeException: Yo... | 0 |
1,187,627 | 07/27/2009 11:20:28 | 131,870 | 07/01/2009 17:54:58 | 26 | 10 | Need a help in query? | I have a hierarchical tree table structure .How can i get the left tree and right tree .
1 a NULL
2 b 1
3 c 1
4 d 2
5 e 2
6 f 3
7 g 3
8 h 4
9 i 4
10 j 5
11 k 5
12 l 6
If i have the id of a ie 1 .how can i get the tree of b and c
i am expecting the t... | sql | sql-server | sql-server-2005 | null | null | null | open | Need a help in query?
===
I have a hierarchical tree table structure .How can i get the left tree and right tree .
1 a NULL
2 b 1
3 c 1
4 d 2
5 e 2
6 f 3
7 g 3
8 h 4
9 i 4
10 j 5
11 k 5
12 l 6
If i have the id of a ie 1 .how can i get the tree of b an... | 0 |
9,861,368 | 03/25/2012 15:30:28 | 1,230,945 | 02/24/2012 14:12:31 | 11 | 0 | knowing the network operator name in J2ME | How do i get the network operator name in an app written with J2ME? I am recently trying to develop an app on nokia s40 which should have an exclusive access to a particular network operator. Is there any API or library of such? | java-me | nokia | null | null | null | null | open | knowing the network operator name in J2ME
===
How do i get the network operator name in an app written with J2ME? I am recently trying to develop an app on nokia s40 which should have an exclusive access to a particular network operator. Is there any API or library of such? | 0 |
8,214,792 | 11/21/2011 16:10:28 | 1,058,123 | 11/21/2011 15:54:26 | 1 | 0 | Is there any programmatically way to access the data of incoming emails in other android application? | I m building a project using android in which i need to use some data of incoming emails from android mobile device.
These emails would be in some specific content format. example:
Person Name:xyz
Contact No:1234567890
Action:abc
Plz tell me how can i read such data. | android | null | null | null | null | 11/21/2011 18:15:44 | not a real question | Is there any programmatically way to access the data of incoming emails in other android application?
===
I m building a project using android in which i need to use some data of incoming emails from android mobile device.
These emails would be in some specific content format. example:
Person Name:xyz
Contact N... | 1 |
792,804 | 04/27/2009 09:24:44 | 5,363 | 09/09/2008 10:58:29 | 2,706 | 118 | IP address changes "automagically" for Default Web Site in IIS | I am having a really weird issue with IIS on one of our servers. Occasionally it seems to change the IP address from (All Unassigned) to 127.0.0.1, causing everything that uses our web service to fail. Does IIS log the configuration changes somewhere? Did anyone have similar experiences? Many people have access to this... | iis | iis6 | web-services | null | null | null | open | IP address changes "automagically" for Default Web Site in IIS
===
I am having a really weird issue with IIS on one of our servers. Occasionally it seems to change the IP address from (All Unassigned) to 127.0.0.1, causing everything that uses our web service to fail. Does IIS log the configuration changes somewhere? ... | 0 |
11,067,196 | 06/16/2012 21:34:47 | 1,454,276 | 06/13/2012 16:53:37 | 1 | 0 | Create and insert from Temporary table using Linq to SQL in DBML | I am looking to create Temporary table and using LINQ TO SQL .net 3.5
CREATE TABLE #InfoDetails
(
ID INT NOT NULL,
Detail SMALLINT NOT NULL,
PKeyID BIGINT NOT NULL,
HashValue VARCHAR(128) NULL,
InfoErrors XML NULL,
ReasonCode CHAR(2) NULL,
ReasonCodeDes ... | .net | linq | sql-server-2008 | null | null | null | open | Create and insert from Temporary table using Linq to SQL in DBML
===
I am looking to create Temporary table and using LINQ TO SQL .net 3.5
CREATE TABLE #InfoDetails
(
ID INT NOT NULL,
Detail SMALLINT NOT NULL,
PKeyID BIGINT NOT NULL,
HashValue VARCHAR(128) NULL,
InfoErrors ... | 0 |
6,615,019 | 07/07/2011 17:58:46 | 461,844 | 09/29/2010 14:28:14 | 8 | 0 | Make a website with Google Maps Interface | I want to make a website which will have content strewn across and like Google maps it will have a navigator and you can pan and zoom around.
Question: How can I make one? | google-maps | google | interface | website | null | 07/07/2011 19:41:49 | not a real question | Make a website with Google Maps Interface
===
I want to make a website which will have content strewn across and like Google maps it will have a navigator and you can pan and zoom around.
Question: How can I make one? | 1 |
1,931,605 | 12/19/2009 01:21:47 | 230,134 | 12/12/2009 04:42:35 | 26 | 2 | Does a programming framework make you less of a programmer | Out in the dev lang there are many many, frameworks for all types of languages. For instance, javascript has jQuery, which I use all the time without even thinking about it. Then for php there is Zend and CodeIgnitor, Ruby has rails, Python has django. That's just a few off the top of my head.
I have always been the... | frameworks | null | null | null | null | 12/19/2009 01:37:35 | not a real question | Does a programming framework make you less of a programmer
===
Out in the dev lang there are many many, frameworks for all types of languages. For instance, javascript has jQuery, which I use all the time without even thinking about it. Then for php there is Zend and CodeIgnitor, Ruby has rails, Python has django. Tha... | 1 |
4,133,139 | 11/09/2010 11:28:47 | 293,838 | 03/15/2010 09:15:16 | 41 | 2 | Drupal - Flagging nodes on behalf of another user(programmatically) | I have a custom module which allows a user to invite friends to see his/her favourite(flagged) nodes.
Upon the invitation/registration.. I want to be able to duplicate the (inviter)users flags for the new(invited) user.
i read http://drupal.org/node/305086 and it says to use:
function flag($action, $conten... | php | drupal | flags | null | null | null | open | Drupal - Flagging nodes on behalf of another user(programmatically)
===
I have a custom module which allows a user to invite friends to see his/her favourite(flagged) nodes.
Upon the invitation/registration.. I want to be able to duplicate the (inviter)users flags for the new(invited) user.
i read http://drupal.... | 0 |
2,698,057 | 04/23/2010 11:17:24 | 2,942 | 08/26/2008 08:29:31 | 724 | 29 | Caching view-port based Geo-queries | I have a web app with a giant Google Map in it. As users pan and zoom around on the map, points are dynamically loaded through AJAX call which include the viewport bounds (NE and SW corner coordinates) and some other assorted parameters.
How do I cache these request for points? The problem is that the parameters are... | geospatial | google-maps | caching | null | null | null | open | Caching view-port based Geo-queries
===
I have a web app with a giant Google Map in it. As users pan and zoom around on the map, points are dynamically loaded through AJAX call which include the viewport bounds (NE and SW corner coordinates) and some other assorted parameters.
How do I cache these request for point... | 0 |
10,247,312 | 04/20/2012 13:33:35 | 228,755 | 12/10/2009 11:56:45 | 2,594 | 119 | How to prepare an app for Enterprise In-House Distribution in Xcode 3.2.5? | We have purchased Enterprise Program account and by the link
https://developer.apple.com/library/IOs/#documentation/ToolsLanguages/Conceptual/DevPortalGuide/DistributinganApp/DistributinganApp.html
I came to know that we can distribute our application to our employees without submission to AppStore.
With hel... | iphone | ios | ipad | distribution | in-house-distribution | null | open | How to prepare an app for Enterprise In-House Distribution in Xcode 3.2.5?
===
We have purchased Enterprise Program account and by the link
https://developer.apple.com/library/IOs/#documentation/ToolsLanguages/Conceptual/DevPortalGuide/DistributinganApp/DistributinganApp.html
I came to know that we can distrib... | 0 |
9,320,939 | 02/16/2012 23:52:40 | 1,885 | 08/19/2008 04:19:18 | 704 | 29 | Can somebody explain the MySQL cost options? | After having worked with a Microsoft stack - VB.Net, ASP.Net, SQL Server - for the past 10 years, we our now faced with having to develop an application for both Windows and Mac environments.
It has been suggested that MySQL, for the database, is available on both platforms.
I've been under the impression that M... | mysql | database | deployment | null | null | 02/16/2012 23:56:11 | off topic | Can somebody explain the MySQL cost options?
===
After having worked with a Microsoft stack - VB.Net, ASP.Net, SQL Server - for the past 10 years, we our now faced with having to develop an application for both Windows and Mac environments.
It has been suggested that MySQL, for the database, is available on both pl... | 2 |
11,555,890 | 07/19/2012 07:29:11 | 1,530,719 | 07/17/2012 05:29:39 | 1 | 1 | how to parse xml with special character? specifically for ampersand | I am getting data from text box and change it into xml format and store it in data base. For allowing special characters i wrote javascript function to replace special character with its html entities.
" "
& &
< <
> >
for "quotes , less than , greater th... | javascript | xml | special-characters | null | null | null | open | how to parse xml with special character? specifically for ampersand
===
I am getting data from text box and change it into xml format and store it in data base. For allowing special characters i wrote javascript function to replace special character with its html entities.
" "
& &
... | 0 |
5,934,703 | 05/09/2011 09:02:35 | 720,072 | 04/22/2011 05:00:40 | 1 | 0 | How to integrate Linkedin with my android application? | i want to integrate linkedin with my android app.
In this i want to do login with linkedin and to do post on my linked account.
So can you help me how i can do it? Please reply ASAP.
and also give steps to follow? | android | null | null | null | null | 05/09/2011 09:18:06 | not a real question | How to integrate Linkedin with my android application?
===
i want to integrate linkedin with my android app.
In this i want to do login with linkedin and to do post on my linked account.
So can you help me how i can do it? Please reply ASAP.
and also give steps to follow? | 1 |
5,560,229 | 04/06/2011 00:36:20 | 507,686 | 11/14/2010 23:29:40 | 40 | 0 | how to iterate over PCB's to show information in a Linux Kernel Module? | I want to write a little Linux Kernel Module that can show me the PID of all running processes.
I have the following code:
/*
* procInfo.c My Kernel Module for process info
*/
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
/*
* The... | process | module | kernel | pid | null | null | open | how to iterate over PCB's to show information in a Linux Kernel Module?
===
I want to write a little Linux Kernel Module that can show me the PID of all running processes.
I have the following code:
/*
* procInfo.c My Kernel Module for process info
*/
#include <linux/init.h>
#incl... | 0 |
5,295,765 | 03/14/2011 07:12:52 | 769,225 | 02/07/2011 06:24:12 | 13 | 0 | toast issue in android | i am new developer in android,
i have displayed simple toast when i clicked on a button.my is issue is when i clicked on button multiple times that toast message displaying till get the main screen.i would like to stop the toast when i got main screen and kill the toast message in corresponding activity.i have attache... | android | issues | toast | null | null | null | open | toast issue in android
===
i am new developer in android,
i have displayed simple toast when i clicked on a button.my is issue is when i clicked on button multiple times that toast message displaying till get the main screen.i would like to stop the toast when i got main screen and kill the toast message in correspon... | 0 |
6,202,454 | 06/01/2011 14:03:28 | 746,694 | 05/10/2011 11:01:21 | 16 | 1 | Operation now in progress error on connect( function) error | Hi everyone i searched all web, but i didnt find properly a solution about my problem. The Problem is that: I want to set timeout value of function connect but i get this error : "Operation now in progress"
my code;
if ((he = gethostbyname(authdefhost)) == NULL) {
snprintf(errbuf, ... | c | sockets | network-programming | null | null | null | open | Operation now in progress error on connect( function) error
===
Hi everyone i searched all web, but i didnt find properly a solution about my problem. The Problem is that: I want to set timeout value of function connect but i get this error : "Operation now in progress"
my code;
if ((he = gethostb... | 0 |
9,873,802 | 03/26/2012 14:15:09 | 614,157 | 02/12/2011 11:20:20 | 3,869 | 240 | What are the different frameworks for Graph processing and how do they rate? | For Graph processing I am aware of Giraph, Hama, GoldenORB. What are the other frameworks for Graph processing in Java and which is the most used and active framework? | java | frameworks | graph | null | null | 03/27/2012 15:53:19 | not constructive | What are the different frameworks for Graph processing and how do they rate?
===
For Graph processing I am aware of Giraph, Hama, GoldenORB. What are the other frameworks for Graph processing in Java and which is the most used and active framework? | 4 |
7,617,496 | 10/01/2011 01:16:15 | 974,032 | 10/01/2011 01:05:01 | 1 | 0 | RegEx to replace trailing underscore with number of a string | Hello fellow programmers,
I have an ID that looks like this: **prefix_my-awesome-slug_123**
Now I would like to have a regular expression, that removes the underscore and number on the end (**_%d**).
Thank you in advance! | regex | integer | expression | underscore | null | null | open | RegEx to replace trailing underscore with number of a string
===
Hello fellow programmers,
I have an ID that looks like this: **prefix_my-awesome-slug_123**
Now I would like to have a regular expression, that removes the underscore and number on the end (**_%d**).
Thank you in advance! | 0 |
10,662,447 | 05/19/2012 05:01:20 | 1,404,670 | 05/19/2012 04:57:44 | 1 | 0 | Saving Euro currency value in database | I want to store euro value as in format like 12.230,30 in database .If anyone have solution please help me
thanks in advance | sql-server | null | null | null | null | 05/22/2012 01:47:10 | not a real question | Saving Euro currency value in database
===
I want to store euro value as in format like 12.230,30 in database .If anyone have solution please help me
thanks in advance | 1 |
3,683,920 | 09/10/2010 10:38:32 | 270,862 | 02/11/2010 06:14:59 | 6 | 1 | Problems With Simple captcha. | I have a weird issue .I am using simple captcha in forms in my rails applications. If I am using one captcha in a web page I don't have any problem. But I have a scenario of using three(3) forms in one page in which all the three forms will have the captcha . So that when I refresh the page the captcha data of the th... | ruby-on-rails | ruby | ruby-on-rails-plugins | null | null | null | open | Problems With Simple captcha.
===
I have a weird issue .I am using simple captcha in forms in my rails applications. If I am using one captcha in a web page I don't have any problem. But I have a scenario of using three(3) forms in one page in which all the three forms will have the captcha . So that when I refresh ... | 0 |
9,449,173 | 02/25/2012 23:45:02 | 657,714 | 03/13/2011 17:26:29 | 109 | 4 | How can I strip Windows drive lettering out of my reformed path? Delphi or Pascal | Further to [this answered question][1] I have another sticky problem. My coding is Free Pascal but Delphi solutions will work probably.
In brief, I have a string value of concatenated paths that is formed by taking a source directory and recreating that tree in a destination directory. e.g.
C:\SourceDir\SubDirA ... | delphi | delete | freepascal | ifdef | null | null | open | How can I strip Windows drive lettering out of my reformed path? Delphi or Pascal
===
Further to [this answered question][1] I have another sticky problem. My coding is Free Pascal but Delphi solutions will work probably.
In brief, I have a string value of concatenated paths that is formed by taking a source direc... | 0 |
10,261,268 | 04/21/2012 17:20:39 | 1,218,495 | 02/18/2012 21:46:15 | 44 | 0 | How to make an iOS calculator, by just using a UITextField | I am looking to create an iOS calculator, just by using a UITextField. So for example; somebody may type in '6 - 3 x 2' in the UITextField then hit "Done" or "Go" etc. This would then calculate the answer and display it in a UIAlertView.
So firstly I believe that the UITextField text has to be split up into differen... | iphone | objective-c | ios | xcode | uitextfield | null | open | How to make an iOS calculator, by just using a UITextField
===
I am looking to create an iOS calculator, just by using a UITextField. So for example; somebody may type in '6 - 3 x 2' in the UITextField then hit "Done" or "Go" etc. This would then calculate the answer and display it in a UIAlertView.
So firstly I be... | 0 |
8,814,552 | 01/11/2012 05:22:09 | 711,853 | 04/17/2011 05:47:33 | 20 | 0 | Magento -adding bundle product with query string with Quantity on each bundle_option | I was wondering would anyone care to share or point me to the right direction on how I can add a bundle product in Magento with query string, where each bundle_option has its own quantity.
If we actually it this way, each of the bundle option will have a default quantity of 1
http://magento.com/checkout/cart/add/... | magento | magento-1.5 | null | null | null | 02/02/2012 14:03:52 | off topic | Magento -adding bundle product with query string with Quantity on each bundle_option
===
I was wondering would anyone care to share or point me to the right direction on how I can add a bundle product in Magento with query string, where each bundle_option has its own quantity.
If we actually it this way, each of ... | 2 |
178,633 | 10/07/2008 14:12:51 | 24,071 | 10/01/2008 10:12:10 | 61 | 4 | Minimum rights required to run a windows service as a domain account | Does anyone know what would be the minimum rights I would need to grant to a domain user account in order to run a windows service as that user?
For simplicity, assume that the service does nothing over and above starting, stopping, and writing to the "Application" event log - i.e. no network access, no custom event... | rights | permissions | windows-services | null | null | 03/03/2012 01:56:53 | off topic | Minimum rights required to run a windows service as a domain account
===
Does anyone know what would be the minimum rights I would need to grant to a domain user account in order to run a windows service as that user?
For simplicity, assume that the service does nothing over and above starting, stopping, and writin... | 2 |
7,926,955 | 10/28/2011 08:40:16 | 1,017,974 | 10/28/2011 08:16:53 | 1 | 0 | WCF SAML 1.1 Client Issue | here is the scenario:
1) WCF client calls STS requesting a SAML token via a RST/Issue request
2) STS responds with RSTRC/IssueFinal placing the SAML token into the response header
3) WCF client picks up the SAML token an makes call to business web service
STS and web service are hosted in a Java-based environm... | wcf | client | token | saml | null | null | open | WCF SAML 1.1 Client Issue
===
here is the scenario:
1) WCF client calls STS requesting a SAML token via a RST/Issue request
2) STS responds with RSTRC/IssueFinal placing the SAML token into the response header
3) WCF client picks up the SAML token an makes call to business web service
STS and web service are ... | 0 |
6,678,159 | 07/13/2011 11:30:10 | 842,581 | 07/13/2011 11:30:10 | 1 | 0 | Dymanmic creation of screens based on data configured in DB tables | In my application user can configure the Number of tabs(left menu) that he want to see.
User can created fields & he can associate each filed to a tab & the index(position which states is it a first field in the tab or second etc) of the field in that tab.
I am saving tab details in one table & field details in ano... | dynamic | null | null | null | null | null | open | Dymanmic creation of screens based on data configured in DB tables
===
In my application user can configure the Number of tabs(left menu) that he want to see.
User can created fields & he can associate each filed to a tab & the index(position which states is it a first field in the tab or second etc) of the field in ... | 0 |
4,089,114 | 11/03/2010 16:13:44 | 117,700 | 06/04/2009 23:04:34 | 2,416 | 15 | c#: how to programmatically highlight/delete rows from datagridview | i have the results of a query being dumped into a datagridview. it looks like this:
QC3 498.46
QC4 1,251.63
QC1 862.62
QC2 1,432.21
i need two things
1. to be able able to programmatically delete all the rows of datagrid where the second field = `862.62` (or just delete the third row)
2. i ... | c# | .net | datagrid | null | null | null | open | c#: how to programmatically highlight/delete rows from datagridview
===
i have the results of a query being dumped into a datagridview. it looks like this:
QC3 498.46
QC4 1,251.63
QC1 862.62
QC2 1,432.21
i need two things
1. to be able able to programmatically delete all the rows of datagri... | 0 |
3,733,586 | 09/17/2010 08:01:02 | 377,031 | 06/26/2010 16:51:13 | 830 | 1 | How do I avoid printing to STDOUT when using `Perl's IPC::System::Simple:runx`? | I'm using [`IPC::System::Simple:runx`][1] to execute system commands and die on unexpected return values. The problem is that the commands output is printed to the shell.
1. How can I avoid printing this
output?
2. How can I avoid printing this output
but getting it into a perl variable?
... | perl | system | stdout | run | null | null | open | How do I avoid printing to STDOUT when using `Perl's IPC::System::Simple:runx`?
===
I'm using [`IPC::System::Simple:runx`][1] to execute system commands and die on unexpected return values. The problem is that the commands output is printed to the shell.
1. How can I avoid printing this
output?
2. How can I... | 0 |
8,553,556 | 12/18/2011 17:50:12 | 1,104,738 | 12/18/2011 17:33:34 | 1 | 0 | I have a html form loading in a nested .net masterpage. I need to prevent the elements from clearing after failed validation | The Validation works perfectly, but if the validation fails the form clears all data.
How can I validate the form without causing the user to have to re-enter all the data again? Due to the nature of the redirect, I need the html form to render exactly as it does now.
HTML`
<div class="formWrapper">
... | javascript | jquery | validation | html-form | persist | null | open | I have a html form loading in a nested .net masterpage. I need to prevent the elements from clearing after failed validation
===
The Validation works perfectly, but if the validation fails the form clears all data.
How can I validate the form without causing the user to have to re-enter all the data again? Due to th... | 0 |
1,072,884 | 07/02/2009 06:57:44 | 119,775 | 06/09/2009 12:01:59 | 38 | 0 | What's the best MATLAB equivalent? (open source or otherwise free) | What is the best open-source (or otherwise free) MATLAB equivalent, in your opinion, and why?
Something with many built-in functions relevant to engineering and science, and a variety of good graphing capabilities. Syntax close to MATLAB's is a bonus.
I've invested some time getting into SciLab, but in retrospe... | matlab | null | null | null | null | 01/26/2012 12:04:29 | not constructive | What's the best MATLAB equivalent? (open source or otherwise free)
===
What is the best open-source (or otherwise free) MATLAB equivalent, in your opinion, and why?
Something with many built-in functions relevant to engineering and science, and a variety of good graphing capabilities. Syntax close to MATLAB's is a... | 4 |
7,086,568 | 08/17/2011 00:01:19 | 753,140 | 05/13/2011 22:59:36 | 14 | 0 | Database inside an App | I know almost nothing about databases, but I know I need one inside my app. I know there are ways to do this with an online database, but that's not gonna work for me, because the internet service in Mexico is too slow. Can anyone guide me in some direction to start to do this? I understand the basics of databases, but... | database | xcode | ios4 | application | null | 08/17/2011 02:29:13 | not a real question | Database inside an App
===
I know almost nothing about databases, but I know I need one inside my app. I know there are ways to do this with an online database, but that's not gonna work for me, because the internet service in Mexico is too slow. Can anyone guide me in some direction to start to do this? I understand ... | 1 |
11,384,352 | 07/08/2012 15:35:52 | 971,933 | 09/29/2011 20:24:01 | 188 | 0 | network receiver is not working | I try to implement the network receiver, here is my following code:
package com.example.androidtablayout;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.net.ConnectivityManager;
import android.net.NetworkI... | android | null | null | null | null | null | open | network receiver is not working
===
I try to implement the network receiver, here is my following code:
package com.example.androidtablayout;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.net.ConnectivityManag... | 0 |
5,417,033 | 03/24/2011 09:24:04 | 659,960 | 03/15/2011 04:51:41 | 6 | 0 | i create the simple gui using qtcreator | Hai i am using qt creator ,i want to create the two buttons and image,when i click the button the images wiil zoom in and zoom out , so help me how to i create the functions and how to animated the images? | gui | null | null | null | null | null | open | i create the simple gui using qtcreator
===
Hai i am using qt creator ,i want to create the two buttons and image,when i click the button the images wiil zoom in and zoom out , so help me how to i create the functions and how to animated the images? | 0 |
10,446,777 | 05/04/2012 10:08:48 | 295,852 | 03/17/2010 16:52:12 | 165 | 10 | iOS view 'folding' animation | I've seen [this nice effect][1] and I would like to use something similar in an app that I'm designing at the moment. I'm assuming that this isn't one of the 'standard' transitions.
Does anyone know how something like that could be achieved? I'm not really after a detailed code sample, more of a high level overview/... | iphone | objective-c | ios | ipad | null | 07/21/2012 21:38:52 | not a real question | iOS view 'folding' animation
===
I've seen [this nice effect][1] and I would like to use something similar in an app that I'm designing at the moment. I'm assuming that this isn't one of the 'standard' transitions.
Does anyone know how something like that could be achieved? I'm not really after a detailed code samp... | 1 |
8,336,866 | 12/01/2011 05:20:43 | 1,016,228 | 10/27/2011 09:48:38 | 17 | 7 | asp.net MVC2 support ajax autocomplete(which is used in webforms)? | If not ?
then suggest me the alternate with a link if possible?<br/>JQuery will be fine??Thanks In advance | jquery | asp.net | asp.net-mvc | asp.net-mvc-3 | jquery-ajax | 12/01/2011 18:39:16 | not a real question | asp.net MVC2 support ajax autocomplete(which is used in webforms)?
===
If not ?
then suggest me the alternate with a link if possible?<br/>JQuery will be fine??Thanks In advance | 1 |
11,581,815 | 07/20/2012 14:56:16 | 1,262,449 | 03/11/2012 15:27:11 | 4 | 0 | Display text depending on the size of the screen | Good afternoon, and I apologize for my English.
I am making a website and I doubt arises, could show a certain amount of text depending on the size of the screen or device that is connected? For example, I have this text:
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse imperdiet venenatis null... | html5 | scroll | device | responsive-design | fit | null | open | Display text depending on the size of the screen
===
Good afternoon, and I apologize for my English.
I am making a website and I doubt arises, could show a certain amount of text depending on the size of the screen or device that is connected? For example, I have this text:
"Lorem ipsum dolor sit amet, consectetur... | 0 |
5,648,537 | 04/13/2011 11:38:26 | 698,574 | 04/08/2011 11:45:47 | 35 | 1 | how to tell a string is all in english in php or javascript? | how to tell a string is all in english of php. eg:$test="eeeeeeeeeeeee"
how to tell that the `$test` string is writen all in english. | php | javascript | null | null | null | 04/13/2011 11:44:43 | not a real question | how to tell a string is all in english in php or javascript?
===
how to tell a string is all in english of php. eg:$test="eeeeeeeeeeeee"
how to tell that the `$test` string is writen all in english. | 1 |
10,302,777 | 04/24/2012 17:16:56 | 1,109,988 | 12/21/2011 13:56:07 | 31 | 4 | Div positioning to low in an HTML table | I am facing a div positioning problem.
Here is the fiddle to depict my problem : http://jsfiddle.net/YbJ2q/11/
How can I align the red div blocks in my table cell without using the css property "margin: -20px"?
Thanks | html | css | html5 | table | div | null | open | Div positioning to low in an HTML table
===
I am facing a div positioning problem.
Here is the fiddle to depict my problem : http://jsfiddle.net/YbJ2q/11/
How can I align the red div blocks in my table cell without using the css property "margin: -20px"?
Thanks | 0 |
9,773,758 | 03/19/2012 16:15:22 | 318,174 | 04/16/2010 03:39:45 | 3,384 | 125 | Single page Web App in Java framework or examples? | Has anyone seen an example or done the following in Java:
http://duganchen.ca/single-page-web-app-architecture-done-right/
That is a design a single page web app that will work with Google SEO with out massive violation of DRY using Java technologies?
It doesn't seem terrible hard to do this on my own but I was ... | java | javascript | backbone.js | mustache | null | null | open | Single page Web App in Java framework or examples?
===
Has anyone seen an example or done the following in Java:
http://duganchen.ca/single-page-web-app-architecture-done-right/
That is a design a single page web app that will work with Google SEO with out massive violation of DRY using Java technologies?
It do... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.