text
stringlengths
8
267k
meta
dict
Q: Unknown error (0xfffffffe) while impersonating in C# C# Impersonate Error Hello, wanted to create an application that would give me privileges to install applications with an user that has such accesses. It's important that the user with elevated privileges would be log onto from inside the application and thats wha...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528007", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Unable to access a deployed HelloWorld application in JBoss AS7 I am trying out JBoss AS 7 with a simple HelloWorld application. * *The HelloWorld application folder has a simple hello.jsp file. *The deploy copies the HelloWorld.war to the jboss7.0.1\standalone\deployments folder. *After this I start the jbo...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528011", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: iPad + UIWebView + presentModalViewController I have a very basic view controller class, created via interface builder. it only has one view, which is a UIWebView (see here: http://i55.tinypic.com/xdax01.png). Somewhere in my app i want to open this view controller as modal dialog via presentModalViewController. Thi...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528015", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: fast table view scroll and back button hit When I scroll my table view fast (with a long and quick gesture) so it will scroll for a few seconds more on screen displaying my cells (let's say 3-4 seconds) - and so very quickly I hit the back button to go back to the previous screen: it works... BUT then the scrolling ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528018", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Recipe linkandpostlink failed with exit code 1 error When I try to run a qt application on a Symbian device (N8 for example), I receive the following: warning: Missing dependency detected: C:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/lib/kqoauthd0.dso error: Recipe linkandpostlink failed with exit code 1...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528023", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to call Creator Method's If we have a Class public class A { public void resetValues() { //DoSomething } B b = new B(); } public class B { public B() { } void doSomething() { //Is there a way here to call A(the Creator) method resetValues(); //Like C...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528031", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Replace SWF Resources without having to decompile? I want to replace an image inside of a SWF File without the need to decompile it. A: I think this is not possible, you need to recompile the swf file.
{ "language": "en", "url": "https://stackoverflow.com/questions/7528032", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Google Radar chart by Post Method I have asp.net page. In which i am loading multiple times google radar chart by post method in different frame. So for multiple charts my page having multiple frames. at last i am getting radar chart but issue is that i am having data of last radar chart in all charts. As shown belo...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528039", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Large string split into lines with maximum length in java String input = "THESE TERMS AND CONDITIONS OF SERVICE (the Terms) ARE A LEGAL AND BINDING AGREEMENT BETWEEN YOU AND NATIONAL GEOGRAPHIC governing your use of this site, www.nationalgeographic.com, which includes but is not limited to products, software and se...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528045", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "29" }
Q: Anyway in TFS to check-in modified files which are not checked-out Anyway in TFS to check-in modified files which are not checked-out. I made modifications in some fo the files which are I didnt check-out. In Sub version we can check-in only modified files is there any similar way here as well.. I am new to TFS A...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528046", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Live search optimisation in Javascript I have some code in Javascript (not jQuery, unfortunately) at the moment that performs a live search on a database, depending on what the user enters. The problem is, if you type quickly, it'll still be performing the search from the last keystroke and this can add up to a del...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528050", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Listing MySQL tables and fields together I know you can print all the tables in MySQL database using show tables; and all the fields in a table using describe table; but is there a way of putting this together? Thanks! A: SELECT table_name, column_name, COLUMN_TYPE FROM information_schema.columns WHERE TABLE_SCHEM...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528058", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Signing In fails before checkout In virtuemart I'm using Virtumart on Joomla. Here is my problem : After adding some products to the cart, when I choose to checkout, I have two solutions (as any usual E-commerce website) : * *Signing up *Signing in I'm having some troubles with the second one. When I fill al...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528060", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Problem with xml parsing in phonegap application I want to parse xml webservice in my phonegap application but i don't have any idea how is it possiblem.I tried it with my local xml file which is stored in my remote server and it is working fine but when i am calling server side xml file then i am not getting any...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528065", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Simple javascript regex help needed I have an regex expression: \[quote\](.*?)\[\/quote\] and it matches correctly between [quote]example[/quote] but it does not find a match for: [quote] example [/quote] how can I change the regex so it finds a match in the latter case too? *And keeps the format (multiple lines)...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528072", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: .NET 4.0 in C++ - How call AppendText for RichTextBox from a static member function My mind somehow is stuck in a "loop of errors". I don't want to waste time any more with endless trial and error, so I better ask here: I have a Windows-Form (.NET, C++) like following. The simplified version here only has a RichText...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528078", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add google maps object from GWT code? I would like to use google maps in my GWT application. The thing is that the gwt-maps API only supports Google Maps API version 2, and the regular maps api is version 3. So basically what I want to do is to use the standart js maps library from my GWT code, but this doesn...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528083", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: PHP PDO::prepare() - SQL Error with placeholders My problem is that I can't get placeholders to work in my SQL statements. Specifically, in the below code, when I replace the placeholder ':tripsid' with a value like 'abcdefg' the TABLE isn't being created as intended. SQL Error is: PDO::errorInfo(): Array ( [0] => ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528084", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create setup for asp.net 2.0 application I have an asp.net 2.0 application that i want to deploy to a server. I want to make a setup that will install this application on the server. Also I must be able to configure parameters such as connection strings on the setup and these changes should reflect on the web.config...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528087", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using Xuggler for MXF to FLV I am trying to transcode an mxf file to flv type using Xuggler. But I am getting this exception - 2011-09-23 11:48:06,328 [main] WARN com.xuggle.xuggler - Got error: picture is not of the same PixelType as this Coder expected (../../../../../../../csrc/com/xuggle/xuggler/StreamCoder.cp...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528089", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How do I work out how powerful a given machine is? I'm confronted with a bewildering array of linux boxen. How do I find out how many processors they have, how many cores, how much RAM they have, how fast their disks are, how heavily loaded they are by competing people etc, etc? A: * *If you want a static list, c...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528090", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ncurses trapping extended keys (Control-left, Shift-Function etc) I am trying to trap Control-Left, Shift-F10 etc in my ruby programs. Normally, using just getch I get a list of ints such as 27,91,50,50,126 which works. However I fear these may be system or terminal dependent. After googling I found about use_extend...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528091", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Move record to different table MySQL I see this question have been asked in many different ways, but I don't understand them quite well. I want to move my records that have expired (their date is behind/smaller than now() - each one has a field with their date in, this is in seconds from 1970) to a different identic...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528099", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: put image in center of div where image is in absolute position <div class='img-box'> <img /> //position absolute <img /> //position absolute <img /> //position absolute <img /> //position absolute in this code i want to put image in center of div but it not come in center align due to absolute position of image, s...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528101", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TFS build adding an unwanted code block to xap file Microsoft.Practices.ServiceLocator Here is a list of my references in my silverlight project. Microsoft.Practices.Unity.Silverlight<br/> mscorelib<br/> Prospector.ProviderMatching.LinkedDataObjects<br/> Prospector.ProviderMatching.SLDataObjects<br/> System<br/> Sys...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528103", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Migrating Oracle Database with expdp and impdp Does the target database need to be prepared with tablespace and/or user (schema) in order to successfully migrate a schema from one database (11g R1) to another (11g R2)? Currently I only can make tests with the 11g R1 database. My test was to export a schema and impor...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528106", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: How to disable android application automatic restart after a crash (Android 2.2) Is there a way to disable android application automatic restart after a crash (Android 2.2)? Application crashes and after it android restarts application. It seems that android tries to restore activity back stack and it causes issues ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528108", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "15" }
Q: windows phone 7, adding buttons to panel Following piece works very well in silverlight, <Grid x:Name="ContentPanelInner" Grid.Row="1" Margin="12,0,12,0"> <StackPanel x:Name="stackPanelInner"> <Grid VerticalAlignment="Top"> <Grid.ColumnDefinitions> <Column...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528109", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Optimal data structure for a special dictionary Which data structure is best in terms of computational complexity to implement a dictionary of (key,val) items, which must support only following commands: * *Insert(key) - appends an item (key,val) with val=1 *Increment(key) - increments val of existed (key,val) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528115", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "10" }
Q: CSS for Mobie site - search box and button combined 100% width? Im trying to optimise my site for mobile. Im going with a 1 column liquid layout. The issue im having is that I cant get my search box and submit button to be 100% wide. This is that I want: I cant set a fixed width for the search box (an input). It a...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528116", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: SQL to UML diagram or graphic tool I have a database and want to output a UML Diagram. Is there software that does this? Ideally it will be UML, but a graphics representation of the database could work. A: Boxes and arrows are all you need, but I'd recommend that you try E/R tools. They are similar to UML, but int...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528118", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Image managing library I have a little projet that will do basicly 3 steps * *Upload image from your computer *place it under another photo, only the face missing *Scale it, rotate it, move it in place *save the muckup and send it by email It's a electonis version of the plywood board you put your face i...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528120", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JPA 1.0: How to write an efficient transformer from an entity to a transfer object? I want to write an efficient transformer, that will transform a JPA (1.0) entity to my transfer object and that: * *will be called in a transactional context, *will cause no extra DB interaction, that is will transform only what'...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528122", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to get a user input in google maps using custom controls? I have custom controls on my map with this tutorial http://code.google.com/apis/maps/documentation/javascript/controls.html#CustomDrawing how can I create input boxes with something similar to this, so I could pass user input values e.g. numbers to my jav...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528125", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Chronometer format change to 0:0 to 00:00? i want chronometer star like this, if it is at 0:5 (M:S) i want like this 00:05 this is the code i am using : stopWatch = (Chronometer) findViewById(R.id.chrono); stopWatch.setOnChronometerTickListener(new OnChronometerTickListener(){ @Override public v...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528127", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: $facebook->getUser() always return zero Hi I m integrating facebook connect functionality in my website. So I used facebook new graph api. I used following code.. ............. ............. $facebook = new Facebook(array( 'appId' => $fbconfig['appid'], 'secret' => $fbconfig['secret'], )); $uid = $facebook...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528128", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: splitting a huge sql file to multiple sql files I have a huge SQL file that I want to restore to mysql server 5.5 .... while I'm restoring the the file at the middle of restoring process stopped, then i got an idea to split that file to several files using java ... is anybody got the the idea how to split the SQL f...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528131", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Copy XValues from one TChartSeries to another Does anyone know how to copy the XValues from one TChartSeries to another in Delphi7 (and TeeChart 4.04)? TChartSeries.ReplaceList(CopySeries.XValues, OriginalSeries.XValues) does not work, since it seem to replace the reference, so when OriginalSeries is changed, so is...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528132", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: show statusbar in camera imagePicker I am woking on imagePicker where i need to show camera with some overlay view.But it's hiding status bar please tell me how i can show it here is a code imagePickerController = [[UIImagePickerController alloc] init]; imagePickerController.delegate = self; imagePickerController.s...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528136", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google toolbar in C# web browser? I am working on web Browser in C# and I want to ask if is possible to integrate google toolbar somehow? I am looking for some easy solution to block pop up windows and google toolbar includes this protection. Any ideas would be appreciated Thanks for answers. choze88, Czech Republic...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528137", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Jquery select that effects the amount of images I have a table with multiple rows, each row has: * *layout (select) *images * 10 The amount of images depends on the layout selected. I want to write some jquery code that hides/shows the amount of images depending on the layout selected/changed. At the moment I...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528138", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Binary Writer returns byte array of null I'm working with the MRIM (Mail.Ru Agent) protocol. MRIM is a binary protocol, so in order to make the data binary, I'm using the BinaryWriter class. Here's the code: private byte[] CreateMrimPacket(ulong message) { byte[] binaryData; using (MemorySt...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528140", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: WCF web service removing svc extension adds .svc to all extensions I've applied an URL Rewrite rule in IIS 7 as follows: Pattern: ^([0-9a-zA-Z-]+)/([0-9a-zA-Z-./()]+) RewriteUrl: {R:1}.svc/{R:2} This works perfect when I call my service like so: http://mysite/site/myservice/input/params The issue I am faced with ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528144", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C# Block threads of unmanaged code Suppose we have an unmanaged process which loads a managed DLL. Within the DLL there is the need to block some or all threads of the unmanaged application to synchronize concurrent access to some memory. How can one block those unmanaged threads? I only have the binary of the unman...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528155", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: header guard conundrum - already defined in .obj problem I have a class (A) which has to include two files, class X and class Y. unfortunately class Y also needs to include class X in it's header file because the constructor takes a pointer to a class X type as an argument. The potential problem is that there would...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528162", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: find & replace commas with newline on Google Spreadsheet I've been trying to figure out how to replace commas with line-breaks. I've tried using (/r/n/), char(10), the Unicode representation (can't remember now), but it rather predictably replaces the comma with whatever I type in the other box, not converting it to...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528169", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "53" }
Q: Multiple consumers and querying a C# BlockingCollection I am using a .NET 4.0 BlockingCollection to handle a queue of items that each need to be processed by an operation that can take up to a second to process each item. This queue of items can be added to by different threads. I have a couple of questions regardin...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528173", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "22" }
Q: Facebook API key hash - debug and release I've integrated Facebook to my App, created a valid hash key and saved the key on facebook. I used a different key for debug and release. When I released, I had to regenerate the key hash from the release keystore. Now I cannot log in to facebook using the debug key. Anyone ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528179", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Java EE getting information about what environment the application is currently running You can run a Java EE application in a test environment, a development environment or a production one. How can I use Java code or XML to get hold of that information? if ( ApplicationContext.inDevelopment() { // do this } Obvio...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528183", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Communications between a C# PC program and an android tablet app So the goal is that the tablet can read and write a value of the PC program. So far I have managed to solve this. I have : an android app which uses ksoap2. a web server, ASP.NET in C# and the main program in C# Example : tablet calls a web method of t...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528185", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create database error MYSQL I have the following error when trying to import .sql file into MYSQL from the command prompt. C:\Program Files\MySQL\MySQL Workbench 5.2 CE\utilities>mysqldbimport --server= root:password@localhost <filepath> # Source on localhost: ... connected. # Importing definitions from <filepath>...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528186", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Help converting NotifyOnChange Properties to Dependency Properties What is the best way of converting the fictional code below to dependency properties? Where the Date Property will be in another control? [DependsOn("Date")] public int Year { get { return Date.Year; } set { Date.Year = va...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528195", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set the property -webkit-column-gap, -webkit-column-width in webview? How to set css3 property value "-webkit-column-gap, -webkit-column-width " the before loading mywebpage in webview? How to scroll webview content(horizontal Scrolling) by using css3 multicolumn layout without changing the source HTML?
{ "language": "en", "url": "https://stackoverflow.com/questions/7528196", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to calculate the size of an Erlang process in memory? I have a 'worker' process which I am going to assign to a job. Before I spawn hundreds of processes of this type I would like to know the memory consumption figures for it. I know that I should sum all the elements which are stored in the process' loop data (...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528199", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: PHP array : renumber elements when new element added I have a PHP array with elements: $myarray = array ( "tom", "dick", "Harry" ); . I need to keep the array fixed in size of just 3 elements . I need to add a new element "jerry" such that the array now looks like $myarray = array ( "jerry", "tom", "dick"); so in...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528200", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Something like thread in php I'm trying to program yahoo messenger robot,now my robot can get messages and answer to them. Yahoo only can send 100 pm at each time I get notification. now I wanna answer the each pm. I use while(true){ } to it and answer first pm,then second ,then 3rd and ... . It's so slow ,because I...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528202", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rails form submitted multiple times but don't know why I have a form as follows: <%= form_for(:session, :url => sessions_path, :remote => true, :html => {:id => 'login_form'}) do |f| %> <div class="formRow"> <%= f.label :email %><br> <%= f.text_field :email, :value => (@email if @email) %> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528215", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Java Jar File As Stream Class Loader How can I load classes from a jar file stored as a blob in a database as the URL Class loader only accept a URL or file path? A: Implement your own subclass from java.lang.ClassLoader that does the loading from the database. Maybe this post helps to get started: http://www.javab...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528217", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: CSS - How to prevent ul/ol li's second row of text from going further left than the first line? I have a few lists on my webpages that look like this: > lorem ipsum And I want them to look like this: > lorem ipsum If you could even help me how to properly phrase the question I am afte...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528218", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I create a new FBML/FBJS app? I have a 3 year old app that was written in FBML/FBJS. I'm working on making it multiuser, so I'm creating a new app for this project. I want to use my existing codebase which uses FBML/FBJS, but I can't figure out how to enable these features from my Facebook app control panel. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528222", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a Python API for drawing diagrams (that use lines to connect corresponding values between two lists) Given two lists, which contain same elements of string but in different orders, is there any API that can draw diagrams like The diagram consists of two stacks of string. Between these two stacks, lines are...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528224", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: How to stop form submit during ajax call I can only modify the code in the ajax call. The ajax call occurs when I click the submit in form named $('#form1'). $('#form1').submit(function () { $.ajax({ url: 'some.php', type: 'POST', data: somedata, success: function (msg) { if...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528234", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Redirect “/” to “/web” using IIS7 I'm hosting a site where I would like for various reasons to have http://mydomain.com automatically redirect to http://mydomain.com/web while at the same time still allowing http://mydomain.com/foo.html to be served. Using HTTP Redirect from IIS 7 I seem to be creating an endless re...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528236", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: problem in hiding tabbarController in iphone sdk? I'm displaying a list employess when clicking on tabBarButton. I want to hide the tabBar when I click on the cell to dispaly details of the employ and I want to show tabBar when I come back to the list . please anyone help me. thanks in advance laxmi A: [ViewContro...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528239", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Oracle multiple statments do not run correctly I have a file with 3 "create type" statements. I do not understand why, when I run the script it creates only the first type. When I open created type I see all three create statements inside. What am I missing here? CODE: create type SplitPathTableType as table of varc...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528241", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Simple Validation for a Single Text Box in ASP.NET MVC I have added a text box to a simple form in ASP.NET MVC and I want a client-side 'required' validation for this. I know I can do this using a strongly typed model view but I would like to do it manually in this case. Is there a simple way to perform this? I trie...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528243", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Sorting algorithm in OpenOffice calc I'm having a really long day, the culmination of which is a dumb moment trying to sort a list of strings. Calc sorts them like this: 0DCv6UlY6T0 0ITZEBZrwMk 1062VEX2EfI 2jk7hilGMs0 2lZVu3haI6A 3f8s3KbFQ0Q 3hB09daYLmk 43Erj3qFxxo 6lj33w3YoOw 7jiNQnkfx0k 7TSMj6g3UoE 7Wba8IUk6v8 9h...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528246", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Load html data with AJAX in Sencha touch when panel is shown I have a TabPanel with a Tabbar and four panels inside. I want to load the HTML content for the fourth panel with an AJAX call when the panel becomes visible. The AJAX function fetches the data from the server and places it inside the panel, which uses the...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528248", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to validate very large XML files? How can I validate a large XML file (>100mb)? I try to open it with IE, FX & GC and it either crashes or doesn't do anything. A: You can try using a command-line validator, for example xmlstarlet: $ xmlstarlet validate bigfile.xml A: The only tool I know that combines a large...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528249", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "15" }
Q: Facebook Batch Post Requests using PHP I'm trying to make a batch request using PHP that make a post in the user wall without any luck. I have succeed to make bath request of a type "GET" but not of a type "POST". My code: $batched_request = '[{"method":"POST","relative_url":"me/feed","body": "message=hi"},' . ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528250", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Tomcat 7 and shared.loader problem I am using a custom directory for properties files located at ${catalina.home}/conf/properties and in order to add it to the classpath i edited ctalina.properties and added shared.loader=${catalina.home}/conf/properties But contents of this directory are not accessible when I try...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528251", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: jade templating syntax support for eclipse? I have just starting using the nodejs templating engine jade. Unfortunately my IDE eclipse doesn't seem to have support for this syntax and is not highlighting correctly. Is it possible to add support for .jade files to eclipse? A: As current lead of Nodeclipse effort www...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528252", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "15" }
Q: export gridview to excel without the gridview formatting VB I am able to export a gridview to excel, my problem is that I cannot figure out how to remove the formatting from coming over from the girdview. Here is the code I am using to export the gridview: Protected Sub Button1_Click(ByVal sender As Object, ByVal e...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528253", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: BitmapData.draw with different shape is it possible to change the Rectangle I use as fifth parameter of draw BitmapData class? bitmapData.draw(image,null,null,null,rect,false); I'm trying to draw and save a different shape (with the shape of a particular MovieClip). A: If you look at the definition for the BitmapD...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528255", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Xcode 4 organizer repository view changes says "No Version Editor" My prior problem was this. Now, when i see change logs and click view changes, the pop-up comes but right pane just tells "No version editor". My search couldn't yield any solutions suitable to this. Any suggestions or solutions to this problem? Ple...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528256", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Zoom ignoring pictures I would like to take the contents of an HTML page, an make every element 50% larger. I have tried using CSS3 zoom: 150% but this also attempts to zoom pictures. Because the resolution of the images were originally crafted for a normal view, they look blurry with the zoom. Is it possible to mak...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528257", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Posting attachment without open dialog using Facebook Android SDK? I am working on Facebook Integration in my Android app. I am able to send attachment by using "stream.publish" with opening dialog. Is there a way to post without opening dialog? I am using following method. Please give me any idea. postP...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528258", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: CallBack won't work, please help Somehow my callback doesn't work... from a sending activity: Intent intent=new Intent(); intent.setAction("Constructor.rob.call"); sendBroadcast(intent); receiving activity: public class popup extends Activity { /** Called when the activity is first created. */ @Override ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528260", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PC Lint while(TRUE) vs for(;;) I'm using PC Lint for the first time. I was "linting" my code, when PC Lint warns me about my while(TRUE). This is what it says: 716: while(1) ... -- A construct of the form while(1) ... was found. Whereas this represents a constant in a context expecting a Boolean, it may reflect ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528263", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: encode and decode base64 string to decimal string coddec I have a base64 string like this = "pCZXOVjpnlePyDk6znZrSw==" i need a encoder/decoder to convert it to decimal string like this = "84587163248712923874" Is there any codec that do it? A: You probably need a two stage process: * *Convert the Base64 string ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528265", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Twitter search: OR with Tags - but how? I cannot search the twitter API for tweets which contain one of multiple tags. Like: q="#tag1 OR #tag2 OR #tag3" If I leave away the hashes and only search for words, the OR-ing works. For tags they don't. When I only use spaces, the search terms will be AND-ed, what shrinks t...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528268", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to get the relative path to include javascript functions file I have following directory structure dir1 dir2 dir3 dir4 file1 dir5 file2 I want to access file1 that is in directory4 in file2 that is in directory5. I have tried using absolute as well as relative paths. Could a...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528274", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I get the web sites running in the current application pool by WMI? I am trying to find out which web sites are running an application pool. MicrosoftIISv2/WebServerSetting only offers AppPoolId property and all of the valuse are DefaultAppPool . I can see all of these application pools are running different ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528275", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When I read does'nt implement all the specification what does it mean? When I read that glassfish supports all of the Java EE API specifications and tomcat does not, does that mean I cannot perform some functionality on tomcat that I can using glassfish? A: http://www.datadisk.co.uk/html_docs/java_app/tomcat6/tomc...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528281", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to inject the @Context when consuming FIQL queries in Apache CXF - JAX-RS? I am trying to implement a FIQL search queries and I am following the guide at http://cxf.apache.org/docs/jax-rs-advanced-features.html#JAX-RSAdvancedFeatures-FIQLsearchqueries. The issue is that the SearchContext is always null and I am ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528283", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Copy duplicate rows of one datatable to another datatable using LinQ Is there any way to copy the duplicate(based on one or more columns) rows in a source datatable to the destination datatable with or without LINQ in C#? A: Write what code you have so far makes it far easier to glean intent. If you use LINQ, you w...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528285", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How does date_add and interval works in MySQL? I try to select those rows from the table in which datatime is withing 1 minute from now. I try to do it in the following way: SELECT datetime FROM my_table WHERE datetime > date_add( curdate( ) , INTERVAL -1 MINUTE ) This is what I get: 2011-09-23 02:39:53 2011-09-23...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528287", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cann't receive REMOTE host log messages with Chainsaw (localhost messages just OK) I did a logger with programmatically configured SocketAppender for Chainsaw. I successfully receive messages in the SimpleReceiver of Chainsaw from code running on localhost, but from remote host i'm just getting like 63 Fri Sep ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528288", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add a check box on Ultrawebgrid? I have requirement like i want to add a checkbox on my Ultraweb grid. how can achive this? I want to add this in the run time i.e row initialization time. can one help me? A: Since the UltraWebGrid is an Infragistics-control, I suggest you look at their forums - they're quit...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528292", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Sign Android APK Possible Duplicate: How to sign an android apk file I am developing one application which is based on GPS. It displays the map correctly on my device, but when I install it on another device the map is not displayed. How do I sign my app? Thank you. A: You should refer this doc. For map k...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528295", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: php contact form with reply message I created a contact form that uses my php script to email the form parameters: //File email.php <?php include('variables.php'); $to = "info@timeshare.org.uk"; $subject = "Quote From Website"; $name = $_POST["name"]; $email = $_POST["email"]; $number = $_POST["number"]; $resort = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528298", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Debugging - how do I execute code line by line? I am having a hard time debugging my C# app in Visual Studio. I can't figure out how to debug code line by line, but not at the moment the program starts (because I would have to F5 a lot of times as the program takes about 200 lines just to initialize). I mean let's a...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528302", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "17" }
Q: How to detect non-busy machines over a LAN automatically? I'm writing an MPI program to be run over a local area network. These machines can be ssh'd to by any student at any time. Although I always test my program at night, the performance has been very inconsistent. My guess is that some nodes were busy when I ra...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528311", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Remove duplication code from methods that depend on return result of other method In ASP.NET MVC application in controller class I have a method protected ActionResult VerifySanctions(string sanction) { bool hasSanctions = this.qualificationSanctionsService.HasSanctions(sanction); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528318", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Java for-loop generating MAC addresses Trying to make a loop of MAC address values with: String macAddr = "AA:BB:CC:DD:"; char[] chars = {'A', 'B', 'C', 'D', 'E', 'F'}; String[] strings = {"0", "0", "0", "0"}; for (int i=0; i<strings.length; i++) { //counter from 0 to F for (int d = 0; d <= 9; d++) { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528319", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: gtk.PrintOperation reset status? Is it possible to reset status of printing somehow, or is it always necessary to create new PrintOperation? For example, if you show printPreview, it is necessary to recreate PrintOperation before calling it again. A: Seems that it is... PrintOperation is invalidated after finishing...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528323", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can COMET/ Server Push be achieved on Google app engine? I am new to both Stack overflow and Google app engine. in a Java Web application, how ddo I achieve COMET, are there limitations in terms of connection timeout or if that is not possible, can a websocket server be implemented on appengine ? A: If you need...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528325", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why HashedSet forces loading lazy collection? I query items with lazy collections in via nHibernate. Items are queried without fetching collections. But when i try to create HashedSet var hashedSet = new HashedSet<Thing>(Session.Query<Thing>()) from those items all lazy stuff is fetched. Whats causing that? [Ser...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528328", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Egit: Checking out two different versions What is the best way to checkout two different versions of a project in Eclipse Egit and have them show up in seperate directories? My situation is as follows. I was working on a project and made some good changes and some bad changes (State A). I want to check out a previou...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528332", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to check-out multiple files from various folders in TFS in a single operation Is there a way to check-out multiple files from various folders in TFS in a single operation. i have modified multiple files under muliple direcotries but i want them to check-out in a single click and check-in also in singl...
{ "language": "en", "url": "https://stackoverflow.com/questions/7528335", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }