text
string
meta
dict
Q: I'm trying to import the Stripe API using pip but I'm getting a module not found error even though I've installed it I'm trying to install stripe using pip, however, when I try to run my project with the import I get a module not found error. This makes no sense to me as when I look at the list of requirements I see...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598512", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to import a file from another folder in a package My project structure looks like this pythonProject | |-__init__.py | |- a | |- file_a.py | |-__init__.py | |- b |- file_b.py |-__init__.py I've also attached the image of my project's structure below. enter image description here My file_a.py looks l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598513", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does CosmosDB MongoDB API support expireAfterSeconds of -1 for "Infinity" TTL? I have a collection where different types of documents have different useful life spans. The main document for an entity should never be automatically deleted but it can have ancillary associated documents which are viable to age out by p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598516", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: case statement - help required I am new to write queries , i have a table here and wanted to write a query for that No: Desc Name 1 apple fruit 2 apple raw fruit 3 apple ripe fru...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598517", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: NOT A DUPLICATE - Adding GA4 (not UA) Measurement Protocol to Chrome Extension Has anyone successfully added GA4 analytics to a Chrome Extension using the Measurement Protocol (gtag). This post has the details for Universal Analytics, but has not been updated for GA4 which has a different protocol. I have copied the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598523", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get the value of WSAGetLastError() from a core dump I found a crash while testing, and the cause was an unexpected error while writing to a socket. Unfortunately, the exception which was thrown didn't actually contain the direct reason for the failure (i.e. send() failed, but it didn't save the value of WSAGe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598525", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to query existing keyspace table using ORM approach in with Cassandra python bindings? I'm trying to use ORM with cassandra in python. I have seen example code here, which informs how to create CQL table. If I have a number of tables in AWS Keyspaces already with existing model, how can I create an object model ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598527", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I remove elements from multiple Lists that are properties of a generic object using reflection? I have a generic object that could have mulitple Lists as properties. How do I remove elements from those lists generically using reflection? Let's say I have objects that are like below public class ObjectA { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598528", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CORS issue with onCall HTTPS firebase function I get this error message: Access to fetch at 'https://us-central1-myapp.cloudfunctions.net/myFunction' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a pre...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598530", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I have a error at concaterate two .mp4 files I want the following two .mp4 files to play one after the other, unfortunately this is not possible, what is the reason? One of the video file does not have a audio and both of them have a different resolution. Here is my ffmpeg command: ffmpeg -i sample-5s.mp4 -i file_e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598531", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How does express server send data to the React client? I try to implement web browser that can login to discord by Oauth2 with backend express server. My server can take request from the client and redirect to the discord api that contains user information. Now, my server holds the user info and try to send it back ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598536", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Data Type generated by Hibernate cannot be parsed by H2 driver H2 version: 2.1.214 Hibernate version 5.6.15.Final hibernate common 5.1.2.Final Issue: create table consumer_auth (consumer_auth_id consumer_auth_id generated by default as identity, created_on created_on not null, email email not null, last_login last_l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598540", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: @Autowired - No qualifying bean of type found for dependency from external lib From external Lib than I include it in my pom.xml, i cannot inject class in my service even i was add package of lib in my springbootapplication config @SpringBootApplication @EnableJpaRepositories(basePackages = {"package-of-lib"}) @Enti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598542", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to change sabre/dav's primary storage to AmazonS3 I am looking into how to change the primary storage for sabre/dav to AmazonS3. Nextcloud using sabre/dav by changing config.php. I was able to change the primary storage to Wasabi, which is compatible with AmazonS3. However, I need to build a WebDAV server with s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598545", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: need to write an xslt to transform xml to csv with specific data I'm trying to write an xslt which creates a csv from an xml. I need to create a header field mapping such that header matches the data. Here is an example xml <headerFieldsMap> <BusinessUnit>Business Unit Code</BusinessUnit> <CompanyName>Busi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598546", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am calling an api which gives an array and having user1, user2, user3 and showScore value. Creating dynamic table(colspan) according to count value function handleCount(users){ let count = 1; count = users['user1'] == 1 ? count + 1 : count; count = users['user2'] == 1 ? count + 1 : count; count = users['...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598549", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to replace a string with another string (vue3 composition API) I have strings that contain ### and I'm replacing it with another value. Now I want to use com in combined with a click event, I created the event and it works but it doesn't go back to the original value What's the best way to do this? <script setup...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598550", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: An advantage of using modules over classes for opaque data types in TypeScript? I'm currently trying to decide whether I should use a functional programming library for my TypeScript project, and if so, which one. I'm sold on functional programming in general, I can definitely see the benefit of having the extra str...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598553", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Open Graph og:image preview thumbnail shows up fine on iMessage, but not on WhatsApp Scowered around for help with this and can't figure out why this isn't working. I have my Open Graph image set with the following two lines of code (which should be all that is needed): <meta property="og:image" content="https://myu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598554", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is this condition of qobject_cast intended to returns only true? I have already read about qobject_cast and related questions. I'm new to C++. This is the same thing as dynamic_cast but this is for only Qt, subclasses of QObject. I often run into the casts are used for if statement. For example, if (const QStyleOpti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598556", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Name 'stopwords' is not defined but I already import the package I am trying to use stopwords, but I am getting this error: NameError: name 'stopwords' is not defined This is my code: import nltk import re nltk.download('stopwords') print(stopwords.words('english')) Have the list of stopwords. A: import nltk from...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598557", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I change the main icons for the Azure DevOps wiki document I was wondering how I would go about changing those icons that sit on the left-hand side of the wiki document in the wiki document list inside of ADO. If possible I would like to have an icon for "Folder" (or pages that has sub-pages) and other icons ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598559", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Selecting Elements from a List in Racket I have a function in Racket which takes a list, iterates through it, checks each item in the list against a condition, and is intended to output a list of the index of every item for which this condition is true. I cannot use indexes-of. Currently, my setup is: (define (funct...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598563", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python PIL - plot points from lat, lng coordinates I am near throwing in the towel on a problem and thought I'd ask here first to see if there is a solution. I am attempting to plot custom icons on a map image converting lat,lng coords to pixels and pasting with PIL. My method involves plotting these points relati...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598567", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Green screen when I open the camera for make image target I have created in Unity an app with image target - Vuforia. When I open the camera from the app it shows me this image. enter image description here. No image target is happening, from my pc from my webcamera all works fine. Points : 1. My camera in general ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598569", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CSS grid with fluid dimensions, shrink content while keeping their aspect ratio I want this auto grid to expand and shrink with the browser, while keeping the items centered in it, preserving their aspect ratio. Ideally : * *Pure CSS *Keeping grid in "auto" mode (no template) (I know use-case might sound dumb, b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598571", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to avoid infinite loops inside useEffect working with dispatch()? I'm making a project where I have a list with several properties. Each property has data such as name, latitude, longitute, among others. On one side of the screen I render the list showing the property name. On the other side of the screen, insid...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598573", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I design a navigation bar where one group of items are aligned left and another group aligned right with CSS Flex? The Code A is from the article. The Image A is the result of Code A. I hope to desgin a UI just like Image B, the two labels on the left of the bar, and the two labels on the right of the bar. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598576", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Outlook Add-in how do i access the itemId of an email when using ItemSend I am creating my first Outlook Add-in and i need to be able to get the itemID of an email when it is sent. I have setup a ExtensionPoint in the manifest which is being triggered when an email is sent. The function being called is saving the em...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598577", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to only plot nonzero values with Calplot I am trying to plot the number of songs listened to by day, I have a loop that deletes entries where the value is zero, but I still see zeroes on the plot. Here is my loop that deletes entries with values of zero: real_dr = set(tbday.keys()) for day in real_dr: if tbd...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598578", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: making a checkbox readonly on a condition in javascript I have the following code on my page. When # 1 check box is checked, I want the #3 checkbox to be readonly. If #1 check box is not checked then, I want the #3 check box to be enabled or not to be readonly. <div class="form-group row"> <div class="col"> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598583", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Import data if the day of a cell matches the dates of the data in another sheet (in batch) - Google Apps Script I have a worksheet called "Calendario". In this sheet, there is a range of non-consecutive cells that correspond to the days of the month. I have a worksheet called "Tareas/Eventos". In this sheet are adde...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598584", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: strategies when memory limits matrix multiplication in matlab I need to calculate sum(foo(x(:)*y),2)), where x is a 1-D vector (1x1000) and y is a 1-D vector(1x1e8), both not sparse, and foo is composed of several trig functions that are not separable or have a summation rule (see edit at the end of the question). ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598586", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Java Spring: "no main manifest attribute" when executing .jar I've made a little API using SpringBoot with Java and Gradle. I'm using InteliJ and i've followed their documentation to compile my app in an executable .jar : https://www.jetbrains.com/help/idea/compiling-applications.html#run_packaged_jar The problem is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598587", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: cannot convert value to float in Apache Cassandra This the error I am getting, I have mentioned the code I am using for creating table in the first section. I know that csvreader gets the data in string format but type casting is just not working. create_table1 = """ CREATE TABLE IF NOT EXISTS song_info_by_s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598589", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to keep state or session when the application is closed from recent apps in flutter android? I have my own VPN application in android with flutter. It has 3 fields, server, username, and password. The server field is a dropdownsearch which the values is from my firebase database. The username and password field ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598590", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How implementation is hidden in rust? In C, a compiled library and its header file can be shared to be used along with another binary, enabling others to use but prevent from knowing the implementation. In rust, I see the signature and implementation are in the same .rs file, so how the implementation can be hidden?...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598591", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: oracle sql running average when no value exists (0 implied) I am trying to do a running average report and I have hit a road block: When I select data for a time period, some of the groups in my report will have no data for that period, which implies a value of 0 So, I run the query below: SELECT CY_WEEK, RC...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598595", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I debug this deadlock [Sequelize] [Overview] I have a function marketMaker that called with an order ID, it retrieves the order from the database, calculates the remaining quantity of the order that needs to be filled, and finds matching orders by calling the findMatchingOrders function. For each matching or...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598597", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to plot multiple periods using pyplot? everyone! I'm learning about signals now, but I'm having a tough time trying to plot more than one period using pyplot. I don't know if the problem is with the mathematical part or with the code itself. I think this is a silly question, but any help would be great! import n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598600", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Issue with curl invoked via golang (exec.command) on Windows with XML parameter I am using roughly this code. args = append(args, "-vvv") args = append(args, "--location") args = append(args, "https://example") args = append(args, "-E") args = append(args, "cert_dev.pem") args = append(args, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598601", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Grant permission and get token for a certain outlook calendar in Azure Active Directory using oAuth I am currently using oAuth to get a token by Calendars.ReadWrite scope but it works for all calendars that the user has. This is my code: const PCA = new PublicClientApplication({ auth: { clientId: "***", ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598602", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Prometheus - Django app metrics are not collected I have installed Prometheus on the same server where my Django app is running. I am attempting to retrieve metrics using an API and the curl response appears to be in the correct format. API (url & view): `ROUTER.register('organization_metrics', simulation.views.Orga...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598603", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AJAX WITH JQUERY ON C# ASP.NET Core 6 MVC I'm loading the information from a SQL database and I have a stored procedure, so I need a method to load. This is my controller [HttpPost] public IActionResult Verificar(string correoPropietario) { var verificarCorreo = _PropiedadesData.Verificar(correoPropietario); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598604", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Javascript file in app/assets/javascript/ is correctly loaded but doesn't seem to work in a rail 6.1.7.2 web application In a dockerized rail 6.1.7.2 application, I'm not able to have my custom javascript file working. Its name corresponds to the view file where I want it to be loaded. I can see that the JS asset is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598605", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I put a file object inside a json object, why is the file object not sent to the API? I have a file picker and state hook in my front end. const [state, setState] = useState({title: "API testing on file", files:[]}); and <input type="file" multiple onChange={getFilesAction}/> Then, once the files are selected, I a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to properly create unit tests for recursive methods I have one recursive procedure that has to be run multiple times depending on the output. The method refreshInBatches() runs a query in the database and returns a nodeId. The stop condition is: whenever I reach the end node (let's say it has id = 1) or I reach ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598611", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: testing a una promesa con jest const jwt = require('jsonwebtoken'); const generarJWT = ( uname = '') => { return new Promise ( (resolve, reject) => { const payload = { uname }; // console.log(payload) jwt.sign( payload, process.env.regla, { // expiresIn: '12h' }, ( error, token ) => { ...
{ "language": "es", "url": "https://stackoverflow.com/questions/75598614", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Handle SQL recursion for multiple pallets and production runs I need to trace the costs of production runs and apportion back to the original received pallets. However, once the original pallets goes through a production run, they are mixed with all the other input pallets from that production run and they create mu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598616", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 10.17.1: LAB*: Program: Online shopping cart (Part 2) zybooks, cannot figure out how to make my code work my code does have a few kinks here and there however zybooks has a harsh grading system that I don't understand here is what's expected This program extends the earlier "Online shopping cart" program. (Consider ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598619", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Showing traffic brought to main site by subdomains I have a mainsite.com and writing blogs on blog.mainsite.com, and using different GA4 code for tracking of them. Users would click some links in my blogs to visit the mainsite. How can I know the amount of traffic brought to mainsite.com by blog.mainsite.com? Thank ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598620", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Visual Studio Code I tried to apply my codes in visual studio code,but I don't know what happening here?enter image description here Can everybody help me and explain what should I do? Tnx A: It looks like you copy-pasted code and it's output in to a python file. Lines 2, 4 and 12 are the output of lines 1, 3 and 1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598621", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-6" }
Q: How do I capture only Audio from mediaDevices.getDisplayMedia? const desktopStream = await navigator.mediaDevices.getDisplayMedia({ preferCurrentTab: true, video: true, audio: true, }); .. const rec = new MediaRecorder(stream, { mimeType: 'audio/webm; codecs=opus', }); ... const blob ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598622", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is it possible to use an Airplay display (like a TV) from javascript in an HTML5 app on iOS I would like to create an HTML5 app in javascript that will run in Safari on an iOS device but be able to use Airplay as a second screen or expanded screen (not mirrored). The idea would be to have one UI on the device and a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598624", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to pass data from textfield to url in function import Combine import SwiftUI struct PostModel: Identifiable, Codable { let id: String let url: String } class DownloadWithCombineViewModel: ObservableObject { @Published var posts: [PostModel] = [] var cancellables = Set<AnyCancellable>() ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598625", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am getting error as helm app was not found enter image description here I tried to change the * *download: current artifact: ‘helm_app’ patterns: | **/*stage.yaml I tried to change the download current to specific and more but it getting failed with Error helm_app not found
{ "language": "en", "url": "https://stackoverflow.com/questions/75598627", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: firebase storage xmlhttprequest error in MV3 chrome service worker I get the error Uncaught ReferenceError: XMLHttpRequest is not defined when I try to run this code below let resUrl = await fetch(request.fileDataUrl); let blob = await resUrl.blob() let uploadRes = uploadBytes(storageRef, blob) //<<=====...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598628", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why should I typecast a 32 bit address to 16 bit to store a 16 bit data I am working on an STM32 Flash, I came across this function that writes 16-bit data to an address that is 32-bit. Why should I typecast this address like *(__IO uint16_t*)Address = Data; which expands to *(volatile uint16_t *)Address = Data; sta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598629", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I join text of expanding cell ranges in a spilt array? I am creating a daily schedule to assign employees to handle customer calls (C) or emails (E). I want to apply rules to the allocation of C/E within the sheet so managers don't have to make adjustments themselves. In my WIP schedule there are 4 parts A t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598631", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Python flatten a dictionary column It should be a simple line of code using pd.json_normalize function but it's working only with a single string and it's not batch processing my whole column Orginial dataframe df['addresses'][0] [{'addressLine1': '124 Main Street', 'addressLine2': '', 'addressLine3': '', 'c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598632", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Sending an Email using Google Doc (to HTML) with Data Inserts from Response Sheet I have a Google Doc template that pulls in information from a Form Responses sheet. The template is below: Email Template The 'name' would populate but the table would not. I have the following script to declare some column header nam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598636", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to fix when chatbot hangs I am creating a chatbot based on The Talking NPC game in Roblox it crashes after i type hello error code Traceback (most recent call last): File "/data/user/0/ru.iiec.pydroid3/files/accomp_files/iiec_run/iiec_run.py", line 31, in start(fakepyfile,mainpyfile) File "/data/user/0/ru.iiec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598637", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the dot used on docker inspect for? I am calling to variables of the JSON on a docker container, and I want to know what is the dot (.) for. When you type docker inspect -f '{{ .Mounts }}' $INSTANCE_ID you see the Mount points stored on the JSON, but the file do not mention nothing about dots. What is the do...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598638", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: ChatGPT prompts I've been working a bit with ChatGPT over the past month and have asked it to assist with everything from creating AD users in bulk with a CSV, to helping script out a WDS deployment. I generally start with a prompt like assume I'm working in powershell Have any of you come across better starting p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598639", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-7" }
Q: OpenEBS ndm pod stuck in on Minikube: MountVolume.SetUp failed for volume "udev" : hostPath type check failed: /run/udev is not a directory I am trying to run OpenEBS on Minikube v1.29.0 with --driver=docker and --kubernetes-version=v1.23.12. I have installed OpenEBS using the following command: kubectl apply -f htt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598640", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: My flask website works fine on localhost but returns errors on other hosting platforms I tried hosting my website on a few platforms but the one that sticks out is PythonAnywhere (PA). I could not host my website on those platforms for other reasons but I did manage to deploy my site on PA. It always returned some s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598641", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Exit code -(0xC0000005) in C++/CMake windows with CLion The source code [CMake] windows environment is here If possible please comment so I can improve the question. Question I'm getting error 0xC0000005, more precisely I found the following exception: 0xc0000005 encountered at address 0x7ffab6477b45: Access viol...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598642", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Next.js 13 No _App.js working with next-auth how implement without _app With the new next app we no longer get _App.jsx in the auth-next doc we needed that to add example import { SessionProvider } from "next-auth/react" export default function App({ Component, pageProps: { session, ...pageProps }, }) { retur...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598646", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Lowercase all identifiers If I have this program: package main func Hello() bool { return true } func World() bool { return false } func main() { println(Hello(), World()) } I would like to lowercase all the identifiers. I tried this: gofmt -r 'Hello -> hello' hello.go but it only changes one identifie...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598648", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Fragment Memory Leak during FragmentTransaction Android Studio I am using LeakCanary to monitor memory leaks in my mobile app in Android Studio. They were found in an activity that makes a FragmentTransaction operation with two Fragments. They are both instantiated with "new" keyword and in onCreate method another m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598649", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Powershell Azure Function 2nd API call is not executed I'm trying to automate user creation through an Azure Function with Microsoft Graph API calls. I have tested the function locally several times without problems, now that I have deployed it I have noticed that in the hours with the most traffic the second call t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598650", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to show unity ads banner in flutter I have an app which I developed in flutter. I want to show a unity banner ads only in the bottom navigation bar of the app. Code snippet will be appropriate. A: Here is plugin you can use that https://pub.dev/packages/unity_ads_plugin UnityBannerAd( placementId: 'PL...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598652", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Firebase Your Cloud Firestore database has insecure rules We've detected the following issue(s) with your security rules: any user can read your entire database any user can write to your entire database How to modify this so it's secure? rules_version = '2'; service cloud.firestore { match /databases/{databas...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598654", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Postgis geom IN clause I have a situation where I need to find which of my geodataframe geometries already exists on my postgis table. For that I was thinking in use something like a IN clause for my sql. But I don't know how to use a IN clause in my where condition with postgis geometries. I already achieved the ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598655", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to replace Tkinter canvas object with png Hi how do I replace these ovals with image files? This is the code for avatars: #Player 1 avatar player_1 = tk.Canvas(root, width=40,height=40) player_1.create_oval(10,10,40,40,fill='blue') #Player 2 avatar player_2 = tk.Canvas(root, width=40,height=40) player_2.create_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598656", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Connecting MongoDB to Rstudio We are using MongoDB to store some data generated by a Shiny app. This works for everyone except me. On my computer, I get these error messages: Warning: [ERROR] Failed to initialize security context, error code: 0x80090330: The specified file could not be decrypted. Warnin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598658", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I make this form pop up when user click a button? I have this jquery script code <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js" type="text/javascript"></script> <script> $(document).ready(function(){ alert("welcome"); $("#AddFieldButton").click(function()...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598662", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unidentified Error Due to mistake in .kt file * *file:///C:/Users/sn/AndroidStudioProjects/ForPFL2/app/src/main/java/com/example/forpfl2/OrderLog.kt:36:82 Expecting a class body error appears as soon as I build following code: package com.example.forpfl2 import android.content.Context import androidx.appcompat.ap...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598665", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to setup a custom pre-commit hook for python? I'm looking to know what files and basic syntax I need to write my own arbitrary pre commit hook for python. I know I need to install pre-commit: pip install pre-commit pre-commit install And I need some kind of config inside .pre-commit-config.yaml to tell pre-comm...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598667", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Stripe Subscription using stripe.Subscription.create function does not provide client_secret with Django As suggested here , I am using stripe.Subscription.create function to create a subscription for the users in my Django DRM and expect to have a client secret that is associated with the subscription and the relat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598670", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Ungroup other category in data studio charts I'm designing a scatter plot chart with more than 900 entities and Google Data Studio (or Locker if you prefer) it's grouoping more than 200 entities in the same category, by the name of "other".So the chart its a big blur of one sigle color.How can I ungroup this categor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598671", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Get serverTimestamp from Firestore with UTC format I'm trying to read serverTimestamp that I stored in firestore with flutter. I stored the timestamp with this code: final docUser = FirebaseFirestore.instance.collection("posts").doc(tittle_cont.text); final json = { "title": tittle_cont.text,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598672", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to iterate through a map of nested maps using recursion? I have nested maps and I need to iterate through each level to print all the values. This map is to show you an example of a problem that I am trying to solve using recursion. MainWindow::MainWindow(QWidget *parent): QMainWindow(parent), ui(new Ui::MainWin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598673", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to set offset globally in Moment-timezone If you are wanting to set the offset globally, try using moment-timezone. The moment.js document mentions above sentence when it mentions the offset. In moment-timezone.js, I only find how to set default offset timezone,not default offset. Is there any way to solve it? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598675", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sort list of datetime in Python polars dataframe I have problems working with datetime my dataset is like this: And I wish to sort the dates inside the list on every row, and get the first and second datetime, because some rows has more than 2 values. But I can't do it on Polars. I'm trying with : filter_df.filter(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598678", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: clang-format: space before and after arrow operator in C or C++ I want to configure clang-format so that it puts a space before and after every arrow operators in source code. (pointer)->(variable) = value; will be formatted to: (pointer) -> (variable) = value; but I can't find appropriate style option. I searched...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598685", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What is the correct approach to create a custom GoTo Definition behavior in VS Code extension? I am creating a VS Code extension that supports a small proprietary language. One of the minimal requirements for it is to have a "Go To Definition" functionality for procedures only. Being very new to JavaScript/TypeScrip...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598688", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Discord py take in replies until a button is pressed Goal: Create a bot that has one command, !numbers that can take in replies until a button is pressed. The command initially sends an embed, then waits for a user to type a number, then the embed is updated with the number typed. The user can keep sending messages ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598689", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Convert date/time using SSIS I need to load a txt file into a sql table using SSIS. The column 'Action_date' has dates formatted like this: Feb 24 2023 9:35AM. The destination column is data type datetime. It fails with the error: Data conversion failed. The data conversion for column "Action_date" returned status ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598690", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to install bitnami/etcd using my own PVC? I am using AWS and I created EFS for my new PV and PVC. I have K8s cluster with nodes in different zones, so I decided to use EFS for cases when node will be killed or died and recreated on node in different zone. I also created PV with name: --- apiVersion: v...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598691", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to replace INNER JOIN with FILTER in Spark and its implication behind the scene I am still learning Scala and Spark, so I apologize if this is a basic question. I have looked through quite a few posts on StackOverflow and Google, and cannot find an answer to this yet. I have the following code - import org.apach...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598693", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Generate docstrings/documentation for modified interfaces that use typemaps (C->Swig->Python) I have been exploring auto-generating documentation for swig interfaces. Using a backend C file with doxygen comments and generating python interfaces. I have been unable to capture typemaps in the docstrings generated for ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598695", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fabric.js Clipping a rect to another rect I am trying to use the new clipPath property to clip my smaller blue rect by my bigger green rect. What I want is when the blue rect leaves the green rect, the blue rect should be clipped off by the green rect's bounds. const canvas = new fabric.Canvas(elementId, { preserve...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598699", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I save new projects to an existing github solution I have an existing Solution that is uploaded to github. Then I made 2 new projects for it Unit Tests, and Integration tests. Both are under the Solution in the Solution Explorer. Both are working as designed. Inside my slm file they are both references correc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598700", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: mongodb use aggregate filter multi-level nested array I have an array: [ { id: 1, name: 1, list: [ { id: 11, name: 11, list: [ [ { id: 111, name: 111 }, { id: 112, name: 112 } ] ] } ] }, { id: 6, nam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598705", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When I run my program with multiple classes, it doesn't work. I need help to fix it I'm a new student in Programming and we've learned about Classes and how to use them very recently. With one of the assignments that we were given was to improve our code from last assignment and to use Classes which should help avoi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598707", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: NodeJS CORS blocking my request even tho all origins are allowed I'm trying to reach my backend from a website that is online. I'm running ngrok to have a live URL to reach it. GET requests seems to be working fine, but when it comes to POST request, CORS is blocking it with the following error: Access to XMLHttpRe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-7" }
Q: What happens with your github page(s) when you change your account name? Wondering what happen when you change the name in your account; what happens with your username/github.io page? Your pages show 404? The pages are corrected by github automatically with your new name so they are still usable or what? Need an an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598709", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python: What percentage of the orders cost more than 20 dollars? I have a dataframe with a column called "cost_of_order". I need to find What percentage of the orders cost more than 20 dollars? I tried this the def percent(expression="1000*12%")t(b) and the function with sum())*100 How to include the condition bigg...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598716", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: HTML URL Naming Convention I'm crafting a generic html form with an input field that allows the user to enter the first part of a URL, that will then automatically be concatenated w/ a variable when displayed on a web page. <form> <input type="text" id="link" value="https://www.example.com/en-US/search?q="> <inp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75598718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }