I want to learn SharePoint Development 2013 from scratch. I found many courses for SharePoint 2010 But I could not find same Essential Training for beginners in SharePoint 2013.  Is there a great book ? or Online course that is dedicated for SharePoint 2013 ?  Or should I watch both tutorials of SharePoint 2010 and 2013 ?


I know we can use describe calls to identify if a field is a custom field or not. Similarly, is there any way we can check if a particular field is a formula field in apex? As per my knowledge and experience, i have never seen a method that can tell us that.. any help will be appreciated.


Can create commands with \section*{} but not \subsection*{}?

I'm trying to create some commands in the article document class that will save keystrokes when I TeX my homework. I end up typing \section*{Exercise #} repeatedly, so I created a macro:  \newcommand{\exer}[1]{\section*{Exercise #1}}   It works fine, however, when I make a similar command for sub-problems:  \newcommand{\part}[1]{\subsection*{Part #1}}   It doesn't work as illustrated below. Any ideas?


I want to install the latest version of Eclipse but the Ubuntu Software Centre contains an older version.  Is there a PPA or some other way to install latest Eclipse? Please describe the steps for full installation.


Given the following image:   $\hskip{1.5 in}$   Supposing $A(100, 300)$ and $B(300, 100)$, how can I find the angle $\alpha$ between A and B?  On a side note, what's the main difference between a point and a vector? translating a point to a vector is as simple as Point = Vector? Sometimes I find articles where the terms are interchangable


Why couldn't Voldemort trace Harry's residence and kill him?

As we all know that Voldemort had one of his Horcruxes in as Harry himself, but sighting that he would be defeated at the hands of Harry, why didn't he - the Dark Lord - take a look into the future to know what was to happen. He could trace down Harry's Muggle residence and try to kill him altogether. That would have given a twist to the story, wouldn't it?


Are wave functions real physical objects?

Are  (ex. electron waves) real physical objects or just mathematical tools?. Some researchers say that they have proof that they are real objects. Here's [the link] ()  Does this mean that wave functions are real objects, after all?


In 'Thor' he seems to have died,                                  Then , due to some sort of Asgardian force he is brought back to life and regains his powers.  So the Question is,  Can Thor be killed?


How to punch text out of an object in Illustrator?

My enterprise logo has the text Job overlapping a bag icon. What I really want to achieve is a white bag logo with the text punched out. That way, on any background the text has the color of that background. Compare the facebook icon with the dark-blue border.       The error it gave me    The bag issue.


How to show $\omega^n$ is a volume form in a symplectic manifold $(M, \omega)$?

I have the following problem: Let $(M, \omega)$ be a symplectic manifold. How can I show $$\omega^n=\underbrace{\omega\wedge \ldots\wedge \omega}_{n-times},$$ satisfies $\omega^n(p)\neq 0$ for all $p\in M$. I believe that is not too dificult but I'm not used with exterior product.. Any help will be valuable...  This is important because the nondegeneracy condition on $ω$ is equivalent to the condition that M has an even dimension $2n$ and the top wedge product $\omega^n$ is nowhere vanishing on M, i.e., $ω^n$ is a volume form. In particular, $M$ must be orientable and is canonically oriented by $\omega^n$.


Would any other people want to remove downvoting

As far as I can tell downvoting is mostly useless.     For questions the only people who get downvoted are lower rep users, or incredibly stupid questions    most questions that are downvoted get closed anyway which should be sufficient downvoting doesn't have too much affect on your rep anyway a negative comment is more useful and more of a push too change or delete the question  For answers downvoting is often used incorrectly as well   people commonly competitively downvote (downvoting another answer to a question that you also answered) obviously not a good behavior downvoting (and upvoting) are contagious, meaning one downvote leads to a bunch of others even though downvotes don't effect rep that much they create a negative environment, no one wants their post downvoted, on the other hand criticizing comments, I think, are far more welcome      So basically in a nutshell a downvote serves no real purpose even if a post deserves it. Flagging, closing and commenting are much more useful to everyone including the poster than downvoting so why have it.    I now see from the answers and comments that downvotes do serve a purpose and would like to retract my request.


Why is the American flag featured upside down and mirrored with no stars on the logo for the Netflix series House of Cards?


How to add to a textbox the red line (like bad spelling in Word)?

How can we produce the effect of the red line under a bad spelling word like the image below :    Update  I do not want to use Google or whatever spell program. I would like to know how to create the effect of the red line.


Can a lightsaber's blade length be changed after it's built or is it fixed upon construction of the lightsaber?


I have tried searching for an answer and looked online, but I'm just getting more confused.  I have a DMM that measures temperature with a thermocouple lead, with a resolution of 1 degree C (shows 020) for 20 degrees C and manual states accuracy of ±1%+3 digits. I understand the 1% of the reading, but I cannot figure out the 3 digits part.  For 20 degrees C, 1% is 0.2. Does this mean I should add 3 to the 0.2 meaning ± 3.2C or add 0.3 to the 0.2 meaning ±0.5C? Or is it something I am missing?  Also temp reading always flickers between 2 readings. Does this mean temp is in between the two?   Thanks


Do native speaker understand "I know to swim."?

I want to know the difference between 'I know swimming.' and 'I know to swim.' Do native speakers understand the meaning of the sentence 'I know to swim.' I didn't see the sentence like 'I know to swim.' but I think that(I know to swim) is a right sentence grammatically. Is the sentence (I know to swim.) not acceptable but understandable by a native speaker?


Attempt to invoke virtual method 'java.lang.String com.google.gson.JsonObject.toString()' on a null object reference

This is my JSON data that I have to get into my interface: {     "data": [{         "id": "1",         "ccode": "+256",         "status": "1"     }],     "ResponseCode": "200",     "Result": "true",     "ResponseMsg": "Country Code List Found!" }  Interface: @POST(APIClient.APPEND_URL+"code") Call<JsonObject> getCode(@Body JsonObject object);  This is where it is throwing the exception on result.toString(). Remember it is a callback, in this method callback(JsonObject result, String callNo) Gson gson = new Gson(); Country country = gson.fromJson(result.toString(), Country.class); cCodes = country.getData(); List<String> Arealist = new ArrayList<>(); for (int i = 0; i < cCodes.size(); i++) {     if (cCodes.get(i).getStatus().equalsIgnoreCase("1")) {         Arealist.add(cCodes.get(i).getCcode());     }  From the models below I am supposed to call data in the above callback public class Country {      @SerializedName("data")     private List<PhoneCodes> mData;      @SerializedName("ResponseCode")     private String mResponseCode;      @SerializedName("Result")     private String mResult;      @SerializedName("ResponseMsg")     private String mResponseMsg;      public List<PhoneCodes> getData() {         return mData;     }     public void setData(List<PhoneCodes> data) {         mData = data;     }     public String getResponseCode() {         return mResponseCode;     }     public void setResponseCode(String responseCode) {         mResponseCode = responseCode;     }     public String getResponseMsg() {         return mResponseMsg;     }     public void setResponseMsg(String responseMsg) {         mResponseMsg = responseMsg;     }     public String getResult() {         return mResult;     }     public void setResult(String result) { mResult = result; } }  public class PhoneCodes {      @SerializedName("ccode")     private String mCcode;      @SerializedName("id")     private String mId;      @SerializedName("status")     private String mStatus;      public String getCcode() { return mCcode; }     public void setCcode(String ccode) {         mCcode = ccode;     }     public String getId() {         return mId;     }     public void setId(String id) {         mId = id;     }     public String getStatus() { return mStatus; }     public void setStatus(String status) {         mStatus = status;     } }  How do I get round this?


Copy a folder with many folders on Windows 8 not possible due to too long names

I have copied a folder with many subfolders into  C:\test   Windows explorer is saying now that some folder names make the directory path too long.  What can I do against this? I really can not change the source folders names and I have to copy those folders!  I use Windows 8.1 Pro  The problem is NOT that a single folder name is too long.  The problem IS that the whole directory path seems to be too long.


Programatic access to Home button in React Native

I'm trying to programatically call Home button with another button inside my project. App compiles fine, but when I tap the button that should call Home I receive following error:     Attempt to invoke virtual method 'void   android.content.Context.startActivity(android.content.Intent)' on a   null object reference   Here is my code (just essentials):  import android.app.Activity; import android.content.Intent;  import android.content.Context;  public class ClassName extends ReactContextBaseJavaModule {   private Context context;    @ReactMethod   public void minApp() {     Intent startMain = new Intent(Intent.ACTION_MAIN);     startMain.addCategory(Intent.CATEGORY_HOME);     startMain.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);     context.startActivity(startMain);   } }   What am I doing wrong?  SOLUTION:  Due to the fact that my app uses react native, the code in bridged method in java file should look as below:  import android.content.Intent;  import android.content.Context;  public class ClassName extends ReactContextBaseJavaModule {    @ReactMethod   public void minApp() {     Context context = getReactApplicationContext();     Intent startMain = new Intent(Intent.ACTION_MAIN);     startMain.addCategory(Intent.CATEGORY_HOME);     startMain.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);     context.startActivity(startMain);   } }   Using this we can assign Home button function anywhere we want ;)


Can anybody share some ideas as to how to treat the dynamics of a gymnast's body when they're in air? As in, dynamics of a system consisting of mechanically coupled rigid bodies in a torque free system? My aim is to find out how a gymnast initiates a mid-air twist without any apparent torque.


"User was removed" results in strange "daily reputation" information?

Two days ago, I first hit the daily cap limit. A bit later, I got -12 (user removed).  Overall, it looks like this:    Although, the daily reputation shows up as 190.   Is that a bug, or do I get something wrong here? (I saw , but I think that doesn't explain what I see here).


I'm making a command shell script name csbin. Here is my csbin file:  for (( i=1; i <= $#; ++i )) do     b+="\$$i " done  echo my_program $b   If I run my shell script as given below:     ./csbin hello everyone welcome here  Here is output what i get:   my_program $1 $2 $3 $4   But i want output must be look like:     my_program hello everyone welcome here   Actually I want to pass all argument (except command name csbin) to my_program. How can I do this? can anyone help me?


Why are so many forces explainable using inverse squares when space is three dimensional?

It seems paradoxical that the strength of so many phenomena (, ) are calculable by the inverse square of distance.   However, since volume is determined by three dimensions and presumably these phenomena have to travel through all three, how is it possible that their strengths are governed by the inverse of the distance squared?  The gravitational force and intensity of light is merely 4 times weaker at 2 times the distance, but the volume of a sphere between the two is 8 times larger.   Since presumably these phenomena would affect all objects in a spherical shell surrounding the source with equal intensity, they travel in all three dimensions. How come these laws do not obey an inverse-cube relationship while traveling through space?


How to convert multiple  to twice  tag in php

I want to remove a concurrence br tag to two tags for the maximum. a tag is  not  here is similar question  but not for my problem.  how to do that with php? This is my code but it doesn't work why?  $s = "line1

line2"; preg_replace("/(
\s*){2,}/", "

", $s);   Here is result i got  line1

line2   What i expect  line1

line2


User Profiles with specific Add-ons loaded?

Is there an option to create custom user profile that has all of the preference options saved to that profile? Would be wonderful to have my tools available to me, at least visually, always. But this is turning out to be impossible in the way that blender displays add-ons on the side. Then it would at least be nice to have seperate profiles with seperate tools loaded via splash screen or in some other form. Do I have to install 4 versions of Blender? Has anyone else ever thought of this or made a tool for just that?


What's the difference between Normalization and Standardization?

At work we were discussing this as my boss has never heard of normalization. In Linear Algebra, Normalization seems to refer to the dividing of a vector by its length. And in statistics, Standardization seems to refer to the subtraction of a mean then dividing by its SD. But they seem interchangeable with other possibilities as well.   When creating some kind of universal score, that makes up $2$ different metrics, which have different means and different SD's, would you Normalize, Standardize, or something else? One person told me it's just a matter of taking each metric and dividing them by their SD, individually. Then summing the two. And that will result in a universal score that can be used to judge both metrics.  For instance, say you had the number of people who take the subway to work (in NYC) and the number of people who drove to work (in NYC).   $$\text{Train} \longrightarrow x$$ $$\text{Car} \longrightarrow y$$  If you wanted to create a universal score to quickly report traffic fluctuations, you can't just add $\text{mean}(x)$ and $\text{mean}(y)$ because there will be a LOT more people who ride the train. There's 8 million people living in NYC, plus tourists. That's millions of people taking the train everyday verse hundreds of thousands of people in cars. So they need to be transformed to a similar scale in order to be compared.  If $\text{mean}(x) = 8,000,000$  and $\text{mean}(y) = 800,000$  Would you normalize $x$ & $y$ then sum? Would you standardize $x$ & $y$ then sum? Or would you divide each by their respective SD then sum?  In order to get to a number that when fluctuates, represents total traffic fluctuations.  Any article or chapters of books for reference would be much appreciated. THANKS!  Also here's another example of what I'm trying to do.   Imagine you're a college dean, and you're discussing admission requirements. You may want students with at least a certain GPA and a certain test score. It'd be nice if they were both on the same scale because then you could just add the two together and say, "anyone with at least a 7.0 can get admitted." That way, if a prospective student has a 4.0 GPA, they could get as low as a 3.0 test score and still get admitted.  Inversely, if someone had a 3.0 GPA, they could still get admitted with a 4.0 test score.  But it's not like that. The ACT is on a 36 point scale and most GPA's are on 4.0 (some are 4.3, yes annoying). Since I can't just add an ACT and GPA to get some kind of universal score, how can I transform them so they can be added, thus creating a universal admission score.  And then as a Dean, I could just automatically accept anyone with a score above a certain threshold.  Or even automatically accept everyone whose score is within the top 95%.... those sorts of things.  Would that be normalization? standardization? or just dividing each by their SD then summing?


C++ Linker error on template class and template function

Test.h   typedef enum oflags_t : uint8_t {     FLAG_CREAT = O_CREAT     , FLAG_RONLY = O_RDONLY     , FLAG_RDWR = O_RDWR   } oflags_t;  template <uint8_t flags> class Test {  public:      template <uint8_t flags_in = flags>     Test(const std::string &p_name);  };  using Test_1 = Test<FLAG_RONLY>;   Test.cpp  template <uint8_t flags> template <uint8_t flags_in> Test<flags>::Test(const std::string &p_name) {  }  template class Test<FLAG_RONLY>;   main.cpp   Test_1 obj1("Obj");   When i try to build this, i get linker error "unresolved external symbol...".   What can i do to solve the issue? Thank you.


I am well aware that the speed of light is a universal constant at which nothing but light can travel.  But why? Why can even light travel at such a speed?  Our maths tell us that anything with rest mass takes infinite energy to reach speed of light, so do we just mean that light is the lightest of all things and it can reach speed of light with negligible energy?  Why isn't the speed constant which appears not only as speed of light, but various other places like GR etc something even more than speed of light?   Why can light reach the speed of light?  I think my question was highly misinterpreted, my question has nothing to do with mass of light. My question is why is the speed limit that appears universally equal to speed of light, why isn't even light allowed to reach the universal speed limit?  Yes after that I did ask, the reason for light reaching the highest possible speed. Whether it is it's unusually less mass(mass-less) or something else.  So to summarize my question is : 1. Why anything at all can reach the top speed limit, why is even light permitted to reach the top speed limit? 2. Why light can reach the top speed? (Only this part is related to the question whose duplicate my question is marked)


What is the benefit of marking function as IMMUTABLE?

I was looking through some of the  functions in our codebase and realized that most of them cannot be set  only because they contain reference to now(), e.g. CREATE OR REPLACE FUNCTION find_nearest_time (   target_times time without time zone[],   target_dows int[],   timezone_name text ) RETURNS timestamp with time zone AS $$ DECLARE   target_time time without time zone;   nearest_time timestamp with time zone;   next_time timestamp with time zone; BEGIN   IF (     array_length(target_times, 1) = 0 OR     array_length(target_dows, 1) = 0   ) THEN     RETURN null;   END IF;    FOR add_day IN 0..6   LOOP     FOREACH target_time IN ARRAY find_nearest_time.target_times     LOOP       next_time := (date_trunc('day', (now() at time zone find_nearest_time.timezone_name) - target_time::interval) + interval '1 day' + target_time::interval) at time zone find_nearest_time.timezone_name;       next_time := next_time + interval '1 day' * add_day;        IF (         extract(isodow from next_time) = ANY(target_dows) AND         (           nearest_time IS NULL OR           nearest_time > next_time         )       ) THEN         nearest_time := next_time;       END IF;     END LOOP;      IF (nearest_time IS NOT NULL) THEN       RETURN nearest_time;     END IF;   END LOOP;    RETURN next_time; END $$ LANGUAGE plpgsql;   However, we can easily rewrite the above function to where now() is passed as a parameter, e.g. CREATE OR REPLACE FUNCTION find_nearest_time (   seed_time timestamp with time zone,   target_times time without time zone[],   target_dows int[],   timezone_name text ) RETURNS timestamp with time zone AS $$ DECLARE   target_time time without time zone;   nearest_time timestamp with time zone;   next_time timestamp with time zone; BEGIN   IF (     array_length(target_times, 1) = 0 OR     array_length(target_dows, 1) = 0   ) THEN     RETURN null;   END IF;    FOR add_day IN 0..6   LOOP     FOREACH target_time IN ARRAY find_nearest_time.target_times     LOOP       next_time := (date_trunc('day', (find_nearest_time.seed_time at time zone find_nearest_time.timezone_name) - target_time::interval) + interval '1 day' + target_time::interval) at time zone find_nearest_time.timezone_name;       next_time := next_time + interval '1 day' * add_day;        IF (         extract(isodow from next_time) = ANY(target_dows) AND         (           nearest_time IS NULL OR           nearest_time > next_time         )       ) THEN         nearest_time := next_time;       END IF;     END LOOP;      IF (nearest_time IS NOT NULL) THEN       RETURN nearest_time;     END IF;   END LOOP;    RETURN next_time; END $$ LANGUAGE plpgsql IMMUTABLE;   This way the function can be marked as IMMUTABLE. What is the benefit of marking function as IMMUTABLE in this case?


PSTricks error "Undefined control sequence  \c@lor@to@ps"


Sharing C# code between Windows and Silverlight class libraries

We wrote a small Windows class library that implements extension methods for some standard types (strings initially). I placed this in a library so that any of our projects would be able to make use of it by simply referencing it and adding using XXX.Extensions.  A problem came up when we wanted to use some of these methods in Silverlight. Although all the code was compatible, a Windows library can't be referenced in Silverlight so we created a Silverlight library that had links to the same class files and put compiler directives into the classes to allow different using declarations and namespaces. This worked fine until today when I added a new class to the Windows extensions library and realised that I would have to remember to link the class into the Silverlight library too.  This isn't ideal and I wondered if anyone might have ideas for a better way of sharing extension methods and other helper code between Windows and Silverlight projects.


What is the maximum amount of checkers you can place on an $m \times n$ checkerboard such that no four checkers make a rectangle parallel to the rows and columns?   The square colors don't matter; it is essentially a grid. Also the checkers are all indistinguishable.  I tried looking at the problem row by row, but this devolved into too many cases. I've also looked at small values of $m$, but couldn't get anywhere.  It seems that if there are a lot of rows, the optimal way is to place 2 checkers for the first $\binom{n}{2}$ rows, and then place 1 continuing down the rest. However, when there are relatively few rows, there seems to be a lot of cases regarding how many checkers to place for each row.


Which of the following is/are correct? A. I only answered two questions. B. I answered only two questions. C. I answered two questions only.


What is the difference between a population and a sample? What common variables and statistics are used for each one, and how do those relate to each other?


Here is the merge method of my merge sort algorithm  private void merge(T[] data, int first, int last) { temp = new Comparable[data.length] ;         int mid  = (first+last) /2 ;         int it1 = 0 ;         int it2 = first ;         int it3 = mid + 1 ;         System.out.println("mid = " + mid + " length = " + data.length);//for testing purposes          while(it2 <= mid && it3 < data.length)         {             System.out.println("it2 = " + it2 +" it3 = "+ it3);//for testing purposes             if(data[it2].compareTo(data[it3]) < 0)                 temp[it1++] = data[it2++] ;             else                 temp[it1++] = data[it3++] ;          }          while(it2 <= mid)             temp[it1++] = data[it2++] ;           while(it3 < data.length)             temp[it1++] = data[it3++];            for (int i = 0; i < data.length; i++)              data[i] = (T) temp[i] ;   But I keep on receiving a java.lang.Integer.compareTo(Unknown Source) error when this merge method is called. I am not sure how I am getting this error at the data[it2].compareTo(data[it3]) line because the while loop ensures both it2 and it3 dont go out  of bounds.  Thanks


Is there any domain $\Omega\subset\mathbb{R}^3$ with nontrivial homotopy group but with trivial first homology?

I'm using the word domain relatively loosely here. Ideally, I mean by a domain $\Omega\subset\mathbb{R}^3$ the interior of a connected smooth 3-manifold with corners in $\mathbb{R}^3$, though if this question has an answer for any connected open $\Omega\subset\mathbb{R}^3$, that would of course also be good. I know that for general manifolds $M$, it is possible that $\pi_1(M)\ne 0$ but $H_1(M)=0$, but how about if we only consider the case for domains $\Omega\subset\mathbb{R}^3$? Does this remain true?


Not able to figure out the logic of the ouput of this pointer code

Consider the following c snippet:  int main(){     int *a = (int *)60;     int *b = (int *)40;       cout << a - b;      return 0; }   The following code give output as 5. My understanding is int *a defines a pointer to memory address of 60, so going by this logic the output should be 20. On outputting the values of a and b, it gives the hexadecimal representation of 60 (0x3c) and 40 (0x28); still the program prints 5.  Can somebody please explain the reason behind this?


My adoptable storage is full. How can I move the data to a bigger MicroSD card?

I've got a Moto G 2014 LTE running CM13. When I found out about the whole 'adopt SD card as internal storage' thing, I was quite excited, as the actual internal storage on this phone is tiny. I set up a 16gb micro SD, the biggest I had at the time, and have been using it with minimal problems.  Fast-forward to this day, and I now have a 64gb micro SD that I want to use instead of the 16gb one. However, I'm at a loss as to the best way to copy the data over onto the new one, or if it's even possible. The ideas I've got so far include:   Titanium Backup all [system] apps, factory reset, format new SD and then restore (should work, but a massive pain) NANDroid the SD card onto a USB OTG stick, then restore to the new one (pretty sure this is a bad idea and won't work, but...) Copy all the stuff onto my computer via my phone through a file manager of some sort (I have a linux/linux/windows triple boot, so file format isn't a problem), format the new SD into phone, and copy back (can't be that simple, can it? Hidden/inaccessible files?) Copy the files onto USB OTG with a root file explorer app, reformat the SD as portable, format the new one as adopted, and then copy them back (could work, except for the point below)  with the command adb shell sm set-force-adoptable true, use a root browser to copy all the data over from the old SD, format the old SD as external and remove it, and take the new SD and put it in the SD card slot (seems overly complicated, and also suffers the below pitfall)   The other thing that worries me is mount points: will the apps with externally-stored data know to look at the new SD card for it? Will I have to remount it in a specific location with the shell each boot (or use an init.d script perhaps)? I suppose that it can always be accessed through /sdcard or /storage/emulated/0, but I'm not 100% sure what goes on behind the scenes.  I've got recent NANDroid backups, so if anyone can eliminate the options that definitely won't work (or say which one[s] probably will), I can try them and report back in case someone stumbles across this question in the future.  EDIT: So, my phone further bit the dust and got to the point where it got into a pretty major bootloop. Ended up having to flash a whole new ROM. As such, I probably won't be able to test the full image/decryption/etc. method that I was originally planning. However, I will write up what I've discovered so far in case anyone wants to take up this particular method in the future:   Image the old SD with dd as follows: sudo dd if=/dev/mmcblk0 of=~/SDCardBackup.img, where /dev/mmcblk0 is the location of the sd card as obtainable through lsblk Restore the image you just made to the NEW sd card : sudo dd bs=4M if=~/SDCardBackup.img of=/dev/mmcblk0 (you may have to unmount it first) From here on in, I was following  (thanks @beeshyams!) tutorial, which explains the next steps way better than I ever could have done. The plan was to decrypt the storage and resize the main partition with gparted. I had no idea whether it would work or not, but I felt it was worth a try. However, when I came to run the actual decryption command using the key I'd extracted, I got an error (which I believe was my shoddy linux skills more than anything).   As I say, I have no idea if the above method would work or not even if everything did go to plan. Also, feel free to correct any of my commands above if I mis-typed them (I'm on Windows currently, so this is all from memory.) If this info helps anyone, then good. But until then,  should work fine.  Thanks, Jackdafish


How to remove JAMF from an Apple Silicon Mac

I'm trying to remove JAMF completely from a MacBook Pro M1 and actually start afresh. I can successfully put it into DFU mode in Apple Configurator 2, and I've tried both Revive and Restore, but what happens each time is that when the MBP reboots after the operation, there are some setup screens and then I'm taken to a screen that forces auto-configuration with a JAMF server! What am I doing wrong?


An impossible sequence of Tetris pieces.

Is there a finite sequence of pieces of Tetris such that for every way of play you always lose?


xubuntu: stopped working during system update

I updated my xubuntu and after some time, screen became black.  Moving mouse, pressing keyboard keys don't work so I restarted my laptop.  Then I got the following error and cannot boot up.    Please help


Continuity equation for charge and current densities of an accelerated point charge

For a point charge that moves with the trajectory $ \vec r(t)$, we know that it has the singular charge and current densities  $$ \rho (\vec x, t) = q \delta^3(\vec x - \vec r(t)) $$ $$ \vec J(\vec x, t) = q \frac{d\vec r}{dt} \delta ^3 (\vec x - \vec r (t))$$  How do you prove that these densities satisfy the continuity equation?  $$ \frac{\partial \rho}{\partial t} + \nabla \cdot \vec J = 0 $$  I considered using the property of the dirac delta  $$ \delta (f(x)) = \sum_i^N  \frac{\delta (x - x_i)}{|\frac{df}{dx}|_{x = x_i}}$$  where $x_i$s are the roots of $f(x)$. In the problem at hand, we see that the dummy variable x is t, and $f(x) = \vec x - \vec r(t)$ so that the only root is $t_0$ which makes $\vec r(t_0) = \vec x$.  However I just don't know how to apply the derivative to the dirac delta. I know that   $$ \delta '[f] = f'(0)$$  Any help please? Thank you very much!


A single word for someone who is not pleased no matter how hard you try

I'm looking for a word that means     someone (especially a boss) who is not pleased (with your work, attitude etc.) no matter how hard you try.


sizeof on array variable Vs sizeof on pointer in c

See below example in c:      #include <stdio.h>       int main()      {          int arr[] = {1, 2 ,3};          int *ptr = arr;          printf("sizeof arr[] = %d ", sizeof(arr));          printf("sizeof ptr = %d ", sizeof(ptr));           return 0;      }   output: sizeof arr[] = 12 sizeof ptr = 4  Why sizeof on pointer "ptr" outputs 4 and on array variable "arr"(although "arr" is also being a pointer) outputs 12 ?


What is the basic idea of loop quantum gravity?

I have researched a little on  (LQG), but all I got were very ambiguous explanations about loops and nodes that all end with mathematical equations.  If someone could give me a non-mathematical, clear idea of LQG, I would really appreciate it.


SQL throwing Syntax Error when using LIKE with Parameters

I am using PDO with PHP to submit queries to my SQL server. I need to use the LIKE clause to check a username to ensure that it is allowed (eg; it does not contain any banned words), so I am using this SQL query...  SELECT * FROM `table` WHERE (`name` LIKE %?%);   I am then inserting the paramater with PDO later like this...  $statement->bindParam(1, $username)   When I try to run this, I get this error...     Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '%'dibdibs'%)' at line 1' in C:\xampp\htdocs\scripts\sql.php:57 Stack trace: #0 C:\xampp\htdocs\scripts\sql.php(57): PDOStatement->execute() #1 C:\xampp\htdocs\api\users.php(30): dibdibs\pdo->query('SELECT * FROM `...', Array) #2 {main} thrown in C:\xampp\htdocs\scripts\sql.php on line 5   The PDO code works fine for other queries, when I am using = instead of LIKE, but is is throwing the above error when I try to use the LIKE clause.  I have put my full code on , if you need to check it. I am using GET to get data, as I am using this with AJAX (which is also working fine), but the username I have tried is 'dibdibs', which works fine in other queries.


java.lang.NullPointerException error in methods

What is causing my error???  public class Keyboard {     private Scanner keyboard;      /**      * Default contructor      */     public void keyboard() {         keyboard = new Scanner(System.in);     }      /**      * get and return an int      * @return an int      */     public int getInt() {         int myInt;         myInt = keyboard.nextInt();         keyboard.nextLine();          return myInt;     } }  public class TestKeyboard {     public static void main(String[] args) {         System.out.println("enter an int: ");         Keyboard keyboard = new Keyboard();         keyboard.getInt();     } }   I am currently getting the following exception:     java.lang.NullPointerException at Keyboard.getInt(Keyboard.java:27)       at TestKeyboard.main(TestKeyboard.java:6)


Is there an antonym for “capitalize” (as in letter-case)?

A word that starts with a lower-case (lowercase?) letter can be capitalized, but what is the converse action?  Google has only one page in the top results that addresses this and the closest thing to a proposed answer is decapitalize, which trips spell-checkers, so de-capitalize.


Creating observation points(vertices) around a line feature in ArcGIS 10.1

Is there any way to create observation points(vertices) or lets just say points on a line feature. What I have is a line feature and I wanna put observation points around that feature, each one with a distance of 10 Meters to the other one. Does anybody know a way to do that? Maybe a tool or something.


How to deal with old questions that are off-topic and cannot be migrated?

I was looking for a possible duplicated question about  in , then looked using the Big G! since the integrated search didn't give me any useful result (laugs) then I found the , but in Stackoverflow! Then, I proceed to flag as off-topic, but since "It's too old to migrate" I don't have the option to do so...  So, my question is, should I leave it like that? Or the question is better in UL (also on topic, just read the question)? Any guidance to this young pada-wan is greatly appreciated.


If $v_1,...,v_m$ are linearly independent, then the span $v_1+w,...,v_m+w$ has dimension $\ge m-1$

Suppose $v_1,...,v_m$ is linearly independent in $V$ and $w\in V$. Prove that   $$ \dim (\operatorname{span}(v_1+w,...,v_m+w)) \ge  m-1$$   It's an exercise in the book Linear Algebra Done Right.  I'm wondering if I can write $U_1 =\operatorname{span}(v_1,...,v_m)$ and $U_2=\operatorname{span}(w)$ then write $$ \dim(\operatorname{span}(v_1+w,...,v_m+w)) = \dim(U_1+U_2)$$  Would you please help me with this problem, I really want a rigorous proof, thanks.


Proof by Induction: Chocolate Bar Question

A chocolate bar is divided into an m x n grid and one of the corner pieces is poisoned. In the chocolate bar game, two players take turns alternately dividing the chocolate into two pieces and choosing which of the pieces to eat. The players may only break the chocolate bar along a single grid line. The person who is forced to take the poisoned piece loses. For which values of m, n, does  (a) the first player have a winning strategy? (b) the second player have a winning strategy?  Prove your conjecture by induction. Hint: set k = min{m,n} and use induction on k.  Edit: This is an assignment question. I managed to reduce the question down into base cases of a 2x2 grid (where player 2 wins), a 2 x m grid where m >= 3 (player 1 wins), and a 3 x m grid where m >= 3 (player 2 wins). The loser for the larger grids can be determined by whoever is the last player to reduce the grid to 3 x m. The problem is I am unable to show this using an induction proof.


No multilingual support cannot enable multilingual quotes on input line?

i get an error in \begin{equation}, i write long equation and split it using \\.  it shows an error   Package pgfplots Warning: running in backwards compatibility mode (unsuitable  tick labels; missing features). Consider writing \pgfplotsset{compat=1.7} into  your preamble


How do I take this shape in Illustrator and curve it along an arc

I want this vector image:    To look like this:    See the way it bends along the top arc? I have tried Warp, but it didn't give it the uniform thickness all the way around.


I'm using XAMPP on linux. I reinstalled XAMPP, but I didn't know that I need to export/import databases and not copy/paste lampp/var/mysql folder. PhpMyAdmin displays my database but it has no tables. I have mysql folder with all db files before I reinstalled XAMPP.


Symmetric Group $S_n$ is Generated by Consecutive Transpositions

I am trying to show that $S_n = \langle \{(i,i+1) ~|~ i \in [1,n-1] \} \rangle = Q$.   I have that $S = \langle \{(i,j) ~|~ 1 \le i < j \le n-1\} \rangle = \langle T \rangle$ , so my goal is to show that $T \subseteq Q$. I discovered that $(i,i+2) = (, and so my hope is that this serves a base case. Through some examples I made the following conjecture:  $$(i,i+k) = \bigg(i+(k-1),i+k \bigg) \bigg(i+(k-2),i+(k-1) \bigg)...\bigg(i,i-1 \bigg)...\bigg(i+(k-2),i+(k-1) \bigg(i+(k-1),i+k \bigg)$$  Assuming that the formula holds for some natural number $k$,   $$\bigg(i,i+(k+1) \bigg) = \bigg(i,i+k \bigg) \bigg(i,i+(k+1),i+k \bigg)$$  This is where I got stuck. I am presently blanking: how can we write $\bigg(i,i+(k+1),i+k \bigg)$ as a product of "consecutive" transpositions? My other question is, is there a simpler way to solve this problem?   EDIT:  Okay. I have since taken a look at the duplicate and come to realize that first proving $S_n$ can be generated by $\{(1,2),(1,3),...,(1,n)\}$ makes things considerably simpler I did this exactly as  did it in his proof of theorem 2.2.  However, I think I might have proved theorem 2.3 (which is the problem I initially posed) slightly differently, but hopefully someone will correct me if I am wrong.  I am not sure it is correct, so here goes nothing.   First, notice that $(1,3) = (2,3)(1,2)(2,3)$ and therefore $(1,3)$ is in $Q$. Now, suppose that $(1,i) \in Q$ for all integers up to some $i \in [1,n-1]$. Then $(1,i+1) = (i,i+1)(1,i)(i,i+1)$ Since $(i,i+1) \in Q$ and $(1,i)$ is in $Q$ by hypothesis, it follows that $(1,i+1) = (i,i+1)(1,i)(i,i+1) \in Q$, and therefore $S_n = \langle \{(1,2),...,(1,n)\} \rangle \subseteq Q$.  This seems a little simpler than the proof given by Keith Conrad, which can be found the aforementioned link.


I was going through this thread:    I just want to add Boot-Repair to my USB stick along with Ubuntu ISO.  How can I do that?


I'm using Oracle SQL and i need some help with max() function.  I have the following table:  ID  | Type | Price | Quantity  1  |  A   |  10   |    2  2  |  B   |  5    |    5  3  |  C   |  10   |    3  4  |  A   |  8    |    7  5  |  A   |  6    |    9  6  |  A   |  7    |    5  7  |  B   |  15   |    3  8  |  A   |  20   |    4  9  |  A   |  3    |    7  10 |  B   |  11   |    8   I need to aggregate the table by Type column. For each group of Type (A, B, C), i need to select the price and the quantity of max(id).  I this case:   ID  | Type | Price | Quantity   9  |  A   |  3    |    7   10 |  B   |  11   |    8   3  |  C   |  10   |    3   Any Suggestion?


Workflow automatization question (macro recorder/command playback)

I have a cube. I select a face of it, and do the following 3 steps:  Insert face Extrude face Resize face  Is there a way to save these 3 actions to be able to use on any other faces? Like a hotkey/macro to improve the workflow. What keywords to search for this? Thanks for your help!


"What were they doing differently *that* had led to this dramatic improvement?"

What were they doing differently that had led to this dramatic improvement?   I saw a sentence having the same structure as the one above. But I am not sure that this sentence is grammatically correct. I would like to know your opinions.    The "that" in the sentence seems a relative pronoun, but where is the antecedent? When I speculate what it says, the antecedent could be the "what". Is it possible?


What are some examples of induction where the base case is difficult but the inductive step is trivial?

According to :     ...proofs by mathematical induction   have two parts: the "base case" that   shows that the theorem is true for a   particular initial value such as n = 0   or n = 1 and then an inductive step   that shows that if the theorem is true   for a certain value of n, it is also   true for the value n + 1. The base   case is often trivial and is   identified as such, although there are   cases where the base case is difficult   but the inductive step is trivial.   What are some examples of proofs by induction where the base case is difficult but the inductive step is trivial?


How to prove the following equality? $$\sum_{n=1}^{\infty}\frac{1}{\prod\limits_{k=1}^{m}(n+k)}=\frac{1}{(m-1)m!}.$$


Thank you ahead of time for your help. I am having issues installing through a USB. At the grub menu, I can choose either "Try Ubuntu without installing" or "Install Ubuntu" and both options lead me to a black screen. I have waited quite some time (15 min) before considering each option a failure. I used two SBs (SanDisk Cruzer U 8 GB and PNY 32 GB) both with an ISO of Ubuntu 17.10 64bit formatted to FAT32 bu Rufus. My system is an 8GB, Core i3 6th gen, with 3 GTX 1080ti and one 960. I am looking to use this build for PyCuda.


Why does T1 encoding has two comma characters?

When I was checking the T1 font encoding table, I realized there are two distinct comma characters: One at 0x0D and another one at 0x2C. They look similar but their kerning differ as far as I see.  What's the reason that there exist two versions of commas? Does one of them used as quotes? Which one?


Maximal ideals of the ring of all continuous functions

Let $R$ be the ring of all continuous functions from the interval $[0,1]$ to $\Bbb R$. For each $a\in[0,1]$ let $$A_a=\{f\in R \mid f(a)=0\}$$  Now firstly, this is part of an assignment problem, please give me hints/insight into the problem, and not a solution.  I want to show that $A_a$ is a maximal ideal - but I am not sure how to think of my set. I have dealt with polynomial rings, perhaps some analogy?  Now, how to know this is a subring? Well if $f_1(a)=0$ and $f_2(a)=0$ clearly this is closed under subtraction and multiplication. Showing it is maximal is harder and I am not sure where to start.


Roots of $\,ax^2+bx+c\,$ are irrational if $a,b,c$ are odd integers

How would I show the following.  For all odd integers a,b, and c if z is a solution of $ax^2+bx+c=0$ the z is not rational.  How would I show this? This is what I did  Let a be an odd integer then for a integer k it has the form $a=2k+1$  then $b=2t+1$ for if c integer.  then $c=2r+1$ if s is an integer then I do  $(2k+1)(x)^2+2t+1(x)+(2r+1)=0$  But I find my self stuck on what to do any hint are appreciated.


ESPG:27700 is displaying incorrect coordiantes

I am new to GIS, so forgive me. I have set up a project using Open Street Map as my background, I have set the CRS to ESPG:27700 British National Grid, however the status bar is not displaying the coordinates correctly, and still says 000,000 is located on the intersection of Greenwich meridian and the equator...any thought how to resolve this?


I'm using Asus FX503 laptop Intel® Core™ i7-7700HQ CPU @ 2.80GHz × 8 8GB Ram, 4gb Nvidia Geforce GTX 1050 graphics card,  I recently installed Ubuntu 18.04.2 LTS on my laptop(not as dual boot),  I'ts taking nearly 30 seconds to boot after a fresh install, while it took only 15 seconds to boot, when I was using Windows 10. I know, 30 seconds is not bad, but I was hoping that the boot time would be faster in Ubuntu. Is there anything, that I can do to decrease the boot time in Ubuntu?  These are the systemd outputs:  user@user-FX503VD:~$ systemd-analyze   Startup finished in 3.473s (kernel) + 23.594s (userspace) = 27.067s graphical.target reached after 23.587s in userspace  user@user-FX503VD:~$ systemd-analyze blame      14.555s dev-sda2.device       8.576s snap-core18-782.mount       8.376s snap-gnome\x2dlogs-57.mount       4.661s vmware-USBArbitrator.service       4.564s snapd.service       4.296s NetworkManager.service       3.112s networkd-dispatcher.service       3.054s udisks2.service       2.464s systemd-tmpfiles-setup-dev.service       2.376s dev-loop12.device       2.160s dev-loop14.device       2.138s ModemManager.service       2.115s dev-loop6.device       2.086s dev-loop22.device       2.048s dev-loop4.device       1.993s dev-loop13.device       1.988s dev-loop15.device       1.946s grub-common.service       1.880s dev-loop18.device       1.739s systemd-sysctl.service       1.711s thermald.service       1.673s avahi-daemon.service       1.398s networking.service       1.391s keyboard-setup.service       1.316s gpu-manager.service


Java for loop through array list returns out of order

Sorry for weird wording of the title, here's my problem: I'm making a game in a java, and I have a Model Library class which loads all the models in a specific folder to an array list of models. The code I have works just fine for loading the models, but the problem is getting a model with a specific name from an Array List.  I use:  public RawModel getModel(String name){     for(int i =0;i< modes.size();i++){         System.out.println((i+1)+". Comparing " + name + " with " + modes.get(i).getName());         if(modes.get(i).getName() == name){             System.out.println("Returned model " + modes.get(i).getName());             return modes.get(i);          }     }     System.err.println("Returned default Model");     return modes.get(0); }   which in theory SHOULD work with getting the model with the said name, but in the console it returns this:  1. Comparing platform.river with cube Returned default Model Returned default Model 2. Comparing platform.river with grenade 3. Comparing platform.river with plasma 4. Comparing platform.river with platform.river 5. Comparing platform.river with waterhole 1. Comparing cube with cube 2. Comparing cube with grenade 3. Comparing cube with plasma 4. Comparing cube with platform.river 5. Comparing cube with waterhole 1. Comparing waterhole with cube 2. Comparing waterhole with grenade 3. Comparing waterhole with plasma 4. Comparing waterhole with platform.river 5. Comparing waterhole with waterhole Returned default Model   It doesn't seem to complete the loop before returning null! Then in the second one it seems to have skipped the loop entirely, then the third one seems to have returned null after looping. Is there a better way to get a model with the said name? How can I fix this issue?


Re-use chapter and section titles in an introductory section on the thesis' structure?

I would like to re-use the titles of chapters and sections in a section on the structure of my thesis. How can I accomplish inclusion of the section heading, as it is for example used in the table of contents, in such a chapter?  A MWE illustrating my intentions goes as  follows:  \documentclass{article}  \begin{document}  \section{Introduction}  \subsection{Coarse Overview} \subsection{Structure}  In Section~\ref{sec:related_work} we talk about XXXX % XXXX should actually be "Related Work". In Section~\ref{sec:model} we talk about XXXX % XXXX should actually be "Model". In Section~\ref{sec:evaluation} we talk about XXXX % XXXX should actually be "Evaluation". In Section~\ref{sec:conclusion} we conclude.  \section{Related Work} \label{sec:related_work} \section{Model} \label{sec:model} \section{Evaluation} \label{sec:evaluation} \section{Conclusion} \label{sec:conclusion}  \end{document}


ERROR 403: Sorry, not allowed to fetch that type of file: jdk-7u80-linux-x64.tar.gz in 14.04

I have had oracle's jdk7 installed on my 64bit Ubuntu 14.04 now for some time and it has behaved as expected.  However lately all my updates has ended in errors and after some research I found the following:  Oracle JDK 7 is NOT installed. dpkg: error processing package oracle-java7-installer (--configure):  subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing:  oracle-java7-installer   The reason is given further up:  Downloading Oracle Java 7... --2015-04-28 12:00:58--  http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz Resolving localhost (localhost)... 127.0.0.1 Connecting to localhost (localhost)|127.0.0.1|:3142... connected. Proxy request sent, awaiting response... 403 Sorry, not allowed to fetch that type of file: jdk-7u80-linux-x64.tar.gz 2015-04-28 12:00:58 ERROR 403: Sorry, not allowed to fetch that type of file: jdk-7u80-linux-x64.tar.gz.   I don't really know how to fix this. I tried purging and re-intsalling but it seems that this is Oracle shutting down the download from Ubuntu users like me. The nerve!


Can I feed a bash script a local file into $1 and have it echo the file's absolute path?

Pretty self explanatory.   The first argument should be:   Checked if the file exists Echo that file's absolute path   For example:  +akiva@akiva-ThinkPad-X230:~$ ./myscript myfile.txt /home/akiva/myfile.txt   Thanks


Ubuntu, being a distribution derived from Debian, uses installer packages with extension .deb whereas other distributions like Fedora, CentOS, OpenSuse, Mandriva ... etc, use .rpm installers.  Many packages on the internet are only packaged in rpm.  If we have a system based on Debian as it may be Ubuntu it is possible to install these packages rpm in the system without harming it.


Google Interview Question about a town where if a couple has a girl born, they can't have more children...

Today I was reading about Google Interview math puzzles and I couldn't solve the following puzzle.  Imagine a town where there is a law:   If a couple have a girl born, then they can't have more children. If they have a boy born, then they can have more children. They keep having children until a girl is born.  Question is: What is the portion of girls to boys in town.  I'm trying to solve it using mathematics. Here is my approach but I'm not getting anywhere. I'm using probabilities to model this world.    Probability that a new couple has 1 boy is 1/2.  Probability that a new couple has 1 girl is 1/2.    Probability that a couple with 1 boy has 2 boys is 1/4.  Probability that a couple with 1 boy has 2 girls is 0. (You can only have 1 girl by law.)  Probability that a couple with 1 boy has 1 boy and 1 girl is 1/4.    Probability that a couple with 2 boys has 3 boys is 1/8.  Probability that a couple with 2 boys has 3 girls is 0. (You can only have 1 girl by law.)  Probability that a couple with 2 boys has 2 girls is 0. (You can only have 1 girl by law.)  Probability that a couple with 2 boys has 2 boys and 1 girl is 1/8.    Probability that a couple with 3 boys has 4 boys is 1/16.  Probability that a couple with 3 boys has 4 girls is 0. (You can only have 1 girl by law.)  Probability that a couple with 3 boys has 3 girls is 0. (You can only have 1 girl by law.)  Probability that a couple with 3 boys has 2 girls is 0. (You can only have 1 girl by law.)  Probability that a couple with 3 boys has 3 boys and 1 girl is 1/16.    At this moment I'm starting to see a pattern. If couple has a boy, then with equal probability they can have a girl as well.  So I sum all the probabilities of all couples in town (infinite number of couples), and I multiply probability by number of boys:  $Boys in Town = 1*1/2 + 2*1/4 + 3*1/8 + 4*1/16 + ...$  I get infinite series:  $ 1/2 + 1/2 + 3/8 + 4/16 + 5/32 + ...$  I sum it up and I get:  $ 1 + 3/8 + 4/16 + 5/32 + ...$  (I don't know how to sum this)  So there will be more than 1 boy for sure!  So I think in this town the ratio will be that there are more boys than girls.  In particula there wil be $ 3/8 + 4/16 + 5/32 + ...$ boys more than girls in town.  There will be 1 girl and 1 + $ 3/8 + 4/16 + 5/32 + ...$ boys.    Please let me know what you think of my analysis. Thanks!


Why does setting a value to a single matrix element effect entire column?

I have this code: A 3X3 matrix of zeros When i set '5' to the 0,0 element of the matrix, the entire columns is set to '5' i tried to debug it but i can't  p = [[0]*3]*3 p[0][0] = 5 for i in p:     print(i)  #prints: #[5, 0, 0] #[5, 0, 0] #[5, 0, 0]


Reason behind choosing the compensating resistor for input bias current in op amps

I found the following explanation online on determining the values used for the compensating resistor:  In either case, the compensating resistor value is determined by calculating the parallel resistance value of R1 and R2. Why is the value equal to the parallel equivalent of R1 and R2? When using the Superposition Theorem to figure how much voltage drop will be produced by the inverting (-) input's bias current, we treat the bias current as though it were coming from a current source inside the op-amp and short-circuit all voltage sources (Vin and Vout). This gives two parallel paths for bias current (through R1 and through R2, both to ground). We want to duplicate the bias current's effect on the noninverting (+) input, so the resistor value we choose to insert in series with that input needs to be equal to R1 in parallel with R2.  Although it is a 'crisp' and simple explanation, I don't understand how it is true, since the current flowing through R2 won't directly go to the ground, but will probably enter the op-amp at the output (op-amp as a current sink). Also, it might go through a few more resistances before going to the ground, since Vout isn't directly connected to the ground.


Can I resume upgrading Ubuntu version if it's undone?

I want to upgrade 16.04 to 16.10. If I start downloading packages with do-release-upgrade and after some done percentages and I stop the procedure, will I be able to resume it later, even after rebooting? if yes, will it be without any problems with system?


The new software center in Ubuntu 16.04 shows no application data found

This is the error I get when I open the software center. I've tried rebooting and running sudo apt-get update but I see no improvement. It worked earlier but I don't know what went wrong since then. I'm using Ubuntu 16.04 final release on a Dell Inspiron 15R. Any advice will be appreciated. Thanks in advance.  EDIT: The problem magically solved itself without me doing anything special (or maybe inadvertently doing something, I don't know). So I'd still like to get to the root of this.


What's another way to say "problem area"?

Looking for some powerful, formal words with a slight negative connotation for a resume/performance assessment. The general context pertains to computer software development.  These aren't my problem areas, they are areas that were problems in someone else's work that I have identified (thus saving the day).  Here's the actual context:     Regularly conducted memory audits to identify problem areas


What is the matter of "doing" in the phrase: "how are you doing"?

I used to hear people say "how are you doing?" in the meaning of "how do you feel" (and that's why people used to answer "very good" or something like it. As a non native English speaker it's difficult for me to understand it and it always interests me to know what is the relation between "doing" to the meaning of feeling.   Editing:  I checked the question that was said to be duplicate, and I didn't find any similarity to my question. I am asking about the relation of the noun "doing" to the meaning of "feel". No relation between them for my opinion.


Is it inappropriate to ask for royalties on a logo design if the client decides to print the logo on products and sell them?

I am fairly new at graphic design and I have just finished creating a logo and marketing materials for a client. I only intended for the images to be used for marketing and advertising of their business, but I'm wondering what kind of rights I have if they randomly decide to try and sell products with the logo.   Is there any way to give my client the rights to use the images for anything they want unless it involves selling items with my designs? If they started selling t-shirts or something, would it be inappropriate to ask for royalties? I keep reading that it is appropriate in this situation to sign over all of the rights to my client since it is their branding materials, but I just don't understand. Has anyone ever had experience with this?   We don't have any sort of contract at the moment (which I now know was a mistake), and I can't seem to find the answer to this question anywhere.


What happens when a vault dweller levels?

Does leveling up a vault dweller ever cause his stats to increase, or is leveling purely for getting caps? It seems like I only ever get caps and nothing else good. Can someone explain what all happens (health increase, more damage, anything?) when you level up a person in your vault?


What is the difference between Left, Right, Outer and Inner Joins?

I am wondering how to differentiate all these different joins ...


Trying to create a code that will print out the face value and suit of randomly pulled set of 5 cards. For some reason it only prints out the input to the methods but not the results of the methods. Can someone please tell where I am going wrong? Thanks! for the results I am getting Output:     3 of 1    2 of 5    2 of 6    0 of 11    3 of 12   import java.util.*;      public class Card {      static int suits = 0;     static int values = 0;     static String c, d,e,f;      public String getSuit()                              {                 if (c == "0")                     e = ("Hearts");                              else                      if (c == "1")                     e = "Spades";                                else                     if (c == "2")                     e = "Clubs";                                     else                     if (c == "3")                     e = "Diamonds";                 else                     e=c;                  return e;                 }              public String getValue() {                  if (d == "0")                     f = ("Ace");                 else                                     if (d =="11")                     f = ("Jack");                 else                  if (d == "12")                     f = ("Queen");                 else                 if (d == "13")                     f = ("King");                 else                     f =d;                 return f;             }      public static void main(String[] args) {         // TODO Auto-generated method stub           Random gen = new Random();          int [] suits = new int[4];         {             for (int index=0;index<suits.length; index++)             suits[index] = index;         }              int [] values = new int[14];         {             for (int j = 0; j<values.length;j++)                 values[j]= j;         }          for (int g = 0; g<5; g++)         {          int a = gen.nextInt(suits.length);           int b = gen.nextInt(values.length);           c = Integer.toString(a);           d = Integer.toString(b);          //System.out.println(c);          //System.out.println(d);           Card draw = new Card ();           draw.getSuit();          draw.getValue();           System.out.println(e + " of "+f);         }     }


I want to convert 3 to 3.00. I have done explicit type conversion. but guess it doesn't seem to work!whats wrong? my code: #include<iostream>   using namespace std;  int main(){     int PI = 3;     double a = static_cast<double>(PI);     cout<<a;   }  output: 3


How can I disable playlist autoplay in YouTube?

When I open on YouTube a video, which is in a playlist, after the video has reached the end another video from that playlist is loaded automatically. In YouTube settings "Repeat playlist" button is turned off, "Autoplay" is turned off. In addition, the Firefox preference "Warn me when websites try to redirect or reload the page" is turned on.  Yet somehow YouTube redirects and loads another web page with another video.  Is it possible to stop this behavior either through YouTube settings, or through the Firefox preferences?


How many subgroups of order $n$ does $D_n$ have?  My work:  Since subgroups of $D_n$ are either cyclic or dihedral, the subgroups of order $n$ of $D_n$ are $\left< r \right>$ (cyclic) and $D_{n/2}$ (dihedral). However, this works only for $n$ is even and $n\geq 2$. I don't know how to do when $n$ is odd.


Countability of sets with countable coefficients

Let me know about this two examples.   1) set of all polynomials with rational coefficients.  2) set of all polynomials whose coefficients belongs to set ${\{1, 2\}}$   I know the first one is countable set. Because we can write first set as union of countable sets $P_n$ which is set of polynomial with rational coefficients having degree at most n"   But, I am stuck at second one, as I see in the first one coefficient belongs to countable set $Q$ so the given set is countable and in second one also, coefficient belongs to set $\{1, 2\}$ which is also countable set and hence set given in 2) is also countable? Is am I right?


Owners and groups of everything inside /var are changed mistakenly

I have recursively changed owner and group of /var to root:root. I have mistakenly ran following command while standing in /var. I thought I was in /var/www,  sudo chown root:root . R   Now many things are stopped working, my system was fresh, only LAMP was installed. Now what should I do? Reinstall my system or is there any way to change owner and group to default state?  It is Debian 8 with LXDE.


How to run sudo command with no password?

How does the ubuntu user on the AWS images for Ubuntu Server 12.04 have passwordless sudo for all commands when there is no configuration for it in /etc/sudoers?  I'm using Ubuntu server 12.04 on Amazon. I want to add a new user that has the same behavior as the default Ubuntu user. Specifically I want passwordless sudo for this new user.   So I've added a new user and went to edit /etc/sudoers (using visudo of course). From reading that file it seemed like the default ubuntu user was getting it's passwordless sudo from being a member of the admin group. So I added my new user to that. Which didn't work. Then I tried adding the NOPASSWD directive to sudoers. Which also didn't work.   Anyway, now I'm just curious. How does the ubuntu user get passwordless privileges if they aren't defined in /etc/sudoers. What is the mechanism that allows this?


Let $A$ and $B$ be $k\times k$ matrices such that $AB^k - B^kA = B$. I have to prove that $B$ is nilpotent. It is easy to see that $\text{trace}(B) = 0$. I do not have any idea how to proceed further.


show $\Bbb Z_6 \cong \Bbb Z_3 \times \Bbb Z_2 $.

I am trying to determine if $\Bbb Z_6 \cong   \Bbb Z_3 \times \Bbb Z_2 $. I noticed that $\Bbb Z_6$ has a generator $1$ and $\Bbb Z_3 \times \Bbb Z_2$ has generator $(1,1)$. Now I set up the bijection $f :\Bbb Z_6 \to   \Bbb Z_3 \times \Bbb Z_2 $ where \begin{eqnarray} f(1)&=&(1,1)\\ f(1+1)&=&(1,1)+(1,1) = (2,0)\\ f(2+1)&=&(2,0)+(1,1) = (0,1)\\ f(3+1)&=&(0,1)+(1,1) = (1,0)\\ f(4+1)&=&(1,0)+(1,1) = (2,1)\\ f(0)&=&(1,1)+(2,1) = (0,0)\\ \end{eqnarray} So basically $f(1^n) = (1,1)^n$ where $1^n$ means we add the $1$ to itself $n$ times and take the result mod 6, so as per usual $1^n$ means applying the group operation on 1 to itself for $n$ times. So this is a bijection but I am stuck on showing that $f(ab)=f(a)f(b)$ for all $a,b \in \Bbb Z_6$. I could check all possibilities but there must be a better way to show this. I was thinking something like $f(1^n1^m) = f(1^{n+m})=(1,1)^{n+m}=(1,1)^n(1,1)^m = f(a)f(b) $ because every element in $\Bbb Z_6$ can be expressed as some power of $1$.  Is this right? And is it enough to show $\Bbb Z_6 \cong   \Bbb Z_3 \times \Bbb Z_2 $?


What happens to sectors marked as bad when HDD is repartitioned?

If I have an HDD with some bad sectors and I format the disk (from Windows) or re-partition the disk, will bad sectors still be marked as bad?


I'm learning how to write programs in C using the k&r book (The C Programming Language) and I have a problem with one of the exercises. It's asking me to detect and remove a character in string s1, which matches any characters in the string s2.  So, say s1 = "A";  And s2 = "AABAACAADAAE"  I want it to return "BCDE"  I know I'm on the right path towards it, i just don't know how to design programs very well, could you give me any additional tips. I tried to read about the binary search tree algorithm, but felt it was a little too advanced for this mundane task.  Thanks everyone!  /* An alternate version of squeeze(s1, s2) that deletes each character in  * s1 that matches any character in the string s2  *  * Angie@odfx.org  */  #include <stdio.h> #include <string.h>  void squeeze(char s[], char t[]);  char string[] = "BAD"; char sstring[] = "ABC";  int main(void) {     squeeze(string, sstring);     return 0; }  void squeeze(char s[], char t[]) {     int i, j, d;      d = 0;     if(strstr(s, t) == NULL)         printf("%c", s[i]);     s[j] = '\0'; }


Change "chapter" to "Chapter" - How to do this using autoref?

I am trying to change "chapter" to "Chapter" when autoreferencing the label    I have looked for a solution and some comment in this closed question  suggested to use renew command  I have used "babel" as well as "renewcommand" but nothing has changed.  Can someone please help? Minimum working example below.  %% *** Add any desired options. *** \documentclass{book}  \usepackage{siunitx} \usepackage{nomencl} \usepackage{amsmath} \usepackage{nicefrac} \usepackage{nomencl} \usepackage{amsmath} \usepackage{amsthm}      \usepackage{amssymb} \usepackage[english]{babel} \usepackage{hyperref} \renewcommand{\chaptername}{chapter} \begin{document}        \chapter{Before We Begin}        In \autoref{Chapter2}, we will talk about how to live a full life.        \chapter{Begin}        \label{Chapter2} \end{document}


How do I store an input as a global variable?

I am an absolute newbie when it comes to python and am learning by doing via my own text adventure game.   I have some code that enables the user to input their name:  # player name def playerName():     name = ""     name = input("Before we begin, what is your name, warrior? ")      print("\n")     print("Welcome {}, now be on your way!".format(name))     print("\n")   This works as it is supposed to in the game. The player inputs their name and the game continues. However, I would like to be able to print the player's input later on in a different function and keep running the error message that name is undefined..  So I am trying to store this input as a global variable. I think that is the correct method, yes?  I have read up about storing functions as a global variable but these are always already specified by the programmer, i.e. name = sarah.  How do I store the input so that I can print it later on? I thought print("string" + name) would have been enough later on. But I have obviously misunderstood something.


overinstall/reinstall/repair Windows 7 and keep old programs and data?

I have a broken Windows 7 system which does not fully boot. The system restore is not working.  I am inexperienced with Windows systems.  Question: Is it possible to use a Windows 7 install CD and install it over the old system? Will the data and programs be preserved? Or is there a repair/reinstall/overinstall mode? I haven’t tried it yet, as I don’t want to destroy anything.


Kindly follow the below HTML code. I want to get the text "DefaultBP" in between the  tag. If I using this XPath "//div[@class='workspace']//h1", all the texts including  tag such as "Export", "Import", "Tariff List" & "Add Prefix" are displayed. I want only the text "DefaultBP". Hope to hear from you soon.
      <input  type="hidden"  name="addressRuleId"  id="addressRuleId" value="1"/>

DefaultBP                     Export                     <input type="hidden" id="status" name="status" value="null">                     <input type="hidden" id="bpCode" name="bpCode" value="defaultbp">                     <input type="hidden" id="bpName" name="bpName" value="DefaultBP">                     <input type="hidden" id="addressRuleId" name="addressRuleId" value="1">                     Import                                                               Add Prefix                     Tariff List


I just got this game, and I picked Fennekin, the fire Pokémon as my starter. Is there a way to get the other two starters too, or am I limited to only getting one?


Is it possible to create a keyboard shortcut for changing the color of a cell in Google Sheets?

I often find myself manually changing cells in a Google sheet to be a particular color. Is it possible to create a keyboard shortcut for changing the color of a cell?


I have a Alcatel onetouch model 50540 running android 5.1.1 as in the title. it is rooted and began uninstalling pre-installed bloatware on my device. I do not have a complete list of uninstalled apps because I had only kept track after the first few, but ill list the ones I do know about    Download Manager Downloads Talkback Hangouts Cricket Wi-Fi Manager Camera Email Onetouch Launcher   That is the essence of what I did. I do have an edited hosts file as a makeshift adblock.  Play store gives me an error code 0 to which I removed app data and tried again, same problem.  I have tried installing local apps which brings up an "app not installed" box.  Lastly I have tried do directly extract the app into /data/app and rebooting which didn't work.


Homeomorphism of unit disc onto itself interchanging two points.

I've searched this topic already and found similar question.  But it was not fully answered.  Actually I know the Möbius transformation of form  $\frac{z-a}{1-\bar a z}$ is the automorphism of unit disc and interchanges $0$ and $a$.  But if I want it to change two arbitrary points in the disc. The above mapping fails.  Then how does the mapping which satisfies the condition on the title look like?  I'd like to see the mapping itself. (I mean like $f(z)=z$)


Suppose that $f(z)$ is entire with $a$ and $b$ positive constants. If $$f(z+a)=f(z+b i)=f(z)$$ for all $z$, show that $f(z)$ is constant . Which theorem could I use ? Please give some hint thankyou


aligned multi-line equation with intertext and block-wise numbering

I try to reproduce the output that is generated by:  \begin{equation}     \begin{aligned}     (x-x_1)^2 + (y-y_1)^2 & = r_1^2 \\     (x-x_2)^2 + (y-y_2)^2 & = r_2^2 \\     (x-x_3)^2 + (y-y_3)^2 & = r_3^2 \\     \end{aligned}     \label{label a} \end{equation} Additional lines: \begin{equation}     \begin{aligned}     (x-x_k)^2 + (y-y_k)^2 & = r_k^2          \end{aligned}     \label{label b} \end{equation}   but make the two aligned blocks use the same alignment (as if it was just one align block. I tried to do this with just one align block + intertext for the line of text in the middle. But this gave me 4 lines of equation with 4 individual numbers which is not desired.   Thanks for your help and sorry for my bad english.


Centos 7 server does not boot X64 Exception Type - 0D(#GP - General Protection)

I ran a yum update on a Centos 7 server that previously worked well, then tried to restart it with the command reboot. The server is a google cloud compute instance. It would not come up. The output on the serial console is: BdsDxe: loading Boot0003 "CentOS Linux" from HD(1,GPT,C8B5C89A-17ED-480E-B9F6-0E811C16FEE3,0x800,0x64000)/\EFI\cent os\shimx64.efi                                                                                BdsDxe: starting Boot0003 "CentOS Linux" from HD(1,GPT,C8B5C89A-17ED-480E-B9F6-0E811C16FEE3,0x800,0x64000)/\EFI\cen tos\shimx64.efi                                                                                UEFI: Attempting to start image.                                                                                Description: CentOS Linux                                                                                FilePath: HD(1,GPT,C8B5C89A-17ED-480E-B9F6-0E811C16FEE3,0x800,0x64000)/\EFI\centos\shimx64.efi                      OptionNumber: 3.                                                                                !!!! X64 Exception Type - 0D(#GP - General Protection)  CPU Apic ID - 00000000 !!!!                                 ExceptionData - 0000000000000000                                                                                RIP  - 00000000BF2E6D5C, CS  - 0000000000000038, RFLAGS - 0000000000010006                                          RAX  - 00000000BFF67E50, RCX - 000000000000001F, RDX - 00000000BFF39F28                                             RBX  - 00000000BF352FB0, RSP - 00000000BFF39E50, RBP - 00000000000023C0                                             RSI  - 00000000BFF39F28, RDI - 0000000000000068                                                                     R8   - 00000000BDB79018, R9  - 000000000000211E, R10 - 00000000BDC59010                                             R11  - 00000000BFF39E9A, R12 - 00000000BE6E63E8, R13 - 00000000BF339018                                             R14  - 00000000BEE21018, R15 - 0000000000000068                                                                     DS   - 0000000000000030, ES  - 0000000000000030, FS  - 0000000000000030                                             GS   - 0000000000000030, SS  - 0000000000000030                                                                     CR0  - 0000000080010033, CR2 - 0000000000000000, CR3 - 00000000BF401000                                             CR4  - 0000000000000668, CR8 - 0000000000000000                                                                     DR0  - 0000000000000000, DR1 - 0000000000000000, DR2 - 0000000000000000                                             DR3  - 0000000000000000, DR6 - 00000000FFFF0FF0, DR7 - 0000000000000400                                             GDTR - 00000000BF3EEA98 0000000000000047, LDTR - 0000000000000000                                                   IDTR - 00000000BEE1F018 0000000000000FFF,   TR - 0000000000000000                                                   FXSAVE_STATE - 00000000BFF39AB0                                                                                !!!! Find image based on IP(0xBF2E6D5C) /build/work/af60adde42b1d1ad5be2a01e4924bb905248/google3/blaze-out/k8-opt/g enfiles/third_party/edk2/ovmf_x64_csm_debug_workspace_dir/ovmf_x64_csm_debug_edk2_files_dir/Build/OvmfX64/DEBUG_CLA NG38/X64/OvmfPkg/8254TimerDxe/8254Timer/DEBUG/Timer.dll (ImageBase=00000000BF2E5000, EntryPoint=00000000BF2E6AB5) ! !!!                                                                                I have no idea what I did wrong. How can I avoid experiencing this in future? :)


Why is there no ForEach extension method on IEnumerable?

Inspired by another question asking about the missing Zip function: Why is there no ForEach extension method on the IEnumerable interface? Or anywhere? The only class that gets a ForEach method is List<>. Is there a reason why it's missing, maybe performance?


How can I sort "Your Communities" by reputation?

I would like the option to organize sites in "Your Communities" by reputation.  As users like myself become active on different sites, changes in reputation can lead to the list displaying in a .   List of 9 favorite communities (unsorted)  Currently, I'm only able to sort the community list by reputation either by manually rearranging sites or resetting back to the default list of 5 communities.   Default list of top 5 communities (sorted by reputation)  Is it possible to display more than the top 5 communities in order of reputation?


How to use netplan to do the same as was being done using iptables?

I am setting up a new server with 18.04 based on instructions written for 14.04. I have got as far as these steps:  /sbin/iptables -A FORWARD -p tcp --destination-port 80 -j ACCEPT /sbin/iptables -t nat -A PREROUTING -j REDIRECT -p tcp --destination-port 80 --to-ports 8080 /sbin/iptables-save # To save permanently (reset-persistent): sudo sh -c "iptables-save > /etc/iptables.rules" # Modify in /etc/network/interfaces # Add this line:     pre-up iptables-restore < /etc/iptables.rules     # As below:  # The loopback network interface auto lo iface lo inet loopback     pre-up iptables-restore < /etc/iptables.rules  # The primary network interface auto eth0 eth1 iface eth0 inet static         address XXX.XXX.XX.XXX         netmask 255.255.255.0         gateway XXX.XXX.XX.1         dns-nameservers 8.8.4.4 8.8.8.8 XXX.XXX.0.3 iface eth1 inet static         address XX.XXX.67.47         netmask 255.255.0.0   But it turns out that 18.04 does things a different way, using something called netplan.   I have found questions and answers related to how to revert back to how things were done in 14.04, but I am wondering whether it is better to do the same thing the new way.   How can I do what is being done the old way using netplan?


Why was Gandalf involved with the Dwarves' quest to rob Smaug?

From what I understand, the Istari were sent in to help the peoples of Middle-earth get through the third age. Why then, did Gandalf help the Dwarves along (and get Bilbo involved) in their quest to rob Smaug?  It doesn't seem to have any use, and I don't remember him having shown any sign of precognition that support a theory relating to knowledge of the finding of the ring or the death of Smaug.


Does $\int \cos\phi \sin\phi\,d\phi = -\frac{(\cos\phi)^2}{2}$?

The above is a line in my textbook. $G, \delta, $ and $a$ are constants, the inner integral is just   $$\int_0^{\pi/2} \cos\phi \sin\phi\, d\phi$$ Shouldn't the antiderivative of that be  $\frac{(\sin\phi)^2}{2} $ and not $ -\frac{(\cos\phi)^2}{2}$?


Consider a group of 10 friends (Jack, Mike, Harry, Peter, Ian, Ted, Stoney, Julie, Maria, and Samantha) named 'Spartans' in some residence colony. They have collected money and bought a brand new car.   Is this structure possible?     Wow, what a sexy car that is   Yeah! That's Spartans'   Spartans'?  Ah, I mean Jack, Mike, Harry, Peter etc's.   Oh! Are they Spartans? I did not know.   Or it should be ...     Ah, I mean Jack's, Mike's, Harry's, Peter's and etc. or  Ah, I mean Jack, Mike, Harry, Peter's and etc.   I referred to lots of examples and found that etc. is generally applied to the nouns, verbs and almost anything but found no instance where it's used for the noun's possession.


I'm trying to check if a log record starts with a log level and log date prefix. Here is an example of log record:  [7][20170731 10:36:39:754][18] [just a text] another test   Here is what I've tried:  //string text = "[7][20170731 10:36:39:754][18] [just a text] another test"; string text = "[7][20170731]"; var pattern = "[\\d{1}][\\d{8}\\s\\d{2}:\\d{2}:\\d{2}:\\d{3}].*";  if (Regex.IsMatch(text, pattern)) {     Console.WriteLine("match"); } else {     Console.WriteLine("not match"); }   But my problem is that with the second version of the text variable Regex.IsMatch returns true even if it's obvious that it's not a match.  So is my pattern wrong?


Can you still fizzle in response to a spell that can't be countered?

If I have  in play, and my opponent targets it with , am I not allowed to bounce the Fleeting Image in response, since making Urza's Rage fizzle technically counters it?


Why does one way of malloc seg fault but another doesn't?

If I have an int array:  int *array;  array = malloc(5 * sizeof(int));   and I malloc to it as above, I can then access it and set values to it. Everything is fine.  But if I create that int pointer and pass to it a function and malloc inside the function, I can't access/set values to the array unless I pass it to the array as a pointer to a pointer?  some_void_function(int *array) {     array = malloc(5 * sizeof(int)) }  int *array; some_void_function(array);  *(array + 3) = 5; // DOES NOT WORK   To fix it I can make the array accept (int **array) as a parameter and pass in the address of the pointer (so a pointer to a pointer), dereference it, and assign it with malloc:  some_void_function(int **array) {     *array = malloc(5 * sizeof(int)) }  int *array; some_void_function(&array);  *(array + 3) = 5; // WORKS    Could someone explain this to me? Am I not doing the same thing in both situations? Pass the address and then just dereferencing it is the same thing as just pass in the single pointer in the first place right?


Compare objects in LinkedList.contains()

I want to be able to have LinkedList.contains() return true for a custom comparator.  Suppose that I have 1 LinkedList and 2 objects  LinkedList<MyObject> myList = new LinkedList<MyObject>();  MyObject a = new MyObject("HELLO"); MyObject b = new MyObject("HELLO");   Technicaly, both objects are identical in terms of comparison (MyObject implements Comparable)   ( a == b ) == true  however, when I do the following, myList does not return true for myList.contains(b)  myList.add(a) myList.contains(b) // == false   I think its because contains will check object reference and see that a and b are 2 distinct objects. Is there any way I can make it so I don't have to extend LinkedList to compare those objects?


Grub not working after Windows 8.1 update on Ubuntu 12.04 LTS

I do understand that this is a common problem, and I have read few of the threads. Here is synopsis of my problem.   Logged on to window 8.1, windows installed updates and now grub2 doesn't work   Laptop is a Toshiba C55-A Secure boot is disable Turn off fast startup booted with Ubuntu 12.04 LTS Live CD by pressing c accessed grub prompt exited out of grub at which point was able to access boot manager with Windows Boot Manager, Ubuntu, Ubuntu options Selected Ubuntu Booted into Ubuntu sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update sudo apt-get install -y boot-repair && (boot-repair &) Selected recommended repair     The output on boot tab from msconfig (windows command prompt) shows only windows 8.1  The output from the bcdedit is as follows   Windows Boot Manager -------------------- identifier              {bootmgr} device                  partition=\Device\HarddiskVolume2 path                    \EFI\Microsoft\Boot\bootmgfw.efi description             Windows Boot Manager locale                  en-US inherit                 {globalsettings} default                 {current} resumeobject            {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} displayorder            {current} toolsdisplayorder       {memdiag} timeout                 30  Windows Boot Loader ------------------- identifier              {current} device                  partition=C: path                    \Windows\system32\winload.efi description             Windows 8.1 locale                  en-US inherit                 {bootloadersettings} recoverysequence        {xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} recoveryenabled         Yes isolatedcontext         Yes allowedinmemorysettings 0x15000075 osdevice                partition=C: systemroot              \Windows resumeobject            {xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} nx                      OptIn bootmenupolicy          Standard detecthal               Yes   Did not see the grub2 menu as expected?  Any other ideas  References


I'd like to delete my careers account keeping the StackExchange profile active. I've no found any information about this. Is there any way to do that?


"Collision" between marker labels in pgfplots scatter plot

Sometimes, it's hard to avoid "colliding" marker labels in scatter plots, by which I mean labels that overlap each other. If I don't want to remove data points to avoid the overlap, is it possible to shift individual labels (as with TikZ nodes)? The following MWE illustrates the problem:  \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} \begin{document} \begin{tikzpicture}  \begin{axis}[     xlabel=$a$,     ylabel=$b$ ] \addplot[blue,mark=*,mark options={fill=blue},nodes near coords,only marks,    point meta=explicit symbolic] table[meta=label] { x y label 100 152 {Long label 1} 200 180 {Long label 2} 110 150 {Long label 3} }; \end{axis} \end{tikzpicture} \end{document}   Ideally, I would like to be able to adjust selected labels left/right/up/down. Thanks!


What does "Illegal assignment from Schema.SObjectField to String" mean?

I wrote the following trigger and I'm getting the error :     Illegal assignment from Schema.SObjectField to String   But I don't know how to fix it. I wrote a similar trigger before and didn't have any issues.   trigger AccountDuplicates on Account (before insert, before update) {  for (Account myaccount : Trigger.new) {         List <Account> dupes = [SELECT Name FROM Account WHERE Name = :(myaccount.Name)];          if (dupes.size() > 0) {            myaccount.Duplicate_Account__c = Account.name;         }     } }   The purpose of the trigger - when a new account is created that matches the name of an existing account, put the existing account's name into the "Duplicate Account" field.


Why is angle of incidence equal to angle of reflection?

In the Law of Reflection, the angle of incidence is equal to angle of reflection. Why is this true? This is clearly true experimentally, but how does one prove this true mathematically?


macOS: Disable popup showing accented characters when holding down a key

How do I disable the display of popup which appears when holding down a key? It slows my typing speed and makes me do so many mistakes in my writing and programming. I need it at time when I wish to enter an alphabet twice.


I am using ubuntu 16.04 in my Dell laptop and since some time I am getting an error message   E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/restricted/dep11/Components-amd64.yml  Could not open file /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_xenial-security_restricted_dep11_Components-amd64.yml.gz - open (13: Permission denied) [IP: 91.189.88.162 80] E: Some index files failed to download. They have been ignored, or old ones used instead.   while updating using command sudo apt update. I don't know exactly why this is happening. please help me in solving this issue.


Confused over hue, saturation,luminosity

I am trying to make sense of luminosity, hue, saturation and color. I read this online: Hue, saturation and value together make a color. But hue is also the term for pure colors like red, green, violet etc. I guess my questions would be: which one is it? and is luminosity same as brightness? and also called value?


LaTeX packages: automatic versus manual installation, and related issues

I often run into problems in LaTeX with packages. I did a reinstall (MiKTeX) and it seemed to fix some issues with knowing where packages coming from or going. In general, I am not sure what should or does happen when using \usepackage command.  Is it standard that these packages are automatically pulled from the internet? Where do they go (by default)? Is there a better place to put them?  If I am troubleshooting, and if we can say packages are usually installed automatically, when, and should I ever, install packages manually? If so, where would I put them?  For instance, I believe the package easylist is installed on my computer. I was able, with some difficulty, to get into the roaming folder, looked around, and really the only package I saw, was several easylist files, such as .sty, and an associated readme file. I did a windows search for easylist, and only found one, with suffix .tpm and in the Program Files (x86)\MiKTeX 2.9\tpm folder.  My problem currently, is that I am trying to use the todonotes package. It seems to require the xcolor package. But this "can not be found". It asks to choose a place to get it. I think default was "choose random", but I just switched it to internet, and some random mirror site in country (USA). That didn't work, and I'm afraid I've now fiddled with the default settings for getting packages, which will create problems later.  Here are some other threads I have been fishing through:             In lieu of picture, I have this:    miktex-pdftex.exe: No connection could be made because the target machine actively refused it.  miktex-pdftex.exe: Data: connect failed in tcp_connect() {}======================================================================  ! LaTeX Error: File `xcolor.sty' not found.  Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty)  Enter file name:    and from clipboard:    MiKTeX Problem Report Message: No connection could be made because the target machine actively refused it.  Data: connect failed in tcp_connect() Source: Libraries\MiKTeX\PackageManager\PackageManager.cpp Line: 2461 MiKTeX: 2.9 OS: Microsoft Windows 7 Home Premium Edition, 64-bit Service Pack 1 (build 7601) Invokers: explorer SystemAdmin: no PowerUser: no Root0: C:\Users\aUserName\AppData\Roaming\MiKTeX\2.9 Root1: C:\Users\aUserName\AppData\Local\MiKTeX\2.9 Root2: C:\ProgramData\MiKTeX\2.9 Root3: C:\Program Files (x86)\MiKTeX 2.9 UserInstall: C:\Users\aUserName\AppData\Roaming\MiKTeX\2.9 UserConfig: C:\Users\aUserName\AppData\Roaming\MiKTeX\2.9 UserData: C:\Users\aUserName\AppData\Local\MiKTeX\2.9 CommonInstall: C:\Program Files (x86)\MiKTeX 2.9 CommonConfig: C:\ProgramData\MiKTeX\2.9 CommonData: C:\ProgramData\MiKTeX\2.9    (from "Package Installation" window below)   The required file        tex\latex\xcolor\xcolor.sty  is missing. It is part of the following package:        xcolor  The package will be installed from:  ftp://... [Change...] The package will be installed for...


How to write an academic paper for the first time?

While writing , I realized I don't really have a good list of resources that could be useful to first-time authors, like MSc or PhD students who write their first paper. I often direct my own students to these two papers:   G. M. Whitesides, , Adv. Mater. 2004, 16, 1375–1377 (). P. E. Bourne, , PLOS Computational Biology 2005, 1, 0341.   I also make sure that they read the journal's editorial policy and authors guidelines.  What are other sources of good information for students and first-time academic authors?


First experience with new SSD - slow, resource hog?

I just bought my very first internal SSD and installed it into my desktop PC. I was running out of disk space and want to use it for data storage. The OS is installed on the first disk, which is a standard (spinning) HDD. This is what Samsung Magician is showing me:    So "on paper", everything seems to look great. However, when I'm trying to move files from my HDD to the SSD, I'm only getting about 50-70 MB/s. I assumed that the bottleneck here is the speed limit of the HDD read access... What I don't understand is why this bogs down my whole system. I would expect Windows 7 to be smart enough not to allow itself freeze up during simple file transfer operations. Also, the PC has 32 GB RAM and a 3,4 GHz 12-core CPU, so it's not exactly slow. What might be the problem here? The system gets so slow that I cannot even open Firefox while moving files. Shouldn't the system somehow manage the amount of resources processes can take and put a cap on it in order to ensure stability? Is there some setting that I could change to address the issue? Unfortunately, I have little to no experience managing Windows systems. I know that in Linux one can impose custom limits on the resource usage of individual processes. However, file I/O seems something rather fundamental so I'd expect this to be efficiently managed by the OS. Please help, the setup is not usable in this state... PS.: I don't want to migrate the system to the SSD as I don't trust Windows with my data. The data should be stored on a separate drive, which is why I got the SSD in the first place. But this should not slow down my system on the HDD.


Why is the center of buoyancy located at the center of mass of the displaced fluid volume?

Consider      Any object, wholly or partially immersed in a fluid, is buoyed up by a force equal to the weight of the fluid displaced by the object.   I do not understand why the center of buoyancy is the center of mass of the volume of the displaced fluid.  In principle it could be another point, for istance the center of mass of the object (not the displaced fluid) or maybe a point of the displaced fluid but not the center of mass.  Is there an simple way to understand why the center of buoyancy located in the center of mass of the displaced volume of fluid?


I am selecting a single column of foreign keys from multiple tables through either UNION or UNION ALL.  It is generally recommended to use UNION ALL instead of UNION for performance issues when duplicates do not matter. However, in my calling PHP script it would be more efficient to loop through and manipulate the data without duplicates.   So, I can use either of the following options:  Option 1:  Use UNION in the database to eliminate duplicates  Option 2:  use UNION ALL in the database and eliminate the data in my PHP script using array_unique() or other similar functions.   My assumption is that Option 1 would be the preferred and more efficient method in the majority of cases, however I have nothing to back up that assumption, and not sure the best way to test it especially since it would likely depend a lot on what the data was.  Is my assumption correct in most cases? If so, why? If not, why not?


App icons disappear from home screen on app update

Ever since I got my Nexus 5, I've notice that apps sometimes disappear from the launcher for no reason. This seems to correspond to that app being updated, although it doesn't always happen to every app on every update. I've seem some questions about icons disappearing due to moving them onto an SD card, but I don't have one of those so that's not it.  The apps are still installed and show up in Settings > Apps or in the alphabetized pages one gets by pressing the ::: icon. Some of the apps this has happened to include Facebook, Android IRC, TransitTimes+, QuickPic, and Minecraft — but it's not just limited to those, and it doesn't seem to happen to those with every update.   I'm not using any special launcher or anything — just the stock one that comes with KitKat 4.4 on the Nexus 5. (Updated to 4.4.2)  What's going on and how can I fix it?


Define the sequence $aₙ=20+n²$ and $dₙ=\gcd(aₙ , aₙ₊₁)$ Find with proof the values dₙ takes.

I have tried to sopve this question and found the answer, but i cant find a proof. My answer is $1,3,9,27$. Thanks in advance to those who help me.


Mysterious contact by advanced aliens; leaves humans insane

It'd be great if anyone could remember the source of this short story I only dimly remember, but recall finding quite haunting back in my youth.  I read it maybe 20 years ago in a paperback that probably dated from the '80s.  It begins with the protagonist (a young man) being being woken by a deafening noise coming through his cochlear implant.  He's on a spaceship, and has volunteered to be put in a capsule and fired off to a remote part of the solar system.  Once in place in their capsule, the volunteers are visited by what is (presumably) a highly intelligent alien life-form, and gifted with some artefact containing priceless knowledge, like, for example, the cure for cancer.  The (unexplained) encounter leaves the them completely and irrevocably insane, perhaps terrified out of the minds.  Yet despite this, volunteers still clamour to be chosen for the mission.


I have a base class A and a derived class B.  class A { public:     int x;     virtual int getX() {         return x;     } };  class B : public A { public:     int y; };   The virtual function is there just to make it polymorphic. Next i declare a list of A's but put B's inside:  vector<A> list; B b1,b2; b1.y = 2; b2.x = 10;  list.push_back(b1); list.push_back(b2);   Now i want to go over all elements on the vector and access the y member (which only B's have):  for (auto it = list.begin(); it != list.end(); ++it) {     B &cast = dynamic_cast<B&>(*it);     int value = cast.y;     std::cout << value << std::endl; }   This code gives a runtime error. Any idea how can i do the cast and access y?


Let's say I have a Class A which inherits from QMainWindow, and a Class B. The code is like this: In a.h:  #ifndef A_H #define A_H  #include <QMainWindow> #include "b.h"  class A : public QMainWindow {     Q_OBJECT  public:     A(QWidget *parent = 0);     ~A();      B TestingB;      int tryingNumA = 0;     void getNumB() {         qDebug() << TestingB.tryingNumB; //worked     } };  #endif // A_H   In b.h:  #ifndef B_H #define B_H  #include <QDebug>  class A;  class B { public:     B();      int tryingNumB = 1;      A *testingA;     void getNumA() {         qDebug() << testingA->tryingNumA; //did not work, error: invalid use of incomplete type 'class A'     } };  #endif // B_H   And it is easy to get Class B elements in Class A, but I also want to get Class A elements in Class B(I want these two Class can access each other), the code I tried did not work. Is that the reason because Class A inherits from QMainWindow? In order to achieve that, what can I do? Thanks.


It is fairly easy using basic special relativity to arrive at the conclusion that the magnetic force effect on nearby charges of wires carrying currents on nearby charges is only due to the length contraction in certain inertial frames from the point of view of charges, which gives rise to a perceived change in charge density. However, we structure the (classical field) laws of electromagnetism in Maxwell's laws using a B field.  My question is, is it possible to formulate Maxwell's equations only in terms of Lorentz transformed E fields? If not, why not?