I wanted to convert this path to mesh to extrude it and make it 3D. The resulting mesh is a mess when i look at it in edit mode. Check my screenshots. How could i avoid all those zigzags across the surface and make this mesh something like the origin path? The original SVG file is there:  This is just one single closed 25 nodes path without any zigzag lines going across... In Blender, I did: File &gt; Import &gt; SVG (and re-scaled) and then: Right-click to convert to mesh, and the result is a mess:  EDIT: My logo does not have anything special or tricky. I tested a pure simple circle made in Inkscape and imported into Blender: same bad results at first, and same 5 seconds quick fix.
I am wondering if there is an easy way to inset mesh that is generated from text/curves? When I convert text to mesh it generates a bunch of uneven triangles that don't inset properly. My only solution is slow and tedious and requires manually removing all but the outline edges and refilling with quads. More specifically I am trying to create an engraving of text into a mesh, and rather than a straight bool cut I need the engraved text to inset a bit. The result needs to mesh (not through a shader). Any ideas appreciated.
I am trying to install Wordpress on Lubuntu. I followed the instructions . Including PHP Apache and MySQL setups. Apache and MySQL appear to be running fine.  However, when I go to http://localhost/blog/, I get the following error:     Neither /etc/wordpress/config-localhost.php nor /etc/wordpress/config-localhost.php could be found.   Ensure one of them exists, is readable by the webserver and contains the right password/username. Strange behaviour of macros C/C++ Excessive fields in biblatex could not be removed if using \fullcite Combination of biblatex-chicago and Zotero produces many excessive fileds in the bibliography. This problem could be solved by adding to the preambule caveats like this:  \AtEveryBibitem{% \ifentrytype{online} {} {\clearfield{urlyear}\clearfield{urlmonth}\clearfield{urlday}}}   (Described in detail in the answer to my previous question: .)    This solution worked well for me, but now I have to produce a syllabus using \fullcite command. Unfortunately, this solution does not solve the problem for full bibliographic entries outside of the bibliography itself.  Here is the code with bibliography inside (to get the author's first and last name in the right order I use the following solution: ):    \begin{filecontents*}{database.bib}     @book{dalton_apartisan_2012,         title = {The Apartisan American: Dealignment and Changing Electoral Politics},         isbn = {9781452216942},         url = {http://books.google.com/books?id=eYkczUyX5wMC},         shorttitle = {The Apartisan American},         pagetotal = {241},         publisher = {{CQ} Press},         author = {Dalton, Russell J.},         urldate = {2014-04-03},         date = {2012-02-22},         langid = {english},         keywords = {Political Science / Political Process / Elections, Political Science / Public Policy / General}     } \end{filecontents*} \documentclass[11pt]{article} \usepackage[hmargin=3cm,vmargin=3cm]{geometry} \usepackage[onehalfspacing]{setspace} \usepackage{amssymb,amsmath,amsthm} \usepackage{booktabs,graphicx} \usepackage{paralist} \usepackage{cancel,soul} \usepackage{enumitem} \usepackage[authordate,backend=biber,bibencoding=utf8,bookpages=false,doi=only,isbn=false,footmarkoff]{biblatex-chicago} \usepackage[colorlinks, pdfstartview={XYZ null null 1.25},bookmarksopen=true,bookmarksopenlevel=\maxdimen,citecolor={blue},urlcolor={blue}]{hyperref} \addbibresource{database.bib} \DeclareCiteCommand{\fullcite} {\usebibmacro{prenote}} {\usedriver     {}     {\thefield{entrytype}}} {\multicitedelim} {\usebibmacro{postnote}} \AtEveryBibitem{%     \ifthenelse{\ifentrytype{article}\OR\ifentrytype{book}\OR\ifentrytype{collection}\OR\ifentrytype{incollection}\OR\ifentrytype{mvbook}\OR\ifentrytype{mvcollection}\OR\ifentrytype{mvincollection}}     {\clearfield{month}\clearfield{url}\clearfield{doi}\clearfield{urlyear}\clearfield{urlmonth}\clearfield{urlday}}}   \begin{document} \begin{center} {\huge Partisanship in Old, New and Non-Democracies}\\ \end{center}  \vspace{30pt} \noindent\textbf{Instructor: }  \hfill \textbf{Time and Location:} TBA\\ \textbf{Contact:}  \hfill \hfil \textbf{Office Hours:} TBA\\  \vspace{-20pt}    \subsection*{Partisanship in the United States}   \begin{enumerate}     \item \parencite{dalton_apartisan_2012}     \item \fullcite{dalton_apartisan_2012} \end{enumerate}  \printbibliography[heading=bibintoc]  \end{document}    Here is the output. Note the excessive fileds in the in-text full citation (they are absent in the References):    Any help, especially simple acessible solutions would be greatlly apreciated. wp_customize_image_control default value I am trying to create a custom theme using Wordpress 3.4's customization options. I would like to create an option to change the theme's logo, but I would like to also display a default logo image.   I am using the following code in my function.php page:  $defaultbranding = "get_bloginfo('template_directory') . '/images/logo.png";      $wp_customize-&gt;add_setting( 'change_branding', array(         'default' =&gt; get_bloginfo('template_directory') . '/images/logo.png',     ) );      $wp_customize-&gt;add_control( new WP_Customize_Image_Control( $wp_customize, 'change_branding', array(         'label'   =&gt; 'Image Control',         'section' =&gt; 'theme_settings',         'settings'   =&gt; 'change_branding',     ) ) );   And in the theme's header.php page:  src='&lt;?php echo get_theme_mod( 'change_branding' , 'default' ) ?&gt;'   I would like the 'default' value on the front end to be:  get_bloginfo('template_directory') . '/images/logo.png'   Is there some way I can achieve this?  Thanks in advance for any help. What permissions should my website files/folders have on a Linux webserver? This is a  about File Permissions on a Linux web server.   I have a Linux web server running Apache2 that hosts several websites. Each website has its own folder in /var/www/.  /var/www/contoso.com/ /var/www/contoso.net/ /var/www/fabrikam.com/   The base directory /var/www/ is owned by root:root. Apache is running as www-data:www-data. The Fabrikam website is maintained by two developers, Alice and Bob. Both Contoso websites are maintained by one developer, Eve. All websites allow users to upload images. If a website is compromised, the impact should be as limited as possible.  I want to know the best way to set up permissions so that Apache can serve the content, the website is secure from attacks, and the developers can still make changes. One of the websites is structured like this:  /var/www/fabrikam.com     /cache     /modules     /styles     /uploads     /index.php   How should the permissions be set on these directories and files? I read somewhere that you should never use 777 permissions on a website, but I don't understand what problems that could cause. During busy periods, the website automatically caches some pages and stores the results in the cache folder. All of the content submitted by website visitors is saved to the uploads folder. Can anyone explain reverse bias pn junction using only electrons as charge carriers In forward bias condition p-type semiconductor is connected to positive side and ntype semiconductor to negetive side and the electrons flow from n-type to p-type to cathode of battery.  But imagine the same situation when the situation is reverse biased so now p-type is connected to negetive terminal of battery and n-type to positive terminal of battery.  Now there is excess of electrons in n-region and it is connected to positive terminal of the battery.So electron can flow from n-type region to positive terminal of the battery due to potential difference created by battery whereas in p-type electrons can flow from one covalent bond to another as they do in forward biasing.  Only difference is,here electron move in opposite direction (from one covalent bond to another) i.e. from n-region to depeletion region whereas in forward bias they move from depeletion to n-region.Which shouldn't be a problem   Now in this manner current must flow regardless of biasing so what's the correction? Optimizing a screenshot for adding in a document and printing When I create a UV sphere and add the subdivision surface modifier, the following wrinkle appears.    How can I avoid it?  I've read the article  but there seems to be no clear solution.  UPDATE 1  I've used the word 'apply' in the first sentence of the initial version of this question. It's misleading since I want to preserve the modifier without 'applying' it. Rather, what I meant is 'adding' the modifier.  UPDATE 2  I followed josh sanfelici's solution, but still there is an artifact at the pole.  Here is the screen: (A rendered view with a sun lamp)    Maybe it's the limitation of the general-purpose subdivision modifier.  BTW, when the cast modifier is added after the subdivision modifier, the sphere becomes perfect (even for my original wrinkled sphere).  But since I want to edit the resulting sphere (for example, scaling X, Y, etc) while modifier is added but not applied, it's not usable. Calculate text width with JavaScript Intuitive interface for Composing Boolean Logic? I'm interested to know how people have, or would construct an interface which simplifies constructing logical boolean conditions? (Yes, it's a database query builder) In my mind a bad interface has them typing lots of AND, NOT IN, OR keywords etc. Or else has a million combo boxes.  I'm wondering if anyone has a good example I could glean ideas from? Or some suggestions?  At the moment I'm considering a split screen with a grid for composing the query and a canvas to display a visual representation of the sets of conditions and how they overlap etc. Like a Venn Diagram. This still gives me a problem with the usability/intuitiveness of the controls on the grid.  EDIT:  I'm very interested in ideas which simplify it for less technical users. However, ideas for a version of the UI for advanced users are very helpful as well. Yes, I'm a moron, and I tried to manually install a higher point release of python 2.7.16 to /usr/bin/  (i did ./configure --prefix=/usr) on my Ubuntu 16.04 machine. It seems to work fine EXCEPT for packages that depended on python, like apt-listchanges, which fails with messages like ImportError: No module named apt_pkg  there's no make uninstall available, I've tried manually removing files, and still when I try apt --reinstall install python, Nothing gets overwritten and the python executable still gives the new 2.7.16 version...   Any idea how to get the official repository version back?? What is the difference between a "link function" and a "canonical link function" for GLM What's the difference between terms 'link function' and 'canonical link function'? Also, are there any (theoretical) advantages of using one over the other?  For example, a binary response variable can be modeled using many link functions such as logit, probit, etc. But, logit here is considered the "canonical" link function. It's time for drag and drop! I often find myself wishing SO supported drag and drop. For example I drag a tag to my favs and it would add it, or when searching by tag I would like to drag the tag to the search box and get [asp.net] added in the search box.   Does it make sense to add this feature or is it just too much work for so little use? I'm getting frequent inaccurate location as the same location, can I make this stop? Already awarded bounty refunded on question migration? In March 2011 I offered a 500 bounty on one of my StackOverflow questions () and awarded it to Filip de Vos.   This question was later migrated to Database Administrators and has the following messages on it.     migrated to dba.stackexchange.com by Will♦ Dec 28 '11 at 12:25      This   question belongs on our site for database professionals who wish to   improve their database skills and learn from others in the community.   .     deleted Dec 31 '11 at 1:01   I appear to have been   on whereas Filip .  Is this a bug? Definitely doesn't seem fair or correct to me. The question still shows up in both our bounty tabs despite the migration. I would have hoped that the previously awarded bounty reputation points could still be honoured in this situation. Why is it important to apply transformation to an objects data? I've watched several tutorials and very often they applied the location, rotation or scale to the object when they transformed it in Object Mode. They always said it is important, but why? How to unzip a zip file from the Terminal? Just downloaded a .zip file from the internet. I want to use the terminal to unzip the file. What is the correct way to do this? What is the Linux equivalent to Windows' Program Files? I use Stack Overflow a lot and have noticed a certain trend that I myself got caught up in at one time of using the phrase "I am having a problem" in place of "I have a problem."  I would use this phrase for an event in the future, for example, "I am having a steak dinner tonight," but for a problem that I need solved and am asking for a solution, I'd use "I have a problem..."   What would force us to use this phrase? Is it even valid English for the present tense? I have created a VF page and used "render as pdf"  &lt;apex:commandButton value="Save to Opportunity" action="{!savePdf}"  /&gt;   Its working fine when i am using above line without rerender and oncomplete but when i am adding rerender or oncomplete it is not working.I am able to save the PDF in attachment folder but when i am trying to open its showing  "Unable to load document"  Even if i remove oncomplete and use Rerender then also its saving the attachment in Attachment object and when i view ,it is not loading and says "Unable to load document"      &lt;apex:commandButton value="Save to Opportunity" action="{!savePdf}"  oncomplete="myClose();"/&gt;   Javascript Code  function myClose(){      self.close();     window.opener.location.href="/{!$CurrentPage.parameters.Id}";  }   Class Code  public void savePdf() {      PageReference pdf = Page.GenerateQuotePDF;     pdf.getParameters().put('id',parentId);      Attachment attach = new Attachment();      Blob body;     body = pdf.getContent();     attach.Body = body;     attach.Name = 'Opportunity'+ '.pdf';       attach.IsPrivate = false;     attach.ParentId = parentId;     attach.ContentType = 'application/pdf';     insert attach;     }     Please help..