PostId int64 13 11.8M | PostCreationDate stringlengths 19 19 | OwnerUserId int64 3 1.57M | OwnerCreationDate stringlengths 10 19 | ReputationAtPostCreation int64 -33 210k | OwnerUndeletedAnswerCountAtPostTime int64 0 5.77k | Title stringlengths 10 250 | BodyMarkdown stringlengths 12 30k | Tag1 stringlengths 1 25 ⌀ | Tag2 stringlengths 1 25 ⌀ | Tag3 stringlengths 1 25 ⌀ | Tag4 stringlengths 1 25 ⌀ | Tag5 stringlengths 1 25 ⌀ | PostClosedDate stringlengths 19 19 ⌀ | OpenStatus stringclasses 5
values | unified_texts stringlengths 47 30.1k | OpenStatus_id int64 0 4 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1,516,858 | 10/04/2009 16:54:01 | 47,281 | 12/18/2008 03:16:49 | 388 | 14 | Compound String key in HashMap | We are storing a String key in a HashMap that is a concatenation of three String fields and a boolean field. Problem is duplicate keys can be created if the delimiter appears in the field value.
So to get around this, based on advice in [another][1] post, I'm planning on creating a key class which will be used as t... | java | map | key | null | null | null | open | Compound String key in HashMap
===
We are storing a String key in a HashMap that is a concatenation of three String fields and a boolean field. Problem is duplicate keys can be created if the delimiter appears in the field value.
So to get around this, based on advice in [another][1] post, I'm planning on creating... | 0 |
7,202,019 | 08/26/2011 08:34:25 | 875,681 | 08/03/2011 00:34:21 | 3 | 0 | HTTP PUT - enclosed entity be stored under the supplied Request-URI, does that mean Delete and Add? | According to the [spec][1]:
> The PUT method requests that the enclosed entity be stored under the
> supplied Request-URI. If the Request-URI refers to an already existing
> resource, the enclosed entity SHOULD be considered as a modified
> version of the one residing on the origin server.
So if I have to impl... | http | rest | http-post | http-put | restful-architecture | null | open | HTTP PUT - enclosed entity be stored under the supplied Request-URI, does that mean Delete and Add?
===
According to the [spec][1]:
> The PUT method requests that the enclosed entity be stored under the
> supplied Request-URI. If the Request-URI refers to an already existing
> resource, the enclosed entity SHOULD... | 0 |
10,333,559 | 04/26/2012 12:37:15 | 829,571 | 07/05/2011 11:15:18 | 7,506 | 340 | GridBagLayout & JScrollPane: how to reduce row height? | See below a simple code using a GridBagLayout (2 rows, 2 component on row 0, 1 component on row 1). Although I have specified `weighty` to be 0.01 for first row and 1 for second row, the ratio on the screen looks more like 0.3 vs. 0.7. It seems that the height of the first row is resized so that the whole textarea fits... | java | swing | gridbaglayout | null | null | null | open | GridBagLayout & JScrollPane: how to reduce row height?
===
See below a simple code using a GridBagLayout (2 rows, 2 component on row 0, 1 component on row 1). Although I have specified `weighty` to be 0.01 for first row and 1 for second row, the ratio on the screen looks more like 0.3 vs. 0.7. It seems that the height... | 0 |
7,095,218 | 08/17/2011 15:17:22 | 237,815 | 12/23/2009 18:23:18 | 411 | 19 | Server-side Javascript template library? | We'd like to give our end-users the ability to customize some pages in our app. We need some kind of simple template library which has the ability to execute some logic.
Server-side Javascript is all the rage these days, but I haven't been able to find a good template library that will take an HTML page with embedde... | template-engine | serverside-javascript | null | null | null | null | open | Server-side Javascript template library?
===
We'd like to give our end-users the ability to customize some pages in our app. We need some kind of simple template library which has the ability to execute some logic.
Server-side Javascript is all the rage these days, but I haven't been able to find a good template li... | 0 |
10,834,068 | 05/31/2012 12:55:50 | 1,423,793 | 05/29/2012 13:30:11 | 1 | 0 | Using integers for currency | I'm writing a program, using seam and an SQL database, that stores information about employees. I was told to store the pay as ints in the database. When the user enters the pay, it is stored as a String and when I use a setter for the employee object it turns it into an int. My problem is that I can't figure out how t... | java | int | seam | currency | null | null | open | Using integers for currency
===
I'm writing a program, using seam and an SQL database, that stores information about employees. I was told to store the pay as ints in the database. When the user enters the pay, it is stored as a String and when I use a setter for the employee object it turns it into an int. My problem... | 0 |
10,053,802 | 04/07/2012 10:47:06 | 95,944 | 04/25/2009 12:57:54 | 5,501 | 112 | Place a button in UITableView footer and make the UITableViewCell not be under the footer | So, I have implemented this method to add a footer to my table view:
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section
{
return 60;
}
This is the result:
![enter image description here][1]
Now, you see, there are two problems:
1) I would like... | iphone | objective-c | ios | xcode | null | null | open | Place a button in UITableView footer and make the UITableViewCell not be under the footer
===
So, I have implemented this method to add a footer to my table view:
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section
{
return 60;
}
This is the result:
... | 0 |
4,843,735 | 01/30/2011 15:39:20 | 508,284 | 11/15/2010 13:22:30 | 138 | 1 | Books about sql security | Can anybody advice me some goods books for sql protection from hackers. Where will be Clearly explained how hackers work and how to secure sql
Thanks | sql | security | hacking | null | null | 09/22/2011 00:51:22 | not constructive | Books about sql security
===
Can anybody advice me some goods books for sql protection from hackers. Where will be Clearly explained how hackers work and how to secure sql
Thanks | 4 |
6,630,350 | 07/08/2011 20:48:12 | 503,822 | 11/10/2010 21:52:04 | 6 | 0 | OpenGL depth test problem | I've got a problem with OpenGL on mac, and I think the problem is the Depth test.
I am a half to total Noob with OpenGL, I did some 2D and 3D Stuff in Java, and now I'm trying 3D in Objective C, but it works kinda different...
So, to my problem: Rather than explaining, I made two screenshots:
My scene from far: ht... | objective-c | opengl | depth | nsopenglview | null | null | open | OpenGL depth test problem
===
I've got a problem with OpenGL on mac, and I think the problem is the Depth test.
I am a half to total Noob with OpenGL, I did some 2D and 3D Stuff in Java, and now I'm trying 3D in Objective C, but it works kinda different...
So, to my problem: Rather than explaining, I made two scre... | 0 |
5,539,750 | 04/04/2011 14:14:07 | 44,242 | 12/08/2008 09:59:11 | 301 | 14 | Problem with Implicit conversion from Int to Ordered | This is an implementation for a leftist heap in Scala.
package my.collections
sealed abstract class Heap[E](implicit val ordering:Ordering[E]) {
import ordering._
def empty: Heap[E] = Heap.empty
def isEmpty: Boolean
def insert(e: E): Heap[E]
... | scala | null | null | null | null | null | open | Problem with Implicit conversion from Int to Ordered
===
This is an implementation for a leftist heap in Scala.
package my.collections
sealed abstract class Heap[E](implicit val ordering:Ordering[E]) {
import ordering._
def empty: Heap[E] = Heap.empty
def isEmp... | 0 |
7,707,695 | 10/10/2011 01:14:51 | 509,967 | 11/16/2010 19:29:47 | 367 | 20 | MySQL regular expression replace? | I know that MySQL does not have a regular expression replace function but I wondered if anyone has written a user defined function that I could use? I know it's not good to just ask for code answers but I am not very skilled in MySQL and was just looking for some help. If there isn't I can accept that.
Thanks | php | mysql | null | null | null | null | open | MySQL regular expression replace?
===
I know that MySQL does not have a regular expression replace function but I wondered if anyone has written a user defined function that I could use? I know it's not good to just ask for code answers but I am not very skilled in MySQL and was just looking for some help. If there is... | 0 |
8,209,391 | 11/21/2011 09:01:58 | 151,453 | 08/06/2009 00:43:24 | 65 | 3 | Does VMware use a big subversion repository to manage all their code? | Just out of curiosity.
I've used VMware's product since VMware Workstation 4.0, and notice their software's build number increases linearly, and increase very fast these two or three years, reaching 471780 on VMware Workstation 8.0 .
So, I guess they are using a big SVN repository to host all their code from the... | svn | vmware | null | null | null | 11/21/2011 09:22:35 | off topic | Does VMware use a big subversion repository to manage all their code?
===
Just out of curiosity.
I've used VMware's product since VMware Workstation 4.0, and notice their software's build number increases linearly, and increase very fast these two or three years, reaching 471780 on VMware Workstation 8.0 .
So, ... | 2 |
5,203,268 | 03/05/2011 10:37:56 | 645,929 | 03/05/2011 10:37:56 | 1 | 0 | Syntax Error in PL/SqL function | This my pl/sql function. I am facing syntax error in this function. Can u please help me to solve this problem.
ERROR: syntax error at or near "$2"
LINE 1: SELECT $1 FOR $2 IN(select abl.ka003_position_lk_id as ...
^
QUERY: SELECT $1 FOR $2 IN(select abl.ka003_position_lk_id ... | plsql | null | null | null | null | null | open | Syntax Error in PL/SqL function
===
This my pl/sql function. I am facing syntax error in this function. Can u please help me to solve this problem.
ERROR: syntax error at or near "$2"
LINE 1: SELECT $1 FOR $2 IN(select abl.ka003_position_lk_id as ...
^
QUERY: SELECT $1 FOR $2... | 0 |
7,338,055 | 09/07/2011 17:31:55 | 337,690 | 05/10/2010 21:08:25 | 1,103 | 14 | Best way to 'filter' user input for username | I have a site which allows users to create a 'unique URL' so they can pass along to colleagues in the form of www.site.com/customurl.
I, of course, run a check to make sure the input is actually unique but I also want to filter out things like large company names (copyrighted names, etc) and curse words. To do this,... | php | text | fopen | fread | null | 04/19/2012 11:52:03 | not constructive | Best way to 'filter' user input for username
===
I have a site which allows users to create a 'unique URL' so they can pass along to colleagues in the form of www.site.com/customurl.
I, of course, run a check to make sure the input is actually unique but I also want to filter out things like large company names (co... | 4 |
7,627,524 | 10/02/2011 16:15:12 | 588,855 | 08/06/2010 17:52:56 | 1,143 | 12 | jQuery - What do those mean (especially + sign) | What do those mean in `jQuery` (especially the `+` sign)?
`['+n+']`
`+this.id`
Thanks. | jquery | null | null | null | null | 10/03/2011 08:30:14 | not a real question | jQuery - What do those mean (especially + sign)
===
What do those mean in `jQuery` (especially the `+` sign)?
`['+n+']`
`+this.id`
Thanks. | 1 |
5,733,220 | 04/20/2011 15:58:30 | 603,976 | 02/05/2011 00:23:36 | 75 | 0 | how to add MInGW bin diretory to my system path? | I am using windows xp. I am trying to add a new library to my Dev C++. For that, I need to install MinGW and then I have been instructed to add Bin directory of MinGW to my system path. But, I don’t know how to do it. Please guide me (step by step) to add this to my system path.
Thank you
| c++ | windows | null | null | null | null | open | how to add MInGW bin diretory to my system path?
===
I am using windows xp. I am trying to add a new library to my Dev C++. For that, I need to install MinGW and then I have been instructed to add Bin directory of MinGW to my system path. But, I don’t know how to do it. Please guide me (step by step) to add this to my... | 0 |
10,594,355 | 05/15/2012 04:58:00 | 1,395,223 | 05/15/2012 04:46:52 | 1 | 0 | How to create Win32 API tracks time | I would like to create Time-tracking Win32 API. User have to login via API before starting to work and will close it before finishing job.
I would like to know what type of tools and technologies need to be used for this API?
Umid. | winapi | null | null | null | null | 05/17/2012 15:26:44 | not a real question | How to create Win32 API tracks time
===
I would like to create Time-tracking Win32 API. User have to login via API before starting to work and will close it before finishing job.
I would like to know what type of tools and technologies need to be used for this API?
Umid. | 1 |
11,693,350 | 07/27/2012 18:11:07 | 990,099 | 10/11/2011 18:20:56 | 13 | 0 | Have an error from someone elses code.. not understanding it | Got this error when deploying a web app from CentOS to RHEL is the only difference and I am sure there is other differences but that is the major one that gave this error. The rest of the webapp is fine. The error is:
pstmnts) && count($this->pstmnts)) foreach ($this->pstmnts as $stmnt_name => $stmnt) $stmnt->clos... | php | jscript | rhel | null | null | 07/27/2012 18:16:36 | too localized | Have an error from someone elses code.. not understanding it
===
Got this error when deploying a web app from CentOS to RHEL is the only difference and I am sure there is other differences but that is the major one that gave this error. The rest of the webapp is fine. The error is:
pstmnts) && count($this->pstmnt... | 3 |
9,516,842 | 03/01/2012 13:12:55 | 1,242,683 | 03/01/2012 12:54:04 | 1 | 0 | lightbox and slimbox2 doesn't work with composite c1 | I'm trying to use both lightbox and slimbox with Composite c1 v3.
Neither works.
I have installed the relevant packages and I have set correctly the parameters for both functions.
The result is that when I use lightbox both thumbnail and the picture appears on the page.
When I use slimbox2, the thumbnail is fine... | lightbox | composite | slimbox | null | null | null | open | lightbox and slimbox2 doesn't work with composite c1
===
I'm trying to use both lightbox and slimbox with Composite c1 v3.
Neither works.
I have installed the relevant packages and I have set correctly the parameters for both functions.
The result is that when I use lightbox both thumbnail and the picture appear... | 0 |
10,924,437 | 06/07/2012 01:12:21 | 433,194 | 08/27/2010 17:27:43 | 1 | 0 | Django Templates -- nesting includes in loops | I've got a template that has a lot of includes nested in for loops. We've got different parts of pages broken out into separate template files because we reuse them by piecing them together in different ways for different views.
For example:
{% for user in users %}
{% include "userDetail.html" %}
... | python | django | templates | null | null | null | open | Django Templates -- nesting includes in loops
===
I've got a template that has a lot of includes nested in for loops. We've got different parts of pages broken out into separate template files because we reuse them by piecing them together in different ways for different views.
For example:
{% for user in use... | 0 |
11,503,406 | 07/16/2012 11:33:49 | 1,414,470 | 05/24/2012 08:22:11 | 8 | 1 | CUDA Addressing a matrix | This is probably a basic question but I couldn't find the answer.
I'm trying to do a 2D convolution so I have sth like this in my kernel:
A[X-i+(Y-j)*W]
where
unsigned int X = blockIdx.x * blockDim.x + threadIdx.x;
unsigned int Y = blockIdx.y * blockDim.y + threadIdx.y;
and W and H are width a... | cuda | null | null | null | null | null | open | CUDA Addressing a matrix
===
This is probably a basic question but I couldn't find the answer.
I'm trying to do a 2D convolution so I have sth like this in my kernel:
A[X-i+(Y-j)*W]
where
unsigned int X = blockIdx.x * blockDim.x + threadIdx.x;
unsigned int Y = blockIdx.y * blockDim.y + threadIdx... | 0 |
10,575,558 | 05/13/2012 21:54:57 | 1,366,538 | 04/30/2012 19:16:12 | 13 | 1 | Difference between anonymous functions | I'm reading more open source javascript frameworks and found more ways of how to create anonymous functions, but whats is different and best way?
<li>(function() { this.Lib = {}; }).call(this);</li>
<li>(function() { var Lib = {}; window.Lib = Lib; })();</li>
<li>(function(global) {var Lib = {}; global.Lib = L... | javascript | anonymous-function | null | null | null | null | open | Difference between anonymous functions
===
I'm reading more open source javascript frameworks and found more ways of how to create anonymous functions, but whats is different and best way?
<li>(function() { this.Lib = {}; }).call(this);</li>
<li>(function() { var Lib = {}; window.Lib = Lib; })();</li>
<li>(fu... | 0 |
7,333,704 | 09/07/2011 12:13:30 | 327,813 | 04/28/2010 11:57:35 | 100 | 3 | Can you suggest a free Cloud hosting provider? | I want to host a sample java web application(if possible any DB) for my learning, can you suggest any free cloud hosting providers? | java | cloud | null | null | null | 09/07/2011 15:43:51 | not constructive | Can you suggest a free Cloud hosting provider?
===
I want to host a sample java web application(if possible any DB) for my learning, can you suggest any free cloud hosting providers? | 4 |
8,056,376 | 11/08/2011 20:01:36 | 175,399 | 09/18/2009 08:33:06 | 1,711 | 21 | Should a domain object beeing allowed to delegate to a repository? | Should a domain object beeing allowed to delegate to a repository?
What kind of components should a domain object beeing allowed to use? | c# | oop | domain-driven-design | domain | repository | 11/08/2011 22:20:27 | not a real question | Should a domain object beeing allowed to delegate to a repository?
===
Should a domain object beeing allowed to delegate to a repository?
What kind of components should a domain object beeing allowed to use? | 1 |
6,636,180 | 07/09/2011 17:02:59 | 509,600 | 11/16/2010 14:03:23 | 701 | 17 | Android: Uploading number of images causing Heap size to grow big - how to solve that? | I'm writing app where user can take bunch of pictures (up to 20) and upload to server. Images need to be uploaded all together.
Here is my logic:
1. Take each picture, display thumb on a screen and resize picture on SD to 800x600 with 90 quality
2. Create object, populate properties (images) as Base64 string
3.... | android | null | null | null | null | null | open | Android: Uploading number of images causing Heap size to grow big - how to solve that?
===
I'm writing app where user can take bunch of pictures (up to 20) and upload to server. Images need to be uploaded all together.
Here is my logic:
1. Take each picture, display thumb on a screen and resize picture on SD to ... | 0 |
490,661 | 01/29/2009 06:29:26 | 39,532 | 11/21/2008 01:36:19 | 1,043 | 44 | How many constructors should a class have? | I'm currently modifying a class that has 9 different constructors. Now overall I believe this class is very poorly designed... so I'm wondering if it is poor design for a class to have so many constructors.
A problem has arisen because I recently added two constructors to this class in an attempt to refactor and red... | class-design | constructor | null | null | null | null | open | How many constructors should a class have?
===
I'm currently modifying a class that has 9 different constructors. Now overall I believe this class is very poorly designed... so I'm wondering if it is poor design for a class to have so many constructors.
A problem has arisen because I recently added two constructors... | 0 |
8,991,768 | 01/24/2012 18:04:45 | 269,763 | 02/09/2010 19:21:31 | 71 | 3 | How To Create Or design popUp windows for Edit ro Insert | i'm startter in jQgrid plugin in asp.net, i'm desing Grid andd fill Grid in data,Now I'm going to use this feature to add, edit, add and edit information on how to design????
thanks all. | jquery | jqgrid | jqgrid-asp.net | null | null | 01/24/2012 18:32:36 | not a real question | How To Create Or design popUp windows for Edit ro Insert
===
i'm startter in jQgrid plugin in asp.net, i'm desing Grid andd fill Grid in data,Now I'm going to use this feature to add, edit, add and edit information on how to design????
thanks all. | 1 |
4,983,395 | 02/13/2011 09:18:26 | 398,398 | 07/21/2010 19:36:38 | 775 | 15 | What are the reasons make you love C++? | I'm a fan of C++. I'm currently taking a Programing Language Concept course. Before, I always think C++ is the best tool for everything. Well, I'm a newbie, so please forgive me for this insane thought.
After reading the book, I realized that every language has its own strength and weakness, and the programming lang... | c++ | null | null | null | null | 02/13/2011 09:22:13 | not constructive | What are the reasons make you love C++?
===
I'm a fan of C++. I'm currently taking a Programing Language Concept course. Before, I always think C++ is the best tool for everything. Well, I'm a newbie, so please forgive me for this insane thought.
After reading the book, I realized that every language has its own st... | 4 |
6,278,343 | 06/08/2011 11:58:52 | 789,114 | 06/08/2011 11:58:52 | 1 | 0 | Javascript code to like All posts in a wall | I want the javascript code that would enable me to like all the posts in my wall.Also is it possible to have a similar comment posted in all the posts. | javascript | facebook | post | like | wall | 06/08/2011 12:25:10 | not a real question | Javascript code to like All posts in a wall
===
I want the javascript code that would enable me to like all the posts in my wall.Also is it possible to have a similar comment posted in all the posts. | 1 |
2,975,318 | 06/04/2010 15:01:27 | 234,631 | 12/18/2009 15:29:09 | 76 | 3 | Catchable error in php? | I have a really odd error:
> [04-Jun-2010 15:55:32] PHP Catchable
> fatal error: Object of class Type
> could not be converted to string in
> /home/prettykl/public_html/2010/includes/functions.php
> on line 140
This is the code and line 140 is the $sql line.
if (!empty($type)) {
$sql =... | php | class | null | null | null | null | open | Catchable error in php?
===
I have a really odd error:
> [04-Jun-2010 15:55:32] PHP Catchable
> fatal error: Object of class Type
> could not be converted to string in
> /home/prettykl/public_html/2010/includes/functions.php
> on line 140
This is the code and line 140 is the $sql line.
if (!empty($ty... | 0 |
8,676,165 | 12/30/2011 04:27:54 | 450,407 | 09/17/2010 08:45:13 | 16 | 0 | Get Google Calendar events using Perl without any modules? Just API | I've now spent about 3 hours trying to figure out how to use the Google Calendar API and I'm still in square one. I don't want to install any extra modules. I just want to do this with GET commands. Is that possible? | api | google-calendar | null | null | null | null | open | Get Google Calendar events using Perl without any modules? Just API
===
I've now spent about 3 hours trying to figure out how to use the Google Calendar API and I'm still in square one. I don't want to install any extra modules. I just want to do this with GET commands. Is that possible? | 0 |
6,976,993 | 08/08/2011 01:26:22 | 623,990 | 02/19/2011 01:32:39 | 517 | 5 | PHP can't upload file from HTML form | This is how I handle my form:
# Create the message
# ----------------------------------------------------------------
$name = $_POST['name'];
$email = $_POST['email'];
$title = $_POST['title'];
$course = $_POST['course'];
$file... | php | html | file-upload | file-io | null | null | open | PHP can't upload file from HTML form
===
This is how I handle my form:
# Create the message
# ----------------------------------------------------------------
$name = $_POST['name'];
$email = $_POST['email'];
$title = $_POST['title'];
$cou... | 0 |
10,681,399 | 05/21/2012 07:56:54 | 1,398,737 | 05/16/2012 13:28:55 | 55 | 1 | how to post id in current URL using Jquery ? | I am learning j query and i want to send id in current URL then UL Li on click event to send id in current URL without page refresh
**like this:**<BR>
Current URL = localhost/backupapp-latest-21-05/index.php?r=site/Application<br>
send id url = localhost/backupapp-latest-21-05/index.php?r=site/Application&**abcid... | javascript | jquery-ui | jquery-ajax | html-lists | sendkeys | null | open | how to post id in current URL using Jquery ?
===
I am learning j query and i want to send id in current URL then UL Li on click event to send id in current URL without page refresh
**like this:**<BR>
Current URL = localhost/backupapp-latest-21-05/index.php?r=site/Application<br>
send id url = localhost/backupapp... | 0 |
5,916,497 | 05/06/2011 20:09:38 | 742,413 | 05/06/2011 20:09:38 | 1 | 0 | Passing value in java BEGINNER stuff | i am having a little bit of trouble in my code
i wish to take the value operation = flip in the last if statement and pass it to the top where operation = "" so that it is either + - or * is this even possible sorry for such a basic question but i am really stuck
JButton operand = (JButton) calculate.getSource();
... | java | null | null | null | null | 05/06/2011 22:08:11 | not a real question | Passing value in java BEGINNER stuff
===
i am having a little bit of trouble in my code
i wish to take the value operation = flip in the last if statement and pass it to the top where operation = "" so that it is either + - or * is this even possible sorry for such a basic question but i am really stuck
JButton o... | 1 |
5,305,200 | 03/14/2011 22:10:30 | 659,644 | 03/14/2011 22:10:30 | 1 | 0 | PHP SplFileObject not reading full line | I exported a text file from MS Access and I am in the process of converting it so I can use it in mysql but right off the bat I have issues! I exported the file with each column delimeted by ';'. This is what theexported data looks like:
<pre><code>
2;"name";"lastname";"Star Galaxy Hosting Services";"12838";"somema... | php | mysql | import | null | null | 03/15/2011 08:30:18 | not a real question | PHP SplFileObject not reading full line
===
I exported a text file from MS Access and I am in the process of converting it so I can use it in mysql but right off the bat I have issues! I exported the file with each column delimeted by ';'. This is what theexported data looks like:
<pre><code>
2;"name";"lastname";"... | 1 |
8,089,651 | 11/11/2011 04:24:49 | 1,041,040 | 11/11/2011 04:20:23 | 1 | 0 | how to access the content of .dump file | I extract .tgz file and get a .gz file which I do extraction again and get a .dump file.
I google how to access .dump file but find all pages are related to windows memory file .dmp which is not what I am dealing with. The .dump file is very large (more than 5 GB) and anyone can help me with this? Thanks. | extraction | null | null | null | null | 11/17/2011 13:57:12 | not a real question | how to access the content of .dump file
===
I extract .tgz file and get a .gz file which I do extraction again and get a .dump file.
I google how to access .dump file but find all pages are related to windows memory file .dmp which is not what I am dealing with. The .dump file is very large (more than 5 GB) and any... | 1 |
5,871,324 | 05/03/2011 14:48:21 | 363,701 | 06/10/2010 16:40:48 | 110 | 5 | Whats a good book for hosting, domains, apache, etc | I'm good at making websites, and can make a mean JavaScript, but when it comes to getting in on the internet, troubleshooting problems with the hosting and domain, and messing with server settings I feel lost.
Does there exist a book that explains things like DNS and SSL as well as .htaccess and mod_rewrite? I know... | books | hosting | domain | null | null | 05/03/2011 15:34:49 | off topic | Whats a good book for hosting, domains, apache, etc
===
I'm good at making websites, and can make a mean JavaScript, but when it comes to getting in on the internet, troubleshooting problems with the hosting and domain, and messing with server settings I feel lost.
Does there exist a book that explains things like ... | 2 |
11,266,080 | 06/29/2012 17:10:06 | 1,489,257 | 06/28/2012 16:46:42 | 1 | 0 | Access of undefined property Keyboard (AS3) | I'm new to Actionscript 3 and I'm wanting to allow a circle to move down using the down arrow on the keyboard. Here's my code:
package {
import flash.display.MovieClip;
import flash.events.KeyboardEvent;
import flash.ui.Keyboard;
public class Circle extends MovieClip {
public function Circle(... | actionscript-3 | null | null | null | null | null | open | Access of undefined property Keyboard (AS3)
===
I'm new to Actionscript 3 and I'm wanting to allow a circle to move down using the down arrow on the keyboard. Here's my code:
package {
import flash.display.MovieClip;
import flash.events.KeyboardEvent;
import flash.ui.Keyboard;
public class Circle... | 0 |
6,941,983 | 08/04/2011 13:09:00 | 878,640 | 08/04/2011 13:09:00 | 1 | 0 | Asp.net Mvc webapplication | net web application which shows data from a database connected to specific users when they are logged in. Kindly suggest me any tutorial to understand how to make roles like admin , user etc. and also to use the database to show the data on different pages. Thank you | asp.net | database | authentication | application | user | 08/04/2011 14:52:22 | not a real question | Asp.net Mvc webapplication
===
net web application which shows data from a database connected to specific users when they are logged in. Kindly suggest me any tutorial to understand how to make roles like admin , user etc. and also to use the database to show the data on different pages. Thank you | 1 |
9,723,546 | 03/15/2012 16:02:32 | 1,217,820 | 02/18/2012 08:37:29 | 65 | 1 | buttons withing spinner items | I have a created a spinner for my application in android. How can I add a small button (or clickable image) at each item in which when you click on it, it takes you down one items in the spinner? Kinda of like "get me the next item " button without having to expand the whole list.
Thank you very much
| android | null | null | null | null | null | open | buttons withing spinner items
===
I have a created a spinner for my application in android. How can I add a small button (or clickable image) at each item in which when you click on it, it takes you down one items in the spinner? Kinda of like "get me the next item " button without having to expand the whole list.
... | 0 |
3,242,070 | 07/13/2010 22:28:44 | 76,066 | 03/10/2009 10:06:51 | 476 | 41 | How do I remove redundant namespace in nested query when using FOR XML PATH | When using `FOR XML PATH` and `WITH XMLNAMESPACES` to declare a default namespace, I will get the namespace decleration duplicated in any top level nodes for nested queries that use FOR XML, I've stumbled across a few solutions on-line, but I'm not totally convinced...
What's the best solution?
| sql | xml | sql-server-2008 | null | null | null | open | How do I remove redundant namespace in nested query when using FOR XML PATH
===
When using `FOR XML PATH` and `WITH XMLNAMESPACES` to declare a default namespace, I will get the namespace decleration duplicated in any top level nodes for nested queries that use FOR XML, I've stumbled across a few solutions on-line, bu... | 0 |
8,558,198 | 12/19/2011 07:15:32 | 1,081,026 | 12/05/2011 06:34:26 | 4 | 0 | While restoring bond0, some time my primay node(SC-1) gets rebooted | When disconnecting both bond0 links on one of the control blades all seems to work as it should
When restoring one of the connections, sometimes one of the control blades (the one being 'primary'before the test) reboots suddenly.
| linux | linux-kernel | null | null | null | 12/19/2011 13:38:54 | off topic | While restoring bond0, some time my primay node(SC-1) gets rebooted
===
When disconnecting both bond0 links on one of the control blades all seems to work as it should
When restoring one of the connections, sometimes one of the control blades (the one being 'primary'before the test) reboots suddenly.
| 2 |
10,035,653 | 04/05/2012 20:37:35 | 1,159,226 | 01/19/2012 18:46:16 | 1 | 0 | what is the best way to connect my application with kernel? | I know this question can be answered by searching in google. But I have spent nights in searching to try make my application connect with my programmed driver.
I have read many complex articles, but I don't know the road that lead me to the right way to make my program works fast withou delay in exchanging data with t... | c++ | null | null | null | null | 04/05/2012 23:31:34 | too localized | what is the best way to connect my application with kernel?
===
I know this question can be answered by searching in google. But I have spent nights in searching to try make my application connect with my programmed driver.
I have read many complex articles, but I don't know the road that lead me to the right way to ... | 3 |
2,978,847 | 06/05/2010 02:10:35 | 20,654 | 09/22/2008 18:43:12 | 27,740 | 1,264 | java style for long throws exception list | What's the Java style for formatting a long `throws` list?
Let's say I have this:
public void some() throws IOException, ClassNotFoundException, NoSuchMethodException,InvocationTargetException, IllegalAccessException {
}
Should it be:
public void some()
throws IOExceptio... | java | coding-style | sun-coding-conventions | null | null | null | open | java style for long throws exception list
===
What's the Java style for formatting a long `throws` list?
Let's say I have this:
public void some() throws IOException, ClassNotFoundException, NoSuchMethodException,InvocationTargetException, IllegalAccessException {
}
Should it be:
pu... | 0 |
11,509,482 | 07/16/2012 17:33:13 | 1,123,578 | 12/30/2011 21:33:48 | 8 | 1 | iOS: UIPickerView default dimensions | I would like to know the width of the dark grey frame on either side of the inside picker part and the width of the separators between components. This would be at default settings (eg. what's shown in the .xib). Or, how to find such values programmatically. Thank you | objective-c | ios | uipickerview | null | null | null | open | iOS: UIPickerView default dimensions
===
I would like to know the width of the dark grey frame on either side of the inside picker part and the width of the separators between components. This would be at default settings (eg. what's shown in the .xib). Or, how to find such values programmatically. Thank you | 0 |
7,312,154 | 09/05/2011 19:45:45 | 929,481 | 09/05/2011 19:45:45 | 1 | 0 | Looking for a simple tutorial to populate a webpage with items from a database | I'm looking for a tutorial that will show me how to simply develop a page that will be populated with items from a database and handle pagination too. There's no need for search or filter options or any other fancy stuff. Simple webpage that when visited will pull all the records from a databse and display them in a ni... | php | html | database | null | null | 09/05/2011 19:59:58 | not constructive | Looking for a simple tutorial to populate a webpage with items from a database
===
I'm looking for a tutorial that will show me how to simply develop a page that will be populated with items from a database and handle pagination too. There's no need for search or filter options or any other fancy stuff. Simple webpage... | 4 |
7,480,310 | 09/20/2011 04:54:02 | 918,549 | 08/29/2011 20:45:36 | 1 | 0 | PHP - Simple Hit Counter | What is the best way to create a hit counter for multiple pages, and to optimize performance at the same time. For example, I would like a unique hit counter on each different blog post, as well as the main page. To make it unique, I would have to store the users IP address in the database, or in a text file. Could I s... | php | hitcounter | null | null | null | 09/20/2011 10:53:32 | not a real question | PHP - Simple Hit Counter
===
What is the best way to create a hit counter for multiple pages, and to optimize performance at the same time. For example, I would like a unique hit counter on each different blog post, as well as the main page. To make it unique, I would have to store the users IP address in the database... | 1 |
9,872,458 | 03/26/2012 12:51:34 | 1,248,318 | 03/04/2012 16:25:42 | 76 | 0 | On edit gridview , set a value to dropdownlist? | I have a simple dropdownlist.
A column with the control dropdownlist .
THe dropdownlist is containing 2 values : No/Yes . I'm not binding something to it.
On GridView1_rowEditing I want to set a value to the dropdownlist like ( selectedvalue = 1; ) . So everytime someone is pressing Edit then the value is set to... | c# | asp.net | sql | null | null | 03/27/2012 15:15:26 | not a real question | On edit gridview , set a value to dropdownlist?
===
I have a simple dropdownlist.
A column with the control dropdownlist .
THe dropdownlist is containing 2 values : No/Yes . I'm not binding something to it.
On GridView1_rowEditing I want to set a value to the dropdownlist like ( selectedvalue = 1; ) . So everyt... | 1 |
7,636,264 | 10/03/2011 14:17:50 | 856,377 | 07/21/2011 16:05:26 | 15 | 0 | How to retrieve String's and write them to a file or resource and overrwrite and reuse it? | I am retrieving about 7 URL's from a service. I want to be able to write these URL's some where and have my application read from them in another activity.
The thing that makes this tricky is the URL's change every week. So i would need to overwrite the current URL's. I don't want to make the url's stack up on top ... | android | null | null | null | null | null | open | How to retrieve String's and write them to a file or resource and overrwrite and reuse it?
===
I am retrieving about 7 URL's from a service. I want to be able to write these URL's some where and have my application read from them in another activity.
The thing that makes this tricky is the URL's change every week.... | 0 |
11,309,953 | 07/03/2012 11:28:31 | 754,174 | 05/15/2011 03:11:00 | 57 | 3 | What is the most progressive Javascript editor for Eclipse? | I keep struggling with `Javascript` editors for `Eclipse` to find the 'best' one, and find myself switching from one to the next every other project.
Although looking for 'the best' is usually not an appreciated question for lack of objectivity, I think we can all agree that support for certain features is better th... | javascript | eclipse | codehighlighter | outliner | object-notation | 07/03/2012 12:11:53 | not constructive | What is the most progressive Javascript editor for Eclipse?
===
I keep struggling with `Javascript` editors for `Eclipse` to find the 'best' one, and find myself switching from one to the next every other project.
Although looking for 'the best' is usually not an appreciated question for lack of objectivity, I thin... | 4 |
11,213,378 | 06/26/2012 18:07:36 | 771,780 | 05/26/2011 17:43:39 | 68 | 2 | JavaScript naming convention in .NET shop | I have an issue with a request from the project architect. This person wants me to name all of my properties the same way that .NET does naming conventions.
Should I put up a fight to keep JavaScript as JavaScript, or allow the .NET naming convention to creep up on our JS because we're in a .NET shop?
//ALL T... | javascript | .net | naming | conventions | null | 06/27/2012 19:12:29 | not constructive | JavaScript naming convention in .NET shop
===
I have an issue with a request from the project architect. This person wants me to name all of my properties the same way that .NET does naming conventions.
Should I put up a fight to keep JavaScript as JavaScript, or allow the .NET naming convention to creep up on our ... | 4 |
11,172,639 | 06/23/2012 20:12:50 | 731,085 | 04/29/2011 12:57:58 | 178 | 3 | xslt removing punctuation | Can anybody tell me why the following line of code wouldn't be a legitimate way to remove periods and commas for the text node of paragraph element using xslt 1.0? Here's the template I currently have:
<xsl:template match="tei:p">
<p id="{@xml:id}" class="plaoulparagraph" style="margin-left: 3em;"><xsl:... | xslt | translate | null | null | null | null | open | xslt removing punctuation
===
Can anybody tell me why the following line of code wouldn't be a legitimate way to remove periods and commas for the text node of paragraph element using xslt 1.0? Here's the template I currently have:
<xsl:template match="tei:p">
<p id="{@xml:id}" class="plaoulparagraph" ... | 0 |
8,749,690 | 01/05/2012 20:56:57 | 546,509 | 12/17/2010 20:33:40 | 277 | 11 | How do I exclude iPad 2 and iPod Touch 5th Generation in a function? | I'm trying to create a function that works on ALL iOS devices except the iPad 2 and the iPod Touch 5th Gen.
- (void)doSomething {
// if iPad 2 or iPod 5th Gen
if ()
{
NSLog(@"You're using an iPad 2 or iPod 5th Gen. Sorry!");
}
else
{
NSLog(@"Any other iOS device.... | objective-c | ios | xcode | cocoa-touch | iphone-sdk-5.0 | null | open | How do I exclude iPad 2 and iPod Touch 5th Generation in a function?
===
I'm trying to create a function that works on ALL iOS devices except the iPad 2 and the iPod Touch 5th Gen.
- (void)doSomething {
// if iPad 2 or iPod 5th Gen
if ()
{
NSLog(@"You're using an iPad 2 or iPod 5th Gen... | 0 |
10,275,070 | 04/23/2012 05:03:43 | 1,268,469 | 03/14/2012 08:33:20 | 337 | 31 | Separating SQL Server and WebServer Issue | We have both **Asp.Net** webapp server and **SqlServer 2005** in the same machine.
To increase performance we are considering moving the web application in to a separate server.
How should i configure the new webserver for data access ? In case of oracle we used to install **Oracle client** in the webserver for s... | asp.net | sql-server | sql-server-2005 | iis | null | 04/24/2012 03:21:04 | not a real question | Separating SQL Server and WebServer Issue
===
We have both **Asp.Net** webapp server and **SqlServer 2005** in the same machine.
To increase performance we are considering moving the web application in to a separate server.
How should i configure the new webserver for data access ? In case of oracle we used to i... | 1 |
11,445,635 | 07/12/2012 05:44:17 | 1,519,745 | 07/12/2012 05:29:01 | 1 | 0 | design background form in c# | Hullo everyone
I need some help, I wanna create a form in c# that its backgroung and style would be the same as a book.
I don't know what I should exactly do in code.
It would be like when you get a book and read it(changing pages) just as the same in reality. | c# | null | null | null | null | 07/12/2012 15:39:27 | not a real question | design background form in c#
===
Hullo everyone
I need some help, I wanna create a form in c# that its backgroung and style would be the same as a book.
I don't know what I should exactly do in code.
It would be like when you get a book and read it(changing pages) just as the same in reality. | 1 |
5,403,423 | 03/23/2011 09:54:21 | 672,762 | 03/23/2011 09:54:21 | 1 | 0 | Debian Squeeze -> Installing Ruby on Rails | is there any way to install RoR on Squeeze, without using RVM?
I've tried on a Virtual Machine, and when I run "bundle install", I get this error message :
> `gem_prelude.rb:79:in `undef_method': undefined method `default_dir' for `Gem' (NameError)
from gem_prelude.rb:79:in `block in singletonclass'
from gem_prel... | ruby-on-rails | error-message | debian | squeeze | null | 03/25/2011 09:18:28 | too localized | Debian Squeeze -> Installing Ruby on Rails
===
is there any way to install RoR on Squeeze, without using RVM?
I've tried on a Virtual Machine, and when I run "bundle install", I get this error message :
> `gem_prelude.rb:79:in `undef_method': undefined method `default_dir' for `Gem' (NameError)
from gem_prelude.r... | 3 |
4,876,981 | 02/02/2011 16:24:42 | 548,749 | 12/20/2010 14:36:07 | 1 | 0 | multiple image preloader in javascript, code needs reordering...help | I came across a tutorial to load an image into the cache then on completion redirect to another page.
I would like to do this with an array of images then when they are all loaded redirect to a new page. It mentions this in the tutorial as well but not in completion. I have tried reorganizing this code to do it but as... | javascript | redirect | preloader | image-preloader | null | null | open | multiple image preloader in javascript, code needs reordering...help
===
I came across a tutorial to load an image into the cache then on completion redirect to another page.
I would like to do this with an array of images then when they are all loaded redirect to a new page. It mentions this in the tutorial as well... | 0 |
9,363,832 | 02/20/2012 15:39:32 | 698,407 | 04/08/2011 09:51:38 | 8 | 0 | Use Object everywhere in IOS app | I want to get data while the app is loading and use this in all the application. but how can I create a object and use it everywhere in my application ?
Thanks in advance | ios | ios5 | null | null | null | 02/20/2012 22:02:10 | not a real question | Use Object everywhere in IOS app
===
I want to get data while the app is loading and use this in all the application. but how can I create a object and use it everywhere in my application ?
Thanks in advance | 1 |
9,870,137 | 03/26/2012 10:02:49 | 1,292,685 | 03/26/2012 09:52:52 | 1 | 0 | Linux standby server | We have recently deployed a java web application on an ubuntu server running in a local network. We need to have another server in the same network which will be standby whenever the primary server is down.
The standby server is already installed and running but i dont known how i could configure it so that it could... | linux | ubuntu | configuration | failover | standby | 03/26/2012 13:24:15 | off topic | Linux standby server
===
We have recently deployed a java web application on an ubuntu server running in a local network. We need to have another server in the same network which will be standby whenever the primary server is down.
The standby server is already installed and running but i dont known how i could con... | 2 |
11,616,575 | 07/23/2012 16:26:55 | 994,021 | 10/13/2011 17:38:34 | 51 | 3 | Android not killing activities from stack when memory is low | We've been developing an application that has a drop down dashboard that allows the users to navigate throughout the app. The navigation is not very standard since this menu can be accessed from almost every activity.
After playing for a while opening activities using the menu, the stack starts to grow and grow.
... | android | activity | outofmemoryerror | null | null | null | open | Android not killing activities from stack when memory is low
===
We've been developing an application that has a drop down dashboard that allows the users to navigate throughout the app. The navigation is not very standard since this menu can be accessed from almost every activity.
After playing for a while opening ... | 0 |
9,427,736 | 02/24/2012 08:40:33 | 1,230,274 | 02/24/2012 08:15:27 | 1 | 0 | How to access one method while another method is running for same input at same time? | I am new to .NET. I have a doubt that suppose we have two numbers and add method is running. and if add method is busy then we need to call subtraction method for same input at same time.
So my question is that first we call one method and if that method is busy then call another method while method one is running for... | c# | .net | null | null | null | 02/26/2012 06:08:52 | not a real question | How to access one method while another method is running for same input at same time?
===
I am new to .NET. I have a doubt that suppose we have two numbers and add method is running. and if add method is busy then we need to call subtraction method for same input at same time.
So my question is that first we call one... | 1 |
3,792,037 | 09/25/2010 01:21:03 | 330,644 | 05/02/2010 02:13:24 | 8,057 | 499 | Just how many printf and scanf variants are there? | There are so many different versions of `printf` and `scanf` in C that it brings out a chuckle in me. Let's start:
- `printf`: original implementation; uses `format` then the values as arguments
- `fprintf`: the same, but takes a `FILE` pointer before `format`
- `sprintf`: takes a `char` pointer before `format`
-... | c | null | null | null | null | 09/25/2010 19:07:03 | not a real question | Just how many printf and scanf variants are there?
===
There are so many different versions of `printf` and `scanf` in C that it brings out a chuckle in me. Let's start:
- `printf`: original implementation; uses `format` then the values as arguments
- `fprintf`: the same, but takes a `FILE` pointer before `format`... | 1 |
11,478,506 | 07/13/2012 21:16:45 | 1,524,623 | 07/13/2012 20:50:12 | 1 | 0 | Symbol is defined after Module in Mathematica | From the Mathematica documentation:
> Module allows you to set up local variables with names that are local to the module.
But after using Module, the symbol is created !
I understand that Module makes temporary symbols appending a number, like i$8071 and those are gone afterwards. However the symbol "i" is n... | mathematica | null | null | null | null | 07/13/2012 22:54:57 | off topic | Symbol is defined after Module in Mathematica
===
From the Mathematica documentation:
> Module allows you to set up local variables with names that are local to the module.
But after using Module, the symbol is created !
I understand that Module makes temporary symbols appending a number, like i$8071 and thos... | 2 |
9,463,573 | 02/27/2012 10:37:17 | 352,959 | 05/28/2010 13:47:50 | 599 | 11 | How to protect website from malicious scripts? | Two day ago my website was banned by all browsers because there were some malicious script at the very top of my index.php file. I have no idea where this script came from. Removed it several times but it appears again after several hours. I have already contacted my hosting provider and the only advice from them was t... | php | malicious | null | null | null | 02/27/2012 13:19:49 | not a real question | How to protect website from malicious scripts?
===
Two day ago my website was banned by all browsers because there were some malicious script at the very top of my index.php file. I have no idea where this script came from. Removed it several times but it appears again after several hours. I have already contacted my ... | 1 |
11,327,075 | 07/04/2012 10:17:13 | 1,501,217 | 07/04/2012 09:57:49 | 1 | 0 | how can we create the object of a controller class in view and how can we call a function with the reference of that object in codeigniter? |
<?php
include_once(APPPATH.'controllers/updates.php');
Updates::view_update();
?>
// i have also tried this
$obj=new Update();
$obj->view_update();
i want to include a dynamic page which is being called by a function in 'updates'controller. | mvc | codeigniter | controller | null | null | 07/06/2012 04:06:29 | too localized | how can we create the object of a controller class in view and how can we call a function with the reference of that object in codeigniter?
===
<?php
include_once(APPPATH.'controllers/updates.php');
Updates::view_update();
?>
// i have also tried this
$obj=new Update();
... | 3 |
11,603,958 | 07/22/2012 21:00:37 | 1,464,844 | 06/18/2012 21:07:40 | 1 | 0 | how to get strings inside html code to an array | i need to get aver-table,average,light,averno to an array and print them to a new line.
$string = '...<div class="sdasdad"><li class="class-a"><a href="asdasd" class="vcxv" title="erewer">aver-table</a></li>
<li class="class-a"><a href="qwe2" class="23" title="ww4">average</a></li>
<li class="class... | php | null | null | null | null | 07/23/2012 12:28:49 | not a real question | how to get strings inside html code to an array
===
i need to get aver-table,average,light,averno to an array and print them to a new line.
$string = '...<div class="sdasdad"><li class="class-a"><a href="asdasd" class="vcxv" title="erewer">aver-table</a></li>
<li class="class-a"><a href="qwe2" class="2... | 1 |
7,019,819 | 08/11/2011 01:21:19 | 329,700 | 04/30/2010 11:12:27 | 796 | 19 | What are some ways an ACID database can violate atomicity? | From the Wikipedia article on atomicity (http://en.wikipedia.org/wiki/ACID):
> An atomic transfer cannot be subdivided and must be processed in its
> entirety or not at all. Atomicity means that users do not have to
> worry about the effect of incomplete transactions.
>
> Transactions can fail for several kinds... | database | acid | null | null | null | 02/08/2012 14:27:36 | not constructive | What are some ways an ACID database can violate atomicity?
===
From the Wikipedia article on atomicity (http://en.wikipedia.org/wiki/ACID):
> An atomic transfer cannot be subdivided and must be processed in its
> entirety or not at all. Atomicity means that users do not have to
> worry about the effect of incompl... | 4 |
2,246,639 | 02/11/2010 18:23:15 | 111,674 | 05/24/2009 04:47:19 | 671 | 12 | Any examples of implementing DotNetOpenId on ASP.NET State Server? | We have dotopenopenId implemented on our web farm which currently uses scaleout. We want to replace ScaleOut with ASP.NET State Server, but I'm wondering if there are any examples of the interfaces that need to be built for the AssociationStore and the ProviderStore.
| webfarm | stateserver | null | null | null | null | open | Any examples of implementing DotNetOpenId on ASP.NET State Server?
===
We have dotopenopenId implemented on our web farm which currently uses scaleout. We want to replace ScaleOut with ASP.NET State Server, but I'm wondering if there are any examples of the interfaces that need to be built for the AssociationStore and... | 0 |
7,562,454 | 09/26/2011 23:18:33 | 337,616 | 05/10/2010 19:29:18 | 134 | 4 | Use Python Framework or Build Own | I am an experienced PHP developer (10 years) who has built 3 different custom frameworks for extreme high traffic sites. I have recently started to get into programming a lot of python, usually just for fun (algorithms). I am starting to develop a new site as my side project and wanted to know if I should use a pre-exi... | python | frameworks | null | null | null | 09/26/2011 23:39:16 | off topic | Use Python Framework or Build Own
===
I am an experienced PHP developer (10 years) who has built 3 different custom frameworks for extreme high traffic sites. I have recently started to get into programming a lot of python, usually just for fun (algorithms). I am starting to develop a new site as my side project and w... | 2 |
8,145,479 | 11/16/2011 01:19:48 | 255,244 | 01/20/2010 20:38:45 | 379 | 24 | Can constructors be async | I have a silverlight project where I'm trying to populate some data in a constructor
public class ViewModel
{
public ObservableCollection<TData> Data { get; set; }
async public ViewModel()
{
Data = await GetDataTask();
}
public Task<ObservableColle... | c# | async-await | null | null | null | null | open | Can constructors be async
===
I have a silverlight project where I'm trying to populate some data in a constructor
public class ViewModel
{
public ObservableCollection<TData> Data { get; set; }
async public ViewModel()
{
Data = await GetDataTask();
}
... | 0 |
5,370,971 | 03/20/2011 19:38:49 | 668,510 | 03/20/2011 19:38:49 | 1 | 0 | Air: Write to application storage directory during installation? | I'm writing an Adobe Air HTML app. I want to write to the application storage directory during installation, and thought you could point me in the right direction.
I've got a set of example "profiles" (text files) to include with our application. I would like to put the examples into Application Storage (or Document... | html | ajax | air | adobe | null | null | open | Air: Write to application storage directory during installation?
===
I'm writing an Adobe Air HTML app. I want to write to the application storage directory during installation, and thought you could point me in the right direction.
I've got a set of example "profiles" (text files) to include with our application. ... | 0 |
8,383,245 | 12/05/2011 09:31:00 | 1,081,240 | 12/05/2011 09:18:20 | 1 | 0 | Creating rows in a datagridview using Parallel.ForEach | Recently decided to write a "quick" windows form app to tag my MP3 files. Not done anything with parallelism since .Net 3.0, so I'm looking at the Parallel.ForEach method to deal with the UI locking I get when I'm using a standard foreach statement. Here's an excerpt:
var i = 1;
var files = new List<string>... | c# | winforms | parallel.foreach | null | null | null | open | Creating rows in a datagridview using Parallel.ForEach
===
Recently decided to write a "quick" windows form app to tag my MP3 files. Not done anything with parallelism since .Net 3.0, so I'm looking at the Parallel.ForEach method to deal with the UI locking I get when I'm using a standard foreach statement. Here's an ... | 0 |
5,160,923 | 03/01/2011 22:01:48 | 310,678 | 04/07/2010 06:25:10 | 337 | 26 | OpenCL AMD compiling GL examples | I am trying to compile the AMD examples and keep receiving the errors
In file included from /home/james/ati-stream-sdk-v2.3-lnx64/include/GL/glew.h:1138,
from SimpleGL.hpp:103,
from SimpleGL.cpp:93:
/home/james/ati-stream-sdk-v2.3-lnx64/include/GL/glu.h:231: error: expected... | compiler-errors | opencl | null | null | null | null | open | OpenCL AMD compiling GL examples
===
I am trying to compile the AMD examples and keep receiving the errors
In file included from /home/james/ati-stream-sdk-v2.3-lnx64/include/GL/glew.h:1138,
from SimpleGL.hpp:103,
from SimpleGL.cpp:93:
/home/james/ati-stream-sdk-v2.3-lnx64... | 0 |
3,789,298 | 09/24/2010 16:56:44 | 159,721 | 08/20/2009 03:11:53 | 9 | 1 | How to replace git repo? | I created a git repo and updated it with some stuff. Later I created a new directory for this project and initialized new git for it. Now I want to push changes and replace the old ones in repo. When I do ` git push origin master` I get
! [rejected] master -> master (non-fast-forward)
error: failed... | git | repository | null | null | null | null | open | How to replace git repo?
===
I created a git repo and updated it with some stuff. Later I created a new directory for this project and initialized new git for it. Now I want to push changes and replace the old ones in repo. When I do ` git push origin master` I get
! [rejected] master -> master (non-fa... | 0 |
5,447,181 | 03/27/2011 04:16:43 | 596,200 | 01/31/2011 00:15:09 | 168 | 22 | K & R excercises? | I have spent most of time higher-level languages such as Java and Python (although I have worked with C in the past). Seeing that my C skills were quite rusty are picked up K&R and started working through it. Even though the syntax comes very easily, some of the exercises I have trouble solving, is it okay to skip a fe... | c++ | c | excercises | null | null | 03/27/2011 09:28:46 | not a real question | K & R excercises?
===
I have spent most of time higher-level languages such as Java and Python (although I have worked with C in the past). Seeing that my C skills were quite rusty are picked up K&R and started working through it. Even though the syntax comes very easily, some of the exercises I have trouble solving, ... | 1 |
11,727,741 | 07/30/2012 18:51:48 | 1,563,656 | 07/30/2012 17:15:13 | 1 | 0 | STP configuration issue | Having a strange issue with STP that I cannot seem to pin down with the following topology:
-------881 ------- Public WAN ----- 881---
Switch1 Swith2
--------2911--------Private leased line----
provided ... | networking | cisco | null | null | null | 07/31/2012 00:12:16 | off topic | STP configuration issue
===
Having a strange issue with STP that I cannot seem to pin down with the following topology:
-------881 ------- Public WAN ----- 881---
Switch1 Swith2
--------2911--------Private leased line----
... | 2 |
9,653,375 | 03/11/2012 07:57:18 | 1,032,307 | 11/06/2011 14:42:48 | 14 | 0 | Android Json Array issues | i know i have posted a lot of questions on the same topic but i keep coming across issues i don't really know how to solve. thank you to everyone that has helped me i rally do appreciate it. i think i now know the error some i'm going to post everything clearly for you. i am trying to parse json from a Url and populat... | android | json | null | null | null | null | open | Android Json Array issues
===
i know i have posted a lot of questions on the same topic but i keep coming across issues i don't really know how to solve. thank you to everyone that has helped me i rally do appreciate it. i think i now know the error some i'm going to post everything clearly for you. i am trying to pa... | 0 |
11,309,703 | 07/03/2012 11:11:47 | 1,109,525 | 12/21/2011 09:22:38 | 1 | 0 | How to Show Chart in Extjs 3.4? |
**title: 'Today Indents Report',
autoScroll: true,
xtype: 'columnchart',
store: today,
xField: ['comp_date'],
yField: ['MS','HSD','XP','XM'],
xAxis: new Ext.chart.CategoryAxis({
}),
... | extjs3 | null | null | null | null | 07/04/2012 13:49:48 | not a real question | How to Show Chart in Extjs 3.4?
===
**title: 'Today Indents Report',
autoScroll: true,
xtype: 'columnchart',
store: today,
xField: ['comp_date'],
yField: ['MS','HSD','XP','XM'],
xAxis: new Ext.chart.CategoryAxis({
... | 1 |
3,190,145 | 07/06/2010 20:53:53 | 368,619 | 06/16/2010 19:55:07 | 7 | 0 | cakephp: running controller action as a cron job not working | Am trying to run a controller action as a cron job, but it is giving me the message, "could not open input file"
To do the above, i used this link, http://bakery.cakephp.org/articles/view/calling-controller-actions-from-cron-and-the-command-line....
But not working for me, I also tried to place the cron dispatche... | cakephp | null | null | null | null | null | open | cakephp: running controller action as a cron job not working
===
Am trying to run a controller action as a cron job, but it is giving me the message, "could not open input file"
To do the above, i used this link, http://bakery.cakephp.org/articles/view/calling-controller-actions-from-cron-and-the-command-line....
... | 0 |
6,227,568 | 06/03/2011 13:16:45 | 782,703 | 06/03/2011 12:46:59 | 1 | 0 | Filter a product collection by promotional catalog rule price in Magento | Display all promotional catalog rule applied products | magento | null | null | null | null | 06/03/2011 17:52:04 | not a real question | Filter a product collection by promotional catalog rule price in Magento
===
Display all promotional catalog rule applied products | 1 |
11,100,585 | 06/19/2012 12:08:33 | 1,221,261 | 02/20/2012 14:18:22 | 6 | 0 | locationManager.getAllProviders() yields DummyLocationProvider for all providers | I want to get the current location from my location providers.
I do:
List<String> providers = locationManager.getAllProviders();
for (String p : providers) {
LocationProvider info = locationManager.getProvider(p);
Ln.d("printProvider "+info.toString()+" provider "+provider);
}
Loo... | android | null | null | null | null | null | open | locationManager.getAllProviders() yields DummyLocationProvider for all providers
===
I want to get the current location from my location providers.
I do:
List<String> providers = locationManager.getAllProviders();
for (String p : providers) {
LocationProvider info = locationManager.getProvider(p... | 0 |
10,300,229 | 04/24/2012 14:40:00 | 1,283,209 | 03/21/2012 11:22:35 | 90 | 9 | How to configure Microsoft Encoder 4 Pro to stream http Live? | Well, I'm developing an iphone app, I want to stream some videos, I have already done the player app, but due to my own controls it is posible to play a partial video, like 6second only, this is carrying me some problems cause when I seek or start my player at any second it goes till the 10 seconds closer, I mean if i ... | iphone | objective-c | ios | mpmovieplayercontroller | http-live-streaming | null | open | How to configure Microsoft Encoder 4 Pro to stream http Live?
===
Well, I'm developing an iphone app, I want to stream some videos, I have already done the player app, but due to my own controls it is posible to play a partial video, like 6second only, this is carrying me some problems cause when I seek or start my pl... | 0 |
2,372,984 | 03/03/2010 16:24:50 | 278,618 | 02/22/2010 10:56:15 | 78 | 5 | Insert record and throw exception | I wanna throw exception if cardescription is in table in row with specific @idCar
cardescription is not PK, and any change in design is not allowed
insert into carsdescription
(description)
value (@description)
where idCar=@idCar;
IDCar Description
1 'nice' - this record was in table ... | c# | duplicates | sql | null | null | 03/04/2010 10:06:02 | not a real question | Insert record and throw exception
===
I wanna throw exception if cardescription is in table in row with specific @idCar
cardescription is not PK, and any change in design is not allowed
insert into carsdescription
(description)
value (@description)
where idCar=@idCar;
IDCar Descripti... | 1 |
9,973,254 | 04/02/2012 08:41:15 | 1,290,126 | 03/24/2012 15:34:01 | 8 | 0 | How to dispatch container type (sequence or associative) from iterator? | Please tell how to create the structure such as std::iterator_traits but with information about container type. | c++ | stl | iterator | null | null | 04/02/2012 12:11:50 | not a real question | How to dispatch container type (sequence or associative) from iterator?
===
Please tell how to create the structure such as std::iterator_traits but with information about container type. | 1 |
11,426,197 | 07/11/2012 05:38:07 | 1,004,623 | 10/20/2011 06:47:15 | 1 | 0 | connection error on running nginx with multi php-fpm server instance on ec2 | I'm trying to run php5 on AmazonEC2 with multi separated php-fpm servers load balanced by upstream block on nginx.conf. I'm testing with two t1.micro instances, but getting 502 Bad Gateway error on my browser when I try loading php files. (Static html files are working fine, but cant get php files to work.)
Here is ... | php5 | nginx | amazon-ec2 | centos | php-fpm | null | open | connection error on running nginx with multi php-fpm server instance on ec2
===
I'm trying to run php5 on AmazonEC2 with multi separated php-fpm servers load balanced by upstream block on nginx.conf. I'm testing with two t1.micro instances, but getting 502 Bad Gateway error on my browser when I try loading php files. ... | 0 |
7,869,983 | 10/23/2011 23:18:21 | 747,965 | 05/11/2011 04:01:28 | 1,784 | 142 | Project ideas for FSharp Type Providers? | I am planning to build a type provider as an open source project.
I am considering a building a more fluent api for .NET configuration via the type provider pattern, wrapping ConfigurationManager, etc.
I also considering wrapping the Billboard charts (leveraging some WS if I can find one) to make them explora... | f# | type-providers | null | null | null | 10/24/2011 23:15:41 | not constructive | Project ideas for FSharp Type Providers?
===
I am planning to build a type provider as an open source project.
I am considering a building a more fluent api for .NET configuration via the type provider pattern, wrapping ConfigurationManager, etc.
I also considering wrapping the Billboard charts (leveraging s... | 4 |
7,633,007 | 10/03/2011 09:07:41 | 959,055 | 09/22/2011 12:11:06 | 1 | 0 | Creating a multilevel menu navigation | I want to create a multi level menu navigation with mousehover.
Smwhat lyk dis
a-->a.1
a.2
b-->b.1
b.2-->b.2.1
b.2.2
c-->c.1
Plz help me | drop-down-menu | null | null | null | null | 10/03/2011 10:37:09 | not a real question | Creating a multilevel menu navigation
===
I want to create a multi level menu navigation with mousehover.
Smwhat lyk dis
a-->a.1
a.2
b-->b.1
b.2-->b.2.1
b.2.2
c-->c.1
Plz help me | 1 |
9,188,763 | 02/08/2012 06:29:48 | 468,746 | 10/07/2010 05:57:28 | 1,043 | 56 | What does 'P' stand for in the DateInterval format? | Consider the following example quoted from [php manual for DateTime][1]
<?php
$date = new DateTime('2000-01-20');
$date->sub(new DateInterval('P10D'));
echo $date->format('Y-m-d') . "\n";
?>
'D' is for days, what does the 'P' stand for in that formatting?
[1]: http://www.php.net/man... | php | php5 | php-5.3 | null | null | null | open | What does 'P' stand for in the DateInterval format?
===
Consider the following example quoted from [php manual for DateTime][1]
<?php
$date = new DateTime('2000-01-20');
$date->sub(new DateInterval('P10D'));
echo $date->format('Y-m-d') . "\n";
?>
'D' is for days, what does the 'P' stand f... | 0 |
8,896,881 | 01/17/2012 15:02:29 | 766,198 | 05/23/2011 14:39:29 | 176 | 2 | select to a php array | Hi I have the following array
array_push($data, array("Fabricante"=>trim($fabricante),"Codigo"=>'<a target="_parent" href="http://www.example.com'</a>',"Titulo"=>trim($titulo),"Descripcion"=>trim($descripcion)));
And I want to know how to do the this:
"Select * from $data"
Because I need the array d... | php | null | null | null | null | 01/17/2012 15:21:35 | not a real question | select to a php array
===
Hi I have the following array
array_push($data, array("Fabricante"=>trim($fabricante),"Codigo"=>'<a target="_parent" href="http://www.example.com'</a>',"Titulo"=>trim($titulo),"Descripcion"=>trim($descripcion)));
And I want to know how to do the this:
"Select * from $data"
... | 1 |
10,840,714 | 05/31/2012 20:21:30 | 1,038,814 | 11/10/2011 01:00:47 | 343 | 1 | Trigger click function on load | I have the following function which is activated on click:
$('.results .view-rooms').click(function(){ }
Is there anyway I can trigger this function on document load?
Thanks | javascript | jquery | null | null | null | null | open | Trigger click function on load
===
I have the following function which is activated on click:
$('.results .view-rooms').click(function(){ }
Is there anyway I can trigger this function on document load?
Thanks | 0 |
11,646,744 | 07/25/2012 09:31:42 | 1,495,318 | 07/02/2012 06:53:33 | 85 | 6 | Can't get why my css is crasing without a reason? | <p>Guys, please tell me what to do :<p> today I opened my yesterday project, that was looking good and placed on server, and found it with wrong css styling.
<p>I'm using Rails and can't get why it is happening .<p>Can someone suggest what could cause these things ? | css | ruby-on-rails | null | null | null | 07/25/2012 11:02:23 | not a real question | Can't get why my css is crasing without a reason?
===
<p>Guys, please tell me what to do :<p> today I opened my yesterday project, that was looking good and placed on server, and found it with wrong css styling.
<p>I'm using Rails and can't get why it is happening .<p>Can someone suggest what could cause these things... | 1 |
8,457,942 | 12/10/2011 16:21:08 | 1,047,079 | 11/15/2011 07:50:29 | 1 | 0 | how to setup apache2.2 mod_rewrite/mod_proxy to be able to auth each request | I have internal service at service.domain
I have internal auth server at auth.domain
I want to configure Apache mod_proxy (and/or, may be something else) to be able to
1. On first user request to domain/service - authenticate user with auth.domain server which uses SQL DB (give it some secret key, e.g. session... | apache | authentication | mod-proxy | null | null | 12/10/2011 17:42:45 | off topic | how to setup apache2.2 mod_rewrite/mod_proxy to be able to auth each request
===
I have internal service at service.domain
I have internal auth server at auth.domain
I want to configure Apache mod_proxy (and/or, may be something else) to be able to
1. On first user request to domain/service - authenticate use... | 2 |
7,307,618 | 09/05/2011 11:46:58 | 593,835 | 01/28/2011 12:43:34 | 30 | 0 | How tcamalloc gets linked to the main program | I want to know how malloc gets linked to the main program.Basically I have a program which uses several static and dynamic libraries.I am including all these in my makefile using option "-llibName1 -llibName2".
The documentation of TCmalloc says that we can override our malloc simply by calling "LD_PRELOAD=/usr/lib6... | malloc | dynamic-linking | static-linking | tcmalloc | null | null | open | How tcamalloc gets linked to the main program
===
I want to know how malloc gets linked to the main program.Basically I have a program which uses several static and dynamic libraries.I am including all these in my makefile using option "-llibName1 -llibName2".
The documentation of TCmalloc says that we can override... | 0 |
8,407,372 | 12/06/2011 21:51:17 | 851,426 | 04/15/2011 04:47:15 | 6 | 0 | When to store images in a database(mySQL) and when not? (Linking image to item in database) | *Sorry if this is not the type of question to be asked here but I read through the FAQ and it seemed like it should be fine.*
**Background info:** As apart of a graduating project, my group is creating a site for a restaurant that will have a menu shown. The menu will have mouse-over functions to display an image of... | php | mysql | html | null | null | null | open | When to store images in a database(mySQL) and when not? (Linking image to item in database)
===
*Sorry if this is not the type of question to be asked here but I read through the FAQ and it seemed like it should be fine.*
**Background info:** As apart of a graduating project, my group is creating a site for a resta... | 0 |
7,269,946 | 09/01/2011 11:59:02 | 59,775 | 01/28/2009 14:43:48 | 1,351 | 75 | Cortex A9 NEON vs VFP usage confusion | I'm trying to build a library for a Cortex A9 ARM processor(an OMAP4 to be more specific) and I'm in a little bit of confusion regarding which\when to use NEON vs VFP in the context of floating point operations and SIMD. To be noted that I know the difference between the 2 hardware coprocessor units(as also outlined [h... | c++ | c | floating-point | arm | neon | null | open | Cortex A9 NEON vs VFP usage confusion
===
I'm trying to build a library for a Cortex A9 ARM processor(an OMAP4 to be more specific) and I'm in a little bit of confusion regarding which\when to use NEON vs VFP in the context of floating point operations and SIMD. To be noted that I know the difference between the 2 har... | 0 |
8,373,247 | 12/04/2011 04:21:36 | 952,261 | 09/19/2011 08:37:23 | 1 | 0 | OpenSource Licenses - MIT vs Apache License | What are the differences between Apache License, Version 2.0 and The MIT License? | apache | licensing | mit | null | null | 12/04/2011 22:56:15 | not constructive | OpenSource Licenses - MIT vs Apache License
===
What are the differences between Apache License, Version 2.0 and The MIT License? | 4 |
5,766,150 | 04/23/2011 18:41:21 | 596,200 | 01/31/2011 00:15:09 | 528 | 46 | Rails - why all the excitement? | I am mostly a desktop programmer, but, seeing how everything is moving to the web, I tried out Rails (I come from Java, C and Python). I enjoyed it at first with Agile Development with Rails, but a few things that struck me:
* Scaffolding is almost completely useless if it does not fit your application, and in fact,... | ruby-on-rails | documentation | null | null | null | 04/23/2011 18:44:48 | not constructive | Rails - why all the excitement?
===
I am mostly a desktop programmer, but, seeing how everything is moving to the web, I tried out Rails (I come from Java, C and Python). I enjoyed it at first with Agile Development with Rails, but a few things that struck me:
* Scaffolding is almost completely useless if it does n... | 4 |
11,116,778 | 06/20/2012 09:40:37 | 1,441,373 | 06/07/2012 05:31:08 | 1 | 0 | is it possible to develop hybrid application without using phone gap or quick connect? | I am new to this iPhone development.I would like to create a hybrid application or iPhone.I want to know is it possible to develop hybrid application without using any of the external frameworks or libraries like phonegap or quickconnect or titanium .I just want to know is it possible to create an hybrid application wi... | iphone | null | null | null | null | null | open | is it possible to develop hybrid application without using phone gap or quick connect?
===
I am new to this iPhone development.I would like to create a hybrid application or iPhone.I want to know is it possible to develop hybrid application without using any of the external frameworks or libraries like phonegap or qui... | 0 |
7,501,189 | 09/21/2011 14:05:33 | 957,092 | 09/21/2011 13:54:29 | 1 | 1 | How to redefine large amounts of data quickly | I'm currently writing an ASCII Command Prompt game engine and I am not sure how to redefine 256+ ASCII chars quickly. I am not up to the job of learning all 256 codes.
I was going about having a separate file with the variables to save space, but honestly I'm not upto the job of writing this:
char ascii_null = ch... | c++ | ascii | engine | null | null | 09/21/2011 17:27:25 | not a real question | How to redefine large amounts of data quickly
===
I'm currently writing an ASCII Command Prompt game engine and I am not sure how to redefine 256+ ASCII chars quickly. I am not up to the job of learning all 256 codes.
I was going about having a separate file with the variables to save space, but honestly I'm not up... | 1 |
4,254,464 | 11/23/2010 09:23:58 | 463,758 | 10/01/2010 10:25:56 | 18 | 1 | Parsing dateTime in perl correct to micro/nano seconds | Im looking for a perl module which takes a date string like this "Nov 23 10:42:31.808381" and its format something like "%b %d ...." this and get me a dateTime object/or print it into another format specified in the same way. Time::Piece doesnt have resolution upto nano seconds. Is there any module which will help me? ... | perl | datetime | null | null | null | null | open | Parsing dateTime in perl correct to micro/nano seconds
===
Im looking for a perl module which takes a date string like this "Nov 23 10:42:31.808381" and its format something like "%b %d ...." this and get me a dateTime object/or print it into another format specified in the same way. Time::Piece doesnt have resolution... | 0 |
3,769,649 | 09/22/2010 13:22:59 | 428,137 | 08/23/2010 07:25:49 | 260 | 5 | something wrong with this jquery? | there is a debugging error, but i cnt see it! confused:
$(document).ready(function(){
/* fetch elements and stop form event */
$("form.follow-form").submit(function (e) {
/* stop event */
e.preventDefault();
/* "on request" */
$(this).find('i').addClass('active');
... | javascript | jquery | ajax | null | null | null | open | something wrong with this jquery?
===
there is a debugging error, but i cnt see it! confused:
$(document).ready(function(){
/* fetch elements and stop form event */
$("form.follow-form").submit(function (e) {
/* stop event */
e.preventDefault();
/* "on request" */
... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.