text
stringlengths
15
59.8k
meta
dict
Q: Google charts color change I need help changing axis color to black and background color to transparent for google charts... I have looked all over the web with no luck Also I've tried with css, still no luck I am using the following script: //Set-up the values for the Axis on the chart $maxWeeks =...
{ "language": "en", "url": "https://stackoverflow.com/questions/14667994", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to gather hierarchical data items and build a tree considering their dependencies There is a table containing hierarchical data, e.g.: | table "attribute_instances" | +----+----------+------------+---------------+----------+ | id | tree_ref | parent_ref | attribute_ref | data_ref | +---...
{ "language": "en", "url": "https://stackoverflow.com/questions/31076620", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gaps and Islands Months only I am working with a data set of clients and their date records. I am trying to apply a gaps and island problem only using MONTHS,( currently var char 'YYYYMM'). I need to take individual records and group by gaps in months(irregardless of year). I cant figure out how to go from: drop t...
{ "language": "en", "url": "https://stackoverflow.com/questions/57663850", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: R apply: loses dimname names this is a simple enough question that I'm suprised I can't find any reference to anyone having asked it before. It's not the same as this, nor is it covered by this discussion. I have a 4-d matrix (dimensions 16x10x15x39) with named dimnames (it's what happens when you cast a dataframe f...
{ "language": "en", "url": "https://stackoverflow.com/questions/14874769", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: maximum difference between two time series of different resolution I have two time series data that gives the electricity demand in one-hour resolution and five-minute resolution. I am trying to find the maximum difference between these two time series. So the one-hour resolution data has 8760 rows (hourly for an ye...
{ "language": "en", "url": "https://stackoverflow.com/questions/60645104", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Golang - How to "convert" an array ( [ ] ) to a list ( ... )? I'm using the UI lib (https://github.com/andlabs/ui) to make a program about students' groups. The ui.SimpleGrid allows a "list" of Control to be entered: func NewSimpleGrid(nPerRow int, controls ...Control) SimpleGrid I feel like in Java and other langu...
{ "language": "en", "url": "https://stackoverflow.com/questions/29031625", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Select a row of a dataframe and order columns in ascending or descending order in R I have df<-data.frame(time=c("one", "two", "three", "four", "five"), A=c(1,2,3,4,5), B=c(5,1,2,3,4), C=c(4,5,1,2,3), D=c(3,4,5,1,2), E=c(2,3,4,5,1), EF=c(1,2,3,4,5)) I would like to select for example df[df$time=="one,] and order th...
{ "language": "en", "url": "https://stackoverflow.com/questions/60775983", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I do a grow and shrink counter in Jquery and HTML? I want to try and make a circle grow from 20px to 300px. It is supposed to only enlarge just to reduce back down in size. There is a button meant to be clicked to start the action. Every time the button is clicked, it is supposed to add one to the counter tha...
{ "language": "en", "url": "https://stackoverflow.com/questions/72297873", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Calling a specific validator on a specific attribute I defined a custom EachValidator to see if an attribute has leading or trailing whitespace. I know you can add it to the model like so: validates :name, whitespace: true But in the controller I want to call just run just the whitespace validator for some form fe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75242455", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I get localized date pattern string? It is quite easy to format and parse Java Date (or Calendar) classes using instances of DateFormat. I could format the current date into a short localized date like this: DateFormat formatter = DateFormat.getDateInstance(DateFormat.SHORT, Locale.getDefault()); String today...
{ "language": "en", "url": "https://stackoverflow.com/questions/4594519", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "52" }
Q: Using loop and sum functions with Vlookup I've got a macro that essentially searches column C in Sheet1 for the value "Rec" and copies the corresponding value in column D, then pastes it into the last open cell in column B of Sheet2. It does just what it is supposed to do and is as follows: Sub FindPasteGSVInNextCe...
{ "language": "en", "url": "https://stackoverflow.com/questions/32768571", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Search only get or set references for property in VS2010? I use VS 2010 and C#. When I want to found all references to the methods or properties I press Shift+F12. It's possible to find only get or set references for examined property. It's possible? Maybe I should install any extension? A: The poor man's way is to...
{ "language": "en", "url": "https://stackoverflow.com/questions/11140088", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: WPF memory fragmentation I've got what I assume is a memory fragmentation issue. We've recently ported our WinForms application to a WPF application. There's some image processing that this application does, and this processing always worked in the WinForms version of the app. We go to WPF, and the processing dies...
{ "language": "en", "url": "https://stackoverflow.com/questions/865735", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Nested Marshmallow field does not show data in nested Schema I have a table type and language. I have a 1 to many relationship called languages from Type to Language. Marshmallow keeps showing there is no data inside a Type entry despite the data showing up in the console. Does anyone have any idea why? schemas.py c...
{ "language": "en", "url": "https://stackoverflow.com/questions/73840186", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to update records using named scopes in rails I use this bit of code to search for records using the the like query. Is it possible to create another scope which can update a record. scope :search, lambda{|query| where(["name LIKE ?", "%#{query}%"])} A: You can use rails' update_all method. See here for a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/5550460", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: guidance needed for corda Application design I have a web background majorly with javascript, I have started learning Corda recently for project implementation and need guidance in this regard, So our application is based on the web, the user signs up with different school name, create question papers, and then want...
{ "language": "en", "url": "https://stackoverflow.com/questions/67097436", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Is there a way to create multiple columns from existing columns of a dataframe in Scala? I am trying to ingest an RDBMS table into Hive. I have obtained the dataframe in the following way: val yearDF = spark.read.format("jdbc").option("url", connectionUrl) .option("...
{ "language": "en", "url": "https://stackoverflow.com/questions/51729222", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: (Python 3.9) Calling Objects created using a loop I am new to Python, and I am working on a Tic Tac Toe game coded using OOP. After completing the tile, however, I cannot figure out how to determine the winner (or draw). Here is the code: import tkinter as tk root =tk.Tk() root.title('Tic Tac Toe') player = 'cross'...
{ "language": "en", "url": "https://stackoverflow.com/questions/68221251", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cant install botman for Laravel I wanted to try to create a simple chatbot web-app using Laravel Botman. I've created a new Laravel project but when I try to install Botman through the terminal. I get this error. Your requirements could not be resolved to an installable set of packages. Problem 1 - Conclusion...
{ "language": "en", "url": "https://stackoverflow.com/questions/71820960", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to run specific gradle task only if this given test was activated at gradle test phase? I want to make sure that a particular gradle task is running before tests only if specific tests is enabled. For instance, let's say I have test called TranslationTests that look something like this: @EnabledIfSystemProperty...
{ "language": "en", "url": "https://stackoverflow.com/questions/59214601", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to stop Quartz Scheduler Logging in console I have used Quartz Scheduler to schedule a job to execute on the last day of every month. Now for the job Quartz is logging lots of DEBUG information in tomcat console. I have turned off the logging using log4j properties successfully. But now for some reason I have to...
{ "language": "en", "url": "https://stackoverflow.com/questions/22317482", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Problem with Connecting to AWS RDS MySQL Database with Xamarin Forms App (C#, Android Emulator) Hi stackoverflow community, I am trying my hands on some Xamarin Forms to code my own app. Together with that I want to expand my knowledge about AWS RDS. While Coding a Database class in C# that should return a value fro...
{ "language": "en", "url": "https://stackoverflow.com/questions/64397523", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why does my onBindViewHolder () not run at all even though all my other recycler view methods run? I have created a recycler view that is supposed to display data in a text view and an image view. But the onBindViewHolder () for my adapter does not run. All the other methods in my adapter run. I cannot find the reas...
{ "language": "en", "url": "https://stackoverflow.com/questions/63341169", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: web.xml SAXParseException error when running a project in glassfish server When I run my project on IntelliJ, it gives me a java.io.IOException: org.xml.sax.SAXParseException error. I can't find the problem. Can someone help me with this error? web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://...
{ "language": "en", "url": "https://stackoverflow.com/questions/56736674", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Android AsyncTask with JSON Parsing error Error coming in this section: protected void onPostExecute(JSONObject json) { try { // Getting JSON Array user = json.getJSONArray(TAG_USER); JSONObject c = json.getJSONObject(0); String id = c.getString(TAG_ID); String name = c.ge...
{ "language": "en", "url": "https://stackoverflow.com/questions/30836720", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Image does not display in WinUI3 XAML I am trying to add a picture to my Window in WinUI3 and the image is never rendered. When checking in the live visual tree, the actual size of the image is 0 even though its width and height are set to 200px. Can someone tell me what's wrong with my XAML ? <Window x:Class="C...
{ "language": "en", "url": "https://stackoverflow.com/questions/72452095", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to return the doubly linked list and remove leaves of the tree? I was working on a SPOJ-like task. The objective was to find the leaves in the binary tree (not necessarily a BST), delete them from the tree and return them as a kind of doubly linked list, using the same structure - TreeNode and no additional impo...
{ "language": "en", "url": "https://stackoverflow.com/questions/34234157", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Stopping BackgroundWorker which is searching in database i wrote a code in c# which takes search criteria from user and search in database table and i done this with the help of background worker now while execution if i want to forcefully stop the thread. because if user gets the result and he dont want the search...
{ "language": "en", "url": "https://stackoverflow.com/questions/5401755", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Symfony user login link in chain user providers I am creating PasswordLess api for my symfony project by following this: https://symfony.com/doc/5.4/security/login_link.html I have multiple firewalls: firewalls: dev: pattern: ^/(_(profiler|wdt)|css|images|js)/ s...
{ "language": "en", "url": "https://stackoverflow.com/questions/74124478", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android Custom section header views I have a listview which should contain different types of data. I want to group them in sections. Requirement is that each section header should have different layout for e.g. listview should have following structure. DATA A price quanitity weight color PICTURE ...
{ "language": "en", "url": "https://stackoverflow.com/questions/8724856", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Open default browser when link opens a new window I am using Android WebView and I have shouldoverrideurlloading so that it doesn't open up the default browser when navigating within the browser. Is there a way to get it so it only opens the default browser when the link is one that opens a new page like: target="_...
{ "language": "en", "url": "https://stackoverflow.com/questions/5764870", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: LINQ include doesn't include related entities when parameters are passed I have the following code. When I don't give the param "current" and "version" so it only run the first line, the lstFile variable at the end contains the file with it's related jobs. If a give the "current" parameter or the "version" parameter...
{ "language": "en", "url": "https://stackoverflow.com/questions/26106471", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Read 2D array in C++ using boost::spirit I would like to read a simple 2D int array (whitespace separated) as here: qi::phrase_parse(b, e, +qi::int_ % qi::eol, qi::space - qi::eol, vectors) There are two differences, though: * *I want to put it into a 1D std::vector, line by line, without separating *If two lin...
{ "language": "en", "url": "https://stackoverflow.com/questions/16119548", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: JavaScript Refactoring / Avoid Repitition I need to refactor this to avoid code repetition. $('#showmore-towns').toggle( function() { $('.popularTownsAdditional').show(); console.log(this); $('#showmore-town .showless').show(); $('#showmore-town .showmore').hide(); $('#sh...
{ "language": "en", "url": "https://stackoverflow.com/questions/11733139", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: creating a 2D array in javascript please i am new to javascript and i want to create a two dimensional array. this is the code i have: var locations = new Array(track); for(var j = 0; j < track; j++){ locations[j] = new Array(); locations[j] = ['test', 'test', 'test', 'test'] } when i try to outpu...
{ "language": "en", "url": "https://stackoverflow.com/questions/19440700", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: What type of function is this? const xhr = new XMLHttpRequest(), method = "GET", url = "https://developer.mozilla.org/"; xhr.open(method, url, true); xhr.onreadystatechange = function () { // In local files, status is 0 upon success in Mozilla Firefox if(xhr.readyState === XMLHttpRequest.DONE) { var...
{ "language": "en", "url": "https://stackoverflow.com/questions/70871711", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Wordpress filtering custom post type taxonomy I've been following this guide: https://rudrastyh.com/wordpress/ajax-post-filters.html#comment-908. I've got a custom post type called "project" and a taxonomy called "producten". What i'm trying to achieve is that the filters categories under the taxonomies get called a...
{ "language": "en", "url": "https://stackoverflow.com/questions/63132403", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ASP.NET How to access multiple form labels text property with foreach loop I have a form runat= "server" with id = "myform" . It is a profile page with lots of labels. I am getting their input text from SQL database. But if the SQL data base have null value, then i wish their text get changed to "Not Specified". For...
{ "language": "en", "url": "https://stackoverflow.com/questions/35691661", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Accessing / processing ArrayBuffer @ http client (websocket connection, JavaScript) I have a websocket connection between • Nodejs server (+ socket.io) • Browser A message is emitted from the server to the browser (Udp message from an Arduino) udpSocket.on("message", function (msg, rinfo) { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/28130571", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Best way to get data from database I have a doubt. I need to get the data from the sever twice every time when I load a page, one to render the HTML and another one to get the data for client side (javascript). So I don't know exactly what it's the best way and fastest. I was trying to implement a session object and...
{ "language": "en", "url": "https://stackoverflow.com/questions/4047942", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Setting user programmatically in ASP.NET MVC5 I want to log user programatically in ASP.NET MVC5. I'm setting auth cookies like this: FormsAuthentication.SetAuthCookie(username, true); I thouth it will be enough. But then I want to check value of Request.IsAuthenticated and it is always false. Also when I'm checkin...
{ "language": "en", "url": "https://stackoverflow.com/questions/24637037", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: How to carry data of a variable to the rest of the same page? It really is easy for me to do it in the following way: if(mysqli_num_rows($result) > 0){ while ($row = mysqli_fetch_array($result)) { $id_product = $row['id_courses']; $product = $row['product']; $title = $row['title']; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/46783185", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AC_FL_Runcontent is not defined , Exadel Fiji I am using Exadel-Fiji 1.0, Richfaces 3.3.3, Jboss 4.3 -EAP, Seam 2.1.0, JSF-1.2_09 When I try to render a exadel fiji line chart , the page just throws up a blank screen and the firefox error console says AC_FL_Runcontent is not defined A: I found the solution. I had t...
{ "language": "en", "url": "https://stackoverflow.com/questions/5081325", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Excel VBA Macro MsgBox auto converts number to Scientific notation, how do I stop this? I am trying to get the current date into milliseconds so I can compare it to the AD "LastLogon" time stamp. The problem is that the current date automatically becomes scientific notation instead of the 18 digit number I am in nee...
{ "language": "en", "url": "https://stackoverflow.com/questions/20704966", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Red arrows on line numbers codelite Just downloaded codelite, when I try to include iostream I get a red arrow on that line when hovered over it says file not found. It doesn't cause any warnings or errors however. I have tried reinstalling. If I include the string library I don't get the red arrows on it . Any help...
{ "language": "en", "url": "https://stackoverflow.com/questions/62665634", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Failing to run Rake-Task in Textmate I'm starting to write Ruby code for Chef using Textmate 1.5.11, and need some help with an error i'm getting when attempting to run tasks from a RakeFile. When I try to run Bundles->Ruby->rake->run rake task, I'm expecting to be prompted for which task i'd like to run from my rak...
{ "language": "en", "url": "https://stackoverflow.com/questions/18285114", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I create a where condition on a sub table in LINQ This is in response to this question in the answers section of another question. I have a collection of Orders, each Order a collection of OrderItems, and each OrderItem has a PartId. Using LINQ how do I implement the following SQL statements: 1) Select all th...
{ "language": "en", "url": "https://stackoverflow.com/questions/648782", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Use MySQL Flask connection in different python file i have a app.py with: from flask import FlasK from flask_mysqldb import MySQL # Objeto Flask app = Flask(__name__) # Secret key app.secret_key = "appLogin" # BD config app.config['MYSQL_HOST'] = 'localhost' app.config['MYSQL_USER'] = 'xxx' app.config['MYSQL_PAS...
{ "language": "en", "url": "https://stackoverflow.com/questions/60659440", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Moving average that takes into account NAs in value and gaps in available dates I'm working with a time series that spans 2008 to 2015, but am restricting attention to the months of March to August in each year. To further complicate the matter, some values have been marked NA. Here's what a subset (not sorted by da...
{ "language": "en", "url": "https://stackoverflow.com/questions/32695062", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Add prefix to img src with Javascript/JQuery how can I add a prefix to every img src? <div id="div_1"> <h1> Title 1 </h1> <div><img src="blah.jpg" /></div> <div><p> Lorem Ipsum </p></div> </div> <div id="div_2"> <h1> Title 2 </h1> <div><img src="blah2.jpg" /></div> <div><p> Lorem Ipsum </p></...
{ "language": "en", "url": "https://stackoverflow.com/questions/23765436", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: "OleDbException was unhandled...Syntax error in From clause" I am getting this error saying OleDbException was unhandled...Syntax error in From clause My code for login is given below. Imports System.Data.OleDb Public Class Login Dim con As New OleDbConnection Dim dt As New DataTable Dim ds As New DataSet Priv...
{ "language": "en", "url": "https://stackoverflow.com/questions/13543722", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: PHPEXCEL formula calculation issue The problem started in a very complex worksheet but I reduce it to a very simple but still having the same problem. PHPExcel is not calculating the formula, but if I change to a simple one (=B3) it works. The formula returned by getvalue() is =IF(B3="","",IF(C8="N",IF(ISERR(VALU...
{ "language": "en", "url": "https://stackoverflow.com/questions/16449915", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Data file handling modify function error c++ class flight //main class flight which the user uses to book tickets { int booking_id; int pnr,p_age; char p_name[25],d_a_name[25],a_a_name[25],gender,departing_date[10],arrival_date[10],b_id; long double price; public: flight() { stat...
{ "language": "en", "url": "https://stackoverflow.com/questions/26995873", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to sort this core data multithreading issue I have an app where I am using core data to store messages and contacts, the app was randomly crashing with error Could not save. Error Domain=NSCocoaErrorDomain Code=132001 "(null)" UserInfo={message=attempt to recursively call -save: on the context aborted, sta...
{ "language": "en", "url": "https://stackoverflow.com/questions/44890809", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: remove first text with shell script Please someone help me with this bash script, lets say I have lots of files with url like below: https://example.com/x/c-ark4TxjU8/mybook.zip https://example.com/x/y9kZvVp1k_Q/myfilename.zip My question is, how to remove all other text and leave only the file name? I've tried to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/36809925", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Specify end of token with cin How can you specify the characters that end the reading of a token with cin? Defaults to / t, / n, '' ... But I want to specify some specifics in a similar way to what the std::skipws and std::noskipws or std::ws functions do that allow you to specify whether or not the spaces are ignor...
{ "language": "en", "url": "https://stackoverflow.com/questions/44620277", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to pick out exactly the right string in my list of utterances? So I am working on a python script using NumPy and Pandas and NLTK to take utterances from the CHILDES Database's Providence Corpus. For reference, the idea of my script is to populate a dataframe for each child in the corpus with their name, utteran...
{ "language": "en", "url": "https://stackoverflow.com/questions/17435991", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Can I run UnitTests on all devices and UITests only on iOS 9.x devices in Xcode Server? So I spent some time on implementing the first UITests in Xcode 7 to automatically test the main workflows in our app. And everything went fine locally. However, when I pushed the UITests to the C.I. (Xcode Server) the build brok...
{ "language": "en", "url": "https://stackoverflow.com/questions/33121926", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Erroneous element error with mapstruct and OpenAPI While trying to convert the java model generated by openapi-generator with MapStruct getting the following exception error: No implementation was created for EmployeeMapper due to having a problem in the erroneous element org.openapitools.jackson.nullable.JsonNulla...
{ "language": "en", "url": "https://stackoverflow.com/questions/72024208", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is scalebase nosql database or not? I have read about scalebase but did not understand is it NoSQL database or not? Or they just well horizontal scaled SQL database? A: Per wikipedia (https://en.wikipedia.org/wiki/ScaleBase) it is a distributed MySQL implementation. It supports SQL. So, by definition, it doesn't qu...
{ "language": "en", "url": "https://stackoverflow.com/questions/31669013", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mixed Content: The page at 'https://example.com' was loaded over HTTPS, but requested an insecure stylesheet error in Wordpress site Instead of genuine Mixed Content issue this seemed like more of a Wordpress issue hence posting here to find a resolution. I have everything setup to work with https, though there is n...
{ "language": "en", "url": "https://stackoverflow.com/questions/59370893", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Placing SVG element at onClick event I am currently attempting to have an onClick event in which clicking inside of a box places an SVG circle at the coordinates of the mouse pointer. While it is very basic, I have managed to get the onClick event working though I cannot seem to get the circle to summon at the mous...
{ "language": "en", "url": "https://stackoverflow.com/questions/29909612", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Excel VBA loop not moving to next row I'm so stuck. I can't figure why I can't get this simple loop to work and I still need to expand once I've got part 1 complete. My loop won't move to next i to continue search. Sub TryThis() Dim Purch As String Dim Sales As String Dim finalrow As Integer Dim i As Integer Pur...
{ "language": "en", "url": "https://stackoverflow.com/questions/58088275", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Force PowerShell to use .NET CLR Version 2 I am running PowerShell 2 on a Windows Server 2008 R2 Standard Server (German). I want to use the SharePoint 2010 Management Console but am getting the following Errors: The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered. and Microsoft Sh...
{ "language": "en", "url": "https://stackoverflow.com/questions/21237177", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: PHP: Adding time to current time? I am trying to add 15minutes to the current time. I am using the following code: $curtime = date('H:i'); $newtime = $curtime + strtotime('+15 minutes'); But this still only prints the current time and not the current time + 15. I want it to add 15mins like so e...
{ "language": "en", "url": "https://stackoverflow.com/questions/8161138", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: CSS animation lurching on startup I'd like to know how to smooth my animation when it first starts. At the moment each bubble lurches forward before transitioning into a smooth animation, but I don't want any noticeable lurching on startup. I've tried the following: * *Adding a transition property to the bubble c...
{ "language": "en", "url": "https://stackoverflow.com/questions/46554439", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Export html content to Excel in IE8 using javascript /Jquery I am having below sample code to export the html content to excel. it is working fine in chrome browser. but it is not working in any IE browser 8/9 version. please refer below code. <html> <head> <script src="http://code.jquery.com/jquery-1.11...
{ "language": "en", "url": "https://stackoverflow.com/questions/34262675", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Asp.Net Validaterequest False I'm creating an Asp.Net program UI where users can browse and change information in a database. For this reason, they need to be able to use all forms of chars, but I still need to keep the program HTML and SQL itself secure. For that reason, I'm using a self-built method that replaces ...
{ "language": "en", "url": "https://stackoverflow.com/questions/713007", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Connect via PHP to SQL Server 2012 My problem has a couple things: * *I got a website constructed in joomla, hosted on linux server (that means that sqlsrv doesn't work because it's made for windows only, and the host administrator already informed me that they can't install any php extension). *I got a C# progr...
{ "language": "en", "url": "https://stackoverflow.com/questions/24036038", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SSL error when installing Gradle during react-native run-android I am following react-native official steps how to install and run app (https://facebook.github.io/react-native/docs/getting-started.html). Everything is fine (install react-native and other libraries, run ios version), but react-native run-android fail...
{ "language": "en", "url": "https://stackoverflow.com/questions/36378468", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Accessing ui-router state params from an attribute-type directive (NOT a component) We're upgrading from a very old version of UI Router to v1.0.5, and I'm having an issue trying to replace our deprecated $stateParams uses. To use a simplified example, we have a unique-name attribute-type directive we use on a form ...
{ "language": "en", "url": "https://stackoverflow.com/questions/46206382", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Iterating through a particular column values in dataframes using pyspark in azure databricks Hi is it possible to iterate through the values in the dataframe using pyspark code in databricks notebook? A: Yes You can , You can find lot of options here rows = df3.select('columnname').collect() final_list = [] for i ...
{ "language": "en", "url": "https://stackoverflow.com/questions/70278233", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create connection object for PreparedStatement in SpringBoot try (Connection connection = DriverManager .getConnection("jdbc:mysql://localhost:3306/mysql_database?useSSL=false", "root", "root"); // Step 2:Create a statement using connection object PreparedState...
{ "language": "en", "url": "https://stackoverflow.com/questions/66854413", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Manage files with scheme in XCode I am new to IOS development and I am looking for a way to manage a file called hku.plist (NOT info.plist) with schemes. What I want to do is use hku.plist in production scheme and hku.dev.plist in development scheme. If this is not possible with schemes. What do you guy's recommend?...
{ "language": "en", "url": "https://stackoverflow.com/questions/68585932", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I know if an object is inside the view frustum of a camera in blender (bpy)? I have a sphere object and I need to know if it is inside the view frustum of my camera. I use blender version 2.8 and I am looking for a scripting solution with bpy. Is there a function similar to insideFrustum(object, camera)? For ...
{ "language": "en", "url": "https://stackoverflow.com/questions/57463072", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: where do i put woocommerce image gallery enable code Woocommerce took out the option for enabling a lightbox feature for your image gallery earlier this year. They have in their documentation to add code if you want to enable the gallery features but don’t actually say where. https://woocommerce.wordpress.com/2017/...
{ "language": "en", "url": "https://stackoverflow.com/questions/47078281", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Making a rest call with Apache Camel Hi I want to invoke a rest service whose URL is http://ex.abc.com/orders/resources/{var1}/{var2}/details?orderNumber=XXXXX where var1 and var2 are dynamic values. Based on the input they will change. I also want to set 2 headers say key1:value1 , key2:value2. How can I make a...
{ "language": "en", "url": "https://stackoverflow.com/questions/34875732", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Outlook and Powershell can you please help my by my Outlook Powershell Problem? > $olSaveType = "Microsoft.Office.Interop.Outlook.OlSaveAsType" -as > [type] > > Add-Type -Assembly "Microsoft.Office.Interop.Outlook" $Outlook = > New-Object -ComObject Outlook.Application $Namespace = > $Outlook.GetNameSpace("MAPI") ...
{ "language": "en", "url": "https://stackoverflow.com/questions/58468098", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to get selected row index of gridview in javascript I have got a gridview with certain rows/columns and an edit button for each row. When the edit button is clicked, it opens a popup window with a textbox and a button. I want to know the index of the selected row on click of the button inside the popup. I add...
{ "language": "en", "url": "https://stackoverflow.com/questions/16643524", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What's the difference between these two inheritance ways in JavaScript Today I wasted hours in a weird bug while developing ember I confidently ignored the Ember extend way App.SomeModel = DS.Model.extend() and somehow turned into my prefer way class App.SomeModel extends DS.Model() My second way just didn't work....
{ "language": "en", "url": "https://stackoverflow.com/questions/18646527", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I register a onblur hook for a select_tag? Currently I have this, a multi select tag, which calls the function every time something is selected/deselected. But I want the function to be called when a user clicks out of the dropdown select_tag, any ideas? <%= select_tag ... :onchange => 'handleChange()' %> A:...
{ "language": "en", "url": "https://stackoverflow.com/questions/62817983", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Convert ddmmyyyy HH:mm to dd-mm-yyyy HH:mm in Angular6 The date format which I am getting from the Api response is like this. "startDate" : "07112018 00:00". I want to convert this to in dd-mm-yyyy HH:mm format. that is like this 07-11-2018 00:00. Can anyone please tell me how to do this using Angular 6. A: You ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/54255584", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Problem with searching multiple keywords using google custom search API I am trying to search for multiple keywords (in the list of filteredList) and get a list of each search result. This is the code I have tried below: from googleapiclient.discovery import build import csv import pprint my_api_key = "xxx" my_cse_...
{ "language": "en", "url": "https://stackoverflow.com/questions/58547746", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: aggregate array of objects based on certain properties typescript I have an array Order[], where Order is: interface Order { orderId: number; productName: string; color: string; quantity: number; price: number; link: string; } I want to create a mapping where: * *key is (productNam...
{ "language": "en", "url": "https://stackoverflow.com/questions/71693462", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to schedule the uploading of videos to a YouTube Channel? I was trying to automate uploading to my YT channel with Python. The story goes like this: I had a channel and I upload multiple times a day. But now I'm about to join college and I don't have the time to do the uploading except at weekends. The editing i...
{ "language": "en", "url": "https://stackoverflow.com/questions/71141664", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular changeable form according to inputs I'm using a reactive form. I need to add/remove an input that appears in it according to some other input. Here's a simplified scenario of the issue: Asking the user to select an option from a list. If their desired option is not there, there is an open input where they ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/56877087", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: what are the last digits in javascript new Date() object when I execute the following line in Node > let x = new Date() > x i get something like 2020-06-04T21:51:08.059Z what is .059Z and how would it translate to GMT timezone? A: "Z" is kind of a unique case for DateTimes. The literal "Z" is actually part o...
{ "language": "en", "url": "https://stackoverflow.com/questions/62204838", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Showing/Hiding a DIV based on one or more checkbox/radiobox selections? I asked a similar question previously, but it was so vague that I couldn't possibly have gotten the answer I wanted. Basically, I want a user to be able to select from multiple options and have various bits of information appear based on the sel...
{ "language": "en", "url": "https://stackoverflow.com/questions/1750606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Lerna and webpack aliases issue Imagine two projects (ex. my-app and my-ui) using webpack aliases to resolve 'components' as './src/components'. I use Lerna to locally "link" this projects and simplify development, my-ui is a dependency of my-app (set in it's package.json) and imported like : MyApp /src/main.js : i...
{ "language": "en", "url": "https://stackoverflow.com/questions/43764728", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to draw lines parallel to the width of minimum area rectangle joing opposite contour points using OpenCV python I am trying to draw lines parallel to the width of minimum area rectangle drawn on a contour which connect the opposite points of the contour. What I intend to do with this is to find the real width of...
{ "language": "en", "url": "https://stackoverflow.com/questions/66669298", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why do single quote( ' ) and double quote( " ) get different results in python's json module? I have such piece of python code: import json single_quote = '{"key": "value"}' double_quote = "{'key': 'value'}" data = json.loads(single_quote) # get a dict: {'key': 'value'} data = json.loads(double_quote) # get a ValueE...
{ "language": "en", "url": "https://stackoverflow.com/questions/19827383", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Comparing datetime variables in Rails Rails 3 Ruby 1.92 - i have a helper method comparing a datetime attribute on an object to the current date & time. module StoreHelper def initial_time(product) if product.time_type == "Min" initial_time = (product.time * 60) elsif product.time_type == "Hrs" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/20036048", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sizing iAd Banner Views This seems like it should be simple, but the documentation is very unclear. In the introduction of the ADBannerView class, Apple says this: A banner view must always use one of the standard sizes defined in Content Size Identifiers. This is to ensure that the advertisement is drawn corre...
{ "language": "en", "url": "https://stackoverflow.com/questions/34619140", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why table size doesn't change after vacuum full? Here is then code. Lets create table with 10000 rows of data. DB version is PostgreSQL 9.5.3 on x86_64-suse-linux-gnu drop table if exists test; create table test as select gs as id, md5(gs::text) as value from generate_series(1,10000) gs; create unique index test_...
{ "language": "en", "url": "https://stackoverflow.com/questions/41823584", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to put video on Website I am new to working with videos and what i'm trying to accomplish is putting a video on my site. I have been researching and havent found to much, any help would be very much appreciated. Here is what I have so far. <embed "images/K36U21TR.wmv" width="300" height="300" /> A: My preffe...
{ "language": "en", "url": "https://stackoverflow.com/questions/13882726", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: Getting a cookie after a successful login? So I have an Angular App that has user login and authentication. When they login they go to a separate url and service, that's not a part of the angular template (not my choice, not my design, don't have freedom to change it). So we have our app url at https://my.app.com/a...
{ "language": "en", "url": "https://stackoverflow.com/questions/32745690", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I write tests for file upload in PHP? I'm using simpleTest to write my PHP tests. I'm writing a file upload plugin and was wondering how I may be testing it. I would like to check that the file is correctly uploaded, in the right folder, that error are correctly returned when needed, etc. How do I emulate a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/3402765", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "16" }
Q: Best way to create generic/method consistency for sort.data.frame? I've finally decided to put the sort.data.frame method that's floating around the internet into an R package. It just gets requested too much to be left to an ad hoc method of distribution. However, it's written with arguments that make it incompati...
{ "language": "en", "url": "https://stackoverflow.com/questions/6836963", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "10" }
Q: Composer ErrorException when installing libraries I'm working on installing a codebase from github (which is still in Pre-release stages). I am able to clone, from GitHub, to my working WAMP server. When I try to run "composer install" it eventually runs into an exception and I'm not entirely sure how to fix it? Am ...
{ "language": "en", "url": "https://stackoverflow.com/questions/27714486", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Mixed Content - Trying to call http api over https I deployed my app to Netlify when it broke and gave the following error. Mixed Content: The page at 'https://example.netlify.app/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://ip-api.com/json/'. This request has been blocked; the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/66251493", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }