Caption titles in List of tables and List of figures overlapping subsection number
Spacing problem at List of Figures
How to install software provided in software-center via terminal? How are local variables referenced in closures? How to make files protected? Calculate total miles traveled from vectors of lat / lon Why does ice make such peculiar sounds? I've come across a couple of videos where some interesting sounds are produced using ice.  (Click on the images to see the video.)      Here, they drop a block of ice into a deep crevice and as the block falls, you can hear some strange sounds. These sounds remind me of some sound effects in old cartoons and sci-fi movies. The pitch of the sounds start high and end up low. Is this some kind of doppler effect?      Here, there's a man performing 'nordic skating', making the same sounds as he skates on top of a thin ice sheet. Maybe they are caused by the cracking ice. But why does that sound like this?    There are some other videos too, where they skip stones on frozen lakes.    Here the ice makes some high-frequency sounds which correspond to the chirping of birds.  What are these sounds and why do they sound the way they sound? How to handle calendar TimeZones using Java? I have a Timestamp value that comes from my application. The user can be in any given local TimeZone.  Since this date is used for a WebService that assumes the time given is always in GMT, I have a need to convert the user's parameter from say (EST) to (GMT). Here's the kicker: The user is oblivious to his TZ. He enters the creation date that he wants to send to the WS, so what I need is:  User enters: 5/1/2008 6:12 PM (EST)  The parameter to the WS needs to be: 5/1/2008 6:12 PM (GMT)  I know TimeStamps are always supposed to be in GMT by default, but when sending the parameter, even though I created my Calendar from the TS (which is supposed to be in GMT), the hours are always off unless the user is in GMT. What am I missing?  Timestamp issuedDate = (Timestamp) getACPValue(inputs_, "issuedDate"); Calendar issueDate = convertTimestampToJavaCalendar(issuedDate); ... private static java.util.Calendar convertTimestampToJavaCalendar(Timestamp ts_) {   java.util.Calendar cal = java.util.Calendar.getInstance(       GMT_TIMEZONE, EN_US_LOCALE);   cal.setTimeInMillis(ts_.getTime());   return cal; }   With the previous Code, this is what I get as a result (Short Format for easy reading):  [May 1, 2008 11:12 PM] I'm learning about private/public IPs, port forwarding and NAT, and still fail to see the answer to a simple question:  Suppose two users on the same network are communicating with a single server outside their network (say, me &amp; my wife send http requests to yahoo.com).  The server sees both users as a single public ip, and often - as in this case - communicating on the same port.  How does the router route the packets according to the two different connections? Is there any routing info inside the packet beyond ip/port?  Is there some 'session table' maintained somewhere? By whom and what exactly does it include? How do I play a sound in Octave? I've got an iPhone app with icon file Icon.png.  This icon shows up properly when the app is on the phone itself, but it doesn't show up in the applications pane in iTunes.  What do I need to do to get it to show up properly? bash regex with quotes? An inequality from Littlewood's Miscellany Are there any options of bash with which it is invoked? I  that the default shell that I use when I start Terminal (with Ctrl+Alt+T) is /bin/bash.   And running the built-in command  on  as:   type -p bash   returns the result as:  /bin/bash   Suggesting the same executable is run when I do Ctrl+Alt+T or say bash.  This shell is the same as an invocation of the command  with some of its options passed to it right? If yes, what are these options?   As an example, perhaps the -i option gets passed so as to make the bash shell interactive?   PS: Maybe  is related too, but I cannot seem to piece together all the pieces here. I have learnt that the cardinality of the power set of the natural numbers is equal to the cardinality of the real numbers. What is the function that gives the one-to-one correspondence between these two sets?  I have also learnt that there exists no set whose cardinality is strictly between the natural numbers and the real numbers. Is there a proof of this or at least some intuitiveness behind it? Why is it true that "I before E, except after C"? I almost hesitate to ask this, because it is hard to believe no one else asked it; but it isn't showing up in the "similar titles" list.  What is special about 'C' that switches the 'IE' immediately following it? How do you make a deep copy of an object? It's a bit difficult to implement a deep object copy function. What steps you take to ensure the original object and the cloned one share no reference? Codomain of function complete implies function space complete Let $(X,d_X)$ and $(Y,d_Y)$ be two metric spaces.   Let $(C_b(X,Y), d_C)$ be a function space with the metric $$d_C(f,g):=\sup\limits_{x\in X} d_Y(f(x), g(x)).$$  Prove that if $(Y,d_Y)$ is complete then $(C_b(X,Y), d_C)$ is complete.  Unfortunately, I have no idea how to approach this problem. I can think of something like this:  Let $(y_k)_k\subset Y$ be a Cauchy sequence converging to $y\in Y$. Then there exists some $f\in C_b(X,Y)$ such that $f(x_k)=y_k$ for all $k\in \mathbb N$. Since $f$ is continuous, $\lim\limits_{k\to\infty} d_Y(f(x_k), y)=0$.  But how do I go from here? As far as I understand, what needs to be proved is that any Cauchy sequence of functions in $C_b(X,Y)$ converges in $C_b(X,Y)$, that is, that the limit is bounded and continuous. But how do we devise such a sequence of functions? Why can't I associate files with Excel after upgrading to 2010? I am making a Minecraft Mini Game adventure map, and one of the levels has a /setblock command, I am using the command in a way to spawn an item in a chest (Wooden Button) I need the wooden button to have CanPlaceOn tag so it can be placed on a log. I have tried this command: setblock 294 5 -1251 minecraft:chest 0 replace {Items:[{Count:1,Slot:0,id:minecraft:wooden_button,CanPlaceOn:[log]}]}` Can I prepay a Credit Card to make a Large Purchase greater than my credit limit? I want to make a large purchase at a retail store to the sum of $10,000 but the credit limit on my card is set at $2000.  If I send $10K to my credit card will the purchase be allowed to go through?  Not sure if the credit limit is a hard limit or not?  I don't want to be left embarrassed if my card is declined in the store lol.  I called my bank but the answer they gave wasn't too convincing. It was kind of "Errr yes i think its OK!"  Does any one know first hand? Post Problem Analysis - Rod in a cylindrical time varying magnetic field? A metal rod of length $l$ is placed (as shown in figure) in a cylindrical time varying magnetic field. Find the potential difference across it.   My answer:  As electric fields as forming circles around the centre with magnitude $$\frac12r\frac{dB}{dt}$$ whose magnitude is same along any chord at a fix distance from centre: $$\Delta V=E.l=\frac12r\frac32at^{\frac12}.l$$ $$\Delta V=\frac34arlt^{\frac12}$$  My question: Is $\Delta V =V_M-V_N$ or $\Delta V=V_N-V_M$ $\bf OR$ equivalently which side is at high potential?  Possible    $(i)$ As Field lines are circular from $M$ to $N$, $M$ must be high potential. $(ii)$ As this field line apply a force on electrons- in the rod- towards left, then $M$ must have excess $e^-$ and $N$ must have deficiency; so $N$ would be high potential as $M$ is $(+)$ and $N$ is $(-)$.