size Questions

3

Solved

I've a QTabWidget, which contains widgets of different heights (their widths are fixed), however, the default implementation ofQTabWidget selects the biggest widget's height as own height. What I ...
Intellect asked 18/3, 2015 at 17:35

5

Solved

I need to find the size of a JPEG (JFIF) image. The image is not saved as a stand-alone file, so I can't use GetFileSize or any other API such this one (the image is placed in a stream and no other...
Stravinsky asked 12/10, 2009 at 21:35

3

I am working on a video editing app where each video gets squared in such a way that no portion of the video gets cropped.For this, in case of portrait video, it contains black portion on left &amp...
Vedetta asked 3/7, 2017 at 6:51

4

Solved

I'm going to archive an old huge project containing a lot of garbage. I hope I'll never need it again, but I want to put all important things under version control. Because of the chaos in the proj...
Luker asked 7/3, 2011 at 0:43

12

I want to store as many elements as desired by the user in an array. But how do I do it. If I were to create an array, I must do so with a fixed size. Every time a new element is added to the arr...
Herein asked 21/9, 2012 at 4:36

9

Solved

I need to calculate the directory size in VB .Net I know the following 2 methods Method 1: from MSDN http://msdn.microsoft.com/en-us/library/system.io.directory.aspx ' The following example calc...
Metage asked 8/7, 2010 at 23:24

15

Solved

I'm just starting on a website and I already encounter a small problem where I can't find a specific solution to. I wanted to make my website background fit any screen size in width, height does n...
Bellwether asked 12/11, 2013 at 9:12

4

Solved

As you know the iPhone guidelines discourage loading UIImages that are greater than 1024x1024. The size of the images that I would have to load varies, and I would like to check the size of the ima...
Conard asked 12/11, 2010 at 22:33

2

I tried: #include <vector> int main () { std::vector<int> v; int size = v.size; } but got the error: cannot convert 'std::vector<int>::size' from type 'std::vector<int&g...
Derivation asked 2/7, 2015 at 23:53

2

Solved

In the following snippet, data is a pandas.DataFrame and indices is a set of columns of the data. After grouping the data with groupby, I am interested in the ids of the groups, but only those with...
Spendthrift asked 30/7, 2013 at 11:1

17

Solved

Is it possible to change the size of an <li> element's bullet? Take a look at the code below: li { list-style: square; /* I want to change the size of this squared bullet. */ } I can't seem...
Manifold asked 23/6, 2011 at 15:57

5

Solved

This question seems easy but for some reason I have trouble finding the answer. I have an application that saves the form's size and position on an INI file. That's all an well, however when you c...
Watanabe asked 28/7, 2009 at 15:30

4

Suppose I'm writing a couple of files to disk, between 2MB and 5GB. What are sensible buffer values for the FileStream ? Is it sensible to work with buffersizes of several megabytes, or should I s...
Declassify asked 7/12, 2009 at 21:23

10

Solved

This question goes out to the C gurus out there: In C, it is possible to declare a pointer as follows: char (* p)[10]; .. which basically states that this pointer points to an array of 10 chars...
Modie asked 27/11, 2009 at 18:20

5

Solved

I came across this example to get the size/position of a widget: https://medium.com/@diegoveloper/flutter-widget-size-and-position-b0a9ffed9407 What is wrong with my code? I get the error: The foll...
Sansone asked 17/2, 2019 at 12:59

2

Solved

The question is related to bash and Linux like Debian; Ubuntu or Linux Mint. It's known to open a new firefox window by bash on follow way: Firefox It's known to open a new Firefox tab on follow w...
Soberminded asked 20/2, 2021 at 23:5

3

Solved

ValueError Traceback (most recent call last) <ipython-input-30-33821ccddf5f> in <module> 23 output = model(data) 24 # calculate the batch loss ---> 25 loss = criterion(output, targ...
Footmark asked 5/9, 2019 at 3:24

12

How do I find the size of a 2D array in C++? Is there any predefined function like sizeof to determine the size of the array? Also, can anyone tell me how to detect an error in the getvalue method...
Wiesbaden asked 23/4, 2012 at 2:32

3

Solved

my web site displays images bigger than their original size. The images are 20% bigger than the original created with photoshop (for example), if an image's width is 200px, the browser displa...
Peppercorn asked 23/1, 2018 at 16:17

5

Solved

My problem is that the App Icon on my device looks way too small in comparison to the other apps. I read some solution on other questions, like this one Android App Icon size too small but this doe...
Kirimia asked 26/8, 2015 at 16:2

3

Solved

Given json such as {"arr1" : [1,2,3], "arr2" : []} where it is known that there are arrays named arr1 and arr2, is there a jsonpath expression for the length of an array that will work for both...
Reflective asked 16/7, 2014 at 8:24

6

Solved

I have variables in MATLAB, I've checked their class using class() but I also want to know the size that they take in the memory. More accurately, I know that they are of double type, and I want to...
Bultman asked 30/1, 2011 at 21:10

16

When I run a program which does something with MySQL, I got this error message: 2015-06-10 15:41:12,250 ERROR app.wsutils 419 INCRON: Error: ('HY000', '[HY000] [MySQL][ODBC 5.2(w) Driver][mysqld-5...
Khalsa asked 10/6, 2015 at 16:15

2

I'm developing an app which creates x264 videos with the following library: com.arthenica:mobile-ffmpeg-full:4.2.2.LTS but the result apk file is too big (~71mb), so I tried: com.arthenica:mobi...
Wilie asked 28/3, 2020 at 16:26

5

Solved

I'm having a problem with finding an array or list size using Stefan Goessner's JsonPath. I'm using the version json-path-2.0.0. My jsonpath expression is $.orders.length and JSON looks something ...
Earwig asked 1/5, 2016 at 9:6

© 2022 - 2025 — McMap. All rights reserved.