Latest Questions

MySql.Data.MySqlClient.MySqlException: 'GetBytes can only be called on binary or guid columns'

I'm developing an app in C# with .NET and MySQL database. I need to be able to insert and retrieve images in and out of the database and I have a column named '

How to make sprite not collide with another sprite but only with player. Phaser 3 and matter js

Big story short: I'm using matter js with phaser3 and I have a player, platform, saw and tree. Like in a regular platformer, the saw should be halfway between t

Scoreboard in UVM

What do we do when we have to create a scoreboard for a certain design logic? For a memory I understand that we can compare the data written to DUT at a certain

Books API has not been used in project ******** before or it is disabled. Error code 403

I'm trying to migrate to Google Identity Services. When I log a user in and try to get info from their Google Books account I get "error code 403. Books API has

SVM doesn't plot in R

I'm doing predictive analytics on R, and I executed a plot command with neither an error message nor an output. I'll reproduce my code from a stroke dataset. st

Get token list from connected solana wallet and create an array

I'm trying to figure out how to take the connected wallet, from the solana wallet-adapter and grab all the spl-tokens (NFTs specifically but that filter doesn't

Is there a way to return a Stored Procedure Return_Value to the python script executing it?

I am writing a python script that should update a log table and notify me of it. Part of this script is to execute a SQL Server stored procedure. I get an email

Taking and returning structures of `this` type inside class methods

What is the correct writing way of this class? class X { f(): this { return this; } g(): { a: this } { return { a: this }; }

How to Extract the variable values from terraform variables.tf file using PowerShell commands

I have a variables.tf file which contains all the project variables and im trying to fetch a variable values using PowerShell. variables.tf variable "products"

Woocomerce Local Pick Up - I want to add a reference on pick up / collection

Hi am using Woocomerce for pre sale of items at an event with a collection only option. When these are collected I want to update the order to Picked Up (or Col

Cakephp 3 ORM contain condition use field from parent table

Is it possible to use a field from a parent table in the conditions of a contained table in cakephp 3? For example, I have an Entities, Locations, and Stats tab

Tomcat 10 on Mac not Recognizing servlet-api.jar when compiling servlet

I'm working on creating a Servlet for a tomcat webpage and the Servlet will not compile. I'm using the servlet-api.jar & mysql-connector.8.0.28.jar for the

Visitor Pattern and std::shared_ptr

I am using the Visitor design pattern in my application for message processing. For example: class AbstractMessageVisitor; class AbstractMessage { public:

Trying to connect to an FTP server from Azure App service

I am trying to upload/download some files from Azure VM directly through a Azure App service, but the app returns this error: System.Net.WebException: The remo

how to get max values in dictionary?

text = 'orange strawberry barley gooseberry apple apricot barley currant orange melon pomegranate banana banana orange barley apricot plum grapefruit banana qui

react native app crashes when tf.ready called

I followed all instructions to install @tensorflow/tfjs-react-native given at https://www.npmjs.com/package/@tensorflow/tfjs-react-native/v/0.3.0 this is my app

ImageManagerStatic how to add copyright symbol on image

I am trying to add a copyright symbol onto an image with the ImageManagerStatic in Laravel, but it does not convert the code (©) to the symbol (©)...

msvcrtd.lib(exe_main.obj) : error LNK2019: unresolved external symbol main referenced in function

I am using gradle to build my c++ library I added this line to build.gradle file linkTask.linkerArgs.add("msvcrt${linkTask.name.toLowerCase().contains('debug

Combine lists of dictionaries with specific value matches

Given a_list and b_list in python, I want to merge them so that the result is c_list. In the example below, only want to merge elements that have a matching 'A'

Canvas putimagedata is sometimes not drawing like expected

I am trying to draw a simple flat line from the left center of my canvas to right side. The starting and ending points will be taken from textbox input. To do t

How to pass the batchsize for a custom environment in Tf-agents

I am using tf-agents library to build a contextual bandit. For this I am building a custom environment. I am creating a banditpyenvironment and wrapping it in t

JavaScript to control play/pause embedded YouTube videos

I need to embed multiple YouTube videos on a website. For each video, I need to set up an external element (such as a paragraph, image, div, etc) that can trigg

Background color going out of the column while using 100%

I am using Bootstrap 5. I have created 2 columns on my page. This is the output I was getting it. Now, I have to show an orange color from end to end of my lef

generic decorators for callable objects with conditional return

I want to write decorator functions for callable objects. This is what I have now: #include <utility> template <typename DecoratedT, typename Callable

Easy-Peasy StoreProvider returns the error "Property 'children' does not exist on type..."

I got this error on <StoreProvider ...> Why? What can be wrong with the children? :( TS2769: No overload matches this call. Overload 1 of 2, '(props: {

MediaDevices.getUserMedia() prompts the user for permission then launches camera app on full screen instead of in-browser

I am using getUserMedia() to take images on a vue web app. Working everywhere except on iOS safari. The user is asked permission for accessing the camera, aft

npm install react-google-login not working

i am using following command to install react-google-login for react npm install react-google-login but its not working npm ERR! code ERESOLVE npm ERR! ERESOLVE

Can a Github app hosted on Heroku add files to the GitHub repository through Heroku?

So I have a Vue/Express application that uploads images using Multer to a local folder. If I host this application on Heroku using GitHub, when someone uploads

Application Insights - Faulted Error code from Dependencies in Az blob storage

We are using Az blob storage, and it's reached few time maximum threshold. Due to this getting DNS error code in dependencies, but dependency collector updating