let level = 1 const buttonColors = ['red', 'blue', 'green', 'yellow'] const gamePattern = [] const x = gamePattern.slice(gamePattern.length - 1, gamePattern.
I have a discord bot and it works perfectly. My objective is that when I send the >help message, the bot chooses a random colour for the embed and sends it.
I have the following query in mysql select count(*) as aggregate from `promotions` where `supplier_id` = 1 and '2022-03-27' <= promotions.to AND '2022-04-27'
I am trying to initialise an empty merkle tree in the constructor my solidity contract I have a merkle tree of 8 leaves, so that means that the flattened out fo
I created a simple ionic app, works good if i build with --packageType=apk and install it to the phone or run with --livereload but when i build it locally with
I have written an API on FastAPI with filename api.py: from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Username(BaseMode
Was wondering if anyone knew why this may be happening? I've set up an InDesign document importing from Word with the correct formatting but then when I import
I'm looking to add a few custom syntax highlights to an existing one, but I don't want to maintain a copy of the base one I'm using in its entirety. Is there a
Im creating a tinder like swipe app and I need a new CardData(name: "", age: "") to be created depending on how many profiles I pass through from my database. T
We are developing Head Unit for Automotive and using Android 10. We won't integrate Google Play Services on this. I concern that we have to run and pass CTS/VTS
I have a question related to the continous Bag of Words model. If I have a vocabulary size of 1000, a window size of 2, and the number of nodes in the hidden la
I am trying to scrape accounts which are similar/related to a given account in instagram. Querying URLS: https://www.instagram.com/{username}/?_a=1 doesn't prov
Having some declared types and an array: type player = Orange | Red | Blue | White ;; type piece = Knight of player | Town of player | City of player
I am using Windows 10. The result of $env:PATH is different for Windows Powershell and VSCode integrated Powershell. I need the VSCode integrated Powershell to
Hi everyone so I'm trying to create an app using flutter that will able the user to download file from URL (might be PDF, image, etc.) I want the app to be able
I am following the mathswork tutorial for transfer learning on the GoogLenet, and when it comes to the freezeWeights function, it just doesn't work for me, and
I have some simple boolean field and I want to add a short description. I specified a description parameter but it seems like no effecr. How it suppose to work
I am making a picture frame calculator. Therefore, I'm creating a reset button to clear the form fields of the calculator and the output of function calc() sim
I am new to programming and I don't fully understand how allauth work and what exactly to do. I have an application where the user is inactive after signing up
I have installed flutter and it's working but it doesn't work in another user. For another user I have given it as administration privilege. Do I need to downlo
I want to turn a Python list of objects into a numpy array of objects for easier manipulation of the list, e.g. index slicing, etc. However, numpy coerces list-
This question is about ts inline text interpolation in Angular (not template interpolation for the HTML files). I couldn't find relevant information about my qu
I am writing a function to find the definite integral of any function by using the Midpoint method, the output of this function must be a scalar value, where y(
I just run this code in one cell, but it don't work. %config Completer.use_jedi = False
I've been trying to get a code to list all the .txt files which are stored in a directory of a mobile phone. It's my first time with Android Studio, so it's har
I have a C++ application that runs on Python 2.7, today I decided to upgrade to Python 3.9 but ever since then I've been getting the following error in visual s
I'm trying to do what I thought was a fairly standard sort of full-screen layout using flexbox, but it's not behaving the way I want. My goals are: Auto sizing
I'm coding a minesweeper and I got the UI and I can't modify it. I've made the grid for different sizes but now I need to push the mines into it, I created a fu
Having trouble with my Android project here trying to convert a string of DateTime into an actual DateTime object. here's the code I wrote: string strDateTime =
I have a teams app running on a standalone server with an AzureBot setup for message extensions on the app. I've got a class implementing message handling exten