I went around Google and looked on YouTube for some videos, but for whatever reason, nothing worked. I tried going into "Additional drivers" and switching the driver that way, but nothing actually changes. It just stays stuck either applying the changes or nothing happens.   I currently have an ether net connection set up temporarily, so I am able to access the web. However, I want this fixed as soon as possible.   Any help greatly appreciated.   02:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)  Subsystem: Hewlett-Packard Company U98Z049.00 Wireless Mini PCIe Card [103c:1507]  Kernel driver in use: b43-pci-bridge   Update: The output to lspci -knn | grep Net -A2; rfkill list   02:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)     Subsystem: Hewlett-Packard Company U98Z049.00 Wireless Mini PCIe Card [103c:1507]     Kernel driver in use: b43-pci-bridge 0: hp-wifi: Wireless LAN     Soft blocked: no     Hard blocked: no

I'm having serious problems installing the Broadcom drivers for Ubuntu. It worked perfectly on my previous version, but now, it is impossible.   What are the steps to install Broadcom wireless drivers for a BCM43xx card?  I'm a user with no advance knowledge in Linux, so I would need clear explanations on how to make, compile, etc.    lspci -vnn | grep Network showed:   Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b]      iwconfig showed:  lo        no wireless extensions. eth0      no wireless extensions.   NOTE: Answer below is updated every time new information is added and confirmed working.


Could someone please tell me whether these two soy sauces are different?  Thank you.

I've noticed that a lot of Thai dishes call for thick black soy sauce, but they rarely specify the type. Occasionally, a recipe will specify a certain brand, and sometimes they'll note if you should use the "sweet" (pad see ew, pad kee mao, etc.) or "regular" (pad ka prao, etc.).  When looking, I'll usually stick with Healthy Boy, since that seems to be the standard (and the most widely available in the US). When I get to the local Asian market, though, I'm confronted with about 5 or 6 types of Healthy Boy soy sauce, each of which says "Black Soy Sauce."  Within those, I've been able to narrow it down to three major types so far:    Black Soy Sauce - Thick, salty, sweet, strong flavor Sweet Black Soy Sauce - Thick, somewhat salty, very sweet, strong flavor. Not always labeled "sweet" Light/Thin Black Soy - Thinner consistency (similar to regular soy sauce). I have never tried this.   While it's easy to tell the light from the others (just flip over the bottle), telling the difference between the sweet and regular is not always as easy. Thankfully, Healthy Boy color-codes the bottles. So far, I have seen:   Light Orange (regular?) Dark Orange ("stir fry seasoning with soy sauce?") Brown/brown-orange Green (says Black Soy Sauce B, I think. High sugar content, mostly additive) Red (sometimes says "sweet") White (sometimes says "sweet") Yellow - thin/light Yellow - thick   Each of those typically have varying sugar/salt contents, and have anywhere from 3 to 10 ingredients. Some are also labeled "Natural Ferment" (sub-questions: What does this mean? Does it matter?)  Just going by the bottle color, is there an easy way to tell the difference between all of these? Also, are certain colors more suited to certain dishes?  (I've also seen a couple Bronze and White that are mushroom and oytser flavored respectively, but this isn't about those ones.)


I installed postgres. It created a user account. I don't need postgres anymore. What are the steps I have to proceed to uninstall it completely from Ubuntu 14.04? (I didn't install the software over the Software-Center.

I have ubuntu 9.10(karmic), and when I attempted to install a new program, the postgres was installed as a dependency of that program, no problem at all if the installation occurs with success, but there was an error, and the Postgres was not installed and the application is not working. I had tryed to update the Postgres and nothing, only the message "there was an error and your postgres can not be installed"  Now I want to remove completely the Postgres from my machine, how can I do that, I do not want to kill the process every boot. I just want to remove Postgres.  What is the command line?  Thanks people.


I exported y design as obj file. Here is the render view. Then when I try to run my obj file in another program ( Vizard), its dark and looks horrible. I attached the screen shot. What am I doing wrong?

I used node textures in a mesh I exported to .FBX.  I then imported it into Unreal Engine 4 and it didn't import any textures; I clicked the Upload Textures option in Unreal Engine.  Is there something I'm doing wrong or is it Blender?


The Natural Disaster Action Movie I'm asking about is about a meteor that fell from space to earth. A man and either his daughter or wife stumble upon the meteor and inside they find a plant-like thing (similar to the one in the 2001 comedy movie, Evolution). The man pulls the giant meteor with his truck and takes it to their home. They discover that that plant-like thing grows roots and cures diseases, bruises, etc. It also gives warnings to them that something is going to destroy earth. At the end, the man and the woman survive along with the plant-like thing inside a cement mixer or cement truck. The truck looks like the one from the 2009 movie 2012: SuperNova.    That's all I know because my uncle told me about this movie, but doesn't know the name of it. All I remember is that he said it's around the year 2000 to now, But it's not a comedy movie, it's like a suspenseful and action movie.

This was a short film about some sort of items or plants/seeds sent to Earth. I remember a guy (like a Midwest farmer-style or something like that) found one.  He starts acting strange, building sort of a bunker container and is tracked by some sort of secret agent trying to get that item.   At the end of the film he puts his daughter with another dude and that item inside it. Then it is sort of the end of the world (post-apocalyptic style) but the magical plant from space is spreading out of that built container. During the destruction of Earth that organic matter sort of spreads inside the container to protect itself and the girl by creating a sort of cocoon.  Also that space magical plant or item fixed/healed a guy with broken legs or something similar in the middle of the movie.


What's in Java the difference between      Integer i = Integer.parseInt(“myString“);    and      Integer i = Integer.valueOf(“myString“);   Thank you very much!!!

How is parseInt() different from valueOf() ?   They appear to do exactly the same thing to me (also goes for parseFloat(), parseDouble(), parseLong() etc, how are they different from Long.valueOf(string) ?  Also, which one of these is preferable and used more often by convention?


I'm trying to print two-sided book with A5 pages. I'd like to insert A4 image into a spread of book. So it should be two pages with two halves of image and no inner margin. Can I do it without splitting original image but only using LaTeX code?

I'd like to include papers of mine which can easily be done with the pdfpages packages:  \usepackage{pdfpages} \includepdf[pages=-]{mypaper.pdf}   However, my thesis has an A5 format. Which means that each page is "half" an A4 page. Basically, I'd like two include each PDF page on two pages, like illustrated below:    While I found how to rotate the PDF using the angle parameter, I did not find how to split it...


I need to compare to List's of Gu45Entity  List<Gu45Entity> Gu45EntityItemsFromDb = DataBaseModel.Instance.Gu45DocumentStore.Include(x => x.EGu45.Gu45).ToList(); List<Gu45Entity> temp = Gu45EntityItemsFormService.Except(Gu45EntityItemsFromDb).ToList();   If I understand correctly I need to implement IEqualityComparer<T> For every class. But how in my case should be implemented GetHashCodefor example to Gu45 . Id should not include in the comparison because it's random number generated by database.  public class Gu45 : IEqualityComparer<Gu45> {     [Key]     public int Id { get; set; }     public Branch Branch { get; set; }     public Direction Direction { get; set; }     public Org Org { get; set; }     public Wagons Wagons { get; set; }     public string Num { get; set; }     public string Date { get; set; }     public string Esr_mount { get; set; }     public string Esr_mount_name { get; set; }     public string Rw_mount_name { get; set; }     public string Delivery_time { get; set; }     public string Taking_time { get; set; }     public string Sign { get; set; }      public bool Equals(Gu45 x, Gu45 y)     {         throw new NotImplementedException();     }      public int GetHashCode(Gu45 obj)     {         throw new NotImplementedException();     } }   Classes:  Gu45Entity:  public class Gu45Entity {     [Key]     public int Id { get; set; }     public EGu45 EGu45 { get; set; } }   Egu45:  public class EGu45 {     [Key]     public int Id { get; set; }     public Gu45 Gu45 { get; set; }     public string Signature { get; set; }     public string DocState { get; set; } }   Gu45:  public class Gu45 {     [Key]     public int Id { get; set; }     public Branch Branch { get; set; }     public Direction Direction { get; set; }     public Org Org { get; set; }     public Wagons Wagons { get; set; }     public string Num { get; set; }     public string Date { get; set; }     public string Esr_mount { get; set; }     public string Esr_mount_name { get; set; }     public string Rw_mount_name { get; set; }     public string Delivery_time { get; set; }     public string Taking_time { get; set; }     public string Sign { get; set; } }   Branch:  public class Branch {     [Key]     public int Id { get; set; }     public string Code { get; set; }     public string Name { get; set; } }   Wagons:  public class Wagons {     [Key]     public int Id { get; set; }     public Wagon Wagon { get; set; } }   Direction,Branch,Org,... and others.

In .NET, the  is used in a lot of places throughout the .NET base class libraries. Implementing it properly is especially important to find items quickly in a collection or when determining equality.  Is there a standard algorithm or best practice on how to implement GetHashCode for my custom classes so I don't degrade performance?


I have indexed all of my webpages into google search console tools.. but Google did not show the results in search results. Can you help me please.. see the latests articles, they wont show in search results

This is a general, community wiki  question and answer pair intended to address any questions   concerning the reasons a site or specific site contents do not appear   in search engine results.      If your question was closed as a duplicate of this question and you   feel that the information provided here does not provide a sufficient   answer, please open a discussion on .   My site (or specific pages on my site) is not appearing in search engine results.  Why isn't my content indexed and what can I do about it?


Web based application requires a credit card to signup for a free 30 day trial account for which I have got mixed reviews, because application does not enforce any limit on the usage and companies like AWS already run on the model that requires credit card to signup of free 30 days trial.  What is the right user experience? Is having a credit card a mandatory thing to create a free trial?

In terms of UX what do you guys think is the best approach when integrating a trial period for subscriptions?  My application offers a 15 day trial, at the minute the user can sign up without providing any payment information (Paypal Subscription). The account is then set to trial status and after 15 days the user will be redirected to an upgrade page.  Do you think this is the best approach? I am unsure whether or not to let Paypal manage the trial, this however means that the user will need to go through the Paypal payment system during signup. I think this may put some people off signing up.  On the other hand this approach may increase the number of conversions to a full account.


I have a dual-boot system with Ubuntu 14.04 and Windows 7.  Windows 7 has recently released an update that won't install due to grub.  I want to restore the windows bootloader so it can install this update, and then go back to grub.  I don't want to uninstall windows or ubuntu.  How can I do this?

A hard drive that I use only for data storage still has GRUB from past Ubuntu installations.  How can I remove GRUB from it without harming the rest of the drive's data?  Background  I occasionally move the data drive between computers with various boot order configurations, so I would like it to be non-bootable in order to avoid having to accommodate it in each computer's BIOS settings.  When I power on a computer while only the data drive is attached, the following appears:  error: no such device: fdf38dd4-9e9d-479d-b830-2a6989958503. grub rescue>    I can confirm from old backups of /etc/fstab that this was the UUID of a root partition that I recently reformatted and which . Here's the the data drive's  and raw .  Please note that I'm not interested in workarounds that don't answer my primary question. I can think of several ways to work around this issue, but it bothers me on principle that I don't know how to directly resolve it. Every installation procedure should have a counterpart uninstallation procedure.


So if I want to apply some function to a big and complex expression, I'd like to use \left( \right) because it scales the parentheses to match the expressions height. However, when doing this, extra space is introduced. Compare f(x) and f\left(x\right):  Source: \documentclass[12pt]{article} \usepackage{amsmath} \setlength{\parindent}{0em} \begin{document} \( f(x) \) (small) \\ \( f\left(x\right) \) (large) \end{document}

Why does the addition of a \left and \right introduces an extra space around the formula? Specifically, why do $\cos(\theta)$ and $\cos\left(\theta\right)$ render differently?  Is there a way to use resizable delimiters without introducing the spurious spaces?  Why did Knuth design it like this?  Edit: This occurs too, if \operatorname{MYOP} or some other operator, like \lim, \min etc. is used. (This edit is basically to make it easier to find this answer.)


I have sandisk 16 GB pendrive when fromat its shows an error media is wrtie protected.I search many tool & ways & trick but fail to fix this issue. Please if any one have solution please help me to get out from this issue.

So, somehow over the weekend, my 1GB USB flash drive has managed to become write-protected.  There is no switch on the stick, so I'm concluding that something has corrupted at some point.  Obviously I can't format it or remove.  The output from dmesg | tail is:  Buffer I/O error on device sdb1, logical block 328168 lost page write due to I/O error on sdb1 sd 73:0:0:0: [sdb] Unhandled sense code sd 73:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE sd 73:0:0:0: [sdb] Sense Key : Data Protect [current] Info fld=0x0 sd 73:0:0:0: [sdb] Add. Sense: Write protected sd 73:0:0:0: [sdb] CDB: Write(10): 2a 00 00 05 08 00 00 00 01 00 Buffer I/O error on device sdb1, logical block 328200 lost page write due to I/O error on sdb1   I think the second and final lines are a giveaway to corruption, but I don't know how to interpret this output.  Could someone help to see if this output gives any indication?  I usually eject the drive before removing it, but I may have been lax once or twice.  The data isn't critical, it's just bugging me.  Any suggestions on how to fix it (if the drive even can be) would be greatly appreciated.


I can get my head around this thing...  So I can find examples of this using reals and naturals, but the intersection of reals and naturals is naturals.  Is there a way to prove that the union of a countably infinite and a finite set is countably infinite with no intersection? A working example maybe? these are some of the tricky questions I stumbled upon.

Ok, here is the problem statement:     Prove that if $S$ is any finite set of real numbers, then the union of $S$ and the integers is countably infinite.   This seems pretty obvious to me, knowing that 2 countable sets are countable.  But is there some step by step way to prove this?  Like do I need to prove bijectivity or something?  Thanks!


I feel like I know the answer to this, but how do you feel about justified type when it comes to common ux principles.  My gut tells me not to use it, but I'd like a better reason than that. I'm finding some issues with dyslexia and users who suffer from it could have a lot of issues reading the type.

Are there any studies on the use of justified text in web apps? How does justification affect screen legibility?  Example of justified text:


If I upvote an answer on my question, I am reminded that I can accept the answer. If I accept an answer on my question, there should be a prompt to upvote the answer.

I surprisingly often stumble upon answers which were accepted but clearly not upvoted by the asker. For example, the answer has not received any upvotes at all or the asker’s vote count is zero. While I acknowledge that , most such cases happen with new users, who have only recently received the privilege to vote and who upvote after a friendly reminder.  Given the anonymity of votes and that I do not check the asker’s profile for every question with an accepted answer I stumbled upon, I assume that there is a huge dark figure for this phenomenon. Also, I naturally most often spot this on my own answers, which makes reminding the asker of their privileges somewhat awkward.  I thus propose that users which accept an answer are reminded by a pop-up that they can upvote it, if:   They haven’t already upvoted it. They have the reputation required for voting. They have cast less than a handful of votes.   I consider the latter criterion to be better than an upper reputation for which the message is displayed, since I know at least one user with several thousand reputation points, who has cast much less upvotes or votes on answers than he has accepted answers on some sites (not that his acceptance rate or general feedback on answers is spectacular).


I'm trying to have a parameter that comes just after he hostname, as in:  www.domain.com/parameter  For this reason, I've set the following rewriteRule, for two parameter values that I'd like to operate with:  RewriteRule ^(en|pt)$ /index.php?language=$1&%{QUERY_STRING} [L]   Works fine! Although, I need to create a new rule, to redirect any request without one the parameters listed.  For that reason, I thought this would work:  RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !^(en|pt)$ RewriteRule ^(.*)$ /pt/$1/ [L,R=301]   But unfortunately is showing a redirect loop.  I've been getting:  http://hostname/pt/pt/pt/pt/pt/pt/pt/pt/pt/pt/pt/pt/pt/pt/pt/pt/pt/pt/pt/pt/pt//   Any tips on how to fix this are appreciated!

This is a  about Apache's mod_rewrite.   Changing a request URL or redirecting users to a different URL than the one they originally requested is done using mod_rewrite. This includes such things as:   Changing HTTP to HTTPS (or the other way around) Changing a request to a page which no longer exist to a new replacement. Modifying a URL format (such as ?id=3433 to /id/3433 ) Presenting a different page based on the browser, based on the referrer, based on anything possible under the moon and sun. Anything you want to mess around with URL   Everything You Ever Wanted to Know about Mod_Rewrite Rules but Were Afraid to Ask!  How can I become an expert at writing mod_rewrite rules?   What is the fundamental format and structure of mod_rewrite rules? What form/flavor of regular expressions do I need to have a solid grasp of? What are the most common mistakes/pitfalls when writing rewrite rules? What is a good method for testing and verifying mod_rewrite rules? Are there SEO or performance implications of mod_rewrite rules I should be aware of? Are there common situations where mod_rewrite might seem like the right tool for the job but isn't? What are some common examples?   A place to test your rules  The  web site is a great place to play around with your rules and test them. It even shows the debug output so you can see what matched and what did not.


This is the error I'm getting:  W:GPG error: http://ppa.launchpad.net quantal Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D1106511179518B2,  W:Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_quantal_main_source_Sources  Hash Sum mismatch W:Failed to fetch gzip:/var/lib/apt/lists/partial/ppa.launchpad.net_mozillateam_firefox-next_ubuntu_dists_quantal_main_binary-i386_Packages  Hash Sum mismatch E:Some index files failed to download. They have been ignored, or old ones used instead.   How can I fix this?

I added some extra repositories with the Software Sources program. But when I reload the package database, I get an error like the following:     W: GPG error:  trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8BAF9A6F   I know I can fix it using apt-key in a terminal, according to the official Ubuntu documentation. But I would have liked to do it graphically. Is there a way to do this without using a terminal?


Given  $N\geq30$ i.i.d. $X_n\approx\mathcal{N}(\mu_X,\sigma_X^2)$,  and NO assumptions about $\mu_X$ and $\sigma_X$, looking for:   accurate closed form distribution approximation of $Y_N=\prod\limits_{1}^{N}{X_n}$ asymptotic (?) approximation of same product    This is a general case, there are also some special cases:  A)   B)

Given  $N\geq30$ i.i.d. $X_n\approx\mathcal{N}(\mu_X,\sigma_X^2)$,  and $\mu_X \approx 0$, looking for:   accurate closed form distribution approximation of $Y_N=\prod\limits_{1}^{N}{X_n}$ asymptotic (?) approximation of same product    This is a special case $\mu_X \approx 0$ of a more .


I'm trying to understand JavaScript prototype and when I attempted coding this I get an error:  function Person(firstname, last name) {   this.firstname = firstname;   this.lastname = lastname; }  var A = new Person('John', 'Doe');  A.prototype.name = 'Toby';   I get an error stating cannot set property 'name' of undefined. Can't i assign a property on it's prototype of Object A. This is just a simple exercise to get an understanding of prototypes

I'm not that into dynamic programming languages but I've written my fair share of JavaScript code. I never really got my head around this prototype-based programming, does any one know how this works? var obj = new Object(); obj.prototype.test = function() { alert('Hello?'); }; var obj2 = new obj(); obj2.test();  I remember a lot discussion I had with people a while back (I'm not exactly sure what I'm doing) but as I understand it, there's no concept of a class. It's just an object, and instances of those objects are clones of the original, right? But what is the exact purpose of this ".prototype" property in JavaScript? How does it relate to instantiating objects? Update: correct way var obj = new Object(); // not a functional object obj.prototype.test = function() { alert('Hello?'); }; // this is wrong!  function MyObject() {} // a first class functional object MyObject.prototype.test = function() { alert('OK'); } // OK  Also these  really helped a lot.


Be like or what is … like?     We can use be like to ask for a description of someone or something   (e.g. their appearance, their character, their behaviour):  What’s your new apartment like?  Not: How is your new apartment like?    What does "someone" mean? Is "a dog" belonged to someone or something?  Is "How is your dog like?" wrong?

How is it like to live in Helsinki?  What is it like to live in Helsinki?  How is living in Helsinki?  What are the differences between these three sentences and what is the common way to ask someone for their opinion about the city they live in?


While reading Analysis II- Terence Tao, he writes that almost all set we encounter are measurable (naturally), and if one wants to create non-measurable set, one need to consult the axiom of choice. Immediately, I think that can we create non-measurable set without the axiom of choice?  The question might seem stupid, I ask just out of curiosity.

Is there any example of a non-measurable set whose proof of existence doesn't appeal to the Axiom of choice?  What would it imply if there was such an example?  EDIT: For instance, maybe this will help understand the kind of example I had in mind, it is known that an important feature to determine that the AC is needed in the Banach-Tarski case is the non-transitivity of rotations on Euclidean space, one might find an example of a transitive group for some given space keeping the rest equal and make the AC unnecessary?  I guess then it might be said that this transitivity will be in this particular case equivalent to the AC or some amount of it, but I guess that it would be important to show this if it hadn't been realized before.


Are these sentences the same in meaning?        I want you to leave me alone.   I want that you leave me alone.       If not, what's the difference between the two?

I'm confused about 'want you to do (something)' and 'want you do (something)'.  Example:      "I want you to eat fish" instead of "I want you eat fish" or "I want that you eat fish".    Can anyone explain what is the grammar rule for this?


I installed ubuntu 14.4 (x86) on my dell laptop  and after installation no  wifi  showing my on my connection ?   while i run   sudo modprobe -r iwlwfi       result :Modprobe:fatal:module iwlwfi not found   lspci -vq | grep -i wireless       Result:  Subsystem: Dell Wireless 1390 WLAN miniCard   lspci -vq | grep -i wireless       ob:00:0 Network Controller : Broadcom coperation BCM4311 802.11b/g   WLAN (rev 01)   How to solve this Error, ubunutu can detect my hardware but it seems not working ?  regards

I'm having serious problems installing the Broadcom drivers for Ubuntu. It worked perfectly on my previous version, but now, it is impossible.   What are the steps to install Broadcom wireless drivers for a BCM43xx card?  I'm a user with no advance knowledge in Linux, so I would need clear explanations on how to make, compile, etc.    lspci -vnn | grep Network showed:   Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b]      iwconfig showed:  lo        no wireless extensions. eth0      no wireless extensions.   NOTE: Answer below is updated every time new information is added and confirmed working.


On page 4 of Landau & Lifshitz's Mechanics they say  $$L\left({v^\prime}^2\right) = L\left(v^2 + 2\bf{v \cdot} \bf{\epsilon} + \epsilon^2\right).$$  Expanding this expression in powers of $\epsilon$ and neglecting terms above the first order, we obtain $$L\left({v^\prime}^2\right) = L\left(v^2\right) + \frac{\partial L}{\partial v^2}2~\bf{v \cdot} \epsilon\,.$$  and then on the next line:  The second term on the right of this equation is a total time derivative only if it is a linear function of the velocity $\bf v$  What is the meaning of this statement? This being a total time derivative would say $ \frac{\partial L}{\partial v^2}2\bf{v \cdot} \epsilon = C(t)$.  Where do we get a linear function of $\bf v$ from this? EDIT: The first part can be found at   , &

I'm a newbie in physics. Sorry, if the following questions are dumb. I began reading "Mechanics" by Landau and Lifshitz recently and hit a few roadblocks right away.  Proving that a free particle moves with a constant velocity in an inertial frame of reference ($\S$3. Galileo's relativity principle). The proof begins with explaining that the Lagrangian must only depend on the speed of the particle ($v^2={\bf v}^2$): $$L=L(v^2).$$ Hence the Lagrance's equations will be $$\frac{d}{dt}\left(\frac{\partial L}{\partial {\bf v}}\right)=0,$$ so $$\frac{\partial L}{\partial {\bf v}}=\text{constant}.$$ And this is where the authors say   Since $\partial L/\partial \bf v$ is a function of the velocity only, it follows that $${\bf v}=\text{constant}.$$  Why so? I can put $L=\|{\bf v}\|=\sqrt{v^2_x+v^2_y+v^2_z}$. Then $$\frac{\partial L}{\partial {\bf v}}=\frac{2}{\sqrt{v^2_x+v^2_y+v^2_z}}\begin{pmatrix} v_x \\ v_y \\ v_z \end{pmatrix},$$ which will remain a constant vector $\begin{pmatrix} 2 \\ 0 \\ 0 \end{pmatrix}$ as the particle moves with an arbitrary non-constant positive $v_x$ and $v_y=v_z=0$. Where am I wrong here? If I am, how does one prove the quoted statement?  Proving that $L=\frac{m v^2}2$ ($\S$4. The Lagrangian for a free particle). The authors consider an inertial frame of reference $K$ moving with a velocity ${\bf\epsilon}$ relative to another frame of reference $K'$, so ${\bf v'=v+\epsilon}$. Here is what troubles me:   Since the equations of motion must have same form in every frame, the Lagrangian $L(v^2)$ must be converted by this transformation into a function $L'$ which differs from $L(v^2)$, if at all, only by the total time derivative of a function of coordinates and time (see the end of $\S$2).  First of all, what does same form mean? I think the equations should be the same, but if I'm right, why wouldn't the authors write so? Second, it was shown in $\S$2 that adding a total derivative will not change the equations. There was nothing about total derivatives of time and coordinates being the only functions, adding which does not change the equations (or their form, whatever it means). Where am I wrong now? If I'm not, how does one prove the quoted statement and why haven't the authors done it?


I'm using the below script to log the user in, but when I run an if statement for is_user_logged_in(), but it doesn't seem to return the user as logged in.   <?php if( isset($_POST['username']) ){     $username = $_POST['username'];     $password = $_POST['password'];     $remember = $_POST['remember'];      $user = get_user_by( 'login', $username );     $user_id = $user->ID;      if( $remember == 'on' ){         $remember_pass = true;     } else {         $remember_pass = false;     }      if ( $user && wp_check_password( $password, $user->data->user_pass, $user->ID) ){         $credentials = array(             'user_login' => $username,             'user_password' => $password,             'remember' => true,         );         $auth = wp_signon( $credentials, false );         if ( is_wp_error($auth) ){             $auth->get_error_message();         } else {             echo '
Success.
';         }     } else {                             echo '
Wrong username or password. Please try again.
';     } } ?>   What exactly am I doing wrong here? Everything is posting correctly, and the array() is working fine. If I run a is_wp_error() with the $auth, I still get a success message. So it's login in, just not actually giving them a session?

I use form to send POST request to a page and to login user with wp_signon() in order to authenticate user to my wordpress installation as described in WP documentation:  $creds = array(); $creds['user_login'] = $_POST["user-login"]; $creds['user_password'] = $_POST["user-password"]; $creds['remember'] = true;  $user = wp_signon( $creds, false );   After this little piece of code I'm checking if user was logged in:  if ( is_user_logged_in() ) { echo "SUCCESS"; } else { echo "FAIL!"; }   But I got FAIL! all the time. Then after sniffing around I found this little trick:  wp_set_current_user( $user ); if ( is_user_logged_in() ) { echo "SUCCESS"; } else { echo "FAIL!"; }   I've got SUCCESS on this one but when I leave this page I got FAIL again and again.  Can anyone explain me how to login user with wp_signon() without logging her out after page is changed or reloaded or whatever.    I've got desirable result when I go to /wp_admin and login with WP's default login form. I can navigate through every page of my WP site remaining logged-in all the time. But when I try to do this outside the default form I FAIL.  Guide me! PLEASE!


Consider $$\sum_{n\geq1} \frac{1}{1+z^n}$$ with $z\in\mathbb{C}$; I have prove that series is NOT convergent when $|z|\leq1$ to it I applied Weierstrass' method. But I do not know how I can prove that series is convergent when $|z|>1$, someone could help?, thanks

$\sum\limits_{n=1}^{\infty}\frac{1}{1+z^n}$, $|z|>1$.  There are two facts that my professor uses that I am confused about.  The first is: $|1+z^n| \geq ||z|^n-1|$, I believe this is true for any $|z|$.  The other is: $\frac{1}{|z|^n-1} \leq \frac{2}{|z|^n}$, I believe this is also true for any $|z|$.  Can anyone prove these statements for me?


When the form is submitted, its gets handles by JavaScript. From the JavaScript, I' am looping the  for the hidden field called "action".  /* This is the funtion that handles the action from .ajax-about form */ function ajax_about_birthday(dataArray){     alert("Works!"); }  $("#about-form-horizontal .ajax-about").submit(function(){     var form, dataArray, action;     form = $(this).serializeArray();     dataArray = form, dataObj = {};     $(dataArray).each(function(i, field){         dataObj[field.name] = field.value;     });      action = dataObj['action'];     action(); // I' am stuck here, how will I call the function using the value from action variable });   From the above code, I don't get any error on the Console.

I have the name of a function in JavaScript as a string. How do I convert that into a function pointer so I can call it later?  Depending on the circumstances, I may need to pass various arguments into the method too.  Some of the functions may take the form of namespace.namespace.function(args[...]).


Show that number of elements in $(Z/nZ)^*$ is $\phi (n)$. $(Z/nZ)^*$ is set having those classes whose inverse exists.  If we prove that $(Z/nZ)$ has elements whose inverse exists are those who are relatively prime to n. Then my question will be proved  So i write let $gcd(a,n)=1$  $1= as+nt$   $as=1mod(n)$  as ~ 1  so class of a . class of s = 1  i.e inverse of class of a exists  Kindly suggest is this correct or some alternative option  Thanks


Note: 1) I dont want to use /secur/logout.jsp as it will log me out from all the active salesforce sessions. 2) I also dont want to use prompt=login, because if an user has a parallel active session, I want the app to use that session to log in the user automatically. Update: 3) I also tried revoking the access token, after which when I try to login, the previous user is automatically logged in without asking for the credentials.  I am developing a connected app in salesforce that allows users to login through salesforce credentials(using salesforce/services/authorize). However I am unable to find a way to log the user out or end that particular session.  Can someone please help me out on this?

NOTE: I am not interested in calling /secur/logout.jsp since it ends all the active salesforce sessions.  I am developing a web application that is registered on salesforce as a connected app, so I am using salesforce credentials to authorize the user.  Application is developed in REST API and the communication with salesforce is happening in restful manner.   Auth url:   Authorization:  Method 1: If there is no salesforce session active, The user is taken to salesforce login page, where he enters his salesforce details to be authorized and after which he is taken to home page of my web application.  Method 2: If there is already a salesforce session active in another tab, the user is directly authorized and is taken to home page of my web application.  Now I am trying to implement logout button for my application, such that the following scenarios are covered,  Scene 1: The user is authorized using method1, and the user press the logout. Upon trying to logback the user is prompted for credentials.  Scene 2:  The user is authorized using method2, and the user should use logout to logout of the web application (not from active sessions). Upon login, the user should be again able to login using method2.  Can someone help me on how to implement the logout button such that it covers scenario 1 & 2.  Thanks in advance.


I've recently taken on a couple of new clients who are now interested in applying their branding to vehicle livery.   I've never really designed in this area before so could do with some advice.  Do I contact the printer that I am going to use to get hold of a template to work to, or is there somewhere that I can get hold of one online? (I have looked, but they all seem to be subscription services).  Any other advice would be much appreciated as this is new territory for me!  Thanks!

Any idea on how to Design Printable stuff for different cars. I mean branding a complete car by designing stickers which are than pasted on a car. The main problem is that how can we get the measurements of different things like doors of the car etc...


I need to delete the following file which I managed to create with bunzip2:   -rw-r--r--   1 beginner group    67493376 Feb 17 17:30 -C   The following don't work    rm -rf '-C' rm -rf "-C"   My OS is solaris.

How do you remove a file whose filename begins with a dash (hyphen or minus) -?  I'm ssh'd into a remote OSX server and I have this file in my directory:  tohru:~ $ ls -l total 8 -rw-r--r--    1 me  staff  1352 Aug 18 14:33 --help ...   How in the world can I delete --help from a CLI?  This issue is something that I come across in different forms on occasion, these files are easy to create, but hard to get rid of.  I have tried using backslash  rm \-\-help   I have tried quotes  rm "--help"   How do I prevent the minus (dash or hyphen) character to be interpreted as an option?


I obtained the hellfire ring recipe in Diablo 3 (base game, no DLCs) and I don't know how to get the materials to craft it.  Is it meant to only be crafted in the RoS expansion or are the ingredients obtainable in the COW level?

In order to obtain a Hellfire Ring or Amulet, one has to work their way through the Uber Boss system of harvesting machines and organs to produce a legendary ring or amulet ().  To create the infernal machine required to open the portals to the Ubers, the keys are drops from mobs nick named Key Wardens.  Where are the various key wardens?  Are there any requirements for making the machines drop? What's the drop rate on different difficulty settings?


I'm trying to install sudo on specialized computer that runs Debian 6 and got error:  Err http://ftp.us.debian.org/debian/ squeeze/main sudo i386 1.7.4p4-2.squeeze.2   404  Not Found [IP: 128.30.2.26 80] E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/s/sudo/sudo_1.7.4p4-2.squeeze.2_i386.deb: 404  Not Found [IP: 128.30.2.26 80]   I suppose it is because of not supported sources list. There is no such file like /etc/apt/sources.list. But I have directory /etc/apt/sources.list.d which contains files with content:  cat multistrap-caenrfid-stable.list     deb http://support.caenrfid.it/debian stable main deb-src http://support.caenrfid.it/debian stable main   multistrap-debian.list     deb http://ftp.us.debian.org/debian squeeze main deb-src http://ftp.us.debian.org/debian squeeze main  multistrap-fallback.list     deb http://archive.debian.org/debian lenny main deb-src http://archive.debian.org/debian lenny main  multistrap-webmin.list     deb http://download.webmin.com/download/repository sarge contrib   What should I do in order to install sudo ?

i installed a new Debian on a small VPS and now when i try to install sudo i just get this message. I also tried to add FTP-Server into the list and i still get that error.  root@srv45758:~# vi /etc/apt/sources.list deb http://ftp.de.debian.org/debian/ jessie main contrib non-free deb http://ftp.de.debian.org/debian/ main contrib non-free deb http://security.debian.org jessie/updates main contrib non-free   Does any one maybe know the problem?


Im trying to play a game called Conquer Online. WHen I go to load the game i get an error that reads "Conquer online cannot be started. The problem could be from your version of Direct3D. It is suggested you re install your graphics driver". So how do I install my graphics driver again?

I use Steam and I have nearly 200 games for it   How compatible or friendly is Ubuntu with DirectX?  Also keep in mind that several of my favorite games use GFWL such as Fable 3, Dawn of War 2, Red Faction Guerrilla among others.   I have been thinking about installing Ubuntu to run alongside Windows but first, I need to know how reliable Ubuntu is as a gaming platform?


It might be an easy thing, but I don't understand the following setup: There is the Pin 3V3OUT that acts as source. But at the same time, the pin is connected to the 3.3V source as well. I recreated that setup in EAGLE and I get an ERC error that the 3.3V source has a double name. Aside from that, why is a source on the chip connected with another 3.3V source?  And is the 3.3V on the JP5 Connector then also connected with the same 3.3V source?  Thank you everyone,

in some words, my circuit is feeded from battery (VBATT). The VBATT is taken with a voltage divider for read voltage by Atmega, and is routed into a voltage regulator (from 0.8/3.2 to 3.3) VREG.  All net for voltage and GND have their names and labels (I need "only" to do the signal routes and voltage divider) as you can see.  Checking for errors, DRC errors complains with  supply pin vcc overwritten with more than one signal  This is the image (if needed I can also give sch and brd)  On board all airwires seems ok, instead.    Thank you for your effort and support.


If each box of cereal contains 2 different prizes at random and there are 7 prizes total, how many boxes would you expect to open in order to collect all 7 prizes?  The standard version of this problem has 1 prize per box.    Can this be generalized for n total prizes and k different prizes per box?

I was looking at various extensions of the classical Coupon Collector problem, but couldn't find any answers or hints for the following modification:  Assume there are $n$ distinct coupons and you get them in batches of a different (random) size. That is, assume that every time you get a black box with coupons in it, whose number can be from $0$ to $n$ and coupons within a black box are distinct. The probability of having a specific coupon in a box is $p$ (that is, it's the same for all). What is the expected number of black-boxes one needs to open to collect all coupons?


While trying to install fluendo on my Acer C720 running 12.04, I was told to add this to my system software sources:  deb  precise main  How do I do this?  This is on an Acer C720 running 12.04.

I keep reading about  ('PPAs') and people answer questions with a link to a PPA. What's the best way to use these?     There are multiple valid answers for this question spanning over several versions of Ubuntu. For your convenience, an index of each is below.


If I have an input such as any one of the following, or even something else...(these are longitude and latitude)  123.4567 N and 123.456789 W  123.45678 and -123.456789  or something like  1sd48.123457 and -1s44.456789  How would I use regex to only get the number and decimal out of it?  One express that I use is [A-Za-z]", "" which remove all the letters. What if the input contains other weird characters? I only want the number and decimal to be left behind once regex is done.

Anyone have a regex to strip lat/long from a string? such as:  ID: 39.825 -86.88333


If $\tan\left(\frac{\pi}{4} + \frac{y}{2}\right) = \tan^3\left(\frac{\pi}{4} + \frac{x}{2}\right)$, prove that $\sin(y) = \sin(x)\left[\frac{3+\sin^2(x)}{1 + 3\sin^2(x)}\right]$  I come until the step where  $ \cos{y}=\cos^3{x}$  After this I dont now what to do

If $$\tan(\frac{\pi}{4}+\frac{\theta}{2})=\tan^3(\frac{\pi}{4}+\frac{\alpha}{2})$$, then prove that $$\sin \theta=\frac{3 \sin \alpha+\sin^3 \alpha}{1+3\sin^2 \alpha}$$  I tried using the fact that  $\frac{\cos A}{1-\sin A}=\tan(\frac{\pi}{4}+\frac{A}{2})$ but now not able to eliminate $\cos \alpha$ and $\cos \theta$. How should I proceed?


OS: ubuntu 14.04 LTS Processor: Intel® Core™2 CPU 6320 @ 1.86GHz × 2  Graphics: Intel® 965Q OS type: 64-bit   I have spent about a week researching a solution to my problem, which only occurred after upgrading from Ubuntu 12.04 to Ubuntu 14.04. Every article I have read online, has not resolved my issue. Neither has a fresh install from live CD. I am able to boot and login successfully but some programs activated (either from dash, launcher or terminal) are not available. These are programs like Gimp, System Monitor, and Gparted.  Even when I have tried to re-burn my ISO file, my CD/DVD is not recognised in Startup Disk Creator. The brand is recognised, but says it only has 2MB of memory, when it has up to 4.7GB. I have tried different disks and all are recognised as only having 2MB of memory, even though the brand of the disk is proven to change.   Everything only seems to work after a fresh install of the ISO (from live CD) and I re-install my back-up files. All programs work perfectly. Then I shut down or logout and into a new user, and that's when I can no longer access programs. I can open them through all the methods available, but the window doesn't open on desktop. The icon locks to the launcher as if the program is open, with the outline of a triangle, rather than the full triangle I get next to Firefox and Thunderbird, which I can always open without issue.  From my research, the outline of a triangle next to the icon in launcher, means the program is open, but its at a different location. When I use Ctrl-Alt-Tab, I can see the window has clearly been activated as if it is operational, but I cannot access the window from my desktop. I only have one monitor, so the information is not being redirected to a second monitor, as I've read has been the case for some.  Upon reading another article, I followed advice issuing commands in terminal (I cannot remember which command, I apologise) but the output was "Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?" This gave my first indication the system is perhaps operating under two identities, or my xsessions are not being executed properly, thus causing a misfire to home directory.  I have tried creating a new user and installing my back-up files there, but the same problem occurs after logging out or shutting down. I have also tried installing kubuntu in an attempt to resolve issues which may be occurring in unity - but I have the same problem of the program opening, but no window making it accessible to the user. I even tried GNOME but the only thing visible was the wallpaper.  Although I can boot without problem, I will include the URL issued after completing Boot Repair, in case it has information which can help.    If you require further information please ask. I will need specific commands to enter into terminal to retrieve the information, however.  *(steeldriver, identified the conflict below)

I have double workspaces, whether I enable them or not. If not enabled, some pdf's open in an unreachable hidden workspace [I know it's there because I can see the Document Viewer open in the launcher]. If I enable workspaces(4 normally), I see the 'double' ones when I go from e.g. no.1 to no.2 using ctrl+alt+arrow, but they're not listed in the launcher, so they remain unreachable. However, when I open some pdf's -not all of them- they open in a hidden workplace and I cannot reach it. Could anybody help? I wouldn't bother if all documents would open in a normal workspace, but as it is I don't manage to get to some of them...


The sentence is-  The management has never and will never close the door to negotiations.  Textbooks says closed should be use instead of close.  I am confused as it sounds strange to ears.  Which one is grammatically correct?

I just wrote  in an ELL chat room. But looking at it (or more accurately, listening to my "inner voice" trying to "read it aloud"), I find it bothers me a lot.  A quick check on Google Books finds a claimed 432 written instances of , and 910 instances of , which suggests a significant minority of writers don't have a problem with the fact that the two different read's don't sound the same.  When I check the same construction with other verbs that don't have the same written form for past participle and present tense, it seems people nearly always include both (e.g. :1230, :8; :357, :7).  I'm not usually a big fan of "grammatical rules", but it seems to me there "ought" to be a rule that you shouldn't delete one instance of the verb unless it's "the same" as the one you're keeping. And it also seems to me that since language is primarily spoken, "the same" ought to mean "sounds the same when spoken", not "looks the same when written".  Can anyone who knows more than me about formal rules of grammar settle this one?    As an aside, offhand I can't think of any verb where the past participle and present tense sound the same but are written differently (maybe there aren't any), but would deletion be okay in that case?


What is the best place to store resource files like css, images & Javascript files.   At the moment i am storing them in layouts folder, but we can store the same in Style Library as well...  So is there any difference in terms of overall performance of the site?

I usually store my JavaScript/jQuery files in the Site Assets library, but I see on forums that others are using the Style Library.  What are the respective benefits of each?


Related post:   With the new add comment button;  with a deleted post appears as follows:    Once I know that the post is either locked (recently?) or deleted, I'm sure that it is certainly a review audit. Doesn't that beat the purpose of an audit? Once I know that the post has had one of the following action taken on it:   The entire thread had been locked! The current post was deleted by community or a moderator!   I'm sure to know that it is an audit. These kind of things can also be picked up by robo-reviewers and they'd be sure to pass these.

Today, on C.SE, I reviewed some 'Late Answers' and First Posts.  I was not even near my daily vote limit.  And yet, I was given a message that said      comments disabled on deleted / locked posts / reviews   It seems I was not the only one either:   The workaround, of course, was simply to go back and provide the guidance - but was this a design or a bug?  If it is design, why would you want to discourage the feedback? Especially with first posts, there is often a high percentage of 'didn't read the FAQ' usage, which can best be addressed by gently providing guidance. (e.g. "Unfortunately, this doesn't answer the question" or "This reads like a comment" or "This really isn't on-topic here - can I suggest you checkout our [faq]" etc...)  Timely first post guidance goes a long way towards making good users.   If it was a bug, was other functionality silently rolled out?


I want to draw the above figure, I have the preliminary code below, how can I edit the following code to have the effect of half shaded node? \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{arrows,shapes} \usetikzlibrary{fit,positioning,automata,calc} \begin{document} \begin{tikzpicture}  \tikzstyle{main}=[circle, minimum size = 10mm, thick, draw =black!80, node distance = 16mm] \node[main] (pzd) [label=below:$y$] { };  \end{tikzpicture} \end{document}

How do I make partially shaded nodes with tikz without hardcoding coordinates?  A plain MWE is as follows:  \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[mynode/.style={circle,draw=black,minimum size=10mm}]      \filldraw[fill=gray!25] (-3.5mm,-3.5mm) arc [start angle=225, end angle=405, radius=5mm];     \node at (0,0) [mynode] {\Large $x$};  \end{tikzpicture} \end{document} \end{tikzpicture}   This works, but I had to compute the coordinates of the shaded arc, and is very tedious when I have to work with a large number of nodes. Is there a way to do this automatically?  I have other code that uses , so if the solution can build on top of that it would be even better.


I have to forecast some monthly timeseries 1.5 years into the future and then sum them up to get 3 semi-annual counts.  The forecasts give forecast intervals, but how do I get from the 6 monthly forcast intervals to one semi-annual one?  Is there some clear formula for that or a good estimate?  Or would it be better to sum the data into semi-annual counts first and then forecast those 3 periods into the future?  I'm using R and the forecast package.  Thanks in advance.  EDIT: My question has been marked as a duplicate of another question that is not actually similar.   First of all, the other questions deals with annual counts and I'm interested in semi-annual counts. It is not quite clear form the answer to the other question how I can get from the annual counts to semi-annual counts since the mechanism behind the trick mentioned isn't really explained.  Second, I'd like to know the theory behind it, not just a trick that works in R (we're using other time series platforms as well, so the R trick is of absolutely no help in those cases, even if it solves my problem with this particular aggregated forecast).  The Otexts book "Forecasting: Principles and Practice 2" seems to have a planned chapter about this problem, but there's only a headline and no text (unless it's my browser that's malfunctioning):

I have a monthly time series (for 2009-2012 non-stationary, with seasonality). I can use ARIMA (or ETS) to obtain point and interval forecasts for each month of 2013, but I am interested in forecasting the total for the whole year, including prediction intervals. Is there an easy way in R to obtain interval forecasts for the total for 2013?


I want to turn off Windows Update on my machine (Windows 7 SP1 x64 Ultimate). However, despite being logged in as an admin, Windows update complains " “Some settings are Managed by your system administrator". How can turn off Windows update?

Currently on a computer running Windows 7 on a domain the Windows Update does not run by itself because "You receive updates: Managed by your system administrator". The error code is 8024402C  Detail: Open Windows Update, there you see a red message "Windows could not search for new updates", Code 8024402C. Below there is an interesting message: "Your receive updates: Managed by your system administrator".  At the bottom there is a link "Check online for updates from Microsoft Update". If I click it it will work but I want the windows update to work by itself not manually.   This system is not connected to the domain most of the time (laptop).  In Microsoft knowledge-base they say that this is caused by WSUS (Windows  Server Update Services).  I want to have automatic updates from WU and WSUS in the same time. If this is not possible I would like to know how can I switch from WSUS to WU. I do have administrator account for local computer.


Prove the following lemma for set of permutations of $\lbrace 1,2,\dots,n \rbrace$ $(n\geq2)$ and a fixed number $k\neq1$:  $\textbf{lemma: }$The number of permutations where 1 and $k$ are in the same cycle, and the number of permutations where 1 and $k$ are in different cycles, are the same.  I don't understand this task. Do you have any hint?

Find the number of permutations in $S_n$ such as 1 and 2 belong to one cycle.


I applied for a Dubai visa using my old passport and have received the entry permit, sent to me through my sponsor as a .jpg file.  This will be my first visit to Dubai, and the entry permit will be converted to a long-term visa upon my arrival.  However, as I will be staying in Dubai for more than 6 months, while my old passport is barely valid for the next 6 months, I used the opportunity to renew my passport to an electronic passport, which means that the passport number on my entry permit is different from the one on my new passport.  Can I go through immigration without any problem as long as I bring both my new and old passports?

My old passport in which an ECR was stamped,with passport expiry date in 2017.I got a Dubai visit visa on its passport number but later on as I was told that it'l be a problem for me to travel to Dubai so I got a new passport re-issued with ECNR with a new passport number.  So will it be a problem for me to travel or do I have to get my UAE visit visa details of my old passport number change to my new passport number?


I have windows 10 so i put in a second hard drive to try to aid with my 100% disk usage but noe it just has on at 100% and the new second one at 0% how do i get the two to work together?

After startup for 5 minutes my system is very slow. The Task Manager shows that the disk usage is at 100%. (Later this number is around 2-4 %, but sometimes for 1-2 minutes go up again at 100%.)  I searched a lot on Google. For example I read , and also other pages. I opened two topic on Microsoft answer.  and one in Hungarian.  But I didn't found the solution yet. So I would like to ask Community's help. :)  Here the steps I already done:   I disabled everything at startups (including services) and the issue is the same.  I disabled Prefetch and Superfetch, the Baground Intellingent Transmission, Windows Search and Windows Defender but the issue is still persists. I made a health check on HDD, I made defrag and file system error check, but there are no errors. Also I tried to reinstall the HDD's driver. I made a full hardware check up, with no errors. The Windows and all the drivers are up-to-date. I tried a clean start. The issue is the same. I deleted Dropbox and all antivirus. I turned of the MSI mode.      I using also Linux, where this error is not occurs. Good to know, that Windows had 4 partitions, but I deleted 2 of them for the Linux. I don't know what partitions was these but both was only 10 - 20 MB.  I using a Dell Inspiron 15R SE 7520 with Windows 10 Home.  Personally I think it can be the Intel Rapid Store Technology "driver", because the problem started around when I installed it. (However I'm not sure.) And my hardware not supported yet by Intel, so I have no the newest driver. However I deleted Intel's software and driver and the issue is the same.    Thank you in advance for your assistance!


I have two homes (read flat or apartment) in two different buildings a few blocks apart. The homes are both the same size but, home 1 gets a huge electricity bill while home 2 gets 1/5 the electricity bill.   I've spoken to a few electricians and they have told me that this could be because of a few reasons;   Home One has a wiring issue where one of my neighbors homes is linked to mine. Have switched off all my appliances and the meter slows down to a near stop - I'm not quite sure if its supposed to stop completely or spin slowly when everything is off? Even if the ring is spinning when everything is off I assume, its slow spinning is adding a few units to my bill at the end of the month? There is an earthing issue. I've apparently got some circuit installed that  The meter is busted (refer point number 1).   Any other guesses?

This might be subjective, I don't know. However, it's a serious problem for me. My electrical bill is outrageous. It's three times as large as my next-door neighbor, and four or five times the size of my neighbor's across the street. It's worse in the summer (I live in central TX), but I've had the air conditioner inspected, and while the house is right at the maximum capacity for our unit, the unit should still be able to take care of the load. That also doesn't explain why our winter bills are larger than the comparables.  What I would like to do is check the amount of current drawn by each running appliance and calculate where all my money is going. I just don't know how to go about doing this.


I’m trying to use a \dbox from the dashbox package in the caption of a figure, like this:  \documentclass{article}  \usepackage{dashbox}  \begin{document}     \begin{figure}         \centering Imagine some figure here          \caption{\dbox{Boxed text} in caption.}     \end{figure} \end{document}   The result I get looks like expected: However, I get plenty of errors:  Undefined control sequence. \caption{\dbox{Boxed text} in caption.} Undefined control sequence. \caption{\dbox{Boxed text} in caption.} Illegal parameter number in definition of \reserved@a. \caption{\dbox{Boxed text} in caption.} Extra \or. \caption{\dbox{Boxed text} in caption.} ...   The package documentation says:     \dbox{text} works like \fbox, but the box is drawn with dashed lines.   But \fbox works fine inside a caption.  The boxes from the fancybox package seem to have similar problems.  What is the correct way to draw a dashed box in a caption?

So I've read a few times about this, the “moving arguments” and all that. But what does it really mean? Could someone explain in a few words what is going on at the TeX level, what is the difference between these two kinds of commands? Furthermore, when do we need to use \protect and why?


I am confused about how Java deals with aggregation within objects, and in particular referencing of objects. It seems like objects will keep a reference to an aggregated object when it is passed as a parameter, rather than copying it like I've been lead to believe.  Say I have a basic class called Foo which contains a string attribute, print function, and setter for the text attribute.   public class Foo {      private String text;      public Foo(String text) {         this.text = text;     }      public void print() {         System.out.println(text);     }      public void setText(String text) {         this.text = text;     }  }   And a class called Bar which contains an attribute of type Foo, and a method called print which calls foos print method.  public class Bar {      private Foo foo;      public Bar(Foo foo) {         this.foo = foo;     }      public void print() {         this.foo.print();     }  }   If I define an instance of Foo, pass it into a new instance of Bar, and then call bars print method it will print "hello" as I expected. However if I then set the text of the original instance of foo to "Edited" using its setter method, bars print method will also print "Edited".  public static void main(String[] args){      Foo foo = new Foo("Hello");     Bar bar = new Bar(foo);     bar.print();     foo.setText("Edited");     bar.print();  }     The Bar object appears to be keeping a reference to the Foo object even though I passed it as a parameter. I'm sure I am missing something trivial here, and I just wanted someone to explain this clearly.

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?


Today I've received the late Marshmallow 6.0.1 update. It has some unpleasant side effects:   Battery is draining fast Greyscale mode has been removed A very ugly grey bar is showing whenever I switch into Power Saver mode   Is there any workaround for these problems?  Config:   Model: N910c Android Version: 6.0.1 Build Number: MMB29K.N910CXXU2DPF6 Base Band Version: N910CXXU1DPC1

The Marshmallow update for Samsung phones (mine is a Galaxy S5, but the Note series has the same problem) seems to have removed the ability to turn on grayscale mode when activating power saver mode.  Is there a way to re-enable this feature?


What is the formal definition of energy in physics?   My question is what is the definition of energy in physics in general ? Moreover is energy a naturally occurring quantity or is a term defined in theoretical physics, ( for example force is somewhat a naturally occurring and not a defined quantity, whereas work is defined term)?

The simplistic undergrad explanation aside, I've never really understood what energy really is. I've been told that it's something when converted from one kind of something to another kind, or does some "work", as defined by us, but what is that something?  Moreover, if the total amount of energy in the universe is finite and we cannot create energy. Then, where did it come from? I've learned from thermodynamics where it goes, but where does it come from?  I know this sounds like something trivially simple, but there is so much going on in the physical universe and I just can't grasp what it is. Maybe it is because I lack the mathematical understanding that I can't grasp the subtle things the universe is doing. Still, I want to understand what it is doing.  How do I get to the point of understanding what it's doing?  (Note: What prompted me to ask this was . I'm afraid that it just puzzled me further and I sat there staring at the screen for a good 10 minutes.)


I'm using Adobe Illustrator CS5.1. When I scale my vector graphic in illustrator down to a smaller size, the graphic itself distorts. I have multiple rectangles that are evenly spaced horizontally, and eye-balled evenly vertically. All the rectangles are the same size. When I scale the graphic down, the rectangles all change to different dimensions and do not maintain the same placement as before. How do I fix this?  Please check out the .ai file to see whats going on.

I am curious as to why when I scale things the general shape changes. The flag in the middle is what I originally started with, and either side is the distorted result of rescaling it.   I have read previous answers and tried: unchecking align to pixel grid upon start-up of new document and then with the flag shape selected; checking 'scale strokes and effects'.  Any ideas? Here is another example of where this has happened, both lines and rectangle shapes have changed (harder to see):    And here is what is checked/unchecked:    I am completely lost... been searching for an answer but nothing. Thank you!


I get 2 refusals for a Schengen visa.  The 1st was from Spain 2 years ago despite having all necessary documents to attend a meeting.   The second one was from Czech Republic despite having clear documents with an invitation letter to attend a fellowship but I was applying with my wife and baby.  Does my chance to be accepted in a third country decrease dramatically as I could be blocked from entry to Schengen or doesn't it matter?   Do you think that reapplying to Czech Republic for a second time without my family would be or should I try to apply through another country for a fellowship as Germany would be the best option?

Over the course of time here on TSE, I have observed individuals whose pattern of visa applications is best described as ''...     serial refusals - Two or more consecutive visa refusals issued by the same regime to the same person. Commonly for the same, or nearly the same, reasons. In some visa regimes Serial refusals can have a cumulative effect wherein the applicant's credibility is increasingly eroded, especially when the application pattern suggests a secondary agenda.   A common thread appears to be the need to visit the destination country (especially Schengen, the USA, or the UK) with a special sense of urgency. Also common in these cases are the following types of questions...   Should I just reapply once again? What are my chances? What can I do to improve my odds in the future? Can I somehow address the previous refusals to avoid them being a burden on all future applications? How can I break the pattern?      NB: This question is intended as a canonical about serial refusals. I have never been personally denied a visa.


Today I was no longer able to mount an NTFS volume (external HDD) that I use on a daily basis. I had the "Unformatted disk" error, prompting me to initialize (reformat) it. After scanning the disk using Disk Drill, I understood that my content were still there and intact. However, it would have taken ~20hrs to salvage content (2TB HDD) and directories would have been lost, as well as most filenames (and some videos got corrupted). I bumped across a similar issue in this forum () and I found a solution using TestDisk. However, I wasn't able to publish my answer as I am a newbie (not enough rep) so I'll post it here, hoping it will help others.

I've searched and tried a lot of stuff but still can't get it to work.  I was able to use my seagate HDD properly last week but now it doesn't mount. I tried plugging it to a PC & another mac, it works fine on both. The reasons could be    Updating OS to macOS Sierra  Not ejecting properly Installed sims4 with wineskin   Things I have tried.   From disk utility clicking on mount & first aid.  From terminal writing: diskutil mount disk2s1 & diskutil mount readOnly disk2s1 both resulted with this  Volume on disk2s1 failed to mount If the volume is damaged, try the "readOnly" option From terminal writing: diskutil repairDisk disk2s1 & diskutil repairVolume disk2s1. Restarted mac in normal mode & safe mode. /private/var/log/install.log from here found some logs but don't know what to do with them.  Switch USB ports & retry. A couple of other things.


I'm developing my first custom module and I need some help with it.  When a user is clicking on the following   Export to Word   then the user should recieve a word document from his node.  I used the hooks_menu. I do not know why. So based on examples it is like this:  function foo_menu() {   $items = array();   $items['exportoword/%'] = array(     'title' => 'Export to Word',     'type' => MENU_CALLBACK,     'page callback' => 'convert_to_word',     'access arguments' => array('access content'),   );   return $items; }   And the of course the function itself.  function convert_to_word ($args = 'all') {  // HOW TO GET THESE argument here? // NodeId           567 // Pathtoxml        /xmlcv // Pathtotemplate   internal.xsl // FileToSave       filename.docx  // Get the NodeID XML from /xmlcv/576 $xml = new DOMDocument; $xml-> file_get_contents( $pathtoxml & '/' &$nodeid );  // Load XSL file from the template location $xsl = new DOMDocument; $xsl->load($pathtotemplate);  // Configure the transformer $proc = new XSLTProcessor;  // Attach the xsl rules $proc->importStyleSheet($xsl);  // Process it $proc->transformToXML($xml);  // Document is now in XHTMl. Somehow convert to .docx   // No clue yet...  // shell converting or just rename the file and push back to customer? //  $output = shell_exec('pandoc -s -S README -o example29.docx'); // Save it to a file on the server or do I return the file?   file_put_contents($FileToSave, $proc);  return 'success   How to get the arguments as parameters in the convert_to_word function?

What are the fundamentals of implementing hook_menu()?  I would like to see the basics covered in a single question, to avoid having to answer the same similar but different questions over and over.


could anyone say what's wrong with my application?   public class HibernateUtil {     private static final SessionFactory sessionFactory;      static {         try {             sessionFactory = new AnnotationConfiguration().configure().buildSessionFactory();         } catch (Throwable ex) {             System.err.println("Initial SessionFactory creation failed." + ex);             throw new ExceptionInInitializerError(ex);         }     }      public static SessionFactory getSessionFactory() {         return sessionFactory;     } }  public boolean insertUser(User user) {     Session session = HibernateUtil.getSessionFactory().openSession();     try {         session.beginTransaction();         session.save(user);         session.getTransaction().commit();      } catch (HibernateException he) {         session.getTransaction().rollback();         return false;     }finally{         if (session != null){             session.close();         }     }      return true; }   This is the only method i call to insert an user in the database, and then if i try to insert another one, launch this exception:  Initial SessionFactory creation failed.java.lang.OutOfMemoryError: PermGen space     UPDATE: I don't know if there's something in hibernate.cfg but here it go:  <?xml version="1.0" encoding="UTF-8"?>                  org.hibernate.dialect.MySQLDialect         com.mysql.jdbc.Driver         jdbc:mysql://localhost:3306/XXXXX         XXXX         XXXXc         thread      <!-- Connection pool C3P0 -->     <property name="hibernate.c3p0.acquire_increment">2</property>     <property name="hibernate.c3p0.min_size">5</property>     <property name="hibernate.c3p0.max_size">100</property>     <property name="hibernate.c3p0.timeout">20</property>     <property name="hibernate.c3p0.max_statements">50</property>     <property name="hibernate.c3p0.idle_test_period">60</property>      <!-- To show sql output on the screen -->     <property name="hibernate.show_sql">true</property>     <property name="hibernate.format_sql">true</property>      <!-- Mapping the tables in my schema -->     ...  </session-factory>     Why this happen and how to fix it ?  Best regards, Valter Henrique.

Recently I ran into this error in my web application:     java.lang.OutOfMemoryError: PermGen space   It's a typical Hibernate/JPA + IceFaces/JSF application running on Tomcat 6 and JDK 1.6. Apparently this can occur after redeploying an application a few times.  What causes it and what can be done to avoid it? How do I fix the problem?


If I have 25 apples and multiply them zero times, why is it that I end up with zero? I understand zero times means no times, right? I mean, multiply by zero is no multiplication. Can anyone explain, please?

If I multiply $a$ by $0$, it means $a$ is added $0$ times, but I am not able to visualize $0$ times!


I want to find out how one can install Ubuntu on a webbook using a usb. I tried to use an external CD drive, but its not detected by my webbook.   I want to upgrade my Ubuntu to 12.04.

I would like to see a full how-to guide on how to install Ubuntu.


I'm a first year PhD student.   I'm in my first stage (doing a literature review) but I face problem in organizing the papers I read and the notes I take for all papers. Should I put all that in one MS Word file for example, or different MS word files, or maybe use a different software?  I don't want to come after month from now and get confused about the way I organize my papers and notes in.   So, any helpful ideas?

Should I use software for managing my references?  What is the benefit of it?   I can write down the references by myself, so I'm not sure what the benefit is.


When I connect to Linux 18  I get this  name@server-Belkin ~> How can I remove "name"? and change it to other name

Some time ago, when I installed Ubuntu, I chose a rather stupid username for my account that I do not want to use anymore. How do I change this (including the name of my home directory, and the name in the terminal) without losing settings for applications? How do I keep permissions and my keys for various authentification (e.g. email, SSH, GPG and more)? What settings could possibly get lost if I changed my username?


I'd like to know how to add a new row copying all formulas from previous row ..  What I'm looking for is as follows   SR. NO     ITEM CODE       DESCRIPTION       UNIT COST      1       5463345       (A V-LOOKUP)     (A V-LOOKUP)       [ADD BUTTON]       2    By pressing the Add button will create a new row with Sr. No 2 (automatic) and copy all the formulas from previous row with a new add button .  I know how to create a button(drawing) and attach script only thing is don't know what the script is to be :( There is also another submit button in this page which will take all these data into a newly created sheet (so far success) Entering the item code will thus add all the required values.

I have a table with cells that have functions/formulas, like this one:    I need a script that creates a new row, copying with it the functions/formulas of the last used row. I find . How could I implement this formatting copy task in Google Apps Script without having to manually select and copy?


i'm not a techie, so I don't want to convert another phone.  I want to buy an "off-the-shelf", ready-to-go, fully supported ubuntu superphone.  where/when can i buy a native ubuntu superphone?

Is the Ubuntu Phone available anywhere yet? I want start developing apps.  I am very impatient to start to develop on real ubuntu phone.


When we visit this page user's page  , If you write any user's name and then move another tag suppose from reputation to new user then it is clearing the textbox's previous value.         Abra ka dabra Search Textbox is blank when you switch the tab.        If I want to search then again I need to write down user's name . Can we change this to preserve the search textbox's value while moving between tabs of reputation,new users,votes,editors,moderatos ?

When clicking between "Week", "Month", "Quarter", "Year" and "All" on the users page, the name I have typed in to filter on disappears. I feel like it should stay there, so that I can type in my name, and see how I've done in a week/month/etc.


// File Security Check if ( ! empty( $_SERVER['SCRIPT_FILENAME'] ) && basename( __FILE__ ) == basename($_SERVER['SCRIPT_FILENAME'] ) ) {     die ( 'You do not have sufficient permissions to access this page' ); }   I see this at the top of every php file in WooCommerce.  Can this be used in every theme file or plugin file as well?  Does that make any sense to even use it this way?  In what way would you use this block of code mostly?  Thanks!

I've run across the following snippet in themes from time to time:  if ( ! defined('ABSPATH')) exit('restricted access');   It's at the beginning of some (all?) PHP files in a theme and it's supposed to prevent direct access of the file by nefarious sources.  I see that this isn't included in Twenty Ten or Eleven and I've never seen it recommended in official WordPress documentation. It seems like a good idea to me, but I also don't know enough about security to judge it and can't find much with Google.  Is this something I should have in my custom themes? If so, should it be in all PHP files or just some?


I would like to install chromium-browser, but since it is a snap, I cannot pre-install it.  Is there another option or way to install it the old-school way and will that be deprecated in the future?

I am wondering whether or not there is a way to completely remove snap from Ubuntu 19.10 without losing the ability to install important applications like Chromium.   When I just recently updated to the newest Ubuntu release I realized that the installer programmatically reinstalled snap, although I had manually removed it before. Additionally the installer removed Chromium, which was installed via the repositories, and reinstalled it via snap.   As I don't want snap to be installed on my machines for various reasons my question is if anybody knows a safe way to remove it, and to get the Chromium DEB back to the sources?  Is there a PPA? Could I use a source of an Ubuntu flavor additionally, which didn't remove the Chromium Deb from its sources?


I need to remove all html tags and formatting from a string, but leave a tags as long as there is an href attribute defined. For example: input:

my link   my text

  desired outcome: my link my text  I am not sure if that matters but I am using kendo editor for input.

This is for .NET. IgnoreCase is set and MultiLine is NOT set.  Usually I'm decent at regex, maybe I'm running low on caffeine...  Users are allowed to enter HTML-encoded entities (<lt;, <amp;, etc.), and to use the following HTML tags:  u, i, b, h3, h4, br, a, img   Self-closing <br/> and <img/> are allowed, with or without the extra space, but are not required.  I want to:   Strip all starting and ending HTML tags other than those listed above.  Remove attributes from the remaining tags, except anchors can have an href.   My search pattern (replaced with an empty string) so far:  <(?!i|b|h3|h4|a|img|/i|/b|/h3|/h4|/a|/img)[^>]+>   This seems to be stripping all but the start and end tags I want, but there are three problems:   Having to include the end tag version of each allowed tag is ugly. The attributes survive. Can this happen in a single replacement? Tags starting with the allowed tag names slip through. E.g., "<abbrev>" and "<iframe>".   The following suggested pattern does not strip out tags that have no attributes.  </?(?!i|b|h3|h4|a|img)\b[^>]*>   As mentioned below, ">" is legal in an attribute value, but it's safe to say I won't support that. Also, there will be no CDATA blocks, etc. to worry about. Just a little HTML.  Loophole's answer is the best one so far, thanks! Here's his pattern (hoping the PRE works better for me):  static string SanitizeHtml(string html) {     string acceptable = "script|link|title";     string stringPattern = @"</?(?(?=" + acceptable + @")notag|[a-zA-Z0-9]+)(?:\s[a-zA-Z0-9\-]+=?(?:([""']?).*?\1?)?)*\s*/?>";     return Regex.Replace(html, stringPattern, "sausage"); }   Some small tweaks I think could still be made to this answer:   I think this could be modified to capture simple HTML comments (those that do not themselves contain tags) by adding "!--" to the "acceptable" variable and making a small change to the end of the expression to allow for an optional trailing "\s--". I think this would break if there are multiple whitespace characters between attributes (example: heavily-formatted HTML with line breaks and tabs between attributes).   Edit 2009-07-23: Here's the final solution I went with (in VB.NET):   Dim AcceptableTags As String = "i|b|u|sup|sub|ol|ul|li|br|h2|h3|h4|h5|span|div|p|a|img|blockquote"  Dim WhiteListPattern As String = "</?(?(?=" & AcceptableTags & _       ")notag|[a-zA-Z0-9]+)(?:\s[a-zA-Z0-9\-]+=?(?:([""']?).*?\1?)?)*\s*/?>"  html = Regex.Replace(html, WhiteListPattern, "", RegExOptions.Compiled)   The caveat is that the HREF attribute of A tags still gets scrubbed, which is not ideal.


I'm studying SHA-3 and I dont understand quite a bit how the padding 10*1 works. Can someone explain me step by step how is it work? Also I know that on SHA3-512 r is 576. On the sponge construction what you need to XOR the first padded message P0 with the r vector. What is the r vector in any situation? (Please be nice with me Im just studying crypto for the first time also Im not an english native speaker)

In FIPS-202 specification, the padding required for SHA3 were not clearly mentioned. so we have analyzed the NIST test vectors for SHA3, which states that append "0x06" (never used 1 followed by 'j'zeros and then 1 specified in FIPS-202) to the message digest, which is a contradiction to the specification.  The link for NIST test vector is :-      could you clarify padding mechanism  for SHA3?


I was having an error all day. And i emptied the xorg.conf in /etc/X11/xorg.conf. The display now eventually shows the login GUI. (i was expecting that all day)  The problem now is that when I go to login and press enter (in order to log me in) the x server or lightdm restart (my screen goes black shows nvidia for 1 sec and comes again to login GUI).  What i am doing wrong?

I have a problem with Ubuntu 13.04.  I cannot log in to my account. I put the right password but there is an endless loop. (if i put wrong pass, it says "Invalid password..."). Also, it doesnt show the small drop down menu with choices "Gnome fallback, Default, etc.."  If i login as guest, the desktop is clear, no bars, no menus, anything. Just right clicks works only.  I have already try  solution ( chown username:username .Xauthority ) but there is no "Xauthority" at ubuntu 13.04. (?)  Is the problem about lightdm? Also, i tried sudo dpkg-reconfigure lightdm but it soesn't work.  I use the recovery mode (root command shell or something like this) in order to try the above commands.  Has anyone a solution?  Thank you.


A)It is not permitted to smoke in the kitchen.      B)It is not allowed to smoke in the kitchen.   According to Practical English Usage(42) the passive structure with it,is only possible with permit. To me sentence B seems to be correct and I can't understand why it is wrong to use it.  And according to Cambridge dictionary example:     The loophole has allowed hundreds of drink-drivers to avoid prosecution.   Unlike the previous accepted answer for this question  I think Something can allow something else to happen as well as something can be permitted.

The exact phrase from the book of Swan (the context is choosing the words permit or allow) -      The passive structure with it is only possible with permit   Having said that...     It is not allowed to smoke in the kitchen - incorrect     It is not permitted to smoke in the kitchen - correct   I feel absolutely fine for the incorrect sentence.   Your inputs please. Make me understand this.


Code:  char keyStr[50]={ 0x5F, 0x80 /* bla bla */ }; uint32_t* reCast  = reinterpret_cast< uint32_t* >( &keyStr[29] ); uint32_t* reCast2 = ( uint32_t* )&keyStr[29]; if( reCast == reCast2 ){     cout << "Same Thing!"; }   Output:     Same Thing!   I wonder what's the difference between the two casting methods. Also if you could specify ( with examples ) difference between static_cast, dynamic_cast, and other types of casting you know ( i.e. while staying as low level and as close to assembly language as possible ).  static_cast dynamic_cast const_cast reinterpret_cast C-style cast (type)value Function-style cast type(value)   Thanks.  Please read the P.S. I know from the example above that reinterpret_cast assigns to the int pointer the address of keyStr[29] In assembly that would translate into:  lea eax, [keyStr+1D] mov [reCast], eax   So in other words reinterpret_cast, in a low level prospective, is not dangerous at all as it does not modify the original data.  I wanted to know how the other casting methods behave in a low level way. So, for example, an object, in a low level way, is just a variable which holds an address. And the type if that object is how the compiler then interprets that address and how it offsets it.( this is exactly what I'm not interested in, in assembly, i could care less if that variable holds a value, a pointer or an object ( i.e. another pointer ) ). Another thing that could be just the same, is the difference between int and int* or unsigned int and int; all 4 declarations generate the same assembly instruction. ( push value ) or (sub esp-(length of int) && mov esp, value) I hope this clarifies the question and why I tagged it "low-level-code" and "assembly"  P.S. In this program I'm trying to create I don't care for non portability or other high level stuff. I'm trying to be as low level as possible and as close to assembly language as possible. That means that, for this program, memory is just memory ( i.e. 0 and 1 bits ) and types are not important ( e.g. I don't care if mem address: 0x123 is an "int" type or "float" type, it's just "data")

What are the proper uses of:   static_cast dynamic_cast const_cast reinterpret_cast C-style cast (type)value Function-style cast type(value)   How does one decide which to use in which specific cases?


