Latest Questions

How to access nested JSON with Jinja?

I'm learning Jinja for building a simple website. How do I access values of nested JSON in the Jinja syntax? Example: How do I only access the "Education" key i

Web scraping from html code of a database using python

I am new to python and am learning things slowly. I have earlier performed API calls from databases to extract infromation. However, I was dealing with a partic

Can anyone help to change this .htaccess rule to nginx?

I am using a wordpress plugin name JWT Authentication for WP REST API, it has some rules written in .htaccess but i am using nginx server and want to add these

Flutter can not connect to the docker localhost parse-server

I am trying to run a parse-server and parse-dashboard via the following docker-compose.yml docker-compose: version: '3.9' services: database: image: mong

How to input a history of vectors to LSTM based network instead of a single vector?

I am trying to predict a simple pattern using LSTM based network. I input a single vector and get the output vector with the same shape as a prediction. How can

SQL (MySQL etc), what is the difference about length string (1-256) and (0-256)?

Thanks for reading my post. I wanna know, what is the difference between length (1-256) and (0-256) in sql and how to store them in database?. I was asked to de

Java slenium wont getProperty when i use switch case

here is my simple code for getting a browser public WebDriver initializeDriver() { WebDriver driver; String browser = System.getProperty("bro

Unable to remove a container using machinectl

I pulled a nixos container and now want to remove it. I enter: sudo machinectl remove nixos-21-tar But the return message is: Could not remove image: Access de

play video in chkeditor 5 in asp mvc

I need chkeditor5 play video files such as mp4 after the file is uploaded with chkfinder and inserted into chkeditor.Is there any way? Now just the url of the v

How to hide border of a specific chart?

I'm new to css and am struggling with changing the border property for a specific chart title on a dashboard (I'm using a dashboard template with R's flexdashbo

Filter dictionary of tuples with duplicated first element of the values based on some condition

Sample input data in which Value1 is duplicated across several keys {'Key1': ('Value1', '28.302', '30', '131', '10', '321'), 'Key2': ('Value2', '42.373', '44'

Chatbot-specific answers

I'm creating a chatbot that asks questions and answers questions, but for now it doesn't have a specific function of answering specific questions that it asks i

Synapses Serverless Pool -Read External Tables

I am trying to read the data from external table which is configured in synapses serverless pool using pyspark notebook (I want that to be in a dataframe), howe

Python mock.patch() not mocking imported class module

I have a some code that looks like this (abridged): ## ./module_1/lambda_function.py from shared.graphql_helpers import GraphQLClient gql_client = GraphQLClie

vba how to look for a code in various sheets and paste them in another

so i'm trying to use a macro to look in sheets one code and paste the information of that code , I'm trying to use a simple macro with advanced filters to do th

How to return and download Excel file using FastAPI?

How do I return an excel file (version: Office365) using FastAPI? The documentation seems pretty straightforward. But, I don't know what media_type to use. H

Error in new.session() : Could not establish session after 5 attempts

I've been facing in R the error message for days using getSymbols of the quantmod package: Error in new.session() : Could not establish session after 5 attempts

How can I get dependabot to ignore a docker minor version

I'm trying to stay one minor version behind the latest python version, and I was hoping to use dependabot to help with that. I'm using the python slim docker im

Plotting the frequency of occurrences per date

I'm new to pandas and plotly. And I have a large csv file with two columns, a date column and a column that contains a string of text (event). Each event is a n

How to automate my first Telegram application?

I'm just learning the backend. I created my first application, all it does is get data -> publish it to a Telegram bot. I want the application to work 24/7.

rdf4j on IntelliJ IDE?

Extreme beginner here trying to work on RDF. Can rdf4j work on IntelliJ IDEA or it works on Eclipse only? If it can work on IntelliJ, could anyone show me how?

Python Azure function logging into Azure Monitor (App Insights)

We are wanting to log custom properties using the Opencensus library in our Azure function. We are able to log custom properties (in our logs) into Azure Monito

What will match ergonomics do when encounters reference pattern?

I have read the rfc 2005, knowing the process of manipulation is a repeated operation. And I say encounters reference pattern, I am not talking about encounteri

Socket - java proxy Packets separated once send to client

I have a client Server configuration with one connection, the server cannot process the requests received in parallel, it processes them in series, to overcome

creating a list from a column with multiple lines

I have a Pandas data frame that in one column called SourceDocument I have multiple lines of data in each cell (separated by \n). SourceDocuments PRDS-002039\nP

Slick Slider React - How to keep the same width and space whatever the size screen?

I am creating a slider in react with Slick Slider. The problem is: when the screen size changes, the slides reduce in size or stack on top of each other. Slick

Cant run flask on ngrok

from flask import Flask, escape, request app = Flask(__name__) run_with_ngrok() @app.route('/') def hello(): name = request.args.get("name", "World") ret

Send REST request containing an enum (defined in RPC)

we have a delete-rpc request defined in a proto as rpc DeleteTag(DeleteTagRequest) returns (DeleteTagResponse) { option (google.api.http).delete = "/v2/tags";

Auto-increment in Oracle table when insert in the same table

I have a table and I want to increment a column by 1 when I insert a row into the same table. Table users - when I insert first row value of idusers is 1, and i

How to remain on the same position after edit or delete data from nested recycler view

I have a nested recycler view that contains parent and child adapters. I am using Room DB for showing data on the recycler view. When I, add or delete data from