A friend of mine gave me a computer that belonged to a relative of his that passed away.  We don't know the password to the computer and my friend would like to use it so we are trying to reinstall windows but we want to make sure that we install the correction edition (Home or Pro).  I know it is windows 10 but not sure on the edition. Is there a way to tell which edition of windows you have from the login screen or from recovery/install media usb? I've tried using the Command Prompt from the Recovery Media USB but WINVER is not recognized as a command Windows is installed on an NVMe drive and I do not have a way to read that drive so reading an offline windows installation is not possible in my scenario.

I have upgraded my Windows 8 to Windows 10 recently. After that, I bought a SSD drive for my notebook and removed the regular HDD drive from it and installed a fresh copy of Windows 10 (Home edition). The HDD was put in a external USB case, so I can access my old files and old Windows installation partition as well.  The problem is now I'm having some issues to activate my fresh installation of Windows. I'm not really sure that I should've installed Windows 10 Home or another version.  How can I determine which Windows version is in the old HDD, given that all files are still accessible, but the system itself is not running?  I could just swap the SSD and the HDD again and boot the old system, but it'll be better to find a "software" way of doing that.  addresses what I'm looking for, but for Windows XP. The proposed file doesn't exists in my old installation.


What is the best way to convert a double xx.xx to the following strings in Java?   22.0 to 22 22.1 to 22.1 22.22 to 22.22 22.00 to 22   If the decimal part is 0, just need the whole number.

How can I format Floats in Java so that the float component is displayed only if it's not zero? For example:   123.45 -> 123.45 99.0   -> 99 23.2   -> 23.2 45.0   -> 45   Edit: I forgot to mention - I'm still on Java 1.4 - sorry!


Recently I was talking to my friend in English. He started laughing and I asked him Why you're laughing man?  Someone told me you should say Why are you laughing? and this one is totally wrong.  I got a little bit confused. I know "Why are you laughing?" is correct but I can't wrap my head around it fully that mine is totally wrong.  I represented what I meant through intonation of the sentence and my buddy had no problem understanding it. my question is:  The form I used was totally wrong? and I should stop using it?  I'm guessing in written English this form is wrong and if I use it, it's gonna represent a statement, but in the spoken language, since we have intonation I thought it might be unnecessary to emphasize on being totally grammatically correct for every sentence I'm saying.  Am I wrong?

I was going through some articles about "African American Vernacular English". . . These articles give some examples, but they do not clearly specify hard rules to be followed in AAVE.  First of all, I don't even have strong skills in Standard English, so understanding AAVE seems a lot more difficult for me. I did, however, craft a few sentences in both SE and AAVE to validate what understanding I do have. Are the following conversions correct? You don't have to validate each and every item, but rather guide me with rules that I should follow, but didn't, in the following examples.   What the hell are you all doing here?  —  What the hell y'all doin' here? Hey you! What the hell are you doing man? Stop that nonsense now. Do you get it?  — Hey you! What the hell ya doin’ man? Stop that nonsense now. D'ya get it? Come on, can't you open your mouths?   — Come on, ya can't open your mouths??  Hey, who's out there?  —  Hey, who out there? I know, you're listening to us   — I know, ya listenin’ to us Somebody is out there man. — Somebody out there man. Wow, it's delicious.  — Wow, it delicious. Holy crap, who're these people? — Holy crap, who these people?


What is the meaning of 'should have ' in the following sentences do they mean regret or what ?  1.I should have let her know what was happening but I forgot.  2.They should have remembered that their guests don't eat meat meat.  3.I should have sent everybody a reminded by email.  4.He should have told them the truth but he didn't.  5.I don't think you should have done i t.  I'm confused here because I know that'should have'is used to imply'regret' ,for example:   1.I got really wet today while going to market . I should have taken an umrella.  2.she wept so badly. I shouldn't have scolded her.

What is the meaning of 'should have' in the following sentences:   I should have let her know what was happening but I forgot. They should have remembered that their guests don't eat meat meat. I should have sent everybody a reminded by email. He should have told them the truth but he didn't. I don't think you should have done it.   I'm confused here because I know that 'should have' is used to imply 'regret' for example:    I got really wet today while going to market. I should have taken an umbrella. She wept so badly. I shouldn't have scolded her.   do the first five examples imply 'regret'? Or, do 'should have' implies both 'obligation and regreats' in all those 5 examples? Or, Do 'should have' implies both 'obligation and regreats' in all those 5 examples?


Long story short, tried to install Ubuntu on my new PC but ran into two huge bugs with the installer that almost broke my computer. Asked for help on here and whilst someone did spend some of their time trying to help me, we couldn't fix it.  So I'm done, I'm going back to Windows. I've tried to follow other guides on this site, but the commands needed for my use case seem to be different and I don't know what they are.  I'm using efibootmgr to remove the boot entries and this is what I get back with:  sudo efibootmgr  BootCurrent: 0007 Timeout: 2 seconds BootOrder: 0004 Boot0000* Windows Boot Manager Boot0001* UEFI: PXE IP4 Realtek PCIe GBE Family Controller Boot0002* UEFI: PXE IP6 Realtek PCIe GBE Family Controller Boot0003* Hard Drive Boot0004* ubuntu Boot0005* Windows Boot Manager Boot0006* ubuntu Boot0007* UEFI: Lexar JumpDrive 1100, Partition 1 Boot0008* USB   I want to remove the two Ubuntu entries and the duplicate Windows Boot Manager entry at Boot0005. Any help is very much appreciated.

See this   I have this on my Lenovo s205 too.   Is there some way to remove "ubuntu" from the menu? I don't even have it installed anymore.


I've calculated $\lim_{n\to\infty}\dfrac{1^p+2^p+\cdots+n^p}{n^{p+1}}=\dfrac1{p+1}$ where $p\in\mathbb{N}$ fixed. I feel it should help me get this one $\lim_{n\to\infty}\left(\dfrac{1^p+2^p+\cdots+n^p}{n^{p}}-\dfrac{n}{p+1}\right)$, but I'm not sure how. Any hints?

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


It's very known that 1729 is the smallest number that can be expressed as the sum of two cubes in two different ways, but is there a proof that not uses brute force?  If we let $n$ be the smallest number such that $n=a^3+b^3=c^3+d^3$ with $a\neq c$, $b \neq d$ and $a,b,c,d > 0$, then:  $n = (a+b)(a^2-ab+b^2)$   $n=(c+d)(c^2-cd+d^2)$  But I don't have any idea how to follow from here. If we take a look at 1729:  1729=13·19·7  It seems obvious that if a number is the product of only 2 primes then it can't be expressed as the sum of two cubes in two different ways, but I don't know how to prove either that the least number which such property must be product of 3 primes or more.  Does anyone has any idea of how to approach this?

For homework I have to produce the proof (algebraic or otherwise) to show that $1729$ HAS to be the smallest . A taxicab number means that it is the sum of two different cubes and can be made with $2$ sets of numbers. I have the list of the next ones and I was wondering if it was linked with the fact that it would have to be $0$ cubed if it got any lower which obviously wouldn't work.  Any help appreciated, thanks in advance!


After having watched the new Star Wars movie, I looked up info about the new storyline, and found some articles with details --for example, that Kylo Ren's lightsaber was made from a cracked crystal --that I don't recall from the movie itself.  Are there other canon sources (outside the movie itself) for information about the new Star Wars continuity?

For all types of derivative works, namely:   Movies Novels Comic books Other written works (including RPG materials) Cartoons Video games Derivative movies (such as the infamous Ewok movies and even more infamous )   According to what rules does something become "canon" and who is responsible for the evaluation of a published work?


Field creation code:  if (! field_info_field(MY_FIELD_NAME)) {      field_create_field(array(         'field_name => MY_FIELD_NAME,         'type' => 'list_integer',         'settings' => array(             'allowed_values' => some_allowed_values(),         ),         'cardinality' => FIELD_CARDINALITY_UNLIMITED,     ));      field_create_instance(array(         'field_name' => MY_FIELD_NAME,         'entity_type' => MY_ENTITY_NAME,         'bundle' => MY_ENTITY_BUNDLE_NAME,         'widget' => array(             'type' => 'options_select',         )     ));  }   Setter code:  //posted options are list values keys e.g (3,4) $wrapper->{MY_FIELD_NAME}->set(array_values($values['posted_options'])); //not work too: $wrapper->{MY_FIELD_NAME}->set($values['posted_options']); $wrapper->{MY_FIELD_NAME}->set(array($values['posted_options'])); //in for loop $wrapper->{MY_FIELD_NAME}[] = $option_key;   Error:     EntityMetadataWrapperException: Invalid data value given. Be sure it   matches the required data type and format. in   EntityMetadataWrapper->set()   or     Fatal error: Cannot use object of type EntityValueWrapper as array   It works only when I set single value:  $wrapper->{MY_FIELD_NAME}->set($option_key);   This is not related to:    because this is different field type.  Found solution:     field_create_field(array(         'field_name' => MY_FIELD_NAME,         'type' => 'list_integer',         'settings' => array(             'allowed_values' => options_values(),         ),         'default_widget' => 'options_select',         'default_formatter' => 'list_default',         'cardinality' => FIELD_CARDINALITY_UNLIMITED,     ));      field_create_instance(array(         'field_name' => MY_FIELD_NAME,         'entity_type' => MY_ENTITY_NAME,         'bundle' => MY_ENTITY_BUNDLE_NAME,         'widget' => array(             'type' => 'options_select',             'formatter' => 'list_default',         )     ));

I've created custom entity. In addition I want to add user reference field to my entity:  if (! field_info_field(MY_FIELD_NAME)) {   // Create the field.    $field = array(     'field_name' => MY_FIELD_NAME,     'type' => 'entityreference',     'cardinality' => FIELD_CARDINALITY_UNLIMITED,     'settings' => array(         'target_type' => 'user',         'handler' => 'base',         'handler_settings' => array(             'target_bundles' => array()         ),     ),     'bundles' => array (         MY_ENTITY_NAME =>             array (                 0 => MY_ENTITY_BUNDLE_NAME,             ),     ), ); field_create_field($field);      // Create the instance.     $instance = array(         'field_name' => MY_FIELD_NAME,         'entity_type' => MY_ENTITY_NAME,         'bundle' => MY_ENTITY_BUNDLE_NAME,         'label' => '',         'description' => '',         'required' => TRUE,         'widget' => array(),         'display' => array(             'default' => array(                 'label' => 'hidden',             ),         ),     );      field_create_instance($instance); }   In form submit I want to add users references to this field:     foreach($result as $recipient) {         $wrapper->{MY_FIELD_NAME}[] = $recipient->uid;     }   I gets:     Fatal error: Cannot use object of type EntityDrupalWrapper as array   What I am missing?


I need to convert below String to java.util.Date  String dtm = "2014-05-26T00:00:00Z"; Then i need to convert this Date to java.sql.Date format like  java.sql.Date sqlDate = (java.sql.Date) utilDate;   One more thing 1. I need to convert the below string to "2001-12-17T09:30+08:00" to java.util.Date and then i need to convert this in reversely  Please help me. i can only use Date object and should convert in this way (java.sql.Date) utilDate

I am trying to use a  as input and then creating a query with it - so I need a .    I was surprised to find that it couldn't do the conversion implicitly or explicitly - but I don't even know how I would do this, as the Java API is still fairly new to me.


From time to time we see sidebar advertisements promoting new Area51 proposals or new sites like    On what criteria are those ads chosen? Are those hand-picked, is there an algorithm? Can I do something to get a new site* in the sidebar?   * Like the new site  which has its own add now

I see ads to other SE sites regularly on the sidebar of SO. Are these questions chosen by hand, or algorithmically? The reason I ask is that there was an ad pointing to  on Seasoned Advice. I'm all for a good laugh I suppose, but is this the kind of question that should be highlighted?  It's obviously a thriving community, but if this were my first exposure to that community, and I saw that the highest-rated answer -- from the user with the highest reputation -- was (and I paraphrase only lightly):  "Why yes, there is tool that can cut cherry tomatoes in half.  It's fantastic for the job.  It's called a freakin' KNIFE!"  would I ever want to visit again, let alone ask a question over there? First impressions count for a lot, and that one missed the mark IMHO. If the selection method is algorithmic, I suppose there's no reliable way to detect sarcasm in a highly-rated answer, but if it's manual, weeeellllllllll ... :)


I'm trying to parse code and swap out the usage of a method for a helper function. There's more processing that I need to do with the actual parameters passed to the method, so I plan on using preg_replace_callback.  Right now the code that I am trying to parse looks like this   <?= $this->Languages_model->trans( "Text Here!", $this->language->lid ); ?>  more <?= $this->Languages_model->trans( "Additional Text (C)", $this->language->lid ); ?>   What I'd like to match is the method calls:  $this->Languages_model->trans( "Text Here!", $this->language->lid ); $this->Languages_model->trans( "Additional Text (C)", $this->language->lid );   I'm currently using the following regex, but it's not working for me.  $regex = '|\$this\->Languages_model\->trans\(.*\);|sm';   Using the regex without the flags, returns what I want, provided that the methods are used on separate lines, but this can't be guaranteed. Otherwise it matches from the start of the first method to the end of the second.  There also may be new lines within the first parameter and between the first and second.  Thanks for any help you can provide!

I have this gigantic ugly string: J0000000: Transaction A0001401 started on 8/22/2008 9:49:29 AM J0000010: Project name: E:\foo.pf J0000011: Job name: MBiek Direct Mail Test J0000020: Document 1 - Completed successfully  I'm trying to extract pieces from it using regex. In this case, I want to grab everything after Project Name up to the part where it says J0000011: (the 11 is going to be a different number every time). Here's the regex I've been playing with: Project name:\s+(.*)\s+J[0-9]{7}:  The problem is that it doesn't stop until it hits the J0000020: at the end. How do I make the regex stop at the first occurrence of J[0-9]{7}?


We all know that Regulus Black was the first person to discover the Dark Lord's secret and also managed to locate one of the Horcrux. The question is,   How did he learn about the Horcruxes that the Dark Lord created? How did he manage to find one?  How did he happen to get a replica of the Horcrux?

Regulus Arcturus Black was a genius who figured out the existence of Voldemort's Horcruxes before anybody else. The question is how? Also which era did he live in? Maybe it happened that he was one of the boys at Slughorn's party when Tom Riddle was told about the Horcruxes? Then he might have overheard...?


My department expects me to write my masters dissertation in MS Word (which is just silly I know).  I however want to use Latex and then just convert the entire document to word afterwards, as I think the department just wants the word version for it's archive, I doubt if they will mind if I hand in a Latex formatted document as a final submission.  Are there options of converting from Tex to Word?

I often have to write up reports based on the analysis of some data. I use R to analyse the data and export tables, figures, and text. This is then included into a LaTeX document either using input or Sweave ().  However, when I collaborate with others, I sometimes need to provide a document in Open Office / MS Word format.  Question:  Thus, assume the simplest scenario   I have a LaTeX document with text, tables, and figures I need to export this reliably into Open Office or MS Word format: this includes mathematical formulas, table formatting, and quality figures) I don't need to go back from MS Word to LaTeX   What is a reliable, efficient, and preferably free process?  Initial Thoughts:   Export to HTML,  LaTeX - LyX - ODF Use odfWeave  that deals with some specific issues associated with LaTeX to Open Office conversion    I was hoping that there is an expert out there who has worked out a good system already.


Please help out I’m a student and I want to use my mom as my sponsor, she works but her salary is low And I think she almost spend all each month, my dad is retired on pension, can my dad transfer money in her account for about 3 months or recently for me to apply? Does my dad also have to prove where his money’s from? Cause he can’t, they are deposits from local businesses. The question I think is does my dad transferring into my moms account legal and won’t be viewed as suspicious  Thanks!

I have applied recently for a general visitor visa to the UK to spend 10 days during Christmas with my British unmarried partner and it has been turned down.   The Entry Clearance Officer stated on his refusal notice the following:     I note that you have never previously travelled to the UK or any country with similar immigration requirements and you therefore do not have a history of travel and compliance to consider.      You have submitted an employment letter to confirm your occupation in KSA but I am required to also assess your personal, domestic and economic circumstances in determining whether you are genuine visitor travelling to the UK for the period and purpose you state.      You claim an income of SAR ........ per month which equal ........ GBP and from the evidence submitted this appears to be your sole source of income.   I note that this monthly income is reflected on your bank statements. However, the bank statement you have presented show a recent large deposit that are in excess of your stated income and inconsistent with the account history. You haven't provided evidence toward the origin of this recent deposit and in the absence of reasonable evidence I am not satisfied that these bank statements accurately reflect your personal circumstances.      In view of the above, I am not satisfied you have demonstrated that your circumstances are as you claim and therefore I am not satisfied that you're travelling to the UK for the period and purpose you stated. 41(i)and(ii).   Its true that I have deposited that sum of money right before I apply and it was a commission I received from work earlier this month.   So, could you please give me your advice on the above as I am planning to apply again soon. and how to avoid my application being refused again?


The following for loops produce identical results even though one uses post increment and the other pre-increment.  Here is the code:  for(i=0; i<5; i++) {     printf("%d", i); }  for(i=0; i<5; ++i) {     printf("%d", i); }   I get the same output for both 'for' loops.  Am I missing something?

Is there a difference in ++i and i++ in a for loop? Is it simply a syntax thing?


It's unclear from "A Song of Ice and Fire" (AKA Game of Thrones), at least from what I remember, if the world is flat or round. Westeros is at the west of the "known world" - but if you kept going west, what would you find? Would you end up at the other side, like in our world?

For quite some time now I have been asking myself how the world of Game of Thrones is shaped and if the people living in that world know the shape.   In questions here on SciFi.Stackexchange concerning the unnatural seasons or the definition of a year in Westeros, it is often  that the Westerosi can measure the duration of a revolution of their planet around the sun. But that only works if they know that they actually live on a planet.   In  answer it was said that people have been travelling in ships around the world. However, I cannot remember any passage in the books supporting this. Actually I only remember evidence for the opposite:    During the  on the Iron Islands, there is a man called  who promises the Ironborn treasures from lands far to the west, if they elect him as king. However, the POV character of that chapter (I think it was Victarion Greyjoy) does not believe him and sees the madness in Gylbert's eyes - as if speaking of travelling west is crazy.  Later when he leads the attack against the Shield Islands, the Iron Fleet travels out of sight of the coast line. This manoeuvre is considered very dangerous and risky. If this is already dangerous, traveling even further west appears close to suicide.   In addition, there was a  who sailed to the far west and never returned.   establishes that the world is not a hollow world, but is not conclusive as to whether it is a planet.  Is there any evidence in the books that the World of Ice and Fire is a planet? Was it established that the Westerosi know the nature of their world?


Below is the code. Why is it behaving so? What is the alternative?  line2 = ["a", "b","c","d","e","f","g","a","c", "d","e","g","h",]  for x in line2:     print("X value is:", x, " and its index is:", line2.index(x))   Output is:  X value is: a  and its index is: 0 X value is: b  and its index is: 1 X value is: c  and its index is: 2 X value is: d  and its index is: 3 X value is: e  and its index is: 4 X value is: f  and its index is: 5 X value is: g  and its index is: 6 X value is: a  and its index is: 0 X value is: c  and its index is: 2 X value is: d  and its index is: 3 X value is: e  and its index is: 4 X value is: g  and its index is: 6 X value is: h  and its index is: 12   Why is it not incrementing ?. How do I resolve. I need increments of index ? Instead of index do we have something like position of X

How do I access the index in a for loop like the following?  ints = [8, 23, 45, 12, 78] for i in ints:     print('item #{} = {}'.format(???, i))   I want to get this output:  item #1 = 8 item #2 = 23 item #3 = 45 item #4 = 12 item #5 = 78   When I loop through it using a for loop, how do I access the loop index, from 1 to 5 in this case?


How would you evaluate $$\sum_{n=1}^{\infty}\left(\frac{\sin(n)}{n}\right)^2$$ Wolfram|Alpha says it equals $\;\pi/2-1/2.\;$ If the solution is complicated, ... I can handle complicated.

Using Poisson Summation Formula, how do you evaluate the following infinite sum $\sum_{k=1}^{\infty}\left(\frac{\sin(tk)}{k}\right)^2$?   The Poisson Summation Formula states that: $\sum_{k=-\infty}^{\infty}f(2\pi k)=\frac{1}{2\pi}\sum_{k=-\infty}^{\infty}\hat{f}(k)$.  I tried playing around with the idea that if $f(x)=\mathbf{1}_{[-1,1]}$ then $\hat{f}(\xi)=2\frac{\sin(i\xi)}{i\xi}$. How should I go ahead from here to compute the summation?


Could You tell me whether i can create multidimensional array  which is created with my objects in java?  In other words:  I have got this class:  public class ClosestObject { public Double distance; public String classes;  public ClosestObject() {         this.distance=new Double(0);         this.classes=new String("");         // TODO Auto-generated constructor stub     }    }   And I want to create multidimensional array in another class in that way:      ClosestObject[][] closestobj=new ClosestObject[query.length][learning_set.length];      for(int i=0; i<query.length;i++)     {         for(int j=0;j<learning_set.length;j++)         {             closestobj[i][j].distance=Math.abs(query[i]-learning_set[j][0]);             closestobj[i][j].classes=classes[j][0];         }     }      for(int i=0;i<closestobj.length;i++)     {         for(int j=0;j<closestobj[i].length;j++)         {             System.out.println(closestobj[i][j].distance + " " + closestobj[i][j].classes);         }     }   Unfortunatelly I get this error:  Exception in thread "main" java.lang.NullPointerException at KNN.Find_closest_distance(KNN.java:60) at KNN.main(KNN.java:37)   Could someone tell me where i made mistake. Thank You in advance :)

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?


On our real estate site we are planning to put Spanish text (2-3 lines) at bottom of every page. Except for the bottom part, all the content is in English.  I am new to Page Rank & Google search optimization. So i have few queries related to that:   How this Spanish content will affect rankings? Will it help to search through Spanish words? I mean, if user searches using Spanish words will our pages come in search results?

I've heard Google's algorithm is based on PageRank, and that it has something to do with the links to your site. Can someone explain it, and more importantly, how I can increase my site's PageRank?


A client of ours has doubts that a user erased certain information from the database they are using. I know that the database can be audited by having SQL Server Profiler enabled, but in this case, there wasn't any tool enabled to do auditing.  My question is: is there a way to know if some user has committed a transaction on the database without having profiler enabled? Is there any forensic task that can be done to accomplish this?  Thanks.

My boss had a query from a customer yesterday asking how they could find out who deleted some data in their SQL Server database (it is the express edition if that matters).  I thought this could be found from the transaction log (providing it hadn't been truncated) - is this correct? And if so how do you actually go about finding this information out?


I have a scenario where I need to do a httpPost to save a value from the request parameter and then return some other fields for the same object fields using httpget.   So, my parameter would be something like this:   String opptyId = RestContext.request.params.get('opportunityId'); String nameOfComp = RestContext.request.params.get('newname');    Now, I need to update this field nameOfComp from the request param based on opportunityId from the req param.  Once the update is done, I need to get some more data from the same object including the nameOfComp which i have inserted.   Can this be done within one service and single URL mapping?

I am new to salesforce. I created an apex class and exposed it as a Rest service. I want to post some parameters to that service from an external client(not vf page). One way is I append it to the url something like myservice/functionName/parameter1/parameter2. But I want to send them as GET/POST parameters. Does anyone know how to read those parameters in the apex class?


What is a good way for me to learn the basics of condensed matter physics? I'd like to get a better understanding of the fundamentals behind recent technological developments like OLEDs, applications of graphene, or get a grip on what the fractional hall effect is about. I don't expect to do research in these areas, but I would like to be able to have meaningful conversations with people working in these areas.  My background is this: I have a PhD in pure mathematics, I even studied a little solid state physics (eg. Bloch waves), QFT and a first course in String Theory, but a long time ago now. My mathematics is much stronger than my physics intuition so I'm looking for a more mathematical treatment. My lab experience is precisely zero. I'm more interested in the theoretical ideas than precise details.  Are there any books or downloadable lecture notes that might be recommended for someone in my position?

I am looking for a good mathematical rigorous introduction to solid state physics. The style and level for this solid state physics book should be comparable to Abraham Marsdens Foundations of mechanics or Arnols mechanics book for classical mechanics or to Thirrings Physics course for quantum mechanics.   Any recommendations?  Edit: As a reaction to Peter Shor's comment, I try to narrow the scope of the question a bit and give some more specific subareas of solid state physics I am in particular interested in:   semiconductors and applications the quantum hall effect superconductivity


I bought this ticket at a  short notice and I have to leave on Saturday from Mumbai to NY. I have a 4 hour layover in Rome. With a US permanent resident Green Card and an Indian passport do  I still need to have any kind of short term visa from Italy or I can transit  effortlessly . I check the VFS website for Mumbai India but haven't had luck finding any kind of clarification on this

I found many related questions on this site but I am still not sure about the rules. How can I decide if I need a visa to transit? Schengen members as of May 2021 are as follows:  Austria Belgium Czech Republic Denmark (excluding Greenland and the Faroe Islands - but an open border with the Schengen Area is maintained) Estonia Finland France (excluding overseas departments and collectivities) Germany Greece Hungary Iceland Italy Latvia Liechtenstein Lithuania Luxembourg Malta Netherlands (excluding Aruba, Curaçao, Sint Maarten and the Caribbean Netherlands) Norway (excluding Svalbard) Poland Portugal Slovakia Slovenia Spain (except Ceuta and Melilla) Sweden Switzerland


As the title pretty much summarises, storing data in External HDD (especially the ones which require power supply) is not exactly a risk-free solution. I have burnt my hands more than once even with much reputed brands in the market. There are a wide range of issues like the HD going undetected, cannot be mounted or partition table, bad sector, wow!  I currently have all my data finally cornered to a 4TB external HD (with external power) at the risk of extinction. What are recommended ways for saving huge data locally without worrying about losing it. Is it that inevitable at all.  Thanks in advance.  PS: DvD/BluRayDs is one option for the worst case. Looking for some others too if any.

I have many DVDs with movies and games, they are getting old and dusty, some of them are damaged. And I have more than 300 GB of general files in my PC. I want to store and preserve all of my data and keep them for a long long time.  I want to know what is the best and more reliable storage media that I should use and... I can buy. I will copy all of my DVDs to a new media and throw all of my DVDs away. It will take a very smaller physical space.  I think that everything that I need to store is currently 800 GB.  I do not like optical discs, because they are fragile and I have lost many CDs and DVDs. Hard drives would be good, but they can suddenly stop working, and it is very expensive to recover data from a broken hard drive.  Other questions: How often will I have to copy the files to a new storage media? Is it good idea to have another copy of each file stored in another storage media?  Edit: If I put all of the movies and games in a HDD, if the HDD stops working, I will lose everything. This is how valuable they are for me: If I lose 10% of them, I will not cry, because I can get new ones, but if I lose 90%, it will be a disaster.  Edit 2: I do not think that that online storage is reliable even if I pay for it, because they may be closed or may get bankrupt. They are not from my country and it would be difficult to get the files back.


As a Cameroonian and permanent resident of Canada,  do I need a transit Visa for a layover in the Schengen zone?


Can you please explain me why the output is false  instead of abcd abc false  Code: public class StringDemo{     public static void main(String [] args){         String s1 = "abc";         String s2 = s1;         s1+="d";         System.out.println(s1+ " "+ s2 +" "+ s1==s2); //false     } }

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 am trying to solve this problem and I seem to misunderstand the idea of kinetic friction.  A block is placed on a plane inclined at angle $\theta$. The coefficient of friction between the block and the plane is $\mu = \tan \theta$. The block is given a kick so that it initially moves with speed $V $horizontally along the plane (that is, in the direction perpendicular to the direction pointing straight down the plane). What is the speed of the block after a very long time?  I got that the kinetic friction is equal to the gravitational force along the plane which is $f = mg\sin \theta$. If you give a push horizontally (x-direction), instantly the kinetic friction is going to act on and decrease the velocity until it becomes zero. But wouldn't this kinetic friction also act along the y-direction of the plane? As the box moves in y-direction due to gravity of $mg\sin \theta$, the kinetic friction of equal magnitude will apply instantly on the opposite direction. How can the box move downwards and gain velocity when the kinetic friction will act right away as the box moves a little bit. I don't know why this box wouldn't be stuck in y-direction.

I'm having trouble understand the concepts for this problem. Here's the problem:     A block is placed on a plane inclined at angle $\theta$. The coefficient of friction between the block and the plane is $\mu = \tan \theta$. The block is given a kick so that it initially moves with speed $V $horizontally along the plane (that is, in the direction perpendicular to the direction pointing straight down the plane). What is the speed of the block after a very long time?   We can see that $F_x = mg\sin \theta - mg\cos (\theta )\mu = 0$, if we gave the block an initial velocity along the plane, it should be subjected to a friction force opposite its velocity, where $f = mg \cos \theta \tan \theta = mg\sin \theta$   This however, is the answer my book gave:     The normal force from the plane is $N = mg \cos \mu$. Therefore, the friction force on   the block is $N = (\tan \mu)N = mg \sin \mu$. This force acts in the direction opposite to   the motion. The block also feels the gravitational force of $mg \sin \theta$ pointing down the   plane.   Because the magnitudes of the friction force and the gravitational force along the   plane are equal, the acceleration along the direction of motion equals the negative   of the acceleration in the direction down the plane. Therefore, in a small increment   of time, the speed that the block loses along its direction of motion exactly equals   the speed that it gains in the direction down the plane. Letting v be the speed of   the block, and letting vy be the component of the velocity in the direction down the   plane, we therefore have $$v + vy = C$$   where $C$ is a constant. $C$ is given by its initial value, which is $V + 0 = V$ . The final value of $C$ is $V_f + V_f = 2V_f$ (where $V_f$ is the final speed of the block), because the   block is essentially moving straight down the plane after a very long time. Therefore,   $2V_f = V \rightarrow V_f = \frac{V}{2}$   I don't really understand what this is trying to say. The bolded part is what's giving me problems. I think it just may be poorly written, I think I need a clearer explanation.


IRCTC (The Indian Railway online ticket booking agency) provides an option to specify details of children under five years of age who are travelling with the ticketed passengers.  While booking a ticket through IRCTC, I have forgotten to fill in the personal information of my children (both under 5) in the form. One child is 3 years and another is 4.5 years old. Will they be allowed to travel with me or can it lead to a problem during boarding/journey?

I had booked a ticket for travel through Indian Railways using IRCTC and got a confirmed ticket. While booking, I forgot to mention the details of a one year old child who will also be traveling.     Will it create any problem while boarding the train?


I have a Netgear WNDR 3700 v3 WiFi router. The router is capable of A/b/g/n and the Internet connection is 40MBps  When I connect over the ethernet cable and run speedtest, I get the full 40MBps connectivity. But over WiFi, both on the 2.4GHz and 5GHz, I never get more than 25-28MBps.  The router is configured with WPA2-PSK for both the bands and they each have their own SSIDs.  Is it possible to achieve the full 40MBps of Internet connectivity over Wifi? If yes, what do I change in the router configuration? I'll provide any additional information needed on the current configuration.  Thanks in advance  Edit: Looking at the linked post (Thanks @DavidPostill), adding additional information: The WiFi security is set to WPA2-PSK (AES). I've just enabled QoS WMM on. That seems to have fixed the issue for 11n. For the 2.4 GHz channel, it has actually reduced speed

I configured my new router and noticed that WiFi connection is way slower than Ethernet connection.   Ethernet connection giving a download speed of ~60Mbps and upload speed of ~30Mbps while the Wifi only giving download speed of ~20Mbps and upload speed of ~15Mbps.  This is a new router with 802.11n and it says it support 300Mbps.  Here are the Wifi settings of the router,is there anything I can change to get higher speed :


Let $K\subset X$ a compact set of a metric space. Given that $x\in K^c$, show that   exists open sets $U$ and $V$ such that $x\in V$, $K\subset U$ and   $U\cap V=\emptyset$.   Well if $K$ is compact, then $K$ is closed and bounded, so $K^c$ is a open set. If $U\cap V=\emptyset$ then $U$ and $V$ are disjoint sets.  Then I need to find $U$ and $V$ such that $K^c\cap V\neq\emptyset$ (because $x\in K^c$ and $x\in V$) then $V\cap K=\emptyset$ (because $K$ is subset of $U$). How I can find such $U$ and $V$?

Let $B$ be a compact subset of a metric space $X$. Let $x \in X \setminus B$. Prove that there exists disjoint open subsets $U,V$ of $X$ such that $x \in U$ and $B \subseteq V$.   Is this an existence proof? If yes, do I get to define $U,V$?


This question seems poor but i really facing this problem (I am new to ubuntu). I install Ubuntu 12.04 on my HP laptop. I also upgraded all its packages using sudo apt-get update && sudo apt-get upgrade. But when I play any video file through media player (default and smplayer), i can only hear audio but no video is seen, screen becomes blanks. All types of video file can be played but only audio can be heard, no video.

How to install all possible media codecs from console?  Is there a way to load and save them for some cases without Internet connection?  Thanks in Advance!


I have language $\mathcal L$= $\{$P,Q,R$\}$, arity of $P,Q,R$ is $1,1,2$. And I have two formulas:  1) ($\forall x$ $P(x)$ $ \land $ $\forall x$ $Q(x)$) $\leftrightarrow$ $\forall x$ ($P(x)$ $ \land $ $Q(x)$)  2) $\forall x \exists y \forall z$($R(x,y) \land R(y,z)$) $\leftrightarrow$ $\forall x \forall y \exists z$($R(x,y) \land R(y,z)$)  ,for which I have to prove (or disprove) that they are true in every realisation of language $\mathcal L$. My problem is that I don't know how to do that. I know that first one is a tautology and sure that second one isn't, but I don't know how to prove that something true in every realisation of $\mathcal L$.Can anyone formulate to me, how do I prove that?

How do we decide whether the formula in predicate logic is a tautology? Is there some universal way to decide?  Let's have an example:  Vx(P(x)&Q(x))<->VxP(x)&VxQ(x)   My solution (not correct and not complete)  So the first thing I do is to rename some variables on the right side.   Vx(P(x)&Q(x))<->VxP(x)&VyQ(y)   No, I can do this:  Vx(P(x)&Q(x))<->Vx(P(x)&VyQ(y))   And this:  Vx(P(x)&Q(x))<->VyVx(P(x)&Q(y))   So my question is:   How can I decide and proove, whether it is a tautology?


What is the problem in my code?  orderIsbnDetails.setIsbn(request.getParameter("isbn"+ i).trim());   This line throws NullpointerException

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?


Is it possible in Java to check if an interface has been implemented? If yes:  Is there an official way to do this? How is it possible? And is it possible to check if it is implemented in an external library (jar)?  If no:  Is there a workaround to check this?  An example of my problem can be this: My interface is implemented in an external library(jar), I want to start one of my threads only if this interface has an implementation. (Obviously, I want to check it at runtime without know nothing about the external library.) I accept also suggestion on possible workaround to solve this problem. Note: I can't add framework that help in this task.

Can I do it with reflection or something like that?


If $x_1< x_2$ are real numbers, and $x_n = \frac{1}{2}(x_{n-2} + x_{n-1})$ for every $n > 2$, how do I show $\lim x_n = \frac{1}{3}x_1 + \frac{2}{3}x_2$?

This is a reformulation of a deleted question:  If  $a_1 > 0$ and $a_2 > 0$ and $2a_{n+2} \le a_{n+1}+a_n$,  show that  $\lim \sup a_n \le \frac23 a_2 + \frac13 a_1$.  My proof involves showing that $a_{n+2} \le u_{n} a_{n+1} + (1-u_n)a_n $ where $u_n \to \frac23$, and I wondered if there is a simpler proof.  I will post my proof in a couple of days if no one does.


$ sudo apt-get install package-name:i386 Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package package-name:i386 $ sudo apt-get install ia32-libs Reading package lists... Done Building dependency tree        Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies:  google-chrome-stable : Depends: libnss3 (>= 3.14.3) but 3.13.1.with.ckbi.1.88-1ubuntu6 is to be installed  ia32-libs : Depends: ia32-libs-multiarch E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Occasionally, when I'm installing stuff, I get an error like the following:  Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  package1 : Depends: package2 (>= 1.8) but 1.7.5-1ubuntu1 is to be installed E: Unable to correct problems, you have held broken packages.   How can I resolve this?


English speaker but this still gets me...     It is   Is this a complete sentence?

The question is clear. Can "Wow!" be a sentence?  Imagine a hypothetical context where I'd utter something like this:     Wow! What an amazing idea! I should think about a way to push this fix.   We see "wow" in casual speech often. It bears punctuation marks (typically an exclamation mark, denoting the rising intonation) and a capital letter — just like all "regular" sentences.  On the other hand, neither Wow! nor What an amazing idea! contain any verbs. These certainly don't have any parts of speech in the other sentence, so what are they? Are they sentences or clauses? In other words, can "Wow!" be a sentence despite its lack of [any implied] verbs, and subsequently lack of any distinguishable predicates?  Please back up your answers with references.


To broadly paint my understanding, Stack Overflow doesn't want a reputation of more frivolous open questions and emotional debate. But it also wants to foster use and value. These are at odds whenever a question is closed due to being open-ended or prone to opinion and debate, particularly when it's about the pros and cons of software (sure - these things can be heavily opinion-based, but opinions are just baby facts trying to grow).  I suggest that when such questions are closed, that they be frozen (as normal) and cloned into a separate environment where answers can continue to be submitted and commented on. In order to lower the stakes (relieve pressure that can lead to argumentative responses and mistakes in human reasoning), it came to me that this could be a place where reputation points are not registered. Or where some other incentive structure is in place to dissuade uncharitable conversation.  Questions that are closed are often the most interesting and it's a great shame they're not more fruitful places. Don't kill those little baby facts before they get a chance!

Historical locks are sometimes applied to questions.   What is a historical lock? What is the purpose of a historical lock? How are questions affected by historical locking? When is it appropriate to lock a question for historical reasons?  When is it not appropriate? How do I request a historical lock for a question? What should I do if I notice a serious problem with a historically-locked question or one of its answers?


I am new to Stack Exchange and have participated in two sites. I want to know if reputation works across Stack Exchange sites.   For example, if I have 20 reputation points in Ask Ubuntu, can I post a comment on Super User? Or should I earn reputation separately in each site of Stack Exchange to be able to use the privileges of reputed user?   Are there any specific sites in Stack Exchange that allow cross reputation?  I am signing in with my Google account.  Will that affect the way reputation works?   Looking at the questions pointed out, I can see the questions themselves do not address the issue I have asked. Only the answers deal with them. So I don't think the question is duplicate, unless of course it is expected of me to read all questions about reputation before asking a new one.  Besides this question deals with a very specific issue rather than being over generalised. I think future new users will benefit from this.

I was just awarded +100 reputation on all of my Stack Exchange accounts.  What is this bonus for? It simply says "Association Bonus" on my reputation overview.  Also:   What privileges does the association bonus grant users? Can I lose the association bonus? Does it make my reputation 101 everywhere? Can I earn the association bonus on sites I haven't joined yet? Does it matter which site I earn the 200 reputation on? Will I get an association bonus every time my reputation on a site crosses 200 points? Does the association bonus allow me to answer protected questions? Does the association bonus count towards the reputation cap? Can I get the association bonus if I only have a profile on one site? What else is there to know about the association bonus?


In a situation where an image is an important feature of the page, but also acts as a link to a page containing a high-res version, how should its alt tag be populated.   In this instance it needs to fulfil dual purposes:   A description of the image (as it is important in the context of the page) An indication of the link purpose / destination   How should both be fulfilled in the alt tag, and if they can't both be, which should take priority?  Note: I'm specifically interested in cases as outlined where both purposes apply. I'm not interested in situations where the image only functions as a link image to the main event.  Further Note: I am implementing a design over which I do not have final say. I am aware of basic accessibility guidelines, but as is so often the case no-one else on the project cares about making the site accessible, so I am left trying to do my best within given constraints.  So please don't answer or comment to tell me:   That the image should be a text link instead That the link should contain text as well as an image

An image alt="" text should contain information about that image in the context of the page, so for instance if you have an article about cats on skateboards and then a photograph of the cat on his skateboard you'd probably give it the alt text of alt="Fluffy pulling some mad tricks on his pimped-out board".          – Wireframes created with   However, what should happen when that image is a link to a page (such as the Wikipedia cat page)?  I don't think there is any point using the title attribute here because screenreaders just ignore that when an alt attribute exists - the only people who would see the title attribute are mouse users who hover over the image, so that excludes keyboard only users too. It's not really any benefit to accessibility to include a title in this situation (Overall the title attribute is a bit useless really).  So, what should the image ALT text say in this case?   states:     Provide text alternatives for any non-text content so that it can be changed into other forms people need, such as large print, braille, speech, symbols or simpler language.    Therefore giving it the alt text of cat article page on Wikipedia is incorrect because that doesn't describe the image, neither does skateboarding cat image that links to the wikipedia article because the alt text should refer to the image itself, not the link associated with it.


I want to write Android apps using Chaquopy. I followed the first few steps from  to integrate python into studio. My question is where do I actually write the python code in android studio (should i write it in jupyter notebook and upload it somehow or can I create a py file in the studio environment?) and is their anything I should add in addition to the steps mentioned on the website above?

We are working on an  version and this platform has a nice Python API..  However, there is nothing official about Python on Android, but since  exists, is there a way to let the snake and the robot work together??


I have some fields (say, pictures or whatever) in my custom content-type and I want them to appear in search results. How do I do that?  I know how to edit template files such as search-result.tpl.php provided by the search module. In this page, there is a single variable called $snippet which contains search result but as a rendered HTML output. How do I modify it/show my custom fields in search results?  I would like to have full control to contents of the files, rather than just rendered HTML for them. My Search display page requires customization a lot, so without getting each field individually, I won't be able to produce desired output.

In *node--content_type.tpl.php* I can do the following:  hide($content['body']); print render($content);   Can I draw and hide field elements from a node's content in a similar way from $snippet; on search-result.tpl.php?  If not how do I gain greater control of the placement of images and body text in search results?


I'm using Stack Exchange to learn new things and a little bit like a wiki... And from time to time I come across new topics with many questions and answers. I upvote them because they are really good and/or I thought about a similar question.  It would be nice to easily find them again after some time, when facing a problem which is related and not have to go through all (in my personal point of view low-quality or not appropriate) questions/answers again. I know I can mark questions as favorites, but marking them all will result in too many favorites which going through all the time is also tedious.  I'm thinking about a (live-)search/filter at the votes-section beside the other filters. If not at all, it would also be an improvement for the answers-, questions- and favorites-sections. Additional, I think this would be easier to handle for new (non-tech) users than a advanced search-syntax.    The same problem occurs for example in the flagging history: For flagging recurring questions as duplicates I use the same high-voted question from time to time. - I can't mark them all as favorite to easily find them and using the browser-integrated search for >1000 flags and therefore >25 sites isn't really applicable.    Based on  as an alternative an  like voted:byme, maybe also upvoted:byme and downvoted:byme would be a little bit more inconvenient option (whereby :byme may be unnecessary because of the "anonymous votes"-policy).

When I vote up questions or answers, I'm not only increase poster's reputation but also saving a link to the post in my profile — the "Votes" tab shows all posts I have voted on, so it's possible to view the posts again without searching.  But finding the needed answer is uncomfortable when the number of posts voted on is too large.  Please add an option to search in my voted posts.  Adding a new  would be easier. But I think that a filter in the "Votes" tab will be more comfortable (at least for me). Also this filter could be used in other tabs in the profile, e.g. the "Answers" and "Questions" tabs.


I'm currently trying to build a front end interface for a land-parcel management system in Microsoft Access and in displaying individual parcels with their attribute data - I wanted to display on the form a relative map of the parcel on OpenStreetMap - I've come across the MapWinGIS  which I can use to add an active x controller to the form in Access - I'm missing the bit were I can link a geom point, polygon or line from a table (the table is an external table linked through the PostgreSQL ODBC driver from a PostgreSQL PostGIS enabled database...

I am developing a database for my organisation that could be spatially enabled. I have to use MS Access 2007 on Windows and am therefore looking for any possibilities to incorporate my Access Database into a mapping tool to embed inside my Access application. Has anyone successfully created an MS Access project which embeds a mapping window? I would ideally like to simply geocode my datasets - digitize a point after inputting my data into the DB.


I know we are still in alpha testing but I've got a lot of tabs open with the new navigation but I can no longer tell which tab is which, they all start with New Questions:        I can't tell which tabs are for a specific tag, or for the main page, etc.  Can we get a better description on the title again?

When I am viewing custom tags, the page title is "New Questions". If I open multiple tabs to specific, individual tags I have a bar of "New Questions" tabs.  Can the page title be change to include the list of custom titles that are currently being watched?  New nav:    Existing functionality:    Currently this works even if multiple tags are being watched:


Recently, I started working on a CentOS server and got access via ssh. I have root privilege through ssh. How can I download a file from server into my PC and upload to another server through ssh?

In my terminal shell, I ssh'ed into a remote server, and I cd to the directory I want.   Now in this directory, there is a file called table that I want to copy to my local machine /home/me/Desktop.   How can I do this?  I tried scp table /home/me/Desktop but it gave an error about no such file or directory.   Does anyone know how to do this?


I'm going to add an omega-3 supplement in my diet using encapsulated fish oil pills. I want to know how can I improve its absorption, and also understand why. That is the boundary conditions:   when, empty stomach or after the meal how, paired with "friends" foods   e.g.: I've read  that you can maximize the absorption if you eat pills paired with milk or not-fermented cheese, like mozzarella.  EDIT: introduction of omega-3 is by encapsulated fish oil pills EDIT2: as @cloudnyn3 pointed out, I want to know the best conditions which let the pills to be best absorbed

I switched to a vegetarian diet a while back, and I am now taking a few supplements consisting of common minerals, vitamins and omega-3's as a compliment to my regular diet.  When should I take the supplements to ensure that they are absorbed most effectively?  Does it matter what time of day it is, and does it matter what else I have in my stomach at the time?  I have read that some vitamins are fat soluble – does that mean that they should be taken with a meal? If taken with a meal – does eating a lot of food reduce "digestion efficiency" of the supplements?    What I have done, which is based entirely on my own thoughts, which are not based on any particular research:  I have been taking my supplements during the afternoon a few hours before dinner. At around 5 pm, body metabolism is at a high, and I usually don't have a lot of food in my stomach. My thinking has therefore been that the body will be efficient at absorbing the contents of the supplements.  I have avoided taking supplements in the morning because I am a morning coffee-drinker, and caffeine is laxative.


I would like to execute a process, which always has to use only one of the CPU core, and continuously run on that single core only.  I am using Ubuntu 14.04, How can i achieve this?

How to limit process to one cpu core ?  Something similar to ulimit or cpulimit would be nice. (Just to ensure: I do NOT want to limit percentage usage or time of execution. I want to force app (with all it's children, processes (threads)) to use one cpu core (or 'n' cpu cores)).


I have two repertories named 'test1' and 'test2' with multiples files with .jpg or .mp3 extensions. I want to find and move all files between 22-juin-2016 and 21-September-2018 to a new folder called 'data'. How would I be able to do this with one line of command ? Thank you very much for you help !

I have an email account that has passed 60GB of emails, and currently I'm having a lot of trouble using an email client to archive emails of last year (2011).  Via terminal, I am trying to use  to locate the files between 2011-01-01 and 2011-12-31, but no avail.  How can I find files between two dates?  If relevant, the end goal will be a batch that will move each file found, matching the date interval, to a folder.


Is there a serious difference between the following three sentences:        I put the toys in the box.   I put the toys into the box.   I put the toys inside the box.

When should 'into', 'in' and 'inside' be used?  What are the differences between the three?   For example, what are the differences between the following statements?  Are any of them incorrect?        The frog jumped into the well.   The frog jumped in the well.   The frog jumped inside the well.


I am trying to show that $f(t)=t^{5}-4t^{2}+2$ is not soluble by radicals over $\mathbb{Q}$.  I think I need to show that $\text{Gal}(f)$ is not soluble. I think I need to construct an embedding $\text{Gal}(f)\hookrightarrow A_{5}$ which is not soluble since the commutator subgroup of $A_{5}$ is $A_{5}$. So how do I do this?

I know how to get the splitting field from the roots but I just can't come up with any factorisation that gives me roots. Any suggestions?


I'm a beginner when it comes to the Linux environment. I recently tried to install some extensions in Linux. I've entered some commands like:  sudo apt-get install gnome-tweak-tool   and then when I tried to update with:   sudo apt-get update   I received this message:  E: Type 'ME' is not known on line 2 in source list /etc/apt/sources.list.d/gnome3-team-gnome3-precise.list   Each time when I want to update I receive this error. Does anyone have any ideas as to how I may correct this problem?

Every once in a while I see users having issues to update due to errors like this:  E:Type 'ain' is not known on line 1 in source list /etc/apt/sources.list.d/some-ppa.list'   with varying types/line numbers/source list files (often after removing a PPA).  How can such an error be fixed?


In the book "The Elegant Universe" by Brian B. Greene, on chapter 6 it is stated that there's the so called "Planck tension" in string theory, and it is given a value of $10^{39}$ tons. This value is repeated some times.  But tension should be given in Newtons, not kilograms: is it saying $10^{42}$ kiloponds? so that'd be ~$10^{43}$ N ... But Planck force is ~$10^{44}$ N.  I think this is not a duplicate of the question , or at least I need some clarification, because in that answer, it is stated:      "Because the string tension is not far from the Planck tension - one   Planck energy per one Planck length or $10^{52}$ Newtons or so"   But Planck energy / Planck length = $1.9561·10^9$ J / $1.616199·10^{-35}$ m ~ $1.21·10^{44}$ N (Planck tension)  Or does $10^{52}$ N refers to string tension and not to Planck tension? But  $10^{52}$ >> $10^{44}$ N, so they don't seem "not far" one from the other...  So being the disagreement between   $10^{52}$ N, Greene's  $10^{39}$ tons, and Planck tension  $10^{44}$ N :   Which is a correct value in Newtons for string tension? It ranges then from $10^{43}$ N ($10^{39}$ tons) to $10^{52}$ N? Is the value of Greene's book correct or is it an errata (this is unlikely, as I have seen this value in tons in comments from ths book) and if it is correct, how must that $10^{39}$ tons be converted to Newtons ? Is it correct $10^{43}$ N?

One often hears the words "string tension" in string theory. But what does it really mean? In ordinary physics "tension" in an ordinary classical string arises from the fact that there are elasticity in the string material which is a consequence of the molecular interaction (which is  electromagnetic in nature). But string theory, being the most fundamental framework to ask questions about physics (as claimed by the string theorists) can not take such elasticity for granted from the start. So my question is, what does "tension" mean in the context of string theory? Perhaps this question is foolish but please don't ignore it.


Im trying to figure out how to create an electric aura of a simple shape (cube). Would anyone know how i could easily do this? Here is an example of what i'm talking about:  With sonic you can see electricity around him. I'm trying to figure out how i can do the same with a simple cube.

I know about the technique of using a displace modifier with an animated displace object on a thin plane, but there are no "branches", no forking in the lightning.  Here is an image  that shows more or less what I'm thinking of:    Is it possible to achieve an 3D animated affect like this?  I have tried a few things, such as the . However, it doesn't support animation and repeatedly generating meshes and then manually animating the visibility is a tedious.


int x=33333333; float y = 1.0f; System.out.println(x+y);   What I get is  3.3333332E7 but why?

Consider the following code:   0.1 + 0.2 == 0.3  ->  false   0.1 + 0.2         ->  0.30000000000000004   Why do these inaccuracies happen?


Hey I need to know which files to extract if any to put a mod with a zip file into my minecraft game. I need to know if i extract the folders that are in the zip file or anything else? Thanks.

I'm having a really, really hard time figuring out how to install mods on Minecraft. I've looked everywhere I can think of for help but the information is almost always outdated or unhelpful.  I've seen on several sites about the use of something called Forge. The Mod I want to use requires 1.6.4 Forge and I have both Forge and the Mod folders sitting in my downloads folder.  I haven't installed any kind of mods for any game prior to this and I have little clue to the technical side of Minecraft, so please keep this in mind when you give me an answer please!  Things that might help you figure out how to help me:   I want to play this mod  and am using the 1.6.4 Forge given on a link that website gives


Should I use "reflect" or "reflects" for the following sentence?     The theme of [Book 1] and [Book 2] ultimately reflects/reflect how family units are fluid.

Example with a context ():     However, the very fact that the West and those Russians in the know were alarmed, and that even the Kremlin apparatus seemed clumsy and unsure of what to do, stress the degree to which if anything happens to Putin the regime will be in trouble — and we do not know what would follow.   What is the subject of this sentence? To me, it looks like the very fact should be the subject. Thus, we need a singular verb to go along with it. But, as you can see, that's not the case at all. The verb is stress and it is a plural verb. On the other hand, that entire monstrosity in bold might very well be the subject, although, to me, that doesn't really sound like it can be one—it'd grammatically inconsistent to think of it as the subject. Hmm, am I missing something here? What do you think is going on?


I have a program in c# that has a dictionary, I defined it like this:  Dictionary dict<Int32,Int32> = new Dictionary<Int32,Int32>();  Then I added 100 entry to my dictionary. Now I want to know the exactly memory usage of this dictionary.  please do not talk about sizeof and some methods like this, I want a mathematical way to compute it, for example if there is any pointer or any hash key that should be saved, please let me know (actually I do not know the exact way that dictionary works).

I'm trying to find out how much memory my objects take to see how many of them are ending up on the  (which is anything over 85,000 bytes). Is it as simple as adding 4 for an int, 8 for a long, 4 (or 8 if you're on 64 bit) for any reference types etc for each object, or are there overheads for methods, properties, etc.?


I have data in the following structure   ID   Sub_ID  123  '1;2;3'   I would like to create a table with the following structure  ID Sub_ID 123 1 123 2 123 3   Is there any way to process this task on a Microsoft SQL-Server?  THX Lazloo

Using SQL Server, how do I split a string so I can access item x?  Take a string "Hello John Smith". How can I split the string by space and access the item at index 1 which should return "John"?


How does the gravity well change as space expands? If we assume that the Earth's gravitational field curves flat space to create a gravity well then how does the gravity well change as space expands also is the change in gravity well measurable.

If we take the analogy that in an empty space the space is just a flat sheet then if there is a single planet or a star then the flat sheet will curve below the planet leaving a curvature shaped like a hemisphere below the object, my question is, Does this curvature change as space expands?


Trying to show that the inequality holds for $$n^2 \le 2^n$$ So far I have: $$\text{Assume }k \text{ is arbitrary. Our inductive hypothesis is: } k^2 \le 2^k \text{. Show this is true for } k+1\\ (k+1)^2 = k^2+2k+1 \\ k^2 < k^2+2k+1$$ Stuck here and wondering if I could get some hints.

Problem: $2^n > n^2, \forall n \in \mathbb{N} , n \geq 5$ Base: $2^5 > 5^2$ Induction Hypothesis: Assume for $n = k \geq 5$ that $2^k>k^2$ Inductive Step: $$2^k > k^2$$ $$2^k \times  2 > k^2 \times 2$$ $$2^{k+1} > 2k^2$$ From there I can finish the proof by asserting that $k^2 > 2k+1, \forall k \in \mathbb{N} , k \geq 3$. Do I need to prove that $k^2 > 2k+1, \forall k \in \mathbb{N} , k \geq 3$. Or can I substitute it into my inequality?


I have been trying to redirect the user that has logged into the system to their respective page after checking their email and password. But i am not sure about the logic behind that coding and when i try it it just response with the else statement. I have tried the validation of the email and password and that works fine and redirects to the correct page, but when i add the user type condition it doesnt work  I have tried including nested if statements, but i am not sure about its logic,it always executes the else statement.  loginControllerServlet.java  protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {           String email=request.getParameter("email");         String password=request.getParameter("pwrd");          User theUser=loginDbUtil.gettype(email);          if(loginDbUtil.check(email, password))         {                    String p="pharmacist";              if(theUser.getType()==p)             { //              HttpSession session=request.getSession(); //                  session.setAttribute("email", email);                     response.sendRedirect("medicine.jsp");             }             else             {                 response.sendRedirect("index.jsp");             }         }else     {         response.sendRedirect("index.jsp");     }      } }   loginDbUtil.java  public boolean check(String email,String password)     {         Connection myConn=null;         PreparedStatement myStmt=null;         ResultSet rs=null;          try         {             //get db connection             myConn=dataSource.getConnection();               //sql statemtn             String sql="select email,pass from usertab where email=? and pass=? ";               myStmt=myConn.prepareStatement(sql);              //set the param values for user             myStmt.setString(1, email);             myStmt.setString(2, password);              rs=myStmt.executeQuery();              if(rs.next())             {                 return true;               }            }catch(Exception e)         {             e.printStackTrace();         }            return false;     }         public User gettype(String email) {          User type=null;          Connection myConn=null;         PreparedStatement myStmt=null;         ResultSet rs=null;          try         {             //get db connection             myConn=dataSource.getConnection();               //sql statemtn             String sql="select type from usertab where email=?  ";               myStmt=myConn.prepareStatement(sql);              //set the param values for user             myStmt.setString(1, email);              rs=myStmt.executeQuery();              if(rs.next())             {                 String t=rs.getString("type");                type =new User(t);              }            }catch(Exception e)         {             e.printStackTrace();         }          return type;      }  }   What i want is after the email and password is checked then next check for the users data type and redirect them to the correct page

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 have this regex expression var re = /(?:\d{3}|\(\d{3}\))([\w-\/\.]?)\d{3}\1\d{4}/;, however, the \w whitespace doesn't work on this test console.log(re.test('123 456 7890'));  Here is my jsfiddle:

I'm trying to put together a comprehensive regex to validate phone numbers. Ideally it would handle international formats, but it must handle US formats, including the following:   1-234-567-8901 1-234-567-8901 x1234 1-234-567-8901 ext1234 1 (234) 567-8901 1.234.567.8901 1/234/567/8901 12345678901   I'll answer with my current attempt, but I'm hoping somebody has something better and/or more elegant.


Please tell me how to uninstall my laptop is falling apart. I tried using an iso but it wouldn't mount and using the boot menu at startup won't work either.

I have absolutely no experience with Linux, and I desperately need to get my computer back up and running again with Windows.  How do I remove Ubuntu and reinstall Windows?    Editor's note: many of the answers are about removing Ubuntu from dual-boot but keeping Windows (which is a bit complicated), while other answers are about removing Ubuntu from single-boot (which is easy: basically just format the disk while installing Windows). The question as written is ambiguous between dual-boot or single-boot.


I want to apply Cauchy prinicpal on the following question:  If exists constant $$0<q<1$$ such that $$|a_{n+2}-a_{n+1}| \le q|a_{n+1}-a_n|$$ for any $n$ then $a_n$ converges.    Now if I just think about it what I see is that as $n$ goes up the distance between his members becoming smaller and smaller since even if i take the last 2 elements and multiple them by a small number ($<1$) the distance is still smaller.  My conclusion is that the sequence will probably converge because of that, but my method is not math is just some logic which may be wrong.    I feel like Cauchy can help me here but I have no idea how to apply it

I'm stuck on a homework question, and could really use some help. Here is said question:  "Assume that for every $n$ the following occurs: $|a_{n+1}-a_{n}|<q|a_{n}-a_{n-1}|$ when $ 0<q<1 $  Prove that the series $ \left(a_{n}\right)_{n=1}^{\infty} $ converges. Hint: use Cauchy sequence"  OK I'm really stuck on this one, I don't even have a clue where to begin.  Any help is appreciated. Thank you!


I have chat open all day and every once in a while I come back to it to see this:    Oh, wow, a flag! Let's click on it!    Oh, okay, no flag for me :( So I close the bubble, but the flag counter stays there for me to repeat this process over and over again until I refresh my browser window.  I understand that the flag count isn't being reset when someone else handles the flag, but at least it could be hidden once I got an empty flag list from the server.

When someone flags a message in chat all 10k+ users in chat get a little blue bubble to vote on. It shows up in the upper left hand corner of your gravatar (which is in the bottom left of the page).  When someone flags a message and it shows up, if I wait for a second to click on it, and then click on it, and it has already been handled, it shows the message  "There are no flags to display."  In the past, after showing this message, the blue (1) would disappear. However, lately it has not been going away and requires a page refresh in order to remove. Can this be fixed?  This issue is addressed here:  from September 12th 2012. But since it is still occurring 10 months later, I believe the cause is different.


i´ve been trying to read the lines of this file to save them into an array afterwards, but when I try to print the lines to try it out it has a nullpointer on the line of  :   while( (line = br.readLine()) !=null  import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException;  public class Main1 {      public static void main(String[] args) {         // TODO Auto-generated method stub         String line;         BufferedReader br = null ;         try {             new BufferedReader(new FileReader("/Users/Daniq/Desktop/eda/pruebaEda.txt"));             System.out.println("Done");              try {                 while( (line = br.readLine()) != null){                     System.out.println(line);                 }             } catch (IOException e) {                 // TODO Auto-generated catch block                 System.out.println("error ");             }          } catch(FileNotFoundException fnfex){             System.out.println("File not found");         }      }  }

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'm doing a Rest integration project, and I'm trying a PUT api request for an API I'm implementing. This is part of the code that is on the start of the PUT operation implementation.  String name = vivienda.getName(); Vivienda oldVivienda = repository.getViviendas(name); if (oldVivienda == null) {     throw new NotFoundException("No se ha encontrado ninguna vivienda con el nombre="+ vivienda.getName());          }   Thing is, when I do the request, it returns me the NotFoundException declared there, so it didn't work.  Playing with the code I localised that the error was that, certainly, the object oldVivienda was null, as if I tried to do something with its getName, it would throw NullPointerException.  But here's where I start not understanding anything. I changed the code to try and find where the error was, putting the name string directly like this:  Vivienda oldVivienda = repository.getViviendas("vivienda1"); if (oldVivienda == null) {     throw new NotFoundException("No se ha encontrado ninguna vivienda con el nombre="+ vivienda.getName());          }   This works perfectly. This would lead to thinking that the problem is with the parameter object vivienda, that it's or its name is empty or isn't "vivienda1". But, remember the exception? In the exception I use vivienda.getName(), and when I see the error thrown in the response, it actually says "vivienda1". So I sent fine the object, and when you do vivienda.getName() it returns "vivienda1". And when you put the string "vivienda1" in the repository.getViviendas("vivienda1"), it works perfectly.  So, where is the problem? Is there any problem with types? But getName is a simple get method that returns a String. And I've checked several times if there was a space somewhere or something. The error is in those 2 first lines of code, but I have no idea what's going on.


This dreaded issue started at some time after upgrade to OS X (Yosemite) 10.10.3. accountsd uses about 60% CPU constantly, making the laptop hot and noisy.  I'm not using iCloud at all.  Killing it doesn't help, because it starts again quickly.  Probably related question, but it's about iOS:

Why are the accountsd and securityd processes using so much CPU on OS X 10.10.3? I am on a Early 2011 Macbook Pro.  What are these processes for? Is it safe to kill them? The machine has only been up 4 hours so has been rebooted recently.


The funding need will extend through the year 2020 when construction of the permanent facilities is projected to be complete.   My boss insists I should use are instead of is. I disagree. Any recommendations?

What kind of verb, singular or plural, goes with phrases like "a record of [singular or plural noun]", "the use of", "the time of"? Does the choice depend on the following nouns (a record of nouns) or on the 'first' nouns (record, use, time)? Or do these phrases obey the rule of proximity (as does "a variety of")?  I have found different example sentences on the internet (source: newspapers or magazines) with different uses. What is correct?  Examples:   there were a record of other issues; there were a record of 28,000 runners; there was a record of these statements.


In Windows to move a specific file(s) and/or folder(s), we can ctrl+x (Cut) after selecting sources & ctrl+v (Paste) - very simple way to move.  Another easy option is to just press F4 & type address where you want to jump in Windows explorer. (Yep! Even with auto complete.)  My question is somewhat like this - what is the best way to explore your files in Finder?  I mean, there is no option like cut - not even "move to folder" or "copy to folder", "create new shortcut" is far different - here alias.   I mean, I am feeling "not used to" to a Mac. What's your suggestions to have grip on Mac OS X? Why is it necessary to use a mouse to move files? Why am I forced to use a mouse? It's not like that I hate mouse use. The thing is it's very ridiculous to use mouse for each & every operation.  What are:   Better ways to explore in the Finder? Tricks to help explore in the Finder? How to operate the Finder most efficiently?

I'm a newbie on the Mac world and I'd like to know if it's possible to cut a file using a shortcut (like Ctrl+X on Windows).


I would like to create a form in my "contactus" page. I'm following . I have to extends the sfFrom class to use sfWidget, but in my code I've already extends BaseController.  Is there any solution to do this without making a new class?  class InfoController extends BaseController {     /**      *      * @Route("/contactus", name="info_contactus_page")      * @Template()      */     public function contactusAction()     {         return array();     } }

If I have several classes with functions that I need but want to store separately for organisation, can I extend a class to have both?  i.e. class a extends b extends c  edit: I know how to extend classes one at a time, but I'm looking for a method to instantly extend a class using multiple base classes - AFAIK you can't do this in PHP but there should be ways around it without resorting to class c extends b, class b extends a


Someone that can give me a proof of that a countable product of complete metric spaces is complete ?

Let $X$ be a Polish space and let us fix a metric $d$ on it so that $(X,d)$ is a separable complete metric space. Let $Y = X^{\Bbb N}$ be the product space endowed with the product topology. Is it true that $Y$ is a separable space? If not, would it be true in case $X = \Bbb R$?  I also wonder about a metric consistent with the product topology on $Y$. I used to think that $$   \rho(y',y'') = \sup\limits_{n\geq 1}d(y'_n,y''_n) $$  is the needed one (here $y' = (y'_1,\dots,y'_n,\dots)\in X^{\Bbb N_0} = Y$) but now I am afraid that it is not the case.


public class Test {     public static void main (String [] args) {         TestMathRandom x = new Test();          StringBuffer a = new StringBuffer ("A");          StringBuffer b = new StringBuffer ("B");          x.operate (a,b);          System.out.println(a + "," +b);     }      void operate (StringBuffer x, StringBuffer y) {          x.append(y);          y = x;      } }   Ans is AB,B Please tell me why value of b is unchanged.

I always thought Java uses pass-by-reference. However, I've seen a couple of blog posts (for example, ) that claim that it isn't (the blog post says that Java uses pass-by-value). I don't think I understand the distinction they're making. What is the explanation?


In my current installation, the DB user has been granted full privileges.     I am pretty sure that not all of them are required to run WP, but I am not sure which privileges are definitely needed. Any suggestions?

The short installation instruction for WordPress () state that:     Create a database for WordPress on your web server, as well as a MySQL user who has all privileges for accessing and modifying it.   While setting up a new blog professionally I was wondering how that maps to what the MySQL database user privileges/permissions configuration offers me:   Data: SELECT, INSERT, UPDATE, DELETE Definition: CREATE, ALTER, DROP Extra: INDEX More:  LOCK TABLES REFERENCES CREATE TEMPORARY TABLES CREATE VIEW SHOW VIEW CREATE ROUTINE EXECUTE ALTER ROUTINE    I'm pretty sure for the first three groups, I named them Data, Definition and Extra here. But what about the others below the More entry? Normally I would say, those are not needed, but I would like to get a second opinion.


I am managing a WordPress website which offers tutorials on different concepts. Some of the keywords are coming between 3-4th page of Google search but some of them are above 10th pages.  Sometimes they appears 2-3th page or sometimes they disappears completely. I don't know what's going wrong.  I am using Yoast SEO for managing SEO part of my website. Can someone please provide me which is the best Yoast settings which works good.  One more thing I want to ask, I am keeping meta keywords and description same like "Java tutorial", "Java", "programming", etc... so both meta keywords and the description are the same. Can I do this, is it acceptable?

There has been a significant drop (90%) in traffic from Google to one of my well-established sites (6+ years) in the last week. Searches show that the top 3 wide keywords all dropped 4 spots. Searches for other keywords do not show ANY results in the first 10 to 25 pages of results, while previously one 1st or 2nd page at most.  Since there are , the question really is:  What steps are necessary to figure out what caused such a drop?  There have been no major changes during this period or the last month on the site and certainly not in the homepage which has dropped in rank. Over all the years of running this site and plenty of others, I have never experienced this. There are is duplicate content on my site and I have rigorously used canonical links for the last few years to ensure it is not misinterpreted as such.


I tried to install pdftk in Ubuntu 18.04. It seems to be that the package is missing from official repositories.  How can I install pdftk?

Is there any chance of getting pdftk working in Ubuntu 18.04? I need this for creating PDF files with a watermark in shell.   Or, does anybody know a working alternative to pdftk to generate a PDF with a watermark in shell?  I already check/try out all of them:  sudo apt list pdf* Listing... Done pdf-presenter-console/bionic 4.1-2 amd64 pdf-redact-tools/bionic,bionic 0.1.2-1 all pdf.js-common/bionic,bionic 1.5.188+dfsg-1 all pdf2djvu/bionic 0.9.8-0ubuntu1 amd64 pdf2svg/bionic 0.2.3-1 amd64 pdfcrack/bionic 0.16-1 amd64 pdfcube/bionic 0.0.5-2build6 amd64 pdfcube-dbg/bionic 0.0.5-2build6 amd64 pdfgrep/bionic 2.0.1-1 amd64 pdfminer-data/bionic,bionic 20140328+dfsg-1 all pdfmod/bionic,bionic 0.9.1-8 all pdfmod-dbg/bionic,bionic 0.9.1-8 all pdfposter/bionic,bionic 0.6.0-2 all pdfresurrect/bionic 0.14-1 amd64 pdfsam/bionic,bionic 3.3.5-1 all pdfsandwich/bionic 0.1.6-1 amd64 pdfshuffler/bionic,bionic 0.6.0-8 all pdftoipe/bionic 1:7.2.7-1build1 amd64   But did not find a working tool.


I need to compute $$ \int_0^1 \frac{x-1}{\ln x}\,dx. $$ Using the fact that $\frac{d(x^y)}{dy} = (\ln x)x^y$,   I can't get any clue.   Can someone give me a tip on how to better approach solving these kinds of problems?

/A problem from the 2012 MIT Integration Bee is $$ \int_0^1\frac{x^7-1}{\log(x)}\mathrm dx $$ The answer is $\log(8)$. Wolfram Alpha gives an indefinite form in terms of the logarithmic integral function, but times out doing the computation. Is there a way to do it by hand?


I am trying to use \max with two arguments like so:   \max_{0 \leq k \leq n, 0 \leq l \leq n}  But I want to have the   0 \leq l \leq n below the 0 \leq k \leq n   not next to it.   How do I do this?

Is there a way to force a line break inside a math mode text?  My example:  \[   \underbrace{....}_\text{Some long text that should be multiline} \]   Trying  \text{Some long text that\\ should be multiline}   Didn't do the trick.


Is this better to have 2x2gb DDR3 RAM in both of the slot or single 4GB DDR3 RAM in single slot in laptop? Which way is right to increase my laptop perfromances, what should I do for best and fast performances?

Besides , I want to upgrade my RAM of my Laptop which is a Compaq Presario v 2000 model . I already have a 512 MB RAM in it and the performance of the Laptop is decent for my browsing work etc . Should I go for a new 1 GB RAM or would a additional 512 MB ( new ) give good performance ? I dont want to spent much on old laptops , just need decent performance . Just want to know ur opinion .


When I wanted to install Skype on my system, I ended up with my first snap.  Interestingly, it mounted itself as a loopback device and broke my script to mount a crypto filesystem as /dev/loop1.  But Skype was only available as a snap, and I needed it, so...  Since then, I've installed a few open source packages that I would not have expected to be snaps, but were.  Specifically GIMP and the Clementine music player.  Again, I didn't notice they were snaps until I had to move my crypto filesystem to another higher /dev/loop... device.  I had moved it from loop1 to loop9, and thought that would hold me, but having installed the 'visual studio core' text editor to play with I ended up with 6 additional loopback filesystems, in addition to Skype's 3 and GIMP's, and Clementine's.  Personally, I find that really messy.  If a project is truly open source and can be built from source by the distro maintainers, why release it as a snap?  To me, snaps are a necessary compromise for 3rd party closed source developers to get their apps onto multiple distros.  So, Skype I get.  GIMP, no.  It turns out that having uninstalled GIMP and Clementine, I see that Ubuntu (actually Kubuntu - if that makes a difference) has non-snap versions included as well.  Why would they do that - and why would anybody choose the snap over the 'build for the distro'?

This is not a duplicate of the following questions     because:  My question specifically states that I am interested in end-user experience, not ease or efficiency of development, which is what the other question largely refers to.  As has been noted, development/deployment affects end-user experience, but it is not all there is to it, and neither of the referenced questions address issues that directly impact an end-user's ability to use the application (e.g. trouble accessing data on other partitions, sluggishness, etc.) Maybe "compelling" wasn't the right word to use; my intent was to ask about real-world, experiential consequences, i.e., things that happen or  don't happen, as opposed to theoretical/architectural statements that, while presumably accurate, don't appear to be backed up with any real-world examples to support the statement. I should have stated more directly that my intention was to get answers that consider the balance of "advantages" to snaps against the real-world downsides experienced by end-users. The "duplicate" question is largely theoretical, and doesn't discuss end-user experience at all. The "duplicate" question makes no mention of anything remotely similar to the example I used here, i.e., that there is an end-user downside to snaps (in this case, lack of access to data on other partitions and snap app performance) that isn't discussed in any available documentation that I can find.   While I understand that snap has a big advantage in making apps more widely available, is there any compelling reason to choose snap over apt, if the app is available for my distro/version via an apt package? I am curious because I've been doing some reading about snaps, and all the excitement about the method seems to be about things that are advantageous for app developers, but I've seen virtually nothing on how this makes life easier for end users (aside from the obvious; that they may be able to install apps that aren't otherwise available on their distro/version). I installed snapd and installed a couple of snaps and was really frustrated and disappointed.  The snap apps are slow and it's difficult, if not impossible, to access files on other partitions from within the snap. While I've seen plenty of info that says snaps are "faster," "easier," "safer," etc., I haven't been able to find anything that explains why or how this is actually the case. Being very new to Linux, I am wondering if maybe I'm just missing something obvious? To be clear, I understand why the technology might be useful overall, but I can't find anything that explains whether/why it is a better option even when the app in question is available for install via a more traditional method, and all dependencies are met.


I'm trying to use the biblatex package, but when I compile my file it simply doesn't print any bibliography.  This is the file  \documentclass[10pt]{article} \usepackage[utf8]{inputenc} \usepackage{biblatex} \addbibresource{Master.bib} \usepackage{geometry} \geometry{a4paper,top=3cm,bottom=3cm,left=3cm,right=3cm,heightrounded} \begin{document} ... \nocite{*} \printbibliography \end{document}   I'm using Texmaker on Linux Mint.

Running the minimal example  \documentclass{article} \usepackage{filecontents} \begin{filecontents*}{\jobname.bib} @ARTICLE{example,   author  = {Other, Anthony Norman},   title   = {Some things I did},   year    = {2014},   journal = {J.~Irrep. Res.},   volume  = {1},   number  = {1},   pages   = {1-10} } \end{filecontents*} \usepackage[backend=biber]{biblatex} \addbibresource{\jobname.bib} \begin{document} Hello\cite{example}. \printbibliography \end{document}   I get the warning There were undefined references.  I have read  and know that I need to run:   LaTeX Biber LaTeX   However, my editor is only set up to run BibTeX. How do I go about setting up my editor/IDE to be able to run Biber, and how do I run the LaTeX/Biber/LaTeX cycle?  Answers (sorted alphabetically by editor name)                    Answer guidelines   Each answer should be for one editor. If the editor is cross-platform, if possible give a single answer with notes covering the minor platform variations. Please edit the question to include new answers in the 'link list' Each answer should be 'stand alone', i.e. don't say 'It's almost the same as editor Y but ...' for the editor part Instructions for 'build tools' such as arara or latexmk are welcome but should explain how to set up the editor in question as not all editors allow simple addition of arbitrary tools


In §2.2 of , Eugenia Cheng includes the following example:        Why is it possible for an irrational to the power of an irrational to be rational?      Here is a nice little proof that it is possible:           Consider $\sqrt{2}^{\sqrt{2}}$.           If it is rational, we are done.          If it is irrational, consider     $$ \left(\sqrt{2}^{\sqrt{2}}\right)^\sqrt{2} = \sqrt{2}^2=2.$$         However, as Cheng notes, this doesn't tell us whether $\sqrt{2}^{\sqrt{2}}$ itself is rational or not. So which is it?

The fact that there exists irrational number $a,b$ such that $a^b$ is rational is proved by the law of excluded middle, but I read somewhere that irrationality of $\sqrt{2}^{\sqrt{2}}$ is proved constructively. Do you know the proof?


what I want is way to feed commands to Ubuntu at runtime that is to so that i don not have to wait for resources that gets locked to be free for example during during update  we get this error messsage while trying to execute other commands with sudo access   E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?   what i want is way to execute my scripts at like batch processing but i could remove any batch jobs any time i want  I would like a dynamic script/program with root access to do all my jobs.

I have seen many softwares such as Update Manager and Synaptic Package Manager, they wait if some other program is using the /var/lib/dpkg/lock and is locked. How can we do this through the Terminal? I saw apt-get's manual but didn't find anything useful.


We know that $Ce^x$ and $0$ are the two functions whose first derivative is equal to itself, but what about derivatives of a higher order? For example, the second derivative of $e^{-x}$ is equal to itself, but not the first, and the fourth derivative of $sin(x)$ is equal to itself.  In short, are there other examples of functions whose nth derivative is equal to itself, where $n>1$?  Thank you kindly!

Consider (non-trivial) functions that are their own nth derivatives.  For instance  $\frac{\mathrm{d}}{\mathrm{d}x} e^x = e^x$  $\frac{\mathrm{d}^2}{\mathrm{d}x^2} e^{-x} = e^{-x}$  $\frac{\mathrm{d}^3}{\mathrm{d}x^3} e^{\frac{-x}{2}}\sin(\frac{\sqrt{3}x}{2}) = e^{\frac{-x}{2}}\sin(\frac{\sqrt{3}x}{2})$  $\frac{\mathrm{d}^4}{\mathrm{d}x^4} \sin x = \sin x$  $\cdots$  Let $f_n(x)$ be the function that is it's own nth derivative.  I believe (but I'm not sure) for nonnegative integer $n$, this function can be written as the following infinite polynomial:  $f_n(x) = 1 + \cos(\frac{2\pi}{n})x + \cos(\frac{4\pi}{n})\frac{x^2}{2!} + \cos(\frac{6\pi}{n})\frac{x^3}{3!} + \cdots + \cos(\frac{2t\pi}{n})\frac{x^t}{t!} + \cdots$  Is there some sense in which this function can be extended to real n using fractional derivatives?  Would it then be possible to graph $z(n, x) = f_n(x)$, and would this function be smooth and continuous on both $n$ and $x$ axes?  Or would it have many discontinuities?


In my department, we typically adopt textbooks that are very refined, sometimes in their 7th or 8th edition. Because these books have been around for so long, all of the homework problems have been worked out in full detail, and are easily found online. So it seems pointless to assign and grade homework since student can so easily copy the answers instead of working them out themselves. But if we do that, it seems like we're then eliminating a very important learning activity.  Many of my colleagues address this by not giving very many (if any) points for homework in the final grade. They sometimes give quizzes (which takes a lot of class time) to check whether the homework was absorbed. One feature of homework is that it is done outside of class, so that the class period can be used to discuss new material. I'm concerned that taking class time to force the issue of actually "doing" the homework will detract from the other aspects of the course.  I still think that mathematics is not a spectator sport, and most of the learning occurs when the students struggle with a good set of exercises and eventually find the answers on their own. This is especially true in courses that require proofs.  I've explained to my students that if they short-cut this self-discovery process, then they're limiting their learning opportunities. Still, many students copy answers.   So, in this age where all information is so easily accessible, how should we respond with how we assign homework so that students will produce their own ideas rather than copying the work of others? How do we re-enforce the idea that learning mathematics is learning how to find answers rather than just getting a copy of the answers?

These days there is so much material on the web that it is difficult to set good exercises/assignments for students, because they often find the questions on the web simply by googling (or else ask at a site such as ).     How do people deal with this problem? How do you generate unique assignment questions?   For the record, the area I teach is computer science.