text
stringlengths
8
267k
meta
dict
Q: Replace a string at a fixed position in a text file with the output of a command with cmd I wants to replace the QUICKSERVER string in line 3 of my text file which is located at c:\BR.txt with the output from the hostname command in Windows CMD. hostname is a Windows command which returns the system name. C:\>hostna...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593516", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 3 Tier Architecture - data tier just stores data only? Does the data tier verify any of the user's input? or does it just store data? Example - User adds email to his profile. Is this right? Presentation Tier - Verify Email format is valid (client side) Logic tier * *Verify Email format is valid (again?) *Set E...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593519", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to avoid the naming conflict b/w uploaded files A web application uploads files (images only) from client to server location no any DB and also save the same file/files from server to client's machine. Process 1. upload a file <input type="file /"> 2. save files into server predifined location : java 3. downlo...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593522", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Javascript function not working cross-browser. This is my javascript function that is working in chrome and FF5 but not working in IE. function createContorl() { var parentDiv = document.createElement("div"); parentDiv.setAttribute("class", "ModelProgressDiv"); parentDiv.setAttribute("Id", "ProgressDiv"...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593523", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Outlook 2010 addin C# public methods I need to develop an Outlook 2010 add-in and I am new to Visual Studio and C#, as I mostly use PHP and JavaScript. I am using Visual Studio 2010 and I've created a project using built-in Outlook 2010 add-in template. Consider the folowing code: // file ThisAddIn.cs using System;...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593525", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: How to return from user define method to delegate method I'm implementing the in-app purchase. And I got the problem while executing the delegate methods of store kit. Here is my code as following: - (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response { NSLog(@"...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593529", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to catch a nested exception in java I'm using Apache Xalan (v.2.7.1) to translate XML to XHTML in Apache Tomcat (v6.0.32). Sometimes the loading gets cancelled by the client and the following exception is thrown: javax.xml.transform.TransformerException: org.apache.xalan.xsltc.TransletException: ClientAbortExcep...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593535", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Error updating database PHP After submitting a payment form (credit cards, etc) to our payment gateway, we receive the "response_code" 1 when the payment is approved. We then use the following code to update a user's info in the database to reflect the approved transaction. However, about every 1 out of 10 times, a...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593537", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL trigger, insert into statement I have two sql tables called scan_sc and rescan_rsc. The scan table looks like this: CREATE TABLE scan_sc ( id_sc int(4), Type_sc varchar(255), ReScan_sc varchar(255), PRIMARY KEY (id_sc) ) When a scan a document I insert a row into the scan table. If the result ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593539", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't get Notification after connecting serial dock connector between iPhone and iMac Is it possible to connect iMac to iPhone through the dock connector ? Also I am using the EAAccessory framework but I am not get any notifications when I connect the serial cable to iPhone. If any one knows about this please give m...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593545", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: paperclip - converting tiff images into jpg or png I'm using paperclip to allow user to upload images and I want to convert an image into jpg/png only if it's a tiff image. I am using the following code in my image.rb: validates_attachment_presence :data validates_attachment_content_type :data, :content_type =>...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593548", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "16" }
Q: Search with Jquery checkbox array through a many-many MySql db? I've been slowly learning and building my little search system - however I seem stuck at this tough question. I have a many-many relation database of events. Each event can have multiple music styles stored in the events_music_styles table. The events_m...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593549", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Autoadvancing gallery animation I have a Gallery widget set up to auto advance every 10000ms. However the transition between views is instantaneous and I would prefer to have a transition. My advancing method is like so: private void tickerAdvance() { int selectedItemPosition = mTickerGallery.getSelectedItemPos...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593554", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JBoss6 with REST client (jersey-client) I want to consume a REST service in my web app (.war with 6.0.0.Final), but have problems adding jersey-client libs: <dependency> <groupId>com.sun.jersey</groupId> <artifactId>jersey-client</artifactId> <version>1.9.1</version> <type>jar</type> <scope>compile</scope>...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593560", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: XSLT not working correctly to remove an element Given the following XML file: <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Fragment> <DirectoryRef Id="INSTALLLOCATIONAGENT"> <Component Id="cmp140DC3A98DEC1F1F528260F1806A3999" Guid="*"> <File I...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593562", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Calling Javascript on Client click event of Ajax tab panel I want to perform some check after OnClientClick event of Tab Panel in a Javascript function. If my conditions return true I want to allow tab change otherwise want to restrict user on same tab without posting back. PFB code block. Any help will be great... ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593564", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: unable to automatically debug wcf service I am new to WCF. I have created one sample service to insert the record into the customer table. when running the application i am getting an error - "Unable to automatically debug 'Home.Service'. The remote procedure could not be debugged. This usually indicates that debug...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593567", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Remove the blank spaces I have an external text file with a list of numbers like this: 35454 54545 45444 I want to output it like this: '35454' '54545' '45444' I would post my code, but Stack Overflow keeps giving me errors and cutting off my code when I try to post it. A: It appears you mean that there's trai...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593570", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Check actionscript 3 variable type? i have two objects [object MovieClip] [object ContentDisplay] i have to differentiate them abut i can't find a method in as3 check variable type, like in php have is_int... A: getQualifiedClassName(obj); returns class name of given object You can also check if object is for exa...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593571", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to fix firefox connection untrusted Firefox gives me connection untrusted for SSL https, and why is that, Chrome shows https in green so, chrome OK, firefox not, why ? A: when i install ff 16.0.2, i seem to have same prob with you(untrusted connection especially firefox addon)..For me, it basically cause by my...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593572", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Extending Django-Registration: Getting error on setting url.py am trying to follow the answers provided in Django-Registration & Django-Profile, using your own custom form and Creating a Django Registration Form by Extending Django-Registation Application to extend the django-registration form. I added the following...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593574", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there any way to authenticate a user using cookies in asp.net using form authentication Is there any way to authenticate user through Cookies.... A: That's exactly what the Forms Authentication module in ASP.NET uses to track authenticated users.
{ "language": "en", "url": "https://stackoverflow.com/questions/7593577", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do you differentiate private member variable in objective-c? for private methods, I could use @interface MyClass(PrivateMethods) - (void) _foo; @end How do you declare a private member variable in objective c? A: http://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ObjectiveC/Chapters/ocDef...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593579", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to change the RatingBar direction? Does anyone knows if its possible to make the RatingBar go from right-to-Left instead of left to right, or have an idea how to do it? A: You can use android:rotation="180" in your Ratingbar to rotate it i used this way on my read-only Ratingbars, i dont know if thi...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593586", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "10" }
Q: java: find RSS file(s) of a website I am writing a java application; using Rome lib for reading RSS feeds of a RSS file of a website. I can read and manage feeds using Rome but I can not find the exact URL path of RSS file. I know there is a line like this in html file specifying the RSS xml file url: <link rel="alt...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593587", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Member Mapping specified is not valid.Error in ADO.net Entity Framework when add new column in database? I am very new to ADo.net entity framework and i am getting the following error The type 'Edm.Byte' of the member 'IsActive' in the conceptual side type NopSolutions.NopCommerce.BusinessLogic.Data.Language' do...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593588", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to detect array equality in JavaScript? There are two arrays in JavaScript, they are both in the following format: [{'drink':['alcohol', 'soft', 'hot']}, {'fruit':['apple', 'pear']}]; I need to detect if the two arrays are equal or not. they are considered equal if they contain the same elements in a different ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593590", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "10" }
Q: Return/Cancel Order - Shopping Cart * *I have implemented the Custom Shopping Cart in my site. My site allowed paying the amount in three different checkouts. a. Google b. PayPal c. Authorize.Net *Once customers place an order they can view their order details and status from Order Management page. I have defin...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593593", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can we differentiate a variable against a pointer variable Yesterday while I was coding in C, my friend asked me pointing to a variable is it pointer or a variable ? I stucked up for a while. I didnt find an aswer to it , I just have to go back and search it and tell him.But I was thinking is there any function to d...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593599", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Protocols & delegates Possible Duplicate: What is the difference between Notifications, Delegates, and Protocols? I am new in Objective C. Would like to understand the concept of Protocols and Delegates in a few words. Like under what situation should I consider declaring a Protocol, and then consume it in my cla...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593601", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JSTL xmlns namespace differences between JSF 1.2 and JSF 2.x? I have a JSF 1.2 based webapp from which I copied the JSTL import xmlns:c="http://java.sun.com/jstl/core" You can also find this import in many places on the Internet. I can't remember whether the above worked in my former web project or not, in any case...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593603", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "21" }
Q: internet explorer 7 css width 100% problem How can I fix this... Here is my screen on IE7 And here it is on IE8 My css code here is.. #content{ font-family:Arial; width: 100%; min-height: 5em; display: table-cell; /*vertical-align: middle;*/ text-align: center; } #main_content{ font-fam...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593607", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Timeline plugin issue in Wordpress I tried to use the timeline plugin and post to my timeline using this tutorial. and everything worked as a charm. The problem occurred when I tried to implement the same to my WordPress blog. The timeline plugin doesn't refresh after I authorized the app to add actions to my timeli...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593608", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In Prestashop how to uninstall the theme? I have created a theme in Prestashop and installed it, using these steps: * *Login as admin *Go to Module select Administration Tab in that Select Import/export a theme v1.4 by PrestaShop. *Follow the steps. Now the problem is I've installed the theme but I can't un...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593609", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Selenium testing without browser I use Selenium RC for testing. Now to perform a load test, I want to run parallel test cases. Is there any way to run them without opening a browser? A: Try this code: op = webdriver.ChromeOptions() op.add_argument('headless') driver = webdriver.Chrome(options=op) A: To set up on ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593611", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "58" }
Q: Struts2 annotations (Convention Plugin) I meet an odd problem with struts2 annotation, let me elaborate it first @Results({ @Result(name = "input", location = "main.jsp"), @Result(name = "list", location = "list.jsp") }) public class MainAction extends ActionSupport { private PortalUser user; @Auto...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593613", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Android SQLite foreign key help needed? // HANDLER private static final String SCRIPT_CREATE_DATABASE = "create table " + MYDATABASE_TABLE + " (" + KEY_ID + " integer primary key autoincrement, " + KEY_CONTENT1 + " text not null);"; private static final String SCRIPT_CREATE_DATABASE2 = "create table " + MYDATABASE...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593615", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to merge Designer and XAML editors in one window in Visual Studio? How to merge Designer and XAML editors in one window (designer on top of xaml editor) in Visual Studio 2010 when working with WPF project? Currently, to switch between them I need to use tabs. A: Click the toggle button in the picture below. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593622", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Database design for products and product variants I'm building an commerce site and I've been researching different ways to show products with variants. I'm trying to do this for contact lenses and wondering what the best way is. Products can be either simple, such as a lens case or lens solution that have no varian...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593629", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why not open viewController when clicking a table cell in moreViewControllers of UITabBarController? Why not open viewController when clicking a table cell in moreViewControllers of UITabBarController? When I click cell, cell is highlighted (or selected). But viewController was not shown. Oh, must I type some code ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593630", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I make a variable made out of a string global in python? I'm trying to make a blackjack game. I've made functions for drawing cards and checking if sum in one's hand exceeds 21 but only for 3 players. That was easy I had 3 lists. But I want to do it for N number of players so I want to keep my functions and m...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593640", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to map 10 bits to 6 bits in C++ (as efficiently as possible)? So I know functionally what I would like to happen, I just don't know the best way to make a computer do it... in C++... I would like to implement a C++ function that maps a 10 bit sequence to a 6 bit sequence. Nevermind what the bits stand for right ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593646", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: native XML Database: eXist or Sedna? I'm trying to decide on which native XML database to choose: eXist or Sedna (both are open source) I'm using cakePHP, Ajax and WAMP for my website. I will be using the XML database only for reporting purpose coz' i'm having some semi structured data which cannot be stored in MYS...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593654", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: to get the textbox values of the form in user control in splitcontainer Possible Duplicate: get the splitcontainer context in user control click event I have a split container in which right panel, i have a user control on top.I have a left panel which has navigation links.now if i click a link in left side, a fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593655", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is the variable read from the Scanner method next() or nextDouble() equal to a String or double respectively For example, If I declare a String variable and a double variable String d = "dragon"; double = 1.45; And then I have a text file and on the first line of the file it is... A dragon is 1.45 So I open the...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593656", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Dynamically load google maps api v3 with namespaced callback function I recently ran across the following problem when lazy loading/dynamically loading the google maps api v3: In order to check whether the api has fully loaded or not, I followed the instructions on google's documentation page. Works fine with a norm...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593658", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Android Video Streaming using Video View (video view not showing automatially) I have managed to stream video from internet using Video View Uri uri=Uri.parse(videoFileList[0]); VideoView vv=(VideoView) this.findViewById(R.id.vv); vv.setVisibility(1); vv.bringToFront(); vv.setVideoURI(uri); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593664", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: SymbolicateCrash is not creating proper de-symbol file I have the dSYM file for build created on client's machine. Client got a crash in build and now I am trying to de-symbol by use of the symbolicatecrash by the simple following command in terminal: symbolicatecrash myapp_iPod-Touch.crash myapp.app.dSYM > test.txt...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593665", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Codeigniter image resize() thumbnail name issue When I resize an image keeping $config['create_thumb'] = true Codeigniter adds the string "_thumb" in the end of the name of resized image. What I want ask is, is it possible to add the suffix "_thumb" in the beginning of the image name example: original_name.jpg aft...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593666", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: TDBListView and TAdvDBListView - showing icons to the items I am stuck with TDBListView and TAdvDBListView and the way to display icons with the displayed items. I have connected them to ImageList, but i cant find property which to drive connection of the ImageList - image index and the fields which is displayed, or...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593668", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Django Templates: Comparing current url with {% url xyz %} I am trying change the active selection of my navigation links based on the current page where the user is at. I am trying to do omething like this: <li {% if request.get_full_path == {% url profile_edit_personal %} %}class="current"{% endif %}><a href="{% u...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593669", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "11" }
Q: Moving an SVN repository from one PC to another I have an SVN repository for Project A in one PC with Ubuntu OS and another repository for Project B in another PC with Windows OS. a) I would like to create a new repository with name 'Projects' in windows PC and would like to move the two projects under it and final...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593672", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Looking for better way to set resizeable background Css3 / HTML / mootools I found some code that allows me to resize browser window and reset image h+w appropriately like so html { background: url(css/images/600.jpg) no-repeat center center fixed; -webkit-background-size: cover; -moz-bac...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593685", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: String is wrong converted to float? (Blitzmax - Reflections) I have a little Problem in Blitzmax. I try to read an INI-file and if I read floats they are converted in a very strange way. The line in the file which is concerned looks like that for example: _fStrength=40.6 The Output of this looks like that: DebugLog...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593688", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What does CF in CFnumber,CFstring etc in xcode application mean? I have minimum exposure to Xcode and i/o kit. I came across terms like CFString, CFNumber etc. Whether this CF have any particular meaning like these strings and numbers inherited from C or like C string or numbers. I just want to know what CF refers t...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593689", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Outlook add-in and WPF window I am writing a simple Outlook addin using addin Express. This is for 2007 and 2010 . I have a wpf window I want to launch modally when a ribbon button is pressed in OL . The code I have right now just does this MainWindow mw = new MainWindow(); mw.ShowDialog(); and everything se...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593697", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: object-database: Changing the class hierarchy I am reading me into object oriented databases right know and have to make a little presentation. Something I don't get and nowhere can find is following problem: What happens with the data of the database when I change my class hierarchy. For example I have A extends f...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593698", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set UITableView cell alpha? I have to set the cells alpha to minimum. I try the following code in cell for row, it's not working. I've also set opaque but it's still not working. Anyone have an idea about this? UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; if (cell == n...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593700", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "10" }
Q: How to write a `<<` operator for boost::tuple? In the sample code below, it shows that boost::tuple can be created implicitly from the first template argument. Because of that I am not able to write a << operator as it becomes ambiguous. Also I don't understand why ostringstream& << float is also ambiguous. This do...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593710", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Is there any possible way to obtain the list of android applications in market? I am looking for solution of retrieving the whole list of application name from the market. Is there any way of doing this? Edited: I have found this post is very useful for this...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593715", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Where to get the Lagoona Compiler and Specification? The Lagoona programming language is supposed to naturally and fully support Component Oriented Programming (and DbC) according to: this article and is implemented in .Net; but I didn't find the compiler, specification nor examples of code for it. Does anyone know ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593720", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Change start time extensible calendar (extjs) I trying an extjs component (extensible calendar) http://ext.ensible.com/ I want change the start time in day view become 4.30, but the data doesn't show after 23:00. This is make me crazy T.T Please, any suggestion please... A: set the viewStartHour : Integer config o...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593723", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: XmlSerializer and different field in class and xml attribute I have xml with several items, for example: <TestObject> <TestElement1/> <TestElement2/> </TestObject> <TestObject> <TestElement1/> <TestElement2/> </TestObject> Also I have class: class TestClass { public int TestElement1 { get; set; } public...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593725", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: locate-file function not found in Emacs? I want to use the locate-file function in Emacs to find files quickly using file names. This link: http://www.gnu.org/software/emacs/elisp/html_node/Locating-Files.html says that there is a command function 'locate-file' for this purpose. But when I try to use this function u...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593727", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: using firefinder xpath to find elements I'm using xPath with FireFinder.. but can't seen to get the right xPath to find an element.. Sample html: <input type="button" onclick="ViewContact('9498')" value="View Contact" class="FormButton"> <input type="button" onclick="ViewContact('9499')" value="View Contact" class=...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593729", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: NSAutoreleasePool in UIViewController life cycle I am working in an app for iPad. It presents several views, so I have to be careful with the memory management. My problem is related with the autorelease objects. I would like to associate a NSAutoreleasePool to each view controller. Something like this: MyViewContr...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593731", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to display bitmap from internal storage? I saved my bitmap images in my internal storage but i can't redisplay it. I've been researching for a long time but i've not find yet. public static void saveImages(Activity activity) throws IOException { for (int i=0; i<categories.getItems().length; i+...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593737", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How can I make this AJAX/PHP work? So I'm new to AJAX (not as new to PHP), and I'm trying to create a login using AJAX to query the PHP file. So, this is the code I'm trying to use. I have three files. The first one is login_form.php. It contains the login form... <html> <head> <title>Log In</title> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593744", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Android: webview I am trying to wrap a web application say www.xyz.com within a webview using shouldOverrideUrlLoading. I have two activity one that launches the application, this checks all the activity running and determines whether to launch new instance or not and other activity which wraps my application www.xy...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593750", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: php cli not working in my web server I am trying to run a php file in my web server in command line using php test.php But it is not working. it runs forever and takes 100% resources. It was working yesterday and now it is not working. I tried to debug the process using strace -p <pid> and got lots of times(NULL...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593755", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: App Error:104 illegalArgumentException while running the Blackberry Application i have created one application which parsed the data and it will displyed in ListRow,for that i have created http connection as below. enter code here public void run() { System.out.println("Run Method called"); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593758", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to write a search method include "Like" such as SQL in J2ME Now I try to write a small method to search in j2me, it works well but I don't know how to write a method like SQL use "Like" in j2me to search recordstore doesn't need match 100% percent. Example In my RecordStore there are 2 records London; Paris; At...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593763", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Serial Port Communication With Mobile Phones I want to connect my mobile phone to PC Using Serial Port. and communicate and send sms to contacts stored in phone memory.How to achieve this in C#. A: First of all, you are not providing sufficient data to answer this question. Anyway i am writing what i know about thi...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593765", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Title: Read contents from text file dynamically in classic asp I have done the code to write the values I enter in the text box to a text file. Now I want to read those values and assign it to a variable. The values stored in text file are as follows: abc.jpg,www.google.com 123.jpg, www.yahoo.com I want to read the...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593770", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to launch iPhone app (using Phonegap) on iTunes How do I launch an iPhone app (using Phonegap) on iTunes? What are the requirements to launch an app on iTunes? We already have a developer certificate. A: To get an app onto the iTunes (Apple) App Store, you need to go through iTunesConnect: http://developer.appl...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593771", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Move div down smoothly while updating in JQuery I was trying to make a list that updates from the top. Every time when new list item is inserted, old items will be moved down together smoothly So firstly I generate list item every time I click function addItem(){ $('#public').prepend('<li><div id="item' + i + '" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593773", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Changing and retaining changed element in table view titanium Hi, I am developing an Android application using Titanium. For changing image on click I used following code. But the problem is that when I click on image it will change only once (on first click), when I click again it won't show changed image. But in a...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593775", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Custom view in android I need some valuable advice from you guys... I have a UI where I have to drag objects from one view to another. I have a rough sketch of this UI below I think I have to create a custom view for this. I have to drag a square and a ball from bag 1 and bag2 [both bags are scrollable, can contain...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593780", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: UITabbarController + ABPeoplePickerNavigationController not working properly Currently I am using ABPeoplePickerNavigationController along with UITabbarController and want to open ABPeoplePickerNavigationController in UITabbarController's index 2.. So on viewcontroller at index 2, I had written code like this, -(voi...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593786", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Determine element left of cursor in JavaScript Is it possible determine the character on the left of the cursor's current position? Basically if the cursor is at, x-45 I'd like to determine if it's prefixed by a { character.
{ "language": "en", "url": "https://stackoverflow.com/questions/7593788", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to get the list of all "Change Sets" of a user in TFS? I just want to get the list of all change sets of a user in TFS. I want only the id of the change set, and a link to all items which are being checked in as part of that change set. How can I do that? A: Besides option presented by Richard, you can also do ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593795", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "56" }
Q: MSDAORA provider not found for asp.net site I've got stuck with strange Oracle connection error on Windows Server 2003 x64 (IIS 6) While console .Net application that runs onbehalf of administrator successfully connects to Oracle 10g Express via OleDb [Connection string looks like: Provider=MSDAORA;Data Source=serve...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593796", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AIMA Framework printing states Considering that AIMA has functions to return the actions/instrumentation followed for a given problem, is there a way to get a list of expanded nodes, or the states which led to the problem's solution? I've scoured the source code and couldn't find much. If anyone has worked with this...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593797", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: WPF Button Focus error I have modified my wpf button but the problem is when i hit the tab the next button got a rectangle over it and my effect got overrides any solution ?? A: Set the FocusVisualStyle to null for the control that you don't want focus rectangle to appear on. <MyControl FocusVisualStyle="{x:Null}" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593798", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to check what all URLs are available on a particular server? On a machine, there is a HTTP server running at a particular port. I know some of the pages that are accessible: http://myothermachine.tx:6566/info http://myothermachine.tx:6566/status etc. The pages that are not accessible will result in 404's. Is th...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593800", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: functional test in playframework fails when adding items to cart I wrote a functional test to check adding items to a shopping cart.For a user to be able to add items to cart,he needs to login.So,I created a method to login the user and another method to add the item.Before and after the addtocart method in test,I a...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593802", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Break up big array into smaller arrays, or break up a big text string into smaller strings - javascript What is the method for breaking up a big array into smaller arrays. Or a big text string into smaller strings in javascript. Ex: I have a string of 49 words separated by spaces/commas. I want to break it up into ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593804", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gimme this join or that join (MySQL) SELECT COUNT(*) as snitch_count FROM snitchings JOIN pimps ON pimps.pimp_id=snitchings.pimp_id JOIN prostitutes ON prostitutes.prostitute_id=snitchings.prostitute_id WHERE snitchings.case_id=4538; This is what I have and it runs but it doesn't seem right (the tables exist bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593806", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: android fast pixel access and manipulation I'm trying to port an emulator that i have written in java to android. Things have been going nicely, I was able to port most of my codes with minor changes however due to how emulation works, I need to render image at pixel level. As for desktop java I use int[] pixelsA ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593810", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "10" }
Q: Logs Files will reduce the website speed in cakephp? Sorry for this basic question I logging($this->log()) lot of things from all controllers in my live site. My tmp/logs folder contain around 1 gb of log files, whether this will reduce the site speed/ or slows site speed? we are removing log files once in a week ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593813", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to organize Interfaces/classes/implementations in the project I found some questions about how to organise projects (namespace, one class per file etc), but on a more specific note, how do you organize "things" that are very tightly related ? I usually end up with : * *an interface IMyStuff *a base (sometime...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593814", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: How to write a TextView in a determined coordinates of the screen? (frame layout) I have a app that shows the camera view on the screen on a FrameLayout. The screen is in fixed LandSape mode. I need to write a textView with dinamically determined coordinates of the screen. The coordinates are determined in percentag...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593817", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cut,Copy and Paste in eclipse GEF Editors I am creating eclipse gef editor using BPMN2 EMF models. Now i am almost end to editor functionality. But i am not clear to implement Cut,Copy and Paste functionality. i searched lot in net but all the tutorials i have seen using clone method in Models. In default bpmn2 mode...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593818", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: A stored proc to copy table data including any default value or binding data via a SQL script running within SQL Server I would like to be able to copy a table and it's data and also still have any default value or binding (as it is labelled within SQL Server Management console) constraints copied over. The script ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593821", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get maximum value from output of SQL query I have two tables: task_runs and integer_values. I am running a query to get this output: task_name start_time value acc_clock 2010-05-27 4 icc_opy 2010-05-28 5 icc_dtaf 2010-05-29 3...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593822", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get the processor number on android Hi all, I want to get the processor number on android. can I do that like as follow: int processporNum = sysconf(_SC_NPROCESSORS_CONF); but everytime the return value is 1 on some of my phones, so i not sure this methold is right .is there anyother api can get this info ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593829", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: Titanium popover not working i'm trying to use the "Popover " functionality in the titanium. i went throught the kitchensink and built a code in my application but some how i'm getting this error: Result of expression 'Ti.UI.iPad' [undefined] is not an object. i dont know what i'm doing wrong. here is my code: var ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593830", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: UINavigationBar with customized background - how to make rightBarButton visible I've customized background of navigation bar in my RootViewController (just part of code) [navBar insertSubview:customBack atIndex:0]; I push detailViewController and add activity indicator as a rightBarButtonItem UIActivityIndicatorVie...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593837", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What's the Best Way to Send Parameters to a UIViewController? I ask this question because it appears that viewDidLoad gets called before the main block of the initializer does and the class variables I'm initializing in the initializer are turning up nil in viewDidLoad. For your reference, I'm doing this entire view...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593844", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to avoid create one thread per room (group of players) I have made a game (is still in Beta, need improvements, and other things), and I would like to know if exists a better approach of what I have done in my game servers. (Programmed on C#) The process to play a game is something like this: Client application ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7593850", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }