text
string
meta
dict
Q: > Could not find method targetSdkVersion() for arguments [33] on extension 'android' of type com.android.build.gradle.internal.dsl.BaseAppModuleExtens android { compileSdkVersion 33 targetSdkVersion flutter.targetSdkVersion ndkVersion flutter.ndkVersion compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 ta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570640", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Showing tooltips in chart.js when mouse hovers a point Problem with tooltips - need help with Chart.js - Showing the tooltips when mouse hover the points of a chart. Added all parameters, but tooltips are still not showing. The gd parameters is a sample. :( The code below: $(document).ready(function() { var da...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570641", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: integrating balkan orgchart.js with mysql How to integrate Balkan orgchart.js with MySQL database I just found Balkan integration of orgchart.js with MsSQL. I hope to get help from anyone because I work in PHP. Thank you for your all attention.
{ "language": "en", "url": "https://stackoverflow.com/questions/75570642", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to load i18 translation files from remote MicroFrontend on create react app? I have two microfrontends A and B created using CRA. Both has two individual i18 translation files within them. The problem is, the moment the host app(A) loads translation files on app A renders perfect as expected. When I try to load ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570643", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I display the number of questions for each category in each level? I have one table named questions with fields: id,cat_name,question,level There are six categories and three levels( easy, middle,difficult). How can I display the number of questions for each category in each level? <table id=""class="table t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570646", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: react native ios build failing on App Center with error "Undefined symbols for architecture arm6" for Realm library Error shown below. The thing is, it builds and runs fine locally using xcode, but when I use App Center to build it, it breaks. xcode version 13.4.1 node version 16 **023-02-24T03:26:57.5451010Z Undef...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570647", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: JavaScript when array input = [], the length is still counted as 0? Why? I was solving this codewars quiz, the requirement is as follows: Return an array, where the first element is the count of positives numbers and the second element is sum of negative numbers. 0 is neither positive nor negative. If the input is a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570650", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Is it possible to write sorting code with θ(n) complexity Is it possible to write Java code that has a θ(n) complexity and sorts n distinct integers ranging in size between 1 and kn inclusive (k is +int) edit: pseudocode void sort(int n, int S[]) { int temp[] = int[k*n]; index i, j; for(i=...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570653", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Python Script running extremely slow I have a script that goes into the Google Sheets, gets some data in to Pandas, manipulate the data, request some additional data from websites and paste at Google sheet the result from the script. The whole process used to take 30 sec. now it takes 45minutes! MINUTES!!! I have no...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570657", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to get value from json object url in android I am trying to get url from a json { "file_length":300, "versions":[ { "size":38267700, "url":"https:\/\/sto006.sh-content.com\/v\/01\/00158\/v4h6zad7kdr1_n\/v4h6zad7kdr1_n.mp4?t=x7xUQpMLNKmr2glDAIN6YetW_hucsU9gzLOq6ifOuWw&s=1677397458&...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570658", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: findOne() buffereing timedout I have the following mongodb schema and model in user.js file. The model is "User" and exported the same. const mongoose=require('mongoose') const usersSchema=new mongoose.Schema({ email:{ type:String, required:true, unique:true }, passwo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570659", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Is there any way for me to "stay on" (?) an iteration in a loop until a seperate condition is fulfilled? I am recreating wordle in C#, but I am having trouble with my loops/arrays. Below is my code: private static void runGame() { try { // Open files answersInFile = File.OpenText("WordleAnswe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570661", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: No quick info in disassembly view I'm trying to write an extension for Visual Studio based on https://github.com/microsoft/VSSDK-Extensibility-Samples/tree/master/AsyncQuickInfo. I want to show quick info if mouse hover on mnemonics while debugging (the disassembly view). But it doesn't work as expected, it only dis...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570662", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do we script so that Google Colab switches to another cell conditionally? I wanted to conditionally go to the next cell in Google Colab but I searched a bit but didn't find any way to do it. print("1 or 2") choice = input("") if choice == "1": SCRIPT TO GO TO THE NEXT CELL if choice == "2": print("2") I al...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570666", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Activtion error problem in kali linux while using openvpn for the hackthebox I am just using hackthebox labs while doing my 1st problem they mentioned to connect vpn to connect the machine.I do as they mentioned but i am getting this type of error. 2023-02-26 01:31:18 Cipher negotiation is disabled since neither P2M...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570667", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: creating scalable nested multi layout routes - react-router-dom v6 I am creating a React 18 application based on multiple layouts. Pre login layout - same theme for a set of pages Post login layout - different theme for the rest of pages. The architecture looks like below: PreLoginLayout |_ Landing ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570669", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Generating CREATE TABLE sql from Hibernate entity classes in Spring Boot? I need to generate CREATE TABLE SQL statements for schema.sql in a Spring Boot app where I create my entities using Hibernate. Normally, I would prefer using Flyway and generate table creation scripts via JPA Buddy plugin. But this time I have...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570673", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Get all issues from JIRA Cloud using pagination loop I am very new to Python. Trying to get all issues from JIRA cloud using the below code. But due to pagination I am unable to get more than 50 rows but I have a total of 500+ rows in data. I tried a lot to do a for loop but unable to get the output as JSON file wit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570675", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I find which commit added a file? Something strange is happening in my repo. A file I've never added or staged suddenly is shown as added and committed and if I change it, it is not that I am adding the file but "modifying" it. How can I find with git which commit added a particular file? I've tried to manua...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570683", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: DOMTokenList.toggle: The token can not contain whitespace I'm trying to add classes to my element with this code: menu.classList.toggle('fa fa-times'); navbar.classList.toggle('active'); I'm getting an error because there should not be a space between the class names: error: DOMTokenList.toggle: The token can not ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570684", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The input device is not a TTY-- Docker I am facing the input device is not a TTY error when i try to execute docker run[docker run -it $(docker images | awk \'{print $3}\' | awk \'NR==2\')] command from jenkins file to enter into container, but its throwing error input device is not TTY, then i tried with detacedh ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570687", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Turning one-line-per-event into one-line-per-patient, but keeping dates of EACH time different types of event occurred Edit: When I made my toy model, I hadn't realized people would (very logically) latch on to the redundancy of the variables diagnosis and *_disorder. In the real dataset, the diagnosis variable is a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570688", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Swagger is using schema host instead of current server I am working with swagger , Django. I have used drf-spectural library. I have created one schema.yaml using openApi docs. And i have one docs/api/ API Url for swagger documentation . When i am executing API from documentation it is taking Host url of static file...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570691", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to broadcast data to multiple devices connected to a network over Ethernet? I have a device that is connected to three other devices over Ethernet, with the IP addresses of the three devices being 192.168.1.10, 192.168.1.11, and 192.168.1.12. I want to broadcast measurement data from my device so that the other ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570693", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Athena Parallel Unloads to the same location Typically when I run an UNLOAD query in Amamzon Athena to a directory that already has files in it, the query will error out as intended. However, in my use case, the same UNLOAD query can be called in parallel by two different threads to the same location. When run in pa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570695", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why when I export shapefile to CSV in R the file result does not maintain the same structure? I have a shapefile with three columns: gid, which is the ID, rud, the variable I am interested in, and geometry. I am trying to export that shapefile to csv with the following code: write.csv(grid, "path\\grid_rud.csv") wh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570697", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ReactiveUI and CanExecute: How to validate boolean variables Because of AvaloniaUI I am confronted with ReactiveCommands. While the excecution part is quite easy, I would like to manage the canexecute part. In particular, I need to check some boolean properties of a socket. As they change asynchronously, I would lik...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570699", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to share my port 8000 via adsl modem tplink? I am a laravel developer , I am working with a front end developer that he want to test my api on port 8000, how can I share my port 8000 via adsl modem tplink td8961n ? I tried to set my Ip address and port 8000 on Advance Setup > NAT > virtual server, but it did not...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570700", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: EXCEL formatting duplicating I want the column to make special formatting to duplicated cells if the cell contain " part of the value of another cell " the example as per screenshot at attachment. I would be very grateful if anyone helped me to solve this problem, Thanks in advance I've searched a lot on YouTube but...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570701", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Division of this calculator is not working Code: //Packages import java.awt.Color; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.SwingConstants; //Calculator Code in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570703", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: if text input equals go to webpage I am currently using ionos for my website and i no coding experience at all, hoping for html help in doing this I have 12 codes abcd, abce, abcf, abcg, abch, abci, abcj, abck, abcl, abcm, abcn, abco If a person types in the input box abcd then select submit they will be directed to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570704", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: How to download stopwords in jupyter showing the error in stopwords I want to download stopwords in jupyter but it shows an error enter image description here import nltk nltk.download('stopwords') The error is in the picture I have posted please look into it. Can anyone tell me how can I fix this error? import nltk...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570713", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Docker Run "executable file not found in $PATH: unknown" I am a newbie trying to learn Docker. I am on WSL2 with Docker Desktop installed and running. I have a rust application that just runs a simple Actix web server. Here is my Dockerfile: FROM rust:1.67 WORKDIR /usr/src/myapp COPY . . RUN cargo install --path ....
{ "language": "en", "url": "https://stackoverflow.com/questions/75570718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to create a Bank System in vb.net using classes Create a class called Account that stores the customer name, account number, and type of account From this, derive the classes CurrentAcc and SavingsAcc and make the specific to their requirements Include the necessary methods in order to achieve the following task...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570719", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Question about realizing a random walk in random environments in R The context of this problem is a random walk on the real line with the one-step transitional probability (0.4(right), 0.6(left)) for probability 0.3 and the one-step transitional probability (0.7, 0.3) for probability 0.7 I am trying to realize a ran...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570732", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create a specific json object from rest api response I have a scenario where i am uoloading a csv file in a datatable and on button click i am sending all the rows to a endpoint api where they will be processed one by one using async function .I am sending this below payload to a rest api which in a async function v...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570737", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: foreach not applicable to type 'java.lang.Object' & Cannot resolve symbol 'getTimeStamp' & Cannot resolve method 'split' in 'Object' I have problem with these things been tried many ways but still same problem https://shrib.com/#Harmony732Ojbr this file contains all code please can someone fix it?
{ "language": "en", "url": "https://stackoverflow.com/questions/75570739", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Query to count and filter records This is my data: ACCOUNT PARTNER ADDRS_NUM HL124 2341 ASD123 HL124 2341 SDF234 HL124 234N SDF234 HG225 45BV QWE345 HG225 72AA QWE345 UY150 8846 CCC204 Need to get ACCOUNT that has more than one PARTNER & ADDRS_NUM are different. In above case, only we need to g...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570741", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to prevent mouse for been released from range input each time state changes? I'm making a random notes tool with react, which allows you to change tempo with a range input. The problem is: Each given time the state change to show a new note on screen but also it makes the mouse get released making a not-very-smo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570744", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Plugin with id 'com.goggle.gms.goggle-service' not found * *What went wrong: A problem occurred evaluating project ':app'. Plugin with id 'com.goggle.gms.goggle-service' not found. BUILD FAILED in 2s Exception: Gradle task assembleDebug failed with exit code 1 this build graddle android dependencies { cla...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570746", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to loop over the items in Django? I was stuck to loop my table in template and put only 4 teams in each table. Here i want to create table groups stage of football. My Table_Team has 8 teams. So, i want my table in template looping where the table each has 4 teams. So,how to do it? Here is my Table class Table_T...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570747", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Data not save in the database table I created sample java project and try to save data with JPA. able to connect with the database as well as able to create the related database table(named laptop) as well as. But when i try to save data(Laptop object). Those data not in the database table(in laptop table) persisten...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570750", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to show div element next to button in reactJS table How to show div element next to button in reactJS table I am using a table component and where I need to show some option in small window which can get close once I click outside. options : Action button in table. : Now I am able to close the window but the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570751", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to run this code to see result ? ( I've added a video ) I am trying to run this code and can't see result I've tried from console ( cmd ) and from PyCharm How does run this code to see an hourglass ? https://github.com/joshuagladwin/The-Big-Book-of-Small-Python-Projects/blob/master/Projects/Project%20%2336%20Hou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570754", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: var/lib/jenkins/jobs/somejob/workspace/.venv/bin/python3 is used on pip install On my Ubuntu 22.04 LTS machine with python3 and pip 22/23 I have a strange situation where after doing an pip install -U py-3rdparty-mediawiki calling any of the scripts installed such as wikibackup -h leads to strange error messages a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570755", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error installing ns-allinone-3.37 on Ubuntu I'm installing ns-3.37 in my Unbuntu 22.04 on Macbook, after running ./build.py --enable-examples --enable-tests I get error message Entering directory `/media/psf/Home/Desktop/ns-allinone-3.37/./ns-3.37' => /usr/bin/python3 ns3 configure --enable-examples --enable-test...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570757", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: (Building a lexer in Racket) How to identify & tokenize a line number that comes after a "gosub" statement I am new to racket and am building a Lexer using the parser-tools/lex module and want to be able to tokenize a number that comes after a 'gosub' statement as a line number token. I am having trouble trying to f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to solve the Index error: tuple index out of range I have this code for taking measurements of a human body using a web camera. But I'm keep having the following error. Traceback (most recent call last): File "c:/Users/user/Desktop/Body detect/measurements4.py", line 23, in <module> results = pose.process(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570766", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to assign types for a variable on the window object in Typescript? I like to use Bootstrap but not the ESM version but just load the bundled normal version with its global object and automated functions ... So I installed npm install @types/bootstrap --save-dev import type * as bootstrapTypes from 'bootstrap'; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570769", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to instruct Spotless to ignore a code segment? How can I instruct the Spotless code formatter to ignore a specific code section? I wrote this Java code section: String content = Joiner.on(System.lineSeparator()).join( "services:", "- name: name", " image: artifacts-dev/image" ); Spotless formats ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570772", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Decode specific part of JSON response using a model conforming to the Codable protocol Suppose I have an API that consists of this sample response with a structure like this: I create a model like this: struct Post: Codable { var id: Int var title: String var body: String var userId: Int } When I t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570776", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google Script - Google Sheets TimeZone Issue - how to convert visible data ignoring timezone formatting I am facing an issue with TimeZones in Google Scripts and Sheets. I want to ignore the GMG and read visible value of the cell. When the new record with a new booking is created by Zapier, it inputs the date in a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Trying to understand some 65c816 assembly code—what is the purpose of this ordering of instructions? I'm new to assembly and trying to piece together what this piece of code is doing. Here's the Super NES 65c816 reference I'm using. 01: $A4917E AD E5 05 LDA $05E5 [$A4:05E5] 02: $A49181 29 3F 00 AND #$003F 03:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570779", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: pip show does not show Summary, Home-Page, Author and License see also https://github.com/pypa/hatch/discussions/763 This question is for the WolfgangFahl/py-3rdparty-mediawiki#92 for which https://github.com/WolfgangFahl/py-3rdparty-mediawiki/blob/master/pyproject.toml was created as shown below. The Summary, Home-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570780", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Varies result for SQL function and Query I have a SQL function that contains a simple Select Count query, and it gives the correct result when running the query in SQL mode whereas the result is different when the same query is used in a function. Both scenarios are as here; 1. SQL Query SELECT COUNT(*) FROM respons...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570781", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to add a PERSISTENT watcher to a znode using Java ZooKeeper API I want to be notified of every creation/deletion/change of a particular znode. I am able to watch for one event, but I am not sure how to re-register the watcher again. The documentation offers an addWatch method with AddWatchMode public void addWat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570782", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Postgresql loop? Suppose I have this data. customer_id start_date last_date difference_month 1 08/12/2022 12/31/2022 4 And my goal is to make this table look like the one below. customer_id payment_date 1 08/12/2022 1 09/12/2022 1 10/12/2022 1 11/12/2022 1 12/12/2022 I'm using Postgre...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570783", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What could be causing Python to stop working when trying to import Pygame module? I am running a program which imports Pygame on VS code. When I run that program the error 'python has stopped working' appears. Can someone please help me out to solve this issue. I have 32 bit python installed on my computer. And the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570784", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: How to exclude files when IncludeAllContentForSelfExtract is used? I have a Console app that is using PowerShell SDK. The SDK produces additional directories (ref,runtimes) when building app. The folders ref and runtime are part of NuGet Microsoft.PowerShell.SDK - List of NuGet Package Folders/Files. I can remove th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570788", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does the turtle not respond to the y border? I am making a turtle game with map borders, but my turtle only works with the x borders, just skipping the y ones. Anyone can help? def gameplay(): t.forward(10) t.heading() time.sleep(0.1) sc.onkey(turnleft, "Left") sc.onkey(turnright, "Right") ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570791", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: SSL Decryption Error when using git and pip on Windows When calling pip, e.g. pip3 install pillow --user [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2548) when calling git clone on any repository I get: remote: Compressing objects: 100% (66/66), done. error: RPC failed; cu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570792", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to pass json object from PVA to Bot Composer I have a PVA topic that is generating a json object as an output, that I want to use and access in Bot composer framework to create an adaptive card. The links array here is an dynamic array i.e. no of items inside that array can vary. Sample output from PVA: { "out...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570793", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: capture gsap animations as does the "animation" tool in chrome As the animation tab in chrome capture the standard css animation, : is there a way to capture gsap animation and timeline ? As it modified directly the style property of each element, It doesn't appear as an animation. It might not be the exact explana...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570794", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Sqlite3 Database is locked not able to insert values in database I am trying to insert the values in sqlite database using C++ but it is showing the error message that "Cannot insert database is locked". But no other process is not accessing the database. Don't know what is the issue. I've tried all the steps. BEGIN...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570796", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to access the main Serializer when using a separated Serializer for structs When I write a Serializer for any data format, I have the option to separate the Serializers for the more complex types. pub struct Serializer { output: String, } impl<'a> ser::Serializer for &'a mut Serializer { type Ok = (); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570798", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: i cant use node modules package i have a js file: <script type="module" src="{% static 'admin_panel/assets/js/sendAxios.js' %}" > I use it in this way: import axios from "axios"; But it gives the following error Uncaught TypeError: Failed to resolve module specifier "axios". Relative references must start with eith...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570800", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How does ls, exa, lsd compute columns and rows when printing filenames? what's should be the logic behind ls, exa, lsd command when computing how many rows and columns is needed depending on the terminal width. what I currently know is by using terminal_width / max_length_of_filenames which is a step behind of what ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570802", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How spl_autoload_register works? Today I met with the spl_autoload_register. Well, Its functionality and flexibility are really great. However, I just wonder how this SPL function works. Lets say I have a file that is named as Animal.php. On the another hand, I have another file that Index.php includes the code in t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570803", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to fetch data from PHP more simply, or how to filter the ones that I got? I'm building a business listing website, and fetching all data from a database. The problem was that if I wrote a function for all the boxes uniformly, only the first one with the specified id would work. So I got the code below to do the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570807", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Finding common values in a Dataframe and inserting into a new Dataframe Let say I have the following dataframe in Python: A B 1 1 2 2 1 3 3 1 4 4 2 3 5 2 5 6 4 2 7 5 3 8 5 4 How can I search both columns A & B for common values and extract both the distinct and common values into a new ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570810", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Split multiple email address and output to 3 columns (username, domain, extension) in Postgresql I am new to Postgres and would like to learn how to split multiple email address at once and the final table ouput would have 3 columns username, domain, extension. For example I have multiple email address. robert.bryne...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570811", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to combine two or multiple existing graphs Is there a way or query to combine data that exists within two or more existing graphs? If so, what would be the appropriate terminology to use for this? A: I guess this question is related to one of the previous questions. Check this out I guess this will answer your ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570812", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Input affects both sprite infront and behind it in Godot I have two scenes in Godot, one for the game scene and one with a sprite, the sprite is going to spawn into the game scene at random, the player will have to click the sprite when it spawns into the game scene once the sprite is clicked it disappears and the p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570813", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python and WMI Win_32 classes How can I iterate through system summary and components of WMI. I wan't to print something like hardware resources, components, software environment. I also wan't to be able to show the components like Multimedia, CD-ROM, Sound Device, Display... I want to use WMI and WIN32_classes. So ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570814", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't login with google.auth Python import google.auth import os from googleapiclient.discovery import build from googleapiclient.errors import HttpError credentials = "./token.json" os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = credentials scopes = ["https://www.googleapis.com/auth/classroom.courses.readonly", ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570815", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to trigger functions of Autodesk.Viewing.Extension Class from outside? I would like to trigger functions of Autodesk.Viewing.Extension Class from outside of the class. For example PinMarkExtension.js class PinMarkExtension extends Autodesk.Viewing.Extension { constructor(viewer, options) { super(viewer, op...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570817", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pynamodb last_evaluated_key always return null I'm using Pynamodb for interacting with dynamodb. However, last_evaluated_key always returns null even if there are multiple items. When I run this query results = RecruiterProfileModel.profile_index.query( hash_key=UserEnum.RECRUITER, scan_index_forward...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570820", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to use BCryptVerifyPassword How to use bcrypt in C++ MFC project to verify password hashes in database? Currently there is a section of the database with bcrypt encrypted hashes. I have successfully connected to the database in C++ MFC and can get the data. I wrote a piece of code, but I can't seem to use BCrypt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570822", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Which is the best approach for monitoring using InfluxDB and Grafana? I currently have a set of Java applications that I want to monitor a handful of metrics in. This I do by storing the data and the time it was logged using InfluxDB, and then displaying it using Grafana. Right now I have two different approaches fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570823", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Selecting strings of repeated digits from an integer I need to write a program that, given an integer, finds strings of repeated digits and returns them as an array. For example, given 1234555567899944, the program needs to return [5555, 999, 44]. Here's what I have so far: a = 1234555567899944 arr = a.to_s.split(""...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570826", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Sharepoint Microsoft Graph API limit I am trying to make a an application that will use the Microsoft graph API to connect to Sharepoint to do various tasks. Recently I have found that there is a throttling/blocking limit for the API, see: Microsoft Documentation Page Now I have some questions I want to clarify, if ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570828", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: azure cli to add scope to app registration I have a powershell script that runs az cli to add a scope to an existing app registration. param ( [Parameter(Mandatory = $true)] [string]$serviceAppRegAppId ) $uuid = [guid]::NewGuid() $api = @{ acceptMappedClaims = $null knownClientApplications = @() ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570831", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Symfony 6 problem when uploading files in production With my project symfony, when deploy my website on hostinger, i have a problem with my uploading files. The files i want to upload on my website must be store in "/public_html/css/images/" but symfony create a new directory named "/public/css/images/" I try to res...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570832", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Warning : session_start(): Failed to read session data I upgraded to PHP v8.1 because the hyiplab Wordpress plugin requires it, but now the wp-admin dashboard shows the below error. Error: session_start(): open(/var/cpanel/php/sessions/alt-php81/sess_5gbcpf3lh57is500hflrvlugpm, O_RDWR) failed: No such file or direc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570834", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How can I replace an image based on result of ajax request? I'm making a bingo style game. I generate cards with images in each cell. When a cell is clicked I want to change the cell image based on the response to an ajax call. I have tried many variations of the following code without success: $(document).ready(fu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570836", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to install ifb module in ububtu When run modprobe command get error root@my-pool6:/opt/calltest# modprobe ifb modprobe: FATAL: Module ifb not found in directory /lib/modules/5.4.0-107-generic So I want to install the ifb moudle in the ubuntu, how to install it ? The ubuntb info: cat /etc/os-release NAME="Ub...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570837", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: oauth 2: Disabling pkce, what are the risks? web app only can I safely disable it? I've recently had an assignment to incorporate another application into our platform. I have one login component written in react. I wanted to reuse it for the authentication and only on demand change the redirect url to the second ap...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570838", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Asyncio run Task conditional of another Task I want to run a task infinitely. Basically, the script needs to do the following: * *check each week if there is a match *sleep until the match starts *create a connection with the websocket *check the status of a match using a subscription query *depending on the s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570839", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pandas ewm correlation - not rolling I have the following pandas dataframe: a b c 2023-01-01 35 34 17 2023-01-02 85 54 31 2023-01-03 33 8 27 2023-01-04 95 9 45 2023-01-05 71 98 7 I want to calculate today's (2023-01-05) EWM correlations between the 3 series. I tried correls = data...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570840", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to load .elf file through QSPI&flash memory with help of lauterbach? I wrote lauterbach script for read and write (dummy data) to/from flash with help of QSPI. But I don't know how image(.elf) read and send to as a parameter to write API. Write API have Entry &address &data ;QSPI configuration ;erase sector &num...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570844", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Collapse Menu or NavigationView in Android? setSupportActionBar(toolbar); ActionBarDrawerToggle toggle = new ActionBarDrawerToggle(this,drawerLayout,toolbar,R.string.navigation_drawer_open, R.string.navigation_drawer_close); drawerLayout.addDrawerListener(toggle); toggle.syncState(); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570846", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: DontDestroyOnLoad doesn't work for me in unity I am working on an application that works as a GPS for a small sector of a public place. In short, on my map I have objects that are the locations (rooms) in this place. What happens is that I do not want these objects to be destroyed when one changes scene, because oth...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570849", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Parse file of group and user names ansible Any idea how to parse this file in order to create users and groups using ansible builtin user module: data/users.yml admins: # this is group name - rob # this is user name - david - joy developers: # this is an other group name - tim - ray - jim - mark A: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570853", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to change Label font size in Python FMX GUI app I'm using the DelphiFMX GUI library for Python and trying to change the font size on a Label component, but it's not working. I have the following code to create the Form and the Label on my Form: from delphifmx import * class HelloForm(Form): def __init__(sel...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570857", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: about "TypeError: 'dict' object is not callable" I am new to Python I get an error when trying to print the dictionary. I could have done with just "d" without the "print" code, but what is the reason? thanks
{ "language": "en", "url": "https://stackoverflow.com/questions/75570859", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: django-two-factor-auth[phonenumbers] got a redundant migration -> psycopg2.errors.DuplicateTable: relation "two_factor_phonedevice" already exists I'm facing the following database creation table error when spinning up a django project from scratch when I have django-two-factor-auth[phonenumbers] in my requirements....
{ "language": "en", "url": "https://stackoverflow.com/questions/75570862", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to install mitmproxy2swagger in Kali Linux Operating System is: Kali GNU/Linux Rolling Kernel: Linux 6.1.0-kali5-amd64 └─$ python --version Python 3.11.2 └─$ pip3 --version pip 23.0 from /usr/lib/python3/dist-packages/pip (python 3.11) └─$ python -m pip3 install --upgrade pip /usr/bin/python: No module named...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570866", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to do testing on an array of objects using jest? I have an array of objects in the following format - var a=[ { "name":"Alex", "DOB": 1677400634 }, { "name":"John", "DOB": 166400634 } ] I want to test that for each object in the array the name is a string and DOB ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570867", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Swiftui MapKit in dark mode It is possible to swtch Map only in dark scheme mode? Ignoring user settings. Tried .preferredColorScheme but it swich mode to all app views.
{ "language": "en", "url": "https://stackoverflow.com/questions/75570868", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Unable to install any VSCode Extensions or Themes on Windows Whenever I try and install any extension in VSCode on windows i get the following error. Regardless of which extension or theme. 2023-02-25 20:24:39.506 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'github.vscode-pull-request-github'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570870", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }