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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1,099,093 | 07/08/2009 16:17:20 | 52,236 | 01/06/2009 23:27:05 | 128 | 4 | ASP.NET MVC Html.TextBox won't compile at runtime - same files work in other projects | We have two separate front end projects for the same company which are basically the same except for all the html and css. (Different divisions within the same company) I'm trying to add a page that was built in one over to the other. (Yes, yes, I know we probably should've built a single app that display different pre... | asp.net | mvc | html-helper | null | null | null | open | ASP.NET MVC Html.TextBox won't compile at runtime - same files work in other projects
===
We have two separate front end projects for the same company which are basically the same except for all the html and css. (Different divisions within the same company) I'm trying to add a page that was built in one over to the o... | 0 |
10,152,903 | 04/14/2012 10:34:40 | 1,332,899 | 04/14/2012 05:34:58 | 11 | 3 | Popover Controller in iPhone | friend
can some one tell me how we create popover in iPhone in ios 5.
I use open source means one code folder i dont want that so plz some one guide me.
Thank you. | iphone | null | null | null | null | 04/20/2012 04:13:26 | not a real question | Popover Controller in iPhone
===
friend
can some one tell me how we create popover in iPhone in ios 5.
I use open source means one code folder i dont want that so plz some one guide me.
Thank you. | 1 |
5,973,338 | 05/12/2011 04:34:41 | 749,880 | 05/12/2011 04:34:41 | 1 | 0 | Associate a file type to an application | I am developing an application in windows using vs2005 c++ and want to associate a file extension to the application which I can do in the registry settings. However, when I click on the file I want to associate it with a running instance of my application and not launch a new one. How can I achieve this behavior. | c++ | windows | null | null | null | null | open | Associate a file type to an application
===
I am developing an application in windows using vs2005 c++ and want to associate a file extension to the application which I can do in the registry settings. However, when I click on the file I want to associate it with a running instance of my application and not launch a n... | 0 |
8,493,094 | 12/13/2011 17:00:44 | 1,096,236 | 12/13/2011 16:51:00 | 1 | 0 | Getting "People talking about this" metric (PTAT) | I'm using the facebook api to pull some metrics, I want to get the "talking about this" metric, I reviewd the "Stories and People talking about this" from the facebook api and I'm pulling the "page_storytellers" metric, but I see that the number from this metric does not match with the "talking about this" metric from ... | facebook | metric | null | null | null | null | open | Getting "People talking about this" metric (PTAT)
===
I'm using the facebook api to pull some metrics, I want to get the "talking about this" metric, I reviewd the "Stories and People talking about this" from the facebook api and I'm pulling the "page_storytellers" metric, but I see that the number from this metric do... | 0 |
10,123,342 | 04/12/2012 12:13:39 | 1,239,062 | 02/28/2012 23:36:38 | 21 | 0 | tic tac toe coding for tie | I have a tic tac toe program and I've got everything working that way it should be. But, the one final problem I am having with this coding is that I can't seem to figure out when there is a tie how to code it. here is what i have so far.
Public Class Form1
Private turn As Integer = 1
Private play(... | vb | null | null | null | null | null | open | tic tac toe coding for tie
===
I have a tic tac toe program and I've got everything working that way it should be. But, the one final problem I am having with this coding is that I can't seem to figure out when there is a tie how to code it. here is what i have so far.
Public Class Form1
Private turn A... | 0 |
7,205,613 | 08/26/2011 13:46:52 | 914,127 | 08/26/2011 13:07:31 | 1 | 0 | Problem with Foreign keys and some operations | hi there i got 3 tables:
plain_table(plain_id(PK), plain_name, FK_temperature_id(FK), FK_material_id(FK), FK_drive_id(FK))
temperature(temperature_id(PK), temperature_name)
material(material_id(PK), material_name)
drive(drive_id(PK), drive_name)
listBox1.Items.Clear();
conn.Open();
... | c# | sql-server | null | null | null | 08/26/2011 23:01:57 | too localized | Problem with Foreign keys and some operations
===
hi there i got 3 tables:
plain_table(plain_id(PK), plain_name, FK_temperature_id(FK), FK_material_id(FK), FK_drive_id(FK))
temperature(temperature_id(PK), temperature_name)
material(material_id(PK), material_name)
drive(drive_id(PK), drive_name)
list... | 3 |
5,371,622 | 03/20/2011 21:26:18 | 561,395 | 01/03/2011 15:06:36 | 261 | 1 | Memory leak coming from this code, how do i get rid of it? | This is my code, which the app runs upon changing to the view that it's inside of. It's causing a memory leak with colourButtonsArray when you change to this view more than once (so not the first time you run it) but i'm unsure how to get rid of it:
-(void)setColours {
colourButtonsArray = [[NSMu... | iphone | objective-c | memory-leaks | nsmutablearray | null | null | open | Memory leak coming from this code, how do i get rid of it?
===
This is my code, which the app runs upon changing to the view that it's inside of. It's causing a memory leak with colourButtonsArray when you change to this view more than once (so not the first time you run it) but i'm unsure how to get rid of it:
... | 0 |
10,416,515 | 05/02/2012 15:09:51 | 543,832 | 12/15/2010 19:45:52 | 152 | 10 | Same code works on VS 2010 but not on 2005 | Right now I'm working on an ASP.NET web application that recquires Ajax. After reading [this tutorial][1] I tried running the following code in Visual Studio 2005, after adding the neccessary Controls by right-clicking the Toolbox and clicking "Choose Items...":
<%@ Page Language="C#" AutoEventWireup="true" Code... | asp.net | ajax | visual-studio-2010 | visual-studio-2005 | null | null | open | Same code works on VS 2010 but not on 2005
===
Right now I'm working on an ASP.NET web application that recquires Ajax. After reading [this tutorial][1] I tried running the following code in Visual Studio 2005, after adding the neccessary Controls by right-clicking the Toolbox and clicking "Choose Items...":
<%... | 0 |
10,682,323 | 05/21/2012 09:06:11 | 1,065,207 | 11/25/2011 08:00:03 | 64 | 0 | Swing components misplaced on JFrame when using Singleton | Let's say I have a `JFrame` that is created through a singleton pattern like this :
private static Dist2PuncteFrame instance = null;
public static Dist2PuncteFrame getInstance() {
if (instance == null)
instance = new Dist2PuncteFrame();
return instance;
}
... | java | swing | singleton | jframe | null | null | open | Swing components misplaced on JFrame when using Singleton
===
Let's say I have a `JFrame` that is created through a singleton pattern like this :
private static Dist2PuncteFrame instance = null;
public static Dist2PuncteFrame getInstance() {
if (instance == null)
instance... | 0 |
11,681,126 | 07/27/2012 03:40:42 | 1,319,475 | 04/07/2012 18:55:19 | 1 | 0 | remove rememberMe from script | i was wondering if anyone can help me out? what im trying to do is remove the rememberMe code from this script, but im having a had time doing it. If anyone can help me do this and give me any info on if the script is secure that would be great thanks...
include("db.php");
$user = mysql_real_escape_stri... | php | php5 | null | null | null | 07/27/2012 03:45:47 | not constructive | remove rememberMe from script
===
i was wondering if anyone can help me out? what im trying to do is remove the rememberMe code from this script, but im having a had time doing it. If anyone can help me do this and give me any info on if the script is secure that would be great thanks...
include("db.php");
... | 4 |
2,963,826 | 06/03/2010 06:51:00 | 62,765 | 02/05/2009 05:19:43 | 749 | 33 | Which namespace from the .NET Framework should I research ? | I am just beginning to play around with .NET (using C#).
Which namespace, aside from System.*, do I need to research ? | c# | .net | null | null | null | null | open | Which namespace from the .NET Framework should I research ?
===
I am just beginning to play around with .NET (using C#).
Which namespace, aside from System.*, do I need to research ? | 0 |
7,213,248 | 08/27/2011 07:54:19 | 915,252 | 08/27/2011 07:54:19 | 1 | 0 | Sql server responding very slow in windows 7 as compared to windows xp | Hi i made a website and i am running in local computer with cassini webserver but when i am trying to run it in windows 7 computer the data retrieval is very slow and it takes too much time in accessing data in the data fields. i don't understand what the problem as the same runs very fast in windows xp and even my mac... | asp.net | null | null | null | null | 08/28/2011 01:44:41 | off topic | Sql server responding very slow in windows 7 as compared to windows xp
===
Hi i made a website and i am running in local computer with cassini webserver but when i am trying to run it in windows 7 computer the data retrieval is very slow and it takes too much time in accessing data in the data fields. i don't understa... | 2 |
7,785,859 | 10/16/2011 17:03:14 | 290,082 | 03/09/2010 23:31:23 | 1,029 | 1 | Framework for mvc | Does anyone know framework for MVC which provide following functional:
1. Registration\Autorization
2. Profile page
3. Membership
4. Administaration pages.
5. Other stuff which helping create typical WebApp fast.
| asp.net | mvc | null | null | null | 10/17/2011 02:46:07 | not constructive | Framework for mvc
===
Does anyone know framework for MVC which provide following functional:
1. Registration\Autorization
2. Profile page
3. Membership
4. Administaration pages.
5. Other stuff which helping create typical WebApp fast.
| 4 |
7,922,022 | 10/27/2011 20:34:48 | 802,727 | 06/17/2011 05:30:51 | 106 | 13 | CSS3 transition for :after pseudoelement | Check out this fiddle: http://jsfiddle.net/sajYc/
The transition for the `:after` pseudo element works in firefox, but fails in webkit based browsers. Any idea if this is coming up in a future release? Any non-jquery overkill workarounds for it?
Basically, I'm using it on a page to fade between two states of a b... | jquery | html | css | css3 | css-transitions | null | open | CSS3 transition for :after pseudoelement
===
Check out this fiddle: http://jsfiddle.net/sajYc/
The transition for the `:after` pseudo element works in firefox, but fails in webkit based browsers. Any idea if this is coming up in a future release? Any non-jquery overkill workarounds for it?
Basically, I'm using ... | 0 |
5,689,960 | 04/16/2011 22:11:25 | 648,855 | 03/07/2011 21:19:01 | 13 | 0 | How do I create a commit without a parent in Git? | I have a small project I was working on without any kind of version control software, and I ended up with three different versions of the same script, where each one does something slightly different from the others. I initialized a git repo with one of the versions, and I'd really like to commit each of the other two ... | git | null | null | null | null | null | open | How do I create a commit without a parent in Git?
===
I have a small project I was working on without any kind of version control software, and I ended up with three different versions of the same script, where each one does something slightly different from the others. I initialized a git repo with one of the version... | 0 |
8,707,080 | 01/03/2012 01:44:42 | 1,124,197 | 12/31/2011 10:00:55 | 8 | 0 | How do you connect to a back end server in Iphone Programming? | I'm tasked to create a connection to a server located in my university. To create back end server apps, i understand that a connection to a restful server needs to be done.
However, i'm slightly confused as to go about doing this as my server and databases are already up and running. So i just basically need to put ... | iphone | database | backend | null | null | 01/03/2012 03:13:49 | not a real question | How do you connect to a back end server in Iphone Programming?
===
I'm tasked to create a connection to a server located in my university. To create back end server apps, i understand that a connection to a restful server needs to be done.
However, i'm slightly confused as to go about doing this as my server and da... | 1 |
9,449,934 | 02/26/2012 02:11:16 | 1,153,032 | 01/17/2012 02:07:38 | 15 | 0 | how to find the index of min value in each row of a matrix in c++? | I have a matrix and I want to find the index of the min value. I tried to extend the idea behind doing it in arrays, but it gives me the error of "illegal indirection".
Here is the code:
double *CTempMinPosition=0;
for(i=0;i<I;i++)
{
do
{
double CtempMin=*min_element(cTemp[i][1],cTemp[i][... | matrix | while-loops | minimum | null | null | null | open | how to find the index of min value in each row of a matrix in c++?
===
I have a matrix and I want to find the index of the min value. I tried to extend the idea behind doing it in arrays, but it gives me the error of "illegal indirection".
Here is the code:
double *CTempMinPosition=0;
for(i=0;i<I;i++)
... | 0 |
7,931,971 | 10/28/2011 16:19:33 | 240,364 | 12/29/2009 18:20:55 | 926 | 40 | which is the best reason to use MongoDB instead Mysql or PostgreSQL? | i've been thinking to use MongoDB for my next project (python), but for now, i don't understand which are the advantages of use NoSQL MongoDB against SQL.
Can you give some ideas or reasons of why to use NoSQL MongoDB?
Thanks in advance and sorry for my english :( | python | sql | mongodb | nosql | null | 10/29/2011 04:43:34 | not constructive | which is the best reason to use MongoDB instead Mysql or PostgreSQL?
===
i've been thinking to use MongoDB for my next project (python), but for now, i don't understand which are the advantages of use NoSQL MongoDB against SQL.
Can you give some ideas or reasons of why to use NoSQL MongoDB?
Thanks in advance and... | 4 |
9,027,477 | 01/27/2012 00:24:16 | 1,172,524 | 01/27/2012 00:17:40 | 1 | 0 | PDO prepared statements Like and OR statements used together | Instead of OR for the custodian = :query" I would rather have LIKE functionality. Do I just replace OR with LIKE? I would like the query to search through and if the user searches by serial it will match and display results. It they happen to search by custodian (which is a name) and they happen to spell Zak Za It will... | php | pdo | null | null | null | null | open | PDO prepared statements Like and OR statements used together
===
Instead of OR for the custodian = :query" I would rather have LIKE functionality. Do I just replace OR with LIKE? I would like the query to search through and if the user searches by serial it will match and display results. It they happen to search by c... | 0 |
7,175,293 | 08/24/2011 12:19:49 | 738,737 | 05/04/2011 20:12:15 | 95 | 3 | Why does unix link not appear in browser? | I have created a link of file stored elsewhere in public_html directory so that I can access through the web. But When I am opening the directory in web, it does not contain the link to original file. How can we create this? | html | unix | null | null | null | 08/24/2011 19:39:15 | off topic | Why does unix link not appear in browser?
===
I have created a link of file stored elsewhere in public_html directory so that I can access through the web. But When I am opening the directory in web, it does not contain the link to original file. How can we create this? | 2 |
10,847,067 | 06/01/2012 08:42:47 | 848,454 | 07/17/2011 07:05:42 | 10 | 0 | How are Route Targets assigned in overlapping MPLS-VPNs? | I am not sure if I should ask this question here or in ServerFault. But since the question is more about the concept of networking rather than it's implementation in a specific hardware, I decided to post it here.
As per my understanding Route Targets are used in MPLS-VPNs to distinguish between the different VRFs i... | networking | vpn | bgp | null | null | 06/02/2012 20:22:18 | off topic | How are Route Targets assigned in overlapping MPLS-VPNs?
===
I am not sure if I should ask this question here or in ServerFault. But since the question is more about the concept of networking rather than it's implementation in a specific hardware, I decided to post it here.
As per my understanding Route Targets are... | 2 |
6,373,978 | 06/16/2011 14:58:27 | 801,733 | 06/16/2011 14:58:27 | 1 | 0 | Benefits of C# over Java and/or C++ | Can anybody provide a comprehensive list of pros and cons of using C# versus Java and C++? | c# | java | c++ | null | null | 06/16/2011 15:00:15 | not constructive | Benefits of C# over Java and/or C++
===
Can anybody provide a comprehensive list of pros and cons of using C# versus Java and C++? | 4 |
8,476,749 | 12/12/2011 15:34:02 | 722,869 | 04/24/2011 19:05:41 | 136 | 0 | what's the preferred commenting style for for loops? (C++, but should be relevant to other languages as well) | I've been programming for years, but I can never quite decide the correct place to comment on the function of a for loop. Before, to the right, or after?
// iterate over rows, blah blah...
for (std::string row : csv) {
...
}
for (std::string row : csv) { // iterate over rows, blah blah...... | c++ | coding-style | for-loop | comments | null | 12/12/2011 15:44:09 | not constructive | what's the preferred commenting style for for loops? (C++, but should be relevant to other languages as well)
===
I've been programming for years, but I can never quite decide the correct place to comment on the function of a for loop. Before, to the right, or after?
// iterate over rows, blah blah...
for ... | 4 |
5,539,583 | 04/04/2011 14:00:31 | 486,806 | 10/25/2010 19:01:33 | 23 | 0 | Does the :any flag overwrites the :on (context) flag in acts_as_taggable_on's tagged_with ? | I'm confused with how the flags :on and :any works together in the "tagged_with" method of acts_as_taggable_on.
For example, if I have the following users @user1 and @user2:
class User < ActiveRecord::Base
acts_as_taggable_on :skills, :interests
end
@user1 = User.new(:name => "B... | ruby-on-rails | ruby-on-rails-3 | acts-as-taggable-on | acts-as-taggable | null | null | open | Does the :any flag overwrites the :on (context) flag in acts_as_taggable_on's tagged_with ?
===
I'm confused with how the flags :on and :any works together in the "tagged_with" method of acts_as_taggable_on.
For example, if I have the following users @user1 and @user2:
class User < ActiveRecord::Base
... | 0 |
6,971,333 | 08/07/2011 07:18:21 | 871,326 | 07/31/2011 06:25:07 | 5 | 0 | How to use themes with gtk+ in windows | I am trying to learn gtk+. I use windows.
By default gtk+ gives a look of Windows 98/2000.
But on linux there are different themes available.
I have downloaded the aurora theme engine and theme. I have also successfully complied it on windows. But don't know how to use it.
I am using Mingw/MSYS. | c | themes | mingw | gtk+ | null | 08/09/2011 15:13:33 | off topic | How to use themes with gtk+ in windows
===
I am trying to learn gtk+. I use windows.
By default gtk+ gives a look of Windows 98/2000.
But on linux there are different themes available.
I have downloaded the aurora theme engine and theme. I have also successfully complied it on windows. But don't know how to use i... | 2 |
501,302 | 02/01/2009 18:18:49 | 27,211 | 10/12/2008 13:58:16 | 65 | 5 | Can I Write Or Modify Data On An RFID Tag? | maybe my question would be lost in the forum, but has somebody work with RFID tags? I know I can read them, but can I write or modify the inside data? Does anyone know where can I find more about this? | hardware | null | null | null | null | 12/13/2011 14:13:22 | off topic | Can I Write Or Modify Data On An RFID Tag?
===
maybe my question would be lost in the forum, but has somebody work with RFID tags? I know I can read them, but can I write or modify the inside data? Does anyone know where can I find more about this? | 2 |
895,110 | 05/21/2009 20:56:55 | 100,288 | 05/03/2009 14:36:04 | 589 | 37 | What is your favorite feature of jQuery? | I just had the jQuery epiphany the other day and still feel like there is tons of power in it that I'm not utilizing.
So that said, what is your favorite feature of jQuery that saves you time and/or makes your client side applications that much more cool or powerful? | jquery | null | null | null | null | 02/22/2012 01:57:22 | not constructive | What is your favorite feature of jQuery?
===
I just had the jQuery epiphany the other day and still feel like there is tons of power in it that I'm not utilizing.
So that said, what is your favorite feature of jQuery that saves you time and/or makes your client side applications that much more cool or powerful? | 4 |
7,981,818 | 11/02/2011 14:17:07 | 989,103 | 10/11/2011 08:32:27 | 67 | 2 | htaccess redirect url parameter as segment | Is it possible to redirect url parameters as segments in .htaccess file?
i.e.
test/index.php?parameter=MYVALUE
to
test/MYVALUE/
| .htaccess | null | null | null | null | 07/27/2012 13:28:50 | off topic | htaccess redirect url parameter as segment
===
Is it possible to redirect url parameters as segments in .htaccess file?
i.e.
test/index.php?parameter=MYVALUE
to
test/MYVALUE/
| 2 |
7,185,190 | 08/25/2011 04:35:00 | 891,157 | 08/12/2011 05:12:57 | 23 | 0 | Unbound class path variable java android eclipse problem | What does the meaning of Unbound Class Path variable on Eclipse? I got the error and don't know how to fix it. Thanks in advance | java | android | eclipse | null | null | null | open | Unbound class path variable java android eclipse problem
===
What does the meaning of Unbound Class Path variable on Eclipse? I got the error and don't know how to fix it. Thanks in advance | 0 |
2,920,335 | 05/27/2010 10:37:14 | 350,554 | 05/26/2010 05:22:50 | 10 | 1 | how to calculate time difference in PHP | I Have to calculate date time difference how to do that in PHP.
I need exact hours , mins and secs. any body have the scripts for that please give me :-P | php | php5 | null | null | null | 06/03/2012 09:57:11 | not a real question | how to calculate time difference in PHP
===
I Have to calculate date time difference how to do that in PHP.
I need exact hours , mins and secs. any body have the scripts for that please give me :-P | 1 |
10,514,235 | 05/09/2012 10:27:36 | 989,562 | 10/11/2011 13:07:19 | 118 | 1 | How to make an JFrame visible only if the control button is clicked twice | I am creating an desktop application that runs at background and while clicking the control button it should be visible i have made the `setVisible(false)` to the JFrame any idea how to do it . The application should triggered if you click the control button twice in desktop or in any application this should work. | java | swing | null | null | null | null | open | How to make an JFrame visible only if the control button is clicked twice
===
I am creating an desktop application that runs at background and while clicking the control button it should be visible i have made the `setVisible(false)` to the JFrame any idea how to do it . The application should triggered if you click ... | 0 |
8,456,324 | 12/10/2011 11:56:58 | 499,280 | 11/06/2010 15:20:05 | 35 | 2 | Change html table cell color depending on its value | Hi i am trying to change the colors of a html table depending on values i read from a database. I am sending an image of what i m trying to achieve.
 | php | html | null | null | null | 12/10/2011 14:28:56 | not a real question | Change html table cell color depending on its value
===
Hi i am trying to change the colors of a html table depending on values i read from a database. I am sending an image of what i m trying to achieve.
 | 1 |
10,535,568 | 05/10/2012 13:57:53 | 1,387,287 | 05/10/2012 13:51:41 | 1 | 0 | C# and Rich Text Box | Why when right-click on a textbox it showed the copy/cut/paste menu but it's not doing that in the Rich Text box. Does anyone know why? Thanks... | c# | richtextbox | null | null | null | 05/10/2012 14:22:29 | not a real question | C# and Rich Text Box
===
Why when right-click on a textbox it showed the copy/cut/paste menu but it's not doing that in the Rich Text box. Does anyone know why? Thanks... | 1 |
11,210,836 | 06/26/2012 15:34:21 | 1,477,539 | 06/24/2012 01:35:23 | 1 | 0 | What is wrong with my python code? | So I am trying to web scrape (data scrape) a link:http://www.fftoolbox.com/nfl_draft/index.cfm
I ger an error that says:AttributeError: 'NoneType' object has no attribute 'findAll'
File "/Users/seanyeh/nfl.py", line 8, in <module>
rows = soup.findAll("table",{'class': 'grid'})[0].tbody.findAll("tr")[1:]
Could any... | python | data | python-2.7 | web-scraping | nfl | 06/26/2012 15:48:14 | too localized | What is wrong with my python code?
===
So I am trying to web scrape (data scrape) a link:http://www.fftoolbox.com/nfl_draft/index.cfm
I ger an error that says:AttributeError: 'NoneType' object has no attribute 'findAll'
File "/Users/seanyeh/nfl.py", line 8, in <module>
rows = soup.findAll("table",{'class': 'grid'... | 3 |
9,419,830 | 02/23/2012 19:27:39 | 510,346 | 11/17/2010 04:07:26 | 736 | 18 | html: q versus p with quotes | The q element for short quotes adds quotation marks to the text. Can you tell me how this is advantageous to simply using quotes (i.e. " ") directly within a paragraph? One could style it specially, but it seems like one could use a span element for that too, so what's the main advantage(s) of the q element?
Tha... | html | css | null | null | null | null | open | html: q versus p with quotes
===
The q element for short quotes adds quotation marks to the text. Can you tell me how this is advantageous to simply using quotes (i.e. " ") directly within a paragraph? One could style it specially, but it seems like one could use a span element for that too, so what's the main adv... | 0 |
9,119,731 | 02/02/2012 20:44:33 | 520,692 | 11/25/2010 22:15:54 | 1,215 | 18 | Why shouldn't we put business logic in services? Will we ever replace our services? | I am designing a system and I have read many articles saying don't put business logic in your service code. And only put your business logic in your domain objects.
I am not hosting my service code anywhere and it is directly accessed by my presentation layer. In future, I might want to expose this service code vi... | c# | java | visual-studio-2010 | asp.net-mvc-3 | null | null | open | Why shouldn't we put business logic in services? Will we ever replace our services?
===
I am designing a system and I have read many articles saying don't put business logic in your service code. And only put your business logic in your domain objects.
I am not hosting my service code anywhere and it is directly a... | 0 |
10,016,284 | 04/04/2012 17:28:26 | 1,238,934 | 02/28/2012 22:00:36 | 102 | 1 | xcode loading view | I would like to show a progress view while my app is downloading files when starts. Loading view should be active until download ends, then, main tab controller will be shown. Which is the best method to reach it? Thanks | iphone | objective-c | ios | xcode | null | null | open | xcode loading view
===
I would like to show a progress view while my app is downloading files when starts. Loading view should be active until download ends, then, main tab controller will be shown. Which is the best method to reach it? Thanks | 0 |
1,727,079 | 11/13/2009 04:07:36 | 209,631 | 11/12/2009 14:07:19 | 1 | 0 | Is it practical to learn and use visual basic 6 as a 2nd year BSIT student? | Is it wise to learn and use visual basic 6 in these days? Because many powerful programming languages are emerging. If no, then why and what is the best programming language to use as a Bachelor of Science in Information Technology student? | vb | 6 | vb6 | null | null | 05/08/2012 15:56:22 | not constructive | Is it practical to learn and use visual basic 6 as a 2nd year BSIT student?
===
Is it wise to learn and use visual basic 6 in these days? Because many powerful programming languages are emerging. If no, then why and what is the best programming language to use as a Bachelor of Science in Information Technology student... | 4 |
6,242,131 | 06/05/2011 09:49:32 | 784,610 | 06/05/2011 09:35:58 | 1 | 0 | Using AVAssetReader to read from a remote asset (streaming) | My main purpose is to stream a video from a server, and cut it frame by frame while streaming (in order to be used by opengl). For that, I've used this code that I found everywhere on the internet (as I recall it was from Apple's GLVideoFrame sample code):
NSArray * tracks = [asset tracks];
NSLog... | iphone | objective-c | video-streaming | avfoundation | null | null | open | Using AVAssetReader to read from a remote asset (streaming)
===
My main purpose is to stream a video from a server, and cut it frame by frame while streaming (in order to be used by opengl). For that, I've used this code that I found everywhere on the internet (as I recall it was from Apple's GLVideoFrame sample code)... | 0 |
3,972,888 | 10/19/2010 21:23:35 | 472,056 | 10/11/2010 07:55:39 | 353 | 19 | Interview question: the duck and the fox | Brainteaser i have been given while competing for C++ programmer vacancy.
Assume there is the pond of perfect circle shape. Right in the center of this pond the duck sits on a water. And right at the coast the fox stays. Of course she cannot swim. The fox is constantly trying to chase and catch the duck so her prima... | c++ | algorithm | interview-questions | brainteaser | null | 10/19/2010 21:30:12 | not a real question | Interview question: the duck and the fox
===
Brainteaser i have been given while competing for C++ programmer vacancy.
Assume there is the pond of perfect circle shape. Right in the center of this pond the duck sits on a water. And right at the coast the fox stays. Of course she cannot swim. The fox is constantly t... | 1 |
9,955,734 | 03/31/2012 12:11:16 | 310,291 | 03/02/2010 15:22:39 | 3,813 | 21 | What traits lib really brings to javascript? | Javascript already support extension so what real supplement advantages would jstraits http://code.google.com/p/jstraits/ would bring to it ? | javascript | oop | traits | null | null | 04/01/2012 12:44:58 | not a real question | What traits lib really brings to javascript?
===
Javascript already support extension so what real supplement advantages would jstraits http://code.google.com/p/jstraits/ would bring to it ? | 1 |
11,243,285 | 06/28/2012 11:06:29 | 1,414,157 | 05/24/2012 05:21:27 | 12 | 0 | create a wizard using winforms | I want to implement a wizard using winforms and VS 2010.
i got this [tutorial](http://www.codeproject.com/Articles/120607/Simple-Wizard-for-WinForms), but as i'm new to Visual Studio and C# i don't really understand it.
could someone help me out?
my main problem is taht i don't know where to put the listings i... | c# | winforms | wizard | null | null | 06/29/2012 12:53:37 | not a real question | create a wizard using winforms
===
I want to implement a wizard using winforms and VS 2010.
i got this [tutorial](http://www.codeproject.com/Articles/120607/Simple-Wizard-for-WinForms), but as i'm new to Visual Studio and C# i don't really understand it.
could someone help me out?
my main problem is taht i do... | 1 |
7,489,000 | 09/20/2011 17:11:26 | 903,612 | 08/20/2011 09:59:22 | 18 | 0 | What MAC address see server | I execute command arp -a on my windows and get it:
Interface: 192.168.1.33 --- 0xb address Physical
address Type
192.168.1.1 40-4a-03-20-82-0e dynamic
192.168.1.255 ff-ff-ff-ff-ff-ff static
224.0.0.2 01-00-5e-00-00-02 s... | osx | drop | iptables | null | null | 09/20/2011 17:36:39 | off topic | What MAC address see server
===
I execute command arp -a on my windows and get it:
Interface: 192.168.1.33 --- 0xb address Physical
address Type
192.168.1.1 40-4a-03-20-82-0e dynamic
192.168.1.255 ff-ff-ff-ff-ff-ff static
224.0.0.2 ... | 2 |
7,733,040 | 10/11/2011 22:00:22 | 445,299 | 09/11/2010 21:35:07 | 52 | 13 | IS there a way to determine if a bluetooth device is a headset other than from device class or major class? | I'm using device class to determine if a handsfree headset is connected. But I found out that Qnine 3.0 doesn't have a distinguishable device id or class id. Both of which are zeros. Android OS knows that it is a headset and update the status icon--But for my app, I need an alternative way to determine that it is a he... | android | class | bluetooth | headset | null | null | open | IS there a way to determine if a bluetooth device is a headset other than from device class or major class?
===
I'm using device class to determine if a handsfree headset is connected. But I found out that Qnine 3.0 doesn't have a distinguishable device id or class id. Both of which are zeros. Android OS knows that i... | 0 |
6,950,976 | 08/05/2011 03:09:02 | 877,629 | 08/03/2011 23:55:04 | 9 | 0 | PHP - Difficulty switching between code | I'm in a bit of a predicament with a much larger code than this, but this is roughly how it is...
<?php
$other = 'white';
$array = array(red, blue, red, red, red);
foreach($array[1] as $match) //OR $match = $other;
{
//Core Area
if($match = 'red') { echo 'RED!'; }
if($match = 'blue'... | php | between | switching | null | null | 07/08/2012 01:00:49 | not a real question | PHP - Difficulty switching between code
===
I'm in a bit of a predicament with a much larger code than this, but this is roughly how it is...
<?php
$other = 'white';
$array = array(red, blue, red, red, red);
foreach($array[1] as $match) //OR $match = $other;
{
//Core Area
if($match =... | 1 |
11,300,051 | 07/02/2012 19:36:13 | 111,910 | 05/25/2009 02:33:50 | 1,146 | 23 | Can MySQL reasonably perform queries on billions of rows? | I am planning on storing scans from a mass spectrometer in a MySQL database and
would like to know whether storing and analyzing this amount of data is remotely
feasible. I know performance varies wildly depending on the environment, but I'm
looking for the rough order of magnitude: will queries take 5 days or 5
mi... | mysql | sql | performance | null | null | 07/03/2012 18:14:59 | off topic | Can MySQL reasonably perform queries on billions of rows?
===
I am planning on storing scans from a mass spectrometer in a MySQL database and
would like to know whether storing and analyzing this amount of data is remotely
feasible. I know performance varies wildly depending on the environment, but I'm
looking for ... | 2 |
4,747,386 | 01/20/2011 12:57:18 | 437,938 | 07/15/2010 16:18:26 | 11 | 0 | OleDB Provider for Oracle not found in in Windows Server 2008 with IIS 7 | I'm deploying a small ASP.NET (framework 3.5) application in a Windows Server Web 2008 32 bits, IIS 7. The applications needs connection to an Oracle DB in another Server, using the tradicional DataAdapter, Oracle Connection, etc.
I´ve installed correctly the Oracle Client in the server (the server is another server... | asp.net | oracle | iis7 | windows-server-2008 | null | null | open | OleDB Provider for Oracle not found in in Windows Server 2008 with IIS 7
===
I'm deploying a small ASP.NET (framework 3.5) application in a Windows Server Web 2008 32 bits, IIS 7. The applications needs connection to an Oracle DB in another Server, using the tradicional DataAdapter, Oracle Connection, etc.
I´ve in... | 0 |
11,093,975 | 06/19/2012 03:24:35 | 1,192,728 | 02/06/2012 16:22:52 | 828 | 39 | Lex : All ways meet error at Rules Section | I started to use Lex for my homework. In my Lex file, I always meet errors when go to first line of Rules Section. I have tested on sample code in books.
Here is the errors that Flex throw :
> Error: Parse error at line 2. Description: Badly formed macro
> definition.
And here is my code.
int num_line... | lex | null | null | null | null | null | open | Lex : All ways meet error at Rules Section
===
I started to use Lex for my homework. In my Lex file, I always meet errors when go to first line of Rules Section. I have tested on sample code in books.
Here is the errors that Flex throw :
> Error: Parse error at line 2. Description: Badly formed macro
> definit... | 0 |
2,203,640 | 02/04/2010 22:14:21 | 163,768 | 08/26/2009 19:47:08 | 126 | 29 | Cannot install into c:\Program files on Widndows 7 | I have an installer written in Java using Izpack. It works OK on Windows XP, however on Windows 7 it cannot write to c:\Program Files. Strangely enough, as a user running this installer I can create folders under c:\program files, but not from the installer itself.
What am I missing ? | windows | permissions | null | null | null | null | open | Cannot install into c:\Program files on Widndows 7
===
I have an installer written in Java using Izpack. It works OK on Windows XP, however on Windows 7 it cannot write to c:\Program Files. Strangely enough, as a user running this installer I can create folders under c:\program files, but not from the installer itself... | 0 |
5,613,849 | 04/10/2011 18:31:36 | 650,679 | 03/08/2011 23:53:44 | 1 | 0 | How to distinguish between labels? | I built a hexagonal table, each hexagonal I put on a label ... Now I noticed that there is overlap between the hexagons because the shape of the label is a square ..because of that i have a problem when I clicking the cursor at the edges of the hexagonal the hexagonal do not know what I mean.
How can I sit a bit eve... | java | algorithm | null | null | null | 04/11/2011 07:26:55 | not a real question | How to distinguish between labels?
===
I built a hexagonal table, each hexagonal I put on a label ... Now I noticed that there is overlap between the hexagons because the shape of the label is a square ..because of that i have a problem when I clicking the cursor at the edges of the hexagonal the hexagonal do not kn... | 1 |
625,668 | 03/09/2009 10:15:48 | 55,377 | 01/15/2009 10:20:16 | 173 | 16 | Custom writing OleDbCommand commands. | I have (another) question about writing OleDbCommand's. I have a complex select command (includes several left joins) and OleDbCommandBuilder is unable to generate update commands for me.
I can't seem to grasp the magic behind writing update commands. I know the structure of the SQL update statement, however I am a ... | c# | sql | oledbcommand | oledb | null | null | open | Custom writing OleDbCommand commands.
===
I have (another) question about writing OleDbCommand's. I have a complex select command (includes several left joins) and OleDbCommandBuilder is unable to generate update commands for me.
I can't seem to grasp the magic behind writing update commands. I know the structure o... | 0 |
7,883,371 | 10/25/2011 00:16:26 | 988,274 | 10/10/2011 19:21:41 | 20 | 0 | What platform to choose for an eshop? | I want to ask 2 questions/topics:
**1.** I have to deliver an eshop for a clothing boutique. I want to ask if someone has worked on similar projects(eCommerce) what platform would you use?
I checked some solutions like shoppica for open-cart and some other templates for VirtueMart in Joomla. Any ideas?
**2... | e-commerce | null | null | null | null | 10/25/2011 23:11:17 | not constructive | What platform to choose for an eshop?
===
I want to ask 2 questions/topics:
**1.** I have to deliver an eshop for a clothing boutique. I want to ask if someone has worked on similar projects(eCommerce) what platform would you use?
I checked some solutions like shoppica for open-cart and some other templates fo... | 4 |
11,567,860 | 07/19/2012 19:22:46 | 1,174,762 | 01/28/2012 03:54:00 | 170 | 2 | Clicking page elements and using them as form data | I am making a site that has a photos page. On the photos page I would like to have albums and also single photos. I would also like users to have the ability to create a new album, by just clicking my "+create album" button, and then simply clicking images that they would like to have stored in that album. I am unsure ... | php | javascript | jquery | mysql | html | 07/20/2012 02:04:45 | not a real question | Clicking page elements and using them as form data
===
I am making a site that has a photos page. On the photos page I would like to have albums and also single photos. I would also like users to have the ability to create a new album, by just clicking my "+create album" button, and then simply clicking images that th... | 1 |
7,868,093 | 10/23/2011 18:12:45 | 312,920 | 01/16/2010 17:32:42 | 45 | 0 | how 160by2.com works ? What technology ? VOIP ? GSM modem hosting? | 160by2.com, way2sms.com .. these (india)websites allows user to signup a mobile number after verifying the mobile number, and allows user to send sms to other mobile number with their number as the caller id. This service is free of cost. They have given most space in the website for advertising (to generate income). B... | sms | voip | sms-gateway | null | null | 10/24/2011 02:14:49 | off topic | how 160by2.com works ? What technology ? VOIP ? GSM modem hosting?
===
160by2.com, way2sms.com .. these (india)websites allows user to signup a mobile number after verifying the mobile number, and allows user to send sms to other mobile number with their number as the caller id. This service is free of cost. They have... | 2 |
2,971,561 | 06/04/2010 04:42:03 | 260,665 | 01/28/2010 05:14:09 | 242 | 26 | Design Patterns and Prinicples | I have recently experienced and understood the importance of "Design Patterns and Principles" implemented in our project. I was just wondering if you all would share the importance of Design patterns and principles, of how using them in your source code the project was enhanced, so that we can learn out of your vast pr... | design | design-patterns | oop | null | null | 06/05/2010 06:16:55 | not a real question | Design Patterns and Prinicples
===
I have recently experienced and understood the importance of "Design Patterns and Principles" implemented in our project. I was just wondering if you all would share the importance of Design patterns and principles, of how using them in your source code the project was enhanced, so t... | 1 |
5,192,255 | 03/04/2011 10:02:32 | 644,503 | 03/04/2011 10:02:32 | 1 | 0 | How to calculate distance of a running person in Objective C | I would like to make an application on xCode for iPad to check the speed of person running on treadmill. I am really getting no idea, how to do it? Can anyone give me some idea,sample codes etc to do it? Should we have to use accelerometer/speedometer for this? If yes then how can we use accelerometer/speedometer? I am... | objective-c | null | null | null | null | 03/25/2012 16:25:11 | not a real question | How to calculate distance of a running person in Objective C
===
I would like to make an application on xCode for iPad to check the speed of person running on treadmill. I am really getting no idea, how to do it? Can anyone give me some idea,sample codes etc to do it? Should we have to use accelerometer/speedometer fo... | 1 |
10,409,382 | 05/02/2012 07:22:27 | 1,051,411 | 11/17/2011 09:21:26 | 3 | 0 | Are there any open source projects such as Adobe Proto? | I am planning to build a client interface creating simple templates that is quite similar to how wireframes are done. For example, I like how adobe proto, http://www.adobe.com/products/proto.html, allows people to just drag in different pre built functions which can then be easily exported. I searched source forge for ... | php | jquery | html5 | adobe | wireframe | 05/03/2012 13:09:37 | not constructive | Are there any open source projects such as Adobe Proto?
===
I am planning to build a client interface creating simple templates that is quite similar to how wireframes are done. For example, I like how adobe proto, http://www.adobe.com/products/proto.html, allows people to just drag in different pre built functions wh... | 4 |
7,316,080 | 09/06/2011 07:04:08 | 906,078 | 08/22/2011 14:35:14 | 16 | 0 | Do ssl certificates apply to the server or the hostname? | Im new to hosting sites with ssl certificates and i wanted to know, if the server is running an iis server with a site and i now install apache on the same server, does the certificate apply to both hosts and if not, if i use the same dns/site address will it then apply? | apache | iis | ssl | null | null | 09/06/2011 15:12:46 | off topic | Do ssl certificates apply to the server or the hostname?
===
Im new to hosting sites with ssl certificates and i wanted to know, if the server is running an iis server with a site and i now install apache on the same server, does the certificate apply to both hosts and if not, if i use the same dns/site address will i... | 2 |
9,381,269 | 02/21/2012 16:31:12 | 1,083,895 | 12/06/2011 16:18:28 | 5 | 0 | Nullpointerexception when togglebutton is clicked | I am trying to get a ToggleButton working but am having a few problems.
1. Its seems to revert back to the default value when it is clicked and I navigate to another screen.
2. I tried transferring its isChecked() value to another activity using SharedPreferences and it now crashes.
<ToggleButton
... | android | sharedpreferences | togglebutton | null | null | null | open | Nullpointerexception when togglebutton is clicked
===
I am trying to get a ToggleButton working but am having a few problems.
1. Its seems to revert back to the default value when it is clicked and I navigate to another screen.
2. I tried transferring its isChecked() value to another activity using SharedPreferences... | 0 |
9,448,330 | 02/25/2012 21:41:27 | 1,233,075 | 02/25/2012 21:36:44 | 1 | 0 | I cant get the user information from the facebook REQUEST when they log in | I am trying to implement a simple Facebook log in button, so that users can log into my site in the same fashion that I did when I found this site. But when they click the log in button I have, the window pops up and asks for permission from the user. However I do not know how to collect the email address and user data... | database | facebook | data | login | request | 02/26/2012 03:58:51 | not a real question | I cant get the user information from the facebook REQUEST when they log in
===
I am trying to implement a simple Facebook log in button, so that users can log into my site in the same fashion that I did when I found this site. But when they click the log in button I have, the window pops up and asks for permission fro... | 1 |
8,471,315 | 12/12/2011 07:51:57 | 1,022,866 | 10/31/2011 23:34:25 | 8 | 0 | Change download link depending on browser | ok so why wont this work
i have my java script
<head>
<script type="text/javascript">
if (navigator.userAgent.match(/like Mac OS X/i)) {
document.getElementById('down').href="http://www.google.com";
}
</script>
</head>
and in the body i have
<di... | javascript | html | null | null | null | 12/12/2011 15:01:10 | not a real question | Change download link depending on browser
===
ok so why wont this work
i have my java script
<head>
<script type="text/javascript">
if (navigator.userAgent.match(/like Mac OS X/i)) {
document.getElementById('down').href="http://www.google.com";
}
</script>
... | 1 |
11,569,748 | 07/19/2012 21:39:51 | 65,214 | 02/11/2009 18:17:33 | 697 | 32 | Service Broker: Queue Monitor is dropped after poison message | I have searched everywhere and there isn't an answer online. There is one similar question but it's not exactly the same on stack overflow without an answer.
When I setup event notification on a queue, it creates a queue monitor and if receiving a message from that queue causes a poison message the queue monitor di... | sql-server | sql-server-2008 | service-broker | null | null | 07/20/2012 01:50:51 | off topic | Service Broker: Queue Monitor is dropped after poison message
===
I have searched everywhere and there isn't an answer online. There is one similar question but it's not exactly the same on stack overflow without an answer.
When I setup event notification on a queue, it creates a queue monitor and if receiving a m... | 2 |
2,298,372 | 02/19/2010 17:35:03 | 122,536 | 06/13/2009 18:36:27 | 711 | 5 | My multilingual website with only basic php (without zend_translate, gettext, etc...) will I have problems in the future? | I tried `gettext`, but my free hosting doesn't allow it. I thought about `Zend_translate`, but I didn't want to use elements from frameworks since my page is mostly static.
So, I ended up with this tutorial:
http://www.bitrepository.com/php-how-to-add-multi-language-support-to-a-website.html
Where the author o... | php | multilanguage | null | null | null | null | open | My multilingual website with only basic php (without zend_translate, gettext, etc...) will I have problems in the future?
===
I tried `gettext`, but my free hosting doesn't allow it. I thought about `Zend_translate`, but I didn't want to use elements from frameworks since my page is mostly static.
So, I ended up wi... | 0 |
760,503 | 04/17/2009 13:51:03 | 4,639 | 09/04/2008 23:07:22 | 2,402 | 12 | How to pass a method name in order to instantiate a delegate? | In the following example, I want to define a System.Action which executes a specific method that I define at runtime, but **how do I pass the method name (or the method itself)** so that the Action method can define the delegate to point to that particular method?
I'm currently getting the following error:
*'met... | c# | delegates | null | null | null | null | open | How to pass a method name in order to instantiate a delegate?
===
In the following example, I want to define a System.Action which executes a specific method that I define at runtime, but **how do I pass the method name (or the method itself)** so that the Action method can define the delegate to point to that particu... | 0 |
9,222,305 | 02/10/2012 03:28:38 | 877,703 | 08/04/2011 01:37:53 | 346 | 15 | CSS - More rules versus more selectors? | This is a long-lasting issue I've had with myself for a while. Basically I've come up with two models of arranging CSS. These are on the extreme ends of a spectrum, of course.
1. Styling each selector, with all the applicable rules in that selector.
2. Combining selectors for each rule.
As always, an illustrat... | css | null | null | null | null | 02/10/2012 06:13:33 | not constructive | CSS - More rules versus more selectors?
===
This is a long-lasting issue I've had with myself for a while. Basically I've come up with two models of arranging CSS. These are on the extreme ends of a spectrum, of course.
1. Styling each selector, with all the applicable rules in that selector.
2. Combining select... | 4 |
11,359,915 | 07/06/2012 09:51:54 | 1,186,314 | 02/02/2012 22:42:12 | 19 | 0 | How to respond to exceptions in a thread in python | I have some code running in a thread that I need to respond to any exceptions within the calling thread. How would I find out if there are any exceptions and just reboot the child thread? | python | multithreading | exception-handling | null | null | null | open | How to respond to exceptions in a thread in python
===
I have some code running in a thread that I need to respond to any exceptions within the calling thread. How would I find out if there are any exceptions and just reboot the child thread? | 0 |
1,900,428 | 12/14/2009 11:40:47 | 127,465 | 06/23/2009 09:35:33 | 836 | 50 | Is there a Scala command-line debugger? | Is there a Scala command-line debugger (a la jdb)? | scala | null | null | null | null | null | open | Is there a Scala command-line debugger?
===
Is there a Scala command-line debugger (a la jdb)? | 0 |
5,443,198 | 03/26/2011 15:11:11 | 678,127 | 03/26/2011 15:06:54 | 1 | 0 | php and mysql books | which is the best and easy to understand the php and mysql BOOKS**** | php | mysql | null | null | null | 03/26/2011 15:40:00 | not constructive | php and mysql books
===
which is the best and easy to understand the php and mysql BOOKS**** | 4 |
5,696,297 | 04/17/2011 20:41:32 | 263,215 | 02/01/2010 03:39:37 | 627 | 3 | which licence fits my needs ? | Which licence would fit the next requirements the most ?
- Everyone is welcome to make updates and use the source code
- But nobody should sell it or sell an application that is using it, unless he consult us as the owners (make a deal with owners) | open-source | licensing | null | null | null | 04/18/2011 07:14:00 | off topic | which licence fits my needs ?
===
Which licence would fit the next requirements the most ?
- Everyone is welcome to make updates and use the source code
- But nobody should sell it or sell an application that is using it, unless he consult us as the owners (make a deal with owners) | 2 |
8,521,481 | 12/15/2011 14:18:15 | 1,100,031 | 12/15/2011 14:11:45 | 1 | 0 | Need assistance debugging my python code, it's a wreck | I'm using Python 2.7x and am having trouble debugging it. I'm not really sure what I can do. Any help is appreciated. Thanks.
import re
import sys
# Grab parameters from the command line
(filename, threshold) = sys.argv[1:3]
# Validate arguments
if (re.match("\D", threshold)):
print "The threshold mus... | python | debugging | null | null | null | 12/15/2011 14:45:04 | not a real question | Need assistance debugging my python code, it's a wreck
===
I'm using Python 2.7x and am having trouble debugging it. I'm not really sure what I can do. Any help is appreciated. Thanks.
import re
import sys
# Grab parameters from the command line
(filename, threshold) = sys.argv[1:3]
# Validate arguments
if... | 1 |
11,238,192 | 06/28/2012 04:45:41 | 1,487,483 | 06/28/2012 04:44:01 | 1 | 0 | Jquery display a part image Hover | Please i'm looking for a method or a plugin tha can allow me to showa part of an image that can allow me to display a part of an image when a mouse is Hover it
Like here http://www.artfloor.com/ebn.ebn?pid=438&oeuvre=14390&artiste=91
Thanks | javascript | jquery | html5 | jquery-plugins | jquery-selectors | 06/28/2012 06:59:54 | not a real question | Jquery display a part image Hover
===
Please i'm looking for a method or a plugin tha can allow me to showa part of an image that can allow me to display a part of an image when a mouse is Hover it
Like here http://www.artfloor.com/ebn.ebn?pid=438&oeuvre=14390&artiste=91
Thanks | 1 |
1,330,485 | 08/25/2009 19:39:48 | 48,963 | 12/24/2008 20:37:22 | 257 | 32 | Looking for ASP.NET(MVC, AJAX) Image Manager | Anybody help, I need Image Manager with multi-upload, crop, resize....
And final cost less $150.
Maybe somebody using this perfect solution - I want too. | asp.net | asp.net-mvc | asp.net-ajax | image | c# | null | open | Looking for ASP.NET(MVC, AJAX) Image Manager
===
Anybody help, I need Image Manager with multi-upload, crop, resize....
And final cost less $150.
Maybe somebody using this perfect solution - I want too. | 0 |
224,303 | 10/22/2008 02:41:07 | 25,368 | 10/06/2008 01:10:51 | 41 | 0 | Java EAR File Deployment : Could not find physical destination : null | Anyone know what does this mean exactly? And how to resolve it?
]: Exception in creating message-driven bean container: [com.sun.enterprise.connectors.ConnectorRuntimeException: Could not find physical destination : null]|#]
[#|2008-10-22T01:03:08.460+0800|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.contai... | java | null | null | null | null | 03/31/2012 19:10:22 | not a real question | Java EAR File Deployment : Could not find physical destination : null
===
Anyone know what does this mean exactly? And how to resolve it?
]: Exception in creating message-driven bean container: [com.sun.enterprise.connectors.ConnectorRuntimeException: Could not find physical destination : null]|#]
[#|2008-10-22T... | 1 |
11,549,774 | 07/18/2012 20:29:53 | 1,461,172 | 06/16/2012 22:16:39 | 1 | 1 | 4d to 2d projection matrix | I am trying to create a 4D world in Java using LWJGL. I am trying to make a 4d to 2d projection matrix. Can anyone give me a 4x4 matrix that projects a 4d point to 2d? I need zNear to be .3 and zFar to be 100, and fovy to be 70. (gluPerspective for 4d). It would also help to have a rotation matrix. I need the matrix to... | java | opengl | lwjgl | perspective | projection-matrix | 07/22/2012 20:15:28 | not a real question | 4d to 2d projection matrix
===
I am trying to create a 4D world in Java using LWJGL. I am trying to make a 4d to 2d projection matrix. Can anyone give me a 4x4 matrix that projects a 4d point to 2d? I need zNear to be .3 and zFar to be 100, and fovy to be 70. (gluPerspective for 4d). It would also help to have a rotat... | 1 |
3,207,545 | 07/08/2010 20:10:29 | 297,850 | 03/20/2010 03:20:49 | 48 | 0 | An onsite implementation question from a startup. | The system maintains a table with 150 pages, and each page contains 1.5 million records hashed with users’ birth date. Each record includes information of username, nickname, birth date, hometown and title. We are required to write a C++ program that transforms this table into another one, which has 100 pages and is ha... | c++ | algorithm | interview-questions | null | null | 07/08/2010 22:34:14 | not a real question | An onsite implementation question from a startup.
===
The system maintains a table with 150 pages, and each page contains 1.5 million records hashed with users’ birth date. Each record includes information of username, nickname, birth date, hometown and title. We are required to write a C++ program that transforms thi... | 1 |
3,094,520 | 06/22/2010 15:16:36 | 289,770 | 03/09/2010 15:29:51 | 6 | 0 | How to retreive correct path of either system32 or SysWOW64? | I have a 32-bit process that can run either in 32-bit or 64-bit Windows. So, naturally, if the process tried to access the file `c:\windows\system32\file.ext`, it would be redirected to `c:\windows\SysWOW64\file.ext`. So far so good - I don't want to disable the redirection.
My problem is that my process doesn't act... | windows | 32bit-64bit | win64 | null | null | null | open | How to retreive correct path of either system32 or SysWOW64?
===
I have a 32-bit process that can run either in 32-bit or 64-bit Windows. So, naturally, if the process tried to access the file `c:\windows\system32\file.ext`, it would be redirected to `c:\windows\SysWOW64\file.ext`. So far so good - I don't want to dis... | 0 |
4,015,705 | 10/25/2010 14:46:12 | 398,358 | 07/21/2010 18:55:57 | 58 | 0 | Changing the directory of Delphi OpenDialog | A little background of the program:
The program uses a tabbed interface to work on multiple files at the same time.
I'm trying to change the directory of the OpenDialog so every time I call open a file will show the directory of the file I am working on currently, but even when I set `InitialDir` to the file's pa... | delphi | null | null | null | null | null | open | Changing the directory of Delphi OpenDialog
===
A little background of the program:
The program uses a tabbed interface to work on multiple files at the same time.
I'm trying to change the directory of the OpenDialog so every time I call open a file will show the directory of the file I am working on currently,... | 0 |
2,341,209 | 02/26/2010 11:29:37 | 225,269 | 12/05/2009 04:59:24 | 416 | 0 | cannot access phpmyadmin | I get this error everytime I try to access phpmyadmin.
http://i49.tinypic.com/ot1478.jpg
I cant access it because I've put a password on the root user. How do I get to have a login form in phpmyadmin so that I could at least try to authenticate that I'm the root user.
Because in its current state, it wouldnt even... | phpmyadmin | null | null | null | null | 02/27/2010 20:20:52 | off topic | cannot access phpmyadmin
===
I get this error everytime I try to access phpmyadmin.
http://i49.tinypic.com/ot1478.jpg
I cant access it because I've put a password on the root user. How do I get to have a login form in phpmyadmin so that I could at least try to authenticate that I'm the root user.
Because in its ... | 2 |
9,150,635 | 02/05/2012 16:00:43 | 1,260,447 | 01/16/2012 03:08:19 | 5 | 6 | Find a part of the user agent string | I was wondering if you could use just a part of the user agent string, for example the firmware, on the web. However, Flash will not work. This is a follow-up question to the one [here](http://stackoverflow.com/questions/9137439/find-the-firmware-in-javascript#comment11485566_9137439). | ajax | user-agent | null | null | null | null | open | Find a part of the user agent string
===
I was wondering if you could use just a part of the user agent string, for example the firmware, on the web. However, Flash will not work. This is a follow-up question to the one [here](http://stackoverflow.com/questions/9137439/find-the-firmware-in-javascript#comment11485566_9... | 0 |
10,891,401 | 06/05/2012 04:03:38 | 28,802 | 10/17/2008 02:38:51 | 1,664 | 12 | is there any nice online forum framework? | Why are all online forums so old-styled? Why don't we see nice uses of JS, AJAX, and web technologies to make them more usable? Does anyone know a forum plugin (any language or framework) which has some of the following?
- Automatically append new messages to a thread if someone just posted a new message
- Pop a ... | javascript | frameworks | web | usability | forum | 06/05/2012 04:12:50 | not a real question | is there any nice online forum framework?
===
Why are all online forums so old-styled? Why don't we see nice uses of JS, AJAX, and web technologies to make them more usable? Does anyone know a forum plugin (any language or framework) which has some of the following?
- Automatically append new messages to a thread ... | 1 |
2,448,652 | 03/15/2010 16:18:37 | 215,571 | 11/20/2009 16:06:52 | 1,124 | 32 | Python - platform-independent 5.1 Sound Library | Is there any dolby/5.1/7.1 audio processing Python library? It would be best if it is platform independent.
Would be nice if it looks like:
import lib
f = lib.open("8channels_audiofile")
lib.play(from=f.channel3, to="left rear"); | python | null | null | null | null | null | open | Python - platform-independent 5.1 Sound Library
===
Is there any dolby/5.1/7.1 audio processing Python library? It would be best if it is platform independent.
Would be nice if it looks like:
import lib
f = lib.open("8channels_audiofile")
lib.play(from=f.channel3, to="left rear"); | 0 |
2,582,864 | 04/06/2010 05:37:37 | 18,548 | 09/19/2008 05:21:51 | 410 | 53 | Hudson trigget builds remotely gives a forbidden 403 error | I have a shell script on the same machine that hudson is deployed on and upon executing it, it calls wget on a hudson build trigger URL. Since its the same machine, I access it as http://localhost:8080/hudson/job/jobname/build?token=sometoken
Typically, this is supposed to trigger a build on the project. But I get a... | hudson | continuous-integration | unix | wget | null | null | open | Hudson trigget builds remotely gives a forbidden 403 error
===
I have a shell script on the same machine that hudson is deployed on and upon executing it, it calls wget on a hudson build trigger URL. Since its the same machine, I access it as http://localhost:8080/hudson/job/jobname/build?token=sometoken
Typically,... | 0 |
11,594,447 | 07/21/2012 17:39:29 | 1,531,457 | 07/17/2012 10:28:31 | 1 | 0 | Parse error: syntax error, unexpected '>' in PHP | Hello I have error like
Parse error: syntax error, unexpected '>' in C:\inetpub\vhosts\andpi.com\httpdocs\upload.php on line 28
this is line 28
print("<error>".$errs[$errno]."</error>");
and this is whole function which incude that line
function sendError($errno) {
getDB()->close();
$e... | php | syntax-error | parse-error | null | null | 07/21/2012 17:46:49 | too localized | Parse error: syntax error, unexpected '>' in PHP
===
Hello I have error like
Parse error: syntax error, unexpected '>' in C:\inetpub\vhosts\andpi.com\httpdocs\upload.php on line 28
this is line 28
print("<error>".$errs[$errno]."</error>");
and this is whole function which incude that line
funct... | 3 |
7,357,665 | 09/09/2011 05:55:35 | 936,146 | 09/09/2011 04:59:29 | 1 | 0 | Error with publishing | I had created one Facebook application and used it in our website. First 2 months it was working fine, users were able to publish. After 2 months application is throwing below error while publishing.
Error: The post's action links must be valid URLs.
please let me know the reason for this error. | facebook-c#-sdk | publish | null | null | null | 09/09/2011 18:26:04 | not a real question | Error with publishing
===
I had created one Facebook application and used it in our website. First 2 months it was working fine, users were able to publish. After 2 months application is throwing below error while publishing.
Error: The post's action links must be valid URLs.
please let me know the reason for th... | 1 |
9,836,520 | 03/23/2012 09:12:08 | 1,287,881 | 03/23/2012 09:06:44 | 1 | 0 | how sync song into iphone use itunes com interface | my code is
HRESULT hRes;
CComQIPtr<IiTunes> iITunes;
hRes = ::CoCreateInstance(CLSID_iTunesApp, NULL, CLSCTX_LOCAL_SERVER, IID_IiTunes, (PVOID *)&iITunes);
CComQIPtr<IITLibraryPlaylist> iLibPlaylist;
hRes = iITunes->get_LibraryPlaylist(&iLibPlaylist);
CComQIPtr<IITOperationStatus> iStatus;
CComBST... | com | itunes | null | null | null | null | open | how sync song into iphone use itunes com interface
===
my code is
HRESULT hRes;
CComQIPtr<IiTunes> iITunes;
hRes = ::CoCreateInstance(CLSID_iTunesApp, NULL, CLSCTX_LOCAL_SERVER, IID_IiTunes, (PVOID *)&iITunes);
CComQIPtr<IITLibraryPlaylist> iLibPlaylist;
hRes = iITunes->get_LibraryPlaylist(&iLibPlaylis... | 0 |
17,988 | 08/20/2008 13:49:24 | 307 | 08/04/2008 14:26:05 | 571 | 36 | How to Learn Python | For a beginner's perspective, can you answer the following:
- Best Tool(s) for Python development (e.g. NotePad, Vim)
- Best Book to get Started
- Best Website for Python beginner
- Best Problem Domain to do a sample project (what is Python-based solutions best suited for?) | python | howto | null | null | null | 06/28/2011 12:23:21 | not constructive | How to Learn Python
===
For a beginner's perspective, can you answer the following:
- Best Tool(s) for Python development (e.g. NotePad, Vim)
- Best Book to get Started
- Best Website for Python beginner
- Best Problem Domain to do a sample project (what is Python-based solutions best suited for?) | 4 |
3,896,628 | 10/09/2010 08:44:32 | 453,748 | 09/21/2010 09:54:41 | 8 | 0 | change the constraint name in fluentNhibernate auto mapping alteration | i'm using oracle with FluentNHibernate automapping with alterations & NHibernate
the problem is how to specify the constraint name by overriding the mapping model??
the generated sql like this:
alter table FirstTable
add constraint FK_VerLongIdentifierLongerThan30Characther
foreign key (Fir... | oracle | nhibernate | fluent-nhibernate | automapping | null | null | open | change the constraint name in fluentNhibernate auto mapping alteration
===
i'm using oracle with FluentNHibernate automapping with alterations & NHibernate
the problem is how to specify the constraint name by overriding the mapping model??
the generated sql like this:
alter table FirstTable
add con... | 0 |
9,396,186 | 02/22/2012 13:55:08 | 1,098,374 | 12/14/2011 17:28:00 | 6 | 0 | word processor in c# or c++ | I learned C Sharp for one purpose, to write a word processor that includes my needs. For example that you could play with the spaces between words, and the spaces between the lines, raise one word higher from the row, and many other similar things.
When I start working on it in c# - winForms I see the possibilities ar... | c# | c++ | null | null | null | 02/22/2012 21:31:00 | not constructive | word processor in c# or c++
===
I learned C Sharp for one purpose, to write a word processor that includes my needs. For example that you could play with the spaces between words, and the spaces between the lines, raise one word higher from the row, and many other similar things.
When I start working on it in c# - wi... | 4 |
7,291,484 | 09/03/2011 06:11:29 | 388,388 | 07/10/2010 10:12:11 | 3,093 | 192 | Is it possible to show headers while scrolling the gridview | I am using Gridview in my application. Grid view is binded with the data from the database with some header text. Now what i would like to have is when i scroll the grid view i would like to show the headers while moving the gridview how can i do this | c# | asp.net | gridview | .net-2.0 | null | null | open | Is it possible to show headers while scrolling the gridview
===
I am using Gridview in my application. Grid view is binded with the data from the database with some header text. Now what i would like to have is when i scroll the grid view i would like to show the headers while moving the gridview how can i do this | 0 |
11,603,551 | 07/22/2012 20:00:48 | 394,736 | 07/17/2010 16:22:43 | 2,378 | 66 | Duplicate Symbol Error: SBJsonParser.o? | I currently have ShareKit in my project that is compiled as a static library. It is properly implemented. I also have implemented Amazon's AWS SDK by just adding their framework into my project.
The issue is, is that there are conflicts within the SBJSON category. It seems that the files colliding are: SBJSON.h, SBJ... | ios | duplicates | symbol | sbjson | null | null | open | Duplicate Symbol Error: SBJsonParser.o?
===
I currently have ShareKit in my project that is compiled as a static library. It is properly implemented. I also have implemented Amazon's AWS SDK by just adding their framework into my project.
The issue is, is that there are conflicts within the SBJSON category. It seem... | 0 |
7,103,713 | 08/18/2011 07:16:30 | 297,108 | 03/19/2010 05:39:52 | 48 | 1 | URL Rewrite in PHP like in Smarty Template | I am banging my head from a couple of days to use the URL rewriting for a core php website. Previously the website was developed using smarty, but due to some limitations, I am redoing it in core PHP. The problem is that smarty is using some templates code to create the Pretty URL's which I am not able to do in core PH... | php | mysql | null | null | null | 08/18/2011 10:58:43 | not a real question | URL Rewrite in PHP like in Smarty Template
===
I am banging my head from a couple of days to use the URL rewriting for a core php website. Previously the website was developed using smarty, but due to some limitations, I am redoing it in core PHP. The problem is that smarty is using some templates code to create the P... | 1 |
10,819,164 | 05/30/2012 15:13:46 | 1,357,506 | 04/26/2012 00:42:00 | 122 | 0 | what is the difference between fileoutputstream and dataoutputstream? | here,i knew that java.lang.dataoutputstream package is extension of java.lang.fileoutputstream .but i can not understand this two line :fileoutputstream fos = new fileoutputstream(args[0]);
dataoutputstream dos = new dataoutputstream(dos);.here also dos.writebyte() directly write into file name which one is passe... | java | null | null | null | null | 05/31/2012 14:31:01 | not a real question | what is the difference between fileoutputstream and dataoutputstream?
===
here,i knew that java.lang.dataoutputstream package is extension of java.lang.fileoutputstream .but i can not understand this two line :fileoutputstream fos = new fileoutputstream(args[0]);
dataoutputstream dos = new dataoutputstream(dos);.... | 1 |
4,994,788 | 02/14/2011 16:50:26 | 131,887 | 07/01/2009 18:41:34 | 2,100 | 67 | Enable WCF message logging programmatically (from loaded .dll) | I've read the disappointing answer [here][1] regarding enabling logging of WCF messages from code, but thought that maybe since then there may be other suggestions for how to do this. I'm working under the constraints of developing a .NET 3.5 library that gets loaded (via COM) into a larger win32 framework. As such, I ... | c# | .net | wcf | null | null | null | open | Enable WCF message logging programmatically (from loaded .dll)
===
I've read the disappointing answer [here][1] regarding enabling logging of WCF messages from code, but thought that maybe since then there may be other suggestions for how to do this. I'm working under the constraints of developing a .NET 3.5 library t... | 0 |
11,235,974 | 06/27/2012 23:03:02 | 708,831 | 04/14/2011 21:52:07 | 387 | 17 | Zend - Will they convert to Google's Core API before Google's Data Export API is deprecated? | Our company currently uses a system built around the Zend framework. It is accessing information from Google Analytics through the Zend Framework.
In this article (http://analytics.blogspot.com/2012/06/ga-advocate-justin-cutroni-answers-your.html) I see that the Data Export API will be deprecated on July 10th.
Does... | zend-framework | google-analytics-api | null | null | null | 06/28/2012 15:28:50 | off topic | Zend - Will they convert to Google's Core API before Google's Data Export API is deprecated?
===
Our company currently uses a system built around the Zend framework. It is accessing information from Google Analytics through the Zend Framework.
In this article (http://analytics.blogspot.com/2012/06/ga-advocate-justin-... | 2 |
3,502,300 | 08/17/2010 12:21:01 | 422,833 | 08/17/2010 12:21:01 | 1 | 0 | People withot Entry | I try to get all people without an registration from a specific event.
Models: Person, Event and Registration
In the mysql table it would add an entry to the registrations table with the person.id and event.id (plus comment and status of registration (1 for registration, 2 for deregistration).
Now, I'm trying ... | ruby-on-rails | null | null | null | null | null | open | People withot Entry
===
I try to get all people without an registration from a specific event.
Models: Person, Event and Registration
In the mysql table it would add an entry to the registrations table with the person.id and event.id (plus comment and status of registration (1 for registration, 2 for deregistrat... | 0 |
7,576,554 | 09/27/2011 22:51:38 | 929,596 | 09/05/2011 21:30:01 | 76 | 0 | Why does calling 'delete' in a specific way on a dynamic array not work? | I'm wondering why this code doesn't work:
void KeyValueList::Release()
{
//(m_ppKeyValueList is a dynamic array of pointers to objects on the heap)
if (m_ppKeyValueList) {
for (int i = 0; i < m_iCapacity; ++i) {
if (m_ppKeyValueList[i]) {
delete m_ppKeyValueList[i];
... | c++ | memory-management | delete | dynamic-arrays | null | null | open | Why does calling 'delete' in a specific way on a dynamic array not work?
===
I'm wondering why this code doesn't work:
void KeyValueList::Release()
{
//(m_ppKeyValueList is a dynamic array of pointers to objects on the heap)
if (m_ppKeyValueList) {
for (int i = 0; i < m_iCapacity; ++i) {
... | 0 |
10,893,488 | 06/05/2012 07:45:13 | 683,553 | 03/30/2011 08:24:48 | 2,023 | 15 | Passing value on img src $_GET issue | I am passing values from the img src like this:
PageA:
<img src="watermark.php?fname=<?php echo $image; ?>" />
then I ge the value on pageB:
$fname = $_GET['fname'];
$watermark_img = $passed_fname;
...
For some reason no image is showing ... I'm I missing something here?
... | php | php5 | null | null | null | null | open | Passing value on img src $_GET issue
===
I am passing values from the img src like this:
PageA:
<img src="watermark.php?fname=<?php echo $image; ?>" />
then I ge the value on pageB:
$fname = $_GET['fname'];
$watermark_img = $passed_fname;
...
For some reason no image is sho... | 0 |
3,808,854 | 09/28/2010 00:23:30 | 418,029 | 08/12/2010 05:40:04 | 90 | 4 | Security in iPhone apps | How do we maintain the data security in iPhone apps. For instance, a custom app for a bank needs more security in terms of:
1. Data in transmission
2. Data in rest (Data inside iPhone)
What are the potential steps one can take to ensure the integrity and security of data? What support iPhone SDK provides to achieve ... | iphone | null | null | null | null | null | open | Security in iPhone apps
===
How do we maintain the data security in iPhone apps. For instance, a custom app for a bank needs more security in terms of:
1. Data in transmission
2. Data in rest (Data inside iPhone)
What are the potential steps one can take to ensure the integrity and security of data? What support iP... | 0 |
9,152,915 | 02/05/2012 20:53:04 | 951,441 | 09/18/2011 16:56:30 | 93 | 2 | Norton Deleting My Files | After compiling a c++ executable, as soon as I try to run it, the program won't run, and then the Norton Antivirus would delete the executable a few moments later. When I view the details, it'll say "A program was behaving suspiciously on your computer. It was removed." Then in the details, it'll say that it was "infec... | norton | null | null | null | null | 02/05/2012 21:06:21 | off topic | Norton Deleting My Files
===
After compiling a c++ executable, as soon as I try to run it, the program won't run, and then the Norton Antivirus would delete the executable a few moments later. When I view the details, it'll say "A program was behaving suspiciously on your computer. It was removed." Then in the details... | 2 |
8,288,361 | 11/27/2011 19:29:35 | 7,028 | 09/15/2008 13:02:20 | 9,667 | 272 | Video identification database service | I am building a DVD conversion tool. Is there any cloud based system that would help me identify the DVD I have in the reader and give accurate info (title, year, etc.)?
Gracenote offers this service (called "VideoId"), however it's only available for corporate customers, and my application would be an open source t... | video | resources | saas | free-software | null | null | open | Video identification database service
===
I am building a DVD conversion tool. Is there any cloud based system that would help me identify the DVD I have in the reader and give accurate info (title, year, etc.)?
Gracenote offers this service (called "VideoId"), however it's only available for corporate customers, a... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.