All Questions
24,155,523
questions
0
votes
0
answers
5
views
Binding a v-date-picker to a v-text-field with a formatted date
I am trying to bind a v-date-picker option to a v-text-field with the data formatted. I have a function I already use throughout my application called formateDate() and I am trying to apply this to ...
0
votes
0
answers
5
views
Flutter Dio upload file gets `type 'List<int>' is not a subtype of type 'Uint8List'` error
I try to upload a file with Flutter in Web with Dio. I get the file with file_picker and get the bytes of the file. Then I try to upload the file to my backend but I got an error saying Instance of '...
0
votes
0
answers
7
views
Nodejs + Docker: Unable to connect
I am a beginner with Docker and Nodejs. I've created a website on my computer that runs properly with "npm run dev" on my terminal.
I turned the website into a Docker image like so:
FROM ...
0
votes
0
answers
9
views
using setjmp/longjmp to time-slice tasks using a timer on ESP32S3 bare-metal
I have implemented in C a round-robin scheduler that cycles through 3 tasks. I want to time-slice my tasks, meaning that when a task takes more than a pre-determined timeout value x, it is interrupted ...
0
votes
0
answers
4
views
Nginx try_files with different headers based on file existance
How to add a different header if file exists on disk?
example:
set $somevariable = /test/test1/1.html
#(this is set dynamicaly based on request, but for this example i made this a static string)
...
0
votes
0
answers
9
views
Problem with counting Battleship sunken ships/ships (Java)
So I am making a method for a battleship game which consists of ships ranging from 2-5 squares horizontally on a 10x10 grid in Java. This method is to count the number of sunken ships on the grid ...
0
votes
0
answers
8
views
[how can i give font awesome border using css
I found it difficult to to give font awesome icon border radius after I've successfully linked the font awesome link to my html
I've tried to class the icon and give it border radius of 50% but it ...
0
votes
0
answers
3
views
Library or lexicon with racist keywords
I am trying to filter in a dataset for racist content by using racist keywords. However, it is difficult to find a lexicon or good database with a comprehesive keyword list of racist words only. Does ...
0
votes
0
answers
5
views
Why is my Website navigation working on live server but not when deployed
For my school project we are adding navigation to simple websites with javascript. I'm using Visual Studio Code and live server extension. When I run the website through live server extension it works ...
0
votes
0
answers
5
views
whenever i click the save button in the add item page it keeps returning an error table items has no column named IsSold
#more code above
Traceback (most recent call last):
File "C:\Program Files\Python312\Lib\tkinter_init_.py", line 1962, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "C:\Users\...
0
votes
0
answers
10
views
Creating a timescaleDB Materialized view with a sql transaction fails
I am trying to do a continous integration with timescaleDB but is impossible to create a materialized view directly from my code i get the error:
ERROR: CREATE MATERIALIZED VIEW ... WITH DATA cannot ...
0
votes
0
answers
3
views
Creating many text boxes in PySide6 Qt without slowing things down
I am very new to Qt/PySide6 and am trying to create an app that edits text in many little boxes. To give some idea of how many boxes, I think it should easily be able to handle 10,000 boxes.
Here's ...
0
votes
0
answers
4
views
What is the audio format from python `audioop.ulaw2lin` with width 2?
I'm trying to convert u-law audio into 16 bit 8khz raw audio in python using audioop.ulaw2lin(ulaw_audio_bytes, 2).
The resulting bytes object has the right size, however if I write it to a wave file ...
-2
votes
0
answers
7
views
MAX-K-CUT Randomized Algorithm
Consider an undirected graph G = (V, E) with nonnegative edge weights we ≥ 0. The MAX-K CUT problem
asks to partition the vertex set into k subsets V1, V2, . . . , Vk such that the sum of the weights ...
0
votes
0
answers
3
views
UIA text selection and caret position
TLDR: I am trying to programmatically select text in Windows UIA applications (notepad, MSWord, Visual Studio), in such a way that I need to be able to specify whetehr caret stays at the beginning or ...