I  have read that upgrading from 14.04 to 16.04 is not possible. Instead there is a recommendation to upgrade in steps through all releases and ultimately 16.04. Is this information correct?  I did attempt a staged upgrade on a 32-bit Dell laptop and when I got to 15.10 the system would not start the GUI.  I did a fresh install of 16.04 and it worked just fine.   Can one upgrade from 14.04 to 16.04 directly and what are the steps to make that a success? Ubuntu is all I use and I cannot lose my current files and apps.

Question is about Ubuntu release process. Are migrations from n to n+1 releases expected?  Assuming we have server with installed Ubuntu 14.04 LTS. Will it be smoothly upgradable to Ubuntu 16.04 LTS via apt-get upgrade ?  Assumptions:   scope is software therefore we assume that given hardware is supported on both releases (upgrading from and to) that's why, always before upgrade you are asked to make backup to be able to revert in case of failure


So I killed my wife and guards attacked me non stop. I killed them and I got more and more bounty on me. now I have about 10,000 on my head.  How long do I wait to get the bounty off me?

I accidentally killed a noble, now every guard wants to kill me. Is there any way I can get rid of the bounty?


I want to only use alt+tab to switch tabs, I consider the desktop a tab.  How would I enable switching to the desktop? I saw in this  that you need to change the option below, however it's nowhere to be seen in my settings menu.  Also there is this 5 year old . Windows version: 2004

In Windows 8, when Alt+Tab, the desktop would appear as an option to switch to at the end of the list of open programs (thus Alt-Shift-Tab helpfully took you right to the desktop).  In Windows 10 that desktop option is gone. Is there any way to get it back?  I know about Windows+D but Alt+Tab is just more convenient in my opinion. And  also has no desktop and is uglier.


I came across this problem while solving another one. I will show how far I could get on my own:  Suppose that $\sqrt 3 \in Q(\sqrt[4]2)$. Since $Q(\sqrt3)$ is the smallest field containing both $Q$ and $\sqrt3$, thus $Q(\sqrt3)\subset Q(\sqrt[4]2)$.  Now $[Q(\sqrt[4]2):Q] =4 $ and $[Q(\sqrt3):Q]=2$ (I've already proven both), so$[Q(\sqrt[4]2):Q(\sqrt 3)] =2$. Therefore by the definition of degree extension, there exist $p(x)\in Q(\sqrt 3)[X]$ of degree 2 realizing $\sqrt[4]2$, that is, exists: $a,b,c\in Q(\sqrt 3)$ such that:  $$a(\sqrt[4]2)^2+b \sqrt[4]2+c =0.$$  How to proceed now? I should use the fact that those extensions lie in $\mathbb R$ to get a contradiction? I only know that $a\neq 0$, but what about the other coefficients?  EDIT: I could find an argument below, check the answers. Check it out if you agree! The argument is just a continuation of the above one.

I want to show that $\sqrt{2}\notin \mathbb{Q}(\sqrt[4]{3})$.  I think it would be easier to prove it using the following: $\mathbb{Q}\subset\mathbb{Q}(\sqrt{3})\subset\mathbb{Q}(\sqrt[4]{3})$. Then $\sqrt{2}\notin\mathbb{Q}(\sqrt{3})$ so $\sqrt{2}\in \mathbb{Q}(\sqrt[4]{3})\Longleftrightarrow \sqrt{2}=a+b\sqrt[4]{3}$, with $a,b\in\mathbb{Q}(\sqrt{3})$.   I tried simplifying the above equation, but I did not get anything.


I am a beginner and I am trying to construct a Möbius loop by using a bezier curve and then extruding, or whatever, with a circle. Can someone help me to achieve this in a step-by-step manner?    I know there are many ways to approach this and I wish to know as many of them as possible. I almost achieved it with the screw modifier but the two halves didn't fit together perfectly.

I may be going about this the wrong way.   I want to create a Mobius ring. I managed to do it by twisting (rotating using proportional editing) then using a curve modifier. But the faces were full of creases no matter how I smoothed them.   I then tried to extrude a plane converted to a curve which was getting there. But I cannot see a way to join two edges of the Mobius ring with a surface. I would appreciate any pointers.  Stephen


I am working in a SQL Server environment and have a varchar(100) column called AdditionalData. Sometimes, but not always, this column will contain an email. I need help building a query that only returns rows in which AdditionalData has an email address in it.

Ok, there are a million regexes out there for validating an email address, but how about some basic email validation that can be integrated into a TSQL query for Sql Server 2005?  I don't want to use a CLR procedure or function.  Just straight TSQL.  Has anybody tackled this already?


My Ubuntu 16.04 installation always becomes unresponsive after it blanks the screen (Standby is turned off.) I tried the power button and Enter; no luck. How can I shut it down without risk of damage to the system? Thanks.

All operating systems freeze sometimes, and Ubuntu is no exception. What should I do to regain control when...   just one program stops responding? nothing at all responds to mouse clicks or key presses? the mouse stops moving entirely? I have an    In what order should I try various solutions before deciding to pull the power plug?  What should I do when starting up Ubuntu fails?  Is there a diagnostic procedure I can follow?


Intuitively, one can find friction to be a .  How can one prove that it is non-conservative?

Suppose a block of mass $m$ is being pulled on a hill by a force $F_{app}$, the block is being pulled slowly such that $\Delta KE = 0$.  Our teacher showed that the expression of work done by friction $W_{fric}$ is independent of the path traversed by the block, which is not a characteristic of non conservative force. How is this possible?  Working: $$ \Delta KE = 0 $$ so,$$W_n + W_g + W_{fric}+ W_{app}= \Delta KE = 0 $$(from work-energy theorem).  As $$W_n=0$$(work done by normal Force), $$0+W_g +W_{fric} + W_{app} =0\, .$$ Now, $W_g$ is independent of path and is equal to $-mgh$ so, $$W_{app} = -(mgh + W_{fric})\, .$$ Now for $W_{fric}$, $N=mg \cos(\theta)$ where $\theta$ is the inclination of hill slope wrt positive $x$-axis, $$  dW_{fric} = kmg\cos(\theta) cos(180) ds\, , $$ (from $W = fs\cos(\theta)$ and $F_{fric} = kN$.) $ds$ is small displacement along the slope, so $ ds \cos(\theta) $ is small displacement along positive $x$-axis, Reordering our last equation, $$ dW_{fric} = -kmg dx$$ as $\cos(180) = -1$ and $ds \cos(\theta) = dx$ Integrating on both sides, $$\int{dW_{fric}} = -kmg \int dx$$ so $W_{fric} = -kmgx$ which does not depend on the length of path taken but only on the horizontal displacement $x$.


"Making a Murderer" fans had better get their boots on.   ()  Can you explain to me what fans should do in the above sentence? I presume that "get their boots on" is used in the figurative sense, and given the context I would say that it means something to that effect that the fans should spring their attention but not sure.

The sentence is   Travellers  ________________ their reservation well in advance if they want to fly during winter vacation.  Which is suitable to complete this sentence. Please give some explanation so that I can understand.  1. had better to get  2. had better get


I've been looking into this for a few days and can't seem to find a thread specific to my problem. My app crashes every time I try to add a string to my bundle. I'm getting the error at extras.putString(EXTRA_MESSAGE, message);  MainActivity.java  public class MainActivity extends AppCompatActivity {      private ArrayList<String> priceGroupSpinnerItems;     public static final String EXTRA_MESSAGE = "lss.mywebsiteoffline.MESSAGE";     public String message = "";      @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_main);          Spinner spnPriceGroup = (Spinner) findViewById(R.id.price_group_spinner);          ArrayAdapter adapter = ArrayAdapter.createFromResource(this, R.array.list_price_group, android.R.layout.simple_spinner_item);         adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);         spnPriceGroup.setAdapter(adapter);          message = spnPriceGroup.getSelectedItem().toString();     }      /** Called when the user taps the Go button */     public void sendMessage(View view) {          Intent mIntent;          mIntent = new Intent(this, nextActivity.class);         Bundle extras = mIntent.getExtras();         extras.putString(EXTRA_MESSAGE, message);         mIntent.putExtras(extras);         startActivity(mIntent);      } }   Logcat  E/AndroidRuntime: FATAL EXCEPTION: main Process: lss.mybbofflinever3, PID: 8181 java.lang.IllegalStateException: Could not execute method for android:onClick at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:293) at android.view.View.performClick(View.java:5702) at android.widget.TextView.performClick(TextView.java:10896) at android.view.View$PerformClick.run(View.java:22546) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7224) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(Native Method) at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288) at android.view.View.performClick(View.java:5702)  at android.widget.TextView.performClick(TextView.java:10896)  at android.view.View$PerformClick.run(View.java:22546)  at android.os.Handler.handleCallback(Handler.java:739)  at android.os.Handler.dispatchMessage(Handler.java:95)  at android.os.Looper.loop(Looper.java:158)  at android.app.ActivityThread.main(ActivityThread.java:7224)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)  Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.os.Bundle.putString(java.lang.String, java.lang.String)' on a null object reference at lss.mywebsiteoffline.MainActivity.sendMessage(MainActivity.java:59)   I have tried examples to use just intent, or bundle, and adding strings directly to putString. I might be missing something blatantly obvious. Not sure what I might be looking for after adding strings directly to the putString method and getting the same error.

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


I want to create a command block with the command  /clear @a[r=5,m=0] 570   (Yes, it is an ID from a mod, but it does not matter anything). I want to detect when this command has succeeded using comparator facing from the command block.  So, everything works good, but the comparator after that is always outputting. How to make it stop outputtng, so the command success can be detected several times?  I tried to hook up the command block with /blockdata ~ ~ ~2 {SuccessCount:0} where the coordinates point at the first command block, but this didnt work.  I'm running Minecraft 1.7.10.

I made a redstone clock that involves a command block with /testfor and a comparator attached to it. Whenever the /testfor works, the comparator turns on, but completely.(meaning it does not turn off after that) I want it to turn on, have a small delay, then turn off. is there some way that i should change this clock, or should I be doing something different with the comparator?


To modify a host's resolved address we can change /etc/hosts I want to have that functionality when running a single script without actually modifying /etc/hosts Something   $HOST=foo.bar:10.0.1.256 ping foo.bar  would be the same as having an entry in /etc/hosts  10.0.1.256 foo.bar and $ ping foo.bar  Is this doable?

Is it possible to add a list of hosts that are only specific to a certain user? Perhaps a user-specific hosts file?  This mechanism should also complement the entries in the /etc/hosts file.


I just finished watching the Google I/O 2018 keynote and boy did it get me hyped up about Android P! For the last half hour or so I've been scouring the internet looking for some way to flash the latest preview using the Pixel system images here:   Only problem? I don't own a Pixel device. All I've currently got on my hands is a Nexus 6P which Google recently dropped support for and made no mention of during the keynote.   Which leads me to my question: What will happen if I flash the Pixel Android P preview device image on my Nexus 6P? Will this brick my phone, or will everything still run ok? Now, realistically, I'm not trying to find out if someone has already tried this (duh), but I was hoping someone with a bit more knowledge could tell me if this is even remotely possible.

I own a MicroMax A100. I want to install the latest version of a different ROM (Samsung or Nexus).  Is it possible? If so, can you tell me how?  If not, can I install a ROM made for a different device, but from the same manufacturer? For example, could I install a ROM for the MicroMax A110, which is the successor of A100?


tl;dr summary: In Bash, what is the best way to handle multiple command line arguments with varying positions depending on user input?   I have a script with multiple case statements to handle multiple arguments. However, the position of each argument may vary depending on user input. I have something like this:  case $1 in  -a)      this lists all package tracking info     ;; -u)     this lists only the most recent update     ;; -d)     this runs -u in a loop of intervals of n (secs, mins, or hours)     ;; ... esac  case $2 in -f)     this parses $file (default or user-defined)     ;;     ... esac   The tricky part here is that when the user passes the argument -d, they have the additional option of specifying a time interval for daemon() to run it's loop, such as -d 2h. I also want to give the user the ability to specify a file to parse (the -f flag). When the user specifies -d -f, there's no problem, but when they specify a time and a file, -d 2h -f file.txt, then $2 = 2h and$3 = -f causing -f to get interpreted as something else (a package tracking number) later on in the script.  So, I tried to use a conditional in between case statements 1 and 2 to change the $2 in the 2nd case statement. Something like:  if [[ "$2" =~ ^.[h,m,s] ]];      then          last_flag="/$3"      else          last_flag="/$2" fi  case $last_flag in -f)     check_flag     ;;  esac   But, this doesn't appear to work. when I enter -d 2h -f at the command line,echo $last_flag = $3 as expected, but $last_flag isn't being substituted in the case statement. I don't think the escaped $ is the problem, either (I tried it without that as well).   What am I doing wrong here? Is there a better way to handle multiple input arguments with varying positions in Bash?   I suppose the easiest thing would be to simply change the order of the flags, leaving -d at the end, so it doesn't matter whether the user specifies a time-interval or not. But, there are other circumstances in which input arguments would be shifted, such as if the user passes -f but doesn't supply a file name (in which case a default file is chosen). So, either way, I have to confront this problem. I suspect it will require a re-write of the general flow of the script, but perhaps not.

Say, I have a script that gets called with this line: ./myscript -vfd ./foo/bar/someFile -o /fizz/someOtherFile  or this one: ./myscript -v -f -d -o /fizz/someOtherFile ./foo/bar/someFile   What's the accepted way of parsing this such that in each case (or some combination of the two) $v, $f, and  $d will all be set to true and $outFile will be equal to /fizz/someOtherFile?


It's not awarded yet, but the participation hat for December 30th (give or take a few ) will be .     That's wonderful, because almost* everybody here loves bacon. However, why is this hat awarded on December 30th only? The other date-based hats** all correspond to Christian, Jewish or other kind of holidays:   :  :  :  :    What is so special about December 30th? Or did the Hats team just choose a random day?  *: apologies in advance to those who don't eat bacon for religious reasons and/or vegetarians **: there's another date-based hat, but it's secret so we can't talk about it

Continuing the tradition of asking for the meanings of .  Hats like  can be deciphered easily as related to . However, hats like  are difficult to .   bluefeet has already mentioned about the number-only hats .   Hence the question is: can we have a list of what inspired each of the (secret and non-secret) hats?


When a port shows up in nmap or netstat I know its open and listening. But thing is, how do I know what other ports are actually open on my server, even though they may not be listening right now?  How can I view a complete list of all ports that are actually enabled even though they may not be listening or being used right now?  I'd like to shut down those, so not one can exploit them.  Right now, there 80 and that's Apache. What others are actually there but not being displayed. I'm on a VPS like AWS.

I would like to see what ports are open on my machine, e.g. what ports my machine is listening on. E.g. port 80 if I have installed a web server, and so on.  Is there any command for this?


I had a sugar daddy deposit 4500 in my account . By my debit card wasn’t working . So I called the bank they Lomé my account was blocked & to call the fraud center . My bank is pretty good at this stuff . So I called & she said to me that he was paying me with counterfeit money ? What does this mean for me ? This was the first time I’ve ever had a sugar daddy or ever been in this situation

I met a guy on a sugar daddy dating site and we talked, I told him my situation and he said he would help.   He asked for my bank account information and I told him you can use cash app or PayPal to go through. He said his account manager deals with his finances. So I set up an account with a bank that I don’t use so that my primary account isn’t used.  Eventually he was in the process of sending me money and we had agreed on a amount that wasn't crazy. But then he asked for my address and I asked why and he said just wondering. Then said he wanted to send me a surprise for being his baby. Which I didn’t give.  Then later on he sent the money and said he sent me a bonus and that I was supposed to use that to pay his mothers caregiver, which he didn’t mention until after.  I kept questioning him and he was saying that he works in construction and he’s trusting me to carry out the errand. Then he said don’t let him down and I asked him if he was threatening me and he kept saying I need this done but didn’t really answer my question.  Am I being scammed? I’m about to change my password but is this a scam?


I feel that the brand tags such as  and  can be misused and create too broad of questions.  Should we remove these or put more stern wiki text for them?  As LBT has noted, this has been brought up before? Can we make an effort to remove these for good?

The thing with these tags is, you can always (or almost always) use a specific product/technology/language tag which would render the company-name tag completely redundant (see Appendix C for sloppy non-proof). For example, what relevant information would  tag add to  already tagged with ? What would  tag add to  already tagged with ? Another way of looking at this: how much useful information do you lose if you don't tag a question with a company name? Note: I'm not talking about brand/company/organizations like , , ,  because those names also refer to websites/web services with which you can interact via API or from which you can extract data. Appendix C: The "about" test The relationship between a tag and a question can be expressed as such  This question is about [tag]  In case of ,  This question is about [microsoft]  Fair enough. But in reality people are using these company-name tags like this  This question is about something developed by or related to [microsoft]  But if that's the case, you might as well just go with  This question is about [something developed by or related to microsoft]  where  can be , , ... you get the idea.


So if Harry is descended from Ignotus and Voltemort from Peverrels, does that make them long lost cousins?

On the , I found that Harry Potter is listed as a distant cousin under the 'Family Members' section.  Is this true? If yes, please provide proper citations from canon.


On my MacBook, I only have 250GB and out of this 250GB my MacBook is taking up 129GB in the other section. I looked everywhere to the best of my knowledge. Please note my home directories is only 45GB. Can you here somehow please help me?  This question  does not answer my question.

For my MAC laptop, I only have 250GB and out of this 250GB MAC is taking up 129GB in the other section. I looked everywhere to the best of my knowledge. Please note my home directories is only 45GB. Can you somehow please help me?


I have two tables with a field called Date. I want to select only the dates of Table1 that are diferent from Table2.   In this case, the result would be 4 and 5.  Table1     Table2     Result Date       Date       Date 1          1          4 2          2          5 3          3 4 5


(true or false)Suppose String objects b and c contain the same sequence of characters. Then b == c is true.  public static void main(String[] args) {     String a = "abc";     String b = "abc";      System.out.println(a == b);     System.out.println(a.equals(b)); }   The result is true, but the answer to the question is false. I was wondering why.

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


I need an advice on what hardware configuration would be most efficient for a modern GIS professional. Should I go for out-of-the-box HP/DELL workstations or should I assemble different parts?  Note: 1). Softwares I will mostly use- ArcGIS, QGIS, ENVI, Erdas, Photomodeller & AutoCAD.       2). Extensive 3D modelling, point cloud processing, TIN generation etc. will be frequent.       3). Extensive geoprocessing needed.       4). Long hours of CPU/GPU usage.

My current employer has given me the opportunity to design my own GIS workstation. The problem is I have no idea what is important when it comes to hardware! I have been given a datasheet from Fujitsu which includes the latest CELSIUS M720 series workstations but the configuration includes about 30 different processors, graphics cards, and hard drives.  I will be working a lot with the ESRI desktop suite (spatial analyst and 3D analyst) and doing a fair amount of raster processing (DEMs, visibility analysis, etc.), but I also use the GDAL library, SAGA-GIS, Quantum GIS and others.  Does ArcGIS 10 actually use multiple cores?  I have the choice from 4 cores with 8 threads up to 8 cores with 8 threads - 16 threads?  Is SSD SATA III better than HDD SATA III?  The Celsius R920 supports up to 512 GB RAM. But what do I need?  It will probably be the last time I get a new workstation for the next 5 years, so I am curious what others have ordered or feel will be necessary for the coming years. Obviously the cloud isn't taking over as quick as they say!


I mean it's stupid right? He even controlled possessed him in the 5th book briefly. He would surely realize that the sensation or whatever he felt and did while controlling Nagini was the same.

To make a Horcrux, certainly murder can't be the only requirement. It is obvious a proper spell is needed for completing a Horcrux. Voldemort could have made a thousand Horcruxes, as he had already murdered a thousand people. But, how on earth did Harry become a Horcrux, with Voldemort murdering his mom and not using the Horcrux-making spell? Certainly Avada Kedavra is not the spell used for making a Horcrux.


I'm learning about Sets. I'm confused in two statements given in my book,i.e every set is a subset of itself and the empty set is the subset of every set. These two subsets are called improper subset.Another statement: a subset A of a set B is called proper set of B if A is not equal to B.  I didn't get how phi is improper subset since it is not equal to any non-empty set. I searched about this question in this site but I didn't understand it fully. Please explain. Thankyou in advance.

