text stringlengths 8 267k | meta dict |
|---|---|
Q: How to fetch Java version using single line command in Linux I want to fetch the Java version in Linux in a single command.
I am new to awk so I am trying something like
java -version|awk '{print$3}'
But that does not return the version. How would I fetch the 1.6.0_21 from the below Java version output?
java v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "48"
} |
Q: What does absolute parameter do in DateTime::diff(DateTime [, bool absolute = false]) Here is the sample code
$c = new DateTime();
$o = clone $c;
$o->modify('-60 days');
$diff = $c->diff($o);
$diff2 = $c->diff($o, TRUE);
var_dump($diff, $diff2);
which outputs
object(DateInterval)#3 (8) {
["y"]=> int(0), ["m"]=> i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596456",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Condition, Block, Module - which way is the most memory and computationally efficient? There are always several ways to do the same thing in Mathematica. For example, when adapting WReach's solution for my recent problem I used Condition:
ClearAll[ff];
SetAttributes[ff, HoldAllComplete];
ff[expr_] /; (Unset[done]; T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596460",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: How to implement permanent, regular, background location updates? The app needs an underlying feature that picks up locations and sends them to a server. This must happen regularly (approx every 1-5mins) but most importantly it must happen all the time, never stopping, protected against the OS shutting processes dow... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596462",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: In WritableBitmap. How can i use Unlockbit,Stride in silverlight? Can i use Bitmap, Bitmapdata object in silverlight.
And as i am using WritableBitmap.
How can i use Unlockbit,Stride,
bitmapdata.Scan0,Methods for Writable bitmap class.
My goal is to do following in Silverlight ,
bitmap = new Bitmap(image);
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596471",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using WCF, surely REST and SOAP should work in harmony? REST Only accepts String..?
So What I do is make a string exposed contract and convert it server side, and pass it to my method which SOAP was directly calling. Which works. ( I can call REST from firefox)
BUT now, I cannot expose my SOAP OperationContract with... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596472",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Video Player for Agile Toolkit I'm looking for an add-on implementing a basic video player for Agile Toolkit. Does anyone have anything to contribute? Here is the code I'd expect to write to use it:
$player = $video->add('VideoPlayer_YouTube');
$player->setSource($url);
But should also be capable of playing .mp4 vi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596480",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Android application loading issue I am developing an application on Android 2.2 . Mainly what it does , is that it grab data from the internet and then it shows it on the device's screen. I have finished an Activity , but , it is too slow , it takes too much to get the web content . I would like to make it run faste... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596483",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Positive look ahead regex confusing I'm building this regex with a positive look ahead in it. Basically it must select all text in the line up to last period that precedes a ":" and add a "|" to the end to delimit it. Some sample text below. I am testing this in gskinner and editpadpro which has full grep regex supp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dojo: event indicating that widgets are rendered I have a widget on page and javascript code:
<script type="text/javascript">
dojo.ready(function() {
dijit.byId("widgetId");
// oops, widget is not rendered yet, so this code can't find it.
})
</script>
So what event should I listen to w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596486",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reason for "Cannot resolve dependency to assembly" error When would the following message be shown?
Error 1 Unknown build error, 'Cannot resolve dependency to assembly 'Infragistics2.Win.v10.3, Version=10.3.20103.2015, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' because it has not been preloaded. When using... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596487",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: android listen for app launch I need to develop a service which listen for every activity start.
Must I do something like this?
ActivityManager am = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE);
List<ActivityManager.RunningAppProcessInfo> runningAppProcessInfo = am.getRunningAppProcesses();
for (int ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596488",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Index was outside on the bounds of array error on c# log in with SQL Hi i have a login which connects to a server string and executes this when the login button is pushed. It returns the invalid error if the user and password is not stored on the database but it throws a "Index was outside on the bounds of array" er... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596497",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Send Key Event to a Child Window I'm developing an application in python which sends keyboard events to another external application. I use the pywin32 package to set the external application and send the desired key:
import win32com.client as w32
shell = w32.Dispatch("WScript.Shell")
shell.AppActivate(desired_appl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596502",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Autocomplete data retrived via http request (not hardcded) when user type in textbox I will like to know if it's visible to use Autocomplete in such away it call some service via HTTP for fetching results and displaying it in Autocomplete list.
I have one screen with the text box and I need it to work in such away w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596508",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: turn on xml.vim ftplugin in vim I downloaded xml.vim plugin and copied it into /usr/share/vim/vim73/ftplugin (I replaced the existing one as the one I've downloaded was more up to date).
Next I've checked :set runtimepath and made sure that the directory is listed. Then I created an emtpy xml file bla.xml outside o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596510",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to save the window.URL.createObjectURL() result for future use? I'm making an application in HTML5 where you choose a video file, and then the application plays it with the HTML5 video tag and the window.URL.createObjectURL(). The problem is that I want to save the data about this video in localStorage and play ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596515",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: how to use regular expression in javascript to extract value? I want to use regular expression in javascript to extract values. The string is in this pattern "title{position}", how should i get title and position in this example?
A: Assuming that's all there is too it (no nesting of '{}'s or anything) (\w+)\{(\w+)\... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596516",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How I can change the content of my site's page after a couple of minutes? So, I need to change the data representation after a couple of minutes since user did something (e.g. uploaded an image)
What I need is to change some div in page after some time?
How I can do it? What to use like a tool? PHP or JavaScript?
Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CoreData - ManageObject invalid after save Have been using coreData for a short while and have not had any issues with the data model at all.
However, I have an managed object that appears to have become invalid after a save and any modification to it after the save causes exceptions.
This entity is a parent in a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596530",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to change the download and installation order of the prerequisites in ClickOnce I need to postpone the download of some prerequisite in ClickOnce to be downloaded and installed at the last of the other prerequisites?
A: Find and edit the product.xml file for your bootstrapper package. The bootstrapper packages ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: can a windows domain logon include more than 1 '\' char? As per title, can there ever be more than 1 \ char in a windows logon name?
e.g.
mydomain\ghostJago
Can this ever become somedomain\mydomain\ghostJago under any circumstance.
I'm asking as I want to split an incoming userstring in C# on \ and get exactly 2 el... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Deserialize Json to class object using restsharp I have checked out the documentation for restsharp and also googled for a solution, but unable to find a solution for this problem:
I have an asp.net mvc3 app and need to connect to quizlet.com to access public flashcards. I have added a reference to restsharp and cre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596548",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Assign db query value to t-sql variable in dynamic query I have this requirement to be implemented in a stored procedure. Dynamically query the database to get the count of a table, store it in a t-sql variable and then take some decisions based on that.
This is the stored procedure that i am working on . This is th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596551",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: MongoDB stable? So i am starting to make this new app that will be a software as a service (SAAS), I have been looking at MongoDB but after reading some posts i get the impression that its not stable where you have to run the repair command alot and its easy to lose data.
So with the release of 2.0 are these issues ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596555",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Eclipse's DDMS is not detecting device (Emulator) I am using Ubuntu (Linux) machine. DDMS in my eclipse is not detecting Emulator (Gingerbread) as devices.
Gingerbread emulator is working fine. When I run "ddms" in cammand prompt, its working properly, it will launch ddms which will show emulator as device with runn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596561",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JSP page not populating the formBean property associated with <html:select property="fileLocation">
<%
ArrayList uploadLocationLookUp = null;
uploadLocationLookUp = (ArrayList) request.getSession().getAttribute("uploadLocation");
if (uploadLocationLookUp.size() != 0) {
for (int i = 0; i < upl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is JSONP supported in the new Flickr OAuth API? I searched for the JSONP usages of Flickr's OAuth. Let me know whether it's supported.
A: There are only 2 supported methods, you cannot use OAuth for a whole login process using JSONP.
But, even if it's deprecated, the old API still exists, is usable and supports JS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596563",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: "The value for the useBean class attribute user.UserData is invalid" - why? Attempting to create a selection of webpages that take some information, and then display it on a later page, Works up to the retrieving and displaying stage, where I get the following error,
The value for the useBean class attribute user.U... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596567",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: facebook update: How to provide an SSL certificate
You must provide an SSL certificate in the Dev App settings to avoid having your app disabled.
https://developers.facebook.com/roadmap/
Do I have to upload my certificates anywhere? Where?
A: You need to add your certificate to your web server.
For more informati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Show Toast on SplashScreen Android I am stuck with following problem.I want my application to exit if it detects no network connection.My application starts with splash screen.Is it possible to show splash screen followed by toast if no network connection is on device.and then terminate the application
I have someth... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Matlab dynamic fieldnames structure with cell arrays How can i access the following structure path with dynamic fieldnames:
var = 'refxtree.CaseDefinition.FlowSheetObjects.MaterialStreamObjects{8}.MaterialStreamObjectParams.Pressure.Value.Text';
fields = textscan(var,'%s','Delimiter','.');
refxtree.(fields{:}) doe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: no such file to load -- rack/openid I am working on a rails gem which depends on rack/openid. But when I require it and fire up my application I get this error
no such file to load -- rack/openid
The gem is installed
$ gem list | grep openid
rack-openid (1.3.1, 1.2.0)
ruby-openid (2.1.8)
I've seen this question bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how add a form in views I created a views showing user details, and i would like to show this views by date-wise.
I want to create a starting date and ending date (January 1 2011 to February 25 2011), then click submit. It show only the user join between January 1 to February 25.
Is it not possible to do in views,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596581",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: QTreeView draw drop indicator I need to implement rows moving via drag-n-drop in QTreeView and show the drop indicator between rows. I am wondering if there is a way to override indicator drawing, so it is displayed for all levels of hierarchy between rows only (not the rectangle around the item), the line must be a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Why does 'this' in a function display window object where as 'this' in an argument displays the object from the function was invoked? Why does 'this' in a function display window object where as 'this' in an argument displays the object from the function was invoked?
function show(x){
alert(x)//displays [object HTM... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596590",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: simple oracle stored procedure example for updating two tables in one go Could anyone give a simple example of an Oracle stored procedure for updating two tables in a single go.
A: CREATE OR REPLACE PROCEDURE update_2_tables
IS
begin
update t1 set c1 = 1;
update t2 set c1 = 2;
end;
/
A: I supposed that you u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596593",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Rails devise user function How do I execute a particular function after a user has signed up.
(I wanted to add to one of my associations, I already have it coded in a non-devise rails but now I need it here)
A: Device has provided helper action 'after_sign_in_path_for' you can override it within your application co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596595",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get values in a tableview cell I have a tableview cells containing bible verses one by one in each cell,my need is when the user tap the cell i have to get the verse inside the tapped cell in a string formate.this is for sharing functionality.
Please help me.
A: To add the verse, you likely used
- (UITableV... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596596",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ANTLR and Android is there any guide how to use ANTLR on Android? I have found some ANTLR portation for Android but it looks like being without any tutorial or manual. Do you know where to find some? (and yes, I have been googling...)
Thx
A: After reading the README from this ANTLR port:
AntlrJavaRuntime - Earlenc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596609",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Benchmarking (python vs. c++ using BLAS) and (numpy) I would like to write a program that makes extensive use of BLAS and LAPACK linear algebra functionalities. Since performance is an issue I did some benchmarking and would like know, if the approach I took is legitimate.
I have, so to speak, three contestants and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "116"
} |
Q: how can i change listing order of my ul li list for each page load using jquery hi i am using prevnext jquery slider . Now on each page load the sliding starting from the first list. Is there any way to list items in random order
A: If I were to do this I'd probably use a query string idea i.e. http://www.mysite.co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Errors on importing my oracle 10g database I am running my oracle on a debian machine. Today I decided to create a new user and a new tablespace. Then I export a database with the user System which on the same machine. I got some error when I try to import to my new user account.
here is what I've done:
./imp mynewu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596617",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MongoDB: order by two fields sum SELECT (a+b) as c FROM my_table ORDER BY c ASC;
How can I order by two columns sum in Mongo?
A: You can't do it easy without an extra action.
To sort on any computed value you need to store it in a document first or in other worlds you need to create extra field 'c', and store a +... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: What is the best way to share/distribute Excel macro? I wrote the macro in Excel and want to distribute it to the users. Once opened I want the macro to add itself as a toolbar and then to be always visible whenever the Excel is opened. So the macro can be conveniently accessed used from all workbooks.
A: IMHO, th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596623",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Strip the path to the pdb Per default, when compiling a Visual Studio project in release mode, the complete path to the pdb is put into the image file, e.g.:
c:\myprojects\demo\release\test.pdb
Using an undocumented linker switch (/pdbpath:none) one can force Visual Studio 2008 to reduce the full qualified name of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Character set encoding issue All, Im having the age old problem with character encoding...
I have a mySQL DB with a field set to utf8_unicode_ci. My PHP page as the header entry <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />. When I use a simple form to POST data with Cyrillic characters to th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Merging programs of different languages I have three programs (one in C++ + WinAPI, another one in C# .NET and the last one in Java) with different functions. I am about to choose one and implement functions of the other two. Is it possible to somehow merge them? I need to have them in one GUI, under one process (at... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596633",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Search in NSMutableDictionary only with partial key I want to know if there is a possibility to search in an NSMutableDictionary with a partial key.
For Eg.: Let key be 2345 and partialkey can be 2 or 23 or 234,etc
Thanks
A: You can use the allKeys method to get an array of all the keys and then filter them based o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596637",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: When calling TransformProcessType(), the app menu doesn't show up If you call TransformProcessType() like this :
ProcessSerialNumber psn = { 0, kCurrentProcess };
(void) TransformProcessType(&psn, kProcessTransformToForegroundApplication);
Then the cocoa app menu doesn't show up unless you call this early enough ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596643",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Unable to get Events with specific location using restFB I am unable to fetch all sports events happening in the state of
Georgia. Is this the right way to use this, since its currently
retrieving all events across the country.
FacebookClient publicFbClient = new DefaultFacebookClient();
Connection<Event> eve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596646",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Ignore with CSS? I'm working on a site which has line breaks inserted as <br> in some of the headings. Assuming I can't edit the source HTML, is there a way with CSS I can ignore these breaks?
I'm mobile optimising the site so I don't really want to use JavaScript.
A: You can use span elements instead of the br i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596647",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "125"
} |
Q: how to clear an NSMutableArray of custom objects without creating memory leaks? If I have an NSMutableArray of custom objects, how can I must easily clear the array without causing any memory issues? Assume that the custom object class has a dealloc method in it which correctly released an instance variables etc.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596648",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Bash Substring File Completion Does bash partial/substring file completion similar to what zsh does?
That is, instead of requiring the user to enter a prefix of the filename, then tab; the user can also enter a substring of the filename, then tab.
Say a directory contains a file abcdef, then not only would ab<tab> c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: can we override alloc and dealloc in objective C? I know that this is rarely required to override the alloc or dealloc methods,but if required is it possible in iPhone programming?
A: In general, overriding alloc is only done when you wish to, eg, allocate an object from a pool of available instances, or perhaps al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596651",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: google checkout digital products Basically I want a functionality to download code mywebsite.
I checked following link for google checkout digital products.
https://checkout.google.com/support/sell/bin/answer.py?answer=39011
I created buy now button for digital product from sandbox using this link.HTML code redirect... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Permissions in SQL Server 2008 I have created 10 database of 'Northwind' for training purpose. Suppose I have 10 students, so databases are Northwind_Student1,Northwind_Student2 etc. I would like to create separate login for each pupil, so that Student1 can only see(or can access) the data base 'Northwind_Student1'.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Regex for wrapping digits with curly braces? I am trying to using Python's re.sub() to match a string with an e character and insert curly braces immediately after the e character and after the lastdigit. For example:
12.34e56 to 12.34e{56}
1e10 to 1e{10}
I can't seem to find the correct regex to insert the desired... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596667",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: XCode compiles entire project each time I run On a new project I have started, XCode has decided that it will compile every file in the project every time I run it, rather than just compiling files that change (and files dependent on those). As there are getting to be more and more files in the project, this becomes... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596671",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Month cannot be altered in Silverlight DatePicker when custom CalendarStyle is specified I've taken a DatePicker and customised the style for usage on a tablet. I'm finding that while days can be selected the month cannot be changed. Neither clicking the previous/next button or on the month name has any affect, alt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596672",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: camera problems in android in my app i am capturing video and save it to sdcard. my below code is working fine since api level 8. but if i run my app below api level 8(from 7) it get crashed. it says
java.lang.NoClassDefFoundError: android.media.CamcorderProfile.
how to run my app with the all version/level support... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596674",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CSS: dynamic width of child elements to be fit the parent width When writing CSS, I always find myself missing auto child width feature of floated child elements, to fit their total width to the parent's width.
In fact I find it hard to phrase in Google search box, so you may consider this example:
A ul contains fou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596681",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: "unable to start debugging on the web server" MSVSMON.EXE failed to start. VS2010 error having a real problem getting VS2010 to debug IIS.
I've searched on the internet for a few days now and tried every single solution I can. VS2008 works perfectly but I've installed VS2010 and when trying to debug an IIS site (by... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596688",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Star plugins for Symfony I use Symfony 1.4.12 .
If i install http://www.symfony-project.org/plugins/sfWidgetFormJqueryRatingPlugin or http://www.symfony-project.org/plugins/mpStarRatingPlugin
i have error:
You try to install a symfony 1.0 plugin. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596696",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WCF service taking userPincipleNname instead of passed in string as argument This is a weird issue. I am passing in strings into my service, and that string would be the username of the person logged into my website (via windows authorization). I get the string from my website using
HttpContext.User.Identity.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how can i move an element within a list of images? with JQuery i have a list of images
<img src="image-1.jpg" />
<img src="image-2.jpg" />
<img src="image-3.jpg" />
<img src="image-4.jpg" />
<img src="image-5.jpg" />
whats the best way to reorder them such that image-1 is at the bottom? (but not necessarily image-1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596701",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to bind multiple events with .live in jQuery? I have an input text with two events and dinamically I clone it several times. To bind this elements correctly I use:
NOTE: This input text has the focusin and focusout events.
$('[selector_input]').die().live( 'focusin', function() {
alert( 'You focused me' )... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596702",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: technical comparison between the differences in html of jquery mobile and webapp-net I am trying to build an application for smart phone devices. I have searched a lot over the web and I found some good toolkits, These are the toolkits I am considering to work with. Jquery Mobile and webapp-net.
The only problem is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flash games should I use MP3 or WAV file format? I'm developping a flash game and I'm wondering what audio format is more suitable (MP3 or WAV)?
I understand that MP3 is much smaller but it has worst audio quality when is compared to WAV files.
Thank you for your opinion.
A: From Adobe's Programming AS3 (Chapter Wo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596704",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Matlab `imagesc`: how to display with smooth colors? I have a matrix which I display with imagesc. Now I'm asked to make an "interpolated" version (i.e. display with smoother colors).
While I could compute a larger interpolated matrix, I seem to remember that there was a command to switch between two such display mo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596705",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: how to print the value for the Node of xml on console in blackberry I have created the NODES for parsing but i dont know how to display the values within that NODE. hear is my NODE for that i want t\o print the value in console of eclipse.
enter code here
for(int j=0; j<tempList.getLength(); j++){
if(te... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596707",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How could I be notified of a new Facebook comment on any of my site's pages? I've a site, say, example.com with many individual pages that are created dynamically (example.com/a/, example.com/b/ etc), each of which has its own Facebook Comment box.
Is it possible for me to be notified whenever a user comments in any... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does Visual Studio (2010) updates IDL file automatically upon change in my code? When I make a change in my ATL class (e.g. adding new interface or implementing a new method), do I need to update the IDL file or the Visual Studio (2010) does it automatically (when not using wizards) ?
[Sorry.. somewhat NOOBie questi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596711",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Profile Unit test code which is written is cpp Is there any way we can profile unit test cases which are written for cpp program. I have implemented code coverage using gcov
A: Since you have mentioned gcov, how about gprof, will that work for you?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7596715",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to prevent a set of MSIs with common Upgrade code from installing post install of my msi? I distribute 2 msis A.msi and B.msi . I have been distributing it for long time and every new release maintains the same Upgrade code and new higher version.
I have now a new msi C.msi . After installing C.msi, I want that... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596716",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Having exception. Spring 3 with Spring Tool Suite, Tomcat 7 and Maven I am new to Spring 3. I newly installed Eclipse Indigo, Spring Tool Suite.
Using Spring Tool Suite "Spring Template --> Spring MVC project". I created a Hello world application.
When running the application. It gives a exception.
java.lang.Linkage... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596730",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: FB API - Is it possible to post a large photo on someone's wall? I'm wondering if is it possible to post a large photo on someone's wall? Right now there is a limit - 90px, but how about the new Open Graph? Is it possible to do with the OG and the timeline?
A: To get the nice big photos, you'll need to mark them as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596735",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Android Skia remote surface Hi I was researching the possibility to transport the "not rendered" rendering calls to a second screen from Android. While researching I found out that Skia is behind the Surfacefinger, and the Canvas.draw() method. So my question is now, what would be the best interception point to bran... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596736",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: sencha touch - accordion layout In this code ...
var panel = new Ext.Panel({
fullscreen : true,
scroll : "vertical",
layout : {
type : "accordion"
},
items: [
{ xtype : "panel", title : "One Title", html : "One" },
list,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596737",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Find POI along a Google Maps route? (Android) doing "points of interest along a route" in google maps
This would fit perfectly to my question...... But its not suitable for an android activity :/
So I start copiing the question now... just wait :D... aargh! Done!
I need to allow travelers to use google maps to plot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Whenever i run my application, the application crashes and it shows " signal1:Program recieved signal SIGABRT" On the console it shows....
2011-09-29 17:06:39.564 Project AddressBook[925:207] * Terminating
app due to uncaught exception 'NSInternalInconsistencyException',
reason: 'Could not load NIB in bundle: '... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596739",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: IsKeyboardFocusWithin in silverlight How to get the keyboard focus is anywhere within the element or its visual tree child elements in Silverlght?
A: There are two possible solutions depending on your scenario (we usually prefer more detail in a question).
First you can use the FocusManager.GetFocusedElement() stat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: File Upload, jQuery
Possible Duplicate:
Using jQuery, Restricting File Size Before Uploading
When a user clicks on the file select button on an input element with it's type "file" is it possible to determine the file size, and other information about the file, before the user presses upload?
For example, and even... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596745",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jQuery: Fire a function when there's a certain hash in the url...? I'm looking to execute a function when the a page is loaded with a certain hash in the url.
So if I visit www.mypage.com/hello.html#functionplease then the code will execute.
Can anyone point me in the right direction?
Any advice appreciated!
A: var... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596746",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C# - How to list the files in a sub-directory fast, optimised way I am trying to list the files in all the sub-directories of a root directory with the below approach. But its taking much time when the number of files are in millions. Is there any better approach of doing this.
I am using .NET 3.5 so can't use enume... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596747",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: OAuth 2.0 way of grant permissions in JS and use serverside, (no session) I have created several apps by using FB.login() in the middle of the steps on a page, and rely on C# gaining access to the same session and thereby access (and save) the user info correctly.
JS:
FB.login(function (response) { if (response.sess... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ondemand billing provider I've been looking around for a simple ondemand billing solution.
My scenario is the following:
My customers use virtual credits on my website.
Payment option 1)
Customers can buy virtual credits buy suppliying a credit card.
Payment option 2)
Customers can register their credit card for au... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596752",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I link the youtube iframe to show popup message I there a way to show popup texts while clicking the youtube video iframe code ?
<a href='login.html?sid=0&keepThis=true&TB_iframe=true&height=240&width=650' class="thickbox" title='test'>
A: Have you try to call Javascript on the onclick attribute
<a oncl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596755",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: DO NOT redirect just render the login layout
From my clients, they wanna all customers (users) SHOULD login before visiting any page on Magento site.
I know that if I do that, I have to check if a user does not login, we will redirect to
customer/account/login
I have question is:
I don't wanna redirect, I just wan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: passing boost python enum as parameter I defined
enum_<mytype>("mytype")
.value("one",1)
.value("two",2)
;
in my BOOST_PYTHON_MODULE.
when I expose a class with a function taking a parameter of type mytype (essentially, an int), like:
void myfunc(mytype m) {
...
}
I get the following compiler warning:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596757",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Calendar months wrong I try to set a simple date certain years after with calendar:
String date is a parameter of this metod.
SimpleDateFormat format = new SimpleDateFormat("dd.mm.yyyy");
String[] DateTimeParts = date.split(" ");
String dt = DateTimeParts[0];
String[] dateParts = dt.split("-");
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596760",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: File in local storage on Java, Android I serialization object into new file in local storage by this mean:
ObjectOutputStream output=new ObjectOutputStream(openFileOutput("settings.dat", Context.MODE_PRIVATE));
output.writeObject(this);
output.close();
But in another function I must check file for exist:
File file=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596764",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Android: layout at the bottom of a gridview (at the end of it) What i want is to have the gridview filling whole screen. And when you scroll it down, at the end would appear a layout with 2 buttons. Ive been reading and couldnt figure how to get it. I could fix it on the top of the screen and the bottom (over the gr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596765",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Detect screen size and pixel density on the server-side? I've been doing some research and I think I know the answer already, but I'm wondering if there's any means by which you can get a device's screen size and pixel density without the use of javascript or relying on CSS3 media queries.
Essentially, I'm looking i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596769",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Variable package name with Maven Android Plugin I'm using the Maven Android Plugin to build my application.
Actually, I'm building 3 "branded" versions of the same app (the app icon, colors, etc... change, but not the features). I'm aware that I need to use a different package name for each application, for them to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Figuring out the biggest array I can create in memory I am sorting a number of integers from a file, which will probably be too large to fit into memory in one go, my current idea is to get sort chucks with quicksort, then mergesort them together. I would like to make the chunks as big as possible, so I'd like to kn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596773",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Change text within a tag on mouseover I have defined a tag in which on mouseover i am changing the text within the a tag
<a class="bid-addwatchlist add-logout" href="/users/login" onmouseover="changeText(this)" onmouseout="sameText(this)"><span style="font-size: 32px; line-height: 18px;">+</span><span style="font-si... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596775",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is a kernel equivalent for ReadFileScatter/WriteFileGather How to perform vectored file I/O from the Windows kernel? I need an equivalent of ReadFileScatter/WriteFileGather.
A: NtReadFileScatter and NtWriteFileGatter Also the following might be a good addition
A: I believe you can use ZwReadFileScatter and Zw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there away to know if a user is still on my site - instead of using cookies or sessions I am wondering, if there is a real-time way time ping a user and see if that user is still only.
My site uses jQuery, PHP and CRON jobs
so I was wondering what would be the best way to check that the user is still online.
Each... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596785",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Downloading MMS emails sent to Gmail using Python So I tried the code below and it downloads attachments alright. The problem is on my gmail account, there are emails that were sent using MMS mail through mobile phone. Email attachments from mobile network A can be downloaded by the script below , while those that c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596789",
"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.