To convert the readings in /proc/meminfo from "kB" to bytes, should I multiply by 1024, or 1000?
Particularly, does proc always list the VmRSS value in kB? I can't find a solid answer on the , although it appears that it sticks to one unit.
Is this WUBI? What is "Installation size" setting for? I'm new to Ubuntu... I went to the downloads page and downloaded the Windows Installer as I am hoping initially to have a dual boot on my currently Win 7 PC (I would consider preserving my Win7 install as a VM under Ubuntu instead - advice?)  It's asking me to choose an "Installation size" but there's no explanation as to what the significance of this is. Is this a disc partition?  Can I increase it easily later if it's too small?  I came here to ask these questions and now I see a bunch of threads about 'WUBI' and possible downsides of installing Ubuntu this way. Is the Windows Installer I just downloaded going to give me WUBI? Python import coding style I've discovered a new pattern.  Is this pattern well known or what is the opinion about it?  Basically, I have a hard time scrubbing up and down source files to figure out what module imports are available and so forth, so now, instead of  import foo from bar.baz import quux  def myFunction():     foo.this.that(quux)   I move all my imports into the function where they're actually used., like this:  def myFunction():     import foo     from bar.baz import quux      foo.this.that(quux)   This does a few things.  First, I rarely accidentally pollute my modules with the contents of other modules.  I could set the __all__ variable for the module, but then I'd have to update it as the module evolves, and that doesn't help the namespace pollution for code that actually lives in the module.  Second, I rarely end up with a litany of imports at the top of my modules, half or more of which I no longer need because I've refactored it.  Finally, I find this pattern MUCH easier to read, since every referenced name is right there in the function body. My question is whether $x/x$ is always equal to $1$. I am mostly intersted in real numbers and particularly wonder whether $x/x$ is defined at $x=0$.  On one hand the division should simplify to $1$, on the other hand you should not be allowed to divide by zero.   I have been trying to find whether the simplification 'goes first' or whether the division causes trouble first, but it has proven impossible for me to find usefull search terms.     Note that this question arose after reading  and its first comment. Why would my TV image turn black when electrical appliances turn on? Two submit buttons in one form I have two submit buttons in a form. How do I determine which one was hit serverside? I have a hazy notion of some stuff in differential geometry and a better, but still not quite rigorous understanding of basics of differential topology.  I have decided to fix this lacuna once for all. Unfortunately I cannot attend a course right now. I must teach myself all the stuff by reading books.  Towards this purpose I want to know what are the most important basic theorems in differential geometry and differential topology. For a start, for differential topology, I think I must read Stokes' theorem and de Rham theorem with complete proofs.   Differential geometry is a bit more difficult. What is a connection? Which notion should I use? I want to know about parallel transport and holonomy. What are the most important and basic theorems here? Are there concise books which can teach me the stuff faster than the voluminous Spivak books?  Also finally I want to read into some algebraic geometry and Hodge/Kähler stuff.  Suggestions about important theorems and concepts to learn, and book references, will be most helpful. Simplifying and evaluating $\cot 70^\circ+4\cos 70^\circ$ I have to simplify and evaluate this :   $$\cot 70^\circ+4\cos 70^\circ$$  On evaluating it, the answer comes out to be $1.732$, or $\sqrt 3$ .  I tried to get everything in $\sin$ and $\cos$, but it doesn't go any further. Any hints? Select groups based on number of unique / distinct values No reason for anyone to see pending close votes, except OP (and maybe people who already voted) How can I pad a String in Java? Is there some easy way to pad Strings in Java?  Seems like something that should be in some StringUtil-like API, but I can't find anything that does this. I'm trying to write a small script to change the current directory to my project directory:  #!/bin/bash cd /home/tree/projects/java   I saved this file as proj, added execute permission with chmod, and copied it to /usr/bin. When I call it by: proj, it does nothing. What am I doing wrong? Self-Studying Measure Theory and Integration As the title says, I'm interested in reading about measure theory and integration theory on my own time, and was hoping for book recommendations, prerequisites, and things like that.  As for my background, I've taken introductory analysis, where we covered the "typical" subjects up until some theorems about differentiable functions.  I'm taking intermediate real analysis now; we talked about metric spaces in general for a while, but lately we've focused solely on $\mathbb{R}^n$. Now we're working towards a proof of the implicit function theorem in $\mathbb{R}^n$.  I haven't learned any of the theory behind Riemann integration, unfortunately. Is it important to be familiar with this first? Access .mat file containing matlab classes in python Why is file transfer speed decreased when copying multiple smaller files? Let's say I'm copying a portable apps directory from PC to an external HDD. An application.exe file is around 4 megabytes in size, but most other files are only tens of kilobytes in size, and most of those files take longer to copy/move than that bigger file having 4 megabytes.  Why is this? Let $a$ and $b$ be positive reals. Show that $$\lim\limits_{n\to\infty} \left(\frac{a^{\frac{1}{n}}+b^{\frac{1}{n}}}{2}\right)^n =\sqrt{ab}$$ If I want to know the meaning of wget -b, I see the manual by man wget, then search the -b option.     -b    --background        Go to background immediately after startup.  If no output file is specified via the -o, output is redirected to wget-log.   I want to get the result by a command like man wget -b. (Of course this doesn't work.)  Is there a similar way to make it possible? Peer to Peer: Methods of Finding Peers Are there any known methods of finding peers without using a dedicated central server?  ie: If I have peers which are disconnecting and reconnecting to the internet but getting a new IP address each time, and I want to connect to them without setting up a dedicated server to register with.  I was thinking about using peers email address to send a manifest of connected peers periodically, with some sort of timecode, negating the need for a dedicated server.  This would be a fallback if none of the peers could be connected to after trying all the previously known peer addresses.  But existing models of finding peers would be preferable. How I can identify which process is making UDP traffic on Linux? How can I create a Chatter File via Apex? From the Chatter tab I can go to 'Files' and then upload a file without attaching it to anything.   I am wanting to know if there is a way to achieve the exact same thing via Apex? The the title is self explanatory, I guess.  Why can two (or more) electric  never cross?