PostId int64 13 11.8M | PostCreationDate stringlengths 19 19 | OwnerUserId int64 3 1.57M | OwnerCreationDate stringlengths 10 19 | ReputationAtPostCreation int64 -33 210k | OwnerUndeletedAnswerCountAtPostTime int64 0 5.77k | Title stringlengths 10 250 | BodyMarkdown stringlengths 12 30k | Tag1 stringlengths 1 25 ⌀ | Tag2 stringlengths 1 25 ⌀ | Tag3 stringlengths 1 25 ⌀ | Tag4 stringlengths 1 25 ⌀ | Tag5 stringlengths 1 25 ⌀ | PostClosedDate stringlengths 19 19 ⌀ | OpenStatus stringclasses 5
values | unified_texts stringlengths 47 30.1k | OpenStatus_id int64 0 4 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9,388,279 | 02/22/2012 02:22:57 | 817,527 | 06/27/2011 14:05:26 | 309 | 3 | Can a script that was run by system command, access SESSION data of the running script? | When scriptA.php is run by some logged in user, an in turn will call another scriptB.php using a system() or exec().
Is it possible for scriptB.php to get parameters of the SESSION data of the user that run scriptA.php in the first place ?
Thanks! | php | apache | null | null | null | null | open | Can a script that was run by system command, access SESSION data of the running script?
===
When scriptA.php is run by some logged in user, an in turn will call another scriptB.php using a system() or exec().
Is it possible for scriptB.php to get parameters of the SESSION data of the user that run scriptA.php in t... | 0 |
7,794,505 | 10/17/2011 13:31:13 | 962,715 | 09/24/2011 14:50:35 | 10 | 0 | what code of librery i shoud use in dotnetdf librery to make a method to understand one graph is a tree? | i want to insert some code to dotnetrdf librery to understand that a graph is a tree?
where i shoud insert the code to achive better API?
| .net | n3 | dotnetrdf | null | null | 11/12/2011 14:43:18 | not a real question | what code of librery i shoud use in dotnetdf librery to make a method to understand one graph is a tree?
===
i want to insert some code to dotnetrdf librery to understand that a graph is a tree?
where i shoud insert the code to achive better API?
| 1 |
4,593,493 | 01/04/2011 12:21:28 | 562,495 | 01/04/2011 11:49:54 | 1 | 0 | Windows API's which will show the running processes | I want to create a tool like mini task manager. I want to show all the running processes, cpu and memory usage. Can anybody tell me related api's which I can use for this. Any link to related web page will be appreciated. (I want dump of all the statistics of running processes, cpu and memory.) Thanks in advance. | c | windows | winapi | visual-c++ | process | null | open | Windows API's which will show the running processes
===
I want to create a tool like mini task manager. I want to show all the running processes, cpu and memory usage. Can anybody tell me related api's which I can use for this. Any link to related web page will be appreciated. (I want dump of all the statistics of run... | 0 |
11,561,848 | 07/19/2012 13:24:18 | 903,052 | 08/19/2011 19:57:50 | 1 | 4 | Can I make a user like us on facebook before downloading a freemium app | On a website, is it possible to have a users signup for a freemium app but once they signup up, hit a step that says "Like us on Facebook to get xyz app" - basically a free app that cost nothing except for a like on facebook.
I know I can put a like us step with the like button but that is only optional. I want it ... | facebook | like | null | null | null | 07/20/2012 13:32:37 | not a real question | Can I make a user like us on facebook before downloading a freemium app
===
On a website, is it possible to have a users signup for a freemium app but once they signup up, hit a step that says "Like us on Facebook to get xyz app" - basically a free app that cost nothing except for a like on facebook.
I know I can ... | 1 |
7,236,643 | 08/29/2011 22:16:12 | 201,231 | 11/02/2009 21:28:43 | 501 | 4 | Am I getting <div> happy? | I am working on a new layout, and am having a bit of an issue with the 3 column portion on my test page...
I am hoping I am not getting `<div>` happy, but am unable to find another way to lay out 3 columns and have them centered...
I am hoping I can just post the link to my site and see if anyone has insight into... | css | null | null | null | null | 08/30/2011 00:05:35 | not a real question | Am I getting <div> happy?
===
I am working on a new layout, and am having a bit of an issue with the 3 column portion on my test page...
I am hoping I am not getting `<div>` happy, but am unable to find another way to lay out 3 columns and have them centered...
I am hoping I can just post the link to my site and... | 1 |
105,389 | 09/19/2008 20:36:28 | 19,281 | 09/19/2008 20:36:28 | 1 | 0 | How do you store/share online your personal documents ? | For photos, I use Flickr. But for other documents...Which web based online application (hosted or to install on your personal web site) do you use for PDF or word files ? If there is a user management it would be also great (for example you decide that some persons, or everyone, can see some of your documents...). | user | personal | storing | documents | sharing | 04/29/2011 21:39:59 | off topic | How do you store/share online your personal documents ?
===
For photos, I use Flickr. But for other documents...Which web based online application (hosted or to install on your personal web site) do you use for PDF or word files ? If there is a user management it would be also great (for example you decide that some p... | 2 |
11,334,350 | 07/04/2012 19:11:06 | 1,381,170 | 05/08/2012 04:32:31 | 1 | 0 | how do I create blog like functionality using php jquery js and ajax? | I have a personal website that I am developing and I want to add my own blog. I've been playing around with the js library jQuery and I've also heard about JSON but I've never had the chance to use it (would json be appropriate for my task?).
I also want to have a username and password to log into a secure area of my... | php | jquery | html | ajax | json | 07/04/2012 19:19:58 | not a real question | how do I create blog like functionality using php jquery js and ajax?
===
I have a personal website that I am developing and I want to add my own blog. I've been playing around with the js library jQuery and I've also heard about JSON but I've never had the chance to use it (would json be appropriate for my task?).
... | 1 |
1,759,208 | 11/18/2009 21:29:01 | 213,060 | 11/17/2009 16:52:48 | 51 | 0 | Write a data string to a numpy character array? | I want to write a data string to a numpy array. Pseudo Code:
d=numpy.zeros(10,dtype=numpy.character)
d[1:]='hello'
Example result:
d=
array(['', 'h', 'e', 'l', 'l', 'o', '', '', '', ''],
dtype='|S1')
How can this be done with numpy most naturally and efficiently? I don't wan... | python | numpy | null | null | null | null | open | Write a data string to a numpy character array?
===
I want to write a data string to a numpy array. Pseudo Code:
d=numpy.zeros(10,dtype=numpy.character)
d[1:]='hello'
Example result:
d=
array(['', 'h', 'e', 'l', 'l', 'o', '', '', '', ''],
dtype='|S1')
How can this be done w... | 0 |
8,329,080 | 11/30/2011 16:10:03 | 475,850 | 10/14/2010 13:59:00 | 1,458 | 9 | "chown mysql:mysql /data/tmp" command | I am on a Linux **ubuntu** machine with **MySQL** installed.
If there is a **MySQL** installation on a **Ubuntu** machine, I saw some people doing the following thing:
sudo chown mysql:mysql /data/tmp
I get confused, I know the meaning of the above command, which is to change the owner of `/data/tmp` to u... | mysql | database | linux | ubuntu | command-line | 11/30/2011 16:58:09 | off topic | "chown mysql:mysql /data/tmp" command
===
I am on a Linux **ubuntu** machine with **MySQL** installed.
If there is a **MySQL** installation on a **Ubuntu** machine, I saw some people doing the following thing:
sudo chown mysql:mysql /data/tmp
I get confused, I know the meaning of the above command, which... | 2 |
8,897,938 | 01/17/2012 16:13:11 | 1,154,353 | 01/17/2012 16:10:46 | 1 | 0 | I am designing a Java Robot? | I am using a robot programmed with Java with a distance and touch sensor (but no gps or compass) to navigate a 1.0 by 2.5 metre obstacle course. The robot only knows its position by dead reckoning (like the number if turns of its wheels). When it turns it can measure the number of degrees from its last path travelled. ... | java | robotics | null | null | null | 01/17/2012 16:15:21 | not a real question | I am designing a Java Robot?
===
I am using a robot programmed with Java with a distance and touch sensor (but no gps or compass) to navigate a 1.0 by 2.5 metre obstacle course. The robot only knows its position by dead reckoning (like the number if turns of its wheels). When it turns it can measure the number of degr... | 1 |
6,486,384 | 06/26/2011 20:03:17 | 179,736 | 09/27/2009 11:27:55 | 6,119 | 54 | How do I make a div that can scroll left/right? | But when the user scrolls up and down using the mouse wheel, it scrolls the div left and right. | html | css | null | null | null | 06/28/2011 20:04:35 | not a real question | How do I make a div that can scroll left/right?
===
But when the user scrolls up and down using the mouse wheel, it scrolls the div left and right. | 1 |
5,771,407 | 04/24/2011 15:27:18 | 376,947 | 06/26/2010 12:43:39 | 425 | 5 | what does this PHP regex pattern mean? | Can anybody explain what does each character mean in this regex:
...preg_match('/\{loop(?: name){0,1}=\${0,1}(.*?)\}/', $html, $code)...
? | php | regex | string | null | null | 04/25/2011 21:52:44 | too localized | what does this PHP regex pattern mean?
===
Can anybody explain what does each character mean in this regex:
...preg_match('/\{loop(?: name){0,1}=\${0,1}(.*?)\}/', $html, $code)...
? | 3 |
10,380,840 | 04/30/2012 08:50:00 | 574,419 | 01/13/2011 15:05:34 | 899 | 29 | Disable page transition on data-role="header" at jQuery Mobile | Is it possible to disable page transition on data-role="header"?
The goal would be to use page transition only at data-role="content". | javascript | jquery | mobile | jquery-mobile | null | 04/30/2012 15:24:50 | not a real question | Disable page transition on data-role="header" at jQuery Mobile
===
Is it possible to disable page transition on data-role="header"?
The goal would be to use page transition only at data-role="content". | 1 |
10,210,241 | 04/18/2012 13:19:14 | 1,218,198 | 02/18/2012 15:08:41 | 115 | 3 | php script to edit html pages? | I was asked to create an editor for the admin side of the website to let him be able to edit static HTML pages and to be able to view the page through this editor something like the editor in the cpanel is that possible?
and if it is i need the script to do that | php | html | null | null | null | 04/19/2012 02:34:25 | not a real question | php script to edit html pages?
===
I was asked to create an editor for the admin side of the website to let him be able to edit static HTML pages and to be able to view the page through this editor something like the editor in the cpanel is that possible?
and if it is i need the script to do that | 1 |
3,261,536 | 07/16/2010 02:33:35 | 287,279 | 03/05/2010 16:20:38 | 53 | 3 | Best PHP Webserver for Development | I'm starting to work with PHP more these days and I've been wondering what the best PHP webserver might be for a dev environment. Ideally, it would be easy to build, live only in the project deps directory and be easy to configure. Also, decent performance would be a plus.
In python land, [werkzeug][1] would be an ... | php | webserver | null | null | null | 09/13/2011 12:39:19 | not constructive | Best PHP Webserver for Development
===
I'm starting to work with PHP more these days and I've been wondering what the best PHP webserver might be for a dev environment. Ideally, it would be easy to build, live only in the project deps directory and be easy to configure. Also, decent performance would be a plus.
In... | 4 |
6,759,153 | 07/20/2011 08:39:28 | 59,666 | 01/28/2009 08:23:11 | 1,537 | 26 | Headless webkit for .NET | Do any of you know of a headless webkit wrapper for .NET?
I've looked at [WebKitDotNet][1] but it does not seem to work in headless mode.
[1]: http://webkitdotnet.sourceforge.net/ | c# | .net | webkit | headless | headless-browser | null | open | Headless webkit for .NET
===
Do any of you know of a headless webkit wrapper for .NET?
I've looked at [WebKitDotNet][1] but it does not seem to work in headless mode.
[1]: http://webkitdotnet.sourceforge.net/ | 0 |
9,480,933 | 02/28/2012 11:18:42 | 1,237,727 | 02/28/2012 11:13:26 | 1 | 0 | Youtube API: allow users comment on youtube videos from my wordpress website | is there any one who can help me implement a script or a wordpress plug-in that allows users registered in youtube to comment on the videos posted in my wordpress website and that comment goes directly to youtube. I tried several times to make that using the php api but i am not professional with php.
Thanks | api | youtube | null | null | null | null | open | Youtube API: allow users comment on youtube videos from my wordpress website
===
is there any one who can help me implement a script or a wordpress plug-in that allows users registered in youtube to comment on the videos posted in my wordpress website and that comment goes directly to youtube. I tried several times to... | 0 |
3,669,628 | 09/08/2010 15:58:59 | 407,511 | 07/31/2010 15:25:44 | 75 | 10 | How would you recommend doing stress testing to an azure cloud service? | How would you recommend doing stress testing to an azure cloud service? | c# | azure | stress-testing | null | null | 06/13/2012 13:31:35 | not constructive | How would you recommend doing stress testing to an azure cloud service?
===
How would you recommend doing stress testing to an azure cloud service? | 4 |
5,687,102 | 04/16/2011 14:20:51 | 574,647 | 01/13/2011 17:40:48 | 13 | 0 | Count with Bresenham's line algorithm in real-mode,assembly | I'd like to draw lines in assembly. I wrote the algorithm in C, now I need to put it into assembly.<br>
I'm in 16bits real-mode; graphics-mode: 12h (640*480 16colors)<br>
The C source:
//x1/y1/x2/y2 = start x, start y, end x, end y
void draw_line(int x1, int y1, int x2, int y2)
{
double delt... | c | assembly | types | count | floating-point | null | open | Count with Bresenham's line algorithm in real-mode,assembly
===
I'd like to draw lines in assembly. I wrote the algorithm in C, now I need to put it into assembly.<br>
I'm in 16bits real-mode; graphics-mode: 12h (640*480 16colors)<br>
The C source:
//x1/y1/x2/y2 = start x, start y, end x, end y
void draw... | 0 |
2,662,450 | 04/18/2010 13:57:32 | 319,694 | 04/18/2010 13:52:59 | 1 | 0 | Who creates beans in a spring web appplication? | I know that in a standalone application I create one of the application context instances which in turn creates the beans from conf files. But I can not see any such code in dispatched servlet. How then are the beans created in a web application? | spring-mvc | java | spring | webapplication | bean | null | open | Who creates beans in a spring web appplication?
===
I know that in a standalone application I create one of the application context instances which in turn creates the beans from conf files. But I can not see any such code in dispatched servlet. How then are the beans created in a web application? | 0 |
4,504,868 | 12/21/2010 23:16:45 | 50,079 | 12/30/2008 05:05:52 | 3,784 | 165 | Implementing a robust async stream reader |
I recently provided an answer to this question: http://stackoverflow.com/q/4501511/50079.
As often happens, explaining stuff (here "stuff" was how I tackled a similar problem) leads you to greater understanding and/or, as is the case here, "oops" moments. I realized that my solution, as implemented, has a bug. The... | c# | asynchronous | stream | filestream | null | null | open | Implementing a robust async stream reader
===
I recently provided an answer to this question: http://stackoverflow.com/q/4501511/50079.
As often happens, explaining stuff (here "stuff" was how I tackled a similar problem) leads you to greater understanding and/or, as is the case here, "oops" moments. I realized t... | 0 |
7,660,321 | 10/05/2011 11:05:39 | 969,733 | 09/28/2011 18:29:07 | 8 | 0 | Creating a static table header | I know there are lots of plugins there to display a table with static headers. My issue is that i have a for loop which returns the values under this table:
foreach($ftsProducts as $x) {
$content .= "<tr class='highlight'>
<td class='reportCell' title='" . $x['BaseCode'] . "'>" . $x['Description'] . ... | php | null | null | null | null | null | open | Creating a static table header
===
I know there are lots of plugins there to display a table with static headers. My issue is that i have a for loop which returns the values under this table:
foreach($ftsProducts as $x) {
$content .= "<tr class='highlight'>
<td class='reportCell' title='" . $x['Base... | 0 |
4,529,585 | 12/25/2010 07:12:34 | 553,722 | 12/25/2010 07:12:34 | 1 | 0 | What is the best book for learning object oriented javascript? | I'm a pro when it comes to HTML/CSS, and can use jQuery pretty well to move things around on my sites, but I need a good book for a NON PROGRAMMING person to learn OO JS. I just can't grasp it. I need a good book for learning! Thanks :) | javascript | null | null | null | null | 07/13/2012 14:46:01 | not constructive | What is the best book for learning object oriented javascript?
===
I'm a pro when it comes to HTML/CSS, and can use jQuery pretty well to move things around on my sites, but I need a good book for a NON PROGRAMMING person to learn OO JS. I just can't grasp it. I need a good book for learning! Thanks :) | 4 |
1,907,954 | 12/15/2009 14:49:50 | 135,605 | 07/09/2009 12:03:27 | 100 | 3 | Rails ActiveRecord relationships - has many and belongs to associations | I've created 3 models:
- Article: contains an article
- Tag: contains tags
- ArticleTag: meant for associating a many-to-one tags to article relationship. It contains a tag_id and an article_id.
The problem I'm having is I'm fairly new to the active record technology and I don't understand the proper way to ... | ruby-on-rails | many-to-one | models | table-relationships | null | null | open | Rails ActiveRecord relationships - has many and belongs to associations
===
I've created 3 models:
- Article: contains an article
- Tag: contains tags
- ArticleTag: meant for associating a many-to-one tags to article relationship. It contains a tag_id and an article_id.
The problem I'm having is I'm fairly ... | 0 |
5,786,480 | 04/26/2011 05:51:16 | 723,273 | 04/25/2011 05:29:35 | 1 | 0 | repeated usage of functions in stores procedures | What is the problem if i call a function repeatedly inside stored procedures in sql | sql-server-2005 | null | null | null | null | 04/28/2011 04:56:41 | not a real question | repeated usage of functions in stores procedures
===
What is the problem if i call a function repeatedly inside stored procedures in sql | 1 |
4,840,941 | 01/30/2011 03:18:36 | 594,791 | 01/29/2011 07:45:42 | 3 | 0 | Zend_Db without Zend Framework | I want using Zend_Db without Zend_Framework. I want incorporate Zend_Db for my existing website that was not made using Zend Framework. Is it possible to use Zend_Db like this? Can you recommend good tutorial or example how to do it good? | php | zend-framework | zend-db | null | null | null | open | Zend_Db without Zend Framework
===
I want using Zend_Db without Zend_Framework. I want incorporate Zend_Db for my existing website that was not made using Zend Framework. Is it possible to use Zend_Db like this? Can you recommend good tutorial or example how to do it good? | 0 |
8,687,596 | 12/31/2011 10:29:42 | 1,124,214 | 12/31/2011 10:23:48 | 1 | 0 | Set value to hidden column by jquery | Have one question here. I am trying to set value to a hidden column
previously i have achieved by doing
var bc = $("select[title='Broadcast Channel']").val();
$("select[title='Execution Channel']").val(bc);
this work fine as I am able to get the column which exist in html source.
Now i am trying ... | javascript | jquery | sharepoint | null | null | null | open | Set value to hidden column by jquery
===
Have one question here. I am trying to set value to a hidden column
previously i have achieved by doing
var bc = $("select[title='Broadcast Channel']").val();
$("select[title='Execution Channel']").val(bc);
this work fine as I am able to get the column which... | 0 |
4,213,845 | 11/18/2010 10:35:37 | 511,974 | 11/18/2010 10:35:37 | 1 | 0 | Error:uncaught exception, not enoughh argument.va | i have this code,how can i solve this error.
Ext.lib.Ajax = function() {
var activeX = ['MSXML2.XMLHTTP.3.0',
'MSXML2.XMLHTTP',
'Microsoft.XMLHTTP'],
CONTENTTYPE = 'Content-Type';
// private
function setHeader(o)... | javascript | null | null | null | null | 11/18/2010 15:24:06 | not a real question | Error:uncaught exception, not enoughh argument.va
===
i have this code,how can i solve this error.
Ext.lib.Ajax = function() {
var activeX = ['MSXML2.XMLHTTP.3.0',
'MSXML2.XMLHTTP',
'Microsoft.XMLHTTP'],
CONTENTTYPE = 'Content-Type';
... | 1 |
9,738,961 | 03/16/2012 14:19:17 | 846,627 | 07/15/2011 14:25:28 | 1 | 0 | slowing down a user's ability to button mash in Android | I have an activity that runs some ASCII control over a network port to a remote device.
Every single button push on the interface will trigger an AsyncTask to handle the communication, and (finally) works great.
However, if a user starts button mashing like a chimp on crack, the system will crash with way too many ca... | android | performance | onclicklistener | null | null | null | open | slowing down a user's ability to button mash in Android
===
I have an activity that runs some ASCII control over a network port to a remote device.
Every single button push on the interface will trigger an AsyncTask to handle the communication, and (finally) works great.
However, if a user starts button mashing like... | 0 |
7,527,910 | 09/23/2011 10:56:14 | 960,846 | 03/25/2011 05:09:42 | 1 | 0 | Validation for you tube embed video | How to validate youtube embed video ?need regular expression in .net | javascript | asp.net | regex | null | null | 09/23/2011 11:09:41 | not a real question | Validation for you tube embed video
===
How to validate youtube embed video ?need regular expression in .net | 1 |
8,041,179 | 11/07/2011 18:58:00 | 1,486,553 | 11/07/2011 17:43:36 | 1 | 0 | how to use WP e-Commerce Canada Post shipping module under wordpress? | I have found the http://blog.yannbouschet.com/wp-content/uploads/2010/11/canadapost_wp_ecommerce.zip module. i uploaded it and also activated, however there are no place to find the setting for this plugin, anyone know how to use it? | php | wordpress | wordpress-plugin | null | null | 12/06/2011 04:21:55 | off topic | how to use WP e-Commerce Canada Post shipping module under wordpress?
===
I have found the http://blog.yannbouschet.com/wp-content/uploads/2010/11/canadapost_wp_ecommerce.zip module. i uploaded it and also activated, however there are no place to find the setting for this plugin, anyone know how to use it? | 2 |
5,218,958 | 03/07/2011 11:12:31 | 647,947 | 03/07/2011 10:13:33 | 1 | 0 | How do I use python progarm to build chrome extension?? | I need to build a chrome extension where I can run the python program. Is that p | google-chrome | google-chrome-extension | null | null | null | 03/08/2011 07:41:03 | not a real question | How do I use python progarm to build chrome extension??
===
I need to build a chrome extension where I can run the python program. Is that p | 1 |
2,103,904 | 01/20/2010 18:30:09 | 20,526 | 09/22/2008 15:32:14 | 149 | 18 | ASP.Net Cannot tab through all radio buttons when selected | I'm trying to implement accessibility (keyboard only) ability on my site, but I'm having problems with Radio Button lists. When using radiobuttonlists, when initially, none of the radio buttons is selected, I am able to tab through every single value and select one upon hitting "enter". However, after a value is select... | asp.net | radiobuttonlist | null | null | null | null | open | ASP.Net Cannot tab through all radio buttons when selected
===
I'm trying to implement accessibility (keyboard only) ability on my site, but I'm having problems with Radio Button lists. When using radiobuttonlists, when initially, none of the radio buttons is selected, I am able to tab through every single value and s... | 0 |
2,088,558 | 01/18/2010 19:11:42 | 229,976 | 12/11/2009 21:17:38 | 198 | 27 | Updating HTML via JSON/AJAX | I've been using JSON to handle AJAX functionality in my rails applications ever since I heard about it, because using RJS/rendering HTML "felt" wrong because it violated MVC. The first AJAX-heavy project I worked on ended up with 20-30 controller actions tied directly to specific UI-behaviors and my view code spread o... | ajax | json | ruby-on-rails | javascript | jquery | null | open | Updating HTML via JSON/AJAX
===
I've been using JSON to handle AJAX functionality in my rails applications ever since I heard about it, because using RJS/rendering HTML "felt" wrong because it violated MVC. The first AJAX-heavy project I worked on ended up with 20-30 controller actions tied directly to specific UI-be... | 0 |
6,936,840 | 08/04/2011 06:02:43 | 567,967 | 01/08/2011 11:23:50 | 59 | 0 | In django, how to delete all related objects when deleting a certain type of instances? | I first tried to override the delete() method but that doesn't work for QuerySet's bulk delete method. It should be related to pre_delete signal but I can't figure it out. Can someone please help me? | python | django | null | null | null | null | open | In django, how to delete all related objects when deleting a certain type of instances?
===
I first tried to override the delete() method but that doesn't work for QuerySet's bulk delete method. It should be related to pre_delete signal but I can't figure it out. Can someone please help me? | 0 |
10,396,812 | 05/01/2012 11:03:58 | 870,691 | 07/30/2011 13:29:18 | 17 | 0 | Use of undefined constant in php class | don't know better title for this, but here's my code.
I have class user that checks form data when it's instanciated but I get following errors/notices:
Notice: Use of undefined constant username - assumed 'username' in C:\Users\Jinxed\Desktop\WebTrgovina\app\m\Register\User.m.php on line 7
Notice: Use... | php | constants | undefined | name | null | 05/01/2012 11:34:00 | not a real question | Use of undefined constant in php class
===
don't know better title for this, but here's my code.
I have class user that checks form data when it's instanciated but I get following errors/notices:
Notice: Use of undefined constant username - assumed 'username' in C:\Users\Jinxed\Desktop\WebTrgovina\app\m\Regi... | 1 |
8,599,085 | 12/22/2011 03:17:39 | 1,026,305 | 11/02/2011 18:53:39 | 4 | 0 | Using Java how can I return a true/false value depending if a value is held in a mysql table or not? | Using Java how can I return a true/false value depending if a value is held in a mysql table or not?
The table has a list of usernames and a bit value of 1 or 0
I want to check if the bit value is a 1 or 0
Thanks any help is a appreciated | java | mysql | null | null | null | 12/22/2011 08:23:34 | not a real question | Using Java how can I return a true/false value depending if a value is held in a mysql table or not?
===
Using Java how can I return a true/false value depending if a value is held in a mysql table or not?
The table has a list of usernames and a bit value of 1 or 0
I want to check if the bit value is a 1 or 0
... | 1 |
4,281,445 | 11/25/2010 23:11:41 | 207,123 | 11/09/2009 17:16:56 | 8 | 0 | Regular Expression C# | I need use c# RegEx to process a string. The idea is delete initials characteres, like a substring.
Example string := "04|aH 800 A574a C.R.";
The result should be "H 800 A574a C.R.".
But the patron is variable, because the string can be "4|aProtestas populares" and the result should be "Protestas populares"
... | c# | regex | null | null | null | null | open | Regular Expression C#
===
I need use c# RegEx to process a string. The idea is delete initials characteres, like a substring.
Example string := "04|aH 800 A574a C.R.";
The result should be "H 800 A574a C.R.".
But the patron is variable, because the string can be "4|aProtestas populares" and the result should ... | 0 |
5,972,784 | 05/12/2011 02:43:58 | 749,795 | 05/12/2011 02:41:06 | 1 | 0 | How to install USB Device Driver for LG Thrive Android Device? | I have just purchased LG Thrive handset for android apps development purpose. I tried installing "LGMS690" and "LG _USB _Drivers_All_4.9.7" usb device drivers on my windows 7 PC, but my device is not getting detected in eclipse android plugin. I am unable to run/debug my applications on this device.
Please help me wit... | usb | driver | device | android-2.2 | lg | 06/06/2012 11:03:01 | off topic | How to install USB Device Driver for LG Thrive Android Device?
===
I have just purchased LG Thrive handset for android apps development purpose. I tried installing "LGMS690" and "LG _USB _Drivers_All_4.9.7" usb device drivers on my windows 7 PC, but my device is not getting detected in eclipse android plugin. I am una... | 2 |
3,328,062 | 07/25/2010 04:51:14 | 65,313 | 02/11/2009 21:54:03 | 1,127 | 64 | Any good EAI (Enterprise Application Integration) books? | One of the jobs I'm looking at requires good experience with EAI.
Was wondering if anyone can recommend good EAI books / resources? | eai | null | null | null | null | 09/28/2011 11:30:09 | not constructive | Any good EAI (Enterprise Application Integration) books?
===
One of the jobs I'm looking at requires good experience with EAI.
Was wondering if anyone can recommend good EAI books / resources? | 4 |
9,429,699 | 02/24/2012 11:08:06 | 1,197,089 | 02/08/2012 11:48:36 | 6 | 0 | IllegalArgumentException JSON | I am trying to put String[] in jsonObject and getting following error
> java.lang.IllegalArgumentException: Invalid type of value. Type:
> [[Ljava.lang.String;] with value: [[Ljava.lang.String;@189db56] at
> com.ibm.json.java.JSONObject.put(JSONObject.java:241)
Please help me to resolve this.
Thanks | java | json | illegalargumentexception | null | null | null | open | IllegalArgumentException JSON
===
I am trying to put String[] in jsonObject and getting following error
> java.lang.IllegalArgumentException: Invalid type of value. Type:
> [[Ljava.lang.String;] with value: [[Ljava.lang.String;@189db56] at
> com.ibm.json.java.JSONObject.put(JSONObject.java:241)
Please help m... | 0 |
10,893,683 | 06/05/2012 08:04:33 | 788,841 | 06/08/2011 08:45:56 | 160 | 0 | Reading CSV files from Java | I have a csv file, with multiple rows and columns.
Let say
Dates Data1 data2
19/07/1999 2 5
18/06/1991 3 9
Given a column header name(say data2), I want to extract the column corresponding to it. How to do it?
Also, given a particular date(say 18... | java | file-io | csv | null | null | 06/05/2012 09:34:13 | not a real question | Reading CSV files from Java
===
I have a csv file, with multiple rows and columns.
Let say
Dates Data1 data2
19/07/1999 2 5
18/06/1991 3 9
Given a column header name(say data2), I want to extract the column corresponding to it. How to do it?
Als... | 1 |
6,681,390 | 07/13/2011 15:27:19 | 805,245 | 06/19/2011 10:45:06 | 13 | 0 | U3 - Usb flash drive | I want set that the U3 is the only way to access the DOK and there will be no shortcut in "My Computer". And this change will be kept to differnt computers?Is it possible? | usb | null | null | null | null | 07/15/2011 11:28:13 | off topic | U3 - Usb flash drive
===
I want set that the U3 is the only way to access the DOK and there will be no shortcut in "My Computer". And this change will be kept to differnt computers?Is it possible? | 2 |
3,794,669 | 09/25/2010 17:05:40 | 158,285 | 08/18/2009 08:53:29 | 774 | 41 | Confirmation email from devise on rails3 using gmail not arriving. | I've set the following up.
----------------------
config/environments/development.rb
----------------------
29 ActionMailer::Base.delivery_method = :smtp
30 ActionMailer::Base.perform_deliveries = true
31 ActionMailer::Base.raise_delivery_errors = true
32
33 Acti... | ruby-on-rails-3 | gmail | devise | null | null | null | open | Confirmation email from devise on rails3 using gmail not arriving.
===
I've set the following up.
----------------------
config/environments/development.rb
----------------------
29 ActionMailer::Base.delivery_method = :smtp
30 ActionMailer::Base.perform_deliveries = true
31 Ac... | 0 |
9,789,317 | 03/20/2012 15:03:16 | 1,281,186 | 03/20/2012 14:42:38 | 1 | 0 | Novice programmer - will I need to bring in an outside programmer for this project (Javascript) | I am familiar with HMLT and javascript and will begin building a (wordpress) website promoting a CPA exam (I'm an MS accounting student) review that I think will be unlike any out there and sell very well (4 exams and each review around $39). I'm only giving this background to show my intent is authentic and not the t... | javascript | null | null | null | null | 03/20/2012 15:07:06 | off topic | Novice programmer - will I need to bring in an outside programmer for this project (Javascript)
===
I am familiar with HMLT and javascript and will begin building a (wordpress) website promoting a CPA exam (I'm an MS accounting student) review that I think will be unlike any out there and sell very well (4 exams and ... | 2 |
6,472,630 | 06/24/2011 19:10:37 | 781,573 | 06/02/2011 17:28:39 | 808 | 83 | How can I improve my jQuery React plugin? | I've been working on a jQuery plugin and I would like to get suggestions on how to improve both the code and its usefulness.
Here's the demo page: http://natedavisolds.com/workshop/react.html
Would this be useful to you?
What other functionality should I include?
Any refactoring or structure changes that I shou... | jquery | jquery-plugins | null | null | null | 06/25/2011 10:09:31 | not a real question | How can I improve my jQuery React plugin?
===
I've been working on a jQuery plugin and I would like to get suggestions on how to improve both the code and its usefulness.
Here's the demo page: http://natedavisolds.com/workshop/react.html
Would this be useful to you?
What other functionality should I include?
A... | 1 |
1,803,610 | 11/26/2009 13:14:27 | 82,062 | 03/24/2009 15:01:30 | 3,475 | 245 | IE7/IE8 and frozen animated gifs | I'm quite sure this is an old problem.
This is how i render my animated gif:
<img id='loading' alt='loading' style="display: none; position:
relative; left:10px; top:2px;" src="<%= Url.Image("loading.gif") %>" />
This is how I'm desperately trying to show it at the moment:
sho... | internet-explorer | animated-gif | null | null | null | null | open | IE7/IE8 and frozen animated gifs
===
I'm quite sure this is an old problem.
This is how i render my animated gif:
<img id='loading' alt='loading' style="display: none; position:
relative; left:10px; top:2px;" src="<%= Url.Image("loading.gif") %>" />
This is how I'm desperately trying to sh... | 0 |
8,811,310 | 01/10/2012 22:15:16 | 467,927 | 10/06/2010 12:21:20 | 67 | 3 | How to get CVS/* files without checking out the actual files? | My scripts depends on CVS/* files, but does not require actually having all the files. Would it be possible just to get CVS/* files without actually checking out all files from the repository?
Checkout of all the files costs a lot of time. | cvs | null | null | null | null | null | open | How to get CVS/* files without checking out the actual files?
===
My scripts depends on CVS/* files, but does not require actually having all the files. Would it be possible just to get CVS/* files without actually checking out all files from the repository?
Checkout of all the files costs a lot of time. | 0 |
7,169,740 | 08/24/2011 02:15:30 | 446,929 | 09/14/2010 02:10:09 | 727 | 6 | how to add margin for 960gs | default the 960gs only left 5px;each for margin,but i need 20px each side,how could i change this ?
also is there some tools for help 960gs,such as ide
===================================================================================
bellow words is unhelpful for this question duo to stackoverflow's qual... | ruby-on-rails | compass-css | 960.gs | grid-system | null | 08/24/2011 11:23:57 | not a real question | how to add margin for 960gs
===
default the 960gs only left 5px;each for margin,but i need 20px each side,how could i change this ?
also is there some tools for help 960gs,such as ide
===================================================================================
bellow words is unhelpful for this que... | 1 |
5,696,289 | 04/17/2011 20:40:26 | 712,498 | 04/17/2011 20:40:26 | 1 | 0 | How to define /@-like operator | I would like to define a new operator of the form "x /==> y", where
the operator "/==>" is treated as e.g. the "/@" operator of Map, and
is translated to MyFunction[x, y]. There is one important aspect: I
want the resulting operator to behave in the frontend like any two-bit
operator does, that is, the two characte... | operators | mathematica | null | null | null | null | open | How to define /@-like operator
===
I would like to define a new operator of the form "x /==> y", where
the operator "/==>" is treated as e.g. the "/@" operator of Map, and
is translated to MyFunction[x, y]. There is one important aspect: I
want the resulting operator to behave in the frontend like any two-bit
oper... | 0 |
10,350,056 | 04/27/2012 11:45:47 | 482 | 08/06/2008 08:54:09 | 513 | 23 | How to keep our readers safe and anonymous? | We run a politically sensitive website. Users can submit complaints anonymously. We have done things like
- No logging of ip in our app
- No access log on apache
- No 3rd party javascript
- No third party flash embeds
I am still not very sure. What else can I do keep my users really safe and anonymous. | security | null | null | null | null | 04/27/2012 13:05:29 | off topic | How to keep our readers safe and anonymous?
===
We run a politically sensitive website. Users can submit complaints anonymously. We have done things like
- No logging of ip in our app
- No access log on apache
- No 3rd party javascript
- No third party flash embeds
I am still not very sure. What else ca... | 2 |
9,911,719 | 03/28/2012 16:21:00 | 710,989 | 04/16/2011 08:50:08 | 51 | 3 | comparing custom template tag within if tag | i have a custom template tag that takes some argument and calculates the result.
I want to compare that value obtained from that custom tag with another variable.
Custom template tag(having three arguments)
{% price_for_pax service pax '' %}
variable :
{{service.price}}
What i want is
{% if serv... | django-templates | null | null | null | null | null | open | comparing custom template tag within if tag
===
i have a custom template tag that takes some argument and calculates the result.
I want to compare that value obtained from that custom tag with another variable.
Custom template tag(having three arguments)
{% price_for_pax service pax '' %}
variable :
{{ser... | 0 |
9,206,007 | 02/09/2012 05:49:10 | 1,198,895 | 02/09/2012 05:40:31 | 1 | 0 | .net assembly language | how to change assembly language in C# application,there is problem when we are using
[assembly:AssemblyCulture("en-US")]
ther is error
**Error emitting'System.Reflection.AssemblyCultureAttribute' attribute -- 'Executables cannot be satellite assemblies, Culture should always be empty'**
... | c# | .net | assembly | language | null | null | open | .net assembly language
===
how to change assembly language in C# application,there is problem when we are using
[assembly:AssemblyCulture("en-US")]
ther is error
**Error emitting'System.Reflection.AssemblyCultureAttribute' attribute -- 'Executables cannot be satellite assemblies, Cultur... | 0 |
11,335,995 | 07/04/2012 22:26:10 | 1,496,011 | 07/02/2012 12:04:47 | 25 | 0 | Which code is more effective? Why? | I'm doing some programming exercises at the end of chapter four in "Introduction to Java Programming: Comprehensive Version" by Y. Daniel Liang. On question 4.18 I came up with two different solutions.
Which solution(PatternLoop1 or PatternLoop2) is more effective and why?<br>
public class PatternLoop1 {
... | java | code-efficiency | null | null | null | 07/07/2012 11:03:59 | not constructive | Which code is more effective? Why?
===
I'm doing some programming exercises at the end of chapter four in "Introduction to Java Programming: Comprehensive Version" by Y. Daniel Liang. On question 4.18 I came up with two different solutions.
Which solution(PatternLoop1 or PatternLoop2) is more effective and why?<br... | 4 |
10,425,521 | 05/03/2012 05:18:46 | 1,326,467 | 04/11/2012 11:47:40 | 21 | 0 | do sth. before view is loaded in iOS. viewWillLoad? | I want to do sth. before view is loaded. However, according to the design of viewWillUnload and viewDidUnload, I can't find a method like viewWillLoad in UIViewController class.
I traced the running, and it seems like the view is put into memory firstly and in no second. grateful if more running system is told.
... | iphone | ios | uiviewcontroller | viewdidload | null | 05/03/2012 05:20:00 | not a real question | do sth. before view is loaded in iOS. viewWillLoad?
===
I want to do sth. before view is loaded. However, according to the design of viewWillUnload and viewDidUnload, I can't find a method like viewWillLoad in UIViewController class.
I traced the running, and it seems like the view is put into memory firstly and i... | 1 |
8,286,261 | 11/27/2011 14:31:16 | 1,065,801 | 11/25/2011 14:35:10 | 1 | 0 | Data for NSOutlineView Source List | i've got a Delegate class for a Source List. But i don't know what type the return variable of outlineView:objectValueForTableColumn:byItem: should be.
At the Moment my code looks like this, all the structure things work but there is no text shown:
- (id)outlineView:(NSOutlineView *)outlineView
... | objective-c | cocoa | nsoutlineview | null | null | null | open | Data for NSOutlineView Source List
===
i've got a Delegate class for a Source List. But i don't know what type the return variable of outlineView:objectValueForTableColumn:byItem: should be.
At the Moment my code looks like this, all the structure things work but there is no text shown:
- (id)outlineView:(N... | 0 |
96,051 | 09/18/2008 19:29:15 | 17,428 | 09/18/2008 08:50:27 | 1 | 4 | Best file comparison tool | I've been using Subversion for a while now. I love it. And the feature I use the most is diff. But sometimes it is really frustrating when your comparison windows is filled with changes like: block inserted here, block deleted here. Just because you moved some methods around in your last refactoring session.
All the... | file | sourcecode | comparison | null | null | 09/11/2011 23:58:17 | not constructive | Best file comparison tool
===
I've been using Subversion for a while now. I love it. And the feature I use the most is diff. But sometimes it is really frustrating when your comparison windows is filled with changes like: block inserted here, block deleted here. Just because you moved some methods around in your last ... | 4 |
6,267,890 | 06/07/2011 15:44:46 | 787,797 | 06/07/2011 15:44:46 | 1 | 0 | Recursively list files and directories in an FTP Server using Java. | I'm currently using a Java FTP library (ftp4j) to access an FTP server. I want to do a file count and directory count for the server, but this means i would need to list files within directories within directories within directories, etc.
How is this achievable? Any hints would be greatly appreciated.
Extract fro... | java | list | ftp | ftp4j | null | null | open | Recursively list files and directories in an FTP Server using Java.
===
I'm currently using a Java FTP library (ftp4j) to access an FTP server. I want to do a file count and directory count for the server, but this means i would need to list files within directories within directories within directories, etc.
How i... | 0 |
11,064,716 | 06/16/2012 15:22:56 | 1,442,519 | 06/07/2012 14:49:57 | 1 | 0 | Transaction in database | there is 2transaction(t1,t2), the following states, what happend and what should be done?
(ِDiagnosis dirty read and ...)
R=Read / W=Write / BOT= begin of transaction / C= Commite
BOT(t1),R1(x),BOT(T2),R2(x),W1(x),C1,w2(x),C2,R2(x),W2(y)
thanks | database | null | null | null | null | 06/18/2012 03:56:03 | not a real question | Transaction in database
===
there is 2transaction(t1,t2), the following states, what happend and what should be done?
(ِDiagnosis dirty read and ...)
R=Read / W=Write / BOT= begin of transaction / C= Commite
BOT(t1),R1(x),BOT(T2),R2(x),W1(x),C1,w2(x),C2,R2(x),W2(y)
thanks | 1 |
6,787,017 | 07/22/2011 07:39:44 | 833,503 | 07/07/2011 12:29:09 | 1 | 0 | Optimal solution for WCF | I have to fire service method multiple times. What would be the optimal solution?
foreach(var _param in _paramList)
{
ServiceReference1.ServiceClient _sc = new ServiceReference1.ServiceClient();
_sc.Method(_param);
}
or
ServiceReference1.ServiceClient _sc = new ServiceReference1.S... | c# | wcf | optimization | null | null | 07/23/2011 01:24:57 | not a real question | Optimal solution for WCF
===
I have to fire service method multiple times. What would be the optimal solution?
foreach(var _param in _paramList)
{
ServiceReference1.ServiceClient _sc = new ServiceReference1.ServiceClient();
_sc.Method(_param);
}
or
ServiceReference1.ServiceClient... | 1 |
8,674,283 | 12/29/2011 22:34:42 | 126,353 | 06/21/2009 00:34:56 | 5,128 | 134 | Suggestions For a Javascript Developer That Is Moving To C# | I've been using Javascript to build mobile applications during the last year and now that I got a HTC HD7S I'm moving to C# and then I want some suggestions to make the move.
*PS: I've already used C# 2 years ago to build some simple Windows Mobile apps so I know a bit of the basics and syntax* | c# | javascript | windows-phone-7 | mobile | null | 12/29/2011 22:40:37 | not a real question | Suggestions For a Javascript Developer That Is Moving To C#
===
I've been using Javascript to build mobile applications during the last year and now that I got a HTC HD7S I'm moving to C# and then I want some suggestions to make the move.
*PS: I've already used C# 2 years ago to build some simple Windows Mobile app... | 1 |
2,124,400 | 01/23/2010 19:27:54 | 250,371 | 01/14/2010 01:26:25 | 43 | 5 | How to create index for dynamic search strings | I have a little DB, for academic purpose only, and I have object tables at most.
I've created a entity-relationship model (ERM) in Power Designer and the program, by default, creates index for the serial id's for each table.
1-I want to know how do I use a index like that on a query.Say I would want to find a produ... | plsql | pl | oracle | index | indexing | null | open | How to create index for dynamic search strings
===
I have a little DB, for academic purpose only, and I have object tables at most.
I've created a entity-relationship model (ERM) in Power Designer and the program, by default, creates index for the serial id's for each table.
1-I want to know how do I use a index l... | 0 |
8,318,081 | 11/29/2011 21:37:22 | 355,039 | 06/01/2010 03:38:36 | 992 | 58 | Animation in framgent won't restart after rotation | I have an animation which starts correctly the first time the fragment is displayed. However after an orientation change, it won't restart. The animation is an animation-list resource set as the background of an ImageView.
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
... | android | animation | rotation | android-animation | null | null | open | Animation in framgent won't restart after rotation
===
I have an animation which starts correctly the first time the fragment is displayed. However after an orientation change, it won't restart. The animation is an animation-list resource set as the background of an ImageView.
@Override
public View onCreat... | 0 |
6,166,384 | 05/29/2011 07:07:41 | 181,509 | 09/30/2009 00:37:48 | 148 | 3 | Clutter Toolkit Dependencies - Ubuntu 11.04 | Is there an obvious way to get Clutter Toolkit up and running in Ubuntu. It seems like there is a huge list of dependencies as I try compiling it. I think the ubuntu package has a very old version (something like 0.25?) while the current version is 1.6.14.
The current dependency which I am unable to resolve is "cogl... | c | opengl | ubuntu | pango | clutter | null | open | Clutter Toolkit Dependencies - Ubuntu 11.04
===
Is there an obvious way to get Clutter Toolkit up and running in Ubuntu. It seems like there is a huge list of dependencies as I try compiling it. I think the ubuntu package has a very old version (something like 0.25?) while the current version is 1.6.14.
The current... | 0 |
8,955,202 | 01/21/2012 17:52:05 | 804,365 | 06/18/2011 08:44:17 | 19 | 0 | DataViewGrid - selected rows (unbound) | I can get the collection of selected rows but I cannot find a way to determine which is the first selected row. E.g. the table has 20 rows, the user selects rows 3,4,5,6 using the mouse on the rowheaders. How can I determine that the selection starts at row 3?
| vb.net | null | null | null | null | null | open | DataViewGrid - selected rows (unbound)
===
I can get the collection of selected rows but I cannot find a way to determine which is the first selected row. E.g. the table has 20 rows, the user selects rows 3,4,5,6 using the mouse on the rowheaders. How can I determine that the selection starts at row 3?
| 0 |
7,385,914 | 09/12/2011 09:42:10 | 386,991 | 12/13/2009 14:10:54 | 11 | 2 | Java - Read XML and leave all entities alone | I want to read XHTML files using SAX or StAX, whatever works best.
But I don't want entities to be resolved, replaced or anything like that.
Ideally they should just remain as they are.
I don't want to use DTDs.
Here's an (executable, using Scala 2.8.x) example:
import javax.xml.stream._
import javax.... | java | xml | sax | entities | stax | null | open | Java - Read XML and leave all entities alone
===
I want to read XHTML files using SAX or StAX, whatever works best.
But I don't want entities to be resolved, replaced or anything like that.
Ideally they should just remain as they are.
I don't want to use DTDs.
Here's an (executable, using Scala 2.8.x) example:
... | 0 |
6,600,666 | 07/06/2011 17:40:14 | 449,310 | 09/16/2010 09:30:37 | 200 | 23 | Flash Video player subtitles | Hello I want to insert subtitles in youtube flash movies. As I can see, there is a site that can do this. http://www.overstream.net/ is the site and I am wondering how I can do this?
If I make a flash player ang give it the url of a youtube video, it can play it?
How can I do this?
Thank you! | flash | flash-player | subtitle | null | null | 07/07/2011 14:33:03 | not constructive | Flash Video player subtitles
===
Hello I want to insert subtitles in youtube flash movies. As I can see, there is a site that can do this. http://www.overstream.net/ is the site and I am wondering how I can do this?
If I make a flash player ang give it the url of a youtube video, it can play it?
How can I do th... | 4 |
5,918,053 | 05/06/2011 23:32:50 | 712,213 | 04/17/2011 14:46:11 | 1 | 0 | How do I make a Android Service where I can pass information to it when it starts? | I wanna start an android service but I need to pass some info to it before it starts how can I do this? | android | null | null | null | null | null | open | How do I make a Android Service where I can pass information to it when it starts?
===
I wanna start an android service but I need to pass some info to it before it starts how can I do this? | 0 |
11,574,505 | 07/20/2012 07:08:02 | 492,372 | 10/30/2010 20:02:03 | 544 | 6 | Telecom churn dataset | I am looking for a free/paid data set for predicting telecom churn. Is there a training and test data set that is available somewhere? | algorithm | dataset | machine-learning | churn | null | 07/20/2012 14:58:06 | off topic | Telecom churn dataset
===
I am looking for a free/paid data set for predicting telecom churn. Is there a training and test data set that is available somewhere? | 2 |
9,832,918 | 03/23/2012 01:16:35 | 1,276,061 | 03/17/2012 17:53:43 | 1 | 0 | how to get background color of button on android? | I want to get color of button.. I couldnt get color from getbackground function which returns drawable. I used getsolidcolor which returns integer value but its being 0 (zero) all time..
I dont understand where is problem. maybe its not true function..
here is my android code
int renk = btn1.get... | android | background-color | null | null | null | null | open | how to get background color of button on android?
===
I want to get color of button.. I couldnt get color from getbackground function which returns drawable. I used getsolidcolor which returns integer value but its being 0 (zero) all time..
I dont understand where is problem. maybe its not true function..
here is... | 0 |
5,666,805 | 04/14/2011 16:59:14 | 708,385 | 04/14/2011 16:53:03 | 1 | 0 | is ZEND FRAMEWORK a good ideia do create an Social Networking website? | I'm asking because some people say that Zend Framework is not very effective when it comes to speed. Today I know the following frameworks: SpaghettiFramework, CodeIgniter, CakePHP and Zend, What is the best choice for creating a social network? Thanks. | php | zend-framework | cakephp | codeigniter | social-networking | 04/14/2011 17:08:38 | not constructive | is ZEND FRAMEWORK a good ideia do create an Social Networking website?
===
I'm asking because some people say that Zend Framework is not very effective when it comes to speed. Today I know the following frameworks: SpaghettiFramework, CodeIgniter, CakePHP and Zend, What is the best choice for creating a social network... | 4 |
2,236,772 | 02/10/2010 12:38:49 | 131,809 | 07/01/2009 16:03:48 | 455 | 19 | Quartz.net and Common.Logging - Using Log4Net | I'm using Quartz.net within a windows service.
Currently, the trigger is not firing - I'd like to use the logging to find out why.
I have edited my config file for thie windows service:
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
... | c# | quartz.net | quartz-scheduler | log4net | logging | null | open | Quartz.net and Common.Logging - Using Log4Net
===
I'm using Quartz.net within a windows service.
Currently, the trigger is not firing - I'd like to use the logging to find out why.
I have edited my config file for thie windows service:
<configSections>
<section name="log4net" type="log4net.Config.L... | 0 |
8,905,933 | 01/18/2012 06:11:22 | 983,767 | 10/07/2011 10:03:20 | 14 | 2 | XML to XML transformation | I have a requirement that I have one input XML and one XSD. I need to transform from input xml format to another xml format based on the XSD. Please help me how can I do this. I am new for xml transformations. | xml | xsd | null | null | null | 01/21/2012 13:59:47 | not a real question | XML to XML transformation
===
I have a requirement that I have one input XML and one XSD. I need to transform from input xml format to another xml format based on the XSD. Please help me how can I do this. I am new for xml transformations. | 1 |
3,509,001 | 08/18/2010 04:37:59 | 423,587 | 08/18/2010 04:37:59 | 1 | 0 | Good books for Support department management | We have a small support department that has recently started using MS Dynamics CRM. As a developer, I occasional check active cases to see what problems are occurring in our software so it may be addressed. However, I usually find the cases emails, notes, questions asked, resolutions etc are not to my satisfaction.
Do... | management | dynamics-crm | null | null | null | 09/30/2011 08:41:29 | not constructive | Good books for Support department management
===
We have a small support department that has recently started using MS Dynamics CRM. As a developer, I occasional check active cases to see what problems are occurring in our software so it may be addressed. However, I usually find the cases emails, notes, questions aske... | 4 |
11,266,323 | 06/29/2012 17:29:04 | 979,419 | 10/04/2011 22:29:47 | 8 | 0 | Assistance in Implementing a Voting System on an Obtvse-powered Website | my personal blog/website (ChandlerCollins.com) runs on the Obtvse platform. In case you don't know, Obtvse is the open source variant of Dustin Curtis' blogging platform <a href = "https://svbtle.com/">Svbtle</a>.
Obtvse is a simple markdown-powered Ruby on Rails blog platform. The code for Obtvse is found <a href... | ruby-on-rails | open-source | github | reddit | vote-up-buttons | 06/30/2012 23:35:47 | not a real question | Assistance in Implementing a Voting System on an Obtvse-powered Website
===
my personal blog/website (ChandlerCollins.com) runs on the Obtvse platform. In case you don't know, Obtvse is the open source variant of Dustin Curtis' blogging platform <a href = "https://svbtle.com/">Svbtle</a>.
Obtvse is a simple markd... | 1 |
5,828,322 | 04/29/2011 05:41:30 | 730,513 | 04/29/2011 05:41:30 | 1 | 0 | Global Variables used across files in PHP | HI all,
I have come across a situation where i need to use a queue and that should be accessible in all the pages . I tried it using Global variables but couldn't meet the requirement. | php | null | null | null | null | 04/30/2011 05:39:17 | not a real question | Global Variables used across files in PHP
===
HI all,
I have come across a situation where i need to use a queue and that should be accessible in all the pages . I tried it using Global variables but couldn't meet the requirement. | 1 |
10,964,254 | 06/09/2012 20:12:02 | 997,705 | 10/16/2011 10:15:57 | 29 | 0 | Android Google Maps directions and road path inside app | I'm searching for a few hours right now, and i can't seem to reach any solution.
I am developing an app that displays some reference points in a map. I want to draw the road path between these points, and show the respective directions inside my app. I don't want to launch google maps app to show those informations th... | android | google-maps | null | null | null | null | open | Android Google Maps directions and road path inside app
===
I'm searching for a few hours right now, and i can't seem to reach any solution.
I am developing an app that displays some reference points in a map. I want to draw the road path between these points, and show the respective directions inside my app. I don't... | 0 |
7,734,758 | 10/12/2011 02:56:36 | 990,640 | 10/12/2011 02:45:19 | 1 | 0 | Paypal Payflow error code 12 even thought the CC is valid | Hello Stackoverflowers,
I am having a problem with a persistent error being returned while processing payments through my Virtuemart store, which is utilising Paypal Payflow Pro as the payment processor. Although it was working up until recently, it now appears that payments from any credit card (bar 1, I'll get to ... | error-message | paypal | credit-card | payflowpro | null | 10/15/2011 05:00:16 | off topic | Paypal Payflow error code 12 even thought the CC is valid
===
Hello Stackoverflowers,
I am having a problem with a persistent error being returned while processing payments through my Virtuemart store, which is utilising Paypal Payflow Pro as the payment processor. Although it was working up until recently, it now ... | 2 |
8,156,830 | 11/16/2011 18:36:07 | 1,034,022 | 11/07/2011 15:36:25 | 10 | 0 | Get timezone by state/province and country? | Does anyone know how to get the timezone based on a users state/province and country selection? | c# | timezone | region | null | null | 11/16/2011 18:50:42 | not a real question | Get timezone by state/province and country?
===
Does anyone know how to get the timezone based on a users state/province and country selection? | 1 |
10,733,036 | 05/24/2012 07:29:59 | 566,360 | 01/07/2011 03:12:01 | 438 | 13 | Run mypdf lib on ios | I'm looking for a lib for pdf parsing written in c. My app is cross-platform.
I found mupdf:
> http://code.google.com/p/mupdf/downloads/list
In the package mupdf-1.0-source.tar.gz, there's a iOS app. But I tried to run with no luck.
How can I run it?
Thank you
| ios | c | pdf | native | pdf-parsing | 06/08/2012 17:48:23 | not a real question | Run mypdf lib on ios
===
I'm looking for a lib for pdf parsing written in c. My app is cross-platform.
I found mupdf:
> http://code.google.com/p/mupdf/downloads/list
In the package mupdf-1.0-source.tar.gz, there's a iOS app. But I tried to run with no luck.
How can I run it?
Thank you
| 1 |
7,102,891 | 08/18/2011 05:40:27 | 898,245 | 08/17/2011 08:37:10 | 6 | 0 | How to find the base and amino acdis of DNA the list position of DNA sequence | I have the sequence DNA and I want to find nucleotide and amino acids of the sequence at list position . Below is the example:
open the sequence DNA: ACTAAAAATACAAAAATTAGCCAGGCGTGGTGGCAC (the length of sequence is 33)
Open the list position: (1,3,5,7,9,12)
I hope the result will print with file.txt and the resul... | perl | perl-module | bioinformatics | null | null | 08/24/2011 06:53:12 | not constructive | How to find the base and amino acdis of DNA the list position of DNA sequence
===
I have the sequence DNA and I want to find nucleotide and amino acids of the sequence at list position . Below is the example:
open the sequence DNA: ACTAAAAATACAAAAATTAGCCAGGCGTGGTGGCAC (the length of sequence is 33)
Open the list p... | 4 |
6,202,549 | 06/01/2011 14:09:45 | 779,420 | 06/01/2011 12:58:07 | 1 | 0 | Spliting strings by capltal letters regex python | Im trying to split strings into lists of "tags" in python, and im trying to get it to handle things like "HappyBirthday". and i want it to remove most punctuation but ignore hyphens, and apostrophis, so i have this
tags = re.findall("([A-Z]{2,}(?=[A-Z]|$)|[A-Z][a-z]*)|\w+-\w+|[\w']+"
and i would want to turn ... | python | regex | string | tags | null | null | open | Spliting strings by capltal letters regex python
===
Im trying to split strings into lists of "tags" in python, and im trying to get it to handle things like "HappyBirthday". and i want it to remove most punctuation but ignore hyphens, and apostrophis, so i have this
tags = re.findall("([A-Z]{2,}(?=[A-Z]|$)|[A-... | 0 |
7,104,820 | 08/18/2011 08:58:47 | 146,603 | 07/28/2009 18:33:58 | 1,552 | 45 | Tutorial teaching Ruby syntax/knowledge required to easily learn rails | I am trying to learn ROR these days and have basic knowledge of ruby, but often working with rails, I get to the point where it seems as if I don't know a bit about ruby.
Just to explain the point, in rails we use `has_many` keyword. I did not learn any such thing when I was going through ruby tutorials but just cam... | ruby-on-rails | ruby | syntax | concepts | null | null | open | Tutorial teaching Ruby syntax/knowledge required to easily learn rails
===
I am trying to learn ROR these days and have basic knowledge of ruby, but often working with rails, I get to the point where it seems as if I don't know a bit about ruby.
Just to explain the point, in rails we use `has_many` keyword. I did n... | 0 |
6,567,923 | 07/04/2011 06:15:18 | 827,597 | 07/04/2011 06:15:18 | 1 | 0 | Timesone conversion | I need to convert from one timezone to another timezone in my project.
I am able to convert from my current timezone to another but not from one timezone to another.
For example I am in India I am able to convert from India to US
using Data d=new Date() and assigning it to a calendar object and setting the time ... | java | null | null | null | null | null | open | Timesone conversion
===
I need to convert from one timezone to another timezone in my project.
I am able to convert from my current timezone to another but not from one timezone to another.
For example I am in India I am able to convert from India to US
using Data d=new Date() and assigning it to a calendar obj... | 0 |
5,862,233 | 05/02/2011 20:41:04 | 623,658 | 02/18/2011 18:56:38 | 71 | 0 | How do I commit only changes in one directory? | I'm using Git 1.7.4.1 on Mac 10.6.6. From the command line, how do I commit changes in only a single directory? I added the directory by doing
git add my-dir
but doing
git commit -a
Brings up a list of all changes in my repo, and I only want to commit and push changes from my-dir.
Thanks for yo... | git | null | null | null | null | null | open | How do I commit only changes in one directory?
===
I'm using Git 1.7.4.1 on Mac 10.6.6. From the command line, how do I commit changes in only a single directory? I added the directory by doing
git add my-dir
but doing
git commit -a
Brings up a list of all changes in my repo, and I only want to c... | 0 |
4,861,554 | 02/01/2011 10:43:09 | 254,232 | 01/19/2010 17:37:43 | 175 | 8 | PGTO formula in c# | i need to use this formula in c#, and i dont know how is the original formula.
can anyone help me? | c# | excel | null | null | null | null | open | PGTO formula in c#
===
i need to use this formula in c#, and i dont know how is the original formula.
can anyone help me? | 0 |
1,608,269 | 10/22/2009 16:04:09 | 179,364 | 09/26/2009 02:25:54 | 134 | 1 | What kinf of css hack for IE do you know? | I know these so far:
*width:to hack all IE
_width:to hack IE6 only
Can you guys continue? | css | ie-hack | null | null | null | 10/22/2009 16:18:40 | not a real question | What kinf of css hack for IE do you know?
===
I know these so far:
*width:to hack all IE
_width:to hack IE6 only
Can you guys continue? | 1 |
3,244,050 | 07/14/2010 07:12:39 | 384,193 | 07/06/2010 05:33:08 | 3 | 0 | what does this snippet refer? | <pre>
public void run(){
try{
while(true){
repaint();
synchronized(this){
wait(100L);
}
}
}catch(Exception e){
e.printStackTrace();
}
}
</pre> | java-me | null | null | null | null | null | open | what does this snippet refer?
===
<pre>
public void run(){
try{
while(true){
repaint();
synchronized(this){
wait(100L);
}
}
}catch(Exception e){
e.printStackTrace();
}
}
</pre> | 0 |
8,264,814 | 11/25/2011 04:29:48 | 1,019,414 | 10/29/2011 04:47:03 | 30 | 0 | How the software knows that how many times it is installed? | How the software knows that how many times it has been installed? For example we are installing an ativirus (6 installations allowed for 6 systems),on the seventh installation it will not allow to install. How the software knows that it has been installed 6 times before. Please explain its working..
Regards,
David | windows-xp | installation | software-tools | null | null | 11/25/2011 07:48:39 | off topic | How the software knows that how many times it is installed?
===
How the software knows that how many times it has been installed? For example we are installing an ativirus (6 installations allowed for 6 systems),on the seventh installation it will not allow to install. How the software knows that it has been installe... | 2 |
4,508,797 | 12/22/2010 11:41:14 | 9,951 | 09/15/2008 20:34:12 | 20,488 | 341 | Can a user / a game developper get their credit back in dollars? If yes, at what price? | You can find every information about [how to give money to faceboo][1]k, but when it comes to take it back...
If I give credits to a user, can he get it back in dollars?
If a user gives me credits, can I turn it into dollars?
If yes, how much does it cost?
[1]: http://www.facebook.com/credits/ | facebook | facebook-credits | null | null | null | 12/22/2010 15:59:14 | off topic | Can a user / a game developper get their credit back in dollars? If yes, at what price?
===
You can find every information about [how to give money to faceboo][1]k, but when it comes to take it back...
If I give credits to a user, can he get it back in dollars?
If a user gives me credits, can I turn it into dol... | 2 |
8,651,949 | 12/28/2011 04:44:01 | 189,554 | 10/14/2009 03:05:31 | 21 | 1 | Determining interop function caller | I'm exposing a C# class to COM using these attributes:
[ComVisible(true)]
[ClassInterface(ClassInterfaceType.AutoDual)]
[GuidAttribute("2325EBEB-DB5F-4D29-B220-64845379D9C5")]
[ComSourceInterfaces(typeof(WrapperEvents))]
in this class I have a function:
public void shutdownService()
This... | c# | vb6 | interop | null | null | null | open | Determining interop function caller
===
I'm exposing a C# class to COM using these attributes:
[ComVisible(true)]
[ClassInterface(ClassInterfaceType.AutoDual)]
[GuidAttribute("2325EBEB-DB5F-4D29-B220-64845379D9C5")]
[ComSourceInterfaces(typeof(WrapperEvents))]
in this class I have a function: ... | 0 |
6,728,248 | 07/18/2011 02:48:54 | 849,278 | 07/18/2011 02:37:59 | 1 | 0 | Encryption of data between Mac application and PHP application | I am new to the whole encryption world, and I wish to build a Mac application which interacts with a PHP application in order to access and manipulate data remotely.
My problem is that I can't just transfer plain data over the internet, as most of the data being transfered can be very private, as well as username and ... | php | security | osx | encryption | application | null | open | Encryption of data between Mac application and PHP application
===
I am new to the whole encryption world, and I wish to build a Mac application which interacts with a PHP application in order to access and manipulate data remotely.
My problem is that I can't just transfer plain data over the internet, as most of the... | 0 |
3,899,605 | 10/10/2010 08:37:08 | 331,024 | 05/02/2010 22:54:39 | 62 | 3 | Does GCC create typedefs for arrays passed to functions? | While debugging some C code with gdb I came across something I've not seen nor heard of before! The compiler (gcc -O0) seems to have created a new type for passing an array of vectors to a function... I think! Have a look at the code and gdb information below:
/* The Vector type - nothing unusual */
typedef... | c | gcc | function | compiler | parameter-passing | null | open | Does GCC create typedefs for arrays passed to functions?
===
While debugging some C code with gdb I came across something I've not seen nor heard of before! The compiler (gcc -O0) seems to have created a new type for passing an array of vectors to a function... I think! Have a look at the code and gdb information belo... | 0 |
10,619,277 | 05/16/2012 13:10:14 | 1,381,225 | 05/08/2012 05:17:00 | 19 | 0 | How to search through sub views of navigation bar | I have a small question...How to search through the sub views of navigation bar.My thought is to change the font size if navigation title.... | iphone | ios | iphone-sdk-4.0 | ios4 | cocos2d-iphone | 05/17/2012 02:24:29 | not a real question | How to search through sub views of navigation bar
===
I have a small question...How to search through the sub views of navigation bar.My thought is to change the font size if navigation title.... | 1 |
7,283,566 | 09/02/2011 12:43:32 | 458,955 | 09/26/2010 21:33:23 | 505 | 12 | Proper use of malloc | A chapter out of the book I have been reading has focused on memory management allocating space using malloc linux functions. Before I read this I would make relatively small programs without allocating space. Is it acceptable to not do anything in the way of memory allocation for applications that run under 50 mB? Wha... | c++ | c | linux | malloc | null | 09/03/2011 02:00:06 | not a real question | Proper use of malloc
===
A chapter out of the book I have been reading has focused on memory management allocating space using malloc linux functions. Before I read this I would make relatively small programs without allocating space. Is it acceptable to not do anything in the way of memory allocation for applications... | 1 |
11,649,266 | 07/25/2012 12:04:08 | 1,528,328 | 07/16/2012 08:49:10 | 55 | 1 | How to following code gives output as 14? Can anyone explain? | Read this question somewhere. Couldn't find the exact execution process.
Can anyone explain the process.
class Test
{
public static void main(String [] args)
{
int x = 11 & 9;
int y = x ^ 3;
System.out.println( y | 12 );
}
} | java | null | null | null | null | 07/28/2012 03:48:53 | not a real question | How to following code gives output as 14? Can anyone explain?
===
Read this question somewhere. Couldn't find the exact execution process.
Can anyone explain the process.
class Test
{
public static void main(String [] args)
{
int x = 11 & 9;
int y = x ^ 3;
... | 1 |
5,553,327 | 04/05/2011 14:16:20 | 693,083 | 04/05/2011 14:16:20 | 1 | 0 | Jquery accordian problems with ie? | I have a simple jquery accordion that animates just fine, but in ie auto height isnt adjusting and have the menu is displaying underneath another dive, I know is a css issue. Any tips? I don't know much about min-height and what not.
#accordion{
width:200px;
height:auto;
background:#fff;
-moz-box-shadow... | jquery | css | internet-explorer | jquery-accordian | null | 06/05/2012 18:22:19 | not a real question | Jquery accordian problems with ie?
===
I have a simple jquery accordion that animates just fine, but in ie auto height isnt adjusting and have the menu is displaying underneath another dive, I know is a css issue. Any tips? I don't know much about min-height and what not.
#accordion{
width:200px;
height:aut... | 1 |
8,565,396 | 12/19/2011 17:58:40 | 1,008,531 | 10/22/2011 12:23:33 | 11 | 0 | doubly linked list shuffle c++ | i need to shuffle a deck of cards that are in a doubly linked list. I have read some solution on internet, but there not very clear. Also because because my english is not to good.
I was thinking about a for loop that's loops through my 52 cards, takes randomly a number between 2 and 52. Then I make a nested loop in ... | c++ | list | linked | shuffle | cards | 12/20/2011 01:27:43 | not constructive | doubly linked list shuffle c++
===
i need to shuffle a deck of cards that are in a doubly linked list. I have read some solution on internet, but there not very clear. Also because because my english is not to good.
I was thinking about a for loop that's loops through my 52 cards, takes randomly a number between 2 a... | 4 |
4,672,774 | 01/12/2011 18:53:51 | 412,932 | 08/06/2010 10:55:07 | 1 | 0 | Android Play .asx file with MediaPlayer? | I want to make an app with which you can play radio audio streams.
So far i have this:
@Override
public void onClick(View v)
{
player = new MediaPlayer();
try {
player.setDataSource("http://livestreams.omroep.nl/npo/3fm-bb");
player.prepare();
player.start();
} cat... | android | mediaplayer | asx | null | null | null | open | Android Play .asx file with MediaPlayer?
===
I want to make an app with which you can play radio audio streams.
So far i have this:
@Override
public void onClick(View v)
{
player = new MediaPlayer();
try {
player.setDataSource("http://livestreams.omroep.nl/npo/3fm-bb");
pl... | 0 |
6,549,932 | 07/01/2011 15:22:20 | 771,541 | 05/26/2011 14:59:47 | 48 | 6 | Image from URL then crop | So I've been trying to grab an image from an external URL, crop it and then save it. I could copy and save it okay but it's the crop part that is troubling me. I can't figure out how to get an image resource from the CURL stuff (I'm no good with curl this is someone else's curl stuff).
I though it was this:
$... | php | image | curl | png | crop | null | open | Image from URL then crop
===
So I've been trying to grab an image from an external URL, crop it and then save it. I could copy and save it okay but it's the crop part that is troubling me. I can't figure out how to get an image resource from the CURL stuff (I'm no good with curl this is someone else's curl stuff).
... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.