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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
163,162 | 10/02/2008 15:58:21 | 2,470 | 08/22/2008 12:42:38 | 772 | 69 | Can you call Directory.GetFiles() with multiple filters? | I am trying to use the Directory.GetFiles() method to retrieve a list of files of multiple types, such as mp3's and jpg's. I have tried both of the following with no luck:
Directory.GetFiles("C:\\path", "*.mp3|*.jpg", SearchOption.AllDirectories);
Directory.GetFiles("C:\\path", "*.mp3;*.jpg", SearchOption.... | .net | null | null | null | null | null | open | Can you call Directory.GetFiles() with multiple filters?
===
I am trying to use the Directory.GetFiles() method to retrieve a list of files of multiple types, such as mp3's and jpg's. I have tried both of the following with no luck:
Directory.GetFiles("C:\\path", "*.mp3|*.jpg", SearchOption.AllDirectories);
... | 0 |
4,292,452 | 11/27/2010 15:47:56 | 422,039 | 08/16/2010 18:29:33 | 16 | 2 | Insert Fail because of wrong non-numeric character | hy
table:
create table Players (PlayerNo number (4) not null, Name varchar2(15), date_of_birth date,leagno varchar(4));
wrong insert:
insert into PLAYERS (PlayerNo,Name,date_of_birth,leagno) VALUES (1,'Philipp K','Jan-10-1999','1')
whats wrong?
error code:
Fehler beim Start in Zeile 1... | sql | oracle | null | null | null | null | open | Insert Fail because of wrong non-numeric character
===
hy
table:
create table Players (PlayerNo number (4) not null, Name varchar2(15), date_of_birth date,leagno varchar(4));
wrong insert:
insert into PLAYERS (PlayerNo,Name,date_of_birth,leagno) VALUES (1,'Philipp K','Jan-10-1999','1')
whats wro... | 0 |
9,981,751 | 04/02/2012 18:26:22 | 1,308,697 | 04/02/2012 18:04:38 | 1 | 0 | How to build C# without installing .net framework | We have tens of building machines that could be old or new. We need to build the C# code with .Net 3.5, but not all the Windows machines have this version. We cannot install any software onto the building machines either. Is there a way to achieve this? We are OK to copy files to the building machines and delete them a... | c# | null | null | null | null | 04/02/2012 18:28:17 | not a real question | How to build C# without installing .net framework
===
We have tens of building machines that could be old or new. We need to build the C# code with .Net 3.5, but not all the Windows machines have this version. We cannot install any software onto the building machines either. Is there a way to achieve this? We are OK t... | 1 |
3,582,741 | 08/27/2010 09:13:09 | 432,744 | 08/27/2010 09:13:09 | 1 | 0 | VBA Textbox loses focus on 'Alt-Gr' | I am experiencing a funny behaviour of Textboxes on a VBA Userform: On pressing Alt-Gr the box loses focus. This happens after running a bit of VBA initialization code for the form. The text box has neither initialization code nor event listeners. Starting the user form straight out of the IDE everything is fine.
I ... | vba | textbox | userform | null | null | 04/16/2012 19:08:02 | too localized | VBA Textbox loses focus on 'Alt-Gr'
===
I am experiencing a funny behaviour of Textboxes on a VBA Userform: On pressing Alt-Gr the box loses focus. This happens after running a bit of VBA initialization code for the form. The text box has neither initialization code nor event listeners. Starting the user form straight... | 3 |
151,974 | 09/30/2008 06:28:53 | 22,076 | 09/25/2008 09:44:49 | 73 | 2 | c++ blogs that you regularly follow? | What are all the c++ blogs that you follow
***Please add one url for one posting.*** | c++ | blogs | null | null | null | 08/19/2011 12:56:08 | not constructive | c++ blogs that you regularly follow?
===
What are all the c++ blogs that you follow
***Please add one url for one posting.*** | 4 |
5,501,730 | 03/31/2011 14:47:40 | 685,959 | 03/31/2011 14:47:40 | 1 | 0 | stl map with different value types? | Hello i stuck in a problem,
I eant to store References to different Objects in a map, but dont know how to define the map.
e.g:
map<string, & ObjectReferenceOfAnyKind> myList;
myList[ "keyA", stringA );
myList[ "keyBlist", vector );
myList[ "file", fileObject );
string &va... | templates | stl | map | null | null | null | open | stl map with different value types?
===
Hello i stuck in a problem,
I eant to store References to different Objects in a map, but dont know how to define the map.
e.g:
map<string, & ObjectReferenceOfAnyKind> myList;
myList[ "keyA", stringA );
myList[ "keyBlist", vector );
myList[ "fil... | 0 |
9,044,851 | 01/28/2012 11:18:05 | 345,901 | 05/20/2010 08:43:29 | 89 | 7 | HTTPS connection valid with Chrome and not valid with Firefox | I have a hard time understand why my certificate for SSL connection is directly valid with Chrome where it isn't with Firefox 9.
Test URL here : https://www.tkwk.be
Any help would be much appreciated.
Cheers,
Jk_ | firefox | ssl | null | null | null | 03/23/2012 23:30:58 | off topic | HTTPS connection valid with Chrome and not valid with Firefox
===
I have a hard time understand why my certificate for SSL connection is directly valid with Chrome where it isn't with Firefox 9.
Test URL here : https://www.tkwk.be
Any help would be much appreciated.
Cheers,
Jk_ | 2 |
8,329,661 | 11/30/2011 16:45:58 | 1,073,816 | 11/30/2011 16:40:07 | 1 | 0 | In SQL Server, I want to use the same query for all the tables in a database | I need to find a way to perform the same query to all the tables in an specific database.
For example, if my database "DB" has the tables "Table1", "Table2", "Table3", "Table4" and "Table5". I want to perform the query 'Select * From <All 5 Tables> '
Anyone knows how to do this ??? | sql | query | table | server | all | 12/03/2011 17:57:29 | not a real question | In SQL Server, I want to use the same query for all the tables in a database
===
I need to find a way to perform the same query to all the tables in an specific database.
For example, if my database "DB" has the tables "Table1", "Table2", "Table3", "Table4" and "Table5". I want to perform the query 'Select * Fro... | 1 |
413,114 | 01/05/2009 13:39:09 | 192,337 | 01/04/2009 20:52:52 | 1 | 0 | HTML vs XHTML does it still matter? | I'm wondering if I should bother at all about the markup language, as long as i produce valid markup.
I've read articles that point out HTML is the best choice and they come directly from the horse's mouth (the browsers implementors!):
- http://webkit.org/blog/68/understanding-html-xml-and-xhtml/
- https://devel... | html | xhtml | null | null | null | 07/23/2012 21:50:42 | not constructive | HTML vs XHTML does it still matter?
===
I'm wondering if I should bother at all about the markup language, as long as i produce valid markup.
I've read articles that point out HTML is the best choice and they come directly from the horse's mouth (the browsers implementors!):
- http://webkit.org/blog/68/understan... | 4 |
6,786,539 | 07/22/2011 06:45:18 | 855,281 | 07/21/2011 06:02:55 | 6 | 0 | how can select last 7 max salaries from fallowing table? | NAME AGE DEPTNO SALARY
-------------------- ---------- ---------- ----------
shasank 25 11 2025
raju 27 12 2027
bali 31 10 2031
rambo 32 11 ... | sql | null | null | null | null | 07/22/2011 13:06:02 | not a real question | how can select last 7 max salaries from fallowing table?
===
NAME AGE DEPTNO SALARY
-------------------- ---------- ---------- ----------
shasank 25 11 2025
raju 27 12 2027
bali 31 ... | 1 |
8,811,113 | 01/10/2012 21:57:49 | 656,925 | 08/12/2010 02:22:36 | 1,791 | 42 | When to use scope resolution in javascript? | When I set the onload property I use
window.onload=initialize_page;
However,
when I use undefined, which I understand is a window property I simply use:
undefined
How do I know when to scope properties?
If I remove window from the first statement it works. I guess I've seen both in code here on... | javascript | null | null | null | null | null | open | When to use scope resolution in javascript?
===
When I set the onload property I use
window.onload=initialize_page;
However,
when I use undefined, which I understand is a window property I simply use:
undefined
How do I know when to scope properties?
If I remove window from the first statement ... | 0 |
8,646,790 | 12/27/2011 16:19:37 | 1,117,931 | 12/27/2011 16:17:15 | 1 | 0 | How to parse Image into blocks in Java | Greeting , If I have image its size is 100 * 100 and I want to parse it into blocks , each block size is 10 * 10 how to make it in details please | java | image | null | null | null | 12/27/2011 16:27:53 | not a real question | How to parse Image into blocks in Java
===
Greeting , If I have image its size is 100 * 100 and I want to parse it into blocks , each block size is 10 * 10 how to make it in details please | 1 |
9,685,021 | 03/13/2012 13:34:17 | 698,668 | 04/08/2011 12:51:35 | 158 | 1 | multiple scripts required to be connect with each others | i am confused. I got a project to work on 3 scripts (wordpress, esyndicat and phpbb forum) its not a problem, the problem is that my client want that when a user login to anyone of these scripts they should autometically login with other scripts.
so if anyone give me idea how can i do this .. please tell me..
Tha... | php | wordpress | phpbb | null | null | 03/14/2012 15:51:06 | not a real question | multiple scripts required to be connect with each others
===
i am confused. I got a project to work on 3 scripts (wordpress, esyndicat and phpbb forum) its not a problem, the problem is that my client want that when a user login to anyone of these scripts they should autometically login with other scripts.
so if an... | 1 |
5,408,996 | 03/23/2011 17:08:09 | 46,571 | 12/16/2008 08:32:48 | 2,290 | 80 | Testing whether a SQL Server user exists, and whether their password is valid | I need create a SQL Server stored procedure that does the following:
1. Take an database user name and password as parameters.
2. If the user does not exist or the password is invalid, return an empty rowset.
3. Else, perform a query and return its result.
I don't know how do perform step 2. Any ideas? | sql-server | null | null | null | null | null | open | Testing whether a SQL Server user exists, and whether their password is valid
===
I need create a SQL Server stored procedure that does the following:
1. Take an database user name and password as parameters.
2. If the user does not exist or the password is invalid, return an empty rowset.
3. Else, perform a quer... | 0 |
4,487,360 | 12/20/2010 06:20:41 | 475,353 | 10/14/2010 05:20:48 | 363 | 16 | Understanding Assembly (books/tutorials/etc) | So Assembly is the foundation of high level languages, I just graduated with my B.S. in Computer Science...and while we did talk about Assembly and use some (MIPS if I recall correctly) in my EE380 class.....I dont really feel I grasped what I need to know.
Mainly im interested in how the compiler/high level languag... | memory-management | assembly | books | tutorials | null | 09/21/2011 01:38:44 | not constructive | Understanding Assembly (books/tutorials/etc)
===
So Assembly is the foundation of high level languages, I just graduated with my B.S. in Computer Science...and while we did talk about Assembly and use some (MIPS if I recall correctly) in my EE380 class.....I dont really feel I grasped what I need to know.
Mainly im... | 4 |
4,962,149 | 02/10/2011 20:16:49 | 607,360 | 02/08/2011 00:15:59 | 1 | 0 | how to find webpages which link to some specific page? | Just wondering if there's any way to search all web pages which link to some specific url? For example, all web pages containing link to example.com? Thanks | search-engine | null | null | null | null | null | open | how to find webpages which link to some specific page?
===
Just wondering if there's any way to search all web pages which link to some specific url? For example, all web pages containing link to example.com? Thanks | 0 |
7,665,912 | 10/05/2011 18:29:05 | 795,016 | 06/12/2011 18:46:07 | 122 | 0 | Double include solution? | In C++, I have a problem with a double include:
File stuffcollection.h
#pragma once
#ifndef STUFFCOLLECTION_H
#define STUFFCOLLECTION_H
#include "Stage.h"
class Stuffcollection {
public:
bool myfunc( Stage * stage );
};
#endif // STUFFCOLLECTION_H
F... | c++ | include | include-guards | null | null | null | open | Double include solution?
===
In C++, I have a problem with a double include:
File stuffcollection.h
#pragma once
#ifndef STUFFCOLLECTION_H
#define STUFFCOLLECTION_H
#include "Stage.h"
class Stuffcollection {
public:
bool myfunc( Stage * stage );
};
#e... | 0 |
4,810,574 | 01/26/2011 22:04:34 | 591,398 | 01/26/2011 22:04:34 | 1 | 0 | Grails Gorm : Object references an unsaved transient instance | I get the following Exception when saving an instance of Trip in Grails:
> 2011-01-26 22:37:42,801 [http-8090-5]
> ERROR errors.GrailsExceptionResolver
> - object references an unsaved transient instance - save the
> transient instance before flushing: Rower
> org.hibernate.TransientObjectException:
> object r... | grails | gorm | null | null | null | null | open | Grails Gorm : Object references an unsaved transient instance
===
I get the following Exception when saving an instance of Trip in Grails:
> 2011-01-26 22:37:42,801 [http-8090-5]
> ERROR errors.GrailsExceptionResolver
> - object references an unsaved transient instance - save the
> transient instance before flu... | 0 |
8,200,508 | 11/20/2011 09:04:48 | 221,220 | 11/30/2009 09:18:26 | 1,102 | 96 | Yii : form values retention for CHtml::checkBoxList on form validaton | I am using CHtml::checkBoxList for my form. For some reason I cannot use CHtml:activeCheckBoxList or CActiveForm::checkBoxList. Everything works fine only problem is that I loose checkbox values on form validation error. What could be the easiest way to fix this ? | form-validation | yii | null | null | null | null | open | Yii : form values retention for CHtml::checkBoxList on form validaton
===
I am using CHtml::checkBoxList for my form. For some reason I cannot use CHtml:activeCheckBoxList or CActiveForm::checkBoxList. Everything works fine only problem is that I loose checkbox values on form validation error. What could be the easi... | 0 |
10,080,790 | 04/09/2012 22:41:45 | 80,002 | 03/19/2009 12:22:39 | 3,073 | 32 | Python: Strange behavior of datetime.astimezone with respect to US/Pacific and America/Los_Angeles time zones? | Please, observe:
C:\dev\poc\SDR>python
Python 2.7.1 (r271:86832, Nov 27 2010, 17:19:03) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from pytz import timezone
>>> from datetime import datetime
>>> tz1=timezone('America/Lo... | python | datetime | timezone | null | null | null | open | Python: Strange behavior of datetime.astimezone with respect to US/Pacific and America/Los_Angeles time zones?
===
Please, observe:
C:\dev\poc\SDR>python
Python 2.7.1 (r271:86832, Nov 27 2010, 17:19:03) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more info... | 0 |
9,040,252 | 01/27/2012 21:21:12 | 520,535 | 11/25/2010 18:44:40 | 341 | 2 | Get important words in title java library | Is there any java library that with given text (title) gets collection of important words in it. <br>
EDITED: By important I mean the one that has define the main idea of the sentence.
Thank You. | java | text-analysis | null | null | null | 01/28/2012 01:10:02 | not a real question | Get important words in title java library
===
Is there any java library that with given text (title) gets collection of important words in it. <br>
EDITED: By important I mean the one that has define the main idea of the sentence.
Thank You. | 1 |
5,541,490 | 04/04/2011 16:32:53 | 604,388 | 02/05/2011 13:21:24 | 119 | 10 | Is the following WHERE value is correct (SQLite, android)? | (date('now') > date('date_added','+60 seconds') AND subscribed<2)
use that on android (with `update` method) to remove old records from the database. 60 seconds is defined just for testing. `date_added` and `subscribed` are database fields (`subscribed int, date_added datetime`).
| android | sqlite | android-sqlite | null | null | null | open | Is the following WHERE value is correct (SQLite, android)?
===
(date('now') > date('date_added','+60 seconds') AND subscribed<2)
use that on android (with `update` method) to remove old records from the database. 60 seconds is defined just for testing. `date_added` and `subscribed` are database fields (`subscri... | 0 |
8,458,955 | 12/10/2011 18:45:44 | 980,089 | 10/05/2011 09:38:57 | 10 | 0 | Could my spring program run using dispatcher-servlet.xml and without using ContextLoaderListener and applicationcontext.xml? | I have question that it is possible to run spring-orm program using `dispatcher-servlet.xml` only.Without using `ContextLoaderListener` and `applicationcontext.xml`?If yes then how?
Secondly why is it necessary to register `dispatcher-servlet.xml` or `applicationcontext.xml` in `web.xml`?Because when these files are... | java | spring | spring-mvc | null | null | null | open | Could my spring program run using dispatcher-servlet.xml and without using ContextLoaderListener and applicationcontext.xml?
===
I have question that it is possible to run spring-orm program using `dispatcher-servlet.xml` only.Without using `ContextLoaderListener` and `applicationcontext.xml`?If yes then how?
Secon... | 0 |
179,238 | 10/07/2008 16:13:24 | 22,483 | 09/26/2008 00:16:37 | 323 | 9 | What scares you the most about the integrated IDE of most modern Smalltalks? | As I'm <a href="http://methodsandmessages.vox.com/library/post/the-year-of-smalltalk.html">riding the wave of resurgence of Smalltalk</a> (especially because many Ruby-on-Rails people are rediscovering Smalltalk and seeing <a href="http://seaside.st">Seaside</a> as their next upgraded web framework), I get questions li... | smalltalk | ide | ruby-on-rails | ruby | seaside | 09/03/2011 23:16:51 | not constructive | What scares you the most about the integrated IDE of most modern Smalltalks?
===
As I'm <a href="http://methodsandmessages.vox.com/library/post/the-year-of-smalltalk.html">riding the wave of resurgence of Smalltalk</a> (especially because many Ruby-on-Rails people are rediscovering Smalltalk and seeing <a href="http:/... | 4 |
3,962,766 | 10/18/2010 19:45:27 | 133,374 | 07/05/2009 15:29:28 | 2,003 | 57 | java: reverse list | I want to have a revered list view on a list (in a similar way than `List#sublist` provides a sublist view on a list). Is there some function which provides this functionality?
I don't want to make any sort of copy of the list.
It would be enough if I could get at least a reverse iterator on a list in this case t... | java | list | iterator | reverse | null | null | open | java: reverse list
===
I want to have a revered list view on a list (in a similar way than `List#sublist` provides a sublist view on a list). Is there some function which provides this functionality?
I don't want to make any sort of copy of the list.
It would be enough if I could get at least a reverse iterator ... | 0 |
4,534,899 | 12/26/2010 18:17:21 | 450,790 | 09/17/2010 16:26:29 | 40 | 1 | JAVA HttpURLConnection POST Request Returns No Value | I am having an issue handling HTTP URL Connections that do not return data. The code I am using is below... It is basically a messaging client, and this method gets any messages sent to a fake user (bot) and then I am able to manipulate the messages, look for key words, and respond from the bot.
public void ... | java | webrequest | httpurlconnection | null | null | null | open | JAVA HttpURLConnection POST Request Returns No Value
===
I am having an issue handling HTTP URL Connections that do not return data. The code I am using is below... It is basically a messaging client, and this method gets any messages sent to a fake user (bot) and then I am able to manipulate the messages, look for ... | 0 |
7,967,359 | 11/01/2011 13:41:20 | 608,455 | 02/08/2011 16:40:46 | 310 | 5 | Using MVVM with CollectionViewSource | I'm trying to use CollectionViewSource to display some data, and all the examples/tutorials I've seen have a custom class built, which they use in another class, which inherits from ObservableCollection<Class1>. I'm new to both using CollectionViewSource and this is only my third implementation of MVVM, so I might mis... | c# | wpf | data-binding | mvvm | collectionviewsource | null | open | Using MVVM with CollectionViewSource
===
I'm trying to use CollectionViewSource to display some data, and all the examples/tutorials I've seen have a custom class built, which they use in another class, which inherits from ObservableCollection<Class1>. I'm new to both using CollectionViewSource and this is only my th... | 0 |
4,995,429 | 02/14/2011 17:47:12 | 19,347 | 09/19/2008 21:59:01 | 1,375 | 87 | Spring: DRY with <list/>. Copy all values from listA to listB | I've configured <list/> in Spring listA (see below). It would be nice to have another one that contains all values from listA and expand it.
<bean id="listA" class="java.util.ArrayList">
<constructor-arg>
<list>
<value>a</value>
<value>b</value>
<value>...</value>
<value>z</value>
</l... | java | spring | ioc-container | dry | null | null | open | Spring: DRY with <list/>. Copy all values from listA to listB
===
I've configured <list/> in Spring listA (see below). It would be nice to have another one that contains all values from listA and expand it.
<bean id="listA" class="java.util.ArrayList">
<constructor-arg>
<list>
<value>a</value>
<va... | 0 |
10,245,764 | 04/20/2012 11:56:01 | 1,126,719 | 01/02/2012 19:47:55 | 100 | 3 | Is it possible to determine the facet content in a custom controls design definition? | I'm putting together the design definition for a custom control and would like to vary how it displays based on whether or not a different custom control has been placed in the one of the facet areas. Is this possibe with the design definition and if so, how?
I know I can reference properties of the custom control b... | xpages | null | null | null | null | null | open | Is it possible to determine the facet content in a custom controls design definition?
===
I'm putting together the design definition for a custom control and would like to vary how it displays based on whether or not a different custom control has been placed in the one of the facet areas. Is this possibe with the des... | 0 |
673,616 | 03/23/2009 14:39:21 | 52,420 | 01/07/2009 13:07:08 | 57 | 7 | How to delete a column of Dataset? | How to delete a column of Dataset?
There is any method?
<pre><code>
rh.dsDetail = ds.Tables[0].Columns.Remove( . . . . . .
</code></pre>
Do you know any method ? like below:<br>
<pre><code>
rh.dsDetail = ds.Tables[0].Columns.Remove( ds.Tables[0].Columns[1],ds.Tables[0].Columns[2]...)
</code></pr... | c# | dataset | .net | null | null | null | open | How to delete a column of Dataset?
===
How to delete a column of Dataset?
There is any method?
<pre><code>
rh.dsDetail = ds.Tables[0].Columns.Remove( . . . . . .
</code></pre>
Do you know any method ? like below:<br>
<pre><code>
rh.dsDetail = ds.Tables[0].Columns.Remove( ds.Tables[0].Columns[1],ds... | 0 |
3,226,605 | 07/12/2010 07:35:47 | 58,961 | 12/29/2008 23:43:10 | 3,675 | 167 | Inversion of Control < Dependency Injection | I'm getting the feeling that there's is not such thing as inversion of control or rather the correct term is dependency injection. Am I wrong to assume this?
I've been trying to define IoC for my own sake. In doing so I've leared a great deal about IoC containers and dependency injection.
Just now I read this fro... | dependency-injection | inversion-of-control | null | null | null | 01/23/2012 21:00:44 | not a real question | Inversion of Control < Dependency Injection
===
I'm getting the feeling that there's is not such thing as inversion of control or rather the correct term is dependency injection. Am I wrong to assume this?
I've been trying to define IoC for my own sake. In doing so I've leared a great deal about IoC containers and ... | 1 |
11,511,561 | 07/16/2012 19:53:10 | 1,529,928 | 07/16/2012 19:48:48 | 1 | 0 | Reddit api request limit? | I'm making an app that submits links to reddit using the reddit api with <b>PHP</b>. The main problem I have is that there's a limit to the amount of requests I can make per minute. I've been searching on google for certain methods to use cache files to override this, but I haven't seen anythhing that could help me spe... | php | api | request | reddit | null | 07/16/2012 20:00:22 | not a real question | Reddit api request limit?
===
I'm making an app that submits links to reddit using the reddit api with <b>PHP</b>. The main problem I have is that there's a limit to the amount of requests I can make per minute. I've been searching on google for certain methods to use cache files to override this, but I haven't seen a... | 1 |
7,377,283 | 09/11/2011 09:06:38 | 732,372 | 04/30/2011 12:14:40 | 272 | 5 | How to add paging to extjs 4 grid? | I have a store like this which i used for a extjs grid
Ext.create('Ext.data.Store', {
autoLoad : true,
fields : [
{name: 'item_code', mapping: 'item_code', type: 'string'},
{name: 'quantity', mapping: 'quantity', type: 'string'},
{name: 'description', mapping: 'description', ty... | javascript | extjs | extjs4 | null | null | null | open | How to add paging to extjs 4 grid?
===
I have a store like this which i used for a extjs grid
Ext.create('Ext.data.Store', {
autoLoad : true,
fields : [
{name: 'item_code', mapping: 'item_code', type: 'string'},
{name: 'quantity', mapping: 'quantity', type: 'string'},
{name: '... | 0 |
11,477,829 | 07/13/2012 20:22:12 | 656,171 | 03/11/2011 23:59:04 | 148 | 6 | Having trouble recasting WifiManager to Object in Android | So I am quite new to Android, and have limited previous Java experience, so please bear with me. I am trying to create an object of type WifiManager in an Android App, and I have the line I found several other people recommend to create a WifiManager object verbatum:
WifiManager wifi = mContext.getSystemServic... | java | android | android-wifi | null | null | 07/16/2012 02:40:12 | too localized | Having trouble recasting WifiManager to Object in Android
===
So I am quite new to Android, and have limited previous Java experience, so please bear with me. I am trying to create an object of type WifiManager in an Android App, and I have the line I found several other people recommend to create a WifiManager object... | 3 |
6,002,851 | 05/14/2011 15:35:51 | 514,235 | 11/20/2010 05:25:21 | 1,920 | 153 | What's the difference when time delay specified in LHS or RHS ? | a = #5 b;
#5 a = b;
Is there any difference between above 2 sentense ? | delay | verilog | null | null | null | null | open | What's the difference when time delay specified in LHS or RHS ?
===
a = #5 b;
#5 a = b;
Is there any difference between above 2 sentense ? | 0 |
5,323,047 | 03/16/2011 09:09:44 | 157,861 | 08/17/2009 16:04:17 | 1,336 | 15 | Navigating between View controllers ? | In my Iphone application I am trying to navigate from one table view controller to next table view controller. Problem I am facing is that I have to fetch data using http request and then parse this data when the user select a cell. I am able to fetch and parse the data but the view controller is not waiting for the d... | objective-c | table | iphone-sdk-4.0 | view | null | null | open | Navigating between View controllers ?
===
In my Iphone application I am trying to navigate from one table view controller to next table view controller. Problem I am facing is that I have to fetch data using http request and then parse this data when the user select a cell. I am able to fetch and parse the data but t... | 0 |
5,816,831 | 04/28/2011 10:00:38 | 531,232 | 12/05/2010 14:18:55 | 16 | 7 | Hibernate EntityManager + Query Cache - "join fetch" not working | I am trying to cache a query like this:
TypedQuery<Foo> q = em.createQuery(
"SELECT foo FROM Foo foo " +
"INNER JOIN FETCH Foo.bar "
);
q.setHint("org.hibernate.cacheable", true);
The problem is that the `FETCH` doesn't seem to have any effect when the cache is hit, i.e. the collec... | hibernate | jpa | join | fetch | query-cache | null | open | Hibernate EntityManager + Query Cache - "join fetch" not working
===
I am trying to cache a query like this:
TypedQuery<Foo> q = em.createQuery(
"SELECT foo FROM Foo foo " +
"INNER JOIN FETCH Foo.bar "
);
q.setHint("org.hibernate.cacheable", true);
The problem is that the `FETCH` ... | 0 |
9,967,013 | 04/01/2012 18:25:42 | 103,044 | 05/07/2009 17:40:50 | 8 | 0 | Named anchors not working with dynamic html and jquery | I am trying to add a html snippet dynamically which contains named anchors and destinations via jquery append('html') method
None of the named links work after the append. The newly added content is visible on the page, but the links dont work. Is it because these tags were added dynamically, or am I doing something... | jquery | html-anchor | named-anchor | dynamic-html | null | null | open | Named anchors not working with dynamic html and jquery
===
I am trying to add a html snippet dynamically which contains named anchors and destinations via jquery append('html') method
None of the named links work after the append. The newly added content is visible on the page, but the links dont work. Is it becaus... | 0 |
9,231,926 | 02/10/2012 17:17:55 | 226,717 | 12/07/2009 22:14:47 | 70 | 3 | Splitting hairs on language? Creating a Simple World Server | For the last few years I've been doing mostly Web (PHP) and Mobile (Android/iPhone) development and - to be honest - have gotten a bit bored with it. I'm looking to expand my resume and get back into doing "low level" coding, such as C/C++ or Java. My background is in mathematics and computer science, but I've been "... | java | c++ | mmorpg | null | null | 02/10/2012 17:36:35 | not constructive | Splitting hairs on language? Creating a Simple World Server
===
For the last few years I've been doing mostly Web (PHP) and Mobile (Android/iPhone) development and - to be honest - have gotten a bit bored with it. I'm looking to expand my resume and get back into doing "low level" coding, such as C/C++ or Java. My b... | 4 |
9,980,906 | 04/02/2012 17:26:55 | 881,936 | 08/06/2011 13:01:29 | 100 | 1 | Ubuntu Xen Virtualization | I am using Ubuntu 11.04.
My project is to create a virtual laboratory wherein the students will log in from dump terminals and via network, they will be logged into a virtual OS which will most probably implemented using XEN.
My questions are :
1. Am I using right Ubuntu? Coz i read that for such kind of a sys... | ubuntu | terminal | virtual | virtualization | xen | 04/13/2012 04:21:45 | off topic | Ubuntu Xen Virtualization
===
I am using Ubuntu 11.04.
My project is to create a virtual laboratory wherein the students will log in from dump terminals and via network, they will be logged into a virtual OS which will most probably implemented using XEN.
My questions are :
1. Am I using right Ubuntu? Coz i r... | 2 |
6,356,266 | 06/15/2011 10:23:21 | 376,454 | 06/25/2010 16:16:18 | 1,471 | 38 | Rotating an image without the Image Processing Toolbox | I would like to rotate a non-squared image with Matlab:
- without using the `imrotate` function, since it is part of the Image Processing Toolbox,
- with the `loose` parameter, wich means the size of the output differs from the size of the input image,
- and with a not too slow function compared to `imrotate`.
... | matlab | matlab-toolbox | image-rotation | loose | null | null | open | Rotating an image without the Image Processing Toolbox
===
I would like to rotate a non-squared image with Matlab:
- without using the `imrotate` function, since it is part of the Image Processing Toolbox,
- with the `loose` parameter, wich means the size of the output differs from the size of the input image,
... | 0 |
9,171,115 | 02/07/2012 04:42:31 | 1,193,840 | 02/07/2012 04:30:05 | 1 | 0 | How to open local files via firefox | I am having a php project in which i am basically dynamically creating hyperlinks to files existing on the local drive for eg c:/vikram/htc.doc . I created a basic html file and added the usual hyperlinks with the code as
<a href="file:///C:/vikram/htc.doc">hello</a>
But whenever i launch this page in firefox,... | firefox | localhost | null | null | null | 02/07/2012 18:21:55 | off topic | How to open local files via firefox
===
I am having a php project in which i am basically dynamically creating hyperlinks to files existing on the local drive for eg c:/vikram/htc.doc . I created a basic html file and added the usual hyperlinks with the code as
<a href="file:///C:/vikram/htc.doc">hello</a>
Bu... | 2 |
1,368,569 | 09/02/2009 15:56:11 | 74,825 | 03/06/2009 18:15:45 | 1 | 0 | Fluent NHibernate / NHibernate Mappings | I have a parent table and relationship table to find child parent relationship.
I need to find child, parent and its siblings...
EMPLOYEE_RELATION has columns EMPLOYEE_ID and PARENT_ID that saves the relationship.
Here's what SQL looks like. How do I map this to Fluent NHibernate / NHibernate.
select
... | nhibernate-mapping | sql | fluent-nhibernate | null | null | null | open | Fluent NHibernate / NHibernate Mappings
===
I have a parent table and relationship table to find child parent relationship.
I need to find child, parent and its siblings...
EMPLOYEE_RELATION has columns EMPLOYEE_ID and PARENT_ID that saves the relationship.
Here's what SQL looks like. How do I map this to Fluen... | 0 |
8,507,561 | 12/14/2011 16:01:05 | 16,241 | 09/17/2008 15:38:49 | 7,652 | 160 | What is the implementing class for IGrouping? | I am trying create a WCF Service Operation that does grouping on the server side and then sends the data down to the client.
When I try to call it (or even connect to the service) I get an error. It says that it can't construct an interface.
The only interface I am using is IGrouping.
I assume the concrete ... | c# | .net | null | null | null | null | open | What is the implementing class for IGrouping?
===
I am trying create a WCF Service Operation that does grouping on the server side and then sends the data down to the client.
When I try to call it (or even connect to the service) I get an error. It says that it can't construct an interface.
The only interface I... | 0 |
9,503,423 | 02/29/2012 17:03:40 | 1,151,619 | 11/26/2010 03:49:49 | 8 | 0 | how to use AVAssetReader to read remote mp4 file | Major goal is to read a video from a server, and get it frame by frame while streaming, so that it can be used by OpenGL. But AVURLAsset is not work.
NSURL *url = [NSURL urlWithString:strurl];
AVURLAsset *avasset = [[AVURLAsset alloc] initWithURL:url options:nil];
AVAssetTrack *track = [[avasset tracks... | iphone | opengl-es | avfoundation | avurlasset | avassetreader | null | open | how to use AVAssetReader to read remote mp4 file
===
Major goal is to read a video from a server, and get it frame by frame while streaming, so that it can be used by OpenGL. But AVURLAsset is not work.
NSURL *url = [NSURL urlWithString:strurl];
AVURLAsset *avasset = [[AVURLAsset alloc] initWithURL:url opt... | 0 |
3,698,501 | 09/13/2010 07:26:31 | 26,521 | 10/09/2008 14:54:41 | 2,086 | 49 | Where can I download the Tech Days 10 Sessions DVD? | Where can I download the Tech Days 10 Sessions DVD? | microsoft | null | null | null | null | 10/27/2010 10:02:16 | too localized | Where can I download the Tech Days 10 Sessions DVD?
===
Where can I download the Tech Days 10 Sessions DVD? | 3 |
7,375,280 | 09/10/2011 23:11:01 | 926,158 | 12/14/2010 15:45:32 | 25 | 0 | Where to find cool Facebook like buttons? | I want a link to a facebook fanpage from my website.
I know the default is the one with just a thumbs up and XX people like this. I want something more. I've seen some that are half hidden, and then when you hover over it it 'scrolls' out into full mode. I like this idea.
Does anyone have any links to "widgets" f... | facebook | facebook-like | null | null | null | 09/11/2011 02:44:35 | not constructive | Where to find cool Facebook like buttons?
===
I want a link to a facebook fanpage from my website.
I know the default is the one with just a thumbs up and XX people like this. I want something more. I've seen some that are half hidden, and then when you hover over it it 'scrolls' out into full mode. I like this ide... | 4 |
6,018,194 | 05/16/2011 13:32:12 | 313,768 | 04/11/2010 04:47:56 | 2,908 | 197 | Light PHP database-driven framework | I'm looking for a framework that has the following characteristics:
- Preferably PHP-driven
- Preferably FOSS
- Light, simple
- Has a concentration on quick prototyping rather than complex security models
- Is able to semi-automatically generate HTML forms for a GUI interface to an existing SQL database, gi... | php | sql | web-applications | frontend | null | 05/16/2011 19:40:52 | not constructive | Light PHP database-driven framework
===
I'm looking for a framework that has the following characteristics:
- Preferably PHP-driven
- Preferably FOSS
- Light, simple
- Has a concentration on quick prototyping rather than complex security models
- Is able to semi-automatically generate HTML forms for a GUI ... | 4 |
1,167,492 | 07/22/2009 19:07:08 | 21,661 | 09/24/2008 13:05:34 | 27 | 3 | Can I comletely force a checkin to TFS? | I need a way to force a branch in TFS to update itself to exactly match what is in the working folders. I need something that will delete files that are on the server but not in the working folders, add files to the server that are only in the working folders, and update the changed files by using the exact version tha... | tfs | null | null | null | null | null | open | Can I comletely force a checkin to TFS?
===
I need a way to force a branch in TFS to update itself to exactly match what is in the working folders. I need something that will delete files that are on the server but not in the working folders, add files to the server that are only in the working folders, and update the... | 0 |
10,494,824 | 05/08/2012 08:00:36 | 1,381,486 | 05/08/2012 07:56:50 | 1 | 0 | I wanna create a virtuel printer with java and i dont know how to proced to it . | I ask for api wich connect pdfcreator with my application java
thanks to help my with any sugestion | java | pdf | printing | null | null | 05/08/2012 10:13:08 | not a real question | I wanna create a virtuel printer with java and i dont know how to proced to it .
===
I ask for api wich connect pdfcreator with my application java
thanks to help my with any sugestion | 1 |
7,878,943 | 10/24/2011 16:43:59 | 875,692 | 08/03/2011 00:42:48 | 1 | 0 | Django+ajax (jquery): http error code 403 (forbidden) | I was developing a simple ajax call ($.ajax function with type, url and data as options parameters) with jquery in a page, but i got 403 error.
So i have added to $.ajax function a further options parameter for csrf, and the corresponding token is correcly displayed in the template.
But i got 403 error again.
I also... | ajax | django | null | null | null | 10/26/2011 14:04:52 | not a real question | Django+ajax (jquery): http error code 403 (forbidden)
===
I was developing a simple ajax call ($.ajax function with type, url and data as options parameters) with jquery in a page, but i got 403 error.
So i have added to $.ajax function a further options parameter for csrf, and the corresponding token is correcly dis... | 1 |
3,440,463 | 08/09/2010 13:28:04 | 365,614 | 06/13/2010 10:04:17 | 55 | 1 | mail sending from website | I developed one website on python and hosted on google app.
I want to send mails from that website
for that i need help what to do??? | python | google-app-engine | email | null | null | null | open | mail sending from website
===
I developed one website on python and hosted on google app.
I want to send mails from that website
for that i need help what to do??? | 0 |
295,687 | 11/17/2008 14:34:34 | 51 | 08/01/2008 13:31:13 | 2,473 | 87 | Get Path to Execution Directory of Windows Forms Application | I would like to get the path to the execution directory of a windows forms application (ie: the directory in which the executable is located). Does anyone know of a built-in method in .Net to do this? | winforms | application | directory | null | null | null | open | Get Path to Execution Directory of Windows Forms Application
===
I would like to get the path to the execution directory of a windows forms application (ie: the directory in which the executable is located). Does anyone know of a built-in method in .Net to do this? | 0 |
3,233,448 | 07/13/2010 00:57:53 | 14,904 | 09/17/2008 03:53:02 | 1,686 | 81 | Is this fast lock implementation correct ? | I have a large data structure that is using striping to reduce lock contention. Right now I am using system locks but 99.99% of the time, the lock is uncontested and futhermore, the amount of time holding the lock is quite miniscule. However, several distinct memory operations are performed while the lock is held. I... | optimization | locking | atomic-swap | null | null | null | open | Is this fast lock implementation correct ?
===
I have a large data structure that is using striping to reduce lock contention. Right now I am using system locks but 99.99% of the time, the lock is uncontested and futhermore, the amount of time holding the lock is quite miniscule. However, several distinct memory ope... | 0 |
4,037,522 | 10/27/2010 20:40:22 | 310,525 | 04/07/2010 01:05:46 | 189 | 0 | SQL query LEFT JOIN issue (MySQL) | I have 2 tables - SCHOOLS (ID, SCHOOL_NAME, CITY_ID) and STUDENTS (ID, STUDENT_NAME, SCHOOL_ID). I want to list schools in a particular city along with the student count (School Name| Student Count)
One way to do this is to have co-related subquery -
select sh.school_name, (select count(*) from student where ... | mysql | mysql-query | sql-join | null | null | null | open | SQL query LEFT JOIN issue (MySQL)
===
I have 2 tables - SCHOOLS (ID, SCHOOL_NAME, CITY_ID) and STUDENTS (ID, STUDENT_NAME, SCHOOL_ID). I want to list schools in a particular city along with the student count (School Name| Student Count)
One way to do this is to have co-related subquery -
select sh.school_nam... | 0 |
4,627,227 | 01/07/2011 15:40:03 | 301,752 | 03/25/2010 14:09:49 | 35 | 1 | coldfusion application.cfm error log not logging all errors | I have a Coldfusion application which uses a <cferror> tag in the application.cfm file. This tag seems to be randomly logging errors. There are errors in the Coldfusion error log. I have been able to cause errors that get logged. I have also heard user reports of errors which are not logged.
After doing some sea... | logging | coldfusion | exception-logging | null | null | null | open | coldfusion application.cfm error log not logging all errors
===
I have a Coldfusion application which uses a <cferror> tag in the application.cfm file. This tag seems to be randomly logging errors. There are errors in the Coldfusion error log. I have been able to cause errors that get logged. I have also heard use... | 0 |
9,653,147 | 03/11/2012 07:14:18 | 1,261,935 | 03/11/2012 06:38:24 | 1 | 0 | how to set a variable equal to the first element in an Integer ArrayList? | This is my code that i have now. Im trying to make variable n equal to the first element in the integer array List.I tried using the set method but that only works for String arrayLists.
ArrayList<Integer> intList = new ArrayList<Integer>();
int x = 5;// just put in after Q19.
??int n = myLi... | java | null | null | null | null | 03/16/2012 03:51:43 | not a real question | how to set a variable equal to the first element in an Integer ArrayList?
===
This is my code that i have now. Im trying to make variable n equal to the first element in the integer array List.I tried using the set method but that only works for String arrayLists.
ArrayList<Integer> intList = new ArrayList<Inte... | 1 |
10,355,303 | 04/27/2012 17:37:35 | 712,560 | 04/17/2011 22:29:45 | 40 | 0 | ssh scp command not working | I am using putty to connect my windows machine with remote machine and I am able to connect to remote machine but when I am using SCP command to download some files to my local windows machine it is saying
ssh: connect to host XXXXXXXXXX port 22: Connection refused
lost connection
I am writing this command:- ... | ssh | null | null | null | null | 05/14/2012 12:07:29 | off topic | ssh scp command not working
===
I am using putty to connect my windows machine with remote machine and I am able to connect to remote machine but when I am using SCP command to download some files to my local windows machine it is saying
ssh: connect to host XXXXXXXXXX port 22: Connection refused
lost connectio... | 2 |
11,441,930 | 07/11/2012 21:41:42 | 595,936 | 01/30/2011 17:00:24 | 324 | 2 | node.js login and user admin page demo | I'm new to **node.js** and am looking for an example using **user login/authentication** and **admin pages to manage the users**. I thought this would be pretty common but so far I have been unable to find anything. Can someone suggest some examples/demos to me? Thanks in advance. | javascript | node.js | coffeescript | null | null | 07/11/2012 21:56:07 | not constructive | node.js login and user admin page demo
===
I'm new to **node.js** and am looking for an example using **user login/authentication** and **admin pages to manage the users**. I thought this would be pretty common but so far I have been unable to find anything. Can someone suggest some examples/demos to me? Thanks in adv... | 4 |
3,737,536 | 09/17/2010 17:21:37 | 450,849 | 09/17/2010 17:21:37 | 1 | 0 | How do that thing in c++ | I wanna make a application like this:
this is console for example:
write_number 5
Your number is 5
How do that?
Can someone explain ? | c++ | null | null | null | null | 09/19/2010 18:05:32 | not a real question | How do that thing in c++
===
I wanna make a application like this:
this is console for example:
write_number 5
Your number is 5
How do that?
Can someone explain ? | 1 |
5,212,279 | 03/06/2011 17:54:50 | 477,228 | 10/15/2010 17:23:17 | 90 | 4 | jquery problem on tab selection | I have a problem related to my previous article http://stackoverflow.com/questions/5211879/css-button-selection-and-html-tags
Not very good with javascript if any one could offer some insight as to where im going wrong, also why does asp layout the jquery like below in one giant line. Very frustrating.
Thanks to ... | javascript | asp.net | html | null | null | null | open | jquery problem on tab selection
===
I have a problem related to my previous article http://stackoverflow.com/questions/5211879/css-button-selection-and-html-tags
Not very good with javascript if any one could offer some insight as to where im going wrong, also why does asp layout the jquery like below in one giant ... | 0 |
8,787,458 | 01/09/2012 11:08:19 | 239,991 | 12/29/2009 05:41:18 | 167 | 0 | How to increment a integer variable itself | How to increment a integer variable itself in C#?
i need something the variables as
integer1
integer2
integer3
integer4
integer5
In a for loop when it is looped i want the variables gets incremented. How can i get? | c# | asp.net | .net-3.5 | null | null | 01/09/2012 13:56:14 | not a real question | How to increment a integer variable itself
===
How to increment a integer variable itself in C#?
i need something the variables as
integer1
integer2
integer3
integer4
integer5
In a for loop when it is looped i want the variables gets incremented. How can i get? | 1 |
8,945,438 | 01/20/2012 17:30:49 | 1,159,814 | 01/20/2012 01:58:52 | 6 | 0 | facebook updates on my site | Trying to include a simple(?) feed of the most recent facebook status update on my home page. i know there are WP plugins to do this, but I'm not finding a way to do it without. Here's my page. At moment the copy bottom right is just a manual input of the facebook status update, to show where and how I'm trying to ge... | facebook | null | null | null | null | 01/21/2012 20:04:14 | too localized | facebook updates on my site
===
Trying to include a simple(?) feed of the most recent facebook status update on my home page. i know there are WP plugins to do this, but I'm not finding a way to do it without. Here's my page. At moment the copy bottom right is just a manual input of the facebook status update, to sh... | 3 |
636,081 | 03/11/2009 19:52:37 | 73,066 | 03/03/2009 04:28:03 | 73 | 13 | How to rotate, scale, and translate a matrix all at once in C#? | Okay, this is something that should be a simple matrix question, but my understanding of matrices is somewhat limited. Here's the scenario: I have a 1px by 1px sprite that I want to scale by some amount x and y (different amounts on each side), and then I want to rotate that sprite by some angle, and then I want to b... | c# | slimdx | matrix | translation | null | null | open | How to rotate, scale, and translate a matrix all at once in C#?
===
Okay, this is something that should be a simple matrix question, but my understanding of matrices is somewhat limited. Here's the scenario: I have a 1px by 1px sprite that I want to scale by some amount x and y (different amounts on each side), and ... | 0 |
11,209,398 | 06/26/2012 14:18:37 | 1,159,056 | 01/19/2012 17:19:23 | 131 | 14 | Sencha Touch 2 Store TypeError | I'm following the video on the Sencha website, for creating my first application.
This is the video I'm following: [Video][1]
This is the code I'm using for the Blog tab:
Ext.define('GS.view.Blog',{
extend: 'Ext.navigation.View',
xtype: 'blogpanel',
requires: [
'Ext.dataview.List',
'Ext.... | sencha-touch-2 | null | null | null | null | null | open | Sencha Touch 2 Store TypeError
===
I'm following the video on the Sencha website, for creating my first application.
This is the video I'm following: [Video][1]
This is the code I'm using for the Blog tab:
Ext.define('GS.view.Blog',{
extend: 'Ext.navigation.View',
xtype: 'blogpanel',
requires: ... | 0 |
5,330,120 | 03/16/2011 18:39:41 | 290,769 | 03/10/2010 17:48:17 | 283 | 8 | Jquery Autocomplete with Categories and Selection | I'm having some problems implementing Jquery's autocomplete feature with categories and custom display.
I get an error saying 'ui.item' is undefined when I select on one of the entries. My code is below
$jq.widget("custom.categoryautocomplete", $jq.ui.autocomplete, {
_renderMenu: function(ul, items){
... | javascript | jquery | autocomplete | null | null | null | open | Jquery Autocomplete with Categories and Selection
===
I'm having some problems implementing Jquery's autocomplete feature with categories and custom display.
I get an error saying 'ui.item' is undefined when I select on one of the entries. My code is below
$jq.widget("custom.categoryautocomplete", $jq.ui... | 0 |
11,015,257 | 06/13/2012 12:52:20 | 1,018,562 | 03/08/2010 14:56:00 | 1,344 | 8 | How much an instruction on x86 takes | Assume the clock frequency is 3.0 Ghz. How much time an instruction would take approximately, if that instruction is reading/writing to registers, that is, no cache misses or stalls. | c | performance | x86-64 | null | null | 06/13/2012 13:02:01 | not constructive | How much an instruction on x86 takes
===
Assume the clock frequency is 3.0 Ghz. How much time an instruction would take approximately, if that instruction is reading/writing to registers, that is, no cache misses or stalls. | 4 |
9,123,602 | 02/03/2012 04:15:31 | 889,360 | 08/11/2011 06:44:54 | 53 | 1 | Validating string in java | I need to validate a String.Now I am validating it by looping and checking each character in the string.Is there any way to validate this using Pattern,Matcher.
String is comprised with `'+','-(hypen)' and '0-9'`
> '+' can only be appear in first character.There can't be any two
> consecutive hypen(-).
If '+' i... | java | string | null | null | null | 02/05/2012 23:37:00 | not a real question | Validating string in java
===
I need to validate a String.Now I am validating it by looping and checking each character in the string.Is there any way to validate this using Pattern,Matcher.
String is comprised with `'+','-(hypen)' and '0-9'`
> '+' can only be appear in first character.There can't be any two
> ... | 1 |
8,188,064 | 11/18/2011 19:32:34 | 1,054,487 | 11/18/2011 19:27:12 | 1 | 0 | Pregunta con relación a la identificación | quiero saber como lograr identificar qué página de fans.
El ejemplo es sencillo: Yo instalé a la aplicación en en una página de fans cualquiera, en el momento de que el usuario inicio la aplicación mediante la fanspage, esta me mostrará una información según sea la página. hay alguna manera de indentificarlos por id... | performance | facebook | null | null | null | 11/18/2011 20:32:46 | not a real question | Pregunta con relación a la identificación
===
quiero saber como lograr identificar qué página de fans.
El ejemplo es sencillo: Yo instalé a la aplicación en en una página de fans cualquiera, en el momento de que el usuario inicio la aplicación mediante la fanspage, esta me mostrará una información según sea la pági... | 1 |
4,154,880 | 11/11/2010 13:29:06 | 452,902 | 09/20/2010 15:49:08 | 48 | 10 | Check Image when uploaded | I answered a topic some minutes ago, and it was removed I don't know why.
How I answered that, I'm posting here the solution, perhaps somebody needs..
Perhaps you need to use this function
mime_content_type('imagem.gif'); //It's deprecated but solve the problem
the output is image/gif
And you can use ... | mime-types | null | null | null | null | null | open | Check Image when uploaded
===
I answered a topic some minutes ago, and it was removed I don't know why.
How I answered that, I'm posting here the solution, perhaps somebody needs..
Perhaps you need to use this function
mime_content_type('imagem.gif'); //It's deprecated but solve the problem
the output i... | 0 |
576,687 | 02/23/2009 06:25:26 | 69,033 | 02/20/2009 17:49:34 | 1 | 1 | AS3 - how to start all over again a flash movie | This may be very simple, but I have no idea how to do this.
I created a photo gallery in AS3, everything is on one keyframe. In this photo gallery I have a link to home. My goal is, when someone clicks the "home" link I want everything to start over. Any ideas on how to do this in AS3?
Appreaciate it.
L. | actionscript-3 | flash-cs4 | null | null | null | null | open | AS3 - how to start all over again a flash movie
===
This may be very simple, but I have no idea how to do this.
I created a photo gallery in AS3, everything is on one keyframe. In this photo gallery I have a link to home. My goal is, when someone clicks the "home" link I want everything to start over. Any ideas on... | 0 |
2,046,809 | 01/12/2010 05:03:29 | 220,819 | 11/29/2009 12:27:51 | 2,207 | 145 | Introduction to 3D Graphics Programming | I'm a self-taught programmer with absolutely nil 3D programming experience.
A client of mine has related to me an idea for an iPhone app that requires OpenGL ES 2.0 for it's inherently complex 3D structure and animations.
Where do I start on this ( albeit long ) journey toward OpenGL ES competence?
I'm willing... | opengl-es | 3d | iphone | null | null | 08/01/2011 20:43:52 | not constructive | Introduction to 3D Graphics Programming
===
I'm a self-taught programmer with absolutely nil 3D programming experience.
A client of mine has related to me an idea for an iPhone app that requires OpenGL ES 2.0 for it's inherently complex 3D structure and animations.
Where do I start on this ( albeit long ) journe... | 4 |
5,815,676 | 04/28/2011 08:19:19 | 445,540 | 09/12/2010 11:19:00 | 658 | 24 | Oracle ODBC driver on Solaris 10 | I want to install oracle ODBC driver on Solaris 10, for to connect from Oracle Database to SQL server database.
It appeared very difficult for me...
Can you help me?
Thank you very muck. | sql-server | oracle | odbc | driver | null | 04/28/2011 19:12:28 | off topic | Oracle ODBC driver on Solaris 10
===
I want to install oracle ODBC driver on Solaris 10, for to connect from Oracle Database to SQL server database.
It appeared very difficult for me...
Can you help me?
Thank you very muck. | 2 |
5,235,567 | 03/08/2011 16:49:21 | 459,744 | 09/27/2010 16:54:11 | 161 | 18 | Overlay "Structured Glas" Effect on iPhone Camera Feed - General Directions | I'm currently trying to write an app, that would be able to show the effects of glas, as seen through the iPhone Camera.
I'm not talking about simple, uniform glas but glass like this:
![Glas Image][1]
Now I already broke this into two problems:
1) Apply some Image Filter to the 2D-frames presented by the iPhon... | iphone | image-processing | filtering | video-processing | null | null | open | Overlay "Structured Glas" Effect on iPhone Camera Feed - General Directions
===
I'm currently trying to write an app, that would be able to show the effects of glas, as seen through the iPhone Camera.
I'm not talking about simple, uniform glas but glass like this:
![Glas Image][1]
Now I already broke this into tw... | 0 |
9,636,999 | 03/09/2012 15:53:12 | 1,088,924 | 12/09/2011 02:30:04 | 1 | 0 | How does this order page work? | https://markup-service.com/order/create
How does that form work ? The javascript source code is compressed and cant be decompressed at least as far as i know.
I need help building a similar page, and any insight on how to replicate the result we see on that link is a b ig help for me.
What intrigues me the mos... | javascript | jquery | null | null | null | 03/09/2012 15:58:15 | not a real question | How does this order page work?
===
https://markup-service.com/order/create
How does that form work ? The javascript source code is compressed and cant be decompressed at least as far as i know.
I need help building a similar page, and any insight on how to replicate the result we see on that link is a b ig help ... | 1 |
11,721,871 | 07/30/2012 12:45:28 | 1,542,233 | 07/21/2012 05:48:28 | 13 | 3 | Shopping Cart With Add To Cart Button | I Need a button in product list which will add that product when it is clicked.
Example is here http://icondock.com/.
there will be pluse button on each and every product if click that it will be added to the cart.
i need to option in this shopping cart http://jsfiddle.net/bkw5p/48/
| jquery | shopping-cart | null | null | null | 07/31/2012 05:29:07 | not constructive | Shopping Cart With Add To Cart Button
===
I Need a button in product list which will add that product when it is clicked.
Example is here http://icondock.com/.
there will be pluse button on each and every product if click that it will be added to the cart.
i need to option in this shopping cart http://jsfiddle.net/... | 4 |
10,777,319 | 05/27/2012 21:11:08 | 1,416,553 | 05/25/2012 04:46:35 | 24 | 1 | Which method is better and faster,with include or without in PHP | I included 2 files(header,footer) in one page
and normal page without include function (header and footer in one page)
Which methods are faster and which method is les load on server ? | php | null | null | null | null | 05/27/2012 22:34:14 | not constructive | Which method is better and faster,with include or without in PHP
===
I included 2 files(header,footer) in one page
and normal page without include function (header and footer in one page)
Which methods are faster and which method is les load on server ? | 4 |
11,488,841 | 07/15/2012 02:07:07 | 995,519 | 10/14/2011 13:48:24 | 1 | 0 | How do I start a jquery function automatically when the page loads, and also maintain it's user interaction | I have a javascript function using Jquery on my page. I want to make so that it will start this function automatically when the page loads, but so the user can also still interact with the function. It's a function that involves selecting a link that will hide and fadeIn a new div. I am trying to have this happen autom... | javascript | jquery | html | css | null | 07/16/2012 09:56:41 | too localized | How do I start a jquery function automatically when the page loads, and also maintain it's user interaction
===
I have a javascript function using Jquery on my page. I want to make so that it will start this function automatically when the page loads, but so the user can also still interact with the function. It's a f... | 3 |
8,019,373 | 11/05/2011 09:44:17 | 547,198 | 12/18/2010 18:50:58 | 254 | 3 | Weka Vote: how to tune individual classifier | JMDJSMJLMSRIOMONS
Hi, I am using weka.classifier.meta. Vote. I am combining three classifiers, one of them is SMO. I want to know how can I specifically set the parameter values for SMO. Is there a way to do this using the graphical user interface? I want to change the value of C. | weka | vote | null | null | null | null | open | Weka Vote: how to tune individual classifier
===
JMDJSMJLMSRIOMONS
Hi, I am using weka.classifier.meta. Vote. I am combining three classifiers, one of them is SMO. I want to know how can I specifically set the parameter values for SMO. Is there a way to do this using the graphical user interface? I want to change the... | 0 |
7,450,352 | 09/16/2011 21:00:18 | 727,429 | 03/23/2011 20:06:13 | 569 | 17 | Android saveState of webview page | I noticed that in the browser app, when I scroll down a webpage and rotate the screen, the location of the webpage stays
But when I try this in a webview of my own, the webpage (and everything else in the activity) reloads. I know about `onSaveInstanceState` but that takes Bundles of primitate data types, what about... | android | webview | rotation | savestate | null | null | open | Android saveState of webview page
===
I noticed that in the browser app, when I scroll down a webpage and rotate the screen, the location of the webpage stays
But when I try this in a webview of my own, the webpage (and everything else in the activity) reloads. I know about `onSaveInstanceState` but that takes Bund... | 0 |
387,298 | 12/22/2008 20:41:42 | 41,613 | 11/28/2008 14:57:49 | 108 | 8 | Fix screen blocking reverse video | I alias screen to 'TERM=screen screen' in order to fix it from messing up some key bindings (e.g. switching delete and backspace)
However, when I do this screen doesn't show some [reverse video][1] output -- for example, it works in vim, but not output from watch -d . If I run \screen thus avoiding the alias reverse... | gnu-screen | linux | ubuntu | command-line | null | 12/28/2008 18:45:17 | off topic | Fix screen blocking reverse video
===
I alias screen to 'TERM=screen screen' in order to fix it from messing up some key bindings (e.g. switching delete and backspace)
However, when I do this screen doesn't show some [reverse video][1] output -- for example, it works in vim, but not output from watch -d . If I run ... | 2 |
7,712,052 | 10/10/2011 11:23:08 | 499,825 | 11/07/2010 12:34:57 | 378 | 6 | Why can't I delete local xib? Please see the screenshot. | I selected MainWindow.xib(Russian-Russia) and pressed delete, but nothing happened. But why?
Please see the screenshot.
![enter image description here][1]
[1]: http://i.stack.imgur.com/BkGNW.png | ios | xcode | xib | null | null | null | open | Why can't I delete local xib? Please see the screenshot.
===
I selected MainWindow.xib(Russian-Russia) and pressed delete, but nothing happened. But why?
Please see the screenshot.
![enter image description here][1]
[1]: http://i.stack.imgur.com/BkGNW.png | 0 |
11,090,788 | 06/18/2012 20:48:36 | 1,463,848 | 06/18/2012 13:39:59 | 3 | 0 | how to start fadein and fadeout effect together in jquery | I am using the following code for fade effect between images in my manual slideshow type photo gallery. Normally, fadein effect of the next image starting after the fadeout effect of the previous picture finishes so there is very slight gap in between. I am wondering if it is possible to start fadeout and fadein of two... | javascript | jquery | slideshow | fade | photo-gallery | 06/18/2012 23:47:43 | not a real question | how to start fadein and fadeout effect together in jquery
===
I am using the following code for fade effect between images in my manual slideshow type photo gallery. Normally, fadein effect of the next image starting after the fadeout effect of the previous picture finishes so there is very slight gap in between. I am... | 1 |
11,338,375 | 07/05/2012 05:42:17 | 1,503,011 | 07/05/2012 05:38:26 | 1 | 0 | The page times out after 15min. it should not time out in asp.net mvc | The page times out after 15min. it should not time out in asp.net mvc aaplication.
how to implement this? | asp.net | asp.net-mvc | null | null | null | 07/05/2012 06:20:48 | not a real question | The page times out after 15min. it should not time out in asp.net mvc
===
The page times out after 15min. it should not time out in asp.net mvc aaplication.
how to implement this? | 1 |
8,568,924 | 12/19/2011 23:26:24 | 1,106,879 | 12/19/2011 23:22:32 | 1 | 0 | Code for seeing if a website is down? | I'm trying to replicate sites like http://www.downforeveryoneorjustme.com or http://doj.me. Any ideas about the coding? | php | null | null | null | null | 12/20/2011 01:28:37 | not a real question | Code for seeing if a website is down?
===
I'm trying to replicate sites like http://www.downforeveryoneorjustme.com or http://doj.me. Any ideas about the coding? | 1 |
4,548,871 | 12/28/2010 19:34:19 | 556,341 | 12/28/2010 19:34:19 | 1 | 0 | Building an Instapaper clone | I'm currently building a Instapaper clone and need some help designing the algorithm.
It has two components:
1. Extract the main text block from an HTML document
2. If the save article has more than 1 page then extract text from all pages
Can you guys point me to the right direction?
I will be using .NET 4 C... | c# | html | text | data-mining | null | 12/29/2010 01:18:58 | not a real question | Building an Instapaper clone
===
I'm currently building a Instapaper clone and need some help designing the algorithm.
It has two components:
1. Extract the main text block from an HTML document
2. If the save article has more than 1 page then extract text from all pages
Can you guys point me to the right di... | 1 |
6,931,599 | 08/03/2011 18:46:30 | 604,971 | 02/06/2011 03:17:55 | 62 | 0 | Copying rpm's from one OS to another | I am running sles10sp3 on two different vm's. I am trying to find the same rpm's as are installed on one of the vm's, so that I can install the same rpm's on the other vm. Is there any way to simply copy them from one vm to another (or in general copy all the .rpm's off SLES)? This has started with me trying to find... | linux | rpm | null | null | null | 08/04/2011 04:25:30 | off topic | Copying rpm's from one OS to another
===
I am running sles10sp3 on two different vm's. I am trying to find the same rpm's as are installed on one of the vm's, so that I can install the same rpm's on the other vm. Is there any way to simply copy them from one vm to another (or in general copy all the .rpm's off SLES)... | 2 |
6,297,591 | 06/09/2011 18:37:10 | 791,523 | 06/09/2011 18:32:21 | 1 | 0 | How to rearange a HTML table | I want to rearrange the HTML table.i.e Rows as Columns,Columns as Rows.
In what way i can do it.
Example :
1 4 7
2 5 8
3 6 9
as
1 2 3
4 5 6
7 8 9 | jquery | null | null | null | null | 06/09/2011 19:36:06 | not a real question | How to rearange a HTML table
===
I want to rearrange the HTML table.i.e Rows as Columns,Columns as Rows.
In what way i can do it.
Example :
1 4 7
2 5 8
3 6 9
as
1 2 3
4 5 6
7 8 9 | 1 |
4,556,279 | 12/29/2010 17:28:46 | 370,306 | 06/18/2010 13:05:27 | 94 | 7 | Problem with IE css | Problem with site layout in css.
http://browsershots.org/http://rssreaderbg.net/indexed.htm
Here's the page:
http://rssreaderbg.net/indexed.htm
The problem is in the buttons.
They are truncated and the logo is invisible.
The code:
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta co... | css | internet-explorer | null | null | null | 12/30/2010 01:18:09 | not a real question | Problem with IE css
===
Problem with site layout in css.
http://browsershots.org/http://rssreaderbg.net/indexed.htm
Here's the page:
http://rssreaderbg.net/indexed.htm
The problem is in the buttons.
They are truncated and the logo is invisible.
The code:
<html xmlns="http://www.w3.org/1999/xhtml"><head>
... | 1 |
3,135,293 | 06/28/2010 18:57:12 | 189,618 | 10/14/2009 06:15:47 | 482 | 5 | what's in the (package) name org.example.hello ? | I'm familiar with C++ but never used Java. I've just started learning Android development. In most of the basic tutorials I've gone through mentioned packages names like org.example.hello. I know they are some sort of unique identifiers but
1. How should I choose these packages names? Are there any guidelines?
2. I... | android | null | null | null | null | null | open | what's in the (package) name org.example.hello ?
===
I'm familiar with C++ but never used Java. I've just started learning Android development. In most of the basic tutorials I've gone through mentioned packages names like org.example.hello. I know they are some sort of unique identifiers but
1. How should I choos... | 0 |
9,409,152 | 02/23/2012 08:02:18 | 744,850 | 05/09/2011 09:16:25 | 168 | 2 | Android Bitmap snap to grid | Does anyone know if there is a simple way to make images snap to grid when dragging a bitmap?
At the moment I can touch a bitmap and move it smoothly around the screen. I want to be able to make it snap to an invisible grid whilst you are dragging. | java | android | null | null | null | null | open | Android Bitmap snap to grid
===
Does anyone know if there is a simple way to make images snap to grid when dragging a bitmap?
At the moment I can touch a bitmap and move it smoothly around the screen. I want to be able to make it snap to an invisible grid whilst you are dragging. | 0 |
5,791,762 | 04/26/2011 14:22:54 | 725,512 | 04/26/2011 14:04:28 | 1 | 0 | what is the wrong wih my code ?? | #include <iostream>
using namespace std;
float sum(float a,float b);
float subs(float a, float b);
float multiple(float a, float b);
float division(float a, float b);
int main()
{//main
int a,b;
char o ;
cout<<"input your calculation with operation (+,-,/,*) such as 5+6 : /n ";
cin >>... | c++ | null | null | null | null | 04/26/2011 14:31:26 | not a real question | what is the wrong wih my code ??
===
#include <iostream>
using namespace std;
float sum(float a,float b);
float subs(float a, float b);
float multiple(float a, float b);
float division(float a, float b);
int main()
{//main
int a,b;
char o ;
cout<<"input your calculation with operation ... | 1 |
10,693,230 | 05/21/2012 21:58:14 | 1,361,704 | 04/27/2012 17:34:43 | 1 | 0 | Network Unavailable - How to do it (as in Twitter) | I need my application does not cause an exception and ends when the smartphone does not have internet access, I would put a Network Unavailable message, as well as the official Twitter app for android is, someone can show me an example? Thank you. | android | networking | null | null | null | null | open | Network Unavailable - How to do it (as in Twitter)
===
I need my application does not cause an exception and ends when the smartphone does not have internet access, I would put a Network Unavailable message, as well as the official Twitter app for android is, someone can show me an example? Thank you. | 0 |
7,918,316 | 10/27/2011 15:27:24 | 427,913 | 08/22/2010 22:58:12 | 26 | 0 | please tell me the right way to start programming a 2d&3d games by java , start with "Developing Games in Java" book ? or with "jMonkeyEngine"? | iam php coder , and i have medium experince with java , and i want to enter making games world and i can make small&medium projects by it , but i didn't tried to make a game project before !! , so i need to know the basics to start , so i have 2 choice ,
the first is : "Developing Games in Java" book , and it's expl... | java | game-engine | game-physics | jmonkeyengine | null | 10/27/2011 15:35:24 | not constructive | please tell me the right way to start programming a 2d&3d games by java , start with "Developing Games in Java" book ? or with "jMonkeyEngine"?
===
iam php coder , and i have medium experince with java , and i want to enter making games world and i can make small&medium projects by it , but i didn't tried to make a ga... | 4 |
4,086,348 | 11/03/2010 10:59:42 | 382,305 | 07/02/2010 18:06:55 | 260 | 18 | Does passing a control as parameter causes an enough performance hit? | What is better/preferred - Creating a method of 2 lines which accepts a web control as a parameter, operates on it and is called from 3-4 places within the same code file or writing those 2 lines at the 3-4 places and not creating the method?
P.S. The control I am referring here is a textbox. | c# | asp.net | optimization | coding-style | null | null | open | Does passing a control as parameter causes an enough performance hit?
===
What is better/preferred - Creating a method of 2 lines which accepts a web control as a parameter, operates on it and is called from 3-4 places within the same code file or writing those 2 lines at the 3-4 places and not creating the method?
... | 0 |
9,727,193 | 03/15/2012 19:55:39 | 1,230,572 | 02/24/2012 10:47:27 | 33 | 2 | how to legitimate an user of his profile? | i have a problem with $_GET to authenticfiate an owner of his site.
im using this code to check, if the users id is registrated or not:
<?php
session_start();
include('scripts/db_connect.php');
if(isset($_SESSION['id'])){
$url_auth = $_GET['id'];
}else{
ec... | php | get | authentification | null | null | null | open | how to legitimate an user of his profile?
===
i have a problem with $_GET to authenticfiate an owner of his site.
im using this code to check, if the users id is registrated or not:
<?php
session_start();
include('scripts/db_connect.php');
if(isset($_SESSION['id'])){
$url_a... | 0 |
1,139,127 | 07/16/2009 17:37:28 | 90,577 | 04/14/2009 08:13:54 | 549 | 32 | Debian apt-get update error public key is not available: NO_PUBKEY <id> | Trying to update some repositories on Debian Etch installation and getting the following errors from running "apt-get update"
W: GPG error: http://www.debian-multimedia.org etch Release: The following signatures couldn't be verified because teh public key is not available: NO_PUBKEY 07DC563D1F41B907
W: You ... | debian | upgrade | null | null | null | 02/24/2011 15:47:23 | off topic | Debian apt-get update error public key is not available: NO_PUBKEY <id>
===
Trying to update some repositories on Debian Etch installation and getting the following errors from running "apt-get update"
W: GPG error: http://www.debian-multimedia.org etch Release: The following signatures couldn't be verified bec... | 2 |
7,223,855 | 08/28/2011 20:49:20 | 739,907 | 05/05/2011 12:22:23 | 1 | 0 | NTLM with long usernames | I've got ntlm working with apache.
But when I use usernames longer than 16 chars, the usernames doens't get accepted.
Is there a way to change this?
Thanks | username | ntlmv2 | null | null | null | 08/29/2011 15:00:40 | off topic | NTLM with long usernames
===
I've got ntlm working with apache.
But when I use usernames longer than 16 chars, the usernames doens't get accepted.
Is there a way to change this?
Thanks | 2 |
6,737,812 | 07/18/2011 18:50:44 | 823,893 | 06/30/2011 21:45:26 | 1 | 0 | how to do a C# switch, change to lower case and update on the fly | How can I do the following C# in MS sql? Also I need to be able to update vars, Total_before_ReCompute,
newTotal, WtdAvgTotal, MrkTotal .....
#region determine if Dimension has length & width
bool lengthWidthDimension = false;
string[] xy = new string[1];
Dimensi... | sql | ms | null | null | null | 07/18/2011 19:43:43 | not a real question | how to do a C# switch, change to lower case and update on the fly
===
How can I do the following C# in MS sql? Also I need to be able to update vars, Total_before_ReCompute,
newTotal, WtdAvgTotal, MrkTotal .....
#region determine if Dimension has length & width
bool lengthWidthDimension ... | 1 |
7,514,026 | 09/22/2011 11:30:08 | 925,747 | 09/02/2011 17:29:43 | 18 | 0 | Help needed with program structure/design | Firstly, this is a fairly large forum post as I've tried to describe the application I'm building in a much detail as needed, so I apologise in advance for the essay!
I'm in the process of designing and building a fairly large music application, using the C++ Juce framework, that in a nutshell takes in OSC messages ... | c++ | design | design-patterns | structure | osc | 09/22/2011 12:07:51 | not a real question | Help needed with program structure/design
===
Firstly, this is a fairly large forum post as I've tried to describe the application I'm building in a much detail as needed, so I apologise in advance for the essay!
I'm in the process of designing and building a fairly large music application, using the C++ Juce frame... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.