Quantcast
Channel: Recent Questions - Stack Overflow
Browsing index pages (23778 articles)
↧

Buttons disappear while using 'TAB' key in my SWT UI

Below is my SWT UI code. If i place cursor in the text field and click 'TAB' key, the second button at the bottom disappears. I use windows and SWT library version...

View Article


An empty alarm window makes APPROX_COUNT_DISTINCT fail with a HyperLogLog error

I am building an alarm summary in the table model. Some time windows have no events, and I want the dashboard to show a zero event count alongside the number of distinct alarm codes.This is the minimal...

View Article


Hibernate 6.6.x throws NullPointerException when using LEFT JOIN FETCH for...

I'm encountering a NullPointerException when executing a JPQL query with LEFT JOIN FETCH in Hibernate 6.6.x. The issue occurs when fetching specific @ManyToOne associations, while the other fetch joins...

View Article

How should I define structs if I want to load data into them and then...

I have come across a situation where I need to load information from a JSON file and then slightly modify certain fields. The modifications include changing the type of the information, in this case...

View Article

One app, two windows, but not split screen

Is it possible for an app to have two "windows"(?) (with separate contents) you can switch in between? (like on desktop you can have two browser windows.)My research so far only brought up how that...

View Article


Access Eiffel attributes inside external C++ code

In and Eiffel creation routine I want to call a C++ constructor method to get a pointer to a C++ object. I need to pass an Eiffel object and access the attributes of that object in the external C++...

View Article

How do I add another parent to a Jujutsu commit?

I understand that jj new a b creates a new commit with a and b as parents. What is the simplest command to modify that parent afterwards to add yet another parent c? I am thinking about a single...

View Article

What constitutes a unit test vs. an integration test in Rust? Testing best...

This is mainly for Rust but could apply to any language.I've read:Test OrganizationWhat is the difference between integration and unit tests?What's the difference between unit tests and integration...

View Article


Image may be NSFW.
Clik here to view.

Draw letters in python console given x y coordinates and characters [closed]

I have a function that gets a dictionary of x y coordinates and the respective characters that need to be drawn in the correct x and y positions. I've tried using nested for loops. I've tried using...

View Article


Show MessageBox while child form is open [closed]

I have a non-modal child form that will show a graph. The parent form collects data and sends data, point by point, to the child form. When the parent has finished collecting data, I want to use a...

View Article

How to index a list in Gleam from the end?

I want to split strings with various counts of - as separator. I need the fifth from the end and to discard results with fewer partslet parts = string.split("1-22-333-4444-55555-6666-7777", on: "-")let...

View Article

Disable pop-up "Bluetooth pairing request" in IOS [closed]

I am working with Flutter.My app includes a feature to connect to a device via Bluetooth—specifically, a Chainway R5. When the connection process begins, a "Bluetooth pairing request" pop-up appears.If...

View Article

How to prevent Codex CLI from reading certain files or directories via sandbox?

Suppose I have some private data under ~/private that I don't want Codex to read and send out to a server. I want to enforce this as part of the sandbox, i.e. using kernel enforcement mechanisms that...

View Article


I'm trying to zoom in on the user's location but it doesn't work

It's for a school project. No matter how much i've tried changing the value or the command it just loads the map and move only a little bit (not even zooming) it's suppoesd to be a running app that...

View Article

How to get part of a string between two HTML tags in a column

I have values such as below in a column of a table in SQL Server 2022.What I need is to grab with a SELECT statement the value between <artikel> and </artikel>Tabelname: JOBColumn:...

View Article


R error in geom(line): Aesthetics must be either length 1 or the same as the...

My codeFor a university course I have to plot the inferred excess mortality up until 2019 and as of 2020. However, when running my code it keeps saying I have an aes error: Error in geom_line():!...

View Article

How to distribute passengers to flights using Javascript

I've got a project I'm working on that deals with managing flights and passenger numbers. I'm currently stuck implementing the function below, any suggestions for how I could go about this would be...

View Article


Ways for reading inputs in C without reading newline or using scanf

I have a college exercise to do, that consists in writing a bank in C and I do know that scanf is a really buggy function and fgets reads the '\n', that I don't really want to be read. So I have...

View Article

Constructing an SCD2 type dimension from overlapping periods

I have data like this:GroupId DateFrom DateTo value_Gr1 2022-03-01 2022-08-01 10Gr2 2022-01-01 2022-12-31 20Gr3 2022-01-01 2022-12-31 30I'm trying to construct an SCD2 type dimension by doing an...

View Article

sf dissolve/remove inner borders of POLYGON

This code creates the desired outline of two combined shapessquare.df <- data.frame("x"=c(0,0,1,1,0),"y"=c(0,1,1,0,0),"ID"=rep("square",5))square <- st_cast(st_combine(st_as_sf(square.df,coords =...

View Article
Browsing index pages (23778 articles)


Latest Images