Questions tagged [size]
Size in computing can refer to various dimensions: size in bits, in bytes, in pixels, in memory, in disk space, etc. Please don't use this tag in your posts - it's too generic to usefully categorise your question.
7,106
questions
1
vote
1
answer
18
views
Chrome image in iframe not resizing
I'm working on a file sharing service, and am getting this weird behaviour from chrome, but not from firefox:
There is an image hosted on my server, and I'm trying to use it in an iframe. (This is ...
-1
votes
1
answer
14
views
Keep size the same on all sizes of screens
I am creating a game called Harvester, and when I either change the size of the browser window or use a different sized screen, my icons look either too short, tall, fat, or skinny. But I want it to ...
0
votes
1
answer
21
views
Count Rows based on 2 fields grouped [duplicate]
I am trying to recreate the MultiRow tool used in Alteryx.
I would like to group the data by two columns (DATE, CALL_ID) and then do a running count per row for each group.
I'm using the groupby but I ...
0
votes
0
answers
66
views
All elements change size and position when i resize the window
I'm new to CSS and HTML, now I got this school project where I've made an imaginary business site. Problem started already on the front page, when I resize my window, all my elements change position ...
0
votes
0
answers
3
views
In SwiftUI, how do I get the display width of a string element based on the font
I'm trying to get the display width of a string in SwiftUI based on the font characteristics.
something like:
func stringSize(text: String, font: Font) -> (Double, Double)
size = stringSize("...
0
votes
1
answer
18
views
pyqt5 font-size and dimensions missmatch between QtDesigner (preview mode) and production
The first print screen is from Qt Designer (preview mode - style Fusion).
The second print screen is after running python my_pyqt5_app.py command (first i run pyuic5 -x my_pyqt5_app.ui -o my_pyqt5_app....
0
votes
1
answer
28
views
Size field searchable in Kibana but empty result
We have installed the size plugin to find log items in Kibana that have a high impact on our resources.
This results in:
Being to able to use _size in the search bar e.g.: _size > 1000 (and this ...
0
votes
1
answer
55
views
How to fix 413 payload too large
I have an application with frontend in Angular and backend in Net Core 5 that I'm testing locally. When I try to upload files that exceed a certain size the backend is never reached and the above ...
1
vote
0
answers
34
views
exceeding the size limit of matrix in R
I'm using fDMA model in R language. The input of this model is x, y. In my case,x contains 194 features. The problem is that the model constructs a matrix containing all the combinations of models ...
0
votes
0
answers
68
views
Resize tightly packed array without copying data
I was wondering whether it's possible to resize a dynamically allocated array without copying the data. More specifically, when I allocate an array on the heap with a size of 10, and I write some ...
0
votes
1
answer
23
views
Styling menu size with FireMonkey
I am trying to increase the size of a the drop-down items in a TMenuBar menu using FireMonkey on Windows platform (because when using a touch-screen it is difficult to press the right menu item).
I ...
0
votes
1
answer
24
views
Extract size info from ros2 bag in shell script
In ROS1, one can use 'rosbag info -y -k size bagName' to get the bag size information. How can I do it in ROS2 with Shell Script? Thank you in advance!
"ros2 bag info -h" does not have -y -k ...
0
votes
0
answers
18
views
Is there a way to show ListView.builder inside CupertinoAlertDialog in Flutter?
I am trying to use ListView.builder inside CupertinoAlertDialog as the content using Flutter. I do NOT want to force its height to a predefined value. Instead, I want it to take the minimum space (...
0
votes
0
answers
26
views
Groovy code fail when debugging in IntelliJ IDEA
When I'm trying to run my Groovy code in IntelliJ IDEA it fails on using .size without parenthesis:
response.errors.size == 0
although there is no error in the response ('errors' array is empty).
...
0
votes
0
answers
17
views
Heroku can't read my .slug-post-clean file
I used a .slug-post-clean file to reduce my Heroku slug size error: Compiled slug size: 2.5G is too large (max is 500M) but it seems like it's not able to read the file.
-----> POST BUILD CLEAN app ...
1
vote
1
answer
18
views
GridBagLayout component size is dependent on JFrame size
I have the following program (simplified version of my actual program):
MyPanel.java:
public class MyPanel extends JPanel{
private JLayeredPane layeredPane;
public MyPanel(int width, int ...
0
votes
0
answers
31
views
How do I create a method to get the size of a sub-tree or even the tree of a Binary search tree in java
`
private int size(Node node)
{
Node n = node;
if(n == null)
{
return 0;
}
else
{ int leftside = size(n.left);
int ...
0
votes
0
answers
11
views
how to custom XHR (XMLHttpRequest) packet size in polling request?
When a poll request is sent to the server, I have noticed that several XHR packets are sent to the server with a maximum size of 500 KB. In some cases, the procedure can be very lengthy and risky, ...
0
votes
0
answers
14
views
How to modify the ratio of profiles photos in UltimateMembers for Wordpress
I'm using Ultimate Members on my WP Website. The profile photos and galleries photos are squared. I'd like to display them on 4:3. I would also like to change the number of profiles per row in the ...
0
votes
1
answer
71
views
Why are there discrepencies in size for copies of the same Spanner databases?
I have a database called 'decision' on Google Cloud Spanner.
I have exported this 'decision' database to a Google Cloud Storage bucket.
I have then imported the exported database to a new Spanner ...
0
votes
0
answers
39
views
Increase the size of the image in the expanded QComboBox list
there is a small piece of program code. As it has a Combobox that contains a drop-down list.
Please help with 2 questions:
how not to display the first picture in the expanded list? that is, you need ...
0
votes
2
answers
104
views
Are variables in array sizes allowed in C?
I'm using the GCC compiler on Linux. I don't understand how variables work in array sizes.
When I run:
char string[6];
string[0] = 'h';
printf("%s", string);
As expected, it outputs: h
If I ...
0
votes
2
answers
36
views
How to get PostgreSQL tables total disk size under a schema
Our PostgreSQL database was getting bigger and we wanted to identify what tables are guilty.
0
votes
0
answers
8
views
Sample size recaluculation
can one recalculate the sample size for an interim analysis after a sample size is determined already for the final analysis of a clinical trial. And this number of recruitement has been achieved?
...
2
votes
2
answers
58
views
passing a pointer of different type to a function (C)
Suppose that a function from a generic library would like to use long ints (say 64 bit) for any case, but in my program I would like to use short ones (say 32 bit). Then I encounter a situation as ...
1
vote
0
answers
29
views
Huge plotly html
I've this simple plotly python script:
import plotly.express as px
import numpy as np
s = np.random.normal(0., 1., 100000)
fig = px.histogram(s, nbins=7)
fig.write_html('fig.html', include_plotlyjs='...
0
votes
0
answers
14
views
Create an interactive Photomap with leaflet, JS. Trying to figure out how to size the photo to fit the state borders
Hello I am working on my first frontend JS leaflet project trying to make an interactive PhotoMap using pictures I personally took that I want to display on the map. I created clipped arts of all the ...
1
vote
1
answer
53
views
How to make all fonts of my controls the same size?
I'm creating an App with SwiftUI. In a view I have a TextEditor, Pickers and Steppers. I want the fonts to be the same.
This works:
let defaultTextSize: CGFloat = 20
Text("test")
.font(....
2
votes
1
answer
62
views
ggplot2: fix absolute size of ggplot on onscreen device (RStudio plots pane)
This feels like the most basic question that must have been answered already, but I have Googled for hours and not found a useable answer.
I will be generating a huge number of 3 inch by 3 inch plots ...
2
votes
0
answers
42
views
Size Error when attempting to plot with pyplot barbs
I have an xarray.DataArray I want to plot on top of a cartopy map of the United States with u and v winds (barbs) at evenly spaced latitude and longitude points. I'm indexing my wind data to not plot ...
0
votes
0
answers
15
views
How to Handle ConfigChanges in Library or Module Java Android?
I add ConfigChange in Manifest on My Aplication Package:
android:configChanges="screenLayout|uiMode|orientation|screenSize"
But when rotation, Width and Height Size detect just first ...
-1
votes
1
answer
85
views
HOW TO DECOMPRESS the zip file which is stored in assets folder in flutter
DECOMPRESS the zip file which is stored in assets folder and after decompress same file store into database to app's assets folder in runtime. In zip file, sqlite database file is stored due to high ...
0
votes
1
answer
52
views
How to create an array with dynamic size at runtime in Ballerina?
It seems currently it only allows compile-time constants for the array size in the array type descriptor.
E.g.
const ARR_SIZE = 2;
public function main() {
int[] arr1 = []; // okay
int[2] ...
0
votes
1
answer
17
views
How to fix org.neo4j.internal.unsafe.NativeMemoryAllocationRefusedError?
would be happy for any help regarding the following Problem.
I need to create a neo4j Graph out of words of documents. It always worked fine for 1000 Documents, but for 3000 Documents i get this ...
0
votes
0
answers
35
views
Dynamic adjust Container height
I want to achieve a dynamic height for a Container in the appBar area. (Later, I will add text and icons inside it for animations). Currently, I'm using CustomScrollView and SliverAppBar, and I've ...
0
votes
0
answers
60
views
I'm using the sphinx theme alabaster. How can I get a wider screen on a PC?
The content part of the window is too narrow for my intended use.
I already tried "body_max_width": "none" in html_theme_options.
I also tried 'custom.css' with
.wy-nav-content ...
0
votes
1
answer
39
views
.NET Core Max Pool Size Reached
Core newbie here...the company I work for just updated our old ASP.NET MVC site to a .NET Core site. It is hosted on load-balanced AWS platform and uses EF Core Power Tools to interact with our SQL ...
1
vote
2
answers
76
views
How to find out the size of an array allocated on the heap in C?
I have the following C code:
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#define ARRAYSIZE(a) (sizeof(a))/(sizeof(a[0]))
#define ARRAYSIZEWITHPTR(a) (&(a)[1] - a)
...
2
votes
3
answers
65
views
Deducing the size of an array when a template template parameter is used
A very simple method to find the number of elements in a template array is shown in the following discussion:
How does this function template deduce the size of an array?
I wanted to emulate the same ...
0
votes
0
answers
44
views
Android Apk Size Investigation
I build the Apk of my Android app, which is around 177 MB. I'm already using pro-groud to reduce the app size but still, it's 177 MB what are the other methods that I can use to reduce my app size?
I ...
0
votes
0
answers
18
views
Process enormous size Request Body in restful api
I got an requirements to process large size content in post request.
At first, i implement this in normal way
receive json array as request body
execute business logic while traversing the array
But ...
-2
votes
1
answer
51
views
How to set properties in a xaml to a maximum value?
I'm working on a UserControl, which has some labels, checkboxes, ....
In order to configure that usercontrol, some styles are used, as you can see here:
<UserControl.Resources>
<Style ...
1
vote
1
answer
134
views
How to change the title size in a Quarto PDF document
I tried to change the size of the title of a Quarto PDF document (scrartcl class) without success.
This is what I tried. Per the KOMA-script documentation section 3.6 (page 58), and as mentioned here, ...
0
votes
1
answer
39
views
Boolean Array size restriction in C# [duplicate]
I'm trying to use a boolean array with 10000 elements & my program is erroring out as the number of elements coming into my file load are more than 10000.
Is there a max limit restriction on ...
0
votes
5
answers
110
views
Is there a maximum number of rows allowed for this array? C++ [duplicate]
(edited to correct a mistake and specify code is written for C++)
I am making a large array, P_arr of size
int N = 30;
float P_arr[27000][4];
with elements given by
float ua_min = 0.0001, ...
0
votes
1
answer
96
views
How to include database without increasing app size?
I got an SQLite database of 150 Mb and they want it in the application so a first time user doesn't face downloading after installation from Google Play. Someone suggested with a MacBook this can be ...
0
votes
2
answers
65
views
JQGRID - Make checkboxes fit row height
In JQGRID, I increased the row size of my table by doing this in the CSS file:
.ui-jqgrid tr.jqgrow td input { padding: 0px; height: 60px;}
Since I have multiselect: true, how can I make the ...
0
votes
0
answers
9
views
E-commerce variation product stock reduncy djanjo
I want to buy a shirt. Shirt can be many sizes. When I buy xl size shirt then xl size shirt also reduces from admin panel
I made only shirt quantity not size with quantity. Now can I solve this ...
-1
votes
1
answer
145
views
Problem sizing the icon from font awesome using react + tailwind + next.js
I've been trying to learn react and tailwind and for some reason I can't size the icon from font awesome. I tried to do everything in my power, using the size="sm" and h-px w-px from ...
0
votes
1
answer
41
views
fix the footer that cannot be adjusted full screen in bootstrap for desktop and mobile
I am intermediate in HTML and CSS so please consider that I am not advanced to understand complex concept .I am designing site . on top I have logo and it is inside a div . below that is my ...