I am a bit confused about the concept of proper subsets,precisely whether to include one or both of the void set and the set itself.  An extract from my module goes like this :  Obviously,every set is the subset of itself and the void set $\emptyset$ is the subset of every set. These two subsets are called improper subsets.  It also includes a theorem which states that "Let A be a finite set having n elements. Then the total number of subsets of A is ($2^n$) and the number of proper subsets of A is ($2^{n}-1).$"  Then again in a sample solution of this problem "If A = {a,b,c},then the number of proper subsets of A is ?"  Total no of subsets of {a,b,c} = $2^3$ = 8. But each set have two improper subset, so number of improper subsets are 6.  Is this solution correct ? If so please explain the concept.


In XeTeX, I can set up a font pretty straightforwardly with:  \font\foo="Minion Pro" at 10pt   I don't quite see how to do it.  suggests that the answer is "use luaotfload.sty." Is that true or is there something comparable to the above I can do directly in LuaTeX? Or is there some other, better plain-ish TeX way of loading fonts (by which I mean system fonts in TTF or OTF format) from LuaTeX?  Looking at the LuaTeX manual, I see some Lua code. If that's the right way to do it from LuaTeX directly, which functions do I need to use to do this?

Is it possible to have OpenType fonts with LuaTeX using the plain format?  I have tried:  \font\test="texgyrepagellaregular"\test test\bye   but I get ! Font \test=texgyrepagellaregular not loadable: metric data not found or bad..  mtxrun --script fonts --list --all --pattern=pagella shows the above font name when I followed the instructions at .  But on actually using the fonts, the page switches to speaking of ConTeXt instead of LuaTeX, which leaves me to wonder if it is possible to use OT-fonts with plain?  UPDATE  Even though this now works fine for fonts which are located in my home directory (OSX Lion, BasicTeX2012, luatex-plain-format constructed as instructed below), I am unable to use fonts which are located in the system directories. So while the above example works (with texgyrepagellaregular), as the mtxrun-script shows its location as ~/Library/Fonts, the following doesn't:  \font\test="minionproregular"   presumably because mtxrun shows its location as /Library/Fonts (the same issue seems to be with fonts inside /System/Library/Fonts).  Now, I added to my ~/.zshrc:  export OSFONTDIR=/System/Library/Fonts:/Library/Fonts:$OSFONTDIR   after which I was able to update the fonts database with mtxrun --script fonts --reload (following ), and indeed now the mtxrun listing does show all of the fonts.  It's just that luatex-plain doesn't see them.  How can I make luatex-plain see the fonts mtxrun sees?


I am a citizen of the Republic of Macedonia.  This summer, I spent 7 days in Croatia and a little bit over 3 months in Switzerland.  I had a Swiss national visa (type D) valid for 3 months, as I performed an internship during that period.  The "little bit over" (just a few days) period I stayed there as a tourist.  In other words, I spent around 10 days as a tourist in the Schengen area, and 3 months on a type D visa.  My question now is: do the days spent on a type D visa count towards the 90/180 days rule?  I would like to travel to the Schengen area soon (as a tourist), but I'm afraid that wouldn't be possible if those 3 months counted toward the 90/180 days rule.

I am an American citizen living in Poland for 6 months.  I arrived in Poland on February 1, 2016 without a Visa. The count toward my Schengen days began. I received my Work Visa for Poland on April 7, 2016.  The work visa expires on July 7th. I intend to stay in Poland until July 30, 2016 (which is 180 days after I entered on February 1)  My question is, do the days that I am on a Work Visa count toward my "90 days within a 180 day period" as a tourist?  And when my work visa expires on July 7th, will I be able to remain in Poland until July 30?  February 1 -> April 7 = 66 days July 7 -> July 30 = 23 days Total days as a tourist = 89 days


Does anyone know if this is still a valid link? Can I still send an envelope to the address to get stickers?  I can't find anything recent about it.

I realize we did receive some stickers before, but I believe more stickers would be tolerated. Of course, you should deserve them first. Are there any possible sticker competitions?


Problem:  Solve the differential equation $$(2x^2+3y^2-7)x\mathrm{d}x - (3x^2+2y^2-8)y\mathrm{d}y = 0$$  My attempt: $$(2x^2+3y^2-7)x\mathrm{d}x - (3x^2+2y^2-8)y\mathrm{d}y = 0$$ Let $$u = x^2 +y^2 -3$$ $$2u = 2x^2+2y^2-6$$ so, $$2x^2+3y^2-6= 2u +(y^2-1)$$ and $$3x^2+2y^2-8 = 3u-(y^2-1)$$ so, $$\frac{x}{y} \frac{\mathrm{d}x}{\mathrm{d}y} = \frac{3u-(y^2-1)}{2u+(y^2-1)}$$ To convert the equation into variables $u$ and $y$, $$\frac{\mathrm{d}(x^2+y^2-3)}{\mathrm{d}y} = \frac{\mathrm{d}u}{\mathrm{d}y}= 2x \frac{\mathrm{d}x}{\mathrm{d}y}+2y$$  Solving for $\frac{\mathrm{d}x}{\mathrm{d}y}$ $$\frac{\mathrm{d}x}{\mathrm{d}y}=\frac{1}{2x}\biggr(\frac{\mathrm{d}u} {\mathrm{d}y}-2y\biggr)$$ Plugging in the problem $$\frac{x}{y}\cdot\frac{1}{2x}\biggr(\frac{\mathrm{d}u} {\mathrm{d}y}-2y\biggr)=  \frac{3u-(y^2-1)}{2u+(y^2-1)}$$ Upon solving, $$\frac{1}{2y}\frac{\mathrm{d}u} {\mathrm{d}y}=  \frac{5u}{2u+(y^2-1)}$$ Moreover, let $$t = y^2-1$$ $$\mathrm{d}t= 2y\mathrm{d}y$$ Plug in the above equation (ambiguous step?), $$\frac{\mathrm{d}u}{\mathrm{d}t} = \frac{5u}{2u+t}$$ Even now, I can't separate the variables.  All suggestions are welcome. Please attempt to provide alternate solutions. Thanks!

The question is basically to find out the solution of the differential equation $$(2x^2+3y^2-7)xdx-(3x^2+2y^2-8)ydy=0$$.  Since the given differential equation is non homogeneous I tried to find out the point of intersection of $2x^2+3y^2-7=0$ and $3x^2+2y^2-8=0$.I got the point of intersection and then I tried to shift the coordinate system to that point.this removed the constant terms.However I was not able to proceed further.Please help me in this regard.thanks.


Could you please explain the detailed procedure about using ISCAS-85 benchmark Circuits for testing available at the below link   How do we start, could you please explain in detail the steps how to use it

What is ISCAS85 benchmark? I find it in a , is there any simulator for it?


I have some issues regarding apt-get update. When I run the command on the terminal everytime it stops after fetiching the repos and won't continue even if I wait about an hour.   I have already tried the following proposed solutions:        However none of them seem to work for me. I would like to tell you more but there aren't any error messages displayed. The command executes as usual but then just stops without any warning. By saying "stops" I mean it prompts Fetched 9.139 kB in 1 min 13 s (124 kB/s) and no new line is shown. (so I am unable to invoke new commands until I hit ctrl + c.)  Edit: As marked correctly the problem was already solved here . I am sorry for not having seen this.

I tried to install crossover and after downloading the .deb from their website, I followed the steps as indicated when opening it with Ubuntu Software Centre:     On 64-bit flavors of Debian and some Ubuntu variants, first open a   terminal and run sudo dpkg --add-architecture i386 ; sudo apt-get update   Since I have Ubuntu 16.04 LTS 64 bit I perform the command.  But when copying and pasting that command into my terminal, it stopped at Fetched 535kb in 7sec and stalled there for about 20 minutes. I ended up  closing it and tried to run both commands separately but after doing the sudo apt-get update command it also stalls again after "Fetched XXKb in XXsec."  I restarted my computer and decided to run the software updater and it stays stuck at roughly 75% for hours.


I just wrote an . I was describing a if-elseif-else algorithm in PHP and noticed, that the if and else expressions are in blue color, whereas the elseif term stays black. Is this the wanted behaviour or is this a bug?

I noticed that sometimes my code gets highlighted in different colors when rendered.   What is syntax highlighting? How does it work? Why isn't my code being highlighted correctly? How do I report a bug or request a new language? How do I use syntax highlighting? What languages are currently available on Stack Exchange?


I have dual booted ubuntu 13.10 and windows 8.1 in my laptop. Earlier my window partition(C drive)  and other NTFS partition was accessible from ubuntu.  Now its giving me this error and not mounting:  Error mounting /dev/sda3 at /media/waqar/120ABDC90ABDAA5D: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda3" "/media/waqar/120ABDC90ABDAA5D"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda3': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.   C drive(window partition) is giving this error:  Error mounting /dev/sda2 at /media/waqar/BAD4D962D4D92185: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda2" "/media/waqar/BAD4D962D4D92185"' exited with non-zero exit status 14: Windows is hibernated, refused to mount. Failed to mount '/dev/sda2': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.   I have restarted my system, booted in windows and then again shut down the system properly but its continuously giving me the same error.   Any help?

Whenever I boot Ubuntu, I get a message that it cannot mount my windows partition, and I can choose to either wait, skip or manually mount.  When I try to enter my Windows partition through Nautilus I get a message saying that this partition is hibernated and that I need to enter the file system and properly close it, something I have done with no problem so I don't know why this happens.    Here's my partition table, if any more data is needed please let me know.     Device Boot      Start         End      Blocks   Id  System /dev/sda1            2048    20000767     9999360   83  Linux /dev/sda2        20002814   478001151   228999169    5  Extended /dev/sda3   *   478001152   622532607    72265728    7  HPFS/NTFS/exFAT /dev/sda4       622532608   625141759     1304576   82  Linux swap / Solaris /dev/sda5        20002816   478001151   228999168   83  Linux


I have a device (iPhone 4S) that is running iOS 7, but I was wondering: Is it possible to restore a full backup of the same device running iOS 6.1.3.  I'm not worried about losing data from the iOS 7, but I would like to restore the device to its previous state under iOS 6.  Is this possible?  Again, to reiterate: I'm not looking for clean downgrade/install of iOS 6, I wish to restore a full back-up containing an earlier iOS. Thanks.

I'm trying to downgrade my iPhone from the current iOS to an older one, as per .  But every time I try, I always receive this error:     The iPhone could not be restored. This device isn't eligible for the requested build.     I have tried many times with and without DFU mode. Any ideas regarding this?


