Latest Questions

Apps posting to Social Media

As a developer, I wish to create an app that has the ability to post to social media sites.Best Practices: Should I create a new account (e.g. Not my own) on th

Bigquery Regexp pull from 2 different patterns

I'm trying to pull product search colors from urls in my bigquery data, but the urls format changed at one point so I'm trying to pull them from two different f

Flutter Firestore ) Bad state: field does not exist within the DocumentSnapshotPlatform

I am implementing the project by referring to the sample code before firestore 2.0. I'm going to bring the last document of the Chat collector to StreamBuilder.

Vite-Vue3 can not use web component (full build, runtime compiler)

1、Switch to full vue build in vite.config.js: import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' export default defineConfig({ p

Request Body Missing in Spring while updating using PATCH API in react js

Spring shows - Resolved [org.springframework.http.converter.HttpMessageNotReadableException: Required request body is missing: public com.cg.bookstore.entities.

mmenu.js : How to search synonyms?

I am using the mmenu.js jQuery plugin. It's search function can only search the textnode within each menu item's tag. So for example, I have a menu item like t

Django form with dropdown list using Database returns empty fields

I'm discovering Django and I'm trying to develop a simple application. I have three tables in my database : One big table to report all the information to users

Keras model.predict() output for regression does not match label vector

My data contains 520 time series, each of length 2297: X_train = numpy.ndarray of shape (338, 2297, 1) X_val = numpy.ndarray of shape (85, 2297, 1) X_test = num

Can't connect Redis with Heroku

I'm kinda new but what I did so far was the following: Created Redis cloud account, set it up on RedisInsight on my computer. Heroku was fully deployed, went to

I want to retrieve the html attribute of a link and apply to a modal button

I have a list of links and a modal that pops up on click. All i want to achieve is whenever i click on any of the links, retrieve the html attribute of that lin

Changes in props not visible in HMR (need to reload page)

I've got a small problem (or maybe it's intended and I just don't know how it should work). I've got parent component - App.vue <script setup> import Abou

How to test a repository with a user that have update rights and the test needs tot add records to the database

I use mysql and spring 5, spring-data-jpa and spring-boot and JUnit5. This must be a common problem but I don't see te sollution. I have to test a repository wi

javascript canvas wont render with custom framework

I am making a simple JS game framework and I am trying to make an image that can move around canvas with WASD. The code below should render a movable image but

Next.js - static rendering icons not static

Thanks for your time. I am working on a complicated next project for work. I understand it to be a static site generator and the assets (icons for buttons) used

Hasua GraphQL docker engine hammering jwk endpoint

I'm using firebase for the jwk, my docker-compose looks like this: version: '3.6' services: postgres: image: postgres:12 restart: always volumes:

How to select role from Oracle DB in java spring boot?

I'm trying to select user role from Oracle database using id of user in spring boot framework but it not working? I'm trying to select user role from Oracle

Is there a way how can I sum up these duration in Power BI?

I have Employees and their Overtime hours. There is a cap of 5 hours Max overtime per week, and on basis of that, I submit data to payroll team. However, I am n

What are the Supabase Edge Functions Memory Limits

I created a Supabase Deno Edge Function that works perfectly well inside the Supabase Docker environment on my Mac, but whenever I execute it in production / th

DataGrid not showing in .Droid (Uno-platform)

I made DataGrid that correctly displays data in .Wasm and .UWP, but on .Droid app it doesn't show anything (header or body). The calling to my API works and dat

How to set Framerate when reading feed from RTSP cam url using Gstreamer for a deepstream application?

I have a camera which run at 25fps, Need to access the feed from the same camera with reduced fps (5) using GST. we are using deepstream and hence i was looking

"npx react-native run-ios" is picking non existing simulator

As per https://reactnative.dev/docs/environment-setup, I'm trying to run sample project on iOS simulator When I ran command npx react-native run-ios getting err

why i have to refresh/rewrite my code to make it work while trying to save the state for a specific user in react native

I am trying to make a test sheet for user. If he passes the test, he is directed to a pass screen and even after totally closing the app, when that specific use

The code works but not for all of the inputs

I have an assignment in recursion. The problem: A game board is defined by a list. Each list index, (0: n-1) is a row in the board, and the int value in each li

Python - a custom range where after add +1 to max then return minimum

I wonder if there is any function in python like that. Example 01: For example, if I specify the range from (1,12) integer. Then: if current value is 12 and I a

jetpack compose: scroll to bottom listener (end of list)

I am wondering if it is possible to get observer inside a @Compose function when the bottom of the list is reached (similar to recyclerView.canScrollVertically(

How do I make a .NET Core 6 Top-Level statement template async?

I'm follwoing this guide: https://docs.microsoft.com/en-us/dotnet/core/extensions/configuration and I don't understand how to make my application work as an asy

How to purge any persisted state using react tool kit with redux-persist

In the official documentation it says to add an extra reducer in order to purge the state of the current slice, however there is no a clear example everywhere i

Issues with IPython magics [TerminalIPythonApp] WARNING unrecognised alias

I recently got my code to function and was so proud of myself for figuring out the challenges experienced then. However, I reviewed some stuff in connecting wit

Excel Time Conditional Formatting

I have exported a csv list with start tine and end time. After that I have created a new column with the duration differences. How can I make the cell red for &

Telegram Web Bots data validation in JavaScript

I've tried to do user verification script for telegram web app for bots. I have no idea how to fix it. import sha256 from 'js-sha256' const telegram = window.T