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,652,483
07/25/2012 14:50:44
705,297
04/13/2011 05:05:46
88
7
Call wireless settings screen with back button
If there is no wireless connection and no logged in google account when you open Play Market and choose new or existing account it opens specific wireless settings screen with back button at the bottom. ![Wireless settings with back button][1] [1]: http://i.stack.imgur.com/w0akj.png How to open same screen f...
android
settings
ice-cream-sandwich
android-wireless
null
null
open
Call wireless settings screen with back button === If there is no wireless connection and no logged in google account when you open Play Market and choose new or existing account it opens specific wireless settings screen with back button at the bottom. ![Wireless settings with back button][1] [1]: http://i.st...
0
10,613,139
05/16/2012 06:30:33
1,263,745
03/12/2012 09:28:32
45
1
how to combine results of different variables into one variable
I have following 4 variables in my controller index action which are retrieving data from different models as follows : @forum = Forum.where(:user_id => @users.collect(&:user_id)).all @poll=Poll.where(:created_by => @users.collect(&:user_id)).all @article = Article.where(:user_id => @users.collect(&:us...
ruby-on-rails
ruby
ruby-on-rails-3
controller
null
null
open
how to combine results of different variables into one variable === I have following 4 variables in my controller index action which are retrieving data from different models as follows : @forum = Forum.where(:user_id => @users.collect(&:user_id)).all @poll=Poll.where(:created_by => @users.collect(&:user_i...
0
10,768,683
05/26/2012 18:19:31
590,849
01/26/2011 15:42:56
875
20
ide for c/c++ programming in Linux
Which IDE is best for coding in c/c++ in Linux which offers the following: 1. debugging 2. code completion 3. tooltips / documentation (function definitions) Also if the IDE can be used in general for phython and perl coding also it would be the best choice available. Thank you in advance.
linux
ide
null
null
null
05/26/2012 18:42:07
not constructive
ide for c/c++ programming in Linux === Which IDE is best for coding in c/c++ in Linux which offers the following: 1. debugging 2. code completion 3. tooltips / documentation (function definitions) Also if the IDE can be used in general for phython and perl coding also it would be the best choice available. ...
4
2,442,101
03/14/2010 12:15:20
293,373
03/14/2010 12:15:20
1
0
good beginner tutorial for turbogears 2
I find myself struggling to do simple things that would normally take me about 5 minutes to do in PHP. At the moment, I'm trying to create a basic form which will print the details on another page when you click submit. Looking at the documentation, I find examples but none explaining why it works in such a way.
tutorials
turbogears
php
null
null
06/15/2011 02:59:43
not a real question
good beginner tutorial for turbogears 2 === I find myself struggling to do simple things that would normally take me about 5 minutes to do in PHP. At the moment, I'm trying to create a basic form which will print the details on another page when you click submit. Looking at the documentation, I find examples but non...
1
3,997,280
10/22/2010 13:32:24
482,935
10/21/2010 11:39:31
1
0
How to fill N x M grid efficiently with Perl?
I have a Perl script, which parses datafile and writes 5 output files filled with 1100 x 1300 grid. The script works, but in my opinion, it's clumsy and probably non-efficient. The script is also inherited code, which I have modified a little to make it more readable. Still, it's a mess. At the moment, the script re...
perl
grid
self-improvement
null
null
null
open
How to fill N x M grid efficiently with Perl? === I have a Perl script, which parses datafile and writes 5 output files filled with 1100 x 1300 grid. The script works, but in my opinion, it's clumsy and probably non-efficient. The script is also inherited code, which I have modified a little to make it more readable. ...
0
8,618,022
12/23/2011 15:57:58
1,113,644
12/23/2011 15:47:34
1
0
Regex Required to convert comma to decimal
I have a value like AGGR//FAMT/126000,21 I want result as 126000.21 Can anyone help me on this
regex
null
null
null
null
12/24/2011 02:52:18
not a real question
Regex Required to convert comma to decimal === I have a value like AGGR//FAMT/126000,21 I want result as 126000.21 Can anyone help me on this
1
4,460,769
12/16/2010 12:30:50
542,180
12/14/2010 15:51:03
1
0
Nesting objects into a single class using MVC Entity Framework
I am using MVC with the Entity framework where all the database tables become objects. I am relatively new to full OO programming but I need advise on the following. I have one data type (table) which then needs to pull in lots of information from other tables to construct a full record. For example: I have a ...
c#
oop
mvc
null
null
null
open
Nesting objects into a single class using MVC Entity Framework === I am using MVC with the Entity framework where all the database tables become objects. I am relatively new to full OO programming but I need advise on the following. I have one data type (table) which then needs to pull in lots of information from ...
0
10,700,219
05/22/2012 10:28:51
1,111,447
12/22/2011 09:36:11
137
5
How to smooth mouse movement?
So I have a new x_coord between 9ms and 30ms. That means: x_coord = *x_coord1* *pause 30ms* x_coord = *x_coord2* *pause 9ms* x_coord = *x_coord2* *pause 13ms* ... for instance: x_coord = 700 *pause 30ms* x_coord = 711 *pause 9ms* x_coord = 708 *pause 13ms* ... x_coord is ...
c#
mousemove
null
null
null
05/24/2012 13:05:19
not a real question
How to smooth mouse movement? === So I have a new x_coord between 9ms and 30ms. That means: x_coord = *x_coord1* *pause 30ms* x_coord = *x_coord2* *pause 9ms* x_coord = *x_coord2* *pause 13ms* ... for instance: x_coord = 700 *pause 30ms* x_coord = 711 *pause 9ms* x_coord = 708 ...
1
8,980,278
01/23/2012 23:49:28
1,101,107
12/16/2011 01:59:42
25
2
Preserve leading zeros SQL
I am saving a number eg. 000001 in a SQL TEXT field which causes the leading zeros to be lost. I need the TEXT type field as the data may contain letters and/or numbers. Any suggestions how I could preserve the leading zeros while still storing the data in a TEXT type field?
sql
database
null
null
null
01/24/2012 09:25:14
too localized
Preserve leading zeros SQL === I am saving a number eg. 000001 in a SQL TEXT field which causes the leading zeros to be lost. I need the TEXT type field as the data may contain letters and/or numbers. Any suggestions how I could preserve the leading zeros while still storing the data in a TEXT type field?
3
6,319,924
06/12/2011 03:20:14
733,809
05/02/2011 01:13:30
373
2
What does `new` mean in Java
I have the following: ... Scanner in = new Scanner(System.in); ... but would like to know what the term `new` above means. Also how does java-util-scanner work?
java
new-operator
java-util-scanner
null
null
06/12/2011 04:00:59
not a real question
What does `new` mean in Java === I have the following: ... Scanner in = new Scanner(System.in); ... but would like to know what the term `new` above means. Also how does java-util-scanner work?
1
10,939,166
06/07/2012 20:13:02
1,363,968
04/29/2012 09:31:02
12
0
Running Android Marketplace Crawler ('hg' directory?)
I'm having trouble figuring out how to run the Android Marketplace Crawler here: http://code.google.com/p/android-marketplace-crawler/ I think I just don't understand how the crawler is supposed to operate -- first of all, the source -- http://code.google.com/p/android-marketplace-crawler/source/checkout -- says I c...
android
crawler
null
null
null
07/08/2012 01:39:34
off topic
Running Android Marketplace Crawler ('hg' directory?) === I'm having trouble figuring out how to run the Android Marketplace Crawler here: http://code.google.com/p/android-marketplace-crawler/ I think I just don't understand how the crawler is supposed to operate -- first of all, the source -- http://code.google.co...
2
3,843,340
10/01/2010 22:04:39
464,286
10/01/2010 22:04:39
1
0
Mobile application based on bluetooth and wifi technology
I need help as I want to develop an application which based on bluetooth and wifi technologies, but I am run out of ideas. I was thinking about an application needs to share data between people something like a small social mobile network, so any ideas!!
bluetooth
wifi
mobile-application
null
null
10/04/2010 15:40:41
not a real question
Mobile application based on bluetooth and wifi technology === I need help as I want to develop an application which based on bluetooth and wifi technologies, but I am run out of ideas. I was thinking about an application needs to share data between people something like a small social mobile network, so any ideas!!
1
8,012,316
11/04/2011 16:11:18
641,769
03/02/2011 18:44:24
10
1
Chrome Debugger Date value
I am facing a strange problem. I worked with chrome debugger for hours and everything worked fine. Now it is nomore working correctly. I have a date variable and expect the value to shown like: end_date: Mon Nov 01 2010 00:00:00 GMT+0200 {} But instead it shows only "Date" as value. I can perform any functions o...
debugging
google-chrome
date
value
null
null
open
Chrome Debugger Date value === I am facing a strange problem. I worked with chrome debugger for hours and everything worked fine. Now it is nomore working correctly. I have a date variable and expect the value to shown like: end_date: Mon Nov 01 2010 00:00:00 GMT+0200 {} But instead it shows only "Date" as valu...
0
7,233,765
08/29/2011 17:47:07
918,291
08/29/2011 17:47:07
1
0
Like Us on Facebook doesn't take customers to our page
I put a Like Us On Facebook plugin on my company's website, and for some reason, it takes you to the Facebook Platform page instead of my center's Facebook page. Now I can't find where to go to fix this, and it sort of defeats the whole purpose of having the Like Us button. My company's page is Sylvan Learning Center i...
facebook-like
webpage
null
null
null
08/29/2011 18:51:09
off topic
Like Us on Facebook doesn't take customers to our page === I put a Like Us On Facebook plugin on my company's website, and for some reason, it takes you to the Facebook Platform page instead of my center's Facebook page. Now I can't find where to go to fix this, and it sort of defeats the whole purpose of having the L...
2
7,227,718
08/29/2011 08:18:16
423,620
08/18/2010 05:30:03
505
2
can i install Debian Linux and windows on same partitions?
I'm having windows operating system.i want to install Debian operating system on same partition. Is it possible?if it is not possible then using other partition can i install Debian Linux and run both windows and Linux operating system(dual boot menu).i don't want to use virtual PC. Thanks
windows
linux
debian
null
null
08/29/2011 13:11:57
off topic
can i install Debian Linux and windows on same partitions? === I'm having windows operating system.i want to install Debian operating system on same partition. Is it possible?if it is not possible then using other partition can i install Debian Linux and run both windows and Linux operating system(dual boot menu).i do...
2
8,772,691
01/07/2012 20:08:48
435,817
08/31/2010 10:30:08
72
2
rails 3: fields_for ordering after validation has failed
In my controllers create method I am creating a parent & child(ren) objects using accepts_nested_attributes. That all works fine. The children have an ordering attribute which is correctly set. However, when the validation fails (for a missing attribute say) the ordering of the child objects is *not* preserved...
ruby-on-rails
nested-attributes
fields-for
null
null
null
open
rails 3: fields_for ordering after validation has failed === In my controllers create method I am creating a parent & child(ren) objects using accepts_nested_attributes. That all works fine. The children have an ordering attribute which is correctly set. However, when the validation fails (for a missing attri...
0
11,513,524
07/16/2012 22:28:40
768,384
05/24/2011 19:21:27
111
0
what is the simplest way of videoconnecting two random users like chatroulette?
Chatroulette is done entirely in flash i can see. But i have an idea of creating a datingsite with peer to peer videoconnections beeing a central part of it. So im looking for a simple way of doing this. There must be some simple example code out there, without coding an entire flash app? Thankful for all hin...
php
html
flash
adobe
webcam
07/16/2012 22:33:50
not constructive
what is the simplest way of videoconnecting two random users like chatroulette? === Chatroulette is done entirely in flash i can see. But i have an idea of creating a datingsite with peer to peer videoconnections beeing a central part of it. So im looking for a simple way of doing this. There must be some simpl...
4
9,908,464
03/28/2012 13:24:04
706,808
04/13/2011 20:43:46
307
0
How to check different value keys in a dictionary concurrently using list comprehensions
I'm trying to accomplish a task, but having some difficulty.Can someone set me straight on the following: myFormats = {'audio': ('.wav', '.wma', '.mp3'), 'video': ('.mpg', '.mp4', '.mpeg')} myFile = '5DeadlyVenoms.mp3' # Will not find '5DeadlyVenoms.mp4' displays [] f_exten = [x for x in myFor...
python
dictionary
list-comprehension
null
null
null
open
How to check different value keys in a dictionary concurrently using list comprehensions === I'm trying to accomplish a task, but having some difficulty.Can someone set me straight on the following: myFormats = {'audio': ('.wav', '.wma', '.mp3'), 'video': ('.mpg', '.mp4', '.mpeg')} myFile = '5DeadlyVen...
0
6,641,355
07/10/2011 13:29:07
837,615
07/10/2011 13:14:44
1
0
jquery fullcalendar event filtering
Is there any method to dynamic filter events on client side in fullcalendar? When I get events from server (json_encoded) I assign my own parameter "school_id" to every event. After fullcalendar is ready, I want to dynamic filter events with "select". I add "select" element on page like this: <select id='sc...
jquery
events
filter
fullcalendar
null
null
open
jquery fullcalendar event filtering === Is there any method to dynamic filter events on client side in fullcalendar? When I get events from server (json_encoded) I assign my own parameter "school_id" to every event. After fullcalendar is ready, I want to dynamic filter events with "select". I add "select" element...
0
3,931,840
10/14/2010 09:34:34
474,166
10/13/2010 07:09:37
6
1
What is the concept of menu??
Actually for what purpose is menu used?
android
null
null
null
null
06/30/2011 21:53:37
not a real question
What is the concept of menu?? === Actually for what purpose is menu used?
1
8,873,670
01/15/2012 21:51:51
488,195
10/26/2010 22:52:39
89
4
How to translate one string from one locale into another using FastGettext?
I use [FastGettext][1] in my Rails application. I need a particular string translated into every single ``FastGettext.available_locales`` in my application. How to do that? PS: I couldn't find the solution with I18n either. [1]: https://github.com/grosser/fast_gettext
ruby-on-rails
ruby
internationalization
gettext
null
null
open
How to translate one string from one locale into another using FastGettext? === I use [FastGettext][1] in my Rails application. I need a particular string translated into every single ``FastGettext.available_locales`` in my application. How to do that? PS: I couldn't find the solution with I18n either. ...
0
10,020,913
04/04/2012 23:56:04
420,941
08/15/2010 12:09:06
391
4
how to change the 'read more' text across all pages in wordpress
In wordpress, I have the loop.php file. There I can see the 'read more' code. I changed it and it does take effect on the index page. But then If I go on the tags pages `../?tag=reference` I get the old 'continue reading' text and not the edited text of 'read more' from the loop.php This is what I have on the loop...
wordpress
null
null
null
null
null
open
how to change the 'read more' text across all pages in wordpress === In wordpress, I have the loop.php file. There I can see the 'read more' code. I changed it and it does take effect on the index page. But then If I go on the tags pages `../?tag=reference` I get the old 'continue reading' text and not the edited te...
0
2,764,558
05/04/2010 10:44:11
27,667
10/13/2008 23:48:31
969
37
Select value in designer for a Type property
I have a UserControl that exposes a `System.Type` property. I want to make it settable at design time, like the BindingSource's DataSource property. How can I achieve this?
.net
visual-studio
designer
types
null
null
open
Select value in designer for a Type property === I have a UserControl that exposes a `System.Type` property. I want to make it settable at design time, like the BindingSource's DataSource property. How can I achieve this?
0
11,260,452
06/29/2012 10:50:45
1,490,247
06/29/2012 04:15:42
1
0
javascript inventory management system
I have to make an inventory sys.There are 100 stocks maintained at Argentina and Brazil. A single ipod costs $100 in Brazil and $50 in Argentina. The cost of exporting stocks from one country to the other will cost $400 per 10 blocks. The transportation is always done in the multiples of 10. the minimum cost for purcha...
javascript
inventory
null
null
null
06/29/2012 11:07:50
not a real question
javascript inventory management system === I have to make an inventory sys.There are 100 stocks maintained at Argentina and Brazil. A single ipod costs $100 in Brazil and $50 in Argentina. The cost of exporting stocks from one country to the other will cost $400 per 10 blocks. The transportation is always done in the ...
1
9,942,125
03/30/2012 11:32:42
784,586
06/05/2011 08:48:13
138
3
how to connect to VPS linux from windows7 as a local network computer?
i have a linux VPS with cpanel/WHM installed on it, and i need to edit the files on this VPS from my home computer (windows7) just like if this VPS is a local computer on my local network. i mean from windows explorer with notepad or any other editor. thanks...
windows
linux
cpanel
vpn
vps
03/31/2012 15:00:09
not a real question
how to connect to VPS linux from windows7 as a local network computer? === i have a linux VPS with cpanel/WHM installed on it, and i need to edit the files on this VPS from my home computer (windows7) just like if this VPS is a local computer on my local network. i mean from windows explorer with notepad or any other...
1
3,961,047
10/18/2010 16:12:53
95,944
04/25/2009 12:57:54
1,843
71
easy_install does not work in Windows 7
I have Python 2.6.4 installed in C:\Python26. I have PyQt4 installed from here: http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-Py2.6-gpl-4.7.7-1.exe I have added this path to %PATH%: C:\Python26 When I type this command in cmd.exe however: easy_install cheetah I get this error...
python
pyqt4
null
null
null
null
open
easy_install does not work in Windows 7 === I have Python 2.6.4 installed in C:\Python26. I have PyQt4 installed from here: http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-Py2.6-gpl-4.7.7-1.exe I have added this path to %PATH%: C:\Python26 When I type this command in cmd.exe however: ...
0
6,388,900
06/17/2011 16:36:56
783,239
06/03/2011 19:13:58
104
0
ORDER BY and WITH(ROWLOCK, UPDLOCK, READPAST)
I need to set up a queue system using some SQL tables, like the one described [here][1]. That being, and since I need to filter queued items by different critera, inside a stored procedure I am using BEGIN TRANSACTION CREATE TABLE #Temp (ID INT, SOMEFIELD INT) INSERT INTO #Temp SELECT TOP (@Somethi...
sql-server-2005
locking
order-by
null
null
null
open
ORDER BY and WITH(ROWLOCK, UPDLOCK, READPAST) === I need to set up a queue system using some SQL tables, like the one described [here][1]. That being, and since I need to filter queued items by different critera, inside a stored procedure I am using BEGIN TRANSACTION CREATE TABLE #Temp (ID INT, SOMEFIELD...
0
7,280,513
09/02/2011 07:44:00
827,920
07/04/2011 10:15:43
4
0
Bad request error when posting xml using curl
Am pulling my hair out trying to solve this problem, am getting a bad request error when posting to XML using curl. My code is: $post_string = '<XML DATA>'; $ch = curl_init(); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: text/xml; charset=utf-8', 'SOAPAction: ""')); curl_setopt($ch...
xml
curl
null
null
null
null
open
Bad request error when posting xml using curl === Am pulling my hair out trying to solve this problem, am getting a bad request error when posting to XML using curl. My code is: $post_string = '<XML DATA>'; $ch = curl_init(); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: text/xml; chars...
0
10,751,796
05/25/2012 09:24:51
1,417,030
05/25/2012 09:19:54
1
0
set a pop up window on an item click of a list view
i want to write a programme that displays a scrollable list of the courses you took as a part of degree. For example "Comp 41150", "Comp 42343", etc. When clicked, each of item should open up a pop-up box that contains a full course name, i.e. "COMP 41150 Mobile Application Development".
android
null
null
null
null
05/28/2012 00:39:36
not a real question
set a pop up window on an item click of a list view === i want to write a programme that displays a scrollable list of the courses you took as a part of degree. For example "Comp 41150", "Comp 42343", etc. When clicked, each of item should open up a pop-up box that contains a full course name, i.e. "COMP 41150 Mobile ...
1
4,542,694
12/27/2010 23:45:29
424,303
08/18/2010 16:56:43
63
4
Getting-started: Setup Database for Node.js
I am new to node.js but am excited to try it out. I am using <a href="http://expressjs.com/">Express</a> as a web framework, and <a href="http://jade-lang.com">Jade</a> as a template engine. Both were easy to get setup following <a href="http://www.ustream.tv/recorded/11434722">this tutorial</a> from <a href="http://ca...
database
mongodb
couchdb
node.js
redis
null
open
Getting-started: Setup Database for Node.js === I am new to node.js but am excited to try it out. I am using <a href="http://expressjs.com/">Express</a> as a web framework, and <a href="http://jade-lang.com">Jade</a> as a template engine. Both were easy to get setup following <a href="http://www.ustream.tv/recorded/11...
0
2,072,878
01/15/2010 15:58:08
18,709
09/19/2008 10:03:48
232
6
IE Back Button issue in java
i am having 2 jsp pages test1.jsp and test2.jsp on test1.jsp i am posting some data and it will redirected to test2.jsp . but from test2.jsp if i clicked ie browser back button then it is showing **Web Page Expired** page so how shall i proceed to show test1.jsp on back button click? i am getting this issue in IE brow...
java
jsp
null
null
null
null
open
IE Back Button issue in java === i am having 2 jsp pages test1.jsp and test2.jsp on test1.jsp i am posting some data and it will redirected to test2.jsp . but from test2.jsp if i clicked ie browser back button then it is showing **Web Page Expired** page so how shall i proceed to show test1.jsp on back button click?...
0
959,393
06/06/2009 10:02:50
109,935
05/20/2009 13:46:46
24
6
Mac developing - building an application with toolbar
I am new to mac developing, and kind of confused. I am trying to create a program with a toolbar, but can't seem to get it working. Can anyone explain me the steps needed to do this? Beside, is there any control on the mac developing system similar to iPhones UITabBarController? Thanks, Hans Espen
mac-development
mac
nstoolbar
toolbar
null
null
open
Mac developing - building an application with toolbar === I am new to mac developing, and kind of confused. I am trying to create a program with a toolbar, but can't seem to get it working. Can anyone explain me the steps needed to do this? Beside, is there any control on the mac developing system similar to iPhones...
0
6,678,353
07/13/2011 11:47:41
829,821
07/05/2011 13:48:10
8
0
Can I use MediaPlayer play video from stream line
Here is my code. This code have to wait until Vdo is transferred then it can play How can i modify it to play video from stream line videoV = (SurfaceView) findViewById(R.id.SurfaceView1); Log.d("Connecting.... 0 " , ""); sh = videoV.getHolder(); b = (Button)findViewById(R.id....
android
sockets
video
streaming
null
null
open
Can I use MediaPlayer play video from stream line === Here is my code. This code have to wait until Vdo is transferred then it can play How can i modify it to play video from stream line videoV = (SurfaceView) findViewById(R.id.SurfaceView1); Log.d("Connecting.... 0 " , ""); sh = vide...
0
10,089,043
04/10/2012 12:44:00
1,324,053
04/10/2012 12:31:30
1
0
How can I get through a proxy server?
I am working in a company, where all my browsing is through a proxy server. Currently, I am trying to run an application on windows 2000, in which I have to specify a url of remote server to get connected to it. This application is run on my home laptop with a simple usb modem like MTS broadband, it works fine, i.e con...
proxy
null
null
null
null
07/22/2012 03:10:35
off topic
How can I get through a proxy server? === I am working in a company, where all my browsing is through a proxy server. Currently, I am trying to run an application on windows 2000, in which I have to specify a url of remote server to get connected to it. This application is run on my home laptop with a simple usb modem...
2
9,954,949
03/31/2012 10:04:59
777,304
05/31/2011 08:18:13
11
0
Execute command after every 1 minute in C#
I am working on a project with serial port. I want to Write command to serial port after every 1, 2 or x minute. serialport1.write("AT"); I have a Timer and I am show Date and Time in my form with that timer . If there is any way to send above command with that timer or by using datetime. I read lot of po...
c#
datetime
timer
serial-port
timertask
null
open
Execute command after every 1 minute in C# === I am working on a project with serial port. I want to Write command to serial port after every 1, 2 or x minute. serialport1.write("AT"); I have a Timer and I am show Date and Time in my form with that timer . If there is any way to send above command with that...
0
334,171
12/02/2008 14:49:09
5,056
09/07/2008 15:43:17
2,151
107
Outsourcing a project that needs an improvement in code quality
As my company's sole internal developer one of my main tasks is the maintenance of a medium sized inventory tracking .NET web forms application. The application itself was coded initially by a half-insane programmer with questionable credentials using many techniques (including such high-minded concepts as Ajax and ...
outsourcing
null
null
null
null
09/23/2011 05:08:44
off topic
Outsourcing a project that needs an improvement in code quality === As my company's sole internal developer one of my main tasks is the maintenance of a medium sized inventory tracking .NET web forms application. The application itself was coded initially by a half-insane programmer with questionable credentials us...
2
10,067,700
04/09/2012 00:27:18
553,877
12/25/2010 16:21:42
390
6
Git: push a different changeset to heroku
I want to push a previous version of my repository. How can I push to heroku a previous changeset? something like: > git push heroku 07226c49428354b09349ec45078122ce7cd410c8 thanks!
git
heroku
changeset
null
null
null
open
Git: push a different changeset to heroku === I want to push a previous version of my repository. How can I push to heroku a previous changeset? something like: > git push heroku 07226c49428354b09349ec45078122ce7cd410c8 thanks!
0
11,112,873
06/20/2012 04:36:16
1,467,995
06/20/2012 02:41:20
1
0
How do you use rand() function to ask different questions each time?
What code is used for this type of problem? Also where do you place the code for the rand() in the top or bottom?
c++
null
null
null
null
06/20/2012 06:10:23
not a real question
How do you use rand() function to ask different questions each time? === What code is used for this type of problem? Also where do you place the code for the rand() in the top or bottom?
1
8,184,424
11/18/2011 15:00:09
108,915
05/18/2009 17:01:57
3,291
119
Access a Windows dll from Java under Linux (probably through Wine)
I've managed to run JavaFX 2.0 under Linux by following [this guide][1]. It works nicely by running a Windows version of Java by using Wine. This Java process can pick up the native .dll files of the Windows version of JavaFX. Now I wonder if there is a different solution that runs a Linux version of Java but someho...
java
linux
jni
wine
winelib
null
open
Access a Windows dll from Java under Linux (probably through Wine) === I've managed to run JavaFX 2.0 under Linux by following [this guide][1]. It works nicely by running a Windows version of Java by using Wine. This Java process can pick up the native .dll files of the Windows version of JavaFX. Now I wonder if th...
0
9,238,510
02/11/2012 07:11:46
1,203,462
02/11/2012 07:05:20
1
0
Android Webview explicit page unload or stop previous page java script activities
I have a web based android application which uses Webview, it connects to a remote HTTP Server and brings HTML pages to be rendered in Webview. Each HTML page have some controls and every control action triggers a HTTP POST ajax request to the server. When the page loads, it first issues HTTP POST ajax requests to upda...
android
ajax
webview
unload
null
null
open
Android Webview explicit page unload or stop previous page java script activities === I have a web based android application which uses Webview, it connects to a remote HTTP Server and brings HTML pages to be rendered in Webview. Each HTML page have some controls and every control action triggers a HTTP POST ajax requ...
0
4,024,439
10/26/2010 14:00:33
150,358
08/04/2009 13:31:31
143
5
How shall I setup user event notifications in my code?
I'm coding a team collaboration web app in PHP, and I have a few events that users get notified about through email and/or SMS. The current way I'm doing it is as follows: - Every user has his notification settings in the database as boolean variables. - Say users would be notified when someone comments on the team...
php
notifications
null
null
null
null
open
How shall I setup user event notifications in my code? === I'm coding a team collaboration web app in PHP, and I have a few events that users get notified about through email and/or SMS. The current way I'm doing it is as follows: - Every user has his notification settings in the database as boolean variables. - S...
0
7,911,882
10/27/2011 05:01:51
900,199
08/18/2011 08:30:19
28
1
Find an item in a text
I'm having a list and a text. For example, **ListA:** apple, fruit > **Text:** Apple is a fruit I need to match the item in the list to the text and highlight it like '**Apple** is a **fruit**' . How can I do this?
c#
javascript
jquery
linq
null
10/27/2011 05:16:14
not a real question
Find an item in a text === I'm having a list and a text. For example, **ListA:** apple, fruit > **Text:** Apple is a fruit I need to match the item in the list to the text and highlight it like '**Apple** is a **fruit**' . How can I do this?
1
11,682,785
07/27/2012 06:48:17
309,131
04/05/2010 09:51:47
63
0
Need design guidance on passing binary content back and forth between VB6 and .NET
I have C# .NET COM visible utility DLL and It is used in a VB6 application. The scenario goes like this: - BLOB field has a binary content of a file. - VB6 application reads the BLOB into record set. - Pass the binary content to .NET DLL. - .NET DLL process the binary content and the result is sent back ...
c#
.net
com
vb6
interop
07/27/2012 12:16:50
not constructive
Need design guidance on passing binary content back and forth between VB6 and .NET === I have C# .NET COM visible utility DLL and It is used in a VB6 application. The scenario goes like this: - BLOB field has a binary content of a file. - VB6 application reads the BLOB into record set. - Pass the binary c...
4
6,973,693
08/07/2011 15:23:32
353,528
05/29/2010 10:38:24
16
0
Displaying a blob image in a jsp page using Spring MVC 3
I have a class with (amongst others) the field picture which is retreived from the database: public class Person { String name; Blob picture; } So then I haven a controller where I add the person object to the model @RequestMapping(value = "/online", method = RequestMethod.GET) ...
spring
jsp
spring-mvc
null
null
null
open
Displaying a blob image in a jsp page using Spring MVC 3 === I have a class with (amongst others) the field picture which is retreived from the database: public class Person { String name; Blob picture; } So then I haven a controller where I add the person object to the model @Reque...
0
7,605,736
09/30/2011 03:46:52
433,998
08/29/2010 00:30:38
18
1
Drupal - accessing a standalone php file
How would you reference an actual file in a Drupal project? I have a flash app that needs to talk to a php script, but I can't just say "http://{domain}/{filepath}/{file}" or even "http://{domain}/{file}" assuming there was some assumed pathing structure. To get more specific, the file lives in /sites/all/flash/p...
php
drupal
null
null
null
null
open
Drupal - accessing a standalone php file === How would you reference an actual file in a Drupal project? I have a flash app that needs to talk to a php script, but I can't just say "http://{domain}/{filepath}/{file}" or even "http://{domain}/{file}" assuming there was some assumed pathing structure. To get more ...
0
9,443,131
02/25/2012 10:17:36
371,239
06/19/2010 21:09:18
452
2
Boost Spirit Auto Parser fails for a tuple of doubles
At the following code I am trying to use [Boost Spirit Auto Parser][1] for a sequence or two doubles, but it doesn't compile. What am I doing wrong here? // file main.cpp #include <boost/tuple/tuple.hpp> #include <boost/spirit/include/qi.hpp> namespace qi = boost::spirit::qi; in...
c++
parsing
auto
boost-spirit-qi
boost-tuples
null
open
Boost Spirit Auto Parser fails for a tuple of doubles === At the following code I am trying to use [Boost Spirit Auto Parser][1] for a sequence or two doubles, but it doesn't compile. What am I doing wrong here? // file main.cpp #include <boost/tuple/tuple.hpp> #include <boost/spirit/include/qi.hpp>...
0
7,677,182
10/06/2011 16:05:37
982,519
10/06/2011 15:49:57
1
0
J2EE authentication and authorization
I am creating a website using J2EE. I have created a table in a PostgreSQL database for the user data(username, password, role). I want to make a security realm or something like that in which to put some of the servlets. If a user sends a request to one of the servlets in the security realm and is not loged in, I want...
authentication
java-ee
authorization
web
null
10/07/2011 15:12:33
not constructive
J2EE authentication and authorization === I am creating a website using J2EE. I have created a table in a PostgreSQL database for the user data(username, password, role). I want to make a security realm or something like that in which to put some of the servlets. If a user sends a request to one of the servlets in the...
4
4,126,509
11/08/2010 17:54:40
312,381
04/08/2010 23:47:32
1
3
Image compression software
I need an image compression program that works in Linux that is capable of compressing all the major image formats. I need it for my tomcat webserver so if it was a Java implementation, that would be great (I know, not likely). I have looked around and only came across GraphicsMagick/ImageMagick (which are excellent) b...
java
linux
tomcat
compression
graphicsmagick
null
open
Image compression software === I need an image compression program that works in Linux that is capable of compressing all the major image formats. I need it for my tomcat webserver so if it was a Java implementation, that would be great (I know, not likely). I have looked around and only came across GraphicsMagick/Ima...
0
1,642,304
10/29/2009 08:34:34
181,748
09/30/2009 10:59:53
44
0
PHP Object Validation
I'm currently working on an OO PHP application. I have a class called validation which I would like to use to check all of the data submitted is valid, however I obviously need somewhere to define the rules for each property to be checked. At the moment, I'm using arrays during the construction of a new object. eg: ...
php
object
validation
null
null
null
open
PHP Object Validation === I'm currently working on an OO PHP application. I have a class called validation which I would like to use to check all of the data submitted is valid, however I obviously need somewhere to define the rules for each property to be checked. At the moment, I'm using arrays during the construc...
0
6,086,212
05/22/2011 05:16:28
591,656
01/27/2011 04:04:03
692
50
Parse Enum with FlagsAttribute to a SqlParameter
I've got an Enum with Flags attribute. [Flags] public enum AlcoholStatus { NotRecorded = 1, Drinker = 2, NonDrinker = 4 } I am creating a Sqlparameter as below. new SqlParameter("@AlcoholStatus", SqlDbType.VarChar) {Value = (int) Alcoh...
c#
sql
sql-server
stored-procedures
enums
null
open
Parse Enum with FlagsAttribute to a SqlParameter === I've got an Enum with Flags attribute. [Flags] public enum AlcoholStatus { NotRecorded = 1, Drinker = 2, NonDrinker = 4 } I am creating a Sqlparameter as below. new SqlParameter("@A...
0
4,886,263
02/03/2011 12:40:44
307,203
04/01/2010 19:25:46
27
2
Basic Web Design Question
I have a few basic questions about web design. 1. What is the optimum size of web page in kB? 2. What resolutions are most commonly used? (best to use?) Thank you!
css
design
web
resolution
null
02/03/2011 13:57:24
not constructive
Basic Web Design Question === I have a few basic questions about web design. 1. What is the optimum size of web page in kB? 2. What resolutions are most commonly used? (best to use?) Thank you!
4
8,666,548
12/29/2011 10:20:09
950,176
09/17/2011 11:26:09
61
5
How to resolve screen ghosting issue in Kindle?
I am using KRepaintManager.paintImmediately(root, true) from start() in my main class that extends AbstractKindlet to refresh the screen, but there are still ghosting issue there. When pressing and dismissing Menu - the screen clears up. I am wondering what code is doing after the Menu is dismissed? How to resol...
kindle
kindle-fire
kindle-kdk
null
null
null
open
How to resolve screen ghosting issue in Kindle? === I am using KRepaintManager.paintImmediately(root, true) from start() in my main class that extends AbstractKindlet to refresh the screen, but there are still ghosting issue there. When pressing and dismissing Menu - the screen clears up. I am wondering what code i...
0
10,322,202
04/25/2012 19:09:09
899,890
08/18/2011 04:40:13
11
0
HTML+JavaScript GUI Advice
I'm working on a music editor/sequencer app that will be written in JavaScript+HTML5 and will make use of the canvas element and Chrome's Web Audio API (I already have a [simple prototype working](http://www.cs.mcgill.ca/~mcheva/musictoy/main.html)). One of the things I'm not so sure about is how to implement the GU...
javascript
html5
gui
tabs
null
null
open
HTML+JavaScript GUI Advice === I'm working on a music editor/sequencer app that will be written in JavaScript+HTML5 and will make use of the canvas element and Chrome's Web Audio API (I already have a [simple prototype working](http://www.cs.mcgill.ca/~mcheva/musictoy/main.html)). One of the things I'm not so sure ...
0
10,474,166
05/06/2012 20:47:55
1,186,127
02/02/2012 20:56:36
15
2
Java: Getting multiple lines from socket
I have a Java application that consists of a client and a server. The client sends encrypted commands to the server, and the server executes them. The problem that I am having right now is that, with my encryption algorithm, sometimes the encrypted command contains "\n" or "\r" characters, which mess up my server co...
java
sockets
line
null
null
null
open
Java: Getting multiple lines from socket === I have a Java application that consists of a client and a server. The client sends encrypted commands to the server, and the server executes them. The problem that I am having right now is that, with my encryption algorithm, sometimes the encrypted command contains "\n" ...
0
84,859
09/17/2008 16:05:45
88,252
09/17/2008 15:52:45
1
0
Writing data over RxTx using usbserial?
I'm using the RxTx library over usbserial on a Linux distro. The RxTx lib seems to behave quite differently (in a bad way) than how it works over serial. One of my biggest problems is that the RxTx SerialPortEvent.OUTPUT_BUFFER_EMPTY does not work on linux over usbserial. How do I know when I should write to the ...
linux
usbserial
data-available
rxtx
null
null
open
Writing data over RxTx using usbserial? === I'm using the RxTx library over usbserial on a Linux distro. The RxTx lib seems to behave quite differently (in a bad way) than how it works over serial. One of my biggest problems is that the RxTx SerialPortEvent.OUTPUT_BUFFER_EMPTY does not work on linux over usbserial....
0
4,744,913
01/20/2011 08:35:03
330,867
05/02/2010 15:24:00
274
17
Java : Is there a way to automatically cast a return value ?
I have two classes : public abstract class Arguments { public List execute() { // do some stuff and return a list } } // and a child : public class ItemArguments { public List<Item> execute() { return super.execute(); } } ...
java
inheritance
types
null
null
null
open
Java : Is there a way to automatically cast a return value ? === I have two classes : public abstract class Arguments { public List execute() { // do some stuff and return a list } } // and a child : public class ItemArguments { public List<Item> exec...
0
6,809,982
07/24/2011 21:52:17
689,991
04/03/2011 16:19:35
413
4
Picking a good book for Information System Design
I am a Computer Science student. In this semester I am taking a course named : Information System Design. Teachers refereed to [System Analysis Design by Alan Dennis](http://www.amazon.com/Systems-Analysis-Design-Alan-Dennis/dp/0470228547) for this course. But I dont like this book at all. Whenever I am reading it I fe...
books
suggestions
null
null
null
07/26/2011 09:43:18
off topic
Picking a good book for Information System Design === I am a Computer Science student. In this semester I am taking a course named : Information System Design. Teachers refereed to [System Analysis Design by Alan Dennis](http://www.amazon.com/Systems-Analysis-Design-Alan-Dennis/dp/0470228547) for this course. But I do...
2
7,686,771
10/07/2011 11:45:42
983,900
10/07/2011 11:37:24
1
0
Table Syntax in Loop
I am trying to use a loop for table syntax. I have to run set of variables 18 times on filter, but instead of writing 18 times i will write one time and run in loop. Please guide me for which command or loop syntax to be used. Thanks in advance and waiting for responses. Regards Bharadwaj
spss
null
null
null
null
10/07/2011 17:28:18
not a real question
Table Syntax in Loop === I am trying to use a loop for table syntax. I have to run set of variables 18 times on filter, but instead of writing 18 times i will write one time and run in loop. Please guide me for which command or loop syntax to be used. Thanks in advance and waiting for responses. Regards ...
1
545,254
02/13/2009 09:03:05
64,979
02/11/2009 09:35:15
26
5
Sinatra success stories
Have you used Sinatra successfully? What kind of a project was it? In what situations would you recommend using Sinatra instead of Rails or Merb? (Yes, there is a list at http://www.sinatrarb.com/wild.html, but I'd like to hear a bit more about them. I also suspect that there are lots of successful Sinatra projects ...
ruby
sinatra
web-frameworks
null
null
05/23/2011 13:14:15
off topic
Sinatra success stories === Have you used Sinatra successfully? What kind of a project was it? In what situations would you recommend using Sinatra instead of Rails or Merb? (Yes, there is a list at http://www.sinatrarb.com/wild.html, but I'd like to hear a bit more about them. I also suspect that there are lots of...
2
1,932,346
12/19/2009 08:14:13
232,700
12/16/2009 06:49:15
1
0
Sending Multiple Commands in TCPClient
I am trying to use private TcpClient tcpClient; in a class and every time when I send a command like LIST, RETR, STOR, I used to lock the TCPCLient for that particular time of execution of commands and getting response. Now when I send the other command in between the one is executing, It doesn't able to lock...
tcpclient
null
null
null
null
null
open
Sending Multiple Commands in TCPClient === I am trying to use private TcpClient tcpClient; in a class and every time when I send a command like LIST, RETR, STOR, I used to lock the TCPCLient for that particular time of execution of commands and getting response. Now when I send the other command in between t...
0
10,701,023
05/22/2012 11:21:25
1,224,003
02/21/2012 17:48:34
324
53
check if bitmap is null
Bitmap bmp; bmp = (Android.Graphics.Bitmap)data.Extras.Get("data"); CallToFunction (bmp); Calling a function with Bitmap. private void CallToFunction(Bitmap bmp) { if(bmp) { } }
android
monodroid
null
null
null
05/22/2012 23:08:23
not a real question
check if bitmap is null === Bitmap bmp; bmp = (Android.Graphics.Bitmap)data.Extras.Get("data"); CallToFunction (bmp); Calling a function with Bitmap. private void CallToFunction(Bitmap bmp) { if(bmp) { } }
1
6,242,799
06/05/2011 12:07:21
66,593
02/15/2009 08:10:45
813
2
Question on sorting.. confused!!
There is a question and I have the solution to it also, but I am confused and I am not able to understand it.. Please if anybody can put their thoughts forward.... ---- Question There are 128 placyers participating in a tennis tournament. Assume that the "x beats y" relationship is transitive, i.e., for all play...
algorithm
puzzle
null
null
null
06/05/2011 23:51:35
not a real question
Question on sorting.. confused!! === There is a question and I have the solution to it also, but I am confused and I am not able to understand it.. Please if anybody can put their thoughts forward.... ---- Question There are 128 placyers participating in a tennis tournament. Assume that the "x beats y" relation...
1
6,805,483
07/24/2011 07:22:59
860,026
07/24/2011 07:13:34
1
0
How to Download FTP files recursively from given date to current date
I am new in c#, I want download files in subdirectories from ftp ; Than I want to download ftp files one by one from given date to current date. There are more than 50 folders in ftp site. I am using these code for downloading ftp files but the problem is I need to create more than 50 backgrounds for ea...
c#
null
null
null
null
08/27/2011 15:06:11
not a real question
How to Download FTP files recursively from given date to current date === I am new in c#, I want download files in subdirectories from ftp ; Than I want to download ftp files one by one from given date to current date. There are more than 50 folders in ftp site. I am using these code for downloading ftp fi...
1
11,607,761
07/23/2012 06:57:34
1,545,113
07/23/2012 06:36:55
1
0
How can I addchild ccsprite above keyboard?
I development ios application. I want to put ccsprite above keyboard. like this [picture.][1] is this possible? please your advice. Thanks. [1]: http://comang.kr/a1.png
iphone
ios
keyboard
cocos2d
ccsprite
null
open
How can I addchild ccsprite above keyboard? === I development ios application. I want to put ccsprite above keyboard. like this [picture.][1] is this possible? please your advice. Thanks. [1]: http://comang.kr/a1.png
0
6,785,358
07/22/2011 03:31:45
857,213
07/22/2011 03:31:45
1
0
Permutate a String upper and lower case
i have a string "abc" i want to write a program (if possible in java) who permute the String for example ... abc ABC Abc aBc abC ABc abC AbC any help to do it will be much appreciated :D
permutation
uppercase
lowercase
null
null
null
open
Permutate a String upper and lower case === i have a string "abc" i want to write a program (if possible in java) who permute the String for example ... abc ABC Abc aBc abC ABc abC AbC any help to do it will be much appreciated :D
0
6,254,595
06/06/2011 15:49:18
117,039
06/04/2009 03:26:15
2,158
4
how do you use the return
When we define our methods, we have a chance to use the `return` to tell the user what's the result. I always attempt to use this existing method to give max feedback to the caller. So I like to define a application level return status enum which is shared by all the components: public enum ReturnStatusEnum ...
java
programming-languages
null
null
null
06/06/2011 18:47:11
not constructive
how do you use the return === When we define our methods, we have a chance to use the `return` to tell the user what's the result. I always attempt to use this existing method to give max feedback to the caller. So I like to define a application level return status enum which is shared by all the components: pu...
4
9,684,442
03/13/2012 13:01:05
1,130,069
01/04/2012 13:55:37
89
0
strange token in: for(; max != 0 ; max/=10, pow10*=10)
for(; max != 0 ; max/=10, pow10*=10) Pulled this exerpt from the wiki page on "Radix sort." I've not seen a loop that starts with a semicolon like that before. The compiler didn't catch it so I'm assuming it's legal. Can anyone explain? Also, as I've only written fairly simple loops I didn't realize that y...
c++
loops
syntax
null
null
null
open
strange token in: for(; max != 0 ; max/=10, pow10*=10) === for(; max != 0 ; max/=10, pow10*=10) Pulled this exerpt from the wiki page on "Radix sort." I've not seen a loop that starts with a semicolon like that before. The compiler didn't catch it so I'm assuming it's legal. Can anyone explain? Also, as I...
0
447,982
01/15/2009 18:53:28
8,151
09/15/2008 15:16:47
1,104
78
LINQ to SQL Primary Key requirement for inserts fails
I'm working on better understanding Linq-to-SQL before using on a real project, so I'm playing with it on a little side project. I've a table that I'm trying to update via DataContext.SubmitChanges() and it's failing due to primary key constraints. I have no control over the table itself (I can't add an actual ID...
linq-to-sql
c#
insert
null
null
01/15/2009 19:10:40
off topic
LINQ to SQL Primary Key requirement for inserts fails === I'm working on better understanding Linq-to-SQL before using on a real project, so I'm playing with it on a little side project. I've a table that I'm trying to update via DataContext.SubmitChanges() and it's failing due to primary key constraints. I have...
2
5,840,115
04/30/2011 06:47:28
669,017
03/21/2011 07:25:29
1
0
Command-line Arguments
i want to write a grep in c that it's syntax is (grep (directory) "text") that can search in txt files in this directory and if can find "text" in them print the name of files that contain it i should do it by pointers but without structure can you help me i really need it thanks alot
c
null
null
null
null
04/30/2011 06:56:34
not a real question
Command-line Arguments === i want to write a grep in c that it's syntax is (grep (directory) "text") that can search in txt files in this directory and if can find "text" in them print the name of files that contain it i should do it by pointers but without structure can you help me i really need it thanks al...
1
10,462,833
05/05/2012 14:33:30
1,361,440
04/27/2012 15:10:57
8
0
Adding method causes Compilation Error C# ASP
I am trying to create a `webpage`, but when i create a `button` and add a `method` to it a `compilation error occurs`, when i remove the `method` from the button it work fine i tried these steps 1. tried delete page, and redo it from from beginning 2. find the error `CS1061` online 3.adding method to button wi...
c#
sql
c#-4.0
asp-classic
compiler-errors
null
open
Adding method causes Compilation Error C# ASP === I am trying to create a `webpage`, but when i create a `button` and add a `method` to it a `compilation error occurs`, when i remove the `method` from the button it work fine i tried these steps 1. tried delete page, and redo it from from beginning 2. find the er...
0
11,441,166
07/11/2012 20:42:47
315,913
04/13/2010 21:12:58
67
2
balanced payments PHP API examples
Besides the <a href="https://www.balancedpayments.com/docs/php#quickstart">useful code snippets on the balanced API for PHP</a> are there any end-to-end examples that I could follow and incorporate into my application? I have downloaded the samples at github https://github.com/balanced/balanced-php. However I'm not...
php
null
null
null
null
07/11/2012 23:08:05
not a real question
balanced payments PHP API examples === Besides the <a href="https://www.balancedpayments.com/docs/php#quickstart">useful code snippets on the balanced API for PHP</a> are there any end-to-end examples that I could follow and incorporate into my application? I have downloaded the samples at github https://github.co...
1
6,695,403
07/14/2011 15:03:58
73,535
03/04/2009 06:07:06
950
59
ASP.NET Session ending abruptly
My application's session is ending abruptly and don't see any error being generated in Application_Error in Global.asax. Also, the Session_Start event fires but not Session_End. It happens after I host the application on a server and does not happen on my dev machine. The steps to generate this auto exit is to swi...
asp.net
session
session-timeout
null
null
null
open
ASP.NET Session ending abruptly === My application's session is ending abruptly and don't see any error being generated in Application_Error in Global.asax. Also, the Session_Start event fires but not Session_End. It happens after I host the application on a server and does not happen on my dev machine. The steps...
0
7,368,659
09/10/2011 00:01:23
766,120
05/23/2011 13:51:37
692
35
my_udf_init not called
This is my first time trying to create an udf for mysql. The docs state that `my_func_init` gets called prior to executing the main function, yet in my environment this does not seem to happen. long long charmatch(UDF_INIT *initid, UDF_ARGS *args, char *is_null, char *error) { return 42; }...
mysql
c
udf
null
null
null
open
my_udf_init not called === This is my first time trying to create an udf for mysql. The docs state that `my_func_init` gets called prior to executing the main function, yet in my environment this does not seem to happen. long long charmatch(UDF_INIT *initid, UDF_ARGS *args, char *is_null, char *error) ...
0
10,637,670
05/17/2012 14:28:23
1,377,403
05/05/2012 22:41:24
26
1
Which FP language follows lambda calculus the closest?
Which FP language follows lambda calculus the closest in terms of its code looking, feeling, acting like lambda calculus abstractions? I've heard Haskell is the closest and purest and Lisp . . . not so much. And if allowed, I'd also like to hear opinions on whether this matters or not.
functional-programming
lambda-calculus
null
null
null
05/22/2012 12:58:56
not constructive
Which FP language follows lambda calculus the closest? === Which FP language follows lambda calculus the closest in terms of its code looking, feeling, acting like lambda calculus abstractions? I've heard Haskell is the closest and purest and Lisp . . . not so much. And if allowed, I'd also like to hear opinions on wh...
4
3,335,578
07/26/2010 14:09:24
112,922
05/27/2009 06:06:20
1
0
ASP.NET or PHP? Soft for Real Estate Agencies
Soon I begin create CRM for Real Estate Agencies sphere. In my backround 2 years of PHP-programming & then 5 years of ASP.NET (intranet applications). & I think maybe ASP.NET (i write code on C#) have good IDE (VS 2010), but this is monster :) My application will be multiplayer webapplication for different real es...
php
asp.net
real-estate
null
null
07/27/2010 14:57:53
not constructive
ASP.NET or PHP? Soft for Real Estate Agencies === Soon I begin create CRM for Real Estate Agencies sphere. In my backround 2 years of PHP-programming & then 5 years of ASP.NET (intranet applications). & I think maybe ASP.NET (i write code on C#) have good IDE (VS 2010), but this is monster :) My application will ...
4
5,138,699
02/28/2011 05:54:57
518,581
11/24/2010 10:08:13
1
0
Future of Mobile development Coding - .net or Java?
I’m a front end developer with midlevel to advanced knowledge in popular programming tools like PHP, java, VB.net, C# and Action Script 3. Now I’m planning to invest some time seriously in mobile development and have to concentrate in one of the above programming languages (except PHP, as I guess it’s not having that ...
java
.net
programming-languages
windows-mobile
mobile-development
02/28/2011 06:12:51
not constructive
Future of Mobile development Coding - .net or Java? === I’m a front end developer with midlevel to advanced knowledge in popular programming tools like PHP, java, VB.net, C# and Action Script 3. Now I’m planning to invest some time seriously in mobile development and have to concentrate in one of the above programmin...
4
11,372,944
07/07/2012 06:52:52
1,063,545
11/24/2011 08:53:03
179
2
Calculate time period list between 2 time in php?
I want to generate 3 time-period-list column between two times. if $start_time = '08:00 AM';' $end_time = '10:00: PM'; Time Period List As: Time-interval 30min [12:00 PM - 12:30 PM - 1:00 PM] Morning ----- Noon ----- Eve 8:00 AM 1:00 PM 6:00 PM ... ...
php
date
time
period
null
null
open
Calculate time period list between 2 time in php? === I want to generate 3 time-period-list column between two times. if $start_time = '08:00 AM';' $end_time = '10:00: PM'; Time Period List As: Time-interval 30min [12:00 PM - 12:30 PM - 1:00 PM] Morning ----- Noon ----- Eve...
0
133,194
09/25/2008 13:04:20
22,062
09/25/2008 08:59:14
1
0
Embedded Outlook View Control
I am trying to make an Outlook 2003 add-in using Visual Studio 2008 on Windows XP SP3. My add-in is using custom Folder Home Page which displays my custom form, which wraps Outlook View Control. When I try to set Folder property of the OVC, I get COM Exception with 'Unknown Error' description every time. I am usi...
c#
.net
outlook
addin
null
null
open
Embedded Outlook View Control === I am trying to make an Outlook 2003 add-in using Visual Studio 2008 on Windows XP SP3. My add-in is using custom Folder Home Page which displays my custom form, which wraps Outlook View Control. When I try to set Folder property of the OVC, I get COM Exception with 'Unknown Erro...
0
8,736,644
01/05/2012 01:48:29
542,687
12/14/2010 23:22:38
443
0
C++: Using const on local variables
Similar to <a href="http://stackoverflow.com/questions/1554750/c-const-keyword-use-liberally">this question</a>, what are the pro/cons to using const local variables like in <a href="http://stackoverflow.com/questions/1554750/c-const-keyword-use-liberally/1556259#1556259">this answer</a>?
c++
coding-style
syntax
const
null
01/08/2012 05:22:14
not a real question
C++: Using const on local variables === Similar to <a href="http://stackoverflow.com/questions/1554750/c-const-keyword-use-liberally">this question</a>, what are the pro/cons to using const local variables like in <a href="http://stackoverflow.com/questions/1554750/c-const-keyword-use-liberally/1556259#1556259">this a...
1
11,265,864
06/29/2012 16:52:33
78,162
03/14/2009 23:55:56
7,187
331
All-or-none exclusive lock on 2 SQL tables
My simplistic testing suggested that I can acquire an exclusive lock on 2 tables or postpone acquiring the lock on either until both can be acquired at once by using a query like this: SELECT AutoKey, OnHand FROM ONNM(XLOCK) CROSS JOIN OITM(XLOCK) WHERE ObjectCode IN ('20', '10000048') AND ItemCode = @ItemC...
sql
sql-server
locking
deadlock
null
06/29/2012 23:52:26
off topic
All-or-none exclusive lock on 2 SQL tables === My simplistic testing suggested that I can acquire an exclusive lock on 2 tables or postpone acquiring the lock on either until both can be acquired at once by using a query like this: SELECT AutoKey, OnHand FROM ONNM(XLOCK) CROSS JOIN OITM(XLOCK) WHERE Object...
2
8,234,099
11/22/2011 21:32:21
1,024,973
11/02/2011 05:14:28
11
0
Resintalling Vim
I'm trying to reinstall vim in ubuntu 11.10, but am having trouble. From the software center I click on install, and I get the error message: "Failed to download package files. Check your internet connection". (my internet connection is fine. Then, I click on OK, and this message comes up: "Requires Installation of ...
vim
ubuntu
ubuntu-11.10
null
null
11/24/2011 09:34:11
off topic
Resintalling Vim === I'm trying to reinstall vim in ubuntu 11.10, but am having trouble. From the software center I click on install, and I get the error message: "Failed to download package files. Check your internet connection". (my internet connection is fine. Then, I click on OK, and this message comes up: "Req...
2
7,295,012
09/03/2011 18:28:25
832,976
07/07/2011 06:39:42
1
0
fetching data between two user
I tried a lot to fetch data from sql server between two user. Please give me some logic. Here is scenario In Msgtable ............................MsgId,UserId,ToUserId, Text, RoomId 1 1 2 xyz 1 2 2 1 abc 1 ...
c#
asp.net
sql
null
null
09/03/2011 22:18:08
not a real question
fetching data between two user === I tried a lot to fetch data from sql server between two user. Please give me some logic. Here is scenario In Msgtable ............................MsgId,UserId,ToUserId, Text, RoomId 1 1 2 xyz 1 2 2 ...
1
3,157,081
07/01/2010 10:54:00
336,569
05/09/2010 09:17:57
1
0
files/folder creation in Windows OS
can anyone provides me details of files and folder which not allow to create in Window OS. Except these * PRN * AUX * NUL * LPT1 * COM1 * Potential drive letter - A: to Z: * A number of others
windows
null
null
null
null
11/11/2011 13:59:42
off topic
files/folder creation in Windows OS === can anyone provides me details of files and folder which not allow to create in Window OS. Except these * PRN * AUX * NUL * LPT1 * COM1 * Potential drive letter - A: to Z: * A number of others
2
5,839,987
04/30/2011 06:16:30
97,526
04/29/2009 05:48:00
899
18
Tell a friend in django
I am looking for a generic Tell a Friend application in django which will allow my website users to tell about website features to one's mail or social networking friends.... Thanks in advance...
python
django
email
contacts
social-networking
null
open
Tell a friend in django === I am looking for a generic Tell a Friend application in django which will allow my website users to tell about website features to one's mail or social networking friends.... Thanks in advance...
0
11,552,288
07/19/2012 00:23:47
209,591
11/12/2009 13:17:52
1,359
43
DDD, Saga & Event-sourcing: Can a Compensate Action simply be a delete on the event store?
I realize the above question probably raises a few 'what??'s, but let me try to explain : I'm trying to wrap my head on a couple of related concepts, basically the Saga-pattern ( http://www.rgoarchitects.com/Files/SOAPatterns/Saga.pdf) in combination with Event-sourcing (A DDD-concept: http://en.wikipedia.org/wiki/D...
domain-driven-design
cqrs
event-sourcing
saga
null
07/19/2012 02:01:14
off topic
DDD, Saga & Event-sourcing: Can a Compensate Action simply be a delete on the event store? === I realize the above question probably raises a few 'what??'s, but let me try to explain : I'm trying to wrap my head on a couple of related concepts, basically the Saga-pattern ( http://www.rgoarchitects.com/Files/SOAPatt...
2
1,097,252
07/08/2009 10:24:23
87,271
04/05/2009 11:51:35
1
0
Grails - Lift: Which framework is better suited for which kind of applications?
I have been using Grails for the past few months and I really like it, specially GORM. However, I am getting interested into Scala's Lift. Therefore, I would like to know your opinion about which kind of web apps are better suited for which of those two frameworks or it is just a matter of taste, which framework to use...
grails
lift
null
null
null
01/26/2012 11:55:12
not constructive
Grails - Lift: Which framework is better suited for which kind of applications? === I have been using Grails for the past few months and I really like it, specially GORM. However, I am getting interested into Scala's Lift. Therefore, I would like to know your opinion about which kind of web apps are better suited for ...
4
11,726,389
07/30/2012 17:20:13
1,535,882
07/18/2012 19:12:52
44
0
Java how to read and delete contents of a file.
I have a list with about 700 items I need to edit before adding them to my webpage. I tried editing each item manually but it became too extensive, and I thought I might use Java instead to read and edit the file since the words that need to be edited have the same beginning and ending in each item. I thought ...
java
null
null
null
null
07/31/2012 02:30:06
too localized
Java how to read and delete contents of a file. === I have a list with about 700 items I need to edit before adding them to my webpage. I tried editing each item manually but it became too extensive, and I thought I might use Java instead to read and edit the file since the words that need to be edited have the same...
3
7,061,916
08/15/2011 05:18:34
491,296
10/29/2010 12:54:01
33
0
Evolution of delegate from 1.0 to 4.0 in C#
I know this is simple question. I am little bit confused with the delegate improvement over the different versions. I need some clarification here. 1. How the delegate is introduced in .Net 1.0? 2. How it is improved with different versions? 3. What are the benefits over the improvement? Any link or sampl...
c#
.net
delegates
null
null
08/15/2011 05:32:54
not a real question
Evolution of delegate from 1.0 to 4.0 in C# === I know this is simple question. I am little bit confused with the delegate improvement over the different versions. I need some clarification here. 1. How the delegate is introduced in .Net 1.0? 2. How it is improved with different versions? 3. What are the be...
1
7,659,070
10/05/2011 09:16:12
980,024
10/05/2011 09:03:20
1
0
how to convert propel criteria in symfony
select a.id, b.title, b.start_time, b.end_time from tv_channel a left join tv_program b on a.id = b.tv_channel_id and b.start_time >= ‘2011-09-23 12:00:00′ and b.end_time <= '2011-09-23 14:30:00' order by a.code limit 0, 10; –pager object tnx
symfony
criteria
propel
null
null
null
open
how to convert propel criteria in symfony === select a.id, b.title, b.start_time, b.end_time from tv_channel a left join tv_program b on a.id = b.tv_channel_id and b.start_time >= ‘2011-09-23 12:00:00′ and b.end_time <= '2011-09-23 14:30:00' order by a.code limit 0, 10; –pager object tnx
0
8,364,484
12/03/2011 00:40:27
1,078,259
12/02/2011 21:20:34
1
0
jQuery Simple calculations
I am new to the forum and programming in general so be patient with me. I am try to make a mobile app with jQuery and do a front end client simple calculations like +,-, * and get percentages from different fields. I can't this simple formulas going I find complicated Math. something or sum. and avg. Is it possibl...
calculation
null
null
null
null
12/03/2011 05:42:35
not a real question
jQuery Simple calculations === I am new to the forum and programming in general so be patient with me. I am try to make a mobile app with jQuery and do a front end client simple calculations like +,-, * and get percentages from different fields. I can't this simple formulas going I find complicated Math. something...
1
4,474,116
12/17/2010 19:34:43
189,869
10/14/2009 14:09:03
47
2
Avoid NullReferenceException
I'm fairly new to .NET programming. I am trying to check if there are settings in a database table and if not, create some default settings. The problem is that when there are no settings I need to make two calls with the datareader and it keeps giving me problems. I originally was only using one datareader but ma...
vb.net
visual-studio-2008
mysqldatareader
null
null
null
open
Avoid NullReferenceException === I'm fairly new to .NET programming. I am trying to check if there are settings in a database table and if not, create some default settings. The problem is that when there are no settings I need to make two calls with the datareader and it keeps giving me problems. I originally wa...
0
7,614,914
09/30/2011 19:04:23
877,202
08/03/2011 18:19:03
35
0
is there any function in sql which may return the result from first two alphabet or the first alphabet?
i am working on oracle10g. I was curious to know that is there any sql function which may give results from the starting alphabet of a string. for example, if i have road-1, road-A, road-89 and i want to know total number of such road sets without using the sql count() function.
sql
oracle10g
null
null
null
null
open
is there any function in sql which may return the result from first two alphabet or the first alphabet? === i am working on oracle10g. I was curious to know that is there any sql function which may give results from the starting alphabet of a string. for example, if i have road-1, road-A, road-89 and i want to know t...
0
6,668,359
07/12/2011 17:23:45
265,596
02/03/2010 19:55:46
536
24
What Android devices are small screen size and high density?
According to the [Android screen sizes and densities stats][1], 3.3% of devices are small screen size and high density (hdpi). What devices are these? I always thought that most small screen devices were low density (ldpi). Just looking at the Motorola developer website, [all their small screen devices are low densi...
android
null
null
null
null
07/12/2011 22:13:08
not constructive
What Android devices are small screen size and high density? === According to the [Android screen sizes and densities stats][1], 3.3% of devices are small screen size and high density (hdpi). What devices are these? I always thought that most small screen devices were low density (ldpi). Just looking at the Motorol...
4
4,213,070
11/18/2010 08:58:26
459,638
08/28/2010 17:03:25
195
20
Good book(s)/resources for learning Python 3.1.2?
I recently started learning Python. Initially I referred some online tutorials for basic understanding of the language and then I switched to [Python Programming for the Absolute Beginner][1]. The problem is I have Python 3.1.2 shell installed on my machine and the book covers Python 2.4. It'd be great if some...
python
books
null
null
null
null
open
Good book(s)/resources for learning Python 3.1.2? === I recently started learning Python. Initially I referred some online tutorials for basic understanding of the language and then I switched to [Python Programming for the Absolute Beginner][1]. The problem is I have Python 3.1.2 shell installed on my machine a...
0
8,507,613
12/14/2011 16:03:47
1,058,319
11/21/2011 17:52:31
52
5
How do you reference another GWT project in your project?
I have a SmartGWT project up and running. Now, I would like to create a new project SmartGWT which has to launch the servlet of the previous SmartGWT project. Is this possible?
smartgwt
null
null
null
null
null
open
How do you reference another GWT project in your project? === I have a SmartGWT project up and running. Now, I would like to create a new project SmartGWT which has to launch the servlet of the previous SmartGWT project. Is this possible?
0
3,326,852
07/24/2010 20:50:08
400,610
07/23/2010 19:44:47
1
0
Ruby on Rails 3 Release date
Is there a release date for Ruby on Rails 3? I've been searching but nothing yet.
ruby-on-rails
ruby
ruby-on-rails-3
null
null
01/19/2012 04:00:26
too localized
Ruby on Rails 3 Release date === Is there a release date for Ruby on Rails 3? I've been searching but nothing yet.
3
10,664,993
05/19/2012 12:00:53
1,393,320
05/14/2012 08:43:40
8
2
create Horizontal image scrolling slideshow in drupal
How to create Horizontal image scrolling slideshow in drupal any parson have an idea? Thanks,
drupal-6
null
null
null
null
05/21/2012 12:17:22
not a real question
create Horizontal image scrolling slideshow in drupal === How to create Horizontal image scrolling slideshow in drupal any parson have an idea? Thanks,
1
11,242,177
06/28/2012 09:58:10
1,057,443
11/21/2011 08:54:22
166
0
Fedora Installation Needs VGA Driver
I am installing Fedora 14 on my machine. After Installation and booting up I get a black screen once I reach the log in screen. The reason I guess is because Fedora could not recognize the VGA and it needs a driver for it. Any suggestion to how I can over come this problem. Thanks
linux
installation
fedora
boot
vga
06/28/2012 10:07:14
off topic
Fedora Installation Needs VGA Driver === I am installing Fedora 14 on my machine. After Installation and booting up I get a black screen once I reach the log in screen. The reason I guess is because Fedora could not recognize the VGA and it needs a driver for it. Any suggestion to how I can over come this problem. ...
2
10,148,025
04/13/2012 20:41:28
1,332,443
04/13/2012 20:30:17
1
0
GPS location by javascript/PHP iPhone anti-thiefs
Ok, I want to do the following: I want to create an exact replica of the iPhone Safari, just for my iPod; I have jailbroken it and I selected to hide the normal Safari icon. Now I want to create a website with the exact same icon as safari and save it to my home screen and name in Safari (This is not the problem)...
php
javascript
iphone
safari
location
04/14/2012 23:19:33
not a real question
GPS location by javascript/PHP iPhone anti-thiefs === Ok, I want to do the following: I want to create an exact replica of the iPhone Safari, just for my iPod; I have jailbroken it and I selected to hide the normal Safari icon. Now I want to create a website with the exact same icon as safari and save it to my h...
1
8,842,716
01/12/2012 21:37:41
1,037,361
11/09/2011 09:49:53
38
0
Inheritence can't access map
I cannot seem to access the map in the parent class from the child class, as i try to output the contents of the map and nothing is displayed if anyone could tell me what i am doing wrong i will be gratefull MY CODE IS BELLOW '//HEADER FILE' //////PARENT CLASS struct TTYElementBase { ...
c++
inheritance
map
null
null
01/13/2012 01:35:27
too localized
Inheritence can't access map === I cannot seem to access the map in the parent class from the child class, as i try to output the contents of the map and nothing is displayed if anyone could tell me what i am doing wrong i will be gratefull MY CODE IS BELLOW '//HEADER FILE' //////PARENT CLASS struc...
3