text stringlengths 8 267k | meta dict |
|---|---|
Q: Can we add HTML5/Jscript to ASP.Net MVC2 Project I wonder to know if we can add HTML5/Jscript files to ASP.Net MVC2 Project?
If yes , How ?
A: ASP.NET MVC is a pattern where you have total control over the views. This means that you can write any javascript and HTML markup you like. If you like HTML5, then you can... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634840",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ruby: search an multi-dimensional array for a value and update if needed Trying to look through an array and see if a particular value is set and if it is, update the numbers attached to it.
Example:
test = [['test',1,2],['watch',1,2],['fish',1,2]]
So I'd like to search this array for 'test' - if it exists, amend t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Database triggers that tells my website that something has been updated I am in the process of creating a friendlist using ASP.NET/C# and MSSQL 08. Simple datalist that lists the profile image and name of my friends.
Next to the name, I have a label showing current status of my friend. Like for instance, Online, Off... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634843",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: $(document).ready(function() - don't work I am using Rails & jQuery.
Here is HTML which I get:
<head>
<title>Some</title>
<script src="/javascripts/jquery.js?1305699774" type="text/javascript"></script>
<script type="text/javascript">
alert("2");
$(document).ready(function() {
alert("1");
...... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: AJAX4JSF/AjaxStateHolder | Session Memory Leak I am working on the performance tuning of an enterprise web application with about 300 simultaneous user. I have noticed from the GC log that the application heap is always growing and objects are always accumulating even after Full GC. I've acquired a production heap d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: multiple image upload with dragonfly i was trying for multiple image upload with dragonfly in rails3. i searched for some tutorials, but couldn't find any. i found a tutorial for multiple image upload with Carrierwave, but couldnt find luck with dragonfly .. any help please :)
A: Preface
Dragonfly itself can be use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: org.postgresql.util.PSQLException: ERROR: out of shared memory I am calling a function having more than 200 DROP Table Statements using JAVA and I am getting org.postgresql.util.PSQLException: ERROR: out of shared memory.
What approach should i follow in order to avoid out of shared memomry ?
PS : Restriction is tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: what wordpress theme is this? and is there a way to tell wordpress themes being used for all sites? I'm trying to figure out the theme for this site:
moneymachinefactory dot org
I know sometimes you can see it in the page source. in this case, i can't, but i know they're using wordpress.
A: It's possible that it's... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634872",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: openldap and memberof property I'm trying to make auth with LDAP (Zend_Ldap) and using openldap server.
Groups objects implements two classes: posixGroup and top
Users objects implements two classes: inetOrgPerson, posixAccount and top.
User object has no properties like "memberof", where I can see all user groups.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634884",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to deminify javascript
Possible Duplicate:
Online Tool to Unminify / Decompress JavaScript
Tool to reverse Javascript minify?
Is there a way to convert minified JavaScript code into normal?
A: I use WebStorm by JetBrains for my Javascript IDE, it has auto-format which seems to do the trick pretty well.
A: h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Convert SQL statement to Ruby on Rails I've got two tables, and I want to compare the data between them, and pick out the data from one table which is not present in the other. I already have a code that works in SQL Server Management, but I need to convert it into Rails or I need to be able to use raw SQL code in m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634893",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Programmatic way of checking what validations failed in Rails Is there a way to retrieve failed validations without checking the error message?
If I have a model with validates :name, :presence => true, :uniqueness => true, how can I check if determine what validation failed(was it uniqueness or was it presence?) w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Spring Security's @PreAuthorize on type level can not be overridden on method level I'm trying to protect a Controller with the @PreAuthorize annotation at type level and try to override that behavior by annotating some methods with a different @PreAuthorize. The Problem is however, that Spring is evaluating the met... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634895",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: virtual sub domains has error I create a project that check the sub domain and redirect to the exist subdomain ( username ) but I can't find out why when the username is in database it can't show it and show this error :
Object reference not set to an instance of an object.
My code is this in page load :
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634896",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to customize Cocos2D page turn effect with back side texture and shadow? I want to make nicer effect of page turn transition in my Cocos2D based application. There's CCTransitionPageTurn, but I'd like to add custom texture on back side and dynamic shadow, so it would look more realistic. I'd like to get somethin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634898",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Combining consecutive dates in IList into ranges
*
*I have a series of objects with from and to dates.
*Using something like:
IList<DateTime> dates =
this.DateRanges
.SelectMany(r => new [] { r.From, r.To })
.Distinct()
.OrderBy(d => d)
.ToList();
I can get all dates without a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: JSFL: Detecting when an Element has been flipped I'm writing an exporter in JSFL, to export Flash animations into a format that can be replayed in a custom player. The exporter basically iterates through the timeline and through all the elements at each keyframe, and writes out the element's name, position, rotation... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634901",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Hiding Dialog's titlebar in Android Manifest Basically, I created an Activity inside a dialog, everthing is seems working perfectly but the problem is the title bar of a dialog is still there. Is there anyway to hide it?
And also this is the tutorial, here is the link. It is exactly what I am trying to accomplish ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634904",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to get alternative info from a routing namespace in rails? Imagine you are working on a f,acebook(to skip the g,f,w) like site, and you need some routes like:
*
*www.mydomain.com/ihome/jim/posts
*www.mydomain.com/ihome/jim/post/3
*www.mydomain.com/ihome/jim/posts/3/edit.
Then how to set the routes to get ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634905",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I change the font size when printing from Eclipse? Sometimes I'd like to print my code and read it during lunch. In Eclipse I'm using 10pt Helvetica font, but printing at this size is a waste of paper I think. I changed to font size 6pt, and the print was perfect; fully readable and paper saving.
However, cod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634906",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: What is the origin of this set_Visible exception during shutdown of winforms application? I have wrapped the Application.Run method in try/catch
[STAThread]
private static void Main(string[] args)
{
try {
MyClient client = new MyClient();
client.Run(args);
}
catch (Exception ex) { log.Error(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to debug specific file with gdb? I have to cpp files (main and functions) and I make them to build a exe file (code) and two object files (main.o and functions.o).
How can I debug specific file "functions.cpp" from gdb command line?
A: You need to compile your files with gcc's -g3 option. After this start gdb ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634923",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to fire RowCommand for a GridView which is inside a Repeater? I have a Repeater and inside it a GridView. Now I want to to fire GridView's RowCommand. So can any one tell me how can it be?
A: What it sounds like you want to do is handle the RowCommand event in each of your GridViews.
One way to do this would be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634926",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Skype iPhone app URL scheme I've been using the skype:username?call URL scheme to launch the Skype app directly into a call, and was about to implement the skype:username?chat URL scheme to launch it directoy into chat... although the chat scheme is not working at all on the iPhone, and other tests seem to indicate ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634927",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Adding a product using Savon to connect to Magento API I have got the code working for listing products in Ruby but am struggling to add a product, here is my code, I’m using the savon gem for HTTP/SOAP requests, based on the code here http://www.polyvision.org/2011/10/02/using-magento-soap-api-with-ruby-and-savon/
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634928",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do I delete an embedded doc from Mongoid? I'm having some issues deleting my document using Mongoid...
The code actually does delete the gallery, but I get a browser error which looks like:
Mongoid::Errors::DocumentNotFound at /admin/galleries/delete/4e897ce07df6d15a5e000001
The suspect code is below:
def sel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I make my repository remove child entities and not just navigation properties from my aggregate root I'm trying to build a functioning repository using Entity Framework. I feel like I'm missing something really obvious somewhere. Lets say I have IRepository<Person> which has many Address in an ICollection<Add... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634931",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Less.js - strong nested rules? I love the ability of less.js to make nested rules. For example
.A{
.B{
width:50px;
}
}
which results in
.A .B{
width:50px;
}
But is there a way to make it result in this:
.A > .B{
width:50px;
}
I´ve already tried to do this:
.A{
&>.B{
width:50px... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: split with no argument in perl I'm new to perl, and I wonder what this line of code mean?
($q,$dummy, $d,$v) = split;
I search through google, but i found no explanation of using split without argument, does this kind of use related to the "while" block?
And the full code fragment is:
open(T,"$opt_judgments") || d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Oracle PL/SQL: syntax error when using a variable within SAMPLE clause The following PL/SQL block works:
DECLARE
r TABLE1%ROWTYPE;
BEGIN
SELECT * INTO r FROM TABLE1 SAMPLE(1) WHERE ROWNUM = 1;
END;
However, when I try to replace the literal with a variable within the SAMPLE clause, Oracle returns a syntax e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634939",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: PHP - Fast way to strip all characters not displayable in browser from utf8 string I've got a little messy database containing names of many institutions around the world.
I want to display them including national characters, but without invalid characters - those displayed in firefox as unicode numbers.
How to filt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634941",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there an equivalent of Sql Server's DateDiff('ms', d1, d2) in Sqlite? I am trying to fathom if it is possible to calculate the number of elapsed milliseconds between dates in Sqlite. ( DateDiff('milliseconds', d1, d2) in SQL Server)
There's a great example on how to do it for seconds here, but not for millisecond... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634942",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mocking Windows Installer Is it possible to mock the Windows Installer? I would like to set up tests for various scenarios during install. I don't really care what is stored in the Windows Installer databases, I just want to test the output of the installer packages (what files have changed, etc).
Edit
I suppose I c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634943",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: C# RegEx to create string array split on spaces and phrases (in quotes)
Possible Duplicate:
Regular Expression to split on spaces unless in quotes
I am dealing with various strings that I need to split into an array wherever there is a space, except for if that space exists within "quotes".
So for example, I woul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: HTML storage in Java I want to download an HTML page, extract some used full text out of this HTML and convert the HTML to PDF then store the useful text and PDF in a noSQL solution.
What is the most efficient way to pass the HTML to the modules which extract useful text and the module which creates the PDF. I don't... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634945",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Simplest way for implementing an extremly simple Server? (C#) I'm currently writing a simple application for some friends of mine.
There is a pretty small part which contains some client-server communication. Protocolls like http are far to overloaded with unnecessary stuff I don't need.
Here is all the communicatio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Print xml in pdf using itext I want to print xml in pdf using itext in java, as well formatted and displayed in color and indention as well like shown in notepad++,
any api or suggestion regarding this?
A: I have converted XHTML to pdf, via iText, using flying saucer for the rendering (previously xhtml renderer)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CakePHP route '/*' breaking access to subfolders I'm just starting with CakePHP and I have a question.
The idea is to have URLs like this:
domain.tld/some-title-of-a-page
...and it should open "page" controller with "show" action and some-title-of-a-page as a parameter. What I did in routes.php is:
Router::connect('... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to use setOptions method of select field with a store I can use the setOptions method to successfully specify the options of a select field as follows:
setOptions(
[ {text: 'First Option', value: 'first'},
{text: 'Second Option', value: 'second'},
{text: 'Third Option', value: 'third'}
])
However, I would i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634959",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Detect CSS3 with JQuery Is there a way to detect whether a browser supports CSS3 transitions (-webkit-, -moz-, etc..) with JQuery?
A: You can use Modernizr css rule:
.csstransitions {
}
You can also use Isotope to achieve full hardware acceleration when possible, falling back to jQuery-based animation otherwise.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634960",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Unauthorised access exception when Uploading photo to picasa in WP7 I have the following code which tries to upload the picture to picasa website. when I m trying to upload I m getting Unauthorised access exception. I dont know how to get the AuthToken.
Here is my code . Please let me know if you have any clues.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Codeigniter image is not cropping I tried the following code to crop an image in codeigniter but it did not work. Might be I am missing minute thing. Helper is loaded and the image is also exists
The code is
public function cropAndSave(){
$config['image_library'] = 'gd2';
$co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634963",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Save OpenGL Rendering to Video I have an OpenGL game, and I want to save what's shown on the screen to a video.
How can I do that? Is there any library or how-to-do-it?
I don't care about compression, I need the most efficient way so hopefully the FPS won't drop.
EDIT:
It's OpenGL 1.1 and it's working on Mac OSX tho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634966",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Where can I find a comprehensive Javascript iframe programming reference? There is a part of my web application that might end up making heavy use of iframes (to be able to serve arbritrary content from elsewhere). I know there are many cross-domain and cross-browser quirks I need to worry about so is there any refe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634967",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Making an unsigned sis - error: No rule to make target `unsigned_sis'. Stop I'm trying to make an unsigned sis package of my application, however I get the aforementioned error from QtCreator.
What am I doing wrong?
Best regards
A: I've got the same problem with Qt 4.6.3. Qt 4.7.3 creates unsigned .sis files withou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: PHP abstract properties Is there any way to define abstract class properties in PHP?
abstract class Foo_Abstract {
abstract public $tablename;
}
class Foo extends Foo_Abstract {
//Foo must 'implement' $property
public $tablename = 'users';
}
A: I've asked myself the same question today, and I'd lik... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634970",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "147"
} |
Q: Resolving a MATLAB class method handle using the method name alone I'm trying to call a method within a class, assuming I only know its name (aka, a char vector with its name)
I tried calling str2func(['obj.' functionName]) - where functionName is the name of that method, without any luck - I can't seem to grab the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Filtering one collection to many listboxes I have a ViewModel:
public class VM
{
public ObservableCollction<PersonRole> PersonRoles { get; private set; }
}
public class PersonRole
{
public int RoleID { get; set; }
//..
}
In View I have to display three ListBoxes:
*
*all persons with RoleID == 1
*al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: unable to start webrick in windows xp i got this error while i try to start the webrick server on my windows xp.
←[31mCould not find eventmachine-0.12.10 in any of the sources←[0m
←[33mRun `bundle install` to install missing gems.←[0m
I've already did a 'bundle install'. Also tried to install mongrel but it's not h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634977",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Alert after all checkboxes have been checked i have looked everywhere(but maybe i've missed something)
I'm currently creating a website where people have 3 options.
Let's do it easy, 1,2 and 3.
Now the customer wants a technique that after you clicked the third checkbox(doesn't matter in which way, you can go from 1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Push Notifications wont work on distribution Ok now I have a problem with the push notifications. I have set them successfully for the developing part and I was receiving them on my device. Now I have the application on app store and I cant receave notifications.
This is step by step what I did:
-I have created a pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634982",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: json_decode - malformed JSON from AJAX Request I am building a request in Flash that contains a JSON encoded Array of Objects. This is encoded using as3corelib. The request is then passed to JavaScript via ExternalInterface and a jquery ajax call sends the request off to the server.
In PHP, the incoming data is pars... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7634986",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Isn't it redundant to declare the data type of an event object in a listener function's parameters? When you click on the button something happens. However it seems redundant to me that in the declaration of myListenerFunction, the event object e of class MouseEvent, actually has to have its data type MouseEvent me... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635001",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Alternative to global variables in app delegate I am developing an application with a speedometer like animation (a meter and an arrow to indicate something on the meter). I store the arrow's position in a global variable declared in my app delegate. I am doing it this way because the arrow position is updated and u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635008",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Difference between x86, x32, and x64 architectures? Please explain the difference between x86, x32 and x64? Its a bit confusing when it comes to x86 and x32 because most of the time 32-bit programs run on x86...
A: x86 means Intel 80x86 compatible. This used to include the 8086, a 16-bit only processor. Nowadays i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635013",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "61"
} |
Q: Keep App in Focus I use wscript to launch an application on my machine. I then use this app for 30 seconds before I kill it. I do this using python -
import win32com.client
import time
shell = win32com.client.Dispatch("WScript.Shell")
shell.Run("My App")
time.sleep(0.5)
shell.SendKeys('%f')
...
I was wondering if i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635024",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: enter multiple mail ids and separated by ';' and validation in flex I was creating a form. Certian fields of the form store all of those IDs to a single field separated by a comma or semicolon. how to send the mail id's for email validation which is providing by flex by default.
A: You can split the values in the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635028",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Share a bool variable / NSNUmber between two view controllers I have two view controllers and I want to share a bool variable between them.
So I create a bool variable with a @propery (nonatomic, assign) on both sides and on the one side I wrote
newVC.myBool1 = self.myBool2;
On the other view controller I can read ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635029",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: I want to Deserialize stream as contact in windows phone 7 c# I Serialized Contact and Saved it in text file in The Isolated Store
I want to Deserialize it back as Contact
I tried this Code but I get error :
Error 1 The type 'Microsoft.Phone.UserData.Contact' has no
constructors
using (var reader = new Strea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635034",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why is the netmask in Net::IP set wrong? I'm trying to get a little script to recognize the SNMP data from a query to store it in a database. But I'm stuck when processing the data with the Net::IP CPAN module. If I define the network string there is no problem, but I have IP and mask in separate strings, and no mat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635035",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Jquery Webservice in ASP.NET I am working with ASP.NET 4.0 framework. In one web page, I have to call web service using Jquery as
var serviceurl = 'http://www.websitename.com/webservicename';
$.ajax({
type: "POST",
url: serviceurl + 'WebServiceName',
dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635036",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Regular expression for parsing string in key value pair in java I have this string:
"{ '_id' : ObjectId('4e85ba250364e5a1857ba2e4'),
'message' : '<user=animesh@strumsoft.com>, <action=create-flock>,
params=[<title=[smile.animesh@gmail.com, ram@strumsoft.com],
attendees=immediate, flockType=immediat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635047",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: do not open pop up on session expires I have a page in asp.net. A button click in the page will open a pop-up.
Now if session is expired, it is opening the pop-up window and in the pop-up it is showing the login screen.
Is there any way in which i can avoid pop-up being opened if the session is expired and directl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635048",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do you set the style of a textbox (html) I want to change the width of this only:
<input type="text" name="experience"/>
But I have got this:
<input type="checkbox" name="option2" value="2222" />
changing too.. when I set:
input {width:134px;}
A: Give it a class or an id and use a class or id selector:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635050",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Open in 32-bit mode Under MacOS, you can change a little option for 32-bit executables called "Open in 32-bit mode". Wouldn't it work directly? And it works, but for some applications you had to select this option in order to run without problems. This was frequent in Safari, where some add-ons required a 32-bit env... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635055",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Links from Spanned text don't work in TexView I have a TextView embedded in a RelativeLayout, embedded in a ScrollView, and I load a Spanned text object in it created from some HTML code.
I have set the android:autoLink attribute of the TextView to true, and I have tested in another part of the application that I c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635059",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to clear Activity Stack on Button Click in Android I have a question that I have a logout button in my App on which we have called an App login Screen but at this point when user press the Back Button of Android Phone, he entered in the App again without Authentication, which is not desirable. I want when we cli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635060",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to create dynamic textbox using asp.net and C# How to create dynamic textbox using asp.net and C# .how to store in database .please any one help me i am new to this .Thanks in advance
A: I hope this can help you:
For Data access you can take a look here:
1. http://www.asp.net/web-forms
2. Download "Profession... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635063",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to avoid duplication screen in android I have did a application in android by calling sub activities(B,C,D,E) from main activity(A),again calling that main Activity(A) from other sub Activities(B,C,D,E)by using
Intent in = new Intent();
in.setClass(getApplicationContext(), maindashbord.class);
in.setFlags(Inten... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635065",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to print the contents of an iFrame using Javascript on iPad? Printing the contents of an iFrame already seemed a challenging problem to solve cross-browser. After testing a lot of approaches (some of which also found on this site), my current approach seems to work quite good cross-browser and looks like this:
f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635072",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to make jQuery's 'filter' function work correctly for SVG nodes? Say I have the following SVG and jQuery:
<g id="test">
<rect>
<text>demo</text>
</g>
$('#test').filter('text').each(function(){
// do something
});
The filter function doesn't work with SVG, probably because jQuery was designed for DO... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635073",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jquery replace input button onclick event I have HTML loaded with the Jquery .load method and need to dynamically change anchor HREF and input button ONCLICK targets in this HTML on the client as the page loads, (I don't have the option to change the server generated HTML).
The .load works fine and I can change the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635077",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Dropdown menu - z-order I have a dropdown menu:
<div class="buttons">
<div class="dropdown">
<a href="#" class="button"><span class="label">File</span><span class="toggle"></span></a>
<div class="dropdown-slider">
<a href="#" class="ddm"><span class="label">New</span></a>
<a href="#" class="ddm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635079",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: BackgroundWorker not firing RunWorkerCompleted The first time I run my backgroundworker it runs correctly - updates a datatable in the background and then RunWorkerCompleted sets the datatable as a datagridview datasource.
If I then run it again, the datagridview clears and doesn't update. I can't work out why.
I'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635081",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to list my EC2 instances and get their private ip's I'm starting to use EC2 with a lot of SPOT instances (>100), I'm trying to find a way to retrieve all my IC2 instances private ip's in order to use them later to deploy binaries and so on.
Can anyone help me to do it?
Thanks in advance.
A: Since you didn't lis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Calling objects from dynamic UserControls VB.NET Love these forums, I am a beginner when it comes to VB.NET and have run into some trouble.
Here is my Code snippet
'decleare variables
Dim vmcount As Integer
Dim tabcount As Integer
Dim userControl As Control
Dim UserControlName As String
vmco... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: An URI relativization in XQuery How to relativize an URI to another URI?
uri1
file:/folder1/file2.txt
uri2
file:/folder1/folder2/file1.txt
needed result
relativize-method($uri1, $uri2) == '../file2.txt'
A: Something like this (will rewrite it in XQuery):
<xsl:stylesheet version="2.0"
xmlns:xsl="http://www.w3... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635091",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Radix-Sort Implementation for Dictionary/KeyValuePair Collection I'm looking for a fast and efficient Radix-Sort Implementation for Dictionary/KeyValuePair Collection if possible in C# (but not mandatory). The key is an Integer between 1 000 000 and 9 999 999 999. The number of values are varying between 5 to severa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635102",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Making a class to keep track of related strings It is kind of funny, With the follwing class I know how my output should like but I could not figure it out how to hold the data for it.
Please see the code below:
public class QuickFailureReportText
{
public string[] device { get; set; }
public string[] gr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635103",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting a List of 5 recent items filled in UITextField Getting a List of 5 recent items filled in Text Field, from where if i select any item will get populated in the Text Field. Open for any suggestions/solution.
Thanks in Advance.
A: Create a NSMutableArray and listen to the UITextField's delegate. Whenever the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635109",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to find latitude and longitude faster in android? I am using LocationManager to get the values of Latitude and Longitude of a user. These values are updated regularly to a database and find out the distance between two users basing on the stored Latitude and Longitude values.
Now,onLocationchanged() called very ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635119",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cyclic reference error in EF code first This is my abstract base class:
public abstract class ServiceStation
{
#region '----- Member(s) -----'
public int Id { get; set; }
public int CompanyId { get; set; }
[ForeignKey("CompanyId")]
public virtual Company Company { get; ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635127",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: External database changes -> Hibernate -> Client An existing external system makes regular (every few seconds) updates to several database tables. We want to build a dashboard type user interface which allows the user to view additional records and important updates in near real-time. The user interface would also ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SharePoint 2010,SandBox Solution,uploaded .STP files to _catalogs/lt using Feature not coming in GetCustomListTemplates I have sandbox solution which has 2 features (both are sitecollection level features)
I am activating both feature using same USER.
feature 1 : that uploads .stp files to _catalogs/lt folder via mo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635129",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: facebook connect fails on IE9 when a port is used My facebook Website app is configured for a site url using a port number
ie www.example.com:900
Fconnect functionality works in Firefox (all versions) however ie9 gives an error stating
"An error occurred with xxxAppname. Please try again later."
Any help is appre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Opening documents after checkout from SharePoint Why won't my document that i'm checking out from SharePoint not open after the checkout?
The status of the document after the check on SharePoint shows that I checked out the document but it won't open automatically.
What's even more annoying is that I don't know whe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635135",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Centering text in the middle of the parent element <div id="wrapper" style="height:400px;width:400px;">
<div id="example">
Text
</div>
</div>
I'm looking for a way to get #example into the center (left, right, top, and bottom) of #wrapper.
A: I think there are multiple ways to achieve what you want. One would ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635139",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Cannot build XCode project from command line but can from XCode I've created in XCode a simple navigation-based iPhone app. The app builds and runs properly from under XCode but I cannot get it to build from command line.
From terminal I execute:
xcodebuild -project George.xcodeproj -alltargets -parallelizeTargets ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635143",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: .NET programs don't run at logon screen - windows 7 I'm using Windows 7 Pro (32bit) and have .NET 3.5 and 4 installed...
I have written a .NET screensaver and have enabled it to run on the Windows logon screen.
My problem is that it errors:
.NET framework initialisation error
BUT when I'm logged in the screensaver... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635144",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Multiple file upload in playframework I'm having some problems with getting multiple file upload to work. When I select x files, it goes through successfully, but the first file is being uploaded x times, and the others are not being uploaded at all. Anyone able to point out what I am doing wrong?
Form:
#{form @Pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Strange ClassNotMappedError with sqlalchemy and Python I'm building a rather simple model using sqlalchemy, using a many-to-many relationship defined by an association table and two classes that are to be associated using the declarative syntax.
When generating instances elsewhere in my code, however, I keep on gett... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635146",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: No redraw of QML view in 64bit Win7 (update() in QDeclarativeItem is ignored) I work on a QML-based UI where some elements are implemented in C++ plugin.
Everything worked fine so far in WinXP 32bit and Win7 32bit. Last week I got new laptop with Win7 64bit on board, and my code does not work properly there. Several... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635149",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Entity Framework - Eager loading of subclass related objects I wonder if there is a possibility to eager load related entities for certain subclass of given class.
Class structure is below
Order has relation to many base suborder classes (SuborderBase). MySubOrder class inherits from SuborderBase. I want to specify... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: In what way and in which cases we have to use the NSFastEnumeration in iphone In what way and in which cases we have to use the NSFastEnumeration in iphone can anyone tell me the sample codes to how to use these fast enumeration in iphone
A: NSFastEnumeration is a protocol that your classes can adopt that allows yo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635155",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Adobe AIR SQLite Async Events Not Dispatching Working on an application that has very heavy use of the local sqlite db. Initially it was setup for synchronous database communication, but with such heavy usage we were seeing the application "freeze" for brief periods fairly often.
After doing a refactor to asynchron... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635161",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Where to set the Converter for items of a collection in XAML I just made my first converter to convert from int to string. I have a combobox fill with integers(years) but if the value is 0 I want the combobox to show 'All'.
This is my converter:
public class IntToString : IValueConverter
{
public object Convert... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635170",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Cakephp REST integration with iPhone app I'm developing backend system for iPhone app providing JSON data for each request for iPhone app. This is Cakephp based backend system and I was wondering if there was a good Cake way to receive POST request?
I understand using Router::mapResources(), Router::parseExtensions(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Stored Procedure Tuning I have a big stored procedure, which runs for 2-3 secs at 100% CPU. Its not a big deal, if the SP runs once for a while, however this particular SP runs every second. so you can understand the total processor usage in a minute and through-out the day.
This stored procedure contains lots of qu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Multi-threading Code stuck with Form.ShowDialog() statement I am new to C# and was trying to write a form a test a network connection. The idea is that put the connection part in a thread and show a progress dialog during the connection. The following is my code:
Form_TestingConnection testingConnection = new Form_T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635179",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to convert a System.IO.Packaging.Package to HTML? Microsoft Word interoperability classes will let you get at a property called WordOpenXML. This represents a package that will be stored - zipped up - in a .docx file and can be opened by Microsoft Word. However, is there a way to convert this Package to other ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635180",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.