Newest Questions
24,148,544 questions
0
votes
0
answers
8
views
What do fgetc and fputc have to do that using fread or fwrite on a big block avoids
I am writing a toy dictionary-based compressor program that reads and writes one byte at a time with fgetc and fputc. Now perf doesn't say those calls are the bottleneck, but I suspect perf is blaming ...
0
votes
0
answers
7
views
True configuration of a PowerShell Light Theme
I have been trying to configure a light theme for PowerShell 7 and thought I had succeeded. These being my settings if the theme is light (my own variable that I give):
Set-PSReadLineOption -BellStyle ...
0
votes
1
answer
7
views
Why is mypy 2.0 caching not working between invocations that do/don't pass --num-workers?
I'm using mypy ~v2 (specifically, 2.1.0) and I've found that successive runs of mypy that don't pass --num-workers are fast due to cache hit, and successive runs of mypy that do pass --num-workers ...
Advice
0
votes
0
replies
14
views
Created a Chrome Add in For helping build automations
I do a lot of different things and one thing I find myself doing frequently while making scripts especially.
Is tracking down either a consistent installer link to get the latest version, or with some ...
Tooling
0
votes
4
replies
18
views
Get bitwidth of any _BitInt(x) (especially signed)?
So far i could only think that you can wrap an unsigned integer under -1, and use IMAX_BITS to count it. but if the macro takes in a signed _BitInt() than that wont work.
unsigned typeof(x) sadly is ...
-1
votes
0
answers
11
views
How to create table from project Bookservice ,NET
Hi i would like for a help or explanation how to create tables from a project BookService extract for Visual Studio. have a keywords like Entity Framework or DbMigration. thanks in advance.
protected ...
0
votes
0
answers
20
views
Update Column With Other Column Values In Same Group But Exclude Current Group Members
I have the following table setup:
tblComments
ParentPIN | Rnk | Comments
62 | 1 | a - 84
71 | 5 | c - 49
71 | 6 | b - 82
77 | 8 | c - 48, c - 86, c - 85
77 | ...
Best practices
0
votes
0
replies
30
views
Computer tips ,,how a computer operates
What thing or component to a computer deals with making process be run fast,and also for the multitasking be handled ,in short in need what thing to consider when I need to go and buy a laptop or a ...
-1
votes
0
answers
32
views
Visual c++ - why printf acts strangely?
I am writing a console application with Visual C++ Studio Express Edition. I have several iterations which call a function which uses printf() function. It compiles successfully, but when I run the ...
0
votes
0
answers
23
views
OpenCL doesn't "see" The Intel platform despite having supposedly installed everything
I'm trying to target my CPU (Intel i5-7600K) as an OpenCL platform. My OS is Devuan GNU/Linux Freia. I've installed for following APT packages:
intel-opencl-icd
ocl-icd-opencl-dev
The "Intel ...
Advice
0
votes
4
replies
78
views
Learning through AI
It seems with advances in AI a lot of things have changed, including the way we learn. AI is now able to answer a variety of questions, even some vey technical questions. We now have agents, that you ...
0
votes
1
answer
51
views
Python waitress-serve behind nginx reverse proxy
I have a problem with the reverse proxy of nginx.
I use:
waitress-serve --host 127.0.0.1 --call moviedb:create_app
The server listen on:
127.0.0.1:8080
The I have configured nginx as a reverse proxy ...
1
vote
0
answers
54
views
Adding appearance: base-select makes my <select> width vary with the selected <option>
I have a select which I am attempting to add styling to, and the first step is to turn off the browser's normal styling:
select, ::picker(select) {
appearance: base-select;
}
but as soon as I ...
Advice
0
votes
0
replies
31
views
IB API loop contract details for multiple tickers
objective of my script is to get sector for each stock from my portfolio.
I have already script that pulls out all my positions from IB API GW. I have a script that can get contract details for one ...
-3
votes
0
answers
59
views
Problem compiling Qt for Android, resulting in a fatal error stating that the application cannot continue [closed]
I was developing my app, and until recently, the APKs were working fine and launching correctly. However, I created a new version—without making major changes—and now, upon launching the APK, I get a &...