text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Google sheets API limits for SAAS applications We want to develop an API integration for Google Sheets in our SAAS platform, we have around 1000 users and each user in our platform will be connecting their own Google Account to the integration.
I see the API limits are 500 requests per 100 seconds per project, and 1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58245342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Selecting only first match with CSS document.querySelector("h2") returns only the first element that matches that class selector.
Could this be done in CSS? It is not like doing: h2:first-child as this would select every <h2> that is the first element of its parent...
Take for example this:
<body>
<h1>Title</h1>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31401391",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Setting state object dynamically using the data returned using Promise.all and fetch API : React+Typescript I am using fetch API and promise.all for a scenario where I am passing an array of URL'S from where I am fetching the data. The data retrieved from all the above URL'S needs to be set to the state object.
Say... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55720653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Simple Function to latch_setbit_resetbit I have 32-bit MCU. The port uses 32 digital IO functionality.STM32F469/479 Series.
I am looking for a sample code to Latch a particular bit/particular pin in PORTA
Set/RESET function particular bit In port A.
Can some one guide me on how it can be done using AND/OR/XOR opera... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74099604",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React - passing data between components This is my first try at a simple React application. Working with the Openweather API and AXIOS. I took Stephen Grider's course on Udemy and I'm trying to create something on my own now, but I still have problems when passing data between components. I have a SearchBar componen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46091409",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Not able to hide ARSLineProgress in iOS 15 I am new in swift and I am not able to hide ARSLineProgress in iOS 15. Its was working fine below iOS 15.
My code is like this
ARSLineProgress.hide()
The hide() function contain
public static func hide() {
ars_hideLoader(ars_currentLoader, withCompletionBlock: nil)
}
I ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69750222",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Getting average of sums Example collection:
List<Product> list = new List<Product>();
list.Add(new Product { Id = 1, Good = 50, Total = 50 });
list.Add(new Product { Id = 2, Good = 18, Total = 30 });
list.Add(new Product { Id = 2, Good = 15, Total = 30 });
list.Add(new Product { Id = 1, Good = 40, Total = 50 });
lis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15029707",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting DIV ID on AJAX loaded content I have div with unique id and I'm trying to get that div id with jQuery
<div class="quantity" id="UNIQUE_ID">Quantity</div>
Everything works good, but after loading div with ajax - I just can't get id from loaded div.
$('.quantity').click(function() {
$.post('quantit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17516572",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Align text below input I have a text-input with a list below.
I now want the list to start exactly under the input on the left side.
Here is a jsFiddle.
CSS / HTML / Demo
body {
text-align: center;
}
#underbox li {
display: inline-block;
text-decoration: underline;
}
<input type="text" style="width: 20... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26196529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Create -help- module for web application What is the best solution for create and merge help for my web application ,
I want create HTML help for entire solution and help for each page,
Is there any module for this purpose?
A: You can use SandCastle. It is now maintained as part of SandCastle Help File Builder or S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18051048",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Any C++ library for Johansen co-integration test? Any Ideas ? Will be highly appreciated.
A: Assuming you mean this test, I think I found a library that will help you. Check out the Gnu Regression, Econometrics and Time-series Library.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/2827600",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Swift dismissing view with clunky animation I simply have a ViewController that I would like to dismiss. And this is my dismissAction:
@objc private func dismissView(){
self.dismiss(animated: true, completion: nil)
UserDefaultsService.shared.updateDataSourceArrayWithWishlist(wishlist: self.wishList... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65957998",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Update recyclerview on Edittext text change I have a Edittext and a recyclerview below it in fragment. The recyclerview row item has a textview. I have set the adapter and everything is working fine. I would like to change each item of the recyclerview with text in edittext and somehow it's not working. I tried with... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58555152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why my pycharm can not debug forever? My computer version is Win7.
And what ever .py I debug, this pycharm will show me en error like this:
ValueError: bad marshal data (string ref out of range)
So what's wrong with pycharm, I tried to user newest version of pycharm but I helpless, the same error will show again.
I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37177675",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: In React, what is a better place to store big data arrays? I'm building an interactive plot in React where the user can select multiple variables and add them to a single plot. Each of these "variables" represent scientific data and are stored as arrays with 100k to 3 million elements.
I don't feel very inclined to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54372576",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Proxy in development mode of React won't redirect I'm building an app with create-react-app.
I have local Apache server running on port 80 to execute my backend API PHP scripts.
I have added
"proxy": "http://localhost:80" to my package.json,
but on this axios requests:
getAllCategories = () => {
const url = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57242270",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Update table field by summing field from another table I am trying to update a table filed taking value from another table by summing a field based on EmpID.
In tblEmpInfo EmpID is primary key. I have saw few post on this site but couldn't adopt to my file. Here is my code till yet.
UPDATE tblEmpInfo AS c
INNER JOI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62929358",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Self Join using a Group By clause getting "Invalid Identifier" error I'm trying to put together a Self Join using a Group By clause to see which person is getting paid the highest in their respective jobs but I keep getting this error
00904. 00000 - "%s: invalid identifier"
Below is my code that I am currently tryi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13883249",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: findViewById retrurns wrong element? I can't understand why findViewById returns the wrong element, here is the class:
public class EventDetailsFragment extends FragmentActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setConten... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8639667",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: strange Java compilation error with typed interface I have come across a very strange compilation error. At first I thought it was a bug in IntelliJ, but now I've tried with Eclipse and see the same thing.
I have the following interface:
public interface PluginDriver<T extends Plugin> {
PluginBuilder<T> getBuild... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42483366",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to change the colors of xdebug output? The red and yellow standard colors of xdebug can hurt your eyes after a few hours.
http://www.designified.com/blog/article/76/restyling-xdebug-output describes how to replace the style with javascript requiring jquery.
I was looking for a more straight forward way and fina... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19405735",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Why Azure takes so long to setup a Load Balancer? I have set up an application gateway in almost five different regions in Azure and every time Azure take around 15-20 mins to complete the setup.
Whereas AWS will do it in a couple of minutes, why Azure requires such a long time?
A: You should try using Application ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56679772",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to use transactions in DotNetNuke? I'm trying to do the most simple thing and apply a transaction to the CreatePortal method.
If I'm using TransactionScope - It promotes to DTC for some unknown reason - BAD.
using (var ts = new TransactionScope())
{
var portalController = new PortalController();
var por... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1478612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Azure Mobile Service Single Sign on Microsoft Account I have implemented single sign on using the WL api, but I only recently realized that I need to call mobileService.login on top of that to use the nice authentication features of Azure Mobile Services.
I followed this tutorial
http://www.windowsazure.com/en-us/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15013213",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Axios promise value render always 'undefined' Inside a componentDiMount function of a child component, I'm using an external function (getResults) to populate a state value. This getResults function, call an external API with axios.
Here is my code:
componentDidMount() {
const cluster = '...';
const index=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60298620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PHP Composer autoload not working, no classes initiated I'm trying to use Composer within PHP. I've installed composer within my project directory, then installed some needed PHP classes/methods with cli:
php composer.phar require ahsankhatri/firestore-php
php composer.phar require guzzlehttp/guzzle
Great, this wor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55398103",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Inserting a new node at the beginning of a linked list in C The struct looks like this:
typedef char AirportCode [4];
typedef struct node {
AirportCode airport;
struct node *next;
}Node;
My function looks like this:
void insertFirst(AirportCode code, Node **listPtr){
Node *Holder = *listPtr;
Node *newNo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22216576",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Overloading Base Class function Ok I have a class that wraps all WinAPI controls to make them operate like Java/C#/.Net controls (yes I know there are libraries that do this already) and looks like:
class Control
{
public:
//Bunch of other stuff..
virtual HWND GetHandle() const;
};
and a deri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16745776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Runtime analysis for the partitioning of an array with Quicksort Im working on a research paper about quicksort for school and thus I have to make a precise runtime analysis on best and worst case for my algorithm but im struggling with the part of my while-statements. I understand why its log(n) since you have so m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42956323",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to minimize switch statement? I am using switch statement to handle over 20 cases. It there a way to minimize a long switch statement for e.g as given below:
switch (something) {
case 1:
doX();
break;
case 2:
doY();
break;
case 3:
doN();
break;
// And so on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39306567",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Rails build fails in Travis due to undefined method 'encrypted_password=' for User So I have a User model that uses the Devise gem.
# == Schema Information
#
# Table name: USERS
#
# u_id :integer not null, primary key
# email :string(255) default(""), not null
# e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26943394",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Paypal email notification on sandbox Hey I was working with Paypal express checkout and I wondering if the notifications that I receive after someone has made a payment is according to the DoExpressCheckout response? and how can I change it?
A: You can't change the PayPal payment notification sent as a result of yo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20080478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R: Extract data from several files based on X,Ys I have a data frame df in R containing X, Y UTM coordinates. The sample data looks like this:
ID X Y
1 333229 6580393
2 333229 6580500
3 333229 6581500
4 325889 6584200
...
The hourly wind speed and wind direction data for above (and othe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57564371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Extracting data from Excel to R as it is I have a excel containing values. The values are merged at some places like shown below (Table A). While extracting into R, I get in a different way like shown below (Table B)
Table A
library(readxl)
Book3 <- read_excel("~/Book3.xlsx")
Table B
If you look at table B, NA's ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58887592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does abstract class have to implement all methods from interface? interface BaseInter{
name : string;
test();
}
abstract class Abs implements baseInter{
}
In TypeScript, compiler complaints that the class incorrectly implements the interface:
name is missing in type abs.
Here Abs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44593961",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "34"
} |
Q: will db monitoring with pg_stat/pg_statio slow down my other queries? I recently built a database monitoring plugin for postgresql that queries the pg_stat and pg_statio tables in postgresql. I want to understand/test how my plugin might affect my database but fear that if i just turned my plugin on my database, my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32381640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reuse the same models in ASP.NET MVC and WPF MVVM I'm developing an application in WPF MVVM, but I'll also need to create an MVC project in the same solution.
I would like to know if there is any way to reuse the same Models in both classes, and the best way to do it, since to meet the MVVM specifications
For examp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41506055",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Spark streaming scala window length by number of objects I am using spark and scala and I would like to create a window operation with length set in number of objects i.e. the window starts empty, as the stream initiates the objects are stored in the window up until it holds 10 objects and when the 11th comes the fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36711439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to extract data from an embed Raphael dataset to CSV? Attempting to extract the data from this Google Politics Insights webpage from "Jan-2012 to the Present" for Mitt Romney and Barack Obama for the following datasets:
*
*Search Trends Based on volume
*Google News Mentions Mentions in articles and blog post... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11954091",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Open files located in the ACCDocs I've developed a plugin project in Visual Studio with RevitAPI to open batch Revit files to export data. I can add many files which are on the networks and the plugin automatically opens all the files. Is it possible to open files that are in the ACC Docs cloud?
I know I can open Ac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75530623",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Accounting spaces in palindrome program This is a program that accepts a string of words and checks if the words are palindromes and if it is one, it prints it. However if a string has a space in it, my program won't count it as a palindrome (Example: nurses run). What should I be adding to make the program exclude ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46384327",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Is there a way to ignore the maxRequestLength limit of 2GB file uploads? Here's where I'm setting maxRequestLength to 2GB (the max value), which indicates the maximum request size supported by ASP.NET:
<system.web>
<httpRuntime maxRequestLength="2097151" executionTimeout="3600"/>
...
and here I'm setting th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13129746",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Could not load file or assembly 'Autofac, Version=2.6.1.841 with webservice I'm building an web service on sharepoint with IoC. Here is my main code:
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1), WebService(Namespace = "http://tempuri.org/")]
class WebService : System.Web.Services.WebService
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45456010",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Code::Blocks cannot find vector header EDIT: I have solved this problem, with Tomalak's help. It appears that I mistakenly uninstalled libstdc++6-4.4-dev_4.4.3 when I was making space to install code::blocks into, thus removing the STL headers. Code::Blocks now works perfectly fine.
Hey everyone, I'm back yet again ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5526373",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I want to block certain directories in my hosting I was wondering if someone knows how to block certain directories such as "http://www.example.com/images, css, includes" etc. Because when I type my web address with a sub directory, it shows what's inside those sub-directories such as my css files, images etc. I hav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25845666",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How can I bitbang Arduino Nano RP2040 Connect for multiple AM2320 temperature sensors? Useage of bitbang libraries? can you help me with the following?:
I'm a beginner and have an Arduino Nano RP2040 Connect and four AM2320 temperature sensors, but each have the same address, that can't be changed (this project is f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74207696",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Accessing Swagger outside the Spring Boot Context path My spring boot application have a contextPath like as shown below
server.contextPath=/api
I have added springfox swagger configuration and was able to get the swagger url from the given url like as shown below
http://localhost:8080/api/swagger-ui.html
Actually... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52362975",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Android: Repetitive Android Activity Workflow. Fire and Forget? I am working on an application that tries to streamline data entry from a very repetitive process:
*
*Enter some details that require full-screen graphics and would be confusing if scrolled
*Enter some more atomic details
*Enter yet more atomic det... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3382790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: CDI - Observing Container Events I am trying to observe both the startup and shutdown events for a CDI web application. I have an ApplicationScoped bean that listens for those events:
@ApplicationScoped
public class PrettyfacesStartupObserver
{
private static final Log LOGGER = LogFactory.getLog(PrettyfacesStar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3540137",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Where does the Android build process store the final image file (that gets flashed into a phone device)? After going through the build process (found at: http://source.android.com/source/building.html) for the master branch (or the whole Android tree, not just for a specific phone such as for NexusS), where would I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11041088",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Access Mac OS X Application Menu from Java I'm writing a Java application designed for all platforms, but specifically, I am working on OS X appearance and integration (I use NetBeans on my MacBook Pro). I'd like to access the application's menu, i.e. the bolded menu named after the application. I want to register l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11734104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Sending JSON Post Request using CURL on Form Submit PHP I have this function where I enroll a token to make a transaction process without the need to key-in of credentials.
Some blogs stated that curl exec does the job in executing the curl, but nothing is happening with this function. can I somehow trigger this CUR... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68095686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Disable socket timeout, via setsockopt() Say I have the following code in C++ that will set the time out for a socket:
struct timeval time_val_struct = { 0 };
time_val_struct.tv_sec = 1;
time_val_struct.tv_usec = 0;
return_value = setsockopt(this->m_fdSocket, SOL_SOCKET, SO_RCVTIMEO,(const char*) &time_val_struct, s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49706883",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Appach Guacomole JS RDP window scaling I'm using javascript Apache Guacamole Client on my website for RDP control.
I've faced a problem - on window resize display wasn't resized.
I've tried to use "scale" method of Guacamole Display:
guac = new Guacamole.Client(tunnel);
...
guac.getDisplay().scale(myScale);
This m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61098287",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Check for a variable being categorized differently in dataset R I'm trying to write some sort of function in R that can solve a particular problem for me.
Issue: I have a large dataset of 20,000 observations. Each observation has 13 features, one of them is the city, and the other is the county. I'm trying to think ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50093453",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: use a class from the other child module in maven I have two child modules, A and Util. And I have added the dependency in the pom file of A likes:
<dependency>
<groupId>xxx</groupId>
<artifactId>Util</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
With this, I can use the class of Util in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46564146",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Convert varbinary value to string to get the same value I need to convert the VarBinary value to a String value and I want to get the same value as VarBinary. Please see the below:
DECLARE @RFID INT
SET @RFID = 1292202724
SELECT CONVERT(VARBINARY(8), @RFID) AS 'VARBINARY_VALUE'
SELECT CAST((CONVERT(VARBINARY(8), @RF... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62125289",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Generate code coverage reports for Android Maven Library Project I have a Android Library project and an Android Test project.
The test project has Android dependency and junit dependency.
The modules are:
*
*MyProject
*MySample
*MyProjectTest
MySample uses MyProject as a library and gives an apk as output.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16438302",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Logs from spring boot with quartz not printing[using log4j2] I m using Spring boot with Quartz along with log4j2.properties. The logs related to quartz jobs are not getting printed. All other logs are getting printed. Should I add any specific config for getting this printed?
public class Scheduler {
private sta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46419637",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to rename only one string from ng-repeat Refer the below code, I am getting
0: {status: "DRAFT", $$hashKey: "object:282"}
1: {status: "SUBMITTED", $$hashKey: "object:283"}
2: {status: "APPROVED", $$hashKey: "object:284"}
3: {status: "REJECTED", $$hashKey: "object:285"}
4: {status: "RESUBMIT", $$hashKey: "ob... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58182886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Exporting json from Angular Library I created a library that I wish to contain a collection of default json configuration objects that the user can use in consuming application. I put these json objects in json files, set resolveJsonModue: true in my tsconfig to allow importing json files, import them into a barrel ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63037292",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: filter mongoose documents based on the specific fields and attributes I'm developing a website using the MEAN stack (MongoDB/Express/Angular/Node).
I have a product schema with 12 different fields/properties, including size, color, brand, model, etc. What is the best and most efficient way to filter products, in Ang... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40267298",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React-d3 Line Chart not showing and showing no errors I'm trying to create my first react d3 line chart but I'm running into a snag. There are no errors showing up when I inspect Chrome so I'm not sure why it's not showing up. I feel like I'm close though.
I've tried to look at other examples but I don't find many w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73210086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: In Layman's Terms, What Purpose Does the Warning Header Field in HTTP/1.1 Serve? Related Questions:
*
*HTTP 403 Response vs HTTP 401 Response
*Is it Possible to Send an HTTP 401 and HTTP 302 Redirect with a Location Header?
Background:
I'm developing a PHP web application that will redirect clients to custom err... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21141746",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: unable to post data from react js to node js I am following a mern stack tutorial and trying to send data to api from react js form which is:
import axios from 'axios'
import { useState } from 'react'
import './share.css'
export default function Share() {
const [username, setUsername] = useState('')
const [fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71983376",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Delete a Entire Reg Directory using Perl I would like to Delete the Registry in Windows Machine using a perl command.
How can I do that . I tried few command from Internet it is getting executed but not deleted
Please provide help !!
The below code executes , but doesn't delete the Reg Key
use warnings;
use strict;... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63021710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: React onMouse doesnt fire on iOS devices I've built a React app which works fine in the computer, but the button won't fire on my iOS phone.
I've tried adding the cursor:'pointer' like that:
<button onClick={() => setdata((previous) => !previous)} type="button" style={{ cursor: 'pointer' }}>Start</button>
I've also ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75348195",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android whatsapp attachment icon 1) when I use some apps to send a file to whatsapp directly, there is an icon text (DB) and extra text under the icon (DB). pls see below pic. However, my code below gives me plain icon (without DB) and without extra text
Uri lvUri = FileProvider.getUriForFile(pActivity, Bui... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45945101",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Beginner Q: How to use variables declared in if/else indentation I've tried everything I can think of at this point. I am trying to create my first game in which the player can make choices by entering one-word answers.
The game works when the questions are isolated. However, if I want to create a decision that redi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65360235",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get the values of each row of a .txt(CSV) file array I am trying to get the values of an array (example trips_list.trip_id should pour out all the trip_id(s) of the array trips_list.)
.trips.txt file :
route_id,service_id,trip_id,trip_headsign,trip_short_name,direction_id,shape_id,wheelchair_accessible,bikes_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36821807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to store python code output to csv file i want to store my python code result in to csv file but here is my python code i am not show my python result in my csv file
import csv
import json
from collections import Counter
with open('result.csv', 'w') as output:
with open('simplejson2.json', 'r') as f:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68407537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Loop through keys in JSON array that start with specific key name Is there an efficient way to loop through the keys in a JSON array that start with the key name 'option' and either loop through them all or set a max?
I'm currently doing this following:
$.each(shopifyProductJSON.variants, function(index, variant) {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53555957",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Access View from Timer or Handler App crashes, I am unable to use the same view in Timer Class
I need the app to refresh a value and display it
Timer t = new Timer();
//Set the schedule function and rate
t.scheduleAtFixedRate(new TimerTask() {
@Override
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32953055",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Add Multiple Apache Document Root under one port I'm looking to have 1 domain point to different drives in my pc.
I've got my document root on D:\ working fine on port 80.
But I also want drive E:\ to show when I load my domain.
I understand I can use virtual hosts on different ports but thats not what I want becaus... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17030106",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: async await not working with Timer I have a Presence monitor class which is used to detect users active/inactive status. That class has a timer in its Start method which called on application start:
public class PresenceMonitor
{
private volatile bool _running;
private Timer _timer;
private readonly Time... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46253554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to determine if a context-free grammar describes a regular language? Given an arbitrary context-free grammar, how can I check whether it describes a regular language?
I'm not looking for exam "tricks". I'm looking for a foolproof mechanical test that I can code.
If it helps, here's an example of a CFG that I m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31643381",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Jquery sliders not working together online,but they work fine on offline page The site www.grapho-line.com is using two sliders but only the main slider is working(the one with the big pictures).The thumbnail slider(right below the main jquery slider) is not working as you can see on site.
However both work fine whe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15113444",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is Apple's documentation on ARCamera.transform orientation backwards? I'm having a hard time grasping the Apple documentation regarding the ARCamera.transform.
Excerpt:
In camera space, the x-axis points to the right when the device is in UIDeviceOrientationLandscapeRight orientation—that is, the x-axis always poin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58438950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: File and logger was not created for slf4j In my application i am using slf4j for logger. I have used logback.xml for configuration. While am running main class i am getting correct response, meaning for my testing purpose i write one main class. But same configuration after build and deploy i am not getting any resp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50348987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to get dictionary max values I want to get keys of a dictionary, with top 5 values. For example
numbers = {'one':1, 'two':2, 'three':3, 'four':4, 'five':5, 'six':6}
and I want to get ['one', 'two', 'three', 'four', 'five']
A: You can iterate over keys in a dictionary.
myDict = {'one': 1, "two": 2}
for key in m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47821377",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Swift Core Data group results into tuples I have a Core Data table like such:
How can I use a combination of collection operators in Swift so that the fetch results in array of tuples with definition like this:
[(date: String, values: [Int])]?
For example, the table above would yield:
Optional([("2/1/2016", [2, 3]... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35951593",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Python, Selenium find element is only by css? I'm trying to perform a login to the apple website using selenium but when looking for the ' sign in button' using the find_element_by_id I get an error implying it's a css selector,
What does that mean? I thought I was searching for the HTML element.
class AppleMusicUp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61876204",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to position image in a circle android layout I'm trying to design a rosary app where the beads are individual images so that I can configure each image at will, but I am having trouble positioning them in a relativelayout to make a perfect circle. They're very rigid and angular instead of circular. (see image) W... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37845825",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is Fetch task in Hive works faster than Map-only task? It is possible to enable Fetch task in Hive for simple query instead of Map or MapReduce using hive hive.fetch.task.conversion parameter.
Please explain why Fetch task is running much faster than Map especially when doing some simple work (for example select... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39894681",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Alias for JDK is not working in ZSH but works in bash The following aliases are working in bash but not in ZSH:
# Different installed version of JDK
export JAVA_8_HOME=$(/usr/libexec/java_home -v1.8)
export JAVA_11_HOME=$(/usr/libexec/java_home -v11)
alias java8='export JAVA_HOME=$JAVA_8_HOME'
alias java11='export ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59360696",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I manage read and write AWS Aurora host endpoints in CakePHP? I am working with a CakePHP based API that utilizes AWS Aurora to manage our MySQL database. The CakePHP application has many large read queries that that requires a separate Reader Endpoint to not exhaust the database resources.
The way this works... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67829501",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Delphi 2007 variant type initialization I am trying to declare a constant array for validating type properties held by input object. but i am doing something incorrect, please have a look at below code:
// Record to hold Name-Value pair for checking entities
TValues = record
Name : WideString;
Value : Va... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6341806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why I can not install new maven? I download a new maven and execute using the full path, but still get the old version, and it doesn't help even I put it on PATH. It's very weird.
I run the maven as version of 3.3.9, but it still use the 3.2.5
-bash-4.1# /usr/hdp/2.3.2.0-2950/apache-maven-3.3.9/bin/mvn --version
A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35475310",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rails: Passing User state between many controllers I have a simple Rails application with multiple controllers and I want to pass User state around between many different controllers and views.
The user can have a organization and a project.
I want to pass current_org and current_project across all my controllers/v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62050339",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to suppress Java compiler warnings for specific functions We are always taught to make sure we use a break in switch statements to avoid fall-through.
The Java compiler warns about these situations to help us not make trivial (but drastic) errors.
I have, however, used case fall-through as a feature (we don't ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/593996",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: Buttons in UITableView I want to create UITableView where some cells are buttons.
Help me, what is the right way to do it?
1) I can use something like that:
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:MyIdentifier];
if (cell == nil) {
cell = [[[UITableViewCell alloc] initWithStyle:U... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9927099",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: rails: Scheduled jobs but run at most one at single time I have the scheduled job which run every 5 seconds. I'm now using backgroudRB for scheduling. But sometimes, the job may take more than 5 seconds and i don't want more than one job is running at the same time. In .Net, we can use Mutex class, but I'm not sure ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3544454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add unique objects to a list in Python I'm trying to add objects to a list but when I print elements of that list, I get the attributes of the last object.
import random
class Unit:
arr = []
def __init__(self):
self.arr.clear()
for i in range(2):
self.arr.append(random.r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57019002",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Preserve space coming in data in XSLT I have data coming like this
<Table1>
<row_description>Low Touch</row_description>
<_x0038_ />
<_x0039_ />
<_x0031_0 />
<_x0031_1 />
<_x0031_2 />
</Table1>
<Table1>
<row_description> DMA/ALGO</row_description>
<_x0038_ />
<_x0039_ />
<_x0031_0 />
<_x0031_1 />
<_x0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19176146",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I group a column of totals into a set where each set has a maximum I have a collection of records, each record has a total; I want to split the whole collection up into sets, each set can only hold so much (20 in the example).
I have thought about two methods so far and I've shown a simple representation bel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28963311",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MySQL Query where id = id_product error i'm working with mysql in a nodejs web app. I don't understand why when I ask for some id (key) it gives me more than 1 result.
When I:
SELECT * FROM products WHERE id = 1;
This happens, I get 3 results, but I only want 1:
1, 001 and 0000001.
I just want the info of one produ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36317626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Question about shell commands and grep Does anyone know why
grep "p\{2\}" textfile
will find "apple" if it's in the file, but
grep p\{2\} textfile
won't?
I'm new to using a command line and regular expressions, and this is puzzling me.
A: Although this has already been answered, but since you are new to all this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5916032",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Inserting value in List of values of a Key in Dictionary I have a rowsDictionary that its keys point to a list of EmployeeSummary classes.
In those EmployeeSummary classes we also have a string property of Delivery_System
I am looping through this in this way but now stuck in the part that I want to have a deliveryS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24958406",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Set routing key in kaazing jmsclient.js and publish message using amqp Can anyone guide me how to use routing key to send/receive message on queue using jmsclient.js. Reference taken from https://demo.kaazing.com/demo/jms/javascript/jms-javascript.html. As of now, i have to create multiple queues with distinct names... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25374742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Sending and receiving info through camera intent I want to take a picture by opening the camera app using intent. I know how to do that. The problem is that the image comes onActivityResult call. Is there a way I persist a data such as ID so that when I receive the image on activity result, I can use the ID to (say ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49650894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.