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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
10,436,953 | 05/03/2012 18:05:12 | 702,275 | 04/11/2011 13:46:41 | 629 | 23 | naming primary keys "id" vs "something_id" in SQL | i'm wondering what is the best practice for naming primary/unique keys in a database with many tables. Should you always just call each table's primary key `id` or is ok to not have an `id` field in each table and just name each of them `something1_id`, `something2_id`, etc?
thanks,
tim | mysql | sql | naming-conventions | primary-key | null | 05/03/2012 19:23:41 | not constructive | naming primary keys "id" vs "something_id" in SQL
===
i'm wondering what is the best practice for naming primary/unique keys in a database with many tables. Should you always just call each table's primary key `id` or is ok to not have an `id` field in each table and just name each of them `something1_id`, `something2... | 4 |
5,477,899 | 03/29/2011 19:34:48 | 96,984 | 04/28/2009 09:12:31 | 142 | 10 | Changing umask of apache on ArchLinux | This didn't work:
http://stackoverflow.com/questions/428416/setting-the-umask-of-the-apache-user
Arch doesn't have a `/etc/apache2/envvars` file, and changing the `/etc/rc.d/httpd` script didn't change anything.
Maybe someone can enlighten me how/where to exactly change the rc-script, so apache has an umask 00... | apache | httpd | archlinux | umask | null | 05/24/2012 12:19:40 | off topic | Changing umask of apache on ArchLinux
===
This didn't work:
http://stackoverflow.com/questions/428416/setting-the-umask-of-the-apache-user
Arch doesn't have a `/etc/apache2/envvars` file, and changing the `/etc/rc.d/httpd` script didn't change anything.
Maybe someone can enlighten me how/where to exactly chan... | 2 |
6,314,181 | 06/11/2011 04:59:42 | 792,927 | 06/10/2011 14:55:27 | 1 | 0 | help with htaccess | this is the code that i have in the htaccess file.
RewriteRule ^tamil/(.*)/(.*).html?$ www.mywebsite.org/download.php?q=$2&id=$1
so when i go to :
www.mywebsite.org/tamil/465/man.html
it should go to :
www.mywebsite.org/download.php?q=man&id=465
and this works perfect.
the problem is,
after redire... | .htaccess | null | null | null | null | null | open | help with htaccess
===
this is the code that i have in the htaccess file.
RewriteRule ^tamil/(.*)/(.*).html?$ www.mywebsite.org/download.php?q=$2&id=$1
so when i go to :
www.mywebsite.org/tamil/465/man.html
it should go to :
www.mywebsite.org/download.php?q=man&id=465
and this works perfect.
the p... | 0 |
10,636,233 | 05/17/2012 13:01:32 | 1,400,831 | 05/17/2012 11:18:07 | 1 | 0 | How to access restful webservice using javascript? | How can i access my exposed restful(Json) webservice from javascript?
Thanks in Advance | java | javascript | web-services | java-ee | null | 05/18/2012 17:03:00 | not a real question | How to access restful webservice using javascript?
===
How can i access my exposed restful(Json) webservice from javascript?
Thanks in Advance | 1 |
10,088,576 | 04/10/2012 12:12:55 | 1,130,207 | 01/04/2012 15:10:44 | 1 | 0 | SDL and Box2D - A terrain's slope angle and rendering a car sprite at this angle | I'm in the middle of messing around with Box2D using SDL for rendering. At the moment, I'm trying out a simple horizontally scrolling demo of a cart body with two wheels moving along some terrain. Things are working okay so far but I've hit a bit of a brick wall regarding slopes.
Essentially if the cart starts to mo... | c++ | box2d | null | null | null | 04/11/2012 14:24:59 | not a real question | SDL and Box2D - A terrain's slope angle and rendering a car sprite at this angle
===
I'm in the middle of messing around with Box2D using SDL for rendering. At the moment, I'm trying out a simple horizontally scrolling demo of a cart body with two wheels moving along some terrain. Things are working okay so far but I'... | 1 |
11,324,624 | 07/04/2012 07:47:38 | 1,140,511 | 01/10/2012 09:30:56 | 16 | 0 | How to build Meego Mobile application using HTML5 and Javascript | How to build Mobile application for Meego using HTML5 and Javascript??
Thanks in advance | javascript | html5 | mobile-application | meego | null | 07/04/2012 22:11:56 | not constructive | How to build Meego Mobile application using HTML5 and Javascript
===
How to build Mobile application for Meego using HTML5 and Javascript??
Thanks in advance | 4 |
2,347,770 | 02/27/2010 15:10:41 | 183,441 | 10/03/2009 01:28:17 | 1 | 1 | How do you clear console screen in c? | Is there a "proper" way of clearing a screen in c for a console application?
(Besides using:`system("cls")`) | c | console | console-application | clear | null | null | open | How do you clear console screen in c?
===
Is there a "proper" way of clearing a screen in c for a console application?
(Besides using:`system("cls")`) | 0 |
9,147,357 | 02/05/2012 06:21:40 | 940,713 | 09/12/2011 13:58:48 | 41 | 2 | Brainfuck Interpreter | Will somebody please describe this brainfuck interpreter for me??
#include <stdlib.h>
char m[9999], *n[99], *r = m, *p = m + 5000, **s = n, d, c;
main()
{
for (read(0, r, 4000); c = *r; r++)
c - ']' || (d > 1 ||
(r = *p ? *s : (--... | compiler | interpreter | brainfuck | null | null | 02/05/2012 14:36:34 | not a real question | Brainfuck Interpreter
===
Will somebody please describe this brainfuck interpreter for me??
#include <stdlib.h>
char m[9999], *n[99], *r = m, *p = m + 5000, **s = n, d, c;
main()
{
for (read(0, r, 4000); c = *r; r++)
c - ']' || (d > 1 ||
... | 1 |
2,872,746 | 05/20/2010 10:10:20 | 301,549 | 03/25/2010 09:20:15 | 12 | 5 | Image quality reduces on image resize in blackberry | I am using below code to resize image in blackberry but it resulting into poor quality of image. Please advise on the same.
{
JPEGEncodedImage encoder = null;
encode_image = sizeImage(encode_image, (int)newWidth,(int)newHeight);
encoder=JPEGEncodedImage.encode(encode_ima... | blackberry | blackberry-simulator | java-me | null | null | null | open | Image quality reduces on image resize in blackberry
===
I am using below code to resize image in blackberry but it resulting into poor quality of image. Please advise on the same.
{
JPEGEncodedImage encoder = null;
encode_image = sizeImage(encode_image, (int)newWidth,(int)newHeigh... | 0 |
11,702,549 | 07/28/2012 16:02:06 | 1,555,256 | 07/26/2012 15:41:21 | 3 | 2 | Play video from table view xcode | I want to be able to play a video from a tableview. | iphone | xcode | tableview | null | null | 07/31/2012 18:53:12 | not constructive | Play video from table view xcode
===
I want to be able to play a video from a tableview. | 4 |
7,137,109 | 08/21/2011 07:58:51 | 822,779 | 06/30/2011 09:55:59 | 3 | 0 | Where do you recommend I learn about forms and do I need to? | I understand most HTML now and I was thinking of moving on to php. My issue is that I never learned about forms because it was never necessary when no dynamic website was involved. It appears to me that to get php to interact with HTML properly that forms are required. Are forms an essential part of php? Where is it re... | php | html | forms | null | null | 08/21/2011 08:22:04 | not constructive | Where do you recommend I learn about forms and do I need to?
===
I understand most HTML now and I was thinking of moving on to php. My issue is that I never learned about forms because it was never necessary when no dynamic website was involved. It appears to me that to get php to interact with HTML properly that form... | 4 |
5,621,812 | 04/11/2011 13:10:29 | 648,900 | 03/07/2011 22:01:43 | 8 | 0 | Why is Node.js named Node.js? | I'm just curious why Node.js was named that. I searched their site and their FAQ and there was nothing that helped me understand why it was named Node.js. | node.js | null | null | null | null | 12/17/2011 01:00:41 | off topic | Why is Node.js named Node.js?
===
I'm just curious why Node.js was named that. I searched their site and their FAQ and there was nothing that helped me understand why it was named Node.js. | 2 |
9,506,648 | 02/29/2012 21:09:21 | 1,241,247 | 02/29/2012 21:07:45 | 1 | 0 | yahoo's dapper.net: "Internal Server" error & error in "creation process" | I can't access http://open.dapper.net/dapp-factory.jsp for some time now.
Originally it allowed me to get to /dapp-factory.jsp and then after trying to select content for a dapp it eternally loaded the page with a "there was an error in the creation process of this dapp".
Now when i click the /dapp-factory.jsp l... | dapper | yahoo-dapper | null | null | null | 02/29/2012 21:31:59 | not a real question | yahoo's dapper.net: "Internal Server" error & error in "creation process"
===
I can't access http://open.dapper.net/dapp-factory.jsp for some time now.
Originally it allowed me to get to /dapp-factory.jsp and then after trying to select content for a dapp it eternally loaded the page with a "there was an error in t... | 1 |
9,296,407 | 02/15/2012 15:43:17 | 334,649 | 05/06/2010 16:44:19 | 1 | 0 | Storing complete Google Maps route | I want to be able to easily store and redisplay a Google Maps Directions Route on a Google Map. Let's say from point A to B, the [DirectionsResult](http://code.google.com/apis/maps/documentation/javascript/reference.html#DirectionsResult) object from Google has 100 points along the route, I want to be able to store thi... | javascript | google-maps | serialization | google-maps-api-3 | null | null | open | Storing complete Google Maps route
===
I want to be able to easily store and redisplay a Google Maps Directions Route on a Google Map. Let's say from point A to B, the [DirectionsResult](http://code.google.com/apis/maps/documentation/javascript/reference.html#DirectionsResult) object from Google has 100 points along t... | 0 |
3,536,157 | 08/21/2010 03:24:50 | 426,913 | 08/21/2010 03:24:50 | 1 | 0 | [newbie] interrupts | suppose I have a button wired up to a GPIO line of the processor, and I'd like to have an interrupt generated whenever I press the button. Doesn this mean there should be a physical interrupt pin available on the CPU, or it's not actually exposed to outside world and interrupts are triggered internally and I can monito... | embedded | hardware | null | null | null | 08/22/2010 08:50:56 | off topic | [newbie] interrupts
===
suppose I have a button wired up to a GPIO line of the processor, and I'd like to have an interrupt generated whenever I press the button. Doesn this mean there should be a physical interrupt pin available on the CPU, or it's not actually exposed to outside world and interrupts are triggered in... | 2 |
9,551,804 | 03/04/2012 02:29:20 | 1,203,978 | 02/11/2012 16:15:36 | 25 | 2 | PHP md5() produces same strings | I'm using the `md5("string", FALSE);` function, but I keep getting the same output string despite the fact that the input string changes.
I have PHP version 5 on apache server.
What could be the problem?
Thanks, | php | apache | php5 | md5 | password-encryption | 03/04/2012 04:00:18 | not a real question | PHP md5() produces same strings
===
I'm using the `md5("string", FALSE);` function, but I keep getting the same output string despite the fact that the input string changes.
I have PHP version 5 on apache server.
What could be the problem?
Thanks, | 1 |
5,206,508 | 03/05/2011 20:13:22 | 565,635 | 01/06/2011 15:21:05 | 1,618 | 120 | Best way to render a bitmap/bitarray to 2d plane (with OpenGL) | Ok, this is what I have. I have a 1d bitmap (or bitarray, bitset, bitstring, but I'll call it a bitmap for now) containing the live or dead states from a conway game of life generation. The cell at `(x, y)` is represented by the bit at `y * map_width + x`.
Now I have my game of life "engine" working, it would be nic... | c | opengl | game-of-life | null | null | null | open | Best way to render a bitmap/bitarray to 2d plane (with OpenGL)
===
Ok, this is what I have. I have a 1d bitmap (or bitarray, bitset, bitstring, but I'll call it a bitmap for now) containing the live or dead states from a conway game of life generation. The cell at `(x, y)` is represented by the bit at `y * map_width +... | 0 |
10,214,516 | 04/18/2012 17:16:54 | 1,136,862 | 01/08/2012 08:35:46 | 13 | 0 | My compiled C++ program is too small. How can I make it larger? | I have a C++ program that compiles to 9.5k. I would like it to be over 1MB. I did the following to pad it up to about 18k, but doing this all the way to 1MB would be hard.
The code is unreachable, but due to compiler optimizations I had to make it appear reachable, hence the bool changes.
#include "stdafx.h"
... | c++ | null | null | null | null | 04/18/2012 17:41:41 | too localized | My compiled C++ program is too small. How can I make it larger?
===
I have a C++ program that compiles to 9.5k. I would like it to be over 1MB. I did the following to pad it up to about 18k, but doing this all the way to 1MB would be hard.
The code is unreachable, but due to compiler optimizations I had to make it ... | 3 |
4,179,795 | 11/14/2010 21:32:24 | 82,189 | 03/24/2009 19:15:52 | 164 | 1 | How to understand if page is loaded as iframe (external site) using javascript? | I'm trying to find a reliable solution to determine if my page was loaded in iframe on external site using javascript.
If iframe src located on the same domain it's preaty easy: you can use if (window.frameElement) or if (window.location !== window.parent.location) but if iframe src is not on the same domain all mod... | javascript | iframe | cross-domain | null | null | null | open | How to understand if page is loaded as iframe (external site) using javascript?
===
I'm trying to find a reliable solution to determine if my page was loaded in iframe on external site using javascript.
If iframe src located on the same domain it's preaty easy: you can use if (window.frameElement) or if (window.loc... | 0 |
7,198,285 | 08/25/2011 23:15:05 | 853,646 | 07/20/2011 09:26:24 | 1 | 0 | Editing htacccess file in Godaddy hosting | I am new at Godaddy hosting and can't find the .htaccess file.
How can i reach and edit it, where is it located?
Thanks. | .htaccess | hosting | godaddy | null | null | 08/30/2011 02:01:10 | off topic | Editing htacccess file in Godaddy hosting
===
I am new at Godaddy hosting and can't find the .htaccess file.
How can i reach and edit it, where is it located?
Thanks. | 2 |
11,018,799 | 06/13/2012 15:56:31 | 912,130 | 08/25/2011 12:59:42 | 337 | 8 | Website is slowed by Doctrine2 | I want to ask You, dear stackoverflow.com users, about Doctrine optimalization. I have one file with the following code:
define('PATH_LIB', '../framework/lib/');
$models = array('UserPermission.php');
require_once 'UserPermission.php';
require_once PATH_LIB."Doctrine/bootstrap.php";
... | php | mysql | doctrine | doctrine2 | null | null | open | Website is slowed by Doctrine2
===
I want to ask You, dear stackoverflow.com users, about Doctrine optimalization. I have one file with the following code:
define('PATH_LIB', '../framework/lib/');
$models = array('UserPermission.php');
require_once 'UserPermission.php';
require_once P... | 0 |
6,679,126 | 07/13/2011 12:47:28 | 763,815 | 05/21/2011 08:49:45 | 33 | 1 | Please help with ajax script + jquery | I don't know anything about javascripts. Please help. I need the following:
1. Message "Please wait" **appears** in #note when user submits form.
2. After form has been processed this message **disappears** and then in #note **fades in** "result" or "Error".
Thanks.
<script type="text/javas... | javascript | jquery | null | null | null | 07/13/2011 16:44:14 | not constructive | Please help with ajax script + jquery
===
I don't know anything about javascripts. Please help. I need the following:
1. Message "Please wait" **appears** in #note when user submits form.
2. After form has been processed this message **disappears** and then in #note **fades in** "result" or "Error".
Thanks.
... | 4 |
7,444,096 | 09/16/2011 11:36:18 | 943,155 | 09/13/2011 18:14:13 | 16 | 0 | help with convert in java for android | i have this code in C#, i try to convert him to java for android, but got error
sum = "";
string Num = "123ABC";
int i, j;
string TmpOT;
for (i = 0; i < Num.Length; i++)
{
TmpOT = Num.Substring(i, 1);
j = Convert.ToChar(TmpOT);
... | c# | java | android | null | null | 09/16/2011 12:02:12 | not a real question | help with convert in java for android
===
i have this code in C#, i try to convert him to java for android, but got error
sum = "";
string Num = "123ABC";
int i, j;
string TmpOT;
for (i = 0; i < Num.Length; i++)
{
TmpOT = Num.Substring(i, 1);
... | 1 |
3,117,802 | 06/25/2010 12:04:14 | 376,223 | 06/25/2010 11:54:07 | 1 | 0 | Unnecessarily restrictive limits - The Wimbledon tennis scoreboard | http://en.wikipedia.org/wiki/Isner%E2%80%93Mahut_match_at_the_2010_Wimbledon_Championships
So the longest ever tennis match broke the scoreboard on court at 47-47 and broke the website at 50-50.
At least with the millennium bug it was about the date being stored in two digits.
What excuse was there here and ho... | untagged | null | null | null | null | 06/25/2010 18:54:26 | off topic | Unnecessarily restrictive limits - The Wimbledon tennis scoreboard
===
http://en.wikipedia.org/wiki/Isner%E2%80%93Mahut_match_at_the_2010_Wimbledon_Championships
So the longest ever tennis match broke the scoreboard on court at 47-47 and broke the website at 50-50.
At least with the millennium bug it was about t... | 2 |
10,135,083 | 04/13/2012 04:05:11 | 1,330,679 | 04/13/2012 04:00:16 | 1 | 0 | I need with this Guess the letter game program, Cant make the game run more than once and end when guesses are used up | Ok, here is the problem, This is a LetterGuess Game.This program has a number of 4 games total that can be played. The program reads a letter from a file InputLet.txt and declares it as a solution. The user enters a guess and the guess is compared to that solution. I have everything, the code runs and i know how to put... | c++ | c | compiler | variable-assignment | letter | 04/13/2012 06:22:15 | not a real question | I need with this Guess the letter game program, Cant make the game run more than once and end when guesses are used up
===
Ok, here is the problem, This is a LetterGuess Game.This program has a number of 4 games total that can be played. The program reads a letter from a file InputLet.txt and declares it as a solution... | 1 |
11,084,123 | 06/18/2012 13:38:47 | 590,083 | 01/26/2011 03:48:47 | 1,272 | 12 | CPLUS_INCLUDE_PATH doesn't works | I have set my environment variable `CPLUS_INCLUDE_PATH` to `boost`.
>echo $CPLUS_INCLUDE_PATH
boost:
But it doesn't work at all.
>g++ parse_utils.cpp
parse_utils.cpp:1:34: fatal error: boost/lexical_cast.hpp: No such file or directory
The `.hpp` is in that path.
>g++ parse_utils.cpp... | gcc | include | null | null | null | null | open | CPLUS_INCLUDE_PATH doesn't works
===
I have set my environment variable `CPLUS_INCLUDE_PATH` to `boost`.
>echo $CPLUS_INCLUDE_PATH
boost:
But it doesn't work at all.
>g++ parse_utils.cpp
parse_utils.cpp:1:34: fatal error: boost/lexical_cast.hpp: No such file or directory
The `.hpp` is in ... | 0 |
2,557,710 | 04/01/2010 01:57:51 | 20,578 | 09/11/2008 10:52:31 | 3,526 | 261 | When I run Django on Dreamhost using SQLite, why do I get an OperationalError telling me that a table doesn’t exist? | I had a Django site running on Dreamhost. Although I used SQLite when developing locally, I initially used MySQL on Dreamhost, because that’s what [the wiki page](http://wiki.dreamhost.com/Django) said to do, and because if I’m using an ORM, I might as well take advantage of it by running against a different database.
... | sqlite | django | dreamhost | python | null | null | open | When I run Django on Dreamhost using SQLite, why do I get an OperationalError telling me that a table doesn’t exist?
===
I had a Django site running on Dreamhost. Although I used SQLite when developing locally, I initially used MySQL on Dreamhost, because that’s what [the wiki page](http://wiki.dreamhost.com/Django) s... | 0 |
8,468,957 | 12/12/2011 01:20:36 | 858,962 | 07/23/2011 04:26:07 | 369 | 2 | jquery resizable issues | Here is my code:
$('#resize').click(function() {
$('#test').resizable();
});
When I click the `resize` div, i want the `test` div to be resizable. But the test div in this case is not becoming resizable. Can anyone tell me what the problem is? | jquery | jquery-ui | resize-image | null | null | null | open | jquery resizable issues
===
Here is my code:
$('#resize').click(function() {
$('#test').resizable();
});
When I click the `resize` div, i want the `test` div to be resizable. But the test div in this case is not becoming resizable. Can anyone tell me what the problem is? | 0 |
1,727,251 | 11/13/2009 05:13:36 | 210,201 | 11/13/2009 05:13:36 | 1 | 0 | How to Improve image quality when resized as a thumbnail using PHP? | I found this script online that creates a thumbnail out of a image but the thumbnail image is created with poor quality how can I improve the quality of the image.
And is there a better way to create thumbnails if so can you point me to a tutorial on how to create thumbnails using PHP.
Here is the code below.
... | php | null | null | null | null | null | open | How to Improve image quality when resized as a thumbnail using PHP?
===
I found this script online that creates a thumbnail out of a image but the thumbnail image is created with poor quality how can I improve the quality of the image.
And is there a better way to create thumbnails if so can you point me to a tutor... | 0 |
3,473,924 | 08/13/2010 04:37:37 | 419,183 | 08/13/2010 04:37:34 | 1 | 0 | What is OpenID? | What is OpenID? How does it work? | openid | null | null | null | null | 08/13/2010 04:44:27 | off topic | What is OpenID?
===
What is OpenID? How does it work? | 2 |
5,888,122 | 05/04/2011 18:23:45 | 725,680 | 04/26/2011 15:36:00 | 1 | 0 | Programming Languages | Suppose the function _f_ expects two numeric values as inputs and returns the smaller of the two values as its output value.If _w_, _x_ ,_y_ . and _z_ represent numeric values, what is the result returned by _f_ (_f_ (_w_, _x_ ), _f_ (_y_ , _z_ ))? | assignment | null | null | null | null | 05/04/2011 22:25:52 | not a real question | Programming Languages
===
Suppose the function _f_ expects two numeric values as inputs and returns the smaller of the two values as its output value.If _w_, _x_ ,_y_ . and _z_ represent numeric values, what is the result returned by _f_ (_f_ (_w_, _x_ ), _f_ (_y_ , _z_ ))? | 1 |
9,390,961 | 02/22/2012 07:51:20 | 1,223,367 | 02/21/2012 12:42:19 | 1 | 0 | Facebook login authentication iFrame not loaded properly in safari browsers | I am new to Facebook app development. Following is my html and script code to retreive access token for facebook users.
I am having a checkbox and on Selecting the checkbox, I need the facebook login authentication form to be loaded.
<html xmlns:fb="https://www.facebook.com/2008/fbml">
<body>
<tabl... | facebook | facebook-graph-api | null | null | null | null | open | Facebook login authentication iFrame not loaded properly in safari browsers
===
I am new to Facebook app development. Following is my html and script code to retreive access token for facebook users.
I am having a checkbox and on Selecting the checkbox, I need the facebook login authentication form to be loaded.
... | 0 |
11,295,032 | 07/02/2012 13:49:18 | 1,492,967 | 06/30/2012 12:07:31 | 29 | 0 | How to avoid case sensitive feature? | string a = "sea";
string b = "SEA"
if (a == b)...
How could I say that the two strings are the same, regardless of character casing ? | c# | winforms | string | null | null | 07/03/2012 02:45:40 | not constructive | How to avoid case sensitive feature?
===
string a = "sea";
string b = "SEA"
if (a == b)...
How could I say that the two strings are the same, regardless of character casing ? | 4 |
11,356,976 | 07/06/2012 06:30:41 | 1,505,869 | 07/06/2012 06:00:37 | 1 | 0 | Need a sql query to display the data in this format. Any help appreciated | Area | TotalWorkstations | AvailableWorkstations |WorkstationsBooked|Projectname
-------------------------------------------------------------------------------
1st floor | 100 | 95 | 1 | A
- | - | - | 2 ... | sql | null | null | null | null | 07/06/2012 07:28:45 | not a real question | Need a sql query to display the data in this format. Any help appreciated
===
Area | TotalWorkstations | AvailableWorkstations |WorkstationsBooked|Projectname
-------------------------------------------------------------------------------
1st floor | 100 | 95 | 1 ... | 1 |
11,190,377 | 06/25/2012 13:35:14 | 824,614 | 04/11/2011 20:45:35 | 46 | 6 | Using cpsuite to run junit test cases through ANT | I have written a test case using cpsuite that applies certain filters that ant cannot provide. Running that paricular test class through ant fails to run. If anybody has implemented this, I could do with some examples to put me in the right direction. | java | unit-testing | ant | junit | null | 06/29/2012 15:00:56 | not a real question | Using cpsuite to run junit test cases through ANT
===
I have written a test case using cpsuite that applies certain filters that ant cannot provide. Running that paricular test class through ant fails to run. If anybody has implemented this, I could do with some examples to put me in the right direction. | 1 |
6,669,709 | 07/12/2011 19:11:39 | 533,267 | 12/07/2010 06:20:11 | 46 | 1 | what are recommended plugins for php development in eclipse? | i am starting to use eclipse for php. i like it but it seems that a lot of features is missing like the word wrap. i found plugin for that. thanks God.
so, what other plugins recommended for php development with eclipse? especially if they add features of notepad++. | php | eclipse | plugins | null | null | 07/12/2011 21:27:36 | not constructive | what are recommended plugins for php development in eclipse?
===
i am starting to use eclipse for php. i like it but it seems that a lot of features is missing like the word wrap. i found plugin for that. thanks God.
so, what other plugins recommended for php development with eclipse? especially if they add feature... | 4 |
8,800,346 | 01/10/2012 08:25:09 | 842,512 | 07/13/2011 10:47:49 | 194 | 0 | The future of .net compact framework...? | I am asking about this, as I have started digging the subject deeper for some time
and need to collect some information to evaluate the future of development for windows mobile applications.
With regards the compact version I've read it is not supported in the current(2010) visual studio version due to latency in p... | c# | .net | compact-framework | motorola | null | 01/10/2012 08:49:20 | not a real question | The future of .net compact framework...?
===
I am asking about this, as I have started digging the subject deeper for some time
and need to collect some information to evaluate the future of development for windows mobile applications.
With regards the compact version I've read it is not supported in the current(2... | 1 |
3,081,017 | 06/20/2010 21:31:07 | 371,714 | 06/20/2010 21:31:07 | 1 | 0 | html font/vector graphics question | what's the best way to present a vector/font in html? | html | null | null | null | null | 05/14/2012 06:56:49 | not constructive | html font/vector graphics question
===
what's the best way to present a vector/font in html? | 4 |
10,564,907 | 05/12/2012 15:13:27 | 443,966 | 09/10/2010 02:07:29 | 1,567 | 25 | Any bad effect if modify prototype | I am trying to write a routing framework of nodejs, I need add some helper methods for ServerRequest, and ServerResponse, I notice express has change it way from modify prototype to
express/response.js
var res = module.exports = {
__proto__: http.ServerResponse.prototype
};
res.redirect = ... | javascript | node.js | null | null | null | null | open | Any bad effect if modify prototype
===
I am trying to write a routing framework of nodejs, I need add some helper methods for ServerRequest, and ServerResponse, I notice express has change it way from modify prototype to
express/response.js
var res = module.exports = {
__proto__: http.ServerResponse.... | 0 |
5,531,426 | 04/03/2011 18:05:35 | 667,608 | 03/19/2011 19:23:43 | 25 | 2 | Can a computer with a public ssh key access a computer with a private? | Can a computer with a public ssh key access a computer with a private?
For example: if I make a ssh key pair, I never give out my private key obviously but if a sever has the public key, can it access the computers that have the private key?
If I leave my public key in my .ssh/authorized_keys dir, then can a pub... | linux | unix | ssh | null | null | 04/03/2011 22:01:59 | off topic | Can a computer with a public ssh key access a computer with a private?
===
Can a computer with a public ssh key access a computer with a private?
For example: if I make a ssh key pair, I never give out my private key obviously but if a sever has the public key, can it access the computers that have the private key?... | 2 |
3,944,932 | 10/15/2010 18:14:43 | 406,652 | 07/30/2010 11:06:43 | 133 | 15 | GameCenter - handling incoming calls etc. | What would you do in the following scenario:
1. When implementing a multiplayer game, you use GKMatchmaker to find players.
2. When the required number of players has connected, you start the match.
3. Now one of the players receives an incoming call.
What now? If the user takes the call, the application will m... | iphone | cocoa-touch | gamekit | multiplayer | game-center | null | open | GameCenter - handling incoming calls etc.
===
What would you do in the following scenario:
1. When implementing a multiplayer game, you use GKMatchmaker to find players.
2. When the required number of players has connected, you start the match.
3. Now one of the players receives an incoming call.
What now? If ... | 0 |
8,512,425 | 12/14/2011 22:11:18 | 1,098,769 | 12/14/2011 21:56:19 | 1 | 0 | How to deobfuscate this PHP code? Instructions please, don't just do it for me | I have a website with a script on it that is obfuscated PHP, and I would like to make changes to the site but I'm not sure how to. Could someone please give me instructions on how to deobfuscate this? I googled the opening line, and found many pages which were only semi-helpful, such as the following: http://mtekk.us... | php | obfuscation | deobfuscation | null | null | 12/14/2011 22:21:46 | too localized | How to deobfuscate this PHP code? Instructions please, don't just do it for me
===
I have a website with a script on it that is obfuscated PHP, and I would like to make changes to the site but I'm not sure how to. Could someone please give me instructions on how to deobfuscate this? I googled the opening line, and f... | 3 |
10,151,208 | 04/14/2012 05:11:07 | 260,127 | 01/27/2010 14:03:49 | 8,481 | 54 | pandoc issue with ##### processing | I'm trying to build ProGit book written with pandoc from <a href="https://github.com/progit/progit">github</a>.
The issue is that `##### MS Word files #####` is translated into `\chap{\subsubsection{MS Word files}}` to cause an error in LaTeX.
How can I solve this issue? How can I modify the pandoc rule? | latex | pandoc | null | null | null | 04/14/2012 20:11:10 | not a real question | pandoc issue with ##### processing
===
I'm trying to build ProGit book written with pandoc from <a href="https://github.com/progit/progit">github</a>.
The issue is that `##### MS Word files #####` is translated into `\chap{\subsubsection{MS Word files}}` to cause an error in LaTeX.
How can I solve this issue? H... | 1 |
9,340,103 | 02/18/2012 09:34:24 | 1,208,926 | 02/14/2012 11:15:02 | 7 | 1 | How to save the state of checkboxes present in a listview forever? | I have a custom listview with checkboxes. I want the state of the checkboxes to be saved for the entire lifetime of the app. How can I achieve this? Thank you | android | listview | checkbox | null | null | null | open | How to save the state of checkboxes present in a listview forever?
===
I have a custom listview with checkboxes. I want the state of the checkboxes to be saved for the entire lifetime of the app. How can I achieve this? Thank you | 0 |
5,606,386 | 04/09/2011 16:52:09 | 148,869 | 08/01/2009 06:52:54 | 550 | 17 | Please Suggest Qt based open source games ? | I am comfortable with Qt, and want to learn game programming, so can you please suggest Qt based open source games ? | qt | game-programming | null | null | null | 04/10/2011 10:05:39 | not a real question | Please Suggest Qt based open source games ?
===
I am comfortable with Qt, and want to learn game programming, so can you please suggest Qt based open source games ? | 1 |
8,034,706 | 11/07/2011 09:31:33 | 843,943 | 07/14/2011 06:06:32 | 96 | 19 | Access MYSQL-Server on Linux throu VirtualBox Windows7 laggs | on my machine (linux 2.6.38-8) i'v installed virtualbox and mysql-server 5.1.54.
i installed win7 in virtualbox and try to access the database via NAT.
Its very slow, im not sure why.
Any suggestions? | mysql | linux | windows-7 | virtualbox | null | 11/14/2011 11:54:57 | off topic | Access MYSQL-Server on Linux throu VirtualBox Windows7 laggs
===
on my machine (linux 2.6.38-8) i'v installed virtualbox and mysql-server 5.1.54.
i installed win7 in virtualbox and try to access the database via NAT.
Its very slow, im not sure why.
Any suggestions? | 2 |
1,591,771 | 10/19/2009 23:55:38 | 149,139 | 08/02/2009 00:17:47 | 851 | 27 | DataTable, How to conditionally delete rows | I'm engaged in a C# learning process and it is going well so far. I however just now hit my first "say what?" moment.
The DataTable offers random row access to its Rows collection, not only through typical collections behavior, but also through DataTable.Select. However I cannot seem to be able to tie this ability t... | c# | datatable | delete-row | null | null | null | open | DataTable, How to conditionally delete rows
===
I'm engaged in a C# learning process and it is going well so far. I however just now hit my first "say what?" moment.
The DataTable offers random row access to its Rows collection, not only through typical collections behavior, but also through DataTable.Select. Howev... | 0 |
9,325,410 | 02/17/2012 08:59:47 | 1,215,788 | 02/17/2012 08:50:20 | 1 | 0 | Alternative for gotoxy in ruby | I am quite new to ruby, and have a C,C++,Java background and I am looking for a method which may take me to the specific **(x,y)** coordinate axis, as we have **gotoxy()** in C.
Plz reply ... its an urgency
Thanx | ruby | null | null | null | null | 05/04/2012 13:27:36 | not a real question | Alternative for gotoxy in ruby
===
I am quite new to ruby, and have a C,C++,Java background and I am looking for a method which may take me to the specific **(x,y)** coordinate axis, as we have **gotoxy()** in C.
Plz reply ... its an urgency
Thanx | 1 |
1,740,409 | 11/16/2009 06:26:08 | 161,200 | 08/22/2009 06:03:34 | 38 | 1 | When is a Web Service constructor called? [Java Netbeans 6.7.1 & Tomcat 6.0.18] | I am migrating a Java RMI application to Java Web Service (school assignment) and I've encountered an issue...
Currently my Java Server creates an instance of the Remote Object, this object has a constructor and takes a parameter (int ID) which tells it which database to load in memory - works like a charm ...
No... | java | web-services | null | null | null | null | open | When is a Web Service constructor called? [Java Netbeans 6.7.1 & Tomcat 6.0.18]
===
I am migrating a Java RMI application to Java Web Service (school assignment) and I've encountered an issue...
Currently my Java Server creates an instance of the Remote Object, this object has a constructor and takes a parameter (i... | 0 |
986,047 | 06/12/2009 10:41:24 | 2,902 | 08/25/2008 20:49:25 | 3,836 | 182 | Technical tests in interviews as a judge of employer | There is an increasing (and generally good) trend for potential employers to ask candidates to sit some sort of technical test before even being invited to interview.
I appreciate that it is going to be more cost-effective that even a phone call to screen you but there seem to be two types of test out there, in the... | interview-questions | knowledge | quiz | null | null | 07/19/2012 17:46:02 | off topic | Technical tests in interviews as a judge of employer
===
There is an increasing (and generally good) trend for potential employers to ask candidates to sit some sort of technical test before even being invited to interview.
I appreciate that it is going to be more cost-effective that even a phone call to screen y... | 2 |
11,249,810 | 06/28/2012 17:22:48 | 969,792 | 09/28/2011 19:04:29 | 107 | 1 | Object Oriented PHP function usage | I picked up site from programmer and i found almost all the time he has has some wiered function declaration.
He includes class and calls function e.g. `update_user_info($_POST);`
then in class its like this
...
function update_user_info($obj) {
if (!empty($_POST["user_name"]) && !empty($_POST["... | php | function | declaration | null | null | 06/28/2012 19:02:04 | not constructive | Object Oriented PHP function usage
===
I picked up site from programmer and i found almost all the time he has has some wiered function declaration.
He includes class and calls function e.g. `update_user_info($_POST);`
then in class its like this
...
function update_user_info($obj) {
if (!empty... | 4 |
3,386,377 | 08/02/2010 09:07:13 | 408,474 | 08/02/2010 09:07:13 | 1 | 0 | How to convince boss to substitute Java/Netbeans Platform for Python/PyQt? | I'm working for small company, which operates in the automation industry.
The boss hired me because he wants to sell/give some desktop applications to his
current costumers.
He imposes me to use the Netbeans Platform (a generic desktop application framework).
A software engineer friend of his advised him to choose ... | java | python | netbeans | pyqt | null | 08/02/2010 15:57:38 | not constructive | How to convince boss to substitute Java/Netbeans Platform for Python/PyQt?
===
I'm working for small company, which operates in the automation industry.
The boss hired me because he wants to sell/give some desktop applications to his
current costumers.
He imposes me to use the Netbeans Platform (a generic desktop a... | 4 |
9,398,600 | 02/22/2012 16:15:48 | 1,114,460 | 12/24/2011 10:14:50 | 94 | 0 | Replace string builder with a string builder | I am having two string builders in which one string builder content is as follows
1
51
61
62
63
8
52
64
65
66
8
9
and the other is as follows
52
64
65
I would like to replace the content in the string builder so that it should give the... | c# | stringbuilder | null | null | null | 02/23/2012 18:37:13 | not a real question | Replace string builder with a string builder
===
I am having two string builders in which one string builder content is as follows
1
51
61
62
63
8
52
64
65
66
8
9
and the other is as follows
52
64
65
I would like to replace the conten... | 1 |
8,824,688 | 01/11/2012 18:33:46 | 482,591 | 10/21/2010 05:48:52 | 899 | 25 | SQL Bulk Copy with Excel to SQL Server but with data modifications | I am reading up on `SQLBulkCopy` and would like to use it to import thousands of rows from an Excel document to SQL Server. I keep reading articles that do it directly without modifying the data. I need to do some modifications and validations on the data in the Excel document before doing the `SQLBulkCopy`. Is it po... | sql-server | excel | sqlbulkcopy | null | null | null | open | SQL Bulk Copy with Excel to SQL Server but with data modifications
===
I am reading up on `SQLBulkCopy` and would like to use it to import thousands of rows from an Excel document to SQL Server. I keep reading articles that do it directly without modifying the data. I need to do some modifications and validations on ... | 0 |
3,983,970 | 10/21/2010 03:00:02 | 482,486 | 10/21/2010 02:49:38 | 1 | 0 | Null component com.sun.web-8 in Java System Web Server 7.0 | I have a JSP application host in JES 7.0 ,deployed through .war package, but the application can't be initialized due to below exception, could you please help on this ?
21/Oct/2010:10:36:29 failure WebModule[/gpr]PWC1270: Exception starting filter trimFilter
java.lang.ClassNotFoundException: com.cj.trim.trimF... | java | null | null | null | null | null | open | Null component com.sun.web-8 in Java System Web Server 7.0
===
I have a JSP application host in JES 7.0 ,deployed through .war package, but the application can't be initialized due to below exception, could you please help on this ?
21/Oct/2010:10:36:29 failure WebModule[/gpr]PWC1270: Exception starting filter ... | 0 |
9,790,385 | 03/20/2012 16:01:58 | 1,264,255 | 03/12/2012 13:54:10 | 1 | 2 | ListView with an array | I want to fill a ListView without an array of all the same things.
I have a class "TijdsregistratieKaart" with these strings, boolean & double.
` public class TijdsregistratieKaart {
public String date,customerName,description,startTime,stopTime,taskDocumentNo_,activity,project,internalInformation,externalInf... | android | listview | null | null | null | null | open | ListView with an array
===
I want to fill a ListView without an array of all the same things.
I have a class "TijdsregistratieKaart" with these strings, boolean & double.
` public class TijdsregistratieKaart {
public String date,customerName,description,startTime,stopTime,taskDocumentNo_,activity,project,int... | 0 |
7,133,591 | 08/20/2011 17:58:24 | 903,946 | 08/20/2011 17:58:24 | 1 | 0 | Automatically initialize all derived classes in C++ | I'm designing a small graphics library in C++ with openGL and shaders. I'm going to have several functions that draw different primitives. Examples include: Image, Line, Rectangle, Oval, Poly, etc...
These will all have several things in common, each will use a shader, each will register a callback with a singleton ... | c++ | class | initialization | derivative | null | 08/20/2011 18:40:55 | not a real question | Automatically initialize all derived classes in C++
===
I'm designing a small graphics library in C++ with openGL and shaders. I'm going to have several functions that draw different primitives. Examples include: Image, Line, Rectangle, Oval, Poly, etc...
These will all have several things in common, each will use ... | 1 |
9,538,450 | 03/02/2012 18:26:12 | 619,602 | 02/16/2011 12:12:29 | 35 | 3 | PHP AWS SDK autoloader conflicts with Codeigniter | - I'm using Codeigniter 2.1.0.
- I'm including the Amazon Web Services SDK in a custom model using `require_once APPPATH . "/libraries/aws_sdk/sdk.class.php";`
This works well. However when CI decides it later needs to load it's db cache class, it calls (via CI_DB_driver::_cache_init):
if ( ! class_exists('C... | php | codeigniter | amazon-web-services | autoload | spl-autoload-register | null | open | PHP AWS SDK autoloader conflicts with Codeigniter
===
- I'm using Codeigniter 2.1.0.
- I'm including the Amazon Web Services SDK in a custom model using `require_once APPPATH . "/libraries/aws_sdk/sdk.class.php";`
This works well. However when CI decides it later needs to load it's db cache class, it calls (via CI... | 0 |
936,558 | 06/01/2009 20:18:33 | 80,954 | 12/04/2008 17:09:33 | 669 | 75 | LINQ to Entity Framework Eager Loading issue | I have the following query:
var MyQuery = from e in ContractContext.Equipments.Include("Manufacturers")
where e.Customers.ID == customer.ID
select e;
And everything works, I get my Equipments and it loads the Manufacturers table correctly (eagerly). But when I try to do ... | entity-framework | linq | c# | .net | eager-loading | null | open | LINQ to Entity Framework Eager Loading issue
===
I have the following query:
var MyQuery = from e in ContractContext.Equipments.Include("Manufacturers")
where e.Customers.ID == customer.ID
select e;
And everything works, I get my Equipments and it loads the Manufacturers... | 0 |
3,941,736 | 10/15/2010 11:22:15 | 438,158 | 09/02/2010 15:58:36 | 55 | 0 | can I sitch to 64bit | My software is for 32 bit version , but if I switch to 64 bit version (in VS 2008) , does it make any problem on running ? | c# | null | null | null | null | 10/15/2010 14:53:05 | not a real question | can I sitch to 64bit
===
My software is for 32 bit version , but if I switch to 64 bit version (in VS 2008) , does it make any problem on running ? | 1 |
8,238,384 | 11/23/2011 07:03:51 | 505,931 | 11/12/2010 15:37:55 | 492 | 18 | What are the mostly used project of Apache Software Foundation? | I saw that Apache Software Foundation has more than 100 projects
I want to be familiar with the important ones,
At least in a level of know how to use them in very simple usage
So which one do you use/ which are the mostly used project of Apache Software Foundation
Thanks | apache | null | null | null | null | 11/23/2011 07:13:57 | not constructive | What are the mostly used project of Apache Software Foundation?
===
I saw that Apache Software Foundation has more than 100 projects
I want to be familiar with the important ones,
At least in a level of know how to use them in very simple usage
So which one do you use/ which are the mostly used project of Ap... | 4 |
11,491,992 | 07/15/2012 12:41:58 | 960,828 | 09/23/2011 09:41:00 | 5,115 | 207 | Good place to start studying the source code for Clojure? | I'd like to study the official Clojure implementation. Can anyone who is familiar with the code recommend where to start reading it from? Are there certain parts which will make understanding the rest of it easier, or which are key to understanding how Clojure works? | clojure | null | null | null | null | 07/17/2012 01:45:27 | not constructive | Good place to start studying the source code for Clojure?
===
I'd like to study the official Clojure implementation. Can anyone who is familiar with the code recommend where to start reading it from? Are there certain parts which will make understanding the rest of it easier, or which are key to understanding how Cloj... | 4 |
7,507,300 | 09/21/2011 22:09:02 | 313,163 | 04/09/2010 20:31:46 | 1,096 | 24 | Which element do I change so as to add a border image between posts? | The template I am using for my site (under development) is identical to [this one][1].
I'd like to add a border image between posts (In this case between "Let You Know Music video" and "Land of Hope") but not after the last post.
Which element do I edit ([css source][2]) to make this happen?
Do I edit the `con... | css | null | null | null | null | 09/22/2011 14:38:39 | too localized | Which element do I change so as to add a border image between posts?
===
The template I am using for my site (under development) is identical to [this one][1].
I'd like to add a border image between posts (In this case between "Let You Know Music video" and "Land of Hope") but not after the last post.
Which elem... | 3 |
6,197,881 | 06/01/2011 07:48:56 | 321,114 | 04/20/2010 08:48:42 | 118 | 8 | best html 5 editor with darg and drop ? | i am new commer to web development ,looking for something like MS Frontpage to delevop HTML 5 sites with drag and drop and ajax support . | html | html5 | null | null | null | 06/11/2012 22:28:23 | not constructive | best html 5 editor with darg and drop ?
===
i am new commer to web development ,looking for something like MS Frontpage to delevop HTML 5 sites with drag and drop and ajax support . | 4 |
8,282,225 | 11/26/2011 22:48:17 | 615,464 | 02/13/2011 21:38:25 | 10,863 | 221 | Doing probabilistic calculations on a higher abstraction level | One of the prime characteristics of Mathematica is that it can deal with many things symbolically. But if you come to think about it, many of the symbolic features are actually only halfway symbolic.
Take vectors for instance. We can have a symbolic vector like {x,y,z}, do a matrix multiplication with a matrix full... | mathematica | mathematica-8 | null | null | null | null | open | Doing probabilistic calculations on a higher abstraction level
===
One of the prime characteristics of Mathematica is that it can deal with many things symbolically. But if you come to think about it, many of the symbolic features are actually only halfway symbolic.
Take vectors for instance. We can have a symboli... | 0 |
3,439,816 | 08/09/2010 12:06:48 | 415,049 | 08/09/2010 12:06:48 | 1 | 0 | LINUX SYSTEM() API | HI
CAN ANYBODY TELL ME THE OUTPUT OF THE BELOW CODE.
WHETHER "bye" will be printed or not?
/* Thanks in advance */
#include <stdio.h>
int main()
{
system("ls -l");
printf("bye");
return 0;
}
| c | linux-kernel | null | null | null | 04/22/2012 13:08:25 | too localized | LINUX SYSTEM() API
===
HI
CAN ANYBODY TELL ME THE OUTPUT OF THE BELOW CODE.
WHETHER "bye" will be printed or not?
/* Thanks in advance */
#include <stdio.h>
int main()
{
system("ls -l");
printf("bye");
return 0;
}
| 3 |
8,563,001 | 12/19/2011 14:48:39 | 963,489 | 09/25/2011 09:56:28 | 70 | 0 | 24 bit data type array to hold 24 bit bitmap file | I am attempting to read a bitmap manually. So i read the bitmap file using a filestream. There wasnt a problem until i had to deal with 24 bit bitmap files. Is there a method to actually read a 24 bitmap image into a 24 bit array ? | c# | null | null | null | null | null | open | 24 bit data type array to hold 24 bit bitmap file
===
I am attempting to read a bitmap manually. So i read the bitmap file using a filestream. There wasnt a problem until i had to deal with 24 bit bitmap files. Is there a method to actually read a 24 bitmap image into a 24 bit array ? | 0 |
9,522,573 | 03/01/2012 19:23:00 | 1,208,435 | 02/14/2012 06:06:55 | 4 | 0 | Compiling time is high c++ | I am writing a code in c++. Compared to my friends the compiling time high. what could be the reason for this? Its taking around 4 seconds. But for my friends its getting compiled immediately.
| c++ | null | null | null | null | 03/01/2012 19:29:42 | not a real question | Compiling time is high c++
===
I am writing a code in c++. Compared to my friends the compiling time high. what could be the reason for this? Its taking around 4 seconds. But for my friends its getting compiled immediately.
| 1 |
5,667,349 | 04/14/2011 17:46:57 | 569,632 | 01/10/2011 09:51:32 | 33 | 0 | Relationship between Comboboxes in C# | I have 2 comboboxes.
Each of them are bounded to same Table. When I change value in one of them the other combobex appropriately changed. How can i solve this problem?
Thank yopu for your attention!!! | c# | data | combobox | null | null | null | open | Relationship between Comboboxes in C#
===
I have 2 comboboxes.
Each of them are bounded to same Table. When I change value in one of them the other combobex appropriately changed. How can i solve this problem?
Thank yopu for your attention!!! | 0 |
4,320,355 | 12/01/2010 01:08:23 | 123,451 | 06/16/2009 00:43:00 | 124 | 3 | Basic WPF Layout question | I am learning WPF and am trying to follow some sort of best practice. I am kind of lost at the moment, and need some direction.
I am creating a very simple app that reads a text file (error log) and splits it into the individual error messages. I want to display these messages (stored in a model object) as a list of... | iphone | objective-c | debugging | null | null | null | open | Basic WPF Layout question
===
I am learning WPF and am trying to follow some sort of best practice. I am kind of lost at the moment, and need some direction.
I am creating a very simple app that reads a text file (error log) and splits it into the individual error messages. I want to display these messages (stored ... | 0 |
11,056,544 | 06/15/2012 18:49:10 | 165,694 | 08/30/2009 19:53:00 | 638 | 5 | Step into a class library in asp.net using visual studio 2010 | I'll start by saying that I have searched SO and not found an answer to my issue.
I want to place a breakpoint in my asp.net code behind, and when a method or function of a class library is being called, I would like to be able to step into the class library code.
I have added the class library code files to ... | c# | asp.net | visual-studio-2010 | class-library | breakpoint | null | open | Step into a class library in asp.net using visual studio 2010
===
I'll start by saying that I have searched SO and not found an answer to my issue.
I want to place a breakpoint in my asp.net code behind, and when a method or function of a class library is being called, I would like to be able to step into the cla... | 0 |
10,786,418 | 05/28/2012 14:39:06 | 1,421,911 | 05/28/2012 14:24:40 | 1 | 0 | Getting List of Timezones in xcode | I am able to get list of timezones using
NSArray *timezoneNames = [NSTimeZone knownTimeZoneNames] ;
The issue is that the list is generated based on the current date set on device . I want this list to be generated using a future date , so that it correctly reflects the appli... | iphone | xcode | date | timezone | dst | null | open | Getting List of Timezones in xcode
===
I am able to get list of timezones using
NSArray *timezoneNames = [NSTimeZone knownTimeZoneNames] ;
The issue is that the list is generated based on the current date set on device . I want this list to be generated using a future date , so t... | 0 |
9,195,068 | 02/08/2012 14:19:18 | 1,062,218 | 11/23/2011 15:30:52 | 554 | 45 | MySQL Query: Get 3 results where id equals this, then another 3 where id equals that | I have the following:
TABLE: topics
COLS: topicId, categoryId (linking to the categoryId in categories)
TABLE: categories
COLS: categoryId
For the sake of this discussion, lets pretend the topic table has 100 rows with topicIds 100 through 200, and each row is associated with varying categoryIds 1 - 10... | mysql | query | null | null | null | null | open | MySQL Query: Get 3 results where id equals this, then another 3 where id equals that
===
I have the following:
TABLE: topics
COLS: topicId, categoryId (linking to the categoryId in categories)
TABLE: categories
COLS: categoryId
For the sake of this discussion, lets pretend the topic table has 100 rows... | 0 |
9,163,696 | 02/06/2012 16:42:37 | 1,183,701 | 02/01/2012 20:54:33 | 1 | 0 | Web Crawling/Scraping - Build or Buy? | Perhaps too “meta” a question for this forum, but as a sporadic builder of scrapers over the years (first in Python, now .NET) I have to ask even if it invites being voted down to Hades.
It seems to me that at this point in time, one single tool would have ascended to dominance, because the process seems generic enoug... | web-crawler | web-scraping | null | null | null | 06/08/2012 22:31:01 | off topic | Web Crawling/Scraping - Build or Buy?
===
Perhaps too “meta” a question for this forum, but as a sporadic builder of scrapers over the years (first in Python, now .NET) I have to ask even if it invites being voted down to Hades.
It seems to me that at this point in time, one single tool would have ascended to dominan... | 2 |
11,484,775 | 07/14/2012 15:02:20 | 1,525,705 | 07/14/2012 14:53:11 | 1 | 0 | I dont know what is wrong foreach OR PDO issue? | am new to smarty but i got an issue seems little bit stupid to ask about, but i did my best solving it and i couldn't
so if anyone can share an advice ...
the php page is:
$db = new PDO($smarty->getConfigVars('dsn'),
$smarty->getConfigVars('login'),
$smarty->get... | php | foreach | pdo | smarty | null | 07/14/2012 16:49:45 | too localized | I dont know what is wrong foreach OR PDO issue?
===
am new to smarty but i got an issue seems little bit stupid to ask about, but i did my best solving it and i couldn't
so if anyone can share an advice ...
the php page is:
$db = new PDO($smarty->getConfigVars('dsn'),
$smarty->getCo... | 3 |
6,678,536 | 07/13/2011 12:03:51 | 431,620 | 08/26/2010 08:36:28 | 497 | 25 | Information on 64 bit Erlang? | Qn 1: What is 64-bit Erlang? , How different is it from 32-bit Erlang? and where can some one find 64-bit Erlang?
Qn 2: What are the main performance advantages gained when we move an Erlang application from 32-bit Erlang to 64-bit Erlang?
Qn 3: Are there any changes that need to be done to Erlang applications w... | erlang | mnesia | yaws | mochiweb | nitrogen | 07/13/2011 13:59:12 | not a real question | Information on 64 bit Erlang?
===
Qn 1: What is 64-bit Erlang? , How different is it from 32-bit Erlang? and where can some one find 64-bit Erlang?
Qn 2: What are the main performance advantages gained when we move an Erlang application from 32-bit Erlang to 64-bit Erlang?
Qn 3: Are there any changes that need ... | 1 |
3,539,729 | 08/22/2010 01:35:36 | 247,402 | 01/10/2010 08:51:02 | 125 | 8 | WCF and Countries with Proxy | so i have a WCF which i need to host in a server in KSA , but KSA has proxy to block many sites, i think i have problem accessing my WCF cause of that proxy,
so if i host my WCF for testing purpose in any other server that is not in KSA it works perfectly but whenever i try to deploy it to any server in KSA i cant... | c# | wcf | web-services | proxy | null | 08/22/2010 03:24:29 | too localized | WCF and Countries with Proxy
===
so i have a WCF which i need to host in a server in KSA , but KSA has proxy to block many sites, i think i have problem accessing my WCF cause of that proxy,
so if i host my WCF for testing purpose in any other server that is not in KSA it works perfectly but whenever i try to dep... | 3 |
9,450,555 | 02/26/2012 04:30:41 | 1,233,378 | 02/26/2012 04:25:19 | 1 | 0 | I need to show all items except todays | SHow me where and what to add code for below query
$randitems = $DB->getAll("SELECT * FROM `" . DB_PREFIX . "items` a WHERE `enabled`=1 AND `visible`=1 $filter order by RAND() limit 7");
$smarty->assign("randitems", $randitems); | mysql | null | null | null | null | 02/26/2012 21:26:44 | too localized | I need to show all items except todays
===
SHow me where and what to add code for below query
$randitems = $DB->getAll("SELECT * FROM `" . DB_PREFIX . "items` a WHERE `enabled`=1 AND `visible`=1 $filter order by RAND() limit 7");
$smarty->assign("randitems", $randitems); | 3 |
3,746,123 | 09/19/2010 14:38:20 | 368,186 | 06/16/2010 11:20:14 | 33 | 0 | PHP sendmail not sending | I have a form that submits to PHP self. This script runs and says it is successful, but I do not receive an email.
<?php
if(isset($_POST['name']) and isset($_POST['email']) and isset($_POST['phone']))
{
//setup variables from input
$EMAIL = "anem@il.com";
$inEmail... | php | sendmail | null | null | null | null | open | PHP sendmail not sending
===
I have a form that submits to PHP self. This script runs and says it is successful, but I do not receive an email.
<?php
if(isset($_POST['name']) and isset($_POST['email']) and isset($_POST['phone']))
{
//setup variables from input
$EMAIL = "an... | 0 |
2,741,201 | 04/29/2010 22:28:54 | 328,323 | 04/28/2010 21:31:42 | 8 | 0 | Best testing framwork? | Is Junit the best testing framwork? Which framework is best for new java projects? | java | unit-testing | testing | framework | null | 06/09/2012 16:54:40 | not constructive | Best testing framwork?
===
Is Junit the best testing framwork? Which framework is best for new java projects? | 4 |
3,861,786 | 10/05/2010 07:54:45 | 331,609 | 05/03/2010 16:49:34 | 34 | 7 | Why is Javascript the "most misunderstood language" ? | Douglas Crockford himself says so !
http://www.crockford.com/javascript/javascript.html
I have been working with JS only for the past few months, with jQuery and ExtJS. Soon will get to work on Secha Touch.
I find Javascript to be highly enlightening.. What is your opinion ?
Crockford himself says that the ... | javascript | programming-languages | language-design | null | null | 10/05/2010 08:08:23 | not constructive | Why is Javascript the "most misunderstood language" ?
===
Douglas Crockford himself says so !
http://www.crockford.com/javascript/javascript.html
I have been working with JS only for the past few months, with jQuery and ExtJS. Soon will get to work on Secha Touch.
I find Javascript to be highly enlightening..... | 4 |
11,043,042 | 06/15/2012 00:07:36 | 509,627 | 11/16/2010 14:33:02 | 1,195 | 175 | How do I put a TreeView in a DevExpress ComboBox? | How do I place a TreeView in the drop-down of a ComboBox? | combobox | treeview | devexpress | null | null | null | open | How do I put a TreeView in a DevExpress ComboBox?
===
How do I place a TreeView in the drop-down of a ComboBox? | 0 |
11,358,451 | 07/06/2012 08:19:42 | 1,473,683 | 06/22/2012 01:43:20 | 1 | 0 | Hi in need for a solution. Hence i'm a newbie still | this is my sample code: i want to put a click function on my click here.
$('#terms').click(function(event)
{
alert("click");
});
//function B()
-$("#descp_fixrate").append("< h3 >Additional Information</h3> "
+"< p > Further terms and conditions may apply, < a **id='terms**' >click here < /a > for deta... | jquery | null | null | null | null | 07/06/2012 20:39:39 | not a real question | Hi in need for a solution. Hence i'm a newbie still
===
this is my sample code: i want to put a click function on my click here.
$('#terms').click(function(event)
{
alert("click");
});
//function B()
-$("#descp_fixrate").append("< h3 >Additional Information</h3> "
+"< p > Further terms and conditions ... | 1 |
6,117,651 | 05/24/2011 22:25:36 | 768,613 | 05/24/2011 22:25:36 | 1 | 0 | WinForms Touchpad Scrolling | I'm working on a winforms application meant for touchpads and would like the user to be able to scroll through the contents by swiping their finger across the screen. I see that windows (at least windows 7) has this behavior built in for any scrollable control. However the control I'm trying to scroll is a third party ... | winforms | scroll | touchpad | null | null | null | open | WinForms Touchpad Scrolling
===
I'm working on a winforms application meant for touchpads and would like the user to be able to scroll through the contents by swiping their finger across the screen. I see that windows (at least windows 7) has this behavior built in for any scrollable control. However the control I'm t... | 0 |
11,689,495 | 07/27/2012 14:08:33 | 1,557,852 | 07/27/2012 13:45:12 | 1 | 0 | virtualbox mac os network "can't connect" | Just installed BackTrack on Virtualbox and i can't connect to my host network from it.
I think it's mac related, in fact I tried every combination that i could've done on the adapter settings interface.
Any hints? | osx-snow-leopard | virtualbox | null | null | null | 07/29/2012 12:41:39 | off topic | virtualbox mac os network "can't connect"
===
Just installed BackTrack on Virtualbox and i can't connect to my host network from it.
I think it's mac related, in fact I tried every combination that i could've done on the adapter settings interface.
Any hints? | 2 |
3,451,952 | 08/10/2010 17:59:07 | 381,285 | 07/01/2010 16:14:55 | 35 | 1 | jQuery Bounce In Place | I need my list item elements to bounce in place and not fall all over each other.
I created a JSFiddle of what I mean: http://jsfiddle.net/RGvjj/
Can someone advise me as to why the elements are doing that and what I need to do to fix that? | jquery | html | css | inline | bounce | null | open | jQuery Bounce In Place
===
I need my list item elements to bounce in place and not fall all over each other.
I created a JSFiddle of what I mean: http://jsfiddle.net/RGvjj/
Can someone advise me as to why the elements are doing that and what I need to do to fix that? | 0 |
7,519,321 | 09/22/2011 18:00:53 | 953,467 | 09/19/2011 20:11:28 | 5 | 0 | Determine if running x64 or x86 operating system in MATLAB | How is it possible in MATLAB to determine if the OS is x64 or x86?
NOTE: I have found the `computer` function but it is mentioned that in case a x32 MATLAB is running on a x64 OS then it returns x32 (instead of x64) so this function will not do. | matlab | x86 | x64 | null | null | null | open | Determine if running x64 or x86 operating system in MATLAB
===
How is it possible in MATLAB to determine if the OS is x64 or x86?
NOTE: I have found the `computer` function but it is mentioned that in case a x32 MATLAB is running on a x64 OS then it returns x32 (instead of x64) so this function will not do. | 0 |
8,697,318 | 01/02/2012 04:09:28 | 1,123,320 | 12/30/2011 17:36:32 | 1 | 0 | ASP.NET webpage taking too long to load | I am new with ASP.NET and i built the webpage [http://www.fmc-law.com/resourcecentre.aspx][1]but its taking too long to load.
Any ideas what might be causing the problem and how should i resolve this problem..
Thanks
[1]: http://www.fmc-law.com/resourcecentre.aspx | c# | asp.net | null | null | null | 01/02/2012 05:09:31 | not constructive | ASP.NET webpage taking too long to load
===
I am new with ASP.NET and i built the webpage [http://www.fmc-law.com/resourcecentre.aspx][1]but its taking too long to load.
Any ideas what might be causing the problem and how should i resolve this problem..
Thanks
[1]: http://www.fmc-law.com/resourcecentre.a... | 4 |
8,209,875 | 11/21/2011 09:46:58 | 496,373 | 11/03/2010 19:09:11 | 8 | 0 | Escaping HTML to JSON with Rails 3 | I'm trying to escape HTML content from the db to JSON data. But JSON keys are escape too.
Here is an example :
> data :
> {
> :content => "<script>alert('SOF');</script>"
> }
and in the view :
> h(@data.to_json).html_safe ->
> [{"content":"<script>alert('SOF');&l... | ruby-on-rails | ruby-on-rails-3 | escaping | null | null | null | open | Escaping HTML to JSON with Rails 3
===
I'm trying to escape HTML content from the db to JSON data. But JSON keys are escape too.
Here is an example :
> data :
> {
> :content => "<script>alert('SOF');</script>"
> }
and in the view :
> h(@data.to_json).html_safe ->
> [{"content&q... | 0 |
3,654,559 | 09/06/2010 22:12:43 | 11,125 | 09/16/2008 05:20:49 | 1,795 | 29 | How to hide the password in fabric when the command is printed out? | Say I have a `fabfile.py` that looks like this:
def setup():
pwd = getpass('mysql password: ')
run('mysql -umoo -p%s something' % pwd)
The output of this is:
[host] run: mysql -umoo -pTheActualPassword
Is there a way to make the output look like this... | python | passwords | fabric | null | null | null | open | How to hide the password in fabric when the command is printed out?
===
Say I have a `fabfile.py` that looks like this:
def setup():
pwd = getpass('mysql password: ')
run('mysql -umoo -p%s something' % pwd)
The output of this is:
[host] run: mysql -umo... | 0 |
3,071,956 | 06/18/2010 17:47:59 | 85,306 | 03/31/2009 19:37:02 | 4,760 | 253 | How can I find open source projects in need of project management resources? | I'm a developer who wants to improve and exercise project management skills in order to improve my career path choices (better job offers, more varied potential positions). If I don't have opportunities to do this in my work, how can I find other projects that will allow me to exercise these skills?
Basically I w... | project-management | career-development | null | null | null | 01/28/2012 21:18:49 | not constructive | How can I find open source projects in need of project management resources?
===
I'm a developer who wants to improve and exercise project management skills in order to improve my career path choices (better job offers, more varied potential positions). If I don't have opportunities to do this in my work, how can I f... | 4 |
6,549,713 | 07/01/2011 15:04:33 | 685,767 | 03/31/2011 12:58:37 | 6 | 0 | Insert a dropdown menu item into the database | Incase this is my form, and I chose 'Fresh Milk' for example,
what php code would I need to use in order to insert my choice into the database
under the field 'choice' for example?
<select name="mydropdown">
<option value="Milk">Fresh Milk</option>
<option value="Cheese">Old Cheese</option>
<opt... | php | mysql | html | sql | drop-down-menu | 07/01/2011 15:20:01 | not a real question | Insert a dropdown menu item into the database
===
Incase this is my form, and I chose 'Fresh Milk' for example,
what php code would I need to use in order to insert my choice into the database
under the field 'choice' for example?
<select name="mydropdown">
<option value="Milk">Fresh Milk</option>
<... | 1 |
5,748,913 | 04/21/2011 19:34:17 | 306,849 | 04/01/2010 12:23:30 | 1,119 | 72 | Smooth Scrolling using JQuery when link and target are in different documents | I have a website where main navigational links link to a single document loaded in iframe. How can I make scrolling smoother iframe html document. I have an example code that does this on
$('ul.nav a').bind('click',function(event)
But i cant catch this event because it is in another document.
How should... | javascript | jquery | html | null | null | null | open | Smooth Scrolling using JQuery when link and target are in different documents
===
I have a website where main navigational links link to a single document loaded in iframe. How can I make scrolling smoother iframe html document. I have an example code that does this on
$('ul.nav a').bind('click',function(event... | 0 |
5,415,595 | 03/24/2011 06:36:08 | 404,264 | 07/28/2010 08:25:08 | 163 | 6 | is there pipe map in bash? | cmd1 | cmd2
will call cmd2 only one time with cmd1 output as argument. What i want is call cmd2 one by one with each line of cmd1 output as argument. Maybe something looks like:
cmd1 | map cmd2
I know i can write one by myself, just want to know is there built-in support already? | bash | null | null | null | null | 06/04/2012 14:05:14 | off topic | is there pipe map in bash?
===
cmd1 | cmd2
will call cmd2 only one time with cmd1 output as argument. What i want is call cmd2 one by one with each line of cmd1 output as argument. Maybe something looks like:
cmd1 | map cmd2
I know i can write one by myself, just want to know is there built-in support a... | 2 |
10,684,824 | 05/21/2012 11:58:38 | 1,407,786 | 05/21/2012 11:51:56 | 1 | 0 | how to add custom fields(columns) on wiki page in wiki page library in sharepoint 2010? | I have wiki page library in sharepoint 2010
want to create pages with custom content type which contains custom site columns
| sharepoint | moss | null | null | null | 05/24/2012 13:29:25 | off topic | how to add custom fields(columns) on wiki page in wiki page library in sharepoint 2010?
===
I have wiki page library in sharepoint 2010
want to create pages with custom content type which contains custom site columns
| 2 |
2,463,872 | 03/17/2010 16:09:47 | 67,407 | 02/17/2009 14:44:37 | 6,904 | 347 | MS Exam 70-536 - How to throw and handle exception from thread? | In [MS Exam 70-536 .Net Foundation][1], Chapter 7 "Threading" in Lesson 1 Creating Threads there is a text:
>Be aware that because the WorkWithParameter method takes an object, Thread.Start
could be called with any object instead of the string it expects. Being careful in choosing
your starting method for a thre... | .net | multithreading | exception-handling | microsoft-certifications | 70-536 | null | open | MS Exam 70-536 - How to throw and handle exception from thread?
===
In [MS Exam 70-536 .Net Foundation][1], Chapter 7 "Threading" in Lesson 1 Creating Threads there is a text:
>Be aware that because the WorkWithParameter method takes an object, Thread.Start
could be called with any object instead of the string i... | 0 |
10,535,589 | 05/10/2012 13:58:58 | 859,154 | 07/23/2011 09:23:42 | 13,158 | 683 | Convert.ToInt32 supports only 4 bases? | im trying to convert `12122` ( base 3) to `int` value ,
however i saw in reflector - the supported bases are <kbd>2,8,10,16 </kbd>
public static int ToInt32(string value, int fromBase)
{
if (((fromBase != 2) && (fromBase != 8)) && ((fromBase != 10) && (fromBase != 0x10)))
{
... | c# | .net | convert | null | null | null | open | Convert.ToInt32 supports only 4 bases?
===
im trying to convert `12122` ( base 3) to `int` value ,
however i saw in reflector - the supported bases are <kbd>2,8,10,16 </kbd>
public static int ToInt32(string value, int fromBase)
{
if (((fromBase != 2) && (fromBase != 8)) && ((fromBase != 10) ... | 0 |
7,122,782 | 08/19/2011 14:06:54 | 197,894 | 10/28/2009 07:44:51 | 502 | 22 | Image Compression in PHP? | I want to compress the image with same quality using PHP.What is my situation is I want to display the user images when they loged in.Currently I am showing the original image whatever they uplaod in mysite.So if they uplaod 4MB file I am downloading the 4MB file and showing to them.Instead of that I want to compress t... | php | image-processing | compression | null | null | null | open | Image Compression in PHP?
===
I want to compress the image with same quality using PHP.What is my situation is I want to display the user images when they loged in.Currently I am showing the original image whatever they uplaod in mysite.So if they uplaod 4MB file I am downloading the 4MB file and showing to them.Inste... | 0 |
2,441,795 | 03/14/2010 10:10:42 | 233,201 | 12/16/2009 18:39:17 | 2,284 | 99 | Becoming better at Vim | I've been using Vim for quite a long time, but I'm at a level where I use insert mode most of the time, and I still use the arrow keys to move around(!).
I feel like I'm not getting the best out of my lovely editor, particularly regarding navigating (especially code), copy & pasting, and doing other manipulations of... | vim | null | null | null | null | 04/11/2012 16:40:59 | not constructive | Becoming better at Vim
===
I've been using Vim for quite a long time, but I'm at a level where I use insert mode most of the time, and I still use the arrow keys to move around(!).
I feel like I'm not getting the best out of my lovely editor, particularly regarding navigating (especially code), copy & pasting, and ... | 4 |
5,717,247 | 04/19/2011 13:37:43 | 711,747 | 04/17/2011 02:31:53 | 23 | 0 | What are the advantages and disadvantages of C programming compared Perl programming? | Here I simply want to know some opinions from members here, what are the advantages and disadvantages when compared with the C programming and Perl programming or other programming languages?
From what I know, Perl programming is a more straightforward and simple when compared with C programming. But for me, Perl pr... | c | perl | null | null | null | 04/19/2011 13:42:15 | not constructive | What are the advantages and disadvantages of C programming compared Perl programming?
===
Here I simply want to know some opinions from members here, what are the advantages and disadvantages when compared with the C programming and Perl programming or other programming languages?
From what I know, Perl programming... | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.