PostId int64 13 11.8M | PostCreationDate stringlengths 19 19 | OwnerUserId int64 3 1.57M | OwnerCreationDate stringlengths 10 19 | ReputationAtPostCreation int64 -33 210k | OwnerUndeletedAnswerCountAtPostTime int64 0 5.77k | Title stringlengths 10 250 | BodyMarkdown stringlengths 12 30k | Tag1 stringlengths 1 25 ⌀ | Tag2 stringlengths 1 25 ⌀ | Tag3 stringlengths 1 25 ⌀ | Tag4 stringlengths 1 25 ⌀ | Tag5 stringlengths 1 25 ⌀ | PostClosedDate stringlengths 19 19 ⌀ | OpenStatus stringclasses 5
values | unified_texts stringlengths 47 30.1k | OpenStatus_id int64 0 4 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11,297,106 | 07/02/2012 15:56:22 | 1,434,193 | 06/04/2012 00:33:44 | 6 | 0 | how to set labels in inline assembly? | how in c++ visual can i set labels for when i need to use inline assembly, so it would look like something like this for example...
__asm
{
PUSH EAX
PUSH VAR1
MOV ECX,DWORD PTR DS:[VAR2]
CALL DWORD PTR DS:[VAR3]
JMP VAR4
}
where the `VAR` varables link to a value or address?
i have tried th... | c++ | visual-c++ | null | null | null | null | open | how to set labels in inline assembly?
===
how in c++ visual can i set labels for when i need to use inline assembly, so it would look like something like this for example...
__asm
{
PUSH EAX
PUSH VAR1
MOV ECX,DWORD PTR DS:[VAR2]
CALL DWORD PTR DS:[VAR3]
JMP VAR4
}
where the `VAR` varables lin... | 0 |
3,855,450 | 10/04/2010 13:00:33 | 67,824 | 02/18/2009 12:57:59 | 569 | 38 | External DNS lookup web service (NSLOOKUP / DiG) | Several [sites][1] offer hostname to IP conversions, or in their wording:
> Query a DNS domain nameserver to
> lookup and find IP address information
> of computers in the internet. Convert
> a host or domain name into an IP
> address.
However, I haven't been able to find any free webservices offering this func... | c# | web-services | dns | free | nslookup | null | open | External DNS lookup web service (NSLOOKUP / DiG)
===
Several [sites][1] offer hostname to IP conversions, or in their wording:
> Query a DNS domain nameserver to
> lookup and find IP address information
> of computers in the internet. Convert
> a host or domain name into an IP
> address.
However, I haven't bee... | 0 |
3,043,370 | 06/15/2010 07:49:32 | 18,633 | 09/19/2008 08:02:12 | 126 | 4 | How to get the linux folder and file icons and names in java? | I'm creating a tree of folders and files in java. Windows and OSX return the system icons and name with the following code:
new JFileChooser().getIcon(File f);
new JFileChooser().getName(File f);
Is there any possibility to get the icons and name of unix systems?. A system command would be ok too.
Tha... | java | linux | jfilechooser | shell-icons | null | null | open | How to get the linux folder and file icons and names in java?
===
I'm creating a tree of folders and files in java. Windows and OSX return the system icons and name with the following code:
new JFileChooser().getIcon(File f);
new JFileChooser().getName(File f);
Is there any possibility to get the icons ... | 0 |
2,934,162 | 05/29/2010 07:12:08 | 298,677 | 03/21/2010 23:53:10 | 11 | 1 | Resize a UITableView to accomodate a translucent header before it becomes visible | I have a UITableView inside a UINavigationController. The navigation controller uses a translucent navigation bar--as a result, my table view is displayed behind the navigation bar and it's height includes the height of the navigation bar. However, I want the table view to appear below the navigation bar (as it would... | iphone | monotouch | null | null | null | null | open | Resize a UITableView to accomodate a translucent header before it becomes visible
===
I have a UITableView inside a UINavigationController. The navigation controller uses a translucent navigation bar--as a result, my table view is displayed behind the navigation bar and it's height includes the height of the navigati... | 0 |
3,434,816 | 08/08/2010 15:18:39 | 414,420 | 08/08/2010 15:18:39 | 1 | 0 | jquery using html | i want to know coding jquery by using html which helps to banners............. | jquery | null | null | null | null | 08/08/2010 15:57:10 | not a real question | jquery using html
===
i want to know coding jquery by using html which helps to banners............. | 1 |
5,409,846 | 03/23/2011 18:24:37 | 277,683 | 02/20/2010 14:52:39 | 4,189 | 189 | Clojure multimethod on class OR keyword | Suppose I have this multimethod
(defmulti m (fn [v] [(:type v)]))
(defmethod m [Object] [k] (prn "Object"))
(defmethod m [:mykwd] [k] (prn "mykwd"))
When I call it with subclass of `Object`, it correctly dispatches to the first implementation:
(m {:type String})
"Object"
W... | clojure | multimethod | null | null | null | null | open | Clojure multimethod on class OR keyword
===
Suppose I have this multimethod
(defmulti m (fn [v] [(:type v)]))
(defmethod m [Object] [k] (prn "Object"))
(defmethod m [:mykwd] [k] (prn "mykwd"))
When I call it with subclass of `Object`, it correctly dispatches to the first implementation:... | 0 |
6,483,420 | 06/26/2011 10:37:26 | 688,640 | 04/02/2011 05:30:09 | 1 | 0 | jQuery ,each() - return value | I have this code:
i = 60;
i = $(this).find('li a').each(function(i) {
w = $(this).text();
$('#js').text(w);
w = $('#js').width();
if(w > i) {
i = w;
... | javascript | jquery | null | null | null | null | open | jQuery ,each() - return value
===
I have this code:
i = 60;
i = $(this).find('li a').each(function(i) {
w = $(this).text();
$('#js').text(w);
w = $('#js').width();
if(w > i) {
... | 0 |
10,319,062 | 04/25/2012 15:43:48 | 563,247 | 01/04/2011 22:52:49 | 459 | 25 | PHP not converting JSON using 'json_decode()' | I have a very simple bit of code
$pc1 = $_POST['post_code1'];
$pc2 = $_POST['post_code2'];
$url = "http://maps.google.com/maps/nav?q=from:".$pc1."%20to:".$pc2;
$url_data = file_get_contents($url);
$json_data = json_decode($url_data);
var_dump($json_data);
`$url_data` is full of juicy ... | php | json | null | null | null | null | open | PHP not converting JSON using 'json_decode()'
===
I have a very simple bit of code
$pc1 = $_POST['post_code1'];
$pc2 = $_POST['post_code2'];
$url = "http://maps.google.com/maps/nav?q=from:".$pc1."%20to:".$pc2;
$url_data = file_get_contents($url);
$json_data = json_decode($url_data);
var... | 0 |
4,771,338 | 01/22/2011 23:32:57 | 586,016 | 01/22/2011 23:32:57 | 1 | 0 | Retrieving URL data when Content-Range is sent in PHP | There's many options available for downloading a URL in PHP - but I'm stuck.
I've looked through all the ones I know, but none seem to pay attention to partial content headers.
I'm trying to retrieve a URL that gives the following header:
HTTP/1.1 206 Partial Content
Content-Range: bytes 0-100000/631723
As... | php | curl | null | null | null | null | open | Retrieving URL data when Content-Range is sent in PHP
===
There's many options available for downloading a URL in PHP - but I'm stuck.
I've looked through all the ones I know, but none seem to pay attention to partial content headers.
I'm trying to retrieve a URL that gives the following header:
HTTP/1.1 206 Pa... | 0 |
11,610,652 | 07/23/2012 10:22:06 | 1,511,482 | 07/09/2012 08:57:42 | 1 | 0 | Wordpress Pagelines Themes familiar person? | Any one familiar with pagelines themes in wordpress .I need to add action hook to pagelines themes through My Plugin.That Hook should change site background color for every login user . Anyone Familiar with Pagelines themes please help me out. | wordpress-plugin | null | null | null | null | 07/27/2012 02:11:16 | not a real question | Wordpress Pagelines Themes familiar person?
===
Any one familiar with pagelines themes in wordpress .I need to add action hook to pagelines themes through My Plugin.That Hook should change site background color for every login user . Anyone Familiar with Pagelines themes please help me out. | 1 |
9,992,478 | 04/03/2012 11:39:35 | 1,222,911 | 02/21/2012 08:47:48 | 1 | 0 | What actually use of ISession in nhibernate | I am new to nhibernate and want to know about the work of Isession. Please clear my basics. | nhibernate | null | null | null | null | null | open | What actually use of ISession in nhibernate
===
I am new to nhibernate and want to know about the work of Isession. Please clear my basics. | 0 |
8,898,744 | 01/17/2012 17:08:18 | 1,154,454 | 01/17/2012 16:58:27 | 1 | 0 | C# - Get string in a file and replace it - For the smarts of you | I just wonder (asking for a code, actually) that can read a file which is filled with sentences like this one:
None|2486.508789|-1644.958007|14.077178|2807.582275|-1174.444335|1025.570312|8|0|0|0|180000|1
*This is one of the lines in the file, the form is:
string|float|float|float|float|float|float|integer|**int... | c# | replace | null | null | null | 01/17/2012 17:26:30 | not a real question | C# - Get string in a file and replace it - For the smarts of you
===
I just wonder (asking for a code, actually) that can read a file which is filled with sentences like this one:
None|2486.508789|-1644.958007|14.077178|2807.582275|-1174.444335|1025.570312|8|0|0|0|180000|1
*This is one of the lines in the file, ... | 1 |
6,167,334 | 05/29/2011 10:56:20 | 257,864 | 01/24/2010 16:13:52 | 52 | 8 | Silverlight loses authentication on Page Refresh | I am building a SL4 application that uses the standard authentication built into the business template. The user logs in and is then redirected to a new page. If the user then refreshes that page, the WebContext.Current.User returns null. Why does this happen? Thanks | silverlight-4.0 | mvvm | null | null | null | null | open | Silverlight loses authentication on Page Refresh
===
I am building a SL4 application that uses the standard authentication built into the business template. The user logs in and is then redirected to a new page. If the user then refreshes that page, the WebContext.Current.User returns null. Why does this happen? Thank... | 0 |
8,185,384 | 11/18/2011 16:10:49 | 675,118 | 03/24/2011 14:50:58 | 87 | 0 | why use custom sql functions for standard ones that already exist? | I am using oscommerce so you might need an understanding of it to answer this but I don't think so it is pretty general.
Why would the original programmers create functions to do basic sql queries like this:
function tep_db_query($query, $link = 'db_link') {
global $$link, $logger;
i... | php | mysql | null | null | null | 11/22/2011 03:05:08 | not constructive | why use custom sql functions for standard ones that already exist?
===
I am using oscommerce so you might need an understanding of it to answer this but I don't think so it is pretty general.
Why would the original programmers create functions to do basic sql queries like this:
function tep_db_query($query... | 4 |
7,435,526 | 09/15/2011 18:16:34 | 947,465 | 09/15/2011 18:16:34 | 1 | 0 | Create a Custom Single.php file for my custom post type filed 'Movies? | I have a wordpress blog, and I'm using custom post type field for movies. Now Please Understand my Problem:
I have created a custom type "Movies" and also made a Movies Page which is just look like this [link][1] Now Here is my problem, When I click on any movie, Link going on single.php template, But I Want to make... | wordpress | null | null | null | null | 09/16/2011 11:29:33 | off topic | Create a Custom Single.php file for my custom post type filed 'Movies?
===
I have a wordpress blog, and I'm using custom post type field for movies. Now Please Understand my Problem:
I have created a custom type "Movies" and also made a Movies Page which is just look like this [link][1] Now Here is my problem, When... | 2 |
4,004,588 | 10/23/2010 14:58:33 | 15,476 | 09/17/2008 09:45:04 | 243 | 1 | Not able to install latest mercurial release on fedora | I am trying to install latest mercurial on fedora by doing sudo yum install mercurial .
But doing so I am getting mercurial 1.1 that is not latest release .Current mercurial release is 1.6+ .
Any help is highly appreciated | mercurial | fedora | null | null | null | 05/24/2012 12:47:32 | off topic | Not able to install latest mercurial release on fedora
===
I am trying to install latest mercurial on fedora by doing sudo yum install mercurial .
But doing so I am getting mercurial 1.1 that is not latest release .Current mercurial release is 1.6+ .
Any help is highly appreciated | 2 |
9,852,340 | 03/24/2012 14:02:22 | 436,559 | 09/01/2010 03:10:45 | 18 | 0 | how to sort strings with qsort in C | I cannot just use strcmp for the cmp function, because the string is like "obj1a", "obj1b", "vobj3a", "vobj4a", that is, first sort according to first string, then middle numbers, then tail strings, I tried make local copies of the 3 part of a string, is there any better way to do?
| c | qsort | null | null | null | 03/24/2012 14:44:15 | not a real question | how to sort strings with qsort in C
===
I cannot just use strcmp for the cmp function, because the string is like "obj1a", "obj1b", "vobj3a", "vobj4a", that is, first sort according to first string, then middle numbers, then tail strings, I tried make local copies of the 3 part of a string, is there any better way to ... | 1 |
2,276,403 | 02/16/2010 21:16:26 | 50,593 | 12/31/2008 20:38:11 | 19 | 1 | Tabbing within an asp.net application | I have developed an asp.net application. If the user tabs through the fields of my application and then continues beyond the end, the tabbing continues outside my application. This includes the box where the user enters the URL, then some others including the Google box to enter search criteria. Then eventually it retu... | asp.net | tabbing | web-applications | null | null | null | open | Tabbing within an asp.net application
===
I have developed an asp.net application. If the user tabs through the fields of my application and then continues beyond the end, the tabbing continues outside my application. This includes the box where the user enters the URL, then some others including the Google box to ent... | 0 |
6,238,307 | 06/04/2011 17:30:20 | 185,919 | 10/07/2009 20:12:06 | 1,351 | 37 | How to guarantee an exception display on android under ANY circumstances? | I read a lot about using `Toast` or `Log` and putting them into `Thread.setDefaultUncaughtExceptionHandler(...)`.
But I just can't get ALL exceptions displayed.
Please tell me (or point me to a resource) where it is described how to to it.
With working examples, when possible.
Thank you.
*My guess is: wh... | android | exception-handling | null | null | null | null | open | How to guarantee an exception display on android under ANY circumstances?
===
I read a lot about using `Toast` or `Log` and putting them into `Thread.setDefaultUncaughtExceptionHandler(...)`.
But I just can't get ALL exceptions displayed.
Please tell me (or point me to a resource) where it is described how to to... | 0 |
4,236,499 | 11/21/2010 04:51:55 | 1,244,783 | 12/01/2009 18:44:55 | 278 | 20 | How does O'Reilly pick the animals that they put on their covers? | I currently own several O'Reilly books, and it's been somewhat of a curiosity as to how they choose which animals to put on a given topics book cover.
Does anyone know? | oreilly-book | null | null | null | null | 11/21/2010 05:15:46 | off topic | How does O'Reilly pick the animals that they put on their covers?
===
I currently own several O'Reilly books, and it's been somewhat of a curiosity as to how they choose which animals to put on a given topics book cover.
Does anyone know? | 2 |
9,992,117 | 04/03/2012 11:14:07 | 1,016,119 | 10/27/2011 08:46:16 | 1 | 1 | linq distinct and sele new query | I have a query
var QP = (from a in QProductAllInfo select new { a.Id, a.Title, a.FullTitle}).Distinct();
Result is:
- 1 Ivanov Ivan
- 1 Ivanov Ivan
- 2 Petrov Petr
- 3 Sidorov Ivan
- 3 Sidorov Ivan
and i need result:
- 1 Ivanov Ivan
- 2 Petrov Petr
- 3 Sidorov Ivan
| c# | windows | winforms | linq | linq-to-sql | null | open | linq distinct and sele new query
===
I have a query
var QP = (from a in QProductAllInfo select new { a.Id, a.Title, a.FullTitle}).Distinct();
Result is:
- 1 Ivanov Ivan
- 1 Ivanov Ivan
- 2 Petrov Petr
- 3 Sidorov Ivan
- 3 Sidorov Ivan
and i need result:
- 1 Ivanov Ivan
- 2 Pe... | 0 |
8,809,798 | 01/10/2012 20:05:36 | 555,690 | 12/28/2010 06:15:35 | 1,160 | 17 | Edit a CCTexture2D? | If I have an instance of CCTexture2D, is it not possible to modify it? Like, say, rotate it?
I know I can simply rotate the CCSprite I have. But really, I am curious about only rotating the texture affecting all the CCSprites that refer to it. | objective-c | cocos2d-iphone | null | null | null | null | open | Edit a CCTexture2D?
===
If I have an instance of CCTexture2D, is it not possible to modify it? Like, say, rotate it?
I know I can simply rotate the CCSprite I have. But really, I am curious about only rotating the texture affecting all the CCSprites that refer to it. | 0 |
9,071,870 | 01/30/2012 22:37:29 | 1,007,582 | 10/21/2011 17:35:24 | 76 | 0 | need advice on my future project (multiplayer online game) | I'm planning to create a simple realtime online strategy game. The catch is that I do not want to use flash,but I want to use either html5 or silverlight. My question is that is it even possible or worth doing it in html5, that is the graphics capability of browsers rendering sprites etc, the standard not implemented i... | html5 | node.js | silverlight-4.0 | network-programming | null | 01/31/2012 01:02:30 | not a real question | need advice on my future project (multiplayer online game)
===
I'm planning to create a simple realtime online strategy game. The catch is that I do not want to use flash,but I want to use either html5 or silverlight. My question is that is it even possible or worth doing it in html5, that is the graphics capability o... | 1 |
55,056 | 09/10/2008 19:09:14 | 5,616 | 09/10/2008 14:55:47 | 11 | 2 | What's the best Django search app? | I'm building a Django project that needs search functionality, and until there's a `django.contrib.search`, I have to choose a search app. So, which is the best? By "best" I mean...
- easy to install / set up
- has a Django- or at least Python-friendly API
- can perform reasonably complex searches
Here ar... | python | django | search | search-engine | null | 05/13/2012 19:02:21 | not constructive | What's the best Django search app?
===
I'm building a Django project that needs search functionality, and until there's a `django.contrib.search`, I have to choose a search app. So, which is the best? By "best" I mean...
- easy to install / set up
- has a Django- or at least Python-friendly API
- can perfor... | 4 |
6,789,382 | 07/22/2011 11:34:52 | 486,146 | 10/25/2010 07:16:55 | 31 | 0 | Given 3 strings , find if 3rd one is interleaved of other two | S3 should have all characters of s1 and s2 and in the same order of original strings.
e.g.
s1 = "abc"
s2 = "ade"
s3= "abadce"
So S3 is interleaved of both s1 and s2. But if
s3= "abaced" Its NOT.
I have got a solution already but looking for best efficient one. ( would share my solution later to let the ... | c++ | string | null | null | null | 07/22/2011 12:09:32 | not a real question | Given 3 strings , find if 3rd one is interleaved of other two
===
S3 should have all characters of s1 and s2 and in the same order of original strings.
e.g.
s1 = "abc"
s2 = "ade"
s3= "abadce"
So S3 is interleaved of both s1 and s2. But if
s3= "abaced" Its NOT.
I have got a solution already but looking ... | 1 |
5,788,873 | 04/26/2011 10:16:24 | 725,171 | 04/26/2011 10:16:24 | 1 | 0 | Regading the anchor (<a>) tag. . | What does <a href="#">Click here</a> mean?
Anyone please give me a clear expalnation. . . .
Thanks in advance. . | html | null | null | null | null | 04/26/2011 19:59:09 | not a real question | Regading the anchor (<a>) tag. .
===
What does <a href="#">Click here</a> mean?
Anyone please give me a clear expalnation. . . .
Thanks in advance. . | 1 |
2,043,815 | 01/11/2010 18:11:44 | 206,446 | 11/08/2009 22:19:26 | 584 | 4 | more practical learning books? | there are tons of books out there teaching you a new language. but some of them are just too thick with lot of information and less code. it usually makes you sleepy. especially when you already know the basic syntax and wanna learn how to use a new language very fast.
are there good series of books for this?
the... | java | php | programming-languages | null | null | 09/25/2011 21:53:05 | not constructive | more practical learning books?
===
there are tons of books out there teaching you a new language. but some of them are just too thick with lot of information and less code. it usually makes you sleepy. especially when you already know the basic syntax and wanna learn how to use a new language very fast.
are there g... | 4 |
3,612,001 | 08/31/2010 18:23:13 | 436,249 | 08/31/2010 18:23:13 | 1 | 0 | Problem Connection to my databaseserver from publish server | I have problems connection to my database server,
I works fine in my development machine, but when I publish the website on my server, it can not connect to my databaseserver,
The database server is not local, Iam connection trougth it's ipaddress.
WHy can't my publish server not connect to the server, and it... | asp.net | sql | sql-server | microsoft | null | null | open | Problem Connection to my databaseserver from publish server
===
I have problems connection to my database server,
I works fine in my development machine, but when I publish the website on my server, it can not connect to my databaseserver,
The database server is not local, Iam connection trougth it's ipaddress. ... | 0 |
10,575,063 | 05/13/2012 20:43:04 | 97,893 | 04/29/2009 19:01:51 | 703 | 4 | What is the best rails opensource project for sharing pictures that i could use to create mine? | i am trying to create a website to share picture for a specific community, and would love to hear about your suggestion abut where to start from to get this project running in rails. (i am an intermediate programmer in rails) | ruby-on-rails | ruby | ruby-on-rails-3 | null | null | 05/14/2012 14:17:10 | not constructive | What is the best rails opensource project for sharing pictures that i could use to create mine?
===
i am trying to create a website to share picture for a specific community, and would love to hear about your suggestion abut where to start from to get this project running in rails. (i am an intermediate programmer in ... | 4 |
5,695,918 | 04/17/2011 19:33:26 | 34,747 | 11/05/2008 16:25:54 | 435 | 12 | What's the fastest, pure Javascript, Graph visualization toolkit? | This question is about toolkits which draw graphs (those things composed of vertices and edges), not generic plots.
The tool mus be able to get a set of vertices and edges, calculate their layout, and display them either using the canvas tag, or SVG, that is be compatible with HTML5.
Flash-based tools and java ap... | javascript | html5 | graph | visualization | null | 12/12/2011 16:00:29 | not constructive | What's the fastest, pure Javascript, Graph visualization toolkit?
===
This question is about toolkits which draw graphs (those things composed of vertices and edges), not generic plots.
The tool mus be able to get a set of vertices and edges, calculate their layout, and display them either using the canvas tag, or ... | 4 |
4,440,729 | 12/14/2010 15:26:32 | 542,152 | 12/14/2010 15:26:32 | 1 | 0 | Agile testing / traditional testing methods | What are the agile testing methods? And what are the traditional testing methods? | agile | null | null | null | null | null | open | Agile testing / traditional testing methods
===
What are the agile testing methods? And what are the traditional testing methods? | 0 |
11,611,803 | 07/23/2012 11:39:50 | 1,477,651 | 06/24/2012 04:38:54 | 1 | 0 | Fetch all co-ordinates / lat/long within the selected area of polyline | Fetch all co-ordinates / lat/long within the selected area of polyline in google maps v3.
For eg. the user should get all the lat/longs within the area he has created through polyline | google | google-maps-api-3 | maps | null | null | 07/26/2012 22:38:48 | not a real question | Fetch all co-ordinates / lat/long within the selected area of polyline
===
Fetch all co-ordinates / lat/long within the selected area of polyline in google maps v3.
For eg. the user should get all the lat/longs within the area he has created through polyline | 1 |
10,462,702 | 05/05/2012 14:17:21 | 908,123 | 08/23/2011 16:29:55 | 463 | 17 | Can several windows be open in a MDI form with different window states at the same time? | I did a MDI Winforms application and noticed behaviour that I have a question for.
If one of the forms is opened with a Maximized Window State and another form is opened with a Normal Window State, the form Window State that used to be Maximized is changed to Normal.
Can several windows be open in a MDI form with... | vb.net | visual-studio-2010 | windowstate | null | null | null | open | Can several windows be open in a MDI form with different window states at the same time?
===
I did a MDI Winforms application and noticed behaviour that I have a question for.
If one of the forms is opened with a Maximized Window State and another form is opened with a Normal Window State, the form Window State tha... | 0 |
9,735,960 | 03/16/2012 10:53:44 | 174,145 | 09/16/2009 06:30:13 | 171 | 5 | Best design for scalable website (exact requiement specified into details) | I have a very basic requirement. Client will be sending/posting some piece of information (less than 1KB) to my site. There is no acknowledgement required to client about received data from server. Server need to persist this information into some sort of database for future usage.
I need to design a system which ca... | java | apns | null | null | null | 03/16/2012 11:59:33 | not constructive | Best design for scalable website (exact requiement specified into details)
===
I have a very basic requirement. Client will be sending/posting some piece of information (less than 1KB) to my site. There is no acknowledgement required to client about received data from server. Server need to persist this information in... | 4 |
2,485,380 | 03/21/2010 00:52:24 | 298,228 | 03/21/2010 00:52:24 | 1 | 0 | Want to improve my simple site/db backup script with auto removal of old backups. | I have the following simple script for backing up my website files and db. The script is run each day via a cron job.
#!/bin/sh
NOW=$(date +"%Y-%m-%d")
mysqldump --opt -h localhost -u username -p'password' dbname > /path/to/folder/backup/db-backup-$NOW.sql
gzip -f /path/to/fol... | perl | shell | scripting | cron | date | null | open | Want to improve my simple site/db backup script with auto removal of old backups.
===
I have the following simple script for backing up my website files and db. The script is run each day via a cron job.
#!/bin/sh
NOW=$(date +"%Y-%m-%d")
mysqldump --opt -h localhost -u username -p'passwo... | 0 |
1,178,210 | 07/24/2009 14:52:12 | 105,817 | 05/12/2009 23:07:02 | 114 | 1 | Websphere Application Server - What on earth will it take to start any fast!!? | I am using Rational Application Developer v7.0 that ships with an integrated test environment. When I get to debugging my webapp, the server startup time in debug mode is close to 5-6 minutes - enough time to take a coffe break!
At times, it so pisses me off that I start cursing IBM for building an operating system... | java | java-ee | websphere | performance | null | null | open | Websphere Application Server - What on earth will it take to start any fast!!?
===
I am using Rational Application Developer v7.0 that ships with an integrated test environment. When I get to debugging my webapp, the server startup time in debug mode is close to 5-6 minutes - enough time to take a coffe break!
At ... | 0 |
7,422,037 | 09/14/2011 19:40:30 | 903,455 | 08/20/2011 05:32:26 | 285 | 8 | Database initialization failed | hMailServer installation in windows 2003 (x64) encountered an error as `Database initialization failed`. I created a database and new database user for that database in Plesk's MySQL database engine. Finally hMailServer asked to copy libmysql.dll file present in bin folder of MySQL to Bin folder of hMailServer installa... | mysql | database-connection | null | null | null | null | open | Database initialization failed
===
hMailServer installation in windows 2003 (x64) encountered an error as `Database initialization failed`. I created a database and new database user for that database in Plesk's MySQL database engine. Finally hMailServer asked to copy libmysql.dll file present in bin folder of MySQL t... | 0 |
6,690,068 | 07/14/2011 07:52:04 | 729,116 | 04/28/2011 10:36:48 | 15 | 0 | Linux and Java question urgent program | In Linux, path "/abc/px/../def/./ef" is equivalent to /abc/def/ef/. For example, If you cd /abc/px/../def/./ef, you will land up in /abc/def/ef/. I need a program in Java to do this using low level functions/methods | java | null | null | null | null | 07/14/2011 10:02:37 | not a real question | Linux and Java question urgent program
===
In Linux, path "/abc/px/../def/./ef" is equivalent to /abc/def/ef/. For example, If you cd /abc/px/../def/./ef, you will land up in /abc/def/ef/. I need a program in Java to do this using low level functions/methods | 1 |
8,883,601 | 01/16/2012 17:10:01 | 769,408 | 05/25/2011 10:52:57 | 33 | 0 | Twitter api python - max number of objects | so I am calling the twitter api:
openurl = urllib.urlopen("https://api.twitter.com/1/statuses/user_timeline.json?include_entities=true&contributor_details&include_rts=true&screen_name="+user+"&count=3600")
and it returns some long file like:
[{"entities":{"hashtags":[],"user_mentions":[],"urls":[... | scripting | twitter | twitter-api | python | null | null | open | Twitter api python - max number of objects
===
so I am calling the twitter api:
openurl = urllib.urlopen("https://api.twitter.com/1/statuses/user_timeline.json?include_entities=true&contributor_details&include_rts=true&screen_name="+user+"&count=3600")
and it returns some long file like:
[{"enti... | 0 |
6,290,197 | 06/09/2011 08:44:37 | 695,072 | 04/06/2011 14:53:56 | 1 | 0 | MATLAB conditional code execution based on cputime | I have a MATLAB code which for some of the input cases takes an infinite time to execute. I would like to exluce from the execution of my code those input values which make my MATLAB function to take more than X minutes to execute, as MATLAB realises the execution is taking too long. Do you know any way of doing this? ... | matlab | concurrency | null | null | null | null | open | MATLAB conditional code execution based on cputime
===
I have a MATLAB code which for some of the input cases takes an infinite time to execute. I would like to exluce from the execution of my code those input values which make my MATLAB function to take more than X minutes to execute, as MATLAB realises the execution... | 0 |
6,888,019 | 07/31/2011 06:50:38 | 775,964 | 05/30/2011 08:47:06 | 61 | 1 | how the comparasion of OS are take place ? | how one can say that one OS is better then another.?
i am asking specially about mobile OS.
because people says i-phones are better then android phone or blackberry mobile.
i ask you how phone can be compare with OS...
its all about hardware. isn't it. if hardware is good enough then its facility wi... | iphone | android | blackberry | operating-system | embedded | 07/31/2011 06:58:45 | not constructive | how the comparasion of OS are take place ?
===
how one can say that one OS is better then another.?
i am asking specially about mobile OS.
because people says i-phones are better then android phone or blackberry mobile.
i ask you how phone can be compare with OS...
its all about hardware. isn't it.... | 4 |
11,690,059 | 07/27/2012 14:38:56 | 1,516,676 | 07/11/2012 05:12:47 | 18 | 0 | C# Game Program is skipping | Am trying to run a game I've made of 5 classes, but the most important part isn't running. keep in mind that am still a beginner in c#. All the 5 classes are separate but I only typed the namespaces in the first class here as to avoid confusion, they are there in each class. The program runs but when it reaches the Bat... | c# | visual-studio-2010 | game-programming | null | null | 07/28/2012 20:15:39 | too localized | C# Game Program is skipping
===
Am trying to run a game I've made of 5 classes, but the most important part isn't running. keep in mind that am still a beginner in c#. All the 5 classes are separate but I only typed the namespaces in the first class here as to avoid confusion, they are there in each class. The program... | 3 |
5,033,185 | 02/17/2011 18:48:14 | 299,408 | 03/22/2010 21:23:02 | 567 | 10 | ASP.NET - What is the easiest generic way to save form data and retrieve it when the user navigates back to the page? | What is the easiest way to save form data and retrieve it when the user navigates back to the page?
We have an application process that consists of several web forms. If the user clicks to go back a step we would like to auto-populate the fields. I am assuming there is a common generic way to do this without having ... | asp.net | null | null | null | null | null | open | ASP.NET - What is the easiest generic way to save form data and retrieve it when the user navigates back to the page?
===
What is the easiest way to save form data and retrieve it when the user navigates back to the page?
We have an application process that consists of several web forms. If the user clicks to go ba... | 0 |
6,167,271 | 05/29/2011 10:47:03 | 751,986 | 05/13/2011 08:05:58 | 36 | 10 | Best book for programming Android app with NFC technology | anyone knows what is the best book for programming Android app expecially that explains NFC technologies? or if I wanted to learn to use accelerometer too...? I don't know where to start!
Thank you! | android | books | accelerometer | nfc | null | 09/10/2011 19:17:44 | off topic | Best book for programming Android app with NFC technology
===
anyone knows what is the best book for programming Android app expecially that explains NFC technologies? or if I wanted to learn to use accelerometer too...? I don't know where to start!
Thank you! | 2 |
3,809,623 | 09/28/2010 04:09:18 | 460,167 | 09/28/2010 04:09:18 | 1 | 0 | Open source fonts | Are there any good open source fonts to use in CSS. | css | open-source | fonts | null | null | 09/28/2010 06:16:52 | not a real question | Open source fonts
===
Are there any good open source fonts to use in CSS. | 1 |
10,144,695 | 04/13/2012 16:27:44 | 1,238,288 | 02/28/2012 16:06:42 | 46 | 1 | Java: String replace doesn't find | mystring.replace() doesnt find everything in my text e.g:
replace = (CalendarInfo.Monday + " " + String.valueOf(dayofmonth) + " " + String.valueOf(CalendarInfo.Month[monthofyear]).toString());
str= str.replace(replace, "Hello");
Ive check the str and the replace but replace still doesnt do a... | java | string | replace | str-replace | null | 04/14/2012 02:22:35 | too localized | Java: String replace doesn't find
===
mystring.replace() doesnt find everything in my text e.g:
replace = (CalendarInfo.Monday + " " + String.valueOf(dayofmonth) + " " + String.valueOf(CalendarInfo.Month[monthofyear]).toString());
str= str.replace(replace, "Hello");
Ive check the str and th... | 3 |
966,382 | 06/08/2009 18:58:32 | 59,941 | 01/28/2009 21:17:13 | 165 | 7 | Should I learn on the iPhone App Dev 3.0 or not | I think the 3.0 update is coming out in July 09, that is about 30 days away.
Coming from a C# background, I am learning objective C and my way around a mac.
**Should I start learning with the 2.2 or 3.0?** | iphone | null | null | null | null | 01/09/2012 18:13:45 | too localized | Should I learn on the iPhone App Dev 3.0 or not
===
I think the 3.0 update is coming out in July 09, that is about 30 days away.
Coming from a C# background, I am learning objective C and my way around a mac.
**Should I start learning with the 2.2 or 3.0?** | 3 |
10,118,794 | 04/12/2012 06:53:03 | 1,077,457 | 12/02/2011 13:19:40 | 196 | 15 | Storing credit card information for recurring usage and retrieve it when it necessary? | I am developing an e-commerce website where some customers will be making frequent online purchases. With that said, I am trying to find a solution that will allow me to securely store credit card information, using Website Payments Pro, so customers do not need to re-enter credit card information every time that they ... | payment-gateway | credit-card | information-retrieval | recurring | third-party-api | null | open | Storing credit card information for recurring usage and retrieve it when it necessary?
===
I am developing an e-commerce website where some customers will be making frequent online purchases. With that said, I am trying to find a solution that will allow me to securely store credit card information, using Website Paym... | 0 |
4,825,821 | 01/28/2011 07:20:51 | 319,077 | 04/17/2010 05:40:52 | 21 | 0 | stringstream operator<< crash (malloc_consolidate ) | Program terminated with signal 11, Segmentation fault.
#0 0x0000003663c70485 in malloc_consolidate () from /lib64/libc.so.6
(gdb) bt
#0 0x0000003663c70485 in malloc_consolidate () from /lib64/libc.so.6
#1 0x0000003663c72a6c in _int_malloc () from /lib64/libc.so.6
#2 0x0000003663c74cde i... | c++ | multithreading | stl | null | null | null | open | stringstream operator<< crash (malloc_consolidate )
===
Program terminated with signal 11, Segmentation fault.
#0 0x0000003663c70485 in malloc_consolidate () from /lib64/libc.so.6
(gdb) bt
#0 0x0000003663c70485 in malloc_consolidate () from /lib64/libc.so.6
#1 0x0000003663c72a6c in _int_mall... | 0 |
8,395,829 | 12/06/2011 05:40:02 | 859,799 | 07/23/2011 23:50:40 | 21 | 0 | Create a domain search availablity | I need to know if there is a way on how to create PHP-based domain search availability. Or if possible , a way to search domain via whois. Thanks | php | search | domain | null | null | 12/06/2011 06:34:48 | not a real question | Create a domain search availablity
===
I need to know if there is a way on how to create PHP-based domain search availability. Or if possible , a way to search domain via whois. Thanks | 1 |
4,696,618 | 01/14/2011 22:22:00 | 576,286 | 01/14/2011 22:22:00 | 1 | 0 | Is Haskell a Lisp? | I've been reading The Haskell Road to Logic, Maths and Programming by Doets and Eijck 2004. It seems to be a well respected book, but I was struck when it claims that Haskell is a member of the Lisp family. Would anyone else agree with that? I would characterise Lisps with s-expressions, impure functions, and lists as ... | haskell | lisp | null | null | null | 12/27/2011 23:44:00 | not constructive | Is Haskell a Lisp?
===
I've been reading The Haskell Road to Logic, Maths and Programming by Doets and Eijck 2004. It seems to be a well respected book, but I was struck when it claims that Haskell is a member of the Lisp family. Would anyone else agree with that? I would characterise Lisps with s-expressions, impure ... | 4 |
4,006,854 | 10/24/2010 01:43:20 | 485,365 | 10/23/2010 23:31:19 | 1 | 0 | Qt C++ tcp client with python twisted server | I'm trying to connect a very basic twisted "hello world" server with a basic Qt tcp client.
The client uses these Signals:
connect(&socket, SIGNAL(connected()), this, SLOT(startTransfer()));
connect(&socket, SIGNAL(readyRead()), this, SLOT(readServer()));
and then readServer() looks like this:
... | c++ | python | qt | twisted | null | null | open | Qt C++ tcp client with python twisted server
===
I'm trying to connect a very basic twisted "hello world" server with a basic Qt tcp client.
The client uses these Signals:
connect(&socket, SIGNAL(connected()), this, SLOT(startTransfer()));
connect(&socket, SIGNAL(readyRead()), this, SLOT(readServer()));... | 0 |
3,351,397 | 07/28/2010 09:08:42 | 395,169 | 07/18/2010 13:41:54 | 1 | 0 | How to convert configuration web.config from Untiy 1.2.* to Unity 2.0.* | In Unity 1.2, I had this code in web.config
> <type type="IRouteRegistry" mapTo="TownHall.Mvc.Routing.TownHallRoutes,TownHall.Mvc">
> <typeConfig extensionType="Microsoft.Practices.Unity.Configuration.TypeInjectionElement,Microsoft.Practices.Unity.Configuration">
> <constructor>... | c# | configuration | web-config | unity | null | null | open | How to convert configuration web.config from Untiy 1.2.* to Unity 2.0.*
===
In Unity 1.2, I had this code in web.config
> <type type="IRouteRegistry" mapTo="TownHall.Mvc.Routing.TownHallRoutes,TownHall.Mvc">
> <typeConfig extensionType="Microsoft.Practices.Unity.Configuration.TypeInjectionEle... | 0 |
2,310,874 | 02/22/2010 12:45:34 | 163,534 | 08/26/2009 13:45:27 | 3,379 | 241 | Silverlight and n-Tier Development - -How is it done? | I've asked several questions on Silverlight the last day or two (I have no experience with it), and I've had some high-level questions answered. I have another high-level question. How is N-Tier development done with Silverlight? What I am considering is a browser based UI and then a c# back-end containing all the busi... | silverlight | null | null | null | null | null | open | Silverlight and n-Tier Development - -How is it done?
===
I've asked several questions on Silverlight the last day or two (I have no experience with it), and I've had some high-level questions answered. I have another high-level question. How is N-Tier development done with Silverlight? What I am considering is a brow... | 0 |
7,102,057 | 08/18/2011 03:30:29 | 838,103 | 07/11/2011 01:35:49 | 23 | 3 | Good C# textbook for 1st year computer science students | I am a tutor for a 1st year computer science course that uses a C# textbook that is not specifically designed for beginning programmers.
The course teaches the C# programming language using Visual Studio 2010 as well as introducing fundamental computer science topics such as binary, logic, algorithms, etc.
I chec... | c# | visual-studio | computer-science | null | null | 10/03/2011 01:07:07 | not constructive | Good C# textbook for 1st year computer science students
===
I am a tutor for a 1st year computer science course that uses a C# textbook that is not specifically designed for beginning programmers.
The course teaches the C# programming language using Visual Studio 2010 as well as introducing fundamental computer sci... | 4 |
11,707,306 | 07/29/2012 06:53:09 | 1,490,688 | 06/29/2012 08:39:25 | 16 | 0 | i need to define a vector class in java without usinig .util class | - Vector: Implement a class Vector. a vector is an ordered list of elements
which may grow or shrink in size. Elements are objects.
Class Vector {
pubic Vector (int initialSize);
/**
* Adds the given object to the end of vector.
*/
public void add(Object elem);
/**
* Inserts the g... | java | vector | null | null | null | 07/29/2012 07:12:15 | not a real question | i need to define a vector class in java without usinig .util class
===
- Vector: Implement a class Vector. a vector is an ordered list of elements
which may grow or shrink in size. Elements are objects.
Class Vector {
pubic Vector (int initialSize);
/**
* Adds the given object to the end of vector... | 1 |
11,230,112 | 06/27/2012 15:42:40 | 533,426 | 12/07/2010 09:16:18 | 424 | 7 | Partly changing the UI of an old web application who used JPrototype to ...? | Well we use jprototype and a bit of scriptaculous for doing some basic javascripting like
- highlighting default buttons
- autocomplete drop downs
- select on focus on an input field
- filtering in tables to filter away table rows
- searching in select lists (e.g. you have nationalities and type in netherla... | javascript | jquery-ui | extjs | prototypejs | mootools | 06/27/2012 16:02:16 | not constructive | Partly changing the UI of an old web application who used JPrototype to ...?
===
Well we use jprototype and a bit of scriptaculous for doing some basic javascripting like
- highlighting default buttons
- autocomplete drop downs
- select on focus on an input field
- filtering in tables to filter away table ro... | 4 |
3,526,802 | 08/19/2010 22:29:12 | 328,397 | 04/28/2010 23:54:42 | 291 | 10 | Forcing closed an open file by C# | I found a similar question [here][1] but it was closed/accepted with an answer of "don't do that".
I'm in a situation where I don't care what happens to the other applications, I want to take a file that may be locked by others (rudely if needed) and have my way with it. I may need to move, rename, or delete this f... | c# | file-io | locking | move | null | null | open | Forcing closed an open file by C#
===
I found a similar question [here][1] but it was closed/accepted with an answer of "don't do that".
I'm in a situation where I don't care what happens to the other applications, I want to take a file that may be locked by others (rudely if needed) and have my way with it. I ma... | 0 |
11,280,131 | 07/01/2012 06:53:07 | 69,834 | 02/23/2009 10:29:38 | 260 | 3 | Changing the id-attribute of a list item with jquery | When I click on the list-item below (li) I change the id of it from sprite-heart to sprite-stars. That works nice.
But once I click the li again it handles the function like it is sprite-heart but the function should be bypassed now that the list item is sprite-stars.
How can I change this?
<li><a class=... | jquery | jquery-ajax | null | null | null | null | open | Changing the id-attribute of a list item with jquery
===
When I click on the list-item below (li) I change the id of it from sprite-heart to sprite-stars. That works nice.
But once I click the li again it handles the function like it is sprite-heart but the function should be bypassed now that the list item is spr... | 0 |
8,208,534 | 11/21/2011 07:30:19 | 1,057,323 | 11/21/2011 07:23:25 | 1 | 0 | Point System - Weekly Streak | someone please help me! Basically a weekly counter starts every monday a user has to login 7 consecutive days for him to earn 1pt for week one, if he/she was able to login for 7 consecutive days again (total of 14 days since start of week 1) he will now have 2 points. Now on the 3rd day of the 3rd week he wasn't able t... | php | mysql | date | calendar | timestamp | 11/21/2011 12:34:38 | not a real question | Point System - Weekly Streak
===
someone please help me! Basically a weekly counter starts every monday a user has to login 7 consecutive days for him to earn 1pt for week one, if he/she was able to login for 7 consecutive days again (total of 14 days since start of week 1) he will now have 2 points. Now on the 3rd da... | 1 |
4,418,589 | 12/11/2010 19:43:35 | 539,112 | 12/11/2010 19:43:35 | 1 | 0 | Why TOR network is not capable of route UDP packets? | Why TOR network is not capable of route UDP packets? | networking | udp | privacy | tor | null | 12/13/2010 03:57:00 | off topic | Why TOR network is not capable of route UDP packets?
===
Why TOR network is not capable of route UDP packets? | 2 |
8,285,110 | 11/27/2011 11:08:16 | 940,271 | 09/12/2011 09:57:17 | 35 | 1 | In what sequence should i learn these technologies for building a web-app using django? | I am working on building a web-application using Django.
Since I'm new to working on web-apps for production, there are a lot of technologies I've come across that I need to learn for a scalable, easy-to-deploy & easy-to-maintain site.
The different things I need to study are -
- JSON
- Tastypie
- Chef
- Jen... | django | deployment | null | null | null | 11/28/2011 11:05:39 | not constructive | In what sequence should i learn these technologies for building a web-app using django?
===
I am working on building a web-application using Django.
Since I'm new to working on web-apps for production, there are a lot of technologies I've come across that I need to learn for a scalable, easy-to-deploy & easy-to-maint... | 4 |
10,913,788 | 06/06/2012 11:59:19 | 551,089 | 12/09/2009 15:07:38 | 1 | 0 | Should I learn WPF? Is it a good time investment? | this is my first question in here :)
I am a C# developer, not an expert, but still learning and growing. I want to learn WPF so I can creat application with nice UI. However I am afraid that, after I spend my time learning it, it is gonna be obselete, you know with windows 8 and metro application and stuff, so my qu... | wpf | null | null | null | null | 06/06/2012 12:06:21 | not constructive | Should I learn WPF? Is it a good time investment?
===
this is my first question in here :)
I am a C# developer, not an expert, but still learning and growing. I want to learn WPF so I can creat application with nice UI. However I am afraid that, after I spend my time learning it, it is gonna be obselete, you know w... | 4 |
8,182,062 | 11/18/2011 11:59:29 | 1,053,715 | 11/18/2011 11:44:53 | 1 | 0 | redirection of 2 domains to one hosting | I think my question is specific.
I have virtual server with the website www.genealogija.lt on www.avita.lt.
The problem is that this owner keep our domain and is going to sell it. The files are also there.
I have registered new domain for myself and redirected to the same server ns1.avita.lt and so on.
Owner... | domain | null | null | null | null | 11/19/2011 05:10:09 | off topic | redirection of 2 domains to one hosting
===
I think my question is specific.
I have virtual server with the website www.genealogija.lt on www.avita.lt.
The problem is that this owner keep our domain and is going to sell it. The files are also there.
I have registered new domain for myself and redirected to the... | 2 |
8,161,916 | 11/17/2011 03:57:14 | 916,059 | 01/11/2011 13:50:39 | 24 | 0 | How to post the url and picture in wall after users clicks like or recomment button? | I want to post the url and picture in wall after users clicks like or recomment button. Please suggest if this is possible. | facebook | application | post | like | recommend | 11/21/2011 06:07:01 | not a real question | How to post the url and picture in wall after users clicks like or recomment button?
===
I want to post the url and picture in wall after users clicks like or recomment button. Please suggest if this is possible. | 1 |
10,599,082 | 05/15/2012 10:45:28 | 1,202,434 | 02/10/2012 16:16:31 | 59 | 1 | how to use Linq or extension methods to satisy this condition on CanExecute? | I have an `ObservableCollection<Data> Items`
Data has a "Columns" property on it which is again an `ObservableCollection<Column>`.
A Column object has a boolean property called "IsActive".
I have a case where I need to determine if all "Items" have the "Columns" property and if so,
all the columns should eit... | c# | wpf | null | null | null | null | open | how to use Linq or extension methods to satisy this condition on CanExecute?
===
I have an `ObservableCollection<Data> Items`
Data has a "Columns" property on it which is again an `ObservableCollection<Column>`.
A Column object has a boolean property called "IsActive".
I have a case where I need to determine ... | 0 |
7,312,707 | 09/05/2011 21:02:00 | 427,145 | 08/21/2010 14:53:59 | 122 | 1 | asp.net user Authorization and Authentication | I want to write a web application and I am trying to figure out what are my possibilites regarding user Authorization and Authentication, for what i read so far:
1. using asp.net membership and role management
2. using oauth or openId controls
3. implementing myself this portion (this looks like a lot of hard wor... | asp.net | authentication | asp.net-membership | authorization | null | 09/06/2011 01:39:12 | not constructive | asp.net user Authorization and Authentication
===
I want to write a web application and I am trying to figure out what are my possibilites regarding user Authorization and Authentication, for what i read so far:
1. using asp.net membership and role management
2. using oauth or openId controls
3. implementing mys... | 4 |
6,798,946 | 07/23/2011 07:22:17 | 554,683 | 12/27/2010 05:44:59 | 504 | 31 | possible to take picture without launching the front camera in iphone sdk | is possible to take picture without launching the front camera in iphone device
if yes means, give that sample tutorial for refrence.
i want to take picture with front camera . but user will not see the camera screen.
in back end it have to take pictures and save in photo album | iphone | iphone-sdk-4.0 | uiimagepickercontroller | null | null | null | open | possible to take picture without launching the front camera in iphone sdk
===
is possible to take picture without launching the front camera in iphone device
if yes means, give that sample tutorial for refrence.
i want to take picture with front camera . but user will not see the camera screen.
in back end it ... | 0 |
9,396,157 | 02/22/2012 13:53:14 | 568,068 | 01/08/2011 14:11:50 | 6 | 0 | PHP file browser mod_rewrite | I'm developing a fairly simple file browser in PHP.
The files are located in /home/web/www/archive
The request that should match corresponding file under archive is /files
/files/sub/file.txt => /home/web/www/archive/sub/file.txt (dump as is)
/files/file.png => /home/web/www/archive/file.png (dump as ... | php | apache | .htaccess | mod-rewrite | apache2 | 02/23/2012 17:24:11 | off topic | PHP file browser mod_rewrite
===
I'm developing a fairly simple file browser in PHP.
The files are located in /home/web/www/archive
The request that should match corresponding file under archive is /files
/files/sub/file.txt => /home/web/www/archive/sub/file.txt (dump as is)
/files/file.png => /home/... | 2 |
3,796,298 | 09/26/2010 01:53:56 | 1,219,414 | 06/12/2010 08:27:44 | 463 | 4 | Pass a delegate itself as a parameter | Is it possible in C# to pass a delegate or event to a method so that the method can assign a new event handler to that delegate with `+=` (and not so that the method can call the delegate)? | c# | null | null | null | null | 09/26/2010 08:05:50 | not a real question | Pass a delegate itself as a parameter
===
Is it possible in C# to pass a delegate or event to a method so that the method can assign a new event handler to that delegate with `+=` (and not so that the method can call the delegate)? | 1 |
8,660,211 | 12/28/2011 19:14:07 | 1,031,417 | 11/05/2011 18:29:08 | 200 | 5 | are there any hosting servers enables mutable ip addresses? | i want to run a php server side code, on apache. are there any servers suppliers which enables your code opens ports using diffrent ips?
for example for 5 minutes my code will use this ip:
213.168.0.17
and after that it will switch the ip and will use this one (e.g):
213.198.0.10
and then after 5... | php | apache | null | null | null | 12/28/2011 22:04:05 | not a real question | are there any hosting servers enables mutable ip addresses?
===
i want to run a php server side code, on apache. are there any servers suppliers which enables your code opens ports using diffrent ips?
for example for 5 minutes my code will use this ip:
213.168.0.17
and after that it will switch the ip and... | 1 |
9,673,852 | 03/12/2012 19:53:12 | 916,456 | 08/28/2011 13:33:04 | 98 | 5 | Fedora 16: Reboot hangs (Failed to get D-Bus connection) | I recently performed an upgrade from Fedora 15 to 16 using yum's repo sync option. I know this is not recommended, but I have shell only access and no X environment installed so my options are limited.
At any rate, it seems to have caused some problems on the server, not the least of which is that it hangs on reboot... | fedora | dbus | reboot | null | null | 03/13/2012 20:05:21 | off topic | Fedora 16: Reboot hangs (Failed to get D-Bus connection)
===
I recently performed an upgrade from Fedora 15 to 16 using yum's repo sync option. I know this is not recommended, but I have shell only access and no X environment installed so my options are limited.
At any rate, it seems to have caused some problems on... | 2 |
10,787,209 | 05/28/2012 15:42:37 | 1,115,979 | 12/26/2011 07:04:06 | 455 | 10 | Vim option for automatically inserting ">" at start of line | Suppose I have a file `test.c` containing the following:
// line 1
// line 2
If I open this file in Vim and navigate to the first line in normal mode, then type `o`, I get the following:
// line 1
//
// line 2
Now suppose I have a file `test.lhs` (literate Haskell) containing
... | vim | null | null | null | null | null | open | Vim option for automatically inserting ">" at start of line
===
Suppose I have a file `test.c` containing the following:
// line 1
// line 2
If I open this file in Vim and navigate to the first line in normal mode, then type `o`, I get the following:
// line 1
//
// line 2
Now suppo... | 0 |
10,336,538 | 04/26/2012 15:26:28 | 330,658 | 05/02/2010 03:51:50 | 811 | 39 | broken UpdateManager | I'm trying since hours to upgrade ubuntu from v 10.4 to v 12 therefore I use *do-release-upgrade* command, but when I want to start I get the following message:
Traceback (most recent call last):
File "/usr/bin/do-release-upgrade", line 10, in <module>
from UpdateManager.Core.DistUpgradeFetcherCo... | ubuntu | upgrade | apt-get | null | null | null | open | broken UpdateManager
===
I'm trying since hours to upgrade ubuntu from v 10.4 to v 12 therefore I use *do-release-upgrade* command, but when I want to start I get the following message:
Traceback (most recent call last):
File "/usr/bin/do-release-upgrade", line 10, in <module>
from UpdateManager... | 0 |
2,551,207 | 03/31/2010 07:41:38 | 298,785 | 03/22/2010 05:41:15 | 13 | 0 | Using CONNECT BY to get all parents and one child in Hierarchy through SQL query in Oracle | I was going through some previous posts on CONNECT BY usage. What I need to find is that what to do if I want to get all the parents (i.e, up to root) and just one child for a node, say 4.
It seems Like I will have to use union of the following two:-
SELECT *
FROM hierarchy
START WITH ... | sql | oracle | hierarchy | null | null | null | open | Using CONNECT BY to get all parents and one child in Hierarchy through SQL query in Oracle
===
I was going through some previous posts on CONNECT BY usage. What I need to find is that what to do if I want to get all the parents (i.e, up to root) and just one child for a node, say 4.
It seems Like I will have to use... | 0 |
9,992,198 | 04/03/2012 11:20:24 | 1,278,087 | 03/19/2012 07:56:49 | 8 | 1 | Login with Username & Password saved in CoreData | I have a Registration and a Login ViewController. Registration saves Username, Password, Nickname and Email in CoreDara. In my LoginViewController i check CoreData if the user exists. If he exists he can go on. if not he can not go on.
So far it works fine.
My Problem:
Example: I registrate a user -> i login... | iphone | ios | xcode | core-data | null | 04/16/2012 20:37:59 | not a real question | Login with Username & Password saved in CoreData
===
I have a Registration and a Login ViewController. Registration saves Username, Password, Nickname and Email in CoreDara. In my LoginViewController i check CoreData if the user exists. If he exists he can go on. if not he can not go on.
So far it works fine.
... | 1 |
10,630,776 | 05/17/2012 06:17:41 | 1,400,272 | 05/17/2012 06:15:09 | 1 | 0 | Can we use coding of android 3.0 for android 2.2? | If No then please elaborate the difference and which classes will not work in 2.2.... | android | null | null | null | null | 05/17/2012 11:07:44 | not constructive | Can we use coding of android 3.0 for android 2.2?
===
If No then please elaborate the difference and which classes will not work in 2.2.... | 4 |
11,724,802 | 07/30/2012 15:41:01 | 511,518 | 11/18/2010 00:38:37 | 44 | 0 | Why has throwing events gone out of favor/style in .NET? | Lately I've been noticing that throwing custom events has gone of the favor / style in .NET and I'm wondering why (and what takes it's place). | c# | .net | c#-4.0 | null | null | 07/30/2012 15:45:18 | not constructive | Why has throwing events gone out of favor/style in .NET?
===
Lately I've been noticing that throwing custom events has gone of the favor / style in .NET and I'm wondering why (and what takes it's place). | 4 |
9,547,938 | 03/03/2012 16:59:28 | 884,521 | 08/08/2011 17:24:32 | 374 | 13 | php mysql select with array in to array | I need to select ids from database with arrays.
my english not good. I think the best way to show my codes
the form result `print_r($malayalam);` like this `Array ( [0] => helo [1] => hi[2] => how)`
I need to select its ids from table. my code is not correct. any way let me show you here
$results=mysql_que... | php | mysql | php5 | phpmyadmin | null | null | open | php mysql select with array in to array
===
I need to select ids from database with arrays.
my english not good. I think the best way to show my codes
the form result `print_r($malayalam);` like this `Array ( [0] => helo [1] => hi[2] => how)`
I need to select its ids from table. my code is not correct. any way... | 0 |
680,945 | 03/25/2009 10:05:43 | 56,092 | 01/17/2009 02:17:39 | 4,329 | 248 | Which is the best UI from the movies | I see movies as a rich vein of design ideas to make our interaction with computers better. I'm sure there are many brilliant examples out there, I've put in some of my favourites, I'd like you to let your imagination and memory run free and feed the wiki.
Clearly HAL had a pretty good UI, but it lacks much that we c... | film | user-interface | design | future | null | 05/01/2012 02:23:11 | not constructive | Which is the best UI from the movies
===
I see movies as a rich vein of design ideas to make our interaction with computers better. I'm sure there are many brilliant examples out there, I've put in some of my favourites, I'd like you to let your imagination and memory run free and feed the wiki.
Clearly HAL had a p... | 4 |
7,166,953 | 08/23/2011 20:10:43 | 904,715 | 08/21/2011 16:10:31 | 11 | 0 | JCheckBox Selected Event Handler Question | I have a Java check box next to a JTextBox. When the check box gets selected, I want the text box to be enabled and when it isn't, I don't want it to be selected. I tried an if statement with the isSelected() command, but it didn't do anything... any help? | java | events | textbox | handler | enabled | null | open | JCheckBox Selected Event Handler Question
===
I have a Java check box next to a JTextBox. When the check box gets selected, I want the text box to be enabled and when it isn't, I don't want it to be selected. I tried an if statement with the isSelected() command, but it didn't do anything... any help? | 0 |
8,887,164 | 01/16/2012 22:26:46 | 1,072,379 | 11/29/2011 23:25:14 | 6 | 0 | How can I find My thread in System? | I have task to write servlet, wich must start thread in init() and correctly stop it after stop server. Thread download web page, parse it and set data to MySQL.
For stopping thread i use destroy() method of servlet. In this method I set condition for ending my thread.
Is it correctly?
Can I somewhere in my Win... | java | multithreading | servlets | null | null | null | open | How can I find My thread in System?
===
I have task to write servlet, wich must start thread in init() and correctly stop it after stop server. Thread download web page, parse it and set data to MySQL.
For stopping thread i use destroy() method of servlet. In this method I set condition for ending my thread.
Is it... | 0 |
3,685,760 | 09/10/2010 15:07:48 | 361,204 | 06/08/2010 09:34:18 | 253 | 1 | PHP: Output data before and after sleep()? | This is purely for learning more about output buffering and nothing more. What I wish to do is echo a string to the browser, sleep 10 seconds, and then echo something else. Normally the browser would wait the full 10 seconds and then post the whole result, how I would I stop that? An example:
ob_start();
ec... | php | sleep | output-buffering | ob-start | null | null | open | PHP: Output data before and after sleep()?
===
This is purely for learning more about output buffering and nothing more. What I wish to do is echo a string to the browser, sleep 10 seconds, and then echo something else. Normally the browser would wait the full 10 seconds and then post the whole result, how I would I s... | 0 |
11,304,311 | 07/03/2012 04:06:05 | 1,335,299 | 04/16/2012 01:09:56 | 18 | 0 | How to Remove a Database Entry when a Link is Clicked | I wanted to expand my PHP skills so I read through a tutorial on tutorialzine. I understand the instructions presented in the tutorial. But when it comes to expanding on it I seem to be lacking a connection. My main goal was to simply delete a selected note when an a tag is clicked. However I don't know how to select t... | php | null | null | null | null | null | open | How to Remove a Database Entry when a Link is Clicked
===
I wanted to expand my PHP skills so I read through a tutorial on tutorialzine. I understand the instructions presented in the tutorial. But when it comes to expanding on it I seem to be lacking a connection. My main goal was to simply delete a selected note whe... | 0 |
10,598,862 | 05/15/2012 10:32:36 | 1,182,387 | 02/01/2012 09:57:55 | 61 | 1 | Can't open Xpages in database after updating extlib | I've designed an application using earlier version of extlib from OpenNTF. Now I've updated the extlib, and when I try to open an Xpage in the database I get the following error:
Could not open the editor: An unexpected exception was thrown.
java.lang.NullPointerException | xpages | lotus | domino | null | null | null | open | Can't open Xpages in database after updating extlib
===
I've designed an application using earlier version of extlib from OpenNTF. Now I've updated the extlib, and when I try to open an Xpage in the database I get the following error:
Could not open the editor: An unexpected exception was thrown.
java.l... | 0 |
4,099,238 | 11/04/2010 17:08:38 | 205,930 | 11/08/2009 06:44:45 | 963 | 28 | How to calculate eastern time using Javascript Date object? | I'm working on a personal project involving Javascript, and as part of that project, I want to grab the current date (including time) and display it accordingly. No big deal right? Well, the *deal* is that I want to return the time & date in *Eastern Daylight TIme*, no matter where in the world the IP is.
I'm tryin... | javascript | date | null | null | null | null | open | How to calculate eastern time using Javascript Date object?
===
I'm working on a personal project involving Javascript, and as part of that project, I want to grab the current date (including time) and display it accordingly. No big deal right? Well, the *deal* is that I want to return the time & date in *Eastern Dayl... | 0 |
2,098,945 | 01/20/2010 03:58:23 | 232,196 | 12/15/2009 15:32:47 | 7 | 1 | Most efficient way to manage a master table in a Java based parser | I'm on the initial phase of development of a Java-based parser. This parser will provide the ability of parsing a set of text files following the same structure (containing multiple properties delimited by the same character). The results will be displayed on a table on the GUI (Swing based),and I'm trying to decide wh... | java | swing | null | null | null | null | open | Most efficient way to manage a master table in a Java based parser
===
I'm on the initial phase of development of a Java-based parser. This parser will provide the ability of parsing a set of text files following the same structure (containing multiple properties delimited by the same character). The results will be d... | 0 |
32,964 | 08/28/2008 18:11:55 | 1,438 | 08/15/2008 15:44:20 | 536 | 34 | Should a wireless network be open? | Obviously there are security reasons to close a wireless network and it's not fun if someone is stealing your bandwidth. But how much of a problem is this?
To address the first concern: Does a device on the same wireless network have any special privileges or access that an other device on the internet has? (Assum... | wireless | networking | security | null | null | 11/08/2011 07:04:55 | off topic | Should a wireless network be open?
===
Obviously there are security reasons to close a wireless network and it's not fun if someone is stealing your bandwidth. But how much of a problem is this?
To address the first concern: Does a device on the same wireless network have any special privileges or access that an o... | 2 |
9,850,780 | 03/24/2012 09:58:15 | 170,931 | 09/09/2009 15:33:15 | 1,864 | 14 | How to determine the SQL query tuing aim? | How to determine the SQL query tuning aim? If a query takes 20 minutes before I modify it, now it takes 15 minutes, is it good enough? May be the query can be changed further and will take just 1 minute, but who knows? Anyone can give some ideas? Thanks! | sql | methodology | sql-tuning | null | null | 03/25/2012 05:01:13 | not constructive | How to determine the SQL query tuing aim?
===
How to determine the SQL query tuning aim? If a query takes 20 minutes before I modify it, now it takes 15 minutes, is it good enough? May be the query can be changed further and will take just 1 minute, but who knows? Anyone can give some ideas? Thanks! | 4 |
9,903,898 | 03/28/2012 08:38:35 | 645,155 | 03/04/2011 17:10:47 | 44 | 0 | Reliable PHP framework for backend business solutions? | Short project summary:
Me and 3 other developers are developing a scheduling website for a large company.
We're planning to split the solution into two parts, a frontend and a backend. The frontend will be a website for presenting the schedules, and makes calls to the backend for data storage as well as logic.
The... | php | api | php5 | frameworks | null | 03/28/2012 09:02:16 | not constructive | Reliable PHP framework for backend business solutions?
===
Short project summary:
Me and 3 other developers are developing a scheduling website for a large company.
We're planning to split the solution into two parts, a frontend and a backend. The frontend will be a website for presenting the schedules, and makes ... | 4 |
9,208,066 | 02/09/2012 09:16:59 | 259,130 | 01/26/2010 10:08:00 | 707 | 113 | (nix) Portable way to get current working dir give a process(pid)? | Is there a portable way(at least among *nix os, portability to windows is nice but not needed) to get the current working dir of a pid?
For Linux its just readlink the symbolic link in proc(/proc/${pid}/cwd)
According to [this][1] in Freebsd it is `fstat -p $PID.`
[A version of this question for OS X][2] recom... | process | cross-platform | posix | pid | current-dir | 02/12/2012 07:54:58 | off topic | (nix) Portable way to get current working dir give a process(pid)?
===
Is there a portable way(at least among *nix os, portability to windows is nice but not needed) to get the current working dir of a pid?
For Linux its just readlink the symbolic link in proc(/proc/${pid}/cwd)
According to [this][1] in Freebsd ... | 2 |
4,591,004 | 01/04/2011 05:50:17 | 484,111 | 10/22/2010 10:50:20 | 4 | 0 | delphi 7 TRichtEdit | I am having .rtf extension file that's contents in tabular format, Now I want to export this .rtf file in TRichEdit control (only contents in formatted order not table grid-line), means want to hide gridlines after exporting.
pls tell me solution for Delphi7
Thnks
Shashi Jaiswal | trichedit | null | null | null | null | null | open | delphi 7 TRichtEdit
===
I am having .rtf extension file that's contents in tabular format, Now I want to export this .rtf file in TRichEdit control (only contents in formatted order not table grid-line), means want to hide gridlines after exporting.
pls tell me solution for Delphi7
Thnks
Shashi Jaiswal | 0 |
7,836,534 | 10/20/2011 13:19:26 | 70,448 | 02/24/2009 16:09:55 | 97 | 1 | Huge variance when benchmarking Java code unless sleep() is used | I am benchmarking Java functions over a local network via Object serialization (ObjectInputStream, ObjectOutputStream).
On a system with zero load this currently gives me a huge variance with results like this:
- Test 1: 2.23
- Test 2: 1.58
- Test 3: 2.08 seconds
I can get better numbers using sleep() cal... | java | testing | benchmarking | sleep | variance | null | open | Huge variance when benchmarking Java code unless sleep() is used
===
I am benchmarking Java functions over a local network via Object serialization (ObjectInputStream, ObjectOutputStream).
On a system with zero load this currently gives me a huge variance with results like this:
- Test 1: 2.23
- Test 2: 1.58
... | 0 |
5,978,128 | 05/12/2011 12:40:12 | 750,556 | 05/12/2011 12:40:12 | 1 | 0 | How to fix this illegal start of expression? | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* CurrencyCalculator.java
*
* Created on May 3, 2011, 9:57:40 AM
*/
/**
*
* @author ITAdmin
*/
import java.sql.*;
import javax.swing.*;
public class CurrencyCalculator extends javax.swing.JFr... | expression | start | illegal | null | null | 05/12/2011 13:51:03 | not a real question | How to fix this illegal start of expression?
===
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* CurrencyCalculator.java
*
* Created on May 3, 2011, 9:57:40 AM
*/
/**
*
* @author ITAdmin
*/
import java.sql.*;
import javax.swing.*;
publi... | 1 |
6,843,001 | 07/27/2011 10:42:10 | 865,156 | 07/27/2011 10:25:41 | 1 | 0 | need to stote object array in zend framework | I need to store my object array on php server so that it can be available to every user who logged in. and every one change array value.
for example i have a form for create quotation..
when a user assign a quotation no to a quotation and it is not stored in database.
so please help how i can prevent that no an... | zend-framework | p | null | null | null | 07/27/2011 15:13:44 | not a real question | need to stote object array in zend framework
===
I need to store my object array on php server so that it can be available to every user who logged in. and every one change array value.
for example i have a form for create quotation..
when a user assign a quotation no to a quotation and it is not stored in databas... | 1 |
7,861,774 | 10/22/2011 18:38:23 | 173,922 | 09/15/2009 19:22:08 | 986 | 23 | python: how to determine default program associated with a given type, under windows | How do I find the program associated with a given file type using Python under Windows?
For example, given http I'd like python to determine the default browser. I can do this from a cmd prompt by running 'ftype http'. Windows gives me the full path to the browser.
I've tried:
subprocess.call(['http://www... | python | windows | null | null | null | null | open | python: how to determine default program associated with a given type, under windows
===
How do I find the program associated with a given file type using Python under Windows?
For example, given http I'd like python to determine the default browser. I can do this from a cmd prompt by running 'ftype http'. Windows... | 0 |
6,677,080 | 07/13/2011 09:53:12 | 863,257 | 04/28/2011 06:51:27 | 366 | 43 | list of android market to publish app | **hello friends**,
I need a publish my app in `different-different` market but not in `Android Market`. so simply I need a list of that can any one help me?
**Thanks
nik** | android | null | null | null | null | 07/13/2011 20:35:46 | off topic | list of android market to publish app
===
**hello friends**,
I need a publish my app in `different-different` market but not in `Android Market`. so simply I need a list of that can any one help me?
**Thanks
nik** | 2 |
7,611,972 | 09/30/2011 14:38:23 | 973,287 | 09/30/2011 14:33:46 | 1 | 0 | RPN Problems (Order of Operations) (JAVA) | I'm trying to make a simple calculator with order of operations.
I had read in the Internet and found the algorithm of RPN (Reverse Polish notation).
Lets take an example:
2 * 5 - 3 + 4
So I have 2 strings array: One for numbers, and one for operations:
String numsStrings{2, 5, 3, 4};
String actionsStri... | java | calculator | rpn | null | null | 10/01/2011 13:19:59 | too localized | RPN Problems (Order of Operations) (JAVA)
===
I'm trying to make a simple calculator with order of operations.
I had read in the Internet and found the algorithm of RPN (Reverse Polish notation).
Lets take an example:
2 * 5 - 3 + 4
So I have 2 strings array: One for numbers, and one for operations:
String... | 3 |
11,522,025 | 07/17/2012 12:00:07 | 1,504,434 | 07/05/2012 15:10:09 | 15 | 0 | PDO class design | I have the following class design for my PDO database access class. Please can someone confirm that this is good practice, or suggest improvements if necessary.
Thanks.
Database.php
class db{
private $conn;
public function __construct()
{
$this->conn = new PDO(...);
}
... | php | class | design | pdo | null | 07/17/2012 12:08:11 | off topic | PDO class design
===
I have the following class design for my PDO database access class. Please can someone confirm that this is good practice, or suggest improvements if necessary.
Thanks.
Database.php
class db{
private $conn;
public function __construct()
{
$this->conn = new PD... | 2 |
3,707,201 | 09/14/2010 08:26:03 | 447,109 | 09/14/2010 08:20:23 | 1 | 0 | If our company plans to buy software source code, maybe data recovery software, can we use it to create a new program without technology dependence? | A big problem, help me please.
Our company plans to buy data recovery software source code, and require a report about this. But I'm lack of such knowledge. Please tell me some ideas, such as how it works, the general market, or sth else. Thank u all! | source | null | null | null | null | 06/20/2012 21:09:33 | off topic | If our company plans to buy software source code, maybe data recovery software, can we use it to create a new program without technology dependence?
===
A big problem, help me please.
Our company plans to buy data recovery software source code, and require a report about this. But I'm lack of such knowledge. Please t... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.