Newest Questions
24,159,912 questions
-1
votes
0
answers
3
views
How to import pixi.js without Vite or any other bundler
I'm trying to run a page with Pixi.js code in it in a Node environment, but I'm getting this message.
Source map error: Error: request failed with status 404 Stack in the worker:networkRequest@...
0
votes
0
answers
5
views
Where in the C standard does it specify the corresponding argument for %n in fscanf shall be a pointer to int or unsigned int
The C23 standard draft n3220 says the following about the conversion specifier n for fscanf in statement 7.23.6.2p12 (emphasis mine)
n No input is consumed. The corresponding argument shall be a ...
Advice
0
votes
0
replies
14
views
Is it worth repairing a 20-year-old roof, or should I just replace it?
My roof is about 20 years old (asphalt shingles). No major leaks yet, but I see some curling shingles and a few granules in the gutters. I've had two contractors – one says repair for $1,500, another ...
Advice
0
votes
0
replies
7
views
Is it possible to overlay SVG text onto an html canvas (or an 0ffscreen canvas)
Since html canvas text can be sometimes be a little weak, for example when displaying vertical text. Is it possible to use, something like SVG text overlayed on an html canvas to improve the ...
0
votes
0
answers
8
views
How to handle Notify signal with QDBusConnection::sessionBus().connect()?
With Qt5 and Qt6, I'm trying to handle the following signal:
QDBusConnectionPrivate() got message (signal): QDBusMessage(type=Signal, service=":1.10", path="/ca/desrt/dconf/Writer/user&...
-1
votes
0
answers
11
views
Improve Scala code with fs2grpc, and cats create tail recursion
Please help me convert Scala code def loop to @tailrec
I would be grateful if you could tell me the best practice to do this.
object ClientApp extends IOApp {
override def run(args: List[String]): ...
Advice
0
votes
0
replies
21
views
Tauri which you can build native apps for desktop & phone with one code base
I have built all my apps using JavaScript, and for desktop, I have always loved to use Electron.js.
But a while a go i've heard Tauri for the first time!
Its features & powerful full-cross-...
-1
votes
0
answers
24
views
How Do I Make Sure That My New Environment Is Getting Passed Back When Creating New Variables For A Programming Language Racket
So I'm working on a programming language using racket for a final project and I'm having trouble with correctly binding my variables. Currently when we set the variable we create a new environment, ...
0
votes
0
answers
33
views
Print the paths of modules and types from command line
How can I print the rust paths to various modules and types as a shell command?
Various cargo tools have an option to pass a module path to confine activity to just that area of code.
For example, ...
Advice
1
vote
1
replies
31
views
Is OsDev a good Web-Site to learn how Operating Systems Works?
I am currently working on an operating System using x86,
I don't know much about operating systems, so I'm looking for a way to learn how they work.
I'm curious if OS dev is a good place to learn how ...
-1
votes
1
answer
40
views
Why does async/await not guarantee execution order when multiple calls are triggered externally?
I’m working with an async function like this:
async function doWork(id) {
console.log("Start", id);
await new Promise(res => setTimeout(res, 1000));
console.log("End", id);...
-1
votes
0
answers
43
views
Can tracing be done of recursive calls?
I was asked to trace all the recursive calls for power(2, 4) input, I have tried and am sure it meant to trace on paper (maybe) but I just tried coding it. Is my approach okay for making the coding ...
-1
votes
0
answers
30
views
Copy and transpose data from sheet2 into next empty row in sheet1
I have a mass of data in A:F of Sheet2 that needs to be looped copy and paste special transpose into the next empty spot of A:A in Sheet1.
The below code didn't work.
Sub CopytransposeRow()
Dim ...
0
votes
1
answer
27
views
How to perform the "uncollapsing" of a one row data frame or array to multiple rows in R
I suppose this is kind of a strange question, but I want to "uncollapse" a row of data in R, as follows. The original data is, for example, a data frame row where v1 = 1, v2 = 2, as here:
...
-3
votes
0
answers
37
views
Ghosted highlighting in vs code powershell terminal
Look at the images. After the first word of any command, anything written after that is getting highlighted with a grey background (depends on the theme though and it looks worst on lighter themes as ...