How to extract elements from cell
MATLAB/OCTAVE Extracting elements from different sized vectors in a cell array
I have a Gary Fisher bike (wahoo I believe). I think it's considered the entry level Fisher mountain bike.  Could I put on disc brakes as opposed to using the standard  brakes on this bike?  Standard brakes are the rim brakes.   Thanks Carlos Why does $(g^b \bmod m)^a \bmod m = (g^a \bmod m)^b \bmod m$? I have been trying to understand why the diffie hellman key exchange algorithm works, specifically why the two exponents can be swapped in it without the result changing.   So my specific question is why:  (g^b mod m)^a mod m  = (g^a mod m)^b mod m  I am interested in the reasoning/proof/explanation behind why it is true.    Thank you In 10.04, I had a lot of keyboard shortcuts defined using Super/Mod4 and one single other key,   Super+O ran Opera Super+W opened Nautilus pointing to my Work folder, etc.   In 11.04, these do not seem to work -- only Super+R works to run the terminal, and Super+Shift+W successfully runs Nautilus.  Is there some way I can get these to function again?  Adding them in Keyboard Shortcuts does not work, and neither does adding commands in CompizConfig Settings Manager. Why {are you / you are} making noise? I always get confused between these two sentences:     Why are you making noise?      Why you are making noise?   Could anyone put light in the differences between the two? I have realized that to pronounce the plural form of words ending in -th, we have to drop the letter "h". e.g. Months is pronounced /mʌnts/. But I have never seen this point mentioned in any context. I just want to make sure that this rule is correct and can be always applied. How do I create a PPA? How do I create my own custom PPA to share with the Ubuntu community? I am trying to create my own custom package set and I would really like to share it with the community. It is well known that confidence intervals and testing statistical hypothesis are strongly related. My questions is focused on comparison of means for two groups based on a numerical variable. Let's assume that such hypothesis is tested using t-test. On the other side, one can compute confidence intervals for means of both groups. Is there any relation between overlapping of confidence intervals and the rejection of the null hypothesis that means are equal (in favor of the alternative that means differ - two-sided test)? For example, a test could reject the null hypothesis iff the confidence intervals do not overlap. CSS :after not adding content to certain elements Green is the most common circuit-board color because it has become an industry standard.  What I'm interested in is How the traditional "PCB Green" become a standard in the first place?   Were there any interesting historical reasons for the initial choice, or was it just a product of what one particularly successful company was doing that became the de-facto standard? Calculating Latitude/Longitude X miles from point? I am wanting to find a latitude and longitude point given a bearing, a distance, and a starting latitude and longitude.  This appears to be the opposite of this question ().  I have already looked into the haversine formula and think it's approximation of the world is probably close enough.  I am assuming that I need to solve the haversine formula for my unknown lat/long, is this correct? Are there any good websites that talk about this sort of thing? It seems like it would be common, but my googling has only turned up questions similar to the one above.  What I am really looking for is just a formula for this. I'd like to give it a starting lat/lng, a bearing, and a distance (miles or kilometers) and I would like to get out of it a lat/lng pair that represent where one would have ended up had they traveled along that route. What tool do you use to monitor your servers? 'help' link is located lower than the other items It shows like this on Firefox 25 and Internet Explorer 11 (minus the red line of course):    Chrome seems to be fine. Is the complement of a prime ideal closed under both addition and multiplication? Is 60 minutes enough layover time at Los Angeles International Airport? I am flying in to LAX on American Airlines and have a 60 min layover before I fly out with American Airlines (same ticket).  Will this be enough time? My Ubuntu 16.04 keeps disconnecting from the Wi-Fi (eduroam). Why? I haven't noticed any pattern and I'm sure the Wi-Fi works perfectly because I have no problems with the same computer using Windows 10. The Wi-Fi doesn't turn off though, it simply disconnects from the network and reconnects after about a couple of minutes.  I ran this and got:  lspci -knn | grep Net -A2 03:00.0 Network controller [0280]: Qualcomm Atheros AR9462 Wireless Network Adapter [168c:0034] (rev 01) Subsystem: AzureWave AR9462 Wireless Network Adapter [1a3b:2234] Kernel driver in use: ath9k Kernel modules: ath9k   Also running dmesg  Among the many messages the last one is:  [ 3818.806656] wlp3s0: Limiting TX power to 5 dBm as advertised by 00:23:eb:39:28:21   Any idea why this is happening?  Thank you. I use to run  $s =~ s/[^[:print:]]//g;   on Perl to get rid of non printable characters.   In Python there's no POSIX regex classes, and I can't write [:print:] having it mean what I want. I know of no way in Python to detect if a character is printable or not.   What would you do?   EDIT: It has to support Unicode characters as well. The string.printable way will happily strip them out of the output.  curses.ascii.isprint will return false for any unicode character. Ckeditor toolbar not entirely showing up If apostrophe + s is the acceptable way of denoting a genitive in English, is it possible that possessive pronouns, such as hers, ours and yours, started life as possessive adjectives with apostrophe + s?  E.g. her's, our's, your's, their's? Perhaps, even his' ? Its and my obviously stick out from this tempting pattern.  Is there any evidence that this might be the case, or is the 's completely unrelated? In the beginning of the series, it's mentioned that Muggle-born wizards/witches are identified due to inadvertent spell-casting. However, it seems like later in the book, disarmed wizards/witches are completely helpless.   What is the explanation for why some spells can be cast without a wand and is there an in-universe explanation for why this isn't done? Also, are there spells that can be cast non-verbally (with/without a wand)? Remove element of a regular array I have an array of Foo objects. How do I remove the second element of the array?  I need something similar to RemoveAt() but for a regular array.