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
6,341,693
06/14/2011 09:40:25
686,054
03/31/2011 15:37:45
313
3
directory path error, am I doing it wrong
I have my .exe and three folders with it. in each folder is a .txt file that my program reads and some images to load. This was all working fine when everything was with the .exe but has stopped working now it is in folders. I think the problem is that in folder A there is A.txt that loads A.png which is working bu...
c++
visual-studio-2008
directx-9
null
null
06/14/2011 13:33:18
not a real question
directory path error, am I doing it wrong === I have my .exe and three folders with it. in each folder is a .txt file that my program reads and some images to load. This was all working fine when everything was with the .exe but has stopped working now it is in folders. I think the problem is that in folder A ther...
1
6,850,069
07/27/2011 19:25:15
858,726
07/22/2011 22:01:20
3
0
Complex nested form rails 3 using nested_form gem
I have a problem and I don't know how to solve it. I'm using "nested_form" gem in classic way so I'm able to add "multiple tasks" to a "project" while I'm creating a "project". That's not the problem. To explain the problem I'm going to use an example. Supose I have two models, "Projects" and "Tasks", where proje...
ruby-on-rails-3
rubygems
nested-forms
null
null
null
open
Complex nested form rails 3 using nested_form gem === I have a problem and I don't know how to solve it. I'm using "nested_form" gem in classic way so I'm able to add "multiple tasks" to a "project" while I'm creating a "project". That's not the problem. To explain the problem I'm going to use an example. Supose...
0
8,810,126
01/10/2012 20:34:30
705,589
04/13/2011 08:23:43
398
16
Why use <%Q in rails 3
I've noticed that all of the rails APIs seem to use either of the following two notations for code nuggets in erb files; <%Q ... %> <%= ... %> But seldom any mention of the vanilla <% %> for example, here; http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html The book I've...
ruby-on-rails
null
null
null
null
null
open
Why use <%Q in rails 3 === I've noticed that all of the rails APIs seem to use either of the following two notations for code nuggets in erb files; <%Q ... %> <%= ... %> But seldom any mention of the vanilla <% %> for example, here; http://api.rubyonrails.org/classes/ActionView/Helpers/Form...
0
7,155,342
08/23/2011 01:19:01
906,872
08/23/2011 01:19:01
1
0
Print repeated characters in a string in ascending order. Code compiles but gives a runtime error with no output on online c++ compilers
#include<iostream> #include<string.h> #include<ctype.h> using namespace std; int main() { unsigned int i; char str[26]; int a[26]; for(i=0;i<26;i++) a[i]=0; A: i=0; cout<<"Enter the string:"; cin>>str[i]; while(str[i]!=13) { if(isalpha(str[i])) i++; else{...
c++
null
null
null
null
08/23/2011 10:03:57
not a real question
Print repeated characters in a string in ascending order. Code compiles but gives a runtime error with no output on online c++ compilers === #include<iostream> #include<string.h> #include<ctype.h> using namespace std; int main() { unsigned int i; char str[26]; int a[26]; for(i=0;i<26...
1
722,463
04/06/2009 17:41:33
54,964
01/14/2009 11:38:17
975
16
Is Google App Engine better than Webfaction for a beginner in Django dev?
I am a beginner in developing websites by Django. I run small discussion websites similar to SO. I have an account at Bluehost which has been a nightmare in developing by Django. I have found that Webfaction and Google App Engine seems to be the best choices for Django. However, I am not sure which one is the b...
google-app-engine
webfaction
hosting
django
null
05/15/2012 16:01:18
not constructive
Is Google App Engine better than Webfaction for a beginner in Django dev? === I am a beginner in developing websites by Django. I run small discussion websites similar to SO. I have an account at Bluehost which has been a nightmare in developing by Django. I have found that Webfaction and Google App Engine seems ...
4
10,357,899
04/27/2012 21:09:58
479,306
10/18/2010 12:51:45
1
0
gcc: Permission Denied on Debian linux using normal user account
I'm new to Linux and using gcc. I tried to run gcc in Debian under my normal user account and it says permission denied. How can I allow a normal user to run gcc? I shouldn't have to always use root to compile a program. Thanks.
c
gcc
null
null
null
null
open
gcc: Permission Denied on Debian linux using normal user account === I'm new to Linux and using gcc. I tried to run gcc in Debian under my normal user account and it says permission denied. How can I allow a normal user to run gcc? I shouldn't have to always use root to compile a program. Thanks.
0
24,315
08/23/2008 15:54:56
392
08/05/2008 12:29:07
610
36
Is It Possible To Raise An Event When A File Becomes Accessible?
In C# I can use the FileSystemWatcher object to watch for a specific file and raise an event when it is created, modified, etc. The problem I have with this class is that it raises the event the moment the file becomes created, even if the process which created the file is still in the process of writing. I have fou...
c#
.net
file-io
null
null
null
open
Is It Possible To Raise An Event When A File Becomes Accessible? === In C# I can use the FileSystemWatcher object to watch for a specific file and raise an event when it is created, modified, etc. The problem I have with this class is that it raises the event the moment the file becomes created, even if the process...
0
1,644,365
10/29/2009 15:04:47
198,995
10/29/2009 15:04:46
1
0
Closing a jquery modal dialog from a remote page
I'm using the jQuery-UI dialog widget in a Grails-based application to load a remote page (in this case, a simple file upload form). The remote page is defined elsewhere in my project, and doesn't know it is being loaded in a dialog. Is there any way to close the dialog via a link in the remote page? Would I have ...
jquery
jquery-ui
grails
modal-dialog
javascript
null
open
Closing a jquery modal dialog from a remote page === I'm using the jQuery-UI dialog widget in a Grails-based application to load a remote page (in this case, a simple file upload form). The remote page is defined elsewhere in my project, and doesn't know it is being loaded in a dialog. Is there any way to close th...
0
5,790,162
04/26/2011 12:17:29
227,523
12/08/2009 22:11:54
1,712
50
Any descent table CSS for admin control panel?
Since I'm not a web designer - it's real pain in the ass for me to make a nice looking CSS design of admin control panel. Especially, I have difficulties with designing data tables. Table should contain: filters, sorting, items per page, displaying from to of, pagination. Any good samples around how ideal data tabl...
html
css
null
null
null
01/06/2012 15:32:25
not constructive
Any descent table CSS for admin control panel? === Since I'm not a web designer - it's real pain in the ass for me to make a nice looking CSS design of admin control panel. Especially, I have difficulties with designing data tables. Table should contain: filters, sorting, items per page, displaying from to of, pagina...
4
4,775,429
01/23/2011 18:03:47
95,265
04/24/2009 01:28:43
1,080
11
MySQL database manager
What software do you use to manage your database? As in creating tables, executing queries, etc in MySQL? I am looking for something like razor sql, but something specifically for MySQL and free
mysql
database
null
null
null
06/20/2012 12:53:10
not constructive
MySQL database manager === What software do you use to manage your database? As in creating tables, executing queries, etc in MySQL? I am looking for something like razor sql, but something specifically for MySQL and free
4
4,084,784
11/03/2010 06:50:27
495,602
11/03/2010 06:50:27
1
0
How to make photo effects with php, skew images etc?
How do i make image effects like on this website http://picjoke.com/ which is really cool. I want to know the underlying stuff the magic, what php extension should i look into and learn to make this happen, any good tutorials online to make cool image effects?
php
image-processing
null
null
null
07/09/2012 21:19:29
not constructive
How to make photo effects with php, skew images etc? === How do i make image effects like on this website http://picjoke.com/ which is really cool. I want to know the underlying stuff the magic, what php extension should i look into and learn to make this happen, any good tutorials online to make cool image effects?
4
5,706,086
04/18/2011 16:42:44
398,341
07/21/2010 18:37:25
143
7
PHP DomDocument output without <?xml version="1.0" encoding="UTF-8"?>
is there an option with DomDocument to remove the first line: <?xml version="1.0" encoding="UTF-8"?> The class instantiation automatically adds it to the output, but is it possible to get rid of it?
php
domdocument
null
null
null
null
open
PHP DomDocument output without <?xml version="1.0" encoding="UTF-8"?> === is there an option with DomDocument to remove the first line: <?xml version="1.0" encoding="UTF-8"?> The class instantiation automatically adds it to the output, but is it possible to get rid of it?
0
10,590,628
05/14/2012 20:34:00
1,238,384
02/28/2012 16:53:36
10
0
Get DataTable values from anywhere on Excel spreadsheet using OleDB/Powershell
I have a simple business requirement to design a "Roster" spreadsheet that can be read by a powershell script to extract out data for down stream processes. The spreadsheet has some headers such as FirstName, LastName, Company, StartDate. These headers start on A1 and continue to J1. The spreadsheet is 2007 (xlsm) and ...
excel
powershell
oledb
null
null
null
open
Get DataTable values from anywhere on Excel spreadsheet using OleDB/Powershell === I have a simple business requirement to design a "Roster" spreadsheet that can be read by a powershell script to extract out data for down stream processes. The spreadsheet has some headers such as FirstName, LastName, Company, StartDat...
0
10,821,524
05/30/2012 17:46:33
420,667
08/14/2010 22:17:41
894
7
why does ie9 give less helpful javascript error messages than previous versions?
Examples: - `null = g; // IE9: Invalid left-hand side in assignment // IE7, IE8: Cannot assign to 'null'` - `null.value = g; //IE7, IE8: 'null' is null or not an object. //IE9: Unable to set value of the property 'value': ob...
javascript
error-message
internet-explorer-9
null
null
05/30/2012 20:06:05
not constructive
why does ie9 give less helpful javascript error messages than previous versions? === Examples: - `null = g; // IE9: Invalid left-hand side in assignment // IE7, IE8: Cannot assign to 'null'` - `null.value = g; //IE7, IE8: 'null' is null or not an object. ...
4
7,894,998
10/25/2011 19:52:10
473,103
10/12/2010 08:52:41
1
2
Vocabulary under GNU GPL license
I want to use vocabulary in application, but application's source code is not going to be published. The question is: can I use the vocabulary under GNU GPL license in such application?
licensing
gpl
gnu
null
null
10/25/2011 20:28:15
off topic
Vocabulary under GNU GPL license === I want to use vocabulary in application, but application's source code is not going to be published. The question is: can I use the vocabulary under GNU GPL license in such application?
2
3,799,823
09/26/2010 21:06:22
458,939
09/26/2010 21:06:22
1
0
Unix - Problems with Game Speed After Transfer
I created a Java game application in Eclipse yesterday. I transferred the files over to my school Unix account with Filezilla. Today, I'm in the school lab testing the game inside my unix account. Here's the problem: everything ran fast and fine when I was on my laptop and in Eclipse. Now: 1) The frame rate is a...
java
unix
performance
null
null
09/26/2010 22:07:41
not a real question
Unix - Problems with Game Speed After Transfer === I created a Java game application in Eclipse yesterday. I transferred the files over to my school Unix account with Filezilla. Today, I'm in the school lab testing the game inside my unix account. Here's the problem: everything ran fast and fine when I was on my la...
1
1,300,197
08/19/2009 14:08:12
1,313
08/14/2008 13:43:58
59
11
Fuzzy Scheduling
I'm writing a windows service that needs to execute a task (that connects to a central server) every 30 days +- 5 days (it needs to be random). The service will be running on 2000+ client machines, so the randomness is meant to level them out so the server does not get overloaded. What would be the best way to do th...
c#
scheduling
fuzzy
null
null
null
open
Fuzzy Scheduling === I'm writing a windows service that needs to execute a task (that connects to a central server) every 30 days +- 5 days (it needs to be random). The service will be running on 2000+ client machines, so the randomness is meant to level them out so the server does not get overloaded. What would be...
0
2,490,127
03/22/2010 05:18:31
228,173
12/09/2009 17:57:34
69
6
Create a Models Diagram Using Railroad
[Railroad][1] is a great UML tool for Ruby on Rails. It can automatically generate class diagrams of models and controllers. For models, a railroad-generated class diagram shows attributes of each model and the associations between one model and another. [A sample diagram][2] can be found here. It is very useful fo...
ruby-on-rails
uml
null
null
null
null
open
Create a Models Diagram Using Railroad === [Railroad][1] is a great UML tool for Ruby on Rails. It can automatically generate class diagrams of models and controllers. For models, a railroad-generated class diagram shows attributes of each model and the associations between one model and another. [A sample diagra...
0
1,057,664
06/29/2009 10:43:49
130,376
06/29/2009 10:27:01
1
0
Passing an UTF8 string via java to a .NET web service
in order to 'feed' a .NET web service from java I do pass xml strings via a direct socket connection over to the server. Everything works wunderbar as long as I don't include any 'wired' characters in my xml strings. Ä or ß for an exaples sake. I scripted around and figured that in php5 the problem is solved b...
utf8
java
null
null
null
null
open
Passing an UTF8 string via java to a .NET web service === in order to 'feed' a .NET web service from java I do pass xml strings via a direct socket connection over to the server. Everything works wunderbar as long as I don't include any 'wired' characters in my xml strings. Ä or ß for an exaples sake. I scrip...
0
7,700,663
10/09/2011 00:34:57
539,484
12/12/2010 11:18:15
131
2
how to create robotic arms/legs
my goal is to have a robot that is controlled by my software where i'll be running AI techniques to make cool stuff possible. the hardware i need should be generic enough to provide me enough flexibility at the software. one option is building all stuff my own.. wondering how easy/hard it is, any links? anothe...
artificial-intelligence
robots
null
null
null
10/09/2011 01:44:26
off topic
how to create robotic arms/legs === my goal is to have a robot that is controlled by my software where i'll be running AI techniques to make cool stuff possible. the hardware i need should be generic enough to provide me enough flexibility at the software. one option is building all stuff my own.. wondering how ...
2
6,626,376
07/08/2011 15:03:09
681,814
03/29/2011 09:56:50
8
2
Rails3 activerecord update_attributes can't save foreign_key
In rails 3.0.9/ruby 1.9.2 I'm getting unexpected behaviour when i try to update model foreign keys. I start with a fresh install rails new mytest && rails g model User && rails g model Ad user_id:integer && rake db_migrate Add association in app/models/Ad.rb belongs_to :user Now to the fun part....
ruby-on-rails
database
activerecord
null
null
null
open
Rails3 activerecord update_attributes can't save foreign_key === In rails 3.0.9/ruby 1.9.2 I'm getting unexpected behaviour when i try to update model foreign keys. I start with a fresh install rails new mytest && rails g model User && rails g model Ad user_id:integer && rake db_migrate Add association in...
0
9,818,837
03/22/2012 08:43:09
1,263,260
03/12/2012 04:03:49
37
0
value in the password field with out entering the value
I have a change password form. See my code <dl> <dt style="width:150px;">Old Password </dt> <dd><input name="frm_oldPwd" type="password" id="frm_oldPwd" /></dd> </dl> <dl> <dt style="width:150px;">New Password</dt> <dd><input name="fem_newPwd" type="password" value="" id="fem_newP...
php
html
null
null
null
null
open
value in the password field with out entering the value === I have a change password form. See my code <dl> <dt style="width:150px;">Old Password </dt> <dd><input name="frm_oldPwd" type="password" id="frm_oldPwd" /></dd> </dl> <dl> <dt style="width:150px;">New Password</dt> <dd><...
0
6,984,536
08/08/2011 15:28:21
485,252
10/23/2010 19:39:16
6
0
For request to IIS7, almost browser goes to loading mode and not come any response
I have only one website (Asp.net) on IIS7, First problem is when trying to open website with browser, almost (Not always) browser goes to loading mode and not come any response, this state continues until I close browser or restart IIS. Second problem is when some error occur (for example upload file to folder that ...
iis7
null
null
null
null
08/08/2011 18:14:25
not a real question
For request to IIS7, almost browser goes to loading mode and not come any response === I have only one website (Asp.net) on IIS7, First problem is when trying to open website with browser, almost (Not always) browser goes to loading mode and not come any response, this state continues until I close browser or restart ...
1
2,982,621
06/06/2010 00:07:28
129,089
06/25/2009 21:09:12
517
3
Does anyone have any good examples of a C# program that stays memory resident and runs an action on a timer?
This program should not have a visible window, more like a daemon. (a taskbar program for instance) Any links or advice will be appreciated.
c#
memory
taskbar
null
null
null
open
Does anyone have any good examples of a C# program that stays memory resident and runs an action on a timer? === This program should not have a visible window, more like a daemon. (a taskbar program for instance) Any links or advice will be appreciated.
0
9,994,534
04/03/2012 13:42:16
1,209,020
02/14/2012 12:01:57
6
1
Controlling Embedded Windows Media Player using .Stop()
I needed to use the .Stop() function: document.getElementById("mhMediaPlayer").Stop(); To stop an audio clip playing through an embedded windows media player active-x object on a website. The problem is I need to provide information on how this Stop() function (And others such as Pause, Play, etc.) actuall...
javascript
wmp
null
null
null
null
open
Controlling Embedded Windows Media Player using .Stop() === I needed to use the .Stop() function: document.getElementById("mhMediaPlayer").Stop(); To stop an audio clip playing through an embedded windows media player active-x object on a website. The problem is I need to provide information on how this S...
0
4,500,813
12/21/2010 15:23:41
521,070
10/23/2010 15:30:48
386
3
Distributed algorithm to compute the balance of the parentheses
This is an [interview question][1]: "How to build a distributed algorithm to compute the balance of the parentheses ?" Usually he balance algorithm scans a string form left to right and uses a stack to make sure that the number of open parentheses always >= the number of close parentheses and finally the number of o...
algorithm
interview-questions
distributed
null
null
null
open
Distributed algorithm to compute the balance of the parentheses === This is an [interview question][1]: "How to build a distributed algorithm to compute the balance of the parentheses ?" Usually he balance algorithm scans a string form left to right and uses a stack to make sure that the number of open parentheses ...
0
3,531,430
08/20/2010 13:47:32
419,399
08/13/2010 09:36:14
1
0
How to refer to "\" sign in python string
I have problem with refering to special key in string: I have: `path='C:\dir\dir1\dir2\filename.doc'` and I want `filename` when I try: `filename=path[path.rfind("\"):-4]` then interpreter says it's an error line right from "\" sing is treated as a comment. Any Idea? Cheers Rafal
python
string
null
null
null
null
open
How to refer to "\" sign in python string === I have problem with refering to special key in string: I have: `path='C:\dir\dir1\dir2\filename.doc'` and I want `filename` when I try: `filename=path[path.rfind("\"):-4]` then interpreter says it's an error line right from "\" sing is treated as a comment. ...
0
2,924,471
05/27/2010 20:03:17
213,717
11/18/2009 12:20:27
249
18
Children in Enumeration
I have a enumeration for elements in a JTree When I find some specific element in this JTree, I want to check it's children. Do the method **children()** in a Enumeration check it's grandcildren too? For example, let's supose this JTree, considering the identation as new levels of the tree: - Fruits -...
java
enumeration
children
null
null
null
open
Children in Enumeration === I have a enumeration for elements in a JTree When I find some specific element in this JTree, I want to check it's children. Do the method **children()** in a Enumeration check it's grandcildren too? For example, let's supose this JTree, considering the identation as new levels of the...
0
10,509,819
05/09/2012 04:23:50
1,278,121
03/19/2012 08:17:01
11
1
Convert SQL to HQL | Order By with LEFT(not join)
I am trying to order a result set based on partial order of a column using the following query: >select ID,NAME from person order by LEFT(NAME,2) desc How can I write an equivalent Hibernate Criteria/HQL? I have looked up in the Hibernate Reference manual, I am not able to find anything that relates to t...
sql
hibernate
order-by
null
null
null
open
Convert SQL to HQL | Order By with LEFT(not join) === I am trying to order a result set based on partial order of a column using the following query: >select ID,NAME from person order by LEFT(NAME,2) desc How can I write an equivalent Hibernate Criteria/HQL? I have looked up in the Hibernate Reference m...
0
1,273,855
08/13/2009 18:46:12
104,849
05/11/2009 14:59:01
447
43
Y or N in an SQL result
Is there a way to have a query return either a 'Y' or 'N' for a column if that column has a value above a certain number say '25'
sql
null
null
null
null
null
open
Y or N in an SQL result === Is there a way to have a query return either a 'Y' or 'N' for a column if that column has a value above a certain number say '25'
0
10,543,473
05/10/2012 23:23:50
531,203
12/05/2010 13:04:01
151
6
How to add custom item to Navigation Bar
I have been fighting for a few hours with different type of code to add a custom item to my Navigation Bar. Unfortunately its failing, and theres no debugging error. Right now im only able to change the title of the bar. The code is added in viewDidLoad method in the particular ViewController: UIBarButtonItem...
ios
cocoa-touch
uibarbuttonitem
null
null
null
open
How to add custom item to Navigation Bar === I have been fighting for a few hours with different type of code to add a custom item to my Navigation Bar. Unfortunately its failing, and theres no debugging error. Right now im only able to change the title of the bar. The code is added in viewDidLoad method in the par...
0
3,794,093
09/25/2010 13:55:50
97,197
04/28/2009 16:08:34
1,078
72
Game/Simulation Degree vs. Computer Information Science Degree
I am currently attending on online institution that offers two degrees that are somewhat related. I work for a division of this school, and attend for a very small cost, and I don't have a degree so even though its not a great school, it meets my needs. I currently work as a .net web developer. I am at a point where I...
career-development
education
null
null
null
01/28/2012 01:08:36
off topic
Game/Simulation Degree vs. Computer Information Science Degree === I am currently attending on online institution that offers two degrees that are somewhat related. I work for a division of this school, and attend for a very small cost, and I don't have a degree so even though its not a great school, it meets my needs...
2
10,225,876
04/19/2012 10:08:14
1,238,558
02/28/2012 18:32:26
16
1
Error while calling web service in android 3.0 and above
I run following web service, it run perfect in android 2.2 but generate error in android 4.0 URL mUrl = new URL("http://www.bmtqs.com.au/DepreciationCalculatorService.svc/basic"); URLConnection conn = mUrl.openConnection(); conn.setRequestProperty("Content-Type", "text/xml; charset=utf-8"); conn.a...
android
null
null
null
null
04/20/2012 12:27:37
too localized
Error while calling web service in android 3.0 and above === I run following web service, it run perfect in android 2.2 but generate error in android 4.0 URL mUrl = new URL("http://www.bmtqs.com.au/DepreciationCalculatorService.svc/basic"); URLConnection conn = mUrl.openConnection(); conn.setRequestPr...
3
9,488,908
02/28/2012 20:07:12
1,184,904
02/02/2012 10:59:34
45
6
MySQL update script throws PDOException
i have a little problem with my database update script (i'm using PDO and included a [PDO class from here][1]) My logic: Click on submit button calls "editClient.php" (need this cause i use AJAX): <?php // include clients class require("../classes/clients.class.php"); // get vars & sav...
php
mysql
database
pdo
null
02/28/2012 22:33:01
too localized
MySQL update script throws PDOException === i have a little problem with my database update script (i'm using PDO and included a [PDO class from here][1]) My logic: Click on submit button calls "editClient.php" (need this cause i use AJAX): <?php // include clients class require("../classes/clie...
3
7,953,031
10/31/2011 11:24:17
986,262
10/09/2011 10:14:29
18
1
Group related objects in Django
I'm building an app where you can search for objects in a database (let's assume the objects you search for are persons). What I want to do is to group related objects, for example married couples. In other words, if two people share the same last name, we assume that they are married (not a great example, but you get ...
python
django
django-views
null
null
null
open
Group related objects in Django === I'm building an app where you can search for objects in a database (let's assume the objects you search for are persons). What I want to do is to group related objects, for example married couples. In other words, if two people share the same last name, we assume that they are marri...
0
5,322,227
03/16/2011 07:31:45
89,847
04/11/2009 20:32:12
11,598
261
Does std::less have to be consistent with the equality operator for pointer types?
I've bumped into a problem yesterday, which I eventually distilled into the following minimal example. #include <iostream> #include <functional> int main() { int i=0, j=0; std::cout << (&i == &j) << std::less<int *>()(&i, &j) << std::less<int *>()...
c++
pointers
total-order
null
null
null
open
Does std::less have to be consistent with the equality operator for pointer types? === I've bumped into a problem yesterday, which I eventually distilled into the following minimal example. #include <iostream> #include <functional> int main() { int i=0, j=0; std::cout ...
0
8,503,410
12/14/2011 11:01:44
339,574
05/12/2010 17:38:25
47
0
CentOS GUI install crashes
When trying to install CentOS on a computer, the installer asks to verify the install DVD (which it did successfully), but when the GUI for the installer should start up, I get a corrupted background texture and nothing on screen, then after a while this disappears and I get the non-GUI installer, but need the GUI inst...
linux
centos
null
null
null
12/14/2011 17:07:14
off topic
CentOS GUI install crashes === When trying to install CentOS on a computer, the installer asks to verify the install DVD (which it did successfully), but when the GUI for the installer should start up, I get a corrupted background texture and nothing on screen, then after a while this disappears and I get the non-GUI ...
2
9,633,405
03/09/2012 11:36:14
651,779
03/09/2011 15:00:19
322
6
How to accept raw special characters in a function?
I have a function that asks for a delimiter. This can be \t. However, this is seen as a real tab. So if I have this code def example(dataToBeSplit, delimiter): return dataToBeSplit.split(delimiter) example('some\ttext','\t') The input given to example is example('some\ttext','-four spaces*-...
python
function
tabs
special-characters
null
null
open
How to accept raw special characters in a function? === I have a function that asks for a delimiter. This can be \t. However, this is seen as a real tab. So if I have this code def example(dataToBeSplit, delimiter): return dataToBeSplit.split(delimiter) example('some\ttext','\t') The input...
0
4,076,111
11/02/2010 08:49:29
153,086
08/08/2009 21:14:12
292
5
How to replace String characters in C#
I would like to replace specific String characters based on some integers value passed dynamically to its index. Unfortunately, String.Replace() expects String value as its arguments. So could anyone please tell me how can I make my requirement possible?
c#
null
null
null
null
11/02/2010 18:44:21
not a real question
How to replace String characters in C# === I would like to replace specific String characters based on some integers value passed dynamically to its index. Unfortunately, String.Replace() expects String value as its arguments. So could anyone please tell me how can I make my requirement possible?
1
11,593,318
07/21/2012 15:12:51
1,330,731
04/13/2012 04:47:59
1
0
Access recycle bin in c++
i am new in c++, i want to access recycle bin and getting all data in it in c++. I search over the net but din't find any thing. There is a project in codeproject site but i cant understand it.Please help me..Thankx in advance
c++
null
null
null
null
07/22/2012 03:46:01
not a real question
Access recycle bin in c++ === i am new in c++, i want to access recycle bin and getting all data in it in c++. I search over the net but din't find any thing. There is a project in codeproject site but i cant understand it.Please help me..Thankx in advance
1
9,416,140
02/23/2012 15:34:40
1,073,828
11/30/2011 16:43:37
134
8
Web Application Design Approach
**Tools:** ASP.net WebForms with C# using Visual Studio 2010 I'm developing my final year project ,I'm puzzled what's the good approach for building a webApp, Let me know whats the short and to the point approach to develop a webApp. I only know how to make UML Use case and Class Diagrams but there are over 13+ ...
asp.net
design
web
development-approach
null
02/24/2012 03:11:37
off topic
Web Application Design Approach === **Tools:** ASP.net WebForms with C# using Visual Studio 2010 I'm developing my final year project ,I'm puzzled what's the good approach for building a webApp, Let me know whats the short and to the point approach to develop a webApp. I only know how to make UML Use case and C...
2
3,256,174
07/15/2010 13:53:28
392,762
07/15/2010 13:44:50
1
0
I need a select box with checkboxes for each item. Any recommendations on a jquery-ui plugin?
I need a html 'control' similar to "CheckedListBox" from WinForms: <select> <optgroup> <option>Item 1</option></optgroup></select> where each item (and group) has a check box which can be individually checked/unchecked with callbacks. Has anyone found a jquery-ui or other option for accomplishing this? ...
html
jquery-ui
null
null
null
null
open
I need a select box with checkboxes for each item. Any recommendations on a jquery-ui plugin? === I need a html 'control' similar to "CheckedListBox" from WinForms: <select> <optgroup> <option>Item 1</option></optgroup></select> where each item (and group) has a check box which can be individually checked/...
0
5,506,296
03/31/2011 21:01:17
465,137
10/03/2010 11:49:36
132
1
Trees in Python
I want to make the tree in Python so that the answer would be this way: a b c d e f g Could anubody show me the code/link where is the code? Really thanks.
python
homework
tree
null
null
03/31/2011 21:08:33
not a real question
Trees in Python === I want to make the tree in Python so that the answer would be this way: a b c d e f g Could anubody show me the code/link where is the code? Really thanks.
1
9,623,699
03/08/2012 19:35:35
1,040,498
11/10/2011 20:07:28
30
3
Where is possible download ".dcm" files for free?
I'd like know a free database for free download of medical images in DICOM file format. Do you know any database? Thanks in advance
image
image-processing
dicom
null
null
03/09/2012 17:37:29
off topic
Where is possible download ".dcm" files for free? === I'd like know a free database for free download of medical images in DICOM file format. Do you know any database? Thanks in advance
2
3,890,043
10/08/2010 11:32:19
52,026
01/06/2009 12:44:52
634
33
Namespaces - How deep is too deep
We are currently reorganising some of our services projects so their naming is more logical. We have the following structure: > Djp.Services.*Type*. *ServiceName* This seems to make sense as a logical grouping, however what I want to know is, is it acceptable to have further levels under this based on the folder...
c#
.net
namespaces
null
null
null
open
Namespaces - How deep is too deep === We are currently reorganising some of our services projects so their naming is more logical. We have the following structure: > Djp.Services.*Type*. *ServiceName* This seems to make sense as a logical grouping, however what I want to know is, is it acceptable to have furthe...
0
5,580,825
04/07/2011 12:13:55
696,677
04/07/2011 11:09:23
1
0
Android Thin Application
**How to do Thin Application connectivity with laptop and wifi access??**
android
null
null
null
null
04/07/2011 14:25:23
not a real question
Android Thin Application === **How to do Thin Application connectivity with laptop and wifi access??**
1
7,971,232
11/01/2011 18:39:41
791,130
02/19/2010 15:20:25
41
3
2011, what's your take on MVVM for Asp.Net web forms if you have a way to implement 2-way databinding and Commands
I'm very familiar with MVVM. I have some apps built with Silverlight. I'm very fond of SL/WPF & WPF but the reality is I may need to look at another type of UI technology in the future should we want portions of the apps to run on mobile platforms or such. I ran across this project that looks extremely interesting...
asp.net
mvvm
null
null
null
11/01/2011 18:42:07
not constructive
2011, what's your take on MVVM for Asp.Net web forms if you have a way to implement 2-way databinding and Commands === I'm very familiar with MVVM. I have some apps built with Silverlight. I'm very fond of SL/WPF & WPF but the reality is I may need to look at another type of UI technology in the future should we wan...
4
1,928,428
12/18/2009 14:14:09
234,580
12/18/2009 14:10:24
1
0
No standard windows with QT
It is possible to create a non-standard window with QT??. I mean, I want to create an application with round-corners windows and buttons with aqua-like effects. The principal thing is that the app must to be beautiful, no compliant with any Windows or Mac GUI reference... Can QT does that thing, or is preferable other ...
qt
windows
null
null
null
null
open
No standard windows with QT === It is possible to create a non-standard window with QT??. I mean, I want to create an application with round-corners windows and buttons with aqua-like effects. The principal thing is that the app must to be beautiful, no compliant with any Windows or Mac GUI reference... Can QT does th...
0
10,499,698
05/08/2012 13:35:05
1,382,179
05/08/2012 13:26:22
1
0
Capture Click on Android Tablet Javascipt Submit to File
I am new to JavaScript and am in need of some help. I would like to bring it up with a picture in the background. Then I would like to click points and have cross hairs put over them, as well as connecting them with a line as it goes. When I am done clicking, I need a submit button. I would like a text file to be expor...
javascript
android
null
null
null
null
open
Capture Click on Android Tablet Javascipt Submit to File === I am new to JavaScript and am in need of some help. I would like to bring it up with a picture in the background. Then I would like to click points and have cross hairs put over them, as well as connecting them with a line as it goes. When I am done clicking...
0
3,653,411
09/06/2010 17:59:45
351,409
05/26/2010 21:30:01
15
1
Rename class-names via Xml attributes?
Suppose I have an XML-serializable class called **Song**: [Serializable] class Song { public string Artist; public string SongTitle; } In order to save space (and also *semi-obfuscate* the XML file), I decide to rename the xml elements: [Serializable] class Song ...
xml
xml-serialization
xmlelement
null
null
null
open
Rename class-names via Xml attributes? === Suppose I have an XML-serializable class called **Song**: [Serializable] class Song { public string Artist; public string SongTitle; } In order to save space (and also *semi-obfuscate* the XML file), I decide to rename the xml elemen...
0
2,720,636
04/27/2010 11:16:11
555,764
04/08/2010 17:52:02
1
1
creating large database 10gb for informix
creating large database 10gb for informix
creating
large
database
informix
null
04/28/2010 23:47:24
not a real question
creating large database 10gb for informix === creating large database 10gb for informix
1
6,039,735
05/18/2011 04:04:26
187,279
10/09/2009 15:58:04
224
12
ASP.NET MVC3: jqueryui calendar does not render after upgrading project
After upgrading my project from ASP.NET MVC2 to MVC3, simply calendar partial view no longer renders. The code for this view is listed below. Any ideas? TIA. <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<AkwiMemorial.Models.CalendarModel>" %> <link href="../../Content/jquery.ui.all.c...
asp.net
asp.net-mvc-3
null
null
null
null
open
ASP.NET MVC3: jqueryui calendar does not render after upgrading project === After upgrading my project from ASP.NET MVC2 to MVC3, simply calendar partial view no longer renders. The code for this view is listed below. Any ideas? TIA. <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<AkwiMemo...
0
6,369,995
06/16/2011 09:51:38
609,306
02/09/2011 06:36:19
4
0
find division of two numbers....and whether a number is square or not.
how can we find division of two integers(obviously without using division operator). how can we determine whether a number is square of some number. like 49,16 etc (have to implement by bitwise operator). these were asked in an interview yesterday. interviewer wanted me to use bitwise operator in both these q...
c
algorithm
bitwise
bitwise-operators
bitwise-and
06/16/2011 13:47:09
not a real question
find division of two numbers....and whether a number is square or not. === how can we find division of two integers(obviously without using division operator). how can we determine whether a number is square of some number. like 49,16 etc (have to implement by bitwise operator). these were asked in an interview...
1
9,272,553
02/14/2012 06:16:54
1,186,790
02/03/2012 05:30:19
37
0
Jquery nth child value not returned with each function
Below is the code i used. I have 2 sets of list boxes. If skill1 is selected then expertise1 should be selected. Similarly if skill 2 is selected then expertise2 should be selected. HTMl listbox code <select size="1" name="prev_specific_function[0][]" id="prev_specific_function" > <option value=""> s...
php
jquery
html
null
null
null
open
Jquery nth child value not returned with each function === Below is the code i used. I have 2 sets of list boxes. If skill1 is selected then expertise1 should be selected. Similarly if skill 2 is selected then expertise2 should be selected. HTMl listbox code <select size="1" name="prev_specific_functio...
0
11,003,727
06/12/2012 19:44:42
602,055
02/03/2011 18:29:36
22
1
Why is there a JS error on this form, depending on the markup used?
I'm trying to port an old JavaScript calculator from a legacy site to a new site. The legacy calculator is a form that contains a mess of table/div markup. There is just one JS file that handles all of the logic for this calculator. As you fill out each input field in the calc, onChange() calls the function defined in ...
javascript
html
forms
null
null
null
open
Why is there a JS error on this form, depending on the markup used? === I'm trying to port an old JavaScript calculator from a legacy site to a new site. The legacy calculator is a form that contains a mess of table/div markup. There is just one JS file that handles all of the logic for this calculator. As you fill ou...
0
11,066,042
06/16/2012 18:33:48
1,460,968
06/16/2012 18:19:30
1
0
Optimize mysql server
I recently ran mysqltuner.pl and noticed alot of errors. Should i be worried and if so is there anything i could possibly change. **DATA FROM MYSQL TUNER (MYSQLTUNER.PL)** -------- General Statistics -------------------------------------------------- [--] Skipped version check for MySQLTuner script ...
mysql
null
null
null
null
06/16/2012 19:19:14
off topic
Optimize mysql server === I recently ran mysqltuner.pl and noticed alot of errors. Should i be worried and if so is there anything i could possibly change. **DATA FROM MYSQL TUNER (MYSQLTUNER.PL)** -------- General Statistics -------------------------------------------------- [--] Skipped version ch...
2
11,712,623
07/29/2012 20:23:58
1,549,833
07/24/2012 20:37:50
1
0
Modal dialogs for exceptions on mobile apps - is there an anti-pattern? Too much blocking. Alternative?
Is there a best practice anti-pattern for modal dialogs on mobile web apps? It's a real show stopper. Android preferred. What's a better code pattern? Inline message, but how?
android
design-patterns
design
anti-patterns
null
07/30/2012 03:19:51
not a real question
Modal dialogs for exceptions on mobile apps - is there an anti-pattern? Too much blocking. Alternative? === Is there a best practice anti-pattern for modal dialogs on mobile web apps? It's a real show stopper. Android preferred. What's a better code pattern? Inline message, but how?
1
4,695,548
01/14/2011 20:23:13
567,570
01/07/2011 22:46:21
11
0
Has anyone got 3DMixer in iphone working with "true" spatialization?
I have been fiddling with the 3D Mixer on the iphone but it seems that it is not able to give the effect of HRTF for a surround sound. Im wondering if any of you guys got better luck with this audio unit...
iphone
core-audio
audiounit
null
null
null
open
Has anyone got 3DMixer in iphone working with "true" spatialization? === I have been fiddling with the 3D Mixer on the iphone but it seems that it is not able to give the effect of HRTF for a surround sound. Im wondering if any of you guys got better luck with this audio unit...
0
7,255,815
08/31/2011 10:43:04
775,896
05/30/2011 07:41:08
118
2
How to integrate Core Data to my existing application?
I have selected window based universal application and started coding for my app. Now i got a requirement to use database and i found that CoreData is more preferable. Is there any way to add Coredata to my current project, if yes how? -Mrunal
iphone
database
ios
ipad
core-data
null
open
How to integrate Core Data to my existing application? === I have selected window based universal application and started coding for my app. Now i got a requirement to use database and i found that CoreData is more preferable. Is there any way to add Coredata to my current project, if yes how? -Mrunal
0
619,459
03/06/2009 16:29:41
70,870
02/25/2009 14:26:31
39
6
can I rearrange the keys on a das keyboard from QWERTY to Dvorak?
I hate to ask this here, but many people on stackoverflow have talked about the Das. I want to get the version with the printed keys - and since they don't sell a printed key version already set up for Dvorak, I hoped to rearrange the keys myself. OK, I know that I <i>can</i>, but... my dell sk-8115 keyboard...
keyboard
dvorak
qwerty
null
null
03/06/2009 19:17:37
off topic
can I rearrange the keys on a das keyboard from QWERTY to Dvorak? === I hate to ask this here, but many people on stackoverflow have talked about the Das. I want to get the version with the printed keys - and since they don't sell a printed key version already set up for Dvorak, I hoped to rearrange the keys myse...
2
11,533,176
07/18/2012 01:42:37
1,533,352
07/18/2012 01:36:02
1
0
I would like to know the following formula
http://oknow.kr/1.jpg <= view exam image moving B, result C I need C value; Cx = .....; Cy = .....; Mathematical formulas, or if you prefer the Java language ^_^ [1]: http://i.stack.imgur.com/jNuv9.jpg
location
distance
null
null
null
07/18/2012 02:11:23
not a real question
I would like to know the following formula === http://oknow.kr/1.jpg <= view exam image moving B, result C I need C value; Cx = .....; Cy = .....; Mathematical formulas, or if you prefer the Java language ^_^ [1]: http://i.stack.imgur.com/jNuv9.jpg
1
10,665,423
05/19/2012 13:02:18
32,484
10/29/2008 17:48:46
8,854
85
Structs and identity
As it says on MSDN documentation and elsewhere, a struct has no identity and should therefore represent an "eternal" value that never changes, eg a phone number (the phone number doesn't change, but you get a new one). How can this influence my coding decisions? Based on that knowledge, am I right in thinking tha...
c#
class
struct
null
null
05/19/2012 20:27:38
not a real question
Structs and identity === As it says on MSDN documentation and elsewhere, a struct has no identity and should therefore represent an "eternal" value that never changes, eg a phone number (the phone number doesn't change, but you get a new one). How can this influence my coding decisions? Based on that knowledge, ...
1
11,386,913
07/08/2012 21:35:52
1,510,201
07/08/2012 15:23:12
3
0
Coding a YouTube playlist browser
I'm very competent with CSS and styling something like this but I have no idea how to use the YouTube API to build this and was wondering if anyone would be kind enough to help! Will show the latest 12 videos from a YouTube **playlist** with thumbnails, users can hover to see the video title. When a thumbnail is cli...
php
javascript
jquery
video
youtube
07/08/2012 22:06:44
not a real question
Coding a YouTube playlist browser === I'm very competent with CSS and styling something like this but I have no idea how to use the YouTube API to build this and was wondering if anyone would be kind enough to help! Will show the latest 12 videos from a YouTube **playlist** with thumbnails, users can hover to see t...
1
717,027
04/04/2009 13:02:06
39,315
11/20/2008 13:38:50
456
42
Anonymous Instantiation Syntax - Good or Bad?
For quick tasks where I only use an instantiated object once, I am aware that I can do the following: int RandomIndex = (new Random()).Next(0,100); I say this is perfectly acceptable with non-disposable objects (such as Random) and more readable than the alternative: Random MyOnceUsedRandom = new Rando...
c#
syntax
performance
null
null
null
open
Anonymous Instantiation Syntax - Good or Bad? === For quick tasks where I only use an instantiated object once, I am aware that I can do the following: int RandomIndex = (new Random()).Next(0,100); I say this is perfectly acceptable with non-disposable objects (such as Random) and more readable than the alte...
0
11,432,104
07/11/2012 11:54:41
146,602
07/28/2009 18:30:50
864
53
Jquery wrap div around time ranges
I have markup like the following: <td>Slot 1 9:00-12:00</td> <td>Slot 2 9:00-14:00</td> <td>Slot 3 9:00-14:00</td> <td>Slot 4 9:30-12:30</td> <td>Slot 5 9:00-11:30</td> How can I run a regex filter on these table cells so that my time ranges get wrapped in a < div >? I want the following output: <td...
jquery
regex
markup
null
null
07/11/2012 12:43:23
not a real question
Jquery wrap div around time ranges === I have markup like the following: <td>Slot 1 9:00-12:00</td> <td>Slot 2 9:00-14:00</td> <td>Slot 3 9:00-14:00</td> <td>Slot 4 9:30-12:30</td> <td>Slot 5 9:00-11:30</td> How can I run a regex filter on these table cells so that my time ranges get wrapped in a < div...
1
8,384,588
12/05/2011 11:26:41
566,791
01/07/2011 11:10:36
10,133
406
NotFound for HTTPS Endpoint When Decrypting HTTPS Traffic
I'm currently developing an application in C# for Windows Phone against an HTTPS web service. An example of the endpoint that I'm accessing is as follows: https://apitest.letsfreckle.com/api/projects.json?token=lx3gi6pxdjtjn57afp8c2bv1me7g89j When I inspect the network traffic using Fiddler with the "Decrypt HTTPS t...
c#
windows-phone-7
https
fiddler
null
null
open
NotFound for HTTPS Endpoint When Decrypting HTTPS Traffic === I'm currently developing an application in C# for Windows Phone against an HTTPS web service. An example of the endpoint that I'm accessing is as follows: https://apitest.letsfreckle.com/api/projects.json?token=lx3gi6pxdjtjn57afp8c2bv1me7g89j When I insp...
0
11,535,036
07/18/2012 05:53:33
1,533,731
07/18/2012 05:45:48
1
0
JSX - Open a copy from a file
I would like to have a script which lets me open the copy of a file, which I have chooses via a dialogbox before. More or less a function that copies my chosen file to a working folder. Thanks for your held much appreciated. Cheers, Arne
extendscript
photoshop-script
jsx
null
null
07/19/2012 11:40:05
not a real question
JSX - Open a copy from a file === I would like to have a script which lets me open the copy of a file, which I have chooses via a dialogbox before. More or less a function that copies my chosen file to a working folder. Thanks for your held much appreciated. Cheers, Arne
1
11,399,850
07/09/2012 17:11:14
1,512,590
07/09/2012 16:45:44
1
0
Text to Keyword (sms gateway software) SET UP
I'm looking for a software that can be configured to manage mobile marketing campaign. They are many companies online that advertise their services such as mobile coupon, sms appointment reminders, sms voting, sms polls, text to screen, text to subscribe. But I havent been able to find a software that can control the g...
sms
keyword
sms-gateway
voting
marketing
07/11/2012 02:40:45
not constructive
Text to Keyword (sms gateway software) SET UP === I'm looking for a software that can be configured to manage mobile marketing campaign. They are many companies online that advertise their services such as mobile coupon, sms appointment reminders, sms voting, sms polls, text to screen, text to subscribe. But I havent ...
4
11,363,753
07/06/2012 14:03:22
1,472,589
06/21/2012 15:22:55
13
0
How to create Responsive webpage?
What are the best ways to create responsive webpage? Is Skeleton Framework compatible with all browsers?
html
css
null
null
null
07/06/2012 21:06:30
not a real question
How to create Responsive webpage? === What are the best ways to create responsive webpage? Is Skeleton Framework compatible with all browsers?
1
10,445,845
05/04/2012 09:03:33
1,346,938
04/20/2012 15:36:39
3
0
Limit the number of articles (and lines) within a news system
I have this news system in my website: <?php include('conn/conn.php'); mysql_select_db($bd, $conn); $resultado = mysql_query("SELECT * FROM noticia INNER JOIN user ON noticia.id_user=user.id_user ORDER BY id_noticia DESC"); ...
php
mysql
system
limit
news
05/04/2012 23:44:59
not constructive
Limit the number of articles (and lines) within a news system === I have this news system in my website: <?php include('conn/conn.php'); mysql_select_db($bd, $conn); $resultado = mysql_query("SELECT * FROM noticia INNER JOIN user ON noticia.id_user=user.id_u...
4
2,910,218
05/26/2010 05:15:42
214,973
11/19/2009 20:57:05
250
1
sigprocmask not working
I'm using sigprocmask as follows: void mask(){ sigset_t new_set,old_set; sigemptyset(&new_set); sigaddset(&new_set,SIGALRM); sigprocmask(SIG_BLOCK, &new_set, &old_set); } and to my surprise a function which prints a big list somehow gets interrupted by the signal, even though I i...
linux
sigprocmask
null
null
null
null
open
sigprocmask not working === I'm using sigprocmask as follows: void mask(){ sigset_t new_set,old_set; sigemptyset(&new_set); sigaddset(&new_set,SIGALRM); sigprocmask(SIG_BLOCK, &new_set, &old_set); } and to my surprise a function which prints a big list somehow gets interrupted b...
0
5,493,024
03/30/2011 22:06:08
571,578
01/11/2011 16:58:44
6
1
c# function with same arguments return different results on multiple runs
I have a c# function that i have as part of a bigger algo that im designing however that function is acting weird. It is returning different results on multiple runs for the same arguments. I do not see what the problem is the function. Any enlightened suggestion would be welcome.
c#
function
arguments
return
null
03/31/2011 16:31:35
not a real question
c# function with same arguments return different results on multiple runs === I have a c# function that i have as part of a bigger algo that im designing however that function is acting weird. It is returning different results on multiple runs for the same arguments. I do not see what the problem is the function. Any ...
1
7,562,269
09/26/2011 22:50:08
963,156
09/25/2011 00:20:37
11
0
Managed vs Unmanaged code
I am just doing some work and came across this question...all I can think to say is that unmanaged code could, sometimes be faster, while managed code is easier to work with. Have I missed anything?
java
.net
unmanaged
managed
null
09/26/2011 22:54:55
not a real question
Managed vs Unmanaged code === I am just doing some work and came across this question...all I can think to say is that unmanaged code could, sometimes be faster, while managed code is easier to work with. Have I missed anything?
1
8,510,358
12/14/2011 19:17:57
361,836
06/08/2010 21:51:02
150
0
What are the most useful plug-ins for developing C# apps (and web apps) with Visual Studio?
What are the most useful plug-ins for developing C# apps (and web apps) with Visual Studio? I'm trying to get a flavor for the things that I'm missing so that I can evaluate buying licenses for VS Pro, and then possibly some plug tools. I know of these tools (plug-ins) [Resharper][1], [SemanticDesigns][2], [DevExpr...
visual-studio
plugins
null
null
null
12/14/2011 19:28:53
not constructive
What are the most useful plug-ins for developing C# apps (and web apps) with Visual Studio? === What are the most useful plug-ins for developing C# apps (and web apps) with Visual Studio? I'm trying to get a flavor for the things that I'm missing so that I can evaluate buying licenses for VS Pro, and then possibly so...
4
9,801,577
03/21/2012 09:15:44
420,528
08/14/2010 17:49:48
8
0
how to detect new text in a webpage
I have a webpage which updates every now and then. If the text is something in the following right now is like: aaaaaaaa <br /> ssssssssssss <br /> fffffffffffff <br /> After updating it looks like: mmmmmmmmmmmmmmm <br /> aaaaaaaa <br /> ssssssssssss <br /> How do i extract the new text in php?. i.e., ...
php
html
null
null
null
03/21/2012 21:34:30
not a real question
how to detect new text in a webpage === I have a webpage which updates every now and then. If the text is something in the following right now is like: aaaaaaaa <br /> ssssssssssss <br /> fffffffffffff <br /> After updating it looks like: mmmmmmmmmmmmmmm <br /> aaaaaaaa <br /> ssssssssssss <br /> How ...
1
6,637,325
07/09/2011 20:38:45
665,335
03/18/2011 01:05:50
200
3
interface, interface client, vs inheritance, Software design principles, compoment packaging issue
I came across one issue as to how to package interface, interface client and inheritance. Below is from unclebob's agile in C# ch 33, p497. ![enter image description here][1] Any idea would be appreicated. [1]: http://i.stack.imgur.com/g0SxH.png
design
inheritance
interface
principles
null
07/10/2011 06:37:33
not a real question
interface, interface client, vs inheritance, Software design principles, compoment packaging issue === I came across one issue as to how to package interface, interface client and inheritance. Below is from unclebob's agile in C# ch 33, p497. ![enter image description here][1] Any idea would be appreicate...
1
10,351,939
04/27/2012 13:52:46
83,360
03/26/2009 21:46:04
170
0
Modifying EASTL and its license
I'm integrating [EASTL][1] into my game programming framework. I did some changes to it since I have my own memory management sub-system and now I'm wondering what I need to do to not break the license under which EASTL was released. The source code files include the following notice: Copyright (C) 2005,2009-...
c++
licensing
legal
eastl
null
04/27/2012 14:12:40
off topic
Modifying EASTL and its license === I'm integrating [EASTL][1] into my game programming framework. I did some changes to it since I have my own memory management sub-system and now I'm wondering what I need to do to not break the license under which EASTL was released. The source code files include the following no...
2
8,001,966
11/03/2011 21:16:45
798,502
06/14/2011 21:01:17
21
0
how to do multiprocessing in java, and what speed gains to expect?
I am a newbie using Java to do some data processing on csv files. For that I use the multithreading capabilities of Java (pools of threads) to batch-import the csv files into Java and do some operations on each of their lines. On my quad-core, multithreading speeds up the process a lot. **I am curious to know how/wh...
java
multiprocessing
null
null
null
null
open
how to do multiprocessing in java, and what speed gains to expect? === I am a newbie using Java to do some data processing on csv files. For that I use the multithreading capabilities of Java (pools of threads) to batch-import the csv files into Java and do some operations on each of their lines. On my quad-core, mult...
0
3,155,290
07/01/2010 05:30:12
355,005
06/01/2010 01:54:41
131
20
document.getElementById("clock") is null
i have a clock time inside my form..it run as a current time same with PC time.. i'm use this code: <script language="javascript"> var int=self.setInterval("clock()",1000); function clock() { var d=n...
jquery
time
clock
null
null
null
open
document.getElementById("clock") is null === i have a clock time inside my form..it run as a current time same with PC time.. i'm use this code: <script language="javascript"> var int=self.setInterval("clock()",1000); function clock() ...
0
8,727,472
01/04/2012 13:12:52
1,121,134
12/29/2011 12:19:30
8
0
Difference between Featured Video and Related Video?
I'm creating a video site like youtube. The problem is that i can't understand the difference between Related and Featured? If i have a video in News category what will be his related and featured? (sorry for this post but my english isn't so good)
video
null
null
null
null
01/05/2012 02:17:45
not a real question
Difference between Featured Video and Related Video? === I'm creating a video site like youtube. The problem is that i can't understand the difference between Related and Featured? If i have a video in News category what will be his related and featured? (sorry for this post but my english isn't so good)
1
4,791,842
01/25/2011 09:37:39
572,149
01/12/2011 03:12:01
6
0
Unable to Find Path to Server - Lotus Notes
I get this error... "Unable to find the path to server. Check that you network connection is working. If you have a working connection, go to Preferences->Notes Ports and click Trace to discover where it breaks down Search IBM Technotes" when I try to click a field to display list of items...in a list box... I als...
lotus
note
null
null
null
02/14/2011 14:53:02
off topic
Unable to Find Path to Server - Lotus Notes === I get this error... "Unable to find the path to server. Check that you network connection is working. If you have a working connection, go to Preferences->Notes Ports and click Trace to discover where it breaks down Search IBM Technotes" when I try to click a field t...
2
2,268,406
02/15/2010 19:31:19
71,200
02/26/2009 04:12:24
2,182
98
Getting started working with XML in .NET
I've been given a collection of related xsd files and a spreadsheet with xpath information in it. I need to create an xml file conforming to the schema files and populate it with data from a database.This will be my first time delving into the XML classes in the .NET framework. Which classes will help me get to my d...
xml
.net
null
null
null
null
open
Getting started working with XML in .NET === I've been given a collection of related xsd files and a spreadsheet with xpath information in it. I need to create an xml file conforming to the schema files and populate it with data from a database.This will be my first time delving into the XML classes in the .NET framew...
0
10,348,900
04/27/2012 10:21:46
1,273,266
03/16/2012 05:09:44
-6
0
Autocomplete Edittext
Is there a way to give autocomplete suggestions editext from contacts in device.like first name ,last name phone number getting filled from device phonebook
android
null
null
null
null
04/30/2012 22:04:54
not a real question
Autocomplete Edittext === Is there a way to give autocomplete suggestions editext from contacts in device.like first name ,last name phone number getting filled from device phonebook
1
6,377,156
06/16/2011 19:02:33
773,961
05/28/2011 01:59:26
53
0
noob question about function ()
I am not sure about this code. This structure is correct? success: function(data, data1, data3, .... ) { switch (data.livre) { case 'x': break; } switch (data1.livre1) { ...
javascript
jquery
null
null
null
06/16/2011 22:00:12
not a real question
noob question about function () === I am not sure about this code. This structure is correct? success: function(data, data1, data3, .... ) { switch (data.livre) { case 'x': break; } ...
1
5,078,968
02/22/2011 13:50:22
183,014
10/02/2009 10:14:31
46
1
What are the best forums for discussing developing on the Mac issues?
Would like to know what are the best online forums for discussing Macintosh development issues?
xcode
osx
ios
interface-builder
null
02/23/2011 23:42:39
not constructive
What are the best forums for discussing developing on the Mac issues? === Would like to know what are the best online forums for discussing Macintosh development issues?
4
3,191,975
07/07/2010 04:42:12
385,148
07/07/2010 04:42:12
1
0
Resize problem when hosting ocx control within wpf
I am hosting an ocx control ( a graph control for plotting) in my wpf application. The problem is that it is not getting resized when the main window is resized. The control tends to maintain its original size and when mainwindow is resized, the ocx control gets clipped and not resized. Is there any solution for this p...
wpf
null
null
null
null
null
open
Resize problem when hosting ocx control within wpf === I am hosting an ocx control ( a graph control for plotting) in my wpf application. The problem is that it is not getting resized when the main window is resized. The control tends to maintain its original size and when mainwindow is resized, the ocx control gets ...
0
10,470,354
05/06/2012 12:05:53
1,377,983
05/06/2012 11:55:34
1
0
dataset Draw Chart with JFreeChart and MySQL DB
I'm trying to draw a chart using JFreeChart on Java! The data in which I'll use in chart comes from DB. So I have a table of **pannes** with many types, I count then the number of pannes for each one and use the method of JFreeChart to add them to the dataSet. My problem is I didn't get any thing in output. ...
java
mysql
jfreechart
null
null
05/07/2012 18:39:39
too localized
dataset Draw Chart with JFreeChart and MySQL DB === I'm trying to draw a chart using JFreeChart on Java! The data in which I'll use in chart comes from DB. So I have a table of **pannes** with many types, I count then the number of pannes for each one and use the method of JFreeChart to add them to the dataSet...
3
8,622,233
12/24/2011 02:10:56
672,018
03/22/2011 21:26:26
179
2
Install isolated ROR application on apache
I decided to make an experiment. I created a simple rails app on one Ubuntu system. I used RVM and used bundler the way to put everything in one place: $ bundle package $ bundle install –local –path vendor Than I copied the project directory do another Ubuntu pure system. I installed RVM, apache2, passen...
ruby-on-rails
null
null
null
null
null
open
Install isolated ROR application on apache === I decided to make an experiment. I created a simple rails app on one Ubuntu system. I used RVM and used bundler the way to put everything in one place: $ bundle package $ bundle install –local –path vendor Than I copied the project directory do another Ubun...
0
9,070,190
01/30/2012 20:16:59
10,676
09/16/2008 00:53:10
4,480
157
SVN no longer writes .svn in all sub-folders?
I recently upgraded my SVN client from 1.6.9 to 1.7.2 and after converting to the new format, I noticed that there is no longer a .svn every sub-folders. For my particular configuration this is not very convenient. Is there a way to undo this or revert to the old behavior where each subfolder from a CO would have a...
svn
version-control
version-control-migration
null
null
null
open
SVN no longer writes .svn in all sub-folders? === I recently upgraded my SVN client from 1.6.9 to 1.7.2 and after converting to the new format, I noticed that there is no longer a .svn every sub-folders. For my particular configuration this is not very convenient. Is there a way to undo this or revert to the old b...
0
5,749,880
04/21/2011 21:17:57
545,081
12/16/2010 17:07:22
8
0
When random number shows twice, my object crashes the iPhone app! :(
I'm working on a nice app as per usual and then this happens! You spin the wheel of fortune in my app, and when the spinning animation is finished, the app is supposed to randomize a number, and display the card matched as the number index. The cards are stored in a NSMutableArray, working perfectly when called the ...
iphone
xcode
random
nsstring
nsnumber
null
open
When random number shows twice, my object crashes the iPhone app! :( === I'm working on a nice app as per usual and then this happens! You spin the wheel of fortune in my app, and when the spinning animation is finished, the app is supposed to randomize a number, and display the card matched as the number index. Th...
0
11,299,078
07/02/2012 18:21:22
1,477,891
06/24/2012 09:48:31
10
0
A script that tells something to disappaer once I click outside of it on anything
Okay I a form search on my site that when clicked loads the search results into a hidden iframe that shows. This is the iframe: <iframe class="slidingDiv" id="frame-content-left2" name="search-box" src="content.html"></iframe> This is the button that toggles it show state on/off: <input type="submit" val...
jquery
ajax
show-hide
null
null
null
open
A script that tells something to disappaer once I click outside of it on anything === Okay I a form search on my site that when clicked loads the search results into a hidden iframe that shows. This is the iframe: <iframe class="slidingDiv" id="frame-content-left2" name="search-box" src="content.html"></iframe>...
0
7,587,340
09/28/2011 17:45:18
859,762
07/23/2011 22:28:19
1,516
101
When drawing a square inside a circle, can you assume the width of the square is 4/3 of the circle radius?
I want to draw a square inside a circle. My circle has a radius of between 0.5 and 3. is it safe to assume my square will always be `0.66 * 2 * radius` wide/high? I am making a function to calculate if a certain point is within the circle. I already made a square to get my points out of the database. I want to...
math
null
null
null
null
09/28/2011 19:44:56
off topic
When drawing a square inside a circle, can you assume the width of the square is 4/3 of the circle radius? === I want to draw a square inside a circle. My circle has a radius of between 0.5 and 3. is it safe to assume my square will always be `0.66 * 2 * radius` wide/high? I am making a function to calculate if...
2
9,575,661
03/05/2012 23:24:15
564,273
01/05/2011 16:56:58
143
9
Is IgnoresListHandling for Protobuf-net v2 suppose to work like this?
I'm working with protobuf-net v2 r480 (to the best of my understanding...). **Question:** How can I get protobuf-net to ignore list handling when the class with the list handling (`FileTree`) is a field of another class (`MyRandomStuff`)? **Background:** I have a FileTree class (which I previously describe...
c#
serialization
.net-4.0
protobuf-net
null
03/06/2012 07:58:33
too localized
Is IgnoresListHandling for Protobuf-net v2 suppose to work like this? === I'm working with protobuf-net v2 r480 (to the best of my understanding...). **Question:** How can I get protobuf-net to ignore list handling when the class with the list handling (`FileTree`) is a field of another class (`MyRandomStuff`)?...
3
7,974,602
11/02/2011 00:43:39
1,024,748
11/02/2011 00:37:46
1
0
Lisp or Emac:: Print output into a file or not print output?
I'd like to save or ignore outputs when I execute a specific function in lisp. I use emacs and ccl. For example, (defun foo (x) (format t "x = ~s~%" x)), and if I execute the function, it printout "x = 5". But I don't want to printout in a buffer, because if I have a large amount of iteration, the speed of simulation w...
emacs
lisp
null
null
null
null
open
Lisp or Emac:: Print output into a file or not print output? === I'd like to save or ignore outputs when I execute a specific function in lisp. I use emacs and ccl. For example, (defun foo (x) (format t "x = ~s~%" x)), and if I execute the function, it printout "x = 5". But I don't want to printout in a buffer, becaus...
0
8,522,930
12/15/2011 16:00:30
46,064
12/14/2008 01:56:05
1,324
88
How to find binary character in text file
I have a text file that is processed by a third party. They told me the file is invalid because it contains a binary character. What's the best way to find the binary character as my normal text editors won't display it. I would prefer a windows, dos, or powershell based solution.
file
binary
full-text-search
binary-search
null
03/13/2012 16:33:59
off topic
How to find binary character in text file === I have a text file that is processed by a third party. They told me the file is invalid because it contains a binary character. What's the best way to find the binary character as my normal text editors won't display it. I would prefer a windows, dos, or powershell based s...
2
30,211
08/27/2008 14:06:52
1,414
08/15/2008 15:07:31
603
48
Windows built-in ZIP compression script-able?
Is the zip compression that is built into Windows XP/Vista/2003/2008 able to be scripted at all? What executable would I have to call from a BAT/CMD file? or is it possible to do it with VBScript? I realize that this is possible using WinZip, 7-zip and other external apps, but I'm looking for something that requires...
windows
batch
script
vbscript
zip
null
open
Windows built-in ZIP compression script-able? === Is the zip compression that is built into Windows XP/Vista/2003/2008 able to be scripted at all? What executable would I have to call from a BAT/CMD file? or is it possible to do it with VBScript? I realize that this is possible using WinZip, 7-zip and other externa...
0
5,928,503
05/08/2011 15:53:14
432,368
08/26/2010 21:24:54
184
3
Common database in LAN
I'm making system like client-server. There's two possibilities: to log in as user or admin. On one of the machines, e.g. superadmin's machine is storing main database. There's option to log in as administrator from any machine and to get datas from this main database. But I've problem - what if this machine'll be b...
c#
sql-server
database
client-server
lan
05/08/2011 17:16:23
off topic
Common database in LAN === I'm making system like client-server. There's two possibilities: to log in as user or admin. On one of the machines, e.g. superadmin's machine is storing main database. There's option to log in as administrator from any machine and to get datas from this main database. But I've problem - ...
2
9,285,029
02/14/2012 22:16:21
19,226
09/19/2008 19:30:34
519
21
Very Slow Login With Cakephp
I am working a cakephp that was left in my hands... I know enough about cakephp to be dangerous, I have gone through the cookbook and done some minor changes. Basically the initial login, which uses acl plugin i believe takes about 45seconds to 2 minutes and then once you login it works fine. If I logout and log ba...
cakephp
null
null
null
null
02/18/2012 03:52:28
not a real question
Very Slow Login With Cakephp === I am working a cakephp that was left in my hands... I know enough about cakephp to be dangerous, I have gone through the cookbook and done some minor changes. Basically the initial login, which uses acl plugin i believe takes about 45seconds to 2 minutes and then once you login it w...
1
6,617,900
07/07/2011 22:28:44
242,934
01/04/2010 02:28:08
932
65
Strange Array Behavior in PHP
I am trying to build an array and I am looping through the values of an XML document, I have everything pulling out great using xpath, here's my code: function parseAccountIds($xml) { $arr = array(); foreach($xml->entry as $k => $v) { $acctName = $v->title; $...
php
arrays
null
null
null
null
open
Strange Array Behavior in PHP === I am trying to build an array and I am looping through the values of an XML document, I have everything pulling out great using xpath, here's my code: function parseAccountIds($xml) { $arr = array(); foreach($xml->entry as $k => $v) { ...
0
10,627,084
05/16/2012 21:38:54
807,400
06/20/2011 21:03:30
1,026
21
setting uitableviewcell height for custom cell
I was looking to set up my cell heights dynamically based off of the value that you set the custom cell in Interface Builder. This did not work out so I have moved on and found this method in Apples docs that can be used to set the cell height - **tableView:heightForRowAtIndexPath:** However I am not sure if I am us...
iphone
ios
uitableview
uitableviewcell
null
null
open
setting uitableviewcell height for custom cell === I was looking to set up my cell heights dynamically based off of the value that you set the custom cell in Interface Builder. This did not work out so I have moved on and found this method in Apples docs that can be used to set the cell height - **tableView:heightForR...
0