text
stringlengths
8
267k
meta
dict
Q: Error in the flash builder 4.5 when changing visible value in app-xml file I am using flash builder 4.5 to create an app. when I changer the initial window - visible value in app- xml, I am not able to run the app. I get the following error "Process terminated unexpectedly. invalid application descriptor: Illegal va...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554632", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Remote acsess to mac pc via iphone using iOS 4.0 Using Ios 4.0 I want to build a project throw which we can remote access other i phone through one.Is it possible in any cases, its totally idea in dreams i don't know whether it is visible or not. I haven't s Thanks. A: There are applications that allow mac/window...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554638", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Mysql COUNT, GROUP BY and ORDER BY This sounds quite simple but I just can't figure it out. I have a table orders (id, username, telephone_number). I want to get number of orders from one user by comparing the last 8 numbers in telephone_number. I tried using SUBSTR(telephone_number, -8), I've searched and experimen...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554639", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Ajax-style FAQ using a CMS? We plan to create a FAQ website. It will include two types of content: * *Lists of questions (FAQs), and *HTML for each answer. When user chooses a list and clicks a question, the answer will load in Ajax style. A very similar approach was described here: Ajax FAQ loading using...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554644", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Want to connect PHP5 to MS SQL SERVER 2005 in linux I want to connect mssql server using php code on linux operating system. i want to use mssql_connect() .please help me. my code is $server='x.x.x.x\SQLEXPRESS'; $link = mssql_connect($server, 'username', 'password'); if (!$link) { die("Couldn't connect to SQL Ser...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554646", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Boolean save as tinyint(1) in mysql I made table with some Boolean fields. CREATE TABLE PM_ADMIN_LIST( id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY, username VARCHAR(250) NOT NULL, password VARCHAR(250) NOT NULL, mail VARCHAR(250) NOT NULL, added_time INT, super_admin VARCHAR(250) NOT NULL, last_time INT, last_ip VARC...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554653", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to Obfuscate my web application project.war using Ant & YGuard? We developed a web application (struts 1.x/Hibernate based) for which I built a war file using ANT build script. Now, my company wants me to obfuscate the .classes files before generating a war & distributing it to the client. When I googled, I ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554657", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Installing cookbook on RubyMine I am trying to import a folder(open directory) on Ruby Mine but when I do it says "Install missing gems" Everytime I click on it, it installs some and then again gives the same error. I have Mac OS X 10.7. Here is the error: /Users/Vinisa/.rvm/rubies/ree-1.8.7-2011.03/bin/ruby -e $std...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554658", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 401 unauthorized exception while reading data from the document library SharePoint 2010 We developed a WebPart to read the content of the file in the document library in the SiteCollection. I used the following code to read the content. WebClient wc = new WebClient(); wc.Credentials = CredentialCache.DefaultNetwor...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554659", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make sure that threads spawned by a Windows Service Timer complete executing after stopping the Windows Service? I'm building a Windows Service using System.Timers.Timer. The tasks computed by the Timer's delegate can take from several seconds to several minutes. I would like to make sure that, when the servi...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554670", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: DataGridCell content template selector Silverlight I have a DataGrid with the dynamic data (collection of custom DataRows), which i get from the server. DataRow has an indexer and a property Data which returns whole data row for the binding (you'll see below) I create each column of a DataGrid in such a way: DataGri...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554673", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Git Setup - New User on old PC I've taken ownership of a PC that was a former employee. Git was installed and the .config file etc is therefore under the former employees directory under ./Users. Do I need to do a brand new install of MySysGit or can I run some commands to get git configured to look at my directory...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554675", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 0 byte file getting created in ftp location Following is my java function to write a csv file in ftp location.The file gets created to ftp location but the file size is 0 bytes and file is empty.Kindly help as I am stuck public int WriteFileToFtp(String FileName, String FileData) { //get these details for the v...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554678", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Install and Configure apache Solr - Indexing failed on following nodes, missing required field entity type I am working on Pressflow Drupal 6, Debian, Apache2, PHP 5.3.3 environment. Trying to set up Solr on it. Followed step 9. Install and Configure apache Solr http://groups.drupal.org/pantheon/mercurywiki * *I...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554679", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Email Program in Delphi I am building an Email send application in delphi 7. Default email client on my machine is configured with lotus notes. I have tried shellExecute command on 'send' button click in application. But in this ShellExecute pop up the lotus notes to user with subject, body etc and then user needs...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554680", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: jQuery ui modal window causes gray line I wanted to change the color of the window surrounding the modal alert-popup in jQuery UI. So I changed it; .ui-widget-overlay { background: white But for some weird reason, a gray line with the previously existing color, shows up in the middle of the screen. I haven't been ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554681", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Display Image at project startup - program.cs? I have a small Windows Forms project and now Iam looking to display an image at project startup, I mean Program.cs Is it possible? static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false)...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554687", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Android "Failed to find style 'mapViewStyle' in current Theme" error I'm writing a simple android application that should display google maps. The application displays the "Activity is not responding" error upon startup. In the mapdisplay.xml file where I define the map view activity, I get a "Failed to find style ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554691", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Problem with FaxComExLib I can successfully fax messages using FAXCOMLib. Now I try to use FAXCOMEXLib, but I have problems with that:/ This is the code (from MSDN VB example): try { FaxServer objFaxServer = new FaxServer(); FaxDocument objFaxDocument = new FaxDocument(); object JobID...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554706", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Would Lync Server SDK or UCMA enable me to implement additional authentication for conference? I would like to create additional authentication for the conference call. Scenario would look something like this: * *Client calls the conference *In chat window he is asked for some secret that is authenticating him u...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554707", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Canoo and Groovy - how to use storeRegEx We would like to test the following flow using Canoo. The tests are written in Groovy, and not as Ant tasks. * *Send a request to a specific URL (we use "invoke") *Extract specific information from the response (we use "storeRegEx" with property:"ans") *Print the extract...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to search for pattern in file and display the line on terminal? i have filw with containtent like following: pid 4565 Process: /my/name/is/4678 +34787[d]sfh888dwe4rtertfsj@##$ pid 33453 Process: /my/name/is/4678 +34787[d]sfh888dfsj@##werwer$ pid 3453345 Process: /my/name/is/4678 +3478[7]dsfhew46534wy6888dfsj@##$...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554709", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: When to use processes, multithreading or neither While using Chrome I notice a great many processes. As I understand it Chrome's design entails each plugin, tab and extension to be in its own process. Is this a more effective approach to just using multithreading such as internet explorer does, or having everything ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554710", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How do you print the day name given a day number in SQL Server 2005 using SQL commands? I want to be able to pass in a day number like 1, 2, 3 or 7 and it will return the day name like Sunday, Monday, Tuesday or Saturday. I know there is the option of using a case statement but I would like to do this using SQL comm...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554714", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Facebook Open Graph Beta: OAuthException Trying to test the new Open Graph Beta to post a new action. I'm following the official tutorial It says to publish an action you would use this POST For example, sending a POST to: https://graph.facebook.com/me/YOUR_NAMESPACE:cook ?recipe=OBJECT_URL&access_token=...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Refresh user control in form:1 on form:2 closing event in winforms C# Form:1 contains a user control, on the cell click event of the user control grid I show form:2. When I update values in form:2 and close it, the user control grid in form:1 should get refreshed. I did the same as in this link though it does not p...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554724", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: CSS property Box-Sizing has no effect on the Box Model There was this question posted and it got me thinking. table cell fixed height and border issue in firefox So I did as follows. HTML: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Template</title> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554731", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Python - self, no self and cls Yet another question on what the 'self' is for, what happens if you don't use 'self' and what's 'cls' for. I "have done my homework", I just want to make sure I got it all. self - To access an attribute of an object, you need to prefix the attribute name with the object name (objname.a...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554738", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "78" }
Q: Thread window is empty I am debugging console application, it has several threads running. Then why Thread Window is empty in VS 2010? I do not see any thread listed here, even main thread is not here. Do I need to enable something? A: Seen in HansPassant's comment above: This is normal, please try to set a breakpo...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554739", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "17" }
Q: Delphi 7 and WCF. Complex type problem I have a WCF service based on basicHTTPBinding. I am calling this service from Delphi 7 and .NET form. The D7 client is able to successfully call the Operation that has primitive input and output type. However, when an operation with complex type is called, the web service rece...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554741", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MVC in yii: how to build pages with several actions belonging to different models I would like to know how you should write website pages that use for example 3 models and several actions on them. Because there is usually only a controller involved with a page call and only a special action. For example: there shoul...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554743", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Java code to display an Image in Google App Engine I have an image in the blobstore of my GAE . I need to retrieve it and make some trasformations and finally display it in my jsp page. Currently I used, BlobKey blobKey = new BlobKey(req.getParameter("blob-key")); blobstoreService.serve(blobKey, res); This shows t...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554745", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Assigning Boolean from Object from Hashtable in Java/Android Just moving to Java, so please forgive this basic question: After this: Hashtable<String, Object> ht = (Hashtable<String, Object>) menus.get(position); String title = (String) ht.get("title"); Boolean isCategory = (Boolean) ht.get("isCatgory"); The valu...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554747", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ASP.NET Change facebook og properties from content page I want to dynamically change in code behind facebook og properties like < meta property="og:image" content="image_link" /> < meta property="og:title" content="title" /> How to do this? btw. I'm adding regular meta tags like this: HtmlMeta tag = new HtmlMeta(...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554749", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "10" }
Q: Custom control in StatusStip control Is there a way to add a custom control to a StatusStrip Control? Say, I need a multicolumn Combobox in the status bar... A: As the modest Hans Passant mentioned, the solution was using the ToolStripControlHost and the ToolStripDesignerAvailability attribute. More details could b...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554751", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Java Play Framework Groovy Scripts within Javascript I want to perform some AJAX style data retrieval using the Java Play Framework and have come across an issue with the 'route' script syntax. The problem is that in the code below @{Movies.show("'+movie.id+'")} gets compiled to url/etc/+movie.id+ rather than url/et...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554752", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Qt Jambi eclipse integration error on Windows 64 bits I can't seem to figure out how to properly integrate Qt Jambi to eclipse. Here is what I did: * *I installed the version of the toolkit for Windows 64 bits; *I copied the required integration plugins in {ECLIPSE_PATH}\plugins; *I launched eclipse and set Qt ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554754", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Read word by word from Msword document asp.net I am working on an application in which I need to read word by word from uploaded document. For this I have added the following code: Microsoft.Office.Interop.Word.ApplicationClass Application = new Microsoft.Office.Interop.Word.ApplicationClass(); object nullobj =...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554758", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: asp.net MVC3 App_Offline.htm : possible to return application/json header? When you want to put your site offline. Almost everything in our application (API) is JSON. I think it might be better to return JSON, as the programs build on top of this API expects a JSON response on all of the methods. Is it possible to r...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554762", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: webservice message with images in listview android I have a doubt to be clarified. I am developing a chat application. I have a smiley button , a Edit Text and a send button. * *I send message along with smileys to web service. I need to return the same data i sent from web service into list view where i display...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554765", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: pl/sql conversion from number to string i need to convert number to string in pl/sql without using the inbuilt functions , we should use string/module operations for this. for example if the input is 123 then the output should be one hundred and twenty three can anyone give me suggestions about this pls? A: You co...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554770", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to create a php extension for an object? I am working on a php extension for c++ classes. How to create a link to a method that accepts as parameter an object of a class? Can you give me some examples? THX. APPRECIATE! I succedded to create a link to a method that accepts as parameter a string or int. But I don'...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554775", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MVC.net EF validation when using View Models I'm working on an MVC application and i'm trying to implement some validation. I've strucuture the site to use EF for storage and a set of view models with automapper. I want to add some validation which i'm sure would work if i added it to the View Models however i'm a...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554779", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: iPhone SDK: Grab HTML and place into Tableview Cell I'm just wondering if it's possible to grab a specific piece of html from a webpage and place the content into a tableview cell? The reason I ask is because I have a detail page which has a list that I would like to be dynamically updated everytime the webpage is u...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554782", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Called id for nil in Rails 3 In development mode: nil.id => "Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id" In production mode: nil.id => 4 Why? A: Your development.rb evironment has the following line: config.whiny_nils = true Which will log an error when y...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554783", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Equivalent of SQL loader in MySQL I have found SQL loader in Oracle is very helpful, fast and efficient. What is the MySQL equivalent of SQL loader? A: There is MySQL Front 3.2 and LOAD DATA INFILE (see docs) A: LOAD DATA INFILE.... Provides much of the same functionality as you would implement in your control f...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554786", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Problem with progressEvent Listener for (i=0; i < _xmlContents.img_array.length; i++) { _loader = new Loader(); _loader.name = "image"+i; _loader.load(new URLRequest(_xmlContents.img_array[i])); _loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onLoadingAction); //Even...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554788", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to access component value programmatically Lets assume I want to access the value of a sibling component in an ActionListener. The following fragment is not working as expected, resulting in a ClassCastException: java.util.HashSet cannot be cast to java.lang.String public void processAction(final ActionEvent ev...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554789", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: resteasy, jaxb - How to produce a collection/list of strings? Simple task, I need to produce this XML: <collection> <name>bill</name> <name>monica</name> <collection> instead of this (see following example: 19.6. Arrays and Collections of JAXB Objects): <collection> <customer><name>bill</name></customer...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554791", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Interactive command for inserting the string returned by a function When evaluating elisp symbolic expressions with (eval-last-sexp), bound to C-x C-e, I can just type C-u before that command to insert the result of the expression into the current buffer. Is there some equivalent to that when calling functions inter...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554792", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Two TableLayout having the same columns I have a problem with my column widths in my TableLayouts. This is the situation, I have multiple TableLayouts that need to be aligned all together, the problem is that they are in different XML files (the same one inflated multiple times) and each one has it's one TableLayout...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554793", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Neither BindingResult nor plain target object for bean name 'userProfile' available as request attribute I've encountered the folowing exception while I was trying to implement my first spring+hibernate web app: java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name 'userProfile...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554795", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to code for the "." for the Use of decimal input? I am developing the calculator for android. I have implemented all the functionality, Now just getting stop at the decimal value. I dont know how to implement that functionality on the click of custom "." button. I want decimal value up to two fraction point. can...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554796", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Best way to evaluate connection speed I'm developing an app which needs to get music file by streaming for playing live. In the request song api I can specify the bandwith (eg: 50kbps, 100kbps, 300, 600 or 1 Mbps). The more the bandwith is big, the more the file will get time to be fetched. As I don't want the users...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554799", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "35" }
Q: CAGradientLayer not smooth enough? I'm doing a CAGradientLayer for every background of my UIViews, but I have a small problem. The gradient doesn't seem that smooth enough. The transition between the colors are to present. You can see it in this picture. This is how I implemented this gradient in the initializer of...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554802", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: can not wait for some milliseconds in javascript I want to draw one line then wait for some milliseconds then draw next line again wait for next line and so on, so that its visualize that how line by line it will be drawn(like ECG waveform). How i can do that in this code? This is my code: <!DOCTYPE html> <html> <he...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554805", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Solving the xinetd "Transport endpoint is not connected" I'm trying to get a simple websocket proxy to work with xinetd. The proxy is here : https://github.com/kumina/wsproxy (basic proxy for vnc) Here's my xinetd/wsproxy config: service wsproxy { type = UNLISTED socket_type = stream protocol ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554806", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Sencha-touch associate model in the same way JSON is nested my json output is: {"Result": {"Data": [{"gmt_id":"1","gmt":"-12:00","secondsDiff":"-43200","Location":"Baker IslanIsland"}, {"gmt_id":"2","gmt":"-11:00","secondsDiff":"-39600","Location":"American Samoa, Samoa"}, {"gmt_id":"3","gmt":"-10:00","secondsDiff":...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554811", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Application.ProductVersion is not working Application.ProductVersion is not showing the incremental version. can anybody help me how to perform this, using C# ? A: You can have build and revision incremented for you but not major and minor. Simply substitute [assembly: AssemblyVersion("1.0.0.0")] with [assembly: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554813", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When is tuple length too long? Here is a logical schema for my largest relation: {(id, uName, supplies, score, playerType, storageSupplies, supplyDrop, barracks, armourDepot, hangar, droneHangar, storage, offensive, defensive, infantry, vehicles, air, fuel, explored, morale, cash, population, tax, food, aSector, cSe...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554824", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to sort Time in JsonParsing? I need to sort the time from the Json feed { "events":{ "event":[ { } ] } } can anyone help me to solve this? A: I don't know how you want it to be sorted and how your full data looks like but here's the idea: JSONArray jsonEvents = new JSONO...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554826", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: validating email address which contains non-english (UTF-8) character in Java i am having fallowing email id 闪闪发光@闪闪发光.com i need to validate this type of email at server side so that user can not enter this type of email.. i have solved similar problem in javascript by using below regex- /^([a-z0-9\+_\-]+)(\.[a-...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554827", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: c++ generalized operator templating I'm doing some numerical simulations where it is nice to overload operations on vectors (similar to valarrays). For example, I can write template <typename T> vector<T> operator*(const vector<T>& A, const vector<T>& B){ //blah blah } But what if I want to generalize this templ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554829", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Faster random generator in Tomcat 7 I have the problem that Tomcat 7 is terribly slow on startup. I found this in the log file: INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [12,367] milliseconds. Security is important, sure, but not on my development machine. I could perfe...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554831", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "18" }
Q: Code::Blocks console app won't show output I've got an application in Code::Blocks, and it's the simple Hello, World traditional program. #include <iostream> int main() { std::cout << "Hello, World!" << std::endl; } The program builds and executes, but the output isn't shown. I checked the project properties ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554836", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: How can I cut off results in a full-text (boolean mode) search? I'm using a boolean mode full-text search: SELECT *, match(Tournament.Name) against ('query' in boolean mode) as score FROM `tournaments` AS `Tournament` WHERE 1 =1 ORDER BY `score` desc LIMIT 20 What I wanted to do was to change the where clause to co...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554837", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How and why can a Semaphore give out more permits than it was initialized with? I am reading the book Java Concurrency in Practice. In a section about java.util.concurrent.Semaphore, the below lines are present in the book. It is a comment about its implementation of "virtual permit" objects The implementation has ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554839", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "11" }
Q: Adding a Custom Webpart to a Site Template in Sharepoint 2010 I tried to add a custom created webpart to a customized team site which I then saved as a template. The webpart in question worked fine with the original site. However, when I created a new site based on this template(within the same server that the webpa...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554841", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: android google map route between 2 point I want to draw route between 2 points in Google map with a pin mark at ends points. in this, user can choose any driving route like by car, by cycle, by walk. I have to show routing information like "2 miles ahead , left from next street" and also estimated time.so regardin...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554844", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: The cursor:pointer property doesn't apply to file upload buttons in Webkit browsers i have CSS code that does not really work on webkit browsers such as safari and chrome if you want live example here it is http://jsfiddle.net/mnjKX/1/ i have this CSS code .file-wrapper { cursor: pointer; display: inline-bl...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554845", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "23" }
Q: Why am I getting an AttributeError when trying to print out I am learning about urllib2 by following this tutorial http://docs.python.org/howto/urllib2.html#urlerror Running the code below yields a different outcome from the tutorial import urllib2 req = urllib2.Request('http://www.pretend-o-server.org') try: u...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554846", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "13" }
Q: Winforms Combobox - do not allow user to edit items This is probably something simple. The winforms combobox items by default can be edited by the user, how to disable this? A: Set DropDownStyle = DropDownList. A: Set the ComboBox style to ComboBoxStyle.DropDownList A: Set the ComboBox.DropDownStyle to DropDownLi...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554852", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "22" }
Q: Calculating Reciprocals: n**(-1) or (1/n)? In random.py's source code, there is the following constant definition: BPF = 53 # Number of bits in a float RECIP_BPF = 2**-BPF I'm no math major, but isn't it more readable to invert BPF by placing a 1 over it? Or is there something about multiplication that is mo...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554853", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Calling function to execute javascript code I would like to place a javascript (adsense) code inside the post (not above or after the post). It will be a HTML page. Is there any way i can put my adsense code in external Js file and i will use one function to display it. adsense code looks something like <script type...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554858", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Website Downloader using Python I am trying to create a website downloader using python. I have the code for: * *Finding all URLs from a page *Downloading a given URL What I have to do is to recursively download a page, and if there's any other link in that page, I need to download them also. I tried combining t...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554862", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: masked own parameter in Symfony routing If i will make own link in symfony: http://www.mypage.com/phone/show/id/1 for: http://www.mypage.com/linksone in routing: linksone: url: /linksone param: { module: phone, action: show, id: 1 } what if i use own parameter in URL? how example: http://www.mypage.com/phone/sh...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554863", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: .net 2.0 winform control in asp.net I want to use .net winform control in asp.net.I wrote the control and displays in asp.net.Is it necessary I have to create a package and deploy in client machine? or since .net framework available in client machine without package it will work. A: While this is possible, by hosti...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554869", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Neural Network based ranking of documents I'm planning of implementing a document ranker which uses neural networks. How can one rate a document by taking in to consideration the ratings of similar articles?. Any good python libraries for doing this?. Can anyone recommend a good book for AI, with python code. EDIT I...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554873", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "13" }
Q: MonoTouch 4.2 does not support System.ServiceModel.EndpointAddress() when running on the device (works on the simulator) I am using MonoTouch 4.2.1 with MonoDevelop 2.8 Beta 2 and XCode 4. We are trying to call a .Net web service method through classes generated by the slsvcutil proxy generator. When testing the app...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554877", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to use if else conditon on button press based on image of button? I am trying to use some logics on the base of button click.i use button as checkmark and when i click on this check mark the image of button changed into checked.png or unchecked.png.On that basis i use this code... if([UIImage imageNamed:@"checkb...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554880", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: handling an executable file in Visual Studio C# My env is Visual Studio 2008 C# and .Net. I like to call an executable from the code and pass parameters to it and then get the output. How do I do this? Thanks Bruce A: Use Process.Start to start a process. How you give it data and get the output will depend on the e...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554889", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set height for the listview that created dynamically through java code? I 'm trying to set the height of the listview which has been created through java code dynamically. I'm using 3 listviews(one below another) in a scrollview(to avoid hiding of lists). If i use scroll view, i cannot see all the list items ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554890", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: First Row As Column Header in OPENROWSET select * from OpenRowset('MSDASQL', 'Driver={Microsoft Text Driver (*.txt; *.csv)}; DefaultDir=C:\; Extended properties=''ColNameHeader=True; Format=Delimited(\tab);''', 'select * from MyFile.txt') The issue is, the first row from the file becomes the header of the table. W...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554896", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How-to create SQL-script? I use MSSQL Management Studio 2005 Express Edition, and I have more than 100 stored procedures. How create sql-script which contain only stored procedures? Thanks. A: Right click on the database -> Tasks -> Generate Scripts -> Go through the steps -> There are check boxes to select Tables,...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554904", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: ChartDirector sometimes draws crosses, refreshing sometimes shows data I'm using asp.net and ChartDirector Version 5. I got a page, generating 3 Charts which is working locally perfect. After uploading it to my webserver it draws f.e. chart 1 and 3, an leaves chart2 as a blue cross. When i refresh it draws something...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554905", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to parse atom feed using jquery I want to know how to parse atom feed using jquery. i had feed url like below http://www.google.co.in/trends/hottrends/atom/hourly Below is jsfiddle but it's not working http://jsfiddle.net/sukumar/sWPkT/ A: To make cross-browser request, see the link I pointed out in my comment...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554906", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Java SSLException: hostname in certificate didn't match for www.googleapis.com Environment: Mac OS X Lion & Linux Debian squeeze/sid, JDK 1.7.0 & JDK 1.6.0_27 Error: javax.net.ssl.SSLException: hostname in certificate didn't match: <www.googleapis.com/74.125.47.95> != <*.googleapis.com> OR <googleapis.com> OR <*.goo...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554907", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: How to map a String[] in hibernate How would you map the following class in hibernate: private class Book { private int id; private String title; private String[] chapterTitles; //Constructor, Getters and Setters } I have mapped Collections and primitive arrays in Hibernate, but how do I do it with...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554909", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: How to use Ext.state.LocalStorageProvider? How to setup Ext.state.LocalStorageProvider so it saves states for all items? A: LocalStorageProvide is a HTML5 Local Storage wrapper for Ext JS. You can make use of the local storage provided the browser you use support it. The storage is based on key/value pairs. You ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554913", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Xcode 4 file complete path If I have any file open in Xcode and I would like to know the complete path to the file, how do I do that in Xcode 4? In Xcode 3 I could hover over the file name and get a tooltip with the complete path. I could also right-click a file name at the very top and get a pop-up window with the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554918", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: SWT label size is not correctly updated I'm new in Java/SWT. I'm experiencing some troubles using a SWT label. When I update the text on the label, its size is not correctly updated (the label is cut, respecting the original size). However, if I perform a very small resize in my dialog, the size is updated correctly...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554922", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: What is an "Async Pinned Handle"? I'm trying to investigate a really nasty software crash which is possibly related to a managed heap corruption (since it happens during a garbage collection). Using WinDbg with the (SOS) !gchandles command I get something like 0:000> !gchandles GC Handle Statistics: Strong Handles: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554927", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "30" }
Q: get current location from GPS in Blackberry application How to get current location from GPS in Blackberry application. I tried to get location from Locationmanager method in simulator its work fine but in my device (Storm 2 using wifi) I am not able to get current lat long. my code private class LocationListen...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554929", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is error in code of view did load so it crashed progrme? I am using this code for view did load.. - (void)viewDidLoad { myPicker.hidden=TRUE; NSArray * shopping=[NSArray arrayWithObjects:@"Lie in bed", @"Shower", @"Brush Teeth", @"Eat", ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554930", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to Handle ftp request using servlet? Is it possible to write a servlet which handles FTP request instead of usual HTTP request?, If yes, how can we do this? A: Although it says that you can extend GenericServlet to use other protocols than HTTP - you can't. There's no implementation that handles the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554931", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: How to set Content Length REST Request - for Android I'm trying to connect to a webservice using Java and REST. This is what I've tried, and I get a 411 error. public static String getSiteToken(String host,String token) throws IOException, JSONException { host = host.replace("https://", "http://"); URL ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554932", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Open a new window using MapAreaAttributes in microsoft chart control i am using MS asp.net 3.5 chart control (Pyramid) and on the click of the series/datapoint i need to open a URL in a new window, something like javascript window.open. Now i have tried a hell lot but that doesn't work. I am not able to give javascr...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554933", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make custom Scroll Bar image and A-Z effect in contacts? I am creating a contacts like application with a listview. I would like to use the scrolling effect in android contacts which displays A-Z in the middle of the screen while we scroll on the contacts list.Also i want to implement custom scroll bar image?...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554934", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is there any alternate way for CheckBox onClick Event in JavaScript? I have written one JavaScript function which would rise the event when the User clicks the CheckBox. But I have already written some other function which too has to rise when the user clicks the CheckBox. I included that function on onClick event l...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554939", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Access nested web user control elements I have a nested web user control. Main web user control I have used on a page but now I want to access the control inside the inner web user control and its events. Can any body help me in this issue. A: In the parent user control, expose a reference to your child control, or...
{ "language": "en", "url": "https://stackoverflow.com/questions/7554945", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }