text string | meta dict |
|---|---|
Q: social media in nav bar I'm making a website for university, and I've become stuck; I'm trying to display the social media links in the same line as the navigation and the logo, but it just won't work; the navigation works, and the social icons work as links but just won't sit where I want them in the top right.
I t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Call a PowerShell script with elevated privileges via command prompt Problem:
I want to call my PowerShell script with elevated privileges in a non-administrator command prompt.
When I manually open the Command Prompt with 'Run as Administrator' and enter the line:
powershell -ExecutionPolicy Unrestricted -Command "... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632275",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Vue.js: Cannot run project; jsconfig.json file is empty? I am trying my hand at a Vue.js project. I am using VS Code running as administrator. I am following the quickstart guide here: https://vuejs.org/guide/quick-start.html#creating-a-vue-application
I have Node version 6.14.13 installed. Typing npm --version conf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632279",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Long-running parallel Tasks with Entity Framework cause high CPU peak and memory usage I am shifting a C# ASP.NET Core 7 project from using SqlClient with regular SQL queries to using Entity Framework instead. I have a particular place when the application runs multiple long-running tasks, it's kind of a simulation... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632281",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to scroll/center code in VSCode Vim if there are no blank lines to scroll to? How to scroll like picture on the right?
I tried using CTRL + D which scrolls through lines but if there are no lines, like after line 87 I cannot scroll/center my screen. I was thinking I could insert bunch of empty lines but VSCode... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: PIL.UnidentifiedImageError: cannot identify image file io.BytesIO object for deploying a PyTorch model in Flask I have a Python-Flask application where I upload an image onto a server and perform predictions on a selected uploaded image using a dense-net model following this tutorial, which results in the following ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632283",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: missing kubectl config files after install I tried to install kubectl on popos using the following commands
sudo apt install -y ca-certificates curl apt-transport-https
sudo curl -fsSLo /etc/apt/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg
echo "deb [signed-by=/etc/ap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632287",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to trigger multiple TextBoxes to clear on button click in WPF? I have a few Textboxes stacked, and a button that I'm trying to use to clear them all at once, triggered by a button click. What is the most simple way to handle this?
<Grid>
<TextBox x:Name="RefNum"/>
<TextBox Name="CxName"/>
<TextBox Na... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632290",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CSS - Not using correct font I would like my text 'Title' to use my style sheet fonts Myriad Pro, Arial but it instead seems to be using some other font that is default for <h1></h1>
Do I need to override something so that it is following my style sheet instead of the <h1> ?
Source Code:
<!doctype html>
<html>
<hea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632295",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: i can't import firebasestorge to reference? import 'package:firebase_auth/firebase_auth.dart';
import 'package:firebase_storage/firebase_storage.dart';
import 'package:get/get.dart';
import 'package:tutorial/constants.dart';
import 'package:tutorial/models/user.dart' as model;
File? get profilePhoto => _pickedIma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632296",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add together two columns in pandas without receiving SettingWithCopyWarning Trying to add add one column to another using pandas with:
merged_df.loc[:, 'airline_name'] = merged_df.loc[:, 'airline_name'] + merged_df['airline_icao_unique_code']
but every time I try I receive the warning :
SettingWithCopyWarni... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632300",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: algorithms for lucky number in py I am trying to make an algorithm to count the number of lucky tickets, with the specifications in the image below but my program doesn't compile fast enough and it dosen't output the same data as in example. Please can anyone help me correct this and help with better code.
def coun... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Delete Prisma self-referencing (one to many) I have this prisma schema
model Directory {
id String @id @default(cuid())
name String?
parentDirectoryId String?
userId String
parentDirectory Directory? @relation("parentDirectoryId", fields: [parentDirectoryId], ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632307",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you read the vertex buffer in the fragment shader? I am trying to read my vertex data in the fragment shader to try some rendering experiments. It is possible to do this, and if so, what is the best way?
My guess is that buffer views are meant to be used, but I didnt find anything about them online and am uns... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632308",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Leaflet easyButton - Button Text is not Displaying (Can't debug addTo) I'm having trouble with leaflet-easyButton. I have installed it into my project with:
npm install --save leaflet-easybutton
Thereupon, a folder exists inside the /node_modules and I can import it into my component:
import "leaflet-easybutton/s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632311",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: get selected element id from d3.drag function call When dragging, in the dragged function call, two parameters are given: event and d
How can I get the selected element index?
In the code below the dragged function is not working since the index of dragged element not correct!
drag_nodes()
function drag_nodes() ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632313",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Python Flask Pymongo global db object is returned as None I am trying to create an API to fetch data from my Atlas MongoDB using Flask. I was following this tutorial https://www.mongodb.com/compatibility/setting-up-flask-with-mongodb
However I get the following Error when trying to get some data from my database:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Html css justify-content: space-between doesnt work correctly when parent is justify content center is active I have the following laylout right now
Now id really like to have all of the h2s with test next to each other with space between
I was told to add this to my css
justify-content: space-between;
Id like to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632319",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Scripting a single DB object to a query window takes 10 + minutes In this case it is a view, I right click on the view in the Object Explorer and select Script as create to a new query window. At least 10 minutes for the script to appear. This is on my local development environment. What can I do cause this is infur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Accessing a Global Hashtable from Concurrent Threads (Common Lisp) I cannot find the bug related to the global hash-table in the following SBCL code:
(defparameter *lci-hash-table* (make-hash-table :size 10000))
"Hash-table key = length|char|index concatenated together (eg, 5A0),
hash-table values = list of m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632322",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to handle multiple Set-Cookie headers in PHP CURL I am authenticating towards an API endpoint which returns two Set-Cookie headers.
PHP Curl overwrites one of the two Set-Cookie headers and only returns one.
How can I work around this problem? This looks like a limitation in curl.
A: What do you get in return?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632323",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding data to my database row by row from a list I am a beginner. I have no idea of what am doing. Am trying to insert data into my database. Using a for loop and a list, each tuple get placed into seprate coloums and rows. However I keep getting synatax error and I don't know what wrong.
I was expecting it to work... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632324",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Collision Detection for Game Im making a game where a soldier has to walk through a minefield and whenever it hits a mine he turns into a grave.gif. The goal is to make it to the helicopter. All of my atempts at collision detection have failed. I also need the same thing to happen when it hits the helicopter. Can so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632326",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: is there all errors for me... i am trying to fix this but i cant fix it any one help me Launching lib\main.dart on CPH1909 in debug mode...
Running Gradle task 'assembleDebug'...
/C:/Users/nhibt/AppData/Local/Pub/Cache/hosted/pub.dev/modal_bottom_sheet-2.0.1/lib/src/material_with_modal_page_route.dart:4:1: Error: 'M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632327",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How to backup single-node docker couchDB by storing data dir? According to documentation, I can save .couch, .shards, and shard files which all reside in /data. To test out whether all the data can be saved, I have two single-node couchDBs in two separate namespaces on openshift. For simplicity, they're called couch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632329",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Detect if screen at "x" position? I dont know how to describe my question thats why Im looking for a idea. I have a div and its position bottom 0 in top 100vh
my div in page
if user scroll to bottom and div touches to top screen its position changes to "fixed" and Δ±m setting its position to "top: 0"
my problem is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632332",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Are Julia dictionaries (and sets) stable between runs? I know that, in Julia, dictionaries do not preserve the original ordering in which keys has been inserted as described here, but do dictionaries (and sets) constructed with a given insertion order preserve the arbitrary ordering they use between runs? This is re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632333",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Android Unit Testing: calling function that uses viewModelScope causes a race condition I have been trying to create unit tests on my viewModel, but every time I attempt to call a function that launches a coroutine with viewModelScope, it always ends up with a race condition.
example viewModel function:
fun doSometh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632335",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Or filtering with PostGraphile not working I am trying to search multiple fields in one query with the use of the OR and filter.
query SearchQuery($searchTerm: String) {
allArtists(
filter: {surname: {includesInsensitive: $searchTerm}, or: {firstname: {includesInsensitive: $searchTerm}}}
) {
edges {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632336",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Make ReactJS components from (markdown) results of ChatGPT API I'm trying to use ChatGPT APIs to make a chatbot on our website by React.
On Chat.openai.com/chat, when users ask return a JavaScript code sample, the part of the code in the answer will be highlighted with a button Copy code.
We would like to realize s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632340",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Deleting the Contents of the Selected Folder with the Checkbox when the Button is Clicked? If checkbox is selected, what is the code used to delete the contents of the folder when the button is pressed? Also, if it is not selected, it should not be deleted.
private void button1_click(object sender, EventArgs e)
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Tkinter. Resize the font size to fit in the window via changing window size I'm trying to create a function, which will change the button font size to fit button's text in the window. I tried to play with 'step' function, where i used 'pixel steps'. Like
if 100 < window_width <= 200:
button.config(font=('Arial... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Exporting uneven nested cells from Matlab to excel I have in Matlab a 1x50 nested cell array where each cell has 3 columns but different number of rows that I need to export to excel.
I already have a loop to obtain the nested cell variable so I am using xlswrite('mydata.xlsx',data,'Sheet1') in the loop.
How can I m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632344",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to access Kubernetes application hosted on-prem centos server? I'm fairly new to K8. Using k3d/helm, I installed an application on our on-prem ssh server. I did port forward on 8080. I'm able to do "curl localhost:8080" when I'm inside the server. Could you plz guide me how can I access this application from my ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632345",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AWS Neptune Jupyter Notebook's Property Parameter Does Not Work When displaying my vertices with specific properties,
my_node_labels = '{"User":"email","Group": "tag"}'
my_edge_labels = '{"Group":"relatedAs"}'
It shows the email property inn my graph display but it does not show the tag property.
A: The parameter ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SonarQube and GitHub integration i have installed Sonar Qube at my windows 11 PC. Its running at http://localhost:9000. And i have made all steps in GitHub Actions config with Sonar Qube. I am getting this error:
And this is my YAML file:
name: Build
on:
push:
branches:
- master
jobs:
build:
na... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632348",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to replace JQuery function '$()' to typescript? I have the following code snippet in an Angular Project, and it runs fine when I do 'ng serve'
setTimeout(() => {
this.table = $("#marketlineDealer").DataTable({
data: this.dataSource,
order: [[0, "asc"]],
column... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632353",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How can I made a bat file that overwrites symbols in whole txt files in directory? I have a two directories full of txt files and bat file that overwrites single symbols in words or number strings, but it works only when when concrete file was named in script. I need to make this operation with all txt files in dire... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: php - IntlDateFormatter() wrong/weird timestamp in comparison to DateTime() output I noticed that IntlDateFormatter() function returns wrong timestamp in comparison to same type of output from DateTime() function.
PHP:
$formatter = new IntlDateFormatter(
'en_GB',
IntlDateFormatter::SHORT,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632355",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to reuse a loading indicator in next.js routes? Next.js allows me to define a loading indicator by placing it in a file named loading.js next to the component that has the route. How can I reuse the same loading indicator on multiple routes?
So far, I've moved it to its own file, say Loading.js:
export default f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632357",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: pykeepass is not returning the password attribute I have been tinkering with pykeepass most of the day in hopes of utilizing it with keepass. I am able to return lists of the current groups and pull the title and name from current entries in my kbdx file.
When I attempt to retrieve the password, I get an error sayin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632358",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Angular Dependency Injection: Inheritance and Services Suppose I have the following setup:
export const REPOSITORY_NAME = new InjectionToken<string>('RepositoryName');
export const BASE_ENTITY_NAME = new InjectionToken<string>('BaseEntityName');
@Injectable()
export class RepositoryBase<TBaseEntity> {
construc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632359",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Laravel Polymorphic Limit Related Records I have two models that I am working with - Traffic and Account. These two models have a polymorphic relationship as through an accountables table all with standard Laravel conventions. An Account may belong to multiple traffics and other types of models.
I am trying to build... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: v-select "required" attribute not working as expected I have a single drop-down and want to make it mandatory, but looks like it is not working.
Tried the required, rules but had no luck.
<v-select label="name"
:close-on-select="true"
v-model="CurrentAssignment"
v-on:input="onSelection"
:reduce="app => app.i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632363",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: iPhone turning off Developer Mode If I want to turn on "Developer Mode" on my iPhone to debug Xcode projects, it says that turning on the mode will affect device-security.
My question is: If I turn it on and after a while OFF again... Will the security of the phone return back to normal like before turning it on? I'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632364",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How do I get a script to find the player who activated a proximity prompt so I can use it to fire a remote event on that player? I have a proximity prompt on a part, so when you hold e it's supposed to make you're screen fade and teleport you, but I'm not sure why it's not fading the screen. Is it not finding the pl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632368",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In Ansible, how to download from a secure FTP (SFTP) server? $ ansible --version
ansible 2.10.8
I have a Linux Ansible server, and a Windows target host. I'm trying to setup a task to download from a secure FTP (SFTP) server. The only module I can find is win_get_url, but it says nothing about SFTP support. I tried... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Problem when running a .jar on Linux Mint 21.1 IαΈΏ trying to run a jar file using java -jar file.jar and I get this message `[error] main:
Exception in thread "main"
[error] main: java.awt.HeadlessException:
[error] main: No X11 DISPLAY variable was set,
[error] main: or no headful library support was found,
[error... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to disable email for a group in Google Workspace Directory? Other Directory products have concepts of groups, and have the idea that you can disable email for a given group. Does Google Directory have anything like that, where you can create a group that doesn't have email enabled / doesn't have email... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632373",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PyQt designer adding slot ask me for ui_form.h I just started with QtCreator and create a python project with a window now I am try to add a slot with the signal "clicked" on the gui and it ask me for .h file but as I am coding in python I don't undestand why it ask me for a C file.
I see that I can write the event ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632374",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does anyone know how to put the data from the database to the placeholder value I am using axios.get and I could see the data from the database in console but how do I put that in placeholder value in react?
i couldnβt find any code for that
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75632378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Combining multiple csv files into one data frame using a loop I have a set of 125 .csv files that I want to combine into one data frame and file. Each csv file is one column of the data frame I ultimately want. I also need to add the site names at the beginning of the new data frame. The final result should look lik... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: mui icon sometimes does not appear I am using mui v4 :
"@material-ui/core": "4.11.4"
code :
import Icon from "@material-ui/core/Icon";
import InputAdornment from "@material-ui/core/InputAdornment";
//...
<InputAdornment position="end">
<Icon className={classes.inputIconsColor}>
lock_outline
</Icon>
</InputAdo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632381",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Remove duplicate records with same ID - Postgresql Wondering if it is possible to keep just one record from duplicates. In this scenario, the ID is also duplicate. I know the best way is that ID is unique, but in this scenario is not. Then, I have three records like these ones:
id
name
point
closest_community_id... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: making a Javascript metronome Newbie here, I'm trying to make a Javascript metronome, but I'm stuck on making the sound play according to the current bpm of the project
Here's where I think the problem lies, when I press play, it sounds, but in a fixed bpm, that is not the one being inputted in the bpm variable:
//V... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Filter tibble in R when column names (to be filtered) and values are in vectors? This might be an esoteric question or use-case, but is there a quick way to filter a tibble when the column names and values are inside vectors?
Say I want to filter mpg and hp in mtcars. I could do something like:
filter(mtcars, mpg >=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632388",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: UE5: Adding Actor Instances to an Array Using UE5, I'm making a Mario Party board. I have the base "Tile" class and children classes for each tile. For each tile, I wanted to have an array of "Previous" and "Next" tiles. In my Board blueprint, I've set up a path of tiles and I want to link the tiles together by usin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632391",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to incorporate Wav2Lip in ReactJS I want to incorporate Wav2Lip (A Python package) into ReactJS using NodeJS, I found a package on NPM called wav2lip but its incompatible with ReactJS. I tried editing the webpack using craco but did not succeed. Do you guys know a way for me to use Wav2Lip in ReactJS?
Here is th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632393",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Return all permutations of string To get all permutations from user input and compare to file.txt
I've tried converting user input from string to rune r := []rune(input), however my function never returned the whole set of combinations, I was only able to print them.
I've tried multiple permutation methods online an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632394",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Running Docker Container in Host Mode Causes Networking Problems For Dependent Containers I'm trying to install this service to run a visualizer on bitcoin's blockchain. The application itself isn't so important; the key point is that I'm trying to point it to my bitcoin RPC service that's running on the local host,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632399",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: put a header, paragraph and an image next to each other i am trying to put some text with h3 as a title parallel to an image
i managed to get the image and the text to do that, the problem is i cant get my h3 on top of the text
#box {
display: flex;
align-items: center;
width: 950px;
margin:auto;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632401",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Create dataFrame from parent and child I'm working with data exported from Apple Health as an xml file.
workouts = [node for node in nodes if node.tag == 'Workout']
ET.dump(workouts[0])
Shows me there is a child element, WorkoutStatistics.
<Workout creationDate="2018-08-12 08:58:56 -0600" duration="7.75768438378969... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Websocket Python Tornado server with Dataplicity I want to create a websocket server on raspi with tornado python. So made that code :
#! /usr/bin/python
import os.path
import tornado.httpserver
import tornado.websocket
import tornado.ioloop
import tornado.web
#Tornado Folder Paths
settings = dict(
template_pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does v[1+(0Γ(β΄v))] produce a rank error and not the first item in a 2d array? First, I assign v as:
v β β³(4 9)
v
βββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ
β0 0β0 1β0 2β0 3β0 4β0 5β0 6β0 7β0 8β
βββββΌββββΌββββΌββββΌββββΌββββΌββββΌββββΌββββ€
β1 0β1 1β1 2β1 3β1 4β1 5β1 6β1 7β1 8β
βββββΌββββΌββββΌββββΌββββΌββββΌββββΌββββΌββββ€
β2 0β2 1β... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632408",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to set bounds for non-geographical map with react-leaflet? I have some local tiles of a non geographical map. Tiles have 8 levels of zooming. I am using react-leaflet (v.4.2.1) and I would like to show the map bound to [-12, -12], [12, 12] but I have several problems;
*
*At zero level zoom the tile is not show... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632410",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: epoch taking too long, I have a good pc with good memory (intel core i7-11th gen, and 16gb of ram)
still each of my epochs are taking about 1,5 hour, is it normal to take this long?
from keras.models import Sequential
from keras.layers import Dense
from keras.layers import LSTM
# define model
model = Sequential()
m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632413",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How to hide systemdata in azure policy creation? I am new to azure , When I am creating a Custom policy it includes my email id but not for other developers. Would like to know how can I make austom policy without system data?
I tried to add metadata manually but it didn't worked
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75632415",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Packing problem with alignment condition and maximization of the number of squares in a random geometric shape Python: What is an efficient algorithm to pack squares of the same size into an arbitrary geometric shape with all squares aligned? I have the dimensions of the shape to fill from a DXF file. For more detai... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632418",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to change the response header when calling api Blazor WebAssembly? I'm using MessagePack to deserialize the List of FooViewModel that I'm retrieving through an API
private async Task FooPageChangeHandler(int newPage)
{
AllData = await Http.GetFromMessagePackAsync<List<FooViewModel>>($"api/FooView/GetAll/{Cu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632419",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to configure grails-spring-security-saml plugin version 5.0.0-RC3 for https applications I am upgrading my Grails4 application to Grails5 and am trying to upgrade the grails-spring-security-saml plugin from version 4.0.2 to version 5.0.0-RC3.
I am using Okta as my identity provider and if my app is http, I can s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632420",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to draw a canvas on canvas using the drawImage method? <canvas id="canvas" width="200" height="200"></canvas>
const network = document.createElement('canvas')
const ctx_network = network.getContext('2d');
ctx_network.fillStyle = 'red';
ctx_network.fillRect(0, 0, 250, 250);
ctx_network.fillStyle = 'green';
ct... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632423",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How could it be possible coercing the QCA_mm class objvet into a table? I have this table, produced as output from the truthTable() and minimize() functions of the package QCA
I am struggling with finding some method for coercing this QCA_min` object into a flextable (or I could even use another tool for creating a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632424",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to enter into the folder Ubuntu Permission denied error I am new to docker,
I just created a volume, when I inspect docker volume inspect web-volume,
it show MountPoint : "var/lib/docker/volumes/web-volume/_data"
When I cd into var/lib/docker/volumes/web-volume/_data, I am getting Permission denied error.
Ho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: reactjs-popup closes when father states changes I am new to React and I am making a Netflix clone to learn. I use reactjs-popup (https://www.npmjs.com/package/reactjs-popup) to generate popups with the film information.
In my app.jsx I have a list of films in My List and a function to add films to my list. I give th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632429",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What could cause an HTTP server to send different responses when tunneled vs not? I'm building a Shopify embedded app which uses ngrok to tunnel my local server for use inside of admin.shopify.com.
I've defined some simple routes on my local server (e.g. GET /test that just logs to console and respons with {}). Thes... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can anyone make lda2vec work now in 2023? I'm currently trying to topic model some tweets. So, I stumbled upon the lda2vec model which I've been trying to implement -- but I don't get very far with this process as I run into problems like having to install many different packages/libraries etc... I got stuck at a te... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632431",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Empty output PySimpleGUI. execute_command_subprocess I'm trying to develop a program that will execute commands sequentially and at the same time will not freeze during the execution of one of them (each command can take a long time, because it starts rendering in blender).
I tried to use the example from the cookbo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632432",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I resize an one-hot-encoded image (Ground-truth) for training a semantic image segmentation model? I am trying to train a model for semantic image segmentation task. I have 3 classes meaning that, for one sample, the ground-truth will have the shape (3, 512, 512).
This shape (3, 512, 512) is interpreted in t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I read a specific line from a string in Python? How can I read a specific line from a string in Python? For example, let's say I want line 2 of the following string:
string = """The quick brown fox
jumps over the
lazy dog."""
line = getLineFromString(string, 2)
print(line) # jumps over the
There are severa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Good ways to register a dynamic struct across DLLs I'm trying to create an Asset Manager that loads different types based on some reflection data, so that I can call something like GetAsset(uint16_t assetType, Uuid uuid). I do not want to use strings due to performance worries. The system I have works well within a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NuGet.Config is not valid XML. Path running DotNetCoreCli The following task fails in my Azure Devops pipeline.
- task: DotNetCoreCLI@2
inputs:
command: 'restore'
feedsToUse: 'config'
nugetConfigPath: 'WinFormsCoreMain\NuGet.Config'
with errors like
"D:\a\1\s\MySnap.Main.sln" (Restore target) (1) ->
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632440",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Auto-indent doesnβt work after writing comment in Pycharm/Python After defining any Python function in Pycharm if I write any comment first, then auto-indent doesnβt work for following statement. I have to manually indent following statement after writing any comment in Python function in Pycharm.
Here is the screen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Anaconda, Jupyter Notebook and MissingIDFieldWarning I have already intalled Anaconda 3.When I run Jupyter Notebook and save something. The next problem appears:
*
*C:\ProgramData\Anaconda3\lib\site-packages\nbformat_init_.py:128: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard err... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632445",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Split an amount into 2 random groups by Gauss bell Let's suppose I've 100 items and I need to split them into two groups.
Options can be:
*
*Divide by 2, so I get exactly 50 and 50
*Select a random number between 1 and 100 and then separate that amount from the rest.
In option 2, 1 item has the same probability ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632447",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I check if the condition is true in terms of the last 10 candles/bars? Could you please help me with the following?
I want the check the last 10 candles here and see if the condition is true in any cases.
for i = 1 to 10
if (close > EMA5 and open > EMA5) or (close < EMA5 and open < EMA5))
checkem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PocoCryptod.lib & PocoNetSSLd.lib libraries not built during cmake I am trying to setup the HTTPSClientSession method of poco to run an API Get request on a https link. To do this, I need to install the full version of POCO including the openSSL, Crypto and the NetSSl_OPENSSL components. I followed the instruction... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632453",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: .NET 7 Web API Identity - can't login via hashed password I have created a custom hash method which returns a hash string then use this as the HashPassword field for the ApplicationUser.
Attempting to login via the SignInManager results in failure regardless of hashing the password and it matching the database entry... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632463",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Passwordless authentication in Flutter with Firebase I've been looking in to passwordless authentication methods for my app for the simplest singup experience possible and I'm a little confused.
Ideally I want something that works on both android and iOS (masOS would be appreciated), but I can always use a platform ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632464",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to determine method visibility based on the caller? I'm wondering what the generally accepted pattern would be for providing methods with that require "privileged access" which only certain other object types might call.
For example, if you have a Bank object, with a collection of Accounts, you might want to let... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632467",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do you get stack to pass custom flags to ghc (and the cpp preprocessor)? I have some conditional compilation in my files, say
#if FLAG
bogus1 x = x + 1
#else
bogus2 x = x + 2
#endif
Then I'm trying to set my package.yaml to pass the flag to ghc on build. So I added the following to the file:
executables:
my_m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632468",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why does np.astype('uint8') give different results on Windows versus Mac? I have a (1000,1000,3) shaped numpy array (dtype='float32') and when I cast it to dtype='uint8' I get different results on Windows versus Mac.
Array is available here: https://www.dropbox.com/s/jrs4n2ayh86s0fn/image.npy?dl=0
On Mac
>>> import ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: NodeJS child_process.spawn stdout removes progress bar (stdio "inherit" is does not meet requirements) What I am doing:
I made a API endpoint that executes npx create-react-app projectname via NodeJS child_process module spawn function. Which works perfectly.
Additionally I created another API endpoint that would fe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632470",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Stars doesn't show in WordPress Hi there i have problem I'm using this code in my func.php
WordPress reviews showing but starts doesn't.
Any one one what should be the reason?
// Remove default loop rating template from shop, and add the single product rating (which includes review count) instead
function show_sta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632473",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot import $lib/server/db.ts into client-side code I have a fresh install of sveltekit using npm create svelte@latest my-app
and after doing npm install, I added npm install pg to get postgres working. I created a database called todos and a table called items;
In the svelte codebase under src:
routes/+page.ts:
i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632475",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Confused with Pytest Mocker I am trying to use Pytest-Mocker in a project. I have followed various examples online, but can't seem to understand what I'm doing wrong.
I have the following file and test set up
#foo.py
import toml
class Foo:
def __init__(self, path):
self._data = toml.load(path)
class Ba... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632476",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do I make transformation work using badeball/cypress-cucumber-preprocessor library? I've spent many hours on it already and it doesn't work as intended. Here's one of attempts to make it clear:
// something.feature
Feature: asdf
Scenario: asdf asdf
When something "second parameter"
When something optio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Wireguard VPN setup in local network: can't ping I want to host my own VPN server. First step is to make it work in my local network. I have a server with Ubuntu on it. I set wireGuard, then I tried to connect to it from my windows 10 with wireGuard windows app (I also tried connecting from a different machine with ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632482",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VBA Macro triggered by cell change with a dropdown list I encounter a small issue when combining the automatic on change cell value feature with a dropdown list.
What I want is to have a macro launched everytime I change the value of a specific cell on my excel sheet. This cell has a dropdown list.
The problem I hav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trying to create a simple starter example of Re.Pack working with Expo I was trying to set up a simple expo app that could use Re.Pack for bundling. But i'm getting stuck on step 4 while following these instructions. Any help is appreciated.
Here is what i see on xcode while trying to perform step 4 of the instructi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632487",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way in Jolt, we can use an array of ids and extract values from a separate map to create an array of objects? Please refer this example: I would need to create a new array of objects based on the ids in the array of input JSON. Because the input is dynamic and can have multiple different ids.
The comment,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632488",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |