How do you make holes in a cylinder sharp using subdivision surface modifier? I am making high poly model for a gun using subdivision surface modifier, in the pic you can see the barrel with a hole in it but the control loops deform the curvature of the barrel as in it isn't round anymore. How do you make holes in a cylinder sharp using subdiv? Or you shouldnt use subdiv?
Subdivision Surface on curved mesh I'm trying to delete those ugly lines visible in the cylindrical shape of the lens. What is causing them is the added edge loops I made for the protruding detail with the switch. The problem is that if I delete those edges, it'll look even worse because of the n-gons. Any ideas?
Would it be considered cheating to ask for homework help on the internet, if I openly acknowledge the help received? Reverse the ordering of words in a string At what point is the ~/.bashrc file created? Wrong Java resource bundle loaded Can a multiclass sorcerer/cleric use the Metamagic class ability with non-sorcerer spells? For example, using Twinned Spell when casting cure wounds to heal two creatures instead of just one? Searching by user id in Android app only shows questions, no answers I have a Samsung Galaxy S3. Android version 4.3  I downloaded the official StackExchange app today. I am not able to view post related to android tag from my profile. I tried refreshing also  Snap     Edit:  However i am able to see one post for the relevant from the drop down list    Edit 2:  I tried what Steven V suggested. However it's the same.    I tried for a different user its the same. Using while loop to ssh to multiple servers I have a file servers.txt, with list of servers:  server1.mydomain.com server2.mydomain.com server3.mydomain.com   when I read the file line by line with while and echo each line, all works as expected. All lines are printed.  $ while read HOST ; do echo $HOST ; done &lt; servers.txt server1.mydomain.com server2.mydomain.com server3.mydomain.com   However, when I want to ssh to all servers and execute a command, suddenly my while loop stops working:  $ while read HOST ; do ssh $HOST "uname -a" ; done &lt; servers.txt Linux server1 2.6.30.4-1 #1 SMP Wed Aug 12 19:55:12 EDT 2009 i686 GNU/Linux   This only connects to the first server in the list, not to all of them. I don't understand what is happening here. Can somebody please explain?  This is even stranger, since using for loop works fine:  $ for HOST in $(cat servers.txt ) ; do ssh $HOST "uname -a" ; done Linux server1 2.6.30.4-1 #1 SMP Wed Aug 12 19:55:12 EDT 2009 i686 GNU/Linux Linux server2 2.6.30.4-1 #1 SMP Wed Aug 12 19:55:12 EDT 2009 i686 GNU/Linux Linux server3 2.6.30.4-1 #1 SMP Wed Aug 12 19:55:12 EDT 2009 i686 GNU/Linux   It must be something specific to ssh, because other commands work fine, such as ping:  $ while read HOST ; do ping -c 1 $HOST ; done &lt; servers.txt Which style is preferred? Is there a good reason for one vs. the other?  Thanks in advance!  1) cmds.each do |cmd|    end  2) cmds.each { |cmd|    }   Example code:  cmds = [ "create", "update", "list", "help" ]  # Block style one # cmds.each do |cmd|   puts "loop1, cmd: #{cmd}" end  # Block style two # cmds.each { |cmd|   puts "loop2, cmd: #{cmd}" } Just a curiosity. I just saw a video where pi was being calculated by the series  $$1-(1/3)+(1/5)-(1/7)+...$$  My question is how can $\pi$ be irrational if we can calculate it using rational numbers? What is the C# Using block and why should I use it? What is the purpose of the Using block in C#? How is it different from a local variable? Why does gulp.src not like being passed an array of complete paths to files? Proving that $m+n\sqrt{2}$ is dense in $\mathbb R$ The topological space $X=\omega_1\cup \{\omega_1\}$ is not first countable but $\omega_1$ is. Here $\omega_1$ denotes the set of all countable ordinals and $\{\omega_1\}$ is the first uncountable ordinal. Cardinality of $\omega_1$ is $\aleph_1.$And also $\omega_1$ is called the limit ordinal meaning it is the limit point of the set $\omega_1.$  Here I want to prove two things. $1)$ $\omega_1$ is first countable. and $2)$ $\{\omega_1\}$ is the limit point of $\omega_1$. But since no sequence converges to $\{\omega_1\}$, using this I could say that our space $X$ is not first countable.  $1)$ The proof of this I got from  with just one question: it says we need to prove that such an $S(y)$ exists,and I'm thinking $S(y)=\cap\{u\in \omega_1:u\gt y\}.$ This is correct$?$ But here is a chance that the countable base around $y$ may be finite and not countably infinite.  $2)$ If possible let us assume that $\omega_1$ is not a limit point of the set $\omega_1.$ $U$ be a nbd of $\omega_1$ that does not intersect $\omega_1.$ Then what are the elements of $U$ like? The ones coming before $\omega_1$  cannot be uncountable because $\omega_1$  is the first. Then they must be countable. This is absurd so no such $U$ exists. Thus $\{\omega_1\}$ is a limit point.  Are my proofs correct? Thank you. Why did Dumbledore 'put on' the Resurrection Stone (Ring)? Dumbledore put on Marvolo's ring, knowing that it was the Resurrection Stone which was on the ring. He also knew (even though he &quot;lost his head&quot; in his excitement to see his family again) that the ring was a Horcrux and would &quot;surely carry a curse&quot;:  When I discovered it, after all those years, buried in the abandoned home of the Gaunts - the Hallow I had craved most of all, though in my youth I had wanted it for very different reasons - I lost my head, Harry. I quite forgot that it was now a Horcrux, that the ring was sure to carry a curse. I picked it up, and I put it on...  -Deathly Hallows, Ch 35 - KING'S CROSS Now when Harry realised that the Resurrection Stone was inside the Snitch, all he had to do was turn it three times for it to 'work':  He closed his eyes and turned the stone over in his hand three times. He knew it had happened, because he heard slight movements around him that suggested frail bodies shifting their footing on the earthy, twig-strewn ground that marked the outer edge of the forest.  -Deathly Hallows, Ch 34 - THE FOREST AGAIN I may be missing something, but did Dumbledore incorrectly use the Resurrection Stone? or did Harry just 'think' that he had to turn it thrice? I'm assuming the answer may have been that Dumbledore wanted to have the ring on, and then turn it thrice whenever he felt like conjuring up his family; or that he simply &quot;lost his head&quot;; but he surely didn't need to put it on right? What is the correct way to use the Resurrection Stone? Question mark for sentence which starts with a question but doesn't end with one I'm basically looking at sentences which start with a question, and end with an explanation to it. But there may be more instances of a similar structure. Sample sentence :      Can you book a room in advance, because otherwise we'd be in trouble   Should this sentence end with a period or a question mark?  PS: I read the apparently similar question  but the sentence structure there is different from what I'm looking for.  Edit: I just discovered that this question is a duplicate. A resolved question already  exists:   But i do like the explanations here better. I wrote a Table Valued Function in Microsoft SQL Server 2008 to take a comma delimited column in a database to spit out separate rows for each value.  Ex: "one,two,three,four" would return a new table with only one column containing the following values:  one two three four   Does this code look error prone to you guys? When I test it with   SELECT * FROM utvf_Split('one,two,three,four',',')    it just runs forever and never returns anything. This is getting really disheartening especially since there are no built in split functions on MSSQL server (WHY WHY WHY?!) and all the similar functions I've found on the web are absolute trash or simply irrelevant to what I'm trying to do.  Here is the function:  USE *myDBname* GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER FUNCTION [dbo].[utvf_SPlit] (@String VARCHAR(MAX), @delimiter CHAR)  RETURNS @SplitValues TABLE (     Asset_ID VARCHAR(MAX) NOT NULL )  AS BEGIN             DECLARE @FoundIndex INT             DECLARE @ReturnValue VARCHAR(MAX)              SET @FoundIndex = CHARINDEX(@delimiter, @String)              WHILE (@FoundIndex &lt;&gt; 0)             BEGIN                   DECLARE @NextFoundIndex INT                   SET @NextFoundIndex = CHARINDEX(@delimiter, @String, @FoundIndex+1)                   SET @ReturnValue = SUBSTRING(@String, @FoundIndex,@NextFoundIndex-@FoundIndex)                   SET @FoundIndex = CHARINDEX(@delimiter, @String)                   INSERT @SplitValues (Asset_ID) VALUES (@ReturnValue)             END              RETURN END Merge multiple video with ffmpeg single command line in specific time without cut it one by one and merge it I have 15 video files which I want to merge with ffmpeg. I want to save time by merge all of the video files in a single command line, not cut it one by one and merge it. Thanks. g++ undefined reference with a shared library Insert Login IP Ranges using apex in salesforce Is it possible to insert to Login IP ranges via apex? How do I copy a property from an active object to selected objects?