. vs :: (dot vs. double-colon) for calling a method
What is Ruby's double-colon `::`?
I tried to manipulate a cube with the Boolean modifier. I tried to cut out an edge of the cube with a cylinder. Also, the shading result looks awful in FLAT SHADING mode, so I turned on SMOOTH SHADING.   Has anyone an idea how to achieve a better result. (I also cut out a Sphere first, this made the result less awful).   I used Blender Internal and rendered with smooth shading for smoothness.  Using flat shading looks okay, except the "round" cutouts :/  Face normals are okay.  First image is smooth shading.    EDIT: User Pisurquatre suggested the EdgeSplit modifier, works perfect to me (Maybe a little tweaking here and there): I want to install selenium webdriver in my Ubuntu 16.04 system for python I have been trying to add some boarding passes to wallet. I have downloaded the airline app and logged in. I have tried to "scan the code" as suggested in wallet, but the only code is a QR code and nothing happens when I try to scan. This should be that difficult but I cannot figure it out. Is there an easy way to get this done? Please explain to me how to do it. Thanks. How do you read C declarations? I have heard of some methods, but none of them have stuck. Personally I try to avoid complex types in C and try to break them into component typedef.  I'm now faced with maintaining some legacy code from a so called 'three star programmer', and I'm having a hard time reading some of the ***code[][].  How do you read complex C declarations? Integral closure of $\mathbb{Z}$ in $\mathbb{C}$ is not finitely generated as a $\mathbb{Z}$-module? Let     $$ \mathbb{Z}^{'}_{\mathbb{C}}=\{ z \in \mathbb{C} | \exists f \in \mathbb{Z}[X] \text{ monic such that } f(z)=0\} $$   be the integral closure of $ \mathbb{Z} $ in $ \mathbb{C} $. Prove that $ \mathbb{Z}^{'}_{\mathbb{C}} $ is not finitely generated as a $ \mathbb{Z} $-module.  My attempt: Suppose $ \mathbb{Z}^{'}_{\mathbb{C}}=\mathbb{Z}\alpha_{1}+...+\mathbb{Z}\alpha_{n} $ for some $ \{ \alpha_{i}\}_{i=\overline{1,n}} \subset \mathbb{Z}^{'}_{\mathbb{C}} $. I know that given $ \alpha , \beta \in \mathbb{Z}^{'}_{\mathbb{C}} $ with minimal polynomials of degrees $ m $ and $ n $ respectively, then we can construct a monic polynomial with integral coefficients $ P(z)=\prod(z-(\alpha_{i}+\beta_{j})) $ where $ \alpha_{i},\beta_{j} $ are the conjugates of $\alpha $ , $\beta $ and therefore the minimal polynomial of $ \alpha + \beta $ has degree $ \leq mn $.   I was thinking that then the degrees of the minimal polynomials of the elements of $ \mathbb{Z}\alpha_{1}+...\mathbb{Z}\alpha_{n} $ could be somehow bounded by a certain constant, whereas $ \mathbb{Z}^{'}_{\mathbb{C}}$ contains elements whose degrees of the minimal polynomials are arbitrarily large, take $ 2^{\frac{1}{n}} $ for example,$ n\geq 2$. I think this works when we are asked to prove that the set of all algebraic numbers $ \overline{\mathbb{Q}} $ is not a finitely dimensional $\mathbb{Q}$-vector space, but I don't know how to proceed in my case.  I would really appreciate any ideas, hints or solutions. Thank you very much! How can I determine the list of files in a directory from inside my C or C++ code?  I'm not allowed to execute the ls command and parse the results from within my program. override Home key in android ICS . (See comments to the question: the OP tried to include a couple of long XML files, but that wasn't possible.)  What's the recommended approach to including code/data, when there's just too much of it to embed in the question?  I could think of a few approaches myself:   Paste the data to a pastebin and link (and wait for the links to die) Encode the (compressed) data in an image and include that (kludgy!) Implement an attachment feature in Stack&nbsp;Overflow (which will probably be abused) Best way to run scheduled tasks Today we have built a console application for running the scheduled tasks for our ASP.NET website. But I think this approach is a bit error prone and difficult to maintain. How do you execute your scheduled task (in an windows/IIS/ASP.NET environment)  Update:   Examples of tasks:   Sending email from an email-queue in the database Removing outdated objects from the database Retrieving stats from Google AdWords and fill a table in the database. Why $\sqrt[3]{{2 + \sqrt 5 }} + \sqrt[3]{{2 - \sqrt 5 }}$ is a rational number? How to change background colour in texworks I am using texworks for the first time, I want to change the background of the editor from dark to white, as the code is not visible in dark background. I am using texworks in Manjaro Linux on GNOME desktop environment. Please help me. Restore default apt repositories in sources.list from command line I am looking for the best method to restore /etc/apt/sources.list to default from the command line.  Is there no way to reference the source code of the package which generates this file or something like that? I want a trusted and version-independent way of restoring this file.  Solutions Ruled Out  Before you mark this as a duplicate, note that I have reviewed  already. It is only applicable if you have the Ubuntu GUI available. This question is specific to the command line.  I have also reviewed  where the accepted solution is someone pasted the contents of their sources.list file. This is not an appropriate way to restore the file as the intentions of the person providing the file contents cannot be verified and the file is subject to change with new releases.  I checked out the , but this is also not from Ubuntu so I do not plan to use it. Suppose you have a history containing the three commits A, B and C:  A-B-C   I would like to combine the two commits A and B to one commit AB:  AB-C   I tried  git rebase -i A   which opens up my editor with the following contents:  pick e97a17b B pick asd314f C   I change this to  squash e97a17b B pick asd314f C   Then Git 1.6.0.4 says:  Cannot 'squash' without a previous commit   Is there a way or is this just impossible? $x^p-c$ has no root in a field $F$ if and only if $x^p-c$ is irreducible? Hungerford's book of algebra has exercise $6$ chapter $3$ section $6$ [Probably impossible with the tools at hand.]:     Let $p \in \mathbb{Z}$ be a prime; let $F$ be a field  and let $c \in  F$. Then $x^p - c$ is irreducible in $F[x]$ if and only if $x^p - c$   has no root  in $F$. [Hint: consider two cases: char$(F) = p$ and   char$(F)$ different of $p$.]   I have attempted this a lot. Anyone has an answer? In Ubuntu 18.04, when moving the windows there is a resize effect that occurs when accidentally touching one of the screen edges.  This control was available in CCSM and Ubuntu Tweak in previous versions with Unity.  I'm not finding it in GNOME Tweaks.  I also searched the repository with:  apt search ubuntu.*tweak addtocontents not working with certain other packages This is a follow up question on   How do I change the toc dept mid document while using packages (in this case only mathtools).  An example:  \documentclass[a4paper,10pt,oneside]{book}  \usepackage{mathtools}  \begin{document}   \frontmatter             \chapter{hello}  \section{hello}  \subsection{hello}  \subsubsection{hello}   \setcounter{tocdepth}{3}  \tableofcontents   \mainmatter   \chapter{hello}  \section{hello}  \subsection{hello}  \subsubsection{hello}   \chapter{hello}  \section{hello}  \subsection{hello}  \subsubsection{hello}   \appendix   \addtocontents{toc}{\setcounter{tocdepth}{0}}   \chapter{hello}  \section{hello}  \subsection{hello}  \subsubsection{hello}   \chapter{hello}  \section{hello}  \subsection{hello}  \subsubsection{hello}  \end{document}   This example generates an error and very strangely puts an exclamation mark in the ToC as you can see here   however when I comment out the \usepackage{mathtools} it suddenly works again or replacing it with a different package such as \usepackage[T1]{fontenc} also generates no errors.  But this is not limited to just this specific package, certain other packages also introduce the same behavior (I just took this package to keep the example small). Has 'Ubuntu Software' been renamed to 'Snap Store'? My gaming computer is currently downloading Napoleon: Total War and Supreme Commander 2 which I purchased on Steam, and which will take some time to complete. While this download is going on, I would like to play some of my other multiplayer games on my laptop, but I would rather not interrupt the download to do so.   Is it possible to have both computers logged in at once? I know if I was playing a single player game, I could set Steam into offline mode, then resume the download on the other computer, but this won't work for multi player games. When I create language plperl , I get error: ERROR:  could not load library "C:/Program Files/PostgreSQL/9.1/lib/plperl.dll": The specified module could not be found.  But in my computer,  "plperl.dll" file is exist in "C:/Program Files/PostgreSQL/9.1/lib/..." folder   ( I can not post illustrative image, this forum require >= 10 reputations)  And if I select * pg_pltemplate, I get:  -[ RECORD 4 ]-+------------------------- tmplname      | plperl tmpltrusted   | t tmpldbacreate | t tmplhandler   | plperl_call_handler tmplinline    | plperl_inline_handler tmplvalidator | plperl_validator tmpllibrary   | $libdir/plperl Is it safe to disable System Integrity Protection? While using OS X El Capitan 10.11.x, is it safe to disable System Integrity Protection? There are all these additional apps that modify folders and the dock that I want to install but you have to disable rootless first.  Good idea or bad idea?