PostId int64 13 11.8M | PostCreationDate stringlengths 19 19 | OwnerUserId int64 3 1.57M | OwnerCreationDate stringlengths 10 19 | ReputationAtPostCreation int64 -33 210k | OwnerUndeletedAnswerCountAtPostTime int64 0 5.77k | Title stringlengths 10 250 | BodyMarkdown stringlengths 12 30k | Tag1 stringlengths 1 25 ⌀ | Tag2 stringlengths 1 25 ⌀ | Tag3 stringlengths 1 25 ⌀ | Tag4 stringlengths 1 25 ⌀ | Tag5 stringlengths 1 25 ⌀ | PostClosedDate stringlengths 19 19 ⌀ | OpenStatus stringclasses 5
values | unified_texts stringlengths 47 30.1k | OpenStatus_id int64 0 4 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8,566,824 | 12/19/2011 20:01:13 | 1,096,496 | 12/13/2011 19:42:42 | 6 | 0 | Powershell timeout service | I am trying to start a service in Powershell. If the service does not start within a specified time limit, the attempt to start should be killed, otherwise it should carry on as usual. | powershell | service | timeout | null | null | 12/19/2011 21:51:08 | too localized | Powershell timeout service
===
I am trying to start a service in Powershell. If the service does not start within a specified time limit, the attempt to start should be killed, otherwise it should carry on as usual. | 3 |
8,679,825 | 12/30/2011 13:16:10 | 899,231 | 08/17/2011 18:19:48 | 8 | 0 | Unable to create Configuration Database...? | ![enter image description here][1]Hi,
I am stuck into this issues . Please kindly help me out.
As while runnig product configuration wizard 1st time to configure Central Administration it occurs. I have attached the error image.
[1]: http://i.stack.imgur.com/nWFQW.png | sharepoint | sharepoint2010 | administration | sharepointadmin | null | 03/28/2012 18:00:33 | off topic | Unable to create Configuration Database...?
===
![enter image description here][1]Hi,
I am stuck into this issues . Please kindly help me out.
As while runnig product configuration wizard 1st time to configure Central Administration it occurs. I have attached the error image.
[1]: http://i.stack.imgur.co... | 2 |
9,977,953 | 04/02/2012 14:05:24 | 1,061,903 | 11/23/2011 12:30:49 | 1,076 | 72 | serialize 2d form element into object | I found a method on stack a while back that allows me to convert a forms elements into an object, here is the method:
$.fn.serializeObject = function()
{
var o = {};
var a = this.serializeArray();
$.each(a, function() {
if (o[this.name] !== undefined) {
... | javascript | jquery | null | null | null | null | open | serialize 2d form element into object
===
I found a method on stack a while back that allows me to convert a forms elements into an object, here is the method:
$.fn.serializeObject = function()
{
var o = {};
var a = this.serializeArray();
$.each(a, function() {
if (o... | 0 |
6,570,670 | 07/04/2011 11:09:44 | 827,991 | 07/04/2011 11:04:53 | 1 | 0 | Problem in getting DST time? | I am trying to get the time of other GMT value by using
Calendar c1 = Calendar.getInstance(TimeZone.getTimeZone(gmt));
but how can i get the DST time at that time zone.
Please Help me...
| blackberry | null | null | null | null | null | open | Problem in getting DST time?
===
I am trying to get the time of other GMT value by using
Calendar c1 = Calendar.getInstance(TimeZone.getTimeZone(gmt));
but how can i get the DST time at that time zone.
Please Help me...
| 0 |
9,288,712 | 02/15/2012 06:13:16 | 1,203,490 | 02/11/2012 07:41:05 | 4 | 2 | Display integer value in minimum 2 digit before decimal in sql server | I need to display int value in minimum 2 digit before decimal in sql server.
Is it possible than how pls rply? | sql-server | null | null | null | null | null | open | Display integer value in minimum 2 digit before decimal in sql server
===
I need to display int value in minimum 2 digit before decimal in sql server.
Is it possible than how pls rply? | 0 |
9,991,976 | 04/03/2012 11:05:17 | 649,737 | 03/08/2011 11:47:33 | 159 | 0 | CodeIgniter MVC and updating two different tables in one function | I have a JavaScript based page where a grid displays all the data for the registered users which is taken from the database.In the UI I have also column named 'groups' which display the groups that every users is participating, but this info is taken using additional two additional tables - 'groups' with 'id' and 'grou... | mvc | codeigniter | activerecord | null | null | null | open | CodeIgniter MVC and updating two different tables in one function
===
I have a JavaScript based page where a grid displays all the data for the registered users which is taken from the database.In the UI I have also column named 'groups' which display the groups that every users is participating, but this info is take... | 0 |
8,877,898 | 01/16/2012 09:25:58 | 975,566 | 10/02/2011 16:27:04 | 1,666 | 0 | jQuery ui Grid examples for the beginner | I have a small application I am working on. I have reference tables and would really like to be able to use the jQuery UI grid plug-in for these when it's ready. I looked at other products. They are some good products out there that are years ahead of the jQuery UI grid. However I would like to go with **the official j... | jquery | jquery-ui | null | null | null | 01/17/2012 18:16:20 | not constructive | jQuery ui Grid examples for the beginner
===
I have a small application I am working on. I have reference tables and would really like to be able to use the jQuery UI grid plug-in for these when it's ready. I looked at other products. They are some good products out there that are years ahead of the jQuery UI grid. Ho... | 4 |
5,647,539 | 04/13/2011 10:12:48 | 697,205 | 04/07/2011 16:31:38 | 1 | 0 | Definig a regular Expression | I would like to define a regex in Javascript that allows to verify an other input regex
Any helps ar welcome
thanks. | javascript | regex | null | null | null | 04/13/2011 10:24:02 | not a real question | Definig a regular Expression
===
I would like to define a regex in Javascript that allows to verify an other input regex
Any helps ar welcome
thanks. | 1 |
7,831,519 | 10/20/2011 05:26:06 | 1,000,471 | 10/18/2011 06:00:21 | 6 | 0 | How to restart service using command prompt? | i want to restart windows service using command prompt in icon section using innosetup.please help me to solve the problem | windows-services | installer | inno-setup | null | null | null | open | How to restart service using command prompt?
===
i want to restart windows service using command prompt in icon section using innosetup.please help me to solve the problem | 0 |
4,922,429 | 02/07/2011 14:31:08 | 501,098 | 11/08/2010 20:08:24 | 45 | 2 | What are the deepest/darkest levels of user rights in a web/desktop application? | What would be the deepest possible level of user rights in a web/desktop application?
Is it defining the buttons on a form, columns/rows/cells of the datagrid, or table rows in the DB?
What are the possible ways of maintaining that structure?
How to limit/restrict specific cell of a datagrid per user?
| java | .net | asp.net | python | ruby | 02/07/2011 15:34:48 | not a real question | What are the deepest/darkest levels of user rights in a web/desktop application?
===
What would be the deepest possible level of user rights in a web/desktop application?
Is it defining the buttons on a form, columns/rows/cells of the datagrid, or table rows in the DB?
What are the possible ways of maintaining ... | 1 |
419,276 | 01/07/2009 05:21:17 | 47,610 | 12/19/2008 01:12:08 | 1 | 0 | Data Modeling Tool for SQL Server | do you know any free data modeling tool for SQL Server similar to the ERwin Data Modeler or the ER/Studio? | data-modeling | null | null | null | null | 06/03/2012 05:23:01 | not constructive | Data Modeling Tool for SQL Server
===
do you know any free data modeling tool for SQL Server similar to the ERwin Data Modeler or the ER/Studio? | 4 |
6,795,015 | 07/22/2011 19:23:38 | 575,065 | 01/14/2011 00:19:54 | 701 | 13 | WPF - Dynamic binding as a formed string | I have a ListBox which hold a set of objects (linked via ItemsSource bind to an ObservableCollection). I haven't used Dynamic binding yet. It currently use the toString() method of the object. The toString() method show a string this way : name (someOtherProperty)
However, **even if the INotifyPropertyChanged is imp... | wpf | null | null | null | null | null | open | WPF - Dynamic binding as a formed string
===
I have a ListBox which hold a set of objects (linked via ItemsSource bind to an ObservableCollection). I haven't used Dynamic binding yet. It currently use the toString() method of the object. The toString() method show a string this way : name (someOtherProperty)
Howeve... | 0 |
9,879,927 | 03/26/2012 21:10:29 | 763,305 | 05/20/2011 19:29:35 | 1,771 | 43 | How to tell setup.py to use Visual Studio | I'm building a Python extension module on Windows. The extension module is written in C++. When I call `setup.py bdist` then setup.py uses MinGW to compile the C++ code. Is there any way I can tell setup.py to use MSVS 2008 instead?
(Why do I want to do this? This [issue][1] is one reason.)
[1]: http://stack... | python | setuptools | null | null | null | null | open | How to tell setup.py to use Visual Studio
===
I'm building a Python extension module on Windows. The extension module is written in C++. When I call `setup.py bdist` then setup.py uses MinGW to compile the C++ code. Is there any way I can tell setup.py to use MSVS 2008 instead?
(Why do I want to do this? This [issu... | 0 |
7,715,810 | 10/10/2011 16:26:37 | 933,980 | 09/08/2011 03:42:58 | 1 | 0 | Blogger + Facebook Comment Count | Hi there I would like combine the number of comment received on a Page via Blogger Comment System and Facebook Comment System.
So if I have received 2 Comments from Facebook and 3 comments from Blogger ,Then In the Post Header I want to show the Comment Count as 5 Comments (Total of Both)
I am newbie to this stuf... | javascript | facebook | count | comment | blogger | null | open | Blogger + Facebook Comment Count
===
Hi there I would like combine the number of comment received on a Page via Blogger Comment System and Facebook Comment System.
So if I have received 2 Comments from Facebook and 3 comments from Blogger ,Then In the Post Header I want to show the Comment Count as 5 Comments (Tota... | 0 |
11,142,687 | 06/21/2012 16:34:35 | 1,471,101 | 06/21/2012 05:21:40 | 18 | 0 | Alternative for openssl shell command in C code | I need to write a C code which can do the same functions as the following linux commanda using openssl:
openssl aes-256-cbc -a -salt -in test.txt
openssl aes-256-cbc -a -salt -in test.txt -out test1.txt
openssl aes-256-cbc -d -a -salt -in test.txt
openssl aes-256-cbc -d -a -salt -in test.txt -out ... | c | linux | terminal | openssl | null | 06/22/2012 11:50:31 | not a real question | Alternative for openssl shell command in C code
===
I need to write a C code which can do the same functions as the following linux commanda using openssl:
openssl aes-256-cbc -a -salt -in test.txt
openssl aes-256-cbc -a -salt -in test.txt -out test1.txt
openssl aes-256-cbc -d -a -salt -in test.txt
... | 1 |
10,005,523 | 04/04/2012 05:42:36 | 753,341 | 05/14/2011 05:48:17 | 3,015 | 95 | The Bizarre Hidden Powers of the Preprocessor? | > The preprocessor in C and C++ deserves an entire essay on its own to explore its rich possibilities for obfuscation.
It is true that the C++ (and C) preprocessor can be used for a lot of powerful stuff. `#ifdefs` and `#defines` are often used to determine platforms, compilers and backends. Manipulating the code li... | c++ | preprocessor | power | evil | null | 04/04/2012 05:50:15 | not constructive | The Bizarre Hidden Powers of the Preprocessor?
===
> The preprocessor in C and C++ deserves an entire essay on its own to explore its rich possibilities for obfuscation.
It is true that the C++ (and C) preprocessor can be used for a lot of powerful stuff. `#ifdefs` and `#defines` are often used to determine platfor... | 4 |
10,564,145 | 05/12/2012 13:24:01 | 951,049 | 09/18/2011 08:35:11 | 6 | 0 | ORACLE not available | I installed Oracle 11g express edition on my windows7 OS.
But I got an error always.
My regedit.exe;
ORACLE_HOME : C:\oraclexe\app\oracle\product\11.2.0\server
ORACLE_SID : XE
and
My Environment Variables settings;
ORACLE_HOME : C:\oraclexe\app\oracle\product\11.2.0\server
ORACLE_SID : XE
And... | oracle11g | null | null | null | null | 05/12/2012 14:32:48 | off topic | ORACLE not available
===
I installed Oracle 11g express edition on my windows7 OS.
But I got an error always.
My regedit.exe;
ORACLE_HOME : C:\oraclexe\app\oracle\product\11.2.0\server
ORACLE_SID : XE
and
My Environment Variables settings;
ORACLE_HOME : C:\oraclexe\app\oracle\product\11.2.0\server... | 2 |
4,577,156 | 01/02/2011 04:38:44 | 555,690 | 12/28/2010 06:15:35 | 1 | 0 | Making a somehow complex application: Ruby vs Python. | I want to create a somehow complex application:
It is a game level editor. You can put in tiles and other objects for a level. Then "compress" the level data into a file.
With another application, it will read the file's data and play the game.
The application is for Windows mainly. Other platforms are yet to ... | python | ruby | gui | null | null | 01/03/2011 01:07:01 | not constructive | Making a somehow complex application: Ruby vs Python.
===
I want to create a somehow complex application:
It is a game level editor. You can put in tiles and other objects for a level. Then "compress" the level data into a file.
With another application, it will read the file's data and play the game.
The app... | 4 |
9,378,232 | 02/21/2012 13:13:50 | 203,657 | 11/05/2009 16:08:05 | 11,202 | 358 | Handle long-running EDT tasks (f.i. TreeModel searching) | Trigger is a recently [re-detected SwingX issue][1]: support deep - that is under collapsed nodes as opposed to visible nodes only, which is the current behaviour - node searching.
"Nichts leichter als das" with all my current exposure to SwingWorker: walk the TreeModel in the background thread and update the ui in... | java | swing | jtree | swingx | edt | null | open | Handle long-running EDT tasks (f.i. TreeModel searching)
===
Trigger is a recently [re-detected SwingX issue][1]: support deep - that is under collapsed nodes as opposed to visible nodes only, which is the current behaviour - node searching.
"Nichts leichter als das" with all my current exposure to SwingWorker: wa... | 0 |
8,903,904 | 01/18/2012 01:06:37 | 1,155,174 | 01/18/2012 01:02:03 | 1 | 0 | how to php encrypt passwords to 128 character? | I want to encrypt php passwords to 128 characters, how is that possible?
I know that I cant use md5 but cant find something specific wish sha or hash. | php | encryption | md5 | null | null | 01/18/2012 01:21:01 | not a real question | how to php encrypt passwords to 128 character?
===
I want to encrypt php passwords to 128 characters, how is that possible?
I know that I cant use md5 but cant find something specific wish sha or hash. | 1 |
1,065,758 | 06/30/2009 20:06:31 | 45,974 | 12/13/2008 14:49:17 | 169 | 4 | Movement "algorithm" in client-server Multiplayer (MMO) Games? | I've been writing a 2D flash multiplayer game and a socket server. My original plan for the movement algorithm between the client and server was the following:
- The client informs the server about the player's movement mode (moving forward or not moving) and the player's turning mode (not turning, turning left or ... | multiplayer | sockets | movement | null | null | null | open | Movement "algorithm" in client-server Multiplayer (MMO) Games?
===
I've been writing a 2D flash multiplayer game and a socket server. My original plan for the movement algorithm between the client and server was the following:
- The client informs the server about the player's movement mode (moving forward or not ... | 0 |
4,220,053 | 11/18/2010 22:04:35 | 208,827 | 11/11/2009 16:28:55 | 1,479 | 5 | Is it possible to build jQuery with a subset of the components? - jQuery | just wondering if it possible to build the jQuery library with **just a selection of components**:
**e.g. without Effects or Manipulation?**
_____
Any ideas? Thanks guys :) | javascript | jquery | build | null | null | null | open | Is it possible to build jQuery with a subset of the components? - jQuery
===
just wondering if it possible to build the jQuery library with **just a selection of components**:
**e.g. without Effects or Manipulation?**
_____
Any ideas? Thanks guys :) | 0 |
9,768,205 | 03/19/2012 10:03:06 | 1,270,869 | 03/15/2012 06:33:46 | 1 | 0 | Adding UIImageView dynamically | In my app am using UIImageViews which i want to create dynamically by using a for loop with names as imageView0,imageView1,imageView2.......
My code is as follows
for (int i=0; i<[getEffectsImageData count]; i++)
{
NSData *imageData = [getEffectsImageData objectAtIndex:i];
UIImage *ima... | iphone | ios | null | null | null | 03/19/2012 15:25:03 | not a real question | Adding UIImageView dynamically
===
In my app am using UIImageViews which i want to create dynamically by using a for loop with names as imageView0,imageView1,imageView2.......
My code is as follows
for (int i=0; i<[getEffectsImageData count]; i++)
{
NSData *imageData = [getEffectsImageData obj... | 1 |
499,070 | 01/31/2009 16:07:42 | 60,006 | 01/29/2009 00:12:46 | 8 | 0 | Java NIO: Sending large messages quickly leads to truncated packets and data loss | I've got this nasty problem where sending multiple, large messages in quick succession from a Java (NIO) server (running Linux) to a client will lead to truncated packets. The messages have to be large and sent very rapidly for the problem to occur. Here's basically what my code is doing (not actual code, but more-or... | java | nio | networking | network-programming | null | null | open | Java NIO: Sending large messages quickly leads to truncated packets and data loss
===
I've got this nasty problem where sending multiple, large messages in quick succession from a Java (NIO) server (running Linux) to a client will lead to truncated packets. The messages have to be large and sent very rapidly for the ... | 0 |
5,594,246 | 04/08/2011 11:13:15 | 698,490 | 04/08/2011 10:46:23 | 1 | 0 | Vlc make transcode stable with H264 | I'm try to transcode live stream from http to helix mobile server.
Basics
OS - Red Hat 4.4.4-13
vlc version 1.1.7
x264 0.114.x
FFmpeg version 0.6.1
But with all my tries all i got is nothing. I use vlc as encoder and decoder and my command is:
_**cvlc -vvv <http_input> --sout '#transcode{width=176,height=144,... | vlc | live-streaming | transcode | null | null | 04/08/2011 22:43:19 | off topic | Vlc make transcode stable with H264
===
I'm try to transcode live stream from http to helix mobile server.
Basics
OS - Red Hat 4.4.4-13
vlc version 1.1.7
x264 0.114.x
FFmpeg version 0.6.1
But with all my tries all i got is nothing. I use vlc as encoder and decoder and my command is:
_**cvlc -vvv <http_input>... | 2 |
711,664 | 04/02/2009 21:18:48 | 84,556 | 03/30/2009 10:28:55 | 36 | 2 | Best Smalltalk/Squeak Books | What is a single book you would recommend to someone interested in Smalltalk?
I've started looking into Smalltalk some weeks ago. So far I've gone through the Cincom tutorials (<a href="http://www.cincomsmalltalk.com/tutorials/version7/tutorial1/">1</a> and <a href="http://www.cincomsmalltalk.com/tutorials/version7/... | smalltalk | squeak | books | null | null | 09/24/2011 14:58:01 | not constructive | Best Smalltalk/Squeak Books
===
What is a single book you would recommend to someone interested in Smalltalk?
I've started looking into Smalltalk some weeks ago. So far I've gone through the Cincom tutorials (<a href="http://www.cincomsmalltalk.com/tutorials/version7/tutorial1/">1</a> and <a href="http://www.cincom... | 4 |
10,024,120 | 04/05/2012 07:12:43 | 1,314,567 | 04/28/2011 01:52:46 | 1 | 0 | Xcode 4.3.2 error when run app on iPhone 4s | I just created a Tabbed Application template, then set the app id . run , get error below:
error: failed to launch '/Users/zhanqi/Library/Developer/Xcode/DerivedData/mytest-ggqepovwnaqjfidycsaekzocibxx/Build/Products/Debug-iphoneos/mytest.app/mytest' -- No such file or directory (/Users/zhanqi/Library/Developer/Xco... | iphone | ios | xcode | null | null | null | open | Xcode 4.3.2 error when run app on iPhone 4s
===
I just created a Tabbed Application template, then set the app id . run , get error below:
error: failed to launch '/Users/zhanqi/Library/Developer/Xcode/DerivedData/mytest-ggqepovwnaqjfidycsaekzocibxx/Build/Products/Debug-iphoneos/mytest.app/mytest' -- No such file ... | 0 |
7,037,063 | 08/12/2011 07:49:55 | 380,690 | 07/01/2010 03:11:35 | 67 | 0 | Spring mvc controller return Collection(set, list), jsp use it as array | In controller:
> return model.addAttribute("test", new Set<test>());
In JSP, could use jstl
> c:forEach items="${test}" var=value>
to get value from Set.
Is it any way to convert Set to array? Instead of using jstl <c:forEach>, we use like test[0], test[1] ... to access Set value.
Thx
| java | spring | jsp | spring-mvc | jstl | null | open | Spring mvc controller return Collection(set, list), jsp use it as array
===
In controller:
> return model.addAttribute("test", new Set<test>());
In JSP, could use jstl
> c:forEach items="${test}" var=value>
to get value from Set.
Is it any way to convert Set to array? Instead of using jstl <c:forEach>... | 0 |
5,729,231 | 04/20/2011 11:02:40 | 363,140 | 06/10/2010 05:59:49 | 122 | 7 | Change client area | is it possible to change the client area of the MDI Form? | vb6 | null | null | null | null | 04/20/2011 23:40:59 | not a real question | Change client area
===
is it possible to change the client area of the MDI Form? | 1 |
9,862,283 | 03/25/2012 17:21:36 | 1,155,219 | 01/18/2012 01:40:20 | 777 | 34 | Why doesn't CSS support constants? | CSS has never supported **constants or variables** directly. Whenever I'm writing code like this:
span.class1 {
color: #377fb6;
}
div.class2 {
border: solid 1px #377fb6; /* Repeated color */
}
I wonder why such a seemingly **simple feature** has never made it into the standard. ... | css | standards | null | null | null | 03/28/2012 13:47:15 | not constructive | Why doesn't CSS support constants?
===
CSS has never supported **constants or variables** directly. Whenever I'm writing code like this:
span.class1 {
color: #377fb6;
}
div.class2 {
border: solid 1px #377fb6; /* Repeated color */
}
I wonder why such a seemingly **simple feature... | 4 |
9,542,685 | 03/03/2012 01:52:16 | 1,222,393 | 02/21/2012 02:16:05 | 68 | 0 | How to set NSArray and NSDictionary in MVC design | New developer here.
I'm making my first iPhone app. The app will display a word on screen and then a group of words associated with the first word in a list off to the side.
This requires me to store NSStrings in NSArrays, and the NSArrays in an NSDictionary.
I know that my Model should set the contents of my ... | iphone | cocoa-touch | mvc | nsarray | nsdictionary | null | open | How to set NSArray and NSDictionary in MVC design
===
New developer here.
I'm making my first iPhone app. The app will display a word on screen and then a group of words associated with the first word in a list off to the side.
This requires me to store NSStrings in NSArrays, and the NSArrays in an NSDictionary.... | 0 |
3,693,878 | 09/12/2010 05:30:32 | 373,485 | 06/22/2010 18:17:13 | 25 | 2 | Grabbing favicons with node.js | I've got a little program that needs to grab favicons from sites using node.js. This works in most cases, but with apple.com, I get errors that I can't understand or fix:
var sys= require('sys');
var fs= require('fs');
var http = require('http');
var rurl = http.createCli... | node.js | null | null | null | null | null | open | Grabbing favicons with node.js
===
I've got a little program that needs to grab favicons from sites using node.js. This works in most cases, but with apple.com, I get errors that I can't understand or fix:
var sys= require('sys');
var fs= require('fs');
var http = require('http');
... | 0 |
7,186,451 | 08/25/2011 07:16:11 | 375,551 | 06/24/2010 17:59:59 | 803 | 41 | Druapl, a custom searchable user profile should be based on Node or Custom db? | I have to work on a Drupal project to create user profile for some specific users on the website with some special fields. They can be a different role. Main idea is to search. User profile must be searchable with provided criteria.
I have two options,
1- Using node with (content_profile)
2. Create my own form ... | drupal-6 | null | null | null | null | null | open | Druapl, a custom searchable user profile should be based on Node or Custom db?
===
I have to work on a Drupal project to create user profile for some specific users on the website with some special fields. They can be a different role. Main idea is to search. User profile must be searchable with provided criteria.
... | 0 |
6,791,122 | 07/22/2011 13:58:06 | 710,042 | 04/15/2011 15:00:44 | 5 | 0 | Does gcc version affect functions like malloc ? | I am trying to open a project that was developed using a version I dont know. gcc 4.4 is already installed on my red hat linux. its giving multiple errors. one of which is on the function malloc... it says "invalid arguments. candidates are void * malloc(?)".. while i am passing an integer variable to this function "... | c++ | linux | eclipse | malloc | null | null | open | Does gcc version affect functions like malloc ?
===
I am trying to open a project that was developed using a version I dont know. gcc 4.4 is already installed on my red hat linux. its giving multiple errors. one of which is on the function malloc... it says "invalid arguments. candidates are void * malloc(?)".. while... | 0 |
10,122,323 | 04/12/2012 11:08:01 | 1,138,388 | 01/09/2012 09:51:38 | 99 | 0 | Find the probability of having k red balls after d days |
Initially there are n white balls. Each day you are allowed to take a ball. If the ball in hand is white, replace it by red ball. If it is red in color, put that ball into bag without doing anything. The question is to find the probability to have k red balls after d days.Give the general solution
I started with m... | probability | null | null | null | null | 05/03/2012 09:03:16 | off topic | Find the probability of having k red balls after d days
===
Initially there are n white balls. Each day you are allowed to take a ball. If the ball in hand is white, replace it by red ball. If it is red in color, put that ball into bag without doing anything. The question is to find the probability to have k red bal... | 2 |
9,237,471 | 02/11/2012 03:01:55 | 1,190,937 | 02/05/2012 17:46:35 | 1 | 0 | How to insert a javascript function into a PHP code | Below is an HTML file i have created. A javascript function is written to send a word typed in a text area to an online dictionary. I want to insert the jscript function, the entire code into a PHP file. (I want the same thing to happen when i execute a php file). How can i insert this function in a PHP file?
Thanks... | php | javascript | null | null | null | 02/13/2012 02:22:00 | not a real question | How to insert a javascript function into a PHP code
===
Below is an HTML file i have created. A javascript function is written to send a word typed in a text area to an online dictionary. I want to insert the jscript function, the entire code into a PHP file. (I want the same thing to happen when i execute a php file)... | 1 |
2,086,522 | 01/18/2010 14:08:42 | 267 | 08/04/2008 10:11:06 | 35,319 | 1,041 | What is the correct method for a component editor to change properties on other controls? | I have a component that I am building an editor for. One of the things this component does is to allow other controls, of my own type, to be bound to this component.
The editor detects all such controls, and the editor will allow me to mass-edit this binding.
However, if the form file(s) is currently saved when I... | visual-studio-2008 | null | null | null | null | null | open | What is the correct method for a component editor to change properties on other controls?
===
I have a component that I am building an editor for. One of the things this component does is to allow other controls, of my own type, to be bound to this component.
The editor detects all such controls, and the editor wil... | 0 |
5,933,153 | 05/09/2011 06:06:59 | 295,019 | 03/16/2010 17:58:56 | 95 | 0 | From this screenshot would anyone be able to identify what program this is? | ![enter image description here][1]
[1]: http://i.stack.imgur.com/m5gxN.jpg
It appears to be a diff tool but I was really curious to know which one exactly. | unix | compare | null | null | null | 05/09/2011 07:01:39 | off topic | From this screenshot would anyone be able to identify what program this is?
===
![enter image description here][1]
[1]: http://i.stack.imgur.com/m5gxN.jpg
It appears to be a diff tool but I was really curious to know which one exactly. | 2 |
6,094,763 | 05/23/2011 08:37:58 | 230,632 | 12/13/2009 10:43:08 | 481 | 5 | Simple mouseover effect on NSButton | This should be simple but I am on it since yesterday without result.
I am creating a custom NSButtonCell for a custom rendering. Now I want to have different aspect depending if the mouse if over the button or not. How can I get this information?
Thanks and regards, | cocoa | nsbutton | nsbuttoncell | null | null | null | open | Simple mouseover effect on NSButton
===
This should be simple but I am on it since yesterday without result.
I am creating a custom NSButtonCell for a custom rendering. Now I want to have different aspect depending if the mouse if over the button or not. How can I get this information?
Thanks and regards, | 0 |
5,659,699 | 04/14/2011 07:02:56 | 464,465 | 10/02/2010 06:58:29 | 11 | 0 | getting error while trying to fetch and insert data into sqlite database | i am creating an application where i am using sqlite database to save data.But when i run my application i get the following errors:
@interface TDatabase : NSObject {
sqlite3 *database;
}
+(TDatabase *) shareDataBase;
-(BOOL) createDataBase:(NSString *)DataBaseName;
-(NSString*) GetDatabasePath:(NSString... | iphone | objective-c | sqlite | null | null | null | open | getting error while trying to fetch and insert data into sqlite database
===
i am creating an application where i am using sqlite database to save data.But when i run my application i get the following errors:
@interface TDatabase : NSObject {
sqlite3 *database;
}
+(TDatabase *) shareDataBase;
-(BOOL) crea... | 0 |
10,972,320 | 06/10/2012 21:00:54 | 68,105 | 02/18/2009 22:50:24 | 7,036 | 346 | hard disk performance | The page of MyDefrag states that
[On most harddisks the beginning of the harddisk is considerably faster than the end, sometimes by as much as 200 percent!][1]
Is this true? False? What is this based on? I'm looking for some explanation of why this might be true. What does "beginning of the harddisk" even me... | performance | hardware | harddrive | null | null | 06/10/2012 21:38:29 | off topic | hard disk performance
===
The page of MyDefrag states that
[On most harddisks the beginning of the harddisk is considerably faster than the end, sometimes by as much as 200 percent!][1]
Is this true? False? What is this based on? I'm looking for some explanation of why this might be true. What does "beginni... | 2 |
4,686,360 | 01/13/2011 23:05:47 | 465,408 | 10/03/2010 22:02:13 | 177 | 7 | C# WPF - Black Line in window | In my window threre is small black line.
Why?
![Screenshot][1]
<Window x:Class="WpfPortOfTestingCamera.InputSelection"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="InputSelection" Windo... | c# | .net | wpf | null | null | null | open | C# WPF - Black Line in window
===
In my window threre is small black line.
Why?
![Screenshot][1]
<Window x:Class="WpfPortOfTestingCamera.InputSelection"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
... | 0 |
3,170,833 | 07/03/2010 08:27:46 | 353,934 | 05/30/2010 10:14:23 | 18 | 0 | scala competes with top web programming | i have read about scala but have not been able to do comparative analysis of other web programming languages on the basis of maintainability,scalability, and other rational categories.
like php works well with Apache web server, asp.net with IIS. SCALA must have some specific web server compatibility.
and also ab... | scala | operating-system | web-server | null | null | 07/05/2010 08:56:03 | not a real question | scala competes with top web programming
===
i have read about scala but have not been able to do comparative analysis of other web programming languages on the basis of maintainability,scalability, and other rational categories.
like php works well with Apache web server, asp.net with IIS. SCALA must have some spec... | 1 |
11,430,849 | 07/11/2012 10:38:20 | 1,514,105 | 07/10/2012 08:05:59 | 11 | 1 | Adding activity manually | I am developing an app in android using Java.I have added a new java class in my project which extends ListActivity.At that point I want you to understand that I did it manually (in eclipse right click 'add' 'new class' NOT 'add' 'new' 'activity'),so the XML file
wasn't produced.Is there a way I can create a new XML f... | java | adt | null | null | null | 07/11/2012 16:50:40 | not a real question | Adding activity manually
===
I am developing an app in android using Java.I have added a new java class in my project which extends ListActivity.At that point I want you to understand that I did it manually (in eclipse right click 'add' 'new class' NOT 'add' 'new' 'activity'),so the XML file
wasn't produced.Is there ... | 1 |
10,542,723 | 05/10/2012 21:56:14 | 1,388,167 | 05/10/2012 21:37:19 | 1 | 0 | used PHP inside Javascript? | $('#categories_parent').change(function(){
var categories = $(this).val();
"<? json_encode($cat) = form::get_parent(?>"categories"<?) ?>";
ver cat = "<?=$cat?>";
alert(cat);
});
why i cant right php in java help me
i tray json_encode and without json_encode not work
$('#cate... | java | php | jquery | null | null | 05/11/2012 13:27:04 | not a real question | used PHP inside Javascript?
===
$('#categories_parent').change(function(){
var categories = $(this).val();
"<? json_encode($cat) = form::get_parent(?>"categories"<?) ?>";
ver cat = "<?=$cat?>";
alert(cat);
});
why i cant right php in java help me
i tray json_encode and without jso... | 1 |
4,110,876 | 11/05/2010 23:07:49 | 445,276 | 09/11/2010 20:34:46 | 21 | 0 | How can I safely change listeners? | I have an application where I need to change font sizes frequently. A question posted a year ago on this forum ([Change just the font size in SWT][1]) gave me some of the information I needed, but I've still got some unknowns I haven't figured out yet.
In particular, someone signing as [hudsonb][2] offered a helpfu... | swt | null | null | null | null | null | open | How can I safely change listeners?
===
I have an application where I need to change font sizes frequently. A question posted a year ago on this forum ([Change just the font size in SWT][1]) gave me some of the information I needed, but I've still got some unknowns I haven't figured out yet.
In particular, someone ... | 0 |
5,378,328 | 03/21/2011 13:37:27 | 669,523 | 03/21/2011 13:37:27 | 1 | 0 | svn error for windows xp | i used xp i create new project in svn
give massage
" Can't open file c:\\repository\pro\db\txn-current-lock access denied"
have any idea
tanks | windows | svn | windows-xp | for-loop | null | 03/21/2011 18:45:28 | off topic | svn error for windows xp
===
i used xp i create new project in svn
give massage
" Can't open file c:\\repository\pro\db\txn-current-lock access denied"
have any idea
tanks | 2 |
5,455,380 | 03/28/2011 06:27:28 | 675,937 | 03/25/2011 00:04:56 | 117 | 23 | What arguments does the target method for a callback take? | What arguments does the target method for a callback take? | c# | .net | callback | null | null | 03/29/2011 20:45:02 | not a real question | What arguments does the target method for a callback take?
===
What arguments does the target method for a callback take? | 1 |
5,571,565 | 04/06/2011 19:01:19 | 119,775 | 06/09/2009 12:01:59 | 1,068 | 44 | Add an empty series on an Excel chart | I'm trying to add many series to a chart using VBA, as in the code below.
For i = 0 To 9
Set serNew = chtMap.SeriesCollection.NewSeries
With serNew
.XValues = Range("Y4").Cells(1, 1 + 2 * i).Resize(32000, 1)
.Values = Range("Y4").Cells(1, 2 + 2 * i).Resize(32000, 1) ... | excel | vba | excel-vba | charts | series | null | open | Add an empty series on an Excel chart
===
I'm trying to add many series to a chart using VBA, as in the code below.
For i = 0 To 9
Set serNew = chtMap.SeriesCollection.NewSeries
With serNew
.XValues = Range("Y4").Cells(1, 1 + 2 * i).Resize(32000, 1)
.Values = Range(... | 0 |
5,858,979 | 05/02/2011 15:23:59 | 732,164 | 04/30/2011 07:18:07 | 1 | 0 | Bitset in java 5 | what is usage of bitset in java? | java | null | null | null | null | 05/02/2011 15:40:42 | not a real question | Bitset in java 5
===
what is usage of bitset in java? | 1 |
9,996,835 | 04/03/2012 15:47:03 | 117,376 | 06/04/2009 14:11:50 | 366 | 9 | How use NTP server when scheduling tasks in Java app? | I know NTP servers can be used to synchronize your computer's system clock. But can NTP be used by an application that wants to schedule things in sync with other systems?
Scenario: Developing a java app (perhaps to run in an ESB like Mule) and you won't necessarily be able to control the time of the machine on whic... | java | quartz-scheduler | ntp | null | null | null | open | How use NTP server when scheduling tasks in Java app?
===
I know NTP servers can be used to synchronize your computer's system clock. But can NTP be used by an application that wants to schedule things in sync with other systems?
Scenario: Developing a java app (perhaps to run in an ESB like Mule) and you won't nec... | 0 |
7,860,887 | 10/22/2011 16:25:20 | 841,915 | 07/13/2011 03:22:01 | 119 | 0 | How to call a local web service from an Android mobile application | From the past few days, I have been working on an Android code to call a local web service. I am using ksoap libraries for Android to call my SOAP web service created in .NET. However, I feel there is something wrong in my code as the response I get when I call the web service from my app hits a catch block . I tried d... | android | .net | web-services | localhost | ksoap | null | open | How to call a local web service from an Android mobile application
===
From the past few days, I have been working on an Android code to call a local web service. I am using ksoap libraries for Android to call my SOAP web service created in .NET. However, I feel there is something wrong in my code as the response I ge... | 0 |
1,465,378 | 09/23/2009 11:19:14 | 174,158 | 09/16/2009 06:53:14 | 13 | 5 | Static Variable in Web Application | It's well known fact that static variable cannot be used in
Web Application as it remains static through out application.But,is there any scenario where static variable can be used in Web Application to achieve the functionality?
Thanks | static | variables | discussion | null | null | 04/05/2012 14:23:52 | not constructive | Static Variable in Web Application
===
It's well known fact that static variable cannot be used in
Web Application as it remains static through out application.But,is there any scenario where static variable can be used in Web Application to achieve the functionality?
Thanks | 4 |
11,531,164 | 07/17/2012 21:31:01 | 1,312,879 | 04/04/2012 12:47:28 | 52 | 2 | Oracle query fast in sqldeveloper, slow in asp.net | I want to execute the following query and put it on a gridview in my asp.net app
select *
from INDICATORS, places, places_sales
where places_sales.id = places.id
and
INDICATORS.line in (select line from lines)
the lines table has like a 28000 records and INDICATORS like 18000
This que... | c# | asp.net | sql | oracle | null | null | open | Oracle query fast in sqldeveloper, slow in asp.net
===
I want to execute the following query and put it on a gridview in my asp.net app
select *
from INDICATORS, places, places_sales
where places_sales.id = places.id
and
INDICATORS.line in (select line from lines)
the lines table has li... | 0 |
5,469,576 | 03/29/2011 08:05:19 | 681,377 | 03/29/2011 04:58:41 | 1 | 0 | building chat application in php | i have prepared the complete source code for my chat application but i cant access it using my sql, please help me out and let me know how to enable it via LAN. | php | null | null | null | null | 03/29/2011 08:12:21 | not a real question | building chat application in php
===
i have prepared the complete source code for my chat application but i cant access it using my sql, please help me out and let me know how to enable it via LAN. | 1 |
683,718 | 03/25/2009 22:13:02 | 1,476 | 08/15/2008 19:09:14 | 532 | 11 | Generating browser side web page thumbnails | I want to generate a thumbnail of a web page in the browser, so I can have multiple scaled down iFrames within a single page.
IE can do this using filters. Mozilla can do this inside a <canvas> with drawWindow() if you have Chrome privileges (like an installed plug-in).
Is there any way to do this in WebKit... | html | thumbnail | iframe | null | null | null | open | Generating browser side web page thumbnails
===
I want to generate a thumbnail of a web page in the browser, so I can have multiple scaled down iFrames within a single page.
IE can do this using filters. Mozilla can do this inside a <canvas> with drawWindow() if you have Chrome privileges (like an installed p... | 0 |
10,629,167 | 05/17/2012 02:35:10 | 1,399,993 | 05/17/2012 02:27:42 | 1 | 0 | C# Program to change Mouse settings? | I am new to C# and want to learn how to change mouse settings with C# if i could be linked to some tutorials that would be great.
I have noticed after a week of searching the web that a lot of gamers buy expensive mouse equipment which improves their aim. Not a lot of us can afford such equipment. But to get down ... | c# | mouse | null | null | null | 05/18/2012 17:00:05 | not a real question | C# Program to change Mouse settings?
===
I am new to C# and want to learn how to change mouse settings with C# if i could be linked to some tutorials that would be great.
I have noticed after a week of searching the web that a lot of gamers buy expensive mouse equipment which improves their aim. Not a lot of us c... | 1 |
9,002,858 | 01/25/2012 12:38:00 | 1,169,150 | 01/25/2012 12:06:06 | 1 | 0 | FUNCTION in PHP - MySQL | good morning to everybody...
I am quite new to PHP/MySql and I would like to if it it possible to use a php function in a UPDATE statement
like this:
function myfun{
a= a+1
return A
}
.
.
update my_table set myfield = myfun(par) .....
Thank you | php | null | null | null | null | 01/25/2012 19:10:20 | not a real question | FUNCTION in PHP - MySQL
===
good morning to everybody...
I am quite new to PHP/MySql and I would like to if it it possible to use a php function in a UPDATE statement
like this:
function myfun{
a= a+1
return A
}
.
.
update my_table set myfield = myfun(par) .....
Thank you | 1 |
3,982,616 | 10/20/2010 21:47:45 | 26,931 | 10/10/2008 18:53:55 | 3,171 | 116 | DeSerializing JSON to C# | I see a lot of simple examples of JSON DeSerialization, but when it comes to anything slightly more complex, there is a lacking of samples.
I'm looking at deserializing Responses from GetResponse's API:
Simple e.g.
{
"result" : {
"updated" : "1"
},
"error" : null
... | c# | json | serialization | dictionary | null | null | open | DeSerializing JSON to C#
===
I see a lot of simple examples of JSON DeSerialization, but when it comes to anything slightly more complex, there is a lacking of samples.
I'm looking at deserializing Responses from GetResponse's API:
Simple e.g.
{
"result" : {
"updated" : "1"
... | 0 |
9,854,657 | 03/24/2012 19:09:34 | 967,232 | 09/27/2011 14:10:33 | 150 | 3 | Model associations in RoR | I'm trying to understand how rails works in respect to foreign key and primary keys. Coming from a pure SQL background the Rails method seems very alien to me.
I have the following two migrations:
Groups
class CreateGroups < ActiveRecord::Migration
def self.up
create_table :groups do |t|
... | ruby-on-rails | ruby | null | null | null | null | open | Model associations in RoR
===
I'm trying to understand how rails works in respect to foreign key and primary keys. Coming from a pure SQL background the Rails method seems very alien to me.
I have the following two migrations:
Groups
class CreateGroups < ActiveRecord::Migration
def self.up
... | 0 |
1,845,301 | 12/04/2009 06:59:03 | 19,746 | 09/20/2008 19:31:13 | 4,225 | 183 | Which language to choose for a IRC bot? | I'll be writing an XMPP (Jabber) bot, and I need to decide in which language should I write it. Currently I'm considering Python, Java, and PHP.
Since I'm expecting the bot to be running most of the time (i.e. 23.5/7), are there some specific arguments for or against using one of these languages? (e.g. not "$x suck... | xmpp | bots | programming-languages | null | null | 04/20/2012 11:09:57 | not constructive | Which language to choose for a IRC bot?
===
I'll be writing an XMPP (Jabber) bot, and I need to decide in which language should I write it. Currently I'm considering Python, Java, and PHP.
Since I'm expecting the bot to be running most of the time (i.e. 23.5/7), are there some specific arguments for or against usi... | 4 |
8,317,828 | 11/29/2011 21:14:53 | 180,057 | 09/28/2009 03:47:54 | 432 | 15 | Is there a way to get recognizable WebResource.axd names from GetWebResourceUrl()? | I'm using embedded resources in one of my apps, which works well. One of the downsides is that it creates URLs like this:
<link href="/WebResource.axd?d=1omJpbVT6zayoum5FcSQfiK-wMDWWe7cqiDpC_fqGL11tRUTrf1tF4sQbidSajvY0ZxyuHcmu2QsqGL7z2alML_Jdb8-V03APdiinUVlHSS1UTU-0&t=634581791626562500" rel="Stylesheet" type="text... | webresource.axd | null | null | null | null | null | open | Is there a way to get recognizable WebResource.axd names from GetWebResourceUrl()?
===
I'm using embedded resources in one of my apps, which works well. One of the downsides is that it creates URLs like this:
<link href="/WebResource.axd?d=1omJpbVT6zayoum5FcSQfiK-wMDWWe7cqiDpC_fqGL11tRUTrf1tF4sQbidSajvY0ZxyuHcmu2Q... | 0 |
11,647,529 | 07/25/2012 10:16:19 | 1,551,181 | 07/25/2012 09:40:17 | 1 | 0 | Android password lock | i want a code to lock my phone and open with only with a specific password.and also if possible tell me how can i change the fuctionality red button of an android phone
The phone lock will ask the password for the first time and will save that permanently and till the time the user don't enter that password it wont l... | android | null | null | null | null | 07/25/2012 10:32:18 | not a real question | Android password lock
===
i want a code to lock my phone and open with only with a specific password.and also if possible tell me how can i change the fuctionality red button of an android phone
The phone lock will ask the password for the first time and will save that permanently and till the time the user don't en... | 1 |
9,566,122 | 03/05/2012 11:49:16 | 521,259 | 11/26/2010 10:38:35 | 107 | 4 | Check the current parent controller of a nested resource | I have a nested resource in users:
resources :users do
resources :reservations
end
In my controller actions i can get the current controller name by using controller.controller_name. So in the user show action the controller.controller_name returns "users". Likewise in the reservations show action... | ruby-on-rails | routing | controller | nested-resources | null | null | open | Check the current parent controller of a nested resource
===
I have a nested resource in users:
resources :users do
resources :reservations
end
In my controller actions i can get the current controller name by using controller.controller_name. So in the user show action the controller.controller_... | 0 |
7,165,858 | 08/23/2011 18:32:46 | 877,500 | 08/03/2011 21:29:19 | 3 | 0 | Do any scripts exist that would allow me to create a photoshop image in a multitude of colors? | I have 100's of png images that I want to save in various colors. Do any scripts exist that would automate this process? | design | photoshop | null | null | null | 09/06/2011 14:14:48 | off topic | Do any scripts exist that would allow me to create a photoshop image in a multitude of colors?
===
I have 100's of png images that I want to save in various colors. Do any scripts exist that would automate this process? | 2 |
9,251,862 | 02/12/2012 19:20:52 | 1,205,482 | 02/12/2012 18:38:07 | 1 | 0 | Access position of UIButton objects in Array | I have an array of UIButtons. what I want to do is with another button , randomly set the positions of each of the buttons in the array.
so I initialize the array with the UIButtons
buttonArray = [[NSMutableArray alloc] initWithObjects:button1,button2,button3,button4,button5,button6,button7, nil];
then I ... | iphone | objective-c | arrays | null | null | null | open | Access position of UIButton objects in Array
===
I have an array of UIButtons. what I want to do is with another button , randomly set the positions of each of the buttons in the array.
so I initialize the array with the UIButtons
buttonArray = [[NSMutableArray alloc] initWithObjects:button1,button2,button3... | 0 |
7,064,161 | 08/15/2011 10:59:08 | 617,374 | 08/20/2010 22:50:54 | 98 | 12 | How to use Queue in Java 1.6 in LIFO | How to use queue in Java 1.6 as LIFO? PLease Provide Example Code. Thanks | java | collections | queue | java1.6 | null | 08/18/2011 16:32:42 | not a real question | How to use Queue in Java 1.6 in LIFO
===
How to use queue in Java 1.6 as LIFO? PLease Provide Example Code. Thanks | 1 |
7,440,525 | 09/16/2011 05:33:16 | 366,916 | 06/15/2010 05:22:32 | 323 | 0 | How to create a custom exception in c# | I want to create my own exception in windows form application.I am trying to add the add some data into the database.
code:
try
{
string insertData = string.Format("INSERT INTO " + constants.PIZZABROADCASTTABLE + " VALUES(@starttime,@endtime,@lastupdatetime,@applicationname)... | c# | exception | null | null | null | null | open | How to create a custom exception in c#
===
I want to create my own exception in windows form application.I am trying to add the add some data into the database.
code:
try
{
string insertData = string.Format("INSERT INTO " + constants.PIZZABROADCASTTABLE + " VALUES(@starttim... | 0 |
10,197,754 | 04/17/2012 19:23:22 | 1,194,873 | 02/07/2012 14:29:53 | 387 | 6 | findContours gives memory heap error | I have following picture and try to find the largest rectangle with OpenCV with these lines
std::vector< std::vector<cv::Point> > contours;
cv::findContours(result,contours,CV_RETR_LIST,CV_CHAIN_APPROX_SIMPLE);
But the statements above causes memory heap error. Can anyone give me a clue why this is happening? ... | opencv | null | null | null | null | null | open | findContours gives memory heap error
===
I have following picture and try to find the largest rectangle with OpenCV with these lines
std::vector< std::vector<cv::Point> > contours;
cv::findContours(result,contours,CV_RETR_LIST,CV_CHAIN_APPROX_SIMPLE);
But the statements above causes memory heap error. Can any... | 0 |
4,345,843 | 12/03/2010 13:12:32 | 281,243 | 02/25/2010 13:48:31 | 13 | 4 | Best solution for a database driven web application? | I have been planning out the development of a web application written in PHP using the CakePHP framework. This application will be heavily dependent on a SQL database. The primary intent of the application is to provide HTML forms for adding, managing, and removing data from this database. It will be a descent sized da... | php | database | cakephp | filemaker | null | 12/04/2010 01:12:13 | not a real question | Best solution for a database driven web application?
===
I have been planning out the development of a web application written in PHP using the CakePHP framework. This application will be heavily dependent on a SQL database. The primary intent of the application is to provide HTML forms for adding, managing, and remov... | 1 |
1,595,624 | 10/20/2009 15:51:13 | 11,461 | 09/16/2008 08:13:20 | 495 | 50 | Amazon products API - Looking for basic overview and information | After using the ebay API recently, I was expecting it to be as simple to request info from Amazon, but it seems not...
There does not seem to be a good webpage which explains the basics. For starters, what is the service called? The old name has been dropped I think, and the acronym AWS used everywhere (but isn't th... | amazon-web-services | null | null | null | null | null | open | Amazon products API - Looking for basic overview and information
===
After using the ebay API recently, I was expecting it to be as simple to request info from Amazon, but it seems not...
There does not seem to be a good webpage which explains the basics. For starters, what is the service called? The old name has b... | 0 |
4,478,867 | 12/18/2010 16:17:29 | 87,123 | 04/04/2009 17:32:08 | 109 | 8 | Getting a MethodAccessException(in event log of server) and HTTP Error 401 Unauthorized(at client side) in WCF Rest Service in IIS6.0 Win2K3 enviorn | I wrote a WCF service that works fine in all of our internal environments. But in one of our environment which is exact replica of Production. It is not working. If I inspect in Firebug, I see "HTTP Error 401 Unauthorized" and in server I See following in the event log.
System.MethodAccessException
System.Service... | wcf | iis6 | http-status-code-401 | null | null | null | open | Getting a MethodAccessException(in event log of server) and HTTP Error 401 Unauthorized(at client side) in WCF Rest Service in IIS6.0 Win2K3 enviorn
===
I wrote a WCF service that works fine in all of our internal environments. But in one of our environment which is exact replica of Production. It is not working. If I... | 0 |
9,392,409 | 02/22/2012 09:44:21 | 741,442 | 05/06/2011 09:14:24 | 156 | 28 | Java's popularity in Internet Algorithmics (Search, Big Data etc.) | I have been writing C/C++ code for years. Recently started doing lot of Java too because some of the very fine products that I am using to solve my computing problems are all written in Java (Example: Lucene/Solr, Hadoop, Neo4j, OpenNLP etc.).
I am seeing this chage since last 3-4 years that Java has really got very... | java | c++ | performance | algorithm | programming-languages | 02/22/2012 12:59:35 | not constructive | Java's popularity in Internet Algorithmics (Search, Big Data etc.)
===
I have been writing C/C++ code for years. Recently started doing lot of Java too because some of the very fine products that I am using to solve my computing problems are all written in Java (Example: Lucene/Solr, Hadoop, Neo4j, OpenNLP etc.).
I... | 4 |
10,979,602 | 06/11/2012 11:54:50 | 1,107,129 | 12/20/2011 04:29:19 | 80 | 1 | How to append data in resultset? | I want to append data of two tables in a resultset.
I have tried the below code but not getting the desired output.
ResultSet rs[]=null;
String sql_query="select * from exception_main;select * from m_roles"
String query1=sql_query.toUpperCase();
String[] results=query1.split(";... | java | java-ee | jdbc | null | null | null | open | How to append data in resultset?
===
I want to append data of two tables in a resultset.
I have tried the below code but not getting the desired output.
ResultSet rs[]=null;
String sql_query="select * from exception_main;select * from m_roles"
String query1=sql_query.toUpperCase();
... | 0 |
3,658,927 | 09/07/2010 13:07:40 | 421,442 | 08/16/2010 06:52:59 | 6 | 0 | how can i change the unselected item to selected item from dropdown list without using iterator function in Jquery? | how can i change the unselected item to selected item in dropdown list without using iterator function?
Thanks in Advance | jquery | null | null | null | null | null | open | how can i change the unselected item to selected item from dropdown list without using iterator function in Jquery?
===
how can i change the unselected item to selected item in dropdown list without using iterator function?
Thanks in Advance | 0 |
4,059,885 | 10/30/2010 17:44:31 | 448,493 | 09/15/2010 14:04:13 | 56 | 1 | Eclipse - extending project/package explorer to handle custom file types as trees | If an Eclipse project includes a .jar file, the package explorer treats it like a tree and enables the user to click the "+" sign to the left of the file name to expand the tree and show the files in the .jar archive.
I would like the package explorer to treat other file types the same way. A really simple example w... | eclipse-plugin | osgi | null | null | null | null | open | Eclipse - extending project/package explorer to handle custom file types as trees
===
If an Eclipse project includes a .jar file, the package explorer treats it like a tree and enables the user to click the "+" sign to the left of the file name to expand the tree and show the files in the .jar archive.
I would like... | 0 |
10,163,612 | 04/15/2012 16:01:55 | 512,238 | 11/18/2010 14:31:39 | 191 | 13 | MySQL order by number of matching columns | I am trying to build a basic dating site for a school project and I would like to sort my results. Users would enter their habits and preferences and this should be matched against other users habits and preferences. For example, a user smokes and is looking for a user that doesn't smoke and doesn't have anything again... | mysql | order-by | null | null | null | null | open | MySQL order by number of matching columns
===
I am trying to build a basic dating site for a school project and I would like to sort my results. Users would enter their habits and preferences and this should be matched against other users habits and preferences. For example, a user smokes and is looking for a user tha... | 0 |
3,974,422 | 10/20/2010 02:54:54 | 481,202 | 10/20/2010 02:54:54 | 1 | 0 | please any one provide sql server 2005 BIDS software to install in my pc | please any one provide sql server 2005 BIDS software to install in my pc. is there any free download for this software . really its urgent for me please any one help me | sql | sql-server-2005 | server | null | null | 10/20/2010 03:56:11 | off topic | please any one provide sql server 2005 BIDS software to install in my pc
===
please any one provide sql server 2005 BIDS software to install in my pc. is there any free download for this software . really its urgent for me please any one help me | 2 |
10,646,627 | 05/18/2012 04:14:10 | 917,213 | 08/29/2011 05:36:14 | 139 | 3 | USB Dongle Access in C# | Can someone please share a library/code to access a USB 3G dongle in C#..?
The library should support connecting/disconnecting and most importantly accessing the byte stream of data at Transport Layer (i.e. TCP/UDP packets with TCP/UDP header).
Thanks | c# | .net | c#-4.0 | c#-3.0 | null | 05/19/2012 00:59:50 | not a real question | USB Dongle Access in C#
===
Can someone please share a library/code to access a USB 3G dongle in C#..?
The library should support connecting/disconnecting and most importantly accessing the byte stream of data at Transport Layer (i.e. TCP/UDP packets with TCP/UDP header).
Thanks | 1 |
4,372,544 | 12/07/2010 01:15:16 | 95,281 | 04/24/2009 03:19:30 | 65 | 5 | Explicit cast in C | I want to convert pointers of any type to _int_ in C and C++. The code must be the same for both C and C++. The following program works for C but not for C++.
struct X
{
char a;
long long b;
};
int main(void)
{
int b[(int)(&((struct X*)0)->b) - 8];
retu... | c++ | c | alignment | type-conversion | casting | 12/07/2010 04:00:09 | not a real question | Explicit cast in C
===
I want to convert pointers of any type to _int_ in C and C++. The code must be the same for both C and C++. The following program works for C but not for C++.
struct X
{
char a;
long long b;
};
int main(void)
{
int b[(int)(&((struct X*)0)->... | 1 |
504,754 | 02/02/2009 20:31:37 | 51,816 | 01/05/2009 21:39:06 | 203 | 7 | DirectX or OpenGL | If you were writing the next 3d graphics intensive application in C# (like a 3d modelling and animation software), which one would be a better choice?
If we consider C# as platform independent, then OpenGL seems tempting, but what about the performance, etc?
Since the used language is C#, the performance is prett... | directx | opengl | c# | .net | null | null | open | DirectX or OpenGL
===
If you were writing the next 3d graphics intensive application in C# (like a 3d modelling and animation software), which one would be a better choice?
If we consider C# as platform independent, then OpenGL seems tempting, but what about the performance, etc?
Since the used language is C#, t... | 0 |
5,279,283 | 03/11/2011 22:59:48 | 558,547 | 12/30/2010 17:54:10 | 12 | 0 | Choosing different views for module base Zend application | Good day everyone ,
I have defined modules in my application using addModuleDirectory :
Application
|
modules
|
module1
|
module2
Now I want to set different views for... | zend-framework | zend | null | null | null | null | open | Choosing different views for module base Zend application
===
Good day everyone ,
I have defined modules in my application using addModuleDirectory :
Application
|
modules
|
module1
|
... | 0 |
8,251,674 | 11/24/2011 02:47:02 | 1,038,923 | 11/10/2011 03:04:58 | 1 | 0 | Callback to activity from other class | I have Activity class, Controller class(normal java class use to control number of activity) and BusinessEngine class(normal java class use to process data).
When I need to do some calculation from activity, "Activity" will call "Controller" and "Controller" will call "BusinessEngine" to do the calculation. When "B... | android | mvc | activity | callback | null | null | open | Callback to activity from other class
===
I have Activity class, Controller class(normal java class use to control number of activity) and BusinessEngine class(normal java class use to process data).
When I need to do some calculation from activity, "Activity" will call "Controller" and "Controller" will call "Bus... | 0 |
4,498,752 | 12/21/2010 11:30:06 | 742,225 | 11/24/2010 14:28:35 | 1 | 0 | is it possible to create a thumbnail image of a video infacebook | url for facebook video thumbnail | javascript | regex | null | null | null | 03/25/2011 13:35:07 | not a real question | is it possible to create a thumbnail image of a video infacebook
===
url for facebook video thumbnail | 1 |
5,075,563 | 02/22/2011 08:04:23 | 378,765 | 06/29/2010 07:46:46 | 1,559 | 155 | XtraGrid - Export To Excel Problem | I'am using Developer Express `XtraGrid` Component to show some data. I have 2 `XtraGrid` on my Windows Application Form. Both grids have more than 200k+ lines, and 8 columns of data, and I have export to excel button. There are two ways (as I know) for exporting grid data to excel.
1- `grid.ExportToXls();` or `grid.... | c# | export-to-excel | xtragrid | null | null | null | open | XtraGrid - Export To Excel Problem
===
I'am using Developer Express `XtraGrid` Component to show some data. I have 2 `XtraGrid` on my Windows Application Form. Both grids have more than 200k+ lines, and 8 columns of data, and I have export to excel button. There are two ways (as I know) for exporting grid data to exce... | 0 |
4,868,527 | 02/01/2011 22:08:18 | 202,694 | 11/04/2009 15:25:32 | 3,079 | 167 | Why does Spring Roo give persist() Propogation.REQUIRES_NEW | I've been looking at the code generated by Spring Roo and I noticed that the `persist()` method it creates is given `Propagation.REQUIRES_NEW`. Wouldn't the default propagation be sufficient?
@Transactional(propagation = Propagation.REQUIRES_NEW)
public void persist() {
if (this.entityManager == n... | spring | jpa | roo | null | null | null | open | Why does Spring Roo give persist() Propogation.REQUIRES_NEW
===
I've been looking at the code generated by Spring Roo and I noticed that the `persist()` method it creates is given `Propagation.REQUIRES_NEW`. Wouldn't the default propagation be sufficient?
@Transactional(propagation = Propagation.REQUIRES_NEW)
... | 0 |
11,608,339 | 07/23/2012 07:49:05 | 1,295,721 | 03/27/2012 13:57:05 | 1 | 0 | Implementing an electrical network with WPF | I need to implement an electrical network in a tree structure, when I have transformer, above it I have 0-n consumers components (4 different types), and maybe some transformers witch opens a new level of consumers(and maybe transformers)
My question is what is the best way to implement this electrical network?
I t... | c# | wpf | networking | null | null | 07/23/2012 17:40:37 | not constructive | Implementing an electrical network with WPF
===
I need to implement an electrical network in a tree structure, when I have transformer, above it I have 0-n consumers components (4 different types), and maybe some transformers witch opens a new level of consumers(and maybe transformers)
My question is what is the be... | 4 |
8,064,876 | 11/09/2011 12:14:27 | 1,010,143 | 10/24/2011 02:14:20 | 11 | 0 | CSS recommendation book | As the title suggests I would like a recommendation for a CSS book. My background is primarily in back-end development using Java. I enjoy web development doing both front and back-end, which is what I'm currently doing. However, a very big problem is that our group uses tables instead of CSS to do layout. I, too, ... | css | null | null | null | null | 11/09/2011 12:34:16 | not constructive | CSS recommendation book
===
As the title suggests I would like a recommendation for a CSS book. My background is primarily in back-end development using Java. I enjoy web development doing both front and back-end, which is what I'm currently doing. However, a very big problem is that our group uses tables instead o... | 4 |
6,029,407 | 05/17/2011 10:19:34 | 59,249 | 01/27/2009 08:36:37 | 312 | 16 | How to encrypt a text | I need to implement a simple text encryption in C++ without using any existing framworks. I'd appreciate if anyone can give some leads. | c++ | encryption | encryption-asymmetric | public-key-encryption | aes | 05/17/2011 10:36:37 | not a real question | How to encrypt a text
===
I need to implement a simple text encryption in C++ without using any existing framworks. I'd appreciate if anyone can give some leads. | 1 |
8,610,554 | 12/22/2011 22:45:30 | 534,976 | 12/08/2010 12:34:08 | 8 | 0 | Best way to implement a singleton class in Squeak ? | Code examples are welcome
Thanks
| design-patterns | singleton | smalltalk | squeak | null | 12/23/2011 07:20:50 | not constructive | Best way to implement a singleton class in Squeak ?
===
Code examples are welcome
Thanks
| 4 |
10,981,899 | 06/11/2012 14:17:16 | 1,296,361 | 03/27/2012 17:37:59 | 33 | 2 | Android Crashes when crop is pressed | i've used a gallery project and it works fine, but when i tried it using Library project, it crashes when crop button is pressed. What can be the issue?
The working code is from *com.cooliris.gallery* | android | gallery | crop | forceclose | null | 06/12/2012 14:18:26 | not a real question | Android Crashes when crop is pressed
===
i've used a gallery project and it works fine, but when i tried it using Library project, it crashes when crop button is pressed. What can be the issue?
The working code is from *com.cooliris.gallery* | 1 |
3,869,873 | 10/06/2010 06:10:16 | 466,672 | 10/05/2010 09:58:19 | 1 | 0 | how retrieve email all ids from a file. | Hai.. kindly check my file content
**From: Bablu Pal <bablusam@yahoo.co.in>
To: Anirban Ghosh <anirbangig@yahoo.com>; Arindam <am_slg@yahoo.co.in>; arpita <arpita01_niitslg@yahoo.com>; Arpita Das <niit.arpita@gmail.com>; Bijoy Mandal <bijoy3@gmail.com>; Goutam <niit_gm@yahoo.co.in>; "in_de_ro@yahoo.co.in" <in_de_ro... | php | regex | null | null | null | 07/06/2012 11:01:17 | not a real question | how retrieve email all ids from a file.
===
Hai.. kindly check my file content
**From: Bablu Pal <bablusam@yahoo.co.in>
To: Anirban Ghosh <anirbangig@yahoo.com>; Arindam <am_slg@yahoo.co.in>; arpita <arpita01_niitslg@yahoo.com>; Arpita Das <niit.arpita@gmail.com>; Bijoy Mandal <bijoy3@gmail.com>; Goutam <niit_gm@y... | 1 |
10,673,579 | 05/20/2012 12:54:33 | 1,235,692 | 02/27/2012 13:40:45 | 1 | 1 | What is the best way to implement the new cookie law on websites, as a web developer using PHP or javascript etc? | What is the best way to implement the new cookie law on websites, as a web developer using PHP or javascript etc? I've been racking my brains trying to think of simple and easy to implement solutions into websites.
Has anyone tackled this yet and wrote any code for it? | session | cookies | privacy | law | null | 05/21/2012 10:05:42 | too localized | What is the best way to implement the new cookie law on websites, as a web developer using PHP or javascript etc?
===
What is the best way to implement the new cookie law on websites, as a web developer using PHP or javascript etc? I've been racking my brains trying to think of simple and easy to implement solutions i... | 3 |
11,224,902 | 06/27/2012 11:11:50 | 1,257,288 | 03/08/2012 15:02:37 | 33 | 2 | controlling CPU usage on android | I want to create an app which can control the cpu usage, Actually my main aim is to create power consumption vs cpu usage data for my android device.
In the power tutor app's paper it is written that they "create a CPU use controller, which controls the duty cycle of a computation-intensive task"
I dont know what... | android | cpu-usage | null | null | null | null | open | controlling CPU usage on android
===
I want to create an app which can control the cpu usage, Actually my main aim is to create power consumption vs cpu usage data for my android device.
In the power tutor app's paper it is written that they "create a CPU use controller, which controls the duty cycle of a computati... | 0 |
6,668,754 | 07/12/2011 17:54:20 | 592,667 | 01/27/2011 18:10:55 | 263 | 2 | Checking if static ip is assigned correctly | I am checking if the static IP assigned to me works correctly.When i ping the ip from the machine itself it works.However if i go to the web and check my IP it is something different .I am not sure why the two different answers. | osx | networking | ip | null | null | 07/12/2011 18:37:13 | off topic | Checking if static ip is assigned correctly
===
I am checking if the static IP assigned to me works correctly.When i ping the ip from the machine itself it works.However if i go to the web and check my IP it is something different .I am not sure why the two different answers. | 2 |
1,555,816 | 10/12/2009 17:18:56 | 183,270 | 10/02/2009 18:02:18 | 83 | 1 | Java: Interview questions for software tester? | These days I have an interview for the position: Software Testing Engineer.
Any ideas what questions might pop to the interview? Any tips? | java | testing | null | null | null | 11/28/2011 17:51:41 | not constructive | Java: Interview questions for software tester?
===
These days I have an interview for the position: Software Testing Engineer.
Any ideas what questions might pop to the interview? Any tips? | 4 |
8,475,648 | 12/12/2011 14:15:07 | 1,093,881 | 12/12/2011 14:08:45 | 1 | 0 | java3d - convert a mouse point to texture coord | I am kinda new to java3D,
I've loaded an obj model and its texture and I've managed to pick the mouse pointer on the model (Point3D) but I can't find how do I translate the 3d coordinates into texture coordinates (In order to paint on it). Any help / references would be really welcome... | texture | java-3d | texture-mapping | null | null | 12/13/2011 20:18:27 | not a real question | java3d - convert a mouse point to texture coord
===
I am kinda new to java3D,
I've loaded an obj model and its texture and I've managed to pick the mouse pointer on the model (Point3D) but I can't find how do I translate the 3d coordinates into texture coordinates (In order to paint on it). Any help / references wo... | 1 |
6,788,433 | 07/22/2011 10:02:45 | 295,366 | 03/17/2010 04:44:11 | 33 | 0 | PHP OOP code review and guideline | I'm creating a uni project with OOP PHP using MVC pattern without framework. Can you give my code review and guideline on how to proceed? I'm not sure i'm right.
on the matter of PDO object, should i make it global?or stay like now? I'm quite confused on how to proceed with OOP PDO (mysqli connection is just simple ... | php | oop | mvc | pdo | null | 07/22/2011 12:31:03 | not constructive | PHP OOP code review and guideline
===
I'm creating a uni project with OOP PHP using MVC pattern without framework. Can you give my code review and guideline on how to proceed? I'm not sure i'm right.
on the matter of PDO object, should i make it global?or stay like now? I'm quite confused on how to proceed with OOP... | 4 |
6,567,140 | 07/04/2011 03:53:44 | 800,712 | 06/16/2011 02:50:31 | 11 | 0 | Undeclared Identifier C++ Code | I am writing an iPhone app that will use already implemented C++ code. I am unfortunately running into errors : "use of undeclared identifier", "missing type specifier after operator", "not declared in scope" and "type specifier before". I believe I have made all of the correct includes and when done with a dummy cl... | iphone | c++ | xcode | null | null | 04/01/2012 04:20:38 | too localized | Undeclared Identifier C++ Code
===
I am writing an iPhone app that will use already implemented C++ code. I am unfortunately running into errors : "use of undeclared identifier", "missing type specifier after operator", "not declared in scope" and "type specifier before". I believe I have made all of the correct in... | 3 |
4,304,084 | 11/29/2010 13:15:21 | 460,442 | 09/28/2010 09:55:27 | 1 | 0 | Help me in writing a left join for this in C# | IQueryable<ExistingTasks> result = (from objADefHelpDesk_Departments in TRicoMHelpDeskDb.AdEFHelpDeskDepartments
join objAdEFHelpDeskTasks in TRicoMHelpDeskDb.AdEFHelpDeskTasks
on objADefHelpDesk_Departments.ID equa... | c# | asp.net | null | null | null | 11/29/2010 19:32:59 | not a real question | Help me in writing a left join for this in C#
===
IQueryable<ExistingTasks> result = (from objADefHelpDesk_Departments in TRicoMHelpDeskDb.AdEFHelpDeskDepartments
join objAdEFHelpDeskTasks in TRicoMHelpDeskDb.AdEFHelpDeskTasks
... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.