I want to achieve this text effect. The references below seems a mix of stroke and a box shadow. But the shadow seems connected to text (normal text shadow is like basically another text layer just below it, displaced slightly). There are answers here for how to do this in Illustrator and Photoshop but the drop shadows are not combined with strokes. I am not sure how to do it in Photoshop.   Kindly note that I don't mean this kind of effect. It's just separated drop shadow.

I'm bit of a newbie in Adobe Illustrator and have been learning the application by trying to follow some tutorials and recreating some cool stuff I come across on the web.   That being said, I'm having trouble replicating the effect found in the following image using the standard 'Extrude & Bevel' options. I've also tried copying + pasting the text in front, back, in place and that came out even more horrendous. 'Extrude & Bevel' gives me a nice approximation but nothing that pops out like in the example.   Any tips on how to fine tune my 'Extrude & Bevel' settings or an entirely different method of achieving a similar effect would be very much appreciated. Thanks for your time and help!  How can I create a 3D effect on my text similar to the one in the following image, using Illustrator's Extrude and Bevel tools?


I have the database filled with some data (added from command line), i setup encoding of the database to utf-8 as well as my website is.  But the output from the database where special chars like "š" etc. is outputted as "�", so what have I done wrong or what should I add? I am siply ECHOing as echo $row['title']; etc.

I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.  Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQL, and PHP to do this — is there some standard checklist I can follow, or perhaps troubleshoot where the mismatches occur?  This is for a new Linux server, running MySQL 5, PHP, 5 and Apache 2.


When a character levels up and gains new spell slots, are those slots available immediately or do they have to rest before they can use those slots?

I'm playing in a D&D 5e campaign with a bard and a wizard.  Our most recent session ended while we were in the middle of exploring a dungeon. The DM informed us that we leveled up from 4 to 5.  The wizard and bard were excited to get level 3 spell slots for the first time. They began discussing the level 3 spells they were looking forward to casting at the beginning of the next session. I asked, "Don't you guys need to have a long rest before you can cast new spells, though?"  The bard argued that he doesn't need a long rest, because he learns spells immediately upon leveling up and doesn't need to prepare them.  The wizard argued his "number of spells available" count increased immediately upon leveling up, and it wouldn't make much sense if his actual number of prepared spells stayed the same.  Ultimately, the DM decided that it would be more fun if everyone got access to their new toys at the same time. He permitted the wizard to add a level 3 spell to his prepared spell list.  Who is right? Do bards (and other casters that do not prepare spells) get access to new spells more immediately than wizards (and other casters that prepare spells)?  I looked at , but "Can a mage use his newly gained 2nd-level spell slot?" seems like a separate matter from "Can a mage use a newly gained spell?".


What I'm talking about is reading a string into a Number, e.g.  "$107,140,946" ---> 107140946  "$9.99" ---> 9.99  Is there a better way than  dolstr.replace('$',''); dolstr.replace(',',''); var num = parseInt(dolstr,10);   ???

I have a text box that will have a currency string in it that I then need to convert that string to a double to perform some operations on it.   "$1,100.00" → 1100.00  This needs to occur all client side. I have no choice but to leave the currency string as a currency string as input but need to cast/convert it to a double to allow some mathematical operations.


i want to send email using user's entered email address to my email address using PHPMailer and without SMTP. But it takes too much time to send email and once it sent email i got mail in spam instead of inbox. Below is my complete code-  <?php  session_start(); require_once 'class.phpmailer.php'; $mail = new PHPMailer;  $mail->From = $_POST['email']; $mail->FromName ='Contacted By : '.$_POST['fname'];  $mail->addAddress("dev5.veomit@gmail.com");   $mail->addReplyTo($_POST['email'], "Reply");  $mail->isHTML(true);  $mail->Subject = "Subject Text"; $mail->Body = "Name : ".$_POST['fname'].'
Email Address : '.$_POST['email'].'
Message : '.$_POST['msg']; $mail->AltBody = "This is the plain text version of the email content";  if(!$mail->send())  {     echo "Mailer Error: " . $mail->ErrorInfo; }  else  {     $_SESSION['sucess-email']='You Have Contacted Successfully.';     header("Location: https://m-expressions.com/test/voy/"); }  ?>   Please help me solve this problem and thanks in advance.

This is a tricky one and I've always relied on techniques, such as permission-based emails (i.e. only sending to people you have permission to send to) and not using blatantly spamish terminology.  Of late, some of the emails I send out programmatically have started being shuffled into people's spam folder automatically and I'm wondering what I can do about it.  This is despite the fact that these particular emails are not ones that humans would mark as spam, specifically, they are emails that contain license keys that people have paid good money for, so I don't think they're going to consider them spam  I figure this is a big topic in which I am essentially an ignorant simpleton.


Both Harry and Nagini were both made into Horcruxes with the diary it leached off of Ginny to attempt to bring Tom back to life, prior to this Harry was still a Horcrux and so was Nagini this makes me think that living Horcruxes may:    need some form of special requirement that the others didn't need not be capable of actually resurrecting him   If anyone knows how a living Horcrux could be used to bring Voldemort back to life please let me know ^-^

If Voldemort's body dies, what process would he use to restore himself from a horcrux? His plans seem sloppy for the pains he had taken. For example, why create horcruxes from pieces of jewellery when they dont have the agency to seek out a new body by themselves?  He needed Quirrel, a person with unlikely ambitions to seek him out to gain an useful body. When that body was gone, he needed Barty Crouch, someone with questionable agency (he could be imprisoned) to transport Harry and draw his blood.  Nagini and the diary seems the only horcruxes with agency, the others are mostly inert.  What plans were ever taken to restore Voldemort from his horcruxes?


I'm evaluating options for image webservers for  (in the case it grows).    I was looking into .  They offer storage servers with 7 and 15 drives.  7 drives with software raid and 15 drives with hardware raid.  Assuming they have good hardware raid controllers for 15 drives (good monitoring), what are challenges of choosing such servers rather than commodity hardware?  Possible problems:   partition sizes with ubuntu 12.04 with possible max limit 2GB (they still don't offer ubuntu 14.04 LTS) since having backup in another data center is a good idea, the problem is availability of similar backup servers by other companies for having backups, any idea about this one? since I'll be serving images and assuming HD has read transfer rates of 60MB, which is around 500MBps the server could be hitting 1Gbit network port with anything higher than 4 drives in raid 10 assuming 400KB average image size and the outbound of 500Mbit, the server can serve 156 images per second, which is about 5 users per second (excluding robots traffic) if in average consuming 300MBit outbound, it looks like the server woould generate 88TB of traffic monthly - using formula (300000000 / 8 * 60 * 60 * 24 * 30) / (1024 * 1024 * 1024 * 1024)  since Google Cloud Storage is about 20$ per TB, storing 52TB of backup would cost about 1100$ which makes cloud storage services much expensive than having server replica    So it looks like 15 drive servers could hit 1Gbit network bottleneck (assuming that images of poor quality which are never read are removed from the system). In the case there are   So my analyzes shows that there are less risk in going with commodity hardware (i.e. 4x2TB):   less risk in hitting network limit cheaper backup to another commodity hardware in other datacenter   Anything I missed?

This is a  about  Related:      I have a question regarding capacity planning. Can the Server Fault community please help with the following:   What kind of server do I need to handle some number of users? How many users can a server with some specifications handle? Will some server configuration be fast enough for my use case? I'm building a social networking site: what kind of hardware do I need? How much bandwidth do I need for some project? How much bandwidth will some number of users use in some application?


I have two polygon layers: the first one contains small land lots (green in the image), the second one contains large zones (the purple line in the image attached separates 2 such zones).  I want to link (the id's of) the large zones in layer 2 to the small parcels in layer one, using the largest overlap as criteria or measure: the small parcel gets the id of the large zone with which it has the largest overlap.  How can this be done in QGIS?

I have a shapefile of a city map and I have created vector grid as polygons.   After intersecting the two shapefiles, a building will map to all the grids it overlaps.   However, if I just want it to map to the one grid which contains the majority of the building (>50%), how could I achieve it?   Is there a function or plugin in gqis for this task? Or do I have to write my own code to do this?  I am new to QGIS.


The situation was going irritating at that time. I am starting eating my breakfast now.   Are these statements correct? Can I use two -ing words together? Can you explain by giving few more examples?

We  that there's a difference in meaning between try used with the infinitive and  try used with the gerund:     I tried sending her flowers. (Meaning: An experiment: I sent her flowers to see what will happen).   I tried to send her flowers. (Meaning: I tried to go through the procedure necessary to send flowers to her. The procedure might have been difficult.)   (per Michael Swan's PEU, Unit 299.6)   Will the same distinction hold if we use trying:     A man is trying setting up a password on his computer. (Is he experimenting, wanting to see what will happen?)   A man is trying to set up a password on his computer. (Is he trying to go through all the necessary steps, probably difficult, of setting up a password?)


Is a complex matrix A such that A^k = I; the n×n identity matrix and where k>1 diagonalizable provided that 1 is not an eigenvalue of A.

An $n\times n$ complex matrix $A$ satisfies $A^k=I_n$, where $I_n$ is $n\times n$ identity matrix and $k$ is positive integer $\gt1$. Suppose that 1 is not an eigen value of $A$. Then which of the fallowing is necessarily true?  1) $A$ is diagonalizble  2) $A+A^2+...+A^{k-1}=0$  3) $tr(A)+tr(A^2)+...+tr(A^{k-1})=-n$  4) $A^{-1}+A^{-2}+...+A^{-(k-1)}=-I_n$  I think 1) and 2) are ture.


One of my answers is become CV  and it still showing with name obi NullPoiиteя kenobi which I have changed a long ago

On a whim the other day, I changed my meta name from Lord Torgamus to Popular Demand.  I just noticed that the old name has "stuck" to the author tag of ; everywhere else on meta, my new name displays as expected.  Is this a feature?  Is it a bug?  Mostly I'm just curious, as I can't think of a strong reason in favor of keeping this behavior or a strong reason for changing it.  A question somewhat like this has been raised before as , but the previous poster implied that the issue had something to do with migration, which my situation shows is not the case.


The sent items folder is about 8 GB and I need to clear it out to free up space. Is there any way to do it without selecting each individual message?

Is there a way to mass delete compiled list of emails on iOS devices (like can be done in os x)? I only know two options: select individually & swipe "left" and from bottom select "edit", then selecting each message individually. I tried solution described in similar question without success (described as iOS 7).


