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,475,723 | 07/13/2012 17:52:01 | 117,700 | 06/04/2009 23:04:34 | 1,046 | 31 | How does learning assembly aid in programming? | I have been programming in higher level languages (python, c#, vba, vb.net) for around 10 years and I have completely zero understanding on what's going on, "under the hood".
I am wondering what are the benefits of learning assembler, and how will it aid me as a programmer? Can you please provide me with a resource ... | c# | .net | python | vba | assembly | 07/13/2012 17:52:52 | off topic | How does learning assembly aid in programming?
===
I have been programming in higher level languages (python, c#, vba, vb.net) for around 10 years and I have completely zero understanding on what's going on, "under the hood".
I am wondering what are the benefits of learning assembler, and how will it aid me as a pr... | 2 |
4,032,562 | 10/27/2010 11:09:56 | 220,064 | 11/27/2009 14:08:34 | 293 | 30 | How do I use a .NET .DLL file or library in VB6? | I'm just wondering if there is something I should know of when doing this or will it work straight out of the bat as long as the .NET framework is installed on the client?
I ask because when I attempted this, VB6's references dialog said "cant register that dll"
Thanks
| .net | vb.net | vb6 | vb | interop | null | open | How do I use a .NET .DLL file or library in VB6?
===
I'm just wondering if there is something I should know of when doing this or will it work straight out of the bat as long as the .NET framework is installed on the client?
I ask because when I attempted this, VB6's references dialog said "cant register that dll" ... | 0 |
3,179,931 | 07/05/2010 13:40:35 | 257,942 | 01/24/2010 19:47:15 | 1,346 | 1 | How do I generate all permutations of certain size with repetitions in Scheme? | I am learning Scheme and I am trying to generate permutations with repetitions of certain size.
For example, given n=4 and set S = {a, b, c, d, e, f}, I'd like to generate all possible permutations: {a,a,a,a},{a,a,a,b},...,{a,a,a,f},{a,a,b,a},{a,a,b,b},...,{a,a,b,f},...{f,a,a,a},{f,a,a,b}...,{f,a,a,f},...{f,f,f,f}.
... | scheme | permutation | null | null | null | null | open | How do I generate all permutations of certain size with repetitions in Scheme?
===
I am learning Scheme and I am trying to generate permutations with repetitions of certain size.
For example, given n=4 and set S = {a, b, c, d, e, f}, I'd like to generate all possible permutations: {a,a,a,a},{a,a,a,b},...,{a,a,a,f},... | 0 |
1,080,290 | 07/03/2009 17:38:58 | 129,917 | 06/27/2009 20:57:02 | 10 | 0 | Creating the links of a chain in OpenGL | I am working on a project where I have to create a chain with 12 links in it. I want to create the chain out of two curved segments for the top and bottom of the link ad two cylinders for the straight segments, I intend to use a display list to create one link and then display it over and over after applying some rota... | opengl | null | null | null | null | null | open | Creating the links of a chain in OpenGL
===
I am working on a project where I have to create a chain with 12 links in it. I want to create the chain out of two curved segments for the top and bottom of the link ad two cylinders for the straight segments, I intend to use a display list to create one link and then disp... | 0 |
5,138,868 | 02/28/2011 06:27:02 | 637,247 | 02/28/2011 06:27:02 | 1 | 0 | code for mony transfer application | i am new with android... i want to develop an application which tranfers money, views previous transaction details and checks avilable balance. Money will be tranfered to a person from my device's conact list. Please someone help me out... please.. | android | null | null | null | null | 02/28/2011 06:45:14 | not a real question | code for mony transfer application
===
i am new with android... i want to develop an application which tranfers money, views previous transaction details and checks avilable balance. Money will be tranfered to a person from my device's conact list. Please someone help me out... please.. | 1 |
12,482 | 08/15/2008 17:08:19 | 702 | 08/08/2008 01:31:17 | 3 | 2 | How can you publish a ClickOnce application through CruiseControl.NET? | I have CruiseControl.NET Version 1.4 set up on my development server. Whenever a developer checks in code, in makes a compile.
Now we're at a place where we can start giving our application to the testers. We'd like to use ClickOnce to distribute the application, with the idea being that when a tester goes to te... | msbuild | cruisecontrol.net | clickonce | publish | null | null | open | How can you publish a ClickOnce application through CruiseControl.NET?
===
I have CruiseControl.NET Version 1.4 set up on my development server. Whenever a developer checks in code, in makes a compile.
Now we're at a place where we can start giving our application to the testers. We'd like to use ClickOnce to d... | 0 |
8,057,280 | 11/08/2011 21:28:24 | 235,174 | 12/19/2009 16:19:13 | 276 | 3 | Extending user admin form in django | I'm trying to change user admin in Django. In my project the email address, first name and last name is required. I changed my user admin as following :
class UserForm(forms.ModelForm):
class Meta:
model = User
def __init__(self, *args, **kwargs):
super(UserFor... | django | inheritance | admin | hashing | null | null | open | Extending user admin form in django
===
I'm trying to change user admin in Django. In my project the email address, first name and last name is required. I changed my user admin as following :
class UserForm(forms.ModelForm):
class Meta:
model = User
def __init__(self, *ar... | 0 |
4,775,373 | 01/23/2011 17:55:07 | 586,550 | 01/23/2011 17:55:07 | 1 | 0 | rmagick installation | Hi I have big problem with rmabick installation on CenotOS 5.5 I installed ImageMagick from source and tes it from line command and works ok. What is wrong. Please somebody help me !
[root$server.com RMagick-2.13.1]# ruby setup.rb
---> lib
---> lib/rvg
<--- lib/rvg
<--- lib
---> ext
---> ext/RMagick
/usr... | imagemagick | null | null | null | null | null | open | rmagick installation
===
Hi I have big problem with rmabick installation on CenotOS 5.5 I installed ImageMagick from source and tes it from line command and works ok. What is wrong. Please somebody help me !
[root$server.com RMagick-2.13.1]# ruby setup.rb
---> lib
---> lib/rvg
<--- lib/rvg
<--- lib
---> e... | 0 |
5,939,272 | 05/09/2011 15:45:41 | 745,446 | 05/09/2011 15:45:41 | 1 | 0 | Strange problem with dynamic cast C++ | I'm just new to C++, and doing a small project which implementing some inheritance. It can basically be summarized below:
//.h file
class Food{
public:
Food();
virtual ~Food();
};
class Animal{
public:
Animal();
virtual ~Animal();
virtual void eat( Foo... | c++ | null | null | null | null | 05/09/2011 16:20:20 | not a real question | Strange problem with dynamic cast C++
===
I'm just new to C++, and doing a small project which implementing some inheritance. It can basically be summarized below:
//.h file
class Food{
public:
Food();
virtual ~Food();
};
class Animal{
public:
Animal();
vir... | 1 |
8,571,204 | 12/20/2011 05:30:43 | 961,702 | 09/23/2011 17:55:58 | 29 | 1 | What goes in Dropbox OAuth Signature? | I am developing an application for the DropBox API and cannot for the life of me find any information about what's meant to go into the "signature" of the first token request during authentication.
Does anyone else know? | c# | oauth | dropbox | null | null | null | open | What goes in Dropbox OAuth Signature?
===
I am developing an application for the DropBox API and cannot for the life of me find any information about what's meant to go into the "signature" of the first token request during authentication.
Does anyone else know? | 0 |
494,590 | 01/30/2009 05:48:05 | 6,335 | 09/14/2008 08:56:41 | 2,169 | 81 | Should I be testing a methods implementation using mocks. | I'm having a bit of trouble doing some unit-testing using moq.
If I have a function like this:
public string GetName(IMapinfoWrapper wrapper)
{
return wrapper.Evaluate("My com command");
///"My comm command" is the same all the time.
}
Then I have a test that checks the return val... | unit-testing | mocking | moq | c# | implementation | null | open | Should I be testing a methods implementation using mocks.
===
I'm having a bit of trouble doing some unit-testing using moq.
If I have a function like this:
public string GetName(IMapinfoWrapper wrapper)
{
return wrapper.Evaluate("My com command");
///"My comm command" is the same all th... | 0 |
568,136 | 02/20/2009 03:10:51 | 67,153 | 02/16/2009 23:43:45 | 63 | 5 | SVG vs CANVAS, where is the Web World going towards? | I need to pick one of those two technologies for an ongoing project of mine. I would prefer to pick the technology that is more maintained and in active development rather then choose a technology marked for "putting down".
Which of the two should I choose? | canvas | svg | graphics | null | null | 05/04/2012 00:56:42 | not constructive | SVG vs CANVAS, where is the Web World going towards?
===
I need to pick one of those two technologies for an ongoing project of mine. I would prefer to pick the technology that is more maintained and in active development rather then choose a technology marked for "putting down".
Which of the two should I choose? | 4 |
11,204,558 | 06/26/2012 09:39:47 | 1,423,840 | 05/29/2012 13:48:04 | 123 | 6 | Time Analysis of Tower of Hanoi in Java | I was just testing **Towers of Hanoi** problem in **Java** and I ran the following code:
(I have removed `sysouts` for convinience)
public class Util {
public static void main(String[] args) {
for (int i = 1; i <= 30; i++) {
long startTime = System.currentTimeMillis();
solveTo... | java | data-structures | recursion | towers-of-hanoi | null | null | open | Time Analysis of Tower of Hanoi in Java
===
I was just testing **Towers of Hanoi** problem in **Java** and I ran the following code:
(I have removed `sysouts` for convinience)
public class Util {
public static void main(String[] args) {
for (int i = 1; i <= 30; i++) {
long startTime ... | 0 |
4,061,545 | 10/31/2010 02:10:26 | 446,929 | 09/14/2010 02:10:09 | 188 | 2 | rails g scaffold_controller admin/product name:string problem | first i use
rails g scaffold product name:string
the generate crud page works fine
but i also want to an control module so i use
rails g scaffold_controller admin/product name:string
i want to put manager code in a admin directory,but this generate crud code can't work,i need modify the generate... | ruby-on-rails-3 | null | null | null | null | 08/11/2011 08:00:24 | too localized | rails g scaffold_controller admin/product name:string problem
===
first i use
rails g scaffold product name:string
the generate crud page works fine
but i also want to an control module so i use
rails g scaffold_controller admin/product name:string
i want to put manager code in a admin director... | 3 |
8,019,961 | 11/05/2011 11:47:11 | 1,030,936 | 11/05/2011 09:17:26 | 1 | 0 | Deciding Partitions and Sizes on Ubuntu 11.10 (dual-boot Windows 7) | I need some advice for a dual boot configuration Windows 7 - Linux Ubuntu 11.10<br>
Specifications: 2.7 GHz AMD Athlon 7750, 3 GB RAM, 1000 GB HDD: 100 Gb allocated to Windows 7 (I use large number of programs) - already used two primary partitions (100 GB and 100 MB Windows - partition made by him) of a maximum of ... | linux | null | null | null | null | 11/05/2011 11:59:48 | off topic | Deciding Partitions and Sizes on Ubuntu 11.10 (dual-boot Windows 7)
===
I need some advice for a dual boot configuration Windows 7 - Linux Ubuntu 11.10<br>
Specifications: 2.7 GHz AMD Athlon 7750, 3 GB RAM, 1000 GB HDD: 100 Gb allocated to Windows 7 (I use large number of programs) - already used two primary partitio... | 2 |
5,252,431 | 03/09/2011 21:32:32 | 652,441 | 03/09/2011 21:32:32 | 1 | 0 | Stable marriage problem in asp.net | I am new to asp.net. I want to implement stable marriage problem.
I think this can be done using graph.
Can anyone please guide with the code?
Thanks in advance.
Regards,
Parul | asp.net | null | null | null | null | 03/09/2011 21:49:05 | not a real question | Stable marriage problem in asp.net
===
I am new to asp.net. I want to implement stable marriage problem.
I think this can be done using graph.
Can anyone please guide with the code?
Thanks in advance.
Regards,
Parul | 1 |
9,126,041 | 02/03/2012 09:00:21 | 277,553 | 02/20/2010 07:58:31 | 813 | 6 | Error. Fetching JSONP from ASP.NET page | I am doing a cross-domain fetch from a ASP.NET page using Jquery-JSONP
My ASP.NET page looks like this;
public partial class Test : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Response.Write("functionName({'test_param':123... | javascript | jquery | asp.net | jsonp | null | null | open | Error. Fetching JSONP from ASP.NET page
===
I am doing a cross-domain fetch from a ASP.NET page using Jquery-JSONP
My ASP.NET page looks like this;
public partial class Test : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
R... | 0 |
3,458,138 | 08/11/2010 12:21:27 | 417,211 | 08/11/2010 12:21:27 | 1 | 0 | SNMP: Create custom OID | I need custom OIDs for monitoring some of my software states.
But I just can't understand: how can I create custom OID (like .1.3.6.1.4.1.30891.100.103) in Windows XP system?
I need few of them to write there some info and read it when needed. | c# | windows | windows-xp | snmp | null | null | open | SNMP: Create custom OID
===
I need custom OIDs for monitoring some of my software states.
But I just can't understand: how can I create custom OID (like .1.3.6.1.4.1.30891.100.103) in Windows XP system?
I need few of them to write there some info and read it when needed. | 0 |
2,414,458 | 03/10/2010 04:12:28 | 290,188 | 03/10/2010 04:12:28 | 1 | 0 | Creating subtree from tree which is represented in xml - python | I have an XML (in the form of tree), I require to create sub-tree out of it.
For ex:
<a>
<b>
<c>Hello</c>
<d>
<e>Hi</e>
</a>
Subtree would be
<root>
<a>
<b>
<c>Hello</c>
</b>
</a>
<a>
<d>
<e>Hi</e>
</d>
</a>
</root>
What is the best XML library in python to ... | xml | parsing | tree | subtree | python | null | open | Creating subtree from tree which is represented in xml - python
===
I have an XML (in the form of tree), I require to create sub-tree out of it.
For ex:
<a>
<b>
<c>Hello</c>
<d>
<e>Hi</e>
</a>
Subtree would be
<root>
<a>
<b>
<c>Hello</c>
</b>
</a>
<a>
<d>
<e>Hi</e>
... | 0 |
8,316,321 | 11/29/2011 19:10:07 | 888,617 | 08/10/2011 19:20:22 | 171 | 10 | Silverlight waiting for asynchronous call | I have a silverlight application that went it starts up, it needs to read a config file that a webservice returns.
So, in my main page, I want something like this:
public MainPage()
{
InitializeComponent();
Config cfg = new Config();
XDocument config = cfg.getConfig();
//doing st... | c# | .net | silverlight | wcf | null | null | open | Silverlight waiting for asynchronous call
===
I have a silverlight application that went it starts up, it needs to read a config file that a webservice returns.
So, in my main page, I want something like this:
public MainPage()
{
InitializeComponent();
Config cfg = new Config();
XDocu... | 0 |
4,796,254 | 01/25/2011 16:40:36 | 178,946 | 09/25/2009 08:32:57 | 298 | 14 | Relative path to absolute path in C#? | I have xml files that contain href file paths to images (e.g. "..\..\images\image.jpg"). The hrefs contain relative paths. Now, I need to extract the hrefs to the images and turn them into absolute paths in the file system.
I know about the GetFullPath method, but I tried it and it only seems to work from the Curren... | c# | relative-path | absolute-path | null | null | null | open | Relative path to absolute path in C#?
===
I have xml files that contain href file paths to images (e.g. "..\..\images\image.jpg"). The hrefs contain relative paths. Now, I need to extract the hrefs to the images and turn them into absolute paths in the file system.
I know about the GetFullPath method, but I tried i... | 0 |
5,891,775 | 05/05/2011 01:41:20 | 360,890 | 06/07/2010 23:03:28 | 655 | 60 | @font-face anti-aliasing in IE7-9 | I'm trying to get @font-face looking perfect in IE, but am short of a solution.
I've checked out this:
http://allcreatives.net/2009/12/05/smoother-font-face-embedding-in-ie-7-8/
which didn't work on my Windows7 IE.
Anyone has a better solution? | css3 | font-face | null | null | null | null | open | @font-face anti-aliasing in IE7-9
===
I'm trying to get @font-face looking perfect in IE, but am short of a solution.
I've checked out this:
http://allcreatives.net/2009/12/05/smoother-font-face-embedding-in-ie-7-8/
which didn't work on my Windows7 IE.
Anyone has a better solution? | 0 |
270,325 | 11/06/2008 21:20:55 | 20,178 | 09/22/2008 03:00:27 | 2,163 | 86 | How to Write a Query to Merge Two Accounts and their Activity Logs into One? | We frequently have users that create multiple accounts and then end up storing the same lesson activity data more than once. Once they realize the error, then they contact us to merge the accounts into a single one that they can use.
I've been beating myself to death trying to figure out how to write a query in MyS... | sql | mysql | query | null | null | 11/06/2008 21:44:17 | off topic | How to Write a Query to Merge Two Accounts and their Activity Logs into One?
===
We frequently have users that create multiple accounts and then end up storing the same lesson activity data more than once. Once they realize the error, then they contact us to merge the accounts into a single one that they can use.
... | 2 |
11,665,036 | 07/26/2012 08:11:53 | 1,283,161 | 03/21/2012 10:51:51 | 1 | 0 | Redis data structure for networking site | I have develping socialnetworking website, and in this website i am giving "friend suggesstion", "friend list", "mutual friends list (between loggin user and another user)". all this staff i am doing very well in SQL. for that i have following table(s) in MS SQL 2008.
1) CountryMaster (CountryID (Pk), CountryName )
2... | node.js | redis | social-networking | null | null | 07/26/2012 12:53:26 | off topic | Redis data structure for networking site
===
I have develping socialnetworking website, and in this website i am giving "friend suggesstion", "friend list", "mutual friends list (between loggin user and another user)". all this staff i am doing very well in SQL. for that i have following table(s) in MS SQL 2008.
1) C... | 2 |
7,809,716 | 10/18/2011 15:24:03 | 536,915 | 12/09/2010 19:03:57 | 128 | 7 | Is there an app for iphone or android that allows a demo of jpegs? | Is there way to create an interactive presentation on a smart phone device (iphone, android, tablets) that allows a user to have a general look and feel of an app without doing actual development? Similar to an interactive PDF? But for smart devices?
| android | iphone | phone | smart | null | 10/18/2011 15:31:38 | off topic | Is there an app for iphone or android that allows a demo of jpegs?
===
Is there way to create an interactive presentation on a smart phone device (iphone, android, tablets) that allows a user to have a general look and feel of an app without doing actual development? Similar to an interactive PDF? But for smart devi... | 2 |
2,964,612 | 06/03/2010 09:22:05 | 447,161 | 05/27/2010 09:20:53 | 296 | 6 | Best online photoeditor & Best iphone wireframe Creator | Is there any Best online photo editor & Best iphone wireframe Creator?
iphone wireframe creator that is useful to draw preview of any iphone application. | iphone | photo | null | null | null | 09/07/2011 22:19:18 | not constructive | Best online photoeditor & Best iphone wireframe Creator
===
Is there any Best online photo editor & Best iphone wireframe Creator?
iphone wireframe creator that is useful to draw preview of any iphone application. | 4 |
1,455,434 | 09/21/2009 16:27:00 | 88,409 | 04/08/2009 03:41:26 | 242 | 25 | Writing a file backup utility in C#... | **--BEGIN RANT--**
ALL I want to do is copy the "Documents and Settings" folder to back it up in Windows Server 2003, so we can grab old files from it, as needed, easily, after I wipe the server to upgrade the OS to Windows Server 2008.
BUT, I get errors about NTUSER being in use, etc., when I try to copy it.
It's... | backup | c# | ntfs | security | null | null | open | Writing a file backup utility in C#...
===
**--BEGIN RANT--**
ALL I want to do is copy the "Documents and Settings" folder to back it up in Windows Server 2003, so we can grab old files from it, as needed, easily, after I wipe the server to upgrade the OS to Windows Server 2008.
BUT, I get errors about NTUSER bein... | 0 |
8,422,270 | 12/07/2011 20:44:20 | 1,086,478 | 12/07/2011 20:40:34 | 1 | 0 | How to get configuration options programmatically? | Does someone know a way to find out all configuration options from an ExtJS control programmatically? I do mean options like width, height etc. as described in the EXTJS documentation. | extjs | null | null | null | null | null | open | How to get configuration options programmatically?
===
Does someone know a way to find out all configuration options from an ExtJS control programmatically? I do mean options like width, height etc. as described in the EXTJS documentation. | 0 |
2,635,191 | 04/14/2010 06:03:34 | 103,264 | 05/08/2009 01:16:16 | 240 | 1 | DC: Mac Developer vs iPhone Developer | http://developer.apple.com/programs/
so whats the difference between Mac Developer and iPhone Developer membership?
If you signup to Mac Developer you can download the iPhone SDK anyways? so why would you sign to iphone developer? | apple | iphone | osx | null | null | 06/23/2010 03:13:17 | off topic | DC: Mac Developer vs iPhone Developer
===
http://developer.apple.com/programs/
so whats the difference between Mac Developer and iPhone Developer membership?
If you signup to Mac Developer you can download the iPhone SDK anyways? so why would you sign to iphone developer? | 2 |
3,851,279 | 10/03/2010 19:32:58 | 336,271 | 05/08/2010 16:35:43 | 181 | 16 | in fluent-nhibernate,saving a many-to-one entity, why i should give a version to the referenced entity. | i have the following entities:
public class Worker
{
public int WorkerID {get;set;}
public string Name { get;set;}
public int version { get;set;}
}
public class TransferOrder
{
public int TransferOrderID { get;set;}
public Worker workerTobeTransfered{get;... | fluent-nhibernate | version | many-to-one | null | null | null | open | in fluent-nhibernate,saving a many-to-one entity, why i should give a version to the referenced entity.
===
i have the following entities:
public class Worker
{
public int WorkerID {get;set;}
public string Name { get;set;}
public int version { get;set;}
}
public class Tran... | 0 |
8,579,098 | 12/20/2011 17:02:19 | 791,335 | 06/09/2011 16:24:09 | 146 | 1 | django dynamic filtered form | I am converting a project from php to Django and have run into the issue of filtered menus. I have a form:
class SearchForm(forms.Form):
genus = forms.CharField(max_length=100)
# species
species = forms.CharField(max_length=100)
# island group
island_group = form... | django | forms | menu | null | null | null | open | django dynamic filtered form
===
I am converting a project from php to Django and have run into the issue of filtered menus. I have a form:
class SearchForm(forms.Form):
genus = forms.CharField(max_length=100)
# species
species = forms.CharField(max_length=100)
# island ... | 0 |
8,239,947 | 11/23/2011 09:38:51 | 1,012,456 | 10/25/2011 09:29:58 | 49 | 0 | Php rotate url from array | Say you have a file that contains an array with a time and a code like this:
{"TIME":"0410","ARRIVAL":"AAA"}
{"TIME":"0600","ARRIVAL":"BBB"}
{"TIME":"0600","ARRIVAL":"CCC"}
{"TIME":"0600","ARRIVAL":"DDD"}
I need to create something that rotates the url using the code from the array based on the... | php | arrays | url | rotation | null | 11/23/2011 09:58:47 | not a real question | Php rotate url from array
===
Say you have a file that contains an array with a time and a code like this:
{"TIME":"0410","ARRIVAL":"AAA"}
{"TIME":"0600","ARRIVAL":"BBB"}
{"TIME":"0600","ARRIVAL":"CCC"}
{"TIME":"0600","ARRIVAL":"DDD"}
I need to create something that rotates the url using the c... | 1 |
1,592,111 | 10/20/2009 02:08:10 | 5,208 | 09/08/2008 13:23:19 | 260 | 10 | Help me with architecture to encapsulate my databases (maybe DI/IoC?) | I'm building a Windows-forms application that does some analysis that depends on 3 different databases. Two are actually geographic databases (ESRI) and one is a standard CRUD-type repository of information. Let's call them GeoRefDatabase, GeoResultDatabase, and RulesDatabase, respectively. There will be different typ... | architecture | ioc | dependency-injection | null | null | null | open | Help me with architecture to encapsulate my databases (maybe DI/IoC?)
===
I'm building a Windows-forms application that does some analysis that depends on 3 different databases. Two are actually geographic databases (ESRI) and one is a standard CRUD-type repository of information. Let's call them GeoRefDatabase, GeoR... | 0 |
4,368,086 | 12/06/2010 15:44:42 | 532,493 | 12/06/2010 15:36:22 | 1 | 0 | CSS Center Element in 3 Column Layout | So I have a 3-column layout on my webpage, but I can't get the things in the middle column to be centered. The columns on the left and right are of fixed width, so I created a container for the middle column and set its borders to equal the size of the left and right columns. Then, I used the margin:auto property on ... | html | css | null | null | null | null | open | CSS Center Element in 3 Column Layout
===
So I have a 3-column layout on my webpage, but I can't get the things in the middle column to be centered. The columns on the left and right are of fixed width, so I created a container for the middle column and set its borders to equal the size of the left and right columns.... | 0 |
3,632,341 | 09/03/2010 00:56:01 | 438,515 | 09/03/2010 00:56:01 | 1 | 0 | Which is better for database design, RoR or PHP? | I am about to embark on a project which will be a database with potentially thousands of entries. It is for an Australian audience so load should not be particularly high. The developer who is interested has a strong preference for RoR. However I am unconvinced of the benefits of RoR for all aspects of a project.
F... | php | ruby-on-rails | database-design | null | null | 09/04/2010 02:30:14 | not constructive | Which is better for database design, RoR or PHP?
===
I am about to embark on a project which will be a database with potentially thousands of entries. It is for an Australian audience so load should not be particularly high. The developer who is interested has a strong preference for RoR. However I am unconvinced of t... | 4 |
541,165 | 02/12/2009 13:13:25 | 60,200 | 01/29/2009 13:43:43 | 71 | 4 | When my application throw an error, windows error dialog shown | I developing windows form application in c#.net. Sometimes my program throw an error, windows error dialog shown (Please tell Microsoft about this problem, Send error report, Dont sent, bla bla...).
I dont know why this dialog shown.
What happening on my program? | windows | c# | null | null | null | null | open | When my application throw an error, windows error dialog shown
===
I developing windows form application in c#.net. Sometimes my program throw an error, windows error dialog shown (Please tell Microsoft about this problem, Send error report, Dont sent, bla bla...).
I dont know why this dialog shown.
What happening... | 0 |
3,820,075 | 09/29/2010 08:51:32 | 218,380 | 11/25/2009 07:48:17 | 50 | 5 | javascript form submit return form object null | I have this code, let say it's `a.html`
<form name="frmSubmit" id="frmSubmit" method="post">
<input type="hidden" name="hdnName" value="user name" />
</form>
<script>
// 1 : start
document.frmSubmit.action = 'b.html';
document.frmSubmit.submit();
// 1 : end
// 2 : star... | javascript | forms | null | null | null | null | open | javascript form submit return form object null
===
I have this code, let say it's `a.html`
<form name="frmSubmit" id="frmSubmit" method="post">
<input type="hidden" name="hdnName" value="user name" />
</form>
<script>
// 1 : start
document.frmSubmit.action = 'b.html';
document.fr... | 0 |
10,948,994 | 06/08/2012 12:38:04 | 264,697 | 02/02/2010 20:23:47 | 25,020 | 861 | Secure hashing in .NET | The password leak of LinkedIn proved how important it is to securely hash your passwords. However, even hashing passwords with a salt is not secure with the 'normal' hashing algoritms (such as MD5 and the SHA family), since they are optimized for speed, which allows hackers compute 2300 million hashes per second (brute... | c# | .net | security | hashing | null | 06/10/2012 15:57:58 | not constructive | Secure hashing in .NET
===
The password leak of LinkedIn proved how important it is to securely hash your passwords. However, even hashing passwords with a salt is not secure with the 'normal' hashing algoritms (such as MD5 and the SHA family), since they are optimized for speed, which allows hackers compute 2300 mill... | 4 |
11,531,727 | 07/17/2012 22:27:09 | 1,436,247 | 06/04/2012 23:40:54 | 149 | 11 | Simulate position:absolute and higher z-index without using CSS? | I've created a code generator which makes it easy for users to embed an image in a website. This website, however, removes all CSS styling attributes and JavaScript from any code pasted in the input boxes.
This means I have to display my logo beneath or above the generated image on the page. I want my logo to be d... | html | css | html5 | null | null | null | open | Simulate position:absolute and higher z-index without using CSS?
===
I've created a code generator which makes it easy for users to embed an image in a website. This website, however, removes all CSS styling attributes and JavaScript from any code pasted in the input boxes.
This means I have to display my logo ben... | 0 |
8,677,461 | 12/30/2011 08:09:25 | 1,010,652 | 10/24/2011 10:23:24 | 1 | 0 | Show HTML contents in rectangle | I am showing epub file contents. I want to show rectangle with HTML content wherever user tap while seeing epub file, means when user tap it will hit to another site a small rectangle will popdown with that website contents. | java | android | graphics | webview | null | 01/01/2012 08:20:57 | not a real question | Show HTML contents in rectangle
===
I am showing epub file contents. I want to show rectangle with HTML content wherever user tap while seeing epub file, means when user tap it will hit to another site a small rectangle will popdown with that website contents. | 1 |
1,219,243 | 08/02/2009 16:46:51 | 149,274 | 08/02/2009 12:18:31 | 1 | 1 | Should i use gVim, or the terminal? | I'm currently starting to learn how to use Vim, and it seems pretty cool. However, I'm kinda wondering if I should use the terminal for my editing, or gVim?
I'm running Linux (Ubuntu). | vim | null | null | null | null | 08/02/2009 17:29:42 | off topic | Should i use gVim, or the terminal?
===
I'm currently starting to learn how to use Vim, and it seems pretty cool. However, I'm kinda wondering if I should use the terminal for my editing, or gVim?
I'm running Linux (Ubuntu). | 2 |
9,462,124 | 02/27/2012 08:40:22 | 1,227,555 | 02/23/2012 05:42:35 | 6 | 0 | which mysql sotrage engine will be better in my situation | i have to develop a big application School management system which mysql storage engine will be better MyIsam or innodb or any other please suggest me? | php | mysql | null | null | null | 02/27/2012 17:45:47 | not a real question | which mysql sotrage engine will be better in my situation
===
i have to develop a big application School management system which mysql storage engine will be better MyIsam or innodb or any other please suggest me? | 1 |
8,119,801 | 11/14/2011 09:53:15 | 1,037,153 | 11/09/2011 07:57:18 | 46 | 1 | Best webserver with minimum resource | Now i am using apache2, but i heard about engine-x (nginx) is pretty fast and with low hardware consumption. If the feedback is good enough than my lamp environment will be changed in lxmp. | php | apache | nginx | null | null | 11/14/2011 09:55:33 | not constructive | Best webserver with minimum resource
===
Now i am using apache2, but i heard about engine-x (nginx) is pretty fast and with low hardware consumption. If the feedback is good enough than my lamp environment will be changed in lxmp. | 4 |
2,339,610 | 02/26/2010 05:07:49 | 34,942 | 11/06/2008 03:34:36 | 4,766 | 179 | RegisterStartupScript inside an update panel inside a user control not working | I have a user control that has an update panel inside it. When the form posts back, this event handler is fired:
protected void SubmitButton_Click(object sender, EventArgs e)
{
Page.Validate("ContactUs");
if (Page.IsValid)
{
ScriptManager.RegisterStartupScript(
... | asp.net-ajax | null | null | null | null | null | open | RegisterStartupScript inside an update panel inside a user control not working
===
I have a user control that has an update panel inside it. When the form posts back, this event handler is fired:
protected void SubmitButton_Click(object sender, EventArgs e)
{
Page.Validate("ContactUs");
... | 0 |
9,986,423 | 04/03/2012 02:42:03 | 1,054,074 | 11/18/2011 15:19:41 | 1 | 0 | Java Awt Robot changes Windows Mouse Speed | Every time I use Robot to move the mouse, it resets the Windows mouse speed. This is really annoying to deal with, and I was wondering if anyone knows how to fix this. Here is basically the code I am messing around with:
<pre>
Robot robot = new Robot();
robot.mouseMove(10, 1070);
robot.delay(300);
... | java | windows | mouse | awt | robot | null | open | Java Awt Robot changes Windows Mouse Speed
===
Every time I use Robot to move the mouse, it resets the Windows mouse speed. This is really annoying to deal with, and I was wondering if anyone knows how to fix this. Here is basically the code I am messing around with:
<pre>
Robot robot = new Robot();
rob... | 0 |
6,637,472 | 07/09/2011 21:08:13 | 759,051 | 05/18/2011 11:09:35 | 424 | 24 | Does this simple shuffling algorithm return a randomly shuffled deck of playing cards? | You have a list of 52 cards where the position of the cards in that list does not move.
You have a second list of card positions. At first, the position list is the same as the first list.
1) Iterate through the first list.
2) For each card in the first list, generate a number from 1 to 52. Swap its position in... | shuffle | null | null | null | null | 07/11/2011 11:03:52 | off topic | Does this simple shuffling algorithm return a randomly shuffled deck of playing cards?
===
You have a list of 52 cards where the position of the cards in that list does not move.
You have a second list of card positions. At first, the position list is the same as the first list.
1) Iterate through the first list. ... | 2 |
3,779,635 | 09/23/2010 14:52:03 | 456,303 | 09/23/2010 14:47:34 | 1 | 0 | jQuery regex, remote with validation | I have this:
<script type="text/javascript">
jQuery().ready(function() {
// validate signup form on keyup and submit
jQuery("#regform").validate({
rules: {
NickName: {
required: true,
minlength: 2,
remote : "user_availability... | jquery | regex | null | null | null | null | open | jQuery regex, remote with validation
===
I have this:
<script type="text/javascript">
jQuery().ready(function() {
// validate signup form on keyup and submit
jQuery("#regform").validate({
rules: {
NickName: {
required: true,
minlength: 2,
... | 0 |
9,602,514 | 03/07/2012 13:37:06 | 1,240,523 | 02/29/2012 14:42:20 | 3 | 0 | Where to start writing a Cross platform OS abstraction library | This is actually a prequisites for an placement interview (im a student), however the kind people chose the week i have two assignments due to send it to me.
I am currently stuck, i've looked into how to write a cross platform library however most of the search results that turn up, just tell me to include another l... | windows | linux | cross-platform | abstraction | null | 03/07/2012 13:39:36 | not a real question | Where to start writing a Cross platform OS abstraction library
===
This is actually a prequisites for an placement interview (im a student), however the kind people chose the week i have two assignments due to send it to me.
I am currently stuck, i've looked into how to write a cross platform library however most o... | 1 |
7,161,382 | 08/23/2011 12:59:10 | 156,888 | 08/15/2009 10:55:56 | 1,585 | 105 | List<T> with baseclass | So i have a base class:
public SomeClass{
public string Id{ get; set; go; }
}
And then another class like so:
public class Invite<T>{
public List<T> {get;set;}
}
and then some derived:
public BabyClass : SomeClass{
public string Id{ get; set;}
public void Poo... | c# | list | generics | null | null | 08/23/2011 19:16:59 | not a real question | List<T> with baseclass
===
So i have a base class:
public SomeClass{
public string Id{ get; set; go; }
}
And then another class like so:
public class Invite<T>{
public List<T> {get;set;}
}
and then some derived:
public BabyClass : SomeClass{
public string Id{ get; se... | 1 |
4,744,751 | 01/20/2011 08:08:18 | 562,347 | 01/04/2011 09:50:03 | 1 | 1 | javascript redirect | can we possible to redirect to fuction using javascript | codeigniter | null | null | null | null | 01/21/2011 08:43:19 | not a real question | javascript redirect
===
can we possible to redirect to fuction using javascript | 1 |
3,970,951 | 10/19/2010 17:22:05 | 301,048 | 03/24/2010 17:22:15 | 26 | 0 | Simple URL routes in WCF Rest 4.0 without trailing slash | I have a WCF REST 4.0 project based on the the WCF REST Service Template 40(CS). I'd like to expose simple service endpoint URLs *without* trailing slashes. For example:
1. CarService.cs
- http://www.domain.com/cars - GET returns a list of all cars
- http://www.domain.com/cars/123 - GET returns a single car... | wcf | rest | null | null | null | null | open | Simple URL routes in WCF Rest 4.0 without trailing slash
===
I have a WCF REST 4.0 project based on the the WCF REST Service Template 40(CS). I'd like to expose simple service endpoint URLs *without* trailing slashes. For example:
1. CarService.cs
- http://www.domain.com/cars - GET returns a list of all cars
... | 0 |
1,158,238 | 07/21/2009 09:47:36 | 141,900 | 07/21/2009 09:47:36 | 1 | 0 | javascript module architecture on a website | i want to write a player on one html site - i will never leaver the site
i think about two possible concurrent basic approaches:
1. we go into the module by use only a specific function (with specific params - everything which will happen, happen there - logic, exception handling etc)
2. we go in by using one ... | javascript | module | architecture | web-applications | null | 06/03/2012 19:47:29 | not a real question | javascript module architecture on a website
===
i want to write a player on one html site - i will never leaver the site
i think about two possible concurrent basic approaches:
1. we go into the module by use only a specific function (with specific params - everything which will happen, happen there - logic, exc... | 1 |
10,108,005 | 04/11/2012 14:30:01 | 1,326,849 | 04/11/2012 14:26:01 | 1 | 0 | Json conversion to object is failing | My json string is as follows
{"issueStatusArray":["1"],"rootcauseArray":[],"componentArray":[],"flagsArray":["-1","1","2","3"]"issuetypeArray":["1","2","3"],"affectedProductArray":["-1","1","0","3","2"],"toolsArray":["-1","1","2"]}
i am unable to convert in into object using eval()
searchJson=eval('(' + searchSt... | json | null | null | null | null | 04/16/2012 20:37:01 | not a real question | Json conversion to object is failing
===
My json string is as follows
{"issueStatusArray":["1"],"rootcauseArray":[],"componentArray":[],"flagsArray":["-1","1","2","3"]"issuetypeArray":["1","2","3"],"affectedProductArray":["-1","1","0","3","2"],"toolsArray":["-1","1","2"]}
i am unable to convert in into object us... | 1 |
7,909,496 | 10/26/2011 22:04:39 | 616,115 | 02/14/2011 11:32:53 | 6 | 0 | how to write online quiz project code |
$answers=array();
$rightanswer=array();
echo '<form action="question_check.php" method="post">';
$result=mysql_query("select * from sual where sual_id='1'");
if(mysql_num_rows($result))
{
$row=mysql_fetch_row($result);
{
$question_id=$row[0];
$question=$row[1... | php | null | null | null | null | 10/26/2011 23:07:39 | not a real question | how to write online quiz project code
===
$answers=array();
$rightanswer=array();
echo '<form action="question_check.php" method="post">';
$result=mysql_query("select * from sual where sual_id='1'");
if(mysql_num_rows($result))
{
$row=mysql_fetch_row($result);
{
... | 1 |
6,769,807 | 07/20/2011 22:24:23 | 854,988 | 07/21/2011 00:30:16 | 1 | 0 | Why php doesn't see the $_SESSION[] array anywhere? | I'm writing a php code processing a lot of data, sometimes interactively. In my starting php page i call the function session_start() before sending any other data to the browser. Then, i put some data into the $_SESSION[] array, like this:
`$_SESSION['something'] = $variable;`
After, there is a form, what is... | php | ajax | null | null | null | null | open | Why php doesn't see the $_SESSION[] array anywhere?
===
I'm writing a php code processing a lot of data, sometimes interactively. In my starting php page i call the function session_start() before sending any other data to the browser. Then, i put some data into the $_SESSION[] array, like this:
`$_SESSION['som... | 0 |
7,781,821 | 10/16/2011 01:42:25 | 690,454 | 04/04/2011 02:21:04 | 1 | 0 | Executing shell script in Android app | Forgive me, I'm not a core Linux programmer. This is my first time doing any linux coding, so bare with me.
So I've read tons of posts on the topic here, and I'm having trouble figuring out what is going on with my code. Essentially, I'm trying to create a Profiles app. The device is rooted and contains BusyBox. I'v... | android | linux | shell | command | root | null | open | Executing shell script in Android app
===
Forgive me, I'm not a core Linux programmer. This is my first time doing any linux coding, so bare with me.
So I've read tons of posts on the topic here, and I'm having trouble figuring out what is going on with my code. Essentially, I'm trying to create a Profiles app. The... | 0 |
7,575,572 | 09/27/2011 20:56:29 | 964,000 | 09/25/2011 19:58:26 | 15 | 0 | Speed up DISTINCT query in MySQL | I have a InnoDB MYSQL table that stores a multi select name ( or 'code' as the table calls it), a parent object's id (parent_id) and the name of the option selected in the multi select (name_id):
CREATE TABLE IF NOT EXISTS `v2_CA_venue_option_map` (
`map_id` int(11) NOT NULL auto_increment,
`code... | mysql | null | null | null | null | null | open | Speed up DISTINCT query in MySQL
===
I have a InnoDB MYSQL table that stores a multi select name ( or 'code' as the table calls it), a parent object's id (parent_id) and the name of the option selected in the multi select (name_id):
CREATE TABLE IF NOT EXISTS `v2_CA_venue_option_map` (
`map_id` int(11)... | 0 |
7,189,055 | 08/25/2011 10:47:24 | 852,604 | 07/19/2011 18:14:12 | 1,514 | 46 | Working with XML in Java: fluent XSD and no need to parse | Does anyone know the solution for working with XML in Java that meets these requirements?
* Ability to fluently define XML schema (with no XSD)
* Ability to work with XML data via Java standard types: if I say that this attribute of this tag is an integer, I'd like to be able to read and write it as `int`, withou... | java | xml | xsd | null | null | null | open | Working with XML in Java: fluent XSD and no need to parse
===
Does anyone know the solution for working with XML in Java that meets these requirements?
* Ability to fluently define XML schema (with no XSD)
* Ability to work with XML data via Java standard types: if I say that this attribute of this tag is an int... | 0 |
2,914,921 | 05/26/2010 16:31:36 | 332,738 | 05/04/2010 19:36:02 | 1 | 1 | Android Context.bindService always returns false and ServiceConnection object is never triggered | I have followed the [Local Service example][1] provided by Google, but my `Context::bindService(...)` always returns false and there is `ServiceConnection::onServiceConnected` is also never called.
I understand that `Context::bindService()` returns immediately, but my `ServiceConnection` object is never triggered.
... | java | android | service | null | null | null | open | Android Context.bindService always returns false and ServiceConnection object is never triggered
===
I have followed the [Local Service example][1] provided by Google, but my `Context::bindService(...)` always returns false and there is `ServiceConnection::onServiceConnected` is also never called.
I understand tha... | 0 |
1,291,595 | 08/18/2009 03:11:21 | 139,089 | 07/15/2009 23:51:57 | 54 | 0 | Class returning an array | I have a class like:
class Configuration
def self.files
@@files ||= Array.new
end
end
Now instead of doing this:
irb(main):001:0> Configuration.files
=> [file, file, file]
I would like to be able to do this:
irb(main):001:0> Configuration
=> [file, fil... | ruby | null | null | null | null | null | open | Class returning an array
===
I have a class like:
class Configuration
def self.files
@@files ||= Array.new
end
end
Now instead of doing this:
irb(main):001:0> Configuration.files
=> [file, file, file]
I would like to be able to do this:
irb(main):001:0> Co... | 0 |
10,521,182 | 05/09/2012 17:34:23 | 1,382,897 | 05/08/2012 18:52:39 | 1 | 0 | XNA: Moving backwards (if statement never occurs) | Iam having some difficulties with my XNA project; I want to change the level when my main character moves into the left or right corner (going to the next or previous level respectively).
However, due to a problem I cannot seem to understand, the character is not able to go backwards to the previous level (look at the... | c# | xna | null | null | null | 05/10/2012 21:05:05 | not a real question | XNA: Moving backwards (if statement never occurs)
===
Iam having some difficulties with my XNA project; I want to change the level when my main character moves into the left or right corner (going to the next or previous level respectively).
However, due to a problem I cannot seem to understand, the character is not ... | 1 |
2,503,451 | 03/23/2010 20:42:12 | 300,295 | 03/23/2010 20:42:12 | 1 | 0 | In windbg, how do I get a heap header address from !heap -l results? | I am playing around with windbg's !heap command, particular the "-l" switch which detects memory leaks.
When -l does detect a leak, I am having problems navigating from its results to a stack trace for the source of the leak.
Here is a snippet of the results from !heap -l
0:066> !heap -l
Searching the memo... | windbg | null | null | null | null | null | open | In windbg, how do I get a heap header address from !heap -l results?
===
I am playing around with windbg's !heap command, particular the "-l" switch which detects memory leaks.
When -l does detect a leak, I am having problems navigating from its results to a stack trace for the source of the leak.
Here is a s... | 0 |
831,051 | 05/06/2009 18:37:07 | 5,056 | 09/07/2008 15:43:17 | 3,672 | 158 | How to make sure everything the Presenter does is asynchronous in MVP with WebForms | I am using the Model-View-Presenter pattern in a WinForms project and one problem (among many) that I am having is when the form tells the presenter to do something and then is un-reactive while the presenter goes of to do it. Fortunately in my project I have no problem with making all presenter calls asynchronous the... | winforms | mvp | multithreading | null | null | null | open | How to make sure everything the Presenter does is asynchronous in MVP with WebForms
===
I am using the Model-View-Presenter pattern in a WinForms project and one problem (among many) that I am having is when the form tells the presenter to do something and then is un-reactive while the presenter goes of to do it. For... | 0 |
6,263,397 | 06/07/2011 09:42:42 | 531,111 | 12/05/2010 10:25:30 | 48 | 0 | Anti-Bot in Java Application | How to implement AntiBot/AnitSpam in my Java Application?
I am not intrested to use Capctha feature. | java-ee | null | null | null | null | 06/07/2011 10:44:25 | not a real question | Anti-Bot in Java Application
===
How to implement AntiBot/AnitSpam in my Java Application?
I am not intrested to use Capctha feature. | 1 |
10,880,999 | 06/04/2012 12:06:11 | 1,435,094 | 06/04/2012 11:58:34 | 1 | 0 | How to trace an another iphone inside my own app? Would i need to use icloud or gps? | i am starting an app in which i am tracing an iphone of another user who installed this app.
How to trace an another iphone inside my own app? Would i need to use icloud or gps? any tutorial on this?
| iphone | iphone-sdk-4.0 | gps | xcode4.2 | icloud | 06/06/2012 12:19:36 | not constructive | How to trace an another iphone inside my own app? Would i need to use icloud or gps?
===
i am starting an app in which i am tracing an iphone of another user who installed this app.
How to trace an another iphone inside my own app? Would i need to use icloud or gps? any tutorial on this?
| 4 |
9,270,331 | 02/14/2012 00:59:47 | 910,470 | 08/24/2011 19:53:19 | 7 | 1 | Facebook Open Graph - Adding Actions, | I keep getting this error
> Aggregations were not properly set up for this Action Type. Please ensure that Aggregations are created and populated with sample data.
| facebook | opengraph | facebook-opengraph | open-graph-beta | null | 03/12/2012 18:46:22 | not a real question | Facebook Open Graph - Adding Actions,
===
I keep getting this error
> Aggregations were not properly set up for this Action Type. Please ensure that Aggregations are created and populated with sample data.
| 1 |
5,975,907 | 05/12/2011 09:23:59 | 733,213 | 05/01/2011 11:01:37 | 323 | 28 | Postgresql vs Oracle | Well, the subject suggests the question:
1. Oracle has a good support, so has enterpriseDB
2. Huge amount of data can be easily managed by Oracle, Specs of PostgreSql specs suggest the same
3. Feature wise I'm not sure, but reading on internet about both the DBs result in a tie
I wonder now, why oracle ... | oracle | postgresql | web-site-project | null | null | 05/12/2011 16:23:08 | not constructive | Postgresql vs Oracle
===
Well, the subject suggests the question:
1. Oracle has a good support, so has enterpriseDB
2. Huge amount of data can be easily managed by Oracle, Specs of PostgreSql specs suggest the same
3. Feature wise I'm not sure, but reading on internet about both the DBs result in a tie
... | 4 |
2,033,306 | 01/09/2010 12:18:02 | 128,028 | 06/24/2009 07:03:36 | 483 | 16 | Looking for a permissive and active cross-platform image processing library in C/C++ | I'm looking a cross-platform image processing library in C/C++ which is under active development. One more requirement: No GPL license.
Some references:
http://stackoverflow.com/questions/796364/fast-cross-platform-c-c-image-processing-libraries
http://stackoverflow.com/questions/1200727/cross-platform-drawing... | c++ | image-processing | cross-platform | null | null | null | open | Looking for a permissive and active cross-platform image processing library in C/C++
===
I'm looking a cross-platform image processing library in C/C++ which is under active development. One more requirement: No GPL license.
Some references:
http://stackoverflow.com/questions/796364/fast-cross-platform-c-c-image... | 0 |
9,798,116 | 03/21/2012 03:10:34 | 613,592 | 02/11/2011 20:16:53 | 26 | 0 | Debugging recaptcha - PHP | I am writing code to use recaptcha with PHP and MySQL but I am unable to verify the image. My script uses CURL to pull in the captcha from this page. Can someone here please tell me the Text in this captcha so I can map it in my database.
http://www.google.com/recaptcha/learnmore | php | mysql | captcha | null | null | 03/21/2012 04:01:45 | not a real question | Debugging recaptcha - PHP
===
I am writing code to use recaptcha with PHP and MySQL but I am unable to verify the image. My script uses CURL to pull in the captcha from this page. Can someone here please tell me the Text in this captcha so I can map it in my database.
http://www.google.com/recaptcha/learnmore | 1 |
10,982,447 | 06/11/2012 14:48:23 | 339,160 | 05/12/2010 09:38:54 | 378 | 2 | Arranging an 1D array | I have a single dimensional array . I want to print the array in a 3*3 fashion
ex:
item1 item2 item3
item4 item5 item6
item7 item8 item9
so on
I am using C# ..Please help !!! | c# | null | null | null | null | 06/11/2012 14:55:19 | not a real question | Arranging an 1D array
===
I have a single dimensional array . I want to print the array in a 3*3 fashion
ex:
item1 item2 item3
item4 item5 item6
item7 item8 item9
so on
I am using C# ..Please help !!! | 1 |
8,788,359 | 01/09/2012 12:20:57 | 1,111,768 | 12/22/2011 13:06:29 | 12 | 0 | how to return 2 values from a list? | I have the following javascript functions:
// JavaScript Document
function showList() {
sList = window.open("CLASS_LIST.PHP", "list", "width=421,height=600");
}
function remLink() {
if (window.sList && window.sList.open && !window.sList.closed)
window.sList.opener = null;
}
... | php | javascript | null | null | null | null | open | how to return 2 values from a list?
===
I have the following javascript functions:
// JavaScript Document
function showList() {
sList = window.open("CLASS_LIST.PHP", "list", "width=421,height=600");
}
function remLink() {
if (window.sList && window.sList.open && !window.sList.closed)
... | 0 |
7,896,612 | 10/25/2011 22:23:10 | 1,013,428 | 10/25/2011 19:39:08 | 1 | 0 | getGroupView in BaseExpandableListAdapter | For example I have my custom ExpandableListAdapter extends BaseExpandableListAdapter, it has **two** groups.
public View getGroupView(int groupPosition, boolean isExpanded, View convertView,
ViewGroup parent) {
if (convertView == null) {
convertView = infalInflater.inflate(R.l... | android | null | null | null | null | null | open | getGroupView in BaseExpandableListAdapter
===
For example I have my custom ExpandableListAdapter extends BaseExpandableListAdapter, it has **two** groups.
public View getGroupView(int groupPosition, boolean isExpanded, View convertView,
ViewGroup parent) {
if (convertView == null) {
... | 0 |
1,553,092 | 10/12/2009 06:56:36 | 188,245 | 10/12/2009 06:51:53 | 1 | 0 | How to make WMP to locate my custom codec? | Hieverybody,
I'm writing a custom codec for my encrypted mp3 file.(I know it sounds weird)
The problem is making WMP locate and install my custom codec when it sees my encrypted file.
There was WMPlugins.com once, but it is retired now. | windows-media-player | null | null | null | null | 07/17/2012 11:40:23 | off topic | How to make WMP to locate my custom codec?
===
Hieverybody,
I'm writing a custom codec for my encrypted mp3 file.(I know it sounds weird)
The problem is making WMP locate and install my custom codec when it sees my encrypted file.
There was WMPlugins.com once, but it is retired now. | 2 |
10,866,471 | 06/02/2012 22:37:52 | 624,869 | 02/20/2011 00:37:44 | 713 | 4 | JavaScript how to change mouse cursor to an image? | I've seen examples where you can change it to preset images that your operating system has; example:
$('body').css('cursor', 'wait');
But how about my own /img/my_image.png?
Thanks for any help.
| javascript | html | image | mouse | null | null | open | JavaScript how to change mouse cursor to an image?
===
I've seen examples where you can change it to preset images that your operating system has; example:
$('body').css('cursor', 'wait');
But how about my own /img/my_image.png?
Thanks for any help.
| 0 |
7,772,239 | 10/14/2011 18:55:07 | 870,776 | 07/30/2011 15:05:50 | 37 | 0 | Why codes run on machines? | I can't say I fully understand how compilers work. Moreover, I know little thing about them. However, I have always wonder how is it possible for a **machine** to *understand* the code we write in a document.
I know that what we wrote it is translated to *something* (if you could also give me some details of a compi... | compiler | computer-architecture | null | null | null | 10/15/2011 01:45:34 | off topic | Why codes run on machines?
===
I can't say I fully understand how compilers work. Moreover, I know little thing about them. However, I have always wonder how is it possible for a **machine** to *understand* the code we write in a document.
I know that what we wrote it is translated to *something* (if you could also... | 2 |
6,068,777 | 05/20/2011 07:28:01 | 762,300 | 05/20/2011 07:28:01 | 1 | 0 | How make dropdown Menu | In ASP.Net How to make Drop Down Menu. When User mouse hover on the menuitem then submenu item will be display.
Suppose my menu item is Search job and submenu item is Advance search,Company wise search,category wise search.
When user mouse hover on the search job then Above subItem will be display.
And how can put... | asp.net | null | null | null | null | 07/15/2011 22:36:11 | too localized | How make dropdown Menu
===
In ASP.Net How to make Drop Down Menu. When User mouse hover on the menuitem then submenu item will be display.
Suppose my menu item is Search job and submenu item is Advance search,Company wise search,category wise search.
When user mouse hover on the search job then Above subItem will ... | 3 |
1,382,464 | 09/05/2009 04:29:32 | 127,923 | 06/23/2009 23:30:39 | 125 | 7 | ActionScript and Flex Programming Blogs? | What's your favorite ActionScript or Flex programming blog? | flex | blogs | polls | null | null | 09/20/2011 11:29:57 | not constructive | ActionScript and Flex Programming Blogs?
===
What's your favorite ActionScript or Flex programming blog? | 4 |
10,494,307 | 05/08/2012 07:19:08 | 1,099,972 | 12/15/2011 13:36:37 | 151 | 5 | Vagrant Mac OSX | i installed vagrant from gem
gem install vagrant
but when i try to run it, for example
sudo vagrant box add base http://files.vagrantup.com/lucid32.box
i get the error
Vagrant could not detect VirtualBox! Make sure VirtualBox is properly installed.
Vagrant uses the `VBoxManage` binary... | osx | vagrant | null | null | null | 05/08/2012 13:27:46 | off topic | Vagrant Mac OSX
===
i installed vagrant from gem
gem install vagrant
but when i try to run it, for example
sudo vagrant box add base http://files.vagrantup.com/lucid32.box
i get the error
Vagrant could not detect VirtualBox! Make sure VirtualBox is properly installed.
Vagrant uses th... | 2 |
9,008,089 | 01/25/2012 18:24:51 | 566,267 | 01/07/2011 00:38:07 | 43 | 2 | jQuery a solution between children() and find(): anything than looks like closest()? | I'm wondering if a function like "closest" is available for the children elements.
Let's say I have an html structure like that:
**div.container > [* some elements, I can't use children()] > div.sub1 > div.sub2 > div.sub1 > [other various children elements]**
If I want the first div.sub1 I'm doing something li... | javascript | jquery | children | closest | inverse | null | open | jQuery a solution between children() and find(): anything than looks like closest()?
===
I'm wondering if a function like "closest" is available for the children elements.
Let's say I have an html structure like that:
**div.container > [* some elements, I can't use children()] > div.sub1 > div.sub2 > div.sub1 > ... | 0 |
6,578,254 | 07/05/2011 05:28:35 | 818,619 | 06/28/2011 06:27:29 | 1 | 1 | To get specific part of a string in c#. | I have a string
string a = "abc,xyz,wer";
Now, I need a part of this string like
string b = "abc";
How shall I get it? | c# | string | null | null | null | 07/05/2011 06:38:50 | not constructive | To get specific part of a string in c#.
===
I have a string
string a = "abc,xyz,wer";
Now, I need a part of this string like
string b = "abc";
How shall I get it? | 4 |
11,547,997 | 07/18/2012 18:29:39 | 282,771 | 02/27/2010 17:28:04 | 61 | 6 | Hello world code for Mountain Lion OSX 10.8 showing notification like iChat | Is there any example for showing a hello world notification on Mountain Lion OSX 10.8 (the new notification center). | objective-c | cocoa | osx-mountain-lion | null | null | 07/19/2012 14:03:09 | not constructive | Hello world code for Mountain Lion OSX 10.8 showing notification like iChat
===
Is there any example for showing a hello world notification on Mountain Lion OSX 10.8 (the new notification center). | 4 |
5,769,874 | 04/24/2011 09:57:54 | 449,230 | 09/16/2010 07:43:23 | 67 | 9 | Doubt about Google openid.claimed_id | I am using openid authentication in my web application.
I have two tables, one for storing multiple openid_url for any user_id and with openid as primary key.
There is another table with user details with user_id as primary key.
my authentication works and after that I check if the url returned is available in ... | perl | authentication | openid | google-openid | null | null | open | Doubt about Google openid.claimed_id
===
I am using openid authentication in my web application.
I have two tables, one for storing multiple openid_url for any user_id and with openid as primary key.
There is another table with user details with user_id as primary key.
my authentication works and after that I ... | 0 |
8,227,091 | 11/22/2011 12:49:07 | 872,173 | 08/01/2011 04:19:57 | 323 | 9 | How we can make the own application of Facebook and yelp in android | Can any body tell me How we can make the own application of Facebook and Yelp using the API of these application on Android?
Please give me some link and tips for develop it.
Thanx in Advance... | android | facebook | api | application | yelp | 11/22/2011 16:17:21 | not constructive | How we can make the own application of Facebook and yelp in android
===
Can any body tell me How we can make the own application of Facebook and Yelp using the API of these application on Android?
Please give me some link and tips for develop it.
Thanx in Advance... | 4 |
7,548,439 | 09/25/2011 20:38:35 | 209,591 | 11/12/2009 13:17:52 | 529 | 8 | solr: multivalued dateranges (representing opening hours) | Consider a bar which might have multiple openinghours, depending on the day of week (+ some special days when it might be closed)
I want to be able to lookup all bars that are currently open and that will be open for the next, say, 3 hours.
The best thing I believe would be to have a 'open,close'-tuple for each... | architecture | lucene | solr | null | null | null | open | solr: multivalued dateranges (representing opening hours)
===
Consider a bar which might have multiple openinghours, depending on the day of week (+ some special days when it might be closed)
I want to be able to lookup all bars that are currently open and that will be open for the next, say, 3 hours.
The best... | 0 |
8,842,212 | 01/12/2012 21:00:29 | 1,146,407 | 01/12/2012 20:44:00 | 1 | 0 | Xcode 4 ios didSelectRowAtIndexPath not pushing new view |
I'm having a problem with didSelectRowAtIndexPath I know there are other queries on this point but none seem to solve my problem. Basically the tableview loads but it does't do anything when a cell is clicked, i.e it doesn;t push the new xib. Any help would be great.
#import "ViewController.h"
#import ... | ios | xcode | null | null | null | null | open | Xcode 4 ios didSelectRowAtIndexPath not pushing new view
===
I'm having a problem with didSelectRowAtIndexPath I know there are other queries on this point but none seem to solve my problem. Basically the tableview loads but it does't do anything when a cell is clicked, i.e it doesn;t push the new xib. Any help wo... | 0 |
11,582,838 | 07/20/2012 15:53:54 | 395,146 | 07/18/2010 12:47:12 | 1,138 | 50 | Routing to a 'sub-controller' | I have a 'companies_controller' which is getting big as it is controlling everything. A company has a service which I need it to be set 'sub-route' of companies.
I routed my company like this:
resources :companies do
member do
get 'services/service'
end
end
I use this to access ... | ruby-on-rails | null | null | null | null | null | open | Routing to a 'sub-controller'
===
I have a 'companies_controller' which is getting big as it is controlling everything. A company has a service which I need it to be set 'sub-route' of companies.
I routed my company like this:
resources :companies do
member do
get 'services/service'
en... | 0 |
630,050 | 03/10/2009 13:02:42 | 65,903 | 02/13/2009 05:24:23 | 111 | 2 | soap4r custom headers | I've been working with soap4r and trying to use the SOAP::Header::SimpleHandler, I'm trying to get it to put a custom header on the outgoing message, but I can't work out how to get it to include attributes rather than as subelements:
class ServiceContext < SOAP::Header::SimpleHandler
NAMESPACE = "htt... | soap4r | ruby | dfs | documentum | null | null | open | soap4r custom headers
===
I've been working with soap4r and trying to use the SOAP::Header::SimpleHandler, I'm trying to get it to put a custom header on the outgoing message, but I can't work out how to get it to include attributes rather than as subelements:
class ServiceContext < SOAP::Header::SimpleHand... | 0 |
6,800,326 | 07/23/2011 12:23:33 | 778,642 | 06/01/2011 02:23:01 | 18 | 0 | How to crypt or hide a string in Delphi EXE ? | <br>
I am currently developing an application in Delphi, in which I have to hide (obfuscate) a string in source code like `str := 'Example String'`.<br>
Why ? Because if I open the EXE in text editor and search for `Example String` I'll find the string in second...<br>
I tried to use a basic HEX transcription like `... | string | delphi | hide | obfuscation | protect | null | open | How to crypt or hide a string in Delphi EXE ?
===
<br>
I am currently developing an application in Delphi, in which I have to hide (obfuscate) a string in source code like `str := 'Example String'`.<br>
Why ? Because if I open the EXE in text editor and search for `Example String` I'll find the string in second...<b... | 0 |
5,281,237 | 03/12/2011 07:20:29 | 546,063 | 11/08/2010 14:35:53 | 11 | 0 | What books or websites do you recommend for learning the programming basics | beginners books books or websites
that are good for understanding what are the main elements of program code, what are classes, operators, constructs etc.
| programming-languages | learning-curve | back-to-basics | null | null | 03/12/2011 07:56:43 | not constructive | What books or websites do you recommend for learning the programming basics
===
beginners books books or websites
that are good for understanding what are the main elements of program code, what are classes, operators, constructs etc.
| 4 |
1,163,376 | 07/22/2009 06:28:58 | 119,084 | 06/08/2009 08:30:38 | 150 | 24 | HTML +CSS +Javascript Editor | Hello a look for a good HTML + CSS +Javascript Editor, can you help me ???
Thank you very much !!!! | editor | null | null | null | null | 05/17/2012 23:16:27 | not constructive | HTML +CSS +Javascript Editor
===
Hello a look for a good HTML + CSS +Javascript Editor, can you help me ???
Thank you very much !!!! | 4 |
7,785,616 | 10/16/2011 16:20:40 | 993,110 | 10/13/2011 09:20:22 | 3 | 0 | PHP - how to get local time? | That's basically it, I need the server local time instead of GMT, so I need the offset (number of seconds) to add to what time() returns.
I also need this to work in any version of PHP 5, since I don't know if I'll have the latest version available. | php | null | null | null | null | null | open | PHP - how to get local time?
===
That's basically it, I need the server local time instead of GMT, so I need the offset (number of seconds) to add to what time() returns.
I also need this to work in any version of PHP 5, since I don't know if I'll have the latest version available. | 0 |
901,712 | 05/23/2009 15:16:39 | 111,435 | 05/23/2009 07:11:31 | 1 | 0 | check checkbox checked property using jquery | I need to check the checked property of a checkbox and perform the action based on the checked property using jquery.
For example, if the age checkbox is checked, then i need to show texbox to enter age, else hide the textbox.
But the following code gives false as by default:
if ($('#isAgeSelected).attr('check... | checkbox | jquery | null | null | null | null | open | check checkbox checked property using jquery
===
I need to check the checked property of a checkbox and perform the action based on the checked property using jquery.
For example, if the age checkbox is checked, then i need to show texbox to enter age, else hide the textbox.
But the following code gives false as... | 0 |
4,196,571 | 11/16/2010 16:43:31 | 493,669 | 11/01/2010 14:24:26 | 126 | 1 | "CREATE PROCEDURE SPNAME AS" vs. "CREATE PROCEDURE SPNAME AS BEGIN/END" | When creating a stored procedure, does the BEGIN/END block serve and purpose?
eg,
CREATE PROCEDURE SPNAME
AS
SELECT * FROM TABLE
vs.
CREATE PROCEDURE SPNAME
AS
BEGIN
SELECT * FROM TABLE
END
| tsql | null | null | null | null | null | open | "CREATE PROCEDURE SPNAME AS" vs. "CREATE PROCEDURE SPNAME AS BEGIN/END"
===
When creating a stored procedure, does the BEGIN/END block serve and purpose?
eg,
CREATE PROCEDURE SPNAME
AS
SELECT * FROM TABLE
vs.
CREATE PROCEDURE SPNAME
AS
BEGIN
SELECT * FROM TABLE
END... | 0 |
8,110,388 | 11/13/2011 08:00:10 | 449,132 | 09/16/2010 05:21:18 | 635 | 5 | How do I create a webcal in php so that user can subscribe to it? | I'm creating a resource planner and I want to enable webcal subscribing for the resources. Right now I don't have a clue of how to develop a webcal subscribing system in PHP. Are there any documentions/library or code snippets you can share with me? | php | ical | vcalendar | null | null | null | open | How do I create a webcal in php so that user can subscribe to it?
===
I'm creating a resource planner and I want to enable webcal subscribing for the resources. Right now I don't have a clue of how to develop a webcal subscribing system in PHP. Are there any documentions/library or code snippets you can share with me? | 0 |
9,457,102 | 02/26/2012 21:00:24 | 1,234,356 | 02/26/2012 20:48:17 | 1 | 0 | Git setup on mac (ERROR: "-bash: git: command not found") | I am trying to setup git on my Mac through this link (http://help.github.com/mac-set-up-git/). I was successful until Step 5 and I do see the message "Hi kharagpur! You've successfully authenticated, but GitHub does not provide shell access."
When I try the next step ("Then: Setting Up Your info") I run into proble... | eclipse | osx | git | github | null | null | open | Git setup on mac (ERROR: "-bash: git: command not found")
===
I am trying to setup git on my Mac through this link (http://help.github.com/mac-set-up-git/). I was successful until Step 5 and I do see the message "Hi kharagpur! You've successfully authenticated, but GitHub does not provide shell access."
When I try... | 0 |
11,044,368 | 06/15/2012 03:55:11 | 1,225,844 | 02/22/2012 12:45:46 | 7 | 0 | android - Progressbar on button click | 0 down vote favorite
share [g+] share [fb] share [tw]
In my app when i click button the progress bar need to start. Please help me. I need a progress bar and not a progress dialog. | android | android-progressbar | null | null | null | 06/15/2012 04:02:51 | not a real question | android - Progressbar on button click
===
0 down vote favorite
share [g+] share [fb] share [tw]
In my app when i click button the progress bar need to start. Please help me. I need a progress bar and not a progress dialog. | 1 |
2,132,837 | 01/25/2010 14:17:27 | 193,830 | 10/21/2009 13:52:20 | 42 | 2 | ASP.NET - Make a Textbox Required IF a Checkbox is checked | Whats the best way to make a textbox required if a checkbox is checked?
I figure I could write a custom validator, but I was hoping to avoid a full post back to check the validation if possible... I was thinking AJAX had something built in for this scenario, but I've been unable to find it. I'm thinking straight Ja... | asp.net | validation | null | null | null | null | open | ASP.NET - Make a Textbox Required IF a Checkbox is checked
===
Whats the best way to make a textbox required if a checkbox is checked?
I figure I could write a custom validator, but I was hoping to avoid a full post back to check the validation if possible... I was thinking AJAX had something built in for this scen... | 0 |
2,696,436 | 04/23/2010 05:36:02 | 307,508 | 04/02/2010 07:12:50 | 1 | 0 | Switch case in jquery | Am I writing the correct switch case?
var cnt = $("#div1 p").length;
alert(cnt);
switch (cnt) {
case (cnt >= 10 && cnt <= 20):
alert('10');
break;
... | jquery | null | null | null | null | null | open | Switch case in jquery
===
Am I writing the correct switch case?
var cnt = $("#div1 p").length;
alert(cnt);
switch (cnt) {
case (cnt >= 10 && cnt <= 20):
alert('10');
... | 0 |
10,298,629 | 04/24/2012 13:16:36 | 966,638 | 09/27/2011 08:52:12 | 803 | 21 | OnClick event - check which is the sender | Is there a way to call one event every time when something on my page is clicked (whether a control or something else), and then in that function to check which is the sender? | javascript | jquery | null | null | null | 04/25/2012 11:17:05 | not a real question | OnClick event - check which is the sender
===
Is there a way to call one event every time when something on my page is clicked (whether a control or something else), and then in that function to check which is the sender? | 1 |
6,459,433 | 06/23/2011 19:15:29 | 653,622 | 03/10/2011 13:33:09 | 445 | 4 | which concurrency control is more efficient pessimistic or optimistic concurrency control | I would like to know which concurrency control is more efficient, pessimistic or optimistic concurrency control? Is there a special reason why SQL Server 2005 uses pessimistic concurrency control as default? Is it for performance related reasons?
Thanks in anticipation | sql-server | concurrency | null | null | null | null | open | which concurrency control is more efficient pessimistic or optimistic concurrency control
===
I would like to know which concurrency control is more efficient, pessimistic or optimistic concurrency control? Is there a special reason why SQL Server 2005 uses pessimistic concurrency control as default? Is it for perform... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.