7,054 questions
Best practices
0
votes
4
replies
29
views
Are there any convinient ways to facillate 64bit size allocatable arrays without changing the default integer in the IFX fortran compiler?
I have a Fortran code compiled with with the following flags:
-fc=ifx -O3 -r8 -i4 -fpe0 -no-ftz -fp-model=fast=2 -heap-arrays 0 -init=zero -init=arrays -I ./include/ -L ./lib/ -lfmetis -lmetis -o
...
6
votes
4
answers
265
views
Size mismatch of more than 2 arrays
Let's say I have n arrays (right now I have 4 but that might go up) and they're supposed to be of the same size, but since I'm fetching them from outside the code I want to be sure
std::vector<int&...
3
votes
1
answer
82
views
custom size for addEasyprint with leaflet.extras2
I'm creating some html files for colleagues where they can explore a leaflet map interactively, then save a copy for presentations.
Unfortunately the downloads from addEasyprint in leaflet.extras2 are ...
Advice
0
votes
1
replies
60
views
Does the way a program is written/formatted affect how fast and large it is at compile time?
We all know that there's no wrong way to write code, and infinite possible ways to complete a task. Everyone codes differently.
There are of course many ways to shorthand code, so the same code can be ...
2
votes
1
answer
132
views
Regenerate covariance matrix with less WSSIZE used in APL
I have a covariance matrix(4500*4500). WSSIZE in my installation approx 1.5 Gb.
But for simplification, let's say it:
covm←0.5×((5 5⍴⍳25)+⍉(5 5⍴⍳25))
Also, I vector rfikv←101 102 103 104 105 (in my ...
0
votes
0
answers
54
views
Visual Studio 2022 - Breakpoints Window - Can't reduce font size - Font quite BIG
I can't seem the resize the font in the Breakpoints windows of VS
(Debug -> Windows -> Breakpoints).
I tried to tweak all the options under fonts and color:
"Tools -> Options -> ...
0
votes
1
answer
138
views
Discord API data type for id
Currently Discord has approximately 1.360.000.000.000.000.000 (1.36 * 10^18) IDs used up and a long can store integers up to 2^63 - 1, which is approximately 9.22 * 10^18.
My question now is if I ...
0
votes
1
answer
57
views
codemirror 6 setup from textarea with height from rows attribute
I would like to enchance my textareas with codemirror editor, but keep size defined in rows attribute.
<textarea data-code-editor="javascript" name="javascript" rows="6&...
2
votes
0
answers
149
views
How to make variadic template of a function as efficient as a hand coded one?
Let's compare two functions doing the same thing:
Hand-crafted enum reflection:
enum Method
{
DELETE = 0,
GET = 1,
HEAD = 2,
POST = 3,
PUT = 4,
OPTIONS = 5,
};
const ...
0
votes
0
answers
75
views
Is there any way to reduce the size of the fonts files
I'm developing an Islamic app using kotlin android studio, and I'm currently working on the Quran section. I struggled to find a suitable layout to display the text correctly, but I eventually found ...
0
votes
1
answer
56
views
Size of each file in the folder = 1kb [github action]
I try to zip client folder from my repo and upload it to AWS, but on my own machine size of client/mods - 608 Mb, when the same action running on github actions - size of the folder - 0.09 Mb, each ...
0
votes
0
answers
61
views
Why Logo Size is Large in Wordpress?
I set the logo size to 200px 200px but on the site logo is bigger. It is set to image size, 626px 626px
function theme_support() {
$defaults = array(
'height' => 200,
...
0
votes
1
answer
52
views
Get the actual (Original) resolution of a High quality image in ReactNative
When I used Image.resolveAssetSource, I was getting a null value when using an image URL instead of a local image.
When I used onLoad, I received {"height": 972, "width": 1296}, ...
0
votes
0
answers
44
views
How to prevent runtime exception when enabling strict shrink mode in an android app?
I have placed keep_rules.xml at the path app/src/main/res/raw/keep_rules.xml
<resources xmlns:tools="http://schemas.android.com/tools"
tools:shrinkMode="strict"
tools:...
1
vote
1
answer
135
views
How to set the size of a pop-up subform datasheet to the desired window size below
Please bear with me as I am new to Access VBA.
I have here a subform with data sheet on it that I would like to display in Pop-Up View.
If Pop Up is No, it displays the whole page.
If Pop Up is Yes, ...