Calculating the summation $\sum_{n=1}^{\infty}\frac{H_{n+1}}{n(n+1)}$

I need to find explicitly the following summation  $$\sum_{n=1}^{\infty}\frac{H_{n+1}}{n(n+1)}, \quad  H_{n}=1+\frac{1}{2}+\cdots+\frac{1}{n}$$  From Mathematica, I checked that the answer is $2$. The same result is .  A thought from afar: $$ \begin{align} \frac{H_{n+1}}{n(n+1)} &=H_{n+1}\left(\frac1n-\frac1{n+1}\right)\tag1\\ &=\color{#C00}{H_{n+1}}\color{#090}{(H_n-H_{n-1})}-H_{n+1}(H_{n+1}-H_n)\tag2\\ &=\color{#C00}{\frac1{n+1}}\color{#090}{\frac1n}+\color{#C00}{H_n}\color{#090}{(H_n-H_{n-1})}-H_{n+1}(H_{n+1}-H_n)\tag3\\ &=\frac1n-\frac1{n+1}+\frac{H_n}{n}-\frac{H_{n+1}}{n+1}\tag4\\ &=\frac{H_n+1}{n}-\frac{H_{n+1}+1}{n+1}\tag5 \end{align} $$ What was done: $(1)$: partial fractions $(2)$: used $\frac1n=H_n-H_{n-1}$ and $\frac1{n+1}=H_{n+1}-H_n$ $(3)$: used $\color{#C00}{H_{n+1}=\frac1{n+1}+H_n}$ and $\color{#090}{\frac1n=H_n-H_{n-1}}$ $(4)$: partial fractions and $\frac1n=H_n-H_{n-1}$ and $\frac1{n+1}=H_{n+1}-H_n$ $(5)$: combined terms  Now this looks like Clement C's hint.


Are DNS server responses categorized as "ESTABLISHED" by iptables? If so, why?

CentOS 5.x  I'm trying to confirm which specific rule in my iptables config is allowing return UDP traffic from my DNS server. I THINK, it's this one:   -A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT     If I take off RELATED and bounce iptables, DNS queries on the server still work.   If I comment out the line entirely, and bounce iptables, DNS queries start failing.    So by that logic, it seems reasonable to me that iptables is considering the return UDP packet to be part of an ESTABLISHED connection state.  Why does it think that though?   I get that it sees the response coming back to a port pertaining to an open query but the man page for iptables defines ESTABLISHED state as "the packet is associated with a connection which has seen packets in both directions".  In this case, only one UDP packet would have been sent out and presumably only one would be coming back.  Where did the connection previously seen "packets in both directions"?   Apologies in advance if I'm over-thinking this.


Why are there no recipes combining both yeast and baking powder?

I've never seen anything with both yeast and baking powder. What's the reason for that? Shouldn't e.g. muffins get even more fluffy by adding some yeast? Or bread by adding baking powder? I know there are differences in flavor, but there are cakes with yeast as also non-sweet things with baking powder. So that shouldn't be the problem...


In a gambling game you can win a very huge amount of money if you can get 10 consecutive heads tossing a coin. Each toss costs you 1$. How much money will you bet, on average, in order to get 10 consecutive heads?


markdown spanning comma seems ineffective

When I tried to bold-face words spanning comma for English grammar questions that whether or not comma should be used, e.g. "unified**, will** induce the risks of strangling the usage of ...", that comma and following words put inside pair of double asterisks won't bold-faced in preview. I may not understand the correct way to do that or it's just how things are designed this way? I ended up moving the opening double asterisks in front of the word before the comma I wanted to highlight.


USB Drive missing space, no unallocated space found in Device Manager

I followed the link below to try and fix this issue but unfortuantly DiskPart, GParted or any other method has been unsuccessful. It's a 32GB flash drive and I'm seeing 1.8GB. Any ways of totally wiping and reformatting this to a stock flash drive?


I have a  which gives me the output of 12V and 3.3A, I want to connect it to a device which requires 12V and a few hundred milli amps, would this damage the device? or any device would automatically draw the current it needs and not anymore ?  If it matters the device is a display driver. .  Please, Help me understand the basics of current draw.


Python generate string based on regex format

I have some difficulties learning regex in python. I want to parse my tornado web route configuration along with arguments into a request path string without handlers request.path method. For example, I have route with patterns like:   /entities/([0-9]+)  /product/([0-9]+/actions  The expected result combine with integer parameter (123) will be a string like:  /entities/123  /product/123/actions  How do I generate string based on that pattern?  Thank you very much in advance!


The secret behind the spinning, asymmetrically weighted, 2D disk-shaped top?

When you spin an asymmetrically weighted, 2D disk-shaped top, the heavy part actually rises to the top. Why is this?        In the second video it shows that this is because of friction but trying this on a frictionless surface won't do much: The disk will go up and down and still the heavy part will be on the top.


It seems that verbatim is not working properly. It produce an error and the output is not as I expected. Here is the latex code   % !TEX encoding = UTF-8 Unicode \documentclass{beamer}  \mode<presentation> \usetheme{Madrid} \setbeamercovered{transparent}  \usepackage{beamerthemesplit} \usepackage[utf8]{inputenc} \usepackage{graphics} \usepackage{graphicx}  \usepackage{hyperref} \usepackage{booktabs} \usepackage{times} \usepackage[T1]{fontenc} \usepackage{natbib}  \usepackage[turkish]{babel} \usepackage{verbatim} \AtBeginDocument{\catcode`==12 }  \begin{document} \begin{frame}  \begin{verbatim}  Call: glm(formula = propn.dead ~ conc, family = binomial(link = logit),      weights = number)  Deviance Residuals:      Min       1Q   Median       3Q      Max   -1.5941  -0.3944   0.8329   1.2592   1.5940    Coefficients:             Estimate Std. Error z value Pr(>|z|)     (Intercept)  -60.717      5.181  -11.72   <2e-16 *** conc          34.270      2.912   11.77   <2e-16 *** --- Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1  (Dispersion parameter for binomial family taken to be 1)      Null deviance: 284.202  on 7  degrees of freedom Residual deviance:  11.232  on 6  degrees of freedom AIC: 41.43  Number of Fisher Scoring iterations: 4 \end{verbatim} \end{frame} \end{document}


Intellisense underlines UDF name in red but it still works

I have several UDFs defined and they work as expected, but intellisense, wherever they are used, underlines them in red and says "Cannot find either column dbo or the user defined function or aggregate." The functions work, they are simply not being recognized by intellisense. Any way of making intellisense recognize them?


I'd like to get all collections in the current scene and can't find a way to do that. I found bpy.data.collections to get all collections stored in the blend and C.scene.collection.children to return the first level of sub-collections. However, I can't find out which collection is linked to each scene. I wonder if there is a simple way like iterating through the objects in context C.scene.objects?  Q: How to get all collections of the current scene?


What are best ways/resources to deal with imposter syndrome or runaway thoughts? I recently published a paper (only my 2nd first author) and was excited about it for about 2 mins before I got very bad anxiety over it. I found some novel findings in my paper and so far it has been well received but I keep thinking "I'm proposing a a new thing that hasnt been seen in the field, what if it was a fluke and can't be repeated and I end up losing my career in science." I did my due diligence in the experiments but I have lost sleep over this thought, and have started to doubt myself as a scientist. I don't have insurance at the moment so can't see a therapist but I was wondering if there were online tools to help with this.


I want to install ubuntu in an ipad1 16 Gb, and I'm ready to follow your instructions

Wifi, read pdf, print through wifi, openoffice. there are about 15 million tablets ipad1 sold, waiting for it.


I am looking for a way or multiple ways (Always good to know many ways) how to convert Text (String) to HexaDecimal like this   Any help would be appreciated. I've been looking for hours around different places and I have so far found no code that could potentionally do this for me.  All the ways that this could be done is accepted, I love learning about coding.


How would you go about showing that $p(x)=\frac{x^5-1}{x-1}=x^4+x^3+x^2+x+1$ is irreducible over $\mathbb{Q}$. I'm having trouble seeing how one can show whether this kind of polynomials are irreducible or not  Thanks for your help.


Yesterday I had a discussion with some of my friends while playing league. It was about the contents of the mystery gifts and while I said there are restrictions, they were convinced that you can get absolutely every skin from a gift (including victorious, and really old ones).  Now while I'm pretty sure that there are restrictions (Triumphant ryze for example), I'm not really sure on which skins they affect.   What about the victorious, riot, legacy, pax and completely removed skins (Rusty BC, Black Ali, Urf WW)? Can you get those with a mistery gift or is it impossible to get those right now?


Is there an upper bound on acceleration?

We know from the Theory of Relativity that there is an upper bound on velocity, namely the speed of light $c=2.99792458\cdot 10^8\frac{m}{s}$. Is there an analogous upper bound on acceleration? I don't think there is an upper bound, and it can be as large as possible, but is it really true that there is no upper bound? If it is true, then what is the largest acceleration that can realistically happen (on Earth and in the universe)? Of course the speed of light puts a limit on how long any such acceleration can last (I haven't studied relativity yet, so if this statement is wrong, correct me), but how large can the instantaneous acceleration be?


Unanswered Question - Answered in comments

I am relatively new to SO and see this very often. As the title suggests there are many questions that are answered in comments itself and they remain unanswered forever. Shouldn't there be an option to mark a comment as an answer and the comment is copied over as an answer or something like that?  I guess there should be an option to the creator of the question to do this.


Converting expressions to polynomial form

My question is from Apostol's Vol. 1 One-variable calculus with introduction to linear algebra textbook.  Page 57. Exercise 12. Show that the following are polynomials by converting them to the form $\sum_{k=0}^{m}a_kx^k$ for a suitable $m$. In each case $n$ is a positive integer. $a)$ $(1+x)^{2n}.$ $b)$ $\frac{1-x^{n+1}}{1-x}, x\not=1.$ $c)$ $\prod_{k=0}^{n}(1+x^{2^k}).$  The attempt at a solution: a) part of the problem is pretty easy I guess, it is example of binomial theorem, so the answer would be $(1+x)^{2n}=\sum_{k=0}^{2n}(^{2n}_{k})x^k.$ Answer to part b) would be the following: $$\frac{1-x^{n+1}}{1-x}=\frac{(1-x)(1+x+x^2+\cdots+x^n)}{1-x}=1+x+x^2+\cdots+x^n=\sum_{k=0}^{n}x^k.$$thanks to @DiegoMath's hint. As for part c), we have $$\prod_{k=0}^{n}(1+x^{2^k})=(1+x)(1+x^2)(1+x^4)(1+x^8)\cdots(1+x^{2^n})$$ and I have trouble "converting" this to sum which would be of a form of polynomial.


I am using Opera 37.0 on Ubuntu 15.10 (64 bit). Opera shows that the Flash Player needs to be updated. I cannot find any option of updating the plugin. Tried Prefrence-- but there is no advnaced settings.


Is there a partial sum formula for the Harmonic Series?

There is a partial sum formula for $$\sum_{x=1}^n x^1 = \frac{n(n+1)}{2}$$ and even one when the exponent of $x$ is $0$: $$\sum_{x=1}^n x^0 = n$$ but I cannot find one for exponent $-1$: $$\sum_{x=1}^n x^{-1} = ?$$  I tried $$\frac2{n(n+1)},$$ but that failed miserably.


Mysql get data not present in another table

I am having four mysql tables  Table 1, t_source:  +--------+-------+ | cindex | cname | +--------+-------+   Table 2, t_language:  +--------+-------+ | cindex | cname | +--------+-------+   Table 3, r_src_cat:  +-----------+-----------+-------+ | src_index | lan_index | clink | +-----------+-----------+-------+   Table 4, r_source:  +-----------+-----------+-------+ | src_index | lan_index | clink | +-----------+-----------+-------+   I want to retrieve clink, source and language indexes or name from table 3 - r_src_cat which are not present in table 4 - r_source. For this I am using following query:  SELECT   r_src_cat.clink,   t_source.cname,   t_language.cname FROM r_src_cat, r_source, t_source, t_language WHERE r_src_cat.c_src_index != r_source.c_src_index       AND r_src_cat.c_lan_index != r_source.c_lan_index       AND t_source.cindex = r_src_cat.c_src_index       AND t_language.cindex = r_src_cat.c_lan_index ORDER BY r_src_cat.clink;   This is giving me wrong results. There are about 12 records missing from r_source, but result is giving me like infinite number of any record displaying same record multiple times and that record is present in table.  Please rectify my query.  Thanks  EDIT---  Foreign Key Relations  Table 3, r_src_cat.src_index=>t_source.cindex Table 3, r_src_cat.lan_index=>t_language.cindex  Table 4, r_source.src_index=>t_source.cindex Table 4, r_source.lan_index=>t_language.cindex  EDIT 2----  By different suggestions, i run this query  SELECT   r_src_cat.c_src_index,   r_src_cat.c_lan_index FROM r_src_cat   LEFT JOIN r_source ON r_src_cat.c_src_index = r_source.c_src_index WHERE r_source.c_src_index IS NULL;   Result  352 0 352 0 352 0 352 0 352 0 352 0 352 0 352 0 352 0 352 0 352 0 338 0 338 0 569 0 569 0 569 0   This result is correct, but not complete. For e.g.,I run following query on table 3:  SELECT   r_src_cat.c_src_index,   r_src_cat.c_lan_index FROM r_src_cat WHERE r_src_cat.c_src_index = 535 AND r_src_cat.c_lan_index = 11;   It is showing a result set with one row.  Now the same query on table 4 - r_source:  SELECT   r_source.c_src_index,   r_source.c_lan_index FROM r_source WHERE r_source.c_src_index = 535 AND r_source.c_lan_index = 11;   It returns and empty return set.  So combination 535,11 is present in table-3, but not in table 4. But the same combination is not present in running the Left Join query on table 3 & 4 mentioned above.


MySQL: Update a column if value is numeric only

Is there a way to update a column in mysql if value is number only?  ie. UPDATE myTable SET ColumnA =NewValue WHERE ColumnA isnumeric  Column A is varchar(25) and Column A value may be text or 1 or 2 or 23...  thank u


Is it possible to define the largest of cardinals?

Construction of $V$ may be described by the following sequences:  $\aleph_o$, $\aleph_1$, $\aleph_2$, ..., $\aleph_\omega$;  $\aleph_{\omega+1}$,...,$\aleph_{\omega+\omega}$;  $\aleph_{\omega+\omega}$, $\aleph_{\omega+\omega+\omega}$, ...,  $\aleph_{\sum_{i=0}^{\infty}(\omega_i)}$.   I repeat the subscript of the last $\aleph$ for readability: ${\sum_{i=0}^{\infty}(\omega_i)}$. Can I define $\aleph_A$ , where $A={\sum_{i=0}^{\infty}}(\omega_i)$?


How to make a LAMP server accessible from the internet?

Hi I want to make my own SNS (Social Networking Site), so I installed LAMP on my Ubuntu 14.04. But its not accessible from the internet! I can run the server only on my computer by typing "https:\localhost" on my browser.  I don't want any domains; I just want that whosoever from any part of the world wants to use my SNS he/she just have to type the ip-address and my SNS opens i.e. I want my server accessible from the internet.  My router is Binatone DT 850W. Can you please tell me what should I do?


How do I get my hydraulic disc brakes working well again

I just bought a new bike (my first brand new one ever) a few months ago and a while ago I decided to give it a wash and after that my front hydraulic brake hasn't been working as strong as it used too. I used to be able to lock it up on gravel with two fingers, now I can't get them to lock up at all even with all my strength.  (This is my bike)


Collecting metals from electronic waste and reusing them to make other products "is" or "are"...?

I want to if this sentence is correct.      Collecting metals from electronic waste and reusing them to make other products is called the “urban mining industry.   In the sentence the two gerunds are used as a subject and the verb is 'is', the singular form. Is is correct? Is it wrong if I use 'are' as a verb?


Python Append to Predefined List of Lists (What's going on under the hood here?)

I'm trying to initialize an empty list as [[], []] and then append to it. However, I am getting unexpected results with the following method vs another. What is going on under the hood in this scenario? y = [[]] * 2 print(y) y[0].append(1) y[1].append(2) print(y)  output: [[],[]] [[1,2], [1,2]]  While this following code gives me the intended results that I want. x = [[], []] print(x) x[0].append(1) x[1].append(2) print(x)  output: [[],[]] [[1], [2]]


I'm confused with how symbolic links work. I hope someone can guide me in the right direction.  I want to put a demo online from our software, which normally only runs locally on a Mac Mini. So I put all the files in the var/www from my Ubuntu 12.04 server installation.  There are a lot of hardcoded links in the software which point to /Applications/XAMPP/xamppfiles/htdocs/narrowcasting  Of course, I could change all these code on my html/php files in /var/www, but that would be quite annoying. I hope I can fix this by creating a symbolic link. For example, I have a directory called thumb in /var/www/thumb. The PHP code is trying to put an image in /Applications/XAMPP/xamppfiles/htdocs/narrowcasting/thumb.   Can anyone give me a tip how to achieve this with a symbolic link?


Angle subtended at the centre by a segment of a circle

To find the area of segment of a circle, I used the following formula:$\frac{r^2}{2} (\theta$ - $\sin \theta$)  But if the area is given and I want to find the angle $\theta$ how can I do that.  $\theta$ - $\sin \theta$ = $\frac{2A}{r^2}$  where A and r are the given values of area and radius of the circle respectively. Please answer this question as soon as possible any help would be appreciated.


Can't open file manager after 24 hr continuous use of Ubuntu 16.04

If I use my Ubuntu system for more than 24 hrs, the file manager closes automatically. And if I try to open it again, it opens and closes immediately.   I tried to open it using the command sudo nautilus, but that returns  Maximum number of clients reached ** (nautilus:31308): WARNING **: Could not open X display Maximum number of clients reached (nautilus:31308): GnomeDesktop-WARNING **: Unable to open display ':0'  when setting background pixmap  Segmentation fault (core dumped)


Can I upgrade the CPU without reinstalling my Xen/Ubuntu system?

I built myself a computer a couple of years ago and run it now with Ubuntu 9.04 under Xen 3.0. I'm not a hardware expert by any means, but I managed to make it all work. However, due to the lack of support for Xen by Ubuntu, I can't easily upgrade to more recent versions of the operating system. I have therefore decided to switch from Xen to KVM, which is supported by Ubuntu.  My current CPU, an Intel Pentium 4 Processor 640, is not KVM-compatible (i.e. does not provide VT-x or AMD-V). My motherboard is an ASUS P5LD2. I have looked for other processors which work with the ASUS P5LD2 motherboard, implement VT-x or AMD-V, and are available in shops near me.  The Intel E6700 seems to fit the bill.  If I switch off my computer, replace the Intel 640 with an Intel E6700, update the BIOS for the E6700, and switch it back on again: will it still work with the existing installed software (Xen 3.0, Ubuntu 9.04 etc.)? Or do I have to reinstall everything from scratch?  Steve


Where are the compiler switches used for gcc documented?

Need to compile some add'l libs on Ubuntu w/ same switches as gcc.  Q: How can I determine on Ubuntu what siwtches were used with libc?  One earlier suggestion was using "apt-src", but nothing in the man pages for apt-src seems to show what switches were used with a binary package. "apt show" has some information, but not the actual compiler switches.   This matters because I'm trying to compile other packages that need consistent library switches between mutiple lib's.


How to define a group structure on a given arbitrary set?

I am doing a course in Abstract Algebra, and my teacher gave me a question: "Find all possible group structures on a set X whose cardinality is ≤ 4."  I know basic group theory, but I am unable to understand what exactly does the question expect us to do (meaning of the question in simple language, and a possible technique or way to answer such questions, exact answer not needed.)


I'm trying to run a program over SSH that keeps running when I disconnect.  gave me the following command:  nohup sleep 30 > foo.out 2> foo.err < /dev/null &   Unfortunately, it doesn't seem to work. I login (ssh -Y) to a remote bash shell and execute it, disconnect, and come back within 30 seconds, but jobs shows nothing and the foo files also show nothing. Is there any other way I can run background jobs over ssh after I logout?


Ubuntu won't find any wifi near me to connect to

Ubuntu won't find any wifi near me to connect and I don't know how. I was fine connecting to wifi with windows 7 but now I can't connect to any or find wifi.     Here is the output of lspci -knn | grep Net -A3; rfkill list:   09:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5752 Gigabit Ethernet PCI Express [14e4:1600] (rev 02)     Subsystem: Dell NetXtreme BCM5752 Gigabit Ethernet PCI Express [1028:01cc]     Kernel driver in use: tg3     Kernel modules: tg3 0c:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11b/g WLAN [14e4:4311] (rev 01)     Subsystem: Dell Wireless 1390 WLAN Mini-Card [1028:0007]     Kernel driver in use: b43-pci-bridge     Kernel modules: ssb 0: dell-wifi: Wireless LAN     Soft blocked: no     Hard blocked: no


Splitting lines automatically at specific distances using ArcGIS Desktop?

I have a set of polylines which I need to split at varying distances from their starting points.   In general, I'm looking for a something similar to the SPLIT function within the editor tool. There it is possible to specify a certain line length where the split should be applied.   For instance: I have a line A of 3200m length, that I need to split into two separate geometries, one from 0 til 1700m, and one from 1700m til 3200m.      Can this be done in ArcGIS Desktop?   I'm using ArcGIS Desktop 9.3.1. on WinXP with Python 2.7.2.


Let $R$ be an integrally closed domain and let $K$ be its fraction field. Let   $L\supseteq K$ be a field. If $\alpha\in L$ is integral over $R$ (i.e.   if it satisfies a monic polynomial in $R[x]$), does its minimal   polynomial over $K$ lie in $R[x]$?   CONTEXT:  I'm trying to prove that the trace $t_{L/K}$ of integral elements lie in $R$ (provided that the extension $L/K$ is finite). I'm trying to use the fact that the trace of $\alpha$ is an integer multiple of certain coefficient of its minimal polynomial, so this trace lies in $R$ if such coefficient does.   Since $\alpha$ satisfies an integral relation $p(\alpha)=0$ over $R$, it's minimal polynomial $q$ over $K$ exists and it divides $p$, does it imply that $q\in R[x]$? if so, then I'd be done.   It's clear that the result is true if $R$ is a UFD. In such a case, it's only a matter of looking at the unique factorization of the polynomial in $R[x]$ and apply Gauss' lemma. However, I don't see a straight proof nor counter example in the general case.


Intuos Pro Medium or Large for an architect

I'm an architecture student. I draw, design and render with Copic markers and I also have a part time job designing logos and catalogs. I use a 24 inch monitor.  Now I want to buy a Wacom Intuos Pro, and I can't choose between medium and large. Initially I wanted to buy the large one, but I've heard it's way too big. Personally, I think the active area on the medium one is not enough. I really dont know what to do – please help.


If you are attuning to a magical ring the DMG magic item categories states:  Magic rings offer an amazing array of powers to those lucky enough to find them.  Unless a ring’s description says otherwise, a ring must be worn on a finger, or a similar digit, for the ring’s magic to function.  (emphasis mine) However, the DMG section Wearing and Wielding Items states  Using a magic item’s properties might mean wearing or wielding it. A magic item meant to be worn must be donned in the intended fashion: boots go on the feet, gloves on the hands, hats, and helmets on the head, and rings on the finger. Magic armor must be donned, a shield strapped to the arm, a cloak fastened about the shoulders. A weapon must be held in hand.  (emphasis mine) This appears to contradict the previous ruling, so what would qualify as a "finger or a similar digit"? Further on, it states  In most cases, a magic item that’s meant to be worn can fit a creature regardless of size or build. Many magic garments are made to be easily adjustable, or they magically adjust themselves to the wearer.  That leads to the question, could a toe ring work?  We then move toward gifted male* adventurers, pierced horn / tusk / frill / nose / ear, etc  *male is assuming anyone with traditionally male genitalia


How do you export/move your home directory to another user?

Let's say I have 2 account, account A & B. I don't want to use account A anymore, yet I still want to retain all the files. I want to move account A's belongings to account B. How do I do that?


System: Ubuntu 11.04, regular user account:     find /usr/share -name *.wav   works okay, but if i do:     find /usr/share -name *.png   it does not produce any output  How do i change the last command to produce an output, like the first command did?


I need help identifying a short science fiction story about cancer as human evolution

The short story was part of an anthology.  A cancer clinic near a war zone receives a famous cancer patient who they attempt to cure.  At the end they find a cure, but the cancer patient reveals he doesn't want to be cured. He instead wants to destroy any cures as he is nothing but a human-shaped tumor.  According to him, cancer is the next phase in human evolution. He transforms into a bomb and blows up the clinic (the better to hide the evidence in the war zone), reforms to his original shape and walks off.


Can anyone recommend a programmers' editor?

I'm looking for a programmers' editor. I know Xcode and I use it for application programming but I'm looking for something that will:   Syntax highlight PHP, SQL, Javascript (including jQuery) and CSS not required but would be nice; also Lua, Python, and Perl    IntelliSense type stuff, start typing and get all the functions/objects/variables it could be and any parameters. Xcode does this well for C/C++/Objective-C but looking for languages that are listed above. Would be nice if it worked with projects and not just files    Integrated with SVN, CVS, or GIT Had upload-to-server functionality built in   I am aware of  but am looking for other options before I drop 100 bucks.


What is the best way to store negatives from the 1940s and '50s?

These were stored in their canisters for over 60 years. I have copied all of them. What is the best way to store them? Should I straighten them out and put them in protective sleeves? Or should I leave them as-is, since they are getting brittle to straighten?


I have a SuperMicro [10024470] Supermicro SYS-5028D-TN4T Mini- Tower Embedded Intel Processor Barebone and Supermicro MEM-DR432L-CL03-ER26 Memory 32GB DDR4 2666MHz RDIMM AND Supermicro (Seagate) 16TB 3.5. My problem is that IT didn't come w/any software(Operating System).  My question is the following:  How do I go about installing Ubuntu How do I go about getting RUFUS software to make a bootable USB drive & us the OS image file Any assistance would bee greatly appreciated.


Every time I try to update my system I get the message All packages are up to date. I think something goes wrong during the upgrade from 20.04 to 20.10. My process to verify updates is: sudo apt update and sudo apt upgrade. But in the first step I don't reach the updates. This is my sources file /etc/apt/sources.list deb http://sft.if.usp.br/ubuntu/ groovy main universe restricted multiverse deb-src http://sft.if.usp.br/ubuntu/ groovy main universe restricted multiverse  deb http://sft.if.usp.br/ubuntu/ groovy-security main universe restricted multiverse deb-src http://sft.if.usp.br/ubuntu/ groovy-security main universe restricted multiverse  deb http://sft.if.usp.br/ubuntu/ groovy-updates main universe restricted multiverse deb-src http://sft.if.usp.br/ubuntu/ groovy-updates main universe restricted multiverse


Always using `\clearpage` if figure does not fit

I am quite new to latex, and am having some troubles in general with figure placementent. Take this as and example: ...  \section{First} Sample text: %\clearpage \begin{figure}[h!]     \centering     \caption{Sample caption}     \label{fig:sample_1}     \includegraphics[width=0.6\textwidth]{sample/1} \end{figure}  \section{Second} Some other text  ...  Now, if I compile the tex document and the image is too big to fit in the current page, it is often added below the Second section. So then, I have to uncomment the \clearpage to break the current page (up to Sample text:) so that the image is added on a new page and the Second section after that. This bothers me quite a lot. I would much rather waste some space and always insert the image on a new page, if it doesn't fit. Is it possible to do so? The main problem is that  if I add something above the code block above, then the \clearpage is used even if the image now fit, as Sample text: got moved on a new page by itself. The strange thing to me is that I should be forcing the placement with [h!], but it still doesn't work..


Laptop surface vibrating because of ungrounded adapter

My laptop adapter is ungrounded, and because of that, I feel slight vibrations when I stroke the laptop surface (if I unplug my laptop, the vibrations go away, so it can't be the fan). The adapter is double-insulated so it should be perfectly safe without grounding - but those vibrations are still worrying me. It might be electricity that's passed to me, but I'm not sure what it really is. What are those vibrations, and are they harmful for me or my laptop?


What's the origin of the idiom go south? Why is it go south only? Why not go southwest or go east?  Are the direction-related idioms go south, go north, go east, and go west correlated?   Example, go south from :   to make an escape; to disappear. to fall; to go down. drop out of sight   I've read a few times go east young man or go west young man, but I am not sure that they formally exist or not.


Order of books in A Song of Ice and Fire

There are numerous ways to read A Song of Ice and Fire I have done the research. I would like to read the 4th and 5th books simultaneously but I read that you can read A Knight of Seven Kingdoms before A Dance With Dragons. Would it be OK to read A Knight of Seven Kingdoms before A Feast For Crows and then read book 4 and 5 simultaneously?


All explanations I found on the axiom of choice seem to say more or less the following: Although the axiom of choice is "intuitively obvious," it is necessary because making infinitely many choices is not "built into" the first order logic. I'm not so familiar with the first order logic, but which part of the following causes problem with the first order logic?  Let $X_1,X_2,X_3,\ldots$ be a sequence of nonempty sets. For each $X_i$, there exists an element $x_i\in X_i$. Let $f$ be a function on the set $\{1,2,3,\cdots\}$ defined by $f(i)=x_i$.  All statements look "first order" to me.


I've been pondering over this question since a very long time.  If a complex number can be prime then which parts of the complex number needs to be prime for the whole complex number to be prime.


How many trees are there on vertex set $[n]$ that contain a given edge $uv$?   If we glue the vertex $u$ and $v$ with an edge then there are $n-1$ vertices and using the Cayley's formula there are total $(n-1)^{(n-3)}$ trees with vertex set $[n-1]$ and a given edge $uv$.  Is this correct?


Semantical and syntactical derivation notation

What do the following two notations mean:  $$A \models$$   $$A \vdash$$   The first one would be saying that A is a contradiction? The second one that A is not a theorem? That doesn't sound right to me.


How to label the start\ end of the line in QGIS?

I work with this line layer:    The label is placed in the middle and i seek for a way to place it in the start\ end of the line. I search for that option in the placement tab in the properties but with no results.   I know that when i pan the map the label jump for the best location, but still i need to place the label in the start\ end of the line.  I try to find an option similar to the simple function in the ArcGIS:


I am querying rpm database using --qf flag   rpm -q --qf '<prm><N>%{N}</N></rpm>' --all   this work fine locally, now when I try to ssh it   ssh -l root ${host} rpm -q --qf '<prm><N>%{N}</N></rpm>' --all   I get  bash: -c: line 0: syntax error near unexpected token '<'  bash: -c: line 0: `rpm -q --qf <prm><N>%{N}</N></rpm> --all'   Note that    second line has a backquote and a forward quote, using double quote give same error, real use use %{N}, %{V}, %{INSTALLTIME:date} ...   I am missing something obvious, but what ?


Do not match if string contais specific word

I have vector of strings. I want to match only those, that contain "features." (with optional dot). The matched strings should not contain "ONLY"  and "PRACA". feature.Agencyjna_ONLY # needs to be removed feature.UoP # needs to be matched feature.UoD # needs to be matched feature.PRACA # needs to be removed featurePRACA # needs to be removed  I used two following constructions, but both of them do not work. \bfeature\.?[^(ONLY|PRACA)]+\b \bfeature\.?\w+(?!(ONLY|PRACA))\b  Desired output: feature.UoP  feature.UoD  Example:  Would be appreciated for any help!


How can i hide the references lines on a bezier curve?

I want to hide all those lines, only keeping the main curve while working, how can i do that?


Which one is more fundamental, Set theory or Axiomatic system? Which one can be defined without the other?


In some packages like tabularx, I find the following syntax in many places  {\ifnum0=`}\fi   or even   \ifnum0=`{\fi}   But I can't figure out why this can be useful for? Is ` a register of some kind? Or is it a TeX-hack to generate error on specific occasion ?


What exactly fries the chip when you invert power supply?

From my own experience, burning microcontrollers is quite easy. Put the 5V at ground, GND at VCC and in an instant your chip is burned.  What exactly goes on internally that causes it to stop functioning entirely? For instance, if I were magically able to open a chip and rearrange all its semiconductor connections and fix it, where exactly would I need to look, and what would I need to do?  If this is chip-specific, please choose any that could answer my question or give me an idea at least.


What is the frequency of the vertical and horizontal movement for small displacements?

$D$ is the stiffness of the springs, and $l_0$ is their original length, ,with $l>l_0$. My try was this:  $$m\frac{\mathrm{d}^2x}{\mathrm{d}t^2}=-D(r+(l-l_0))\cos{\alpha}+D((l-l_0)-r)\cos{\alpha}=-2Dr\cos{\alpha}$$ $$m\frac{\mathrm{d}^2y}{\mathrm{d}t^2}=-Dr\sin{\alpha}$$  Where alpha is the angle between the spring and the horizontal axis, and $r^2=x^2+y^2$, but I can't solve it.


Making functions not visible from outside of a library in C

Let's suppose I am making a library in C, that contains functions api1(), api2(), and api3(). However, those functions are very complicated, so I need other functions to make them. Let's call those functions subfunc1(), subfunc2(), and subfunc3(). What I want is that the users of this library can only use api1,2,3() and not subfunc1,2,3(). I can't just declare them static, because I want to place api1,2,3() into api.c file, and subfunc1,2,3() into subfunc.c file. So my questions are:  Is there any way to achieve this, besides including subfunc.c file into api.c file and declare subfunc1,2,3() as static? If including subfunc.c file into api.c file is the only way to achieve this, is it recommended? Is it widely used in practice? If not, why?


Given a positive real number construct a non measurable set of that outer measure   There are infinitely many non measurable sets but we cannot find the Lebesgue outer measure of a non-measurable set unless it is known explicitly.  Then how can we construct a non-measurable set of given Lebesgue outer measure? I don't want to use Bernstein sets since I'm not aware of them, but somebody suggested them to me.


I've just started playing with Guice, and a use-case I can think of is that in a test I just want to override a single binding.  I think I'd like to use the rest of the production level bindings to ensure everything is setup correctly and to avoid duplication.  So imagine I have the following Module  public class ProductionModule implements Module {     public void configure(Binder binder) {         binder.bind(InterfaceA.class).to(ConcreteA.class);         binder.bind(InterfaceB.class).to(ConcreteB.class);         binder.bind(InterfaceC.class).to(ConcreteC.class);     } }   And in my test I only want to override InterfaceC, while keeping InterfaceA and InterfaceB in tact, so I'd want something like:  Module testModule = new Module() {     public void configure(Binder binder) {         binder.bind(InterfaceC.class).to(MockC.class);     } }; Guice.createInjector(new ProductionModule(), testModule);   I've also tried the following, with no luck:  Module testModule = new ProductionModule() {     public void configure(Binder binder) {         super.configure(binder);         binder.bind(InterfaceC.class).to(MockC.class);     } }; Guice.createInjector(testModule);   Does anyone know if it's possible to do what I want or am I completely barking up the wrong tree??  --- Follow up: It would seem I can achieve what I want if I make use of the @ImplementedBy tag on the interface and then just provide a binding in the test case, which works nicely when there is a 1-1 mapping between the interface and implementation.  Also, after discussing this with a colleague it would seem we'd head down the road of overriding an entire module and ensuring we have our modules defined correctly.  This seems like it might cause a problem though where a binding is misplaced in a module and needs to be moved, thus possibly breaking a load of tests as bindings may no longer be available to be overriden.


If I start a bounty, can I lose privileges?

Just as an example:   If I have 130 reputation and provide 50 as a bounty for a question, do I lose any of my existing privileges (due to the 130-50 reputation)?


Why is the bottom half my picture black when shooting with Cowboy Studio remote triggers?

This is my very first day of shooting with flash and remote flash. And picture turned out like this: Bottom half of it is black. I have no idea what has caused this and how to prevent it? I just know that after this I shot a few more frames without flash or only with the camera's built-in flash and they were fine so I know the camera is not broken. When I read the photo EXIF info this is what I had: 1/400 sec with f 2.8 and 60mm.  My flash is a manual flash and its power was on 1/32 and zoom on 70mm. No specific reason for these numbers, I was only experimenting. Also I had set the exposure compensation of the camera to -5.00 in the hope that it would make the background darker and the foreground look more 3D because of the flash.


Yosemite 'About this mac' displaying the wrong storage

I am having a strange problem where my 'About this mac' > ' Storage' is showing that I Have 470gb of Apps install on a 250gb SSD.  I have used 3rd party disk scanners and they are all showing the correct data. Any idea what this issue is?


Consider a sequence $\{x_n\}$ in $S$. Where $S$ is a metric subspace. Given that every convergent subsequence of $\{x_{k(n)}\}$ converges to the same point say $x$. Prove that if S is compact, show that $\{x_n\}$ converges to $x$. Is my answer correct?


I want to switch J1's position with the card under it after the deck array is shuffled. Is there a way to reference J1 without knowing its position in the array? Thank you.  import random  deck = ['AC', '2C', '3C', '4C', '5C', '6C', '7C', '8C', '9C', 'TC', 'JC', 'QC', 'KC',         'AS', '2S', '3S', '4S', '5S', '6S', '7S', '8S', '9S', 'TS', 'JS', 'QS', 'KS',         'AH', '2H', '3H', '4H', '5H', '6H', '7H', '8H', '9H', 'TH', 'JH', 'QH', 'KH',         'AD', '2D', '3D', '4D', '5D', '6D', '7D', '8D', '9D', 'TD', 'JD', 'QD', 'KD',         'J1', 'J2']  # shuffle deck random.shuffle(deck)  #switch Joker1 with card under it


Combinatorics, choosing 3 elements from 100

In how many ways can we pick three different numbers out of the group $1,2,3,\dots,100$ such that the largest number is larger than the product of the two smaller ones? (The order in which we pick the numbers does not matter.)


Is the Fighter's Improved Critical a roll with or without modifiers?

So, with the fighter's Improved Critical, do I add my modifiers to the roll or no?


Generating different random number in second call

I am trying to implement the craps game in C++, rules are given below. So I created a function which will generate two numbers for me, sometime this function needs to be called twice, but when it is called for the second time its giving me the same random number it gave me the first time.  I want to randomize the numbers I get in the the second call to rollDice() function. How do I do that?  Example output 1: Player rolled 3 + 4 = 7 Player won!  Example output 2: Player rolled 2 + 2 = 4  Point is 4 Player rolled 2 + 2 = 4 Player won!  Example output 3: Player rolled 1 + 5 = 6 Point is 6 Player rolled 1 + 5 = 6 Player won!  Game rules: Rule: A player throws two 6 face dice, if their sum is 7 or 11, they Win. if the sum is 2,3 or 12 they loose. if it's 4,5,6,8,9,10,12 it becomes a "point" and the player has to roll again. The player then keeps rolling until he hit the "point"  again and he wins  and loose if he hits a 7.  Code:  #include<iostream> #include<ctime> #include <cstdlib>  using namespace std;  //Generating two rand numbers from 1 to 6 int rollDice() {     srand(time(0));     int face1 = 1 + rand()%6;     int face2 = 1 + rand()%6;     int sum = face1 + face2;      cout << "Player rolled " << face1 << " + " << face2 << " = " << sum << endl;     return sum; }  string gameStatus; //Hold status of game; WIN, CONTINUE, LOST int sumOfDice = rollDice(); int point = 0; //This will hold sum of dice if it's default case defined below in Switch.  int main() {      switch(sumOfDice)      {          case 7:         case 11:             gameStatus = "WIN";             break;          case 2:         case 3:         case 12:             gameStatus = "LOST";             break;          default:             gameStatus = "CONTINUE";             point = sumOfDice;             cout << "Point is " << point << endl;      }       while (gameStatus == "CONTINUE")      {          int rollAgain = rollDice();          if (rollAgain == point)             gameStatus = "WIN";          else if (rollAgain == 7)             gameStatus = "LOST";      }      if (gameStatus == "WIN")         cout << "Player won!";      if (gameStatus == "LOST")         cout << "Player lost!"; }


the visa has been refused by sweden embassy

pls how can i appeal to this decision- your intention to leave the territory of the member of states before the expiry of the visa could not be ascertained


Why does simplifying a function give it another limit

I'm asked:   $$\lim_{x\to 1} \frac{x^3 - 1}{x^2 + 2x -3}$$  This does obviously not evaluate since the denominator equals $0$. The solution is to:   $$\lim_{x\to 1} \frac{(x-1)(x^2+x+1)}{(x-1)(x+3)}$$ $$\lim_{x\to 1} \frac{x^2 + x + 1}{x + 3}$$ $$\frac{1+1+1}{1+3} = \frac{3}{4}$$  My question: what is actually happening? How can simplifying a function give it another limit? Is it a complete other function and if so why would it be relevant to our original question?


Could someone explain why the the mean of the 20 independent observations from a unit exponential distribution (the sum of which has a gamma(20,1) distribution) has a gamma(20,20) distribution because I don't seem to understand why this is the case.


Why is there a \, space at the beginning of the "aligned" environment?

Near the beginning of the definition of the amsmath environments aligned and gathered (and also mathtools' multlined) there's an explicit thin space \,. This often  has to be cancelled  with  \!, as has been observed  various  times:         I'd like to know why this explicit \, is there – what would go wrong without it?    From amsmath.dtx:  \newcommand{\start@aligned}[2]{%     \RIfM@\else         \nonmatherr@{\begin{\@currenvir}}%     \fi     \savecolumn@ % Assumption: called inside a group %    \end{macrocode} %    The \cs{null} here is to keep the \cs{,} glue from causing the %    invocation of the clause in \tex/'s built-in tag placement %    algorithm that can cause an equation to be shifted all the way over %    to the margin. %    \begin{macrocode}     \null\,%


PS4 Pro not connecting to dualshock 4 despite controllers working in safe mode

my PS4 Pro is not connecting to both my dualshocks. At first it started by not being able to turn on the console by just pressing the PS button, now I have to manually switch it "on" on the console itself. But when PS4 is in safe mode both my controllers(with usb cable) work and very responsive. I also rebuilt its database, reset the connection of both controllers and pair by PS button and share button. I also paired it before to my PC (bluetooth), both worked just fine. I feel the problem here is the console itself.


When you grapple an enemy, where are they?

There you are, in melee combat.  You're 5 feet away from your opponent.  The swords go snicker-snack.  You decide to grapple.  You succeed!  Are you still 5 feet away?  I had always assumed the grappler and grapplee were in the same space.  Tête–à–tête, as it were.  However,  made me realize not everyone sees it the same way.  I reviewed the RAW, and it seems to imply you're still 5 feet away.  That just doesn't seem to make much sense.  What am I missing?


Copying only JPG from a directory structure to another location Linux

I wish to recursively go through the folders of a directory structure and copy any .jpg I find into another directory.  I think I had the wrong idea with:  cp -R photos/*.jpg /cpjpg   How can I do this from the command line in Ubuntu?


I have a question regarding the concept of "work done" in Classical Mechanics, inspired by my time in real life situation of me the gym. "Work done" depends on the direction of the force and the displacement.  If the force is aligned with the displacement, then the work done is positive.  If the force is anti-aligned with the displacement, then the work dine is negative. This means that, if the force I applied is anti-aligned with the displacement, then energy is transferred to me.  However, in weight lifting, I still need to put force and (therefore) effort when I lower my dumbbell: in essence, I was still using up chemical energy when lowering my dumbbell.  This means that chemical energy is used up, even when the dumbbell transfers energy to me: isn't this a violation of conservation of energy?


How is 'specific' data found and taken from a Semiconductor Memory Source?

In a semiconductor memory chip, each bit of binary data is stored in a tiny circuit called a memory cell consisting of one to several transistors. Volatile type.   Suppose an application stored its data in a particular segment on the computers RAM.  How would the CPU know what data to extract and how would it sort through the other data to get to it. If everything in its core level is 0 or 1 its hard to distinguish what purpose 'x' memory has.


How can I to save Apps state after it is garbage collected?

In my app, I start at the main activity, and there is a plus sign that takes you through a series of popup windows. Inside the popup windows, it has edittexts that the user can edit in order to set the title of a button. The newly created button is made when another button is pressed. The newly created button is then put on the MainActivity and all popup windows are dismissed.   My question is, how would you save that newly created button when the app is completely terminated (when you swipe right to close the app in the overview window)? I want to be able when I reopen the app, the button is still there, and the app doesn't return to its original state.  Thank you in advance. Hopefully this post makes sense.  How do you save the current state of the mainActivity and recreate it on reopen.


Light meter calculations on micro four thirds

I am planning to start using a light meter for portrait photography with an Olympus OMD EM5, off camera flash and an old Canon 135mm f2 manual lens. However having read about it, I think that I will need to adjust the meter reading to the micro four thirds equivalent values.  So, if the equivalent f value is double on the micro 4/3, does it mean that I need to use the exposure time shown but divide the f value from the light meter by 2?  For example if the light meter shows 250 / f4, I would use 250 exposure, but set my lens to f2 (instead of f4).   Can someone confirm whether my logic is correct?


Help Show Binomial Identity: $\sum_{j=0}^{n} {n \choose j}{m+j \choose n} = \sum_{j=0}^{n} {n \choose j}{m \choose j}2^j$

I have been trying to solve this problem that I found in my old course notes for some time, but I have not been successful. Can anyone suggest a strategy or provide a hint? $\displaystyle\sum_{j=0}^{n} {n \choose j}{m+j \choose n} = \displaystyle\sum_{j=0}^{n} {n \choose j}{m \choose j}2^j$.


In the sentence "I have never seen it snow", what tense is the verb "snow"?  My coworker who is learning English asked me why "I have never seen it snowed" is incorrect, and I wasn't sure how to explain.


Induction Proof that $ x^n-y^n=(x-y)(x^{n-1}+x^{n-2}y+\ldots+xy^{n-2}+y^{n-1}).$

I seek an inductive proof that $x^n-y^n=(x-y)(x^{n-1}+x^{n-2}y+\cdots+xy^{n-2}+y^{n-1}).$ I am stuck.


Is it alright to be out of academia for a while before applying for academic or research-only positions?

I am 15 now. If I quit high school now and start a BSc around age 35 and finish my PhD around age 45, is it possible to find a job in some university after being out of academia for so long?


Network Manager icon not visible in system tray

a few weeks ago I updated to Ubuntu Gnome 14.04 LTS (clean install) and I noticed that the network manager icon is missing from the system tray. I have been going through a number of forums, but I couldn't find a solution that would fix this problem. My /etc/network/interfaces only contains the following:     auto lo iface   lo inet loopback   Also, when calling nm-applet from the console it outputs:     nm-applet-Message: using fallback from indicator to GtkStatusIcon   Any ideas on how this could be fixed?


Do nonrestrictive appositives always require commas?

In the following example, I have one wife, one daughter and one son.  (1) My wife, Angie; my son, Mike; and my daughter, Danielle, will be at the picnic.  I think the semicolons are very technically correct, but they are an eyesore.  Other possibilities:  (2) My wife, Angie, my son, Mike and my daughter, Danielle, will be at the picnic.  (3) My wife Angie, my son Mike, and my daughter Danielle will be at the picnic.  Which is preferred -- 1, 2 or 3 above?


Boundedness of one-dimensional Sobolev functions

Are all Sobolev functions in $W^{1,p}(\mathbb{R})$ essentially bounded?  Could any one tell me is this correct or give me an example of a function which belongs to $W^{1,p}(\mathbb{R})$ but is not essentially bounded?


Does this sort of "multi lane" switch exist?

Does a component exist that functions as a switch for multiple connections at once, 3 in my case.  So power, ground, and data are coming in from the top. When the switch is in the left position (as pictured) they will get connected to the power, ground, and data lines on the left side. When the switch is flipped to the right position all 3 power, ground, and data are moved over to their respective matches on the right side.  Essentially it's like having a 3 switches, one each line and flipping them all at the same time.


Is it easy to get a visa for France if one already has a visa for the UK and applies from the UK?

For a Russian citizen:  If I have a general purpose (6 months) visa for the UK, and am currently in the UK, does that make it easier to get a visa for France.  For example: I'm in the UK on the general purpose visa for a 3 month holiday, and I would like to visit Paris. So if I wander into the French embassy in London are they likely to give a French visa easily on the basis that I already jumped through all the hoops for the UK visa?


Reprojecting raster from 0 360 to -180 180 with cutting 180 meridian using gdalwarp

I have a geotiff raster image that has a coordinate system with longitudes from 0 to 360. The horizontal center of the image is 180 longitude. See image below:    I want to transform it to EPSG:4326 SRS with -180 180 longtitude range.  And I want the center of the image to be at Greenwich meridian (0). I guess this srs is very widely used. I expect the result look like this:    So I use a gdalwarp command to reproject:  gdalwarp -s_srs '+proj=latlong +datum=WGS84 +pm=180dW' -t_srs EPSG:4326 test_col.tif test_4326.tif   But I only get a tiff with bigger dimensions (more pixels) and EPSG:4326 metadata. The image itself looks the same, as the initial one. But I expect it to swap the hemispheres.  How do I gdalwarp an image to be strictly -180 180 EPSG:4326 with the center in 0 longitude?  This is gdalinfo of my initial file:  Origin = (-0.102272598067084,89.946211604095552) Pixel Size = (0.204545196134167,-0.204423208191126) Metadata:   AREA_OR_POINT=Area Image Structure Metadata:   INTERLEAVE=BAND Corner Coordinates: Upper Left  (  -0.1022726,  89.9462116) (  0d 6' 8.18"W, 89d56'46.36"N) Lower Left  (  -0.1022726, -89.9462116) (  0d 6' 8.18"W, 89d56'46.36"S) Upper Right (     359.897,      89.946) (359d53'50.18"E, 89d56'46.36"N) Lower Right (     359.897,     -89.946) (359d53'50.18"E, 89d56'46.36"S) Center      ( 179.8975000,  -0.0000000) (179d53'51.00"E,  0d 0' 0.00"S)   This is gdalinfo after gdalwarp     Origin = (-180.102727401932952,89.946211604095552) Pixel Size = (0.091397622896436,-0.091420837939082) Metadata:   AREA_OR_POINT=Area Image Structure Metadata:   INTERLEAVE=PIXEL Corner Coordinates: Upper Left  (-180.1027274,  89.9462116) (180d 6' 9.82"W, 89d56'46.36"N) Lower Left  (-180.1027274, -89.9699975) (180d 6' 9.82"W, 89d58'11.99"S) Upper Right ( 179.8211116,  89.9462116) (179d49'16.00"E, 89d56'46.36"N) Lower Right ( 179.8211116, -89.9699975) (179d49'16.00"E, 89d58'11.99"S) Center      (  -0.1408079,  -0.0118929) (  0d 8'26.91"W,  0d 0'42.81"S)


How many permutations of $\{1, \ldots, n\}$ exist such that none of them contain $(i, i+1)$ (as a sequence) for $i \in {1,...,(n-1)}$?

How many permutations of $\{1, \ldots, n\}$ exist such that none of them contain $(i, i+1)$ (as a sequence of two consecutive entries) for $i \in \left\{1,...,(n-1)\right\}$?  First thing that comes to my mind is to find all that have $(i, i+1)$, then subtract that from all permutations. But then we can have $(i, i+1, i+2)$ which we subtracted twice, once in $(i, i+1)$ and once in $(i+1, i+2)$. And so on for $3$ and more. How do I calculate this?


How to determine callee function name in a script

To make it short, doing something like:  -bash$ function tt {  echo $0; }  -bash$ tt   $0 will return -bash, but how to get the function name called, i.e. tt in this example instead?


If I have an inclined plane, which has acceleration $\alpha$, will a block placed on the inclined plane slip back with the same acceleration? (considering that the surface is frictionless)


Why do you have to define methods in the class rather than the interface?

So, according to , an interface may have fields and method signatures, but those methods cannot be defined.  A class that implements an interface must then define the body of every method in the interface it implements.   If this is the case, what is the point of the method signatures in the interface? Why not allow oneself wiggle room rather than restricting yourself to have to define methods that you may or may not want to use?


Using slices error:  list_one = cards_18[0::3] # from index 0 to end, add 3 list_two = cards_18[1::3] list_three = cards_18[2::3]


I bought a Dell Inspiron 3552 that came preinstalled with windows 10, it's 64-bit.  The problem is that I hate windows and would love to try Ubuntu however the installer won't boot, tried launching it as a live USB but it won't boot up.  Help?


Are there any positive integers n for which $\phi(n) = \frac{n}{4}$?

For starters, I established that n cannot be prime, as $\phi(n) = n - 1$ for prime numbers. So, if $n$ is composite, I wrote $n$ as its prime factorization: $n = p_1^{r_1}...p_k^{r_k}$ and thus the phi-totient of n is $\phi(n) = n (\frac{p_1 - 1}{p_1})...(\frac{p_k - 1}{p_k})$. However, now I'm stuck. I know since $\phi(n) = \frac{n}{4}$ then $(\frac{p_1 - 1}{p_1})...(\frac{p_k - 1}{p_k}) = \frac{1}{4}$ but I'm not really sure how to prove this, or if I can. Where do I go from here?


Unable to boot Windows 10 after installing Ubuntu

I've recently installed Ubuntu 16.04 LTS dual boot with Windows 10 and I still can’t get access back to Windows 10. When grub appears after switch on my computer it gives me a few options apart from Ubuntu, like Windows UEFI boot and some more.   I've tried with all of them, when I click some it says that it couldn't find the file, and some others take me through the reparation menu of windows to end up in Ubuntu's GRUB again.  I've been through some of the posts on this topic, and I've already tried a few things.   Reinstall and refresh grub via Boot-Repair. I've also tried as recommended in another post to create the file /boot/grub/custom.cfg.  I've also run boot info script so you can have some more information about this. I do have the Bootinfo that I got after running Boot-Repair app.  This is the URL I got after running the Boot-Repair:


how to put a \leq above a \geq which means either of the two situations?

I just saw this symbol in an article of 1990 and was curious about how to display it in latex, but haven't found any answers after googling.  Does anybody know that or tell me it is actually rarely used nowadays?    It's at the end of the paragraph. Thanks a lot!


What could explain the presence of Promethium in stars?

[This is pretty much a copy and paste job from Technetium question but I wanted to add this one in case there was some other explanation] So, I understand that PM doesn't exist in nature [though, I don't know why every reference I see regarding PM says that and then goes on to state that it is found in some stars...] but, if that's the case, then why is it found in some stars? This element doesn't fuse in stars (I think, I found a graph saying that it does) so it has to be left over from supernovae. Lastly, how many stars have been discovered that contain promethium? Thanks much.


Is it possible to search tmux scrollback history?

I'm starting to use tmux, and I already love it. But if I could search through scrollback history it would be even better (e.g. like in iTerm2). Is there a way to do it as of now?


How to solve $2\cdot (2x-1)^\frac13=x^3+1$?

This was one of the questions in my entry exam and I couldn't manage to solve it. I struggled with this equation for more than an hour,  so I'd like a direct solution instead of hints please.  $$2\cdot (2x-1)^\frac13=x^3+1$$


ia32-libs package not found intalling Adobe Air

I need to install adobe air in my Ubuntu 13.10 x64. The installation shows this error,  dpkg: dependency problems prevent configuration of adobeair:  adobeair depends on ia32-libs; however:   Package ia32-libs is not installed.   Now I tried to install ia32-libs,  sudo dpkg --add-architecture i386  sudo apt-get update  sudo apt-get install ia32-libs   Now the error shows,  E: Package 'ia32-libs' has no installation candidate   And also tried,  sudo apt-get install ia32-libs:i386 sudo apt-get install ia32-libs-multiarch:i386 sudo apt-get install ia32-libs-multiarch sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386   Is there any working solution?   also not working for me.


Complete metric space of sequence of positive integers

Let $(A,d)$ be the space $\mathbb{N}^{\mathbb{N}}$ of sequences of positive integers where $d((a_i)_i, (b_i)_i)= \frac{1}{n}$ where $n$ is the least coordinate at which $(x_i)_i$ and $(y_i)_i$ disagree (so $a_j = b_j$ for $j<n$).  Show $(A,d)$ is complete metric space.  Show $A$ is not a countable union of compact sets.    My progress: For (1) I was able to show two properties for $(A,d)$ to be a metric space, but for the inequality one, I don't see how this can be true from the given definition of the distance function $d((a_i)_i, (b_i)_i)$. About the completeness part, I also have the same problems when trying to prove any Cauchy sequence with $d((a^{(m)}_i)_i, (a^{(n)}_i)_i) < \epsilon$ for every $m, n > M$ for some $M>0$. For (2), I couldn't make much progress.


Consider the following piece of code, which uses the tikz-feynman package:  \usepackage{tikz-feynman, contour} \tikzfeynmanset{compat=1.1.0}  \begin{document} \begin{center}     \begin{tikzpicture}[baseline={(current bounding box.center)}]     \begin{feynman}         \diagram [vertical'=a to b] {             {   [edges={draw=none}]                 a -- b [label=0:\(\mu_{3}\)]                 -- c [label=-180:\(\mu_{4}\)]                 -- d [label=-180:\(\mu_{1}\)]                 -- a [label=0:\(\mu_{2}\)],             },             {   [edges={photon}]                 a -- ap [particle=\(p_{2}\)],                 b -- bp [particle=\(p_{3}\)],                 d -- dp [particle=\(p_{1}\)],                 c -- cp [particle=\(p_{4}\)],             },         };         \diagram* {             (c) -- [fermion] (b)                 -- [fermion] (d)                 -- [fermion] (a)                 -- (c),         };     \end{feynman}     \end{tikzpicture}     %     \feynmandiagram[baseline={(current bounding box.center)}, vertical'=a to b,] {         {   [edges={fermion}]             a -- b [label=0:\(\mu_{3}\)]             -- c [label=-180:\(\mu_{4}\)]             -- d [label=-180:\(\mu_{1}\)]             -- a [label=0:\(\mu_{2}\)],         },         {   [edges={photon}]             a -- ap [particle=\(p_{2}\)],             b -- bp [particle=\(p_{3}\)],             d -- dp [particle=\(p_{1}\)],             c -- cp [particle=\(p_{4}\)],         },     };     %     \begin{tikzpicture}[baseline={(current bounding box.center)}]     \begin{feynman}         \diagram [vertical'=a to b] {             {   [edges={draw=none}]                 a -- b [label=0:\(\mu_{3}\)]                 -- c [label=-180:\(\mu_{4}\)]                 -- d [label=-180:\(\mu_{1}\)]                 -- a [label=0:\(\mu_{2}\)],             },             {   [edges={photon}]                 a -- ap [particle=\(p_{2}\)],                 b -- bp [particle=\(p_{3}\)],                 d -- dp [particle=\(p_{1}\)],                 c -- cp [particle=\(p_{4}\)],             },         };         \diagram* {             (a) -- [anti fermion] (b)                 -- [anti fermion] (d)                 -- [anti fermion] (c)                 -- (a),         };     \end{feynman}     \end{tikzpicture}     \end{center} \end{document}   This piece of code draws the following figure:    I would like to label each figure. I do not want a caption, but just a label beneath each diagram. The label should say Diagram I, Diagram II, Diagram III.  How do I implement this into my code?


How to decide if a comma or punctuation between math mode content should be inside math mode or in text mode?

Which of the two is the preferred way of writing LaTeX code that has punctuation between math mode content? Example 1: Therefore the solutions to the given equation are \( 2 \), \( 4 \), \( 6 \), \( 8 \), \( 10 \).  Example 2: Therefore the solutions to the given equation are \( 2, 4, 6, 8, 10 \).  I am confused about when the punctuation goes inside math mode and when the punctuation remains in text mode. For example, I think I am pretty sure in the following example, the commas are supposed to be in math mode. Example 3: Let us consider numbers of the form \( 4k + 1 \) where \( k = 0, 1, 2, 3, \dots \).  Is there a general rule I can follow to decide whether the punctuation between math mode content should be in math mode or text mode?


Publishing referee reports I have written - Yes or No and How?

I remember reading somewhere about someone who started publishing referee reports they had written online, along with sending them to the journal (or after). Unfortunately I do not remember where I saw this and can't seem to find it now.  I see strong arguments for this practice.   A lot of time and effort is spent on report writing, so why not list them. Transparency for its own sake. Transparency for the sake of increasing quality.   Obviously there are issues:   Copy right or other legal issues with journals prohibiting the publication of reports [has to be taken up with the editor] If the paper itself is not published, publishing the report might be harmful to the authors [one could wait until the final version of the paper is published]   My question: Is this already common practice somewhere and do repositories exist where one can upload reports? Are there other strong counterarguments I am missing?


Is there any application on Ubuntu equivalent to fedora's 'Connect To'?

On Fedora 14 I use to use an app called 'Connect To' (I think it was default app) to make SSH connections. It was GUI based SSH connection tool.   Now I have migrated to Ubuntu (11.10 to be precise). I use terminal based OpenSSH. OpenSSH is pretty good but sometimes I wish it was GUI app. I have tried a few but none do the job like 'Connect To' on fedora.  Is there any Connect To equvalent on Ubuntu ?


What is the "code" after the app package name in /data/app/?

Just by curiosity, since I wasn't able to find an answer after googling, do you know what are these "codes" after the packages names of my apps in /data/app/…?  This number is neither in androidmanifest.xml, nor in cert.sf, nor in manifest.mf (inside the meta-inf folder).  For example the package name of Clash of Clans is followed by the "code": com.supercell.clashofclans-Bd6GIb47XTzpL16jgR1kZA==


Windows 10 taskbar width is very wide when positioned on the sides

Are there ways to reduce the Windows 10 taskbar width when it's positioned on the sides ?  It can be resized but the minimum width is very wide. It seems to have a minimum width to fit the date.


Not totally sure if this is the right place but here goes.  I understand that you are able to use X11 to ssh to GUI's and view them, without the server having a full on GUI system running/installed like gnome or something.  My end goal is to be able to "broadcast" my coding sessions online, so people can view them online.  Right now I have set it up so that a restricted tmux session will basically always be mirroring my own personal tmux coding session window.  So if you ssh onto the server on a restricted account, you can hop onto the restricted session and follow my coding.  However, I want to be able to let people watch this from their browser.  I suspect that the best way is to have some terminal emulator on x11 running on my server attached to the tmux session..and then somehow have the browser view that terminal emulator?  I'm not really too familiar with this domain, so does anyone know if this is possible?  Or is there a better approach I should be taking?  Note that I code entirely on a remote headless server that I ssh onto.


I would like to see what the actual contents of a directory file are (not the files that are   contained within that directory).  Specifically I would like to be able to do something like:   od -c .   I know this works (used to work?) on unix, as it is shown on page 59 of 'The Unix Programming Environment'  Yet when I attempt on my version of Arch Linux I get the following:  read error: Is a directory   Is there another command I should be using to inspect the bytes of a directory?


Open a file in the proper encoding automatically

I'm dealing with some problems in a few files about the encoding. We receive files from other company and have to read them (the files are in csv format)  Strangely, the files appear to be encoded in UTF-16. I am managing to do that, but I have to open them using the codecs module and specifying the encoding, this way.  ENCODING = 'utf-16' with codecs.open(test_file, encoding=ENCODING) as csv_file:     # Autodetect dialect     dialect = csv.Sniffer().sniff(descriptor.read(1024))     descriptor.seek(0)     input_file = csv.reader(descriptor, dialect=dialect)      for line in input_file:        do_funny_things()   But, just like I am able to get the dialect in a more agnostic way, I 'm thinking it will be great to have a way of opening automatically the files with its proper encoding, at least all the text files. There are other programs, like vim that achieve that.  Anyone knows a way of doing that in python 2.6?  PD: I hope that this will be solved in Python 3, as all the strings are Unicode...


Proof verification: Let $p\geq 2$. If $2^{p}-1$ is prime, then $p$ must also be prime.

Can someone please verify whether my proof is logically correct? :)     Let $p\geq 2$. If $2^{p}-1$ is prime, then $p$ must also be prime.   Proof:  Let $p=a\cdot b$ with $a>1$ and $b>1$ being integers. Then   $2^{p}-1 =2^{ab}-1=(2^{a}-1)(2^{b(a-1)}+2^{b(a-2)}+\cdots +2^{a}+1) = (2^{b}-1)(2^{a(b-1)}+2^{a(b-2)}+\cdots +2^{b}+1)$   where $2^{a}-1>1$ and $2^{b}-1>1$ since $a>1$ and $b>1$. If p is composite with $p=a\cdot b$ and $1<a<p$, then $2^{p}-1$ is composite, since $2^{ab}-1$ is divisible by $2^{a}-1$. $\square$     I don't understand why it is showing if $p$ is composite, then $2^{p}-1$ is composite though.


What is a , and how do I use them on Ubuntu?


Has Star Wars borrowed from Ancient Rome?

There's some  in Star Wars, and perhaps a bit of  , but is there any borrowing from Ancient Rome in Star Wars?  During the original trilogy, there was an existing republic taken over by an empire, which also happened with Ancient Rome - was this a deliberate parallel?


Is "1940's" and "1950's" correct in the USA?

Snippet from the book "STYLING vs. SAFETY The American Automobile Industry and the Development of Automotive Safety, 1900-1966" by Joel W. Eastman:     and its continual improvement by progressive and innova- tive   manufacturers. The industry also pointed to stat- istics which   indicated that automobiles rarely caused accidents as support for the   assumptions that it was not normal for one to be involved in a crash   and that even a perfect motor vehicle could not overcome defects in   drivers and highways.      By the late 1940's and early 1950's, however, there came to be a   growing awareness within the industry that the small but increasing   demand for design for crash protection by members of the medical   profession and oth- ers was significant enough so that it would be   wise to keep abreast of developments in the area. One by one, the   major manufacturers either officially or unofficial- ly assigned the   responsibility to an individual or set up an automotive safety   department. Although the number of engineers involved was   insignificant compared to the thousands of specialists working on   automobile design   Is this a valid American "style"? I know you can shorten "1950s" to "'50s", but "50's"? That's like, "50 is" or "the 50 dollar bill's serial number"... surely it can't be right? I'm aware that it's "common", but this is... a book?


I'm very familiar with cyclic groups, but I can't seem to understand what a non-cyclic group is like... is there a simple example of one?  (edited... I had no idea that non-cyclic != acyclic)


i need to execute the following commands AFTER login.   sudo hdparm -y /dev/disk/by-uuid/443AFBAD7FE50945  sudo hdparm -y /dev/disk/by-uuid/7ABB49654B799D40   (trying to edit rc.local does not work nor does using hdparm.conf because as soon as I log in the disks start up again). I have tried numerous things like bash files and autossh entries in the startup applications with no luck because sudo is involved.   i have tried the rc.local, the .bashrc, the autossh in startup, hdparm.conf. none of these options have worked


Sci-fi book series set in postapocalyptic frozen world with train colors representing class rank

I read it in Czech translation in the 90s. It was a series of books in a postapocalyptic frozen world with train traffic only - with different class (color ranking) and some kind of new human life form, which is better adapted to cold environment.


Classes in CSS, Could there be numbers in it?

How do i arrange my classes in CSS? How can I add a combination of letters and numbers?  Or what's the best way to have them arranged?


I deleted my best Terraria world, and my only one, with no backup. I don't have a computer. Is there any other way to get it back? I'm literally gonna die.


Why are there metal shavings in my brake pads?

I have several brake pads on my cantilever brakes that have several small metal shavings embedded in the pad.  Is this normal?  What should I do about it?


Show that $I-BA$ is invertible if $I-AB$ is invertible. And also, we have to prove that eigenvalues are same for $AB$ and $BA$  Till now, I used the equation $(I-AB)(I-AB)^{-1}=I$ which gives $(I-AB)AB(I-AB)^{-1}=AB$ but I don't know how to proceed further.  Any hint would be sufficient !


Let $|G| = p^n$ where $p$ is prime. Show that the number of non-normal subgroups of $G$ is $pm$.   I am just studying about group theory so please try to use some simple knowledge.


After I researched Biology I found 2 sources of oil and after that turn the oil signals dissappeared and i dont know where these sources are. How i can identify them ? I have a World like map and i have all America dominated.  Thanks


I'm trying to understand the difference between these two commands: sudo find / -name .DS_Store -delete  and sudo find / -name ".DS_Store" -exec rm {} \;  I noticed that the -exec ... {} method is preferred. Why? Which one is safer/faster/better? I've used both on my Macbook and everything appears to work well.


Why use the plural form for a single person?

Being a non-English native, I'm surprised when I read people who use a plural form when they're clearly talking about a single person.  Here are two excerpts from a software I used to work on, written by a former Irish co-worker:     ... a supervisor must assign it to themselves and deal with it.   and:     This supervisor has no restaurants assigned to them.   I would have written the following sentences instead:     ... a supervisor must assign it to himself and deal with it.   and:     This supervisor has no restaurants assigned to him.   Is the plural form correct English, and if so, is the plural preferred over the singular form?


As it is known in Physics, two point-size charges (say two electrons) interact with each other through em forces. How this is happening? do they exchange photons? And if so, then do they exchange energy (carried by photons) at all time or in other words their interaction keeps on going forever?


Find all pairs of natural numbers (m,n) satisfying  $2^{m}-3^{n}=1$   My attempt:       $$2^{m}-3^{n}=1$$ $\implies 2^m\equiv 1 \pmod3$ $\implies m=2k$  for some integer $k$. Hence, $$((2^{k})^{2}-1)=3^{n}$$ This implies,      $$(2^k-1)(2^k+1)=3^n$$ But, $(2^k-1,2^k+1)=1$ , this implies that one among $2^k-1$ and $2^k+1$ is equal to $1$. It is obvious that $2^k-1<2^k+1$.Therefore, $2^k-1=1$ and $k=1$. This gives, $m=2$ and $n=1$.$(m,n)=(2,1)$ is the only solution of $2^{m}-3^{n}=1$.Does this look alright? Are there any other solutions besides $(2,1)$. Also, does my solution look neat(I don't think it does)?


What word would best describe the term "With very little confidence"?

What word would best describe the term "with very little confidence" ?


Is a sub-shell the same thing as a child-shell

There are this two names: a subshell and a child-shell.  Yes, a child process will be started by any of this:  sh -c 'echo "Hello"' ( echo "hello" ) echo "$(echo "hello") echo "hello" | cat   Are all equivalent and share the same name? Do all share the same properties?    POSIX :     A shell execution environment consists of ....   But the last paragraph of above link has this:     A subshell environment shall be created as a duplicate of the shell environment, except that signal traps that are not being ignored shall be set to the default action.    And specially:     Command substitution, commands that are grouped with parentheses, and asynchronous lists shall be executed in a subshell environment. Additionally, each command of a multi-command pipeline is in a subshell environment; ....   The sh -c 'echo "Hello"' is not included there, should that be called a subshell also?


How do you associate the .exe file extension with a program in Windows?

A few years ago I saw somebody play a prank on somebody by associating the .exe file extension with Internet Explorer. This made Internet Explorer open up every time the person wanted to start a program.  Unfortunately, I forgot how this was done. I tried to use the Default Programs > Set Associations Control Panel tool, but it didn't list .exe.  How could one set this file association, and, perhaps more importantly, how could one unset it?


I'm developing a 2D Platform game, I have a 2D camera, some backgrounds, and everything is working good. Now I want to implement parallax scrolling to give the illusion of depth in my game, but i can't imagine how to make my different layers of background to move (most correctly, be rendered by the camera) with a different speed from each other).  In brief this is my game structure:  I have 3 layers of backgrounds: the first is the road level, where the player runs; the second is the intermediate; the third are some mountains very distant (in my mind). Everyone of these layers is created with seamless textures and organized with the tilemap technique, with every texture positioned one after the other. Of course I make the spritebatch draw only the visible ones.  The camera is a rectangle that follows player movements and goes just horizzontaly.  Since layers aren't moving, but only the camera is moving, I don't know how to make a background scroll with a different speed from another!


How to unlink objects created using modifier object count

I'm creating a dna double helix. I created the horizontal strands by creating an empty plane axis, then creating a cube, and then using the object offset, and selecting the empty plane. I then created about 30 of these by increasing the count under 'Modifiers'. (I followed instructions on how to do this here:  My question is: I'd like to now individually manipulate the separate horizontal strands (having each a different color for example), but since they were created as a modifier, I can't seem to get them to unlink to be independent, so when I select them, all strands are selected as one group. Any ideas how I can do this? I tried  Object > Relations > Make Single User > Object & Data, but this didn't work, and also tried Clear Parent. Many thanks.


Why is Planck mass much larger than the smallest mass that we actually know about?

The three fundamental constants $h$, $c$ and $G$ are manipulated and rearranged in different ways to get the Planck time, Planck mass etc. The Planck time is said to be the smallest time possible and Planck length the smallest length(If I'm not mistaken). But, why the  doesn't fit to this list?


I have a problem that I would like to get a second opinion on. I got myself a ticket plane from Frankfurt to Hanoi and back Hanoi to Frankfurt with AirChina through an online agency. Sadly, I will not be able to make the Frankfurt to Hanoi plane for personal reasons so I contracted the agency with a gentle question for a possibility of a refund of the Frankfurt to Hanoi part. Unfortunately, I wasn't successful, but fair enough, I tired!   Here's the real problem, surprisingly they also said that if I will not be able to use the Frankfurt to Hanoi part of my ticket my Hanoi to Frankfurt trip will be cancelled without any possibility for a refund. The return ticket was paid in full, it's obviously combined together under a single e-ticket with the flight numbers and reservation reference.   Have you ever heard about anything like it?  Please let me know Martin


Clear named (and lored) item from players inventory 1.13

In 1.12, the command:  clear @p paper 0 1 {display:{Name:"[Winning Ticket] Musical Minecarts",Lore:[" Take this ticket to the reward "," collections at the entrance of the ", " Games area to claim your prize! "]}}   would remove a piece of paper with that specific name and lore from the player's inventory. I assumed the 1.13 conversion would be:   execute at @p as @p run clear @s paper{display:{Name:"[Winning Ticket] Musical Minecarts",Lore:[" Take this ticket to the reward "," collections at the entrance of the ", " Games area to claim your prize! "]}} 1   but this doesn't work. As well as this, the command:  give @p minecraft:paper{display:{Name:"[Winning Ticket] Musical Minecarts",Lore:[" Take this ticket to the reward "," collections at the entrance of the ", " Games area to claim your prize! "]}} 1   only gives the item, without the custom display name, despite the lore being correct. What is the correct syntax for these two commands?


My icons in LibreOffice 5.3 have disappeared. How can I restore them? I am running Ubuntu 17.04 with Cinnamon, although this problem occurs also when I use unity.


Whenever I try to compile my LaTeX on vim using vim-latex and \ll I get the following error  vDoc.tex || I can't find file `0'. 0 || Emergency stop. 0  [Quickfix List] :latex -interaction=nonstopmode -file-line-error-style 0                                  1,1             All  How to fix this? I have the latex version of Mac OS X. Also I have tried to fix by typing in latex -interaction=nonstopmode -file-line-error-style 0    to no avail. Please help.  Thanks.  EDIT: When I type in the command  :!latex -interaction=nonstopmode % it compiles but whenever I do \ll it doesn't Furthermore when I use :!latex -interaction=nonstopmode % it doesn't go over the errors when I hit enter...Any help is appreciated.


Webmaster Tools show the "Total Indexed" number to be zero after moving it to a new domain

I recently switched my domain from  to , and added my new domain to my Webmaster Tools account. After a few days, I went there and checked the data, and I was a bit worried when I saw this:    How can I interpret this? Is Google really not indexing my site at all? I'm afraid that's the case, because when I google for it, only my old blogspot domain shows up!


Is heading (h1, h2, h3...) font size relevant for SEO?

One of our client's SEO agencies has recently began sending a lot of "shady" requests about what should be changed on our client's web site in order to comply to best SEO practices.   We suspect their attempt to simply justify additional costs however since its one of our most important clients we can't simply ignore any of the requests based just on our previous experience and without solid evidence to confirm otherwise.  The last request we got was to change all headings (h1, h2, h3...) font size values in a way that will follow the header hierarchy (h1 has to be bigger than h2, h2 has to be bigger than h3 etc.) because the current web layout has a slightly bigger font-size value for h2 than h1.  This font size permutation was done for pure aesthetic reasons by the agency responsible for designing the new web site and our client fully agrees that it was a good choice. However since SEO is also very important to our client everything that comes from the SEO agency has to be taken very seriously.  h1 {     font-size: 1.1em; }  h2 {     font-size: 1.2em; }   My question: is it bad for SEO if h2 has a greater value of font-size than h1?   Every resource we came across claims otherwise supporting our long-year experience that its only important to create a good heading hierarchy to represent the importance of various page parts, which is of course done properly.  We would appreciate any professional insight in this matter and every resource or link is highly appreciated.  EDIT: I see now that this question was migrated from stackoverflow.com to this website so I apologize if this is a duplicate question however I didn't even know that this website was part of the Stackexchange network. Any info on this subject is still highly appreciated :)


I have just downloaded WinEdt and written my first code, but it will not run because I keep getting the following error.  I am at a loss as to how to fix this.  Error launching Console Application PDFLaTeX ... Command Line: pdflatex.exe --interaction=errorstopmode --synctex=-1 "practice.tex" Startup Folder: C:\Users\shahand\WinEdt Team\WinEdt 8 The system cannot find the file specified.


how to automatically run a batch file when USB drive inserted in Windows 10?

I've created an autorun.inf file in my USB drive with the following code:  [autorun]  open=launch.bat   However, when I connect the USB drive to my PC (running Windows 10), the file launch.bat doesn't run. I wonder it it's possible to run the batch file automatically when I insert the USB or if there is a way to directly run the .exe files I called from the batch file.


Why can't echo and printf output variables that have only whitespace characters?

var1=$(printf "\n\x0A\n")  var2=$(printf "\na\nb\nc")   Using Android Terminal, the output of echo -e "$var1" (same for echo and printf) iss nothing, not even the 3 new lines. But echo -e "$var2" or echo "$var2" or printf "$var2" output:  a b c   How come $var2's output includes the whitespace character but not $var1?  (\n and \x0A have the exact same behaviour.)


NSRegularExpression for @user mentions does not return matches

I'm trying to find matches for @user mentions in Swift in a string I have, and I'm using the following regex to do so: let str = "Hello @user how@are we doing today? 😎@ @" let regexPattern = "\\B@[\\w.]*"  if let regex = try? NSRegularExpression(pattern: regexPattern, options: NSRegularExpression.Options.useUnicodeWordBoundaries) {     let noOfMatches = regex.numberOfMatches(in: str, options: .init(), range: NSRange(location: 0, length: str.utf16.count))     print("Regex is valid. No of matches = \(noOfMatches)") }  The code above returns 0 matches. Removing the options: NSRegularExpression.Options.useUnicodeWordBoundaries, returns 3 matches, while I'm expecting 2, the @user and the standalone @ at the end of the string (the @ after the emoji should not be matched). Ia there a way to achieve what I need? Why do I get 0 matches when I use Unicode word boundaries?


Why do dead batteries appear to recharge on their own after awhile?

The other night, I found myself crashing at a friend's house without a MicroUSB charger handy. As such, my phone (Nokia Lumia 920) died before I went to bed - attempting to boot would simply yield a "low battery" screen. When I awoke about 6 hours later, I decided (in a moment surely befitting the definition of insanity) to try turning the phone on again. The phone booted this time, showing about 12% battery remaining. Aside from the expected "low battery" warning messages, I was allowed to use the phone normally for awhile before I finally got back into my car and was able to charge it there.  I'm pretty sure I've seen this phenomenon in other small electronics (usually phones). A device will have drained its battery to the point of being un-bootable but, after a few hours or so, I'll later try again and find it coming to life as if nothing was wrong.  What causes this?


2D Integration With Quadratic Argument of Delta Function

The problem statement, all variables and given/known data. I have a 2D integral that contains a delta function: $$\int_{-\infty}^{\infty}\int_{-\infty}^{\infty}\exp{-((x_2-x_1)^2+a x_2^2+b x_1^2-c x_2+d x_1+e)}\delta(p x_1^2-q x_2^2) dx_1 dx_2,$$ where $x_1$ and $x_2$ are variables, and $a,b,c,d,e,p$ and $q$ are some real constants.    Relevant equations How can one integrate this without resulting in poles. Because integral over, for example, $x_1$ leads to a pole, given the property of delta function.  The attempt at a solution If inside the delta function, the argument would be $x_1^2+x_2^2$, and not $x_1^2-x_2^2$, then one could go to polar coordinates, and get rid of the poles coming from the delta function integral. Sadly, this is not the case here. Further one can get rid of pole by going into hyperbolic coordinates $x_1=RCosh(\theta)$ and  $x_2=RSinh(\theta)$. The R integral can be done exactly because the poles cancel out due to Jacobian. However, the integral over ##\theta## then becomes unbounded. So this method also has a problem. Is there a smarter way to perform integral with quadratic argument of delta function without encountering poles?


Referencing other nodes created by the same author

I have a site where members can sign up and post an article (standard content type) which I'll call STYLE A. I now need to allow the members to create a different article (another content type) which I'll call STYLE B.  One of the fields within STYLE B will be a drop down list of all the article STYLE A's that this specific user has created. The user can then select one of the STYLE A's from the list.  I've tried using the reference and the entity reference modules but I can't quite get it. I've been able to create the reference field so that there is a dropdown of all STYLE A articles but these are not limited to that specific user.  Could anybody help me out. I've tried reading articles on relationships in views etc but it's not quite making sense.  thanks


I'm really worried about professionalism.  My site would be something like http://mywebsite.uy instead of http://mywebsite.com.uy.  What do you think about this practice? What should I have in mind at the moment of choosing one?


Using DX Scratch Orgs to deploy code with legacy ant scripts

We are considering migration of our managed package development process to Salesforce DX. But we are definitely not ready yet to transform our code base and use full potential of SFDX, but still looking for a way to adopt it partially.  Couple questions regarding how much we could utilize power of DX but still not to change significantly our dev flow for now:   Is it possible just to use hub and DX cli to quickly spin up new scratch org with required configuration, create new user with password and then use it to deploy code in an old-fashioned way using package.xml and ant migration tool? Any restriction here or could we treat scratch org as normal sandbox after creation? Main interest is about registering namespace in hub org and start spinning up packaging scratch orgs - so that we could have many of them but still using the same namespace prefix. Would it be possible to use old package xml here as well and deploy code to package as we did before with ant? Is it possible to spin up at the same time from one hub namespaced and non-namespaced scratch orgs? Cause currently we are developing code in ordinary sandboxes and then pushing it into packaging org - curious if it's possible to do the same withing scratch orgs scope or should they all be strictly with namespace and do we need another hub to register to produce non-namespaced orgs?


$ \lim_{n \to \infty} \left(\frac 1{n^2+1}+\frac 2{n^2+2}+\frac 3{n^2+3}+\cdots +\frac n{n^2+n}\right)$

Evaluate:  $$ L=\lim_{n \to \infty} \left(\frac 1{n^2+1}+\frac 2{n^2+2}+\frac 3{n^2+3}+\cdots +\frac n{n^2+n}\right)$$  My approach:  Each term can be written as  $$ \frac k{n^2+k}=\frac {n^2+k-n^2}{n^2+k}=1-\frac {n^2}{n^2+k}$$  $$ \therefore \lim_{n \to \infty}\frac k{n^2+k}=\lim_{n \to \infty}\left(1-\frac {n^2}{n^2+k}\right)=0$$   hence,  $$ L=0$$  Problem:  The correct answer is 1/2, please indicate the flaw in my approach or post a new solution.  Thank You


How can we help users who repeatedly ask similar questions or update constantly?

Before I ask my questions, I need to describe two types of low-quality users.    Type P: A type P user will post a block of code, possibly with a stack trace, and text that boils down to "this doesn't work right, tell me what's wrong." After an early answerer says something like "well, you declare foo but you don't initialize it," the user will stop paying attention and run back to his IDE, perhaps leaving a comment saying "oh I see it now thanks."  Then, five minutes later, the same user will post a new question with the same code (except that foo is properly initialized). Someone else will answer with "oh, you can't put final inside the parentheses, it has to be at the start of the line." This cycle repeats until there are half a dozen questions, each identical to the one before it except for one change.  Type 84: ← AKA  (thanks Grace Note) A type 84 user will initially post the same sort of question as a type P user. After getting an answer, though, he'll update his initial post over and over until the early answers no longer make sense.    Type Ps often turn into type 84s, and vice versa, either on their own or in response to well-meaning commenters who say that their behavior isn't constructive. I'm writing this post in large part because I've been one of those well-meaning commenters and I wish I had a better response.  Of course, the real problem in these cases is that the users are posting code with multiple errors that they don't fully understand. The way we handle things now — which is to say, not very well — gets them frustrated with mean Stack Exchange users, gets us frustrated with clueless newbies and wastes everyone's time in the process.  I realize that I'm not describing a new phenomenon by any stretch of the imagination, but I think we may need a different approach here than we give to low-quality users in general. The low-quality asker algorithm won't pick up on 84s as much, I think, and Ps can tie up a lot of resources before they get noticed. The good thing about Ps and 84s is that they're engaged, so we at least have an opening.  What is the proper response to the situations these users create? How can we best help them with their immediate problems and grow them into productive community members? I realize that a certain subset of these users will never become productive community members. How can we minimize the pain on both sides when dealing with them? It does us no good for people to go around saying SE sucks, after all.  Some of you are probably wondering why I chose P and 84. Well, because it's boring to always use A and B, or 1 and 2.


How to schedule a program to run only at specified time duration in C#?

I have created a C# program to perform input output operations in windows. I want that program to be invoked at specified time interval e.g. (9:30AM-11:00AM) everyday. How can we achive this?


Add new line character in a text file using sed

I want to add the following to the file /etc/securetty using sed:  pts/0 pts/1 pts/2 pts/3 pts/4 pts/5 pts/6 pts/7 pts/8 pts/9   I wrote the following command for this purpose:  sed -i '$a pts/0\\npts/1\\npts/2\\npts/3\\npts/4\\npts/5\\npts/6\\npts/7\\npts/8\\npts/9' /etc/securetty   which gives me the output:  pts/0\npts/1\npts/2\npts/3\npts/4\npts/5\npts/6\npts/7\npts/8\npts/9   I'm clearly missing out on something here. What could be wrong in my sed command?


A question regarding power series expansion of an entire function

Let $f$ be an entire function and let for each $a\in \mathbb R$, there exists at least one coefficient $c_n$ in $f(z)=\sum\limits_{n=0}^{\infty}c_n(z-a)^n$, which is zero. Then    $f^{(n)}(0)=0$ for infinitely many $n\geq 0$ $f^{(n)}(0)=0$ for every $n\geq 0$ $f^{(2n+1)}(0)=0$ for every $n\geq 0$ There exists $k\geq 0$ such that $f^{(n)}(0)=0$ for all $n\geq k$   We know that $c_n=\frac{f^{(n)}(a)}{n!}$ for all $n\in \{0,1,2\ldots\}$. Thus for $a=0$, $c_n=\frac{f^{(n)}(0)}{n!}$. By hypothersis, atleast one $c_n=0$. After that I could not do anything. Please help!


How to delete contacts from the Windows 8 People app?

I never really bothered to keep my Hotmail contact information up to date, so now that I connected it to Windows 8, suddenly I see all this outdated contact information or people I've long stopped talking to.    I don't see any buttons or options where I can click to delete someone.  So how do I clean up my Windows 8 People app and remove these contacts?


Why does this horizontal line appear across the model when I add a subsurf modifier?

So I have a screenshot for you, of the rear end of my female 3D model, and there in a strange indent going through it. Which only appears when I use a subdivision surface modifier.  And no, I am not talking about here butt crack xD I am talking about the horizontal line that goes all the way around.  It is unique from the possible duplicate due to the fact that it is a horizontal line, and thus is not a mirroring issue.  Here is the image:


I know $[0,1]$ denotes the interval between 0 and 1 with the boundary. And $(0,1)$ denotes the interval between 0 and 1 without the boundary. Today, I encounter some expressions as $]0,1]$, $]-\infty,+\infty]$. What does $]0,1]$ mean? Thanks.


I got below error after rebooting one of my production SQL server 2012 enterprise,     The log scan number (151082:691:0) passed to log scan in database 'master' is not valid. This error may indicate data corruption or that   the log file (.ldf) does not match the data file (.mdf). If this error   occurred during replication, re-create the publication. Otherwise,   restore from backup if the problem results in a failure during   startup.   This seems master database is corrupted, the SQL server service is not starting, I have latest full back of master, where do I restore master when sql service is not running and can I start sql server in single user mode on same server when master corrupt? If I restore master what will happen to user dbs? is there any difference in restoring master and re-installing sql server?  Very much appreciate your replies.  Thanks