text
string
meta
dict
Q: How can I run a VS Code task based on the current selected C/C++ configuration? I want to run a VS Code task based on the currently selected C/C++ configuration (defined in my .vscode/c_cpp_properties.json file) by using the when task property in tasks.json. How can I retrieve the name of the current C/C++ configura...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561236", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I persist this state after page refresh? Hi everyone I am struggling to find a way to persist the value of my state after page refresh. Currently I have the value stored in local Storage and I try many solutions to make the user stay logged after page reload still did not work. Every time when I refresh to p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561237", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Add comments/description inside a formula Right now I make another sheet in the document and then write there the more complex formulas with short descriptions of what they do. The problem with this method is that it takes time to correctly reference each cell and sometimes is even confusing as you need to go back a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561239", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Basic use of ajax to pass javaScript variable to PHP Okay so this is my first big programming project and I'm really close to completion but I can't seem to pass data from javaScript to PHP. I've spent hours searching through here, w3schools and geeks4geeks though can't seem to find what I'm looking for though I'm s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561241", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: start methods list in unity I want to add scripts to a list (via Unity) that will be executed at a certain time. Here is an example image:
{ "language": "en", "url": "https://stackoverflow.com/questions/75561246", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Run Decimal to do compairshion in Python (Jupiter Notebook) Environment is Jupiter notebook start from anaconda, all package updated. Here is my code: import math from decimal import * getcontext().prec = 10 print(Decimal(.1)+Decimal(.2)) print(Decimal(.1)+Decimal(.2)==.3) if (Decimal(.1)+Decimal(.2))>.3: p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561248", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: unable to retrieve my data-name attribute Hello I have a purchase order in which I want to retrieve a data-name to put the parent class in invisible, but it does not seem to work Surely an error in my code or so I have to look for another way. I give you my code in the hope of finding a solution to this problem. But...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561250", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Implementing the spinbutton role - handling touch gestures The MDN docs on the spinbutton role state that if an input has the role, it should support user gestures for increasing/decreasing values: Warning: To change the spinbutton value, touch-based assistive technologies need to respond to user gestures for incre...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561256", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: preg_replace(): The /e modifier is deprecated, use preg_replace_callback I've looked through at least two dozen of the other answers and can't find anything directly applicable to my code. I'd be glad to be pointed to the two dozenth + 1 answer. :) I'm trying to update a script to use newer PHP versions to use preg...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561257", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can one make rustfmt allow iterator adapaters on separate lines? In the rust rust book, the section on improving with iterators demonstrates putting iterator adapaters on a separate line like so: pub fn search<'a>(query: &str, contents: &'a str) -> Vec<&'a str> { contents .lines() .filter(|li...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561258", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQLAlchemy execute() return not only the value of the cell in database I execute the following code in my "app.py" and it works, while session.execute return not only the value of the cell but also characters like () and ,. var = db.session.execute(text(f"SELECT city FROM world WHERE country = Germany")).fetchone() ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561259", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SVG as a background image no longer works after Wordpress-Site switched to HTTPS I made a website using WordPress and an Envato theme. To create some nice design elements between the sections on the sie, I use SVGs as background images via pseudo elements: #hero::after { content: url("data:image/svg+xml,%3C%3Fxml ve...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561260", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to aggregate entities in Core Data relationships to an attribute of type [Any]? I'm working with Xcode, SwiftUI, and Core Data to program an app. The Core Data model consists of, among other things, a "skill" entity and multiple "question" entities. There is a many-to-many relationship to each questio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561261", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Updating string elements in a list in Python I have a list of string elements where list = [X, Y, Z]. I want to update the elements in the list such that it becomes [X_AAA, X_BBB, X_CCC, Y_AAA, Y_BBB, Y_CCC, Z_AAA, Z_BBB, Z_CCC]. Essentially, I'm appending AAA, BBB and CCC to every element in this list of strings. W...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561265", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: How many additional images a product has assigned in Magento 2 - SQL query I am creating a query that allows me to see, through a sql query, how many additional photos (additional_images) each product has in Magento 2. But something is not working. SELECT COUNT(*) AS num_additional_image_labels, product.sku FROM cat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561271", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to fix this problem when generating a pseudorandom number in Python? import hashlib import time def random(): hashtime = str(int(time.time() * (10 ** 6))) encoded = hashlib.new("sha3_512", hashtime.encode()) decoded = int(encoded.hexdigest(), 16) dcsmall = decoded / (10 ** (len(str(decoded))...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561272", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Messages not appearing when calling Discord bot command I wrote this script for a Discord bot to display stock information when calling the !stock command. I'm using the discord.api and yfinance libraries for Python. Bot is online when running the script I've written, with the output looking something like this: 202...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561274", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Wordpress: Woocommerce Subscription: Uncaught Error: Call to a member function get_order() on null I have been receiving this error. I am not sure what causes this issue. I would appreciate your help! Error Details `An error of type E_ERROR was caused in line 86 of the file /home/5cb4e3b3f911cf0dc86f377b/public_html...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561278", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: formatting date and values the result i want is format and aligned that is 1 space after YYYYMMDD, HHMM and P seven spaces and when its two or three digit it should move left not right beyond 24 width formatted_df = df.apply(lambda row: f"{row['YYYYMMDD']} {row['HHMM']} {row['P']:.1f}\n", axis=1)
{ "language": "en", "url": "https://stackoverflow.com/questions/75561280", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When i give postgres Db username and password from karateconfig.js getting authentication error When I give postgres Db username and password from karateconfig.js getting authentication error var config = { env: env, db_username: karate.properties['karate.db_dev_username'], // username am passing from command db_pas...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561282", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Sudoku with Python and recursion I have been learning python for a couple of months now and I wanted to build my own Sudoku. I know that there are plenty of videos os YouTube on how to do it but I started out with my own thinking, and now I got to a point where I am completely stuck! I looked up some solution online...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561283", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create ios shortcut to send email of Hacker News article using Share Sheet I'm having difficult with trying to send an email of a current Hacker News article I'd like to save and read later (yes I know that's what read-it-later apps do, but that's not how I work in my process). Currently I can Mail the article with ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561284", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Scrolling a child div dynamically when the parent has max-height I have a side panel that should be exactly the height of its content, up to some maximum height. Inside is a gallery of components which should scroll if it overflows. I can't get it to scroll with max-height on the parent container. If I set a some va...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561292", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Getting error - Error occurred during initialization of VM we have JAVA 8 and JAVA 11 on server. Trying to run, $ANT_HOME/ant -buildfile ./build.xml error occurred during initialization of VM java.lang.InternalError: Could not create SecurityManager: allow at sun.misc.Launcher.(Launcher.java:106) at sun.misc.Launche...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561294", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the problem with indentation in this pdf text extractor's code? I had a working application, until I attempted to retabulate/indent all the code with tabs instead of spaces, however it now won't run due to an unexpected indent in line 22 (if total==120) of the following code: def open_pdf(file_path): print('...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561295", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: rp2040_hal SPI initialisation no read, write, transfer function My struct has a member which is a SPI type from the docs. pub struct TMC429<D, CS, const DS: u8> where D: SpiDevice, CS: OutputPin, CS::Error: core::fmt::Debug { spi: Spi<Enabled, D, DS>, chip_select: CS, motors: [MotorConfig;...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561303", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Using MediatR without CQRS I'm thinking about using MediatR in my .NET 7 web application because I like that it helps keeping Controllers thin. This way, assuming I wanted to switch from a "classic" web application with razor views to a .NET 7 Web API with another FrontEnd, I could reuse much more BackEnd code. In m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561304", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Duplicate the parent tag with its child tags in xml using python I want to duplicate the parent tag with its children depend on the number of items of the user input in python. This is the xml: <Invoice> <cac:InvoiceLine> <cac:Item> <cbc:Name>Item A</cbc:Name> <cbc:Percent>20</cbc:Percent> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561306", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Toggle Hide/Show - Stay visible after page reload/refresh (Cookie Seetings) I'm currently building a lot of toggle events to show hidden content on my webpage. When a user first logs in, he/she will see only limited elements. It is necessary for the user to follow the step-by-step process and click on the toggles to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561312", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Writing long string to stdout in nodejs results in partial writes When writing a string to stdout on node js, if the string is really long, it is only partially written. I understand this is because of buffering in the stream.write method. In order to solve this problem I write the string a few chars at a time, but ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561316", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: View Logs of Running Tasks in AWS Opensearch through application logs I'm currently running some long-running AWS OpenSearch tasks that I want to track in a Cloudwatch Metric dashboard. I use update_by_query and wait_for_completion == False so the job runs on OS. It gives me back a task ID and I understand I can acc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561317", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SpringBoot Cannot resolve symbol '$in' I am connecting springBoot application with the mongo db in the repository as below : ''' @Query(value = "{'deleted':{$in:[true]}}") ''' It gives me an error "Cannot resolve $in" I get error in @repository on $in
{ "language": "en", "url": "https://stackoverflow.com/questions/75561318", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Terraform using output from another module doesnt work due to: Can't access attributes on a list of objects I am trying to do something straightforward in terraform, referencing the output of one module to use in a different module. I am doing things exactly as all expected answers on StackOverflow and terraform doc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561319", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Most efficient conversion between USCD Pascal style Strings and Swift Strings A data file contains (among other data) USCD Pascal style Strings which are an contiguous array of bytes prefixed by a length byte but with no trailing zero, and may have a length of zero to 255 only. The requirement is to read these from ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561321", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dropbox Python API - Team Folder Access I am trying to connect to Dropbox to read in a csv into my python program. I can currently connect, but I can't access the folder I want to access. I configured my app to have all access. When I click on "All Files" in Dropbox Desktop, I currently have two folder there- We'll ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561322", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Multer fileFilter invalid file uploaded results in client page getting stuck loading incomplete html file For whatever reason when I try to upload a file that isn't of the accepted filetypes, the res.render sends an incomplete view. Only about 90% of the html <head> is sent and the client page just says "Connecting....
{ "language": "en", "url": "https://stackoverflow.com/questions/75561324", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I scan cards and know when it have been successfully evaluated, without making an API call? So I have coded this: import cv2 from PIL import Image import pytesseract import re import time vid = cv2.VideoCapture(0) def getText(frame): # TODO Do I really need to convert to PIL from numpy array? im = I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561325", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I call still use my image uploader without requiring an image to post? I am trying to let users create their own posts with an optional image if they want to add it. My images are all optional, but my code is still requiring an image to post. I think I've narrowed it down to a discrepancy between the uiimage...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561327", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I face a problem with make a website using Wordpress I want free template for checkout page that provides pay later condition any one can help me in that ? Some one help me to find thw sutable tamplate or learn me how to edit the defult tamplate
{ "language": "en", "url": "https://stackoverflow.com/questions/75561328", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can I upload an asset to Google Earth Engine without a CRS or projection? I am trying to import a photo (as a .tif file) into Google Earth Engine as an asset. This photo does not have a coordinate reference system (CRS) or projection, and it isn't relevant for me to assign it one. I am simply trying to perform a sup...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561329", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Possible bug in SQL Server 2019, any solutions? We did an in place upgrade on one of our lower environment servers from SQL Server 2016 to SQL Server 2019. We have two databases on that server. We put both databases in compatibility level 150. We have a stored procedure that joins Table A to Table B in database A to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561331", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Qt6AndroidMacros.cmake not installed with Qt I'm using arch and installed qt6 with pacman. When configuring for Android, cmake is trying to use this file: Qt6AndroidMacros.cmake However, it is not found at expected path (also, not in my whole filesystem). Tried reinstalling qt6, cmake, base-devel with pacman, no suc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561334", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does locally changing a deep copy of a Vuex store object result in that change being applied to the Vuex store? In my code below I first try to make a copy of some data from the Vuex store in order to change one small thing before sending it to the backend without changing the data in the store itself. I use Lod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561336", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In an SSH configuration file, is there a way to split a "Host" directive over multiple lines? Say I have a number of hosts in my SSH configuration that require the same set of options, but don't follow a pattern (so wildcard matching can't be used): Host foo.com bar.com bin.com Having all these hosts on one line is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561339", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Laravel configuring macros based on request does not work in tests I register a request macro in my AppServiceProviders' register() method to tell if the incoming is a central request, versus a tenant request based on the request host in a multi-tenant app architecture. The process works great over the web, however ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561341", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to break out of SASS nested import I have a SASS file that's loaded as follows: router.scss #rootNode { @import "accordion"; } This means that when compiled, everything in that file is prefixed with #rootNode . Note the trailing space after #rootNode . There's a dynamically-added class .is-special to the #roo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561345", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to generate a matrix of random values with zeros on the diagonal? I want get a matrix of random values with zero on main diagonal. Then the following codes work to integer values, but I actually want float value. def matriz_custo(n): numeros = sample(range(35,120+1),(n-1)*n) c = np.array([numeros[i:i+n] ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561346", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to serialize inbuilt system types using protobuf.net? I am trying to get Protobuf.NET to serialize a class with Type and MemberInfo fields. Using the following Serialization Surrogates: public class TypeSurrogate : ISerializationSurrogate { public void GetObjectData(object obj, SerializationInfo info, Stream...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561347", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot access SQL database in any way I have a database called cards. If I want to access the database in any way (even use cards; or drop database cards;), it does not work. The command is working (meaning syntax is right) but nothing is happening. I am also not able to write other commands after executing a comman...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561348", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Controlling manul cancellation for pipelines in ADF Some of the pipelines we have created start and conclude inserting/updating some register at the begining and at the end in our process table. However, recently some users got the role that allowe them to cancel the pipelines (client's policy). We wonder if there i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561351", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to exclude fields of a linked table? I am running the following query SELECT Tbl_Customers.*, * FROM Tbl_Customers INNER JOIN Tbl_Invoices ON Tbl_Customers.Customer_code = Tbl_Invoices.Customer_ID WHERE (((Tbl_Invoices.Currency) LIKE "*abc*")); Why does the result include all the columns from Tbl_Invoices? I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561352", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: who to fix this problem on android studio? C:/src/flutter/bin/cache/dart-sdk/bin/dart.exe --enable-asserts C:\Users\ahmed\Downloads\svm-app-master\svmproject\lib\main.dart /C:/src/flutter/packages/flutter/lib/src/material/animated_icons.dart:9:8: Error: Dart library 'dart:ui' is not available on this platform. impor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561353", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Jest error "You are loading the ES modules build of React Router on a page that is already running the CommonJS build, so things won't work right." I keep getting this error with react-router-dom. FAIL client/__test__/index.test.tsx ● Test suite failed to run You are loading the CommonJS build of React Rout...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561354", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Write log of script live to file When I start the script test.py > test.log, the output is only written to the file test.log after the script has finished. How do I get the output to the test.log file while the script is running (live)? I have tested without success: ./test.py > test.log ./test.py &> test.log ./test...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561356", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use scp command to write to local directory I am using the scp command to copy a single file from a remote server using ssh. How do you write out the local directory? I keep seeing \Local dir\somefolder and examples like that, but could someone provide a practical example please? e.g. if the remote server i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561358", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do you handle strings in JavaScript taking unicode into account? Considering you have the Astral Plane in unicode where you have emojis and symbols that have 2 or even more code units, is there a solid solution to handle these types of strings? From my understanding, there are a lot of strange behaviors using th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561359", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to automatically align an elevatedbutton to the same height as a container in the same row? I want my elevatedbutton to align with same height as another container inside a row. I tried to use expanded but it seems like expanded doesn't do anything to the height with the elevated button. Here's my code Row( ch...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561360", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to add a custom SDK for iOS applications if the application is created on ionic and capacitor? Project on ionic and capacitor I want to add an sdk to the iOS platform. Then I do pod install. Everything is ok up to this point. And when I launch the application on iOS, this error comes out and does not ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561361", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to read a large amount of data from DynamoDB in Java? How can I read 235 thousand records from DynamoDB using DynamoDbAsyncTable.scan()? I need to use the classes on this package: software.amazon.awssdk.enhanced.dynamodb.* Thanks
{ "language": "en", "url": "https://stackoverflow.com/questions/75561362", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to change drawn rectangle/s size using a trackBar1 scroll event? It's a bit long, but it's all connected. At the top of form1: List<DrawingRectangle> DrawingRects = new List<DrawingRectangle>(); The mouse events to draw the rectangles: MouseDown: private void pictureBox2_MouseDown(object sender, MouseEventArgs ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561365", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Selenium keeps returning "Message: element not interactable: [object HTMLButtonElement] has no size and location" I am trying to click a button with Selenium, but keeps returning that the element is not interactable. I tried maximazing the window, explicit waits, but the program simple exits after the waiting time. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561367", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: CSS height 100% inside of element with height 90vh I can't make div class="authorizationHolder__textHolder" height 100% to take all available space. I want to get something like this: How can i do it? .authorizationHolder { width: 60%; min-height: 90vh; position: relative; background-color: white; box-s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561370", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ubuntu 22.04 won't shutdown I have an Ubuntu 22.04 (I recently updated) and after about 2 weeks of use, a shutdown problem arises in it, where normally it is not turned off and only happens after using the PC's own poweroff. I already tried to change the file $ sudo gedit /etc/default/grub and changed it like this: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561371", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: process_begin: CreateProcess(NULL, true, ...) failed. make (e=2): The system cannot find the file specified I am using mingw64 (on windows 11) to run a makefile but get the following error: cc -std=c11 -Wall -Wextra -pedantic -Wno-overlength-strings -Wno-unknown-warning-option -O3 prog.c -o prog process_begin: Cr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561372", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Bind/Bind9 for primary domain with MS DNS for Sub Domain I am wanting to get Bind to answer for primary domain and then onpass queries for sub domain to MS DNS. I dont really want to try and get MS AD to use BIND :) In Future in the back of my mind DNSSEC and LetsEnc/Certbot are probably going to have to get impleme...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561375", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Capitalize Each word in a List TextInfo textInfo = new CultureInfo("en-US", false).TextInfo; coordinatorlist = coordinatorlist.Distinct().ToList(); coordinatorlist.ForEach(item => textInfo.ToTitleCase(item)); I have a List This contains names of people like "profEssoR...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561377", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: I have to write a script that receives 5 numbers from the promt and push them in the array, and thwn to display the max number So i have this written so far, but i do not really know what i am doing wrong, cause my maxNum will alert undefined. function fiveNum() { const arrNum = []; for (i = 0; i < 5; i++) { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561380", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Set unique value during save interceptor Before saving an entity I want to save certain information about that entity for audit reasons using SaveChangesInterceptor. This will result in a separate db table Audit and Cars table. public abstract class BaseEntity<TId> { public TId Id { get; } ... } public class ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561386", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Abp Auto Api Controllers not binding my Custom attribute I created a custom Attribute [AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = true)] public class OrganizationPlayerOnlyAttribute : Attribute, IAuthorizationFilter, IFilterFactory, IScopedDependency { public ICurrentUser _c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561387", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: retrieve user credentials from firebase phone authentication In my code, after users verify their phone number using firebase phone authentication and verification, users will be redirected to the registration screen to fill their information. These information doesn't include phone number because its not a good pra...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561391", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Extra rows when seeding database from a CSV file I have a CSV database of 1M rows that I'm ingesting into Laravel using the following Seeder: public function run() { DB::table("terms")->truncate(); DB::beginTransaction(); $csvFile = fopen(base_path("database/terms.csv"), "r"); while (($data = fgetcsv($csvFile, 10...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561392", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: swapping memory on external drive for machine learning and parallellized tasks Situation: I have to deal with a very large dataset, that does not fit on my harddisk. I am using parallel jobs (python joblib.Parallel), which, based on the documentation, can use of temporary memory folder. https://joblib.readthedocs.io...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561393", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Kubernetes liveness/readiness return 404 after migrating springboot to 3.0.2 from 2.7.4 I recently upgrade my project spring boot version to 3.0.2 from 2.7.4, and now liveness and readiness probe is returning 404. It is happening to one app and not to other app even though I haven't changed anything. Here are some d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561394", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Difference between declaring Routes in React Router v6 and v6.4+ I've tried searching that, however, couldn't really find whether using React Fragments is okay to achieve the same behavior as pre-v6.4? const Routes6 = ( <Routes> <Route path="/" element={<Home />} /> <Route path="posts" element={<Posts />}>...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561397", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reading CString from the CArchive datastream into QString (QDataSteam) I have an issue where I am getting blank when reading data from CString (CArchive) into QString(QDataStream) I am in the process of converting my code from windows Visual Studio into linux QT. However I have a data file that I saved of from the w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561398", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Exporting a pdf, generated by pdfmake, to a docx/word document As the title suggests, is there a way to convert a pdf to a word document in javascript? The pdf is programmatically generated using pdmake library in javascript. I have access to BLOB or the URI of the pdf document. Can I convert it to a word document a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561401", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vaadin 23 Won't Build with Gradle Due to Licensing Trying to build Vaadin 23 SpringBoot app with Gradle in production mode. Fails with: gradlew build FAILURE: Build failed with an exception. * *What went wrong: Execution failed for task ':my_webapp:vaadinBuildFrontend'. > The provided license key does not allow us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561402", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: python3 input() function: 'utf-8' codec can't decode bytes when given Hangul (한굴) - invalid continuation byte My python program expects user input in Hangul and the following error is given: 123 print("Please type Korean word") \--\> 124 typed_word = input("\> ") 124 print(typed_word) UnicodeDecodeError...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561403", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to remove single quote in Access The following query works if I save it as query in Access UPDATE Tbl_Invoices SET Tbl_Invoices.[Name] = Replace([Name],"'","") WHERE (((Tbl_Invoices.Update_date)=Date())); but when I try to convert it into VBA as below I have a syntax error UPDATE Tbl_Invoices SET Tbl_Invoices.[...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561411", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Google Cloud Function Outbound Request Timeouts for Large Job I have a cloud function that is essentially acting as a cron task. The function is triggered by a cloud event (typically once per day), and then processes records in a database by pinging a third party API for each record and saving the results to our DB....
{ "language": "en", "url": "https://stackoverflow.com/questions/75561412", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: match statement not working in array/string search I am trying to create a routing to mirror our prod and prev environments. I am having an issue with the -match function in powershell not working correctly. I have the preview groups in an array called $PrevGroupInfo but when I try to search for the name of the prod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561413", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to resolve "Your Bitbucket token is no longer valid. Please re-authenticate." in Visual Studio App Center without disconnecting? Problem I am using Azure App Center connected to BitBucket to build an app. The user who originally setup the BitBucket connection is no longer available. Clicking "Reconnect" fails. T...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561414", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ListBox items disappear when clicked on I am learning WPF and MVVM. I have a slideshow project similar to Microsoft Powerpoint. I want a list of slides on one column that are read-only. I use a ListBox in xaml to display these thumbnails. Then I want a larger image that is editable. When I click on a ListBox item I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561417", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: transition on button without toggle or withAnimation swiftui I am trying to add a transition to a button but without using the .toggle() or withAnimation The way that I manage the hide and show the button its with incrementing myValue. var body: some View{ ZStack{ if(myValue>0){ /...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561419", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to allow overcomitting only for one application in Linux? I think this is a common use case: You have an OS running many applications and the most important app running is both, very memory intensive and at the same time performance critical. You may want to allocate some containers reserving a lot of memory to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561422", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is my ejs file not being rendered after I put my static files in public folder and added the code app.use(express.static("public")); Everything worked fine and the list.ejs is being rendered correctly, until I moved the index.html and css files in the public folder and added the app.use(express.static("public)) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561425", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Blank space in the y direction between card element when maping through array, what is the reason? I'm creating a React project with Tailwindcss, I have an array of objects (projects). I'm mapping through them and returning Card components. When the flex wrap takes action there are blank spaces between the cards in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561426", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I create an extendable bar sprite in PyGame? I want to use the following asset in my game: It has specific pixelated borders and corners. So I want it to scale "extending" the inner part of the asset by repeating it until it matches the desired size. So I can render something like this: This technique is qu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561432", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: laravel sanctum 401 after login React + laravel sanctum I followed the https://laravel.com/docs/10.x/sanctum#spa-authentication guide but ended up getting 401 when requesting a protected endpoint. XSRF and Session tokens are set everything looks good but then I get 401 on a 'auth:sanctum' route. On the react request...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561437", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why do I get a error with a simple query, but a select without a "where" query will work? I get a parse error when I query the database with a "where" selection, however the command to list data will execute correctly. Example - this produced correct data ... sqlite> select ZFPartNumber,ECUDateOfManufacture FROM EBC...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561439", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How do I use use pylint within a virtualenv while using system neovim? (neovim + ale + pylint) I'm hoping to use ale + pylint within a virtual environment without having to install pylint into every virtualenv I'm working in at the time. When I use import <something> that's only installed within the virtualenv it c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561442", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: regex for name validation without whitespace at beginning in js I want to validate the input value using regex. The value should be string without white space at the beginning. But accept space in the middle. This value only accepts alphabets. Example: " abcde" -> not accepted "abcdef lksfksl" -> accepted "asma124"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561452", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Is there a way for a text to go up on P5.js so it makes room for more text? I am trying to use a typewriting effect for a presentation on p5.js. What i have already is a long text writen on the canvas. When the text gets on the limit of the height I am not really sure how to meke for the text that is already writen ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561453", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using subprocess to run multiple commands depending on the list for ffmpeg in python I'm trying to use subprocess to send some commands to ffmpeg. But I need to send different commands depending on how many items are in my list. subs = ['https://example1.vtt', 'https://example2.vtt'] link = 'https://example.m3u8' I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561457", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to connect to Synapse Sql using pyodbc I am trying to connect to Synapse Sql using managed identity using Python in Azure function. Below is the code. def fun(): server = 'servername' db_name = 'dbname' conn = pyodbc.connect('DRIVER={ODBC Driver 17 for SQL Server};SERVER={'+server+'};Authenticatio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561458", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Where are Python text files stored? I made a programme that reads, adds to and deletes things from text files but I can't find the file. I checked the folder the project is saved in and nothing is there but when I do my read function on a separate instance of VSC Code it still reads exactly what I put in the file. I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561459", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Does `Dispatch>` preserve order? We know that manipulating the state can be async. But what about the order of state manipulation? Assume the following order of events: * *Manipulate state #1 *Manipulate state #2 *Manipulate state #3 Does that mean, the state ALWAYS gets manipulated in that order or can somethi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561460", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I efficiently perform the same function across multiple groups of columns in a pandas dataframe? I am cleaning a csv for data analysis and I'm new to python, so I am trying my best to make this as straightforward as possible in case anyone wants to go back into this later. I want to perform a straightforward ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561461", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Can't send data from ESP32 to Blynk Cloud, why? https://github.com/Networks-KH/SEMS2/blob/be37be71890c1ddff41727138e6505d7c051067f/project.ino This problem appeared when I add my owen functions PowerSensor() and IrmsSensor(). Thers no problem with cloud connection It's be online in the beginning when I run the code ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561462", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to infer type from array of strings? next-i18next.config.js const nextI18NextConfig = { i18n: { defaultLocale: "fr", locales: ["en", "fr"], reloadOnPrerender: process.env.NODE_ENV === "development", }, } module.exports = nextI18NextConfig topics.json { "feedback-introduction": { "fr": { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561465", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }