Disable mounting Internal Macintosh HD at boot
How can I disable the 2nd hard drive in my 27" iMac?
As part of graduating from Area51 and becoming a full fledged site we sometimes change domain names from http://topic.stackexchange.com to http://example.com. Aside from the obvious 301 redirect rules to support existing urls transparently, are there other techniques that would aid in the preservation of SEO? Is diamagnetism a static or dynamic effect? When we put a diamagnetic material in the presence of an external magnetic field $\vec B_0$, the magnetic field inside the material decreases to $$\vec B=(1+\chi_m)\vec B_0,$$ where the magnetic susceptibility $\chi_m$ is a small negative number. I am assuming the material is linear and isotropic.  On the other hand the diamagnetism is explained in terms of Lenz law. When we change the magnetic flux of the external field over the material, atomic currents generate an induced magnetic field trying to restore the flux. But then the induced field could have any sign (in the appropriated direction), depending if we are increasing or decreasing the flux of the external field. It seems diamagnetism is a dynamic effect. How come the sign of $\chi_m$ is always negative? Moreover, the magnitude of $\chi_m$ should depend on how large is the variation of the flux but I do not see any suggestion of this when looking at tables of $\chi_m$. How can I change the umask for one command only? How can I interactively execute a command in Linux (zsh, if it matters) with a different umask from the default, for one command only? Perhaps a combination of commands combined in a single line? The new umask should apply only to that command and return to its default value for the next command entered.  Ideally the command would be agnostic to the default umask in force before its entered (in other words, the default umask doesn't have to specified). bash if not multiple conditions without subshell? I want to combine multiple conditions in a shell if statement, and negate the combination.  I have the following working code for a simple combination of conditions:  if [ -f file1 ] &amp;&amp; [ -f file2 ] &amp;&amp; [ -f file3 ] ; then   # do stuff with the files fi   This works fine.  If I want to negate it, I can use the following working code:  if ! ( [ -f file1 ] &amp;&amp; [ -f file2 ] &amp;&amp; [ -f file3 ] ) ; then   echo "Error: You done goofed."   exit 1 fi # do stuff with the files   This also works as expected.  However, it occurs to me that I don't know what the parentheses are actually doing there.  I want to use them just for grouping, but is it actually spawning a subshell?  (How can I tell?)  If so, is there a way to group the conditions without spawning a subshell? How do I delete Windows.old in Windows? On , I have my favorite tags filter. I setup email notifications for it and now I'm thinking I overdid it on the frequency. Trying to change the settings, I clicked on the edit link in the email notifications box to the right, except nothing happens. There are no JavaScript errors and the HTML for the link is simply &lt;a class=&quot;edit&quot;&gt;edit&lt;/a&gt;. This seems like unfinished planned feature. Update: Using Chrome Version 29.0.1547.66 m Same on Firefox 23.0.1  Both edit links are not working. Further Update Events capture:  Update 2014-02-03: Here's what the subscription tab in the network profile looks like. Create instance of generic type in Java? Is it possible to create an instance of a generic type in Java? I'm thinking based on what I've seen that the answer is no (due to type erasure), but I'd be interested if anyone can see something I'm missing:  class SomeContainer&lt;E&gt; {     E createContents()     {         return what???     } }   EDIT: It turns out that  could be used to resolve my issue, but it requires a lot of reflection-based code, as some of the answers below have indicated.  I'll leave this open for a little while to see if anyone comes up with anything dramatically different than Ian Robertson's . I thought of this a while ago, but can't make up a proof or a counterexample. Does anyone know more about this?  $$\sqrt{a+b}  \le \sqrt a + \sqrt b , \forall a,b \in \mathbb R_+$$  Moreover, what happens with more variables? Say:  $$\sqrt{x_1+x_2+...+x_n} \le \sqrt x_1 +\sqrt x_2 + ... + \sqrt x_n $$  with $ x_i \in\mathbb R_+ \forall i \in \{1,2,...,n\} $  Or when $i = \mathbb N$  PS: I tried looking on the internet for this but I don't know how I would call this. I have a scenario where i want to calculate sum of column   SAL|CAL|TAG|VAL 12.11"|"1.1"|"2.1"|"1.1 13.11"|"1.1"|"2.2"|"2.2 14.11"|"1.1"|"2.4"|"2.4   My below code not giving output giving output as 0.00  I need output for this column CAL VAL  awk -F'|' '{T+=$2} END { printf "%.2f\n", T }' demo.txt   output :  6.7 5.7 Use hostnames to connect to machines on LAN I have just had my broadband upgraded to  which means my router has had to change. Previously I was using a Thomson TG585v7 ADSL thingy provided by my ISP. One nice thing about that router was that it would act as a local DNS and allow me to find my other machines on the network by using &lt;hostname&gt;.lan instead of IP addresses.  I've now switched to a Linksys WRT320N ethernet router which connects to my fibre modem, and which I've updated to the latest firmware (1.0.04). I have 2 machines on the network which I regularly want to connect to each other; one is running Windows 7 and the other is running OS X Lion.  The problem I'm having is that I'm unable to connect to my Win7 machine from the OS X machine using the Win7 machine's name. However, I'm able to ping the OS X machine from my Win7 machine using the hostname. I read this book a few years ago which was part of a series, but I only found the first book and now I've forgotten the name.  The first book featured 3 children/teens from different places that end up on a quest to search for magic gems/stones together and the story takes place in a medieval kind fantasy world. One is a girl, while the other 2 are boys. One of the boys actually finds a stone/gem while he is on a school field trip (I think the gem/stone is red in colour), and when he picks it up, he gets transported to the fantasy land but ends up in some sort of military training ground/camp somewhere in a desert type area.  He isn't familiar with the fantasy world. The other 2 characters each start out on their own on a quest to collect some magical gems/stones which once collected, can be used to fight an evil ruler (I guess).  But halfway through the book, the girl and boy meet up and continue the quest together while the third boy(transported one) doesn't know that the stone he picked up is actually one of the magical stones others are looking for.  A few other details I remember:   The stone the boy finds is red in colour I think  The cover of the book had a border depicting the stones  It's part of a series or trilogy    Some books with similar storylines, but not the one I'm looking for:     Deltora Quest The Seven Towers Sword of Heaven series Westeria series Diadem series AIC versus Likelihood Ratio Test in Model Variable Selection The software that I am currently using to build a model compares a "current run" model to a "reference model" and reports (where applicable) both a chi-squared p-value based on likelihood ratio tests and AIC values for each model.  I know that one advantage of AIC over likelihood ratio tests is that AIC can be compared on non-nested models.  However, I am not aware of any reason why AIC couldn't or shouldn't be compared on nested models.  In my model, when comparing nested models for variable selection, I'm finding several cases where the likelihood ratio test and the AIC comparison are suggesting opposite conclusions.  Since both are based on likelihood calculations, I'm struggling to interpret these results.  However the documentation of my software says (without explaining),   "If two models are nested (i.e. one is a sub-set of the other) then the more usual chi-squared test is the most appropriate to use. If the models are not nested, the AIC can be used..."  Can anyone elaborate on this and/or explain why AIC is not as helpful as likelihood ratio tests on nested models? Could a website force the browser to go into fullscreen mode? Script to remove Yellow(or any color) from layers panel? Why do English writers avoid explicit numerals? The junction has a stop sign on each of the four entrances.   The junction has a stop sign on each of the 4 entrances.   The first is preferred, for some reason, by many English texts. Why? I haven't seen this phenomenon in other languages. Dynamic Table partitioning on a daily basis I have a SQL Server database which contains two tables -- Acks and Logs.  These two tables are related in logic but not in a relational database way. Basically, every message that comes in gets saved in the Log table and, if our server acknowledges it, then that ack gets stored in the Ack table.  We are storing around 5 million Acks and 3 million Logs a day. I am trying to partition these two tables on a daily boundary so that we can easily remove older partitions from the table, and also improve query performance.  I haven't done table partitioning before, so I have been reading some on-line tutorials, however I am stuck on one thing. All the tutorials I have followed seem to manually add filegroups and manually add boundaries.  I want SQL Server somehow to do this daily, and this is what my question is about. I need it to create the new filegroups for the next day, every day at, say, 22:00. Then at 24:00 the inserts should start filling up the new day's partition.  Can anyone point me in the right direction on how to achieve this? Either a comprehensive tutorial or some good old advice will do as well.  My second question: can I somehow apply the same partition function to the two different tables?  They both have a datetime(2) column on which I want to partition, and the same rules  will apply.  How does that then fit in with my filegroups? Do I need a single filegroup for the day? Will each table have a file in that filegroup, or will both tables save to the same file in the filegroup?  Do I have to make a .mdf and .ldf for each filegroup? Or is there still one log file for the entire database? Preimage of codimension one subspace of the quotient $g/D^1 g$ I am trying to prove the following.  Proposition Let $g$ be a Lie algebra such that the first derived algebra $Dg$ is a proper ideal of $g$. Consider the quotient $g/D^1 g$, and show that the preimage of any codimension 1 subspace is   an ideal, and has codimension 1.   I could show that the preimage is indeed an ideal, but I need some help with the part about the dimensions:  So suppose that $\phi: x \mapsto [x]$ is the quotient projection. And write $[h] + Dg$  for a codimension 1 subspace of $g$ (here $h\subset g$). Then the preimage of this subspace is just the linear span $h+Dg\leq g$. Let $y+z \in h+Dg$ with $y\in h$ and $z\in Dg$. Let $x\in g$. We want to show that $[x, y+z]\in h$, ie that $h + Dg \lhd g$. We can write $x$ as $x_0+x_1$ for $x_0 \in Dg$, $x_1\not\in Dg$. Then  $$[x,y+z] = [x_0, y+z] + [x_1, y] + [x_1,z] \in h + Dg$$  The inclusion follows since $Dg$ is an ideal so the first and third terms belong $Dg$; and $[x_1, y] \in D_g$, as $g/Dg$ is abelian. I need to start reading Lucifer comics, but I am having trouble figuring out where to start Do I read the Sandman stuff, or do I jump right into the main comics? Because I really want to maintain continuity, what's the right sequence to ensure that I get every bit of the story? White space below footer Trying to install CPAN