text stringlengths 8 267k | meta dict |
|---|---|
Q: get n rows beyond the given row in SQL Server I have a table with a column period. the value in this column will be like this, 201101, 201102, 201103,etc, 201112, 201201 etc If i give a number n and any period p, then it has to retrieve a period = p - n. That means it has to go n period before. Please help me how to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528713",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ClearCase UCM: Is it possible to delete a project? Can a ClearCase administrator or a project manager delete a project including all its streams, views, baselines, activities etc.? How?
A: *
*You cannot easily delete a project, unless all its streams are deleted
*You cannot easily delete a stream if there are ver... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Track position Indoor (with smartphone)
Possible Duplicate:
Indoor Positioning System based on Gyroscope and Accelerometer
Very simple question for you guys. Suppose I wanted to track my location accurately with no real reference points (gps). And what I mean by that the only thing i know is my location (0,0) on ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528722",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Sorting of Field having special characters in SoLR i am new at SoLR indexing.
I want to sort location field which have different values.it also contains values which starts with 'sAmerica, #'Japan, %India and etc.
Now when i sort this field i do want to consider special characters like 's,'#,!,~ and etc.
i want sort... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to publish application update on Android market? I have to publish first update for my publish application. I want to do it right, but have no idea how :( Any help please?
A: In your AndroidManifest.xml, increment the versionCode (e.g. from 1 to 2), and optional, increase the versionName.
Then just create the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528725",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Disabling orientation change with Phonegap I need to fix the screen in landscape orientation at one point in my application, with the possibility to change back to normal. So far I have only seen suggestions of setting the orientation at launch time. I don't want to use Appcelerator for many reasons, and It should w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528727",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: automatic updating an application with git is there any way to use git as an automatic updating mechanism for applications. something like what google chrome does (or Github for Mac).
I want to create a central git repo that contains the whole app (including binaries) and be able to make the application pull in chan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528730",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SharePoint Designer 2010 Can't open Page Layout in Edit Mode Every time I try to open any page layout in my site collection SharePoint Designer 2010 throws the the following error at me.
Can't figure out what's wrong. I've used it fine with other site collections before.
Any ideas?
A: when opening your site collec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528732",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is an efficient MongoDB schema design for a multilingual e-commerce site? I'm designing a multilingual e-commerce site. Products have different properties. Some properties are different for each language (like color), other properties are the same for all languages (like SKU). Properties are not predefined, for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: In official android.jar library i've not Fragment and FragmentList classes In official android.jar library i've not Fragment and FragmentList classes, where i can find them?
Thank u very much, guys!
A: In Compatibility package, or in later android SDK (3.0 and higher).
A: To include fragments in your projects you ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528734",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ASP.net MVC 3 user registration I am new to asp.net mvc 3 world
I looked at some tutorials to get started. I want to know what is the best option to manage users?
I intended use of the membership provider (and modify this for extend the default fields)
or use the user profiling + membership provider?
What are the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528737",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can I do content based polling in Biztalk server using WSS Adapter I have scenario where I have to poll documents from sharepoint library based on some conditions.
e.g. fetch documents which has status==Readytoprocess and then based upon unique number present in document fetch its content file from another sharepoi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528740",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: way to open and load a file in memory Is there a way such that I can open and load a file directly in memory?
I have lot of legacy code that opens a file present on network, and then does
seeks and reads from this file. I want to avoid the reads and seeks over the network.
Hence, if I could load the file in memory, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528743",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I run an infinite loop on my website? (for a reminder/deadline announcer) I'm building a website and i want to implement a reminder feature that alerts people if they have any projects or activities that are due or simply alert them of any timer they may have set. I have a clue about how i could do it with j... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Iphone Game development Esimate I have been asked to give an estimate for an iphone game application.
I really have bad estimates for game application.
Can you share me links or stuff which will give me some idea of how long it will take me to develop the game.
I know this is very crude data, but some link that wil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528746",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to do joins on subqueries in AREL within Rails I have a simple model
class User
has_many :logs
class Logs
related in the usual way through the foreign key logs.user_id. I'm trying to do the following using Arel and according to the Arel doc it should work.
u_t = Arel::Table::new :users
l_t = Arel::Table::... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528750",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: $.post vs $.ajax I'm trying to use the $.post method to call a web service, I've got it working using the $.ajax method:
$.ajax({
type: "POST",
url: "StandardBag.aspx/RemoveProductFromStandardBag",
data: "{'standardBagProductId': '" + standardBagProductId.trim() + "' }",
success: function(){
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528757",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: How to trigger when TextEdit value changed? I tried this:
houseField.addTextChangedListener(new TextWatcher() {
@Override
public void afterTextChanged(Editable s) {
// TODO Auto-generated method stub
}
@Override
public void beforeTextChanged(CharSequence s, int s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528760",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is wrong with this Thread? It only gets runned one time. (Thread with GPS Location) i have a activity that must capture GPS position of the user each 500ms and write it on the screen (Textview tv2). But something is going wrong
It only captures the GPS position sent by the DDMS of the emulator one time, and i p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528762",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I put an actionlistener to the OK button of JOptionpane.showInputDialog? I have a showInputDialog. Whenever I type something to that field, I want it to be save as textfile when I click the ok button. My problem is I don't know where/how to put the listener.
Could somebody help me about this matter?
A: Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: configure linux launcher to passed variables I have found that i can use something called a launcher in linux by right clicking the desktop.
i have set this to run my program in the terminal which i am happy about but i want to give it some default values when it runs.
Im guessing i should put the values after the p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528772",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Troubleshooting SQLiteException (unable to open database file) This is the databasehelper class. I amtrying to get a string from database stored in mTable.
public class KamaDBAdapter extends SQLiteOpenHelper
{
protected static final String TAG = "TAG";
private Context mContext;
private SQLiteDatabase mDb;
//privat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528774",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: User specific dashboard in Sharepoint So I'm building dashboard that consists of more sections. I'm planning to build each section as a web-part. Dashboard is going to be Site Page. Problem is I have more levels of users, and these levels have different dashboards (different sections and layout). How to make site pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528777",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Displaying a string in two lines in crystal report How can I display string in two lines like
AlphaBravo is a string i am receiving in crystal report
i want to display it as:-
Alpha
Bravo
The code is as follows in my content field
Replace (Alpha@Bravo,'@',' + Chr(13) + ')
The above didnt work for me
A: The code wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Do I include temporial events in UML Use Case diagrams? Suppose a system will generate reports every month. In the event table, I capture that event, but do I include that in a Use Case diagram? If so how?
Do all entries in an event table need to have a place in the use case diagram?
A: No: the event table contains... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Edit Text and its curser position? Is it possible in Edit Text view in android that we write the text in middle of the edit text view, like in MS Word. means that Writing alignment right,left our middle of the view?
A: In xml file Use: android:gravity="top | bottom | left | right | center"
A: Yes. Set the gravity ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I write data to csv file in columns and rows from a list in python? I have a list of lists and I want to write them in a csv file with columns and rows. I have tried to use writerows but it isn't what I want. An example of my list is the following:
[[1, 2], [2, 3], [4, 5]]
With this:
example = csv.writer(ope... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528801",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Capturing the Enter key I am trying to capture the Enter key as follows,
$("#txt1").keypress(function(event){
if(event.which==13) //Also tried using event.keycode
$("#add").load("newjsp.jsp?q="+this.value)
})
But everytime I press enter, The text gets erased and does not show in the form(#add) it should. How ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528803",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Problem with C char[] swapping I have this short code:
#include <stdio.h>
void fastSwap (char **i, char **d)
{
char *t = *d;
*d = *i;
*i = t;
}
int main ()
{
char num1[] = "hello";
char num2[] = "class";
fastSwap ((char**)&num1,(char**)&num2);
printf ("%s\n",num1);
printf ("%s\n",num2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528811",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I change notice & alert's class? I'm trying to adjust the standard application template in Rails to insert a class around the notice and alert messages, but I can't seem to find an elegant way of doing it.
At present, I have the scaffold:
<p class="notice"><%= notice %></p>
<p class="alert"><%= alert %></... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528815",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Trim scanned images with PIL? What would be the approach to trim an image that's been input using a scanner and therefore has a large white/black area?
A: the entropy solution seems problematic and overly intensive computationally. Why not edge detect?
I just wrote this python code to solve this same problem for m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Import class only if it's available (e.g. UIPopOverControllerDelegate only on >= 3.2) I've got a class which is implementing the UIPopOverControllerDelegate:
#if ios_atleast_32
@interface MyClass : UIViewController <UIPopoverDelegate>
#elsif
@interface MyClass : UIViewController
#endif
Is it possible to make determ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528818",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Simple javascript regex help needed I have a simple regex:
\[quote\](.*?)\[\/quote\]
Which will replace [quote] by table, tr and td. (and [/quote] by /td, /tr and /table)
It works perfectly for multiple separate quotes in the same string:
IE:
[quote]
Person 1
[/quote]
Person 3 talking about a quote
[quote]
Person ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528821",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Intercepting annotated method calls without AOP Is it possible to intercept the execution of a method that is annotated with a custom annotation without using any AOP framework such as AspectJ, Spring AOP, Guice, etc... I'm curious to find out if any of the default java apis can be used for this purpose (such as Ref... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Generics and Marshal / UnMarshal. What am I missing here? Better mention this :
I'm using Delphi XE2 - but XE or 2010 should do the trick too :-)
This Question is now in Quality Central QC#99313 please vote it up :-)
As of 10-20-2011 Embarcadero has marked the QC report as RESOLVED.
Solution was provided by SilverKn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528829",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: regex (preg_match_all) I can match this string {string} by using this regex : /{(.*)}/s in PHP's preg_replace_callback function.
But I don't what to match that string if that string is contained between tags like {tag}{/tag},
For example :
I don't want to match {string} in {tag} Anything Here {string} Anything H... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528834",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Efficiently generating a document index for a large number of small documents in a large file Goal
I have a very large corpus of the following format:
<entry id=1>
Some text
...
Some more text
</entry>
...
<entry id=k>
Some text
...
Some more text
</entry>
There are tens of millions of entries for this corpus, an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to change view from tab view to normal view in android How can we enter from Tab view to normal view in android.After clicking a tab we need to enter in the next view which don't need to have tab bar.
A: set listener to the tab.In the listener start new activity
tabHost.setOnTabChangedListener(new TabHost.OnTab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Are end of string regex's optimized in .NET? Aside: Ok, I know I shouldn't be picking apart HTML like this with a regex, but its the simplest for what I need.
I have this regex:
Regex BodyEndTagRegex = new Regex("</body>(.*)$", RegexOptions.Compiled |
RegexOptions.IgnoreCase | RegexOptions.Multiline);
Notice ho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to attach submit listener to all forms including those in iframes and nested iframes I want to attach an event listener to every form on my site so that when a form is submitted, a confirm box will pop up asking if the user is sure they want to proceed. If the user is not sure, I don't want the form to fire.
So... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can I extract the CLSID of a type from a typelib on the command line? I have an ActiveX control implemented as a DLL; this DLL has the type library embedded as a resource. I know that the type library contains a coclass with a special name (say "FooPlugin.BarClass").
How can I extract the CLSID of this class on the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Exception NoClassDefFoundError for CacheProvider I'm kind of new in Spring and hibernate so I'm trying to implement some simple web application based on Spring 3 + hibernate 4
while I start tomcat I have this exception:
java.lang.NoClassDefFoundError: org/hibernate/cache/CacheProvider
at java.lang.Class.getDeclaredM... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528862",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "93"
} |
Q: Is it possible to use an Internet Explorer plugin as a control in a WinForms project? As the topic asks. Is it possible for me to use any plugin written for Internet Explorer in my WinForms project without having to use the WebBrowser control?
(I want to be able to use the IBM AFP viewer in my own viewer app)
A: Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Only first letter by DataFormatString I have a column when I bind enum:
<telerik:GridViewComboBoxColumn Header="N/U" DataMemberBinding="{Binding VehicleCondition}" ItemsSourceBinding="{Binding Source={StaticResource Locator}, Path=CarSalon.VehicleConditions}" IsGroupable="False" DataFormatString="" />
How can I dis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528879",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MYSQL REGEXP search in JSON string I'm a beginner in regexp and i try to search in json formatted text, but i cannot make it work right:
SELECT DISTINCT tag, body FROM pages
WHERE (body REGEXP BINARY '"listeListeOuiNon":".*1.*"')
It shows me as results text with
"listeListeOuiNon":"1" and
"listeListeOuiNon":"1,2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528881",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Saving files with slash in file name - objective-c I can't save file with slash in file name. I download file, and if file has slash in the name, it doesn't want to save. For example full name of the song: "H/F ArtistName - Song name.mp3". Is it possible to save files with slash in name? Or how to properly replace s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SslStream, BEAST and TLS 1.1 With the recent advent of BEAST (exploits a vulnerability in SSL/TLS1.0 where the initial bytes of the payload are always the same) I looked into the SslStream class to see if it supported TLS 1.1, TLS 1.2, etc. It only supports (SslProtocol) SSL 2 and 3 (which both predate TLS) and TLS ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Apache Wicket - refreshing ListView triggered from inside the ListView i got the following structure which display editable rows in an html table
Panel
+ WebMarkupContainer - in HTML <tbody wicket:id="container">
+ ListView which for each item in the list does (in HTML this)
+ item.add(new PopTable1Row("Pop... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android: View by id? (from Widget Provider) I know only one way to get a view by id:
getViewById(R.drawable.imageButton)
But how am I supposed to get this imageButton if i don't have an activity (developing a widget application)
I am able to get a context. I suppose it is enough to get the view - context contains ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528891",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How does the IMDB search work so fast? There is a search box in header navigation bar (http://www.imdb.com/) and when I type 2 (or 3) letters fast,
for less than half a second, I can see 6 results coming out!!??
Does anyone have any idea how can one search a large amount of data and get the result with a picture. :... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to build a pipeline of jobs in Jenkins? In my project, I have 3 web-applications, all depend on one all-commons project.
In my Jenkins server, I built 4 jobs, all-commons_RELEASE, web-A_RELEASE, web-B_RELEASE and web-C_RELEASE.
The role of these jobs is to build the artifacts, which are deployed on our Nexus. T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Creation of viewmodel for treeview in WPF with grouping of objects I am creating an application for chatting in WPF(C#.net).
I have created a class User with following attributes:
1.Company_name
2.Branch
3.Designation
4.User_name
I am getting the list of objects of class user.
I want to display the users in tree... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528896",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to handle the exception? #include<iostream>
using namespace std;
class test
{
public:
test()
{
cout<<"hello";}
~test()
{
cout<<"hi";
throw "const";
}
void display()
{
cout<<... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528898",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: After insert, update timestamp trigger with two column primary key I have a simple details table like so:
listid
custid
status
last_changed
The primary key consists of both listid and custid.
Now I'm trying to setup a trigger that sets the last_changed column to the current datetime every time an insert or update h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Py2exe bundling files into a single exe I'm having some trouble getting Py2exe to bundle all the files into a single .exe. It works
fine for me when I don't bundle them together. So this is the setup.py script I use when I'm not bundling them together, and it always works:
from distutils.core import setup
import py2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528904",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: function to replace strings except images with alt need to be adjust i have my own SEO function it used to replace a word in string to clickable link this is the function
function myseo($t){
$url = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
$a = array('computer','films', 'playstation');
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528906",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: SQL equivalent of Math.Floor() in c# I just want to convert 10.111 to 10 based on some condition in the following Query
Select
case when 2=1 then
CONVERT(decimal(10,3), 10.111)
else
CONVERT(decimal(10,0), 10.111)
end
But it return 10.000
How can i get 10?
A: The CASE expression as a wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to make an ajax form that adds things to db, and has the same page be updated? I have a sandbox where I am trying to create a form where a person can add data, and the flow I want is an ajax call that add things to the database, and without refreshing the page, another panel in the original page gets updated wit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Loading UserControl to the region of the Window on ComboBox change I have got ComboBox which is populated with collection of customTypes. On comboBox change, I would like to load/change content in the particular region so that it loads related data for the selected ComboBox item (it could be in the form of loading u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528912",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Persisting Checklists on a UITableView using NSUserDefults I have a very simple table view which shows a list of days. Once the user selects which days are relevant to them this data is saved in NSUserdefaults. I then need the check marks to remain once the user has exited then re-entered the table view.
I am very ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Emulating CSS3 background-size with jQuery I have a circular image carousel that pretty much covers the whole of the browser viewport. Each carousel item is an image that needs to be rendered in the style of CSS3's background-size: cover for landscape images, and background-size: contain for portrait images. Of cour... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Server-side clustering for google maps api v3 I am currently developing a kind of google maps overview widget that displays locations as markers on the map. The amount of markers varies from several hundreds up to thousands of markers (10000 up). Right now I am using MarkerClusterer for google maps v3 1.0 and the go... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528922",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Fileupload inside detailsview in edit mode Hello i try to add a fileupload inside of a detailsview i attach here some parts from my code:
<asp:DetailsView ID="DetailsView1" runat="server" Height="50px" Width="586px"
DefaultMode="Edit" AutoGenerateRows="False" BorderColor="White"
BorderStyle="None" ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Based on my requirements, should I use NSIS or jprofiler/install4j We have a web application that we need to make easier to deploy for our clients.
The current workflow for a fresh install:
*
*Ensure there is a JRE on machine (32 or 64bit)
*Install Tomcat (32 or 64bit)
*Create a database in Oracle or SQL Server... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Reduce the pattern matching type ErrorOrValue = Either InterpreterError Value
evaluateExpression :: [Value] -> IR.Expression -> ErrorOrValue
evaluateExpression as (IR.Application l r)
| Left _ <- arg = arg
| Right (Partial ac b as) <- f = foo as f arg
| Right _ <- f = Left NonFunctionApplication
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528936",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Unresolved external symbol referenced in function I realize this is a hard one to answer without providing you with huge amounts of code (which I'll try to spare you).
Essentially i'm getting this error in class X, which #includes the class Y header. The class Y header has three definitions for getters
// Getters
st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Is there a theorical expression size limit for "or" operator on Regex.Replace Is there a theorical expression size limit for "or" operator on Regex.Replace
such as Regex.Replace("abc","(a|c|d|e...continue say 500000 elements here)","zzz") ?
Any stackoverflowException on .NET's implementation ?
Thanks
A: There is n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Convert CA-signed JKS keystore to PEM I have a JKS keystore with certicate signed by CA. I need to export it in PEM format in order to use it with nginx. I need to do it in such a way that it includes the whole chain, so that my client can verify the signature.
If I do something like:
keytool -exportcert -keystore m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: What happens when an integration stream tries to rebase from or deliver to an integration stream it was seeded from? Scenario:
Integration stream B (of project B) was created by seeding from baseline A_2.5 of integration A of project A).
After parallel development in both the streams the current recommended baseline... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: google-gin a provider needs a dependency. NullPointerException BindingsProcessor.java:498 In my GWT application i'm trying to setup a DI mechanism wihich would allow me to have all the commonly necessary stuff at hand everywhere. I'm using google-gin which is an adaptation of guice for GWT. I have an injector interf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528952",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Suggest: Non RDBMS database for a noob For a new application based on Erlang, Python, we are thinking of trying out a non-RDBMS database(just for the sake of it). Some of the databases I've researched are Mongodb, CouchDB, Cassandra, Redis, Riak, Scalaris). Here is a list of simple requirements.
*
*Ease of develo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528963",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to grant MySQL privileges in a bash script? I need to grant privileges to a database from within a bash script. Some parameters are in the form of variables, say, the username and the password. The command in a mysql shell would look like this:
GRANT ALL ON *.* TO "$user"@localhost IDENTIFIED BY "$password";
..... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528967",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Find out date difference in SQL Server I have from date and to date in my table, I want to know total number of days between two dates without sunday, in SQL Server 2008.
give me a query..
Accept my question...
A: OK, so work out the total number of days, subtract the total number of weeks, and a fiddle factor for ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528969",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Setting PHPMyAdmin Language The user interface for phpmyadmin is displayed in german for some reason and i'd like to change it to english but don't know how. I installed the latest xampp.
Thanks
A: At the first site is a dropdown field to select the language of phpmyadmin.
In the config.inc.php you can set:
$cfg['L... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "94"
} |
Q: What does "R"c mean when mapping a network drive using this function I copied code to map a network drive from http://www.vbforums.com/showthread.php?t=616519 to map the drive and http://cjwdev.wordpress.com/2010/05/30/delete-network-drive/ to delete the drive. I want to know what "R"c means in this code:
Remove... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there a command to list all syscall names and numbers on linux in bash? I know syscall 1 means write,
but is there a command to list all implemented syscall names and numbers on linux in bash?
A: The man page points to the header file sys/syscall.h. It has all the defined constants, and it's located at /usr/incl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528981",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to swap items in treeview control? I have a treeview control:
*
*Parent Item 1
*
*Child Item 1
*Child Item 2
*Child Item 3
*Parent Item 2
*
*Child Item 1
*Child Item 2
*Child Item 3
*Parent Item 3
*
*Child Item 1
*Child Item 2
*Child Item 3
I want to move, for example Parent Item 2, up or d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528985",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to resolve following htaccess code <IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
can any body explain me how above htaccess r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7528993",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MkMapView tap + Annotation Selection Issue I have a MkMapView on which I have some Annotations. When I click an annotation Its detail is opened in another view which has scroll view in bottom half of map view. When we scroll through scrollview the map centers on next annotation and its details are shown in scrollvie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529011",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: AOL openid website verification Iam trying to use AOL openid, nut am getting "AOL is unable to verify this website"
can somebody tell me the steps to avoid this error, what should I don on my end.
If there is some sample code please share it - thanks in advance
Regards,
Navin
George thank you for you answer, howe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529013",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to deploy both applications using 1 apk file?
Possible Duplicate:
Is it possible to install multiple android applications in one APK file?
Actually I have 2 applications
1. Main application (contains many activities)
2. Additional application (contains one widjet)
My goal is to avoid 2 apk files and deploy 2 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: CakePhp localization I'm setting the localization on a website, but I've some trouble.
I've found a tutorial, which does exactly what I need: http://nuts-and-bolts-of-cakephp.com/2008/11/28/cakephp-url-based-language-switching-for-i18n-and-l10n-internationalization-and-localization/
(having directly the language aft... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529020",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Rave Reports - Access Violation in rtl150.bpl on intToStr or StrToFloat 20/01/2012 I have now given up on rave and reworked the reports in FastReport.
I have now got the report working by downloading DelphiXE2 and re-compiling the report with Rave version 10.
I am Using RAD Studio XE Version 15.0.3953.35171 with RV... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529022",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript - trying to locate an image I am not expert in javascript, so, excuse my lack of knowledge.
I am trying to interact with an image on a page on the web, to create some automation.
I need to click on that image using javascript, from a script.
I did everything to discover how to access that image and no suc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529024",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to insert variable number of spaces necessary to align textual columns in Vim? I’m a fan of Visual mode in Vim, as it allows to insert text before any given column.
For example, insertion of spaces after the quotation leaders below:
> one
> two
> three
can be done via <Ctrl-V>jjI <Esc>:
> one
> two
> thr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529029",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: JDBC PreparedStatements vs Objects - Where to put initialization What is the best place to put PreparedStatement initialization, when i want to use it for all instances of given class?
My solution is so far to create static methods for opening and closing, but i don't find it quite the right choice:
class Person {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529037",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Uploading Files to ftp server by selecting an account? I would like to upload files to ftp server by choosing account using Alert Dialog. The Alert Dialog show when the Activity starts. I know how to create Alert Dialog when activity starts. But, i don't know get the values from database within the Alert Dialog. I'v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529042",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Lvalue error when attempting to change webview.bounds.origin.x/y So basically, I'm trying to create an NSTimer which will scroll through a UIWebView (here named _webView). The timer is firing correctly, but the other lines are giving me an "Lvalue required as left operand of assignment" error. All I want to do is in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529043",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problem with c:forEach inside rich:dataTable I have this page:
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
template="./templates... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529046",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Anomaly detection using mapreduce I'm new to Apache Hadoop and i'm really looking forward to explore more features of it. After the basic wordcount example i wanted to up the ante a little bit. So i sat down with this problem statement which i got by going through Hadoop In Action book.
"Take a web server log file .... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529047",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Custom routes in CakePHP: regex not limiting matches I'm trying to configure my custom routes in cakephp such that the url
/objects/id/action => ObjectsController.action() with params['id']=id
(This is so that I don't have to have urls like /objects/action/id which logically make less sense to me than objects/id/act... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529055",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Custom fields on new contact
This is the 'add new contact' window. Is it possible to create custom data fields in this window?
My current custom fields are only visible on the 'contact details' window.
A: It seems like the only way to do it, is to catch the intent and show you're own edit contact activity( at lea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529056",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Disable .htaccess for a directory Im using a Framework which has this .htaccess file:
Options +FollowSymLinks +ExecCGI
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} !(\.png|\.jpg|\.gif|\.jpeg|\.bmp|\.ico)$
RewriteRule ^(.*)$ entryPoint.php [QSA]
</IfModule>
thats very good, because en... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529058",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What happens with the local changes on svn export from working copy I am developing a web-site and keep its code an SVN. For development purposes I have two local copies:
1. A normal working copy that is always at HEAD (I am the only developer)
2. svn export'ed copy for the final tests and uploading to the server
sv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529060",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: iOSCheck if uislider value is increasing or decreasing. how would one check wether or not a slider's value is increasing or decreasing? Any help would be greatly appreciated. I know I should use a temporary value, but nothing beyond that.
A: TESTED CODE : 100% WORKS
.h
float lastSlidedValue;
-(IBAction)sliderMo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Reading Bulk data from CSV and writring into another csv I had one csv file of 1 cr lines of data. From this file I have to read data from csv and using first field I need do check conditions with in my db and from that Db took one key and append all prevoius data and write to another csv. Which ever I read from CSV... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529067",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Regex to remove HTML attribute from any HTML tag (style="")? I'm looking for a regex pattern that will look for an attribute within an HTML tag. Specifically, I'd like to find all instances of ...
style=""
... and remove it from the HTML tag that it is contained within. Obviously this would include anything contain... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529068",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Best way to start fragments I have the following scenario. A tabhost manages four ListFragmnet. For every ListFragment I have several fragment. For instance associated with the ListFragmnet 1 I have the fragments A, B, C and can happens that fragment A "launch" fragment B which can launch fragment C. Is correct to a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529069",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: is using attributes for microdata storage and as a selector a bad thing So I have a habit of using the attribute lang as my selector and store microdata,in jquery.
Althought it is not w3 compliant.But is it a good thing.
Also is there any alternative to this.
something like this. $('[lang=153]') to get this dom and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529072",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Windows 8 + VS11 doesn't work? I've downloaded the W8 Developer Preview, installed VS11 Ultimate on it, and I get errors when I try to build the applications.
My W8 copy has something wrong with a character set, and I'm unable to read what the errors are.
A: I had a similar problem, but I actually received error me... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529078",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.