Why is my shading producing artifacts? I've search around with no solution. I can get a smooth look in Solid view, but Cycles and Eevee create artifacts. the topography is clean, no ngons, subdivided. Things I've tried: -Recalculating normals -checking for n-gons (there are none)  Merge by distance to check for overlapping vertices (none) smoothing options in Mesh-&gt;Shading.  The only thing that has worked is subsurf modifier, but I don't want to use that. The model was imported as an .obj, and I find that most imported .objs have similar problems. What can I do to get a smoother look, like in solid view? Thanks
I wonder if this is a bug, or if I missed something... When a light hits tangentially convex surfaces with "smooth shading", the shadow on this surface seems to "partially ignore" the smoothness of the surface. Here is an example with a simple cylinder :    On the left, a cylinder with "flat shading". Everything's ok. On the right, the same with "smooth". We can see an edge, bad shadowed.  With or without the "Edge split" modifier, no matters, the edge is still there. The shader is a simple white diffuse shader with no texture nor displace.  I have to add a subsurf modifier with at least 2 levels, which will insanely increase the vertex count... And I can't do that for my project.  I hope someone already saw it, and have a little tip to share. Or if someone already know it's a bug, or a limit of the current Cycles renderer ?
How to "shuffle" an array? Let $A$ and $B$ be $m \times n$ and $n \times m$ real matrices.  I proved that if $\lambda$ is a nonzero eigenvalue of the $m \times m$ matrix $AB$ then it is also an eigenvalue of the $n \times n$ matrix $BA$. But I am having trouble finding an example showing that this need not be true if $\lambda=0$  Thank you in advance 70s UK science fiction TV show with time travel and telepathic cat I'm trying to identify a science fiction series on UK TV during the 70s, but I can only recall the following:   A party of adults and children. There was a woman with a telepathic bond to her cat: she could look into its eyes to see what it had seen. Time travel was involved. I think it may have been inadvertent or uncontrolled time travel. On one occasion the party encountered an Elizabethan seaman who demanded to know if Elizabeth was still queen. They party replied "err... yes" because they didn't want to have to explain time travel. Necessary condition for square integrable functions? I'm studying Quantum Mechanics and I came across this which I don't quite understand: For a vector space of functions $f(x)$ to be square integrable (i.e $\int{|f(x)|^2dx &lt; \infty)}$, the necessary condition is $\lim_{|x| \to \infty}f(x) \to 0$. Can someone help me understand why that must be the case? I sort of understand that it must not blow up at the infinities but can a (continuous or piece-wise continuous) function have a non-zero finite value at the infinities and still be square integrable? Flirtatious Primes Here's a possibly interesting prime puzzle. Call a prime $p$ flirtatious if the sum of its digits is also prime. Are there finitely many flirtatious primes, or infinitely many? What's the difference between the apt packages: 'cinnamon' and 'cinnamon-desktop-environment'? I have a fresh Ubuntu install and want to install Cinnamon as the desktop environment. When I do apt search cinnamon, I get multiple results, but two seems like they are the correct one.   The first is just   cinnamon/xenial 2.8.6-1ubuntu1 amd64 all     Innovative and comfortable desktop (Common data files)   while the other is   cinnamon-desktop-environment/xenial,xenial 2.8.0 all     Cinnamon desktop environment - full desktop with extra components   What's the difference between the two? What does the cinnamon-desktop-environment package contain that the cinnamon doesn't? In Volo's Guide it is suggested that a curse could transform someone into a race of 'monstrous origin' (p. 118). Does this apply to the Bestow Curse spell specifically? Note: this is a  (my apologies).  In film / lore, such magic does , ,   - or even  transformative curses.  Points &amp; Concerns:   this is within guidelines for a 'reasonable' curse, i.e. less harm than the listed set Bestow Curse writeup encourages DM-homebrewing &amp;/or interpretation. Great role-play possibility / RAI (hence most myths, fairy tales, cartoons, legends, etc) this could be subject to abuse, temptation to bestow a 'curse' as a blessing / boon one could also change: age, size, weight &amp;/or gender (all great curse ideas... but RAW-legal?)   Summation:  What are the limits of the 3rd lvl / Necromatic Bestow Curse spell for transformation? TeX Live 2016: minted doesn't work with LuaLaTeX (bug fixed in June 2016) I've installed TeX Live 2016 as it was released today (thanks to the developers for that).  Now I have the following MWE:  \documentclass{article} \usepackage{minted} \begin{document}  \begin{minted}{ruby} class Foo   def init     pi = Math::PI     @var = "Pi is approx. #{pi}"   end end \end{minted}  \end{document}   When running pdflatex --shell-escape test.tex it runs through the file and produces the PDF as expected. Doing the same with lualatex --shell-escape test.tex fails with  This is LuaTeX, Version 0.95.0 (TeX Live 2016)   system commands enabled. (./test.tex LaTeX2e &lt;2016/03/31&gt; Babel &lt;3.9r&gt; and hyphenation patterns for 1 language(s) loaded. (/opt/texlive/2016/texmf-dist/tex/latex/base/article.cls Document Class: article 2014/09/29 v1.4h Standard LaTeX document class (/opt/texlive/2016/texmf-dist/tex/latex/base/size10.clo)) (/opt/texlive/2016/texmf-dist/tex/latex/minted/minted.sty (/opt/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty) (/opt/texlive/2016/texmf-dist/tex/latex/oberdiek/kvoptions.sty (/opt/texlive/2016/texmf-dist/tex/generic/oberdiek/ltxcmds.sty) (/opt/texlive/2016/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty (/opt/texlive/2016/texmf-dist/tex/generic/oberdiek/infwarerr.sty) (/opt/texlive/2016/texmf-dist/tex/generic/oberdiek/etexcmds.sty (/opt/texlive/2016/texmf-dist/tex/generic/oberdiek/ifluatex.sty)))) (/opt/texlive/2016/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty Style option: `fancyvrb' v2.7a, with DG/SPQR fixes, and firstline=lastline fix  &lt;2008/02/07&gt; (tvz)) (/opt/texlive/2016/texmf-dist/tex/latex/float/float.sty) (/opt/texlive/2016/texmf-dist/tex/latex/base/ifthen.sty) (/opt/texlive/2016/texmf-dist/tex/latex/tools/calc.sty) (/opt/texlive/2016/texmf-dist/tex/latex/ifplatform/ifplatform.sty (/opt/texlive/2016/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty (/opt/texlive/2016/texmf-dist/tex/generic/oberdiek/ifpdf.sty) (/opt/texlive/2016/texmf-dist/tex/generic/oberdiek/luatex-loader.sty (/opt/texlive/2016/texmf-dist/scripts/oberdiek/oberdiek.luatex.lua))) (/opt/texlive/2016/texmf-dist/tex/generic/oberdiek/catchfile.sty) uname -s &gt; "test.w18"  ! Package catchfile Error: File `test.w18' not found.  See the catchfile package documentation for explanation. Type  H &lt;return&gt;  for immediate help.  ...                                                l.93     \CatchFileDef\@tempa{\ip@file}{}  ?    As mentioned, it's a freshly installed TeX Live 2016; I've also checked the installed Pygmentize version, which is 2.1.3 (installed via pip). Testing with TeX Live 2015, the above code, however, works without problems with both pdflatex and lualatex.  Does anybody have a hint for me on how to fix this, or is it a bug in lualatex or minted (or whatever other package) that should be reported?  Update: With minted version 2.2 (2016-06-08), the package loads the shellesc package automatically, as mentioned by @David Carlisle and @egreg in the comments; therefore, the problem should not occur any more, if you have this version installed. I'm having trouble writing a regular expression that matches valid IPv6 addresses, including those in their compressed form (with :: or leading zeros omitted from each byte pair).    Can someone suggest a regular expression that would fulfill the requirement?  I'm considering expanding each byte pair and matching the result with a simpler regex. How to write a simple jQuery plugin Seeking alternatives to pgRouting for open source routing / network analysis? Changing Login Logo After modifying the code in my functions.php file to display a different logo on my login page, I'm getting a blank square instead.  I've added a custom .png image (326x67) to my (child) theme's image folder, and the code I've added to functions.php is as follows:  function custom_loginlogo() {     echo '&lt;style type="text/css"&gt;     h1 a {background-image: url('.get_bloginfo('template_directory').'/images/login_logo.png) !important; }     &lt;/style&gt;'; } add_action('login_head', 'custom_loginlogo');   Could it be a permissions problem (like an .htaccess file blocking the image)? How to install .deb file in ubuntu using terminal? I am trying to install Google Chrome,for that I downloaded a google-chrome-stable_current_i386.deb file.  When I try to install using install in terminal   sudo install google-chrome-stable_current_i386.deb  It gives following error.  install: missing destination file operand after ‘google-chrome-stable_current_i386.deb’ Try 'install --help' for more information. I have a Canon Powershot A710 and I previously had a previous Powershot A-series model. I love them due to the high amount of control they offer. Sadly, they both suck in low light conditions, their flash is very unresponsive, and the camera takes several seconds preparing itself for the next shot after a flash shot. And even then, the pictures they take in low light/flash are as bad as good are those with good light.  I'd like a camera which gives a lot of control options, but what do I need to look for to find one that's great in low light, with or without flash? Pluralizing abbreviations where the noun is not the last word Incompatibility between etextools and etoolbox command \dolistloop (\forlistloop)? Does assigning objects to null in Java impact garbage collection? How to define global functions in PHP As far as I know, the diamond symbol is given to the folks who  are the community elected moderators, for example,  are employees of the Stack Exchange, Inc., for example,   In those regards,  is neither a , nor is he a part of the  since March 1st, 2012. So my question is, other than the fact that he is the , is there any other reason why he still has the diamond symbol next to his name and whether he can still exercise his moderation abilities? :) Note: I do not have any problems with him having the Diamond Symbol. I just wanted to know the reason and whether he still has those privileges or not. In fact, I'd be very happy to know that he still has those privileges because, you know, he knows the site, the Best. :) Note: as of October 2017, . ResultSet: Retrieving column values by index versus retrieving by label When using JDBC, I often come across constructs like    ResultSet rs = ps.executeQuery(); while (rs.next()) {     int id = rs.getInt(1);     // Some other actions }   I asked myself (and authors of code too) why not to use labels for retrieving column values:    int id = rs.getInt("CUSTOMER_ID");   The best explanation I've heard is something concerning performance. But actually, does it make processing extremely fast? I don't believe so, though I have never performed measurements. Even if retrieving by label would be a bit slower, nevertheless, it provide better readability and flexibility, in my opinion. So could someone give me good explanation of avoiding to retrieve column values by column index instead of column label? What are pros and cons of both approaches (maybe, concerning certain DBMS)?