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
6,222,771
06/03/2011 03:47:25
344,769
05/19/2010 05:58:50
2,595
164
PHP - System Practices, Technologies & Tools
I am a PHP system developer and am about to reprogram a system and I have decided to implement many new technologies, as I do just about every time I make a new system. I am looking at general practices (such as versioning your system), tools and I will give examples of the ones I am using or will be implementing s...
php
technologies
system-design
null
null
06/03/2011 04:04:05
not a real question
PHP - System Practices, Technologies & Tools === I am a PHP system developer and am about to reprogram a system and I have decided to implement many new technologies, as I do just about every time I make a new system. I am looking at general practices (such as versioning your system), tools and I will give example...
1
3,593,870
08/29/2010 07:07:17
375,799
06/25/2010 00:13:20
1,171
47
SELECT / INSERT version of an UPSERT: is there a design pattern for high concurrency?
I want to do the SELECT / INSERT version of an UPSERT. Below is a template of the existing code: // CREATE TABLE Table (RowID INT NOT NULL IDENTITY(1,1), RowValue VARCHAR(50)) IF NOT EXISTS (SELECT * FROM Table WHERE RowValue = @VALUE) BEGIN INSERT Table VALUES (@Value) SELECT @id...
sql-server
tsql
sql-server-2008
design-patterns
concurrency
null
open
SELECT / INSERT version of an UPSERT: is there a design pattern for high concurrency? === I want to do the SELECT / INSERT version of an UPSERT. Below is a template of the existing code: // CREATE TABLE Table (RowID INT NOT NULL IDENTITY(1,1), RowValue VARCHAR(50)) IF NOT EXISTS (SELECT * FROM Table ...
0
7,116,759
08/19/2011 03:51:29
263,944
02/01/2010 23:32:34
31
3
Sending data to multiple sockets at exact same time
I'm want to design a ruby / rails solution to send out to several listening sockets on a local lan at the exact same time. I want the receiving servers to receive the message at exact same time / or micro second level. What is the best strategy that I can use that will effectively allow the receiving socket to rece...
ruby-on-rails
ruby
sockets
null
null
null
open
Sending data to multiple sockets at exact same time === I'm want to design a ruby / rails solution to send out to several listening sockets on a local lan at the exact same time. I want the receiving servers to receive the message at exact same time / or micro second level. What is the best strategy that I can use...
0
9,794,991
03/20/2012 21:08:46
179,581
09/26/2009 20:46:53
2,259
32
Restoring sshuttle without restarting os
I am experiencing an annoying problem with [sshuttle](https://github.com/apenwarr/sshuttle) running it on 10.7.3, MBA with the latest firmware update -- after I stop it (ctrl+c twice), or loose connection, or close the lid, I cannot restore it until I restart my laptop. The restarting takes notably more time, than it w...
proxy
ssh
transparentproxy
null
null
04/05/2012 17:33:48
off topic
Restoring sshuttle without restarting os === I am experiencing an annoying problem with [sshuttle](https://github.com/apenwarr/sshuttle) running it on 10.7.3, MBA with the latest firmware update -- after I stop it (ctrl+c twice), or loose connection, or close the lid, I cannot restore it until I restart my laptop. The...
2
11,548,753
07/18/2012 19:19:25
1,502,245
07/04/2012 18:09:55
1
0
Encrypted Text Message
I keep getting a text messages on my google samsung nexus s 4g running 4.0.4 The sender is unknown and i receive the same message 6 times now. first time about 1 month ago (june 20th 2012) each time it is sent its one hour a part on the hour. the latest time i got them were today (wed jul 18th 2012) received...
encryption
null
null
null
null
07/19/2012 14:02:42
off topic
Encrypted Text Message === I keep getting a text messages on my google samsung nexus s 4g running 4.0.4 The sender is unknown and i receive the same message 6 times now. first time about 1 month ago (june 20th 2012) each time it is sent its one hour a part on the hour. the latest time i got them were today (...
2
5,695,224
04/17/2011 17:45:12
712,146
04/17/2011 13:19:36
1
0
Groovy reveal letter
Im building the pelmanism game 4 by 4 board which has 8 pairs of letters abcdefgh as it is a 4 by 4 board. and so far Ive came up with the programme below but im having difficulty in getting the programme in revealing the hidden letter which i have inputted in when asked for row and column number, can anyone help much ...
groovy
null
null
null
null
05/12/2011 14:16:21
not a real question
Groovy reveal letter === Im building the pelmanism game 4 by 4 board which has 8 pairs of letters abcdefgh as it is a 4 by 4 board. and so far Ive came up with the programme below but im having difficulty in getting the programme in revealing the hidden letter which i have inputted in when asked for row and column num...
1
9,317,608
02/16/2012 19:17:13
644,978
03/04/2011 15:24:22
308
3
Chained Select Menu works great, but requires small tweak. AJAX / PHP / MySQL
Currently I have my chained select menus working great. However currently when the page loads **the first dropdown menu is completely empty**. I would prefer to populate the <select> menu initially with ALL the results from: **SELECT * FROM employees** and then if the user chooses an option from 2nd dropdown, it...
php
mysql
ajax
select
menu
null
open
Chained Select Menu works great, but requires small tweak. AJAX / PHP / MySQL === Currently I have my chained select menus working great. However currently when the page loads **the first dropdown menu is completely empty**. I would prefer to populate the <select> menu initially with ALL the results from: **SEL...
0
5,672,450
04/15/2011 04:38:22
458,548
09/26/2010 05:52:04
89
10
Silverlight 5 hardware acceleration
In order to gain the benefits of Hardware acceleration or any performance improvements in Silverlight 5 (beta), whether the client need to have IE9+. Can performance improvement be gained using IE6/IE7. Whether performance features of Silverlight 5 are browser dependent? Thanks.
silverlight
hardware-acceleration
null
null
null
null
open
Silverlight 5 hardware acceleration === In order to gain the benefits of Hardware acceleration or any performance improvements in Silverlight 5 (beta), whether the client need to have IE9+. Can performance improvement be gained using IE6/IE7. Whether performance features of Silverlight 5 are browser dependent? T...
0
10,544,994
05/11/2012 03:20:41
446,262
09/13/2010 11:41:58
190
1
Axis call hang tomcat
I have tomcat application which uses webservice using apache axis. Everything works fine if single user is using application. Multiple user are also working fine except in one condition. I have webservice call which can take 30 sec. When more than one user call a controller which uses this particular method, both threa...
spring
apache
tomcat6
axis
hang
null
open
Axis call hang tomcat === I have tomcat application which uses webservice using apache axis. Everything works fine if single user is using application. Multiple user are also working fine except in one condition. I have webservice call which can take 30 sec. When more than one user call a controller which uses this pa...
0
8,536,904
12/16/2011 16:11:45
641,843
03/02/2011 19:45:05
335
1
MySQL slow first query for key limit 1
I have a 500mb table and perform queries to that for a specific key. Since the table reached over 400k rows the first query is approx 3 sec and the follwing very fast, down to 0.001 sec. Can I solve this with a better table structure and without increasing the database memory? The table and keys are set as follow...
mysql
phpmyadmin
myisam
null
null
null
open
MySQL slow first query for key limit 1 === I have a 500mb table and perform queries to that for a specific key. Since the table reached over 400k rows the first query is approx 3 sec and the follwing very fast, down to 0.001 sec. Can I solve this with a better table structure and without increasing the database mem...
0
1,651,058
10/30/2009 16:55:34
181,948
09/30/2009 16:01:31
8
0
Loading Images from different UserControls in Silverlight
Loading images in Silverlight has many options depending on what you want to do, but this small problem has me slightly confused. Hopefully somebody here can help me out! In the web project, within the ClientBin directory I have a directory called Images which contains a png file. In the MainPage.xaml file, I can...
silverlight
null
null
null
null
null
open
Loading Images from different UserControls in Silverlight === Loading images in Silverlight has many options depending on what you want to do, but this small problem has me slightly confused. Hopefully somebody here can help me out! In the web project, within the ClientBin directory I have a directory called Images...
0
8,859,920
01/14/2012 03:27:03
10,659
09/16/2008 00:45:01
4,358
274
C# Where is my main menu?
The menu works fine. GenerateMember is on. The problem is that I'm trying to manipulate it in code (to put in a few dynamic items) and I can't find it. MainMenuStrip is null. Menu is null. It can't be in controls because it doesn't inherit from a Control. Where is it???
c#
menubar
null
null
null
01/15/2012 01:56:53
not a real question
C# Where is my main menu? === The menu works fine. GenerateMember is on. The problem is that I'm trying to manipulate it in code (to put in a few dynamic items) and I can't find it. MainMenuStrip is null. Menu is null. It can't be in controls because it doesn't inherit from a Control. Where is it???
1
325,392
11/28/2008 09:50:33
38,578
11/18/2008 13:45:23
6
1
Again a jquery doubt...
I am calling a .txt file from a jquery ajax call, it has some special characters like "±". this ± is delimiter for a set of array...data i want to split it out and push into a js array. but it is not treated as ± symbol when interpreted like this. so how do i get that data as just like browser content?
jquery
ajax
request
response
html
null
open
Again a jquery doubt... === I am calling a .txt file from a jquery ajax call, it has some special characters like "±". this ± is delimiter for a set of array...data i want to split it out and push into a js array. but it is not treated as ± symbol when interpreted like this. so how do i get that data as just...
0
7,248,877
08/30/2011 19:44:09
67,878
02/18/2009 15:15:33
135
2
In Lua how do you import modules?
Do you use require "name" or local name = require "name" Also, do you explicitly declare system modules as local variables? E.g. local io = require "io" Please explain your choice. Programming in Lua 2ed says "if she prefers to use a shorter name for a module, she can set a local name for i...
import
module
lua
declaration
require
null
open
In Lua how do you import modules? === Do you use require "name" or local name = require "name" Also, do you explicitly declare system modules as local variables? E.g. local io = require "io" Please explain your choice. Programming in Lua 2ed says "if she prefers to use a shorter name for a...
0
1,175,973
07/24/2009 06:12:59
11,464
09/16/2008 08:13:57
603
13
Enterprise library for .NET
what enterprise library are you using for your enterprise projects? beside Microsoft Enterprise Library? Thanks
enterprise-library
.net
null
null
null
06/17/2012 15:56:45
not constructive
Enterprise library for .NET === what enterprise library are you using for your enterprise projects? beside Microsoft Enterprise Library? Thanks
4
7,096,971
08/17/2011 17:30:37
899,143
08/17/2011 17:30:37
1
0
Looping a querySelectorAll array
So I am working on a javascript screen scraper, and I have come to this : <tr > <td class="c"><a href="page.php?id=20">Item1</a></td> <td><a href="page2.php?id=22987">Item2</a></td> <td class="r np vm">irrelevent</td> <td class="r">Item3</td> <td>also irrelevent</td> <td class="r ...
javascript
screen-scraping
null
null
null
05/22/2012 10:17:34
too localized
Looping a querySelectorAll array === So I am working on a javascript screen scraper, and I have come to this : <tr > <td class="c"><a href="page.php?id=20">Item1</a></td> <td><a href="page2.php?id=22987">Item2</a></td> <td class="r np vm">irrelevent</td> <td class="r">Item3</td> <td>a...
3
8,881,284
01/16/2012 14:20:09
1,152,001
01/16/2012 14:12:36
1
0
ExtJS not rendering my controls
I have a Panel (Ext.define('Ext.chooser.Panel', {extend: 'Ext.panel.Panel'...) which contains another custom panel ( items: {xtype: 'iconbrowser',) and renders correctly as far as I can see. However the sub-panel contains a combo box which is not rendering (in fact nothing renders in the sub-panel unless i use rende...
extjs4
null
null
null
null
null
open
ExtJS not rendering my controls === I have a Panel (Ext.define('Ext.chooser.Panel', {extend: 'Ext.panel.Panel'...) which contains another custom panel ( items: {xtype: 'iconbrowser',) and renders correctly as far as I can see. However the sub-panel contains a combo box which is not rendering (in fact nothing render...
0
8,483,442
12/13/2011 01:54:03
857,071
07/22/2011 00:47:33
324
12
2d Platformer Terrain generation in java
I am making a 2d platformer, and am trying to get some auto-terrain generation. I have found a Perlin noise function, however it isn't really helping, it is generated noise, but there are some platforms high in the air, and sometimes the perlin noise will output something good, but most of the time it isn't that "playa...
java
2d
auto-generate
terrain
2d-games
null
open
2d Platformer Terrain generation in java === I am making a 2d platformer, and am trying to get some auto-terrain generation. I have found a Perlin noise function, however it isn't really helping, it is generated noise, but there are some platforms high in the air, and sometimes the perlin noise will output something g...
0
7,257,809
08/31/2011 13:43:27
578,083
01/17/2011 05:22:12
145
5
how to create a container with rounded corner using css1?
I want to create a container which will have rounded corner without using images(only using border and div tags). And it should work with all the browsers.
css
null
null
null
null
08/31/2011 22:02:21
not a real question
how to create a container with rounded corner using css1? === I want to create a container which will have rounded corner without using images(only using border and div tags). And it should work with all the browsers.
1
3,094,416
06/22/2010 15:03:17
280,564
02/24/2010 17:59:49
20
1
EF 4.0 Dynamic Proxies POCO Object Does not match target type.
I am using EF 4.0 and POCO's. I stumbled across this error while inserting to records into the data base. Property accessor 'QualityReasonID' on object 'BI.Entities.QualityReason' threw the following exception:'Object does not match target type.' There errors occur on the Databind to a GridView after saving a ne...
entity-framework
entity-framework-4
poco
dynamic-proxy
null
null
open
EF 4.0 Dynamic Proxies POCO Object Does not match target type. === I am using EF 4.0 and POCO's. I stumbled across this error while inserting to records into the data base. Property accessor 'QualityReasonID' on object 'BI.Entities.QualityReason' threw the following exception:'Object does not match target type.' ...
0
10,284,080
04/23/2012 16:04:30
1,351,598
04/23/2012 14:41:22
1
3
CodeFirst Reverse Engineering...Is it worth the hassle?
My company has an extremely large and complex SQL Server database. I would like to use Entity Framework via a Code Centric - Code First Approach. The reverse engineering of such a monster seems cumbersome. I can definitely see the benefit of having it in Code First. The frequent versioning of EF also makes me a bit...
entity-framework
entity-framework-4.1
code-first
null
null
null
open
CodeFirst Reverse Engineering...Is it worth the hassle? === My company has an extremely large and complex SQL Server database. I would like to use Entity Framework via a Code Centric - Code First Approach. The reverse engineering of such a monster seems cumbersome. I can definitely see the benefit of having it in C...
0
4,809,076
01/26/2011 19:31:54
310,291
03/02/2010 15:22:39
1,907
16
Why Java and C# is not designed for being Agile and depends on Vendor Tools for refactoring ?
Designing an API is hard because you cannot refactor Packages when client code are not under your control. Second even when that code is under your control you need to buy special IDE to do that (see http://stackoverflow.com/questions/4807859/easiest-way-to-refactor-package-in-c-or-java ) Why since refactoring an...
c#
java
.net
null
null
01/26/2011 19:37:24
not a real question
Why Java and C# is not designed for being Agile and depends on Vendor Tools for refactoring ? === Designing an API is hard because you cannot refactor Packages when client code are not under your control. Second even when that code is under your control you need to buy special IDE to do that (see http://stackoverfl...
1
6,183,323
05/31/2011 05:23:50
524,723
11/30/2010 05:28:27
664
71
How to use html2pdf to print html pages
**I am using html2pdf library inorder to generate pdf from html file. i dont know how to check out width arrangements. i had got this library from source forge. if anyone know how to solve width problem or manual about html2pdf.** ***please intimate me in advance...***
php
html2pdf
null
null
null
05/31/2011 10:53:31
not a real question
How to use html2pdf to print html pages === **I am using html2pdf library inorder to generate pdf from html file. i dont know how to check out width arrangements. i had got this library from source forge. if anyone know how to solve width problem or manual about html2pdf.** ***please intimate me in advance...*** ...
1
1,489,934
09/29/2009 00:03:36
161,094
08/21/2009 22:33:18
41
4
Where can I get a good vertical menu for asp.net mvc
Anyone have any idea where I can get a good collapsible (and stay open when selected) vertical menu for an asp.net mvc project?
jquery
null
null
null
null
null
open
Where can I get a good vertical menu for asp.net mvc === Anyone have any idea where I can get a good collapsible (and stay open when selected) vertical menu for an asp.net mvc project?
0
4,620,016
01/06/2011 21:23:26
379,568
06/30/2010 00:02:50
21
1
Boost.Spirit.Qi: Take a rule's attribute and set it as a field of an enclosing rule's struct attribute?
Like, many of these other questions, I'm trying to parse a simple grammar into a tree of structs using Boost.Spirit.Qi. I'll try to distill what I'm trying to do to the simplest possible case. I have: struct Integer { int value; }; BOOST_FUSION_ADAPT_STRUCT(Integer, (int, value)) Later, ...
c++
boost-spirit
boost-spirit-qi
boost-phoenix
null
null
open
Boost.Spirit.Qi: Take a rule's attribute and set it as a field of an enclosing rule's struct attribute? === Like, many of these other questions, I'm trying to parse a simple grammar into a tree of structs using Boost.Spirit.Qi. I'll try to distill what I'm trying to do to the simplest possible case. I have: ...
0
7,766,807
10/14/2011 11:15:40
675,006
03/24/2011 13:52:43
15
2
Can I use Jinja2 template inheritance where child templates having a variable base template
Based on the origin of a request I want to use another base template in a session. I now solved the problem using different base templates which include the children : {% include top_html %}, where top_html is a variable. Is there a nice way to do this with template inheritance in jinja. Maybe I can use {% extends b...
python
templates
jinja2
null
null
null
open
Can I use Jinja2 template inheritance where child templates having a variable base template === Based on the origin of a request I want to use another base template in a session. I now solved the problem using different base templates which include the children : {% include top_html %}, where top_html is a variable. ...
0
781,318
04/23/2009 11:32:28
94,921
04/23/2009 11:32:28
1
0
Problem with sql query. Should i be using union?
Have a problem that seems easy on paper but i'm having a big problem figuring out how best to write a single query. I have a table <pre> CREATE TABLE `profile_values` ( `fid` int(10) unsigned NOT NULL default '0', `uid` int(10) unsigned NOT NULL default '0', `value` text, PRIMARY KEY (`uid...
mysql
sql
null
null
null
null
open
Problem with sql query. Should i be using union? === Have a problem that seems easy on paper but i'm having a big problem figuring out how best to write a single query. I have a table <pre> CREATE TABLE `profile_values` ( `fid` int(10) unsigned NOT NULL default '0', `uid` int(10) unsigned NOT NULL d...
0
10,750,102
05/25/2012 07:17:25
665,123
03/17/2011 21:16:16
35
7
Rails 3 RSpec controller testing Failure/Error:
I am testing my Rails 3.2 app and I faced an error when I tried to test my controller. This is my controller class WidgetsController < ApplicationController #skip_before_filter :authenticate, :only => [:new, :create] before_filter :authenticate, :except=>[:disabled] def index ...
ruby-on-rails-3
controller
rspec-rails
null
null
null
open
Rails 3 RSpec controller testing Failure/Error: === I am testing my Rails 3.2 app and I faced an error when I tried to test my controller. This is my controller class WidgetsController < ApplicationController #skip_before_filter :authenticate, :only => [:new, :create] before_filter :authenticat...
0
1,899,439
12/14/2009 07:23:26
229,374
12/11/2009 04:57:40
1
0
UI Development vs Server Side Development
I have recently been given the opportunity to move from large scale server development to UI development (applications on handheld devices etc) and am trying to find the pros and cons of each world before making a final decision. The general impression I get is that server development allows for a wider range of lan...
career-development
null
null
null
null
02/03/2012 05:28:15
not constructive
UI Development vs Server Side Development === I have recently been given the opportunity to move from large scale server development to UI development (applications on handheld devices etc) and am trying to find the pros and cons of each world before making a final decision. The general impression I get is that ser...
4
1,474,382
09/24/2009 21:56:05
30,176
10/21/2008 23:40:29
3,228
113
A Good and SIMPLE Measure of Randomness
What is the best algorithm to take a long sequence of integers (say 100,000 of them) and return a measurement of how random the sequence is? The function should return a single result, say 0 if the sequence is not all all random, up to, say 1 if perfectly random. It can give something in-between if the sequence is s...
random
null
null
null
null
null
open
A Good and SIMPLE Measure of Randomness === What is the best algorithm to take a long sequence of integers (say 100,000 of them) and return a measurement of how random the sequence is? The function should return a single result, say 0 if the sequence is not all all random, up to, say 1 if perfectly random. It can g...
0
11,625,942
07/24/2012 07:17:56
1,500,804
07/04/2012 07:20:54
6
0
NullPointerException making me go insane.
Writing a UPnP control point application. However I keep getting a nullpointerexception: The first bit of code here is what causes the npe. In bold, the call to createAbsoluteURL. The rest are methods inside a different class (URIUtil), holding the different calls to createAbsoluteURL/URI content = new MediaS...
nullpointerexception
null
null
null
null
07/24/2012 15:53:46
too localized
NullPointerException making me go insane. === Writing a UPnP control point application. However I keep getting a nullpointerexception: The first bit of code here is what causes the npe. In bold, the call to createAbsoluteURL. The rest are methods inside a different class (URIUtil), holding the different calls to cr...
3
6,201,838
06/01/2011 13:22:10
191,997
10/18/2009 12:36:17
3,348
168
In NHibernate ID Generator section in mapping files, What is the meaning of assigned and select?
In `NHibernate` ID Generator section in mapping files, What is the meaning of assigned and select?
c#
nhibernate
orm
id-generator
null
null
open
In NHibernate ID Generator section in mapping files, What is the meaning of assigned and select? === In `NHibernate` ID Generator section in mapping files, What is the meaning of assigned and select?
0
2,343,719
02/26/2010 18:03:22
270,016
02/10/2010 04:58:33
25
0
C++ templated functor in lambda expression
I'm trying to pass a functor that is a templated class to the create_thread method of boost thread_group class along with two parameters to the functor. However I can't seem to get beyond my current compile error. With the below code: #include <boost/lambda/lambda.hpp> #include <boost/lambda/bind.hpp> ...
c++
functor
templates
lambda
null
null
open
C++ templated functor in lambda expression === I'm trying to pass a functor that is a templated class to the create_thread method of boost thread_group class along with two parameters to the functor. However I can't seem to get beyond my current compile error. With the below code: #include <boost/lambda/lambda....
0
9,285,605
02/14/2012 23:11:25
774,031
05/28/2011 04:49:07
1
0
Invalid index n for this SqlParameterCollection with Count=n
NHibernate throws an Exception: "Invalid index n for this SqlParameterCollection with Count=n." when I attempt to save a Meter object. The problem is with the CurrentReading property. If I comment that mapping out, all is well. Also if I manually set the CurrentReading in the database NHibernate queries it fine. I'm...
sql-server-2005
nhibernate
c#-4.0
fluent-nhibernate
null
null
open
Invalid index n for this SqlParameterCollection with Count=n === NHibernate throws an Exception: "Invalid index n for this SqlParameterCollection with Count=n." when I attempt to save a Meter object. The problem is with the CurrentReading property. If I comment that mapping out, all is well. Also if I manually set the...
0
10,553,475
05/11/2012 14:36:58
1,237,296
02/28/2012 07:10:12
71
2
what is the use of writing a class inside an interface
I found the following example in one of the java forum. interface employee{ class Role{ public String rollname; public int Role id; public Object person; } Role getRole(); // other methods } I have executed the above code s...
java
null
null
null
null
null
open
what is the use of writing a class inside an interface === I found the following example in one of the java forum. interface employee{ class Role{ public String rollname; public int Role id; public Object person; } Role getRole(); ...
0
6,636,022
07/09/2011 16:26:43
134,713
07/08/2009 05:51:58
4,029
145
Interview question and discussion in C
This was the question asked to me in an interview in c: #include<stdio.h> void main() { char *ch; ch=fun1(); printf(ch); } fun1() { char *arr[100]; strcpy(arr,"name"); return arr; } I was given the above program and was asked to figure out the ...
c++
c
interview-questions
global-variables
null
07/09/2011 19:23:43
not a real question
Interview question and discussion in C === This was the question asked to me in an interview in c: #include<stdio.h> void main() { char *ch; ch=fun1(); printf(ch); } fun1() { char *arr[100]; strcpy(arr,"name"); return arr; } I was given the ab...
1
11,080,171
06/18/2012 09:31:46
1,455,656
06/14/2012 08:06:55
3
0
Need some help to focus a strategy
Somebody ask me to build a system/application to run and manage a public Hotspot. The features this app will have are stuff like giving daily passwords trough SMS and monitoring the navigation.In first istance I tought studing zebra.h (from quagga suite), build my own routing code and run it on a small system like min...
c++
c
routing
hotspot
null
06/18/2012 10:31:24
not a real question
Need some help to focus a strategy === Somebody ask me to build a system/application to run and manage a public Hotspot. The features this app will have are stuff like giving daily passwords trough SMS and monitoring the navigation.In first istance I tought studing zebra.h (from quagga suite), build my own routing co...
1
6,297,256
06/09/2011 18:07:24
103,682
05/08/2009 17:02:48
3,090
165
Hidden input field missing from DOM?
I have a problem embarrassing problem with hidden field not being part of DOM; at least I cannot find it using JavaScript. Field has "id" and "name" attributes, it is in the form, has a value and can be seen when looking at the view source in browser. So, I attach a click handler to a button, which looks for a hidden ...
javascript
jquery
html
dom
null
null
open
Hidden input field missing from DOM? === I have a problem embarrassing problem with hidden field not being part of DOM; at least I cannot find it using JavaScript. Field has "id" and "name" attributes, it is in the form, has a value and can be seen when looking at the view source in browser. So, I attach a click hand...
0
7,312,437
09/05/2011 20:21:50
170,365
09/08/2009 18:48:04
1,735
11
How are these Clouds made?
http://mrdoob.com/131/Clouds I just stumbled onto this, and I think it is amazing! I want to learn to make this, is this using HTML5? What is this using? Thanks in advance!
self-improvement
null
null
null
null
09/05/2011 20:43:20
not a real question
How are these Clouds made? === http://mrdoob.com/131/Clouds I just stumbled onto this, and I think it is amazing! I want to learn to make this, is this using HTML5? What is this using? Thanks in advance!
1
11,098,324
06/19/2012 09:39:42
1,374,400
05/04/2012 07:50:38
1
0
PhoneGap database
I developed a simple application with databases (PhoneGap) in Xcode (IOS), but I can not find the DB file, here is the path (link) where I search my database but i don't found it: /Users/myname/Library/Application Support/iPhone Simulator/5.0/Applications/4D1D37B0-F2EA-4FB0-8B60-F746BC9E73B2/Library/WebKit/Databases...
database
phonegap
null
null
null
06/19/2012 15:45:33
not a real question
PhoneGap database === I developed a simple application with databases (PhoneGap) in Xcode (IOS), but I can not find the DB file, here is the path (link) where I search my database but i don't found it: /Users/myname/Library/Application Support/iPhone Simulator/5.0/Applications/4D1D37B0-F2EA-4FB0-8B60-F746BC9E73B2/L...
1
3,129,611
06/28/2010 01:29:03
117,700
06/04/2009 23:04:34
1,892
5
learning how to do basic image processing
what are the best tools for c# to do image processing? i am a beginner and want to learn the basics
c#
null
null
null
null
02/29/2012 16:45:22
not constructive
learning how to do basic image processing === what are the best tools for c# to do image processing? i am a beginner and want to learn the basics
4
5,714,542
04/19/2011 09:51:14
561,545
01/03/2011 17:38:56
336
2
Finding & using the currently active Chatbox in the Skype Client thru the WinAPI & Delphi?
By using the Skype API, I can send a message to a contact fairly easy. However, what I am trying to do, is enter the message in the Chat Box of the currently focused Contact, without sending the message. By using Winspector, I found that the Classname of the Chatbox is TChatRichEdit, which is placed on a TChatEntryC...
windows
delphi
winapi
skype
handles
null
open
Finding & using the currently active Chatbox in the Skype Client thru the WinAPI & Delphi? === By using the Skype API, I can send a message to a contact fairly easy. However, what I am trying to do, is enter the message in the Chat Box of the currently focused Contact, without sending the message. By using Winspect...
0
11,441,819
07/11/2012 21:32:02
1,513,338
07/09/2012 23:44:49
1
0
Force unmount from broken NFS server
I have a Linux client connected to an NFS server that occasionally goes down. When this happens, any process (such as ls or touch) that tries to touch the mount point hangs, as expected. Attempting to unmount, via: # unmount -lf /mnt/mount_point yields the following: umount2: Device or resource busy ...
linux
nfs
unmount
null
null
07/11/2012 21:42:54
off topic
Force unmount from broken NFS server === I have a Linux client connected to an NFS server that occasionally goes down. When this happens, any process (such as ls or touch) that tries to touch the mount point hangs, as expected. Attempting to unmount, via: # unmount -lf /mnt/mount_point yields the following...
2
6,095,520
05/23/2011 09:48:50
268,114
02/07/2010 13:00:16
40
2
Store data without a database?
If i would like to store emails, but don't have a database (e.g. MySQL), what should i do? The data should be accessible and writable from PHP, but regular "visitors" MUST NOT see the data. Hope you can help. Thanks in advance.
php
database
data
store
null
null
open
Store data without a database? === If i would like to store emails, but don't have a database (e.g. MySQL), what should i do? The data should be accessible and writable from PHP, but regular "visitors" MUST NOT see the data. Hope you can help. Thanks in advance.
0
4,435,875
12/14/2010 04:30:11
462,475
09/30/2010 04:54:20
11
0
C programming size of ellipsis
What is the size of ellipsis in c? i.e., sizeof(...) ?
c
null
null
null
null
null
open
C programming size of ellipsis === What is the size of ellipsis in c? i.e., sizeof(...) ?
0
11,702,915
07/28/2012 16:53:35
695,377
04/06/2011 17:53:48
171
5
Planning on a SSD, bought Mountain Lion. What should I do?
I own a MBP 13" mid 2009 running Snow Leopard. Now, I just bought Montain Lion and haven't installed it yet. I am planning to get a new SSD to replace my optical drive. I am wondering what I should do - upgrade to Mountain Lion on the HDD and then when I get the SSD remove the system from the HDD and install a fres...
osx-mountain-lion
ssd
macbookpro
optical-drive
null
07/28/2012 18:12:27
off topic
Planning on a SSD, bought Mountain Lion. What should I do? === I own a MBP 13" mid 2009 running Snow Leopard. Now, I just bought Montain Lion and haven't installed it yet. I am planning to get a new SSD to replace my optical drive. I am wondering what I should do - upgrade to Mountain Lion on the HDD and then when...
2
8,376,451
12/04/2011 15:48:04
1,080,180
12/04/2011 15:23:32
1
0
pattern matching algorithm for large database of dna
**is there any pre existing effiecient algorithms in pattern matching (large data of dna)????** there are so many algorithms like Knuth-Morris-Pratt algorithm,Boyer-Moore algorithm,Index based forward backward multiple pattern algorithms are there but they are efficient and performs very poor when the is large so p...
algorithm
design-patterns
null
null
null
12/05/2011 15:53:29
not a real question
pattern matching algorithm for large database of dna === **is there any pre existing effiecient algorithms in pattern matching (large data of dna)????** there are so many algorithms like Knuth-Morris-Pratt algorithm,Boyer-Moore algorithm,Index based forward backward multiple pattern algorithms are there but they a...
1
8,836,116
01/12/2012 13:47:24
640,733
03/02/2011 07:22:39
375
19
How can i design the cell dynamic in UITableView iPhone?
I have designed my `UITableViewCell` in iPhone. Unfortunately i need to redesign the Cell. I will explain my problem. My previous/current cell design like below, Header(11.1.2012) //single row event1 time1 Header(12.1.2012) //single row event1 time1 Header(13.1.2012) //single row ...
ios
design
uitableview
uitableviewcell
null
01/17/2012 05:39:10
too localized
How can i design the cell dynamic in UITableView iPhone? === I have designed my `UITableViewCell` in iPhone. Unfortunately i need to redesign the Cell. I will explain my problem. My previous/current cell design like below, Header(11.1.2012) //single row event1 time1 Header(12.1.2012) //single row...
3
2,838,162
05/14/2010 23:01:06
54,818
01/13/2009 23:14:50
493
33
Can't debug Ruby on Rails application in Netbeans 6.8
Every time I try to debug my Rails app via Netbeans I get a ... "Could not connect to web server - cannot show http://localhost:3000" Rails - 2.3.5 Ruby - 1.8.7-p249 Anyone know how to resolve this? Thanks
netbeans
ruby-on-rails
debugging
null
null
null
open
Can't debug Ruby on Rails application in Netbeans 6.8 === Every time I try to debug my Rails app via Netbeans I get a ... "Could not connect to web server - cannot show http://localhost:3000" Rails - 2.3.5 Ruby - 1.8.7-p249 Anyone know how to resolve this? Thanks
0
180,800
10/07/2008 23:18:45
18,471
09/19/2008 02:34:55
153
15
Any free or commercial Blogging engine recommendations?
I've recently been thinking about moving from Live Spaces and hosting my own blog. I'm not keen to write my own blog engine from scratch (time constraints, etc). What kind of functionality should I be looking for in a free or commercial solution? Sitemap? RSS feeds? Tag support? Offline editor? Any recommendat...
blogs
recommendations
features
null
null
05/05/2012 13:52:58
off topic
Any free or commercial Blogging engine recommendations? === I've recently been thinking about moving from Live Spaces and hosting my own blog. I'm not keen to write my own blog engine from scratch (time constraints, etc). What kind of functionality should I be looking for in a free or commercial solution? Sitemap...
2
11,048,942
06/15/2012 10:27:50
1,412,548
05/23/2012 12:05:13
24
0
Ruby on Rails vs PHP
I'm going to ask you an opinion based on your experience on which is better to use for development! i have read that Ruby on Rails is a very powerful language. Now, based on my needs, web development and iOS app development where should i be focused more? Is it more easy to build iOS app based on php or Ruby on R...
php
ruby-on-rails
null
null
null
06/15/2012 10:44:46
not constructive
Ruby on Rails vs PHP === I'm going to ask you an opinion based on your experience on which is better to use for development! i have read that Ruby on Rails is a very powerful language. Now, based on my needs, web development and iOS app development where should i be focused more? Is it more easy to build iOS app...
4
8,267,514
11/25/2011 10:15:38
1,064,559
11/24/2011 19:30:40
1
1
about c# code string and int
I want that c# prints word like "internet" like this: internet internet internet internet internet internet internet internet This is my code: string word = ("internet"); for (int i = 0; i < word.Length ; i++) { ...
c#
null
null
null
null
11/25/2011 16:27:39
not a real question
about c# code string and int === I want that c# prints word like "internet" like this: internet internet internet internet internet internet internet internet This is my code: string word = ("internet"); for (int i = 0; ...
1
4,526,868
12/24/2010 14:39:27
545,520
12/17/2010 01:00:27
6
1
jquery ajax failed with large data
Passing huge ammount of data from jquery ajax is failed,is there any way to reolve this issue.I given type as POST.Thanks in Advance. Regards, Raju
jquery
null
null
null
null
12/26/2010 06:44:15
not a real question
jquery ajax failed with large data === Passing huge ammount of data from jquery ajax is failed,is there any way to reolve this issue.I given type as POST.Thanks in Advance. Regards, Raju
1
10,549,073
05/11/2012 09:47:11
1,254,581
03/07/2012 11:45:38
32
0
Slicing PNG files for the User Interface of a Windows program
I am not familiar with Photoshop and graphic, what options should be selected on this dialog when slicing PNG files for the user interface of a Windows program? I just want to keep the image quality without loss. Thanks. ![photoshop][1] [1]: http://i.stack.imgur.com/FqCTd.jpg
image
image-processing
graphics
png
photoshop
05/15/2012 23:08:24
off topic
Slicing PNG files for the User Interface of a Windows program === I am not familiar with Photoshop and graphic, what options should be selected on this dialog when slicing PNG files for the user interface of a Windows program? I just want to keep the image quality without loss. Thanks. ![photoshop][1] ...
2
8,060,138
11/09/2011 03:53:24
960,574
09/23/2011 07:06:17
11
0
How to put progress bar in <li> element in Jquery Mobile?
I m new for jquery mobile.I m creating an app wich have to show list of items in <li> element, so i need to show progress bar in each <li> element that will show my deal progress.The progressbar have to be deisplayed in diffrenet colors. Thanks in advance.
jquery-mobile
null
null
null
null
11/09/2011 15:27:26
not a real question
How to put progress bar in <li> element in Jquery Mobile? === I m new for jquery mobile.I m creating an app wich have to show list of items in <li> element, so i need to show progress bar in each <li> element that will show my deal progress.The progressbar have to be deisplayed in diffrenet colors. Thanks in advance...
1
8,800,673
01/10/2012 08:59:05
1,140,433
01/10/2012 08:37:12
1
0
Create multiple users using AWS
I am creating an app in which I will be using AWS services for messaging(SQS/SNS) and data hosting (S3). Now this is what i am trying to accomplish: When I send message then that message should only be visible to the another user of that app, who is in my friend list. Similarly when I want to share any bucket or...
amazon-web-services
null
null
null
null
null
open
Create multiple users using AWS === I am creating an app in which I will be using AWS services for messaging(SQS/SNS) and data hosting (S3). Now this is what i am trying to accomplish: When I send message then that message should only be visible to the another user of that app, who is in my friend list. Similar...
0
8,697,327
01/02/2012 04:11:58
1,031,508
11/05/2011 19:46:47
22
0
Jquery tab transitions
I'm using some jquery tabs that basically just uses an ul of links to each corresponding id of the tab content. What I'm trying to do is set a delay between each tab to display a loading indicator. I've looked at several methods of doing this, but am not sure what would be the best method to use, i.e. using a .dela...
jquery
tabs
timeout
delay
null
null
open
Jquery tab transitions === I'm using some jquery tabs that basically just uses an ul of links to each corresponding id of the tab content. What I'm trying to do is set a delay between each tab to display a loading indicator. I've looked at several methods of doing this, but am not sure what would be the best metho...
0
4,824,350
01/28/2011 02:44:41
106,111
05/13/2009 08:59:24
446
2
How to know which one in HTML elements is as block or inline
Actually I don't know what is the exactly keyword to google :) I want to know, in all HTML elements which one is display by block or inline by default. Let me know
html
null
null
null
null
null
open
How to know which one in HTML elements is as block or inline === Actually I don't know what is the exactly keyword to google :) I want to know, in all HTML elements which one is display by block or inline by default. Let me know
0
10,670,474
05/20/2012 03:03:24
1,383,359
05/09/2012 00:13:59
178
0
Java Fonts, CodePoints, Characters
## Aside I'm not sure if this is a Java or a Font question, however, I'm using the java.awt.Font class. ## Context I am using the java.awt.Font class to draw glyphs to the screen. There are functions that allow me to pass it a character to draw. There are functions that allow me to pass it a code point to draw...
java
fonts
null
null
null
null
open
Java Fonts, CodePoints, Characters === ## Aside I'm not sure if this is a Java or a Font question, however, I'm using the java.awt.Font class. ## Context I am using the java.awt.Font class to draw glyphs to the screen. There are functions that allow me to pass it a character to draw. There are functions that ...
0
8,561,784
12/19/2011 13:06:34
666,254
03/18/2011 15:18:53
137
0
Update cocos2d by replacing libs?
I'm updating cocos 2.0 alpha to 2.0 beta by simply replacing the lib folders. I've managed to get it building successfully, but with tons of the same warning: ccCArray.h Unknown warning group 'Warc-perform-Selector-leaks' ignored What's this about? thanks!
iphone
xcode
cocos2d-iphone
null
null
null
open
Update cocos2d by replacing libs? === I'm updating cocos 2.0 alpha to 2.0 beta by simply replacing the lib folders. I've managed to get it building successfully, but with tons of the same warning: ccCArray.h Unknown warning group 'Warc-perform-Selector-leaks' ignored What's this about? thanks!
0
11,072,782
06/17/2012 16:06:11
1,435,660
06/04/2012 17:16:10
13
0
Simple 3D designs for mobile applications
Where i can find simple and small 3D Models (obj files) to be used directly in Mobile applications? All i need are simple designs for "cars", "motorbike" for racing moto game implementation in Android. Thanks alot!
android
opengl-es
3d
mobile-application
null
06/20/2012 19:48:53
off topic
Simple 3D designs for mobile applications === Where i can find simple and small 3D Models (obj files) to be used directly in Mobile applications? All i need are simple designs for "cars", "motorbike" for racing moto game implementation in Android. Thanks alot!
2
7,107,990
08/18/2011 13:14:57
876,724
08/03/2011 13:45:02
3
0
C# start an included app
Hello stackoverflow users!! I have a little C#.Net project and I want to start an application with endings(bad english) like executable.exe -o 99. But I want the "executable.exe" beeing with my C# project. So it means in the end it should be 1 app. For someone its easy, because he works with it but its a little bit ...
c#
.net
windows
execution
null
08/18/2011 13:30:54
not a real question
C# start an included app === Hello stackoverflow users!! I have a little C#.Net project and I want to start an application with endings(bad english) like executable.exe -o 99. But I want the "executable.exe" beeing with my C# project. So it means in the end it should be 1 app. For someone its easy, because he works...
1
10,120,881
04/12/2012 09:26:10
643,514
03/03/2011 18:50:56
585
53
How to resize image before_save with dragonfly?
In my model i have: attr_accessible :photo image_accessor :photo before_save :resize_image def resize_image self.photo = self.photo.process(:resize, '40x40') end but after save it removes my photo_uid from record in database (or doesnt write photo_uid at all)
ruby-on-rails
ruby-on-rails-3
dragonfly-gem
null
null
null
open
How to resize image before_save with dragonfly? === In my model i have: attr_accessible :photo image_accessor :photo before_save :resize_image def resize_image self.photo = self.photo.process(:resize, '40x40') end but after save it removes my photo_uid from record in database...
0
8,960,776
01/22/2012 11:40:12
319,773
04/18/2010 17:15:58
506
28
Android socket.close() causes "the system call was canceled"?
My MainActivity starts another thread called UdpListener. In onResume, the thread will be started (this works), in onPause it should stop, but socket.close() causes an error message in LogCat "**the system call was canceled**". The UdpListener itself works fine in JUnit tests so this must be some kind of Android proble...
android
multithreading
exception
android-lifecycle
null
null
open
Android socket.close() causes "the system call was canceled"? === My MainActivity starts another thread called UdpListener. In onResume, the thread will be started (this works), in onPause it should stop, but socket.close() causes an error message in LogCat "**the system call was canceled**". The UdpListener itself wo...
0
10,533,583
05/10/2012 12:04:26
1,016,383
10/27/2011 11:38:01
15
0
Reload deleted DOM elements of components in ExtJS4
I read about, how ExtJS4 keeps all the data of the components in separate objects and just renders DOM stuff on demand. I have the problem, that a `<div>` gets a `innerHTML = ''` to hide some data and afterwards fills the `innerHTML` if the data is demanded. If I render a component into that `<div>` it gets del...
extjs4
null
null
null
null
null
open
Reload deleted DOM elements of components in ExtJS4 === I read about, how ExtJS4 keeps all the data of the components in separate objects and just renders DOM stuff on demand. I have the problem, that a `<div>` gets a `innerHTML = ''` to hide some data and afterwards fills the `innerHTML` if the data is demanded. ...
0
11,053,282
06/15/2012 15:03:26
1,459,032
06/15/2012 14:58:04
1
0
clear div and add new content in while loop
I need to clear the <div> and insert new content I get from the database after each while loop in php. Can someone help me out with this problem? Also I need to sleep in the loop for about 10 sec. The general flow is like this - while() { read from database; sleep; clear div; ///I...
php
javascript
jquery
html5
null
06/15/2012 15:08:30
not a real question
clear div and add new content in while loop === I need to clear the <div> and insert new content I get from the database after each while loop in php. Can someone help me out with this problem? Also I need to sleep in the loop for about 10 sec. The general flow is like this - while() { read from da...
1
4,511,576
12/22/2010 17:00:04
385,882
07/07/2010 19:11:01
43
0
Creating Graph - Which Language?
I have an idea for creating graph like the "social graph" application from facebook,for my site.<br/> I want this to be on application on the internet and as a software,that will the user on the center and the his friends from the site sorrounding him, with a features to zoom to specific people and to show his last me...
graphics
programming-languages
null
null
null
04/20/2012 11:09:52
not constructive
Creating Graph - Which Language? === I have an idea for creating graph like the "social graph" application from facebook,for my site.<br/> I want this to be on application on the internet and as a software,that will the user on the center and the his friends from the site sorrounding him, with a features to zoom to s...
4
8,584,599
12/21/2011 03:03:54
1,053,045
11/18/2011 03:23:56
123
1
Checking if a file exists (Perl)
How would you go about writing a perl script to check if a file exists? For example, if I want to check whether $file exists in $location. Currently I'm using a lengthy subroutine (see below) which I'm sure there is an easier way to do? # This subroutine checks to see whether a file exists in /home su...
perl
null
null
null
null
null
open
Checking if a file exists (Perl) === How would you go about writing a perl script to check if a file exists? For example, if I want to check whether $file exists in $location. Currently I'm using a lengthy subroutine (see below) which I'm sure there is an easier way to do? # This subroutine checks to see ...
0
8,387,889
12/05/2011 15:44:49
84,539
03/30/2009 09:34:26
3,507
78
What is the most secure way of encrypting/decrypting data?
Now I know that is a very open question such as "How long is a piece of string" but I am a newbie to this game. From my basic understanding (before I delve into this subject) I believe AES 256bit encryption is very secure. My needs are to generate private and public keys using .Net using the most secure encryptio...
c#
.net
security
encryption
.net-4.0
12/05/2011 16:00:49
not constructive
What is the most secure way of encrypting/decrypting data? === Now I know that is a very open question such as "How long is a piece of string" but I am a newbie to this game. From my basic understanding (before I delve into this subject) I believe AES 256bit encryption is very secure. My needs are to generate pr...
4
5,712,673
04/19/2011 06:53:16
663,769
03/17/2011 05:57:15
11
0
query in mysql with range
. Write a single SQL query to determine the count of people in the following salary ranges less than 1,00,000 (equal to or greater than 1,00,000) and less than 5,00,000 greater than or equal to 5,00,000
mysql
query
null
null
null
04/19/2011 07:39:25
not a real question
query in mysql with range === . Write a single SQL query to determine the count of people in the following salary ranges less than 1,00,000 (equal to or greater than 1,00,000) and less than 5,00,000 greater than or equal to 5,00,000
1
3,605,725
08/31/2010 02:53:06
389,651
07/12/2010 16:13:07
203
0
I want to make a flowchart application in a browser. Which SVG Library to use?
As a fun project, I am going to make a simple flowchart app to learn some new html features, but I am unsure whether this is more appropriate for canvas or SVG (and which lib to use). I believe that SVG is more appropriate here since everything is basically shapes connected to lines (sounds like vector graphics to m...
javascript
jquery
svg
raphael
null
05/22/2012 23:28:42
not constructive
I want to make a flowchart application in a browser. Which SVG Library to use? === As a fun project, I am going to make a simple flowchart app to learn some new html features, but I am unsure whether this is more appropriate for canvas or SVG (and which lib to use). I believe that SVG is more appropriate here since...
4
8,737,161
01/05/2012 03:15:47
1,095,178
12/13/2011 06:41:49
1
0
live migration of open mpi processes
Please has any one done a live migration of open mpi processes to another nodes with C/C++? Please help if you have done it before or if you know of any tool that can do it.
migration
live
mpi
null
null
05/15/2012 16:06:06
not a real question
live migration of open mpi processes === Please has any one done a live migration of open mpi processes to another nodes with C/C++? Please help if you have done it before or if you know of any tool that can do it.
1
5,304,411
03/14/2011 20:55:22
401,995
07/24/2010 03:40:57
798
8
How do you get vertex buffer of mesh?
Is it possible to get vertex buffer from mesh? how?
c++
directx
null
null
null
03/15/2011 22:22:19
not a real question
How do you get vertex buffer of mesh? === Is it possible to get vertex buffer from mesh? how?
1
6,820,252
07/25/2011 17:53:09
858,105
07/22/2011 14:20:00
1
0
JQuery AJAX fails with IE
I have a function for doing ajax calls (line numbers supplied): 9 function doAjax(url, args){ 10 var retVal; 11 retVal = $.ajax({ 12 type: "GET", 13 url: url, 14 data: args, 15 async: false, 1...
javascript
jquery-ajax
null
null
null
null
open
JQuery AJAX fails with IE === I have a function for doing ajax calls (line numbers supplied): 9 function doAjax(url, args){ 10 var retVal; 11 retVal = $.ajax({ 12 type: "GET", 13 url: url, 14 data: args, 15 ...
0
10,076,501
04/09/2012 16:41:29
691,220
04/04/2011 13:53:46
37
0
Basic coding topics/implementations for a programmer
I'm inspired by [this][1] post from Coding Horror, what are the most basics things in terms of code that every programmer (or aspiring programmer) should know? For example, how to implement X function, or how Z works, from most basic and easy to advanced topics. I tend to do mostly web work (frontend and some basic ...
theory
null
null
null
null
04/09/2012 20:54:49
not a real question
Basic coding topics/implementations for a programmer === I'm inspired by [this][1] post from Coding Horror, what are the most basics things in terms of code that every programmer (or aspiring programmer) should know? For example, how to implement X function, or how Z works, from most basic and easy to advanced topics....
1
4,813,501
01/27/2011 06:44:26
591,774
01/27/2011 06:44:26
1
0
connecting sql server using c# .net
my code is as follows: string constring = "Data Source=132.186.127.169"+ "Initial Catalog=CadPool1;" + "Integrated Security=True"; SqlConnection con; con = new SqlConnection(constring); con.Open(); string query="SELECT * from CadPoolProjectTable1"; SqlCo...
c#
.net
null
null
null
null
open
connecting sql server using c# .net === my code is as follows: string constring = "Data Source=132.186.127.169"+ "Initial Catalog=CadPool1;" + "Integrated Security=True"; SqlConnection con; con = new SqlConnection(constring); con.Open(); string query="SELECT * from ...
0
7,487,019
09/20/2011 14:38:16
527,937
12/02/2010 12:08:31
134
0
Why an open descriptor is not closed on program exit?
I have a small program below on 2.6.16-rc3, which uses busy box (on jffs2 file system). If I run the program multiple times, it starts to fail second time onwards . When the program quits, the descriptors shall be auto closed and next time it shall start fresh , right ? Why I am getting -1 some times? (Note - On m...
c
linux
busybox
null
null
null
open
Why an open descriptor is not closed on program exit? === I have a small program below on 2.6.16-rc3, which uses busy box (on jffs2 file system). If I run the program multiple times, it starts to fail second time onwards . When the program quits, the descriptors shall be auto closed and next time it shall start fres...
0
8,530,735
12/16/2011 06:49:22
903,746
08/20/2011 13:16:24
21
0
Jquery web cam plugin pemissions
I'm using http://www.xarg.org/project/jquery-webcam-plugin/ in my application.If i want to take picture means first it ask allow and deny option in flash player settings but i don't want this two option.How can i ignore this two option.
webcam
null
null
null
null
null
open
Jquery web cam plugin pemissions === I'm using http://www.xarg.org/project/jquery-webcam-plugin/ in my application.If i want to take picture means first it ask allow and deny option in flash player settings but i don't want this two option.How can i ignore this two option.
0
8,449,973
12/09/2011 18:23:01
1,088,752
12/08/2011 23:11:51
6
0
How to get the path without the filename in windows through tcl
How to get the path without the filename in windows through tcl I have the full path like this: c:\My_Designs\ipcore_script\test\src\IP_CORE\mux\sus.do I need only the path and want to strip off the filename like: c:\My_Designs\ipcore_script\test\src\IP_CORE\mux
tcl
null
null
null
null
null
open
How to get the path without the filename in windows through tcl === How to get the path without the filename in windows through tcl I have the full path like this: c:\My_Designs\ipcore_script\test\src\IP_CORE\mux\sus.do I need only the path and want to strip off the filename like: c:\My_Designs\ipcore_scri...
0
10,554,314
05/11/2012 15:27:00
484,025
10/22/2010 09:15:19
335
7
.htaccess if file doesn't exist show from here
I am having problem with my set-up, and frankly I am about to loose it :( in my .htaccess I have this 4 lines: RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} -f RewriteRule ^(.+) /home/myaccount/webapps/my_app/webroot/$1 [L] RewriteCond /home/myaccount/webapps/my_app/webroot...
apache
.htaccess
mod-rewrite
null
null
05/15/2012 16:45:58
off topic
.htaccess if file doesn't exist show from here === I am having problem with my set-up, and frankly I am about to loose it :( in my .htaccess I have this 4 lines: RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} -f RewriteRule ^(.+) /home/myaccount/webapps/my_app/webroot/$1 [L] ...
2
10,229,501
04/19/2012 13:48:40
407,356
07/31/2010 08:14:36
104
7
CVS to GIT seems silly. Am I missing something?
Good afternoon, I have recently started a new project at home. I wont bore you with details as they dont matter. Point is, I thought I would take the time to look into all this hype about GIT. A lot of the libraries I end up using seem to be on GitHub and so I thought it would be beneficial to learn it. So I d...
git
svn
version-control
cvs
null
04/19/2012 14:58:26
not a real question
CVS to GIT seems silly. Am I missing something? === Good afternoon, I have recently started a new project at home. I wont bore you with details as they dont matter. Point is, I thought I would take the time to look into all this hype about GIT. A lot of the libraries I end up using seem to be on GitHub and so I ...
1
10,544,197
05/11/2012 01:16:55
1,388,022
05/10/2012 20:01:04
18
0
Changing Name Format from "Last, First MI." to "First MI. Last" in Java
So What I am doing is trying take the names that I am given by the program after it retrieves them from unstructured text, and display them in a user specified Format of either "First MI. Last" or "Last, First MI". Any ideas? So far it checks to see if a comma is present in the string. if so I want to switch the o...
java
format
name
changing
null
null
open
Changing Name Format from "Last, First MI." to "First MI. Last" in Java === So What I am doing is trying take the names that I am given by the program after it retrieves them from unstructured text, and display them in a user specified Format of either "First MI. Last" or "Last, First MI". Any ideas? So far it ch...
0
4,112,724
11/06/2010 10:26:17
288,774
03/08/2010 12:48:58
104
16
Technically, what is the difference between custom email & commercial email delivery solution?
nowadays there are many commercial email sending services for applications around. To give some examples, [sendlook][1], [mailchimp][2] & so forth. What i want to know is, looking from a technical perspective, what is the difference between regular mail() running from a VPS account compared to those commercial em...
email
commercial
null
null
null
11/06/2010 12:56:04
off topic
Technically, what is the difference between custom email & commercial email delivery solution? === nowadays there are many commercial email sending services for applications around. To give some examples, [sendlook][1], [mailchimp][2] & so forth. What i want to know is, looking from a technical perspective, what...
2
441,037
01/13/2009 22:11:31
46,775
12/16/2008 18:41:03
47
0
What is your ultimate development environment for working with Dojo widgets?
I'm new to working with the Dojo lib and want to know: what's the ultimate development environment to work on Dojo widgets with? I'm hoping for something with at least javascript syntax checking, and code completion support for the standard dojo widgets and functions. What development environment -- whether fre...
dojo
null
null
null
null
01/19/2012 22:11:14
not constructive
What is your ultimate development environment for working with Dojo widgets? === I'm new to working with the Dojo lib and want to know: what's the ultimate development environment to work on Dojo widgets with? I'm hoping for something with at least javascript syntax checking, and code completion support for the st...
4
2,901,831
05/25/2010 03:36:16
30,917
10/23/2008 18:13:33
1,364
13
Algorithm for autocomplete?
I am referring to the algorithm that is used to give query suggestions when a user type a search term in google. I am mainly interested in how google algorithm is able to show: 1. Most important results (most likely queries rather than anything that matches) 2. Match substrings 3. Fuzzy matches I know you cou...
algorithm
autocomplete
scalability
data-structures
autosuggest
null
open
Algorithm for autocomplete? === I am referring to the algorithm that is used to give query suggestions when a user type a search term in google. I am mainly interested in how google algorithm is able to show: 1. Most important results (most likely queries rather than anything that matches) 2. Match substrings 3...
0
9,042,053
01/28/2012 01:01:43
721,395
04/23/2011 03:47:48
105
2
Backend script?
I'm not even sure how to approach this one. How would you have a backend script on a site that runs 24/7 and say sends an email every minute. Is something like this possible to write in php. For example I don't want the actual page to be open in the browser the server (Godaddy in my case) would automatically do it. ...
php
web-services
backend
null
null
01/28/2012 05:46:23
not a real question
Backend script? === I'm not even sure how to approach this one. How would you have a backend script on a site that runs 24/7 and say sends an email every minute. Is something like this possible to write in php. For example I don't want the actual page to be open in the browser the server (Godaddy in my case) would ...
1
10,804,566
05/29/2012 18:21:59
1,424,390
05/29/2012 18:09:07
1
0
How I will generate Xml For the Below code ... code for void getxml() method inside Order class which depends upon Delivery & Recipient Class
public class OrderXml { public enum DeliveryType { FTP, Email, HDD, Tape, Aspera, MLT }; public class Order { public int UserId { get; private set; } public int OrderBinId { get; private set; } public int TenantId { get; private set; } public Delivery Delivery { ge...
c#
null
null
null
null
null
open
How I will generate Xml For the Below code ... code for void getxml() method inside Order class which depends upon Delivery & Recipient Class === public class OrderXml { public enum DeliveryType { FTP, Email, HDD, Tape, Aspera, MLT }; public class Order { public int UserId { get; private se...
0
11,348,030
07/05/2012 15:50:55
1,444,829
06/08/2012 15:00:43
1
0
I cant open a file
Hello i am working on a option meny for my drawing programm. The problem is that the file that i open dosent draw anything from it. The file contains 266 Kb so i know save works. i am wondering what i have do wrong here? The method of open i am using is called Binary Formater [Serializable] class S...
open
null
null
null
null
07/28/2012 10:57:06
not a real question
I cant open a file === Hello i am working on a option meny for my drawing programm. The problem is that the file that i open dosent draw anything from it. The file contains 266 Kb so i know save works. i am wondering what i have do wrong here? The method of open i am using is called Binary Formater [Se...
1
7,251,503
08/31/2011 00:58:24
920,751
08/31/2011 00:58:24
1
0
FB.Canvas.setAutoResize() just got updated?
Just about an hour ago, FB.Canvas.setAutoResize() started going crazy and my iFrame application stopped displaying its iframe content. I could not find the problem until I commented out that function call. I added this function call in order to fix the height issue across the different browsers, but then someho...
iframe
facebook-javascript-sdk
null
null
null
08/31/2011 04:26:24
not a real question
FB.Canvas.setAutoResize() just got updated? === Just about an hour ago, FB.Canvas.setAutoResize() started going crazy and my iFrame application stopped displaying its iframe content. I could not find the problem until I commented out that function call. I added this function call in order to fix the height issu...
1
8,655,981
12/28/2011 04:28:40
667,903
04/11/2010 15:23:16
123
3
Google Map Zoom variable not being recognised
I'm using a Wordpress plugin called RomeLuv Google Maps for Wordpress, which builds Google Maps from map location values in posts' custom meta tags. The plugin works fine, except for **the zoom level of the map**, which **by default is zoomed in as close as possible** ([example here][1]). The zoom level was hard ...
google-maps
null
null
null
null
null
open
Google Map Zoom variable not being recognised === I'm using a Wordpress plugin called RomeLuv Google Maps for Wordpress, which builds Google Maps from map location values in posts' custom meta tags. The plugin works fine, except for **the zoom level of the map**, which **by default is zoomed in as close as possible...
0
7,525,753
09/23/2011 07:40:01
239,599
12/28/2009 14:26:48
8,907
419
Terminology: is DHTML a predecessor of HTML5?
In the end of 1990s everyone talked about how cool it is "to program DHTML". In fact, it was an umbrella term for HTML+CSS+JavaScript, there was no specific version of HTML, nor a public standard of what it means. Now it's 2011 and everyone talks of HTML5, which is also a combination of HTML, CSS, JavaScript and som...
html5
terminology
dhtml
null
null
09/29/2011 03:30:25
not constructive
Terminology: is DHTML a predecessor of HTML5? === In the end of 1990s everyone talked about how cool it is "to program DHTML". In fact, it was an umbrella term for HTML+CSS+JavaScript, there was no specific version of HTML, nor a public standard of what it means. Now it's 2011 and everyone talks of HTML5, which is ...
4
9,585,022
03/06/2012 13:53:14
1,230,951
02/24/2012 14:14:49
9
0
loading and unloading silverlight application on button click
Hi I have a set of silverlight applications built on MVVM light framework (having multiple views and viewmodels corresponding to each view). Now I need to create a framework exposing each of the applications as a button. clicking the button should load the corresponding application. Clicking another button should unloa...
silverlight
silverlight-4.0
mef
xap
null
06/06/2012 12:34:54
not a real question
loading and unloading silverlight application on button click === Hi I have a set of silverlight applications built on MVVM light framework (having multiple views and viewmodels corresponding to each view). Now I need to create a framework exposing each of the applications as a button. clicking the button should load ...
1
1,171,709
07/23/2009 13:26:31
128,623
06/25/2009 04:55:19
104
0
PHP help, I have a "for loop" problems?
Here is my code: $today = date('Y-m-d'); for ($i = 1; $i <= 10; $i ++){ $var_b[$i] = date('Y-m-d', strtotime('-' . $i .' day', strtotime($today))); $var2_b[$i] = date('d', strtotime($var_b[$i])); Error message: Parse error: syntax error, unexpected T_STRING in XXX\index.php on line XX
php
for-loop
null
null
null
07/24/2012 02:36:35
too localized
PHP help, I have a "for loop" problems? === Here is my code: $today = date('Y-m-d'); for ($i = 1; $i <= 10; $i ++){ $var_b[$i] = date('Y-m-d', strtotime('-' . $i .' day', strtotime($today))); $var2_b[$i] = date('d', strtotime($var_b[$i])); Error message: Parse error: syntax error, unexpected T...
3
9,424,116
02/24/2012 01:27:41
834,113
07/07/2011 18:08:08
1
0
What UI Framework to use for OpenGL game when sharing code between Android and iOS?
I am writing a game using C/C++ and OpenGL ES, and I am targeting both iOS and Android. My goal is to share the majority of the rendering/gameplay/UI code between both platforms, and have an OS-specific wrapper that handles things like touch events, resources, networking, etc. For the shared UI, I can either write ...
android
c++
ios
user-interface
opengl-es
02/24/2012 01:47:19
not constructive
What UI Framework to use for OpenGL game when sharing code between Android and iOS? === I am writing a game using C/C++ and OpenGL ES, and I am targeting both iOS and Android. My goal is to share the majority of the rendering/gameplay/UI code between both platforms, and have an OS-specific wrapper that handles things...
4
9,752,979
03/17/2012 19:21:51
1,135,155
01/06/2012 20:47:22
1
0
VirtualBox on Mac and Serial Port
On my Mac OS X 10.6.8 i've installed Virtual Box. I've an USB-Serial-Port-Connector connected; which is on port /dev/tty.usbserial . I've tested it with cutecom and it works. But i can't use this serial port in a virtual machine. I've tried it with the settings: port number: COM1 port mode: Host Device port path: ...
osx
serial-port
virtualbox
null
null
03/19/2012 13:54:51
off topic
VirtualBox on Mac and Serial Port === On my Mac OS X 10.6.8 i've installed Virtual Box. I've an USB-Serial-Port-Connector connected; which is on port /dev/tty.usbserial . I've tested it with cutecom and it works. But i can't use this serial port in a virtual machine. I've tried it with the settings: port number: CO...
2
9,630,744
03/09/2012 08:05:47
325,016
04/24/2010 17:25:09
584
7
Should you declare enums inside or outside a class?
Should you declare enums inside or outside a class if the said enums are only used in the class member functions? namespace nspace { // need to append OC, as this pollutes the current namespace enum OUTSIDE_CLASS {OC_POINTS, OC_LINES, OC_LINE_LOOP, :::}; enum OTHER_ENUM {OE_POINTS}; ...
c++
coding-style
enums
namespaces
null
03/10/2012 00:49:47
not constructive
Should you declare enums inside or outside a class? === Should you declare enums inside or outside a class if the said enums are only used in the class member functions? namespace nspace { // need to append OC, as this pollutes the current namespace enum OUTSIDE_CLASS {OC_POINTS, OC_LINES, ...
4
11,733,339
07/31/2012 04:57:03
1,328,167
04/12/2012 04:57:48
11
0
Python: How to run a def in the background
How can I run a python definition now, but do more stuff after a certain time. So it's kind of running the script silently in the background until certain condition is met? Thank you
python
null
null
null
null
07/31/2012 12:04:51
not a real question
Python: How to run a def in the background === How can I run a python definition now, but do more stuff after a certain time. So it's kind of running the script silently in the background until certain condition is met? Thank you
1
7,567,489
09/27/2011 10:14:48
966,747
09/27/2011 10:02:48
1
0
samsung galaxy -FM radio , app to change the radio station from the handsfree
i have been to a android developer with an idea to to develop an android app with that app i can change the radio station using the handsfree call receive button the developer have said tht this app is not possible as the api of the radio of the samsung galaxy phone is not availbe this is very comman in no...
android
radio
radio-group
samsung-rfs-filesystem
null
09/27/2011 11:26:37
not a real question
samsung galaxy -FM radio , app to change the radio station from the handsfree === i have been to a android developer with an idea to to develop an android app with that app i can change the radio station using the handsfree call receive button the developer have said tht this app is not possible as the api of t...
1
11,505,707
07/16/2012 13:45:37
1,169,194
01/25/2012 12:25:49
58
6
Some nice OO library to handle directories in PHP
Is there any nice "common" OO library for handling files and directories, like recursive copy, delete, read and such? Native php functions sucs and their like OO approuch. Any tips on this would be helpfull I dont want re-invent the weel.
php
oop
php5
filesystems
null
07/17/2012 08:15:17
not constructive
Some nice OO library to handle directories in PHP === Is there any nice "common" OO library for handling files and directories, like recursive copy, delete, read and such? Native php functions sucs and their like OO approuch. Any tips on this would be helpfull I dont want re-invent the weel.
4
4,097,639
11/04/2010 14:27:53
497,231
11/04/2010 14:05:43
1
0
Simple server/client string exchange protocol
i am looking for an abstract and clean way to exchange strings between two python programs. The protocol is really simple: client/server sends a string to the server/client and it takes the corresponding action - via a handler, i suppose - and replies OR NOT to the other side with another string. Strings can be three t...
python
string
networking
protocols
null
null
open
Simple server/client string exchange protocol === i am looking for an abstract and clean way to exchange strings between two python programs. The protocol is really simple: client/server sends a string to the server/client and it takes the corresponding action - via a handler, i suppose - and replies OR NOT to the oth...
0