I would like to play Pokemon Go, but my phone does not have mobile data. My friends appear to be able to play Pokemon Go without SIM card or personal hotspot. When I asked them, they have claimed they're using a beta version that does not need Wifi. I have read  but it does not help. Can I play Pokemon GO without a mobile data connection or wifi internet?

I downloaded Pokémon GO on my Samsung Galaxy Express and I can play it at home, but when I go outside I can't play because there is no Internet.  How can I play Pokémon GO without Internet outside?


I've found an older self-written extension (.avx) for ArcView 3.2 from a retired co-worker. Unfortunatly I'm not a programmer, but I'd like to use this extension for ArcMap 9.3. or 10.x.  Is there any way to import/convert this extension?

As a side project, I'm looking into the effort required to (semi-) automate conversion from Avenue to Python, instead of keeping ArcView 3.x around to run them.


Hello good afternoon hope you can help me, Is my bank account is safe? I give my account number to someone whom I don't know as he has to give me money? Now I am wondering because he has stopped responding to my messages.

I'm managing the utility of the house and I'm sharing with another person. He asks me to provide my bank account number, so that he can transfer his money to my account when paying the utility.    I wonder if it is safe to give out my bank account number?   For example, if I'm correct, many online payments just need the account number to draw money out of it. Is giving out the bank account number safer than handing a check to another person, since there is also the account number printed on the check?


I want to upgrade from 16.10 to a current release; following the  wiki instructions I changed my repo URLs to old-releases.ubuntu.com, and apt update now completes successfuly, but upgrade fails with 404 Not Found errors for packages. Does this mean that it's impossible to upgrade 16.10 (Yakkety Yak) without doing a fresh install?  Edit: The instructions in  don't work since they result in errors like this:  E: Failed to fetch http://old-releases.ubuntu.com/ubuntu/pool/main/u/util-linux/bsdutils_2.28.2-1ubuntu1.2_amd64.deb  404  Not Found

I am currently using Ubuntu 10.04. I know there is a 10.10 release, but can I upgrade directly to 11.04? Could you walk me through the steps please?


I would like to delete all of my photos from icloud immediately. The only way I have found to do this is select each individual picture and delete it. There does not seem to be a select all option anymore.   I already know about this. I just don't want to have to wait 30 days.   On your iDevice/s (iPhone, iPad, etc), go to Settings > Photos & Camera > and turn off the "iCloud Photo Library" option.

I've been using the beta iCloud Photo Library for a week and a bunch of photos got duplicated and I'd like to wipe all the photos out and start over.  I have backups of all the photos and have turned off iPhoto Cloud Library on all iOS devices. When I log into the web app - it still shows dozens of albums and I can delete all the photos, then go to deleted items and then purge them, but the ghost albums are still there messing things up.  I've turned off the library entirely and you can see there is a 30 day waiting period.     If I click on albums, there are pages of them and no delete button anywhere. If I turn on the library on an iOS device, data starts flooding back as if I wanted to recover the photos.  I don't want to recover anything, I want a clean wipe and clean slate.  Currently, there are 7807 photos in the deleted album and no way to mass delete them. I have 31 albums that show up in iCloud and no way to delete them.  Is there some way to accelerate this or must people wait a month for a corrupt library to eventually be purged to start over?  (I have tickets open with AppleCare after  and it's escalated to engineering, but I was informed that it might be a week or two before it gets seen :-( Perhaps someone has a better idea to clear things out or noticed something I've missed.)


Is it recommended to refer to research done by specific faculty members in a department in the SOP for graduate school admissions?   Does it not imply that you are interested in their research ONLY and thereby reduce your chances in case they don't have funding or had already other applicants/students who wanted to work with them?   If it can be beneficial, how can one address specific faculty research without limiting the audience of their application to them? (More specifically, consider physics PhD programs in US).

The internet is littered with information on what makes a good SOP, but I would like to ask a specific question regarding mentioning one's research interests in SOP.  What points should a student keep in mind while writing her statement of purpose? If there is exactly one specific professor the student is targeting, it makes sense to talk of one of his recent papers and ideas for extending its results in the SOP.    If 1) there are a couple of preferred professors or more, 2) each of them has multiple research interests and 3) the student is unable to zero in on a field or topic, how should the student tailor her SOP to make it appealing to more than one professor? Should the student worry about the feasibility of her ideas in the SOP? Is an extensive literature survey in the relevant field necessary before putting anything in the SOP?


First time on Forum...  I'm about to buy a cheapish mainstream desktop, blow away Windows, and install the latest Ubuntu.  If the desktop hit the market about a year ago, what is the chance that I will be successful?  I realize that it's high, but is it very high, so that I can risk my $250?  I installed Ubuntu, no problems, on an old Dell last weekend.  Out of the PCs I'm thinking of buying for the next one, let me give a concrete example:  Dell i3847-4461BK Desktop PC with Intel Core i3-4150 Processor  On the Ubuntu site they said that Dell did have an U image for this exact one, but being a bit of a novice, I don't know how it will go with a generic install.  Might there be missing drivers or something?  Please note that this question is about probabilities.  If you can give me a 0.99 for that example, great...  Thanks!  Mike

I would like to see a full how-to guide on how to install Ubuntu.


The present state is:    I get two ttf fonts, say font1.ttf and font2.ttf.  I used autoinst tool to convert the both into latex usable fonts.    In my document preamble, now I'm able to use:  \usepackage{font1}   or   \usepackage{font2}   The question now is how (with or without this ability) to redefine fonts for chapter and section names with one of the font?  My first idea was to \usepackage{font1} to set a main font for the document and to \usepackage{titlesec} to format the section/chapter names with the other, but now I can't find how to make use of my font2 inside the \titleformat command

I would change the font of section and subsection of my document. I have created it using book class. I would use this font:    According to Adobe pdf propriety, this font is AvantGarde-Demi. How can I use it in Latex. what command I should use to recreate this in latex. I think I should use titlesec package right?


1) I have a polygon shapefile with 1000 multi-part polygons in it. Each Row of the table is a multipart polygon.  2) I need 1000 shapefiles with 1 multi-part polygon in each.  3) Each output shapefile with 1 multi-part polygon needs to be named with a name from the attribute table (1) unique to each input polygon.  Open to ArcGIS, ArcPy, Model Builder, OGR, QGIS solutions.

I have a polyline shapefile with about 20 kinds of roads. I would like to know how can I create automatically a vector file for each one. I am aware of how to do it using ArcGIS Desktop - see  How do I do it using QGIS or SAGA?


I want to know why $p \leftrightarrow q$ is equivalent to $(p \wedge q) \vee (\neg p \wedge \neg q)$? Without using the truth table.  Thanks all

I am currently working through Velleman's book How To Prove It and was asked to prove the following  $(P \leftrightarrow Q) \equiv (P \wedge Q) \vee (\neg P \wedge \neg Q)$  This is my work thus far  $(P \to Q) \wedge (Q \to P)$  $(\neg P \vee Q) \wedge (\neg Q \vee P)$ (since $(P \to Q) \equiv (\neg P \vee Q)$)  $\neg[\neg(\neg P \vee Q) \vee \neg (\neg Q \vee P)]$ (Demorgan's Law)  $\neg [(P \wedge \neg Q) \vee (Q \wedge \neg P)]$ (Demorgan's Law)  At this point I am little unsure how to proceed.   Here are a few things I've tried or considered thus far:  I thought that I could perhaps switch some of the terms in step 3 using the law of associativity however the $\neg$ on the outside of the two terms prevents me from doing so (constructing a truth table for $\neg (\neg P \vee Q) \vee (\neg Q \vee P)$ and $\neg (\neg P \vee \neg Q) \vee \neg (P \vee Q)$ for sanity purposes)  I can't seem to apply the law of distribution since the corresponding terms are negated.  Applying demorgans law to one of the terms individually on step 2 or 3 doesnt seem to get me very far either.  Did I perhaps skip something? Am I even on the right track? Any help is appreciated


I'm interested in the following question: find the number of partitions of an integer (for example, 1000) into 4 parts not exceeding given bound (for example, 511). How to approach this? If there was no restrictions for parts, the answer would be  $C_{1003}^3$, but I don't know how to take into account those restrictions. Any suggestions?  Edit: parts don't have to be distinct.

How can I find the number of partitions of $n$ into exactly $k$ distinct parts, where each part is at most $M$?  The number of partitions $p_k(\leq M,n)$ of $n$ into at most $k$ parts, each of size at most $M$, is given by the generating function: $$  \binom{M+k}{k}_{x} = \prod_{j=1}^{k}\frac{1-x^{M+k-j+1}}{1-x^j}= \sum_{n=0}^{kM} p_{k}(\leq M,n) x^n $$  For the number of the partitions $p_k(\mathcal{D},n)$ of $n$ into at most $k$ parts there is the recurrence relationship: $$   p_{k}(\mathcal{D},n) = p_{k}(\mathcal{D},n-k) + p_{k-1}(\mathcal{D},n) $$  But what, if I want to count only the partitions with distinct parts and restricted number of parts and restricted part size?  Update: Now I know the generating function for the number of distinct restricted partitions $p_k(\leq M, \mathcal{D},n)$ of $n$ into exactly $k$ distinct parts, all at most $M$ is $$    \prod_{j=1}^{M} (1+xq^{j}) = \sum_{k,n=0}^{\infty}p_k(\leq M, \mathcal{D},n)x^{k}q^{n} $$ and there is also a recurrence relation $$    p_k(\leq M, \mathcal{D},n) =         p_{k-1}(\leq M-1, \mathcal{D},n-k) +         p_k(\leq M-1, \mathcal{D},n-k) $$ How can I prove this? Could you recommend a book, where I could read about this?


I was learning about regex and came across this question . A Regex that matches 4-6 characters of base64 string, appended by . or - and then followed by an email  with an alphanumeric username component, with email domains ending with .in or .co.uk I couldn't figure it out.

I don't really understand regular expressions.  Can you explain them to me in an easy-to-follow manner?  If there are any online tools or books, could you also link to them?


From Algebra Chapter $0$ by Aluffi:        Suppose $\alpha: R \to \mathrm{End}_{\mathsf{Ab}}(M)$ is an $R$-module structure on $M$. I would like to extend this to $R[x] \to \mathrm{End}_{\mathsf{Ab}}(M)$ which would be an $R[x]$-module structure on $M$.  This really amounts to defining how the polynomial $x$ should act on an element $m \in M$, which I am not sure how to define.  How can this be done?

Let $R$ a commutative ring and $M$ a $R$-module. Prove there is a bijection between the set of $R[x]$-module structures on $M$ and $\mathrm{End}_{R-\mathsf{Mod}}(M)$.  I really don't even know how to start with this question.