When stars are cancelled on a chat message, the stars should not be refunded

We in the C# chat room are having an issue with people abusing stars. When someone starts spam-starring messages, we cancel the stars, but this gives the user their stars back, enabling them to spam us with more stars.  I think that stars should not be gotten back, so that someone who spams with stars can't use more than the daily limit.  Another possible solution I thought of is requiring the user to wait 15 or so seconds between stars. Even though that wouldn't stop the spam, it would make it more manageable.


Can I say "people that I'm not familiar with" ?

Hello everyone I would like to know if my sentence is or is not correct.   "I don't share my hobbies when I speak to someone is not aware of them like a relevant, a wife, and anyone that I'm not familiar with."


I'm wondering how can I simulate a sample of n Weibull distribution lifetimes that include Type I right-censored observations. For instance lets have the n = 3, shape = 3, scale = 1 and the censoring rate = .15, and the censoring time = .88.  I know how to generate a Weibull sample but I do not know how to generate a censored data that have type I right-censored in R.  T = rweibull(3, shape=.5, scale=1)


Find a family $\{I_n\}$ of closed nested intervals, such that no two $I_n$'s are equal and their intersection is $[-2,2]$.  An answer for the same question except for dealing with open nested intervals would also be appreciated.


I've got an M17X-R5 with the Intel 4800 cpu, Nvidia 3d graphics and it came with 5g wifi and a killer ethernet card. This is to replace my ageing M17x R1 which until recently worked perfectly with all I threw at it from Ubnutu 10.04 onwards.   When I come to install Ubuntu 13.04 on the new Alienware, all appears well except it doesn't detect an internet connection to download the updates whist it installs.  I've tried with a physical cable, via wifi and can only get it to detect a wireless connection if I plug in an old USB wifi adapter.  After installing with the USB wifi plugged in, and all patches applied, it still refuses point blank to detect a network unless I use the USB adapter.  I've tried installing Jockey and looking for additional drivers/hardware but none are found.    I'm very comfortable with Unix/Linux/AIX etc, but have to admit that when it comes to drivers and Linux, I'm a novice.  Any help would be appreciated.  EDIT: In answer to PJ Singh's very pertinent question in the comment section, this is a snip from the lspci command taken at boot from a USB boot disk (Try Ubuntu option) without any external wifi dongles installed:  08:00.0 Ethernet Controller: Qualcomm Atheros Killer E2200 Gigiabit Ethernet Controller (rev 10) 0a:00.0 Network Controller: Broadcom Corporation Device 43b1 (rev 03)   I should also note that when I said to begin with that it couldn't find any wifi networks  to install the updates over, it actually couldn't find any wireless adapters.  Edit:  Added output from process here (nicer formatting)  root@m17xr5-lnx:/usr/src/b43b1-6.30.223.95# lsmod | grep wl wl                   4117081  0  lib80211               14352  2 wl,lib80211_crypt_tkip cfg80211              510937  3 wl,mac80211,rt2x00lib root@m17xr5-lnx:/usr/src/b43b1-6.30.223.95# cat /etc/modules  wl root@m17xr5-lnx:/usr/src/b43b1-6.30.223.95#    Edit:  Resolved this today (September 29th 2013) by installing the latest Broadcomm drivers that are available with 13.10.  No compilation required, just installed using the package manager and loh-and-behold, the wireless adapter came to life - didn't even need a reboot.


I used AES256-CBC to SSH to a remote server. Recently, it stopped working with the following message:  no matching cipher found: client aes256-cbc server   aes128-ctr,aes256-ctr,arcfour256,arcfour,3des-cbc   When I used AES256-CTR as a cipher to SSH to the server, it worked as expected.  I read  article which outlines the following:     CBC (Cipher-block chaining)    Encryption parallelizable: No    Decryption parallelizable: Yes      CTR (Counter)    Encryption parallelizable: Yes    Decryption parallelizable: Yes   Is “Encryption parallelization” necessary in SSH?  Any other advantages of AES256-CTR over AES256-CBC used in SSH except being more robust against padding oracle attacks?


One of my NPC's constantly wants to move in and I have 3 rooms available but it won't settle down. The NPC's name is Reishi by the way.


Can I set two Chrome Gmail shortcuts to open different accounts?

I've just integrating my POP3 email for my business into a Gmail account. I like using Chrome's application shortcuts to open Gmail and Google Reader.  Thing is, I also have a personal Gmail address that I often check "at work", and my Reader subscriptions are also in my personal account.  Problem is, Chrome will only keep me logged in to one account at a time.I don't want to keep logging out of one and into another account.  Can I set one shortcut to open one account, and another to use a different account?


Term for describing what you like using particular adjectives

Suppose someone makes statements like these:  I like tasty food. I like beautiful pictures. I like well-written dramas / novels / articles / et cetera. I like good music.  As you see all those adjectives say something positive, yet entirely subjective, about the nouns the person likes. You might even say the adjectives are redundant, for example nobody likes food that's not tasty, but it depends on the person what type of food they'd call tasty. Is there a term for this type of statement? An example sentence:  These statements are ____, you should avoid them on your writing exams!  I found  where the adjectives describe a property that's already implied by the noun (a pleonasm). That's not the case here because you can say: "that food is very tasty", which isn't a pleonasm, nor is it otherwise redundant. Although when describing what you like by saying: "I like tasty food" it comes across as saying "I like food that I find tasty", in which the "that I find tasty" part is already implied by the "I like" part. After reading the Wikipedia page on pleonasms, I think my examples are pleonasms because the adjectives in bold are redundant in the context of the sentence. I am, however, looking for a more specific word (or subclass of pleonasms for that matter), it should at least imply that it's a pleonasm in the specific context (and not generally). A bonus would be if the term is specific to the verb adjective combination.


How come everything in the universe except the universe itself are spinning?

The planets and stars are spinning, galaxies and clusters are spinning so shouldnt the universe also spin? I think objects spin is to preserve angular momentum but it must also implied that in the beginning everything should be spinning too so is the big bang I guess, no? Then my next question is how does the big bang gets spinning if that's the case?


Few characters in Star Trek are known by their name only, with zero knowledge of the species to which they belong. Some examples are Trelane, Nagilum, and the Edo god.  "The Squire of Gothos" gives us Trelane, a powerful being that many have considered to be a Q. I personally don't believe that this is the case---Q-Squared is not canon---and the TOS episode shows that Trelane has weaknesses that members of the Q do not have.  Undoubtedly Trelane does not belong to any of the other species in the Star Trek canon. Based on the evidence, though, what species could Trelane belong to?  A) Trelane states that his people have found a way to perfect the converting of matter into other forms (words to that effect).  B) Trelane is not omniscient.  C) Trelane has respect for Captain Kirk's crew, and humanity in general (another reason why Trelane is not a good candidate for the Q).  D) Trelane enjoys "playing" with the crew of the Enterprise, and has no problem judging Captain Kirk, and scheduling his execution.  E) Trelane's creations are not illusions, but they are not perfect, either (the fire has no heat, for example).   F) Trelane apparently required the use of a machine to help him with his effects, though this may have been for show.


How to trick windows 7 to use only a part of the screen

Possible Duplicate:          I have a broken 20" LCD monitor which displays random pixels in the top 200 lines of pixels. I want to limit the display in such a way that when I maximize a window it will not be in the bad area and to limit the cursor position so it won't be in the bad area.


Lagrangian of a free particle, from Landau mechanics page 6

Let $K$ and $K'$ be two inertial frame and $K'$ moving with an infinitesimal velocity $\epsilon$ relative to $K$, i.e. $\vec{v'} = \vec{v} + \epsilon$. Let $L$ be the Lagrangian of $K$, $L'$ be the Lagrangian of $K'$ then we have $L' = L(v'^2) = L(v^2 + 2 \vec{v}\cdot\epsilon+ \epsilon^2)$ We can use Taylor series expansion and neglect second order terms: $$L(v'^2) = L(v^2) + 2\frac{\partial L}{\partial v^2}\vec{v}\cdot\epsilon$$ Landau then proceeds to argue that when $2\frac{\partial L}{\partial v^2}\vec{v}\cdot\epsilon$ is a linear function of $\vec{v}$, $L(v'^2) - L(v^2)$ is a total time derivative. Therefore he deduced that $L = \frac{m}{2}v^2$ My question is: Why $2\frac{\partial L}{\partial v^2}\vec{v}\cdot\epsilon$ is a linear function of $\vec{v}$? Why it is a total derivative of time of function $f(x,t)$?


$ which echo echo: shell built-in command. $ which ls /bin/ls $ which cat /bin/cat   Why is echo not an independent utility like ls, ps, cat etc? Why is it shell specific? Any good reasons?


Is it considered "bad practice" to use "@" to avoid errors?

Is using @ to repress errors considered bad practice? Take this code for an example:  ... $an_array = false;  if (something) $an_array = array("key" => "value);   if (array_key_exists("key", $an_array)) ...   In my structure it can be, that an_array is still false when I want to use array_key_exists() on it. Is it considered bad practice to do: @array_key_exists()? Shall I use if (is_array($an_array) AND array_key_exists(...)) instead?


Separate MacOS Dock positioning on different displays

I've got two displays arranged like so:    I'd like my dock to appear along the bottom of my primary (horizontal) screen but show on the left of my secondary (vertical) screen.  Is there any way to do this on MacOS?


How to determine the most likely reading frame of a DNA sequence?

This question is from a past exam paper for an introductory bioinformatics module. I'm a computer scientist doing biology for the first time.  "A short bacterial gene has been sequenced, giving the following DNA sequence. Write out the 6 possible reading frames for this sequence and indicate which is the most likely protein translation of this sequence. Explain your reasoning for picking the given translation, and write all the translations in single letter amino acid code form.  5' - ttattcatccgccagcgccatgcgcgccat - 3'  "  I think I understand the 6 possible reading frames: three from the 5' end starting tta, tat and att; and three from the 3' end starting tac, acc and ccg.  I could also write out the translations for a given reading frame with a codon usage table. It's the most probable reading frame part I don't get. I thought perhaps I was looking for the longest open reading frame. I can only see one start codon (atg). What is the correct way to recognize the most probable reading frame?  I can't find this problem exactly on Biology Stack Exchange. I did find:     It made me wonder if I'm getting confused between "reading frame" and "open reading frame", this question only asks or the former.  Thanks!


Is there a word for people who worship/glorify something just because it's old?

I'm not talking about religion.  Imagine certain Ancient Egyptian writing or old Chinese poem or phrase by Shakespeare, comment on life being very short or we being puppets in the theater of life.  Some people seem to think that just because this is very old, than mere repetition of the phrase has a certain authority or importance or power above and beyond what some brilliant philosopher at present might say.  There is a kind of glorification of it beyond the thought expressed, mere reason that it's old or very old.  So these people constantly quote this or that ancient writing as if it's proof of veracity of certain view.  Is there a word for these people or this act?    Any idea?  Edit: thank you, it's similar to the other question, consider this solved.


How do I add "citations" at the end of the document as done here?

As you can see in  article on Wikipedia, there is a distinction made between notes, citations and references. I would like to have a section called citations at the end of my document which I can refer to like this[2]  [2] Lasker (1934), p. 73  which is to be found in my references under "Lasker, Emanuel (1934). Lasker's Chess Primer. London: Billings (1988 reprint). ISBN 0-7134-6241-8". Ideally, I would like this citation to contain a hyperlink to this reference (although this is not done in the document). Any good way to do this or something similar?


We all know that black hole is a cosmological planet which has a great dense material in it. I read that it can even suck the light. But the details provided in the internet as well as NASA, about black hole is suggesting that a fume of gases is being ejected from it even named as "Relativistic Jet". But how could it happen? Because no matter in universe could travel faster than speed of light. When light is also being sucked in, then what is the matter of jet of fumes coming out of it.


Why does a test return the p value?  I am looking at the Diebold-Mariano-Test (DM Test):   Basically, this test gives me a DM statistics, and also the p value. So, do I just the p-value to judge a null hypthoesis?  For instance, if p-val > alpha = 0.05, then I reject the null hypothesis, is this correct?


Pressing specific 3 buttons at a time not working but other 3 combinations are working

I'm playing Pro Evolution Soccer 2018 with Logitech K200 (with default keyboard settings) on Windows 8.1 Pro, and to sprint in north-west direction I'm pressing left_arrow + top_arrow + E and it is not working also to shoot in south-west direction left_arrow + down_arrow + A are not working together, but I'm able to sprint in north-east, south-east and south-west using the arrows keys and the E key.  So, some 3 key combinations are working some aren't working.  Please help me fix this so that I can play well :)


Number of planks required to stop the bullet

A bullet looses (1/n)th of its velocity passing through one plank. The number of such planks that are required to stop the bullet can be?  Logically, to me the answer seems to be infinity, as always a fraction of velocity will get reduced. But in my book the answer is n^2/(2n-1) (that comes from energy balance). What is correct?


I am using samsung galaxy j7, in the developer options there is a option "OEM Unlock" if I turn it on will it wipe my data?   Also does samsung locks bootloaders? My device is not tied to any carrier.


What is the difference between Base-2 and Base-10 in the speed and performance?

I know the basic definition of base-2 and base-10 But I wonder what is the difference between them in the performance and the speed of a program.  for example: in C#, data type double is a Base-2 and data type decimal is a Base-10 so that double is very fast in calculations and decimal is up to 10x slower than double.  I don't understand why this ,so please anyone explain this to me and thanks in advance :)


How can I make my Mac accept a user password of less then 4 characters?

I don't want secure password for my desktop. Instead I use just two letters for quick typing. I can change password in terminal by running:  passwd   But terminal gives me:   Failed global policy "com.apple.defaultpasswordpolicy"  Password change failed because password does not meet minimum quality requirements   The same limitation is when trying to set it by preference panel obviously.  Until now in last versions of system, only solution I found was installing of Server application from Apple and basically modifying you osx by it to be   a server, so you can access one setting for password characters policy and be able to set whatever password you like.  So is there other option ?


Suggestions to split a string into substring

I want to split "ranganath" into something like    "ra" "ng" "an" "at" "h"   using Python. Any help would be highly appreciated.


What is the largest perfect square that divides $$2014^3-2013^3+2012^3-2011^3+\cdots+2^3-1^3$$


Will British Airways compensate if my entertainment screen was defective for an entire flight?

I was wondering will I get a compensate if the screen was not working the entire flight from London to LA through the British airlines? I did report the issue.


Help me ID book about time traveling kids

Can't remember the name of a book I read as a kid. Premise is that teens travel back in time using some sort of diode. I think the teens were created somehow and one is named "fiver." The "fiver" name referred to the sequence of the traveler. So the protagonist was the fourth traveler, and Fiver would take over after him. The book would've published before the 90s, but I'm not sure how much earlier. Help?


I need to knock out a quick animation in C#/Windows Forms for a Halloween display.  Just some 2D shapes moving about on a solid background.  Since this is just a quick one-off project I really don't want to install and learn an entire new set of tools for this.  (DirectX dev kits, Silverlight, Flash, etc..)  I also have to install this on multiple computers so anything beyond the basic .Net framework (2.0) would be a pain in the arse.  For tools I've got VS2k8, 25 years of development experience, a wheelbarrow, holocaust cloak, and about 2 days to knock this out.  I haven't done animation since using assembler on my Atari 130XE (hooray for page flipping and player/missile graphics!)  Advice?  Here's some of the things I'd like to know:   I can draw on any empty widget (like a panel) by fiddling with it's OnPaint handler, right?  That's how I'd draw a custom widget.  Is there a better technique than this? Is there a page-flipping technique for this kind of thing in Windows Forms?  I'm not looking for a high frame rate, just as little flicker/drawing as necessary.   Thanks.  Post Mortem Edit ... "a couple of coding days later"  Well, the project is done.  The links below came in handy although a couple of them were 404.  (I wish SO would allow more than one reply to be marked "correct").  The biggest problem I had to overcome was flickering, and a persistent bug when I tried to draw on the form directly.   Using the OnPaint event for the Form: bad idea.  I never got that to work; lots of mysterious errors (stack overflows, or ArgumentNullExceptions).  I wound up using a panel sized to fill the form and that worked fine. Using the OnPaint method is slow anyway.  Somewhere online I read that building the PaintEventArgs was slow, and they weren't kidding.  Lots of flickering went away when I abandoned this.  Skip the OnPaint/Invalidate() and just paint it yourself.  Setting all of the "double buffering" options on the form still left some flicker that had to be fixed.  (And I found conflicting docs that said "set them on the control" and "set them on the form".  Well controls don't have a .SetStyle() method.)  I haven't tested without them, so they might be doing something (this is the form):      this.SetStyle(ControlStyles.UserPaint, true);     this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true);     this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);    So the workhorse of the code wound up looking like (pf is the panel control):      void PaintPlayField()     {         Bitmap bufl = new Bitmap(pf.Width, pf.Height);         using (Graphics g = Graphics.FromImage(bufl))         {             g.FillRectangle(Brushes.Black, new Rectangle(0, 0, pf.Width, pf.Height));             DrawItems(g);             DrawMoreItems(g);             pf.CreateGraphics().DrawImageUnscaled(bufl, 0, 0);         }     }   And I just called PaintPlayField from the inside of my Timer loop.  No flicker at all.


A horizontal stick is one metre long. Fifty ants are placed in random positions on the stick, pointing in random directions. The ants crawl head first along the stick, moving at one metre per minute. If an ant reaches the end of the stick, it falls off. If two ants meet, they both change direction. How long do you have to wait to be sure that all the ants have fallen off the stick?


Work done by a homogeneous gravitational field on a system of particles

Perhaps this is trivial: how does one prove that the work done by a homogeneous gravitational field on a system of particles is equal to the work done on a point mass with the total mass of the system, located at the center of mass of the system.


If $\triangle$ is the area of triangle with side lengths $a,b,c$, then show that $\triangle \le\dfrac{1}{4}\cdot\sqrt{(a+b+c)abc}$. Also show that equality occurs in the above inequality when $a=b=c$  My attempt is as follows:-  $$\triangle=\sqrt{s(s-a)(s-b)(s-c)}$$  $$\triangle=\dfrac{1}{4}\sqrt{(a+b+c)(b+c-a)(a+c-b)(a+b-c)}$$  $$b+c-a>0,a+c-b>0,a+b-c>0$$  So we can apply $A.M\ge G.M$  $$\dfrac{b+c-a+a+c-b+a+b-c}{3}\ge\left((b+c-a)(a+c-b)(a+b-c)\right)^\frac{1}{3}$$ $$\dfrac{a+b+c}{3}\ge\left((b+c-a)(a+c-b)(a+b-c)\right)^\frac{1}{3}\tag{1}$$  As $a>0,b>0,c>0$, we can also say  $$\dfrac{a+b+c}{3}\ge(abc)^\frac{1}{3}\tag{2}$$  But we can't say from this that $(abc)^\frac{1}{3}\ge\left((b+c-a)(a+c-b)(a+b-c)\right)^\frac{1}{3}$  So I tried $G.M\ge H.M$ for $a,b,c$  $$(abc)^\frac{1}{3}\ge\dfrac{3abc}{ab+bc+ca}$$ $$\dfrac{ab+bc+ca}{3}\ge(abc)^\frac{2}{3}\tag{3}$$  Seems like it didn't produce anything useful, so  I tried $G.M\ge H.M$ for $b+c-a,a+c-b,a+b-c$  $$\left((b+c-a)(a+c-b)(a+b-c)\right)^\frac{1}{3}\ge\dfrac{3(b+c-a)(a+c-b)(a+b-c)}{((b+c-a)(a+c-b)+(a+c-b)(a+b-c)+(b+c-a)(a+b-c))}$$  $$\left((b+c-a)(a+c-b)(a+b-c)\right)^\frac{1}{3}\ge\dfrac{3(b+c-a)(a+c-b)(a+b-c)}{2ab+2bc+2ca-a^2-b^2-c^2}\tag{4}$$  But again it didn't produce anything useful, so I tried something else.  Applying $A.M\ge G.M$ for $a+b+c,a+b-c,b+c-a,a+c-b$  $$\dfrac{2(a+b+c)}{4}\ge\left((a+b+c)(b+c-a)(a+c-b)(a+b-c)\right)^\frac{1}{4}$$ $$\dfrac{a+b+c}{2}\ge\left((a+b+c)(b+c-a)(a+c-b)(a+b-c)\right)^\frac{1}{4}$$  Squaring both sides  $$\dfrac{(a+b+c)^2}{4}\ge\left((a+b+c)(b+c-a)(a+c-b)(a+b-c)\right)^\frac{1}{2}$$  By cachy's inequality:-  $$(1^2+1^2+1^2)(a^2+b^2+c^2)\ge(a+b+c)^2$$ $$3(a^2+b^2+c^2)\ge(a+b+c)^2$$ $$\dfrac{3(a^2+b^2+c^2)}{4}\ge\dfrac{(a+b+c)^2}{4}\tag{5}$$  Hence  $$\dfrac{3(a^2+b^2+c^2)}{4}\ge\left((a+b+c)(b+c-a)(a+c-b)(a+b-c)\right)^\frac{1}{2}\tag{6}$$  Dividing by $4$  $$\dfrac{3(a^2+b^2+c^2)}{16}\ge\triangle$$  So I tried all these approaches, but unfortunately didn't arrive at the required result. What can we do here? Please help me in this.


i just started python after php and javascript but i am confused in this easy concept....i already search a lot about this on tutorialpoints or w3school but i find nothing  here is the example code   var1 = 'Hello-World!' print("var1[:6]: ", var1[:6])   This code will print the output as  Hello- but here where is the W word because a string always start from 0 value so w will also be printed .....  anyways now i decided to print every word seperately  print("var1[0]: ", var1[0]) print("var1[1]: ", var1[1]) print("var1[2]: ", var1[2]) print("var1[3]: ", var1[3]) print("var1[4]: ", var1[4]) print("var1[5]: ", var1[5]) print("var1[6]: ", var1[6])   and the output is   var1[0]:  H var1[0]:  e var1[0]:  l var1[0]:  l var1[0]:  o var1[0]:  - var1[0]:  W   now i am really confused that why W is not printed in my first example code ?


Skynet - were AI's actions evidence of Intelligence?

It's a bit unrealistic for me that Skynet just after the moment it becomes self aware, begins its attack on the enemies (humans). Wouldn't it be more "prudent" for it to wait until the technology (defense equipment / weapons ) is more developed?  I think it lacked an ordinary working force (e.g. T-600), and it was quite aware of this problem - the only reason for it reacting in such a hurry is an emotional response. This is contradicting the rational AI MO.  I think that it would be more wise for Skynet to wait out until a chance is presented, this makes me doubt the intelligence of the Skynet system.


We have the following points: $$ (0,0)(1,51.8)(1.9,101.3)(2.8,148.4)(3.7,201.5)(4.7,251.1)  \\ (5.6,302.3)(6.6,350.9)(7.5,397.1)(8.5,452.5)(9.3,496.3) $$ How can we find the best fitting line $y=ax$ through the points? My calculator has the option to find the best fitting line $y=ax+b$ through these points, which is:  $$y = 53.28x + 0.37$$  How can I find the best fitting $y=ax$? It seems to me we can't just remove the $0.37$ without compensating in the $a$?


How to add modification to a submitted change in Git?

I have pushed a change in Git with a little mistake. How to add some modification in that same changelist? I heard that it's possible using cherrypick. I'm unable to find how.


Confused with output while working with float

int main() { float b=123.1265; printf("%f\t",b); return 0; }   OUTPUT is 123.126503  now my question is from where this 03 is coming in the output.. I tried with random numbers but every time I got random output rather than the value I assigned..


linux: how can i open a gui program like google-chrome from the command line so that it stays open even after teminal closes

i am a ubuntu user.  i often open/launch programms from the command line / terminal. But when i close the terminal, the program also shuts down. Is there some way to let the programs stay open, even when the terminal, i launched it from, is closed?  Thank you in advance!


RE: Getting Ubuntu Server to Show Web Page URL instead of Just my IP Address

I am currently working out of a book, "Mastering Ubuntu Server, (LaCroix 2018)."  I have not been through the entire book but I am having doubts so far.  I have a website URL that I want to host from a home server.   ...  I got as far as getting my home server to host my IP Address. Now, I have not been able to set up ../../50-xxxx-.yaml to make this web URL become hosted by my home server w/ my own web page.  I wrote a simple, HTML file for hosting the web address and web page on this home server.  Do not get me wrong, I know what I have read online, via this book, and while attempting various, different methods on IP Addresses, home servers, and websites.  ...  How can I use Ubuntu Server to set up my home server for promoting web pages instead of hosting IP Addresses?  Seth  P.S. In the meantime, I will keep searching my book, online, and via this "askubuntu.com/questions/ask" page online.   ...  For instance, this is my .yaml software to host it so far.   #blah network:   version: 2   renderer:networkd   ethernets:   enpOs3:     dhcp4: yes   I also tried:  #blah network:2 renderer: networkd ethernets:   enpOs3:     dhcp4:no     addresses:[192.168.x.xx/24]     gateway4:192.168.1.1     nameservers:       addresses:[192.168.1.1,8.8.8.8]   Anyway...if you have more expertise, which you do, than I, please contact me regarding this situation I have come across.


How do you disable browser autocomplete on web form field / input tags?

How do you disable autocomplete in the major browsers for a specific input (or form field)?


Is there 50 sheep in the field? or Are there 50 sheep in the field?  Somehow, I think both are correct. But, I do not know for sure, which is why I am asking.  Thank you for any help, anyone


Is there any relation between the suffix "-ship" and actual ships?

I am curious if there is actual relation between all nouns ending in -ship, such as relationship, citizenship, sportsmanship, etc. with the vessel for transporting people or goods over the sea?


No space left on device, not able to install anything

Please refer to the above link. My 19GB / partition is 100% full. I understand that root / partition /dev/sda8 is filled, but I guess I was expecting partition /dev/sda6 to get filled because that's where it shows 80GB space. I'm unable to install anything now.


Since I am a new Ubuntu user and I am not familiar with commands and Terminal is it possible to use Ubuntu like other OS without messing around with command lines, just installing apps and using them like some average user.


Problem installing software with Ubuntu 14.04 LTS 32-bit

I'm trying to install different softwares found on Ubuntu Software Centre but I always get back the "Requires installation of untrusted packages" message after entering the pwd. That message pops up several times either after hitting "OK" or "Repair" button. The installation doesn't simply take place.  I tried the installation thru Terminal as suggested somewhere using the details in the error message but without success - here is the case of Stellarium software:  skround@HP-EliteBook-2530p:~$ apt-get install stellarium stellarium-data E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?   Any suggestion? Thanks in advance


Let $f:[0,1]\to [0,\infty)$ be a continuous function. If $\int_0^1 f\, dx =0$ then $f(x)=0$ for all $x$.  I'm thinking this involves the Fundamental Theorem of Calculus when trying to prove it.


What is maximal possible order of an element in $S_{10}$ ? Why?

What is maximal possible order of an element in $S_{10}$? Why? Give an example of such an element. How many elements will there be in $S_{10}$ of that order?


I have 2 HDD drives in my computer. At the moment second drive is mounted as /media/storage.  How can I move my user data from /home to /media/storage/home?  Can I just move the data over there and then simply symlink it back?


Why do we need an isolation transformer to connect an oscilloscope?

My professor always insists that I provide power to an oscilloscope thorough an isolation transformer. What is the necessity of this? What is the risk if I don't connect it?


The names of the derived functors $\operatorname{Tor}$ and $\operatorname{Ext}$ seem quite cryptic to me. Does anyone know what these abbreviations stand for? I would be glad if someone could tell me where these names come from.


Single hyperlink box instead of two boxes around citation call-out

When using the natbib and hyperref packages, I get 2 hyperlink boxes around an authoryear-style citation call-out. Is it possible to make it such that there is only a single green box around the citation call-out? \usepackage[round]{natbib} \bibliographystyle{plainnat}


Normalizer of Unipotent subgroup in General Linear group

Let $\mathrm{GL}(n,\mathbb{F}_p)$ be the general linear group over field of order $p$, and $\mathrm{U}(n,\mathbb{F}_p)$ be the subgroup consisting of upper triangular matrices with each diagonal entry $1$. Then   the normalizer of $\mathrm{U}(n,\mathbb{F}_p)$ in $\mathrm{GL}(n,\mathbb{F}_p)$ is the subgroup consisting of upper triangular matrices.  Is there any elementary way to prove this?  (The way I know is by using Bruhat decomposition. But, this decomposition may not be known to a beginner in group theory, it will be difficult to explain the proof by Bruhar decomposition.)


Setting per-question criteria users have to meet to answer a question

Note that this is NOT only about points. The "duplicate" question is asking for a SO reputation-based limitation. This is asking rather for a more sophisticated conditions.  I have had a very bad experience with some newbies in different areas which clutter my question with invalid answers and comments on an expert topic, then start a useless discussion, and vote down in the end.  I don't mind them voting down, but I am getting tired of asking people not to answer with "Wrong and obvious answer 1" or "Wrong and obvious answer 2", and then explaining to them why their answer is not what I need, because they don't even know enough about the topic to get the question. This is simply not how Stack Overflow should work.  I'd like to be able to set some (per-question) limits on ratio of accepted answers to certain tags, or ratio of upvotes vs. downvotes on some tags, or other criteria, to allow the user to answer (NOT vote). I'm okay with getting fewer but higher-quality answers rather than (just as a made up example) something like "You can't do sqrt(-1)", which ignores irrational numbers.  Is that possible now? If not, may I suggest that?


my pdf generation works like pdflatex biber pdflatex pdflatex. In the context of final PDF generation, I checked the log file and stumbled upon several weird entries:  <graphics/measurementOverview.pdf, id=2875, 384.43625pt x 196.23312pt>   The weird thing about this is the dimension: I checked the text width (using \the\textwidth) to be 383.0pt. So I created all my pdf figures on exactly 383.0pt. Besides, I include figures like that:  \newcommand\figureFrame[3][ht]{%     \begin{figure}[#1]         \centering         \includegraphics[width=\textwidth]{graphics/#2}         \caption{#3}         \label{fig:#2}     \end{figure} }   As you can see, also there is the text width of 383.0pt used. So why the hell prints the pdflatex run this strange dimension of 384.43625pt? This happens for nearly all my figures... thank you!


Consider the equation $(x^3-3x^2+4x-2)s(x)+(x^2-1)t(x)=x+1$. How can we find polynomials $s(x), t(x)$ which satisfy this equation? Clearly $x+1$ divides the term involving $t(x)$ but not the first polynomial. If there are solutions then we need $(x+1)$ to divide $s(x)$. I am not sure where to go from here though.


Refresh DataGridView when updating data source

What is the best way to refresh a DataGridView when you update an underlying data source?  I'm updating the datasource frequently and wanted to display the outcome to the user as it happens.  I've got something like this (and it works), but setting the DataGridView.DataSource to null doesn't seem like the right way.  List<ItemState> itemStates = new List<ItemState>(); dataGridView1.DataSource = itemStates;  for (int i = 0; i < 10; i++) {      itemStates.Add(new ItemState { Id = i.ToString() });     dataGridView1.DataSource = null;     dataGridView1.DataSource = itemStates;     System.Threading.Thread.Sleep(500); }


Is there a nice way to show:  $\sin(x) + \sin(y) + \sin(z) \geq 2$ for all $x,y,z$ such that $0 \leq x,y,z \leq \frac{\pi}{2}$ and $x + y + z = \pi$?


Typesetting Japanese in LaTeX errors because of gb4e

I'm trying to include Japanese and English text in the bibliography of LaTeX document while also using the package gb4eand no matter what Japanese text I input it comes out in the pdf as "0123456789abcdef0123456789abcdef0123456789abcdef01234". I'm using CJKutf8 with pdflatex (texlive2014) and have     wadalab and CJK and the necessary fonts installed. I would use XeLaTeX but I would have to change too much of the earlier code to make it work properly. Any suggestions of why it is not working properly and why gb4e causes these problems? I need to keep the gb4e package for linguistic inter-linear glossing in the document.  Here is my sample code:  %!TeX encoding = UTF-8 %!TeX program = pdflatex \documentclass{article} \usepackage{CJKutf8} \usepackage[TS3,T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{gb4e}  \begin{document}  \begin{exe} \ex Make sure that ^{super}_{sub}scripts in \texttt{gb4e} work fine. \end{exe}  \begin{thebibliography}{99} \bibitem{1} Inui, Hideyuki. 2005.   \begin{CJK}{UTF8}{min} バスケト語の文法概観 \end{CJK}   [A grammatical survey of the Basketo language]. \emph{Cushitic-Omotic Studies} 2004, 1--40. \end{thebibliography} \end{document}   Here is a brief selection of the error text:  ! Use of ^ doesn't match its definition. <argument> ^^c               0 l.16 ...ui, Hideyuki. 2005. \begin{CJK}{UTF8}{min}                                                    バスケト語の文法�...  ?


dimension of a subspace spanned by two subspaces

If $M$ and $ N$ be the subspaces of a vector space $V$ then prove that  $(\dim M) + (\dim N) = (\dim M+N) + (\dim M \cap N)$.


When should a capital letter be used for the word city?  E.g  spark innovation in the city.... The city has an opportunity.... The city is growing...  Would I use a capital in any of the above sentences? I've been told that if you are talking about "the City" then it should be capitalised?  Thanks


How do I install 'Make' without internet connection?

I need to install wifi drivers on my laptop, the drivers I have use 'Make' during the install process.   How can I download 'Make' without installing and save to usb (obviously using a pc with internet connection)?


What's the difference between portal and newly introduced salesforce community

After introduction with salesforce community, I am unable to clear how community is different from portal functionality. I already read  but this don't have answers of question like:   What is new things being provided by community? What are restriction we have if we use community? Advantage of community over portal. Is it capable of provide Email functionalities as same we have in other organization types? Role of chatter in communities etc. Is their difference between portal user and community user?   I already know that community is dedicated feature for portal functionality, but is it have some new functionality or only a portal part is separated?  Please provide some summary, links or answers you have.


Teaser in chat a.k.a. chat post options overlap the message making links unclickable

When a link is shared in chat and it ends up in a specific position on the screen it is impossible to click it (without fiddling with the DOM).  As you can see in the printscreen above a link is in a post at the end of the line. However when I try to click the link the post options overlays the link (once I hover over the post):   Link to transcript:  Resolution: 1366 x 768 (laptop) Browser: Chrome v3300 (by the time you read this it will be at that version)


Which serverless database to store user data and images?

I am designing a cloud deployed system where users can log in and upload some user-specific images (not super large files, but maybe sometimes >1mb that are then later displayed in the system to the specific user. I am asking myself if I really need Blob storage or if I can go with a SQL database only... what do you think? Thank you very much.


What is currently the most reliable VPN for China?

I will soon be spending a few months travelling across China and want to get a VPN service to get around the Golden Firewall.   When I was in China in 2014/15 the general consensus was that Astrill offered the most reliable service, but I heard that they have been targeted quite strongly by the government over the last year.   Therefore, I am wondering what is the best VPN for China these days? Is Astrill still as good as it used to be?   Any recent experiences would be very helpful!


How can I make these objects in the shape of a circle

how can I make these objects in the shape of a circle


Trouble finding the roots of the equation with C

I tried to write a code to find the roots of the equation without the mat.h library The code does not work when delta is bigger than zero, why might it be due?  void find_root(){ double a,b,c; double delta; double num=0; double root_1,root_2;  printf("Please Enter the first coefficient"); scanf("%lf",&a); printf("Please Enter the second coefficient"); scanf("%lf",&b); printf("Please Enter the third coefficient"); scanf("%lf",&c); delta=(b*b)-(4*a*c);  if(delta>=0){     while(delta!=num*num){     num=num+0.001;     }     root_1=(-b+num)/(2*a);     root_2=(-b-num)/(2*a);     printf("Your equation %.1lfx^2 + %.1lfx + %.1lf have real roots {%.1lf,%.1lf}",a,b,c,root_1,root_2); }  else  {     printf("Your equation %.1lfx^2 + %.1lfx + %.1lf does not have any real roots",a,b,c); } }


Why can I see the output of background processes?

For example, when I type ping 8.8.8.8 &, why can we see ping process working? And when I type find / -name '*test*' & , it's also seen on monitor.  Why is that? Is it not really in background?


apt-get -f install is trying to remove sudo

I was trying to get a program to work, and installed a different version of wine that overwrote the version of wine I already had. (That version ended up not working) So I tried installing the default version of wine i already had, and it tells me to use sudo apt-get -f install because some wine packages are missing their dependencies, but when I run -f install it won't work because it tries to remove the package "sudo"  You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies:  wine:i386 : Depends: wine1.6:i386 or                       wine1.8:i386 but it is not going to be installed  wine1.6-i386:i386 : Depends: wine1.6:any:i386 (= 1:1.6.2-0ubuntu4) E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). ryan@ryan-X551MA:~$   ryan@ryan-X551MA:~$ sudo apt-get -f install Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required:   attr libacl1:i386 libaio1 libattr1:i386 libav-tools libavdevice53   libavfilter3 libavresample1 libboost-filesystem1.54.0 libboost-regex1.54.0   libbsd0:i386 libbz2-1.0:i386 libcap2:i386 libgksu2-0 libgtkglext1   libhdb9-heimdal libkdc2-heimdal libldb1:i386 libncursesw5:i386   libnss-winbind libntdb1:i386 libopencv-highgui2.4 libpam-winbind   libpopt0:i386 libpython-stdlib:i386 libpython2.7:i386   libpython2.7-minimal:i386 libpython2.7-stdlib:i386 libreadline6:i386   libtalloc2:i386 libtdb1:i386 libtevent0:i386 libwbclient0:i386 mkvtoolnix   ocl-icd-libopencl1 p7zip python-dnspython recordmydesktop samba   samba-dsdb-modules samba-vfs-modules simplescreenrecorder-lib tdb-tools   ttf-wqy-microhei winbind wine-gecko2.21 wine1.6-amd64 Use 'apt-get autoremove' to remove them. The following extra packages will be installed:   libaudit1:i386 libpam-modules:i386 libpam0g:i386 sudo:i386 unrar:i386   wine1.6:i386 wine1.6-amd64 winetricks:i386 Suggested packages:   libpam-doc:i386 dosbox:any:i386 Recommended packages:   winbind:i386 The following packages will be REMOVED:   sudo The following NEW packages will be installed:   libaudit1:i386 libpam-modules:i386 libpam0g:i386 sudo:i386 unrar:i386   wine1.6:i386 wine1.6-amd64 winetricks:i386 0 upgraded, 8 newly installed, 1 to remove and 36 not upgraded. Need to get 0 B/17.6 MB of archives. After this operation, 129 MB of additional disk space will be used. Do you want to continue? [Y/n] y   Preconfiguring packages ... (Reading database ... 201469 files and directories currently installed.) Removing sudo (1.8.9p5-1ubuntu1.2) ... You have asked that the sudo package be removed, but no root password has been set. Without sudo, you may not be able to gain administrative privileges.  If you would prefer to access the root account with su(1) or by logging in directly, you must set a root password with "sudo passwd".  If you have arranged other means to access the root account, and you are sure this is what you want, you may bypass this check by setting an environment variable  (export SUDO_FORCE_REMOVE=yes).  Refusing to remove sudo. dpkg: error processing package sudo (--remove):  subprocess installed pre-removal script returned error exit status 1 Errors were encountered while processing:  sudo E: Sub-process /usr/bin/dpkg returned an error code (1)


How do I use blender's built in HDRI's? I can see their effect in the viewport and I like it, but when I render, it only uses the other lights I have manually added. I have circled where I am getting the HDRI from. Thanks for any help!


Refusal of Schengen Visa from Spanish Embassy

Today, my visa application was refused from the Embassy of Spain, India. The reasons they mentioned are:   Justification for the purpose and conditions of the intended stay was not provided.   You have not provided proof of sufficient means of subsistence, for the duration of the intended stay or for the return to the country of origin or residence, or for the transit to a third country into which you are certain to be admitted, or you are not in a position to acquire such means lawfully.   Your intention to leave the territory of the Member States before the expiry of the visa could not be ascertained.    My questions are:    How can they say this while I have provided them with not only necessary financial documents, but also the letter of intent and return ticket of flight and proof of prepaid accommodations?   Please tell me how much money they like to see in one's account before granting a visa?   How can I overcome this sort of problems?


Computing $\lim_{x\to{0+}}\frac{\tan(x)-x}{x^3}$ without L'Hôpital's rule.

Computing $\lim_{x\to{0+}}\frac{\tan(x)-x}{x^3}$ without L'Hopital   Say $\lim_{x\to{0+}}\frac{\tan(x)-x}{x^3} = L$  For $L$: $$L=\lim_{x\to0}\frac{\tan x-x}{x^3}\\ L=\lim_{x\to0}\frac{\tan 2x-2x}{8x^3}\\ 4L=\lim_{x\to0}\frac{\frac12\tan2x-x}{x^3}\\ 3L=\lim_{x\to0}\frac{\frac12\tan{2x}-\tan x}{x^3}\\ =\lim_{x\to0}\frac{\tan x}x\frac{\frac1{1-\tan^2x}-1}{x^2}\\ =\lim_{x\to0}\frac{(\tan x)^3}{x^3}=1\\ \large L=\frac13$$  I found that in another Q, can someone tell me why   $$L=\lim_{x\to0}\frac{\tan x-x}{x^3}=\lim_{x\to0}\frac{\tan 2x-2x}{8x^3}$$


Is there a command so that the glossary will also display elements without links (an equivalent of \nocite in BibTeX)?


Shapefile for same region but they are not overlapping

i have two shapefile for same region but they are not overlapping with each other. one data set is admin boundaries which i have purchased form the survey of India and other data set is ward boundaries of the cities which i have downloaded form the government website. i have projected the ward boundaries in same projection system as the admin boundaries but still its not overlapping. what i should do.??  Admin boundaries details: Projected Coordinate System:    LCC_WGS84 Projection: Lambert_Conformal_Conic False_Easting:  4000000.00000000 False_Northing: 4000000.00000000 Central_Meridian:   80.00000000 Standard_Parallel_1:    12.47294400 Standard_Parallel_2:    35.17280600 Scale_Factor:   1.00000000 Latitude_Of_Origin: 24.00000000 Linear Unit:    Meter  Geographic Coordinate System:   GCS_WGS_1984 Datum:  D_WGS_1984 Prime Meridian:     Greenwich Angular Unit:   Degree


Remove visually similar images from folder

I need a free application/tool to remove visually similar images from folder. Most of the tools available are free only for demo version(i.e limited to few results)Found  ,but its script/code.


Does pushing a block of code to background in Bash result in parallelization?

Lets say I have a block of code like this:  while condition; do   {    command 1    command 2    command 3   } done   Does pushing the block of code between the curly braces to background  like this { code } & results in parallelization. Is there any improvement in performance by doing this for CPU intensive code blocks.


How Google crawler behaves when the HTML page is 1.6MB?

Is it possible that Google crawler doesn't fetch all the content on the page when it's size is 1.6 MB? How does Google treat big documents?


Mann Whitney test with unequal variances

I am confused on what I have read about the Mann whitney test. We are testing whether our actual data is the same as our projected data. We had been using the t-test until we realized the data might not be normal and we are using ~12 observations per sample. Therefore I started using the Mann Whitney test.   I have read some places that the test is not appropriate unless the variances are equal, and other places have said you can still use it if you don't care if the shapes are identical.   So do I need to test each sample against the other to see if the variances are equal? Do the interpretation of the results differ if the variances are not equal?


calculate surface area of a spherical ball's portion

Imagine a spherical ball with radius r that equally coated into two hemisphere P(grey) and S(white) is thrown at the pool. Consider the ball can float (up-down) and rotate. There is an interface separate two different fluid A(air) and B(water). Assume that the interface is flat. α defines the position of the ball and β defines the orientation of the ball. So α larger means ball is more in zone A and vice versa. Range of β and α is $[0,360^0]$ and $[0,180^0]$. The Schematic representation of this is below.   To calculate the surface area of P(grey) coated portion of the ball into A(air) is given by following equation,  $\mathrm{Area}_{P@A}=  r^2\int_{\theta=\frac{\pi}{2}-\beta}^\alpha  \int_{\phi=\arcsin(1/(\tan\theta \tan \beta))} ^{\pi -\arcsin(1/(\tan\theta \tan \beta)} \sin\theta\; d\theta d\phi.$  After solving this equation, we can get the following solution.  $\textrm{Area}_{P@A}= 2 r^2 \left\{ \cos (\alpha) \sin ^{-1}(\cot (\alpha) \cot (\beta)) -\tan ^{-1}\left(\frac{\cos (\beta)}{\sqrt{\sin ^2(\beta)-\cos ^2(\alpha)}}\right)\right\}+\pi  r^2 (1-\cos (\alpha)).$  Note that the solution is defined as a function of α and β. If we change the value of α and β, the area of P coated portion into A(air) will change eventually. Thus we can calculate the area for all valid condition of $\alpha$ and $\beta$.  Now consider a different situation where P and S are not equally coated rather S>P. To show that I have introduced another angle γ also $r1$ the radius of the base of the cap.   Now how can i write $z$ as an increased angle? what will be the limits of integration for a spherical cap? Is there any particular analytical solution exists to calculate the area P(grey) into A(air) as a function of $α,γ,β$?


Removing vertical space before chapter headings.

I have a problem that I can't seem to solve. Basically, I want my chapter headings to be at the same position relative to top of the page as the rest of the text. I've looked at numerous resources online, but the problem is still not solved... :(  I tried using the titlesec package, but no results:  \usepackage{titlesec} \titleformat{\chapter}[hang] {\normalfont\Large\bfseries}{\thechapter}{1em}{\Large} \titleformat{\section} {\normalfont\Large\bfseries}{\thesection}{1em}{} \titlespacing*{\chapter} {0pt}{\baselineskip}{0pt} \titlespacing*{\section} {0pt}{\baselineskip}{0pt}   Here is what I get in the output:  Chapter Heading:    Other text (sections):    Also, the headings of TOC LoF and LoT are a little off from normal Chapter heading spacing...  Please help!


Why is the metric used in physics a squared norm?

The length metrics used in physics are usually a squared norm, like the following: $$ds^2 = g_{\mu \nu} \, dx^{\mu} \, dx^{\nu}. \tag{1}$$  What other kinds of continuous metrics could we define?  Why not the following multi-linear candidates? \begin{align} ds &= g_{\mu} \, dx^{\mu}, \tag{2} \\[1ex] ds^3 &= g_{\mu \nu \lambda} \, dx^{\mu} \, dx^{\nu} \, dx^{\lambda}, \tag{3} \\[1ex] \vdots \\[1ex] ds^n &= g_{\mu_1 \mu_2 \mu_3 \dots \mu_n} \, dx^{\mu_1} \, dx^{\mu_2} \, dx^{\mu_3} \dots dx^{\mu_n}. \tag{4} \end{align} What are the basic rules that "forces" physics to use the "squared" metric (1)?


iCloud "message size violation" when sending zip containing more than 127 files

Revised question As per 's suggestion in the comments I did some further testing. There seems to be a problem with iCloud and sending a zip file of a folder with a certain amount of files. There appears to be a limit of 127 files in 1 folder, regardless of file type (tried .png, .svg and .txt). When sending the mail using the Mail app I get a message size violation error and the mail can not be sent. Using the iCloud web interface the mail does appear to be sent (no error, appears in 'sent' list) but it never arrives. Does anyone know why this limit exists? (as  mentioned in the comments it might be some 7-bit shenanigans)  Old question If I try to send an email with a 1.3 MB zip file as attachment I get a message size violation error:  File sizes of the zip file and original folder (1.3 MB and 10.7 MB respectively):  At first I thought it was somehow related the original folder being more than 10 MB, but according to Apple's  the limit is 20 MB:  Limits on sending messages There are several safeguards in place to make sure that only iCloud members can send messages using iCloud. One of these safeguards includes reasonable limits on:  ... The size of incoming and outgoing messages (20 MB, up to 5 GB with Mail Drop turned on)   Why am I unable to send this zip file? (also: shouldn't Mail Drop kick in if it thinks the attachment is too large? It is turned on.)


JavaScript: get the current executing  node?

I need to know if it is possible to obtain the current execution node?   Example:  ..html <script id="x">   console.log(document.currentNode.id); // << this must return "x" </script> ..html   Thanks!


Why is complete strong induction a valid proof method and not need to explicitly proof the base cases?

I recently learned about . I am familiar with both strong induction and ordinary induction and make sense. But what particularly confuses me is why we do not to explicit the base cases for complete induction. They seem crucial for modus ponens to work and thus, actually show the stand alone proposition $p(n)$ to be true.  The claim for complete induction seems to be the following:     if we show $ P(m), m<n \implies P(n) $ then somehow that must mean that $P(0)$ is true (or $P(b)$ is true for some set of base cases $b \in BaseCases$)   These are my thoughts:  In induction we actually do two things (to show $ P(n) $ for all $ n \in \mathbb N$) :   show P(0) show implication $ P(n-1) \implies P(n) $   or for strong induction   show P(0) show implication $ \forall m, m < n, P(m) \implies P(n) $   However, in complete induction we only show:   $ \forall m, m < n, P(m) \implies P(n) $   now that I’ve thought of it more carefully, what bothers me is that in the inductive step we actually only show an implication is true, not that $P(n)$ is true. Intuitively, $P(n)$ ends up true because of Modus Ponens (MP), which forcibly requires checking some set of base cases, say $P(0)$.  What concerns me is the following: ff we show $ \forall m, m < n, P(m) \implies P(n) $ then we shown the implication is true, and not necessarily anything else. If $n=0$ then $ \forall m, m < n, P(m) \implies P(n) $ is False. So sure, the implication is (vacuously) true, but that doesn’t necessarily say $P(0)$ is true stand alone (which is what induction ultimately cares about!).   My assumption is that the claim the wikipedia article does is that (somehow) whatever proof for $ \forall m, m < n, P(m) \implies P(n) $ that we have must also be a stand alone proof for $P(0)$. I guess I could abstractly believe that’s true (mostly on faith), but it seems rather odd to me. I’ve never seen False implies $P(n)$ implies $P(n)$. It’s nearly like the truth table for implication is built so that if you only know the antecedent is False, then you can’t decide if the consequent is true. Which makes sense. A false starting point should intuitively get you no where or get you everywhere (by principle of explosion).  So my question is, whats going on? Is it just that the proof for $ \forall m, m < n, P(m) \implies P(n) $ can also be plugged in for a proof for $P(0)$ and then $P(0)$ is true? Or am I missing something?  I have a feeling that this being so abstract makes it hard to be believable and a concrete example of how $ \forall m, m < n, P(m) \implies P(n) $ automagically makes $P(0)$ (the base cases) true would be really valuable.    Another useful source:


Do I need to apply for a new ESTA if I'm going to the US again?

I visited New York City, USA on an ESTA at the end of last year and stayed for ten days. I now want to visit for two months from 28th Feb.  Do I need to apply for another ESTA or am I covered by the last one?


Machine Learning is sometimes associated with cryptography. Many of such cross field studies have been majorly done in use of machine learning for cryptanalysis/decryption. I am interested in knowing that can machine learning be used in anyway for encryption. Googling it did not give any relevant results. Are there any references or resources on this domain? Or is this idea impractical without much future scope?


No WiFi option on hp - realtek, RTL8723BE

I have searched for solution to this problem on stack exchange. I do not find WiFi option in the top right corner, neither in the system setting.  I tried installing the driver from GitHub using make, sudo make install, sudo modprobe rtl8723be. They work all right and the repository in cloned onto my desktop. However, on running sudo modprobe rtl8723be  modprobe: ERROR: could not insert 'rtl8723be': Required key not available


What is the Ubuntu accessibility for blind people?

Are there specific configurations and packages that could help blind people to use Ubuntu?  Blind people do use computers, and Ubuntu should be accessible to everyone.  It would be interesting to have the testimony of a totally or partially blind person who uses Ubuntu sharing their experience.   (Using Ubuntu 16.04, but I'm open to other Linux distributions)


When was "goodbye" in its most modern form first used?

I've seen when the word transitioned from Godbwye to goodbwye, but when did it become goodbye?


Is it a good idea to go to a university just because of its high international ranking?

I'm an international student and I'm currently studying pure mathematics in undergraduate level with a relatively low GPA (~3.5/4.0). I've recently read so many positive reviews about the universities in Singapore. I checked the "National University of Singapore (NUS)" on the internet for its international ranking and it was ranked 9th in mathematics!  How much do you think the ranking of a university positively affects my future career? For example, one of my dreams is that I can study in some Ivy-league university in the USA or some grand ecole university in France like Paris Sud 11 in the future, but because of my low GPA I'm afraid that that will never happen for me. Do you think that going to the NUS can help me to get accepted into world top universities in the future?


Why is "wand" not pronounced simiarly to "hand" and "sand"?

Having a bit of a discussion about this with a friend.  The only reason I know to pronounce "wand" like "want" and not "hand" is because that's how I've heard it, and I've just copied that. But from a more rigirous point of view, I can't really explain why this is correct.  Is there any rule that applies to this?


Conditions must satisfy $f: (a, b) \to \mathbb{R}$ so that its Taylor series converge to f itself.

I have a doubt.  What conditions must satisfy $f: (a, b) \to \mathbb{R}$ so that its Taylor series  converge to f itself.


I want only date not time from the string value.  Protected Sub btnEdit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnEdit.Click  Dim d As String=3/31/2014 12:00:00 AM  Dim str() As String = d.Split("") End Sub


Is there a way to use the v_model for the Soldier in Team Fortress 2?

A while back in Team Fortress 2 not only was the Soldier's v_model changed to the c_model but morally everything was. Since I use the soldier the most, I was curious if there was a way to use or get a skin that looks like the v_model since it interferes with my performance.   Here are two images to compare the differences. This is the new one using the c_model:    This is the old one using v_model, which I would like the end result to look like:    In conclusion I am asking if there is a way to use the v_model for the soldier, if not, would there happen to be a skin that would match this look?


How to make volume buttons on earphones/headphones work with Android?

I'm on the hunt for a great sounding, non-in-ear set of headphones with working mic, play/pause, and volume buttons.  I have Bang & Olufsen's , which are among the best sounding headphones I've ever used. And all three button work perfectly in my MacBook Air and iPhone.  Obviously they don't work perfectly in my Nexus 4, since Android devices uses a different way of reading volume up/down buttons.  So, my question is rather simple, does anyone know how to make them work with Android, or alternatively any equally good headphones to the EarSet 3i's that work on Android? And to make it extra challenging, no in-ear ones please, cause I can't stand them :(  Or maybe anyone knows of some kind of adapter cable that can be used between an Android phone and iPhone compatible headphones to translate the volume button signals so the Android device understands them?


When a square is wrapped at the edges, obtains a torus. Is it possible to do the same for a hexagon?  What is the shape/topology of wrapping a hexagon?     Note: I was just reading this  and came up with this question. I'm a physicist.


How do I get a date formatted as YYY-MM-DD from a cell for using in a script?

I have a problem getting a date from a cell in my Google Spreadsheet. I would like to access A3 in the sheet Dates, which holds the date 01/12/2013, and re-use that as variable start-date in the below mentioned script.   function fetchMAP28() {   // our query object   var query = {     "optionalArgs": {       "dimensions": "ga:date",       "max-results": "50"     },     "ids": "",     "metrics": "ga:users,ga:goal1Completions",     "start-date":"Here I like the date from the cell",     "end-date": "yesterday"   };    var results = Analytics.Data.Ga.get(     query.ids,      query['start-date'],      query['end-date'],      query.metrics,      query.optionalArgs   );    var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("dataMAP");   outputToSpreadsheet(results, sheet);  }


Can you break up Eldritch Blast attacks?

EB at higher levels makes multiple beams. Can you choose targets after each beam, move in between them, and use bonus actions as well? Case in point, level 5 Warlock casts EB. Decides to target Alice first, hits first beam on Alice, and downs her. Warlock then moves 10ft, casts Hex on Bob with a bonus action, and hits second beam on Bob as well. Is this legal?


I've got a simple program to swap 2 variables.  #include <stdlib.h> #include <stdio.h> int einlesen (void); int tausch(int,int); void ausgabe(int,int); int a,b,tmp; int main() {   printf("Bitte geben Sie 2 Zahlen zum Tauschen ein!");   einlesen();   tausch(a,b);   ausgabe(a,b); } int einlesen (void) {   scanf("%i%i",&a,&b); }   int tausch(int x,int y) !!!! {   tmp=a;   a=b;   b=tmp; } void ausgabe(int a,int b) {   printf("%i%i",a,b); }   It works, but my question is why the below doesn't work?  int tausch(int a,int b)


I have problems with my IF command in Google Sheets. If gives #ERROR! all the time. See this simple test:    Not even if I put in the number directly and avoid references:    Am I using the IF wrong? Or what could such a problem be? This example is from a new document.


Can all finite groups be distinguished either by their order, or by number of their subgroups?

Suppose $H$ and $G$ are finite groups. Define $s(G)$ as the number of subgroups of $G$. Is it true, that if $|H| = |G|$ and $s(G) = s(H)$ then $G \cong H$?   This conjecture holds for $|G| = |H| \leq 10$:  For $|G|=|H| \in \{1, 2, 3, 5, 7\}$ there is only one group of the corresponding order.  For $|G| = |H| = 4$:  $$s(C_4) = 3$$  $$s(C_2 \times C_2) = 5$$  For $|G| = |H| = 6$:  $$s(C_6) = 4$$  $$s(S_3) = 6$$  For $|G| = |H| = 8$:  $$s(C_8) = 4$$  $$s(C_2 \times C_4) = 8$$  $$s(C_2 \times C_2 \times C_2) = 16$$  $$s(D_8) = 10$$  $$s(Q_8) = 6$$  For $|G| = |H| = 9$:  $$s(C_9) = 3$$  $$s(C_3 \times C_3) = 5$$  For $|G| = |H| = 6$:  $$s(C_6) = 4$$  $$s(D_5) = 8$$  However, I do not know, whether this pattern continues to hold, or there is a relatively large pair of counterexamples.


Illustrator: How to select a colour range

You know how you can select individual colours? And you can go to the select menu, and click select fill?   I need to do that but for a colour range.  Say for instance, you trace a photograph and expand it, and you want to remove a red stamp from the image (the expanded trace). You can select a red bit, and select, select fill, delete, or paint transparent, or set opacity to 0%, but you're still left with bits and pieces of different shades of pinks and reds.  You can sometimes just reduce the complexity of the trace so there's fewer colours or whatever, but that distorts the whole image.  I've tried just selecting a range of colours simultaneously by holding shift and clicking objects with the selection (U) tool. but it didn't work that way.


Is it possible to upgrade the graphics card of a laptop?

Can I upgrade the graphics card of the Toshiba Satellite S50T to Nvidia or anything more powerful than the stock AMD Radeon?  I haven't purchased it yet, although I'm hoping to in the next month.   The laptop's specs:   i7-451U 2Ghz CPU 8 GB DDR3 RAM 1TB HDD + 8 GB SSD hybrid 15.6" Full HD Touch display 2 GB AMD Radeon™ R7 M260** dedicated VRAM


What exactly would happen in the ideal case where a capacitor were to discharge into a wire with zero resistance?  Like in here:  There is still charge on one plate of the capacitor, which will try to go to the other plate to make $\Delta V = 0$ across the capacitor, so there has to be a current $I$.  But as more charge goes to the other side of the capacitor, the more repulsion these will cause to more coming towards them. So I am assuming current cannot just be constant?  I am starting from $$ I = C \frac{dV}{dt}, $$ but I know neither $V(t)$ nor $I$.


I can't figure out how to make a function in python that can calculate this:  List1=[3,5,6] List2=[3,7,2]   and the result should be a new list that substracts List2 from List1, List3=[0,-2,4]! I know, that I somehow have to use the zip-function. By doing that I get: ([(3,3), (5,7), (6,2)]), but I don't know what to do now?


cupsd using 100% CPU, creating large (80GB+) error_log

A few days ago I realized my Ubuntu machine wouldn't load after login. After some digging around on a liveCD I realized my HDD was at 100% capacity, so I deleted some large files and was able to log in. I didn't have sudo permissions any more and had to boot into recovery mode and change the sodoers file, but eventually recovered root permissions.   I then noticed my machine was a little sluggish, and top was showing cupsd using 100% CPU. I've never seen this program before but I soon realized it was a legitimate program.   I the deleted about 40GB worth of videos, only to see my drive space deplete almost instantly in front of my eyes. With a little research and intuition, I realized it might be a a log file being blown up, and sure enough ls -lh /var/log/cups/ shown me an error_log file that was 80GB+ large.   I deleted the file sudo rm -rf /var/log/cups/error_log, killed the service with sudo service cups end, and went on my business. I realized after that it would have been a good idea to check out the contents of error_log before I deleted it, but I wanted to get rid of the thing before I was locked out again.  That was yesterday. Today, I started my laptop again and saw cupsd running again at 100% cpu, and sure enough I see my disk space depleting. I stopped the service and run tail -f /var/log/cups/error_log, and there are millions of lines of this:  W [15/Jul/2015:11:23:03 -0700] Notifier for subscription 911 (dbus://) went away, retrying! E [15/Jul/2015:11:23:03 -0700] File "/usr/lib/cups/notifier/dbus" has insecure permissions (0100777/uid=0/gid=0).   ==EDIT=================================================================  ls -l /usr/lib/cups/notifier/dbus shows permissions and ownership as -rwxrwxrwx 1 root root when they should be -rwxr-xr-x 1 daemon root, as described in the comments. sudo chown root:root /usr/lib/cups/notifier/dbus also did not fix the ownership problems.   Finally I removed and reinstalled cups, but to no avail. These links were given as potentially helpful guides,(,) but they ultimately result in suggesting a reinstall of the OS itself.


Voting and flagging comments gets enabled when loading additional comments in duplicate question

I´m not sure if it is already reported. But when i review the following post  and take a look at the duplicate, voting on question, answers and comments is disabled.  But the accepted answer of the duplicate question has the Link "show 2 more comments" and when I click it, the additional comments are loaded and then I can vote and flag the comments of the accepted answer.  Before:   After:


How can I create or recreate a Lion recovery partition?

For whatever reason, one of our macs didn't make a recovery partition when it upgraded to Lion.  Is it possible to add a recovery partition after the fact?     To be clear - on a normal mac, the recovery partition is hidden in both the Startup Disk system preference and the Disk Utility. You can only see it from the command line with a direct command, diskutil list or enabling the debug menu in Disk Utility. It also shows up if you boot with the option key held or if you successfully boot to recovery with Command-R a.k.a. ⌘+R during boot.  Warning - this question and answer ONLY APPLY to 10.7.x Lion - using the Lion installer to recreate recovery on newer OS can and will cause problems due to drivers not being present for newer OS and hardware.


In dynamics when doing collisions from the centre of masses' frame of reference we use . What is is it and why do we use it?


Calculate $\int\left( \sqrt{\tan x}+\sqrt{\cot x}\right)dx$

How to calculate following integration?  $$\int\left( \sqrt{\tan x}+\sqrt{\cot x}\right)dx$$


Permutations without repetitions (exclude repeated permutations)

The formula to calculate all permutations without repetitions of the set {1,2,3} is $\dfrac{n!}{(n-r)!}$ But how to calculate it if the set (or rather array in programming terms) includes repeated numbers {1,2,2,3,3} so that you don't add up same permutations?


Prove that the given limit is independent of polynomial $p(x)$.

Prove that, given any polynomial $p(x)$, the value of   $\lim_{x \rightarrow \infty}\dfrac{p(x)}{e^x}$ is independent of polynomial $p(x)$.  The given limit is in $\frac{\infty}{\infty}$ form. If L'Hopitals rule is applied, $\frac{p(x)}{e^x}$ becomes $\infty \cdot 0$. [$\infty$ for $p'(x)$, and $0$ for $\frac{1}{e^\infty}$.  But what is value of $\infty \cdot 0$? I'm sure I must be making a mistake somewhere.  Please help me to solve this problem.  Thank you.


What happens to the magnetic field in this case?

As far as I know, it's possible to create a radially polarised ring magnet, where one pole is on the inside, and the field lines cross the circumference at right angles.    So imagine if I made one which was shaped like a sector of a torus.    Then I forced a load of these magnets into a complete torus.     Clearly this magnet is impossible because there's no way for the field lines to get back into the middle. So what happens to the field in this case? Does it disappear completely? Do the magnets blow up?


Ubuntu: package installed, but files missing?

I have been playing around with the /etc/asterisk directory, installing the related pacakge (asterisk-config), removing it, removing the directory manually (just playing around to get the configuration synced to my configuration repo). Now I just want to reinstall the official package, so I do:  root@tethys:/etc# apt-get install asterisk-config root@tethys:/etc# tree asterisk/ asterisk/ └── manager.d   What?! Empty?!? Have I installed it?  root@tethys:/etc# dpkg --get-selections | grep asterisk asterisk                                        install asterisk-config                                 install asterisk-core-sounds-en                         install asterisk-core-sounds-en-gsm                     install asterisk-modules                                install asterisk-moh-opsound-gsm                        install asterisk-voicemail                              install   Indeed! Let me check the contents of the package:  root@tethys:/etc# dpkg -L asterisk-config ... /etc /etc/asterisk /etc/asterisk/res_snmp.conf /etc/asterisk/dbsep.conf /etc/asterisk/cel_custom.conf /etc/asterisk/cel.conf /etc/asterisk/meetme.conf /etc/asterisk/jingle.conf /etc/asterisk/queuerules.conf ...   So, what have I done that the package will get installed, but the contents are nowhere to be seen?  And, more importantly, how can I force the contents to be installed, no matter what I have done before?


Regex to validate phone number which is in the US Format

Should match the following:-    (222)-333-4444 (010)-123-3435 (100)-454-6565   But Should disallow:-  (000)-000-0000   The only problem is when the input is entered all zeros. Otherwise my regex:-  ^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$   works fine__.  Demo


Take the example "one-second interval". Is there a dash between "one" and "second"? Also, should second be plural if I say "three-second/s interval"?


Possible Duplicate:          On the new  (private beta members only at the time of this writing), there are already a some of questions about phonology. I anticipate that it will continue to be that way, and we will soon be in need of having support for sound samples.  Phonology is hard to describe in words (without technical linguistic jargon like unaspirated voiced labiodental nasalized affricate), so having sound samples is immensely helpful. We are able to link to sound samples, but in my experience, sound links often rot quickly, and it is a pain to follow a link and download a sound sample that is only two seconds long.  If bandwidth is an issue, you could restrict the length to 10 seconds or so, since most recordings to demonstrate phonology are very short.


How to map in Graduated style in QGIS when it does not show the option to?

I am trying to map a column through Graduated style in QGIS. But the values in my column have a few repeated values of example 1000s, 1003s, 1005s etc. and the program recognizes it as categorized style. If I map it as categorized I will have over 1400 categories. What can I do to plot as a Graduated style? It is not appearing in the drop down option.


Unwanted folders showing up in Gallery. Can they be removed?

I'm enjoying Bejeweled 2, but don't want the 'backdrops', 'fonts', and multiple 'images*' folders in the Gallery. They're a pain to wade through when I'm trying to see my own pics.  Is there any way to remove them?  I've Googled a bit, but have only found other people complaining about the issue--no real solutions.


how to perform where clause with only numbers in a column?

I have entries with different formats: customer_cpf 12.34.56 1234.56 12-34-56  So I'm receiving only numbers in a form and need to get it's row by comparing avoiding characters excepting numbers. I'm trying this: SELECT * FROM `customers` WHERE customer_cpf REGEXP '^[0-9]$' = "123456";  But it returns nothing. How can I perform this WHERE clause?


Should I write $i$ before or after the imaginary part?

Should I write complex numbers as $a+ib$ or $a+bi$? Maybe there are certain cases where I should write it one way and other cases where I should write it the other way. What do you think?


Zooming specific WMS using OpenLayers 2?

I'm looking for a way to use multiple WMS on my application. If a user zooms in/out another baselayer is supposed to be selected. As for now, I've come across the following:  map.events.on({ "zoomend": function (e) {     if (this.getZoom() > 10) {       mapnik.setVisibility(false);       layertest.setVisibility(true);     }     else {       layertest.setVisibility(false);       mapnik.setVisibility(true);          }                                         }             });   The problem I still encounter is really bad performance. Well it works, but is there maybe a faster way of doing this?


Show that $C_0([0,\infty))$ is complete.

Let $C_b([0,\infty))$ be the space of bounded continuous functions on $[0,\infty)$. On $C_b([0,\infty))$ we define a norm by $\|f\|_\infty = \sup\{|f(x)| : x\in [0,\infty)\}$. Furthermore, define  \begin{equation} C_0([0,\infty)) = \{f \in C_b([0,\infty)):\lim\limits_{n \to \infty}f(x) = 0\} \end{equation}  Exercise: Show that $C_0([0,\infty)), \|\cdot\|_\infty)$ is complete. Hint: you can use that $(C_b([0,\infty)),\|\cdot\|_\infty)$ is a complete space.  I know that:   If $(C_b([0,\infty)),\|\cdot\|_\infty)$ is a complete space, $C_0([0,\infty)), \|\cdot\|_\infty)$ is complete if $C_0([0,\infty))$ is closed in $C_b([0,\infty))$.  $C_0([0,\infty))$ is closed $\Leftrightarrow$ $B_\epsilon(x) \cap C_0([0,\infty)) \neq \emptyset$ for any $\epsilon > 0$, then $x\in C_0([0,\infty))$.   What I think I should do:  Pick $x\in C_b([0,\infty))$ such that $B_\epsilon(x)\cap C_0([0,\infty)) \neq \emptyset$ for every $\epsilon >0$. Then; show that $x\in C_0([0,\infty))$ as well.  Question: How do I show that $(C_0([0,\infty)), \|\cdot\|_\infty)$ is complete by using my approach and showing that $x\in C_0([0,\infty))$ as well?


How do I make line symbols intersect cleanly without showing edges in QGIS?

I digitised a map showing electric grid lines. I merged a number of lines into a single feature. Now, I'd like these lines to be displayed so that the intersections appear continuous. At the moment, the line edges on intersections are visible and it's not pretty, as visible on the screenshot below:    I could swear I've seen something about this somewhere on the Internet but I can't find it anymore.


popup windows doesnt showed on oracle OUI

I have a fresh vm station with the recent centos 7 with GUI (everything is standard). This problem happens on every popup window that appears on the oracle OUI, DBCA, ASMCA etc.. I'm using X to display the runInstallar (or whatever GUI command). sometimes I can enlarge the size of the window and revel the content of it but sometimes I don't. It's really frustrating and I'm sure many cross this issue before but I couldn't find it in google.


Why is it not possible to search through text file contents encoded in UTF-16?

I understand that e.g. catfish and gnome-search-utils both can search inside file contents that are UTF-8 encoded. To be able to search for words or numbers within text files one would have to convert them via iconv into UTF-8 first.   If the file is known, text editors like gedit or mousepad have no trouble with UTF-16.   Why is there no search tool (GUI or command-line) with any of the Linux distributions that can handle UTF-16 encoded txt files?   I'm on Xubuntu.


comma operator usage with assignment operator in C

#include<stdio.h> #include<stdlib.h> int main() {      int x  = 5;     int y = 0;     x++, y = x*x;     printf("x is %d\n", x);     printf("y is %d\n", y);  }   Question: Why the output of the above code is:  x is 6 y is 36   instead of  x is 6 y is 25   ?  Reasoning: I am thinking it should be the latter because assignment operator has higher precedence than comma and therefore first an assignment to y should happen setting it to 25 and then x should be evaluated and set to 6.


So I have looked online (believe it or not) and I can't seem to find anything to help me with my issue. My clock just disappeared. Here's a screenshot!


It has been said that when you try to jump you are exerting your force on the ground and the ground pushes you up.  I was wondering if this was an over-simplification or not.  If so, what's the full explanation?  Otherwise, I would like to know the derivation of this proof.  For clarification: If I jump and the ground is "pushing me up" (from a normal force), then assuming that this is not a simplification and is truly what happens, why is this true?  My current hypothesis is that it has something to deal with electromagnetism (pushing two repelling magnets together; how atoms swerve to avoid collisions, for example).


Deleted OSX Partition but Wish to Install OSX Again

A few months ago I installed Windows 10 on my late 2013 iMac without any drivers. Stupidly, I deleted the OSX partition because the only thing that didn't work perfectly was audio, which I was fine with at the time.  I've recently started using Ubuntu on my iMac and audio is back to it's good ol' usual. However, I want to switch back to OSX so I can dual boot between OSX and Ubuntu. How can I reinstall OSX?  Thank you in advance.


What is the difference between fixed effect, random effect and mixed effect models?

In simple terms, how would you explain (perhaps with simple examples) the difference between fixed effect, random effect and mixed effect models?


Is there a way to use PDO with a dynamic column name in an UPDATE query?

It's a little relative to the question I asked here () but this time column name is a parameter.  Not working PDO example would be like this:  "UPDATE tbl SET :COL1 = NOT :COL1;"   sure solution like this:  "UPDATE tbl SET $COL1 = NOT $COL1;" // works (but it's not PDO)   but why   "UPDATE tbl SET $COL1 = NOT :COL1;" // does not ??   while  "UPDATE tbl SET $COL1 = :VAL_COL1;" // is ok if I first get and negate COL1 value...


So I'm trying to prove, by induction, that $$ n^n \geq n!, \forall n\geq1$$  Base case:  $$ \text{For } n=1, 1^1 = 1 \geq 1 = 1!$$  Hypothesis:  $$ n^n \geq n!$$  Step:  $$ \text{Trying to prove: } n^{n+1} \geq (n+1)! $$  Now, somewhere around here I get some contradicting things. For example, if I start from the right side I get:  $$ (n+1)! = (n+1)\cdot n! \leq (n+1)\cdot n^n = n\cdot n^n + n^n = n^{n+1} + n^n$$  Based on this I would need $n^{n+1} + n^n$ to be less than or equal to $n^{n+1}$, which is certainly not true. Something similar happens when I go the other way.   Any ideas what I'm doing wrong here? Thanks.


Do I need a UK Transit Visa when my H-1B will expire the day after my travel?

I'm planning to travel to India departing USA on 23rd December 2015. My H-1B visa will expire on 25th December 2015. Can I travel on 24th December 2015 from London Heathrow to India Hyderabad?  My travel plan:    23rd Dec will start from USA    24th Dec arrive LHR 11:30 and depart LHR 13:45    25th Dec arrive in India 17:30


I am trying to prove that $\|A\|=\sup_{||x||=1}|\langle x,Ax\rangle|$ for some selfadjoint bounded operator A on a Hilbertspace.  Can anyone give me a hint how to prove it.


Prove $x + y$ is divisible by $11$. Is my solution correct?

If $x$ & $y$ are natural numbers, and $56 x = 65 y$, prove that $x + y$ is divisible by $11$.  Solution)  $56$ and $65$ are relatively prime  So, $65∣x$ and $56∣y$  Let  $x = 65m$ and $y = 56n$  Then, $56x = 65y$  $56.65m = 65.56n$,  $m = n$   Thus, the solutions are of the form $x = 65k$,$y = 56k$ for integers $k$, and  $x+y = (65+56)k = 121k = 11(11k)$.  Thus, $x+y$ is even divisible by $11$


With $y_n$ a sequence of real numbers, prove that if $y_n=x_{n-1}+2x_{n}$ converges then $x_n$ also converges

Let $y_n$ be a sequence of real numbers. Prove that if $y_n=x_{n-1}+2x_{n}$ converges then $x_n$ also converges.  Let us suppose that $y_{n}$ goes to a limit $L$. Then for all $\varepsilon >0$, for sufficiently large $n$, $|y_n -L| < \varepsilon$ .  But $|y_n - L| < 2|x_n-\frac{L}{3}|+|x_n - \frac{L}{3}|$  But then how to proceed?


correctly dotting the "i"s and crossing the "t"s in the expression "dotting the i's and crossing the t's"

I've found questions here at ELU related to the meaning of the expression (I'm clear on that), but this is about the best way to punctuate the expression in the title. Possibilities:     a. It's almost ready. I just need to go through it once more to dot the "i"s and cross the "t"s.      b. It's almost ready. I just need to go through it once more to dot the i's and cross the t's.      c. It's almost ready. I just need to go through it once more to dot the is and cross the ts.   a. shows what I would naturally do.  b. shows what appears to be most common (used in posts on this site as well as in Wikipedia), but it using that apostrophe for plural sticks in my craw. I did find some support for this, , but this also suggests using the apostrophe for letter grades (see c. below).   c. seems terribly confusing, although it follows the convention of pluralizing letter grades (which are not so confusing because they are capitalized).   So... which is it?


him/his - what is the right one and why?

I'm not sure what is the right answer:     I'm looking forward to him/his visiting me next week.   Many thanks.


How can I unlock an iPad 3 with an activation lock with an unknown Apple-ID

Bought a a second hand ipad  from a yard sale the person had it set to  new installation. I looked at it before I bought it to make sure it powered up, and I got it home and connected to my laptop to start the process I found I i could not go any further be cause the ipad had been locked by another apple Id. When I went back to show the person they didn't know how that had happrned and they didn't recognize the apple Id and now they wont do anything to help try and reset it nor give back my money  and now i'm stuck with a locked Ipad and no money. What can I do now?


I hear it more on more frequently on the news, as in:     The North-Korean regime has disappeared scores of dissidents over the past twenty years.   Has disappear always been used in such a way, as a transitive verb? If not, can early instances be traced back to some period?


Does "but one" mean "only one" or "except one"?  This phrase shows up in the song "Love is an Open Door" from the movie "Frozen". The relevant line is "Our mental synchronization can have but one explanation".  EDIT: Shouldn't it be "Our mental synchronization can't have but one explanation"?


Salesforce Account as Entry source in Journey Builder Does NOT work

I use as an entry source Salesforce Data. In case i want to target leads, i choose Lead ID everything works properly. Now, i want a journey for Accounts that i have in Salescloud.I tried everything but nothing worked.    I tried also selecting Contact by using Account ID ( PersonAccount)


What is best. Buying a one way ticket or a round ticket that is refundable

Im going to Australia for a year. I dont know exactly when im going back to my country (Chile), so i just want to buy a one way ticket but they cost the same as a round way ticket. Could it be possible to buy a round ticket that is refundable and ask for the money of the return ticket?


I have a geocentric coordinate for the position of an object; I am trying to write a function where by an objects position changes with respect to time - moves across the surface at a constant velocity. p(x,y,t) is the position of the object at time t, and at each time step dt is updated by a constant velocity function v(x, y).  I will try my best to explain how I understand the problem, please correct me if I am wrong.  The transformations cannot be applied directly to the geocentric coordinates, since v(x, y) is describing motion on a flat plane. This origin of this flat plane is located at the geocentric coordinates G(X,Y,Z) and is oriented such that the vector G(0, 0, 0)->G(X, Y, Z) is orthogonal to p(x,,) and p(,y,).  I think the problem can be boiled down to, given a flat space translation (dx,dy) what is the new geocentric coordinate?


Android java.lang.NullPointerException: Attempt to invoke virtual method 'android.database.Cursor

i got this error when trying to add property id, name ,email , phone number and spinner data (from owner). Here is my database......  public Owner getOwnerById(long id) {     Cursor cursor = sqLiteDatabase.query(DataBaseHelper.TABLE_NAME, mAllKey,             DataBaseHelper.KEY_ID + " = ?",             new String[] { String.valueOf(id) }, null, null, null);     if (cursor != null) {         cursor.moveToFirst();     }      Owner owner = cursorToOwner(cursor);     return owner; }  public Property addProperty (int id,String name, String email, String  phoneNumber, long ownerId) {     SQLiteDatabase db = this.getWritableDatabase();     ContentValues values = new ContentValues();      values.put(DataBaseHelper.PROPERTY_ID, id);     values.put(DataBaseHelper.PROPERTY_NAME, name);     values.put(DataBaseHelper.PROPERTY_EMAIL, email);     values.put(DataBaseHelper.PROPERTY_PHONENUMBER, phoneNumber);     values.put(DataBaseHelper.PROPERTY_OWNER_ID, ownerId);     long insertId = db             .insert(DataBaseHelper.TABLE_PROPERTY, null, values);     Cursor cursor = db.query(DataBaseHelper.TABLE_PROPERTY, mAllColumns,             DataBaseHelper.PROPERTY_ID + " = " + insertId, null, null,             null, null);     cursor.moveToFirst();      Property newProperty = cursorToProperty(cursor);     cursor.close();     return newProperty;   }    private Property cursorToProperty(Cursor cursor) {     Property property = new Property();     property.setId(cursor.getInt(0));     property.setName(cursor.getString(1));     property.setEmail(cursor.getString(2));     property.setPhoneNumber(cursor.getString(3));      // get The company by id     long ownerId = cursor.getLong(4);      DataBaseHelper db = new DataBaseHelper(mContext);     Owner owner = db.getOwnerById(ownerId);     if (owner != null)         property.setOwner(owner);      return property;    }   logcat    java.lang.NullPointerException: Attempt to invoke virtual method   'android.database.Cursor  android.database.sqlite.SQLiteDatabase.query(java.lang.String, j  java.lang.String[], java.lang.String, java.lang.String[], java.lang.String,  java.lang.String, java.lang.String)' on a null object reference at getOwnerById(DataBaseHelper.java:165) cursorToProperty(DataBaseHelper.java:307) addProperty(DataBaseHelper.java:223) onClick(PropertyActivity.java:112)   My idea is add an Owner details then it will pass to Property activity spinner.After that spinner data(Owner) and property data will add into database.


Two weeks ago, my 13" Macbook Pro was stolen. Is there any way to locate my laptop if and when the thief accesses the internet?  Is there any application or a website similar to  that can give me an alert message if I register my Macbook pro ID number?


So, I am on ubuntu and there is no wifi option in the top right corner

I tried going to the network settings but it said that something is not compatible with the version that i am on or something like that. Please help me.


In The Last Jedi, Finn and Rose are tasked with finding "the master code breaker" by Maz. They travel to the city of Canto Bight and after searching      think they found him by the unique lapel pin he wears.    However, they are then apprehended by the local security and thrown into jail where they meet     another character (played by Benicio del Toro, I think the character is DJ?) who seems to fit the role of master code breaker based on his actions.    Then later once aboard the First Order ship      DJ betrays Finn and Rose by selling them out. Which seems out of character for someone loyal to Maz.    So my question is who was the "real" master code breaker that Maz has told Finn and Rose about? The one they thought (based on lapel pin) or the one they actually ended up with?


is this the reason why current doesn't flow over a resistance if there is another path without resistance?

Let's suppose that a single battery is connected with a wire, which does not have resistance. Electrons will start to flow , in reality, with a wire with resistance, a potential difference would be generated across it. The current would build up until the potential difference is equal to the voltage of the battery. In the case in which potential difference is not created by the wire because there is no resistivity, the potential difference across will immediately become equal to that of the battery.


How can I identify if a float within a string

I aim to print a list of every element inside a user-inputted list. The outputted list identifies symbols as strings, and numbers as floats, to basically compare elements as floats and strings. If the number in the list is already a float, the output is not printed properly.  expression_list = [] expression = "(3.1+2)*5"  for index in expression:     try:          float_index = float(index)         expression_list.append(float_index)     except ValueError:         expression_list.append(index) print(expression_list)         I expect the output to be ['(', 3.1, '+', 2.0, ')', '*', 5.0] instead I get ['(', 3.0, '.', 1.0, '+', 2.0, ')', '*', 5.0]


As of snapshot 15w31a, you can hold things in both of your hands.  I figured out that F lets you hold the item in your other hand. But how do I use this item? Can it even be used?


Anonymous Types - Are there any distingushing characteristics?

Is there anything to use, to determine if a type is actually a anonymous type? For example an interface, etc?  The goal is to create something like the following...  //defined like... public static T Get<T>(this IAnonymous obj, string prop) {     return (T)obj.GetType().GetProperty(prop).GetValue(obj, null); } //...  //And then used like... var something = new { name = "John", age = 25 }; int age = something.Get<int>("age");   Or is that just the beauty of an anonymous type? Nothing to identify it self because it takes a new shape?  Note - I realize that you can write an extension method for the object class, but that seems like a little overkill, in my opinion.


Reorder a list of string randomly but constant in a period of time

I need to reorder a list in a random way but I want to have the same result on a short period of time ... So I have:  var list = new String[] { "Angie", "David", "Emily", "James" }    var shuffled = list.OrderBy(v => "4a78926c")).ToList();   But I always get the same order ... I could use Guid.NewGuid() but then I would have a different result in a short period of time.  How can I do this?


i  had graphic card of  nividia gforce210 but while I want to enable gpu in cycle render then it show the "none" in cycle computer device please help me.


What do admission committees look for in a diversity essay?

I'm sitting here with my friend, who is in the process of applying to graduate school. She's come across a prompt that looks like this:     If you are a member of a community that has historically been underrepresented in higher education and would like to tell us how this particular perspective adds to the value you will contribute to the diverse learning community we strive to create, please do so here.   My friend is a female, Latin American, previously financially-burdened immigrant, so there is certainly some diversity to speak of, but she's having trouble coming up with how this can answer the prompt. To her, she's never really considered it a struggle, but more of a challenge. She's never let it get her down, so she sees no reason to complain about it in an essay. She believes you should be judged based on your past and present performance, not your national origin, ethnicity, financial status, etc.  How do you even respond to a prompt like that? Also, why do universities ask you to speak about your diversity in the first place? What are they looking for?


Intuition for reflexive property of partial order relation

Motivation for this question I'm studying preference relation (at MWG - Microeconomic Theory), and there's a relation $\succ$ (strict preference relation) which is defined as above: $x \succ y \iff x\succsim y \land y \not \succsim x$ Where $\succsim$ (prefence relation) is a complete and trasitive relation. It's easy to prove that $\succ$ relation is transitive (follows from the transitivity of $\succsim$) and antisymmetric (it is vacuous truth, because there's never a pair $(x,y)$ such that $x \succ y \land y \succ x$) For me looks like $\succ$ relation is very similar to a partial order relation, but it's not reflexive. So this question came to my mind. Why does the partial order relation needs to be reflexive? What's the idea behind that? What results can be derived from the reflexive property that makes it relevant? It's a bit strange for me because these two relations (a partial order and $\succ$) can be used to order some subsets from the original set.


By Newton's Formula:  $$(a+b)^n = \sum_{k=0}^n \binom{n}{k} a^{n-k}b^k $$ Proof that every $\dbinom{n}{k}$ is odd if and only if $n=2^r-1$.   I have already shown that if $n$ is of the form $2^r-1$, having used the property  $$\binom{n-1}{k} = \binom{n}{k}-\binom{n}{k-1}+ \binom{n}{k-2} - \cdots \pm \binom{n}{0}.$$ But I have not been able to demonstrate "$\Rightarrow$".   Please, help me! Thanks.


REASONS FOR REFUSAL NRA v 1.0      You have applied for a visa to visit the UK. In deciding whether you meet the requirements of , I have considered:       your application    your immigration history      The decision      I have refused your application for a visit visa because I am not satisfied that you meet the requirements of paragraph(s) V4.2 (a)(b)(c)(e) of Appendix V because:   - You applied for a visa to visit your sister in the UK for 21 days. The documents that you provided do not demonstrate that you are related to your sponsor.    - You provided a supporting letter from your father however as there is no birth certificate I am not satisfied that you are related.    - I note that you are a child student and therefore you do not have your own income, however it is necessary for me to see your overall situation in Ghana. The documents that you provided do not demonstrate your personal circumstances in the home country.       In the view of the above I am therefore not satisfied that you intend to visit for a purpose that is permitted by the visitor routes and period as stated by you or that you will leave the UK at the end of your proposed visit. I am not satisfied that you will be adequately maintained and accommodated or will be able to meet the cost of your return or onward journey.


Suppose we have the following two identities:    $\displaystyle \sum_{k=0}^{n} \binom{n}{k} = 2^n$ $\displaystyle \sum_{k=0}^{n} (-1)^{k} \binom{n}{k} = 0$   The first says that the number of subsets of an $n$-set is $2^n$. The second says that the number of subsets of even size equals the number of subsets of odd size (of an $n$-set). Thus there are $2^{n-1}$ subsets of even length and $2^{n-1}$ subsets of odd length?  To combinatorially prove the second identity, let $A$ be a $k$-subset of $[n]$. Then note whether $k$ is odd or even?


Natural Deduction $(∀x∃y (P(x) → Q(y))) → (∃y∀x(P(x) → Q(y)))$

I am having trouble with this Natural Deduction question  $$(∀x∃y (P(x) → Q(y))) → (∃y∀x(P(x) → Q(y)))$$


On a fresh install of windows 10 (final build), my "search windows" is broken..  It won't find any of my apps when I search. E.g. "sublime" for sublime text, "internet" for IE, nothing. WHen I click "search my stuff" and filter to "apps", I get a "Something went wrong".  I've turned Cortana off, and web results. I've rebuilt my search index, and changed the locations to make sure it's searching in places I know the start menu to be... I've also run the windows troubleshooter, with no joy.


Not understanding why Python's nested loop doesn't replace a particular list element