Combinations of the letters of a word?
In how many ways can the letters of the word CHROMATIC be arranged?
How to see the full date on macOS Big Sur? I am working on an iGoogle-like application. Content from other applications (on other domains) is shown using iframes.   How do I resize the iframes to fit the height of the iframes' content?  I've tried to decipher the javascript Google uses but it's obfuscated, and searching the web has been fruitless so far.  Update: Please note that content is loaded from other domains, so the  applies. Collection was modified; enumeration operation may not execute I can't get to the bottom of this error, because when the debugger is attached, it does not seem to occur.  Collection was modified; enumeration operation may not execute  Below is the code. This is a WCF server in a Windows service. The method NotifySubscribers() is called by the service whenever there is a data event (at random intervals, but not very often - about 800 times per day). When a Windows Forms client subscribes, the subscriber ID is added to the subscribers dictionary, and when the client unsubscribes, it is deleted from the dictionary. The error happens when (or after) a client unsubscribes. It appears that the next time the NotifySubscribers() method is called, the foreach() loop fails with the error in the subject line. The method writes the error into the application log as shown in the code below. When a debugger is attached and a client unsubscribes, the code executes fine. Do you see a problem with this code? Do I need to make the dictionary thread-safe? [ServiceBehavior(InstanceContextMode=InstanceContextMode.Single)] public class SubscriptionServer : ISubscriptionServer {     private static IDictionary&lt;Guid, Subscriber&gt; subscribers;      public SubscriptionServer()     {                     subscribers = new Dictionary&lt;Guid, Subscriber&gt;();     }      public void NotifySubscribers(DataRecord sr)     {         foreach(Subscriber s in subscribers.Values)         {             try             {                 s.Callback.SignalData(sr);             }             catch (Exception e)             {                 DCS.WriteToApplicationLog(e.Message,                    System.Diagnostics.EventLogEntryType.Error);                  UnsubscribeEvent(s.ClientId);             }         }     }          public Guid SubscribeEvent(string clientDescription)     {         Subscriber subscriber = new Subscriber();         subscriber.Callback = OperationContext.Current.                 GetCallbackChannel&lt;IDCSCallback&gt;();          subscribers.Add(subscriber.ClientId, subscriber);                  return subscriber.ClientId;     }      public void UnsubscribeEvent(Guid clientId)     {         try         {             subscribers.Remove(clientId);         }         catch(Exception e)         {             System.Diagnostics.Debug.WriteLine(&quot;Unsubscribe Error &quot; +                      e.Message);         }     } } How to encrypt folders (not in Home)? Is there a way to encrypt a folder, which is not in Home (/home/user/) but even in a different partition, so only my user can access/read contained files?  Alternatively, I would like to understand if it is possible to turn a complete ext4 partition into an encrypted volume, which would be mounted at user login.  If possible, I would like to make the change without reinstalling Ubuntu.  My PC has (mount output):  /dev/sda1 on / type ext4 (rw,errors=remount-ro) /dev/sda3 on /home type ext4 (rw) /dev/sda4 on /home/igor/Personale type ext4 (rw)   sda4 is the partition containing folders I would like to protect. How to create a fancy table of contents for Beamer How can I create a fancy-looking table of contents for a Beamer presentation?    \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc}  \begin{document}  \frame{ \tableofcontents }  \section{Foo bar} \frame{} \section{Foo bar} \frame{} \section{Foo bar} \frame{} \section{Foo bar} \frame{} \section{Foo bar} \frame{} \section{Foo bar} \frame{} \section{Foo bar} \frame{}  \end{document} Why is no root pass needed to access MariaDB after upgrade to Ubuntu 16.04? How to write uncertainties with the \pm symbol "10 ± 1 K" by using siunitx? Using the siunitx package, if I specify an error with the \pm symbol then it automatically converts it to a form using parenthesis. I would like it to not do this and keep the \pm symbol, but still space the elements of the quantity and symbol in a good way.  e.g. \SI{10 \pm 2}{\kelvin} would produce 10(1) K  I would like it to produce: 10\pm1 K or something similar with spacing taken care of. The  defines multiple padding schemes for signature generation/verification ( and ),  and encryption/decryption ( and the less safe ).   Which attacks are possible on signature generation/verification and encryption/decryption if no padding mechanisms are applied, i.e. if raw RSA is used over the plaintext or hash? Why can't I destroy or place blocks? I'm playing on a Survival world with cheats on, "easy" difficulty, and at night in-game. I didn't have a sword or anything to make a sword with, and I was starving, so I switched to Creative to give myself a stack of food and a bed to set my spawn point. When I switched back to Survival, I couldn't destroy or place blocks. I'm on single player, and my Internet is fine, and I can destroy blocks still if I switch to creative. I've tried resetting the button one, and reloading the map, and it still doesn't work. I've even tried deleting everything I gave myself in Creative. This happened before on a different world and I ended up deleting it.  This only happens on this world. How do I fix it?  If I know I'm in the correct game mode, what else can cause this?  Are there different causes in multiplayer? Suppose, I want to refer multiple equations (1), (2), (3), (4), (5) and (7) so that they appear as (1-5, 7):  \documentclass[fleqn,preprint,10pt]{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsfonts} \begin{document} \begin{align} \label{1}\psi([e_1,e_2]) = \psi(e_2) = e_2 = (e_2,2e_3) = (-2e_3,e_2) = (\psi(e_1), \psi(e_2))\\ \label{2}\psi([e_1,e_3]) = \psi(2e_3) = 2e_1 = (e_1,2e_3) = (-2e_3,e_1) = (\psi(e_1),\psi(e_3))\\ \label{3}\psi([e_2,e_3]) = 0 = (e_2,e_1) = (\psi(e_2),\psi(e_3)),\\ \label{4}\left\{e_4, e_1\right\},\,\,\,\left\{e_4, e_2\right\},\,\,\,\left\{e_4, e_3\right\},\,\,\,\left\{e_4, e_1+\epsilon\,e_2\right\},\\ \label{5}\left\{e_1, e_2\right\},\,\,\,\left\{e_3, e_1\right\},\,\,\,\left\{e_3, e_2\right\},\\ \label{6}\left\{e_4, e_1\right\},\,\,\,\left\{e_4, e_2\right\},\,\,\,\left\{e_4, e_3\right\},\,\,\,\left\{e_4, e_1+\epsilon\,e_2\right\},\\ \label{7}\text{Nor}_{L_4\oplus L_3}\left(\{e_2\}\right)/\{e_2\}=\,\{e_1, e_3, e_4\} \end{align} \end{document} Reference sObject Fields dynamically from a string value Is it possible to reference the fields of an sObject (opportunity in this example) dynamically from a string value? For example, take the following code:  for(Opportunity o: oppList) {       for(String s : strList) {            // I'd like to set the opportunity field values based on the string             // value that contains the API name of the opportunity field       }  }  So, the variable strList contains the opportunity API field names. I'm trying to clear some fields on the opportunity in a before update trigger, but I have to access the field names dynamically in the strList. iMac with 8GB RAM -- memory always almost full C++11: defining function on std::array $$\lim_{x \to 0} \frac{f(x)}{|x|}=1$$ Then prove that $f$ is not differentiable at $0$. I was given this assignment and I'm not sure about my proof.. it feels like I'm assuming too much and not explaining with enough detail. Is there anything I need to add to make it sufficient? Assume toward contradiction that $f$ is differentiable at $0$. Then by definition we know that $f$ is continuous at $0$. Therefore $\lim _{x\to 0}f\left(x\right)=f\left(0\right)$ We know that $\lim _{x\to 0}\frac{\left(f\left(x\right)\right)}{\left|x\right|}=1$ Therefore we can conclude $\lim _{x\to 0}\frac{\left(f\left(x\right)\right)}{\left|x\right|}\cdot \left|x\right|=1\cdot 0=0$ But we can also rewrite this as $\lim _{x\to 0}\left(f\left(x\right)\right)\cdot \frac{\left|x\right|}{\left|x\right|}=f\left(0\right)\cdot 1=0$ Therefore $f(0) = 0$. Since $f$ is differentiable at $0$ we have $\lim _{x\to 0}\frac{\left(f\left(x\right)-f\left(0\right)\right)}{x-0}=\lim _{x\to 0}\frac{\left(f\left(x\right)-0\right)}{x}=\lim \:_{x\to \:0}\frac{\left(f\left(x\right)\right)}{x}\cdot \frac{\left|x\right|}{\left|x\right|}=\lim \:\:_{x\to 0}\frac{\left(f\left(x\right)\right)}{\left|x\right|}\cdot \:\frac{\left|x\right|}{x}$ Since the one sided limits of $\frac{f\left(x\right)}{\left|x\right|}$ exist, and are both equal to 1, we have $\lim \:_{x\to 0^+}\frac{\left(f\left(x\right)\right)}{\left|x\right|}\cdot \:\:\frac{\left|x\right|}{x}=\lim \:_{x\to \:0^+}\frac{\left(f\left(x\right)\right)}{x}\cdot \:\:\:\frac{x}{x}=1\cdot 1=1$ $\lim \:_{x\to 0^-}\frac{\left(f\left(x\right)\right)}{\left|x\right|}\cdot \:\:\frac{\left|x\right|}{x}=\lim \:_{x\to \:0^-}\frac{\left(f\left(x\right)\right)}{-x}\cdot \:\:\:\frac{-x}{x}=1\cdot -1=-1$ Since the limit doesn't exist, we have a contradiction to the fact $f$ is differentiable at $0$. Therefore $f$ is not differentiable at 0. There are numerous (, , ) questions concerning this problem. I realize this is a borderline duplicate, but I'll re-iterate the futility of this particular filter and why it should be outright removed from Stack Overflow.  Do you know how effective this is in preventing users who just don't care from posting questions with bad titles? 100% ineffective. What do these users do?   Replace it with a synonym: "issue," "trouble," "predicament," "botheration" or what have you. Or worse, they simply work around the filter by deliberately misspelling the word or inserting space or punctuation:    () ?    and the coup de grâce:      I mean, even Jeff . This adds zero value to the title. In fact, it looks worse. Why, oh why are people  to scrap a bad feature? All this does is:   Prevent people who have a  to use the word "problem" in the title from posting questions with an appropriate title. Break the search feature because of workarounds or the need to use less descriptive titles than the error itself   This is an extraordinarily useless (and harmful) feature. Please, for the love of Cthulhu,  remove, eliminate, abolish, eradicate, extirpate this "feature" from Stack Overflow.    Bonus:     So I can't mention the Halting Problem in the title? – Keith Thompson Nov 1 at 19:05      @KeithThompson Maybe it's a "Halting Issue". Or "Need help with Halting". Or the "Halting thing in Computability Theory". – slhck Nov 1 at 19:14 Can ubuntu be installed in intel kabylake 7th gen processor? I am using a 7th generation i5 processor(7200,2.50 ghz).The processor also have intel hd graphics 620 and nvidia geforce 940mx 2gb graphics card. I read previously that only windows 10 can be installed to this specific processor.  Is it true no version of ubuntu can be used with this processor?  If it's possible to install ubuntu using this processor, what additional steps other than the normal installation process should I undertake to get Ubuntu working? Why did Kattappa kill Baahubali? What are app domains used for? My /boot partition hit 100% and now I can't upgrade. Can't remove old kernels to make room My first issue was when I tried to apt-get update or apt-get upgrade. On upgrade I get the following error:  You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: linux-image-server : Depends: linux-image-3.2.0-27-generic but it is not installed E: Unmet dependencies. Try using -f.   I tried running apt-get install -f and this was the output(after saying yes on prompt)  (Reading database ... 186183 files and directories currently installed.) Unpacking linux-image-3.2.0-27-generic (from .../linux-image-3.2.0-27-generic_3.2.0-27.43_amd64.deb) ... Done. dpkg: error processing /var/cache/apt/archives/linux-image-3.2.0-27-generic_3.2.0-27.43_amd64.deb (--unpack):  failed in write on buffer copy for backend dpkg-deb during `./boot/System.map-3.2.0-27-generic': No space left on device  No apport report written because the error message indicates a disk full error                                                                           dpkg-deb:    error: subprocess paste was killed by signal (Broken pipe) Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-27-generic   /boot/vmlinuz-3.2.0-27-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-27-generic /boot/vmlinuz-3.2.0-27-generic Errors were encountered while processing: /var/cache/apt/archives/linux-image-3.2.0-27-generic_3.2.0-27.43_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)   I tried running apt-get autoremove and it gives me the same error as apt-get upgrade.  When I run df, I get this for /boot:  /dev/sda1                    233191     230297         0 100% /boot   So, I read elsewhere that I should try to purge old kernels. I checked for what kernels I had with:  $ dpkg -l linux-image-\* | grep ^ii ii  linux-image-2.6.38-13-server  2.6.38-13.52  Linux kernel image for version 2.6.38 on x86_64 ii  linux-image-3.0.0-13-server   3.0.0-13.22   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.0.0-14-server   3.0.0-14.23   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.0.0-15-server   3.0.0-15.26   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.0.0-16-server   3.0.0-16.29   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.0.0-17-server   3.0.0-17.30   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.2.0-24-generic  3.2.0-24.39   Linux kernel image for version 3.2.0  on 64 bit x86 SMP ii  linux-image-3.2.0-25-generic  3.2.0-25.40   Linux kernel image for version 3.2.0  on 64 bit x86 SMP ii  linux-image-3.2.0-26-generic  3.2.0-26.41   Linux kernel image for version 3.2.0  on 64 bit x86 SMP   When I try to remove the oldest with this:  $ sudo apt-get purge linux-image-2.6.38-13-server Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: linux-image-server : Depends: linux-image-3.2.0-27-generic but it is not going to be     installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).   How can I free up or extend boot without messing up my installation? How to modify function argument?