October 24, 2024
Chicago 12, Melborne City, USA
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
SQL

Need a query to find duplicate data

How can I write a query in SQL Server that will return the highlighted rows shown in the pic based off the fact the highlighted rows have RecordData that is essentially contained in the row with the same policy. Any advice or direction would be most appreciated. You need to sign in to view this

Read More
CSS

Align child elements of different blocks

I’m trying to get the button in 3 columns in a WordPress block to stay at the bottom. It’s a section block with 3 columns. Screengrab of colums Having tried various options (including “position: absolute; bottom: 0;” and “margin-top: auto;”) the only thing that seems to work is making the columns grids. The only problem

Read More
jQuery

jQuery Datepicker Widget, sending value selected to backend (or $.Ajax()) different of showed at frontend

i am using the lib https://jqueryui.com/datepicker/ I would like found the proprierty that send the value selected to Backend with american format. Exemple: JS <script src="https://code.jquery.com/ui/1.14.0/jquery-ui.js"></script> <script> $( function() { $( "#datepicker" ).datepicker(); $.datepicker.regional['pt-BR'] = { closeText: 'Fechar', prevText: 'Anterior', nextText: 'Próximo', currentText: 'Nyní', monthNames: ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto','Setembro', 'Outubro', 'Novembro',

Read More