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
2,111,061
01/21/2010 16:51:25
228,372
12/09/2009 22:40:56
65
2
Binary file & saved game formatting
I am working on a small roguelike game, and need some help with creating save games. I have tried several ways of saving games, but the load always fails, because I am not exactly sure what is a good way to mark the beginning of different sections for the player, entities, and the map. What would be a good way of m...
binary
file
save
game
format
null
open
Binary file & saved game formatting === I am working on a small roguelike game, and need some help with creating save games. I have tried several ways of saving games, but the load always fails, because I am not exactly sure what is a good way to mark the beginning of different sections for the player, entities, and ...
0
4,151,950
11/11/2010 06:39:14
412,906
07/23/2010 12:58:52
173
5
Syntax highlighting in JEditorPane in java
I want to perform syntax highlighting in jEditorPane. It allows me to perform single line syntax highlighting but if the XML tag is split into two or more line it does not work. Below is the code i am using for Syntax highlighting. Help me out with this. Thanks..... public class XmlView extends PlainView { ...
java
regex
swing
syntax-highlighting
null
null
open
Syntax highlighting in JEditorPane in java === I want to perform syntax highlighting in jEditorPane. It allows me to perform single line syntax highlighting but if the XML tag is split into two or more line it does not work. Below is the code i am using for Syntax highlighting. Help me out with this. Thanks..... ...
0
6,960,144
08/05/2011 17:18:21
360,330
06/07/2010 11:08:45
197
2
C# ticks to datetime and format
How can I convert ticks to datetime and format them to "ss:fff"? My code: timer = new DispatcherTimer(new TimeSpan(0, 0, 0, 0, 1), DispatcherPriority.Normal, delegate { _ticks += 1; DateTime dt = new DateTime(_ticks); this.Show.Text = dt.ToString("ss:fff"); ...
c#
datetime
null
null
null
null
open
C# ticks to datetime and format === How can I convert ticks to datetime and format them to "ss:fff"? My code: timer = new DispatcherTimer(new TimeSpan(0, 0, 0, 0, 1), DispatcherPriority.Normal, delegate { _ticks += 1; DateTime dt = new DateTime(_ticks); this....
0
10,213,097
04/18/2012 15:47:47
422,967
08/17/2010 14:43:35
74
2
How to use a where clause in MVC ef
Using MVC EF, how would I filter results by a field other than the id? return View(db.Drafts.Where(PublicationId=id)); PublicationId is a column in the Drafts table. Any help is appreciated.
asp.net-mvc
entity-framework
null
null
null
null
open
How to use a where clause in MVC ef === Using MVC EF, how would I filter results by a field other than the id? return View(db.Drafts.Where(PublicationId=id)); PublicationId is a column in the Drafts table. Any help is appreciated.
0
6,336,175
06/13/2011 20:49:56
756,339
05/16/2011 20:42:37
45
1
Array of a very long list of ints
I'm trying to solve the 8th problem of the project Euler and I'm stuck because I can't manage to create a very long array of char. There must be a stupid semantic issue, but I'm unable to find it. char cifre[] = "very long list of numbers here";
c
arrays
null
null
null
06/13/2011 21:30:07
not a real question
Array of a very long list of ints === I'm trying to solve the 8th problem of the project Euler and I'm stuck because I can't manage to create a very long array of char. There must be a stupid semantic issue, but I'm unable to find it. char cifre[] = "very long list of numbers here";
1
1,303,803
08/20/2009 03:32:30
17,252
09/18/2008 05:23:23
813
56
WordPress: Assigning widgets to individual pages
Are there any plugins or hacks that allow assigning widgets to individual pages?
wordpress
plugins
widgets
hacks
php
null
open
WordPress: Assigning widgets to individual pages === Are there any plugins or hacks that allow assigning widgets to individual pages?
0
11,064,878
06/16/2012 15:44:33
1,233,517
02/26/2012 07:25:42
1
1
Some good Android Design Resources
I have seen numerous code examples and etc on all technical aspects of Android. However i have tried and yet to find good tutorials on android design. Not "Best practices". But actual code examples of how to implement design features. How to achieve a professional looking design. How to design your UI with fluid animat...
android
design
user-interface
null
null
06/18/2012 03:47:48
not constructive
Some good Android Design Resources === I have seen numerous code examples and etc on all technical aspects of Android. However i have tried and yet to find good tutorials on android design. Not "Best practices". But actual code examples of how to implement design features. How to achieve a professional looking design....
4
544,853
02/13/2009 05:40:55
22,962
09/27/2008 09:22:53
26
1
How Many Zend Certified Engineer?
I found [a tool][1] on Zend site. But it is only show who have achieved ZCE by country. I plan to take ZCE for PHP 5 and I just want to know how many Zend certified engineer available around the world. Thanks... [1]: http://www.zend.com/store/education/certification/yellow-pages.php
php
certificate
null
null
null
08/31/2009 12:19:56
not a real question
How Many Zend Certified Engineer? === I found [a tool][1] on Zend site. But it is only show who have achieved ZCE by country. I plan to take ZCE for PHP 5 and I just want to know how many Zend certified engineer available around the world. Thanks... [1]: http://www.zend.com/store/education/certification/yel...
1
8,798,531
01/10/2012 04:22:13
1,138,045
01/09/2012 05:26:53
3
0
NSMutableArray gives the EXC_BAD_ACCESS
iam developing one applicaiton.In that iam using the NSMutableArray for saving the data from database.After getting the data from database if iam perform any action on that NSMutableArray the application will got the EXC_BAD_ACCESS.So please tell me how to solve this one.
iphone
null
null
null
null
01/10/2012 09:07:50
not a real question
NSMutableArray gives the EXC_BAD_ACCESS === iam developing one applicaiton.In that iam using the NSMutableArray for saving the data from database.After getting the data from database if iam perform any action on that NSMutableArray the application will got the EXC_BAD_ACCESS.So please tell me how to solve this one.
1
10,272,106
04/22/2012 21:03:31
429,274
08/24/2010 08:14:05
1
2
django 'too many SQL variables' error with ModelMultipleChoiceField
I have a form with `ModelMultipleChoiceField` on it, and I am getting `'DatabaseError: too many SQL variables'` (using SQLite) when the user picks more than 1000 entries in the selection widget and posts the form. The problem seems to be the method `clean` of `ModelMultipleChoiceField`, which tries to select objects...
python
django
sqlite
null
null
null
open
django 'too many SQL variables' error with ModelMultipleChoiceField === I have a form with `ModelMultipleChoiceField` on it, and I am getting `'DatabaseError: too many SQL variables'` (using SQLite) when the user picks more than 1000 entries in the selection widget and posts the form. The problem seems to be the me...
0
5,156,486
03/01/2011 15:23:16
270,274
02/10/2010 12:49:21
55
3
best way to tell a user why my web app doesn't support Internet Explorer
as you all know internet explorer sucks ^^, so i will probably never write code for it are they some nice text out there that explains to an average visitor why he shouldn't use Internet Explorer? e.g. is http://www.ie6nomore.com/ nice but only targeting IE6 and doesn't explain to the user why he should change hi...
internet-explorer
web-applications
browser
null
null
03/01/2011 16:39:19
off topic
best way to tell a user why my web app doesn't support Internet Explorer === as you all know internet explorer sucks ^^, so i will probably never write code for it are they some nice text out there that explains to an average visitor why he shouldn't use Internet Explorer? e.g. is http://www.ie6nomore.com/ nice ...
2
5,850,962
05/01/2011 20:00:08
719,813
04/20/2011 03:06:51
36
1
How to count clicks on a $_GET value with php?
I have a website which generates every new user their own unique link (http://website.com/?id=12345). I want to include a click counter to show the user how much times their link has been visited. Does anyone know how to do this?
php
click
counter
null
null
05/02/2011 18:49:32
not a real question
How to count clicks on a $_GET value with php? === I have a website which generates every new user their own unique link (http://website.com/?id=12345). I want to include a click counter to show the user how much times their link has been visited. Does anyone know how to do this?
1
7,729,238
10/11/2011 16:19:06
101,827
05/05/2009 20:31:44
3,984
171
Oracle SQL query fails only in one process: "ORA-01405: fetched column value is NULL"
I'm trying to call a system stored procedure in a "plugin" that I've built. When I test my plugin out in a test application, it works fine. When I run the plugin in the targeted app I'm building it for, I get an exception from Oracle that doesn't make any sense. I'm using Oracle server 11.2.0.1.0, and ODP.NET 2.112....
sql
oracle
stored-procedures
odp.net
advanced-queuing
null
open
Oracle SQL query fails only in one process: "ORA-01405: fetched column value is NULL" === I'm trying to call a system stored procedure in a "plugin" that I've built. When I test my plugin out in a test application, it works fine. When I run the plugin in the targeted app I'm building it for, I get an exception from Or...
0
6,042,726
05/18/2011 09:46:11
758,933
05/18/2011 09:46:11
1
0
Can anybody translate this to a c# code?
<Window.Resources> <Storyboard x:Key="AnimateTarget"> <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Transform" Storyboard.TargetProperty="ScaleX"> <EasingDoubleKeyFrame KeyTime="0:0:0" ...
c#
wpf
easing-functions
null
null
05/18/2011 13:15:52
too localized
Can anybody translate this to a c# code? === <Window.Resources> <Storyboard x:Key="AnimateTarget"> <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Transform" Storyboard.TargetProperty="ScaleX"> <EasingDoubleKeyFrame K...
3
361,249
12/11/2008 22:30:44
8,435
09/15/2008 16:01:38
5,453
213
Javascript Variable not available in external file
<strong>Is this something with javascript; or is it something else I'm doing wrong.</strong> file1.js > var collection = new Object(); > collection.foo = new Array(1, 2, 3); file 2.js > var someClass = new Class({ > bar : function() { > alert(collection.foo.length); > ...
javascript
mootools
null
null
null
12/29/2008 12:37:01
too localized
Javascript Variable not available in external file === <strong>Is this something with javascript; or is it something else I'm doing wrong.</strong> file1.js > var collection = new Object(); > collection.foo = new Array(1, 2, 3); file 2.js > var someClass = new Class({ > bar : function() {...
3
8,339,556
12/01/2011 10:09:36
1,074,799
12/01/2011 05:36:22
1
2
What is equivalent features of WPF in QtQuick?
<br/> I am a WPF programmer. But i see some weakness on WPF (see [this my replay][1]). So i curious to research for QtQuick.<br/> WPF has some great features such as: - Hardware accelerated - Animations and effects - Triggers( Trigger, DataTrigger, EventTrigger) - Resources - Templates - Commands - Bi...
wpf
qt
xaml
qml
qt-quick
12/05/2011 20:18:43
not a real question
What is equivalent features of WPF in QtQuick? === <br/> I am a WPF programmer. But i see some weakness on WPF (see [this my replay][1]). So i curious to research for QtQuick.<br/> WPF has some great features such as: - Hardware accelerated - Animations and effects - Triggers( Trigger, DataTrigger, EventTrig...
1
9,508,301
02/29/2012 23:25:06
561,357
01/03/2011 14:48:39
24
0
Checking the manner in which an Activity has been "reanimated"
How would an Activity know if it has just been brought back from either being minimized (e.g., the user pressed Home and did other stuff and then brought the app back into the foreground afterwards) or from the screen timing out and the screen going black? If I hit Home while on an app, then OnDestroy doesn't necess...
android
activity
null
null
null
null
open
Checking the manner in which an Activity has been "reanimated" === How would an Activity know if it has just been brought back from either being minimized (e.g., the user pressed Home and did other stuff and then brought the app back into the foreground afterwards) or from the screen timing out and the screen going bl...
0
4,950,180
02/09/2011 20:37:00
515,453
11/21/2010 22:38:13
42
2
Is there a place/person/group that I could send some comments about the Android Tutorials to?
I'm cutting threw the Android Tutorials ( http://developer.android.com/resources/index.html ), and while I like them, and find most of them interesting, there are a couple I find... Well, somewhat frustrating. Is there a person or place I could address some suggestions to? This isn't a complaint, or attempt to bas...
android
null
null
null
null
02/10/2011 09:38:08
off topic
Is there a place/person/group that I could send some comments about the Android Tutorials to? === I'm cutting threw the Android Tutorials ( http://developer.android.com/resources/index.html ), and while I like them, and find most of them interesting, there are a couple I find... Well, somewhat frustrating. Is the...
2
10,081,295
04/09/2012 23:46:21
352,374
05/27/2010 21:05:01
482
7
Allow modification of only non-zero elements of a sparse matrix - homework
I am implementing a tridiagonal matrix and I have to be as efficient as possible. Obviously I will only hold the elements that contain data. I overloaded the `operator()` to act as an indexer into the matrix, but I want this operator to return a reference so that the user can modify the matrix. However, I cannot just `...
c++
operator-overloading
sparse-matrix
null
null
null
open
Allow modification of only non-zero elements of a sparse matrix - homework === I am implementing a tridiagonal matrix and I have to be as efficient as possible. Obviously I will only hold the elements that contain data. I overloaded the `operator()` to act as an indexer into the matrix, but I want this operator to ret...
0
7,358,639
09/09/2011 07:54:03
658,956
03/14/2011 14:31:27
58
3
How can I achieve a has_many user interface to add users from companies
The requirement is part of a support system. For each ticket the support system user needs to be able to select one or more companies and from those companies select one or more employees. The schema is so far setup as company has_many users and tickets are linked to users (regardless of company) by an intermediate ...
ruby-on-rails
jquery-ui
null
null
null
null
open
How can I achieve a has_many user interface to add users from companies === The requirement is part of a support system. For each ticket the support system user needs to be able to select one or more companies and from those companies select one or more employees. The schema is so far setup as company has_many user...
0
8,863,444
01/14/2012 16:12:22
297,131
03/19/2010 06:32:32
573
17
What is the market share for different Ruby versions and implementations?
Where can I find reliable statistics for Ruby usage, by versions and implementations?
ruby
null
null
null
null
01/16/2012 03:03:45
too localized
What is the market share for different Ruby versions and implementations? === Where can I find reliable statistics for Ruby usage, by versions and implementations?
3
9,929,137
03/29/2012 16:02:54
1,296,388
03/27/2012 18:55:57
11
4
Delegate Func<> in windows form application C#
The following code works: class Program { static void Main(string[] args) { List<Func<string, string>> mylist = new List<Func<string, string>>(); mylist.Add(Navigation); mylist.Add(Tactic); Func<string, string> GameOfThrones...
c#
forms
delegates
func
null
03/30/2012 01:37:01
too localized
Delegate Func<> in windows form application C# === The following code works: class Program { static void Main(string[] args) { List<Func<string, string>> mylist = new List<Func<string, string>>(); mylist.Add(Navigation); mylist.Add(Tact...
3
8,141,632
11/15/2011 19:00:36
1,048,265
11/15/2011 18:58:08
1
0
Drawing on a textBox in C# with mouse
I have an assignment to write a program in C# that uses a panel for scroll bars (which I have accomplished) and adding a picture box on top of that to allow drawing with a mouse. The program is also supposed to allow the user to choose different options from the menustrip. These include saving, saving as, resizing the...
c#
null
null
null
null
11/16/2011 23:24:04
not a real question
Drawing on a textBox in C# with mouse === I have an assignment to write a program in C# that uses a panel for scroll bars (which I have accomplished) and adding a picture box on top of that to allow drawing with a mouse. The program is also supposed to allow the user to choose different options from the menustrip. Th...
1
10,610,358
05/15/2012 23:50:05
1,104,896
12/18/2011 20:26:07
1
0
Via Header & IP cop chaos
Well here is a tricky situation. So we have an ISP provide who uses 24onlinebilling(.com) system & it acts as DNS Server, Internet Gateway & what not. **The Situation:** `Turn on the computer -> GET google.com (in browser) --> You see a login Page --> Enter your credentials provided by your ISP & it lets you...
linux
apache
tomcat
ip
firewall
05/16/2012 10:18:30
off topic
Via Header & IP cop chaos === Well here is a tricky situation. So we have an ISP provide who uses 24onlinebilling(.com) system & it acts as DNS Server, Internet Gateway & what not. **The Situation:** `Turn on the computer -> GET google.com (in browser) --> You see a login Page --> Enter your credentials pro...
2
8,091,850
11/11/2011 09:18:41
963,038
09/24/2011 21:24:37
3
0
About exporting as video format in flash cs5
I want to export an animation as a video file. But I don't understand what should I do. Which will be the best? And how do I keep the size low? I have exported this as avi and mov. But I cannot do it as flv. Can you please tell me how to do it??
flash
flv
null
null
null
11/11/2011 13:13:53
off topic
About exporting as video format in flash cs5 === I want to export an animation as a video file. But I don't understand what should I do. Which will be the best? And how do I keep the size low? I have exported this as avi and mov. But I cannot do it as flv. Can you please tell me how to do it??
2
10,136,993
04/13/2012 07:43:07
1,068,887
11/28/2011 07:37:43
1
0
How to extract data into associative array from HTML table using jQuery?
Suppose I have HTML like this, <table id="Words"> <tr> <td class="cell">Hello</td> <td class="desc">A word</td> </tr> <tr> <td class="cell">Bye</td> <td class="desc">A word</td> </tr> <tr> <td class="cell">Tricicle</td> <td class="des...
javascript
jquery
html
table
associative-array
null
open
How to extract data into associative array from HTML table using jQuery? === Suppose I have HTML like this, <table id="Words"> <tr> <td class="cell">Hello</td> <td class="desc">A word</td> </tr> <tr> <td class="cell">Bye</td> <td class="desc">A word</td> <...
0
3,382,033
08/01/2010 12:29:30
406,608
07/30/2010 10:10:32
6
0
How to run a html file from php?
I am trying to figure out how we can run a html file within a php script.
php
html
null
null
null
08/01/2010 12:52:22
not a real question
How to run a html file from php? === I am trying to figure out how we can run a html file within a php script.
1
132,092
09/25/2008 08:19:30
15,368
09/17/2008 08:43:07
111
13
What are you favourite Matlab/Octave programming tricks?
I think everyone would agree that the matlab language is not pretty, or particularly consistent. But nevermind! We still have to use it to get things done. What are your favourite tricks for making things easier? Lets have one per answer so people can vote them up if they agree. Also, try to illustrate your answer w...
matlab
tricks
null
null
null
11/27/2011 17:32:14
not constructive
What are you favourite Matlab/Octave programming tricks? === I think everyone would agree that the matlab language is not pretty, or particularly consistent. But nevermind! We still have to use it to get things done. What are your favourite tricks for making things easier? Lets have one per answer so people can vot...
4
5,246,958
03/09/2011 14:10:08
651,689
03/09/2011 14:10:08
1
0
wristwatch with millisecond number counter
I have exhausted my searching for a watch that shows the milliseconds counting down.
javascript
null
null
null
null
null
open
wristwatch with millisecond number counter === I have exhausted my searching for a watch that shows the milliseconds counting down.
0
8,106,198
11/12/2011 17:30:04
710,526
04/15/2011 20:46:36
18
0
Block commands in Linux
I have to give access to a person on one of my servers, but I want that person only can use command 'tail'. How can I do that? Is there a way to block commands in Linux for a user? Thanks a lot.
linux
bash
shell
ubuntu
null
11/12/2011 17:52:03
off topic
Block commands in Linux === I have to give access to a person on one of my servers, but I want that person only can use command 'tail'. How can I do that? Is there a way to block commands in Linux for a user? Thanks a lot.
2
3,165,411
07/02/2010 11:55:43
295,264
03/17/2010 00:16:39
2,392
120
How to display categories in search result of Search Engines like Google?
I know while we setup meta tags in our websites, we are configuring how a Search Engine lists our websites in their Database, but while searching some popular site like FiFA World Cup(for now), torrentz and others. I have attached some pictures referring to what I am telling. ![See Image][1] How to accomplishes ...
website
seo-optimization
null
null
null
12/02/2011 16:28:47
off topic
How to display categories in search result of Search Engines like Google? === I know while we setup meta tags in our websites, we are configuring how a Search Engine lists our websites in their Database, but while searching some popular site like FiFA World Cup(for now), torrentz and others. I have attached some pi...
2
6,092,836
05/23/2011 04:28:48
480,045
10/19/2010 04:47:06
63
0
Change object's layer dynamically in WPF.
I need to do something like "Move up", "Move down" with the objects on my GRID from C# code while executing, is there any possibilities?
wpf
visual-studio-2010
layer
null
null
null
open
Change object's layer dynamically in WPF. === I need to do something like "Move up", "Move down" with the objects on my GRID from C# code while executing, is there any possibilities?
0
4,563,561
12/30/2010 14:52:52
79,111
03/17/2009 17:14:48
1,489
59
jQuery selector vs. filter unexpected result
`html` is a piece of HTML containing inline Javascript resulting from an AJAX request. The following code: $(html).filter('script') returns a jQuery object for each script tag, whereas: $('script', $(html)) returns an empty array. How is this possible? I'm using Chromium 10.0.
javascript
jquery
null
null
null
null
open
jQuery selector vs. filter unexpected result === `html` is a piece of HTML containing inline Javascript resulting from an AJAX request. The following code: $(html).filter('script') returns a jQuery object for each script tag, whereas: $('script', $(html)) returns an empty array. How is this possibl...
0
10,074,688
04/09/2012 14:26:05
1,126,245
01/02/2012 12:46:34
3
1
blogger/stackoverflow/wordpress like text editor
Have you noticed the text editor in blogger/stackoverflow/wordpress How to create such one for my website using php? Can you suggest any tutorials?
php
wordpress
text-editor
stackoverflow
blogger
04/09/2012 14:33:50
not a real question
blogger/stackoverflow/wordpress like text editor === Have you noticed the text editor in blogger/stackoverflow/wordpress How to create such one for my website using php? Can you suggest any tutorials?
1
8,784,102
01/09/2012 04:58:14
538,786
12/11/2010 09:57:35
83
1
z-index not working with other elements
I am trying to hide `footer` behind `#blog-wrap` but for some reason, it's not working. Using `z-index: -1;` moves the element behind text, but that is about it. Here is the HTML for `footer` <footer> <span class="post-date"> Posted on <a href="#"> 12.12.12 </a> </span> ...
html
css
position
z-index
null
01/09/2012 13:40:01
not a real question
z-index not working with other elements === I am trying to hide `footer` behind `#blog-wrap` but for some reason, it's not working. Using `z-index: -1;` moves the element behind text, but that is about it. Here is the HTML for `footer` <footer> <span class="post-date"> Posted on <a...
1
5,590,751
04/08/2011 05:17:37
698,029
04/08/2011 05:17:37
1
0
blackberry or android
I am a blackberry developer for the past 1 year.I now want to switch over to android.Can anyone tell me the merits and demerits of it with respective to future scope.
android
blackberry
null
null
null
04/10/2011 01:28:59
not constructive
blackberry or android === I am a blackberry developer for the past 1 year.I now want to switch over to android.Can anyone tell me the merits and demerits of it with respective to future scope.
4
8,074,006
11/10/2011 01:34:53
1,038,838
11/10/2011 01:31:51
1
0
java.util.Vector<E> Roadblock
Referring to: http://download.oracle.com/javase/7/docs/api/java/util/Vector.html#addElement(E) I have an assignment for my OOP class where I have to write classes for a Asteroids-like java game. I have to use vectors to represent the x and y positions as well as the x and y velocities of the shots and the comets. So...
java
binding
vector
comets
null
11/10/2011 20:44:40
not a real question
java.util.Vector<E> Roadblock === Referring to: http://download.oracle.com/javase/7/docs/api/java/util/Vector.html#addElement(E) I have an assignment for my OOP class where I have to write classes for a Asteroids-like java game. I have to use vectors to represent the x and y positions as well as the x and y velocit...
1
3,265,910
07/16/2010 14:32:42
228,697
12/10/2009 10:32:31
13
0
Wordpress COMMENTS IN URDU (other language)
I am working on a wordpress project. The my database is in utf general. It seems everything is fine in database side, the rest of the website is working wel except the comments. When i display comments wordpress just display symbols rather than words can anyone help me? <a href=http://www.freeimagehosting.net/><...
mysql
wordpress
utf-8
null
null
null
open
Wordpress COMMENTS IN URDU (other language) === I am working on a wordpress project. The my database is in utf general. It seems everything is fine in database side, the rest of the website is working wel except the comments. When i display comments wordpress just display symbols rather than words can anyone help me...
0
7,125,967
08/19/2011 18:42:08
777,982
05/31/2011 15:53:56
345
37
As a developer which programming language you had most frustration with?
Things such as it should work and it didn't? Things where things were not intuitive? Things like where you say I wish I quit. Things where you are lost? Things that you solved later, but you realized it was not worth that time Things that made you think, this is not a well written language? A shore answer is ...
windows
unix
programming-languages
null
null
08/19/2011 18:46:44
off topic
As a developer which programming language you had most frustration with? === Things such as it should work and it didn't? Things where things were not intuitive? Things like where you say I wish I quit. Things where you are lost? Things that you solved later, but you realized it was not worth that time Things t...
2
11,173,869
06/23/2012 23:36:45
1,305,287
03/31/2012 17:00:02
1
0
Style comments please on my timer class
I'm a relative noob to Python. On a range of 0 to 10, where 0 is a complete noob and 9 is Guido, I'd put myself as 1 aspiring to 2. So I wanted a timer, rather like the Visual Basic object, and I wanted it with no cummulative error. And I wanted it flexible, so I wouldn't have to write another one. I'm very lazy BTW...
class
timer
python
null
null
06/24/2012 00:40:43
off topic
Style comments please on my timer class === I'm a relative noob to Python. On a range of 0 to 10, where 0 is a complete noob and 9 is Guido, I'd put myself as 1 aspiring to 2. So I wanted a timer, rather like the Visual Basic object, and I wanted it with no cummulative error. And I wanted it flexible, so I wouldn't...
2
8,842,325
01/12/2012 21:10:04
82,099
03/24/2009 16:18:12
423
4
Applying tdd on early stages
I have a question about applying tdd on early stages of development. Frequently, when starting developing a project, the client does not know exactly what the precise requirements are and consequently changes them after seeing the first prototypes. If we apply tdd from the very beginnning of the project, it turns out t...
tdd
null
null
null
null
null
open
Applying tdd on early stages === I have a question about applying tdd on early stages of development. Frequently, when starting developing a project, the client does not know exactly what the precise requirements are and consequently changes them after seeing the first prototypes. If we apply tdd from the very beginnn...
0
3,630,020
09/02/2010 18:26:16
355,149
06/01/2010 07:04:38
184
20
Need help with a regular expression
I'm pulling out my hair over the following function: Public Function SetVersion(ByVal hl7Message As String, ByVal newVersion As String) As String Dim rgx = New Regex("^(?<pre>.+)(\|\d\.\d{1,2})$", RegexOptions.Multiline) Dim m = rgx.Match(hl7Message) Return rgx.Replace(hl7Message, "${p...
.net
vb.net
regex
null
null
null
open
Need help with a regular expression === I'm pulling out my hair over the following function: Public Function SetVersion(ByVal hl7Message As String, ByVal newVersion As String) As String Dim rgx = New Regex("^(?<pre>.+)(\|\d\.\d{1,2})$", RegexOptions.Multiline) Dim m = rgx.Match(hl7Message) ...
0
10,478,837
05/07/2012 08:20:22
1,242,422
03/01/2012 10:42:25
13
0
error: expected primary-expression before ')' token
I have a function void fun(int j, int i = 10); I want to invoke the fun by a macro function. #define fun1(x) fun(x, 10) #define fun1(x, y) fun(x, y) How can I achieve this?
c++
null
null
null
null
05/08/2012 18:49:17
not a real question
error: expected primary-expression before ')' token === I have a function void fun(int j, int i = 10); I want to invoke the fun by a macro function. #define fun1(x) fun(x, 10) #define fun1(x, y) fun(x, y) How can I achieve this?
1
8,942,882
01/20/2012 14:28:22
80,389
03/20/2009 09:02:36
817
21
what are (and the difference between) factories, service and util classes? Are there any more concepts in a software project?
I am trying to get my head around the concepts of a typical software project, but I cannot find a decent article concerning this. - What are factories? - What are services? - What are util classes? - And what are the key differences between them? (ex, what makes a factory not a service, etc) - And are...
service
factory
development
util
null
01/24/2012 00:36:38
not constructive
what are (and the difference between) factories, service and util classes? Are there any more concepts in a software project? === I am trying to get my head around the concepts of a typical software project, but I cannot find a decent article concerning this. - What are factories? - What are services? - What...
4
1,250,551
08/09/2009 03:54:19
16,371
09/17/2008 16:38:15
383
26
Live screencasting for both PC and Mac
This is not exactly very programming- but we are hosting a code hacking section every week. Now we have a guy left our origin and working oversea, but he still would like to join our event :) So the question is how can we do a live screencast from our Mac to him? The constraints are as follows: 1. It has to be live...
screencast
multi-platform
live
null
null
12/15/2010 13:56:00
off topic
Live screencasting for both PC and Mac === This is not exactly very programming- but we are hosting a code hacking section every week. Now we have a guy left our origin and working oversea, but he still would like to join our event :) So the question is how can we do a live screencast from our Mac to him? The constrai...
2
7,731,561
10/11/2011 19:40:16
988,074
10/10/2011 16:45:53
1
0
C/C++ Cross Project Reference
I'm facing the basic problems of project components modularization / aggregation, and would appreciate some advice. Some details follow. Overview --- I need a tool which: - specify vcs components relationship, in a parent-child approach. - this description must be neat (xml, json, yaml, ...), and versio...
c++
c
version-control
project-management
cross-compiling
10/11/2011 20:19:08
not a real question
C/C++ Cross Project Reference === I'm facing the basic problems of project components modularization / aggregation, and would appreciate some advice. Some details follow. Overview --- I need a tool which: - specify vcs components relationship, in a parent-child approach. - this description must be neat...
1
10,202,893
04/18/2012 04:42:45
1,340,329
04/18/2012 04:32:09
1
0
Android : How to launch Pending intent from another activity with extras?
I am facing some problem with pending intents. I have set some Pending Intents using Notification Manager. These notification launch an activity when use click on them. I put some extras with Intent used in pending intent. This works OK with notification click. Notification notification = new Notification(icon, ...
android
android-intent
pendingintent
extra
null
null
open
Android : How to launch Pending intent from another activity with extras? === I am facing some problem with pending intents. I have set some Pending Intents using Notification Manager. These notification launch an activity when use click on them. I put some extras with Intent used in pending intent. This works OK with...
0
7,199,245
08/26/2011 01:50:25
670,410
03/22/2011 01:10:23
43
0
How do I select rows where a column contains
here is the field in my table ![service_field][1] [1]: http://i.stack.imgur.com/AUmUm.png how do I select rows where a column contains only 5, not 15 if `SELECT * FROM `vendor` WHERE `services` LIKE '%5%'` it will select that have 15 too. any idea?
mysql
sql
null
null
null
null
open
How do I select rows where a column contains === here is the field in my table ![service_field][1] [1]: http://i.stack.imgur.com/AUmUm.png how do I select rows where a column contains only 5, not 15 if `SELECT * FROM `vendor` WHERE `services` LIKE '%5%'` it will select that have 15 too. any idea?
0
5,764,689
04/23/2011 14:18:48
487,244
06/18/2010 07:32:59
86
1
Is it vilolation of Clean Code to call init method in constructor like this
My concern in the code below is that the param to constructor is not actually directly mapped to the class's instance fields. The instance fields derive value from the parameter and for which I'm using the initalize method. Further, I do some stuff so that the object created can be used directly in the code that follow...
java
oop
coding-style
null
null
null
open
Is it vilolation of Clean Code to call init method in constructor like this === My concern in the code below is that the param to constructor is not actually directly mapped to the class's instance fields. The instance fields derive value from the parameter and for which I'm using the initalize method. Further, I do s...
0
6,095,321
05/23/2011 09:29:40
387,635
07/09/2010 10:37:48
6
0
IIS6 + MVC3 + Dependency Injection error
I am developing a web application in MVC, tested in a iis7.5 server and everything works fine. However, when installing on production server I get the following error: [MissingMethodException: No parameterless constructor defined for this object.] System.RuntimeTypeHandle.CreateInstance(RuntimeType typ...
.net
asp.net-mvc-3
frameworks
iis6
entity
null
open
IIS6 + MVC3 + Dependency Injection error === I am developing a web application in MVC, tested in a iis7.5 server and everything works fine. However, when installing on production server I get the following error: [MissingMethodException: No parameterless constructor defined for this object.] System.Ru...
0
4,673,706
01/12/2011 20:31:01
118,218
06/05/2009 18:42:23
742
36
Slow down CPU to simulate slower computers in browser testing
I'm trying to see how our web pages behave on an average customer's computer. We have not yet pinned down this configuration, but it's likely to be slower than what our developers and testers will have. I've seen answers to similar questions that suggest throttling bandwidth and using a VM where the memory has been...
performance
testing
virtualization
null
null
null
open
Slow down CPU to simulate slower computers in browser testing === I'm trying to see how our web pages behave on an average customer's computer. We have not yet pinned down this configuration, but it's likely to be slower than what our developers and testers will have. I've seen answers to similar questions that su...
0
9,336,550
02/17/2012 22:49:50
947,301
09/15/2011 16:50:42
163
0
Ruby sprintf , about %02x
sprintf("%02x ",c) When I reading code ,I know this means transfer decimal to Hex. But what does "2" mean? Thank you.
ruby
null
null
null
null
null
open
Ruby sprintf , about %02x === sprintf("%02x ",c) When I reading code ,I know this means transfer decimal to Hex. But what does "2" mean? Thank you.
0
11,650,850
07/25/2012 13:29:46
1,533,628
07/18/2012 04:54:55
18
0
sql query phpmyadmin
Database phplogin > users id int 11 username varchar25 password varchar25 Whats the code to add 2 users 1 named Admin and pass: 123 other named: acc2 pass: pass2
sql
phpmyadmin
null
null
null
07/26/2012 01:14:52
too localized
sql query phpmyadmin === Database phplogin > users id int 11 username varchar25 password varchar25 Whats the code to add 2 users 1 named Admin and pass: 123 other named: acc2 pass: pass2
3
7,312,460
09/05/2011 20:25:21
355,253
06/01/2010 09:38:28
51
8
How to integrate ready database into new installed mssql
I need to configure and run ready web site. I installed apache and configured it.Now frontend of the web site works great. I need to configure the backend also. They used mssql 2005 and also sent me the database. I installed the express version of the mssql 2005, and now I don't know how to integrate ready database to ...
php
sql-server
apache
null
null
09/05/2011 22:58:14
not a real question
How to integrate ready database into new installed mssql === I need to configure and run ready web site. I installed apache and configured it.Now frontend of the web site works great. I need to configure the backend also. They used mssql 2005 and also sent me the database. I installed the express version of the mssql ...
1
11,257,954
06/29/2012 07:44:20
1,490,544
06/29/2012 07:17:06
1
0
how do i create a frequency based heatmap off movement patterns for a mobile app
Please help. I need to create heatmaps based off frequency that a person goes to certain areas, that way can determine likes/dislikes based off a person's movement patterns for a mobile app for a certain social network (NDA). It runs even while the app isnt open. Thank you!!!
application
patterns
frequency
movement
heatmap
06/30/2012 08:39:08
not a real question
how do i create a frequency based heatmap off movement patterns for a mobile app === Please help. I need to create heatmaps based off frequency that a person goes to certain areas, that way can determine likes/dislikes based off a person's movement patterns for a mobile app for a certain social network (NDA). It runs ...
1
9,446,849
02/25/2012 18:36:48
609,391
02/09/2011 08:02:39
181
0
I am writing a jquery mobile app, and I want to submit a form, and have a completely different page load after submission. how?
I have just started to work with jquery mobile, and things are going swimmingly, but I have hit a wall. I have a form that I am trying to submit (post), and upon form submission, I would like the phone to behave just as a browser would behave. I want it to actually go to the page that I specify. Here is the scener...
jquery-mobile
null
null
null
null
null
open
I am writing a jquery mobile app, and I want to submit a form, and have a completely different page load after submission. how? === I have just started to work with jquery mobile, and things are going swimmingly, but I have hit a wall. I have a form that I am trying to submit (post), and upon form submission, I would...
0
6,177,916
05/30/2011 15:03:50
314,488
01/12/2010 05:02:26
15,020
795
How to read shared file from Ubantu/Sambha using C#?
I have shared folder on ubantu/shamba server of my network. I am running my c# code form Vista , so How can i read file shared on ubantu/shamba server ?
c#
windows
ubantu
shared-file
null
null
open
How to read shared file from Ubantu/Sambha using C#? === I have shared folder on ubantu/shamba server of my network. I am running my c# code form Vista , so How can i read file shared on ubantu/shamba server ?
0
5,208,557
03/06/2011 03:48:20
219,166
11/26/2009 06:43:26
1,301
87
Passing args to a JS command line utility (Node or Narwhal)
I want to use NodeJS or Narwhal to create a JS utility which takes an argument, like so: $ node myscript.js http://someurl.com/for/somefile.js or $ js myscript.js http://someurl.com/for/somefile.js but I'm wondering how I can get that argument within my script, or if that is even possible atm? ...
javascript
node.js
narwhal
null
null
null
open
Passing args to a JS command line utility (Node or Narwhal) === I want to use NodeJS or Narwhal to create a JS utility which takes an argument, like so: $ node myscript.js http://someurl.com/for/somefile.js or $ js myscript.js http://someurl.com/for/somefile.js but I'm wondering how I can get t...
0
5,274,501
03/11/2011 15:00:39
261,050
01/28/2010 14:25:18
1
0
Windows Workflow Foundation WF4 - Workflow hosting
For a client the system we're creating must support the following: - It must be possible to run multiple workflows, and multiple instances of the same workflows with a different context (different data/business objects). - Some workflows will be long-running, involve multiple users/client session and waiting for ...
c#
.net
microsoft
workflow
workflow-foundation-4
null
open
Windows Workflow Foundation WF4 - Workflow hosting === For a client the system we're creating must support the following: - It must be possible to run multiple workflows, and multiple instances of the same workflows with a different context (different data/business objects). - Some workflows will be long-running...
0
8,984,998
01/24/2012 10:09:58
1,166,699
01/24/2012 09:57:50
1
0
How different is web3.0 in terms of User Interface or from a front end developer perspective
How different is web3.0 in terms of User Interface or from a front end developer perspective..Is it jus the technology we use to create the web ( html5 / CSS3 ) or the way we use them... To b more precise.. when can we say a web application is completely in web3.0 standards...
web3.0
null
null
null
null
01/25/2012 13:00:06
not constructive
How different is web3.0 in terms of User Interface or from a front end developer perspective === How different is web3.0 in terms of User Interface or from a front end developer perspective..Is it jus the technology we use to create the web ( html5 / CSS3 ) or the way we use them... To b more precise.. when can we say...
4
8,135,052
11/15/2011 10:41:45
804,517
06/18/2011 12:51:18
8
0
Radio button list inside jquery template using knockout
I am using knockout with jquery template, I am stuck in a place in my template. Let me show you the code first. Here is my template <script type="text/x-jquery-tmpl" id="questionTemplate"> <div class="questions"> <div data-bind="text: QuestionText" style="font-weight:bold;"></d...
knockout.js
jquery-templates
null
null
null
null
open
Radio button list inside jquery template using knockout === I am using knockout with jquery template, I am stuck in a place in my template. Let me show you the code first. Here is my template <script type="text/x-jquery-tmpl" id="questionTemplate"> <div class="questions"> <div...
0
8,058,258
11/08/2011 22:58:19
1,036,607
11/08/2011 22:48:58
1
0
like and send buttons for a cupon site
i have implemented on my website the like and send buttons for each offer that i post there. The problem now is that when an user likes any of the offers(pages) it shows on his wall a standard picture and a standard text from my website. My question is: What do i have to do so that when an user hits the like button, th...
like
null
null
null
null
11/09/2011 23:30:30
not a real question
like and send buttons for a cupon site === i have implemented on my website the like and send buttons for each offer that i post there. The problem now is that when an user likes any of the offers(pages) it shows on his wall a standard picture and a standard text from my website. My question is: What do i have to do s...
1
9,875,468
03/26/2012 15:56:46
659,547
03/14/2011 20:58:13
89
2
Printing newline in MIPS
I'm using MARS MIPS simulator and I want to print a newline in my program. .data space: .asciiz "\n" .text addi $v0, $zero, 4 # print_string syscall la $a0, space # load address of the string syscall Instead of printing newline, it prints `UUUU`. What's that I'm doing...
mips
syscall
null
null
null
null
open
Printing newline in MIPS === I'm using MARS MIPS simulator and I want to print a newline in my program. .data space: .asciiz "\n" .text addi $v0, $zero, 4 # print_string syscall la $a0, space # load address of the string syscall Instead of printing newline, it prints...
0
3,497,520
08/16/2010 21:28:21
239,375
12/28/2009 02:59:40
116
1
Proper way to include files
I am trying to keep a somewhat organized directory structure as I plan to add more and more scripts. So lets say I have a structure like this: /src/main.py /src/db/<all my DB conn & table manipulation scripts> /src/api/<all my scripts that call different APIs> My main.py script will include certain ...
python
null
null
null
null
null
open
Proper way to include files === I am trying to keep a somewhat organized directory structure as I plan to add more and more scripts. So lets say I have a structure like this: /src/main.py /src/db/<all my DB conn & table manipulation scripts> /src/api/<all my scripts that call different APIs> My mai...
0
1,637,738
10/28/2009 14:46:43
191,731
10/17/2009 16:10:15
21
0
iPhone UITableView PlainStyle with custom background image - done "entirely" in code.
I have been all over the place, seems the UITableView with a static background issue is well documented, but no one with a straight forward solution? Im building my TableViews entirely in code, like this: UIViewController *tableViewController = [[TableViewController alloc] init]; navigationController = [[UIN...
uitableview
iphone
background-image
uitableviewcontroller
null
null
open
iPhone UITableView PlainStyle with custom background image - done "entirely" in code. === I have been all over the place, seems the UITableView with a static background issue is well documented, but no one with a straight forward solution? Im building my TableViews entirely in code, like this: UIViewControlle...
0
9,970,222
04/02/2012 02:25:43
629,335
02/18/2011 10:29:57
3,250
96
SignalR - enumerate available hubs and hub methods from .NET client
Is there (or will be) a way to enumerate all the available hubs and methods of those from inside C# client? Haven't seen anything like that in the `SignalR.Client` library, but maybe I'm missing something? There's no problem in doing that in JS client, though, as all info is already here in the JS code.
c#
.net
signalr
null
null
null
open
SignalR - enumerate available hubs and hub methods from .NET client === Is there (or will be) a way to enumerate all the available hubs and methods of those from inside C# client? Haven't seen anything like that in the `SignalR.Client` library, but maybe I'm missing something? There's no problem in doing that in JS...
0
9,790,712
03/20/2012 16:19:45
51,142
01/03/2009 12:54:34
137
6
File mapping and serialization
I want to map an existing file into any object which is serializable, but I don't know which library can help me. The idea is that RemoteActor will reply with pre-processed file. Unfortunately, it can't send any data and if I reply with MappedByteBuffer I will got > scala.actors.remote.DelegateActor@b035079: ca...
java
file
scala
mapping
serializable
03/20/2012 23:48:48
not a real question
File mapping and serialization === I want to map an existing file into any object which is serializable, but I don't know which library can help me. The idea is that RemoteActor will reply with pre-processed file. Unfortunately, it can't send any data and if I reply with MappedByteBuffer I will got > scala.act...
1
8,101,486
11/12/2011 00:24:33
420,001
08/13/2010 20:58:34
1,901
94
WP7 - Positioning AdControl
Is there an easy way to position an AdControl inside of a Panorama? Right now, I can only get my AdControl to show if I set up my object tree like so: Layout Root > Panorama > ... > AdControl1 That is, with both my Panorama and my AdControl as immediate children of LayoutRoot. I only want ...
c#
windows-phone-7
advertisement
expression-blend-4
null
null
open
WP7 - Positioning AdControl === Is there an easy way to position an AdControl inside of a Panorama? Right now, I can only get my AdControl to show if I set up my object tree like so: Layout Root > Panorama > ... > AdControl1 That is, with both my Panorama and my AdControl as immediate childr...
0
11,264,030
06/29/2012 14:52:09
1,169,575
01/25/2012 15:52:52
145
2
Rails gem to add view content
since often I'm comparing production and development website output, it happens sometimes I try to see latest development edits on the live website (just because they're equal, I don't see the URLbar address) and I lose minutes before to realize I was just looking at the production website. So I'm willing to create ...
ruby-on-rails
ruby
ruby-on-rails-3
views
null
null
open
Rails gem to add view content === since often I'm comparing production and development website output, it happens sometimes I try to see latest development edits on the live website (just because they're equal, I don't see the URLbar address) and I lose minutes before to realize I was just looking at the production we...
0
11,084,024
06/18/2012 13:33:46
1,407,785
05/21/2012 11:51:50
1
0
How to make user info tracking in iphone game
I am creating an iphone game that can be played by many users .. i want to track users'info:score, current level and many other information to be saved globally in the application .. do you know how i can make such a feature ?
iphone
ios
null
null
null
06/20/2012 12:14:29
not a real question
How to make user info tracking in iphone game === I am creating an iphone game that can be played by many users .. i want to track users'info:score, current level and many other information to be saved globally in the application .. do you know how i can make such a feature ?
1
8,064,403
11/09/2011 11:33:37
548,218
12/20/2010 04:58:32
638
32
SIpdroid app moves to background
I initiated call from Sipdroid 5-6 times repeatedly. but the application hangs for sometime and moves to background. **Please Help** **Logcat Says:** 11-09 12:36:07.311: D/dalvikvm(13494): GC_FOR_MALLOC freed 5 objects / 55880 bytes in 53ms 11-09 12:36:07.366: D/dalvikvm(13494): GC_FOR_MALL...
android
voip
sip
null
null
11/09/2011 12:44:15
not a real question
SIpdroid app moves to background === I initiated call from Sipdroid 5-6 times repeatedly. but the application hangs for sometime and moves to background. **Please Help** **Logcat Says:** 11-09 12:36:07.311: D/dalvikvm(13494): GC_FOR_MALLOC freed 5 objects / 55880 bytes in 53ms 11-09 12:36:...
1
3,474,019
08/13/2010 04:59:48
419,197
08/13/2010 04:59:48
1
0
Stopping a jQuery Content Slider while Flash content plays
Does anyone know a simple script that one could add to a custom jQuery content slider that would make the slider stop while Flash content is being played inside? Or, alternatively, just make the slider stop while hovering the mouse over it? All the best, Robert
jquery
flash
video
slider
stop
null
open
Stopping a jQuery Content Slider while Flash content plays === Does anyone know a simple script that one could add to a custom jQuery content slider that would make the slider stop while Flash content is being played inside? Or, alternatively, just make the slider stop while hovering the mouse over it? All the ...
0
9,216,137
02/09/2012 17:54:44
916,450
08/28/2011 13:27:58
39
0
asp.net job interview questions
My friend just came back from ASP.NET job interview. He was asked to build a class for "File" and a class for "Folder". A folder can contain files and folders. Implement the following methods: AddFile(parent,size,name) AddFolder(parent,name) Delete() ShowFileSystem() The names are unique... He implemented an...
c#
asp.net
oop
interview-questions
null
02/09/2012 17:58:36
too localized
asp.net job interview questions === My friend just came back from ASP.NET job interview. He was asked to build a class for "File" and a class for "Folder". A folder can contain files and folders. Implement the following methods: AddFile(parent,size,name) AddFolder(parent,name) Delete() ShowFileSystem() The nam...
3
7,848,058
10/21/2011 10:21:36
1,421,542
03/09/2009 10:27:46
188
18
will paginate missing FROM-clause entry when paginating over association
I work with rails 2.3.5, will_paginate-2.3.15 and postgress. I have 2 belongs_to's to the same table. If i first search on a attribute and then on the aliased table attribute then it throws an exception. If I reverse the order in the conditions it works... class House belongs_to :owner, :class => "User"...
ruby-on-rails
will-paginate
null
null
null
null
open
will paginate missing FROM-clause entry when paginating over association === I work with rails 2.3.5, will_paginate-2.3.15 and postgress. I have 2 belongs_to's to the same table. If i first search on a attribute and then on the aliased table attribute then it throws an exception. If I reverse the order in the condit...
0
11,514,219
07/16/2012 23:48:00
1,261,831
03/11/2012 03:58:29
25
0
Python string formatting issue
import random def main(): the_number = random.randint(1,100) guess = 0 no_of_tries = 0 while guess != the_number: no_of_tries += 1 guess = int(input("Enter your guess: ")) if guess < the_number: print "---------------...
python
string
strip
null
null
null
open
Python string formatting issue === import random def main(): the_number = random.randint(1,100) guess = 0 no_of_tries = 0 while guess != the_number: no_of_tries += 1 guess = int(input("Enter your guess: ")) if guess < the_number: ...
0
11,397,313
07/09/2012 14:38:26
1,511,656
07/09/2012 10:06:58
1
0
Can I license a HL mod under something else than GPL?
I'm lost in a jungle of licensing software, mods and plugins. Would be grateful if someone out there could answer the question I have. Let me explain. First we have the HL SDK where the EULA says - "Whereas, Licensee wishes to develop a modified game running only on the Half-Life engine (a "Mod") for free dist...
licensing
gpl
null
null
null
07/10/2012 15:54:09
off topic
Can I license a HL mod under something else than GPL? === I'm lost in a jungle of licensing software, mods and plugins. Would be grateful if someone out there could answer the question I have. Let me explain. First we have the HL SDK where the EULA says - "Whereas, Licensee wishes to develop a modified game r...
2
5,922,978
05/07/2011 18:01:00
339,500
05/12/2010 15:56:53
399
10
JS library for draggable box/div
i'm looking for a fancy JS library that permits me to create different draggable divs in the same page; i would like to find something newer, if possible, of jQueryUI dialogs. Do you know any examples? Thanks in advance c.
javascript
div
null
null
null
null
open
JS library for draggable box/div === i'm looking for a fancy JS library that permits me to create different draggable divs in the same page; i would like to find something newer, if possible, of jQueryUI dialogs. Do you know any examples? Thanks in advance c.
0
701,746
03/31/2009 16:02:44
21,209
09/23/2008 16:03:51
285
22
How to force Webbrowser component to always open web page in the same window?
I need to use webbroser in my application as it keeps repetitive tasks from employees, but there is aproblem with javascript that opens a new window in IE after clicking on anchor. How do I tell webbrowser component to "open new window" where I want it to be opened? For example in the other webbrowser component?
webbrowser
open
new
window
c#
null
open
How to force Webbrowser component to always open web page in the same window? === I need to use webbroser in my application as it keeps repetitive tasks from employees, but there is aproblem with javascript that opens a new window in IE after clicking on anchor. How do I tell webbrowser component to "open new window" ...
0
10,576,711
05/14/2012 01:50:13
1,029,146
11/04/2011 06:05:40
323
4
How to communicate between windows?
EDIT: This question can be summed up as follows: How can two separate html pages, in separate windows, exchange information asynchronously? For a class project, I have to build a web-based chat client. The professor provided a working server. I have a portion of it up and running-- any connected users can send ...
javascript
jquery
homework
websocket
null
null
open
How to communicate between windows? === EDIT: This question can be summed up as follows: How can two separate html pages, in separate windows, exchange information asynchronously? For a class project, I have to build a web-based chat client. The professor provided a working server. I have a portion of it up an...
0
3,711,099
09/14/2010 16:54:02
447,588
09/14/2010 16:53:59
1
0
cost of developing and running a GPS application
i am currently undergoing the branding of a place that is in the outskirts of a major city. the situation at hand is that the place is unknown and not easy to get around, so my associates and i have planned to develop a gps application with specifics eg safari lodges, conference venues of this area and make it possible...
iphone
null
null
null
null
09/15/2010 14:25:55
off topic
cost of developing and running a GPS application === i am currently undergoing the branding of a place that is in the outskirts of a major city. the situation at hand is that the place is unknown and not easy to get around, so my associates and i have planned to develop a gps application with specifics eg safari lodge...
2
4,803,699
01/26/2011 10:54:41
1,423,327
01/18/2011 08:46:25
11
0
Difference between linenumbers of cat file | nl and wc -l file
i have a file with e.g. 9818 lines. When i use wc -l file, i see 9818 lines. When i vi the file, i see 9818 lines. When i :set numbers, i see 9818 lines. But when i cat file | nl, i see the final line number is 9750 (e.g.). Basically i'm asking why line numbers from cat file | nl and wc -l file do not match.
unix
ksh
null
null
null
null
open
Difference between linenumbers of cat file | nl and wc -l file === i have a file with e.g. 9818 lines. When i use wc -l file, i see 9818 lines. When i vi the file, i see 9818 lines. When i :set numbers, i see 9818 lines. But when i cat file | nl, i see the final line number is 9750 (e.g.). Basically i'm asking why li...
0
5,331,155
03/16/2011 20:06:58
16,295
09/17/2008 16:00:00
329
24
NHibernate.IFutureValue<> when serialized includes .Value
I'm building an ASP.NET (2.0, no, I can't change it) site with NHibernate, and have a custom JSON converter so I can not-serialize properties I want hidden from the client. This lets me just return the objects, and never have to worry about their serialized values - they're always secure. Unfortunately, it appears ...
asp.net
nhibernate
serialization
jsonserializer
null
null
open
NHibernate.IFutureValue<> when serialized includes .Value === I'm building an ASP.NET (2.0, no, I can't change it) site with NHibernate, and have a custom JSON converter so I can not-serialize properties I want hidden from the client. This lets me just return the objects, and never have to worry about their serialize...
0
756,063
04/16/2009 13:17:15
13,627
09/16/2008 20:16:07
2,490
78
Do you have a physical "developer busy" indicator ?
At my workplace, it has been suggested that each developer is given the opportunity to indicate to his peers that he is busy and cannot be disturbed. This would be done in order to ensure that you don't get disturbed, when you are "in the zone". Do you think this is a good idea ? Do you have anything like that at yo...
work-environment
development-environment
interruptions
null
null
02/06/2012 19:17:29
not constructive
Do you have a physical "developer busy" indicator ? === At my workplace, it has been suggested that each developer is given the opportunity to indicate to his peers that he is busy and cannot be disturbed. This would be done in order to ensure that you don't get disturbed, when you are "in the zone". Do you think t...
4
6,307,797
06/10/2011 14:31:05
49,684
12/29/2008 00:39:20
387
6
database design critique
I've been given an ERD to review, I attached a png, this db models a product. I have my thoughts about it, I'm just looking for an unbiased objective view on it. ![Pathole][1] [1]: http://i.stack.imgur.com/IUO29.png
database-design
null
null
null
null
06/12/2011 04:28:25
off topic
database design critique === I've been given an ERD to review, I attached a png, this db models a product. I have my thoughts about it, I'm just looking for an unbiased objective view on it. ![Pathole][1] [1]: http://i.stack.imgur.com/IUO29.png
2
5,280,985
03/12/2011 06:22:29
243,323
01/04/2010 16:57:09
129
7
Flex and actionscript basics
I have experience in flex3 and action script programming for about 1 year. and my total experience is 4 yrs(3 yr in java). in that for 1 year i got chance to work with flex technology. Now i again want to take back as UI developer in flex technology. but i have very less knowledge on flex technology. I started appl...
java
flex
homework
actionscript
flex3
03/13/2011 17:23:17
not a real question
Flex and actionscript basics === I have experience in flex3 and action script programming for about 1 year. and my total experience is 4 yrs(3 yr in java). in that for 1 year i got chance to work with flex technology. Now i again want to take back as UI developer in flex technology. but i have very less knowledge o...
1
6,731,145
07/18/2011 09:51:28
825,994
07/02/2011 11:15:10
1
0
how to upload compressd file in php
i have uploaded 3 files 1) Provisioning file 2) plist file 3) Ipa file Provisioning file & plist file are uploaded but Ipa file is not uploaded how to upload the above files
php
file-upload
null
null
null
07/18/2011 12:08:02
not a real question
how to upload compressd file in php === i have uploaded 3 files 1) Provisioning file 2) plist file 3) Ipa file Provisioning file & plist file are uploaded but Ipa file is not uploaded how to upload the above files
1
10,099,153
04/11/2012 02:44:42
1,028,435
11/03/2011 19:43:58
13
2
How to modify PATH variable for X11 during log-in?
Original question is here: http://stackoverflow.com/questions/10096327/overwriting-print-screen-actions-in-linux-without-administrative-rights. Decided to revise my question, based on what I learned there: Essentially, my problem is that I am working on some lab computers (read: no administrative rights) that, i...
linux
x11
redhat
null
null
04/11/2012 05:22:00
off topic
How to modify PATH variable for X11 during log-in? === Original question is here: http://stackoverflow.com/questions/10096327/overwriting-print-screen-actions-in-linux-without-administrative-rights. Decided to revise my question, based on what I learned there: Essentially, my problem is that I am working on some...
2
259,091
11/03/2008 16:00:26
4,376
09/03/2008 09:30:40
639
38
How can I scrape an HTML table to CSV?
#The Problem I use a tool at work that lets me do queries and get back HTML tables of info. I do not have any kind of back-end access to it. A lot of this info would be much more useful if I could put it into a spreadsheet for sorting, averaging, etc. **How can I screen-scrape this data to a CSV file?** ##My F...
screen-scraping
null
null
null
null
null
open
How can I scrape an HTML table to CSV? === #The Problem I use a tool at work that lets me do queries and get back HTML tables of info. I do not have any kind of back-end access to it. A lot of this info would be much more useful if I could put it into a spreadsheet for sorting, averaging, etc. **How can I screen...
0
2,063,524
01/14/2010 10:46:55
126,999
06/22/2009 15:06:29
26
2
Visual Studio 2010 Compilation Error
I’ve been trialing the current version of Microsoft Visual Studio 2010 Beta and have come across a strange problem. When I try to compile any project, I get the error message “The operation could not be completed”, with no further information. This happens both with C#, C++ and VB.NET projects and regardless of whet...
visualstudio2010
null
null
null
null
null
open
Visual Studio 2010 Compilation Error === I’ve been trialing the current version of Microsoft Visual Studio 2010 Beta and have come across a strange problem. When I try to compile any project, I get the error message “The operation could not be completed”, with no further information. This happens both with C#, C++ ...
0
3,729,395
09/16/2010 18:01:32
310,291
03/02/2010 15:22:39
844
13
Will decimal be supported one day with Math.Pow in .NET ?
I saw this dated in 2004: http://connect.microsoft.com/VisualStudio/feedback/details/94548/math-pow-method-should-have-an-overload-for-decimal Math.Pow() method should have an overload for decimal Since has anything changed ? Cause I try it doesn't seem Pow supports decimal.
c#
null
null
null
null
09/16/2010 18:09:13
not constructive
Will decimal be supported one day with Math.Pow in .NET ? === I saw this dated in 2004: http://connect.microsoft.com/VisualStudio/feedback/details/94548/math-pow-method-should-have-an-overload-for-decimal Math.Pow() method should have an overload for decimal Since has anything changed ? Cause I try it doesn't...
4
7,280,275
09/02/2011 07:17:39
452,580
09/20/2010 10:02:55
233
1
Recursive array correct method of display
Sorry guys back again with my recursive array which does work but I cannot get the "layout" right what I am after is a "proper" tree structure using `<ul>`,`<li>` so you end up like this: <ul> <li>Item <ul> <li>Child <ul> <li>Child of child <ul> <li>Etc...</li> </ul> </li> </ul> </li> </ul> </li> </ul>...
arrays
layout
recursive-query
null
null
null
open
Recursive array correct method of display === Sorry guys back again with my recursive array which does work but I cannot get the "layout" right what I am after is a "proper" tree structure using `<ul>`,`<li>` so you end up like this: <ul> <li>Item <ul> <li>Child <ul> <li>Child of child <ul> <li>Etc...</li> ...
0
2,035,613
01/10/2010 00:52:13
65,387
02/12/2009 03:01:00
3,037
154
How to brush up on PHP?
I have an interview on Tuesday for a PHP job. I've been programming in PHP for about 6 years, but mostly ad-hoc self-built systems, it wasn't until about a year ago that I started to adopt frameworks and get more OOPy. These are familiar concepts from other languages though. What can I do to brush up and ace my intervi...
interview-questions
php
null
null
null
12/06/2011 02:43:14
not constructive
How to brush up on PHP? === I have an interview on Tuesday for a PHP job. I've been programming in PHP for about 6 years, but mostly ad-hoc self-built systems, it wasn't until about a year ago that I started to adopt frameworks and get more OOPy. These are familiar concepts from other languages though. What can I do t...
4
6,967,686
08/06/2011 15:07:57
802,370
06/16/2011 22:06:01
33
0
Stop resubmit on form
I have a simple form on my site that allows users to add comments on photos. However, the form doenst use ajax (like facebook). Instead, it submits the form and refreshes the page. This is fine however, if a user reloads the page, there is an alert that he/she will resubmit the data resulting in two of the same comm...
forms
refresh
submit
null
null
null
open
Stop resubmit on form === I have a simple form on my site that allows users to add comments on photos. However, the form doenst use ajax (like facebook). Instead, it submits the form and refreshes the page. This is fine however, if a user reloads the page, there is an alert that he/she will resubmit the data result...
0
6,027,508
05/17/2011 07:17:22
314,661
04/12/2010 15:22:23
1,635
19
Basic maths for animation
Assuming I have a form and paint an oval on it. I then want to take a control (such as a picturebox) and (while keeping the top left corner of the control exactly on the line) I want to move the control pixel by pixel following the drawn oval. Basically I want to calculate the Top/Left point for each position/pixel ...
c#
.net
animation
graphics
geometry
null
open
Basic maths for animation === Assuming I have a form and paint an oval on it. I then want to take a control (such as a picturebox) and (while keeping the top left corner of the control exactly on the line) I want to move the control pixel by pixel following the drawn oval. Basically I want to calculate the Top/Left...
0
10,703,576
05/22/2012 13:58:53
1,238,487
02/28/2012 17:51:15
47
4
Ordered Lists - Double Letters
This might be a simple question but it is eluding me right now. I have an ordered list and it is extending past the A-Z and is going into the double letters, which is fine. The double letters come out in this format: AA. AB. AC. and was wondering if there is a way to make them come out as: AA. BB. CC. T...
html
html-lists
null
null
null
null
open
Ordered Lists - Double Letters === This might be a simple question but it is eluding me right now. I have an ordered list and it is extending past the A-Z and is going into the double letters, which is fine. The double letters come out in this format: AA. AB. AC. and was wondering if there is a way to make t...
0
11,672,987
07/26/2012 15:40:51
1,541,869
07/20/2012 22:01:57
6
0
Add a number to an existing number in an existing column
How can I add a number (which is the file #) to an existing column in all tables in the database in SQL? I want to multiply the file # ( say 111111) by 100 (11111100) and then add the current value in the existing column (say 24) so the final value in the column will be 11111124. sorry if its too specific to ask
sql
sql-server
database
null
null
07/28/2012 10:58:43
not a real question
Add a number to an existing number in an existing column === How can I add a number (which is the file #) to an existing column in all tables in the database in SQL? I want to multiply the file # ( say 111111) by 100 (11111100) and then add the current value in the existing column (say 24) so the final value in the co...
1
8,103,841
11/12/2011 10:21:24
1,043,006
11/12/2011 10:18:30
1
0
Quitting a While loop in C++ by entering a blank
I have a loop in C++ that am stuck with, I want to end the loop by entering a blank, if a character is entered then the loop goes on. using VS2010
visual-c++
null
null
null
null
11/12/2011 10:52:47
not a real question
Quitting a While loop in C++ by entering a blank === I have a loop in C++ that am stuck with, I want to end the loop by entering a blank, if a character is entered then the loop goes on. using VS2010
1
10,485,618
05/07/2012 16:26:23
1,340,362
05/24/2010 10:47:16
216
7
How to create dynamic html
My question is really wiered. I am working on a advertisement website. I was checking some other websites as following http://www.XXXXXXX.com/XXXXX/XXXXXX/YYYY-available-3+1-YYYY-YYYYY-road.html My Question is when I browse any ad in website,its opening a html file with title of Ad. if website has 10000 ads, I ...
html
html5
null
null
null
05/08/2012 12:51:45
not a real question
How to create dynamic html === My question is really wiered. I am working on a advertisement website. I was checking some other websites as following http://www.XXXXXXX.com/XXXXX/XXXXXX/YYYY-available-3+1-YYYY-YYYYY-road.html My Question is when I browse any ad in website,its opening a html file with title of A...
1
11,256,107
06/29/2012 04:33:58
1,248,244
03/04/2012 15:21:44
15
2
Nivo Slider: Move thumbs inside caption?
I am using Nivo Slider 3.0.1 on a website for a hotel. I am using image thumbnails for my control nav, they appear underneath the slideshow and work perfectly. http://nivo.dev7studios.com/ I would love to somehow move the thumbnail control navigation so it is inside the captions that overlay my slideshow images a...
javascript
jquery
nivoslider
nivo
null
06/29/2012 11:55:56
not a real question
Nivo Slider: Move thumbs inside caption? === I am using Nivo Slider 3.0.1 on a website for a hotel. I am using image thumbnails for my control nav, they appear underneath the slideshow and work perfectly. http://nivo.dev7studios.com/ I would love to somehow move the thumbnail control navigation so it is inside t...
1
1,976,764
12/29/2009 20:24:40
74,168
03/05/2009 10:09:31
146
12
Experience with Architecture Description Languages
Being familiar with graphical modeling tools, I recently thought about the concept of architecture description languages (ADL) where one describes architectures in a textual form in order to comprehensively document it. I see advantages in this approach since it is a formal definition of an architecture stored in a...
architecture
software-engineering
null
null
null
null
open
Experience with Architecture Description Languages === Being familiar with graphical modeling tools, I recently thought about the concept of architecture description languages (ADL) where one describes architectures in a textual form in order to comprehensively document it. I see advantages in this approach since ...
0