October 24, 2024
Chicago 12, Melborne City, USA
CSS

Having problem position:sticky in html css

So i am new to html and css and i was doing a project and i am stuck in this type of scenario where sticky element is not sticking at first i thought it’s because i am creating it inside a flexbox which does not have scrollbar but when i looked it up on mdn

Read More
jQuery

Bootstrap mulitselect selected items not working after AJAX call

I am having an issue with Boostrap multi-select selected count not working after my AJAX call. I have a parent list that I make multiple selections from, which then sends an AJAX call to retrieve the ids and text of the child list. I am using JSON data to append additional checkboxes (li items) on

Read More
HTML

How to make infinite repeating popups on click in HTML and Javascript

I want to make repeating popups in HTML. I have provided the code for the popups that I have inserted into the game so far. I want the popup to repeat infinitely when you click the close button (the no icon). Live page Actual source code, sorry! I tried to just use multiple js tags,

Read More
Android

Cannot click on button in CollectionView in MAUI App

I can’t in any way cause a button to be pressed inside a CollectionView tag, I don’t have any errors with data binding, the problem is that the compiler doesn’t even get to the command call, what could be causing this problem? <ScrollView Orientation="Horizontal" Margin="0,0,-300,0" Grid.Column="0" IsVisible="{Binding IsImageSelected}"> <StackLayout> <CollectionView ItemsSource="{Binding SelectedImageList}" VerticalOptions="Fill" HorizontalOptions="Fill" SelectionMode="Single"

Read More
PHP

How to retrieve che correct date column from custom action in Grid4PHP?

I’m using Grid4PHP in my project and I have an issue retrieving a data value. In my table I have a data column: data date id int(11) ...other fields Here my relevant code: $db_conf = array( "type" => PHPGRID_DBTYPE, "server" => PHPGRID_DBHOST, "user" => PHPGRID_DBUSER, "password" => PHPGRID_DBPASS, "database" => PHPGRID_DBNAME ); $g = new

Read More
C#

Is it possible to create a large array in C?

I have 16GB of RAM and this code #include <stdio.h> #define len 900000000 int phi[len]; int main() { for (int i = 2; i < len; i++) { phi[i] = i - 1; } phi[0] = 0; phi[1] = 1; for (int i = 2; i < len; i++) { for (int j = 2

Read More
java

ERROR Connection to localhost:5432 refused

При попытке запустить docker-compose с 2 контейнерами, контейнер с java почему то стучится в localhost:5432, хотя я указал другую переменную среды: Dockerfile: FROM openjdk:22 ARG APP_JAR=target/*.jar ADD ${APP_JAR} course.jar EXPOSE 8080 ENTRYPOINT ["java", "-jar", "course.jar"] docker-compose.yml: version: "3.9" services: course_pg_17: image: postgres restart: always container_name: course_pg_17 ports: - "5433:5432" environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres POSTGRES_DB:

Read More
python

AssertionError: Pipeline finished with 0 models for some reason

I’m facing error on one or more models failed. I try to add Text Feature, but unsuccessful on implementing it (Same error). The data is bank movements, the target is a column named "Categoria". The idea behind the code is to train the Tabular Data [id, Date, TextTransactionBrief, Charge, Deposit] and in base of that

Read More
GPL

Free GPL Pwork – Intranet For WordPress

All In One Intranet Solution You no longer need to use a bloated theme and a bunch of plugins to create your own intranet platform. Pwork works with any theme and comes with everything you need! Personal Dashboard The user dashboard includes drag-and-drop sortable widgets that provide users with data specific to their needs and

Read More
javascript

How to send push notifications or keep WebSocket active when a browser tab becomes inactive or snoozed in Vue.js?

I have a web dashboard built using Vue.js that relies on WebSockets (Pusher) to receive orders in real-time. When an order is received, a sound plays to notify the user. Everything works fine when the tab is active, but as soon as the browser tab becomes inactive or snoozed, the WebSocket connection seems to stop

Read More