how to descrease the height of select box .It is loading with large number of records
Height of an HTML select box (dropdown)
Convert timestamps with offset to datetime obj using strptime Android app should send edits to edit queue if necessary rather than rejecting them No option to remove Bluetooth device in iOS Settings app? I would like to remove my Raspberry Pi from my iPhone 8 (running iOS 11.2.1) as a connected bluetooth device.  Normally, I would go into my Settings -> Bluetooth and select the Info button (a small blue circled "i") to show the "Disconnect" and "Forget Device" dialogs:    Unfortunately, iOS does not give me this option for my device. The bluetooth device list does not contain an "i" for the item, and there is seemingly no other way to disconnect.    How do I unpair this device if there is no button to trigger to the unpair prompt?  Due to work restrictions I cannot completely reset the device. I want to remove all empty lines from a file. Even if the line contains spaces or tabs it should also be removed. How does one actually show from associativity that one can drop parentheses? iOS Calendar Access Permission Dialog, force it to appear? How to say that you have plans to go to the movies tonight (but you are not sure yet, maybe you will have a pizza)? I mean there are options:     I am going to the cinema tonight.   Way too much certainty in this. For me it means that you have already bought tickets, the least.     I am going to go to the cinema tonight.   Sounds a bit awkward.     I will go to the cinema tonight.   Sounds too formal to me. if 2 random variables have exactly same mean and variance If two continuous random variables have exactly the same expected value and variance, do they always have the same distribution? I am writing my thesis,  and i am in restructuring phase - sorting theorems where they should belong thematically. And it would be helpful to have all the proofs hidden so i am not laden with the additional information.  Is it possible to add something like hideproof to documentclass options to omit them when compiling the latex file. Is there a reason why we gain ghost reputation on the meta of an SE website? Find object by id in an array of JavaScript objects What is CUPS server and how to share a printer (Locally or over a network) The title tells you all, except that it's about sharing printers.   How do I connect to a shared printer on the network through CUPS or terminal? Why must an English learners should know Grammar first? Why must everyone understand Grammar first before learning to speak? Ways to evaluate $\int \sec \theta \, \mathrm d \theta$ The standard approach for showing $\int \sec \theta \, \mathrm d \theta = \ln|\sec \theta + \tan \theta| + C$ is to multiply by $\dfrac{\sec \theta + \tan \theta}{\sec \theta + \tan \theta}$ and then do a substitution with $u = \sec \theta + \tan \theta$. I like the fact that this trick leads to a fast and clean derivation, but I also find it unsatisfying: It's not very intuitive, nor does it seem to have applicability to any integration problem other than $\int \csc \theta \,\mathrm d \theta$.  Does anyone know of another way to evaluate $\int \sec \theta \, \mathrm d \theta$? .NET offers a generic list container whose performance is almost identical (see Performance of Arrays vs. Lists question). However they are quite different in initialization.   Arrays are very easy to initialize with a default value, and by definition they already have certain size:  string[] Ar = new string[10];   Which allows one to safely assign random items, say:  Ar[5]="hello";   with list things are more tricky. I can see two ways of doing the same initialization, neither of which is what you would call elegant:  List&lt;string&gt; L = new List&lt;string&gt;(10); for (int i=0;i&lt;10;i++) L.Add(null);   or  string[] Ar = new string[10]; List&lt;string&gt; L = new List&lt;string&gt;(Ar);   What would be a cleaner way?  EDIT: The answers so far refer to capacity, which is something else than pre-populating a list. For example, on a list just created with a capacity of 10, one cannot do L[2]="somevalue"  EDIT 2: People wonder why I want to use lists this way, as it is not the way they are intended to be used. I can see two reasons:   One could quite convincingly argue that lists are the "next generation" arrays, adding flexibility with almost no penalty. Therefore one should use them by default. I'm pointing out they might not be as easy to initialize. What I'm currently writing is a base class offering default functionality as part of a bigger framework. In the default functionality I offer, the size of the List is known in advanced and therefore I could have used an array. However, I want to offer any base class the chance to dynamically extend it and therefore I opt for a list. Convert hex string to int in Python How do I convert a hex string to an int in Python?   I may have it as "0xffff" or just "ffff". It isn't any of the words on this  and I believe it started with the letter 'e' (though please offer your word even if it doesn't).  Example sentence: Because he researched what he had heard from his friends, he was able to refute many of their _________________.  Factoid seems to be the closest one, but the word I am looking for only refers to a belief that is false. Are there 'stack' sites for Mac or Windows? There is Ubuntu and Unix/Linux site but is there special 'stack' site for Mac and Windows?  For context, the question I am looking to ask: I accidentally connected a Windows NTFS formatted HDD to a Mac. And the Mac (may be) quick-formatted it. I think that the information is there, but the FAT table is gone. How I can recover the information. Emboss text onto curved surface I am fairly new to blender and I am trying to do something which I am assuming is fairly straight forward with no success. All I'm looking to do is emboss some text onto the curved part of a yogurt pot. Image attached below. What is the quickest and easiest way of doing this?  Thanks in advance Why are there two ticker symbols for Google — GOOGL and GOOG?  They seem to be mostly identical, but their market values are different: currently, 551.64 for  and 548.79 for .