I've been using Blender for less than a week, so please have mercy ;)  I'm trying to model this simple weigh boat.     I started with a plane and a circle, solidified the plane, added inset and edge loop, and then created new faces connecting all 16 vertices of the circle to various vertices of the square- each face has 3 or 4 edges.     The problem is that when I turn on the Subdivision Surface modifier, my square object is converted into higher-order geometry (octagon, etc.).     How do I smooth the low-poly construct without changing the number of edges? I have a feeling this would involve edge loops but I can't figure out where to put them.
How can I use the subdivision surface modifier to create more high poly meshes without ruining sharp edges? For example this mesh  The sphere should be subdivided but the rim of the cylinder should stay the same because it is a sharp edge. This is the result of the subdevision  How can I get sharp edges to not be affected by the sub surf mod?
The responsiveness is really bad on a newly installed Ubuntu 14.04 LTS.  Here's the specs of my laptop:  Quadcore Intel i7-4600U CPU @ 2.10GHz 12GB Ram 1TB Samsung EVO SSD   And when gradle is compiling, my entire system slows to a crawl, videos begin stuttering, browser scrolling lags... etc.  The same goes when a page refresh occurs in another window in Chrome, and while it refreshes, the HTML5 video in another tab begins stuttering.  How can I fix this?  Here are some logs:  $ vmstat -a 1 5 -   $ iostat -x 1 5 -   $ top -b - What is a 'multi-part identifier' and why can't it be bound? I continually get these errors when I try to update tables based on another table. I end up rewriting the query, change the order of joins, change some groupings and then it eventually works, but I just don't quite get it.  What is a 'multi-part identifier'? When is a 'multi-part identifier' not able to be bound? What is it being bound to anyway? In what cases will this error occur? What are the best ways to prevent it?    The specific error from SQL Server 2005 is:     The multi-part identifier "..." could not be bound.   Here is an example:  UPDATE  [test].[dbo].[CompanyDetail]  SET Mnemonic = [dbBWKMigration].[dbo].[Company].[MNEMONIC],                 [Company Code] = [dbBWKMigration].[dbo].[Company].[COMPANYCODE]  WHERE [Company Name] = **[dbBWKMigration].[dbo].[Company].[COMPANYNAME]**   The actual error:     Msg 4104, Level 16, State 1, Line 3 The multi-part identifier   "dbBWKMigration.dbo.Company.COMPANYNAME" could not be bound. Consider a database table holding names, with three rows:  Peter Paul Mary   Is there an easy way to turn this into a single string of Peter, Paul, Mary? Probability of student passing an exam There're $25$ tests, each with $2$ questions. There're total of $50$ different questions (the questions do not repeat). The student knows the answer of $44$ questions. To pass the exam, the student needs to correctly answer both questions on the first test he drew, or answer $1$ question from the test he drew first, and $1$ question from the test he drew second. (meaning he draws twice if he answers a question incorrectly on his first try)  What is the probability that the student will pass the exam?  I have never faced a problem like this one so any help is appreciated. I was thinking about approaching it "manually" with some applied combinatorics but I feel like there's a much easier way that I am not familiar with. Ubuntu 13.10 Macbook Air Mavericks Parallels 9 Black Screen I can install Ubuntu 13.10 in parallels ok and then log in.  Problem is Ubuntu does an update and I get black screen / desktop such that I can't see any app windows that I open.  I've tried a few of the other suggestions and they don't work for me. Microsoft Excel mangles Diacritics in .csv files? I am programmatically exporting data (using PHP 5.2) into a .csv test file. Example data:   Numéro 1 (note the accented e). The data is utf-8 (no prepended BOM).  When I open this file in MS Excel is displays as NumÃ©ro 1.  I am able to open this in a text editor (UltraEdit) which displays it correctly.  UE reports the character is decimal 233.  How can I export text data in a .csv file so that MS Excel will correctly render it, preferably without forcing the use of the import wizard, or non-default wizard settings? Showing that $\lnot Q \lor (\lnot Q \land R) = \lnot Q$ without a truth table I've done a truth table after reducing it to this and it seems to be equal to $\neg Q$:  $$\lnot Q \lor (\lnot Q \land R) = \lnot Q$$  But when I try to show it without a truth table (with just transformations), I end up in a loop between that and:  $$\lnot Q \land (\lnot Q \lor R)$$  Is there a way to show this is true without using a truth table? What am I missing?!  Thanks in advance! Fatal error: Class 'SelectQuery' not found in includes/database/database.inc on line 813 Fatal error: Class 'SelectQuery' not found in /home/content/71/11241671/html/drupal/includes/database/database.inc on line 813   We built a site in a subfolder called /drupal while building the site, and then moved the files to the root directory when we were finished but it gave the above error on a WSOD.  I have tried:    flushing the cache before moving  tried the registry rebuild truncating and replacing the registry and registry_file tables with a fresh install copy, and rebuilding the registry again rewrite base in htaccess setting a new base url in settings.php   But nothing has worked.  The second we put the files back into the /drupal folder, it works again. It also looks like the error mentions the file in the /drupal directory, which isnt there anymore.   This is on 7.37   Anyone have any ideas? The equivalent electric field of a magnetic field Increasing the maximum number of TCP/IP connections in Linux Find the limit if it exists of $S_{n+1} = \frac{1}{2}(S_n +\frac{A}{S_n})$ Suppose that $S_0$ and A are positive numbers, let $$S_{n+1} = \frac{1}{2}\left(S_n +\frac{A}{S_n}\right)$$ with $n \geq 0 $.      (a)Show that $S_{n+1} \geq \sqrt{A} $ if $n \geq 0$       (b)Show that $S_{n+1} \leq S_n $ , if $n \geq 1$      (c) Show that $s= \lim\limits_{n \rightarrow \infty} S_n$ exists      (d) find s   (a) Show that $S_{n+1} \geq \sqrt{A} $ if $n \geq 0$  Given $$P_n:  S_{n+1} = \frac{1}{2}\left(S_n +\frac{A}{S_n}\right) \geq \sqrt{A}$$  $$P_0: S_{1} = \frac{1}{2}\left(S_0 +\frac{A}{S_0}\right) \geq \sqrt{A}  $$  We assume that $P_n$ is true  $$P_{n+1}: S_{n+2}= \frac{1}{2}\left(S_{n+1} +\frac{A}{S_{n+1}}\right)$$ by assumption $$S_{n+2}= \frac{1}{2}\left(S_{n+1}\left(1 +\frac{A}{(S_{n+1})^2}\right)\right) \geq \frac{1}{2}\left(\sqrt{A}\left(1 +\frac{A}{(\sqrt{A})^2}\right)\right)$$ $$ S_{n+2}= \frac{1}{2}\left(S_{n+1} +\frac{A}{S_{n+1}}\right) \geq \sqrt{A}  $$  It follows that $S_{n+1} \geq \sqrt{A} $    (b) Show that $S_{n+1} \leq S_n $ , if $n \geq 1$  $$S_{n+1} \leq S_n$$ $$\frac{1}{2}\left(S_n +\frac{A}{S_n}\right) \leq S_n $$ Dividing by $S_n$ $$\frac{1}{2}\left(1 +\frac{A}{S_n^2}\right) \leq 1 $$ $$\frac{A}{2S_n^2} \leq \frac{1}{2}$$ $$A \leq S_n^2$$ $$S_n \geq \sqrt{A}$$ As  $S_{n+1} \leq S_n$ yields a true statement, it follows $S_{n+1} \leq S_n$ is true.    (c) Show that $s= \lim\limits_{n \rightarrow \infty} S_n$ exists  Since $S_{n+1} \leq S_n$, the sequence is non-increasing,   using the non-increasing theorem stating that      if $\{S_n\}$ is non-increasing then $$\lim\limits_{n \rightarrow &gt; \infty} S_n = \inf\{S_n\} $$     (d) find s    Is the argumentation in (a) and (b) appropriate? Also, I have to admit I m getting less confident in my argumentation (c) and (d). How to proceed in (c) and (d)?  Much appreciated for your input or help. Infinite DeMorgan laws Let $X$ be a set and $\{Y_\alpha\}$ is infinite system of some subsets of $X$. Is it true that: $$\bigcup_\alpha(X\setminus Y_\alpha)=X\setminus\bigcap_\alpha Y_\alpha,$$ $$\bigcap_\alpha(X\setminus Y_\alpha)=X\setminus\bigcup_\alpha Y_\alpha.$$ (infinite DeMorgan laws)  Thanks a lot! I've just started playing with Guice, and a use-case I can think of is that in a test I just want to override a single binding.  I think I'd like to use the rest of the production level bindings to ensure everything is setup correctly and to avoid duplication.  So imagine I have the following Module  public class ProductionModule implements Module {     public void configure(Binder binder) {         binder.bind(InterfaceA.class).to(ConcreteA.class);         binder.bind(InterfaceB.class).to(ConcreteB.class);         binder.bind(InterfaceC.class).to(ConcreteC.class);     } }   And in my test I only want to override InterfaceC, while keeping InterfaceA and InterfaceB in tact, so I'd want something like:  Module testModule = new Module() {     public void configure(Binder binder) {         binder.bind(InterfaceC.class).to(MockC.class);     } }; Guice.createInjector(new ProductionModule(), testModule);   I've also tried the following, with no luck:  Module testModule = new ProductionModule() {     public void configure(Binder binder) {         super.configure(binder);         binder.bind(InterfaceC.class).to(MockC.class);     } }; Guice.createInjector(testModule);   Does anyone know if it's possible to do what I want or am I completely barking up the wrong tree??  --- Follow up: It would seem I can achieve what I want if I make use of the @ImplementedBy tag on the interface and then just provide a binding in the test case, which works nicely when there is a 1-1 mapping between the interface and implementation.  Also, after discussing this with a colleague it would seem we'd head down the road of overriding an entire module and ensuring we have our modules defined correctly.  This seems like it might cause a problem though where a binding is misplaced in a module and needs to be moved, thus possibly breaking a load of tests as bindings may no longer be available to be overriden. Realtek RTL8723BE Wi-Fi incredibly weak I have a HP 14-AN001NA laptop. It came with Windows 10 installed on which the Wi-Fi worked fine anywhere in the house.   However I removed Windows 10 and installed Ubuntu 16.04 instead and since I have had terrible Wi-Fi anywhere aside from about three foot away from the router. I don't know if it's relevant but my Wi-Fi is not called wlan0 but wlo1 for some reason (I didn't change it).  When running lspci -knn | grep Net -A3     I get the following output:  05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723] DeviceName:   Subsystem: Hewlett-Packard Company RTL8723BE PCIe Wireless Network Adapter [103c:81c1] Kernel driver in use: rtl8723be Kernel modules: wl, rtl8723be What type of differential equation is $f'(x) = f(x/2)$ and how do you solve it? I have the following different equation $$f'(x) = f(x/2)$$ with $f(0)=10$. What type of DE is this, and how would you solve it? It seems $f(x)$ is likely to be some relative of $e^x$, since $f'(x) = f(x)$, which is close, but I don't even know what that type of DE is called with that $f(x/2)$ feature, so I'm not having any luck searching for a tutorial. The best candidate I've found was a &quot;delay differential equation&quot;, but that seems more suited to $f(x-3)$ than $f(x/2)$. Adding layers to GeoPackage using PyQGIS Wrong place for hyperref link in scaled tikz picture I have a TikZ picture with a node containing a minipage with an itemize environment; each item is a hyperref to other sections of the document.   When scaling the image (for example with \begin{tikzpicture}[scale=.7, transform shape] I've a strange behavior: links in itemize are not in the right place: they present a somewhat vertical offset, as if they don't scale as the rest of image.   Here the MWE:  \documentclass[a4paper]{article} \usepackage{tikz} \usepackage[pdftex]{hyperref} \begin{document}  Here something interesting\label{text:interesting-one} \newpage  Here something interesting, too\label{text:interesting-two} \newpage  and here there are very very interesting stuff\label{text:interesting-three} \newpage  \newpage Now the problem: links rectangles have some offset, making links unusable in case of long itemize  \begin{figure}[htb] \begin{tikzpicture}[scale=.7, transform shape] \node at (0,0) (mynode) { \begin{minipage}{4cm} \begin{itemize} \item \hyperref[text:interesting-one]{First link} \item \hyperref[text:interesting-two]{Second link} \item \hyperref[text:interesting-three]{Third link} \item \hyperref[text:interesting-one]{First link again} \item \hyperref[text:interesting-two]{Second link again} \item \hyperref[text:interesting-three]{Third link again} \end{itemize} \end{minipage} }; \end{tikzpicture} \end{figure} \end{document}   And here a snapshot of the problem    Note: This is evident using the default settings of hyperref package, which draws the red rectangle around links, but it took me some time to found it when only the text is coloured, i.e. when using \usepackage[linkcolor=blue,colorlinks=true]{hyperref} Help me identify this insect from Bangladesh I have seen this insect flying literally everywhere in Dhaka city (Bangladesh) over the last two months. It's small -- around 1-1.5 inches long. It's not an agile flyer and can be easily grabbed by hand during flight. Why was this scene from the trailer not in the film? I had seen all the trailers of  before its release. In one of those trailers Uncle Ben (Martin Sheen) says to Peter,       Do you have any idea what you really are?   This seems to imply that Uncle Ben knows about Peter's identity. This would have been a huge spoiler. But when I saw the movie, there was no such scene.   Do the filmmakers discuss such spoilers with some of the audiences and see if they like it and then change it accordingly? Or was this scene cut for other reasons? I have an instance of an application running in the cloud on Amazon EC2 instance, and I need to connect it from my local Ubuntu. It works fine on one of local ubuntu and also laptop. I got message "Permission denied (publickey)" when trying to access SSH to EC2 on another local Ubuntu. It's so strange to me.  I'm thinking some sort of problems with security settings on the Amazon EC2 which has limited IPs access to one instance or certificate may need to regenerate.  Does anyone know a solution?