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,160,088
06/22/2012 16:12:43
1,475,255
06/22/2012 15:24:41
1
0
Google Directions Server returns no results for routes to Texas?
Since early this morning, it appears that Google Directions to Texas are returning no results. Here's a sample response from within the Javascript API: {"routes":[],"status":"ZERO_RESULTS","Yf":{"origin":"36.4037460138417,-105.57447329101564","destination":"35.22918668520182,-101.84597704772949","optimizeWaypoints"...
google
routes
directions
null
null
06/23/2012 17:08:22
too localized
Google Directions Server returns no results for routes to Texas? === Since early this morning, it appears that Google Directions to Texas are returning no results. Here's a sample response from within the Javascript API: {"routes":[],"status":"ZERO_RESULTS","Yf":{"origin":"36.4037460138417,-105.57447329101564","de...
3
1,027,389
06/22/2009 14:02:57
41,956
11/30/2008 17:33:49
1,704
178
What is better to use: Dictionary<>.ForEach(pair =>) or Dictionary<>.Keys.ForEach(key =>) ?
If I have access only keys from a `Dictionary<TKey, TValue>` what is better to use: Dictionary<TKey, TValue>.ForEach(pair => action(pair.Key)) or Dictionary<TKey, TValue>.Keys.ForEach(key => action(key)) Which method is more 'best-practice' ? Speed in both cases I think seems to be very similar.
c#
.net
generics
extension-methods
null
null
open
What is better to use: Dictionary<>.ForEach(pair =>) or Dictionary<>.Keys.ForEach(key =>) ? === If I have access only keys from a `Dictionary<TKey, TValue>` what is better to use: Dictionary<TKey, TValue>.ForEach(pair => action(pair.Key)) or Dictionary<TKey, TValue>.Keys.ForEach(key => action(key)) ...
0
11,589,501
07/21/2012 04:36:33
480,043
10/19/2010 04:46:08
11
3
Animate a button in JavaScript to bring up a modal dialog box from the button to the center of the screen?
I have a very specific trick I'm trying to perform in JavaScript, and I'm sure there are libraries out there that will allow me to do this, but my searching for a precise solution has failed so far. I have a web page that has a "Login" button in the top right corner of the screen. When the user clicks the button, I...
javascript
null
null
null
null
null
open
Animate a button in JavaScript to bring up a modal dialog box from the button to the center of the screen? === I have a very specific trick I'm trying to perform in JavaScript, and I'm sure there are libraries out there that will allow me to do this, but my searching for a precise solution has failed so far. I have...
0
11,646,596
07/25/2012 09:23:40
1,340,370
04/18/2012 05:02:01
1
0
graphael interactive piechartin ie8 got strucked
in ie8, when clicked on any point of the webpage which has interactive pie chart, the pie chart got strucked where as in other browsers it works correctly. source code, you can see from the main websiteitself: http://g.raphaeljs.com/piechart2.html. Even when i download the code and made it to work, the same proble...
internet-explorer-8
graphael
null
null
null
null
open
graphael interactive piechartin ie8 got strucked === in ie8, when clicked on any point of the webpage which has interactive pie chart, the pie chart got strucked where as in other browsers it works correctly. source code, you can see from the main websiteitself: http://g.raphaeljs.com/piechart2.html. Even when i ...
0
1,688,962
11/06/2009 17:07:23
188,276
10/12/2009 08:00:55
279
0
swap vs page in operating system
what is the difference between these 2 terms in Operating SysteM: swap and page?
operating
system
memory
null
null
11/08/2009 05:01:33
off topic
swap vs page in operating system === what is the difference between these 2 terms in Operating SysteM: swap and page?
2
11,468,727
07/13/2012 10:30:03
991,830
10/12/2011 16:21:05
72
0
Joomla Xmap Implode Error on Sitemap
I am getting the following error on an 'xmap' sitemap plugin used on Joomla v2.5 with the K2 cck on one of my sites as below: **Warning: implode() [function.implode]: Invalid arguments passed in /home/anctest/public_html/plugins/xmap/com_k2/com_k2.php on line 192** Its pointing to the following line in the below ...
php
joomla
error-message
implode
invalid-argument
null
open
Joomla Xmap Implode Error on Sitemap === I am getting the following error on an 'xmap' sitemap plugin used on Joomla v2.5 with the K2 cck on one of my sites as below: **Warning: implode() [function.implode]: Invalid arguments passed in /home/anctest/public_html/plugins/xmap/com_k2/com_k2.php on line 192** Its po...
0
426,397
01/08/2009 23:00:56
38,663
11/18/2008 18:18:27
46
2
new line implementation in linux
I am trying to parse the linux /etc/passwd file in java. I'm currently reading each line through the scanner class in java and then using string.split() to delimit each line. The problem is that the line "list:x:38:38:Mailing List Manager:/var/list:/bin/sh" is treated by the scanner as 3 different lines: 1) "list:x...
new
line
implementation
linux
java
01/09/2009 05:35:26
off topic
new line implementation in linux === I am trying to parse the linux /etc/passwd file in java. I'm currently reading each line through the scanner class in java and then using string.split() to delimit each line. The problem is that the line "list:x:38:38:Mailing List Manager:/var/list:/bin/sh" is treated by the sc...
2
11,171,353
06/23/2012 17:00:37
1,108,083
12/20/2011 14:54:00
12
0
Adsense - Add subaccounts to accounts - Java
We have google adsense V1 implemented as part of the java code.Now we have sub accounts and we are to implement using V1.1 the existing system that is present in V1 maintaining the hierarchy. Kindly let know on how this can be implemented. Please send a sample java code for the credentials code to add sub...
java
api
adsense
adsense-for-search
null
06/24/2012 00:20:40
not a real question
Adsense - Add subaccounts to accounts - Java === We have google adsense V1 implemented as part of the java code.Now we have sub accounts and we are to implement using V1.1 the existing system that is present in V1 maintaining the hierarchy. Kindly let know on how this can be implemented. Please send a sa...
1
3,246,940
07/14/2010 14:07:43
373,138
06/22/2010 12:09:58
15
0
Do you need to display an EULA when using Flurry/Google Analytics?
i hear different things from different people on that topic and nobody is really sure. Also a quick google search doesn't reveal anything informative. The question is: when using Flurry Analytics (or Google Analytics or whatever analytics tool) in an Android App. Do i need to inform the users in form an EULA or someth...
android
google-analytics
analytics
flurry
null
09/04/2011 20:10:21
not constructive
Do you need to display an EULA when using Flurry/Google Analytics? === i hear different things from different people on that topic and nobody is really sure. Also a quick google search doesn't reveal anything informative. The question is: when using Flurry Analytics (or Google Analytics or whatever analytics tool) in...
4
11,561,500
07/19/2012 13:04:47
844,182
07/14/2011 09:01:30
20
0
linux command nice works on any shell script?
does nice work on any shell script? or does it work on basic linux commands only?<br/> for example, if I have a custom shell script that contains sort function, and I call <pre> nice myscript.sh </pre> would the nice scheduling priority apply to sort in the script? would nice still work if myscript is r...
linux
shell
nice
null
null
07/20/2012 11:37:00
off topic
linux command nice works on any shell script? === does nice work on any shell script? or does it work on basic linux commands only?<br/> for example, if I have a custom shell script that contains sort function, and I call <pre> nice myscript.sh </pre> would the nice scheduling priority apply to sort in ...
2
4,436,110
12/14/2010 05:13:55
47,630
12/19/2008 03:01:01
3,549
92
How can I use variable names other than $it$ in a StringTemplate partial?
How can I use variable names other than $it$ in a StringTemplate partial?
stringtemplate
null
null
null
null
null
open
How can I use variable names other than $it$ in a StringTemplate partial? === How can I use variable names other than $it$ in a StringTemplate partial?
0
4,219,093
11/18/2010 20:11:03
48,735
12/23/2008 19:55:04
146
10
Determine target service/method from CXF Interceptor
I'd like to write an interceptor for Apache CXF that inspects the target service/method for a particular annotation and does some special processing for that annotation. I can't seem to find anything in the interceptor documentation that describes how to do this. Does anyone have any ideas? Thanks!
java
cxf
apache-cxf
null
null
null
open
Determine target service/method from CXF Interceptor === I'd like to write an interceptor for Apache CXF that inspects the target service/method for a particular annotation and does some special processing for that annotation. I can't seem to find anything in the interceptor documentation that describes how to do t...
0
10,418,570
05/02/2012 17:16:48
1,370,522
05/02/2012 16:21:31
1
0
How to replace?
<pre> How to replace using javascript regexp? www.exemple.com main.testsite.com www.ex-emple.com.ar main.test-site.co.uk en.tour.mysite.nl www.ip.com www.one.lv the result of replacing: exemple.com testsite.com ex-emple.com.ar test-site.co.uk m...
javascript
regex
replace
null
null
05/02/2012 17:26:50
not a real question
How to replace? === <pre> How to replace using javascript regexp? www.exemple.com main.testsite.com www.ex-emple.com.ar main.test-site.co.uk en.tour.mysite.nl www.ip.com www.one.lv the result of replacing: exemple.com testsite.com ex-emple.com.ar t...
1
8,729,582
01/04/2012 15:43:49
1,033,812
11/07/2011 13:22:23
15
0
Change a list view through it's onItemListener
I made an onTouchListener to a list view that checks which item (string in my case) in that list was clicked and it's position. I want to take out that string of the list, so I made a method that gets the array adpter's string array and the poistion the list was touched and returns a new array that is the same but with...
java
android
listview
android-arrayadapter
null
null
open
Change a list view through it's onItemListener === I made an onTouchListener to a list view that checks which item (string in my case) in that list was clicked and it's position. I want to take out that string of the list, so I made a method that gets the array adpter's string array and the poistion the list was touch...
0
9,651,314
03/11/2012 00:08:22
1,261,397
03/10/2012 18:39:33
1
0
I think something is wrong with my css in chrome browser
My page is nicely viewable in mozilla and ie, but in chrome text is pushed down. Just the text, not background. This is my page: <http://www.petricec.pondi.hr/index.html> I tried to find similar problem here. but couldn't. Also tried many things to change in my CSS but couldn't find out where is the problem. E...
css
google-chrome
null
null
null
03/11/2012 14:56:30
too localized
I think something is wrong with my css in chrome browser === My page is nicely viewable in mozilla and ie, but in chrome text is pushed down. Just the text, not background. This is my page: <http://www.petricec.pondi.hr/index.html> I tried to find similar problem here. but couldn't. Also tried many things to c...
3
4,727,599
01/18/2011 18:23:21
566,450
01/07/2011 05:22:05
1
0
addition of items in a listbox
Bellow pls find the code in VB 2008. I must sum up the numbers in the xlistscorebox Dim tot As Integer Dim scoresentered As Integer For index As Integer = 0 To Me.xListscoreBox.SelectedItems.Count - 1 tot = tot + Val(Me.xListscoreBox.SelectedItems.Count) For se As...
vb
null
null
null
null
null
open
addition of items in a listbox === Bellow pls find the code in VB 2008. I must sum up the numbers in the xlistscorebox Dim tot As Integer Dim scoresentered As Integer For index As Integer = 0 To Me.xListscoreBox.SelectedItems.Count - 1 tot = tot + Val(Me.xListscoreBox.Selecte...
0
8,124,839
11/14/2011 16:36:55
978,995
10/04/2011 17:34:19
1
0
Size of Program Counter
What would be the size of Program Counter in terms of bits ? Is the size always fixed in all types of system architectures ?
assembly
null
null
null
null
null
open
Size of Program Counter === What would be the size of Program Counter in terms of bits ? Is the size always fixed in all types of system architectures ?
0
8,743,892
01/05/2012 14:12:18
348,851
05/24/2010 10:36:13
126
1
How to hyperlink a css box
What I want is, a css box which is hyperlinked, so that if anyone clicks on that box s/he will go to that specified link!
html
css
null
null
null
01/05/2012 23:24:23
not a real question
How to hyperlink a css box === What I want is, a css box which is hyperlinked, so that if anyone clicks on that box s/he will go to that specified link!
1
7,128,663
08/20/2011 00:17:14
903,282
08/20/2011 00:17:14
1
0
Upload a file to website?
Hey guys i was just wondering, how do you use PHP to upload a file directly to your website? for example: Person uses a browse button to look for file to upload, then once selected file directory comes up in a textbox and when they click and "upload" button it uploads to a directory on the website named "uploads"...
php
upload
system
null
null
null
open
Upload a file to website? === Hey guys i was just wondering, how do you use PHP to upload a file directly to your website? for example: Person uses a browse button to look for file to upload, then once selected file directory comes up in a textbox and when they click and "upload" button it uploads to a directory...
0
7,966,074
11/01/2011 12:00:35
898,552
08/17/2011 11:52:43
6
0
Is there a good howto for getting MIUI styled tabs (in tabhost) in Android
Is there a good tutorial how to get the "look and feel" of MIUI styled Tabs in AOSP Android?
android
android-layout
android-tabhost
null
null
11/02/2011 18:22:54
not constructive
Is there a good howto for getting MIUI styled tabs (in tabhost) in Android === Is there a good tutorial how to get the "look and feel" of MIUI styled Tabs in AOSP Android?
4
10,506,710
05/08/2012 21:22:10
1,195,066
02/07/2012 15:52:34
19
0
Run app in iOS Simulator using web service through a network with proxy
I need test a iPhone app in the iOS simulator that use a web service. The problem is that I used a local proxy to access internet. This application runs correctly without the proxy in other network. I use for this app iOS 5 SDK and Xcode 4.2.
ios
xcode
web-services
proxy
ios-simulator
05/09/2012 12:09:32
not a real question
Run app in iOS Simulator using web service through a network with proxy === I need test a iPhone app in the iOS simulator that use a web service. The problem is that I used a local proxy to access internet. This application runs correctly without the proxy in other network. I use for this app iOS 5 SDK and Xcode 4....
1
8,938,535
01/20/2012 08:22:46
1,157,952
01/19/2012 07:50:44
11
0
Why firebug shows some javascript objects in red color?
I am trying to learn and improve my javascript skills. A very helpful tool is firebug, with which i can inspect different javascript objects. However, i have some questions: 1. Some object names (like jQuery, $, fn etc.) are displayed in red color. Why? 2. Some other objects has a "prototype" property, wh...
javascript
firebug
null
null
null
null
open
Why firebug shows some javascript objects in red color? === I am trying to learn and improve my javascript skills. A very helpful tool is firebug, with which i can inspect different javascript objects. However, i have some questions: 1. Some object names (like jQuery, $, fn etc.) are displayed in red color. ...
0
9,112,986
02/02/2012 13:15:47
1,185,190
02/02/2012 13:08:13
1
0
PHP mod rewrite can't work correctly
Here my .htaccess Options +FollowSymLinks RewriteEngine on RewriteCond %{REQUEST_URI} \/([0-9a-zA-Z]+)$ [NC] RewriteRule ^(.*) image.php?names[]=%1 [L] RewriteCond %{REQUEST_URI} \/([0-9a-zA-Z]+),([0-9a-zA-Z]+)$ [NC] RewriteRule ^(.*) image.php?names[]=%1&names[]=%2 [L] RewriteCond %{REQUEST_URI} \/(...
php
mod-rewrite
null
null
null
02/03/2012 22:10:29
off topic
PHP mod rewrite can't work correctly === Here my .htaccess Options +FollowSymLinks RewriteEngine on RewriteCond %{REQUEST_URI} \/([0-9a-zA-Z]+)$ [NC] RewriteRule ^(.*) image.php?names[]=%1 [L] RewriteCond %{REQUEST_URI} \/([0-9a-zA-Z]+),([0-9a-zA-Z]+)$ [NC] RewriteRule ^(.*) image.php?names[]=%1&names[...
2
212,481
10/17/2008 14:51:23
28,950
10/17/2008 14:40:38
1
0
How do I get output to show up in the Messages pane of the Error List for Visual Studio 2005?
I have a header file like this: #ifndef __GEN_NOTE_MARKERS_TO_DEVELOPERS_HPP__ #define __GEN_NOTE_MARKERS_TO_DEVELOPERS_HPP__ #ifdef _DEBUG // macros for turning a number into a string #define STRING2(x) #x #define STRING(x) STRING2(x) #ifdef TR...
visual-studio
c++
windows
null
null
null
open
How do I get output to show up in the Messages pane of the Error List for Visual Studio 2005? === I have a header file like this: #ifndef __GEN_NOTE_MARKERS_TO_DEVELOPERS_HPP__ #define __GEN_NOTE_MARKERS_TO_DEVELOPERS_HPP__ #ifdef _DEBUG // macros for turning a number into a str...
0
9,790,284
03/20/2012 15:55:50
946,789
09/15/2011 12:34:12
2,051
123
How slow is John Resig's JavaScript Templating Engine?
`with` is so [bad](http://stackoverflow.com/a/1463937/946789) that it is forbidden in ES5 strict mode. _Function constructor_ is [very slow](http://stackoverflow.com/q/3026089/946789). Yet, [John Resig's micro templating][1] is advertised as **light**, uses **both** mentioned bad features of Javascript. (same w...
javascript
templates
underscore.js
null
null
03/20/2012 16:45:37
not constructive
How slow is John Resig's JavaScript Templating Engine? === `with` is so [bad](http://stackoverflow.com/a/1463937/946789) that it is forbidden in ES5 strict mode. _Function constructor_ is [very slow](http://stackoverflow.com/q/3026089/946789). Yet, [John Resig's micro templating][1] is advertised as **light**,...
4
10,119,471
04/12/2012 07:44:35
1,300,718
03/29/2012 12:15:33
11
2
Magento backend - manage products - move qty field in the general tab
I would like to know if there is a way in Magento (1.5) to move the qty field from backend catalog/manage products/inventory tab to catalog/manage products/general tab. Thank you by advance.
magento
backend
products
stock
null
04/16/2012 13:59:32
off topic
Magento backend - manage products - move qty field in the general tab === I would like to know if there is a way in Magento (1.5) to move the qty field from backend catalog/manage products/inventory tab to catalog/manage products/general tab. Thank you by advance.
2
6,966,545
08/06/2011 11:38:21
478,573
10/17/2010 14:54:01
1,396
30
What to put into lat/lng db fields if lat/lng are empty?
I have a mysql insert statement that breaks when the system can't get lat/lng for a user. The sql loos like this: INSERT INTO users(user_email, first_name , last_name , lat , lng ) values ( 'name' , 'email' , , ); What should I put into the lat/lng so that it doesn't break the insert statement like t...
mysql
sql
geolocation
null
null
null
open
What to put into lat/lng db fields if lat/lng are empty? === I have a mysql insert statement that breaks when the system can't get lat/lng for a user. The sql loos like this: INSERT INTO users(user_email, first_name , last_name , lat , lng ) values ( 'name' , 'email' , , ); What should I put into th...
0
11,373,027
07/07/2012 07:07:03
1,508,381
07/07/2012 07:02:29
1
0
How to navigate between windows in java?
I am a new comer in java. Currently I am trying to make several small programs. Let me ask you a question: I want to close my present window (Frame) and open a new window when a particular button (say, "Next") is clicked in the present window. Would you please tell me, how to do it? Thanks.
java
null
null
null
null
07/08/2012 13:17:14
not a real question
How to navigate between windows in java? === I am a new comer in java. Currently I am trying to make several small programs. Let me ask you a question: I want to close my present window (Frame) and open a new window when a particular button (say, "Next") is clicked in the present window. Would you please tell me, h...
1
4,252,441
11/23/2010 03:13:58
34,400
11/04/2008 20:19:20
1,002
22
FParsec and a delimiter based syntax
I'm trying to use fparsec to parse a simple todo list language (the data from TaskPaper actually) as a simple parser combinator example. But I've run into a bug I can't seem to puzzle out. I'm new to parser combinators and FParsec seems to rely on me knowing Parsec, but I'm finding the parsec documentation inscrutabl...
f#
null
null
null
null
null
open
FParsec and a delimiter based syntax === I'm trying to use fparsec to parse a simple todo list language (the data from TaskPaper actually) as a simple parser combinator example. But I've run into a bug I can't seem to puzzle out. I'm new to parser combinators and FParsec seems to rely on me knowing Parsec, but I'm f...
0
10,647,781
05/18/2012 06:29:30
519,882
11/25/2010 09:03:47
1,059
4
Bounding value requirement
Does anyone have any idea what a "bounding value" is? I haven't found a single definition on the internet and I really don't understand what that could be. I'm really not that much into maths. I have requirements some thing like as follows which I have to program. Minimum Retrieve the minimum raw value in the ...
math
null
null
null
null
05/19/2012 01:27:01
off topic
Bounding value requirement === Does anyone have any idea what a "bounding value" is? I haven't found a single definition on the internet and I really don't understand what that could be. I'm really not that much into maths. I have requirements some thing like as follows which I have to program. Minimum Retrie...
2
6,758,523
07/20/2011 07:36:12
559,720
01/01/2011 09:44:08
14
1
How to get hidden data from a website in java
I developing a software in java and I want to get some text from a website. The problem is that it is shown in the browser and hidden when I got though code. Regards, Nayef
java
data
null
null
null
07/22/2011 04:32:09
not a real question
How to get hidden data from a website in java === I developing a software in java and I want to get some text from a website. The problem is that it is shown in the browser and hidden when I got though code. Regards, Nayef
1
8,178,217
11/18/2011 05:36:46
500,595
11/08/2010 11:02:16
191
6
can i play iTunes song in android device
I am developing an android app for audio file send and receive from iphone,i can't play iTunes music from iPhone.how can i play iTunes music in android,is it possible?please help me friends.. Thanks Friends.
android
null
null
null
null
11/18/2011 09:01:32
not a real question
can i play iTunes song in android device === I am developing an android app for audio file send and receive from iphone,i can't play iTunes music from iPhone.how can i play iTunes music in android,is it possible?please help me friends.. Thanks Friends.
1
2,729,927
04/28/2010 13:42:20
220,129
11/27/2009 16:11:09
242
7
nested ordered ol lists in html
I have a nested ordered list. <ol> <li>first</li> <li>second <ol> <li>second nested first element</li> <li>second nested secondelement</li> <li>second nested thirdelement</li> </ol> </li> <li>third</li> <li>fourth</li> </ol> Curr...
html
html-lists
null
null
null
null
open
nested ordered ol lists in html === I have a nested ordered list. <ol> <li>first</li> <li>second <ol> <li>second nested first element</li> <li>second nested secondelement</li> <li>second nested thirdelement</li> </ol> </li> <li>third</li> ...
0
3,824,709
09/29/2010 18:29:44
173,773
09/15/2009 14:58:40
175
5
Are questions about video-games valid interview questions (and does anyone actually use them)?
In a recent discussion with a group of like minded software developers, we realized that, amongst other things, we all shared a similar depth of knowledge when it comes to video-games - both in terms of judging quality, and in terms of awareness of the landscape. While we may not agree on our own personal favorites, we...
interview-questions
null
null
null
null
12/03/2011 05:41:09
not constructive
Are questions about video-games valid interview questions (and does anyone actually use them)? === In a recent discussion with a group of like minded software developers, we realized that, amongst other things, we all shared a similar depth of knowledge when it comes to video-games - both in terms of judging quality, ...
4
9,763,346
03/18/2012 23:42:07
1,277,571
03/18/2012 23:38:29
1
0
Insert Image into PHP Success
newbie here so hang with me. I'm using this AJAX/PHP [contact form][1] and I'd like to my site, and I'd like to add an image for the success message, instead of just the Thank You! header message. Thanks for any help you can give [1]: http://tutorialzine.com/2009/09/fancy-contact-form/
php
jquery
ajax
forms
php-form-processing
03/20/2012 17:52:51
not a real question
Insert Image into PHP Success === newbie here so hang with me. I'm using this AJAX/PHP [contact form][1] and I'd like to my site, and I'd like to add an image for the success message, instead of just the Thank You! header message. Thanks for any help you can give [1]: http://tutorialzine.com/2009/09/fancy-con...
1
6,273,706
06/08/2011 02:52:03
443,972
09/10/2010 02:26:55
52
1
Extract just the depot path from perforce output
Already tried a few of the "Extract up to a character" questions here, none work. example input: //blah/blah/foo.txt#7 - edit change 12526 (text) by blah@blah I want to get: //blah/blah/foo.txt Right now I am using the regex '/[^#]*/' but I get //blah/blah/
regex
perforce
null
null
null
null
open
Extract just the depot path from perforce output === Already tried a few of the "Extract up to a character" questions here, none work. example input: //blah/blah/foo.txt#7 - edit change 12526 (text) by blah@blah I want to get: //blah/blah/foo.txt Right now I am using the regex '/[^#]*/' but I get //blah/bl...
0
6,023,400
05/16/2011 21:02:26
38,258
11/17/2008 15:18:35
978
56
OpenGL ES Texture Coordinates Slightly Off
I'm trying to draw a subregion of a texture in OpenGL by specifying the coordinates I want. What's happening though is that, depending on the size of the image, it seems there's a slight offset in the origin of where it selects the texture coordinates. The offset amount seems to be less than the size of a pixel & the o...
c++
opengl-es
textures
null
null
null
open
OpenGL ES Texture Coordinates Slightly Off === I'm trying to draw a subregion of a texture in OpenGL by specifying the coordinates I want. What's happening though is that, depending on the size of the image, it seems there's a slight offset in the origin of where it selects the texture coordinates. The offset amount s...
0
10,957,812
06/09/2012 02:02:20
1,239,203
02/29/2012 01:54:05
52
0
How to for loop in reverse?
I'm making a water simulation program, and I need it to do a for loop through y, x. But I need it to check the most bottom y first, then up. This is my lvl: lvl = [[0, 0, 1, 0, 0], [0, 0, 1, 0, 0], [0, 0, 1, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0]] I...
python
algorithm
loops
for-loop
simulation
null
open
How to for loop in reverse? === I'm making a water simulation program, and I need it to do a for loop through y, x. But I need it to check the most bottom y first, then up. This is my lvl: lvl = [[0, 0, 1, 0, 0], [0, 0, 1, 0, 0], [0, 0, 1, 0, 0], [0, 0, 0, 0, 0], ...
0
6,790,951
07/22/2011 13:46:32
858,038
07/22/2011 13:46:32
1
0
Designing for the Cloud
I'm looking to design/code a highly scalable web application. I was going to use the cloud base infrastructure (Amazon EC2) but what I fail to understand is, I need specific users that log on to be directed to a specific VM based on user role. For instance, I want all users who are 'Managers' to be directed to one V...
design
architecture
cloud
null
null
null
open
Designing for the Cloud === I'm looking to design/code a highly scalable web application. I was going to use the cloud base infrastructure (Amazon EC2) but what I fail to understand is, I need specific users that log on to be directed to a specific VM based on user role. For instance, I want all users who are 'Mana...
0
6,630,985
07/08/2011 21:59:09
772,502
05/27/2011 05:44:18
435
16
PHP: Undefined variables warnings
I assign some data to variables in PHP without defining them. For example the `$query`: $query = $this->db->get(); It works fine, but if there if there is no data returned and assigned to `$query`, I get the PHP warning like: "Undefined variable", which can be fixed by defining the variable like: $quer...
php
error-handling
null
null
null
07/11/2011 09:52:56
not constructive
PHP: Undefined variables warnings === I assign some data to variables in PHP without defining them. For example the `$query`: $query = $this->db->get(); It works fine, but if there if there is no data returned and assigned to `$query`, I get the PHP warning like: "Undefined variable", which can be fixed by d...
4
8,182,377
11/18/2011 12:24:00
10,522
09/15/2008 23:42:06
1,732
31
Java programmatic ways to get the binary data associated with a class
What are some ways to get the binary data associated with ALL classes at runtime, the java bytecode (I want to write the data to disk). And I don't want to use JMX. Basically, I am trying to detect an issue with a class and I want to put the class on disk from the running bytecode. 1. Is there a list of ALL cl...
java
bytecode
issues
null
null
null
open
Java programmatic ways to get the binary data associated with a class === What are some ways to get the binary data associated with ALL classes at runtime, the java bytecode (I want to write the data to disk). And I don't want to use JMX. Basically, I am trying to detect an issue with a class and I want to put t...
0
11,632,318
07/24/2012 13:49:34
772,803
05/27/2011 09:26:59
437
14
Tell Glassfish to Use Existing Zip File
I am using Glassfish 3.1.2 with Dojo 1.7 and would like to shorten the build process, it's taking quite a while for maven to copy the dojo js files each build. I could use the CDN version dojo but I would like to be able to debug when offline. Is there a way to tell Glassfish to use the pre-zipped dojo source file? J...
glassfish-3
netbeans-7
null
null
null
null
open
Tell Glassfish to Use Existing Zip File === I am using Glassfish 3.1.2 with Dojo 1.7 and would like to shorten the build process, it's taking quite a while for maven to copy the dojo js files each build. I could use the CDN version dojo but I would like to be able to debug when offline. Is there a way to tell Glassfi...
0
1,263,326
08/11/2009 22:26:45
19,763
09/20/2008 20:58:43
87
0
Break Long code lines in Visual Studio 2008
In Visual Studio 2008, if I have a long line of code, how can i get that to breakup into multiple lines? public static void somemethod(param1, param2, param3, more params etc...) How can I make this 1 line of code span 2 or 3 lines?
c#
null
null
null
null
null
open
Break Long code lines in Visual Studio 2008 === In Visual Studio 2008, if I have a long line of code, how can i get that to breakup into multiple lines? public static void somemethod(param1, param2, param3, more params etc...) How can I make this 1 line of code span 2 or 3 lines?
0
6,742,441
07/19/2011 04:54:20
194,261
10/22/2009 02:07:46
427
40
Hardware Programming Career
I have been developing business applications in multiple languages for years now and I'm officially bored with it. I find hardware programming as an area I would like to discover, but I'm not sure where to start. What is that type of career is it considered? What type of degree is preferred? Is there a way ...
development-hardware
null
null
null
null
07/19/2011 05:14:56
off topic
Hardware Programming Career === I have been developing business applications in multiple languages for years now and I'm officially bored with it. I find hardware programming as an area I would like to discover, but I'm not sure where to start. What is that type of career is it considered? What type of degree...
2
4,946,451
02/09/2011 14:49:50
539,638
12/12/2010 15:35:23
10
0
InfoPath - Making field required BY CODE
I want to make a field required BY CODE (not by data validation!). Anyone know how to do it?
infopath
null
null
null
null
09/27/2011 12:31:44
not a real question
InfoPath - Making field required BY CODE === I want to make a field required BY CODE (not by data validation!). Anyone know how to do it?
1
8,201,584
11/20/2011 12:50:47
1,037,851
11/09/2011 14:18:02
1
0
Setting label in java on clickinb button
>In an applet i am using a button .Can we set three labels on click of a button 3 times ?
java
null
null
null
null
11/21/2011 12:48:01
not a real question
Setting label in java on clickinb button === >In an applet i am using a button .Can we set three labels on click of a button 3 times ?
1
10,527,612
05/10/2012 04:41:45
357,261
06/03/2010 08:59:33
932
0
How to prevent url redirection if user types it manually to the address bar?
I have an aspx page there i have a button that fix on it's click what page to redirect with the if else condition but it fixes it as expected but the prob is that when some one manually type the page URL it goes to there also, while i want to prevent this nature what should i do to stop it, please suggest me, i am usin...
c#
asp.net
null
null
null
06/04/2012 07:59:01
not a real question
How to prevent url redirection if user types it manually to the address bar? === I have an aspx page there i have a button that fix on it's click what page to redirect with the if else condition but it fixes it as expected but the prob is that when some one manually type the page URL it goes to there also, while i wan...
1
11,063,380
06/16/2012 12:22:22
1,460,600
06/16/2012 12:17:52
1
0
Guide to JS MVC
I am trying to understand MVC, when is good using it and when not. I am trying also to convert some smallapps I made in the past using MVC. Can please someone suggest me some guide/tutorials where all basics are explained and some "real" examples are shown? I'd really like to see: "without MVC you program like this,...
javascript
html5
javascript-framework
null
null
06/17/2012 13:36:19
not constructive
Guide to JS MVC === I am trying to understand MVC, when is good using it and when not. I am trying also to convert some smallapps I made in the past using MVC. Can please someone suggest me some guide/tutorials where all basics are explained and some "real" examples are shown? I'd really like to see: "without MVC y...
4
4,945,340
02/09/2011 13:15:06
288,654
03/08/2010 10:06:36
52
3
HTML HEX Color code tool
I'm looking for a simple desktop tool to show the color of a hex code (#F0F7FF) So if I have a color #FFFFFF it should show white. Something lightweight Thanks
html
colors
desktop
markup
null
12/17/2011 01:50:01
not a real question
HTML HEX Color code tool === I'm looking for a simple desktop tool to show the color of a hex code (#F0F7FF) So if I have a color #FFFFFF it should show white. Something lightweight Thanks
1
2,364,302
03/02/2010 15:33:23
214,909
11/19/2009 19:38:40
48
2
fnmatch for windows in C?
Is there a version of fnmatch for Windows? I'm trying to have the same functionality (basically using *'s from the command line for the filename) **in C** without having to call FindFirst() etc. Code is appreciated.
windows
c
null
null
null
null
open
fnmatch for windows in C? === Is there a version of fnmatch for Windows? I'm trying to have the same functionality (basically using *'s from the command line for the filename) **in C** without having to call FindFirst() etc. Code is appreciated.
0
10,910,623
06/06/2012 08:23:58
947,790
09/15/2011 21:54:47
1
0
What can I do with a semi working javascript static analysis program?
I have built a program that crawls a website and extracts the javascript files, the inline javascript and the javascript dom events. Once I have collected all the data, I parse all the javascript using a javascript parser and detect unused pieces of code (functions and variables). Via a web interface, a user can view t...
javascript
parsing
optimization
crawler
null
06/06/2012 08:28:34
off topic
What can I do with a semi working javascript static analysis program? === I have built a program that crawls a website and extracts the javascript files, the inline javascript and the javascript dom events. Once I have collected all the data, I parse all the javascript using a javascript parser and detect unused piece...
2
141,278
09/26/2008 18:58:53
521
08/06/2008 14:16:34
763
39
Subqueries vs joins
I refactored a slow section of an application we inherited from another company to use an inner join instead of a subquery like where id in (select id from ... ) **The refactored query runs about 100x faster.** (~50 seconds to ~0.3) I expected an improvement, but can anyone explain why it was so drastic? The ...
mysql
sql
join
optimization
null
null
open
Subqueries vs joins === I refactored a slow section of an application we inherited from another company to use an inner join instead of a subquery like where id in (select id from ... ) **The refactored query runs about 100x faster.** (~50 seconds to ~0.3) I expected an improvement, but can anyone explain wh...
0
9,034,881
01/27/2012 14:35:33
1,160,082
01/20/2012 06:38:40
1
0
How to return an arraylist?
I would like to return an arraylist from a non-class method in java, i have searched around but found nothing so far. { int d=e.length(); ArrayList list2 = new ArrayList(); for (int i=0;i<d;i++) { list2.add('_'); } return list2; } Thanks alot!
java
arraylist
null
null
null
01/28/2012 21:22:03
not a real question
How to return an arraylist? === I would like to return an arraylist from a non-class method in java, i have searched around but found nothing so far. { int d=e.length(); ArrayList list2 = new ArrayList(); for (int i=0;i<d;i++) { list2.add('_'); } return list2; } Than...
1
1,585,993
10/18/2009 20:49:07
51
08/01/2008 13:31:13
3,922
105
Perform Data Analysis on Sql Server or in .Net?
I have some data analysis that needs to perform. On average, it would involve somewhere in between 50K-150K rows. From these rows I need to extract the summation of Sum(X) as well as Count(X) based on five different criteria. There are two ways of going about it: 1. Write 10 different queries, each one designed to ...
sql-server
aggregate
.net
asp.net
c#
null
open
Perform Data Analysis on Sql Server or in .Net? === I have some data analysis that needs to perform. On average, it would involve somewhere in between 50K-150K rows. From these rows I need to extract the summation of Sum(X) as well as Count(X) based on five different criteria. There are two ways of going about it: ...
0
6,515,756
06/29/2011 04:28:27
809,565
06/22/2011 02:37:24
11
0
[Java GUI] ComboBox Item is overlapped
Please have a view of the attached image. I use VLCJ to build this application. However, it is unexpected that the item in combobox is hidden by the Canvas (which is used in VLCJ player). ![enter image description here][1] How to solve it ,Thank You. Click this for a enlarged photo: [1]: http://gonow.no...
java
swing
gui
combobox
vlc
null
open
[Java GUI] ComboBox Item is overlapped === Please have a view of the attached image. I use VLCJ to build this application. However, it is unexpected that the item in combobox is hidden by the Canvas (which is used in VLCJ player). ![enter image description here][1] How to solve it ,Thank You. Click thi...
0
11,400,679
07/09/2012 18:12:03
951,987
09/19/2011 05:16:40
39
2
Connecting to VPN(Juniper) gives error - "Your browser is executing scripts on this page"
Whenever I open my company's VPN portal, Firefox flashes below error and error disappears. Thereafter if i try enter valid username/password, it says invalid username/password. > *"Your browser is executino g scripts on this page. If this message persists, please make sure that you are visiting a correct site and >...
javascript
webbrowser
vpn
null
null
07/10/2012 18:20:41
off topic
Connecting to VPN(Juniper) gives error - "Your browser is executing scripts on this page" === Whenever I open my company's VPN portal, Firefox flashes below error and error disappears. Thereafter if i try enter valid username/password, it says invalid username/password. > *"Your browser is executino g scripts on th...
2
8,440,368
12/09/2011 02:35:54
869,996
07/29/2011 20:06:57
72
1
PHP Word Export
I am trying to export a php file as a word document, and I did my Googling and found: header('Content-type: application/vnd.ms-word'); header("Content-Disposition: inline; filename=$filename.doc"); header("Content-Disposition: attachment; filename=$filename.doc"); ...
php
linux
osx
unix
word
null
open
PHP Word Export === I am trying to export a php file as a word document, and I did my Googling and found: header('Content-type: application/vnd.ms-word'); header("Content-Disposition: inline; filename=$filename.doc"); header("Content-Disposition: attachment; filename=$filenam...
0
989,346
06/12/2009 22:24:41
84,745
03/30/2009 17:53:48
220
10
UNIX Domain Sockets and Cocoa
I want to implement IPC in a Cocoa application using UNIX domain sockets, with which I have no experience. I found Apple's [CFLocalServer][1] example project, but it's written in C and looks, well, fairly complicated (and yes, I have read most of it). Are the techniques demonstrated in CFLocalServer still state-of-...
cocoa
sockets
osx
ipc
null
null
open
UNIX Domain Sockets and Cocoa === I want to implement IPC in a Cocoa application using UNIX domain sockets, with which I have no experience. I found Apple's [CFLocalServer][1] example project, but it's written in C and looks, well, fairly complicated (and yes, I have read most of it). Are the techniques demonstrat...
0
5,045,965
02/18/2011 20:02:43
471,016
10/09/2010 16:20:12
28
1
Get MediaStore content Uri from File path?
I have an application that lists all videos in MediaStore. (I need both internal storage and external storage). Basically I have two cursors which query MediaStore.Video.Media.EXTERNAL_CONTENT_URI and MediaStore.Video.Media.INTERNAL_CONTENT_URI. Then I use a MergeCursor to merge these queries and display in a Lis...
android
uri
mediastore
null
null
null
open
Get MediaStore content Uri from File path? === I have an application that lists all videos in MediaStore. (I need both internal storage and external storage). Basically I have two cursors which query MediaStore.Video.Media.EXTERNAL_CONTENT_URI and MediaStore.Video.Media.INTERNAL_CONTENT_URI. Then I use a MergeCu...
0
6,702,445
07/15/2011 03:38:51
830,891
07/06/2011 04:52:00
2
0
XML Parse script
Do anyone here has written any t-sql scrip to parse xml coloumn in text field. Since i am a new bee in sql server. `Please help!`
xml
tsql
null
null
null
12/24/2011 15:08:19
not a real question
XML Parse script === Do anyone here has written any t-sql scrip to parse xml coloumn in text field. Since i am a new bee in sql server. `Please help!`
1
8,302,603
11/28/2011 21:30:36
1,070,167
11/28/2011 21:19:52
1
0
Mapping gamemod on each side of a 3d box
Hi guys i wanna map my game mod remix on each side of the 3d box and any help would be appreicated. I am using an internal library called lightGL but i don't know how to map it on the each side. Also how would i go by adding sound each time the ball hits the brick? /** * LightsGL. * Modified from an ...
processing
null
null
null
null
11/28/2011 21:40:08
not a real question
Mapping gamemod on each side of a 3d box === Hi guys i wanna map my game mod remix on each side of the 3d box and any help would be appreicated. I am using an internal library called lightGL but i don't know how to map it on the each side. Also how would i go by adding sound each time the ball hits the brick? /...
1
8,522,449
12/15/2011 15:26:26
935,375
09/02/2011 14:30:48
72
3
From C to Shell: About "system" instruction.
I´m trying to convert some C/C++ code to UNIX shell. I´ve some conversions but, sometimes, I find the code in C/C++ odd, maybe because I do not understand it in the context. Even more, the client did not give me the input/output files or documentation, so it is terrible difficult for coding in UNIX. I got this: ...
c
shell
null
null
null
null
open
From C to Shell: About "system" instruction. === I´m trying to convert some C/C++ code to UNIX shell. I´ve some conversions but, sometimes, I find the code in C/C++ odd, maybe because I do not understand it in the context. Even more, the client did not give me the input/output files or documentation, so it is terrible...
0
9,413,977
02/23/2012 13:26:31
80,911
03/21/2009 17:47:45
6,944
359
Twitter bootstrap: looking to read some objective reviews
We are currently looking into [Twitter Bootstrap][1]. So far I've heard a lot of people speak with excitement about it. So we're reviewing this, and it's hard to find some founded opinions on why committing to something like bootstrap may also be a bad idea. This is important for me to get a bit of a clear pictu...
twitter-bootstrap
null
null
null
null
02/24/2012 11:16:14
off topic
Twitter bootstrap: looking to read some objective reviews === We are currently looking into [Twitter Bootstrap][1]. So far I've heard a lot of people speak with excitement about it. So we're reviewing this, and it's hard to find some founded opinions on why committing to something like bootstrap may also be a bad i...
2
6,023,915
05/16/2011 21:57:37
562,972
01/04/2011 18:30:13
11
1
GWT HTTP Response getText() as Binary
I'm working on a GWT App that makes a REST call for **binary** data. I'm trying to use GWT's RequestBuilder. The problem is that the response only offers a getText() method. Here's the simplest example that reproduces the problem: private static void sendRequest() { String url = URL.encode("/obj...
javascript
gwt
get
request
httprequest
null
open
GWT HTTP Response getText() as Binary === I'm working on a GWT App that makes a REST call for **binary** data. I'm trying to use GWT's RequestBuilder. The problem is that the response only offers a getText() method. Here's the simplest example that reproduces the problem: private static void sendRequest() ...
0
1,180,440
07/24/2009 22:14:47
115,608
06/01/2009 19:31:12
85
3
Jquery: Using the attr with made up attributes
Right now I'm doing various insemantic things like: <span time="50" distance="60"/> And then grabbing that info with: var time = $('span').attr('time'); var distance = $('span').attr('time'); And then doing various things with the time and distance in jS/Query To me, this feels wrong. It's i...
jquery
null
null
null
null
null
open
Jquery: Using the attr with made up attributes === Right now I'm doing various insemantic things like: <span time="50" distance="60"/> And then grabbing that info with: var time = $('span').attr('time'); var distance = $('span').attr('time'); And then doing various things with the time and dis...
0
10,809,220
05/30/2012 02:26:12
1,424,127
05/29/2012 15:45:10
21
1
C# vs C++ pass by reference handling
Here is the question in book: In functions, what is the difference of passing a parameter by-value and by-reference? State one advantage that c# ha compared with c++ in the way passing by reference is handled. I know the difference of passing a parameter by-value and by-reference but what advantage have c# compar...
c#
c++
comparison
pass-by-reference
pass-by-value
05/30/2012 02:37:50
not constructive
C# vs C++ pass by reference handling === Here is the question in book: In functions, what is the difference of passing a parameter by-value and by-reference? State one advantage that c# ha compared with c++ in the way passing by reference is handled. I know the difference of passing a parameter by-value and by-r...
4
7,241,792
08/30/2011 10:24:09
919,493
08/30/2011 10:24:09
1
0
C# Socket Programming - Connection between two computers
Am new to socket programming.Can you please help me with this issue I need to connect two computers which is already under some network using C# After it gets connected I need to know the details of the "Task Manager" - (If any pogram/file is running it should show its status ) I dont know how and where to start...
c#
null
null
null
null
02/08/2012 14:32:00
not a real question
C# Socket Programming - Connection between two computers === Am new to socket programming.Can you please help me with this issue I need to connect two computers which is already under some network using C# After it gets connected I need to know the details of the "Task Manager" - (If any pogram/file is running it ...
1
10,786,817
05/28/2012 15:10:00
864,951
07/27/2011 08:21:40
254
14
Jquery ajax returning extra information
I want to return a string from a jquery ajax request but its returning my string and also some other stuff. I think its asp webservice information. Here's my jquery request jQuery.ajax( { type: "GET", url: "../WebService.asmx/GetProductLink", dat...
c#
jquery
web-services
jquery-ajax
null
null
open
Jquery ajax returning extra information === I want to return a string from a jquery ajax request but its returning my string and also some other stuff. I think its asp webservice information. Here's my jquery request jQuery.ajax( { type: "GET", url: "../WebServi...
0
10,671,486
05/20/2012 07:08:40
963,725
09/25/2011 14:59:34
13
1
What is the use of barcode in php?
I have seen a lot of tutorials and articles showing how to generate barcode with Php using Gd library and Pear. But frankly saying i have no idea what is the use of generating them. Like in retail stores barcodes are printed on a paper to scan and get details of a particular product. But what is the use of barcodes...
php
gd
null
null
null
05/20/2012 08:01:06
not constructive
What is the use of barcode in php? === I have seen a lot of tutorials and articles showing how to generate barcode with Php using Gd library and Pear. But frankly saying i have no idea what is the use of generating them. Like in retail stores barcodes are printed on a paper to scan and get details of a particular ...
4
10,398,395
05/01/2012 13:31:36
1,367,729
05/01/2012 12:31:48
1
0
c# OAuth basic understanding
I am really struggling with the understanding of OAuth. For a project I am trying to create a consumer role that does not utilise tokens. I have managed to create the required details in the code behind like so string outUrl = ""; string querystring = ""; string consumerKey = "82ad8188-b949-eff8-...
c#
.net
oauth
null
null
null
open
c# OAuth basic understanding === I am really struggling with the understanding of OAuth. For a project I am trying to create a consumer role that does not utilise tokens. I have managed to create the required details in the code behind like so string outUrl = ""; string querystring = ""; string ...
0
9,707,338
03/14/2012 17:53:22
710,137
04/15/2011 15:54:11
8
1
How to Retain the Styling / Hover Functionality of Image Hyperlinks in a GridView TemplateField using ImageButtons
Within each row of a GridView (using the TemplateField), I would like to display image buttons that will be used to control the data in that row. I would then like to swap out the images of the buttons when a user first hovers over the GridView row and then again when the user hovers over a specific button. I can ea...
javascript
gridview
hover
imagebutton
templatefield
null
open
How to Retain the Styling / Hover Functionality of Image Hyperlinks in a GridView TemplateField using ImageButtons === Within each row of a GridView (using the TemplateField), I would like to display image buttons that will be used to control the data in that row. I would then like to swap out the images of the button...
0
11,503,677
07/16/2012 11:50:54
1,338,488
04/17/2012 10:36:55
13
0
Bing or Google MAPS to draw a route
i have Lattitudes and longitudes in a database, i want to draw a route using Bing or Google Maps in ASP.NET. Can any body guide me towards some example or web link to get idea how to do it?
asp.net
google-maps
bing-maps
null
null
07/16/2012 14:26:39
not a real question
Bing or Google MAPS to draw a route === i have Lattitudes and longitudes in a database, i want to draw a route using Bing or Google Maps in ASP.NET. Can any body guide me towards some example or web link to get idea how to do it?
1
538,390
02/11/2009 19:32:22
53,587
01/10/2009 00:09:59
64
14
Need recommendation for Bug Tracking and Resource Scheduling software
I am looking to evaluate a two tools. I am looking for a resource scheduling tool, which we need to use to schedule time on different lab equipment, and a bug tracking tool, which is for internal use to track bugs (obviously). I was wondering if there is a tool that combines the two tools. Also, with regards to the ...
bug-tracking
resource-scheduling
null
null
null
09/05/2011 17:45:17
not constructive
Need recommendation for Bug Tracking and Resource Scheduling software === I am looking to evaluate a two tools. I am looking for a resource scheduling tool, which we need to use to schedule time on different lab equipment, and a bug tracking tool, which is for internal use to track bugs (obviously). I was wondering ...
4
8,883,428
01/16/2012 16:56:24
547,198
12/18/2010 18:50:58
356
7
Points on a 2D plane
Given a set of points (x,y) in a 2-d plane, which are guesses of a particular unknown point (x',y'), how do find the best estimate of (x',y') using the set of points given. This is an interview question I found on an online forum. Can somebody please suggest something? My take: take the average of all x values, ta...
algorithm
graph-algorithm
null
null
null
01/17/2012 03:15:53
off topic
Points on a 2D plane === Given a set of points (x,y) in a 2-d plane, which are guesses of a particular unknown point (x',y'), how do find the best estimate of (x',y') using the set of points given. This is an interview question I found on an online forum. Can somebody please suggest something? My take: take the a...
2
6,891,782
07/31/2011 19:32:32
580,621
01/18/2011 22:08:50
1
0
ImageMagick: How to use "Only Shrink Larger Images" ('>' flag) both on windows and unix
I found this description on website http://www.imagemagick.org/Usage/resize/#shrink : > Only Shrink Larger Images ('>' flag) Another commonly used option is > to restrict IM so that it will only shrink images to fit into the size > given. Never enlarge. This is the '>' resize option. > > Example: <pre>conve...
windows
unix
resize
imagemagick
shrink
null
open
ImageMagick: How to use "Only Shrink Larger Images" ('>' flag) both on windows and unix === I found this description on website http://www.imagemagick.org/Usage/resize/#shrink : > Only Shrink Larger Images ('>' flag) Another commonly used option is > to restrict IM so that it will only shrink images to fit into th...
0
175,876
10/06/2008 19:46:11
23,486
09/29/2008 15:26:21
11
0
how do i fix my virtual machine network connection if it seems to be running ok from the host
I have a virtual machine (made with vmware) with a linux ubuntu os installed on it (i have a series of them), with NAT network connection - i am running vmware on Windows XP (my host system); the virtual machine can't connect to the internet. All the vmware services seem to be working fine from windows point of view, b...
virtual-machine
vmware
null
null
null
02/08/2012 15:08:18
off topic
how do i fix my virtual machine network connection if it seems to be running ok from the host === I have a virtual machine (made with vmware) with a linux ubuntu os installed on it (i have a series of them), with NAT network connection - i am running vmware on Windows XP (my host system); the virtual machine can't con...
2
11,048,379
06/15/2012 09:49:51
1,113,009
12/23/2011 07:36:24
80
5
vss pulgin in jenkins
I installed jenkins in windows 64bit version(with java version 64bit) Downloaded latest VSS Plugin and i am getting this error Started by user anonymous FATAL: D:\java\build\hudson\plugins\vss\WEB-INF\lib\com4j.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform java.lang.UnsatisfiedLinkError: D:\java\b...
jenkins
visual-sourcesafe
null
null
null
null
open
vss pulgin in jenkins === I installed jenkins in windows 64bit version(with java version 64bit) Downloaded latest VSS Plugin and i am getting this error Started by user anonymous FATAL: D:\java\build\hudson\plugins\vss\WEB-INF\lib\com4j.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform java.lang.Unsa...
0
3,804,262
09/27/2010 13:32:01
275,390
02/17/2010 16:09:58
440
28
css help, displaying image with div
below is the code that i am using to display div with image but whats happening that, when the page loads i see the image first and than after i save the image i see the div msg and than image and div disappears (as it suppose to) <div id="divStatus"></div> <style type="text/css"> #divStatus { ...
asp.net
css
null
null
null
null
open
css help, displaying image with div === below is the code that i am using to display div with image but whats happening that, when the page loads i see the image first and than after i save the image i see the div msg and than image and div disappears (as it suppose to) <div id="divStatus"></div> <s...
0
2,826,720
05/13/2010 12:30:48
340,018
05/13/2010 07:17:48
3
0
How do I use the Zend Youtube API correctly?
I am trying to access the YouTube API with the Zend libraries that I have included like this (the full path to the Zend library is components/lib/Zend/Gdata.php): <pre> //Include Zend Gdata set_include_path('components/lib'); include("Zend/Gdata.php"); </pre> I now try to use the framework thus:...
zend-framework
php
youtube
include
null
null
open
How do I use the Zend Youtube API correctly? === I am trying to access the YouTube API with the Zend libraries that I have included like this (the full path to the Zend library is components/lib/Zend/Gdata.php): <pre> //Include Zend Gdata set_include_path('components/lib'); include("Zend/Gdata.php");...
0
5,429,194
03/25/2011 06:17:50
676,205
03/25/2011 06:03:58
1
0
unresolved external symbol _NPN_MemAlloc referenced in function
i develop extension for Chrome using XPCOM and i try communicate my dll with JS all fine ! but if i try return value ( string ) from my cpp code i have crash my browser ((( me need allocate memory through NPN_MemAlloc ! but i can't because my VC2008 show me subj error ! i include on my stdafx.h npapi.h npfun...
c++
memory
extension
xpcom
mozilla-plugin
null
open
unresolved external symbol _NPN_MemAlloc referenced in function === i develop extension for Chrome using XPCOM and i try communicate my dll with JS all fine ! but if i try return value ( string ) from my cpp code i have crash my browser ((( me need allocate memory through NPN_MemAlloc ! but i can't because my VC2008 s...
0
9,452,339
02/26/2012 10:26:21
553,823
12/25/2010 13:07:29
484
7
Delayed_jobs - clear memory between jobs
Is there a way to force DJ to "clean" the memory between jobs? its seems that currently its just accumulates memory until it exceeds the amount we gave him. Im also working on spotting the area on the code which eats most of the memory but still would love to have the option on cleaning the memory between jobs. a...
ruby-on-rails
delayed-job
null
null
null
null
open
Delayed_jobs - clear memory between jobs === Is there a way to force DJ to "clean" the memory between jobs? its seems that currently its just accumulates memory until it exceeds the amount we gave him. Im also working on spotting the area on the code which eats most of the memory but still would love to have the op...
0
10,897,004
06/05/2012 12:05:42
1,398,391
05/16/2012 10:41:22
3
0
i written a form which is visulaize to all people but
when they click on submit button checking wheather user logged in or not and then login form comes what is the way. I am new to php
php
null
null
null
null
06/06/2012 10:07:24
not a real question
i written a form which is visulaize to all people but === when they click on submit button checking wheather user logged in or not and then login form comes what is the way. I am new to php
1
6,435,375
06/22/2011 05:37:07
385,251
07/07/2010 07:21:47
57
3
Need some advice on reading material regarding spatial databases
I am interested to know about some reading materials(books) regarding 1)Spatial Database Systems 2)Spatial Query optimization 3)Spatial Indexing 4)Distributed Databases Can anyone help me on this regard?
database
query
relational-database
spatial
spatial-query
06/22/2011 17:23:22
off topic
Need some advice on reading material regarding spatial databases === I am interested to know about some reading materials(books) regarding 1)Spatial Database Systems 2)Spatial Query optimization 3)Spatial Indexing 4)Distributed Databases Can anyone help me on this regard?
2
1,809,007
11/27/2009 14:10:44
177,161
09/22/2009 13:25:19
373
22
Best way to detect if a stream is zipped in Java
What is the best way to find out i `java.io.InputStream` contains zipped data?
java
zip
inputstream
null
null
null
open
Best way to detect if a stream is zipped in Java === What is the best way to find out i `java.io.InputStream` contains zipped data?
0
10,791,829
05/29/2012 00:38:58
647,405
03/06/2011 23:20:09
613
0
Regex Boolean Function in PHP
I have a string that I would like to test to see if it is in the following format. exactly seven alphabetical OR numerical characters, followed by a '_', followed by exactly five alphabetical OR numerical characters, followed by a '_', followed by exactly seven alphabetical OR numerical characters, ...
php
regex
null
null
null
05/29/2012 10:18:57
too localized
Regex Boolean Function in PHP === I have a string that I would like to test to see if it is in the following format. exactly seven alphabetical OR numerical characters, followed by a '_', followed by exactly five alphabetical OR numerical characters, followed by a '_', followed by exactly seven al...
3
5,505,343
03/31/2011 19:38:58
618,554
02/15/2011 20:47:35
20
2
what is ALT + v
in IOS when you push "Alt + v" it makes a check mark. Does anyone have any idea for the purpose of this character?
iphone
xcode
null
null
null
04/05/2011 09:35:16
off topic
what is ALT + v === in IOS when you push "Alt + v" it makes a check mark. Does anyone have any idea for the purpose of this character?
2
2,067,522
01/14/2010 21:00:59
46,439
12/15/2008 18:30:04
1,783
52
How to cast 1 and 0 to true and false in Ruby.
I need to index into a hash that I have defined in terms of "true" and "false" colorHash = Hash.new { |hash, key| hash[key] = {} } colorHash["answers"][true] = "#00CC00" colorHash["answers"][false] = "#FFFFFF" For testing purposes, I am indexing with rand(2) and that fails. If I index with **true*...
ruby
null
null
null
null
null
open
How to cast 1 and 0 to true and false in Ruby. === I need to index into a hash that I have defined in terms of "true" and "false" colorHash = Hash.new { |hash, key| hash[key] = {} } colorHash["answers"][true] = "#00CC00" colorHash["answers"][false] = "#FFFFFF" For testing purposes, I am indexing w...
0
11,643,126
07/25/2012 05:12:20
1,166,137
01/24/2012 01:45:59
27
0
php more than 5 items create new div
I am using PHP and MYSQL. here is my code <?php $result = mysql_query("SELECT * FROM `item` order by `ID` limit 0, 5"); $rows = mysql_num_rows ($result); $item = 0 ; while ($item < $rows){ $title = mysql_result($result,$list,"name"); $id = mysql_result($result,$list...
php
null
null
null
null
null
open
php more than 5 items create new div === I am using PHP and MYSQL. here is my code <?php $result = mysql_query("SELECT * FROM `item` order by `ID` limit 0, 5"); $rows = mysql_num_rows ($result); $item = 0 ; while ($item < $rows){ $title = mysql_result($result,$list,"na...
0
7,980,705
11/02/2011 12:58:43
373,266
06/22/2010 14:13:46
102
0
is there any full version of Microsoft sql server management studio
search with keyword `Microsoft sql server management studio` (without `express`) I only can find *link to download the Express Version*, so is there any full version of **management studio** ? I'm finding some *advanced* feature like a search box to quick navigate to a table/column which Microsoft SSMSE don't suppor...
sql-server
ssms
null
null
null
11/02/2011 16:08:25
too localized
is there any full version of Microsoft sql server management studio === search with keyword `Microsoft sql server management studio` (without `express`) I only can find *link to download the Express Version*, so is there any full version of **management studio** ? I'm finding some *advanced* feature like a search b...
3
6,653,791
07/11/2011 17:08:52
780,415
06/02/2011 02:07:49
1
0
Would Python and Django be the best tool for a news website with a forum, or is that something better for that?
I need a website that has - An easy to update news page - forum - calender Should I use Django and Python with this? I know python pretty well, and just a little Django. I have a large time frame so I could learn a new language if necessary.
python
django
programming-languages
web-frameworks
null
07/11/2011 17:25:17
not constructive
Would Python and Django be the best tool for a news website with a forum, or is that something better for that? === I need a website that has - An easy to update news page - forum - calender Should I use Django and Python with this? I know python pretty well, and just a little Django. I have a large time fr...
4
4,906,215
02/05/2011 10:00:28
372,306
06/21/2010 15:27:26
638
51
Good class name needed for wrapper class that contains initialisation and configuration data for other class
Basically I'm just looking for a word that means something like "initialisation and configuration data". (It should not be "configuration" because that would cause confusion with one of the parts of the whole).
design
name
naming
null
null
05/06/2012 19:50:47
off topic
Good class name needed for wrapper class that contains initialisation and configuration data for other class === Basically I'm just looking for a word that means something like "initialisation and configuration data". (It should not be "configuration" because that would cause confusion with one of the parts of the ...
2
10,399,043
05/01/2012 14:20:49
574,412
01/13/2011 15:02:26
1
0
what can be deleted from facebook user profile using the graph api?
Just got a shock that an app cannot delete a picture from a user profile even after getting proper permissions and valid access token. I was wondering what objects/actions can be deleted from a user profile using graph API?
facebook
application
graph
delete
profile
null
open
what can be deleted from facebook user profile using the graph api? === Just got a shock that an app cannot delete a picture from a user profile even after getting proper permissions and valid access token. I was wondering what objects/actions can be deleted from a user profile using graph API?
0
11,692,104
07/27/2012 16:41:32
1,320,812
04/08/2012 21:19:31
8
1
Contoso U tutorial: enrolling a student in a course and then adding the subsequent grade
Where in the Contoso University MVC tutorial do we get to enroll a student in a course, and then add the subsequent grade?
entity-framework
mvc
null
null
null
07/29/2012 00:55:46
not a real question
Contoso U tutorial: enrolling a student in a course and then adding the subsequent grade === Where in the Contoso University MVC tutorial do we get to enroll a student in a course, and then add the subsequent grade?
1
7,723,655
10/11/2011 09:04:03
750,239
05/12/2011 08:52:13
1
0
restricting sms to go into inbox
I need to restrict sms not to save in inbox. and it should be saved in some user given folder.For that im using bellow code. i can able to restrict sms notification. by using this.abortBroadCast() in my receiver clas.. But SMS is showing in Inbox. I need restrict it entering into INBOX. And it shoulb shown in some oth...
sms
receiver
null
null
null
null
open
restricting sms to go into inbox === I need to restrict sms not to save in inbox. and it should be saved in some user given folder.For that im using bellow code. i can able to restrict sms notification. by using this.abortBroadCast() in my receiver clas.. But SMS is showing in Inbox. I need restrict it entering into ...
0
11,710,327
07/29/2012 15:11:12
1,561,121
07/29/2012 15:03:15
1
0
In above ios 5.1, there is a new thing --soft HOME key. How to implement it and can we do the samething ourself?
soft HOME key. How to implement it and can we do the samething ourself ?
ios
home
null
null
null
07/31/2012 03:50:22
not a real question
In above ios 5.1, there is a new thing --soft HOME key. How to implement it and can we do the samething ourself? === soft HOME key. How to implement it and can we do the samething ourself ?
1
9,820,561
03/22/2012 10:35:27
1,005,030
10/20/2011 10:55:08
344
8
WCF Authentication doesn't prompt for credentials
I've created a test WCF app in which I'm trying to get Authentication to work, but it just runs my method and doesn't ask me to login / authenticate. Below is code snippets in my web.config in my WCF app: <bindings> <wsHttpBinding> <binding name="Binding1"> <securi...
c#
wcf
wcf-security
null
null
null
open
WCF Authentication doesn't prompt for credentials === I've created a test WCF app in which I'm trying to get Authentication to work, but it just runs my method and doesn't ask me to login / authenticate. Below is code snippets in my web.config in my WCF app: <bindings> <wsHttpBinding> ...
0
481,023
01/26/2009 19:30:19
32,892
10/30/2008 20:51:01
1,049
62
LinqToSQL Select and SelectMany vs Join
Are Select and SelectMany preferrable to Joins? The reason I'm wondering is because I use LinqPad and in one section there are comments that say: // Note: before delving into this section, make sure you've read the preceding two // sections: Select and SelectMany. The Join operators are actually unnecess...
linq-to-sql
null
null
null
null
05/04/2012 13:18:43
not a real question
LinqToSQL Select and SelectMany vs Join === Are Select and SelectMany preferrable to Joins? The reason I'm wondering is because I use LinqPad and in one section there are comments that say: // Note: before delving into this section, make sure you've read the preceding two // sections: Select and SelectM...
1
9,456,486
02/26/2012 19:40:20
385,291
07/07/2010 08:04:51
145
8
Improve separation of view and logic
I'm designing some web app, I went for some _layout.cshtml, which fragment: //some html <h4>Your account</h4> @{ Html.RenderPartial("UserMenu"); } is responsible for rendering menu views. It has 3 possible states - logged in as admin, logged in as mere user, not logged. I made this partial view like...
c#
asp.net-mvc
asp.net-mvc-3
razor
partial-views
null
open
Improve separation of view and logic === I'm designing some web app, I went for some _layout.cshtml, which fragment: //some html <h4>Your account</h4> @{ Html.RenderPartial("UserMenu"); } is responsible for rendering menu views. It has 3 possible states - logged in as admin, logged in as mere user,...
0
8,507,030
12/14/2011 15:24:42
847,763
07/16/2011 12:52:55
110
6
Outputting many strings in intel assembly nasm
I'm trying to output many strings. I've found this simple hello world program on the internet which outputs one string which is stored in memory: ; hello.asm a first program for nasm for Linux, Intel, gcc ; ; assemble: nasm -f elf -l hello.lst hello.asm ; link: gcc -o hello hello.o ; run...
assembly
nasm
null
null
null
null
open
Outputting many strings in intel assembly nasm === I'm trying to output many strings. I've found this simple hello world program on the internet which outputs one string which is stored in memory: ; hello.asm a first program for nasm for Linux, Intel, gcc ; ; assemble: nasm -f elf -l hello.lst hell...
0
8,040,654
11/07/2011 18:07:53
223,478
12/03/2009 02:46:33
961
80
Inception: Can I host a java web browser inside a page on my site inside a normal browser?
You might be wondering why someone would want to do that, and hey, it's a good question. Is there a Java web browser (that can handle some basic forms and css) that I can embed in a web page? Preferably it would be scriptable, such that I could fill in the form fields...If so, what is an acceptable one? Any issu...
java
browser
null
null
null
11/07/2011 20:22:26
not constructive
Inception: Can I host a java web browser inside a page on my site inside a normal browser? === You might be wondering why someone would want to do that, and hey, it's a good question. Is there a Java web browser (that can handle some basic forms and css) that I can embed in a web page? Preferably it would be scrip...
4