text
string
meta
dict
Q: Can't Open File Error in Ubuntu While Accessing Php Website on LAMP In lamp Server. I got error "Can't access file" In Windows Xampp Its works Perfectly. On online server it also works perfect. Note: I installed LAMP Using Xampp ON Windows. Thank you
{ "language": "en", "url": "https://stackoverflow.com/questions/75603577", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: Multiple series with subplots for shared columns in DataFrames I have two DataFrames with identical row indexes and column names that are sometimes only in one DataFrame, and sometimes in both. I wanted to plot data from columns that are in both DataFrames and arrange them in subplots. The final figure should look l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603579", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ghostscript: replace placeholder with image I need to replace a specific string/placeholder in Word docs with an image. Think "signing docouments". The input is a docx, we need a pdf with the signature in the end. Is ghostscript a working tool here? I found examples where gs placed an image at a coordinate. But I ne...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603583", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Browser.msgBox and Debug in Google Script I have two Google spreadsheets running an exactly identical function: (each on their own App Script editor) // Send ALL invoices in BRANDS sheet function Send_All_Invoices() { var ss = SpreadsheetApp.getActive(); var sh_brands = ss.getSheetByName("BRANDS"); var brands ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603584", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: guys, can anyone recommend a react-library for tracking the right frames in streaming video? I want to review video streaming footage that triggers an epi seizure any ideas? searched on google but didn't find anything suitable
{ "language": "en", "url": "https://stackoverflow.com/questions/75603585", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ExtJS add latest store value of cartesian chart to the y-Axis I'm dealing with the latest ExtJS version and currently trying to add the latest value of a cartesian chart store to the y-Axis see image Is there an easy / built in way to achieve this? Also is there a way to offset the label values since they get cut s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603586", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Function works only for first div I've got 2 same divs and function like below. My question is, why this work only with first dedicate__wrapper ? When I click on the second one, nothing happened, no errors in console. $(document).ready(function() { $(".dedicate__wrapper").on('click', function() {...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603588", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Define object structure for an object used in state with TypeScript React I want to define the structure of an object, I am using in react state. The object looks like this { 1: [{foo: 'whatever', bar: 'another string'}], 2: [{foo: 'yet another string', bar: '...'}], ... } Currently I am trying it like ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603589", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: vuejs globalProperties windows screen size I want to access it as global Properties, but as I mentioned below, I get an error on the console screen. and onMounted does not perform onUnmounted functions [Vue warn]: onMounted is called when there is no active component instance to be associated with. Lifecycle injecti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603590", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I need to access the contents of bucket in s3 file i wrote a program to access the contents of the bucket coderbytechallengesandbox and the code didn't work. Can you please help me ? import requests import boto3 s3 = boto3.client('s3') print(s3)
{ "language": "en", "url": "https://stackoverflow.com/questions/75603592", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: can not use the value immediately set by useState I'm stuck in a problem related to react useState and not sure how to solve it. Some background. I've a register form with validation on blur on each field. The validation works if I blur individual field which is basically setting the error message (using useState) i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603594", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Amazon review scrapping returning none e = Extractor.from_yaml_file('utility/amazon/selectors.yml') def scrape(url): headers = { 'authority': 'www.amazon.com', 'pragma': 'no-cache', 'cache-control': 'no-cache', 'dnt': '1', 'upgrade-insecure-requests': '1', 'user-agent': ('Mozilla/5.0 (X11; L...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603595", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: selecting column values where they exist from a hardcoded list I have the following code: cluster_groups as ( select uc_id, uc_name_imported from team where uc_id in (876,877,878,879,880)) The problem is that even though I have specified the list of uc_id in the where clause, I want to only select a value from i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603596", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Symfony 4 not being able to autowave Entity from the argument type-hint I have a simple twig template that is listing some tasks from the databse. {% for task in tasks %} <li {% if task.status %} class="checked" {% endif %}> <a href="{{path('switch_status', {'id':task.id})}}"> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603599", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Parse glibc chunk metadata When I watch a GLIBC chunk at heap I see the value 0x100d . I know that the size of this chunk is 0x1000, so why do I see 0x100d ? How does it parse?
{ "language": "en", "url": "https://stackoverflow.com/questions/75603600", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Using a dictionary to translate a string I'm trying to use a function to translate a string using a dictionary, and append the translated words into a string to form an interlinear translation. However, whenever it comes to appending the translated words to the string, it sees the direction to the key as a string it...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603601", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: can't splice number from array I make tic tac toe where user can play against computer and I have such problem, when I try to remove checked boxes, the first time everything fine, but the second time can't remove numbers from array, so my description can make you confused and I write here what I get in console con...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603602", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Update special characters from column in TSQL It's been a while since we migrated from MySql to SQL Server 2017. We have a table that contains email html content, the problem we are facing is the characters like ' are stored into SQL DB like this ‘, I tried to change the collation to rectify this but it did not w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603603", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Does DateTime.now() automatically get the timezone in flutter? I have a doubt… if I simply use DateTime.now() without specifying any type of time zone, will it automatically use the time zone of the device that opens it anywhere in the world? A: Yes, just looking at the documentation at the function's source code (...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603607", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I parse a dict/json object using pydantic when the keys are also data? Using pydantic in Python how can I parse data where I want the key of a mapping to be placed into one attribute and the value of a mapping placed into anothe rattribute? For example, imagine my data is represented as data = { "pets": ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603608", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Python Parse Oracle DDL and Generate JSON Data I have a requirement where i need to parse a DDL from Oracle table and generate a JSON data out of it. For that i had used DDL parser in Python to convert it to string however i couldnt able to get it as JSON Data as such. import json from ddlparse import DdlParse sam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603609", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: showcaseview after upgrade to flutter 3.7.1 not disable target click You can press target widget,which navigate to next page before complete showcases. This problem happened after upgrade to flutter 3.7 **This is full code ** //main page import 'package:flutter/material.dart'; import 'package:showcaseview/showcase...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603610", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Vue2 Router not routing correctly, show blank pages I am new to Vue, facing routing problem When i try to start my frontend vue, it shows blank page, i don't know why it is not route to my login page, anyone can help to fix it? looks like the router not working correctly in router folder index.js import Vue from 'vu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603614", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Increase "count" by one every time i click(not working) I´m using https://fakestoreapi.com/ as my api get product to create a webshop. The problem is, when i´m clicking on "add to cart" i want "count" to increase by 1 everytime i click but it doesnt work/increase. It seems like the "count" get stuck somehow and cant...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603616", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I profile some code using callgrind_control in c++? I am trying to see where my code spends time on many instructions (doesn't have to be time, just number of instructions). I see many recommendations for callgrind, which I did start using, but I don't see much I can do more than callgrind_control -b -e, whic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603619", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Semantic segmentation one-hot encoding? A mask with a size of (1,256,256) that needs to be one-hot coded. I want to convert (batchsize,height,width) to (batchsize,num_classes,height,width). What should I do? Can you get me a numpy or a torch.tensor solution? Please provide the code.
{ "language": "en", "url": "https://stackoverflow.com/questions/75603622", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How spark submit with python in venv and local mode? Hi i want run my python script with spark-submit with venv's python. In my shell i digit: export PYSPARK_PYTHON=/home/analytics/venv3.6/bin/python spark-submit --master local /home/analytics/Flussi_Analytics/pg2hive/pg2hive.py but i have this error: Traceback (mo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603623", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to exchange integration and summation operator in Maple? I want to integrate a function expanded by a series as below: Eq1:=int(x*f(x),x); subs(f(x) = sum(l[i](x)*f(x[i]), i = 0 .. n), Eq1); Then I want to do the integration first, followed by summation, is there any Maple command to do that? 'sum(f(x[i])*int(l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603624", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Crontab script does not run properly I have a script that goes into a directory, checks if a website is available and if it is, starts a cypress script and sends a notificaton. 5 * * * 1,3,5 cd /home/username/test/ && ping -c 1 example.com &> /dev/null && (notify-send "Updating Data" && npx cypress run) || notify-se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603625", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to link each collection by reference in mongodb I have 3 collections i.e. technicians, services and tags. Every technicians having services and every services having some tags. My question is how to link multiple collection to each other and get result like this - "select technicians.name, services.name, tags.na...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603629", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Postgresql fill empty rows based on previous value Start table: year | status -------------- 2018 | null 2019 | 1 2020 | null 2021 | null 2022 | 0 2023 | null 2024 | 1 2025 | null I want to fill empty rows based on previous record value starting from the first null after first not null value Expected result: year ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603631", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make it so that the property is ignored if it has a string type? I have a model: public class Data { [JsonPropertyName("id")] public string OrderId { get; set; } public Order Order { get; set; } } I want the property 'Order' to be ignored if the response contains that property of type string and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603632", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to print the hierarchical name of a signal given to a system-verilog task as parameter This is the content of a task that is repeated for a lot of signals: begin @(testbench.top.baud_rate_A); $display("Signal baud_rate_A changed: %t", $time); failed = 1; end I would like to optimize the code...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603633", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Apache kafka connect mirrormaker2 is not running bi-drectional we have a 3 node apache kafka cluster in two DC's ( DC1 & DC2 ).We want all our topics in DC1 to be replicated in DC2 and all the DC2 topics to be replicated in DC1. we are running a one instance of mirrormaker in DC1 and one instance of mirrormaker in D...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603634", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Columns of Spark Dataset are inserted into Hive table in wrong order I have a table in Hive 2.1.1-cdh6.2.1 declared as CREATE TABLE COUNT_REPORT ( PROCESSING_DAY INT, TOTAL_UIT_IDS INT, DISTINCT_UIT_IDS ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603635", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to pass data from one page to another page I am trying to pass data from one page to another in php file and I don't know a way to make that work. Can someone help me please! That is my form page and i try to submit it to the second page First page <!DOCTYPE html> <html lang="en"> <head> <meta charset="UT...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603639", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Function that retuns a dataframe without leading 0s of a specific column I have the following dataframe: df=pd.DataFrame({ 'n' : [0,1,2,3, 0,1,2, 0,1,2], 'col1' : ['A', 'A', 'A', 'B', 'B', 'B', 'B', 'C', 'C', 'C'], 'col2' : [0, 0, 0, 0, 3.3, 0, 4, 1.94, 0, 6.17] }) It has the form: n col1 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603641", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to share synced Realm, write to and read from it from different Swift classes / ViewModels / Views? I am trying to split all my business logic into various classes (Managers, e.g. a RealmManager, ...) and accessing them through ViewModel classes to display the UI. Data between classes is kept up to date using Co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603642", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to access a variable definded with const (or let) within the global scope by its name in Javascript? When i do this in JS: const myConst = "something"; outside any function, how can I access myConst by its name ? From what I have understood so far is, that myConst ends up in the "Declarative Environment Record"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603644", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MPIRE WorkerPool causes memory leak I have a python module with a function that runs in an infinite loop. Within this function I create WorkerPool with the mpire library. I cannot use the standard multiprocessing library because I have to pass non-picklable objects to the worker functions (at least I have not yet fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603646", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: WordPress WooCommerce Variation product out of stock Suddenly, Some variations of products are going to out of stock status. It will be available in stock automatically when the product is updated. If the product status is out of stock, automatically status should be changed to In Stock. Are any woocommerce hooks av...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603647", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to load jersey endpoints from a jar in springboot application I have created a gradle spring-boot application which has both spring-mvc controllers as well as jersey jax-rs controllers. I have created .war file and deployed it in an external tomcat. I am able to successfully hit spring-mvc controllers as well as...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603648", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make caption language option become available in Chrome or Chrome-Canary? For both Chrome and Chrome Canary, the caption language option isn't available. Found this Reddit thread: https://www.reddit.com/r/chrome/comments/z3rtwt/chromes_live_captions_will_support_french_german/ I've downloaded Chrome Canary an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603650", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to unit test a function that spawns child processes? So after a LOT of trying. I've dumbed down everything to the following: The test case Test(minishell_loop, test_ls_exit) { t_minishell sheldon; ft_bzero(&sheldon, sizeof(t_minishell)); sheldon.command_line = ft_strdup("ls"); minishell_loop(&s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603652", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: dask dataframe error for column having value : 2023-01-03T06:58:46.360000+00:19207, while writing into csv My csv file has column "Completion Date" which has values in format '2023-01-03T06:58:46.360000+00:00' I think it is getting stuck because it has "T" in between the datetime stamp import dask.dataframe as daskD...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603653", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Add/transfer CommentString to columns in TeraData using the CREATE TABLE AS SELECT statement I want to add desciptions to my columns that I can query in Teradata. I recently came aware of the existence of the CommentString Column in TeraData DBC.Columns. I want to use it to add (short) descriptions to columns. Since...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603655", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL - datetime style code based on time zone As you can see in this webpage https://www.sqlshack.com/sql-convert-date-functions-and-formats/, there is datetime styles for distinct countries. On Microsoft SQL, there is a way to obtain the style code based on a defined timezone
{ "language": "en", "url": "https://stackoverflow.com/questions/75603658", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Grouping dataframe I am trying to use groupby to find and return a subset of df rows. df = pd.DataFrame({'id': ['123', '123', '134', 134], 'Date': [2023-02-01, 2023-02-04, 2023-02-02, 2023-02-04], 'title' : ['first', 'first', 'second', 'second'}) I want to return the most recent by id. I tried df.groupby('id')['Date...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603660", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Some important metrics for rabbitmq are missing i have rabbitmq with helm installed on my k8s cluster where i also have prometheus and grafana stack there. . The thing is i want to create alerts based on some important metrics like: rabbitmq_running, rabbitmq_up, rabbitmq_node_mem_used, rabbitmq_node_mem_limit and t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603661", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Redirecting to payment gateway url Hello i am busy creating a payment gateway for magneto I have got an observer that uses the sales_model_service_quote_submit_success event.I get the response from the curl but I don't know what to do to redirect to this URL. It can be a redirect or just opening a new tab and follow...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603663", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When i read data from child it shows null in Firebase, Kotlin [Code](https://i.stack.imgur.com/WokD8.png) i am trying to read all the data under 'User' and display them if they have a certain value.
{ "language": "en", "url": "https://stackoverflow.com/questions/75603667", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why in R, the following values i Receibe are being "NULL"? I managed to estimate a multiple linear model (MLM) wiht robust standar error, and create it as an objetct. But i want to carry out a Chow Test, but when i create the res of the model to do so, i finde that the values are "NULL". I am using the following cod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603668", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: RxJava RxAndroid repeat API call with different request body in Android I have a list of users and I need to save users one by one via API call. I tried the below code and it sends the same user for all API calls. gradle implementation 'io.reactivex.rxjava2:rxandroid:2.1.1' implementation 'io.reactivex.rxjava2:rxkot...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603671", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Escaping the maze implementing DFS with usage of stack #include <iostream> #include <vector> #include <stack> using namespace std; bool isValid(int &v, int &k, vector<vector<bool> > &a, vector<vector<bool> > &b) { if(a[v][k] || k < 0 || v < 0 || k > a.size()-1 || v > a[0].size()-1 || b[v][k]) return fal...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603675", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can separation between private headers and public headers improve linking time? We have a very big codebase (more than 3K translation units) and despite it being subdivided into small libraries, there is no distinction between private headers and public headers. We use CMake as a build system and we are building on ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603681", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Php excel -> removed records : merge cells from /xl/worksheets/sheet1.xml part I am developing an excel file with use of php-excel library in codignator. I successfully created excel file from my data. And i checked it with use of libra-office, And open-office on Ubuntu, it works well. But as i check it on MS office...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603684", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can not add resource (com.android.aaptcompiler.ParsedResource@4ba9af2) Can not add resource (com.android.aaptcompiler.ParsedResource@4ba9af2) to table.,Can not add resource (com.android.aaptcompiler.ParsedResource@851ebd) to table.,Can not add resource (com.android.aaptcompiler.ParsedResource@458790c9) to table.,Can...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603686", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to restart dockerd? Context In my .devcontainer that, I run in GitHub Codespaces, I've installed minikube. Shortly after minikube start I get this message Executing "docker container inspect minikube took an unusually long time: 10.566089734s* Restarting the docker service may improve performance. * *I'm usi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603687", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How I change color of virtual edge I want to add a theme on my editor and I need to change color of virtual edge. This means when I start to connect cells the editor show a reference edge before connection it is color is red and after connection it become a darky may I change this red color? Related Image
{ "language": "en", "url": "https://stackoverflow.com/questions/75603688", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: vscode building of Visual Studio Projects I am trying to build a collection of .vcxproj generated by Premake within VS Code. What I don't get is why it works for executing the premake generation but not the .vcxproj builds as the old batch files are the same except they call msbuild.exe with a full path. ** Visua...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603689", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: on branch main nothing to commit, working tree clean im new at programming and wanted to upload my projects on github, with some proejcts it went good, but when i tried to upload last one after i used command git init, git add . the next one is the "git commit -m "adding files" " after this command i get the sentenc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603691", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to change rendering order of the components in vueJs? I want to reorder my child components with a data from api in my parent components. Please take a look at the example below: Parent component: <div v-if="data"> <Component_1 /> <Component_2 /> <Component_3 /> <Component_4 /> </div> I wan...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603695", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Put powershell code into function, script or cmdletbinding If I put this code below (to check a certain gpo setting) into the console of Powershell, the output is shown correctly. If I want to make a function, script or cmdletbinding of it, it only shows me the output of $policydetails. #Get the GPO Guid [xml]$GpoXm...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603697", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Displaying the corresponding div which is linked to a nav element while updating the hash value As part of my thesis I implement a website. It has a nav with elements and divs with content. I try to use the hash values in the url to display the right content div, the other divs are hidden/ set to none. The url updat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603698", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to give a audio file as a input and perform a filter get the output in a audio file using audio kit? I am trying to implement a low pass filter to a audio file and get the input as a audio file using audio kit I have tried with live audio from and with that I'm only getting the data using a data using node . I d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603700", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Bash history with duration of each command Is there any trick to display history of commands with the duration of those commands. I would like to know how much it took to end the command and return to the shell. I don't want to use time explicitly prefixing each command - I would like to embed the information to the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603704", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to prevent MongoClient to stop executing code on duplicate key error I am trying to add records to a mongodb collection, using the mongo client for node, this is my code const participants = db.collection('participants'); await participants.createIndex({ email: 1, survey: 1 }, { unique: true }); await participa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603707", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: "Object required" error occurs when accessing series collection in excel chart using vba I have this excel VBA Scripts that should returns the following information: * *Sheet Name *Chart Name *Chart Data Range *Legend Entries (Series) *Horizontal (Category) Axis Labels *Top left Chart Co-ordinates on the shee...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can we send media or files from WhatsApp click to chat? I am able to send text messages and links with WhatsApp click to chat. I've researched a lot about this but I'm unable to figure out how to send pdf or other media as messages to people with WhatsApp click to chat. https://wa.me/44XXXXXXXXXX?text=Hello%World I'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603709", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why “clear: left” on a left float also affects right floats, and how to avoid it Consider this HTML example (minimal example shown below): <p><svg style="float: left" width="300" height="300"><circle cx="150" cy="150" r="150" style="fill: red" /></svg>First float here.</p> <p><svg style="float: left; clear: left" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603712", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Any one have a vb.net 3-Tier architecture project ? can yo please share that git link? I need a sample VB.Net 3-Tier architecture project source code for some testing .can yo please share that git link here ? I need a sample VB.Net 3-Tier architecture project source code for some testing .can yo please share that gi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Assigning a dram of std_ulogic_vectors in VHDl I have a Dram signal and an signal for the Address signal Address : std_ulogic_vector(31 downto 0); type memory_array is array (natural range <>) of std_ulogic_vector(31 downto 0); signal dram : memory_array(Address'range); I want to assign the first 5 elements of t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603721", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Windows environment variables based on other environment variables I am writing a program whose compilation and execution depends on environment variables. Maintenance of the program is utterly impossible without these. On Windows 11, I hit WindowsKey-I and type "environment" into the search box. I choose "Edit th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603722", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: how to add python dict child i wanna add a child from 1 dict to other dict like this, how? dataParty = [ {"partyName": "Party1"}, {"partyName": "Party2"} ] dataMember = [ {"name": "member1"}, {"name": "member2"}, {"name": "member3"} ] how i make a dataParty to be like this dataParty = [ {"partyNa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603723", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: It's possible to use apache pdfbox with a multipart file on a servlet java app? Im using pdfbox becuase it does not overload the memory handling huge pdf files, for example i have a 2gb pdf file, with almost 1k pages. for each page i need to do something, upload and storage in a server,etc (server that honestly i ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603733", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Compare dataframes and extract if values overlapp with minimum occurency I would like to compare a couple of data frames and extract overlapping row values: import pandas as pd #df1 data= { 'id': ['ID1', 'ID2', 'ID3', 'ID4'], 'type': ['1/1', '1/1', '1/1', '1/1'], 'value': [-10, 2, 28, 40] } df1 = pd.DataFrame(data)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603734", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Discord.js v14 >2+ Minutes Express Request/Response Time(s) Essentially, I have a separate third party sending Requests to my App. They are received everything works except embed updating & slow response time(s). Takes up to 2 minutes to receive a request, and embeds do not update as they go through the functions. /...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603735", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PyQT executable file crashes but works fine in python console I created an application using PyQT5 that loads an image of MNIST using the Load button. Then this application can load a trained Keras model on MNIST in h5 format. The trained model is loaded using the Classify button, and the loaded model predicts the i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603737", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MUI Autocomplete changes are only reflected when focusing the input field I have the following MUI autocomplete form with a button next to it which should change a cell in a data grid. This works perfectly when the user focused the input field at least once during an operation. However when the user removes an optio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603741", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: fatal: pathspec 'origin' did not match any files I have an error named in the title. fatal: pathspec 'origin' did not match any files It happened when I tried to change remote repository from new to old one. There are no changes comparing with old version. Last commits are same in local and remote repositories. I u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603747", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Python delete all elements from a list that are on an odd index I'm trying to delete all elements from a Python list that are on an odd index of the list. In my case, the result from len(elements) is 40, so I assume after deleting all odd indexes, the total length should be 20. I tried the following code: indx = 0 f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603748", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MSVC error C2753 caused by bug (partial specialization cannot match argument list for primary template)? The following code compiles successfully on Clang 15.0.7 and GCC 12.2.0 compilers using C++17: template<typename T, std::size_t s = 0u> struct A: std::false_type {}; template<typename T> struct A<T, sizeof(T)>: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603752", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Problem with importing a CSV file with extremely long column names library(readr) surveyData_twoConditions <- read_csv("Raw Data/Survey Data/fileName_extremelyLongColumnNames.csv", col_types = cols(`Start Date` = col_character())) I suspect that the column which is giving me problem is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603754", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Tables in Markdown as subdivision I want to replicate this table but I dont know how to create a subdivision from Education. Here is how I did it: Thanks for your help | Variables | Definition | | ---------------| ----------- | | Education | Title | | Without formal schooling | Text | | Prima...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603757", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Should I Upgrade Website From Laravel 8 to Laravel 9/10? I am currently managing an ecommerce (IT Hardware) website which is in Laravel. It is a live website which my company is using (not a company's main website, but an important one ), having more than 100K products. I wanted to know, should I upgrade this websit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603759", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In Power Automate, How to get linked Test plan / Test Case using User Story ID? Unable to get the linked test details for a user story in Power Automate or Rest Api I am trying to get the linked test details for a user story in Power Automate. I tried using Get work item children but it is returning only Child link ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unity ScreenToWorldPoint function always returns the camera position even with a z-axis value I have a perspective camera in my scene and I have this line of code to get world point of mouse position but it always returns the camera position despite having the z value. Vector2 screenPosition = Input.touches[0].posit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Batch scripting - echo device vendor and model with formatted output? I'm trying to get my batch file to output the Vendor name and model of my Laptop, but I can't seem to get it formatted. Can someone help me to find a solution? EDIT: Thank you for the answers, all of them work as I need it! This is what I've got: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603762", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Return result of value co-occurrences query as a map How to specify the map option in withOptions in the following query? dbRead.values.read( vb.fromIndexes( vb.range(vb.property(uriElementName), vb.datatype('string')), vb.range(vb.property(versionElementName), vb.datatype('unsignedLong')) ) .where(que...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603763", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Flink is not adding any data to Elasticsearch but trying with input file as source adding data to ES I'm using the flink data streaming API, but I was able to create and submit a Flink job that would take some JSON input files, aggregate them, and then place the results in Elasticsearch. But when i use kafka as sour...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603769", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Hive table with csv having an xml column I am trying to create a hive table with csv file that has an xml column. I tried to create the table and specified string for the xml column but it does not work... I wonder how to manage this xml column ? Thanks for your help
{ "language": "en", "url": "https://stackoverflow.com/questions/75603771", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to convert kerberos ticket into hadoop.auth cookie for the authenticating Http Hadoop Clients My goal is to access the oozie Api's and deploy the jobs in the cluster. We have the kerberos authentication enabled to access the Oozie web console or the Oozie Api's. While I am trying to find the authentication and f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603772", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fetch row data with key/value from array of structs using PySpark SQL I have a large dataframe (30 million rows) which has the following columns where one column is an array of structs. I'd like to fetch all the id by querying for a specific key or a key/value pair. +--------+--------------------+-------------------...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603774", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: MariaDB SQL Recursive query as subquery I have a data structure where: * *a vendor has a contingent (multiple vendors can use the same contingent, that's why it is different tables) *A contingent can also have a parent contingent (unlimited in depth) *If one of the contingents in the chain has nothing left, the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603775", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why is npx create-react-app dojo-blog not working when I type it in my command prompt picture When I run npx create-react-app dojo-blog, it starts installing, after sometime it throws up that error in the image attached A: clear the cache and re-run the command $ npm cache clean --force $ npx create-react-app dojo-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603778", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Express-session bug in Nodejs I want to open a session named req.session.q with express-session at '/get Random Que' but when I call this session on '/que' its value is 'undefined' app.get('/getRandomQue', (req, res) => { fs.readFile('data/data.json', 'utf8', (err, data) => { if (err) { console.error(err...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603783", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Как сделать fps show I’ll tell you about my code, here it is, it reads the frame rate, I don’t know if it works in other applications and whether it shows it to me, I don’t know, but it works cool in my application! tis = new TimerTask() { @Override public void run() { runOnUiThread(new Runnable()...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603785", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular 15 With @abacritt/angularx-social-login sign in with google popup opens automatically I'm building an Angular 15 app with a sign-in with a google option. Unfortunately on the page where I have integrated the sign-in with google, a pop-up to choose what account to pick keeps automatically opening upon page in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603787", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ruby SFTP Client This is my Ruby SFTP Client. require 'net/sftp' require 'ostruct' require 'optparse' class Christina Author = "Author => (Nathalon)" Script = "Script => (christina.rb)" Version = "Version => (0.0.1)" def run(arguments) parse(arguments) connect(arguments) end private def pa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603788", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sveltekit: Common +page.server.js file for all routes How can I create a common "+page.server.js" file in SvelteKit that will be read by all pages unless a more specific file exists for a particular page? Most of my +page.server.js files are the same file since I post the current path to my API. It would be great if...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603791", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }