text
stringlengths
15
59.8k
meta
dict
Q: Check to see if an event handler is attached to and event Add handler if(!ClickHandled) this.Click += (s, e) =>{ } Remove handler: if(ClickHandled) this.Click -= (s, e) =>{ } Is there a way to know if there is already an event handler attached to the control (and possibly get the list of them for example g...
{ "language": "en", "url": "https://stackoverflow.com/questions/35648181", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Generating packages by schema with wsimport and JAX bindings ignores Service classes I have a WSDL with multiple schemas and i'm trying to get wsimport to generate code into packages of my choice by schema. Using the -b option with a JAX-WS/JAX-B bindings file i managed to basically do that. Only two classes are sti...
{ "language": "en", "url": "https://stackoverflow.com/questions/45062018", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Script Reusability Need suggestions on - I am new to selenium and implementing a POM based Robot framework. I need some suggestion on how to handle script changes in case if a functionality change that affects almost 15 scenario's. Mostly the scripts are calling the page objects into an end to end scenario's, do we ...
{ "language": "en", "url": "https://stackoverflow.com/questions/70601786", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting the list of modified fields in kendo grid? I have a kendo grid where editing is enabled. I'm trying to: * *catch the event that is executed when a field is modified within the grid. *Get the list of fields (or cells) modified within the grid row. Thanks A: http://demos.telerik.com/kendo-ui/grid/editi...
{ "language": "en", "url": "https://stackoverflow.com/questions/27988114", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: SCNCamera.exposureOffset not working in iOS13 SCNCamera.wantsHDR is true. Yet any changes to SCNCamera.exposureOffset are not visible on iOS13 devices. But it is working perfectly fine on iOS12. if let camera = self.sceneView.pointOfView?.camera { camera.exposureOffset = -5 } A: You said absolutely right, if s...
{ "language": "en", "url": "https://stackoverflow.com/questions/59133410", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to implement undo function for HTML canvas using JavaScript? I am making a paint app in HTML using JavaScript and Flask-Python. Currently, I am able to draw lots of pencil drawings and shapes like rectangles/circles without any problem. The following functionality that I am trying to implement for this applicati...
{ "language": "en", "url": "https://stackoverflow.com/questions/71718111", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Async search with jquery, ajax and json I'm working on a project for school. in this project, I have to make an async search bar to search data in a table in CodeIgniter, and this has to be done with JSON. The async search is working, but I don't think the way I'm doing it is with JSON. I would appreciate some help ...
{ "language": "en", "url": "https://stackoverflow.com/questions/50728235", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I add multiple series to a Razor Helper Chart? http://www.asp.net/webmatrix/tutorials/7-displaying-data-in-a-chart goes over how to create simple charts and they are working, but I can't seem to figure out how to add two data series (from two separate DB queries) to the same chart. A: Have you tried calling...
{ "language": "en", "url": "https://stackoverflow.com/questions/4868590", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Redux store is updating but the components not re-rendering I wrote this code a few months ago for learning rtk etc. Now I installed react 18 for checking new features and try to use them, but my code is not working. Here is my code. After adding todos and trying to change App or TodosList components you can see cha...
{ "language": "en", "url": "https://stackoverflow.com/questions/71676492", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Debounce function does not reduce stutter with heavy computations I have some sliders, that when changed runs a fairly heavy computation function. This results in some heavy stuttering when dragging the slider, and a generally bad experience overall. So my idea was to use debouncing, so that if the last computation ...
{ "language": "en", "url": "https://stackoverflow.com/questions/49857819", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring Data JPA Unidirectional OneToOne Mapping does not persist I have a Client datatype (representing a customer) which has a principal of type Person and a contact of type Contact (for contact details). The Client datatype (with the mappings) is: @Entity public class Client { @Id @GeneratedValue(strategy...
{ "language": "en", "url": "https://stackoverflow.com/questions/53806029", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error passing array as parameter - Java A program I'm modifying is supposed to use a drawing panel to randomly move a square, starting from the center, either left or right and use an array to tally the position it moves to while the square stays on screen (the panel is 400 x 400 and the square is 10 x 10, so there ...
{ "language": "en", "url": "https://stackoverflow.com/questions/36019234", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Skip character from beginning of file I am reading a file by character but I want to skip number of character from the beginning of file. For example this is the content of file: Hello. Read content by character FileInputStream fis = new FileInputStream(file); int skipNumberOfCharacter = 12; char read...
{ "language": "en", "url": "https://stackoverflow.com/questions/11019614", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Programmatically Installing Windows Service from Application I currently have a windows service that needs to run in the background while a main application I have written handles UI and other tasks. I install and maintain the GUI application using ClickOnce Deployment and would like to find a way to bundle my Windo...
{ "language": "en", "url": "https://stackoverflow.com/questions/24834977", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: android SupportMapFragment Error inflating fragment class Happy New Year All, New with implementing Fragments in Android (and I have seen similar posts but I have not been able to get an answer for my problem), so here goes: I wish to use SupportMapFragment (referenced from the support library v4) and I have created...
{ "language": "en", "url": "https://stackoverflow.com/questions/14113987", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: php exec() responding differently from windows 8 metro app I wanted to change the tile icons for desktop applications in the new windows 8 start menu. So they would fit in with the other metro apps. I made a simple metro app that calls a simple localhost php file <?php // check if the chrome is in the task list ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/9763006", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Android ListView Replycating its values I am trying to delete my database child while LongItemClick using the following code. Remove procedure is working fine. But when I try to long press its replicating the ListView again and again. I didn't added any code for that in my setOnItemLongClickListener. Why its happeni...
{ "language": "en", "url": "https://stackoverflow.com/questions/51012107", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to properly parse out error code from lambda response in openapi api-gateway I am setting up an endpoint for a lambda in api-gateway using openapi. This lambda will need to be be able to return 400/500 error codes for internal errors/bad requests. To this end I have tried to format the x-amazon-apigateway-integr...
{ "language": "en", "url": "https://stackoverflow.com/questions/58458992", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Exception has occurred. _TypeError (type '_InternalLinkedHashMap' is not a subtype of type 'List') in flutter using getx I AM TRYTING TO GET LIST OF ALL ITEMS FROM REST API USING GETX BUT THIS ERROR IS BEING THROWN ON FORM LOAD "Exception has occurred. _TypeError (type '_InternalLinkedHashMap<String, dynamic>' is no...
{ "language": "en", "url": "https://stackoverflow.com/questions/73341017", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: convert array to multiple object based on options array? I have an array of object and each object has mutiple options, how to covert the it to multiple objects based on the options count? Input: var arr = [{name: "audio", options:[{name:'true', value: 'T'},{name:'false', value: 'F'},{name:'yes', value: 'Y'}]}, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/69204290", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Print number without spaces using java.util.logging? I am currently using Vertx's default logging tool : java.utils.logging. I have a variable defined as follow : private static int port = 8600; This line : logger.info("Server is now listening on port {0}", port); gives the following output : [2018-05-29 16:00:54]...
{ "language": "en", "url": "https://stackoverflow.com/questions/50586493", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Onscreen angle of 3D vector My math is too rusty to figure this out. I want to derive the onscreen angle (the angle as seen on the 2d screen) of a 3d vector. Given the x and y rotation of a vector (z rotation is zero and doesn't mstter), what does the angle on screen look like? We know when y is zero and x is posi...
{ "language": "en", "url": "https://stackoverflow.com/questions/28165291", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to count all the products that belongs to category(slug) Laravel 8 I am a beginner in Laravel. I need a little help. I have an index.blade.php file which displays all the category names. When I click on on it will generate the slug link where I have all the products that in the category. So I would like to count...
{ "language": "en", "url": "https://stackoverflow.com/questions/68531756", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: is it possible to change UITableView section title background color as title, possible to do it? A: You will need to use - (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section { return 30; } - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)sec...
{ "language": "en", "url": "https://stackoverflow.com/questions/968964", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to stop function with interval if div count exceeds 5 in jQuery? Even when there are 5+ divs on screen it keeps going, any way to fix this? if ($('div').length > 5) { // Do nothing } else { window.setInterval(function(){ $(document).ready(function() { $('body').append('<div>' + (Math.floor(Math.ran...
{ "language": "en", "url": "https://stackoverflow.com/questions/41913522", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Multiple OnTouchListeners on Buttons and also Buttons with OnClickListeners in Android Studio I am trying to create a max bench press calculator for a project for school. I am very new to coding and can not figure out why this is not working. The plus and menus weight buttons never work. I did have it working before...
{ "language": "en", "url": "https://stackoverflow.com/questions/35560589", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vaadin popup should show and hide in the click event makes no appear popup Having a public void buttonClick(ClickEvent event) { MyPopup popup = new MyPopup(); getWindow().addWindow(popup); log.warn("Added POPUP"); //lot of method calling here then getWindow().re...
{ "language": "en", "url": "https://stackoverflow.com/questions/21883502", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: can't get pixels[] from an PImage in processing js i've been trying to run the following code using processing.js however it just gets me a grey window. I think it's because its not accessing correctly to the image pixels[]. PImage img; void setup() { // this is run once. size(600, 400); img=loadImage("http:...
{ "language": "en", "url": "https://stackoverflow.com/questions/17108355", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to clone part of a List? Is it possible to clone just part of a List<T>? Example: List<string> myoriginalstring = new List<string>(); myoriginalstring.Add("Tyrannosaurus"); myoriginalstring.Add("Amargasaurus"); myoriginalstring.Add("Mamenchisaurus"); I want to clone myoriginalstring to another list but just fro...
{ "language": "en", "url": "https://stackoverflow.com/questions/26495500", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Running docker command in azure docker VM I'm a trying to setup a docker enabled linux VM on azure. I have a VM created with the docker extension by using azure cross platform command line tool. however i have 2 issues right now * *When I ssh into the VM and try to run the docker command (ex docker images), it re...
{ "language": "en", "url": "https://stackoverflow.com/questions/29888243", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: XCode 7: xcdatamodeld doesn’t exist After updating to XCode 7 in order to support iOS9 I had the following build error error: Cannot read bundle contents (Error Domain=NSCocoaErrorDomain Code=260 "The folder “VoIP.xcdatamodeld” doesn’t exist. Build target myTitle of project myTitle with configuration Debug DataMod...
{ "language": "en", "url": "https://stackoverflow.com/questions/32868017", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: Objected Oriented Programming in SWI-Prolog I read somewhere that you can think of modules as objects in Prolog. I am trying to get my head around this, and if it a good way to code. If I have two files, one defining a class dog and then another one that uses this class to make two dog objects. :- module(dog, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/28154041", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "15" }
Q: Calling an undefined array element is showing a value of another defined element When calling an undefined element of an array, it is showing me a value of another defined element. Example of array structure: $array = array( 'a' => array( 'b' => 'c' ) ); When using echo command on $array['a']['b']...
{ "language": "en", "url": "https://stackoverflow.com/questions/5803726", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Can the user of proftpd change the password themself not by admin? I have read all the command on ftp which contains no command to change passwd. I am a user of proftpd ,how can change my password after logining into proftpd by myself not by admin? User can change it's own password in ssh service ,not by admin,it is...
{ "language": "en", "url": "https://stackoverflow.com/questions/31960863", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Large Memory (Data Size) Collection Very often I have to use objects from the java.util.collection package, objects that conform to the the Map and Set interfaces. When I insert several million tuples or entities into these objects (HashMap, TreeMap, etc) their performance, both insertion and look-up slow to a crawl...
{ "language": "en", "url": "https://stackoverflow.com/questions/13214006", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: json-c: Simplest way to access a value from a subarray { "name":"John Doe", "dob":"2005-01-03", "scores": { "math": { "lowest":65, "highest":98 }, "english": { "lowest":75, "highest":80 }, "history...
{ "language": "en", "url": "https://stackoverflow.com/questions/42310054", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: CSS bottom: 0; position: absolute; parent position: relative; not working At this page I have the navigation menu .slider-btm underneath the head image ("Branding, Print, Websites & Movies, Displays & Signage") with: .slider-btm { position: absolute; width: 100%; bottom: 0; height: 60px; z-index...
{ "language": "en", "url": "https://stackoverflow.com/questions/50170590", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AWS LightSail RDS - How Much RAM Do I Need I'm just setting up a hight availability WordPress network and I need to decide how much RAM I need for the database instance. On a web server you run "top" and find out how much RAM is being used per MySql process and then look in your config file and look at the maximum n...
{ "language": "en", "url": "https://stackoverflow.com/questions/67062350", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Monitoring Java from within Java I want to write a simple visualization of a Java program by displaying the program's method calls as branches of a tree. This could be done quite simply by having the program itself tell the visualization what it is doing, but I want to be able to do this with any Java method/class a...
{ "language": "en", "url": "https://stackoverflow.com/questions/1617271", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: cURL error Couldn't resolve host 'Bearer' I'm trying to connect to the Adobe Analytics found here I've managed to generate an auth token using the below request: curl -i -v "https://api.omniture.com/token" -u 'my-user' -d "grant_type=client_credentials" I then copy the whole object thats returned which looks some...
{ "language": "en", "url": "https://stackoverflow.com/questions/44067382", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Android: Difference between canvas.drawBitmap and BitmapDrawable.draw? When I want to draw a BitmapDrawable to a Canvas in Android, there are two possibilities that do the same and I don't know which one to prefer: * *Using canvas.drawBitmap() and extract the Bitmap from the drawable using getBitmap() *Using dra...
{ "language": "en", "url": "https://stackoverflow.com/questions/6681108", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "10" }
Q: GET direct_messages using url in Twitter There is a requirement in an application in which we use only URL to access information on twitter. We cannot use twitter API for that. I have a reference URL : https://dev.twitter.com/docs/api/1/get/direct_messages/sent but it is not working as it needs authentication. Is th...
{ "language": "en", "url": "https://stackoverflow.com/questions/7156043", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Find potential largest circle I have a set of 2D points and I want to find the potential largest empty circle. By that, I don't mean to code the Largest Empty Circle algorithm. Here's an image trying to explain my words. As you can see, there are points inside that circle, so what I want is an algorithm that given...
{ "language": "en", "url": "https://stackoverflow.com/questions/36450042", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Why does "1 in range(2) == True" evaluate to False? I came across this expression, which I thought should evaluate to True but it doesn't. >> s = 1 in range(2) >> s == True >> True Above statement works as expected but when this: 1 in range(2) == True is executed, it evaluates to False. I tried searching for answe...
{ "language": "en", "url": "https://stackoverflow.com/questions/48944267", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Compare string and integer in same if statement I have a program that takes input from the user. I want to display an invalid option message if the input is a string or it is not a number between 1 to 4. I want to check all these 3 conditions in a single if statement. ask_option = input("Your option: ") if int(ask_...
{ "language": "en", "url": "https://stackoverflow.com/questions/64420636", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Capture optional Group I want to capture the values of some keys which may be optional, specifically consider the string below @Foo1:dog|a=5|b=6|c=10|d=12|e=2 @Foo2:cat|a=12|c=10|d=11|e=123 @Foo1:bat|a=213123|b=10 @Foo3:pet|c=346 Now I want to capture the strings between @ and :, : and |, and the value of keys b, d...
{ "language": "en", "url": "https://stackoverflow.com/questions/62083951", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is the std::shared_ptr the same as adding "SharedPtr" to the name of a class when declaring a variable? I encountered a somewhat odd "shared pointer" usage. As far as I know, shared pointers are written out as std::shared_ptr<void()> pointy(fun, del); However, I have a case where I have an interface IGenericResult ...
{ "language": "en", "url": "https://stackoverflow.com/questions/58875399", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I build an un-ordered list dynamically from json data How do I modify this function that dynamically builds a drop down list so that I could build an un-ordered list dynamically from json data. </script> <script type="text/javascript" language="javascript"> $(document).ready(function() { jQu...
{ "language": "en", "url": "https://stackoverflow.com/questions/4296844", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Devise already_authenticated flash message persists for more than 1 redirect In my routes.rb file, I defined the root path like this: root 'users/sessions#new' Then, in my ApplicationController, I have logic to redirect like this: def after_sign_in_path_for(user) return dashboard_path if user.normal_user? emplo...
{ "language": "en", "url": "https://stackoverflow.com/questions/55425747", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python: Split string by pattern My question is a variation to this one. I can't seem to figure this one out. given = "{abc, xyz}, 123, {def, lmn, ijk}, {uvw}, opq" expected = ["{abc, xyz}", "123", "{def, lmn, ijk}", "{uvw}", "opq"] As in the above example, an item in the expected could be a {..., ...} or just anoth...
{ "language": "en", "url": "https://stackoverflow.com/questions/21423877", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Upgraded Azure Function cannot test from the portal We had a Azure Function with Timer Trigger which was develop using function version 3.0 and .NET 3.1. This function is running on Windows App Service Plan on Azure. So, I have upgraded it to function version 4.0 and .NET 6.0 using below steps: Upgrade your local pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75154249", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ethereum mining - amount actually mined is Im trying my luck on ethereum mining with this, can someone tell me how much ethereum I have mined and how to cash it :) https://github.com/angelomilan/ethereum-guides/blob/master/GPU-cloud_mining.md > eth.getBalance(eth.coinbase).toNumber(); 5000000000000000000 > web3.from...
{ "language": "en", "url": "https://stackoverflow.com/questions/48659091", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: button onclick replace hours and minutes, JavaScript Can any body help me, the button replace hours and minutes (HH:MM) onclick. <button id="pressbtn1" onclick="getElementById('pressbtn1').innerHTML=Date()">Press</button> A: Use .getHours() and .getMinutes() like... <html> <button id="pressbtn1" onClick="show()"...
{ "language": "en", "url": "https://stackoverflow.com/questions/58051468", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to specify taskExecutor in publishSubscribe() How to "translate" the following XML configuration to the equivalent Spring integration java-dsl? <int:publish-subscribe-channel id="channel" task-executor="myex"> </int:publish-subscribe-channel> <task:executor id="myex" pool-size="10"></task:executor> I've read t...
{ "language": "en", "url": "https://stackoverflow.com/questions/38276996", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: hide and show a dynamic created UL list with Jquery? Well, as the question says, Im found a code that makes the UL list show and hide with Jquery. Here is a link on jsFiddle and when I made a UL list directly on the HTML it works but not if I add it dynamically with javascript. http://jsfiddle.net/p2v0ka1s/4/ The pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/26689416", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React input field doesn't see value changing When i picking date, event doesn't see anything, nothing happened, i cannot extract my value from input field. What **** ? Is it problem React or Datepicker? In datepicker manual nothing say about that, http://t1m0n.name/air-datepicker/docs/index.html class MyComponent...
{ "language": "en", "url": "https://stackoverflow.com/questions/44865423", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: After insert Node to XML formating I add a new node to an existing XML but the format is not well. Original XML is: <xml xmlns:xi="http://www.w3.org/2001/XInclude"> <vars> .... I tried to insert before "vars" and the result is <xml xmlns:xi="http://www.w3.org/2001/XInclude"> <TCafe initvalue="1" type="in...
{ "language": "en", "url": "https://stackoverflow.com/questions/58875607", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Javascript MVC Framework for building reusable components on a non-SPA site We have an existing Genealogy site which is not a single-page app, and over the years we've created a number of jQuery plugins for doing things such as typeahead, various modal-based utilities, and components that are reusable around the sit...
{ "language": "en", "url": "https://stackoverflow.com/questions/21197574", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Connecting GitHub Account and SourceTree with SSH I am on a Windows 10 laptop with git version 2.20.1.windows.1 and Sourcetree version 3.0.17. I am using the System Git (I don't have the Embedded Git downloaded, so there isn't any interference there). I am trying to add my GitHub account to Sourcetree for easier clo...
{ "language": "en", "url": "https://stackoverflow.com/questions/54777335", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Can I cancel out gravity only with gyro and magnetometer? On a device I want to detect a range of forces: small forces (Minimum around 0.01g) but also stronger forces like 0.1g - 0.15g. This device will have different positions in 3d space so in order to detect the small forces I have to know its angle in order to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/40830641", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Issue while printing the decimal values when reading from excel using java In Excel I have these decimal values: TS BS 5.60 4.10 10.00 10.00 10.00 10.00 10.00 10.00 While parsing, it shows different values: TS BS 0.1375 0.85 0.0125 0.7125 0.0125 0.8125000000000001 0.0125 0.78750000000...
{ "language": "en", "url": "https://stackoverflow.com/questions/68755486", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Use empty list as fill value for Series.fillna I need to change the NaN values the column 'FocusColumn' to empty lists. I tried to do it like this: df['FocusColumn'].fillna([],inplace=True) But it throws me the following error: 337 if validate_scalar_dict_value and isinstance(value, (list, tuple)): 338 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/62684835", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: React Buttons change color from parent component I'm learning react and making a simple quiz where the div changes color based on if the solution is correct or not, but I want to reset the color when the "Next" or "Previous" question is selected from the parent component. I tried creating a prop called clearColor an...
{ "language": "en", "url": "https://stackoverflow.com/questions/65985142", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ruby compatibility error encoding I'm having a problem. Let's look: C:\temp> ruby script.rb script.rb => Powershell output puts "ę" => ę #irb \xA9 puts "\xA9" => ▯ puts "ę"=="\xA9" => false input = $stdin.gets.chomp => input=="ę" puts "e#{i...
{ "language": "en", "url": "https://stackoverflow.com/questions/37029914", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to configure Database Driver Location(s) in a Nifi process when Nifi is runing on a Kuberntes pod I have deployed Nifi on Kubernetes using cetic/helm-nifi helm chart. I have to insert log data to a MySQL database using a PutDatabaseRecord process. To do that, inside of PutDatabaseRecord process, I have to config...
{ "language": "en", "url": "https://stackoverflow.com/questions/71050188", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Integrate custom java web application with MS dynamics CRM Currently we have custom java application which is connected to salesforce CRM via canvas integration. Now we need to integrate with MS dynamics CRM. Could you please tell me high level steps? how authentication will happen when control come from dynamics to...
{ "language": "en", "url": "https://stackoverflow.com/questions/45583873", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: QScrollArea not scaling to the window I'm trying to use a QScrollArea in order to be able to put a lot of widgets on the same window. Unfortunately, the QWidget containing the QScrollAea (which is central) is not scaling to the size of the window, which makes it... not like I want... I tried different things but I c...
{ "language": "en", "url": "https://stackoverflow.com/questions/40947003", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SSIS export to Excel template - keep row height I have a following excel 2007 template (.xlsx): I have set up an SSIS process to copy that template and populate the first two columns with data as the file will be printed and then signed by order recipients. Everything is going well except for one thing - after the...
{ "language": "en", "url": "https://stackoverflow.com/questions/42704887", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Interfaces With generic factory i'm trying to do fancy stuff like this: i have following code: public interface IMyInterface { void Method1(); } public interface IClassFactory { object GetObject(); } public interface IGenericClassFactory<T> where T: IMyInterface { T GetObject(...
{ "language": "en", "url": "https://stackoverflow.com/questions/21627742", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Trouble pulling events between 2 dates in Codeigniter / PHP I have created an events calendar with codeigniters calendar class which you can view here: Events Calendar I have it set up where the events are showing up on the calendar and when you click "view events" on a particular day, all the events with that start...
{ "language": "en", "url": "https://stackoverflow.com/questions/22990825", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set cvxpy n-dim variable first value? I'm a beginner at python and I try to use cvxpy library for my optimization project. I try to change the first value of my n dimensional variable But I get an AttributeError import cvxpy as cp S = cp.Variable(100) S[0].value=320000 output:AttributeError: can't set attrib...
{ "language": "en", "url": "https://stackoverflow.com/questions/62299396", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google maps javascript example not working I am using the example from the google maps website. https://developers.google.com/maps/documentation/javascript/tutorial I am posting the entire code below. I get a blank screen - nothing seems to show up either on firefox or chrome. Can anyone suggest what is going on? Th...
{ "language": "en", "url": "https://stackoverflow.com/questions/16448562", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Display Google Map Direction instructions in different languages I am using Google Map service. Now I integrated Google Map Direction into my application, but all direction instructions are English. Anyone know the way to translate it into other languages? (e.g Vietnamese). You can see the site: maps.google.com, whe...
{ "language": "en", "url": "https://stackoverflow.com/questions/9512421", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: UICollectionView load image cannot get correct cell swift 3 My UICollectionView is fetching images in cellForItemAt. After I upgrade to swift 3, some images are not showing when I scroll very fast. Here is my code in cellForItemAt: if (imageNotInCache) { DispatchQueue.global(qos: DispatchQoS.QoSClass.default...
{ "language": "en", "url": "https://stackoverflow.com/questions/41152727", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dynamically generate GraphQL schema One of my application requires Graphql schema that can have fields added & resolved on the fly based on the data. for example need something like type Data { email: [String]! col1 :[Int]! col2: [Int]! ...col3: } where col1 == nameOfColumnOne, col2=nameOfColumnTwo etc ...
{ "language": "en", "url": "https://stackoverflow.com/questions/53094033", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Alternative to using PHP-GMP to populate two column table A page is using the PHP GNU Multiple Precision (GMP) to determine how many rows should end up in each column. While the code works, we would like to migrate the application to a new host that does not support the PHP5-GMP module. That said, what might be the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/16590561", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TFS2013 Web Access - Configuration for Stakeholders We use TFS2013 on premise. A request came up that when using Web Access, some members with Stakeholder access should only have limited rights when opening work items. They should be able to edit Description, Acceptance Criteria, etc fields, but others should be rea...
{ "language": "en", "url": "https://stackoverflow.com/questions/29028335", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is custom membership provider the thing that really worth to follow? After long tries to get answer to my question "Should I write custom MembershipProvider implementation or make my own custom system?" on SO I decided that it's not so bad to go MembershipProvider's way and start writing my membership provider. But ...
{ "language": "en", "url": "https://stackoverflow.com/questions/8426969", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ruby on rails on bigrock hosting I am using bigrock hosting i want to learn ror i have putty access with ssh what i have done is rails new appname -d mysql Using # Set by Administrator # Ruby on Rails support depends on this script # Do NOT modify unless you know what you're doing export GEM_HOME=/home/user/ruby/gem...
{ "language": "en", "url": "https://stackoverflow.com/questions/28903916", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it necessary to pre-defined variables in prepared statement? I have the following prepared statement: $stmt = $conn->prepare("SELECT * FROM `users` WHERE user LIKE ? "); $stmt->bind_param("s", $filtered_form['user']); $stmt->execute(); $stmt->store_result(); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/62709494", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use selectindexchange to show or hide a dropdown/combo box in powershell I am trying to create a GUI that has several combo boxes. I want to keep 2 of them hidden until a selection is made in another. The account type combo is blank - both are hidden Combobox account type select "Clinical" and the Division co...
{ "language": "en", "url": "https://stackoverflow.com/questions/72876733", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Lex's incorrect algorithm for lookahead operators In "modern compiler implementation in Java" by Andrew Appel he claims in an exercise that: Lex has a lookahead operator / so that the regular expression abc/def matches abc only when followed by def (but def is not part of the matched string, and will be part of the...
{ "language": "en", "url": "https://stackoverflow.com/questions/9050134", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Xpath to click on Eye Icon In my application, i have to perform click operation on an Eye icon to view the documents but i am unable to generate proper xpath to locate that icon. Below is the image of HTML code.I am unable to copy paste the code hence attaching the image. <div title="" class="dragItem row " id="...
{ "language": "en", "url": "https://stackoverflow.com/questions/62781542", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Symfony2 Docrine ODM: dynamic collection name I'm using MongoDB Doctrine ODM on a Symfony 2 project. In the documents classes the mapping metadata are specified by annotations. For example: /** * @MongoDB\Document(collection="statistiche") */ The collection name in this way is hardcoded. I want to hav...
{ "language": "en", "url": "https://stackoverflow.com/questions/40784385", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Laravel 5.6 how to read text file line by line Without Laravel I can use simple code to read text file by line: $file = fopen("whatever/file.txt", "r") or exit("Unable to open file!"); while(!feof($file)) { echo fgets($file). "<br>"; } fclose($file); With Laravel this simple thing becomes overwhelming due to l...
{ "language": "en", "url": "https://stackoverflow.com/questions/53008105", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Make round edged button in WPF I want to make my button round edged. My button code is as follows:- <Button Grid.Column="1" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" HorizontalAlignment="Center" BorderThickness="1" Foreground="White" FontFamily="Arial,Helvetica,sans-serif" Width="85" Background="#...
{ "language": "en", "url": "https://stackoverflow.com/questions/31066071", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: getting detailed SQL logs from Heroku Cedar Stack What exactly needs to happen in order to get detailed SQL logs out of heroku cedar? On our dev platform the log trail gives us lots of information including insite into the SQL which is being executed by activerecord. In production the information is much less detail...
{ "language": "en", "url": "https://stackoverflow.com/questions/11136905", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: apache server serving index.html instead of index.php, after changing the file preference inside the dir.conf file I changed the file preference inside the dir.conf file: $sudo nano /etc/apache2/mods-enabled/dir.conf <IfModule mod_dir.c> DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.h...
{ "language": "en", "url": "https://stackoverflow.com/questions/64633737", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Regex JavaScript overlapping matches If I have a string like fooba and I want to catch both foo and fooba how can I do? If I use foo|fooba it cathes only the first foo and not fooba. A: Use lookaheads (zero-width assertion) for both patterns: (?=(foo))(?=(fooba)) RegEx Demo
{ "language": "en", "url": "https://stackoverflow.com/questions/30942010", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to download bitbucket code to new machine I am using git and my code is in bitbucket. I changed my laptop. I want to know the steps to set up entire thing in my new laptop. By the way, I am using ubuntu, ubuntu commands will be helpful. Thanks. A: Use git clone and clone from your bitbucket repository.
{ "language": "en", "url": "https://stackoverflow.com/questions/17019500", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: A query on asynchronous response for Servlet request In context of Servlet request/response I read somewhere that: Using a different thread to do work required by a request will, as you expect, allow the response to be sent immediately. I am just wondering when a Servlet thread is handing over the actual processing...
{ "language": "en", "url": "https://stackoverflow.com/questions/30767092", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Chrome Extension null TypeError So I have a chrome extension that checks for an update of programs via an xml document. However i get this error when I open a new tab: Error in event handler for 'tabs.onActivated': Cannot call method 'getElementsByTagName' of null TypeError: Cannot call method 'getElementsByTagNam...
{ "language": "en", "url": "https://stackoverflow.com/questions/11923511", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MPI - sending and receiving rows of matrix I am making program, where will be 2-4 processes in MPI with C language. In elimination I am sending each row below actual row to different processes by cyclic mapping. e.g. for matrix 5 * 6, when there is active row 0, and 4 processes, I am sending row 1 to process 1, row ...
{ "language": "en", "url": "https://stackoverflow.com/questions/5530168", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: When does the write() system call write all of the requested buffer versus just doing a partial write? If I am counting on my write() system call to write say e.g., 100 bytes, I always put that write() call in a loop that checks to see if the length that gets returned is what I expected to send and, if not, it bumps...
{ "language": "en", "url": "https://stackoverflow.com/questions/694188", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: How refresh a listView inside SherlockFragment? I have a listView inside a SherlockFragment, but I can not update the listView on screen when I make any changes to the Adapter. I tried: adapter.notifyDataSetChanged(), but without success. Thank's. A: You should be updating the underlying dataset that is passed to t...
{ "language": "en", "url": "https://stackoverflow.com/questions/18602457", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: HTTP:TIMEOUT error through mule request connector but api working through postman I am using mule-4. I am trying to integrate a third-party API(confidential). It is working from the postman and is returning responses within 1 second. When I wrote a request connector for the same in mule, The API kept giving a timeou...
{ "language": "en", "url": "https://stackoverflow.com/questions/70201096", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Maven : How to avoid version appended to a war file in Maven? I am using Maven as the build file , this is my below settings for the war file name to be generated I am using Maven version 2.2.1 <artifactId>TataWeb</artifactId> <packaging>war</packaging> <version>1.0</version> So its actually generating a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/10548553", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "11" }
Q: Yii2 SwiftMailer sending email via remote smtp server (gmail) I want to send emails via my gmail account. My mailer config: [ 'class' => 'yii\swiftmailer\Mailer', 'useFileTransport' => false,//set this property to false to send mails to real email addresses 'transport' => [ 'class' => 'Swift_SmtpTransport', ...
{ "language": "en", "url": "https://stackoverflow.com/questions/29592790", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Google Charts API, AnnotatedTimeline: properly setup several series and scales I am using a Google Charts' AnnotatedTimeline which contains three different series. The first series has its own scale. The second and third should have the same scale as they represent the same kind of data. The thing is I can only get ...
{ "language": "en", "url": "https://stackoverflow.com/questions/14383134", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: In Chrome packaged apps v2 how to check if the window is maximized? I created a frameless window using the new Google Chrome packaged apps, v2 I created the minimize, maximize, and close buttons and hocked them to the appropriate JavaScript functions and have them working. I don’t know who to check if the window is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/12716621", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }