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
11,022,791
06/13/2012 20:26:04
920,917
08/31/2011 03:59:10
1,361
148
Jquery Ajax return 302 error
I know the error 302 is because i'm getting redirected... I see that i'm being logged out of the webService in a way. But when i'm using this : var request = WebRequest.Create(url); request.Method = "POST"; ServicePointManager.ServerCertificateValidationCallback = delegate { ...
jquery
.net
ajax
web-services
null
null
open
Jquery Ajax return 302 error === I know the error 302 is because i'm getting redirected... I see that i'm being logged out of the webService in a way. But when i'm using this : var request = WebRequest.Create(url); request.Method = "POST"; ServicePointManager.ServerCertifica...
0
10,651,959
05/18/2012 11:40:20
1,382,107
05/08/2012 12:53:38
1
0
How hide/show all paragraphs with a certain text-style (VBA)?
I'm trying to find a way with VBA to hide/ show a certain text-style. What's the best way to make a sub like this in VBA? I'm going to add the code to a "Hide/ show" button. Any suggestion on how to approach this is appreciated!
vba
macros
ms-word
null
null
07/27/2012 14:41:35
not a real question
How hide/show all paragraphs with a certain text-style (VBA)? === I'm trying to find a way with VBA to hide/ show a certain text-style. What's the best way to make a sub like this in VBA? I'm going to add the code to a "Hide/ show" button. Any suggestion on how to approach this is appreciated!
1
2,982,134
06/05/2010 21:15:09
102,441
05/06/2009 19:45:03
2,364
143
How can I achieve a complicated CSS layout?
I have a page [here](http://technobotts.info/documentation/documentation.php?DataProcessing). There is a contents panel, and a content panel. I would like to center the content, and push the contents panel to the top right corner. This behaviour already works. **However**, the layout does not work as I would like wh...
html
css
null
null
null
null
open
How can I achieve a complicated CSS layout? === I have a page [here](http://technobotts.info/documentation/documentation.php?DataProcessing). There is a contents panel, and a content panel. I would like to center the content, and push the contents panel to the top right corner. This behaviour already works. **Howev...
0
980,881
06/11/2009 12:48:21
11,208
09/16/2008 06:12:22
4,784
286
Passing multi-param function into a macro
For an assert-like macro, I'm trying to pass the result of a function call, like so: bool isTrue(bool, bool) { return true; } #define RETURN_IF(condition) do { if (condition) return; } while (0) void run() { bool b = true; DO_IF(isTrue(b, !b)); // error C2143: syntax error ...
c
macros
c++
null
null
null
open
Passing multi-param function into a macro === For an assert-like macro, I'm trying to pass the result of a function call, like so: bool isTrue(bool, bool) { return true; } #define RETURN_IF(condition) do { if (condition) return; } while (0) void run() { bool b = true; DO_IF(...
0
1,075,189
07/02/2009 15:51:15
52,912
01/08/2009 12:52:23
60
3
URL Rewriting multiple folders to one folder
I'm using [IIRF][1] on IIS6/Server03 with an MVC app in the root of the server and a virtual directory for the wordpress blog/cms. I'd ideally like the urls as follows... * domain.com/ <loads normal MVC Home Page> * domain.com/wpcategory/ -> rewritten from domain.com/blog/wpcategory/ * domain.com/wpcategory/wparti...
iirf
url-rewriting
url-routing
asp.net-mvc
null
null
open
URL Rewriting multiple folders to one folder === I'm using [IIRF][1] on IIS6/Server03 with an MVC app in the root of the server and a virtual directory for the wordpress blog/cms. I'd ideally like the urls as follows... * domain.com/ <loads normal MVC Home Page> * domain.com/wpcategory/ -> rewritten from domain.co...
0
10,985,086
06/11/2012 17:53:11
1,320,819
04/08/2012 21:24:07
18
0
subdomains dynamically htacces
in my htacces I have: # if requested subdomain is not "www" RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{HTTP_HOST} !^(www\.)?example\.com [NC] # and we have not already rewritten this request to the subdomain's subfolder #RewriteCond %{THE_REQUEST} !/folder/. # extract reques...
.htaccess
url-rewriting
subdomain
subdomains
wildcard-subdomain
null
open
subdomains dynamically htacces === in my htacces I have: # if requested subdomain is not "www" RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{HTTP_HOST} !^(www\.)?example\.com [NC] # and we have not already rewritten this request to the subdomain's subfolder #RewriteCond %{THE_REQUEST} !/...
0
7,470,981
09/19/2011 12:32:35
804,170
06/18/2011 02:18:03
89
1
ICMPv4/v6 redirect pkt received but route table not updated?
In FreeBSD/Linux, the **ICMPv4/v6 Redirect** pkt can be received by the OS, but the route table will not be changed accordingly? I have enabled the necessary sysctl variables under /proc to accept the redirect pkt. Any suggestion?
linux
networking
ipv6
freebsd
icmp
null
open
ICMPv4/v6 redirect pkt received but route table not updated? === In FreeBSD/Linux, the **ICMPv4/v6 Redirect** pkt can be received by the OS, but the route table will not be changed accordingly? I have enabled the necessary sysctl variables under /proc to accept the redirect pkt. Any suggestion?
0
9,840,723
03/23/2012 14:06:59
675,592
03/24/2011 19:49:54
410
13
How to Map a CSV or Tab Delimited File to MySQL Multi-Table Database
I've got a pretty substantial XLS file a client provided 830 total tabs/sheets. I've designed a multi table database with PHPMyAdmin (MySQL obviously) to house the information that's in there, and have populated about 5 of those sheets by hand to ensure the data will fit into the designed database. Is there a pie...
mysql
database
phpmyadmin
import
null
null
open
How to Map a CSV or Tab Delimited File to MySQL Multi-Table Database === I've got a pretty substantial XLS file a client provided 830 total tabs/sheets. I've designed a multi table database with PHPMyAdmin (MySQL obviously) to house the information that's in there, and have populated about 5 of those sheets by hand...
0
9,666,979
03/12/2012 12:26:45
1,153,634
01/17/2012 10:01:16
1
0
Combining multiple stencils in GL
I want to set up multiple stencils in OpenGL and then draw into multiple combinations of them. For example: I have two rectangular stencils like this: [Image on Tinypic][1] Then i want to draw into: 1. anywhere 2. left rectangle (blue+purple) 3. right rectangle (purple+red) 4. middle rectangle (purple...
opengl
stencil-buffer
stencils
null
null
null
open
Combining multiple stencils in GL === I want to set up multiple stencils in OpenGL and then draw into multiple combinations of them. For example: I have two rectangular stencils like this: [Image on Tinypic][1] Then i want to draw into: 1. anywhere 2. left rectangle (blue+purple) 3. right rectangle (pu...
0
4,017,565
10/25/2010 18:18:47
484,634
10/22/2010 20:02:21
1
0
Error 101 (net::ERR_CONNECTION_RESET) When running asp.net page in Visual Studio 2008
Well i have problems running any project in visual studio, even if it's a new website i get this error. If i see the website in internet explorer and localhost/project it work's but i can't debug in visual studio Any ideas? thx
asp.net
visual-studio-2008
iis
null
null
null
open
Error 101 (net::ERR_CONNECTION_RESET) When running asp.net page in Visual Studio 2008 === Well i have problems running any project in visual studio, even if it's a new website i get this error. If i see the website in internet explorer and localhost/project it work's but i can't debug in visual studio Any ideas? ...
0
2,957,627
06/02/2010 12:26:52
119,331
06/08/2009 16:39:15
178
16
Which must be the gems directory?
Some weeks ago I upgraded my NetBeans version from 6.7 to 6.8. Yesterday, while trying to solve some issue, I updated the gems' versions and suddenly the app stop working, throwing me the error message: > Missing the Rails 2.3.4 gem. Please > gem install -v=2.3.4 rails, update > your RAILS_GEM_VERSION setting i...
ruby-on-rails
null
null
null
null
null
open
Which must be the gems directory? === Some weeks ago I upgraded my NetBeans version from 6.7 to 6.8. Yesterday, while trying to solve some issue, I updated the gems' versions and suddenly the app stop working, throwing me the error message: > Missing the Rails 2.3.4 gem. Please > gem install -v=2.3.4 rails, upd...
0
5,847,627
05/01/2011 09:39:44
681,523
03/29/2011 07:00:07
25
1
Trying to learn the D programming language, where can I get involved in a project or where should I start?
So I've been reading up on the D programming language for a while, and it really seems like a cool new language to learn. My impression is that it combines the power of C with intuitive syntax and garbage collection. What more could I want? Ok...so these accounts I've been reading are probably a bit idealized. Ho...
open-source
programming-languages
d
null
null
07/25/2012 22:11:41
not constructive
Trying to learn the D programming language, where can I get involved in a project or where should I start? === So I've been reading up on the D programming language for a while, and it really seems like a cool new language to learn. My impression is that it combines the power of C with intuitive syntax and garbage co...
4
3,713,311
09/14/2010 22:14:37
298,406
03/21/2010 11:15:18
323
2
How do I save data in an application scope in PHP?
I'm a Java and C# developer, and, I admit, I'm not that good in PHP. I need to store an object in an application scope that lives as long as the app itself is running. I can't save it in the Session, because it expires, nor I can't serialize it to disk. Is there something like a C# `Application` object in PHP? ...
php
scope
save
null
null
null
open
How do I save data in an application scope in PHP? === I'm a Java and C# developer, and, I admit, I'm not that good in PHP. I need to store an object in an application scope that lives as long as the app itself is running. I can't save it in the Session, because it expires, nor I can't serialize it to disk. Is t...
0
2,117,541
01/22/2010 13:43:39
181,144
09/29/2009 13:20:36
342
60
What is the best way to catch an IllegalArgumentException
When would be the best use of this type of exception and is it handeled properly if caught in a catch like so? catch(Exception e) Or does it need to be caught explicitly? catch(IllegalArgumentException e)
java
exception
null
null
null
null
open
What is the best way to catch an IllegalArgumentException === When would be the best use of this type of exception and is it handeled properly if caught in a catch like so? catch(Exception e) Or does it need to be caught explicitly? catch(IllegalArgumentException e)
0
9,224,444
02/10/2012 07:52:10
1,200,402
02/09/2012 18:42:45
1
0
manual upload to the google app engine datastore
im trying to execute the tutorial at this link : http://jeftechjava.blogspot.in/2011/05/how-to-create-listview-in-android.html In the tutorial he asks us to manually upload DBInfo.java to the datastore. Im not really sure how.. can someone pls guide me in doing this?
android
google-app-engine
null
null
null
02/12/2012 07:25:24
too localized
manual upload to the google app engine datastore === im trying to execute the tutorial at this link : http://jeftechjava.blogspot.in/2011/05/how-to-create-listview-in-android.html In the tutorial he asks us to manually upload DBInfo.java to the datastore. Im not really sure how.. can someone pls guide me in doi...
3
10,568,081
05/12/2012 23:07:45
237,712
12/23/2009 16:06:25
188
2
Partitioning a sequence into sets of unique pairs
I'm in need a of function which can split a sequence into pairs, and then combine them such that all elements in a combination is unique. I have tried a number of approaches using python's itertools, but have not found a solution. To illustrate i would like a function which would take this sequence: [1, 2, 3, 4...
python
null
null
null
null
null
open
Partitioning a sequence into sets of unique pairs === I'm in need a of function which can split a sequence into pairs, and then combine them such that all elements in a combination is unique. I have tried a number of approaches using python's itertools, but have not found a solution. To illustrate i would like a fu...
0
8,110,613
11/13/2011 09:00:21
1,030,822
11/05/2011 06:29:57
1
0
need to write VC++ program to add user to Mysql server
I want to Write a VC++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.how to write this program in Visual studio 2008 and what are setting i need to change in properties of Poject in VS plz help me, Thanks in Advance
c++
mysql
visual-c++
null
null
11/13/2011 09:42:55
too localized
need to write VC++ program to add user to Mysql server === I want to Write a VC++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.how to write this program in Visual studio 2008 and what are setting i need to change in properties of Poject in VS plz help me, Thank...
3
246,912
10/29/2008 14:02:41
15,187
09/17/2008 06:58:30
186
6
2 instances of the same table inside jsp
Currently there are 2 pages in a jsp file: one of them displays the data and the second one is used for pagination. The task is to include exactly the same paginator table above the data table. Sorry, couldn't resist to draw it :) |-----------------------------------------| | Page 2 of ...
java
jsp
null
null
null
null
open
2 instances of the same table inside jsp === Currently there are 2 pages in a jsp file: one of them displays the data and the second one is used for pagination. The task is to include exactly the same paginator table above the data table. Sorry, couldn't resist to draw it :) |-----------------------------------...
0
10,560,949
05/12/2012 03:55:46
1,291,096
03/25/2012 09:51:50
117
0
using javascript and django to upload a text file to some folder in server
I need to upload a text file which contains some data ,from my `local filesystem` to say `{{MEDIA_URL}}/uploadfolder`.This file is to be processed by one of the functions in my `django` view. I created an `<input type="file" id="fselect" >` in my html page.I created a javascript file in which I tried to call the u...
javascript
python
django
null
null
null
open
using javascript and django to upload a text file to some folder in server === I need to upload a text file which contains some data ,from my `local filesystem` to say `{{MEDIA_URL}}/uploadfolder`.This file is to be processed by one of the functions in my `django` view. I created an `<input type="file" id="fselect...
0
3,341,436
07/27/2010 07:16:28
386,256
07/08/2010 05:22:31
6
0
How to know whether .pem file is correct or not
I have created a .pem file to be used for Production push notification, and uploaded in server. But when sending push notification, it is giving error like this. $fp = stream_socket_client('ssl://gateway.push.apple.com:2195', $err, $errstr, 60, STREAM_CLIENT_CONNECT, $ctx); not working, return failed. wha...
php
iphone
push-notification
pem
null
null
open
How to know whether .pem file is correct or not === I have created a .pem file to be used for Production push notification, and uploaded in server. But when sending push notification, it is giving error like this. $fp = stream_socket_client('ssl://gateway.push.apple.com:2195', $err, $errstr, 60, STREAM_CLIE...
0
6,580,530
07/05/2011 09:30:51
501,586
11/09/2010 07:54:04
35
2
new JTabbedPane ui
how do i desing JTabbedPane whith this L&F. http://www.jidesoft.com/images/jidetabbedpane.png can any one help me? thanks.
java
swing
jtabbedpane
null
null
07/05/2011 13:52:29
not a real question
new JTabbedPane ui === how do i desing JTabbedPane whith this L&F. http://www.jidesoft.com/images/jidetabbedpane.png can any one help me? thanks.
1
627,649
03/09/2009 19:25:41
3,047
08/26/2008 13:36:37
492
21
Getting data from WCF Async methods inside a foreach loop
In the code below, I have a List<Item> object. I want to iterate through each one and assign a value to one of the properties on each Item object. To get the value, I need to call an async method of a WCF service. When the call to my WCF service completes, how do I take that data and assign it to the current insta...
c#
wcf
asynchronous
null
null
null
open
Getting data from WCF Async methods inside a foreach loop === In the code below, I have a List<Item> object. I want to iterate through each one and assign a value to one of the properties on each Item object. To get the value, I need to call an async method of a WCF service. When the call to my WCF service comple...
0
7,745,139
10/12/2011 19:02:54
529,482
12/03/2010 14:19:36
118
0
to read csv file and update in C++ STL
I have to implement an API which reads from csv like name address phone number and bank account 2) allow user to lookup information by name or by account number 3) Add information about user and update records. At this point , I know how to read file in C++ but can someone give me vague idea about other points.
c++
stl
null
null
null
10/12/2011 20:47:02
not a real question
to read csv file and update in C++ STL === I have to implement an API which reads from csv like name address phone number and bank account 2) allow user to lookup information by name or by account number 3) Add information about user and update records. At this point , I know how to read file in C++ but can some...
1
8,311,330
11/29/2011 13:14:15
1,071,323
11/29/2011 13:01:03
1
0
Can i change the ways of the icmp request?
When i send a ping to www.example.com, it goes around 4 hops: A -> B -> C -> www.example.com I want to change it: A -> C -> www.example.com and if i receive an icmp reply, it'll return to another ip. ping www.example.com //my ip: 192.168.0.110 max of 30 hops: 1. hops A 2. hops B 3. hops C 4. www.examp...
c#
request
icmp
null
null
11/29/2011 15:07:09
not a real question
Can i change the ways of the icmp request? === When i send a ping to www.example.com, it goes around 4 hops: A -> B -> C -> www.example.com I want to change it: A -> C -> www.example.com and if i receive an icmp reply, it'll return to another ip. ping www.example.com //my ip: 192.168.0.110 max of 30 hops: ...
1
2,013,358
01/06/2010 13:53:33
239,137
12/27/2009 11:21:00
3
0
WPF Binding Issues
I'm trying to customize the TreeView control. When a user selects an item in the TreeView, I need the ActualWidth of the selected item to be stored in the item's Tag: <Style x:Key="{x:Type TreeViewItem}" TargetType="{x:Type TreeViewItem}"> <!-- ... --> <Setter Property="Template...
wpf
binding
treeview
item
null
null
open
WPF Binding Issues === I'm trying to customize the TreeView control. When a user selects an item in the TreeView, I need the ActualWidth of the selected item to be stored in the item's Tag: <Style x:Key="{x:Type TreeViewItem}" TargetType="{x:Type TreeViewItem}"> <!-- ... --> <S...
0
5,766,839
04/23/2011 20:47:10
418,029
08/12/2010 05:40:04
916
20
End of run loop -- autorelease pool recovery
As I understand autoreleased objects are cleaned once an autoreleased pool is released. Now, autorelease pool will be released at the end of the run loop. My question is if in my class I am not creating and custom autorelease pool and calling autorelease method on some objects in that class, at what point those obje...
iphone
objective-c
cocoa-touch
ios
nsautoreleasepool
null
open
End of run loop -- autorelease pool recovery === As I understand autoreleased objects are cleaned once an autoreleased pool is released. Now, autorelease pool will be released at the end of the run loop. My question is if in my class I am not creating and custom autorelease pool and calling autorelease method on so...
0
6,427,631
06/21/2011 15:12:34
808,717
06/21/2011 15:12:34
1
0
How to read an XML file with out DTD or schema in Java
We have an XML file, generated from LDAP. It does start with Docroot, but there is no DTD declaration. We tried generating DTD, but there are simply too many variants and we were told every one else process the file manually (with out DTD or schema). We know what we need to read from XML and the format of the documen...
java
xml
null
null
null
null
open
How to read an XML file with out DTD or schema in Java === We have an XML file, generated from LDAP. It does start with Docroot, but there is no DTD declaration. We tried generating DTD, but there are simply too many variants and we were told every one else process the file manually (with out DTD or schema). We know...
0
10,436,766
05/03/2012 17:52:43
1,044,213
11/13/2011 13:45:09
18
1
How to make the Full duplex wirless communication by RF433 between Microcontroller PIC18f452 and PC
i am using the **`PIC18f452`** and 2 **`RF433`** for the communication between the **`PIC18f452`** and PC the PC send data to **`PIC18f452`** and reply the process data to the PC again how to make it possible with the RF433
embedded
wireless
pic
rfid
null
05/06/2012 19:13:12
not a real question
How to make the Full duplex wirless communication by RF433 between Microcontroller PIC18f452 and PC === i am using the **`PIC18f452`** and 2 **`RF433`** for the communication between the **`PIC18f452`** and PC the PC send data to **`PIC18f452`** and reply the process data to the PC again how to make it possible with t...
1
9,513,442
03/01/2012 09:15:30
621,549
02/17/2011 14:26:28
1
0
Telerik: Radpane should close while loading wpf window initially
How can I make it so the RadPanes in a RadPaneGroup are initially closed (unpinned)?
wpf
null
null
null
null
06/18/2012 17:26:27
not a real question
Telerik: Radpane should close while loading wpf window initially === How can I make it so the RadPanes in a RadPaneGroup are initially closed (unpinned)?
1
9,413,207
02/23/2012 12:36:54
947,040
09/15/2011 14:27:50
66
6
Dijkstra linear running time on dense graph with Binary Heap
**First**: The general running time of Dijkstras Shortest Path algorithm is ![Dijkstra generalrunning time][1] where m is the number of edges and n the number of vertices **Second**: the number of expected decreasekey operations is the following ![enter image description here][2] **Third**: The expected ...
performance
data-structures
graph-algorithm
dijkstra
shortest-path
null
open
Dijkstra linear running time on dense graph with Binary Heap === **First**: The general running time of Dijkstras Shortest Path algorithm is ![Dijkstra generalrunning time][1] where m is the number of edges and n the number of vertices **Second**: the number of expected decreasekey operations is the following...
0
8,665,454
12/29/2011 08:22:27
1,120,718
12/29/2011 08:10:54
1
0
how to keep track the activity of a particular user of a website
i want to monitor the activity of a particular user of a website. i also monitor the changes he done and action performed by him. i am using php mysql of coding and DB. Please help thanks in advance
php
mysql
null
null
null
12/29/2011 23:22:10
not a real question
how to keep track the activity of a particular user of a website === i want to monitor the activity of a particular user of a website. i also monitor the changes he done and action performed by him. i am using php mysql of coding and DB. Please help thanks in advance
1
7,349,397
09/08/2011 14:10:34
724,112
04/25/2011 17:51:33
29
1
Comparison: Pycharm vs WingIDE
Which one do you prefer? Which features does one have that the other doesn't (in their latest versions, of course)? Both IDEs have trial versions at their respective websites: http://wingware.com/ http://www.jetbrains.com/pycharm/
python
comparison
pycharm
wing-ide
wingide
09/08/2011 17:27:03
not constructive
Comparison: Pycharm vs WingIDE === Which one do you prefer? Which features does one have that the other doesn't (in their latest versions, of course)? Both IDEs have trial versions at their respective websites: http://wingware.com/ http://www.jetbrains.com/pycharm/
4
9,740,746
03/16/2012 16:12:00
205,241
11/06/2009 21:05:12
174
16
How do I bind to a List as a Property on a Model in MVC 3 Razor?
I've got a model that looks something like this: public class EditUserViewModel { public EditUserViewModel() { } public EditUserDataModel User { get; set; } } With a backing object that looks like this: public class...
asp.net-mvc
asp.net-mvc-3
razor
checkboxfor
null
null
open
How do I bind to a List as a Property on a Model in MVC 3 Razor? === I've got a model that looks something like this: public class EditUserViewModel { public EditUserViewModel() { } public EditUserDataModel User { get; set; } ...
0
3,379,150
07/31/2010 17:38:41
255,543
01/21/2010 06:54:02
3
0
How should I skim money off a transaction between 2 people on my site?
This is sort of not relevant to programming but I think it also is: MY site is being built around people selling products through the site and customers buying the product through it. I'll then shave a % off the top of the sale. As far as skimming a % of the sale off the top, what is the order of events that shou...
php
ssl
transactions
paypal
e-commerce
07/31/2010 20:40:05
off topic
How should I skim money off a transaction between 2 people on my site? === This is sort of not relevant to programming but I think it also is: MY site is being built around people selling products through the site and customers buying the product through it. I'll then shave a % off the top of the sale. As far as...
2
4,038,601
10/27/2010 23:43:50
296,923
05/10/2009 18:19:21
475
29
NHibernate, ORM : how is refactoring handled? existing data?
When using an ORM (specifically NHibernate), how is refactoring of data handled? I mean, if data objects change such that the underlying relational DB schema changes, does the ORM offer any help in schema upgrades / downgrades in the DB? How about migration of existing data to the new schema? I am in the process of ...
nhibernate
orm
null
null
null
null
open
NHibernate, ORM : how is refactoring handled? existing data? === When using an ORM (specifically NHibernate), how is refactoring of data handled? I mean, if data objects change such that the underlying relational DB schema changes, does the ORM offer any help in schema upgrades / downgrades in the DB? How about migrat...
0
4,956,505
02/10/2011 11:28:08
279,655
02/23/2010 16:43:37
15
0
Simple Jquery show hide problem
Quick one - I have an image map and when rolling over a area i wish to show hide divs relevant to the area rolled over. If i use the following code it works apart from that fact that when you remain hovered on the selected area it keeps the div hidden until you then mouse out - even though the show function is ...
jquery
null
null
null
null
null
open
Simple Jquery show hide problem === Quick one - I have an image map and when rolling over a area i wish to show hide divs relevant to the area rolled over. If i use the following code it works apart from that fact that when you remain hovered on the selected area it keeps the div hidden until you then mouse ou...
0
7,973,419
11/01/2011 21:55:47
973,391
09/30/2011 15:34:51
10
0
Is it a good programming practice to return in the middle of Java FOR-EACH loop?
I have a list of objects to iterate over which is a name,value pair. I want the method to return the value when the name matches "inputFile" .. So while iterating through the list is it a good programming practice to do the following: for(NameValuePair nameValuePair: getNameValuePairList()) { if(nameV...
java
null
null
null
null
11/02/2011 00:35:08
off topic
Is it a good programming practice to return in the middle of Java FOR-EACH loop? === I have a list of objects to iterate over which is a name,value pair. I want the method to return the value when the name matches "inputFile" .. So while iterating through the list is it a good programming practice to do the following:...
2
8,717,841
01/03/2012 19:53:42
1,091,407
12/10/2011 16:21:52
1
0
Should I still aim iOS 3.x for a new app?
iOS 5 and a polished device generation (4S) were released some months ago. Apple also dropped the support for the iPhone 3G, so I think that the number of potential iOS 3 devices and user has been decreased. Should I bother making a new app compatible with iOS 3.1.3? How many user are still using iOS 3? If there ...
iphone
ios
ipad
apple
ipod
01/03/2012 20:13:25
not constructive
Should I still aim iOS 3.x for a new app? === iOS 5 and a polished device generation (4S) were released some months ago. Apple also dropped the support for the iPhone 3G, so I think that the number of potential iOS 3 devices and user has been decreased. Should I bother making a new app compatible with iOS 3.1.3? Ho...
4
5,008,773
02/15/2011 19:51:41
259,562
01/26/2010 20:51:22
1,055
57
Xtext: using the grammar classes in ISemanticHighlightingCalculator
Listen, I have a grammar. See just the specific part I need to handle: Par: id=ID | string=STRING | integer=INT; What I want to obtain is: if it's a Par element of type ID then color the background if it's a Par element of type STRING then set text color And here is my *SemanticHighlighti...
syntax-highlighting
xtext
null
null
null
null
open
Xtext: using the grammar classes in ISemanticHighlightingCalculator === Listen, I have a grammar. See just the specific part I need to handle: Par: id=ID | string=STRING | integer=INT; What I want to obtain is: if it's a Par element of type ID then color the background if it's a Par element...
0
11,277,029
06/30/2012 19:29:11
717,559
04/20/2011 17:00:30
822
23
Numbers only Regex?
I currently use this regex: (\d+) the problem that i can get 2 strings: > "2112343 and alot of 4.99" **OR** > "4.99 and alot of 2112343 " I get this from both: [2112343, 4, 99] I need to get only the **2112343**... How can i achieve this?
c#
python
regex
numbers
null
null
open
Numbers only Regex? === I currently use this regex: (\d+) the problem that i can get 2 strings: > "2112343 and alot of 4.99" **OR** > "4.99 and alot of 2112343 " I get this from both: [2112343, 4, 99] I need to get only the **2112343**... How can i achieve this?
0
11,476,165
07/13/2012 18:24:15
1,481,008
06/25/2012 20:18:11
3
0
Checking a Query's validity before submitting when using the Rally Rest API
I have a UI interface where my users can set up the parameters for a query in Rally. When they define a query, I want to check that it will be valid before I send the query() request. This will help a lot with the members of items that only have certain allowed values, like how the ScheduleState of a HierarchicalRequ...
java
query
rally
null
null
null
open
Checking a Query's validity before submitting when using the Rally Rest API === I have a UI interface where my users can set up the parameters for a query in Rally. When they define a query, I want to check that it will be valid before I send the query() request. This will help a lot with the members of items that o...
0
8,621,839
12/24/2011 00:32:25
635,982
02/26/2011 23:02:14
125
8
Why isn't Facebook's connect-js github project up-to-date?
I'm trying to debug some odd behavior where the auth.logout event is being triggered even though the user isn't logged in. I have a red-handed stacktrace of the event firing from FB.provide.setAuthResponse. However, when I grep the connect-js source, I find that the string "setAuthResponse" doesn't even exist in the ...
facebook
facebook-javascript-sdk
null
null
null
12/25/2011 02:16:41
not a real question
Why isn't Facebook's connect-js github project up-to-date? === I'm trying to debug some odd behavior where the auth.logout event is being triggered even though the user isn't logged in. I have a red-handed stacktrace of the event firing from FB.provide.setAuthResponse. However, when I grep the connect-js source, I f...
1
3,949,264
10/16/2010 14:25:13
451,921
09/19/2010 12:41:33
1
0
Running Metasploit on Ipod Touch
i am trying to demo metasploit on my Ipod Touch.i have jailbreaked the ipod and downloaded metasploit from cydia.but now i dont know which commands to run so as to demonstrate exploits. i have basic knowledge about linux commands.Please help me on how to go ahead and complete the demo
security
ipod-touch
null
null
null
10/17/2010 02:23:55
off topic
Running Metasploit on Ipod Touch === i am trying to demo metasploit on my Ipod Touch.i have jailbreaked the ipod and downloaded metasploit from cydia.but now i dont know which commands to run so as to demonstrate exploits. i have basic knowledge about linux commands.Please help me on how to go ahead and complete the ...
2
9,642,922
03/10/2012 00:51:05
1,070,510
11/29/2011 02:59:27
62
2
How to deal with Tree questions while preparing for Top tech company like Google...?
Hi all i have onsite interview with some top tech company.I am recent graduate so i have some confusion while dealing with tree questions.Could some one please clarify my doubts it would be greatly helpful to me. Here is my question: Find vertical summation of Binary Tree It can be easily solved with O(n) extra ...
tree
interview-questions
null
null
null
03/10/2012 20:15:32
off topic
How to deal with Tree questions while preparing for Top tech company like Google...? === Hi all i have onsite interview with some top tech company.I am recent graduate so i have some confusion while dealing with tree questions.Could some one please clarify my doubts it would be greatly helpful to me. Here is my quest...
2
11,521,501
07/17/2012 11:27:12
1,452,624
06/13/2012 02:09:42
87
1
Name of the features I'm looking for.
I'm expanding my website, and I want to add social interaction, I'm not exactly sure what this type of 'feature' this is really called, but essentially, I want users to be able to: Register Enter 'blog-esk' posts. Comment/Rate I think these features are used in wordpress, but I've already got a ...
html
wordpress
content-management-system
null
null
07/18/2012 00:17:25
not constructive
Name of the features I'm looking for. === I'm expanding my website, and I want to add social interaction, I'm not exactly sure what this type of 'feature' this is really called, but essentially, I want users to be able to: Register Enter 'blog-esk' posts. Comment/Rate I think these features are...
4
2,834,944
05/14/2010 14:35:15
81,800
03/24/2009 05:02:28
2,182
28
Error in my OO Generics design. How do I workaround it?
I get "E2511 Type parameter 'T' must be a class type" on the third class. type TSomeClass=class end; ParentParentClass<T>=class end; ParentClass<T: class> = class(ParentParentClass<T>) end; ChildClass<T: TSomeClass> = class(ParentClass<T>) end; I'm trying to write a l...
delphi
generics
delphi-2009
generic-programming
null
null
open
Error in my OO Generics design. How do I workaround it? === I get "E2511 Type parameter 'T' must be a class type" on the third class. type TSomeClass=class end; ParentParentClass<T>=class end; ParentClass<T: class> = class(ParentParentClass<T>) end; ChildClass<T: TSomeClass>...
0
8,752,820
01/06/2012 02:53:49
1,133,502
01/06/2012 02:49:43
1
0
Wall Post's not showing on Community Page
I have a community page set up and the wall post's aren't showing on the main wall page. How do I change this? I am not a computer person and am doing my best to figure it out, but not finding the answers I need. If anyone is willing to help it would be greatly appreciated.
facebook
post
wall
null
null
01/06/2012 03:16:23
off topic
Wall Post's not showing on Community Page === I have a community page set up and the wall post's aren't showing on the main wall page. How do I change this? I am not a computer person and am doing my best to figure it out, but not finding the answers I need. If anyone is willing to help it would be greatly appreciated...
2
1,126,006
07/14/2009 15:03:44
138,125
07/14/2009 15:01:59
1
0
Protocol for data encoding for web<->desktop based application
I'm planning to develop a remote desktop system consisting of: 1. The desktop application that can grab and display the screen 2. The server which establishes peer connections, serves STUN/TURN NAT traversal techniques for peer 3. The web based (either Java applet or Silverlight) application that runs from browse...
vnc
http
desktop
nat
protocols
null
open
Protocol for data encoding for web<->desktop based application === I'm planning to develop a remote desktop system consisting of: 1. The desktop application that can grab and display the screen 2. The server which establishes peer connections, serves STUN/TURN NAT traversal techniques for peer 3. The web based (...
0
11,610,535
07/23/2012 10:15:27
1,545,459
07/23/2012 09:39:29
1
0
Do something after a Outlook Appointment was saved
I am writing an Outlook Add-in and want to do something (not relevant here) with the data of an Appointment after (when) it was saved. (i am new to Outlook-Addins) so i found that there is an *AfterWrite* event where i can register a Method. And there is an *ItemLoad* event on *Application*. so my first Effor...
c#
.net
events
outlook-addin
null
null
open
Do something after a Outlook Appointment was saved === I am writing an Outlook Add-in and want to do something (not relevant here) with the data of an Appointment after (when) it was saved. (i am new to Outlook-Addins) so i found that there is an *AfterWrite* event where i can register a Method. And there is an...
0
8,543,938
12/17/2011 09:52:48
718,785
04/21/2011 10:47:08
359
8
Xcode software updating issue
I would like to install iOS simulator 4.3 in Xcode 4.2. I accidentally entered the wrong email id which doesn't have an APPLE ID. Xcode is not allowing me to switch account into which I've my Apple ID. It redirects me to a login page, over there I am presented with two options "to register" "use existing account", if I...
iphone
ios
xcode
ipad
null
12/19/2011 05:48:30
off topic
Xcode software updating issue === I would like to install iOS simulator 4.3 in Xcode 4.2. I accidentally entered the wrong email id which doesn't have an APPLE ID. Xcode is not allowing me to switch account into which I've my Apple ID. It redirects me to a login page, over there I am presented with two options "to reg...
2
1,195,241
07/28/2009 16:29:42
44,852
12/10/2008 04:28:25
350
33
Free and Open Source HelpDesk Solution
I am currently looking for free open source and asp.net based Help Desk software for a while but I've not been able to come up with something what I want. Do you guys know something ? Thanks in advance. Sincerely...
asp.net
helpdesk
null
null
null
08/13/2011 08:09:52
off topic
Free and Open Source HelpDesk Solution === I am currently looking for free open source and asp.net based Help Desk software for a while but I've not been able to come up with something what I want. Do you guys know something ? Thanks in advance. Sincerely...
2
6,924,519
08/03/2011 09:45:41
876,307
08/03/2011 09:36:32
1
0
google earth url not opened
i want to get elevation data from googleearth accordingly lat long. but i am not able to do this. my code below. def getElevation(locations,sensor="true", **elvtn_args): elvtn_args.update({ 'locations': locations, 'sensor': sensor ...
python-3.x
null
null
null
null
null
open
google earth url not opened === i want to get elevation data from googleearth accordingly lat long. but i am not able to do this. my code below. def getElevation(locations,sensor="true", **elvtn_args): elvtn_args.update({ 'locations': locations, ...
0
10,139,354
04/13/2012 10:44:15
311,130
04/07/2010 15:18:03
1,547
25
should I avoid static method as it's hard for testing?
I read the book `Working effectivly with Legacy code`. I understand the technics to break dependencies in Legacy code But I want to understand how to avoid these dependencies for the first time: 1- Regarding static methods: I understand `Introduce Instance Delegator` But does it mean we should avoid ...
c#
unit-testing
legacy-code
null
null
04/14/2012 13:58:39
not a real question
should I avoid static method as it's hard for testing? === I read the book `Working effectivly with Legacy code`. I understand the technics to break dependencies in Legacy code But I want to understand how to avoid these dependencies for the first time: 1- Regarding static methods: I understand `Introduc...
1
5,825,434
04/28/2011 21:45:34
730,162
04/28/2011 21:43:35
1
0
What does this C++ program do
What do these two programs do? 1. #include<iostream> using namespace std; int main() { cout << (1+2*3&4/5|6^7&&10) << endl; return 0; } 2. #include <iostream> using namespace std; int main() { int i,j; cout <<"i="; cin >> i; cout <<"...
c++
null
null
null
null
04/28/2011 21:48:39
not a real question
What does this C++ program do === What do these two programs do? 1. #include<iostream> using namespace std; int main() { cout << (1+2*3&4/5|6^7&&10) << endl; return 0; } 2. #include <iostream> using namespace std; int main() { int i,j; co...
1
2,041,232
01/11/2010 10:41:59
244,681
01/06/2010 12:07:18
1
0
[PHP] Problems after Untarring a Tar Ball
I am creating a back up system for a content management system. This backup grabs a copy of the database and all of the files in a 'userfiles' folder, tars it up and allows the client to download it. This works fine. I am having issues with importing the file. The files in tarball keep their location. On my Mac I...
php
tar
file
null
null
null
open
[PHP] Problems after Untarring a Tar Ball === I am creating a back up system for a content management system. This backup grabs a copy of the database and all of the files in a 'userfiles' folder, tars it up and allows the client to download it. This works fine. I am having issues with importing the file. The fi...
0
1,723,327
11/12/2009 16:03:48
342,263
10/28/2009 14:24:22
6
0
How to create a popup menu in visual basic.net?
How can I create a popup menu in vb 2008 for use as a context sensitive menu for when I right-click?
vb
.net
vb.net
winform
null
null
open
How to create a popup menu in visual basic.net? === How can I create a popup menu in vb 2008 for use as a context sensitive menu for when I right-click?
0
10,650,667
05/18/2012 10:09:59
1,242,359
03/01/2012 10:09:32
1
0
How to store uitextfield values from a textfield in an alertview?
I have got an alertview which has a text field UIAlertView* dialog = [[UIAlertView alloc] init]; dialog.tag = 5; [dialog setDelegate:self]; dialog.delegate = self; [dialog setTitle:@"Please set the quantity:"]; [dialog setMessage:@"Quantity"]; ...
ios
ios5
uitextfield
uialertview
null
null
open
How to store uitextfield values from a textfield in an alertview? === I have got an alertview which has a text field UIAlertView* dialog = [[UIAlertView alloc] init]; dialog.tag = 5; [dialog setDelegate:self]; dialog.delegate = self; [dialog setTitle:@"Please set ...
0
8,801,131
01/10/2012 09:40:45
1,038,088
11/09/2011 16:38:58
8
1
How to exit an ASP.NET application gracefully when stopping debugging in VS 2010?
I develop and debug an ASP.NET application with VS 2010. My ASP.NET application holds some connections to other applications on other machines. When I stop debugging, I want these connections to be released. If this doesn't happen, these other applications fail and I have to restart them. In the end I will store my ...
asp.net
visual-studio-2010
debugging
application-end
null
null
open
How to exit an ASP.NET application gracefully when stopping debugging in VS 2010? === I develop and debug an ASP.NET application with VS 2010. My ASP.NET application holds some connections to other applications on other machines. When I stop debugging, I want these connections to be released. If this doesn't happen, t...
0
4,702,252
01/15/2011 21:27:08
563,407
01/05/2011 03:05:22
27
2
success functions refresh div on parent page
I have parent.php which calls child.php through `$('#child').load('child.php?id='+id)`. On the child.php page I have an onclick event which does some stuff (mysql etc..), with a success function. Back on parent.php I also call anotherchild.php through a similar #div.load(). I would like the anotherchild.php to ref...
jquery
null
null
null
null
null
open
success functions refresh div on parent page === I have parent.php which calls child.php through `$('#child').load('child.php?id='+id)`. On the child.php page I have an onclick event which does some stuff (mysql etc..), with a success function. Back on parent.php I also call anotherchild.php through a similar #div.l...
0
9,798,513
03/21/2012 04:15:36
1,020,069
10/29/2011 19:14:50
36
0
Production server not recognizing Symfony folder path
Just delpoyed my symfony website to the production server and I am getting this issue: Anyone wonder what's up ? require_once(/home/vsource4/www/students/lib/vendor/symfony-1.4.14/symfony-1.4.14/lib/autoload/sfCoreAutoLoad.class.php) [function.require-once]: failed to open stream: No such file or directory in /...
deployment
symfony
symfony-1.4
production-environment
null
null
open
Production server not recognizing Symfony folder path === Just delpoyed my symfony website to the production server and I am getting this issue: Anyone wonder what's up ? require_once(/home/vsource4/www/students/lib/vendor/symfony-1.4.14/symfony-1.4.14/lib/autoload/sfCoreAutoLoad.class.php) [function.require-onc...
0
7,525,082
09/23/2011 06:25:23
656,208
03/12/2011 00:49:52
135
2
Proper SQL query command with SQL Compact is failing
I've got a function that stores temporary information generated for every user authenticated in the system. This 'session ID' is a string stored in a Sessions table, along the original ID of the user which authenticated and was given said session identifier. The function to remove/deauthenticate/invalidate an existi...
c#
visual-studio-2010
ado.net
sql-server-ce
null
null
open
Proper SQL query command with SQL Compact is failing === I've got a function that stores temporary information generated for every user authenticated in the system. This 'session ID' is a string stored in a Sessions table, along the original ID of the user which authenticated and was given said session identifier. ...
0
7,823,845
10/19/2011 15:32:33
491,532
10/07/2009 02:52:56
139
0
Disable compiler-generated copy-assignment operator
When I'm writing a class (say `class nocopy`), is it possible to prevent the existence of the copy operator entirely? If I don't define one, and somebody else writes something like nocopy A; nocopy B; A = B; the compiler will auto-generate a definition. If I define one myself, I will prevent the compi...
c++
class
copy
null
null
null
open
Disable compiler-generated copy-assignment operator === When I'm writing a class (say `class nocopy`), is it possible to prevent the existence of the copy operator entirely? If I don't define one, and somebody else writes something like nocopy A; nocopy B; A = B; the compiler will auto-generate a def...
0
8,598,230
12/22/2011 00:50:40
1,076,611
12/02/2011 02:10:11
6
0
automatic ssh session when moving to mapped sshfs
If you have a network drive mapped via sshfs, is there a way to automatically log on via ssh whenever changing to that directory? $USER:$LOCALHOST:~: sshfs $USER:$REMOTEHOST /Volumes/dev0 $USER:$LOCALHOST:~: cd /Volumes/dev0 $USER:$REMOTEHOST:~
ssh
sshfs
null
null
null
02/08/2012 15:04:18
off topic
automatic ssh session when moving to mapped sshfs === If you have a network drive mapped via sshfs, is there a way to automatically log on via ssh whenever changing to that directory? $USER:$LOCALHOST:~: sshfs $USER:$REMOTEHOST /Volumes/dev0 $USER:$LOCALHOST:~: cd /Volumes/dev0 $USER:$REMOTEHOST:~ ...
2
10,051,678
04/07/2012 04:14:17
941,401
09/12/2011 21:30:12
44
0
Git's Version of Update to HEAD
I'm a newbie at git and want to understand how to collaborate with a few friends on a project using git. My problem is trying to understand how to "updated to HEAD (like in SVN)" in git. I understand git's a bit different, and I would appreciate any help. So consider this situation. There is Person A and Person B. P...
git
null
null
null
null
null
open
Git's Version of Update to HEAD === I'm a newbie at git and want to understand how to collaborate with a few friends on a project using git. My problem is trying to understand how to "updated to HEAD (like in SVN)" in git. I understand git's a bit different, and I would appreciate any help. So consider this situati...
0
11,731,493
07/31/2012 00:20:46
1,402,052
05/17/2012 21:34:53
1
0
How to structure a multi-spreadsheet project using Excel
I'm working on a large research project with a great number of statistics in it. It involves several spreadsheets, with many workbooks inside each. As these spreadsheets get larger and more intricate (and cross-reference each other more), we're noticing a lot more lag time while editing them, hitting the undo button, e...
excel
null
null
null
null
08/01/2012 02:53:08
off topic
How to structure a multi-spreadsheet project using Excel === I'm working on a large research project with a great number of statistics in it. It involves several spreadsheets, with many workbooks inside each. As these spreadsheets get larger and more intricate (and cross-reference each other more), we're noticing a lo...
2
8,355,662
12/02/2011 11:29:47
1,077,288
12/02/2011 11:25:33
1
0
TTThumbsViewController display images while scrolling
I'm extending TTThumbsViewController to display photos from external source. Everything works fine but I'd like to change one behaviour of the controller: I'd like to display/load images in TTThumbsViewController while the user is still scrolling and not only when the user finishes scrolling. I saw that in TTTableVi...
iphone
image
scroll
refresh
ttthumbsviewcontroller
null
open
TTThumbsViewController display images while scrolling === I'm extending TTThumbsViewController to display photos from external source. Everything works fine but I'd like to change one behaviour of the controller: I'd like to display/load images in TTThumbsViewController while the user is still scrolling and not only w...
0
1,786,190
11/23/2009 21:40:43
123,140
06/15/2009 14:07:58
955
43
Converting from myisam to innodb
I am looking to convert my myisam mysql database to an innodb. I seem to keep coming up with conflicting ideas on how to do this or even if I should! What are your thoughts?
mysql
innodb
myisam
null
null
null
open
Converting from myisam to innodb === I am looking to convert my myisam mysql database to an innodb. I seem to keep coming up with conflicting ideas on how to do this or even if I should! What are your thoughts?
0
7,474,328
09/19/2011 16:40:28
131,997
07/01/2009 22:21:50
433
19
Does anybody know what keeps Google from creating an Android native x86 emulator?
Basically the question is stated in more detail here: http://logic-explained.blogspot.com/2011/09/why-is-there-no-x86-native-emulator-for.html Maybe someone here has an in-depth explanation why is it so difficult to make a good-performing emulator so that the Android apps become testable in it?
android
android-emulator
null
null
null
09/19/2011 17:10:32
not constructive
Does anybody know what keeps Google from creating an Android native x86 emulator? === Basically the question is stated in more detail here: http://logic-explained.blogspot.com/2011/09/why-is-there-no-x86-native-emulator-for.html Maybe someone here has an in-depth explanation why is it so difficult to make a good-per...
4
7,295,104
09/03/2011 18:44:00
428,190
08/09/2008 23:23:13
4,011
126
How does Hipmunk.com manage to create their multi-hotel map markers?
So I was browsing around sites on the internet to get ideas on how to improve maps on a number of my websites when I came across [hipmunk.com][1]. If you do a hotel search you will see that instead of stacking and cramming map markers for hotels that are close together they group them. Example can be seen at http://s...
google-maps
null
null
null
null
null
open
How does Hipmunk.com manage to create their multi-hotel map markers? === So I was browsing around sites on the internet to get ideas on how to improve maps on a number of my websites when I came across [hipmunk.com][1]. If you do a hotel search you will see that instead of stacking and cramming map markers for hotels...
0
747,625
04/14/2009 13:44:14
86,171
04/02/2009 10:24:56
261
11
Would anybody recommend learning J/K/APL?
I came across J/K/APL a few months ago while working my way through some [project euler][1] problems, and was intrigued, to say the least. For every elegant-looking 20 line python solution I produced, there'd be a gobsmacking 20 _character_ J solution that ran in a tenth of the time. I've been keen to learn some basic ...
apl
j
k
programming-languages
null
07/12/2012 12:19:59
not constructive
Would anybody recommend learning J/K/APL? === I came across J/K/APL a few months ago while working my way through some [project euler][1] problems, and was intrigued, to say the least. For every elegant-looking 20 line python solution I produced, there'd be a gobsmacking 20 _character_ J solution that ran in a tenth o...
4
4,657,505
01/11/2011 12:16:31
568,121
01/08/2011 15:22:17
21
2
Python Regex - Works in Expresso not in IronPython
Back to the same HTML thing as I posted already. Trying to learn a bit RegEx, even if I know there are other ways. I'm not dumb, just like challenges... My expression is: publisher.php\?c=.*?\">(.*?)</a>(?:.*?)<br\s\\>(?:[\s\r\n]*?)Date:\s<time\sdatetime="(.*?)\">(?:.*?)(?:[\s\r\n]*?)Pages:\s*?(\d*?)<br\s\\> ...
python
regex
ironpython
null
null
null
open
Python Regex - Works in Expresso not in IronPython === Back to the same HTML thing as I posted already. Trying to learn a bit RegEx, even if I know there are other ways. I'm not dumb, just like challenges... My expression is: publisher.php\?c=.*?\">(.*?)</a>(?:.*?)<br\s\\>(?:[\s\r\n]*?)Date:\s<time\sdatetime...
0
6,901,554
08/01/2011 16:34:26
53,261
01/09/2009 09:28:51
728
33
ASP.NET vs ASP.NET MVC
I've experience in windows application development for a while. I'm falling in love with MVC. I have some knowledge on HTML but know nothing on css, javascript and ASP.NET. (I don't know about postback, DOM, etc.) Now I want to move to ASP.NET but I don't know is it good to start with ASP.NET learn its basic concept...
asp.net
asp.net-mvc
null
null
null
08/01/2011 16:53:56
off topic
ASP.NET vs ASP.NET MVC === I've experience in windows application development for a while. I'm falling in love with MVC. I have some knowledge on HTML but know nothing on css, javascript and ASP.NET. (I don't know about postback, DOM, etc.) Now I want to move to ASP.NET but I don't know is it good to start with ASP...
2
3,609,442
08/31/2010 13:26:26
267,304
02/05/2010 18:02:25
267
3
JS: Making this simpler with jQuery?
I have this, text, that when you click on it, you can edit it and when you click somewhere else it will store it to the database(by sending ajax call), and your edited new text will show. Here is it: http://jsbin.com/ewihu3 Try clicking at the text, and you will see it become a field and so. I was wondering i...
javascript
jquery
null
null
null
08/31/2010 13:56:44
not a real question
JS: Making this simpler with jQuery? === I have this, text, that when you click on it, you can edit it and when you click somewhere else it will store it to the database(by sending ajax call), and your edited new text will show. Here is it: http://jsbin.com/ewihu3 Try clicking at the text, and you will see it b...
1
10,430,215
05/03/2012 11:15:01
1,159,901
01/20/2012 03:32:09
9
0
python string.Template
print final_template%{'title': '%s', 'image': '%s', 'description': '%s'} % (store_title, store_image[0], global_description) >>TypeError: unsupported operand type(s) for %: 'Template' and 'dict' #How to sub in variables?
python
null
null
null
null
05/03/2012 13:24:15
not a real question
python string.Template === print final_template%{'title': '%s', 'image': '%s', 'description': '%s'} % (store_title, store_image[0], global_description) >>TypeError: unsupported operand type(s) for %: 'Template' and 'dict' #How to sub in variables?
1
1,480,104
09/26/2009 00:41:49
147,390
07/29/2009 20:19:07
6
3
AutoTest and Rspec testing with Rails
I just started using AutoTest. As far as i can tell i have everything configured, but everytime i run *autotest* then i get the following error coming from my test_helper.rb: richards-macbook-pro: $ autotest loading autotest/rails /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby ...
autotest
ruby-on-rails
rspec
testing
null
null
open
AutoTest and Rspec testing with Rails === I just started using AutoTest. As far as i can tell i have everything configured, but everytime i run *autotest* then i get the following error coming from my test_helper.rb: richards-macbook-pro: $ autotest loading autotest/rails /System/Library/Framework...
0
7,388,739
09/12/2011 13:33:34
940,665
09/12/2011 13:33:34
1
0
winddows azure webrole and distributed transaction
The flowed transaction could not be unmarshaled. The following exception occurred: The MSDTC transaction manager's WS-AtomicTransaction protocol service 'Version10' is disabled and cannot unmarshal incoming transactions.
azure-worker-roles
null
null
null
null
09/12/2011 17:27:17
not a real question
winddows azure webrole and distributed transaction === The flowed transaction could not be unmarshaled. The following exception occurred: The MSDTC transaction manager's WS-AtomicTransaction protocol service 'Version10' is disabled and cannot unmarshal incoming transactions.
1
5,794,588
04/26/2011 18:11:06
84,278
03/29/2009 14:47:34
1,785
89
Push list under a div
I've got an annoying issue, if someone needs additional information please say, as I'm not sure what I should put up here to make the question clearer! In the first picture I have the current layout, I wanted to move the star ratings to below the pictures in the dashed div of the other users. But when I do it , eve...
html
css
layout
null
null
null
open
Push list under a div === I've got an annoying issue, if someone needs additional information please say, as I'm not sure what I should put up here to make the question clearer! In the first picture I have the current layout, I wanted to move the star ratings to below the pictures in the dashed div of the other users....
0
11,301,818
07/02/2012 22:06:48
517,724
11/23/2010 16:40:36
31
3
PDFBox: working with very large PDFs.
I am working with some very large PDFs, some over 7GB in size. The PDFs have up to 20,000 pages and many full page color images. I'd like to use PDFBox to work with the PDFs, but due to the size I get OutOfMemoryError's when I attempt to open the PDFs. I'm working with version pdfbox-app-1.6.0, on Windows 7 using I...
java
pdfbox
null
null
null
null
open
PDFBox: working with very large PDFs. === I am working with some very large PDFs, some over 7GB in size. The PDFs have up to 20,000 pages and many full page color images. I'd like to use PDFBox to work with the PDFs, but due to the size I get OutOfMemoryError's when I attempt to open the PDFs. I'm working with ver...
0
10,447,656
05/04/2012 11:09:44
1,029,088
11/04/2011 05:09:02
173
5
Progress bar JAVA
I have wrote a java program to `read database and write data into xml files` and `read xml files and write data into database`. there are two buttons to run above statements separately. i want to add progress bar to my java application to show progress while running above statements. how could i do this?
java
progress-bar
jprogressbar
null
null
05/04/2012 11:22:10
not constructive
Progress bar JAVA === I have wrote a java program to `read database and write data into xml files` and `read xml files and write data into database`. there are two buttons to run above statements separately. i want to add progress bar to my java application to show progress while running above statements. how could i ...
4
9,592,926
03/06/2012 22:27:31
429,620
08/24/2010 14:17:19
639
2
Online PDF to HTML conversion API?
I know there are a ton of commercial PDF to HTML programs available, but does anyone know of an online service where I just point it to the PDF URL location and it spits out the HTML? (Note: this needs to be automatic, via the API - no manual selection of files in the browser) Thanks, Wesley
html
pdf
pdf-generation
null
null
03/09/2012 20:25:01
off topic
Online PDF to HTML conversion API? === I know there are a ton of commercial PDF to HTML programs available, but does anyone know of an online service where I just point it to the PDF URL location and it spits out the HTML? (Note: this needs to be automatic, via the API - no manual selection of files in the browser)...
2
2,009,454
01/05/2010 22:04:52
165,107
08/28/2009 20:55:46
98
3
gridview edittemplate not showing content.
I have grid view with three column name, rate, category i am also using ajax rate here and one dropdown within edittemplate which binded with sqldatasource. but when click on edit it not showing drop down. Please help to sort out this problem. code is <asp:GridView ID="GVT...
asp.net
null
null
null
null
null
open
gridview edittemplate not showing content. === I have grid view with three column name, rate, category i am also using ajax rate here and one dropdown within edittemplate which binded with sqldatasource. but when click on edit it not showing drop down. Please help to sort out this problem. code is ...
0
3,243,400
07/14/2010 04:35:16
146,857
07/29/2009 06:11:50
4,869
226
How stackoverflow does background processing?
I know that stackoverflow uses asp.net mvc but how they do background process (ie) processing a recent user updates,badges etc.... How to get started with background processing in asp.net mvc... ANy suggestion...
asp.net-mvc
background
stackoverflow
processes
null
07/15/2010 01:19:42
off topic
How stackoverflow does background processing? === I know that stackoverflow uses asp.net mvc but how they do background process (ie) processing a recent user updates,badges etc.... How to get started with background processing in asp.net mvc... ANy suggestion...
2
6,275,552
06/08/2011 07:34:08
217,707
11/24/2009 10:21:54
137
2
Best way to process forms
What is the best way to process PHP forms, using `$_SERVER['PHP_SELF']` or using a separate file for processing?
php
null
null
null
null
06/08/2011 09:32:04
not constructive
Best way to process forms === What is the best way to process PHP forms, using `$_SERVER['PHP_SELF']` or using a separate file for processing?
4
4,107,558
11/05/2010 15:48:27
35,165
11/06/2008 16:38:33
635
53
Will multi-threading increase the performance of a method in a WCF servce?
I have a WCF service that is hosted in IIS6. The important part of the method looks like this: public MyUser[] GetUsers(string appName, string[] names) { List<User> users = new List<User>(); foreach (string user in names) { MembershipUser mu = this.ADAMProvider.GetUser...
multithreading
wcf
iis6
azman
null
null
open
Will multi-threading increase the performance of a method in a WCF servce? === I have a WCF service that is hosted in IIS6. The important part of the method looks like this: public MyUser[] GetUsers(string appName, string[] names) { List<User> users = new List<User>(); foreach (string us...
0
3,196,199
07/07/2010 15:21:55
343,666
05/18/2010 04:52:43
1
0
Excel VBA: Getting the average of a column with unknown size
I am writing a Macro that requires me to get the average of the values in a column with an unknown number of rows. I use this to get the number of the last row: <b>Dim lastRow As Long lastRow = ActiveSheet.UsedRange.SpecialCells(xlCellTypeLastCell).Row</b> That works. What doesn't work is when I try to use it ...
vba
excel-vba
macros
null
null
null
open
Excel VBA: Getting the average of a column with unknown size === I am writing a Macro that requires me to get the average of the values in a column with an unknown number of rows. I use this to get the number of the last row: <b>Dim lastRow As Long lastRow = ActiveSheet.UsedRange.SpecialCells(xlCellTypeLastCell)...
0
9,384,293
02/21/2012 20:00:13
54,288
01/12/2009 19:07:28
1,099
80
How to get JSON from a WCF Data Services, DataServiceQuery call in Silverlight?
**Background:** I have a WCF Data Service with a Silverlight application that is currently using atom pub xml. I want to use JSON to lessen the size of the payload. I read that you can JSON from the service webget using the following code: WebClient wc = new WebClient(); wc.Headers["Accept"] = "application...
json
silverlight
wcf-data-services
null
null
null
open
How to get JSON from a WCF Data Services, DataServiceQuery call in Silverlight? === **Background:** I have a WCF Data Service with a Silverlight application that is currently using atom pub xml. I want to use JSON to lessen the size of the payload. I read that you can JSON from the service webget using the following ...
0
291,513
11/14/2008 21:32:43
37,422
11/13/2008 18:28:04
1
1
Differences between C++ and C#/.Net
If asked, how would you describe the differences between c++ and C#/.Net
.net
c#
c++
null
null
07/20/2012 15:45:35
not constructive
Differences between C++ and C#/.Net === If asked, how would you describe the differences between c++ and C#/.Net
4
10,307,266
04/24/2012 23:10:00
1,234,652
02/27/2012 01:53:11
1
0
How to build this sort of postcode autocomplete menu
http://auspost.com.au/apps/postcode.html Basically I want to build the same thing. The data is freely available there as a download. I couldn't find anything existing in the jquery plugin space. Can anyone offer pointers on how to achieve it?
javascript
jquery
autocomplete
null
null
04/25/2012 09:23:30
not a real question
How to build this sort of postcode autocomplete menu === http://auspost.com.au/apps/postcode.html Basically I want to build the same thing. The data is freely available there as a download. I couldn't find anything existing in the jquery plugin space. Can anyone offer pointers on how to achieve it?
1
5,766,717
04/23/2011 20:26:01
722,091
04/23/2011 20:26:01
1
0
Programming a proxy server with Java - How to?
I have an assignment to write a proxy server with java. I must be able to read and modify http headers and block some sites on a provided black-list. I have an experience with java, but never worked with http, sockets, connections, ports etc.. Already couple of days trying Google some examples or tutorials, but ...
java
http
proxy
null
null
04/24/2011 03:09:28
not a real question
Programming a proxy server with Java - How to? === I have an assignment to write a proxy server with java. I must be able to read and modify http headers and block some sites on a provided black-list. I have an experience with java, but never worked with http, sockets, connections, ports etc.. Already couple of...
1
523,050
02/07/2009 03:12:43
62,056
02/03/2009 17:49:44
71
6
Star Programmer vs Start Team
I want to know if others have experienced the situation where people around you are very smart and have few star programmers but as a team you are still struggling to move. I am not talking about people with arrogance/pride or social handicap. Does motivation to create shared vision of product play any part?
teamwork
null
null
null
null
05/08/2012 17:48:39
off topic
Star Programmer vs Start Team === I want to know if others have experienced the situation where people around you are very smart and have few star programmers but as a team you are still struggling to move. I am not talking about people with arrogance/pride or social handicap. Does motivation to create shared visi...
2
3,059,913
06/17/2010 08:09:35
321,320
04/20/2010 13:12:54
195
11
Extract words from sentence(s) using TSQL(SQL SERVER 2005) [ SET BASED SOLUTION]
I have the following input. **INPUT:** TableA ID Sentences --- ---------- 1 I am a student 2 Have a nice time guys! What I need to do is to extract the words from the sentence(s) and insert each individual word in another table **OUTPUT:** ...
sql-server-2005
null
null
null
null
null
open
Extract words from sentence(s) using TSQL(SQL SERVER 2005) [ SET BASED SOLUTION] === I have the following input. **INPUT:** TableA ID Sentences --- ---------- 1 I am a student 2 Have a nice time guys! What I need to do is to extract the words from th...
0
4,007,690
10/24/2010 09:23:52
383,609
07/05/2010 11:20:27
76
5
PHP max() with an array of strings?
I have an array of tags taken from a MySQL database. Obviously, these tags are strings and are stored in an array, with one element in the array storing each tag. TO build my tag cloud, I want to be able to count the occurrences of each tag to find the most common tag. For example, if I have the table below... <p> ...
php
arrays
tags
count
null
null
open
PHP max() with an array of strings? === I have an array of tags taken from a MySQL database. Obviously, these tags are strings and are stored in an array, with one element in the array storing each tag. TO build my tag cloud, I want to be able to count the occurrences of each tag to find the most common tag. For ex...
0
2,296,364
02/19/2010 12:55:50
24,443
10/02/2008 09:26:53
577
55
How do i create a Hibernate Criteria to order by some properties of collection
Say, i have an entity that has a history of operations as a collection. I want to sort entities by the date of the latest operation (it's the first element of history). i'd like to do something like this: criteria.addOrder(Order("history[0].date")) is this possible?
hibernate
detachedcriteria
hibernate-criteria
null
null
null
open
How do i create a Hibernate Criteria to order by some properties of collection === Say, i have an entity that has a history of operations as a collection. I want to sort entities by the date of the latest operation (it's the first element of history). i'd like to do something like this: criteria.addOrder(Ord...
0
9,004,325
01/25/2012 14:29:29
413,178
08/06/2010 14:54:44
317
2
How to get a list of such sites that "promote traffic"
I won't discuss legitimity of such sites, they are legitimate I guess, but they are making me traffic from all around the world that even don't know our language to generate hits on their posts as I count the unique views... Sites as: cashcamel, cashhits, cashstream, is there any usable list somehwere I could use to...
spam-filtering
null
null
null
null
01/26/2012 00:25:49
off topic
How to get a list of such sites that "promote traffic" === I won't discuss legitimity of such sites, they are legitimate I guess, but they are making me traffic from all around the world that even don't know our language to generate hits on their posts as I count the unique views... Sites as: cashcamel, cashhits, c...
2
7,250,070
08/30/2011 21:31:48
181,947
09/30/2009 16:00:44
317
20
Objective-C exam
I had a job interview yesterday and they said list all thats wrong with this code: Think I got most but not sure... MyView.h: 

 #import "UIKit.h" 
 @interface MyView : UIView { NSString* name; UIButton* button; 
 } 

 @property(assign, copy) NSString* dateString; @proper...
iphone
objective-c
ios
null
null
08/30/2011 22:58:18
too localized
Objective-C exam === I had a job interview yesterday and they said list all thats wrong with this code: Think I got most but not sure... MyView.h: 

 #import "UIKit.h" 
 @interface MyView : UIView { NSString* name; UIButton* button; 
 } 

 @property(assign, copy) NSString* d...
3
5,502,650
03/31/2011 15:52:06
601,788
08/19/2010 00:54:31
30
5
Azure Table Storage
What is exactly the azure table storage and how can i implement a good use of it, i mean what did i need to specify or the architecture to use in implementation to define a use of an Azure Table Storage ?
c#
visual-studio-2010
azure
azure-storage-tables
null
04/01/2011 08:26:36
not a real question
Azure Table Storage === What is exactly the azure table storage and how can i implement a good use of it, i mean what did i need to specify or the architecture to use in implementation to define a use of an Azure Table Storage ?
1
1,295,000
08/18/2009 16:27:47
60,724
01/30/2009 17:26:29
1,518
85
.NET WinForms DataBinding - BindingList<IBindableItem> where some implementations of IBindableItem may also implement IList
This is related to [another question][1] of mine, and unfortunately I'm having a difficult time summarizing the issue in my Title--so please bear with me. I've created a databindable class called `Folder` which implements a `ITreeItem` interface and inherits from `BindingList<ITreeItem>`. I have a second class, `Tr...
.net
winforms
data-binding
recursive-databinding
null
null
open
.NET WinForms DataBinding - BindingList<IBindableItem> where some implementations of IBindableItem may also implement IList === This is related to [another question][1] of mine, and unfortunately I'm having a difficult time summarizing the issue in my Title--so please bear with me. I've created a databindable class...
0
6,802,233
07/23/2011 17:54:56
186,595
10/08/2009 17:59:27
28
3
Looping through structs w/graphics data but only managing to draw first
I have a collection of 'Surface' structs (rectangles w/ 4vectors/ 6indices/ 4textcoord/ texture /vertexbuffer /indexbuffer /textcoordbuffer and pointers). I realize that this can probably be written way more efficiently without a separate buffer/overhead for each wall but I'm new to OpenGL and experimenting at this ...
c++
opengl
null
null
null
03/25/2012 18:25:43
too localized
Looping through structs w/graphics data but only managing to draw first === I have a collection of 'Surface' structs (rectangles w/ 4vectors/ 6indices/ 4textcoord/ texture /vertexbuffer /indexbuffer /textcoordbuffer and pointers). I realize that this can probably be written way more efficiently without a separate b...
3
7,575,818
09/27/2011 21:20:47
938,732
09/11/2011 01:02:57
1
0
What is a better way to set the width and height of a HTML Element?
Is it better to use percentages or hardcoded values to specify the height & width of an HTML element? Are there any specific situations where either one is more desirable?
javascript
html
null
null
null
09/27/2011 21:22:59
not a real question
What is a better way to set the width and height of a HTML Element? === Is it better to use percentages or hardcoded values to specify the height & width of an HTML element? Are there any specific situations where either one is more desirable?
1
10,032,891
04/05/2012 17:06:03
151,528
08/06/2009 04:57:31
75
3
C# Entity Framework - Handling destructive autogen DB scripts with model first design
I recently started a new personal project to learn Entity Framework. My end goal is to make a desktop game that uses SQL compact for data management and uses Entity Framework for the game objects. Not actually knowing there were multiple ways to start EF (model first, code first, db first) I went with the most obvious ...
c#
entity-framework
sql-server-ce
null
null
null
open
C# Entity Framework - Handling destructive autogen DB scripts with model first design === I recently started a new personal project to learn Entity Framework. My end goal is to make a desktop game that uses SQL compact for data management and uses Entity Framework for the game objects. Not actually knowing there were ...
0