text
stringlengths
8
267k
meta
dict
Q: Why is presentModalViewController not working? I am presenting a modalcontroller in a view, after i dissmiss the view i want to present another modalView but the code is not working, i have a delegate method that is being called when i press a button on the first modal vieview in witch i have the code. inside the pa...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579556", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to prevent duplicate content issue when having same user comments in multiple content pages? I have a question about duplicate content issue. I have pages with article, one page = one article. Below the article is discussion forum / comments box. These articles have sometimes very similar subjects. So it usuall...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579563", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: node.js - using weld with express? I'm new to node.js, and attempting to use weld to render templates on the server-side and using express as the router. However the examples for node.js doesn't show serving the content, and am fuzzy on how this would work with express: var fs = require('fs'), jsdom = require('jsdom...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579564", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "9" }
Q: Loop until passcode is unique This is for a file sharing website. In order to make sure a "passcode", which is unique to each file, is truely unique, I'm trying this: $genpasscode = mysql_real_escape_string(sha1($row['name'].time())); //Make passcode out of time + filename. $i = 0; while ($i < 1) //Create ne...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579570", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Upgrade to iOS 5 caused my app to stop being debugged I have upgraded my iphone to iOS5 to test my application behavior on iOS5 After verified it has issues, i have downgraded my device to iOS 4.3.5 since than I am trying to debug my application using XCode and get the following error: Error starting executable No p...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579572", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rendering an iframe from HTML stored in the DB I have a HTML template that I'm rendering using Django. I'm passing in all the necessary context variables — my_heading is the heading, my_html is the mark-safed html. I'd like to display my_html in the iframe. <html> <head> <title>Iframe Example</title> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579573", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Swing time picker Im looking for a pretty and decent time picker component. There are a lot of alternatives for date picking on Swing but no for time. I've seen nice Date/Time components picking on JQuery ( for example: http://trentrichardson.com/examples/timepicker/ ). There is something similar on Swing? Thanks in...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579577", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: Backbone js confusion I have heard a lot about backbone.js and quite frankly I don't understand its concept. Does it require that all the elements should be in single page to work out with its animations and effects ? Or it can grab items from server and load it with transition or i mean different pages but make loo...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579587", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: close any running application through another application programatically Can we close any other applicaton running in background from our application. Want functionality just similar to Task manager. Is it possible? Any hint. Thanx in advance A: "Victim" application should implement GlobalEventListener, and "kille...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579588", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Entity Framework 4.1 Server-side validation The data I work with can be added from different interfaces. So in my MVC application I need to validate that the data read from the database is correct according to the rules/attribute I sat in my model. Depending on the validation send the user to different Views. I need...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579591", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PHP MySQL_return_rows = echos 1 then 0 I am doing an AJAX post to a PHP processing script. I am checking if MySQL returns any rows befoe proceeding with registration. The problem I'm having - MySQL quickly echoes 1 row and then echoes 0 and proceeds with registration, even if 0 rows exist. Why am I seeing 1 row r...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579594", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: WSO2 DSS Cassandra Dependency Is the integrated Cassandra server(version 0.7.x) loosely coupled with WSO2 DSS (version 2.6) or not? Will the usage of a newer version of Cassandra (e.g. 0.8.x) affect the DSS in the low level? Thanks A: The way we integrate Cassandra is by making it into a Carbon component and then ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579597", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: WkHtmlToXSharp not rendering HTML elements as soon as I change the source HTML I have downloaded WkHtmlToXSharp (which uses WkHtmlToPdf under the hood) and opened the solution. When I run the test given with the project - CanConvertFromFile, it gives me a nicely formatted PDF output. But as soon as I delete even a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579599", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: patch on top of patch on the same product not working I installed my product named XYZ.msi. Then, I created a patch (patch1.msp) and applied that patch on my product and it worked fine. I can also see the changes in the Add/Remove Programs. Then I created another patch (patch2.msp) for the same product (XYZ.msi) and...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579603", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: lock - 2 entrance point in the lock and 1 exit point I want to reask my previous question how to obtain a lock in two places but release on one place? because it seems too old and noone sees my updated code. The question is - is my code correct and how to fix it if not? I've tried similar code in the application and...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Background service on a Glassfish server is it possible to run a background service/daemon on a glassfish server? Best, T Edit: To clarify things: I mean a daemon like a windows service, that runs in the background and gets triggered by an event. A: Glassfish is Java EE container, so you can deploy any Java EE serv...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579607", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Enum datatype in interface in C# How to use enum datatype in interface? Is this possible? public interface IParent1 { string method1(Test enum); } public class Parent1 : IParent1 { public enum Test { A, B, C } public string method1(Test enum) { return enu...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579608", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the purpose of extending an anonymous type in Scala? I'm trying to get a better understanding of Scala, and I can't seem to find a valid usecase for code like the following: class C extends { def m() { /* ... */ } } What is the rationale for allowing such constructs? Thanks! A: I guess the only rationale h...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579617", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "11" }
Q: How would I discover the suppressed error in Valgrind? I have following valgrind output: ==28099== ==28099== HEAP SUMMARY: ==28099== in use at exit: 0 bytes in 0 blocks ==28099== total heap usage: 131 allocs, 131 frees, 3,472 bytes allocated ==28099== ==28099== All heap blocks were freed -- no leaks are po...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579619", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: What is the appropriate event listener for a JTextPane in this scenario? I have a JTextPane that displays HTML text. HTML text has hyperlinks with tags ... I want to invoke a java function when the user clicks on a link within the html text displayed on the JTextPane. How can I achieve this? If there is a need to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579623", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What path is a mountable engine mounted on I need to know, from inside of a layout of a mountable engine, what path it's currently being mounted on. What would be the way to do it? E.g. my routes.rb contains the following line: mount BackendCore::Engine => "/backend" From inside of the BackendCore, I need the acc...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579625", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "9" }
Q: Fastest way to render UIButtons using layers and Grand Central Dispatch? I have a grid of 30 UIButtons and potentially even more, subclassed to be rendered using layers: a base CALayer, a CAShapeLayer, a CAGradientLayer and a CATextLayer. I am trying to minimize the overall time required to render/display the butto...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579630", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Showing that a recurrence relation is O(n log n) T (n) = T (xn) + T ((1 − x)n) + n = O(n log n) where x is a constant in the range 0 < x < 1. Is the asymptotic complexity the same when x = 0.5, 0.1 and 0.001? What happens to the constant hidden in the O() notation. Use Substitution Method. I'm trying to use the exa...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579631", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Objective C - CLLocationManager find out when "Allow" or "Don't allow" is clicked When doing CLLocationManager, is there a delegate method that gets called when a user clicked the "Allow" or "Don't allow" prompt that request to use Location? I tried this but this doesn't get called after a user "Allow" or "Don't all...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579636", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Importing issue history from other issue tracker DB into Jira I am importing issues from a non-legacy issue tracker systems DB into Jira. I am able to import all the issues from the DB, properly with the help of customized 'jira-importer-plugin.jar'.Now I want to import the issue history of the non-legacy issue trac...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579637", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make updatable GridView in ItemTemplate I want to show Employee details in GridView. My client wants that he should be able to update the record without clicking on Edit button to update. Hence I kept everything in the ItemTemplate field of the GridView. My Database tables are: Emp(EmpNo, EName, Sal, DeptNo) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579642", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When i do a debug, the pictures went out of place, anyone know why? I'm using WPF xaml. When i do a debug, the pictures ran out of place from what the design is shown. Any one know why? Beside codes what do i have to add in? Sry first time posting in here. What else must i add on? Btw i'm using VS2010. <Grid> <I...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579643", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Looping in a String to find Unicode characters is taking too much time I am creating a custom field where I want to replace some unicode caracters by pictures. Its like doing emoticons for blackberry device. Well I have a problem looping the caracters in the edit field and replacing the unicode caracters by images. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579644", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Consolitate data from multible sheets ,re-arrange the data as per the column name i want a macro to consolidate the data form multiple sheets to one sheet.. here i given the example .. Sheet 1 a1:Name b1:Age a2:sathish b2:22 a3:sarathi b3:24 . sheet 2 a1:Age b1:Name c1:Dept a2:60 b2:sara...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579645", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: [TRAC]: Generate (welcome) pages for individual and specific user name? I want TRAC to generate individual pages for specific user name. For example USER1 after successful login will see: * *USER1_logo.jpg *USER1_welcome_text *USER1_link_to_http_ftp_file The same way USER2 will see his/her individual page/pag...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579646", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Developing webpage for mobile, resolution choice I am developing a page that needs to be able to view on a mobile platform. What resolution should be the standard for this? I live in Norway, and there are mostly iPhones and HTC-phones on the market here. Any ideas? A: If you want to accommodate more than just iPhon...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579651", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: LIKE query does not work after I change CHARACTER SET of a MySQL Table to UTF-8 I have MySQL database with 30 rows in customer_customer table. Out of which 5 record has adm_name as Mike. mysql> select id from customer_customer where adm_name like '%mike%'; +----+ | id | +----+ | 1 | | 2 | | 3 | | 4 | | 5 | +--...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579657", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to generate automatic url which is given permission for 3 times in PHP? I would like to generate a URL which will have a unique code tail at the and only will be used 3 times. After accessing 3 times from the link. the url will expire. How can I do this? Basically I think I need to create a database and map the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579662", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: removing of array elements an issue I have a situation where i add tables on a click of button and each table is stored in array. Now when i remove 2 or 3 tables, wrong index are being removed. addTable: function (obj) { for (var i = 0; i < obj.length; i++) { // Adding of table array.push(obj) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579663", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: java : get computed values outside loop I do some calculation inside for loop and when I println values inside the loop, I got the expected values, now, I need also that these values will be available outside loop and not only get the latest value. example : String[][] matrix = { { "1", "2", "3" } }; String[]...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579664", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to redirect the url I am not sure what would be the exact technical term for this but i wanted to access a file which is avail in server(Apache Tomcat). i just wanted to type this in browser e.g. http://localhost:8080/myProjectName/eng : *but this should refer as. http://localhost:8080/myProjectName/english.ht...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579667", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: understanding tcpdump trace with ethernet headers I have two packets in my tcpdump log and I have no idea what "P" and "In" in the second column mean. Could someone explain what they mean? 00:43:44.896482 P 00:00:ac:12:80:01 ethertype IPv4 (0x0800), length 76: 172.18.128.1.ssh > 155.xx.xx.xx.56365: S 1308033114:13...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579668", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: JQuery onclick event isn't recognizing in JQuery datatable from second page I have JQuery Datatable and I want to delete row, when delete link is clicked. It's working fine for first 10 rows, i.e. for the first page. When I move to any another from the pagination. It's not working. Here is my code: $("#example tbody...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579671", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: Nice tool for creating slide-show using HTML5, CSS3 Is there any nice tool or plugin available to create slide-show presentation using HTML5 and CSS3? A: I use http://html5slides.pageforest.com for all my presentations ! It's pretty simple and yet powerful. A: reveal-js is cool! Support chrome/firefox/opera/safar...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579673", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Understainding Rails queries in loops I could use some help understanding Rails queries in loops. Loop 1: ruby-1.9.2-p290 :005 > (1..3).each do |i| ruby-1.9.2-p290 :006 > Unit.find(i) ruby-1.9.2-p290 :007?> end Unit Load (0.2ms) SELECT `units`.* FROM `units` WHERE `units`.`id` = 1 LIMIT 1 Unit Load (0.1ms...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579678", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Website / App sizes What would you consider a micro, small, medium and large site based on unique visitors etc. Assuming all sites are very basic like: Django, blogging, photo uploading, etc. No special apps doing any crazy processing, just normal business website. Im trying to figure out how many Django sites would...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579682", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: DataGridViewComboBoxColumn very slow with lots of items I have a DataGrid, with several columns. One of them is DataGridViewComboBoxColumn. I have a lot of items in this column - more than 1000 - and I need all of them. So grouping is not an option - all items must be there, users must be able to select from all. Th...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579687", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to load listview in android with emply list and later the contents will download? I need to load load text in list but first it should load an empty list in that time it should display a progress bar. I fetch all the contents from the json feeder. But am stuck with how to load the empty list when the process is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579692", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: apache php - X-SendFile with Byte Range I have Apache 2.2.8 installed on a server, and I'm trying to use X-SendFile to deliver video files. Unfortunately some devices, like iPads, seem to require Byte Range in order to serve the files, but I cannot get Accept-Ranges to work with X-SendFile. Here's the code header(...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579702", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "14" }
Q: How to make Google+ Hangout load in an HTML frame? I'm guessing Google has found a way to stop Google+ from loading in an iFrame, because whereas I can put https://www.google.com/ into a page's frame, I can't do the same with https://plus.google.com/. It just gives a blank page. I'm trying to embed a hangout in my...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579704", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How can i send push alerts using Rails? I want to know if one can send push alerts using rails. If yes, is there any tutorial or plugin for this. A: Check this. https://github.com/samsoffes/apple_push_notification
{ "language": "en", "url": "https://stackoverflow.com/questions/7579705", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: php password generating function Here is a question i want to solve "Write a function GeneratePassword which accepts two arguments, an integer and a character string consisting of letters (a-z) and digits (0-9). When GeneratePassword(5,'abc0123') is called, it should return a random string of 5 characters taken fr...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579707", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Get the Event Performed on a Control I am hoping for some help. In my application, I have a Text Box which should display the event occured in any control while clicking it. For exmaple, if I click on a button or a checkbox in the app., the text box should identify the event and display as button1.clicked, checkbo...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579717", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Storing binary file versions My application stores large binary files (100Mb - 1Gb) that change over time on s3. I want to offer the ability to roll back or download previous versions of these files without having to store snapshot copies. What would be the best way to achieve this? A: Since Nexus is able to work ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Inconsistency of Python plus operator In [26]: l=[] In [27]: s="asdsad" In [28]: l+=s In [29]: l Out[29]: ['a', 's', 'd', 's', 'a', 'd'] However, In [30]: l+s --------------------------------------------------------------------------- TypeError Traceback (most recent call last) /...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579719", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Enumerating groups in a query I'm trying to enumerate the groups inside a certain view. Example, from this view: ID FK1 FK2 FK3 FK4 104091 10160 1 1 29152 106797 10161 2 1 NULL 34682 10162 1 6 28556 61582 10162 1 6 28557 53045 10163 1 1 29154 23918 10164 1 6 28...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579720", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: ActivityGroup is Deprecated I am making android application containing three tabs.. On third tab there is login screen.. when i click on login button ...i want to replace the activity with activity containing list view and logout button.... Previously i was using Activity Group to replace the activity..But activity...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579721", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: how to alloc records to avoid an update at the same time with another user i'm using select sql (DB2 on IBM i) to read a record from database and show it into a form where an user can modify and update it! now i need that if an user is viewing this record, at the same time another user can only view but not update t...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579726", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: FireMonkey Canvas.DrawLine on Windows XP How can I draw a line ? This code does not display anything : var my_point_1, my_point_2: tPointF; Canvas.Stroke.Color := claBlue; Canvas.Stroke.Kind:= tBrushKind.bkSolid; my_point_1.X:= 100; my_point_1.Y:= 100; my_point_2.X:= 120; my_point_2.Y:= 150; Canvas.BeginScene; Ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579727", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to call to a python handler from jquery ajax? How to call to a python handler from jquery ajax? can any one give me an example? A: $.ajax({ url: "/resultshandler", type: 'POST', data: data, success: function(data, status){ //check status //do something with data } }); may this post will help ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579729", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: need help to parse simple XML to PHP i'm trying to display this XML rss i receive using PHP , and its not working for me. can anyone help displaying this? this is the XML code: <RESPONSE> <EXPR>CAD</EXPR> <EXCH>USD</EXCH> <AMOUNT>1</AMOUNT> <NPRICES>1</NPRICES> <CONVERSION> <DATE>Thu, 10 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579732", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Comboboxes not updating I have two php pages, admin_bkp.php and db_submit.php. The admin_bkp.php gives a user a table that let's the user set permissions to employees and save the permissions to a MySQL table called rights. The employee info is gathered from hs_hr_employee and saved to rights together with an extra ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579733", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Oracle restore database to a "newer" version Is it possible to test the incremental backups ... well, incrementally? If so: How? -and not using the words "duplicate" and "standby". Setup * *Multi-TB Oracle 11g (11.2.0.2) database, about 70% of data is in a readonly tablespace. *Backup: weekly level 0 copy (excep...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579734", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Why jstl is not working? Like in the article , I have placed the following files in WEB-INF/lib folder of my applicaion * *Standard.jar (1.1.2) *jstl.jar (1.1.2) in taglib it states that it would resolve uri tag in the TLD of a taglib deployed in a jar file (WEB-INF/lib). And my application keep throwing error...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579735", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: You have already activated rake 0.8.7, but your Gemfile requires rake 0.9.2. Consider using bundle exec. I Just moved to site 5 after creating my application offline. I am having problems with rake. When i try to run cd ~/MYAPP/; rake db:migrate --trace RAILS_ENV='production' I get the following error You have alre...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579736", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Is there a possibility to display message in gmail by a an url which would contain messegaID of the message? I'm trying to find a way how to display message in gmail (using its gui) using url and messageID passed somewhere maybe in query string. I think it should look like this. https://mail.google.com/mail/?shva=1#...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579738", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to send SMS programmatically using UDID without cost in iPhone I want to know is it possible to send SMS programmatically using Objective-C in iPhone using UDID means that the TO address should be an UDID of the other iPhone than phone number. A: You cannot send an SMS to another phone that you only know by UDI...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579748", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Calling COM Method From UI Thread Problem I wonder if you could help me solve my COM problem. I have a program that calls a COM method when the button is clicked. The code looks something like this: private void Send_Click(object sender, EventArgs e) { p.Send(allChanges); } This code works fine. But I have anot...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579749", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Displaying a certain number of columns in Oracle I have a table containing five columns. How can I display only the first three columns of the table using the number of columns like 3 instead of writing the column name? A: You cannot do that. You have to list the columns by name. The column "position" has no meani...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579750", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I use `our` variables in Perl I have following PL and PM files Start.PL, ConfigReader.PM, BL.PM, Logger.PM Code extract from ConfigReader.PM Package ConfigReader use Config::Simple; use Logger; our $configIni; sub OpenConfigIni() { my ($cfg_ini_path)=@_; &Logger::LogMsg("**** OpenConfigIni starts...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Facebook session Fetching from facebook app in iphone I have created a sample iphone application that uses facebook api. Its work fine.I have logged in using facebook api and store the accessstoken and expiredate in NSUserDefault. When they again enter into my application.I have checked the facebook session is valid...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Insert into on duplicate update Mysql error I'm trying to insert on duplicate key update in Mysql using below: INSERT INTO `generic_client_data` (id, keyword, client_id, desc_id) VALUES (NULL, qqqq, 115, 0) ON DUPLICATE KEY UPDATE keyword=VALUES(qqqq), client_id=VALUES(115), desc_id=VALUES(0) but it gives me this...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579762", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Help syntax for a dos command I'm looking for a reference regarding the syntax of the help displayed for a dos command. I didn't find anything with Google. I need this because I'm writing a batch and I want to provide help for this batch regarding arguments and options. I know I could deduce it from the help of exis...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579766", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Socket.io log (client not handshaken client should reconnect) is anyone facing this problem too? My logfile is flooded with that message: "client not handshaken client should reconnect" & "transport end". It's hard for me to reconstruct, as it doesn't appear when i connect to my socket server with different browsers...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579767", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: the mystery of the vanishing web form http://poland.inbulgaria.org/search This web form, based on jQuery, but also including a SVG map control made with Raphael, appears correctly in Opera 11.51, as well as IE 8, but, for some reason, doesn't render at all in Firefox 6. Any clue why? A: First thing I noticed is tha...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579768", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sharing intermediate files between C++ projects? I'm currently trying to figure out whether it is possible for two different native Visual-C++ projects (that have exactly the same compiler settings) to share their intermediate files (obj, pch, ...) An example should help: This is a normal setup: PROJECTS \ P1 \ p1.v...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579774", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Find latitude and longitude Can any one help me in getting the latitude and longitude value of the place? The place details must be gotten from the user as a input. The place detail can be ZIP code, city name, address, or state code. A: You can use the Google Geocoding API to convert an address into a lat/lng. A: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579775", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to set JVM parameters for Junit Unit Tests? I have some Junit unit tests that require a large amount of heap-space to run - i.e. 1G. (They test memory-intensive functionality for a webstart app that will only run with sufficient heap-space, and will be run internally on Win 7 64-bit machines - so redesigning the...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579776", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "106" }
Q: How do create a DatePicker with only Sundays enabled? I need to allow user to select only the Sunday from my date picker so I need to disable other columns. But I couldn't find any solution for this. Currently I just check in the selection-changed event and clear the date if not valid. How do I disable the non-Sunda...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Missing Terminating "" character & Unexpexted @ in the program While writing the following code i got two errors : 1.Missing Terminating "" character 2.Unexpexted @ in the program " Here after entering "HEllO" , "WORLD" is wriiten on the next line (i.e. after HELLO enter is pressed ). NSString *str = @"HELLO ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579781", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JQuery Ajax call not getting the respose from the servlet Once the submit button is clicked, The name typed on the name textbox is printed in the servlet . But the response send by the servlet is not coming back to the client. I am not sure where i am going wrong. Need help. JQuery-Ajax i am calling my sampleServle...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579783", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to insert jpeg files in edittext android Is there any way to add jpeg files to edittext in android. Basically i am creating a rich text editor in android which should have a provision to display images. Or do i need to make changes in edittext canvas for that. Any suggestions would be really helpful. -Regards, R...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579797", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Still getting deprecation warnings in Rails3.1 I keep getting depreciation warnings while testing in Rails 3.1 like RailsProject$ bundle exec autotest NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01. Gem.source_index called from /Users/CS/.rvm/gems/ruby-...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579801", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sql: joining two tables I have two tables called mp_Blogs and mp_BlogCategories mp_blog has columns and values ItemID ModuleID 3 11 4 11 5 13 mp_BlogCategories has column and values CategoryID ModuleID 1 11 2 11 3 13 I need the output like th...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579803", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Build Library Management System only using MySQL Stored Procedure with Java I am thinking to use only Stored Procedures while developing Library Management System in Java with MySQL. But some articles show that only using Stored Procedures is an expensive method, due to the metadata retrieval that the driver perform...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579813", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How ["03C0"] match 's grammar in Annex P? I'm writing a tool to parse Ada source file with the grammar provided in 2005 Annex P. * *With following piece of code, I know ["03C0"] stands for "greek letter Pi", but is it a legal variable name? 01 package Ada.Numerics is 02 Pi : constant := 3.14159_26535_89793_23...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579814", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Which item was selected in my TreeView In my application I build a TreeView by a binding. The ItemSource contains a list of items of type X. X has a property 'Properties' some of these properties are references to an item in the parent list. The TreeView starts at a selected root (an item from the list). All propert...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579815", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Find UIAlertView without having reference to it I'm writing application tests and want to check if an UIAlertView is currently shown. That means I don't have a pointer to it and I need to know who is the owner of the shown UIAlertView or on which views stack it can be found. A: [UPDATE] Actually the solution below ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579821", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: rows are interchanging in uitableview in iphone? In my application i need to add contacts of users, for that i am using UITableview with sections. Each section may contains 2 or 3 rows. while the editing was completed and scrolling the table view to top, the rows are interchanging in between sections. Actually In d...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579822", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Retrieve opengl info android I have a problem retrieving OpenGL's info on Android. I know I can get'em with gl.glGetString(GLxx.GL_VENDOR) but I don't know how to do it. Is there a way to retrieve them without showing anything on the SurfaceView? I should create a page with the infos and set a textview with the info...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579824", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Problem in Div in asp.net <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Ryan Merl's Portfolio</title> <style type='text/css'> .dataBold{ floa...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579825", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Which semantic HTML tag for displaying side notes and admonitions? I am writing an online tutorial with sort of side notes or as they call it "admonitions" similar to those in Django tutorial: https://docs.djangoproject.com/en/dev/intro/tutorial01/ (I mean the the boxes with green a frame and a note icon). Which HTM...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579826", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "9" }
Q: Can I horizontal filp the UIButton? I've some problem with UIButton. In my case I have to flip the button horizontally. I tried it's width to minus value. But it doesn't work. How can I do this? A: Simply set its transform to CGAffineTransformMakeScale(-1.0, 1.0). A: If you want it to rotate 360 degrees horizontal...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579831", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Regarding current location in android Possible Duplicate: GPS not update location after close and reopen app on android I know that question is asked already but my problem is that. every time when I open my app it shows last location not current location I have a button for current location and i want when i ope...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579833", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: InfoPath non-editable fields I've created a simple list in SharePoint 2010. It has a couple of text columns and a couple of integer columns. * *I click "Customize Form" from the Sharepoint Ribbon *InfoPath 2010 is launched *I make the form look nice and ensure fields are bound to correct columns *I upload th...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579834", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how can i dynamically add elements to my form using javascript or jquery? I have a student profile form, where student fills information about their education. My code is <script language="JavaScript"> var imCount = 0; function addRow(r, tdCount) { alert(tdCount); alert(r.innerHTML); var root = r....
{ "language": "en", "url": "https://stackoverflow.com/questions/7579847", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Control size of Facebook auth dialog I'm using Facebook C# SDK for my WP7 app. The authentication dialog that prompts the user to grant permission to the app is displayed full screen on the app (about 480px I guess), but the allow/don't allow button are hidden at the bottom of the frame, which needs to scroll. There...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579848", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: OutOfMemoryException, Dump file size, and GC Heap Size A 32bit .net application, running on a 32 bit machine, ran into an OutOfMemoryException. I then took a full memory dump, and although using WinDbg I can verify that a lot of memory is being used, I wonder why we get OOMEs, although the GC Heap Size, according to...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579857", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I disable and enable macros on the fly? I would like to test an Excel VBA app I made. However the VBA code messes around with the visibility of cells and that's a pest when editing the sheet. Is there an option is enable and disable macro's on the fly without having to Close the sheet Change the macro setti...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579861", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: How to go from last row to first row direstly in uitableview? iam making one application.In that iam using UITableview.In that i places one button at the last row of the tableview.How we go to first row when we click on that button.So please tell me how to solve this one. A: Use this: NSIndexPath *topIndexPath; top...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579868", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Deleting the second element in tuples I have a list of tuples that look like this. [ [(1,True),(2,True)] , [(3,False),(4,False),(5,False)] ] My goal is so get [1,2,3,4,5] of out that mess. I tried to use map and filter to remove all the Bools but filter also removed the first element in the tuple. If I can remove t...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579869", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Umbraco contour on azure fails when form is submitted I have installed my Umbraco site on Azure and this is working beautifully. I installed Contour on my Umbrcaco system which I did manually in order to successfully install the database. The whole form admin seems fine and the form I have created displays fine unti...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579879", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Bean Validation constraint(s) violated while executing Automatic Bean Validation on callback event: 'prePersist' I created an EJB Session facade in my Netbeans 7 for saving my entity. I have a manytoone mapping between my Insurance and RatePlan Class. public class Insurance{ @ManyToOne(optional=false) @Joi...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579882", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "13" }
Q: Static Alternative in PHP for Parse error: syntax error, unexpected T_STATIC in I was testing my PHP application on localhost with Xamppp and everything was just fine, but when I exported it to a real server, it does not work anymore. I found out that it is because my server does not support late static binding. M...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579887", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Check the content in ajax call Is it possbile to check whether the content is loaded fully in the ajax call made and after that show some div. Till the content is not loaded fully the div should not shown and after the content is come then the div has to be shown using jquery? A: the answer is based on total assump...
{ "language": "en", "url": "https://stackoverflow.com/questions/7579889", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }