How to prevent bibliography from ugly line breaks?
How to adjust the breaking in the bibliography?
Induction Proof: Fibonacci Numbers Identity with Sum of Two Squares Vertex count appears incorrect after removing doubles I've only just started studying the Blender Python API. I'm writing a script (see below) to automate something I've done by hand : joining two adjacent cubes and cleaning up the resulting mesh.   After joining and removing doubles, I expect to have 12 vertices instead of 16 in the resulting object. In the Info header, this seems to be the case, but when I print to the windows terminal I still see 16. Also I do see the output from remove_double(), here's a screenshot :    So what's wrong here ? What is the right way to access an object's mesh, and count its vertices ?  Joao  import bpy  # Create two adjacent cubes and join them bpy.ops.mesh.primitive_cube_add(location=(1,0,0)) ob = bpy.context.object bpy.ops.mesh.primitive_cube_add(location=(3,0,0)) ob.select = True bpy.ops.object.join()  # Expect 16 vertices, 24 edges, 12 faces result = bpy.context.object print(str(len(result.data.vertices)))  # Go to edit mode, remove double vertices bpy.ops.object.mode_set(mode = 'EDIT') bpy.ops.mesh.remove_doubles()  # Expect 12 vertices, 20 edges, 11 faces result = bpy.context.object print(str(len(result.data.vertices))) How to synchronize systemd stop order from one service? Suppose I have a.service which I cannot modify, and b.service which I can modify, I want to see this stop order:  Stopping b.service ... Stopped b.service Stopping a.service ... Stopped a.service   instead of this:  Stopping b.service ... Stopping a.service ... Stopped b.service Stopped a.service   Assume that b.service may take at least 20 seconds to finish. Let $G(r, n)$ be the Grassmannian of the set of all $r$-planes in a $n$-dim vector space. How to show that the cohomology of a Grassmannian has a basis consisting of the equivalent classes represented by Schubert cycles? I am confused since I don't know how to compute the cohomology of a variety (how to construct the co-chain complex). I am really appreciate if you can compute the cohomology of, for example, $G(2,4)$ and show that it has a basis consisting of the equivalent classes represented by Schubert cycles. python ImportError: No module named primes Redefining "cited on" string (and others) in biblatex I'm trying to modify the strings biblatex uses to set the "cited on" string used in the bibliography to identify the pages where a given references has been cited.    What I gather from the biblatex documentation (e.g., § 4.9.2.16) is that something like   \renewbibmacro{backrefpage}{&lt;newtext&gt;} \renewbibmacro{backrefpages}{&lt;newtext&gt;}   ought to work, but they have no effect for me (I'd also like to get this working for the "visited on" string, urlseen).  My MWE is unchanged from , with the addition of these (and related lines) just about anywhere. biblatex: separator for citing multiple sources, some of them with page, some not I'm using biblatex for my references.  Normally, if I use \cite{source1, source2, source3}, I get a citation like  [3, 45, 98]   If I now want to give a page number for one of them, it looks confusing imho, as I should get (did not try it out up to now, honestly)   [3, 45, 78, p. 23f, 98]   So imho it would make sense to change one of the separator from a comma to e. g. a semicolon like:  [3; 45; 78, p. 23f; 98]   Question 1: Does that make sense, or are there other conventions for citing sources with and without page numbers together?  (Up to now I collected the citations without page number in one cite command and added singular \cite[][p. xy]{} commands for those with page numbers., so I'd get:   [3, 45, 98][78, p. 23f]   )  the \cites[]{}[]{}[]{} could also do that, but it also uses the same separators for entries and postnotes.  Question 2: How could I change the separator globally for those number-citations from comma to semicolon in biblatex? Are moderator tools, specifically flagging or voting to close going to be implemented in the Android app? If we have a dispute, we should at least have the flag option.  What about share option? If we would like to share a question, we could long press on the question title, and the question title, excerpt, and short URL copied to clipboard. What is the correct way to install proprietary ATI Catalyst Video Drivers (fglrx) directly from AMD? Short science fiction film about a Midwest farmer who builds a bunker after finding a space plant In the review page, it shows stats of recent reviewers. But it is showing wrong stats. Because today (on Monday) it shows week count 53 (on Meta Stack Overflow) which is impossible as there is a limit of 20 reviews per day.    PS: This bug   and . But the bug has occurred again. PostgreSQL Shapefile import failed I am very new to PostGIS/PostgreSQL. In fact, I downloaded it because of the answers I got to this question:   I installed both PostgreSQL and PostGIS. But I am not able to import a shapefile to the database? It gives an error, "Shapefile import failed". What am I doing wrong? I have a package (fcl) in my PPA  in my launchpad PPA and it depends on another package (libccd) which is in another PPA ppa:imnmfotmal/libccd. fcl has both build and run dependency in libccd. So i added libccd as a PPA dependency in launchpad and both are successfully build. but when i am trying to install fcl package after adding the fcl PPA, its throwing an error Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  fcl : Depends: libccd but it is not installable E: Unable to correct problems, you have held broken packages.  but its successfully getting installed after adding the libccd PPA also. I want fcl to install libccd automatically without adding its PPA. how can i achieve it ?? Output of apt-cache policy fcl fcl:   Installed: (none)   Candidate: 1.0-0ppa5   Version table:      1.0-0ppa5 0         500 http://ppa.launchpad.net/imnmfotmal/fcl/ubuntu/ trusty/main amd64 Packages Another way to write least prime factor. Blurring/Feathering a Procedural Pointiness Mask I'm trying to create a procedural mask to affect the sharp edges of my model using the Pointiness output from the Geometry node, leading to the eventual idea of using it to create customisable weathering effects, such as .  This is the base setup that I've got so far.   How is it possible to blur/feather the black edges of the mask so that they would essentially expand across the object until the whole object is rendered black?   I've had a look at both of the go-to texture blur methods suggested for cycles found  and  however these seem to rely on there being a vector input/output for the texture, which is not the case in my example.  The Procedural Cracks tutorial by CGMasters came closest to what I was trying to achieve with the 'Worn Edges' section of the , but I didn't have any success trying to convert it to my situation.  Any ideas would be massively appreciated! :)  EDIT: Not sure if it was clear enough from the description but I'm trying to steer clear of baking/UV-Unwrapping/the Works on this one... Purely procedural :)  UPDATE: I've made a couple of updates to the shader which has given me slightly better results, although it's still not quite there and the mask blur/expansion issue is still not successful.  This is what it now looks like:   The issue is now coming from the grey values of the mask 'leaking' out across the whole mesh and not stemming from the black values... if that makes sense? :P   In researching weathering effects in blender, I stumbled across , which is exactly what I want to achieve?  UPDATE 2: Still no luck achieving the desired effect in the gif, however I feel I'm slightly closer from adding another colour ramp node after the previous ones.    Does anyone have any more ideas?  UPDATE 3: Found a working solution, added an answer below if people are interested :) When to use a GAM vs GLM I realize this may be a potentially broad question, but I was wondering whether there are assumptions that indicate the use of a GAM (Generalized additive model) over a GLM (Generalized linear model)? Someone recently told me that GAMs should only be used when I assume the data structure to be &quot;additive&quot;, i.e. I expect additions of x to predict y. Another person pointed out that a GAM does a different type of regression analysis than a GLM, and that a GLM is preferred when linearity can be assumed. In the past I have been using a GAM for ecological data, e.g.:  continuous time-series when the data did not have a linear shape I had multiple x to predict my y that I thought to have some nonlinear interaction that I could visualize using &quot;surface plots&quot; together with a statistical test  I obviously don't have a great understanding of what a GAM does different than a GLM. I believe it's a valid statistical test, (and I see an increase in the use GAMs, at least in ecological journals), but I need to know better when its use is indicated over other regression analyses. Many years ago I read a book or story where a group of people discover a dark city - maybe on another planet - which appears devoid of life but is in very good condition. As they gradually explore the city one of the them falls into a trap and is cut to pieces by something mechanical. This detail I can remember as it was a pretty gruesome idea. I don't know the ending but my guess is that none of them make it out alive. cat line X to line Y on a huge file Say I have a huge text file (>2GB) and I just want to cat the lines X to Y (e.g. 57890000 to 57890010).  From what I understand I can do this by piping head into tail or viceversa, i.e.   head -A /path/to/file | tail -B   or alternatively  tail -C /path/to/file | head -D   where A,B,C and D can be computed from the number of lines in the file, X and Y.  But there are two problems with this approach:   You have to compute A,B,C and D. The commands could pipe to each other many more lines than I am interested in reading (e.g. if I am reading just a few lines in the middle of a huge file)   Is there a way to have the shell just work with and output the lines I want? (while providing only X and Y)? Example of $f,g: [0,1]\to[0,1]$ and Riemann-integrable, but $g\circ f$ is not? I'm new to linux and the terminal. As I learn how to use the terminal to navigate through directories, I like to use the gui file explorer to mirror my terminal navigation. The icons and file extension info in the gui file explorer help me figure out what everything is. However, I can't access the root folder via the gui, I can only access it via the terminal. Is there a way to enable access to the root folder outside of the terminal?