text
string
meta
dict
Q: problem with virtual box after last update of the Mac OS ventura After the latest update of macos ventura, virtual machines on virtualbox (noxplayer, vagrant homestead and android) no longer start. It tells me that according to the latest apple policies, I have to go to system settings, privacy and security, general...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557893", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Denial access to file I want to deny file from being browsed. but still accessible via inside server or the hosting space when called by script I want to deny from people browsing it. this is the part from the html source type: "POST", url: "filem.php", data: {} so i want to deny it with htaccess from bei...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557895", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Is there a way to stop newline whenever I use user input? My code looks like this, I wanted to design my program, something like a card, it'll ask for a color then print out a message. My problem is, I can't really close it up... import java.util.Scanner; public class Main{ public static void main(String args[])...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557896", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: pip install from within scripts in Python 3.9 I've used pip install from within my scripts with the following code in Python 3.7: def pip_install(packages): args = [sys.executable, "-m", "pip", "install", "--upgrade"] args.extend(packages) subprocess.check_call(args, stdout=sys.stdout, stderr=sys.stderr)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557897", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Approach to building a site with stopwatch I'm just starting off with website/app development and i want to build a website with a stopwatch function. I'm already a bit familiar with python (since it is an easy language to start with), but i am unsure on how i can approach this project effectively. The website would...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557898", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: FastCGI Cache on Wordpress not working after I changed the theme root@ubuntu-s-1vcpu-1gb-amd-sfo3-01:~# curl -IL https://www.vgopromo.com/sherbet/ HTTP/2 403 date: Fri, 24 Feb 2023 14:40:11 GMT content-type: text/html; charset=UTF-8 permissions-policy: accelerometer=(),autoplay=(),camera=(),clipboard-read=(),clipbo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557899", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Export all AD account which has not authenticating in All AD domain controllers? I wanted to list the user accounts which has not been authenticated at all in all domain controllers. Never login in all domain controllers mean no date set in the LastLogon attribute. Example: I have 36 DCs in total User1 has LastLogon...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557900", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: C++ uppercase reference I'm trying to uppercase a reference to output in the console however it doesn't seem to work and just outputs the normal reference where all the char are lower case. Ive tried "toUpper()" and it doesnt let me as there are ints too. Any idea how to uppercase the varInt reference? #include <Win...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557903", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to play Play a system sound with macOS SwiftUI I am trying to play a system sound with a MacOS SwiftUI application. What I wish is just to play a system sound when an image appears... My code (part of it) is the following import Foundation import Cocoa import SwiftUI import AVFoundation ... Image("OK Done") ....
{ "language": "en", "url": "https://stackoverflow.com/questions/75557907", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to access an object with arrays I'm trying to access the config>blMsg property of this object, but it always returns null I just can't access the field blMsg, the other gateway for example I could access, it seems that I could not access anything that is inside config the request is the use Illuminate\Http\Reque...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557909", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Trouble with form validation on multi-form view in django, using form within a table As the title says, I'm running into an issue with form validation. The table and form both seem to 'know' the correct values, but when it gets to the view, the validation fails. I have Jobs, Costs, and Vendors, all interrelated. The...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557912", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android View to Bitmap - View.Draw(Canvas) I am taking a screenshot of my Android app in order to include it in a .pdf report. On devices with API Level >= 26 I am using PixelCopy successfully, and I get a proper image. For devices with API Level < 26 I am forced to use Canvas like explained here. This works OK for ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557916", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Missing "key" prop for element in iterator, While uploaded in vercel and netlify import Link from "next/link"; import { withRouter } from "next/router"; function Navbar({ router }) { const navs = [ { text: 'Home', href:'/'}, { text: 'About', href:'/about'}, { text: 'Portfolio', href:'/portfolio'}, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557917", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to pass use sync_to_async with a chain of methods I have a case like the following: async def handler(self): await sync_to_async(Stock.objects.filter)(id__in=product_stock).update(is_filled=False) Where I am trying to pass the product_stock to the filter method then call the update on the filtered queryset. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557918", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: z3 optimizer: finding minimum number of changes in z3 solver, I want to find different assignment for input variable. Also, I want solver to optimise input by select the assignment with minimum number of changes in the values of x1,x2 and x3.. x1=0 x2=1 x3=1 s=Solver() g = Goal() g.add(y==0) s.add(y= x1+x2-x3) s.add...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557919", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How could I divide two div like this? How Could I divide two div Like this. Is it Possible with TailwindCSS. Also what can be the code if I divide this two div with CSS. I'm sucking with this also I can imagine how it is possible. A: You could do something like this <div class="relative flex h-20 w-full items-ce...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557921", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C# unsafe: AccessViolation with arrays This question refers to the following issue at github: https://github.com/Efferent-Health/fo-dicom.Codecs/issues/23 We have the following source code (simplified): PinnedByteArray frameArray = new PinnedByteArray(frameData.Data); byte[] jpegData = new byte[frameData.Si...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557922", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i make this list? How can I make a list like this that reacts to click using html/css/javascript? enter image description here You can see the list i'm talking about in https://www.chs.org.br/transparency . I try using <ul> <li> but unsuccessfully.
{ "language": "en", "url": "https://stackoverflow.com/questions/75557923", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to sort elements of the list depending on the coefficient of the symbolic, since the symbol is unknown? I have the following code, import numpy as np import scipy as sp import sympy as smp import matplotlib.pyplot as plt from scipy.misc import derivative from sympy import Eq,solve from itertools import groupby ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557927", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: rails 7 and bootstrap 5.2.3 with importmaps javascript won't work I'm not sure what I am doing wrong, I checked also most other similar questions on Stack Overflow, but nothing seem to work for me. I'm trying to get bootstrap 5.2.3 javascript to work to get a dropdown menu. I'm trying to do this with using importmap...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557931", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TypeError: Cannot read properties of undefined (reading 'data')? I have an error interceptor using axios, however I cannot capture the error content, when it is captured. There is no value in "error". Note the code: console: enter image description here Service.ts import axios, { AxiosRequestConfig, AxiosResponse } ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557932", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reporting an issue, using ExoPlayer libraries This is my first Android app using Compose(with MVVM architecture and dagger-hilt). This app is for radio streaming and I use ExoPlayer libraries. The problem when RadioPlayer screen receives a new radioUri the previous radioUri stay playing, and I knew that the Launched...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557934", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to find number of days in a year column? I have a dataframe like this: df = pd.DataFrame({"Index":[0, 1, 2, 3, 4, 5], "Year":[2019, 2020, 2021, 2022, 2023, 2024]}) df Out[12]: Index Year 0 0 2019 1 1 2020 2 2 2021 3 3 2022 4 4 2023 5 5 2024 I would li...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557939", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to convert parquet file to java object in a spring boot microservice project enter image description here enter image description here I need to convert this parquet file to java object and store in data base
{ "language": "en", "url": "https://stackoverflow.com/questions/75557944", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: javascript backquoted strings and semicolon This little situation in JavaScript was driving me crazy. The contents of the SQL string are unimportant. However, the line I commented as [1] simply was not executing. Other lines after it were executing. I tried to power past the problem by duplicating the line in case t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557945", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How would I access values as they're updated from a webpage using HTML? I'm working on the code below as a 100 days of code assignment. The assignment requires that I create an automated clicker bot. My question is, the prices of the store items change (increase). How would I use Selenium and Python to access values...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557947", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring Kafka - In Memory Grouping Consumer Timeout Mechanism Hello Gary and the Spring Kafka community! :) I have a Kafka consumer in which I'm accumulating/grouping messages. I've used Spring's scheduling mechanism to spin up a thread and produce a 'timeout message' to the topic that my grouping consumer is consumi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557948", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to resolve this ? ValueError: Cannot have number of splits n_splits=5 greater than the number of samples: n_samples=1 I tried to understand the issue and find the solution, but I don't have anything yet. Code Snippet: import sklearn import pickle from sklearn.svm import SVC from sklearn.model_selection import tr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557952", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How can I change color when any portion of SVG is hovered? I am trying to have a SVG change color on hover when any of the area is hovered over. It's working for the "top-most" SVG but not the bottom one. The bottom SVG only registers a hover on the bottom half - is this from the bounding SVG box covering the z-inde...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557953", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I get loguru's logger to work while running a Python program as a Windows service with NSSM? I can use NSSM to run my Python program as a service just fine, and I can run my Python program just fine on its own and get loguru output to a log file as well as console window - but when I run the program as a ser...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557955", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Swift Crash in getter for location services I received several crashes in Xcode organizer, but I'm not able to find the root cause for it. Would be nice, if someone could look at it and give his thoughts ... ... here is the code of the getter // most recent location received var _mostRecentLocationReceived : CLLoca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557961", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using Symbol as enum Enums are typescript feature. You can create enums this way: enum Constants { label: "label" } export default Constants I want to set the value of the enum to be a symbol, is it possible? enum Constants { label: Symbol() } export default Constants But typescript doesn't accept it. and it s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557963", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Change order of categories I'm looking to see if it's possible to rearrange the order that my categories get pulled through. Below is the code I am using. It pulls through the categories relating to the product. <?php echo $product->get_categories( '', '<span class="posted_in product-categories">' . _n( '',...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557967", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Read messages on a subscription added on a specific date I have the code below which works fine to read messages from a servicebus topic but I have 300000 messages in the subscription The message I need was sent on a specific date Is there a way to change the processor to only return messages for a specific date? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557977", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ffmpeg decoding through C-API leads to artefacts when input resolution is 1200x1600. Am I doing something wrong? Using the C-API and FFmpeg 5.1 I have been able to encode h264 videos with libx264 on Android. Now I wanted to replay them on Linux inside my C++ application. These videos can be played correctly on a bro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557980", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How do i check if an app is currently running? im trying to check if a certain app is running or not but i dont seem to be able to. (Am i missing something obvious? im not too experienced with android so i might have missed something). in order to debug if it is working i wrote this in the onCreate (keep in mind thi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557982", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In flutter, how to implement multiselect dropdown list I'm working on selecting users, For that need to show users list as suggestion dropdown and then will leave them to select one or more users so like this need to implement multiselect users A: There's a great library for your case, multiselect. In the onChanged...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557983", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Stored procedure execution issue I have written a code that compared address from three different table for customer, the code executes in 2:30 secs, I wanted to get this code in stored procedure to get a refresh-able report. Every time I get the code into a stored procedure, it keeps executing for hours and returns...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557986", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Is there a way to save all images from a certain domain (and of certain dimensions) when loading a webpage in firefox (or chrome)? I want to automatically save all images that are loaded on a webpage and continuously updated by a script. The Images can be retrieved from the browser cache, but it's a rather strenuous...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557987", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to backup Windows (Server 2016) Language-Settings within a project I need to use a jump server which is reset on a regular base. That means that I have to re-setup my working environment after each reset. For this I wrote a PowerShell script which exports different parts of the registry and copies configuration ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557988", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: upgrading mongodb cluster. Is there a table for mongos (MongoDB Shard Utility) compatibility? I need to upgrade mongodb cluster There are many applications accessing mongodb using mongos (MongoDB Shard Utility) I need to know which versions are compatible In other words, can I install mongos 6.0 , and it will conn...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557989", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make sure flutter build_runner includes files in the test/* folder? I am using getIt with injectable for dependency injection. I have some mocks created with mockito that I am trying to inject as a substitute for my actual repository, but when I run the build runner, they are not showing up in the generated i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557991", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unexpected Error trying to create a pyspark Dataframe I'm trying to get accustomed to using Pyspark, and have been trying to re-create a sample script I found online but keep running into an error when trying to create a pyspark dataframe, see below: import pyspark from pyspark.sql import SparkSession from pyspark.s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557993", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Use live activity with a timer instead of push notification I have already implemented method where I'am generating some push notifications between specific time interval. And I have implemented method where im handling notification such that if user opens notifications within 1 minute, it prints "Success' and if us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557995", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I have to create a script for update one website through his prod version but I don't know how to use variables like YYYY-MM-DD I have to create a script to update a website via its prod version, so I need to retrieve DB backups and files from a remote server. My problem: the backups are made in the form of a new fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557998", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: tron: where to get current `Energy By Burning TRX` exchange There is calculator https://tronstation.io/calculator. But where I can extract assets exchange rates, i.e: Energy By Burning TRX - 1 TRX equals 3,571.429 energy. How to get such rates by API, is it possible?
{ "language": "en", "url": "https://stackoverflow.com/questions/75558000", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Display an HTTP Response Body Content-type: application/pdf in a HTML page I am getting a HTTP response of the PDF file and I can see the PDF file when I run the API in Postman. How to display this response body in a HTML page or download the PDF from HTML Page? HTML <iframe src="" id="dispwill" frameborder=...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558002", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to obtain inverse Hessian from BasinHopping in Scipy I'm trying to determine the error from my minimization via Basin Hopping. I have this setup: min_protocol=basinhopping(fun,minimizer_kwargs={'args':(arg1,arg2),'method':'L-BFGS-B','bounds':bnds},x0=1.0,take_step=MyTakeStep(),niter=10) From the output I can se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558005", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I don't understand why changing an image reference in a list leads to displaying said image I'm running a python code to manage images with tkinter but there is something I don't understand: I have this "blankimage" : imageblank = PhotoImage(file="blank.png") A list of image references: logos = [PhotoImage(file="%s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558011", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create and start long running tasks dynamically and with scoped dependencies in ASP.NET 7 (no hosted service at compile time)? I am using ASP.NET and would like to create and start long running tasks from inside any scoped service or singleton service or hosted service. Neither the number of the tasks nor the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558013", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to resize on click and change back if clicked again? I'm trying it with this one, but sometimes the .click() just automaticly does the command not waiting for actual click. var x = 0; if ($('#business').click() && (x = 0)) { $('#business').css('height', '500px'); x = 1; } else if ($('#business').click() &...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558014", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create sublist and summary box in suitelet? I want to create summary box like for example sales order summary box. In that box I have to show these fields. and below sublist for individual field values. same like sales order record. How we can create this design? Please Help! field1 field2 '<table ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558015", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: argument unused during compilation: '-mcpu=cortex-m7' when using arm-none-eabi-g++ with clang-tidy I am using CMake to run clang-tidy while compiling my embedded target. if(CLANG_TIDY) set(CMAKE_CXX_CLANG_TIDY "clang-tidy") endif() CMake sets the correct driver mode automatically: --tidy="clang-tidy;--extra-arg-b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558018", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring data query to find 'ManyToMany' String items between 2 tables i have a Spring + Java 11 + H2 in-memory database project and I have these 2 Entities (about the IMDB datasets) and corresponding Repositories: Name: @Data @NoArgsConstructor @AllArgsConstructor @Entity @Builder public class Name { @Id ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558025", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: using delimiter "|" is not working as expected when turning dataframe into csv I have writen out dataframe using delimter ,. It creates a csv with separate columns but when use the "delimiter" "|" like in the below code it does not separate columns. df.write.option("header", True).option("delimiter", "|").mode("over...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558029", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Columns bar chart: how to remove/hide a class if it's not assigned in a column? I have a bar chart subdivided into columns by class. Each bar chart is colored by another class.Sometime the color class is not present in some columns (in the image an example). What's the way to not have it in the single bar chart, if ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558031", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Initializing constant variable based on constexpr condition How can I initialize constant variable based on constexpr condition? I need initialization equivalent to this non-compilable code: const int x; if constexpr(cond) x = value1; // value1 may not be valid if cond is false else x = value2; // va...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558032", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is it possible to summarize conditional named dynamic imports iteratively in JavaScript? I would like to programmatically simplify the following named imports and assignments in order to avoid repetition and was wondering if there is a way to do this with the help of a loop. What I have at the moment: import { globa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558033", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Data scrubbing and filtering a Dataframe down by conditions and then replacing columns with a string I'm trying to filter down a dataframe in a large dataset and trying to do a replace function to fill in NaN column values. I've write the below code but don't believe I'm structuring it correctly. Any help would be...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558034", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Edit the style of the upcoming text in a UITextField I have a UITextView which has a UITextField inside. When I write in it, I want that if I click on a button the words I will write next will be for example bold. When I then click on the button again, the text should stay bold and what I will write next should be n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558035", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MySQLWorkbench quit unexpectedly on macOS Ventura 13.2 this is the error I have tried to re-install, but still same error A: This is simply that Python 2.7 missing in Ventura OSX. I installed 2.7.11 via the official pkg installer here (https://www.python.org/downloads/macos/) then installed Workbench 8.0.19 (macos)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558036", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to override Jenkins shared library version at Organization Folder level? I have a shared library which is defined in Jenkins global configuration with "Allow default version to be overridden". I can without problem override this version in a Jenkinsfile (or via Replay action) by specify @Library('<name>@<version...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558038", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Moving from Enhanced 4G LTE Mode to 3G on Android 9 Programatically I am trying to change the internet mode from the 3G LTE Mode to 3G on my Qualcomm SoC running Android 9. I can do that through the settings but I wanna do that programmatically through the Android application using Java. I couldn't find any Android ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558043", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does function from trimr package remove all data? I am removing outliers from my data using a non-recursive method as described by Van Selst & Jolicoeur (1994). To do this I've been using the trimr package to remove outliers at the participant and condition level and return the raw data with these removed. Howev...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558046", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: WebSocket connection to 'wss://129-227-205-149.edge.agora.io:4714/' failed: WebSocket is closed before the connection is established I'm using Agora.io web sdk(AgoraRTC_N-4.16.1.js) to build a video chat app and the websocket keeps on failing before establishing a connection. The error is shown in the AgoraRTC_N-4.1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558047", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Scrollable (left-right) table on small screens, rest of screen not scrollable My goal here is to have a table which displays normally on large screens, but when the screen is smaller than $minTableWidth, it should become scrollable, and the component which it is wrapped in should continue to get smaller and display ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558050", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I use the Environment Tag in GetIt/Injectable when not distinguishing between prod/dev? It looks like when I am using injectable, there are three different environment options - Environment.test, Environment.prod, and Environment.dev. I'm wondering how to use this when I'm not distinguishing between prod and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558051", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a "bookmark/headline" Syntax for a document outline in Python/pyCharm, like #### works in R/RStudio? Coding R in RStudio allows you to bracket comments in #### to generate a "table of contents" that one can use to jump back and forth to different code sections. I love the lean and quick way tis allows for s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558054", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Handle a list of String I have a list of String, I need to find all duplicates, also remove all children if the parents are in the list. My string can have a max 4 levels: Level0: "Root", or leave empty Level1: "Sweden", "America", etc... Level2: "Sweden.Stockholm", "America.Chicago", etc... Level3: "Sweden.Stockhol...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558057", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Where are text files in my Xcode project? I've created a simple program to write in a text file, and it seems as if it works. I just cannot find where to locate the text file it created in my Xcode project. FILE *fptr; fptr= fopen("testawesome.txt", "w"); fputs("I love programming!", fptr); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558058", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to provide dynamic_template_data without hardcoding it? TLDR; How do I fetch my dynamic_template_data from an API call instead of hardcoding it? I am using the node.js implementation. I am following the How to send email with dynamic templates guide. According to the docs... In order to send dynamic content, yo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558059", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to open recordsource of another MS Access through MS Access addon I have created an MS Access addon, which opens a form, this form has buttons that open other forms that are in the addon: The problem is that this addon is trying to get the record source from the addon and these tables do not exist in the addon ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558060", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to prevent es-lint from enforcing unnecessary tabs? In my Angular project I would like to enforce tabs instead of spaces. That's why I added the following rule to my .eslintrc.json: "indent": ["error", "tab", { "SwitchCase": 1 }], This basically works, but it comes with an ugly side-effect: An additional indenta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558063", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring batch: multiple operations in writer In a spring batch project I have to implement multiple operations in a writer: call two different APIs and update a local database. The point is: if one of these operations fails I need to restart from the failed one, without repeating the previous. Should I implement my o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558066", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how do i completely install flutter dart sdk , I tried opening a flutter project, yet it says flutter sdk download incomplete, and each time i run flutter doctor, it gives me this error: This was the error: [Checking Dart SDK version... Downloading Dart SDK from Flutter engine 3950c6140a3f1cb295364b0446627bd3a173...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558070", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python: How do I change this merge loop by vectorization (aka Numpy) or any faster way to process? anyone can help on this code to make run faster by using vector or any other ways to improve on this ? it take about 1h to get to 120 loops... and I need to get to 365 which may not be attainable.... df and df2 are sim...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558073", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how do I fix the error "No targets specified and no makefile found. Stop." even though I do have a makefile I am new to c++, and I am making my first game using SLD2, with my IDE being VS code Just to not leave anything out, I will ramble the tale of how this problem came to be: after setting up everything, I ran th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558074", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to calculate numeric age from conflicting age classes? I have a dataset on animal captures for a series of year, which may look like this: Data<-cbind.data.frame(c("A","B","A","B","C","A","B","A","B","C"), c("1CY","2CY",">1CY",">2CY",">2CY",">1CY",">1CY",">2CY",">2CY",">1CY"), ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558076", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Firestore fetch document ids without fetching document data I have a large collection of large documents stored in Firestore. As fetching the entire collection would be costly, I would like to fetch a list of document ids for my user and only fetch the document data after my user makes his selection. This is how I'm...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558084", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Discord Bot for SoftEther VPN, fails to retrieve data or only empty data first time post to a rather niche problem. I have started to develop a discord bot that checks the sessions of 3 Virutal Hubs inside of the SoftEther VPN Server I run. This is being made because users are always requesting if the Hub is Full or...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558087", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: two questions I encountered in an interview Two questions I encountered in an interview: * * If a table contains a primary key, it automatically creates a clustered index. Will a table with 1 million rows be created with a clustered index? Explain with a proper example. * Why are "stored procedures" named lik...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558088", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: custom element: not able to extend HTMLProgressElement I want to create a custom progress bar and extend from the native html progress bar. However, the console.log does not get called when I try to extend from the HTMLProgressElement <free-shipping-bar value="32" max="100"></free-shipping-bar> class FreeShippingBa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558089", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it posible to use a docker command inside buildspec.yml for a NetFramework 4.6.2 application to create and push an image to AWS ECR? I have an Console App with NetFramework 4.6.2 and I need to automate the deploy using AWS CodePipeline, I did the next steps: * *make a dockerfile: inside execute a serie of comma...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558090", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PowerShell - Rename Files based on a matching .basename I am looking to rename a .wav file when the corresponding .txt file is renamed The Files have the same basename but are different file types. I am using get-content on the .txt file to get the name I would like to use. But cant seems to get the .wav files linke...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558092", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Web page bigger than expected I'm new with HTMLL/CSS and I'm trying to create a layout in and I (think) calculated perfectly the widths and heights of all my divs but the website seems to be is scrollable horizontally which is undesirable. Do you know why? The desired output is a fixed sidebar (not scrollable), a he...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558094", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Testing SqlKata generated SQL Query on a CI/CD environment I'm using SqlKata in order to create queries pointing to a restricted database model. So the user can pick a set of fields and apply operators over them. The result is a set of rows. My goal is test each of that operators maked with the builder so that query...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558099", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why doesn't window.open('//google.com', TARGET) reuse the same tab like other domains? (Edited because //google.com and //www.google.com were actually different domains.) window.open(URL, 'TARGET') normally creates a new tab named TARGET and keeps re-using this tab to open future calls to window.open(URL, 'TARGET') ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558101", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to create simple puzzle game on Jetpack Compose? With what and how can you create such a mini-game on Jetpack Compose? I tried to use LazyGrid, but I couldn't do Drag and Drop in it. https://imgur.com/a/ESiMnar
{ "language": "en", "url": "https://stackoverflow.com/questions/75558103", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to split a dataframe into different vectors? I have a data frame: crops <- c(1:6) direct.genetic.effect <- data.frame(crops) direct.genetic.effect$DGE <- runif(6, min=50, max=100) df <- data.frame(crop=rep(1:6, each=4), genos=rep(1:4, 6)) df$crop.genotype <- paste(ddf$crop, df$gen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558105", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Allow K8s serviceAccount to read clusterroles, problem when trying to deploy ingress-nginx helm chart with jenkins I'm trying to deploy ingress-nginx helm chart to K8s with Jenkins running in container. Kubernetes version: 1.25.4 and Helm chart: https://artifacthub.io/packages/helm/ingress-nginx/ingress-nginx I have...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558106", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: High CPU usage on server with Apache, PHP-FPM, and WordPress I have a server with 2 CPUs and 4 cores and 8gb RAM, with Ubuntu 20.04, Apache and PHP-FPM installed. Inside it, I have a WordPress multisite installation with about 150 sites. Recently, I've been having issues with CPU usage, where 4/5 php-fpm: pool www p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558107", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Making a 7x7 checkboard in JavaScript When I run the code below nothing shows up on my webpage and I'm wondering why. I'm not too sure what i'm doing wrong here. I tried running this through ChatGPT and it said it should work but when I run it the page is left completely blank. for (let i = 0; i < 49; i++) { const...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558108", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: jupyter notebook ubuntu crash for no reason my jupyter notebook stop work, I tried to reinstall jupyter 10 times, and I tried every advice from StackOverflow(with a similar problem), but nothing dont work. OS: Ubuntu 18. LTS When I type the jupyter notebook in trml : this will open jupyter in web browser, when i ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558109", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: onGenerateRoute gets called multiple times but the navigator only builds once flutter I am currently building an app where I need to have nested Navigation. Therefore I have a Widget that consists of a Navigator widget. I contains 3 named routes it can go. The initial route leads to the AuthoverviewPage. It is also ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558110", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Excel - Check column to see if it matches with an array of words, if so then print the matching word in the array Name Array of Fruits Results Apple John Apple Apple ----------- ----------------- --------- Orange Mike Orange Orange ----------- ----------------- ---------- Apple Bob Grapes Apple ---...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558113", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Config Nginx to connect passing by other proxy I have an Nginx that recives requests from my front and enroutes them correctly. But I have to connect request that begins with specific path to a back passing by another proxy. Front -> Nginx -> Other Proxy -> Back Is it possible?
{ "language": "en", "url": "https://stackoverflow.com/questions/75558116", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to convert sql rows to list or string in Go or MySQL? Supposed I have the select id from user output as below: id 1234 2523 3624 4234 I would like to convert the above result like this (1234,2523,3624,4234) or ("1234", "2523", "3624", "4234"), whatever it is list or string, I tried to covert them with below Go...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558117", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Multirow issues in Table in Latex/Overleaf Here is my Latex Code: \documentclass[a4paper,oneside,11pt]{report} \documentclass{standalone} \usepackage{standalone} \usepackage{multirow} \usepackage{multicol} \begin{document} \begin{table}[h!] \begin{center} \caption{Algorithm Performance Evaluation Utilizing Di...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558118", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Execute Multiple Queries using bQ and store results in cSV I am Trying have a GCS bucket with different Queries in different files(Big Query). I am creating a GCP dataflow(Apache beam Java) to read each query, execute and get the results and write them as individual csv's to a GCS bucket. Can you suggest any examp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558120", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In Xamarin.Forms XAML, where should I store converter classes? In the Xamarin.Forms app I'm working on, we use many converters within our XAML pages. Some of these converters are very specific to the view they operate in, while others are more generic (E.g., convert index to boolean based on input argument). Is it b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75558124", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }