text
string
meta
dict
Q: Bootstrap + Angular: Can't bind to 'bs-target' since it isn't a known property of 'button' i am currently developing an Angular Application and using Bootstrap CSS. I want to use an Accordion Component which gives me an expandable item for each element i have. The Bootstrap example works just fine. In the Button i n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595742", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Script @php artisan statamic:install --ansi handling the post-autoload-dump event returned with error code 1 I installed 1 source laravel 10 from github and ran composer update. Then I got an error and couldn't find a solution. composer update Loading composer repositories with package information Updating dependen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595743", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Oracle calendar with holidays I'm trying to build a calendar, which appears to be working okay. How can I include a holiday column with 'Y' for a holiday and a 'N' if not a holiday. In my test CASE below I want Feb 8 holiday 'Y' and all other rows =''N' CREATE TABLE holidays (holiday_date) AS SELECT TRUNC(SYSDATE, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595745", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to turn a number into a date snowflake I have a table that displays as ID END_DATE 12 20,300,615 99 20,510,315 12 20,500,415 The end date column is of type NUMBER(38,0) and I need to turn it into a date with format 'YYYY-MM-DD' and then convert that to a string. I tried doing SELECT *, TO_VARCHAR...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595746", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do you add an external library to a cmake project from github which depends on third party libraries I was trying to include an external library in my project using the following: ExternalProject_Add( http_server_dl GIT_REPOSITORY "https://github.com/av4625/http_server.git" GIT_TAG "beast" GIT_SH...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595747", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Logic inside Django serializer I have a Django serializer implementation that has a field which contains a list as part of a JWT authentication process. For example: class MySerializer(serializers.ModelSerializer): class Meta: field = ['a', 'b', 'c'] I then have some logic in my user model class MyUser(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595748", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get java to use provided path as literal path I'm running a Scala app on a synapse spark cluster. I've mounted a file at: synfs:/myPath/myFile.txt If I try: val file = Paths.get("synfs:/myPath/myFile.txt").toFile() It tries to find the file at javaTmpDir/synfs:/myPath/myFile.txt, which doesn't exist If I swi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595749", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Empty plot and zero values for mass function This code gives empty plot in logscale because the n values for M>1e13 are zero and also for different z values the results are exactly the same. Can anyone help to solve this issues? import numpy as np import matplotlib.pyplot as plt # cosmological parameters from Planc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595751", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Skip Github actions commits but not repository? I recently made my profile repository on GitHub in which I have readme whatever I add into it show on my GitHub profile. I also added some GitHub actions now problem is whenever they run they make commit which shows on my GitHub contribution graph that is not right I d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595754", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Batching with Eigen's AutodiffJacobian I have a tiny graph with say 3 inputs and 1 output. It is written in c++ using the Eigen library. Now I want to obtain the Jacobian using automatic differentiation. I have found a piece of code that almost does what I want from here. Now I want to introduce a batch size. Is the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595757", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to manage AssociationField in easyAdmin Symfony I have Article and Author Entities, there is a relation ManyToMany between them. there are also association fields in easyAdmin panel in both entities When i change author of an article in article dashboard it doesn't change, i can select authors from the list corr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595758", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Is there any way to prevent a DELETE/UPDATE query to use the primary key greater than/less than comparison? In MySQL/MariaDB there's the SQL_SAFE_MDOE that prevents you to run a query without using a primary key in the where clause. But even with that flag on I could run a query such as DELETE FROM table WHERE id > ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Azure and Razor Pages I’m an IT consultant who works with many businesses on technical issues and business processes. I have a background in systems with some experience in software development, but well before cloud technology and Azure so please excuse my potential dinosaur vibes… My client has a Wordpress website...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595762", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Sorting on cxGridDBBandedTableView I am working with Delphi XE7, and I am using the cxGridBandedTableBackgroundDBBandedTableView component that is linked to a memory table, when I show the values ​​this component has the possibility of ascending/descending order by simply clicking on the column, The problem I have i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595764", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Recurrence Relation of a function with two variables I know the formula for a recurrence relation, and how to apply it to functions with one input variable. However, I'm confused about how to find a recurrence relation for this function: void test(int k, int n) { if (n > k) return; System.out.print("n = " + n); fun(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595765", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot connect to Mqtt Broker from .Net client running in Windows Service I have created a Mqtt.Net Windows Service in C#, using Framework 4.6.1. The service on my local Win 10 box works perfectly, publishing/subscribing to messages to/from the EMQX Broker. However once I deploy my x64 release version to another box...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595767", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to send an error message with 200 status code using Model Binding in .NET Core? I've made a project in which if a certain property is sent empty or null, it should return an error message when that API is hit. I am using model binding to achieve this, I've added the following code into the "Startup.cs" class: se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595768", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add cooldowns on discord.py hybrid commands? import discord from discord.ext import commands from discord import app_commands class Bot(commands.Bot): def __init__(self): intents = discord.Intents.all() intents.message_content = True super().__init__(command_prefix = "!", case_ins...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595769", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Django: I get this error: " AttributeError: 'bool' object has no attribute 'startswith' " when I try migrate in django I get this error: " AttributeError: 'bool' object has no attribute 'startswith' " when I try migrate in django This is my code: from django.db import models # Create your models here. from django....
{ "language": "en", "url": "https://stackoverflow.com/questions/75595770", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Bazel pip_parse results in repository not defined Trying to build a set up Python package dependencies with rules_python per these instructions but when running bazel build I get this error: ERROR: error loading package under directory '': error loading package 'zzz': Unable to find package for @my_deps//:requiremen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595771", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Requests PUT method doesn't send keys properly I'm trying to create a PUT request using the lib requests. The request is working properly when i send the data through POSTMAN, but it doesn't work with Python requests. Here's what i've tried: jsn = {'key 1' :'item 01', 'key 2' :'item 02', 'key 3' :'item 03'} i = jsn ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595773", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Giving AttributeError Trying to prepare x and y for fitting the model y = X_train['Selling_Price'].values X = X_train.drop('Selling_Price', axis=1).values X_test = X_enc_test.drop('Selling_Price', axis=1) giving error : AttributeError: 'numpy.int32' object has no attribute 'values' I tried with few things but not ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595776", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: how to send a character to the screen in 8086 assembly? today I came across how to send a character to the screen in assembly and by surfing the internet I found several methods: two of them are: tell the firmware what you want to print and have it do it and or have the os do it, basically the os will ask the firmwa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Draw admin side-menu in custom widget admin page My issue will be very simple but I still have managet to get stock on it. Basicaly I created a simple widget and I wanted to create a configuration page for it by adding the following code to: add_action('admin_menu', 'hook-handler'); function hook-handler() ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595778", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TS read file from script path I'm doing a library in Typescript on which I need to read some files. I know that it's possible using fetch(url) where url corresponds to the relative path to the file from the html page. The only problem is that I don't know where the html page will be located since that will be the jo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595781", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Hover on video and touch on mobile I am building a portfolio site in webflow and i was able to load video thumbnails from CMS and start the videos with mouse hover. But on mobile, nothing happens... I know there i a 'touchstart' function, but i dont know how to implement. Can you guys help me? Here s my script: <sc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595785", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Setting up secondary condition for exact cover problem I understand and have coded the Knuth’s dancing link algorithm for the exact cover problem. What I have a problem with is setting up the options matrix, mainly secondary items. The problem I am trying to solve is the enumeration of 3-configurations tables. An or...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595786", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Retry logic for Reactive Kafka is not working im using spring reactive kafka to create a consumer but retry logic is not working when there is an exception. @EventListener(ApplicationReadyEvnt.class) public void consume(){ reactiveKafkaConsumerTemplate.reciveAutoAck() .map(ConsumerRecord::value) .flatMap(record->co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595787", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Condition or function to verify if a file is missing when opening files sequentially in ImageJ I'm using an ImageJ macro that opens and processes a group of images from several samples sequentially named - e.g. sample1_image1.tif, sample1_image2.tif, sample2_image1.tif, (...). I'm using a loop to increment both sequ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595788", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can't access protected members of a parent class and i don't know why I'm making an exercize to train C++ the question is: a) Within a “my_game” namespace, create a header file where a class is defined “Rectangle”, which must have as protected access level member data: • 2D coordinates of the center point of the rec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595789", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I ask for credentials but assume Domain? I have a script to make sure needed PS modules are installed and get the latest version of all files needed for running a script. What I have does work but I would rather it "assume" the domain instead of having to have the domain in the username field. having to pre-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595792", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can not parse Variables from NodeJS to pug I am trying to parse some vars from my NodeJS index.js file to my profile.pug file. Here the code snippet from index.js: app.get('/profile', requiresAuth(), async (req, res) => { var song_info=await getSong(); res.render('profile', { user: req.oidc.user, details: song_i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595793", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: remove specific value from pyspark array, when that array is produced by `arrays_zip` Imagine I have a pyspark frame with two array columns, and I zip these columns together using arrays_zip. How can I subsequently refer to a specific value in the zipped array in order to remove those values? Here is an example: edf...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595796", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: ExecuteScalar() in c# is creating duplicate records This below code is inserting a duplicate record into the database but it's not happening often. Its creating the duplicate ones in 1/50 records. public static int CreateVisit(string connection, Hashtable htParms) { int results = 0; StringBuilder debug = new...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595797", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How take data for dictionary from txt file (Python) I had stuck with one menu option in my work, is there is somebody who know how to convert a data from a txt file into dictionary format? The task is by menu option number 5 download data thet was made into txt file, and than, if the program was restart, and the dat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595798", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to show custom labels in candlestick chart apexchart I have been working on candle stick chart but couldn't figure out ow I can show my custom labels in candlestick chart in apex chart here is my options code const options = (item: string): ApexCharts.ApexOptions => ({ chart: { type: 'candlestick', heigh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595799", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Nodejs Archiver ArchiverError: archive already finalizing I want to zip folders excluding certain files/folders so I used the solution in this answer. The solution works for a single folder but throws error when there are multiple folders to be zipped. I need to make zips from each sub-folders of the source director...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595801", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reuse apache certificate and key to run node.js websocket server? I have a domain registered and apache running with SSL certificate. I want to run a websocket node.js server, something as simple as this - https://github.com/websockets/ws/blob/master/examples/ssl.js I had enough with trying proxy and rewriting via a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595803", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to prevent multiple versions of Boost on gcc search path? I'm compiling a program that uses Boost on a shared cluster. I have my own copy of gcc and most programs and libs I use in my home directory, including Boost 1.81.0. The cluster has Boost 1.66 in /usr/local/include. gcc seems to prefer these files over my...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595804", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error deploying Next JS 13 application on GCP App engine Its working fine with Next version 12, but after upgrading to Next 13 its giving me below error. and current node version: "18.x.x" Next Js version: "13.2.1" Step #2: /app/node_modules/next/dist/build/index.js:358 Step #2: ...pageKeys.app ?...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595806", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I would like to run an exe file with os.startfile, but the file does not run completely all the way through I am running a code that simply runs an exe file with python: import os os.startfile("File.exe") but when I run the code, the window (File.exe) will start to run then close immediately. Not really sure what is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595807", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Magnetic Field Lines in Sun python I wanna make a program which shows unbroken magnetic fieldlines on Sun on python, a single one, but I can't use the keyword because it gives back errors. I use anaconda in windows. I try to use unbroken_streamlines from matplotlib but it didn't work and I have python 3.9
{ "language": "en", "url": "https://stackoverflow.com/questions/75595811", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How would I change a Server Callback to a Client side Event in Lua I have a script that I use on a game which allows interaction with objects. Once I have interacted with the object, it's state changes to "Interacted" on the server so other players can't interact for a time limit. It's coded in Lua and I would like ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595813", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i make slideshow of complete Shop the look? Here's the code of Shop the look. I want to put this code into slideshow.
{ "language": "en", "url": "https://stackoverflow.com/questions/75595814", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Rego Policy to ensure an efs_file_system has a back up policy in terraform i’m trying to write an OPA rego policy that ensures that an aws efs_file_system has an associated back up policy in terraform. My thought process is that I would do a list comprehension to cycle through all the back up policies and get the as...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595815", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Custom PyDeck Tooltip in Python Panel Application - Fails to Access Data Good morning, I'm trying to get a custom tooltip working in a PyDeck map embedded in a Python Panel application, and am noticing a weird issue where the tooltip data fails to render in the Panel application but shows up just fine in a PyDeck vi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595819", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Streamlit - How can I retrieve edited dataframe in callback I'm using the newly released experimental_data_editor instead of st-aggrid, and there are many interesting features. However, I'm confused with the usage of the callback function, as it does not let me access the changed dataframe; I only have information o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595820", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Jackson TypeReference JSON to Java method I am trying to call a function that parse the JSON String to Java Object using the objectMapper of jackson but I have a problem. Right now I have: Batch<Person> batch = new Batch(); //Try Map Json String "Batch" to JAVA OBJECT try { batch = objec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595821", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: HTML client based server multiplayer for a game I am making a HTML game and I want to implement a client based server for mutiplayer.It does not have to be secure as this is just for friends to play with each other.How would I go about doing this? I have tried some stuff but I am quite new to HTML and websocket.
{ "language": "en", "url": "https://stackoverflow.com/questions/75595823", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: Get certificate authority role service of ADCS server How can we know which Role Services were selected in the wizard of the ADCS server has configured first time using any cmdlet or command line as like i.e. certutil ? [ ] Certification Authority : used to issue certificates to users, computers, and services, and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595824", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: IOS APNS Push notifications are not working So i got problem with notifications on my ios app. My notifications are working in app but Push notifications are not working. Can someone get with me on call and help me to fix this please? telegram: @defaultsrb discord : Miki#3091 I was trying this for few days to find a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595825", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: MVC C# - Oracle Exception when call a Stored Procedure Previously I was using VS2012 and running this code in my controller worked great, but after migrated to VS2019 I got the following error when calling my SP. If I run it directly from PLSQL it works fine without any error but when call it from the controller it ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595828", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Chrome driver issue Could not start a new session. Response code 500. Message: unknown error: unable to discover open pages I am using the Chrome Version 110.0.5481.77 and Selenium version 4.8.1 I am having this error while running the script. It keeps crashing my driver and does not load the website. Caused by: org...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595831", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: i want to print the value of list as variable but it is string , I do not know how convert string to variable my code picture as I say in title I want to convert string to variable that save it as number and print it as binary I do not know how to convert string to variable in python python show error that we cant p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595835", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Storybook install failed caused by fsevents I'm trying to install storybook on my project. I've got the next error : npm install @storybook/vue3 --save-dev npm ERR! code EBADPLATFORM npm ERR! notsup Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin"} (current: {"os":"linux","arch":"x64"}) npm ERR! notsu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595837", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Selecting all entries of a vector except for specific ones in Julia Suppose that I have a vector, e.g. c = [10, 12, 13, 11] in Julia. I want to choose all entries except the second and the third. I can write for example: c[1:end .∉ [[2 3]]] This gives [10, 11] as desired. However, in some formats, e.g. LaTeX, I c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595838", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: dexie.js Database doesn't get updated Sometimes (not all the time) dexie.js db doesn't get updated when you make changes on schema. I tried increasing version. It didn't work. Then I tried to delete it completely from Application/IndexedDB now I can't bring it back on. Not sure why is this happening. I tried: functi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595839", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pseudo element in qt designer I wanted to create for the button a vertical line on the left with dimming on hover using a pseudo-element, but qt-designer styleSheet does not understand me and it is not displayed correctly here is my code: QPushButton{ position: relative; padding: 10px 20px; border: none; background-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595840", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Become su when using vmware_vm_shell module to configure Linux VM using ansible? I have a working ansible playbook which uses vmware_vm_shell module to push network configuration commands to a Linux VM running in VMware. This only works if I use the vm_username as 'root'. I want to use a different user other than 'r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595841", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: discord.py slash commands not importing I am trying to create a discord bot that uses slash commands, I properly installed pip install -U discord-py-interactions, discord.py, and all the necessary libraries needed but it's still giving me this error: "File "C:\Users.\PycharmProjects.\main.py", line 3, in from disco...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595845", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Restore socket connection after mobile switch off Nodejs I'm working on an application that is using socket.io with nodejs. I'm trying to restore previous socket connection after mobile has been switched off manually or some other reason. Can any one suggest with socket.io, can we use the reconnect and reconnectDela...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595851", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to replace a specific Capturing Group using a regex expression? My goal is to replace image links from a markdown formatted string by a custom string. Using this code: #include <iostream> #include <regex> #include <string> // custom string returned by a LUT std::string getReplacementText(const std::string &key)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595852", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: create tuple from ranges in python Is there a way in python to create a tuple of months and years (as: [(2020, 1),(2020,2)...] ) by using the tuple() function? My code: monthyears = [] for y in range(2020,2017,-1): if y == 2018: m_end = 6 else: m_end = 0 for m in range(12,m_end,-1): ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595854", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: SQL - How to return the last row of data from multiple ID codes displayed in 2 columns by timestamp My database table looks like this: I want my query to pull the following data and output this: As you can see I need to get the last row of data (last Timestamp) for each BID_ID and I also need the last row of data ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595857", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Is Interning associated with indentation in Python? I am using Visual Studio Code's Jupyter Notebook on Windows, with Python version 3.9.13 and CPython implementation. The result of two code blocks below are different. a = 257 b = 257 print(a is b) # False if True: a = 257 b = 257 print(a is b) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595863", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to fill in NA values according to a categorial variable in R I have some NA values in my data that I would like to fill in according to the filename column. In order words, every observation with the same filename should have the same values in the discipline, nativeness, year, and gender columns. structure(list...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595865", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: -bash: syntax error near unexpected token `x86_64-w64-mingw32/include' When I try to install the libffi module in my system according to their procedure, this problem occurs.
{ "language": "en", "url": "https://stackoverflow.com/questions/75595869", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Parallelization of an openMP nested do loop using ifort I have a nested do loop in an openmp fortran 77 code that I am unable to parallelize, when doing the command export OMP_NUM_THREADS=14, the more threads I add the worse the results, when its " 1 " the results are perfect, but when I add more threads it gets wor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595870", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: using klmr box::use in an rmarkdown document Can anyone give me an example to add libraries and local functions with the klmr::box package in a rmarkdown document? I am aware of their use in Rhino´s framework, but I feel a bit confused where can I declare modules and libraries in a YAML + Rmarkdown file.
{ "language": "en", "url": "https://stackoverflow.com/questions/75595872", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How does escaping work in mingw's bash being called from windows? For the life of me I really can't figure out how to pass parameters to mingw's from cmd so it prints two word, there is something going on here and I can't figure out the replacement rules. So when I open mingw interactively, we get standard bash rule...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595874", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I build R from sources on macOS? I have seen many guides on Stack Overflow and elsewhere for building R packages from sources on macOS. But what steps are required to build R itself from sources on macOS? And how do these differ between Intel- and ARM-based Macs, i.e., how is the process different on Apple s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595875", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Print hostname into tkinter Hi I am trying to print out the results of this script into the gui window. import socket hostname=socket.gethostname() IPAddr=socket.gethostbyname(hostname) print("Your Computer Name is:"+hostname) print("Your Computer IP Address is:"+IPAddr) Here is the code it needs to wo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595877", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Mongodb add a space to field for the whole collection I'm trying to add a simple space " " to the end of a string for my whole collection. I'm using mongodb 4.0.0 and can not upgrade, not possible right now. Using this object how can I do that? { _id: 'd751b295-6597-4a0b-bd64-89b0fbaac812', yada: { type: 'yada',...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595878", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Excel VBA displays "goto reference" box at the end of execution The "goto reference" box is the same one that pops up when in a spreadsheet and press F5. I've tried adding this to the end of the macro. Worksheets("Dataset").Activate Application.Goto Reference:="$A$1" ActiveSheet.Range("$A$1").Select Like I said th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595879", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: My java jdk does not contain jre/lib/ext files which is required to install thingsboard what to do? can anyone tell me what to do to install thingsboard on windows Copy downloaded file to C:\Program Files\AdoptOpenJDK\jdk-11.0.10.9-hotspot\jre\lib\ext and add a global variable named CLASSPATH with value .;”C:\Progra...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595882", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Https Rest API call is failing with java.net.SocketException: Connection reset I'm trying to call one external HTTPS Post API in our application. The external API call is working if I hit the API from Junit Test and from main method but, It's not working when I Run the app on springBoot embedded tomcat (Version 9). ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595884", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Workbox precaching does not work with cross origin requests I'm using the precacheAndRoute() function to precache a bunch of assets passed to a service worker by the InjectManifest() function of the workbox-webpack-plugin plugin. This works great, but all of these assets are hosted on a CDN, which means that the req...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595886", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Activating extension 'PublisherName.extensionName' failed: command 'extensionName.commandName' already exists I've been developing my VS Code extension without publishing it. It just got to a point where it's releasable, and in doing so I had to add a "publisher": "Phrogz" key to my package.json. This broke commands...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595887", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: module 'crate' has no attribute 'Crate' I'm trying to build a target dependent on meta-rust. Meny recipes failed due issue in 'meta-rust/classes/crate-fetch.bbclass': One of them looks like: ERROR: Projects/yocto/meta-rust/recipes-example/rust-hello-world/rust-hello-world_git.bb: Error executing a python function in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595888", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to check content of button with JS in if function I'm trying to check if button contains certain string when I click on it, and if it contains, for example "text1" I want to replace it with "text2" and vice versa. Thank you in advance. Edit: To simplify everything, how can I change the text of button if it conta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595889", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to reference uploaded column data in ggplot I'm new to R, and trying to use it to graph and analyze flow cytometry data sets. The end goal is to upload group of csv/excel files, concatenate them and graph different combinations of variables, but I'm struggling with getting the first data set to work. library...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595890", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Apple's Calendar-like week view using SwiftUI I'm trying to replicate an element from Apple's Calendar app. I want to get a scrolling row of days of the week. Is there any library for this? If not, then tell us how to make an endless scrolling list. I tried using fermoya's SwiftUIPager library, but it is no longer s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595891", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: cudaLaunchKernel vs triple chevron latency I've heard that the triple chevron kernel launch kernel<<<..>>>(...) has a higher launch latency than the cudaLaunchKernel(...) API call. Is there any difference between them, and is this statement even true? In my understanding, nvcc converts the triple chevrons to the API...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595893", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Issue in kubernetes azure-new My sceanrio is I have different 5 azureuser login ssh address for kubernetes setup and Ansible setup After deployment and updating file in kubernetes server i have to check the docker logs in server. Is it possible to complete this task through automation with node js and VS code? I am...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595894", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to start Android emulator from terminal with clipboard sharing enabled? My OS: Fedora 37 I am launching my Android emulator from the terminal because starting it through Android Studio does not enable the acceleration using KVM. This is the command I use: ~/Android/Sdk/emulator/emulator -avd Pixel_4a_API_33 -acc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595898", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: API with a PHP / MVC set up Hi & thank you for reading me : I have an MVC webApp with the following set up: * *Root folder with the below .htaccess : RewriteEngine on RewriteCond %{REQUEST_FILENAME} !(.*)\.(png|jpg)$ RewriteRule ^$ public/ [L] RewriteRule (.*) public/$1 [L] which redirects all to t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595899", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: editing datetime field backgrounds on focus on firefox .input[type='time']::-moz-datetime-edit-hour-field:focus { background-color: #3783f6; } .input[type='time']::-moz-datetime-edit-minute-field:focus { background-color: #3783f6; } .input[type='time']::-moz-datetime-edit-ampm-field:focus { background-color: #...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595901", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: fig.savefig outputs blank files in a loop I am aware that this has been asked many times. I have read the relevant threads and tried to implement the suggestions, but nothing seems to work. Plots show just fine, but saving them yields blank files. Here's my code: for time_index in np.arange(hr_from,hr_to,1): fig...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595902", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Image Allignment using only Scipy by Optimizing the Tranformation matrix import numpy import numpy as np import scipy.ndimage from scipy.optimize import minimize def similarity_metric(image1, image2): # Compute Mean Squared Error between two images mse = np.mean((image1 - image2) ** 2) return mse def t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595907", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Camel SFTP File Download - copy of file is moved to client but actual file is present in Server I have a requirement to download file from external SFTP Server. I have service which has API hosted and once we hit API it should download the file from SFTP Server and I'm using camel as integrator for downloading the f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595909", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to multiply values Jquery? Select Option I am trying to make a calculator for calculating the cost of services. When you click on the button, multiplication should occur and the amount should be displayed on the screen. But when I press the button, the number appears and abruptly disappears. <!DOCTYPE html> <htm...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595910", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AWS CLI Filter codecommit repositories by date of modification I'm trying to do a query that only return to me the repos that was modified in the last one year. So I'm trying the following command: aws codecommit list-repositories --query 'repositories[?lastModifiedDate>=`'"$(date --date='1 month ago' +%s.0000000)"'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595912", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Error reading sass/global.scss: no such file or directory Hello I have this little problem but I don't know because all my files have a good name. Error reading sass/global.scss: no such file or directory. Thank you for future answer!
{ "language": "en", "url": "https://stackoverflow.com/questions/75595914", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Status shows offline all the time even if the user is online (discord.py) I have a problem with user status, but it shows offline status all the time even though the user is online. Code: import discord from discord import app_commands class user(commands.Cog): def __init__(self, client): self.client = clien...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595915", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Move Linked issues from one user story to another I have a JIRA user story with multiple Linked issues, some open, and some closed. I need to move all Linked issues in open status to another user story. How can I do this in bulk. A: You can search for issues using function called: linkedIssues(issueKey) From JQL fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595916", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make an item Selected from code but disable user to select on CollectionView in .NET 7 MAUI? I am working on a .NET 7 MAUI project and want to change the style of a specific item on CollectionView from C#. Currently it's working but all the other items are also selectable on CollectionView. How can I disable ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595918", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I limit permissions for "Valid Users" but allow more permissive ones for groups like Contributors/custom? I'm new to DevOps, and everything but the permissions settings has been intuitive. From what I gather, every user is automatically added to "Project Collection Valid Users", and then in a given project, i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595926", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to solve my SQL query problem include UNION ALL and ORDER BY I wrote this SQL query, but it did not return any results, it throws an error even though the first statement behind union all and front works separately. I think the problem is about order by and union all working together. What is wrong using them...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595928", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does github LFS have space and bandwidth limitations, but the codes does not? Why does github LFS have space and bandwidth limitations, but the codes does not ? I think LFS should be more free than code because LFS is bigger
{ "language": "en", "url": "https://stackoverflow.com/questions/75595931", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create an array of object from another array of object with properties I have this array: const array = [ {id: 'firstId'}, {id: 'SecondId'}, {id: 'ThirdId'} ] I want to reach this result: array = [ {firstId: null}, {SecondId: null}, {ThirdId: null} ] so I tried: array.map([key,value] => {key:value}); bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595935", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }