text
string
meta
dict
Q: Team clones same repo with same server credentials and same dependencies. Yet two out of four cant run the local application properly. How come? We are working on a local spring boot application in the team in learning environment. Everyone clones the same branch, yet some of us can run the application and some of u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585459", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Transliterate ambiguous unicode characters visually instead of phonetically How do I replace unicode characters that look like latin characters with ASCII equivalents? Trying to make a chat filtering program, but people can circumvent it by using unusual characters that are still human readable. I have tried librari...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585460", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: AspNetCore.Culture cookie not set for root URL without trailing slash If I send a get request to the web application e.g. https://foo.bar.com/ the AspNetCore.Culture cookie is set. But if a remove the trailing slash and get https://foo.bar.com instead the AspNetCore.Culture cookie is not set. Here is how the cookie ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585461", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pyspark: List subfolders names in AWS S3 folder Main folder: s3_path = "s3a://prices/xml_inputs/stores/" My try: from pyspark.sql import SparkSession from pyspark import SparkContext import os from dotenv import load_dotenv # Load environment variables from the .env file load_dotenv() AWS_ACCESS_KEY_ID = os.getenv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585462", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Problem using for loop in function, trying to return a tuple Create a new function named process_data() that takes one argument: data, a list or tuple of numbers. Use a for loop to loop through the data and return a tuple containing the follow data points in-order: * *The total sum of the data *The average of th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585464", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why does my oxygen builder load on the bottom of my scrollable modal? I am using oxygen builder on my client website, And I am having this problem when I open modal it show's the bottom part first, I want it to show the top everytime I open the modal. I added some js on it already tried using window.scrollTo(0,0); a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585468", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Attribute Changes When Accessing It in Javascript On an html file, I call a javascript function like so: <script> positionModal = function (event, modalId) { var modal = document.getElementById(modalId); modal.style.position = 'absolute'; var modal = document.getElementById(modalId); modal.style.le...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585470", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why when I submit the form, the body is empty? Basically, I have a form that posts to my Node.js form. When I try to console.log the body I get {}. I can't understand why even because I have another form that submits on another endpoint in the same server and contains content in the body. I already have app.use(expr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585472", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make a Python FMX GUI Form jump to the front? I have a window Form that is created with the DelphiFMX GUI library for Python. I want to know if there is a specific method that I can call to send the Form to the top above all other forms and/or windows from other apps. Here's my current code. I want to make su...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585475", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Child component updating Parent object without two-way binding? Unexpected behavior that I am not using two way binding with a parent component that sends an object to the child. But the child component is able to update the parent component's object without EventEmitter or @Output Intially, I was using @Output with...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585484", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to scroll to a part of a UITextView in TextKit 2 - Swift I was wondering how to scroll to a specific part of a text in UITextView in TextKit2. This approach won't work in long text. I'm trying to use a function like this: private func scroll(in textview: UITextView, to substring: String) { guard let text = t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585485", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to close SQuirreL connection without closing session? I establish a connection to an h2 database via SQuirrel SQL Client (version 4.5.1). The driver used is "H2 embedded". In the menu I found an item called "Reconnect". Is it possible to disconnect and reconnect (using the menu item mentioned) after some time? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585489", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Setting Commands Suggestion in Telegram using Telegraf I would like to know how I can create a "command sequence" like the one in the image below, I'm using the TELEGRAF module in nodejs Imagem Can't do this function A: You can achieve that by calling directly telegram api .setMyCommands: const { Telegraf } = requ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585490", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: RoR Apple M2 trouble with bundle I recently switch to new machine that uses M2 chip and decided to create a new project on Rails. But every time I try to run "bundle install" command - it gives me out this kind of error: Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /User...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585491", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I'm cronstruction python based api calls to aws and can't figure out a logging problem This script works, however I can't get it to record the linux user who's executing the script into the log. I'm not taking credit for this code it's code that ChatGPT wrote. I know it has something to do with 'user' but I've broug...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585494", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Slurm group collection of jobs using an environment variable I encounter this problem with a main script that launches several Slurm batch jobs over time. In parallel, I run the main script again with other parameters. Then, their spawned jobs are interleaved in the output of sacct Does Slurm have a feature similar ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585495", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Polars + Parquet vs. Polars + mySQL? [Note - I tried asking this on Stack Exchange/Software Engineering and Stack Exchange/Software Recommendations, and even Stack Exchange/Super User, but they didn't have tags for Polars or Parquet.] Let's say I've got data with 1 billion rows. Which of the following would be recom...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585496", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TypeError when using GeoFire with Firebase 9.17.1: "t.split is not a function" I would like to ask a question regarding Firebase and Geofire. I am using Firebase version 9.17.1 with Geofire version 6.0.0. Based on the documentation, I have written the basic code, but I am receiving the following error message: [Typ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585497", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Get Cell Format from Google Sheet API using getByDataFilter (filter by Tab Name) in PHP I have a very large and complex Google Spreadsheet with many sheets within it. I need to get Cell formatting (like font colors) for all cells from just a subset of the sheets within this Spreadsheet, I am aware that I can get cel...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585498", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Helath check in python script I have a script that sniffs incoming emails from mailbox (based on outlooks events, not active scanning) and based on condition it does it's things. Now this should be ran unsupervised, but i would like to have some kind of health check that would notify me that script is not dead. I ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585499", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to screen "equals" symbol in the filename passed to shell command in R's `system()` I am calling system() under Windows to open the file. I wrap the filename in quotes so I don't have any problems with spaces for example - but surprisingly the = symbol still causes problems: saveopen <- function(df, fn){ write...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585501", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Forward ssh traffic from docker host over containers published port to other containers in the same custom bridge network One container A and another container B are in a custom bridge network. A can access B using ssh successfully. In the scenario I want to ssh B from the docker host. As I cannot ssh B directly due...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585502", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I get 'T from seq<'T> from a PropertyInfo array I'm using reflection to try and create a datatable based on a record type. This works fine for a simple record type, but some of my records have sub records (also fine, just made the function recursive), or lists of sub records which is where I have my problem....
{ "language": "en", "url": "https://stackoverflow.com/questions/75585503", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I avoid throttling when batch writing a large number of items to AWS DynamoDB table? I have a large csv file (~25k rows) and I am trying to automatically import these items to a AWS DynamoDB table. I wrote a lambda function that is triggered when the csv is uploaded to an S3 bucket and then uses batch writin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585506", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: RTNETLINK - How to query a table other than RT_TABLE_MAIN I have a Linux (Ubuntu 20.04, in this test) system with multiple routing tables. > sudo cat /etc/iproute2/rt_tables # # reserved values # 255 local 254 main 253 default 0 unspec # # local # 1 mytable The table mytable has a route: > ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585508", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Volume profile code in python differs from tradingview results I asked chatgpt to generate a code in python to calculate the volume profile with its respective POC and Value Area (VAH and VAL) based on the following instructions taken from the Sierra Chart platform guide but the results of the calculations differ fr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585509", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Different behaviour using gradle plugin block vs. apply plugin I have a simple project structure like this parent | ├── demoplugin | └── build.gradle | ├── subproject | └── build.gradle | ├── build.gradle └── settings.gradle File contents are as follows: parent build.gradle plugins { id 'DemoPlugin' } subp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585512", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I prove two applications of the absurd pattern result in the same in Cubical Agda? Heavy category theory (agda-categories) related question. I'm trying to define a natural transformation and prove its naturality square commutes. Essentially, the error I run into is that two "applications" of a function that t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585513", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Triggering sequential time triggers with GTM I want to plan something for my website that will send an event to GA4 after 4 minutes, for example, and then repeat it every minute. If anyone has any idea if this is possible with GTM, please tell me. Thank you in advance for the answers. A: Yes, it's possible and it'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585515", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Everytime I click launch on notebook the pdf opens see screenshot please. What could cause this? Error that occurs when clicking launch on juptyer notebook Normally expecting lauch without error, not sure how to resolve the problem.
{ "language": "en", "url": "https://stackoverflow.com/questions/75585518", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ordered list spanning table rows I want to create a question form in a Markdown/HTML page, with each question having a number. QUESTIONS | ANSWERS | -------------------|-------------------| 1. First Question | | -------------------|-------------------| 2. Second Question | ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585519", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Python tkinter getting user input and adding a timer It's been awhile since I touched any of this but was asked if I could make a program for a friend at a tanning shop. confused and unsure where to start now. Needs to have three things for each user (username, time booked, time left) Found this below for a GUI from...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585521", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Log false in cy.waitIfHappens command? I am using cy.waitIfHappens instead of cy.wait, however in the side panel, it logs every second until the request happens. How can I turn it off? See the screenshot below:
{ "language": "en", "url": "https://stackoverflow.com/questions/75585522", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Getting time from date range interval text column in SQL I have a column that is in the format of 2/23/23 9:00 am - 2/23/23 9:59 am I am using a select statement to get the start date and start time from this column as follows: start date: LTRIM(RTRIM(CONVERT(DATE,RTRIM(LTRIM(LEFT([Date], CHARINDEX(' ',[Date]) + 0)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585523", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I turn partially duplicated data into unique rows on Excel? I have received a database full of repeated information. I’ve already cleaned part of it with advanced filter, but don’t know how to move further. The data looks somewhat like In the example school A has 3 levels of study and school B has 2, I woul...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585525", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to plot a line through data in Matplotlib? I'm trying to draw a line through the data as seen here but this is what I get when I run my plot function Below is the code I'm using to generate the data as well as the line. I'm not sure why this is producing a web of graphs rather than a single line through the da...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585529", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Uploading icon files for achievements when using Google Play Services GamesConfiguration API? I'm trying to build an app to sync our Android game's achievements to Google Play Games. I'm using the GamesConfiguration API found here In order to add a new achievement you create an AchievementConfiguration and set the d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585531", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to gracefully cope with Alsa card moving slots across reboot I have a Raspberry Pi 4 Model B Rev 1.1 running Raspbian with USB card/speaker connected. The problem is that it moves slots across reboot. Here, it shows up in slot #3: $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: Headphones [bcm2835...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585533", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting chrome id is blocked error on social login I have integrated social login (google, facebook, apple and twitter) in one of my google chrome extension project build in ReactJS but currently I'm getting error as [Chrome ID] is blocked on all successful social login. It was working perfectly fine before updatin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585535", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: recreating pipe in C issue about execution I'm actually working on project and we're trying to recreate a bash terminal in C. I've got some problems about handling pipes in my code. As you know when you write "cat | ls", it first shows ls result then standard input is opened but only for one line. The problem is the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585536", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I edit a button's attribute if it is in a list (Tkinter) I have a list of 100 buttons in Tkinter, which each have their own text attribute. buttonlist = [button00], [button01], [button02], [button03], etc... I can edit each of the attributes using, for example, button54.config(text = "example") This works f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585543", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Nested aggregation binding and access parent properties I have this JSON data: oDC = [ { "DC_GROUP":"TEST_DC_GROUP", "COUNT":0, "MULTIPLE_DATA_COLLECT":"false", "USERREF":"UserBO:SEA1,EVERTN", "STATUS_OP":"IN_WORK", "STATUS_SS":"READY", "PARAMS":[ { "...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585544", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Add Outlook mail recipient with VBA I try to create an Outlook email from Excel using this code. The to address in variable strAddress is not added to mail. The recipients address stays empty. Whats wrong with this code? I'm using the latest Excel and Outlook from M365. Sub testmail() strAddress = "recipient@exa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585547", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Laravel cashier-paddle not storing data in the database on payment success I'm following the guidelines on the Laravel Documentation to configure the cashier-paddle package. But after successful payment using a sandbox account, it's not saving the entry in the local database, but the entry in the Paddle dashboard is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585551", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is there a way to set an Ansible encrypted var and preserve all special characters? I have a variable set in an encrypted ansible vault yaml file which has multiple special characters, including < { , " ' [ and %. my_var: <X%X[X{,"<X'L I need Ansible to take the variable as a raw string, but it's inserting a \ befo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585552", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is it safe to delete rows in Nextcloud user activity table (oc_activity) table where subject is "created_by"? We recently observed that our Nextcloud app postgres database is unusually increasing in disk storage size. The analysis shown that the oc_activity table is taking more space due to increase in user activity...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585554", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using Linq (not Lambda), how do I check if a list is empty and if it's not, return results contained in that list. Otherwise, return all results I have an optional parameter called UserId. If UserId is passed in, I get a list of stores that are related to that User. If UserId is "", I get every store. public void Ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585555", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a better way to generate a chess board? I am planning on creating a chess game inside of JavaScript in order to test my current skill level, which is not very high. I am trying to dynamically render elements without React because it is difficult to create a React application without create-react-app, so ins...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585556", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Python: Count Multiples Write a program that takes three integers as input: low, high, and x. The program then outputs the number of multiples of x between low and high inclusive. Ex: If the input is: 1 10 2 the output is: 5 Hint: Use the % operator to determine if a number is a multiple of x. Use a for loop to test...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585559", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Using KQL parse to separate a string I want to be able to pass in a string of random IP addresses (just one long string that isnt comma separated) and return the list separated into IP addresses and Ports like this: IP address Port 237.148.51.168 445 208.250.127.105 63 154.133.47.172 0 This is my cur...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585561", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Rust argument requires that `variable (String)` is borrowed for `'static` My code: let output_utf8: String = String::from_utf8(output).unwrap(); let lines = output_utf8.split("\n").collect::<Vec<&str>>(); let mut sensors: Vec<Sensor> = Vec::new(); for ln in lines { let mut sensor_fields = ln.split(","); sen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585562", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to format numbers as blank in xlsxwriter? I have a column of floats that I'm placing data bars over with xlsxwriter, but sometimes I don't want a data bar in a given cell. But I also don't want to show the underlying number, I want the cell blank. Is there a way to show the cell as blank even if a number's in it...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585566", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Server slow - IO utilized at 100 % but does not match with iotop I am managing a server with about 200 users. It's been 2 weeks the simplest commands are lagging. For instance, listing the 250 directories takes about 3 seconds: [root@hpc home]# time ls real 0m3.804s user 0m0.002s sys 0m0.021s I checked...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585572", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Find Difference Between Max and Min Time for the same week I am facing a complex issue, and need help. I have attached my table as an image. My data is weekly, with modfied_at as dates present in the week. What I am trying to do is find the time difference (in minutes) between max(modified_at) and min (modifiedat) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585573", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: cannot connect ktor project to postgres - Driver org.postgresql.Driver claims to not accept jdbcUrl I am new to ktor, postgres. I am trying to connect ktor to postgres and I get the following error Driver org.postgresql.Driver claims to not accept jdbcUrl, jdbc.postgresql:notes_db?user=postgres&password=<masked> Dat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585575", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Amazon SES Open/Click Tracking I am using Amazon Simple Email Service for SMTP and trying to work out whether there is a way of open/click tracking for emails where there are multiple recipients. In their docs, it does state this under "Click Tracking" If you send a single message to multiple recipients, each recipi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585576", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to configure 'TLS1.2 only' in OpenSSL 1.0.2 config file? I would like to update the configuration of OpenSSL 1.0.2 (specifically 1.0.2k-fips as found on AWS's Amazon Linux 2 AMIs), so that any client using OpenSSL refuses TLSv1.1, TLSv1, or anything lower that is not TLSv1.2. I have learned that for OpenSSL 1.1+...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585578", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TailwindCSS Trying to style all children by the last element I've got a requirement that from a parent element, I need to style all the child elements with a margin expect the last one. I'm struggling to accomplish this with Tailwind and attached a fiddle with my attempt using arbitary values. <div class="flex items...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585579", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: python json.dump creating duplicate keys I am working on a feature in my discord bot to store information in json files (the code for the discord bot is irrelevant for this problem). The problem I am having is that json.dump is creating duplicate keys in the json file, ignoring the previous one and adding another ke...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585580", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Break D3 objects into rows I have a D3 script that creates a circle for every point in my data and then places the circles next to each other. How can I place the circles into a new row after, say, five circles (or after the graphic hits a specific width)? The image below shows what I am trying to accomplish. Code a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585582", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is ther a way to make an input tag with a type of button only display an icon When I use the following the backend code fires but the browser displays a 405. <input type="image" src="~/icons/bootstrap-icons-1.10.2/bootstrap-icons.css" alt="" class="bi bi-pencil-square icon-edit fs-6" name="btnEdit" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585583", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to capture query string using Elastic Apm python agent? APM Python Agent can capture request body (e.g. POST variables) by enabling CAPTURE_BODY variable. How can i capture query string (e.g. GET Parameters) ? A: It should be captured in the metadata under "url": If it's not, you should open an issue. Note tha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585592", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Kafka partition huge replica size We have a managed MSK kafka cluster of 3 brokers. We have noticed that one of the brokers has a much larger disk usage than others for quite some time. After some analysis we found out that one of the partition replicas in the __consumer_offsets topic is much larger than the other r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585593", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is this ERD appropriate for powerBI? I am a data analyst working for a community college, I am self-teaching power bi and I am trying to set up a relational database to organize the student and class data I have received so that I can more easily conduct analysis in power bi. Will this ERD work to conduct a 5 year a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585594", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: A splinter error: Driver not found error, why does it say this? I'm completely new to splinter and quite new to python. I wanted to do a splinter program to automatically log me in to websites once I run the program on a computer. I searched the web a bit for splinter, and I created a program to try and open a web b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585595", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: when I deploy my personal parcel project some code don't work Hello guys I have a mini project made with parcel as a bundler. It works fine when I run npm start on my Pc, but when I deploy it on github pages or on netlify some code don't work specifically the code for detecting dropped positions other code such as c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585596", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do you make it so the program instead of crashing, it can display something different when you enter a string value or wrong format I get this error: System.FormatException: 'Input string was not in a correct format.' Code: namespace ExcerciseOne { internal class Program { static void Main(stri...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585597", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Core Data (public) database - Predicate not working? I'm working on a Core Data / CloudKit public Database. Apple recommends not to delete the object but to set a variable e.g. isTrashed to true. After that a predicate should be set for the FetchRequest so that this object is no longer displayed. So in my view I set...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585598", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: cmake dependency on adjacent project without duplicating builds I've got 2 adjacent repositories containing projectA and projectB projectA uses cmake to construct 3 libraries, if I build it by itself, I get 3 outputs in the build folder, 1 library for each library sub-project. so after running cmake I'll have someth...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585600", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React Router v6 Navlinks in nested Routes I have Routes in App.tsx: <Routes> <Route path="/" element={<Dashboard />} /> <Route path="/create" element={<CreateGame />} /> <Route path="/game/:id/*" element={<GameRoutes />}></Route> <Route path="*" element={<NotFound />} /> </Routes> In GameRoutes I have few N...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585602", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Submenu Disappearance I've been creating a navbar, and made some drop downs. For some reason, my submenu/sub or nested navbar doesn't seem to actually stay when I try to hover upon it. Is there something I should do to actually enable it? I've tried using jQuery (as shown below), using the + operator in CSS, creatin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585603", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CMD will not find g++, regardless of it being in my Environment Path I am on the C++ struggle bus... Context: Last night I had g++ working perfectly fine, I found out that the installation I had was not compatible with some of the libraries I was trying to work with. As a matter of fact, MSYS was downloading 32 bit ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585604", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: VBA - Add button on a userform: how to add its action In Excel, I'm adding buttons at runtime on a userform. How do I add these buttons actions to call a sub/function with parameters? Here is how I currently add the button, which does not accept the 'OnAction' I add it Dim MyR As Range, MyB As MSForms.Control For i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Stepper Motor moving back and forth with emergency stop I am trying to create a stepper motor that moves back and forth but will stop eminently when the safety button is pressed. I am using Arduino 1.8.13 and an Arduino UNO for this project. #include <ezButton.h> #include <AccelStepper.h> ezButton limitSwitch(A0)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585607", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: TaskScheduler is not working within a conditional context inside of UpdateAI I have been adding TaskScheduler to a ScriptedAI (Raliq the Drunk for reference). Whilst out of combat he should repeatedly animate drinking/eating every 5 seconds. Current non-working code is: void UpdateAI(uint32 diff) override ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585609", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Easing function for count up to to drastically slow after 75% progress I'm using a simple js countup based on this: const animationDuration = 2000; // Calculate how long each ‘frame’ should last if we want to update the animation 60 times per second const frameDuration = 1000 / 60; // Use that to calculate how many ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585610", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Trying to make a function that uses inputs that are lists - quadratic formula trying to have an input that has multiple inputs - so i can solve multiple equations at once I realise that there is probs a better quad function, but want to use mine jsut with multiple inputs a= [1,2,3,4] b=[2,4,6,8] c=[3,6,9,12] def qu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585611", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spawning elements for A-frame I am trying to add the the bubble function to the scene which creates a sphere, but nothing appears. Also when I try to create a sphere without using the bubble function, nothing appears on the scene. function appear(){ return bubble({x:0,y:5,z:2},"red",{x:270,y:100,z:70}) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585613", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I add two numbers using type constraints? Here I encode addition by 1 as wrapping in a tuple type and subtraction by 1 as extracting the second element of the tuple type: type zero = unit * unit type 'a minus1 = 'snd constraint 'a = unit * 'snd type 'a plus1 = unit * 'a So far, the encoding works: type one ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585614", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Issue when trying to use a hosted SVG as a mask for a video Trying to use an SVG as a mask-image for a video. I have no problem when references an SVG hosted on Wikipedia, but when I try to reference a custom SVG hosted on S3, I get nothing. Here's a pen that illustrates what I'm talking about: https://codepen.io/na...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585615", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: compile error while building linphone SDK version 4 I am trying to build linphone sdk for iOS, Cloned linphone sdk version 4 trying to build using the following commands mkdir build && cd build cmake .. -DLINPHONESDK_PLATFORM:STRING=IOS cmake --build . --parallel 20 the following error occurred while building the SD...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585616", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Open modal Bootstrap using jQuery: script is not opening modals I created two buttons and two modals: reserve a campsite (id="reserveButton" should open id="reserveModal") and Log in (id="loginButton" should open id="loginModal"), and in the script file functions to open it. But it does not work. Please, help me to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585619", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I add text below the nav bar and all that? I am trying to add text below my header/nav bar. Please see code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width", ini...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585620", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Relative position to created object issue I have a unity project with a user controller avatar, quad surface 1, another avatar, and another quad surface. I am attempting to replicate my movements in VR onto the avatar representation of my player character relative to created surfaces. For example, if I move to the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585621", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to call user defind function in myysql python code? I want to search for data encrypted as described in the following code query = "SELECT Month,Utility_Number,Name FROM smart_data WHERE clean_embedefunction(Name) like '%{}%';".format( SCKHAindexName) but it can not retrieve anything and this is the function i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585623", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Where is the identifier of the struct? https://docs.rs/syn/latest/syn/struct.DataStruct.html: pub struct DataStruct { pub struct_token: Struct, pub fields: Fields, pub semi_token: Option<Semi>, } Why is the identifier of the defined struct (pub ident: Ident,) missing? Parsing struct X { ... }, how do I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585627", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Failed to Load application error when testing the application using selenium-webdriver and spring boot Pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 htt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585630", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to import Bootstrap JS with HTML5 reusable web components RESOLVED: see my solution in a comment TL;DR: Can't get bootstrap's JS to trigger, suspect that I'm importing the JS scripts wrong I've been trying to get Bootstrap to work properly with my custom reusable web components to work properly across all pages....
{ "language": "en", "url": "https://stackoverflow.com/questions/75585632", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to populate a datagridview with a text file, using a combobox as a search bar I am trying to use a combobox to search throw a text file depending on the selected word of the combobox. It should find the data that corresponds with the word and show all possible results within the datagridview. Exactly ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585635", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unsure how to set up CoreData model Xcode So I have an app that keeps track on if a person likes a certain meal or not. I have two CoreData entities, one to keep track of the number of people, and another for each individual meal. What I'm not sure where to put is the info one of if someone enjoys it or not. Current...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585638", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Output matched pair results from Matchit in R I am able to successfully run a PSM model using Matchit, but I am struggling to output the actual paired matches. My code is here ... model_raw <- matchit(source ~ last_payment_amount + balance_at_purchase + days_since_chgoff, data=model1_file, method="neare...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585642", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MyPy only checks imported module, not the original file in argument I am using mypy to type check a python script which depends on a large open source python library. I want to manipulate the library so I've forked it to a location in my home directory and am directing mypy to read it in my .mypy.ini file as such: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585643", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Serialize nested objects with Newtonsoft.Json I'm having trouble wrapping my head around how to properly serialize nested objects. For example, let's say I have the following class which describes an object I want to serialize. public class MyObject { [JsonProperty(PropertyName = "type")] public string Type ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585644", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Windows appx removal fails with x64 package full name, succeeds with neutral package full name tldr: How am I supposed to use RemovePackageAsync? I've got a packages Windows app that I install using StagePackageAsync followed by ProvisionPackageForAllUsersAsync. The package is specifically x64 only. When I install, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585646", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add lines on top of python datashader points canvas? I am trying to plot (longitude, latitude points), and on top, illustrate the shortest path from A to B with some lines. cvs = ds.Canvas(plot_width=3000, plot_height=3000, x_range=(minLon, maxLon), y_range=(minLat, maxLat)) cv1 = ds.Canvas(plot_width=3...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585651", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using Websockets for push notifications when order is placed I have a platform where multiple restaurants (let's say 100) can receive online orders from users. The admin of the restaurant has a live panel where all the incoming orders are displayed live. So when a new order is placed the admin must receive a push no...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585652", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: WebWorker causing memory usage grows very fast and high I am using web worker to fetch data in multiple threads but my CPU usage is so high in this code. I meant CPU usage grows very fast and keeps growing !!! Can anyone help me to see where i am causing memory leakage or not properly monitoring the events? const MA...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585653", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Not able to retrieve state in react-pdf document Following the example here https://react-pdf.org/advanced#using-the-usepdf-hook I have a component setup on different tsx file and make it to accept props that will be use in rendering the page. However, I am not able to update the content of the component via props a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585656", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to specify where a Python FMX GUI Form opens? I'm creating a Form using DelphiFMX GUI library for Python and I would like to choose a specific location where the Form should open. Here's the code that I use to create my Form: from delphifmx import * class frmMain(Form): def __init__(self, owner): se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585657", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Angular plugins/method for smooth scroll I'm not talking about anchor scrolling, I've found some plugins but they were all deprecated/didn't work. Does anyone know any scroll plugins that work for latest Angular, something like this: https://locomotivemtl.github.io/locomotive-scroll/ A: You can use a solution from ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585660", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }