Latest Questions

Python 2to3 command window conversion

I have some long scripts to convert from py2 to py3. Also, I am a beginner and I don't have experience with python. On my computer (windows 10) I have python 27

deleting specific duplicate and original entries in a table based on date

i have a table called "main" which has 4 columns, ID, name, DateID and Sign. i want to create a query that will delete entries in this table if there is the sa

Microsoft.ACE.OLEDB.16.0 upgrade SSIS Unexpected termination

We have SSIS package installed in SSIS catalog server. In the catalog server, Microsoft.ACE.OLEDB.12.0 is installed. The jobs were running fine without issues.

Apache Camel SFTP get file content null

Java Code @Component @RequiredArgsConstructor public class WireInboundFileListener extends RouteBuilder { private final JwtWireTokenService jwtWireTokenSe

Migrating T-SQL script to Snowflake - error invalid identifier

I am currently trying to migrate a T-SQL script to Snowflake. This is the T-SQL script: SELECT * —- a bunch of stuff FROM TABLE_DATE D LEFT JOIN

How to generate a sentence around words in Keras?

I know that how to generate next word in keras with lstm but how to predict previous word for example If you have two words like "car" and "running" then It sho

Notifications are not shown when the app is closed, how can I fix it?

It successfully shows notifications when the app is open. It shows even when the app is in the background. When I close the app it doesn't show up anymore. I do

Missing ',' in line when Biopython reads a nexus tree

I want to edit a tree that I got from BEAST2 treeannotator in nexus-format. Usually I use the module Phylo from Biopython for such work but Phylo.read(r"filenam

nodeJS - How to run cron job to send telegram bot messages

I have this code in my telegram bot: const fs = require('fs/promises'); const keyFile = 'luminous-re1c7.json' const { Storage } = require('@google-cloud/storage

SignalR TypeError: Failed to fetch after deploying to Azure

I am trying to create a small chat app using SignalR. In my backend I am using .net Core 5 and in Frontend, I am using React. When running in localhost every th

Invalid KeyConditionExpression: An expression attribute value used in expression is not defined

aws dynamodb query --table-name shoutout-testing --key-condition-expression "Model = :a" I tried this query but it's saying that :a is not defined

Problems building ffmpeg dlls on windows 32

I'm trying to build ffmpeg dll files for windows 32 with mingw32. at eatch try I manage to get some dll files but can't use theme because of a fiew dependancys

GraphQL Query after another service updates table returns as Null

Our front end service receives an id from a prior mutation, then will query our schedules table checking events to see if the download (from another service is

how to swicth to a metamask pop up in chrome with a python selenium script

i am on rarible.com minting a nft with metamask i go threw the hole process then in the chrome browser a metamask pop up appears to click confirm the transactio

vega lite chart axis labels issue

I have used this given example chart (circle_custom_tick_labels) https://vega.github.io/editor/#/examples/vega-lite/circle_custom_tick_labels for vega lite { "d

multer save file, nidejs angular

i want to save an image on nodejs, i am sending the file via post, whith angular like this: ... flag: File; flaginput(event){ this.flag = event.target.files[0

Other ways of showing prop-based conditonal text in Vue?

I have a component that renders text based on the users membership status and I want to change the interpolated text based on that prop value. Is there a more e

Is there a way to keep the gradient scale constant in an dynamic Altair chart?

I have the following code in Altair which generates a dynamic chloropleth map: columns = [str(year) for year in range(20200307, 20200331)] slider = alt.binding_

Realm v10 database in Xamarin iOS project won't build - "No matching framework found inside...realm-wrappers.xcframework"

I'm attempting to upgrade the Realm database version I'm using in my Xamarin Forms project, from v5 up to the latest v10. The original Realm database has been w

docker copy and chown in bash script

I'm building a network with docker compose and some bash scripts and i'm having problems during the process. Basically i have a some containers and volumes. In

knex - postgres migrations on multiple schemas with same database

I am using postgres,knex and node.js in my project. There in my postgres database , I have two schemas. so when I'm doing knex migrations it works properly, but

how to style children elements in react native?

is there a way to select children of the element I am styling in react native? css example of what I am trying to achieve: div > *

How to remove an image from Artifact Registry automatically

Using gcloud I can list and remove the images I want through those commands: gcloud artifacts docker images list LOCATION/PROJECT-ID/RESPOSITORY-ID/IMAGE \ --

Check all members custom status instead of just my custom status

How could I change this command to check the custom status of all the members in the server instead of just checking the custom status of the person that wrote

Add array of objects as elements to existing table td

I have an existing table. I have the td cells displayed as blocks intentionally. :) My goal is to add labels inside each of the td's by creating spans with a sp

How to review stdout of a successful "docker build"?

This fine question addresses how to perform a docker build with the stdout from RUN commands visible. On the other hand, I have not been able to find a way to r

I am trying to reference a cell in a closed workbooks

I have a sheet where column B contains a list of Folders in R:\Jobs. The folder name is also the 'Job Name'. I use VBA to create a formula in Column F that look

How can i compute the summation of two vectors in scheme(Dr Racket)

I would like to implement my function sum-of-vectors , such that it takes two vectors of different numbers as arguments and it returns a vector with the summati

Running Kafka Confluent Platform on WSL 2 (Ubuntu Distribution) and Spring application on Windows (Broker may not be available)

I'm running Confluent Platform in wsl 2(Ubuntu Distribution) and I also running a Spring application on Windows but when I send a message with a producer I have