I am trying to create an extremely basic bash script that tells a user if they input the correct file format for the script before continuing. For example:    echo "Input .txt file here:" read file if $file = *.txt     then      echo "File is in correct format."     else     echo "File is not in correct format. Please recheck your file."     fi   What can be used to do this?   The command (below) does not work and just reports that the 'else' rather than do what I truly want.   $file = *.txt

I want to write a script to return just the extension of the input file name. For example, textfile.txt should return txt.  I'm new to Linux and bash, and I'm trying to learn how to write basic scripts. Thanks!


I could use some help in figuring out why the Upgrade button on the software updater doesn't do anything. I did some googling and answers were that I had updates that weren't installed. So, I sudo apt-get update && sudo apt-get upgrade. It says that there was 1 not upgraded. I'm pretty sure that sudo apt-get --upgradeable -a would list the package that needs to be updated and it showed: nick@nick-HP-Pavilion-Laptop-15-cs0xxx:~$ apt list --upgradable -a Listing... Done calendar-indicator/bionic,bionic 0.4.0-0extras19.04.1 all [upgradable from: 0.3.4-0extras15.10.0] calendar-indicator/now 0.3.4-0extras15.10.0 all [installed,upgradable to: 0.4.0-0extras19.04.1]  So am I on the right path here? Is the calendar-indicator the stuck package? How would I go about getting it to update so I can upgrade to 20.04 via the software updater? Thanks in advance.

