Mathematica style plotting in Python?
How to use Mathematica functions in Python programs?
How do you switch from Wayland back to Xorg in Ubuntu 17.10? Some of my applications don't work on Ubuntu 17.10 Wayland. How can I switch back to Xorg? I'm not particularly fond of apps cluttering my $HOME directory with their own files or directories. It's rarely a problem, because most apps have the courtesy to hide their data by prefixing it with a dot or conforming to the ~/.config standard. But not snap.  Q1: Have I misunderstood this directory?  Is ~/snap really a directory which I'm supposed to enter and access on a daily basis on a par with ~/downloads, ~/pictures, ~/work, etc?  Q2: In any case: Can I move it e.g. ~/.snap?  I can't find anything like /etc/snap, /etc/default/snap, or ~/.config/snap to tweak things. I tried export SNAP_USER_DATA=$HOME/.snap but it didn't work. Cannot set LC_CTYPE to default locale: No such file or directory I know that the Naruto movies are outside the timeline in the sense that they don't affect whatever happens after them. However, they must fall somewhere in the Naruto timeline — based on who are in the movies and how the characters look like, etc. For example, if Sasuke isn't in the movie, it should take place after he left. For each of the movies, approximately what timeframe (between episodes/arcs) are they set?  The movies:   Ninja Clash in the Land of Snow Legend of the Stone of Gelel Guardians of the Crescent Moon Kingdom Naruto Shippuden the Movie Bonds The Will of Fire The Lost Tower Blood Prison Road to Ninja The Last - Naruto the Movie Boruto: Naruto The Movie What do I use on linux to make a python program executable Isn't finding the inverse of $a$, that is, $a'$ in $aa'\equiv1\pmod{m}$ equivalent to solving the diophantine equation $aa'-mb=1$, where the unknowns are $a'$ and $b$? I have seem some answers on this site (where the extended Euclidean Algorithm is mentioned mainly) as well as looked up some books but there is no mention of this. Am I going wrong somewhere or is this a correct method of finding modular inverses? Also can't we find the Bézout's coefficients by solving the corresponding diophantine equation instead of using the extended Euclidean Algorithm? What are valid values for "data defined" labeling settings? Let $\mathbb{R^{ n×n}}$ be the space of n × n real matrices. Show that if $ A(t) \in \mathbb{R ^{n×n}}$ is a differentiable function of $t$ then $\frac{d(det A(t))}{dt}$ is the sum of the determinants of $n$ matrices, in which the $i$th matrix is $A(t)$ except that the $i$th row is differentiated. Use this result to prove that the directional derivative of the determinant function at the matrix $A \in \mathbb{R ^{n×n}}$ along the direction $B \in \mathbb{R^{ n×n}}$ is given by $$(det)^{'} (A; B) = tr(Adj(A)B) = \langle Adj(A)^{T} , B \rangle $$ where $Adj(A)$ is the adjoint of $A$, and where the inner product on $\mathbb{R^{n×n}}$ is the trace inner product given by $\langle X, Y \rangle = tr(X^{T} Y )$ Conclude that $$D(det)(A) = Adj(A) ^T $$. Infinite distinct factorizations into irreducibles for an element Consider the factorization into irreducibles of $6$ in $\mathbb{Z}[\sqrt{-5}]$. We have $6=2 \times 3$ and  $6=(1+\sqrt{-5}) \times (1-\sqrt{-5})$, i.e. $2$ distinct factorizations. And,  $$6^2=3 \times 3\times2\times2$$ $$=(1+\sqrt{-5}) \times (1-\sqrt{-5}) \times (1+\sqrt{-5}) \times (1-\sqrt{-5})$$ $$=(1+\sqrt{-5}) \times (1-\sqrt{-5})\times3\times2.$$ More generally, $6^n$ will have $n+1$ distinct factorizations into irreducibles in $\mathbb{Z}[\sqrt{-5}]$ by a simple combinatorial argument. But, can we construct a ring in which there exists an element that has an infinite number of distinct factorizations into irreducibles? To make life harder, can we construct an extension of $\mathbb{Z}$ in which this happens? I have been thinking about this for a while and have managed to find no foothold.. Any help is appreciated. Deciding whether $2^{\sqrt2}$ is irrational/transcendental Is $2^\sqrt{2}$ irrational? Is it transcendental? Is it possible to remove a terminal command? For example, if there was a command call lookup (not an alias), how would I go about removing it? How to create a label combining different font sizes or types? I would like to place the elevation-number of a point in a different front size and centred under its name:    Is that possible?  (That is my actual labeling: label || '\n' || elevation) Lie bracket for Lie algebra of $SO(n,m)$ How does one show that the bracket of elements in the Lie algebra of $SO(n,m)$ is given by  $$[J_{ab},J_{cd}]  ~=~ i(\eta_{ad} J_{bc} + \eta_{bc} J_{ad} - \eta_{ac} J_{bd} - \eta_{bd}J_{ac}),$$  where $\eta$ has is the definite symmetric form with signature $(n,m)$? How to print every Nth character of a string? This line of code does exactly this except I want it to start at the first character not the 7th. $ echo 1234567890abcdefghijklmnopqrstuvwxy | sed 's/.\{1,7\}\(.\{0,1\}\)/\1/g'  What I'm looking for is 19gow Differences between the introduction of a sandwich thesis and a paper I would like to know what are the main differences between the introductory part of a paper and of a thesis. My thesis would be a sandwich type, so I would have to wrap everything there.  Some of the differences are:   Longer in thesis. Deeper in thesis. Extended definition of key terms, concepts and methodology in thesis. Clear definition of the whole goal in thesis, whereas paper smaller goal.   To narrow the possible answers, I do research on the molecular aspects of the infection steps of a pathogenic swine bacteria. Also develop strategies to block infection by using vaccines. Is a hexagonal house feasible? Recently I have been considering the economics and feasability of building a house versus buying a used one. In my design I settled on a hexagon as the logical shape for the frame, which I am considering for masonry construction. This would be a big house, each side being at least 30 feet wide (footprint 2340 sq ft). The advantages of a hexagon are obvious: simple roof shape, no valleys, space efficient, heat efficient (this would be in New England and subject to cold winters), good wind resistance.  What I can't understand is why there seems to be no-one building hexagonal houses? The only notable building I could find at all was the Supreme Court.  Possible explanations would be that the shape is expensive for small houses due to the 6 corners, but for a large house like mine the room shapes work out fine, in fact they are better than a box house. Maybe its just tradition? People don't like it because it looks like church? Builders have some objection to 60-degree angles?  What is the reason there are no hexagonal houses? apt-get cannot connect to Ubuntu archives I just installed a fresh version of Ubuntu 19.10 today, and the first thing I decided to do was to install GNU Screen, using sudo apt-get install screen. my output was: Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package screen  I figured the package archives were not quite updated as it was a clean install so I tried sudo apt-get update. This is what I got: Get:1 http://security.ubuntu.com/ubuntu eoan-security InRelease [97.5 kB]       Err:2 http://au.archive.ubuntu.com/ubuntu eoan InRelease   Cannot initiate the connection to au.archive.ubuntu.com:80 (2001:388:30bc:cafe::beef). - connect (101: Network is unreachable) Could not connect to au.archive.ubuntu.com:80 (202.158.214.106), connection timed out Err:3 http://au.archive.ubuntu.com/ubuntu eoan-updates InRelease      Cannot initiate the connection to au.archive.ubuntu.com:80 (2001:388:30bc:cafe::beef). - connect (101: Network is unreachable) Err:4 http://au.archive.ubuntu.com/ubuntu eoan-backports InRelease   Cannot initiate the connection to au.archive.ubuntu.com:80 (2001:388:30bc:cafe::beef). - connect (101: Network is unreachable) Fetched 97.5 kB in 31s (3,106 B/s) Reading package lists... Done Building dependency tree        Reading state information... Done All packages are up to date. W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/eoan/InRelease  Cannot initiate the connection to au.archive.ubuntu.com:80 (2001:388:30bc:cafe::beef). - connect (101: Network is unreachable) Could not connect to au.archive.ubuntu.com:80 (202.158.214.106), connection timed out W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/eoan-updates/InRelease  Cannot initiate the connection to au.archive.ubuntu.com:80 (2001:388:30bc:cafe::beef). - connect (101: Network is unreachable) W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/eoan-backports/InRelease  Cannot initiate the connection to au.archive.ubuntu.com:80 (2001:388:30bc:cafe::beef). - connect (101: Network is unreachable) W: Some index files failed to download. They have been ignored, or old ones used instead.  I'm really not sure why it would be doing this, other than maybe some first-use hiccups? The computer is definitely connected to the internet, as I am writing this from that machine, and I have tried running the commands after rebooting and it still gives the errors. I can't seem to be able to connect to au.archive.ubuntu.com at all. ping au.archive.ubuntu.com just sits there without a response. If anyone could help, that would be great! If any extra information is required I'd be happy to edit it into the question. Do ground seeds contain oil? php sort associative arrays by keys that those keys exist in other array Logo Pack - What should I include? What files should i put in a logo pack to give to clients? Should I put small, medium and large version of my logo as well as the vector file.