Update  appear to have been updated recently (as of writing this the last update appears to have taken place on 3rd of June) to include the following statement:  The -d switch is necessary to upgrade from Ubuntu 18.04 LTS as upgrades have not yet been enabled and will only be enabled after the first point release of 20.04 LTS.  Also note that .  TLDR (as of 15 Aug 2020):   is the canonical tracking document for the first Focal Fossa point-release (20.04.1). It’s a live document. The Ubuntu release team will be updating it as we work on releasing 20.04.1. […] Upgrades from 18.04 to 20.04.1 are still disabled as we are working through a few upgrade blockers   Edit The answers (so far) do not answer the question. The question is pretty simple. Ubuntu.com points to a "FinalRelease", which turns out to be a "Development Release", see evidence below. I'm not asking how and when to upgrade. I'm pointing out what seems to me to be an apparent inconcistency (in semantics, linguistics, logic) in the way Ubuntu names or labels its releases. From an answer to the question I'd except someone to pick up and acknowledge this inconsistency. An answer could start with a "Yes, ..." or a "No, ...", for starters. (Moreover, a good answer could distinguish between the release being in dev stage and/or the upgrade process (e.g. from LTS to LTS) being in dev stage, if appropriate.) This question, as I see it, is not a duplicate. Futher, I think it is a question which deserves a non-patronizing answer. Thanks.   indicates that today (23rd April 2020) the new Ubuntu 20.04 LTS is to be released.  See "condensed screenshot" here:  Indeed, it seems that that's what happened, see  and :  However, when following the instructions to upgrade (from 18.04 LTS to 20.04 LTS) found  and elsewhere (edit: actually , too!), even prior to the July point release, I'm a bit confused to see that the instruction is to use update-manager -d which also points to the "Development Release" (see screenshot below) rather than the "FinalRelease" (see screenshot and link above). Is the "Final Release" (which I'm after) the/a "Development Release"? Why isn't it called something like "Production Release" or "Final Release"? When will it no longer be referred to as "Development Release"? In July? I'm confused :(


I've seen both of these listed, both being striped and mirrored across multiple drives, but is the a difference between them that I'm not picking up on?

This is a  about RAID levels.    What are:   the RAID levels typically used (including the RAID-Z family)?  deployments are they commonly found in? benefits and pitfalls of each?


I recently saw a video where someone executed ^foo^bar in Bash. What is that combination for?

One of my favorite Unix tricks is ^x^y, which will take the last command and replace the first instance of "x" with "y". However, I'm wondering if a similar trick works to replace all instances of "x" with "y" in the last command?


I have users defined as such;  const initUsers = {   'a@test.com':{     firstName: 'A',     lastName: 'Test',     email: 'a@test.com',     password: 'test',   },   'b@test.com':{     firstName: 'B',     lastName: 'Test',     email: 'b@test.com',     password: 'test',   } };   I am able to retrieve a user by doing initUser['a@test.com']. How do I delete the users based on their key which is the email like a@test.com? Or how do I replace it with another key, for example, c@test.com in place of a@test.com?  Thank you. (JavaScript Beginner)

Say I create an object as follows: let myObject = {   "ircEvent": "PRIVMSG",   "method": "newURI",   "regex": "^http://.*" };  How should I remove the property regex to end up with new myObject as follows? let myObject = {   "ircEvent": "PRIVMSG",   "method": "newURI" };


I want to remove some photos from , because they are breaking my privacy (they contain my personal information). How can I do that or who should I ask to do that?

I accidentally uploaded an image in chat that contained some personal information. I deleted the chat message, but would like delete the image from imgur. I've seen , with  that says because "the account belongs to SE, not you" I cannot delete an image.  However, because this image contains personal information, it really must be deleted. How can I go about doing so?


How can we run httpd service at startup ? ( this task will activate a startup script , that you have written, to start the "httpd" deamon ( /us/local/sbin/httpd ) )

I installed Apache a long time a go as part of setting up the development environment on my laptop.  However, since I stopped it some months back, it no longer starts automatically on boot. I have this problem on my laptop at home AND on my laptop at work.  I both cases, I installed Apache in Ubuntu 10.10 some months ago, used it for several weeks without a glitch, but then one day I stopped it and now it no longer starts automatically. I tried running the update rc for it manually, but was told the init script is already in use.  However, starting/restarting it manually with   sudo service apache2 start/restart   works fine. In both cases, I let it be until after the upgrade to 11.04, because I hoped it would be solved by the new version. But it's not! I'd be grateful if someone can tell me how to have Apache start automatically once more.


I was recently using a VPN on Google Chrome and was on Google a lot. Now the search engine and other websites have switched to the country settings of the country the VPN was accessing.   Is there a way I can change back to my local settings?

I live in the UK, and whenever I visit google.com I am redirected to google.co.uk, but I want to see my website's rankings on the US version (I presume the results are different). Is there a way to do this?


More than once, I stumbled on some SE users who had their accounts temporarily  "blocked"/"banned" (e.g. locked reputation at 1, cannot ask or reply to questions, and maybe some other restrictions).   Although the profile of a "blocked" account has a direct link to some form of Help Center to explain what it means, I'm having a lot of trouble to find said page without finding a "blocked" user (which are hard to come by, luckily).   However, I remember 2 reasons that could push an user into being blocked:    The first is simple enough: if you don't behave/are too aggressive toward a fellow member.  The second was something in the line of "keeps taking but never gives back".    I've been trying to search for a meaning for that second reason, but so far I wasn't successful.

In Jeff's  he listed reasons for getting suspended:  No effort to learn and improve over time  This user does not put reasonable effort into the questions they ask of the community. There is little or no evidence of this user learning over time, either in the topic itself or in the community norms on the site. This user intentionally spams the site with the same question or very similar questions, over and over. The user never gives anything back to the community, but only takes.   What is the criteria for "The user never gives anything back to the community, but only takes."? Does a user with 1785 questions and 7 answers(non of them have positive rating, and two negative) fit to that definition? I remember I saw a user with 0 answer being suspened, but does really answering one answer with negative rating save him?  I didn't linked to that user profile because it's not personally against him, but a hint: this is the user with the most questions in SO.


I copied the user twig file into my theme.  How to display the information of the following user:        Account updated on: ???   Account status: ???   Roles: ???   Member since: ???   Last connection on: ???      I tried {{ user.role }} and {{ content.role }} to display the role, but it does not work.  {# /**  * @file  * Default theme implementation to present all user data.  *  * This template is used when viewing a registered user's page,  * e.g., example.com/user/123. 123 being the user's ID.  *  * Available variables:  * - content: A list of content items. Use 'content' to print all content, or  *   print a subset such as 'content.field_example'. Fields attached to a user  *   such as 'user_picture' are available as 'content.user_picture'.  * - attributes: HTML attributes for the container element.  * - user: A Drupal User entity.  *  * @see template_preprocess_user()  *  * @ingroup themeable  */ #}

       Compte mise à jour le : ???       Compte : ???       Rôles : ???       Membre depuis : ???       Dernière connexion le : ???

       {{ drupal_view('utilisateur_offre', 'block_1') }}

     {{ drupal_view('utilisateur_offre_detail', 'block_1') }}

I copied the twig file from the user view in my theme.  I want to display:   "Online" if the user is logged in. "Absent" if the user has not had any activity for more than 15 minutes. "Offline" if the user is disconnected.   How to do this with twig ?  {# /**  * @file  * Default theme implementation to present all user data.  *  * This template is used when viewing a registered user's page,  * e.g., example.com/user/123. 123 being the user's ID.  *  * Available variables:  * - content: A list of content items. Use 'content' to print all content, or  *   print a subset such as 'content.field_example'. Fields attached to a user  *   such as 'user_picture' are available as 'content.user_picture'.  * - attributes: HTML attributes for the container element.  * - user: A Drupal User entity.  *  * @see template_preprocess_user()  *  * @ingroup themeable  */ #}

      {{ content.user_picture }}     {{ user.label }}      {% if logged_in %}        En ligne     {% else %}        Hors ligne     {% endif %}

   The preceding code displays the status of the current user.  For example for comments I want to display the status of the author of the comment (not the node). I have this line of code in the comments twig file.  Can I reuse the code to obtain the status of the author of the comment ?  {{ drupal_entity('user', comment.uid.target_id, 'comment') }}


How can I store brown sugar as it always gets hard before I can use it all. How do you store brown sugar? Does it need to be refrigerated?  Also, How can you make hard brown sugar soft again?

I put a clothes pin on my opened bags of brown sugar and keep them in a dark pantry at room temperature.  Since I don't use it very often, it becomes hardened.  My work-around is to use a grater to grate it but it would be useful to avoid the problem in the first place.  How should I store it to prevent hardening? Do I put it in the freezer? If so, does it need to come to room temperature before using it?


I was just watching  while I was preparing some content for tomorrow's session. If you click the link you should be at a specific time in the video. If you watch those couple of seconds the DM says that a natural 20 on perception makes the character learn everything they can about the thing they were trying to figure out.  Recently . From the top answer, I understood that only in Combat does a natural 20 mean no-matter-what success. But after hearing what the DM in the video said, I got a little confused. Does Perception have some kind of a special rule? Is it considered an ability check every time you roll for Perception?  I know that this is a very silly question, but I am genuinely confused. Since it is my first time DMing, I want to make sure I know the most basic rules by heart.

To keep it short, the D&D Dungeon Master's Screen has certain Difficulty Levels with the respective DC. The issue is that there are two Difficulty Levels namely Very Hard and Nearly Impossible whose DC is greater than 20.  My question is; If you are trying to, for example, lockpick a very high-difficulty lock that requires a DC 25 and you get natural 20, do you lockpick it as it is "Natural Success" or do you have to have a +5 or higher modifier with thieve's tools as well? (My question applies for anything that may require a DC higher than 20, I set an example with the lockpick)


This isn't so much about how to achieve what is explained in the example, there are plenty of easy ways to do it. The question is WHY does the example not behave as expected?  1. If I have the following string  "#foo#bar"  2. And I'm trying to get [foo, bar] with the following regex in JavaScript  "#foo#bar".match(/(?:#)([a-zA-Z]*)/gi)   3. It returns  Array [ "#foo", "#bar" ]   Ignoring the non-capturing group (?:#)   It works as I first expected in here   So why is this? Do JS regexes behave somehow differently?

I want to match a portion of a string using a  and then access that parenthesized substring:  var myString = "something format_abc"; // I want "abc"  var arr = /(?:^|\s)format_(.*?)(?:\s|$)/.exec(myString);  console.log(arr);     // Prints: [" format_abc", "abc"] .. so far so good. console.log(arr[1]);  // Prints: undefined  (???) console.log(arr[0]);  // Prints: format_undefined (!!!)   What am I doing wrong?    I've discovered that there was nothing wrong with the regular expression code above: the actual string which I was testing against was this:  "date format_%A"   Reporting that "%A" is undefined seems a very strange behaviour, but it is not directly related to this question, so I've opened a new one, .    The issue was that console.log takes its parameters like a printf statement, and since the string I was logging ("%A") had a special value, it was trying to find the value of the next parameter.


Is it possible to "see" the mean value theorem when one is only thinking of numerical values without visualizing a graph? Perhaps through a real world problem?

I am currently practicing presenting mathematics to various audiences and am considering the example of the mean value theorem. I was wondering how would I be able to motivate this theorem to a mathematician, to a physicist and to someone who does not have any experience with theoretical mathematics.


I would like to ask if the expression below can be simplified using standard summation properties? Or should I dive into much deeper concepts like the power series? Thank you.  $$\sum_{i=1}^{n-1} \dfrac{i}{(-x)^i}$$

I want to know the general formula for $\sum_{n=0}^{m}nr^n$ for some constant r and how it is derived.  For example, when r = 2, the formula is given by: $\sum_{n=0}^{m}n2^n = 2(m2^m - 2^m +1)$ according to   Thanks!


May I know how how to rename a directory? because I have a directory which contains more files inside.  Thank You.

I have got the directory /home/user/oldname and I want to rename it to /home/user/newname. How can I do this in a terminal?


I was able to read and write NTFS filesystems normally in Mountain Lion, but after the upgrade this stopped to work.  I installed ntfs-3g and fuse4x using homebrew in Mountain Lion and followed the instructions displayed by homebrew to finish the installation of fuse4x kernel extension.  To try to solve this problem I removed ntfs-3g, fuse4x and fuse4x-kext and reinstalled them. But this didn't solve my problem.  Does anyone know how to solve this? Thanks.

What is the best, easiest, preferably cheapest way to make OS X write to NTFS-formatted drives in Mac OS X?


I have a model that adds several fields, two which are manual inputs (County Name and User). I am manipulating several parcel layers (approx 90 counties).   In my model, one field takes the state and county ID's and (FIPS) calcs them together. The next field is a manual input of the county name (Which I enter). I want to write a if then statement in a calc value of this field from another feature.   Essentially in my parcel layer, I want the county name to automatically calculated based off the FIPS column in my parcel layer and in my county layer. So If FIPS = FIPS (From my county layer), then calc county name (in my parcel layer). Is this possible?

I'm trying to write some code to skip over empty raster sets when converting rasters to point (the empty sets stop the conversion, leaving me with a half complete model run).  I know that I can identify empty rasters using the ALLNODATA result from "Get Raster Properties" .  I know I can delete rasters using the Delete.management tool.  I know I should be able to create a branch using calculate value.  But I'm inexperienced with python and modelbuilder, and haven't been able to put this all together. Could someone help me figure out what I am doing wrong? My code and an image of the modelbuilder setup are below.  def fn(Property):  #Import modules      import arcpy  #ifelse statement if Property == "1":             return "true" elif Property == "0":            return "false"


---- Minecraft Crash Report ---- // There are four lights!  Time: 3/8/16 12:44 PM Description: Initializing game  org.lwjgl.LWJGLException: Pixel format not accelerated     at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method)     at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52)     at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:247)     at org.lwjgl.opengl.Display.createWindow(Display.java:306)     at org.lwjgl.opengl.Display.create(Display.java:848)     at org.lwjgl.opengl.Display.create(Display.java:757)     at org.lwjgl.opengl.Display.create(Display.java:739)     at bcf.ap(SourceFile:594)     at bcf.an(SourceFile:430)     at bcf.a(SourceFile:377)     at net.minecraft.client.main.Main.main(SourceFile:124)   A detailed walkthrough of the error, its code path and all known details is as follows: ---------------------------------------------------------------------------------------  -- Head -- Stacktrace:     at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method)     at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52)     at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:247)     at org.lwjgl.opengl.Display.createWindow(Display.java:306)     at org.lwjgl.opengl.Display.create(Display.java:848)     at org.lwjgl.opengl.Display.create(Display.java:757)     at org.lwjgl.opengl.Display.create(Display.java:739)     at bcf.ap(SourceFile:594)     at bcf.an(SourceFile:430)  -- Initialization -- Details: Stacktrace:     at bcf.a(SourceFile:377)     at net.minecraft.client.main.Main.main(SourceFile:124)  -- System Details -- Details:     Minecraft Version: 1.9     Operating System: Windows 10 (x86) version 10.0     Java Version: 1.8.0_73, Oracle Corporation     Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation     Memory: 82180336 bytes (78 MB) / 148647936 bytes (141 MB) up to 523501568 bytes (499 MB)     JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M     IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0     Launched Version: 1.9     LWJGL: 2.9.4     OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.     GL Caps:      Using VBOs: No     Is Modded: Probably not. Jar signature remains and client brand is untouched.     Type: Client (map_client.txt)     Resource Packs:      Current Language: ~~ERROR~~ NullPointerException: null     Profiler Position: N/A (disabled)     CPU: <unknown>   Operating system details: win 10 Ram 4 GB Java updated

Similar to  on the bugs in Minecraft, I would like a complete list of what error codes exist in Minecraft and how they occur, as well as how they can be resolved.


What's the different between "kind of" and "sort of" in American informal English?

I was told that these three phases have the same meanings, but I want to know if there are any differences between them:   sort of kind of somewhat


How can I pass a content type Taxonomy term in the url itself when I have created one node using that content type?

I need to make a link to create a new node. I need this link to appear on taxonomy term pages so I was going to put it in a block. Nodes can be tagged with taxonomy terms.   How can I make it so the create node form has the term (from the page the link was on) already selected? So if you were on mysite.com/term/1 and and clicked the create node link, the node would have term 1 already selected.   Ive found this module but its in dev for D7 so there another way?   Thanks


I have read this question:       Actually, the Higgs has no vev at sufficiently high energies. This is a phoneomenon called symmetry restoration: the Higgs potential receives corrections from the thermal bath, leading to the so-called finite temperature effective potential.   Now as I understand, all elementary particles are massless at the beginning of the universe, and after symmetry breaking, some particles gain rest mass through the Higgs mechanism.       In the Standard Model of particle physics, electroweak symmetry breaking happens at a temperature of 159.5±1.5 GeV.[21] When this happens, it breaks electroweak gauge symmetry.         I am not asking about the symmetry being restored, I am just asking about the particles being massless above the energy threshold.  Now does this mean that if we could create collisions at sufficiently high energies (above 160GeV), the result would only be massless particles?       So, regardless of the energies and temperatures, if the Higgs field has a non-zero VEV, gauge and matter fields appear massive "inside" the electroweak superconductor. This is analogous to how photons appear massive inside an electromagnetic superconductor.   Of course, if the average energy are very high, the gauge and matter fields are effectively massless; the kinetic energies dwarf the mass-energies.   If it is the Higgs field that has a VeV that changes so that at high energies the local (global) minimum disappears, then should it not mean that all particles are massless? Is it just the gauge bosons or is it all elementary particles?  Question:   Are only gauge bosons massless or all elementary particles (above the energy of symmetry breaking)?

Spontaneous electroweak symmetry breaking (i.e. $SU(2)\times U(1)\to U(1)_{em}$ ) is at scale about 100 Gev. So, for , gauge bosons $Z$ & $W$ have masses about 100 GeV. But before this spontaneous symmetry breaking ( i.e. Energy > 100 GeV) the symmetry $SU(2)\times U(1)$ is not broken, and therefore gauge bosons are massless.  The same thing happens when we go around energy about $10^{16}$ GeV, where we have the Grand Unification between electroweak and strong interactions, in some bigger group ($SU(5)$, $SO(10)$ or others). So theoretically we should find gauge bosons $X$ and $Y$ with masses about $10^{16}$ GeV after GUT symmetry breaks into the Standard Model gauge group $SU(3)\times SU(2)\times U(1)$, and we should find massless X and Y bosons at bigger energies (where GUT isn't broken).  So this is what happened in the early universe: when temperature decreased, spontaneous symmetry breaking happened and firstly $X$ & $Y$ gauge bosons obtained mass and finally $Z$ & $W$ bosons obtained mass.   Now, I ask: have I understood this correctly? In other words, if we make experiments at energy above the electroweak scale (100 GeV) we are where $SU(2)\times U(1)$ isn't broken and then we should (experimentally) find $SU(2)$ and $U(1)$ massless gauge bosons, i.e. $W^1$, $W^2$, $W^3$ and $B$ with zero mass? But this is strange, because if I remember well in LHC we have just make experiments at energy about 1 TeV, but we haven't discovered any massless gauge bosons.


I am trying to return "title" result in Ascending order. I tried with below code but ascending order was not working.   var details = DS.Tables[1].AsEnumerable()               .GroupBy(row => row["ID"])               .Select(row => row.FirstOrDefault()).Take(TopCount)               .OrderBy(row => row["title"])                .ToDictionary(row => row["ID"], row => new ObjDetails(DS.Tables[1].Columns, row));

I use LINQ to Objects instructions on an ordered array.  Which operations shouldn't I do to be sure the order of the array is not changed?


I was writing , and it reminded me of a short story, which I can't recall the title.  Here is the pitch :   An astronaut is the only survivor of the crash of its ship on Mars, he only has some food rations and a bottle of water He finds an abandoned village The village is absolutely unfriendly with the astronaut There is a high-pitched sound playing from nowhere. Later in the story the astronaut realizes that it is some sort of music aliens would enjoy The sinks in the houses produces some sort of goo. When the character tries to eat it he becomes sick, even shower throw some sort of acid water The astronaut tries to sleep on the ground of a house but he sweats a lot He then realizes the village is learning from him to suit its needs, but the village is self destroying   This story was in a short story collection book, which was quite old so I suppose it was written before 1980.

I read this story 30+ years ago in grade school. A man crashes on an alien planet. He has a small amount of water and accidentally spills some, and the planet replicates it but it must destroy part of itself to do so.  The man then finds some stale crumbs in his pocket, puts them in a trough, and the planet replicates them as well, but it's disgusting to eat. The man eventually decides that his situation is hopeless, so he lays down to die on a table in a hot room and thinks he can at least give back to the planet some of the nutrients it sacrificed for him. He falls asleep, and when he awakens, he has been transformed into an alien creature that is perfectly suited and adapted to live on the planet without discomfort to himself or damage the planet.


|u| = 2 and |v| = 3, what are the largest and smallest values for |u−v| Give a geometric explanation of your results.   So I used the triangle inequality definition to find the smallest and largest values for |u-v| however I'm unsure (and don't fully understand the concept) how to explain what these values mean geometrically..  so I adapted the triangle inequality for |u-v| to:  |u| - |-v| <= |u - v| <= |u| + |-v|  And by this I got the values:  smallest: 2-3 = -1  largest: 2+3 = 5  But how do I explain this geometrically?

So I have this problem (self learning linear algebra) and I try to solve it using the indicated steps. Question is: Am I right, is this a valid answer? Obviously for me makes sense but since I'm just starting with maths maybe there's something wrong:     If $\|\vec{v}\| = 5$ and $\|\vec{w}\| =3$, what are the smallest and largest values of $\|\vec{v}-\vec{w}\|$ and $\vec{v} \cdotp \vec{w}$?   EDIT   I'd moved my initial answer to a full answer. See below.


Newton’s first law states that $\Delta v=0$ unless acted on by an external force, $F_{\mathrm{net}}\neq0$.  Can someone explain to me what the $\Delta v$ symbol means?

I have read the thread regarding , but it does not answer my question.  I am confused about the notation for change in Physics. In Mathematics, $\delta$ and $\Delta$ essentially refer to the same thing, i.e., change. This means that $\Delta x = x_1 - x_2 = \delta x$. The difference between $\delta$ and $d$ is also clear and distinct in differential calculus. We know that $\frac{dy}{dx}$ is always an operator and not a fraction, whereas $\frac{\delta y}{\delta x}$ is an infinitesimal change.   In Physics, however, the distinction is not as clear. Can anyone offer a clearer picture?


How do I select all hidden files in a directory? ls .* selects the current folder - ., as well as it's parent ... I just want the hidden files

I want to glob every hidden file and directory, but not the current (.) and parent directory (..).  I am using bash.  Observe current behaviour:  $ ls -a .  ..  ...a  ...aa  ..a  ..aa  .a  .aa  .aaa  a $ echo * a $ echo .* . .. ...a ...aa ..a ..aa .a .aa .aaa   I would like .* to behave like this  $ echo .* ...a ...aa ..a ..aa .a .aa .aaa   There is the shell option dotglob  $ shopt -s dotglob   that works in a way; now I can use * to glob everything (hidden or not) but not . and ..  $ echo * ...a ...aa ..a ..aa .a .aa .aaa a   but now I can't differentiate between hidden or not. Also, .* still globs . and ..  $ echo .* . .. ...a ...aa ..a ..aa .a .aa .aaa   Is there a way to make .* not expand to . and ..?


I've heard that $f(x) = Ae^x$ is only function (both elementary and non-elementary) that satisfies the property $f(x)=\frac{df(x)}{dx}$. Is this true (and if it's true, is there a definitive way to prove it)?

This may seem like a silly question, but I just wanted to check. I know there are proofs that if $f(x)=f'(x)$ then $f(x)=Ae^x$. But can we 'invent' another function that obeys $f(x)=f'(x)$ which is non-trivial?


How can screen be used to start a new session and run a command within that session without killing that session?   screen -S myScreenName runSomething   I tried the above command and it says  [screen is terminating]   Did it run the command then kill the screen? I would like the screen to be detached after running the command instead of killing it. How can that be done?

I am working on automating a maintenance routine that involves starting and stopping a script that is running in a screen session.  My approach is to kill the screen session, and then restart it and run the command from within a script using the abilities to both create a screen and pass a command without needing to attach to the screen.  However, I am having difficulties with this.  I can create the screen correctly without it attaching using screen -d -m -S screen_name.  However, if I run a command based on:  screen -S screen_name-X stuff "command 1"'echo -ne '\015''"command 2"'echo -ne '\015''  with the echo -ne '\015' being wrapped with backticks rather than single quotes.  It is to simulate the user pressing the enter key as the commands I use are moving to a directory and executing a script located there.  This command works, but only if the screen has been attached to once it has been created.  As I am trying to automate the process of creating the screen and running the commands within it I would like to avoid having to attach and detach within a script.  I will be trying the suggestion of creating a shell script containing the commands I need to execute within the screen and edit according to my results.  Is there a way to create a screen and run a command within the screen either in one command, or without having to attach to the screen after creating but before execution of the command?  Thanks in advance.  **Update - having tried the suggestion to place the commands I need to execute within a shell script I have been able to successfully create a screen and execute the commands from within the screen, but I am getting the behaviour that when the script stops running the screen closes as well.  This shouldnt be a problem as the script is a logging script that should only stop with the knowledge of the sys admin or through the script I am trying to develop, however it would be preferable to have the screen setup in such a way that the screen does not disappear if the script is stopped.  Is it possible to achieve this behaviour? **


I'm setting up a REST service using Slim Framework and PDO. I've a controller with optional parameters for GET request, in particular, user can set fields to be selected and results limit value:  /*   GET /products    {fields} -   {limit} -  */  $app->get(         '/products(/)', function () use ($app, $dbHelper) {     $app->response()->header("Content-Type", "application/json");     $params = $app->request->get();     echo json_encode($dbHelper->getProducts($params)); } );   Writing down "getProducts" method I need to check for that parameters and to build a prepared statement for the query:  function getProduct($id, $params) {  if(isset($params['fields'])) {     $fields = $params['fields']; } else {     $fields = "id, name, price"; }  if(isset($params['limit'])) {     $limit = $params['limit']); } else {     $limit = 30; }  try {     $sqlProduct = "SELECT :fields";     $sqlProduct.= " FROM products";     $sqlProduct.= " LIMIT :limit";      $stmt = $this->db->prepare($sqlProduct);     $stmt->bindValue(':fields', $fields, PDO::PARAM_STR); // is this a String?     $stmt->bindValue(':limit', $limit, PDO::PARAM_INT);      $stmt->execute();      $products = $stmt->fetchAll(PDO::FETCH_ASSOC);      foreach($products as $product) {         array_push($this->response, $product);     }  } catch (PDOException $pdoe) {     echo "PDOException: " . pdoe.getMessage(); }  return $this->response; }   I'm PDO newbie, the code above is not working correctly. What is the correct way to parametrize the query?  Shuld I use isset function to check for params?  What about data type check (e.g. how can I be sure that "limit" is a number)?

Why can't I pass the table name to a prepared PDO statement?  $stmt = $dbh->prepare('SELECT * FROM :table WHERE 1'); if ($stmt->execute(array(':table' => 'users'))) {     var_dump($stmt->fetchAll()); }   Is there another safe way to insert a table name into a SQL query? With safe, I mean that I don't want to do  $sql = "SELECT * FROM $table WHERE 1"


Social science PhD student here looking for a little help.   I set out to collect around 300 online surveys for a study, but ended up with over 4,000. At that sample size should I sub-sample my results because it's more likely that significant results will be found because of the sample size?  Thanks.

In a  of Amstat News, the authors (Mark van der Laan and Sherri Rose) stated that "We know that for large enough sample sizes, every study—including ones in which the null hypothesis of no effect is true — will declare a statistically significant effect.".  Well, I for one didn't know that. Is this true? Does it mean that hypothesis testing is worthless for large data sets?


Wrong ^ Read the post before downvoting or making an edit like this.  I am making a game in which the user can restart their progress from the beginning. This should clear all primitive variables and NSUserDefaults.  Is there a fast and efficient way to do this, other than just calling points = 0, etc.. for every variable I have? The NSUserDefaults is easy enough to clear, but I'm not sure how I should clear everything else. Especially with updating labels and everything, I'd have to set up a few delegates and it's something messy that would be a pain to do.  Is there a way to just restart the app back to how it was when initially downloaded? Kind of like the Reset all content and settings option on iOS Simulator, but programatically

I'm using +[NSUserDefaults standardUserDefaults] to store application settings. This consists of roughly a dozen string values. Is it possible to delete these values permanently instead of just setting them to a default value?


I'm wondering if the metric spaces $S:=\{x+y\sqrt{2}:x,y\in\mathbb Q\}$ and $\mathbb Q^2$, with metrics induced by $\mathbb R$ and $\mathbb R^2$ respectively, are topologically equivalent. I know that the function $f:\mathbb Q^2\to S$ defined by $f(x,y):=x+y\sqrt{2}$ is bijective, but how can I show that $f$ is continuous / not continuous?

Let $\mathbb{Q}$ be the set of rationals, as relative topology to $\mathbb{R}$.   How to show that $\mathbb{Q}$ is homeomorphic to $\mathbb{Q}^2$?  More general, if $T$ is a countable dense space(no isolated poiont) with every singleton closed, how to show that $T^2$ is homeomophic to $T$.


Which is preferred? Are both technically correct?  1. Mike scored 40 points; John, 17; and Victor, 2. (Is the added punctuation here [ie the semicolons and extra commas] unneeded?)  2. Mike scored 40 points, John 17, and Victor 2.

While writing a proposal at work today I needed to mention a list of things and within that list were multi-part items. It seems like replacing the comma with a semi-colon in this situation would make the sentence easier to understand, but is it correct usage?  With standard punctuation this could get confusing:       Some of my favorite things to do are   camping, playing football and   baseball, watching Laurel and Hardy   Movies, and traveling.   Proposed alternative. Is this acceptable usage?       Some of my favorite things to do are   camping; playing football and   baseball; watching Laurel and Hardy   Movies; and traveling.


I'm trying to create a 3D view in Qgis 3.0 for the first time. It's asking for a raster file from which to calculate elevations. All I have for elevation data is a shapefile of contours (as lines).  I've tried simply rasterizing the contour lines shapefile, but it comes up with Error 1 "Wrong value for -outsize parameter" and I can't seem to get any information on this error.    Is there a way to get a raster file suitable for use with the 3D view from a shapefile with contour lines?  Edit - I've followed the link trail from the previous question, they all seem to link back to the tutorial which @Marco linked to.  The trouble is, all those start with converting the vectors to raster, and that, as the question suggests, is where I'm having the problem. Perhaps, given that converting raster contour lines to raster DEM is so well covered I should change the question title to just "How do I convert vector contours to raster contours?"

I want to create a DEM from depth contours (shapefile) in QGIS. I've been trying to work out how to do this based on , notably from  from that page, however I'm stuck, and was hoping someone could help.  My progress/process so far:   open new map in  QGIS, import the contour shapefile set GRASS extent, set new GRASS mapfile, etc try to 'import' the shapefile into grass by converting it into a grass file, based on a hunch from the wording in  (search in page: 'use of qgis and grass'): file management, import into grass, import vector into grass, import loaded vector (v.in.ogr.qgis), then view output. This creates an identical looking layer. try to use r.surf.contour on this - doesn't allow layer to be selected. try to use r.surf.contour2 on this - either crashes QGIS or produces a full block of colour.   Any thoughts/tips on what I should be doing differently?    Interpolation failing, tried everything in GRASS & in GRASS plugin, failed, could problem be due to source shapefile?  Something I learnt from elsewhere was 'geometry tools > check geometry validity' which I ran on the contour shapefile and it found loads of errors.   I'm wondering if this could be the reason that all my efforts to create a DEM are failing?   Would anyone do me the huge favour of having a look at my shapefile to see if I'm just being useless, or if it's a problem that a relative novice would be excused for not anticipating?


Why are gravitationally bound systems unaffected by cosmological expansion?  Is it because on local scales gravity has overcome the effects of the expansion of space and thus enabled localised clustering of matter into star systems, galaxies, etc. that remain in a bound configuration, unaffected by the expansion of space due to the overwhelming force of gravity?  Or, is it simply that empirically it is observed that the expansion of space occurs on cosmological scales, and this is described well by an FRW universe. However, this assumes that homogeneity and isotropy hold, which is only true on the largest scales (I think $\sim$ 50 megaparsecs?!). Clearly more locally, such assumptions don't hold, and for example, in our own solar system the Schwarzchild solution (to Einstein's field equations) agrees well with observational data, and importantly, doesn't predict any expansion of space?!  Or, is there some other explanation that I'm missing?!

The Hubble constant, which roughly gauges the extent to which space is being stretched, can be determined from astronomical measurements of galactic velocities (via redshifts) and positions (via standard candles) relative to us. Recently a value of 67.80 ± 0.77 (km/s)/Mpc was published. On the scale of 1 A.U. the value is small, but not infinitesimal by any means (I did the calculation a few months ago, and I think it came out to about 10 meters / year / A.U.). So, can you conceive of a measurement of the Hubble constant that does not rely on any extra-galactic observations?  I ask because, whatever the nature of the expansion described by the Hubble constant, it seems to be completely absent from sub-galactic scales. It is as though the energy of gravitational binding (planets), or for that matter electromagnetic binding (atoms) makes matter completely immune from the expansion of space. The basis for this claim is that if space were also pulling atoms apart, I would naively assume we should be able to measure this effect through modern spectroscopy. Given that we are told the majority of the universe is dark energy, responsible for accelerating the expansion, I wonder, how does this expansion manifest itself locally?   Any thoughts would be appreciated.


I have an Aakash android tablet. The tablet was locked by too many patten attempts. Now I have to give my google account to log in. But the WiFi is not turned on in the tab. So I cannot log in with Google account. There is no hard reset in this tab. Tryed to go to recovery mode my pressing volume and power on. It too didn't work. Now what can I do??

I have an Android device which is running Android 4.0.3 (or something like that).  My little brother decided to try and guess my lock screen pattern the other day, and ended up locking me out.   I have since been unable to log back in to the tablet using my Google Account details. I provided the correct login details, however it says they are incorrect. Could this be connected to the fact I have no internet connection?  I have no internet connection as the device is WiFi only, and the WiFi is currently turned off. I cannot turn it on, as I am locked out.  How can I log back into my tablet without wiping the user data?


I have to make trigger on opportunity whenever new opp is created create a post on account.   my trigger  trigger postOnAcc on Opportunity (after insert) {      List<FeedItem> posts = new List<FeedItem>();  //create a list to hold post      List<Id> oppList=new List<Id>();              //create a list to hold new opportunity     for(Opportunity o:Trigger.new)                  //Iterate for loop on new opportunity     {         oppList.add(o.AccountId);                     //add opportunity account id in opportunity list     }  for(Opportunity opp: [Select id,name ,AccountId from Opportunity where AccountId in:oppList]) //  {      if(opp.AccountId != null){          FeedItem post = new FeedItem();         Post.ParentId = opp.AccountId;         post.body = 'New Opportunity is created with Opportunity Id - '+opp.Id + ' and Opportunity name is equal to - '+opp.Name;         posts.add(post);  //add this post in posts List      }  }  insert posts; }   my test class  @istest private class testclass { static testmethod void testclass() {     Account a=new Account();     a.Name='AK';     insert a;       Opportunity o=new opportunity();     o.Name='AJ';     o.AccountId=a.Id;     insert o;      FeedItem post = new FeedItem();     Post.ParentId = o.AccountId;     post.body = 'New Opportunity is created with Opportunity Id - '+o.Id + ' and Opportunity name is equal to - '+o.Name;     insert post;  } }

This is a canonical question and answer developed by the community to help address common questions. If you've been directed here, or your question has been closed as a duplicate, please look through the resources here and use them to shape more specific questions. To browse all canonical questions and answers, including more unit test resources, navigate to the  tag.  This canonical question is intended to address several classes of common questions by providing a quick summary and links to comprehensive resources:   How is code coverage obtained and calculated? How do I increase my coverage?  Why can't I cover these lines? Why isn't the body of my loop or conditional statement covered?


I would like to write program which search all images on webpage and looks if any images missing with alt attribute of value inside the attribute.

I need to test images on a webpage.  How should I deal with the following situation:   To check whether all images are loaded. To check if broken images are loaded. To that the description in Alt="" if the image is not loaded.   Kindly suggest how should I do this. I need a code in Java which works like the like given:


I really need ur help I hope u will do CZ I'm so in trouble with my husband becz of Gps mistakenly located my position I'm. A specialist. Pediatrician working in hospital and that day I.have oncall duty and I was working in the hospital all that time my husband can not belive I'm oncall he was tracking my position I think by my Gmail. Because he knew my email password later Gps photo showed to him that I was not at hospital and I was go out to 3 different place and he do not want to believe. Me he insulting me although all what Gps point is not true and I ask him to asks the nurses and security that night when I was oncall where I am but he do not want to believe he is trusting that Gps than me  I attached here the Gps he view showing where I have been although all the time I was working in the hospital ?is there anyway I can prove Gps being wrong or  Can I contact Google Maps and can they give an official printout of that certain day and every location I was? I really need to prove my honesty to him and hope there is a way.

I have a major problem that I hope someone can help with. On my Google Maps feature under my Location History it shows a location that I was never at at any point, but when my wife happened to see that location she doesn't believe me that the GPS could be wrong and pinpoint that location if I was never there.  I was first wondering myself how could that could be possible if I was never there or my phone was never at that location that was 35 miles away from me and second is there any way I could prove the GPS being wrong? Can I contact Google Maps and can they give an official printout of that certain day and every location I was? I really need to prove my honesty to her and hope there is a way.


possibly related: ,  (But I don't really understand the topic and those questions well enough to know.)  The Story: I have an HSA (through work) in addition to my job-provided health insurance plan. Some months ago I received a bill from PROVIDER and paid DOLLARS out of my HSA. My payment and a second notice from PROVIDER crossed paths in the mail. Not really being on  top of my game, when I received second notice from PROVIDER I paid it with DOLLARS out of my HSA. Recently I received a refund check in the amount of DOLLARS from PROVIDER. I deposited DOLLARS into my traditional checking account. So DOLLARS flowed out of my HSA, was refunded to me by PROVIDER, and is now in my bank account. The Questions:  Can I put DOLLARS back into m HSA somehow? If I can, do I need to file anything to identify the erroneous payout from the HSA with my later "repayment" to the HSA?  If I can't put DOLLARS back into the HSA, how do I pay the proper taxes on that money? It went to my HSA pre-tax....   :  The originating event, two paments by me, and refund have all occured within calendar year 2015. I still have access to the HSA. Nothing about my insurance or HSA has changed this year or will change whenwe hit calendar year 2016. Except the cost of my premiums, of course. (Ohh... you almost got me there, INSURER.)

At work I'm covered by an HDHP with an HSA.  My dentist has the policy of estimating the amount that my insurance will cover and asking for the remainder at the time of service.  On my most recent visit, the office grossly miscalculated  the amount that my insurance would pay and ended up charging me more than they should have.  Now that the insurance has paid their portion, the dentist owes me a refund of the overcharge.  If I've already sought reimbursement for the original amount of out-of-pocket expense from my HSA (it's a qualified expense), what do I need to do (if anything) to make the HSA whole?  I'm assuming that this can't be corrected by an additional contribution.  Is there some form of excess distribution (the converse of an excess contribution)?  Possibly related:


I have to create a file in linux using shell script using shell script with a name of a variable value.   str="filename"  I want to create a file with the name of the value assigned to variable str.

How can I create an empty file from the command line?