How can I sync SkyDrive/OneDrive on Windows 8.1 when signing in to PC with local account?

I have  how I can install, or upgrade to, Windows 8.1, without using a Microsoft account, because "I like to keep things separate, and just logon with a tradional local account. Any apps that require me to sign-in with my Live account, will have to prompt me to sign-in".  Until now, I never got around to connect my Windows 8.1 PCs to my OneDrive (formerly known as SkyDrive), which is now baked in to Windows 8.1. Unfortunately, it's apparently no longer possible to use OneDrive, when signing on to PC with a local account:    I can only download the application for Windows Vista, 7 or 8. Attempting to run the installed on Windows 8.1 just displays a windows with the text "Preparing OneDrive for first use" for a while, then exits without allowing me to sign-in.  Just to clarify: I'm of course aware that I would need to sign-in to OneDrive with my Microsoft account, I just much prefer signing in to the application, instead of my PC.  Considering how Microsoft went out of their way, to make it almost impossible to install Windows 8.1 without a Microsoft account, is there some (covoluted) way to make OneDrive sync, without forcing me to sign in with a bloody Microsoft account? How?


Why is the Moon considered the major cause of tides, even though it is weaker than the Sun?

You have likely read in books that tides are mainly caused by the Moon. When the Moon is high in the sky, it pulls the water on the Earth upward and a high-tide happens. There is some  similar effect causing low-tides. They also say that the Sun does the same as well, but has smaller effect compared to the Moon.  Here's my question: Why is the Moon the major cause of tides? Why not the Sun? The Sun is extremely massive compared to the Moon. One might say, well, the Sun is much farther than the Moon. But I've got a simple answer: Just substitute those numbers in $a=\frac{GM}{d^2}$ and find gravitational acceleration for the Moon and then for the Sun (on Earth, by the way). You'll find something around $3.38$ $10^{-6}$ $g$ for the Moon and $6.05$ $10^{-4}$ $g$ for the Sun - I double checked it to make sure. As you can see, the sun pulls about $180$ times stronger on the Earth. Can anyone explain this? Thanks is advance.


What's the best way to ask a professor for their syllabus before the term starts?

"I am taking your course in Spring 2021. Is it possible for you to send the syllabus if there is one ready?" Is the wording okay?


In the movie Inglorious Basterds, the scene where Hans Landa and Shosanna were in the restaurant, Hans Landa says "I did have something else I wanted to ask you, but right now, for the life of me, I can't remember what it is."  When he was just staring at her, did he recognized her and was just playing, or was it just something he tried to remember but couldn't?


Trying to create an Object array, but get "cannot create a generic array of Object".  I tried to cast it with (Object[]), but it didn't help.  public class Container<Object> {  Object start;    Container(Object start){      this.start=start;  }   LinkedList<Object> save = new LinkedList<>();   public Object[] toArray() {     Object[] test = (Object[]) new Object [3]; // cannot create here     for (int i=0; i<save.size(); i++)     {             ...     } }


Induction proof for a summation: $\sum_{i=1}^n i^3 = \left[\sum_{i=1}^n i\right]^2$

Prove by induction: $\sum_{i=1}^n i^3 = \left[\sum_{i=1}^n i\right]^2$. Hint: Use $k(k+1)^2 = 2(k+1)\sum i$.  Basis: $n = 1$ $\sum_{i=1}^1 i^3 = \left[\sum_{i=1}^1 i\right]^2 \to 1^3 = 1^2 \to 1 = 1$.  Hypothesis: Assume true for all $n \le k$.  So far I have the following:  $$\sum_{i=1}^{k+1} i^3 = (k+1)^3 + \sum_{i=1}^k i^3$$  $$(k+1)^3 + \left[\sum_{i=1}^k i\right]^2$$


i keep crashing and getting this when I try o play minecraft, I am on 1.9

I do have mods but I removed them and it still did not work  Completely ignored arguments: [--nativeLauncherVersion, 301] [17:21:20] [Client thread/INFO]: Setting user: PixieYAM [17:21:20] [Client thread/INFO]: (Session ID is <censored>) [17:21:22] [Client thread/INFO]: LWJGL Version: 2.9.4 [17:21:23] [Client thread/INFO]: Reloading ResourceManager: Default [17:21:24] [Sound Library Loader/INFO]: Starting up SoundSystem... [17:21:24] [Thread-5/INFO]: Initializing LWJGL OpenAL [17:21:24] [Thread-5/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org) [17:21:25] [Thread-5/INFO]: OpenAL initialized. [17:21:25] [Sound Library Loader/INFO]: Sound engine started [17:21:25] [Client thread/INFO]: Created: 1024x512 textures-atlas [17:23:11] [Client thread/INFO]: Connecting to MC.HYPIXEL.NET, 25565 [17:23:13] [Client thread/INFO]: [CHAT]                           [17:23:13] [Client thread/INFO]: [CHAT] Attempting to send you the resource pack... [17:23:13] [Client thread/INFO]: [CHAT]                           [17:23:13] [Client thread/WARN]: Received unknown passenger for bmu['86twrpp3iz'/282, l='MpServer', x=-96.50, y=30.00, z=48.50] [17:23:13] [Client thread/WARN]: Received unknown passenger for bmu['111j2774s3'/286, l='MpServer', x=-96.50, y=30.00, z=-5.50] # # A fatal error has been detected by the Java Runtime Environment: # #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffe9866628c, pid=1048, tid=17736 # # JRE version: Java(TM) SE Runtime Environment (8.0_25-b18) (build 1.8.0_25-b18) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.25-b02 mixed mode windows-amd64 compressed oops) # Problematic frame: # C  [ig75icd64.dll+0x55628c] # # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows # # An error report file with more information is saved as: # C:\Users\sedon_000\AppData\Roaming\.minecraft\hs_err_pid1048.log # # If you would like to submit a bug report, please visit: #   http://bugreport.sun.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # AL lib: (EE) alc_cleanup: 1 device not closed Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release


Notification email from stackoverflow contains "<3" after zip code

I noticed "<3" appears at the very end of the my stackoverflow notification emails (after the zip code). Is this problem related to gmail?


Can a symlink be edited to link to a different directory or file?

When I move a directory elsewhere, a symblink to it will become invalid.  The way I update a symlink mylink is first going into the directory, and then running ln -s "$PWD" mylink, and then mv mylink to the invalid symlink.  I can't create the new symlink in the same directory of the invalid symlink using the above ln command, because ln: failed to create symbolic linkmylink': File exists, so I have to create it elsewhere and then there is an additional mv step.  I wonder if an existing invalid symlink can be edited directly, just like editing a text file in a text editor such as Emacs?


Compute mean and variance of mixture of Gaussians given mean/variance of component gaussians

Given $N$ means and variances $\{\mu_1,\mu_2,....\mu_N\}$ , $\{\sigma_1^2,\sigma_2^2,....\sigma_N^2 \}$ ,and the fact that combined they make a gaussian mixture, how do I compute for that mixture $M$, its mean $\mu_M$ and variance $\sigma_M^2$ using the component means and variances?  Assume equal weight for each component.


How do I minimise the amount of (and maximise scope of)  ?

I purpose to minimise my typing of   for efficiency. So why did my following attempt fail, while I composed ?   Source for 1 and 2: Chapter 5 of *[500 French Verbs For Dummies]( http://www.amazon.com/500-French-Verbs-For-Dummies/dp/1118516028)* ([Google Books](https://books.google.com/books?id=dU0bAAAAQBAJ&lpg=RA3-PT674&ots=RbBkwDDj-B&dq=transitive%20in%20english%20intransitive%20in%20french&pg=RA3-PT674#v=onepage&q=transitive%20in%20english%20intransitive%20in%20french&f=false))  Source for 3 and 4: pp 144-145, pp 146-147 respectively, from [*Correct Your French Blunders]( http://www.amazon.com/Correct-French-Blunders-V%C3%A9ronique-Mazet/dp/0071788247), 2nd Edition*   fails, because the following shows that the second paragraph is not subscripted:     Source for 1 and 2: Chapter 5 of  ()      Source for 3 and 4: pp 144-145, pp 146-147 respectively, from , 2nd Edition   Surrounding each paragraph with   solves the problem, but is inefficient.


What's the difference between "mistrust" and "distrust"?

Are mistrust and distrust synonyms?   And if so, how have two such similar words coexist for so long? Google N-grams suggests the two words have coexisted since the 1700's.


How to speed up mouseover event happening on MacOS?

A lot of things have tooltips that appear once you let the mouse rest over the trigger area for some time. On my system the delay between when I stopped moving the mouse and tooltip popup is extremely large: about 3 seconds. How can I reduce this? I tried to google and search system properties but found nothing. The corresponding setting on Windows OS is found in registry: HKEY_CURRENT_USER\Control Panel\Mouse: MouseHoverTime


What are the most important Windows .dll files?

What are the most important .dll files Windows use?  I'm making a Uplink like hacking game and one of the feature I'm working on would allow you to "destroy" a machine by deleting key Windows files.  The problem is, I'm not quite sure what those files are.  So far all i have is Kernel32.dll. What else could i add?  Thanks.


$\lim_{x\to 0+}=(1/x)^{\sin x}$  I think I should rewrite it into a from $e^{\ln}$ , but I can't continue the calculation after this step.


that appears above the captcha seems to be broken.    (You can also )  This appears to affect    , even though they use different images.       Note that if you view the image URL directly and accept the SSL warning, all the images may appear to start working for you - but restarting your browser will reveal broken images again.   I actually encounter this captcha quite frequently due to writing up my answers in an external editor, and then pasting them in as a new response. I just started noticing the broken image today.


Why does GNU head/tail read the whole file?

I have a huge file and want to see its beginning and end. However, when I use head and tail, it apparently tries to read the whole file. Since the file is larger than a terabyte, this takes a very long time. Why would the tools do the simple task in such an inefficient way? Is there a reasonable workaround?  The command I'm running is simple tail filename  Edit: Since the question was marked as duplicate, I cannot post a proper answer.  The real reason why head and tail were reading the whole file was that the file contained no newline characters. There is a nice workaround by PM 2Ring - using the -c option and piping the output to hexdump.


Would you help me with terms of WHOM and WHO?

To whom/who should I address the latter?  Am I right?  In informal writing, you use who.  .....  Moreover, can I use who instead of whom?   Furthermore, which one is formal, for instance, about TOEFL test?  Whom did  you say  you had seen?  He can't remember whom he saw.


I'm running DHCPD (isc-dhcp-4.2.4) on an Ubuntu 14.04 system.  The var/lib/dhcp/dhcpd.leases file is getting pretty huge (350MB).  Looking in it, there's historical data going back many months about leases that have long since expired.  How do I purge the old info?  Presumably stopping dhcpd and deleting the file is a bad idea because then it will forget recent leases that might still be relevant?  [edit] Apparently dhcpd is supposed to auto-purge the leases file once an hour, but this isn't happening for me.  Apparently this is down to a permissions problem - the /var/lib/dhcp directory and contents are ownwd by root:root but the server runs as dhcpd:dhcpd.  I tried changing the ownership as follows:-  sudo service isc-dhcp-server stop sudo chown -R dhcpd:dhcpd /var/lib/dhcp/ sudo service isc-dhcp-server start   but after this the ownership of the directory, dhcpd.leases and dhcpd.leases~ reverted to root:root.  So how do I sort out directory ownership vs the user:group running the dhcpd process to get auto-purge to work?


Given two differentiable maps between differential manifolds:  $$f : X \to Y, g : X \to Z,$$  Is $f \times g : X \times X \to Y \times Z$ differentiable?  I think yes. And you get $d(f \times g)_{(x,y)} = d(f)_x \times d(g)_y$?


is it possible to trigger an email using microsoft flow when a date in a field of a sharepoint list item is nearby,

I want to build a flow to trigger an email when a date in one of the fields is nearing. I have a field named Payment due date. is it possible to trigger an email 2 days prior to the Payment due date. So that I don't miss the payment due date and payment is not delayed. Any kind of assistance is appreciated. Thank you very much in advance!


Consider the series $ ∑_{n=1}^∞ x^2+ n/n^2$ . Pick out the true statements:

Consider the series $ \sum_{n=1}^\infty x^2+ n/n^2$  . Pick out the true statements: (a) The series converges for all real values of $x$. (b) The series converges uniformly on $\mathbb{R}$. (c) The series does not converge absolutely for any real value of $x$.        stuck on this problem totally. please help me to solve this problem.thanks .


How can I use a reserved keyword as an identifier in my JSON wrapper class

From salesforce Trying to Create PayPal payment, In Create Payment method request object has Items with Currency like below   "name": "hat",             "description": "Brown hat.",             "quantity": "5",             "price": "3",             "tax": "0.01",             "sku": "1",             "currency": "USD"  I can't able to use as a currency in Apex, Identifier name is reserved: currency @AuraEnabled public string currency {get;set;}      Error Identifier name is reserved: currency


Is it possible to open Chrome's Development Tools in Android? Is it possible to do so with Java?  I tried going into the settings and such, but is it possible to access the console and create cookie for the browser?


I'm trying to copy a 2d array and then print the copy. When I try to run my code NullPointerExeption pops up. The exact thing it says is:  Exception in thread "main" java.lang.NullPointerException     at CharacterArray2DCopier.kopioi2dTaulukko(CharacterArray2DCopier.java:12)     at CharacterArray2DCopier.main(CharacterArray2DCopier.java:33))   I can't use the .array things (I don't know what they're called). Here's the code:  ` public class CharacterArray2DCopier { public static char [][] copy2dArray(char[][] array){ if (array!= null && array.length > 0){     char[][] array2 =  new char[array.length-1][];     for (int ind = 0; ind < array.length; ind++){         for (int und = 0; und < array[ind].length; und++) {             array2[ind][und] = array[ind][und];         }     }     return array2; } else {     return null; } } public static void print2d(char[][] array){     if (array != null) {         for (int ind = 0; ind < array.length; ind++){             for (int und = 0; und < array[ind].length; und++) {                 System.out.print(array[ind][und]);             }             System.out.println();         }     } } public static void main (String[] args){     char[][] array = {{ '+', '-', '+', '.' }, { '.', '.', '+', '-'}};     char[][] array2 = copy2dArray(array);     print2d(array2); } }`   i've also tried this:  `... public static char [][] copy2dArray(char[][] array){     if (array!= null && array.length > 0){         char[][] array2 =  new char[array.length-1][array[array.length-1][array[array.length-2].length-2]];         for (int ind = 0; ind < array.length; ind++){             for (int und = 0; und < array[ind].length; und++) {                 array2[ind][und] = array[ind][und];             }         }     return array2;     }     else {         return null;     }     ... `   but then it says:  Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1      at CharacterArray2DCopier.kopioi2dTaulukko(CharacterArray2DCopier.java:12)      at CharacterArray2DCopier.main(CharacterArray2DCopier.java:33)   What do i do? Sorry if this written wrong or it's a dumb question, I'm new to all this.


Apply boolean operations and modifiers in 2.9

I started recently to work on a spare part to print with a 3d-printer and I repeated my workflow that was successful in prior versions of blender and then i noticed changes in the with the bools. I can not find apply for the boolean operation since i upgraded to 2.9 (from 2.83) The first picture is the bool operations for blender 2.9,  The second picture is the same file in blender 2.83.


How can I temporarily hide elements on a slide?

I have a slide on which I want to construct a complex animation, but all the elements on that slide make it almost impossible to construct what I want to achieve.  Is there a way to temporarily hide elements on a slide?


How to run an executable on boot and keep it running?

I have an executable build from a ndk-build program. I want to run it on a rooted Android device. How much is the possibility that Android will kill my executable?  Using adb shell, I am able to execute my executable using following commands:  adb push executable /sdcard adb shell device:/ $ su device:/ # cd /system device:/system # mount -o rw,remount /system device:/system # mv /sdcard/executable . device:/system # ./executable   My requirement is to run this executable on device boot.  I have tried following:   Write ./executable in init.rc.   On reboot init.rc reset to its original contents. I figured out that Magisk done this.  Write commands in /system/etc/init/bootstat.rc   ./executable service custom /system/executable on boot  ./system/dhandler/diag_revealer    None of the above thing is working.


$x^2 =(-x)^2, \;\forall x \in  \mathbb{R}^+$  $$\begin{align*} \therefore \ln(x^2) &=\ln(-x)^2\\ 2\ln(x)&=2\ln(-x)\\ \ln(x)&=\ln(-x) \end{align*}$$  If the statement above is correct, then compare between: $\ln(2)$ and $\ln(-2)$?  My try is, I think the statement is wrong, because $x$ must be positive? any help?


Split line into key-value pairs based on first string

I want to know if there is an easy way to split a line in a file into multiple lines, such as this:  I have  A B C 1 2 3 4   And I want to get something like this, based on the first string of the line:  A B A C 1 2 1 3 1 4   Basically based on the first string in the line create multiple lines with the second and third and fourth string and so on.


Check if child object exists, if so, add to object

I'm trying to add one object to another object.  Let's say I have two objects. selectedItemObj and selectedItemQueue. I'd like to add the selectedItemObj to selecteditemQueue but ONLY if that selectedItemObject does not match any of the objects in selectedItemQueue  Let's say I have this object here:  var selecteditemObj = [    {       "market_hash_name":"Chroma 2 Case Key 1",       "assetid":"92700754417_143965972",       "amount":1,       "image":"https://steamcommunity-a.akamaihd.net/economy/image/-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXX7gNTPcUxuxpJSXPbQv2S1MDeXkh6LBBOie3rKFRh16PKd2pDvozixtSOwaP2ar7SlzIA6sEo2rHCpdyhjAGxr0A6MHezetG0RZXdTA/"    }];    var selectedItemQueue = [    {       "market_hash_name":"Chroma 2 Case Key 2",       "assetid":"92700754667_143865972",       "amount":1,       "image":"https://steamcommunity-a.akamaihd.net/economy/image/-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXX7gNTPcUxuxpJSXPbQv2S1MDeXkh6LBBOie3rKFRh16PKd2pDvozixtSOwaP2ar7SlzIA6sEo2rHCpdyhjAGxr0A6MHezetG0RZXdTA/"    },    {       "market_hash_name":"Shadow Case Key 3",       "assetid":"1293611210722_143865972",       "amount":1,       "image":"https://steamcommunity-a.akamaihd.net/economy/image/-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXX7gNTPcUxuxpJSXPbQv2S1MDeXkh6LBBOiePrKF4wi6aaIGwStN_jl4bSzvXwMO6AwDlSvsYoiOiZ8dij3QbtqkU9ZnezetFWWxusZg/"    },    {       "market_hash_name":"Shadow Case Key 4",       "assetid":"123393510722_143861972",       "amount":1,       "image":"https://steamcommunity-a.akamaihd.net/economy/image/-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXX7gNTPcUxuxpJSXPbQv2S1MDeXkh6LBBOiePrKF4wi6aaIGwStN_jl4bSzvXwMO6AwDlSvsYoiOiZ8dij3QbtqkU9ZnezetFWWxusZg/"    } ];   Here is my attempt of it, it adds to the queue but it doesn't check if the child object exists. How can I add that?  function addItemToSelectedQueue(assetId){     var itemObj = findItemById(assetId);     var queueHasItem = false;     for (var i = selectedItemQueue.length - 1; i >= 0; i--) {         if (selectedItemQueue[i] === itemObj) {             queueHasItem == true;         };     };     if (queueHasItem == false) {         selectedItemQueue.push(itemObj);         updateSelecteditems();     }; }


Update ApexClass in Sandbox with JSforce

I'm trying to use JSforce library to create/update class using the tooling object. Please note that it is only in sandbox, I do know that in production org it won't work. Anyway, I'm able to create the class, but when the class already exists and trying to update, it return an error: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY: insufficient access rights on cross-reference id I'm thinking it happen because for update we should use ApexClassMember and ContainerAsyncRequest, but I'm not sure if and how those components can be used with JSforce, or I should stop using JSforce and instead use Http rest from apex to invoke the relevant API calls. if(existingApexClassId){     conn.tooling.sobject('ApexClass').update(             {                 Id : existingApexClassId,                 body: apexClassBody},             function(err, res) {                 if (err) { return console.error(err); }                 console.log(res);     }); }    else{     conn.tooling.sobject('ApexClass').create({         body: apexClassBody     }, function(err, res) {         if (err) { return console.error(err); }         console.log(res);     }); }


So when learning about the  of hydrogen and de Broglie waves, it was shown that treating the electron of hydrogen as a de Broglie wave results in the relationship $$L=n\hbar, \qquad n\in\mathbb{N}.$$ However, when learning about the azimuthal quantum number, it was stated that $$L=\sqrt{\ell(\ell+1)}\hbar.$$ So how come in the ground state ($n=1, \ell=0$), these two equations give different values for angular momentum? I feel like I'm missing something really important here. If it's the case that the Bohr model doesn't accurately describe the angular momentum of the electron in the ground state, why is the angular momentum zero?


I tried this \begin{equation*}      \begin{cases}         \begin{tabular}{c|c}              $r_0=3.0000$  \\              $r_0^2=9.0000$          \end{tabular}      \end{cases}      \rho_0=2.76518\rightarrow r_0^2=8.56814  \end{equation*}


The link to "linked questions" doesn't reflect all links

Taking as example the third most linked question:   When we click on "see more linked questions..."        It takes us to this search query:         But the shortlinks when we grab the "Share URL" are formed with /q/POST_ID instead of /question/POST_ID. If we insert another wildcard the results are different:          I took a look in the top questions in the  tab and the difference of results is not that big, normally only a few extra links. (Curiously, there seem to be many more links using /question/ than /q/.)  I'm not sure if this is a feature request (modify "see more" link to find all linked questions) or a discussion on the logic and inner workings of this functionality. Am tagging as  to start with.


In the tutorial it says I need at least a 2 GB usb drive to boot ubuntu from a thumb drive. I only have a 1 GB usb drive right now. The ISO file is ~ 904,000 KB, which can be stored on the usb drive. I have tried putting it on the usb drive with the Universal USB installer to no avail. It seems that this does not matter.   I just received a new Samsung Windows 8 laptop, and it is not giving me the option of booting from the USB stick. I have turned off the 'fast-startup' and from what I've read this should have given me the option to boot from the usb stick.   My end goal is to be able to dual boot both Windows 8 and Ubuntu on this laptop. I guess I am just looking for some advice from here.   Thanks guys.


Creating Layer for Selected Features, then Moving it using ArcGIS for Desktop?

I have a problem with ArcGis 10.1 which I rarely use.  In an edit session I select a polygon. I would like to 'Create Layer for Selected Features' and can do this; the new layer appears in the table of contents. When I try and move the new layer, the old layer moves with it.   When I click on the polygon the option of selecting the two coincident polygons appears but I can't get these to separate. It seems to be impossible to do anything to one feature and not the other.  The strange thing is that yesterday the program wasn't behaving like this.  Can anyone can explain what is going on?


The velcro has come off/undone. Lemme stick it for you

A kid is wearing shoes with velcro. So it wasn't sticking so the parent said:     It has come off/come undone. Lemme stick it for you.   And what about asking another person:     Come on stick it back on! (Velcro)   So should "come undone" or "come off" be used? And what about "stick"?  And if someone "unfastens" the velcro, then what will be used by the other person to describe this?     Why did you "unfasten" your velcro?   What will be a more natural way to express this?  Do they sound natural?


Java thread implementation vs declaration

i'm currently studying Java and i want to know what is the difference between implementing Runnable to a class and declaring a new thread and executing what you need inside.   Thread t = new Thread(){      public void run() {     //code here     } }; t.start();   vs  Thread t = new Thread(My_class_with_runnable_implementation); t.start();


How to interpolate for degrees of freedom from a $ \chi^{2} $ table

The question asks to find $ \chi^{2*} $ that cuts off 5% of the tail with df=52. the chart given lists df=50 then jumps to 60


Why does gravitational singularity break the laws of physics?

I am assuming there are two constituents that obliterate our current model of physics;   that it's infinitely dense that it's infinitely small   Please correct me if I am wrong.


Creation of Singleton class in Java has been discussed and debated in various communities multiple times. Even after all the discussions, the debaters aren't satisfied with array of provided solutions.  My question is simply to find out the best & most effective way to create any class Singleton in Java & C++.


find the closed form of generating function such that $x^1+x^4 + x^9 +x^{16} +x^{25} +...+x^{n^2}+....$

I am trying to find the closed form of generating function such that $x^1+x^4 + x^9 +x^{16} +x^{25} + x^{36} +x^{49} +x^{64}+....$ As you realize , their exponentials are the sequence of $1,4,9,16,..., n^2,...$ where $n$ is positive integer. I do not know what i should do , i tried to put some values in $\frac{1}{1-x}$ but it does not satisfy. NOTE= I am working over generating functions , a solution was suggested but theta function does not satisfy me . I need a closed form like  $\frac{x^3}{1-x^3}$ etc. (It is given randomly ,  $\frac{x^3}{1-x^3}$ does not related to the question )


Computer doesn't wake up after suspending Ubuntu 20.04

I have installed Ubuntu 20.04 on a dual boot Acer Predator Helios 300. I want to use the suspend function, but whenever I try to wake it up, the display of my laptop shows a blank screen with a '-' sign on the top left. So I'm left with the option of Soft/Hard Booting my laptop. Is there any solution for this?


I am trying to perform Cryptanalysis on Affine cipher . Given Plain Text "GO" and cipher text "TH"  We know , $G =6 , O=14 , T=19 , H= 7$   By brute force method   I'm getting key $(a,b)$ as $(5,15 )$    But by known plain text attack method    $6a + b = 19 \\ 14a +b = 7$  on solving the equations . im getting  $-8 a + 0  =  12  $  taking addictive inverse of $-8 = 18$  We get , $18a +0 =12$ , Now   $a= 12*$ multiplicative inverse of $(18)$   Multiplicative inverse of 18 doesnt exist then how to proceed ? Is my approach correct ?


I cant update my ubuntu os, bcs source.list.d

I wish you a day without a bug. My problem is as I wrote in the title. I can't apt-get update because I can't find the Ubuntu release file. I tried the past solutions in Stackoverflow and it didn't work, and I deleted and redefined the files in /etc/apt/source.list.d but it didn't happen again. I thought of ssh keys and redefined them, but I don't know if it's related. I hope you can help. My ubuntu 18.04


How to compute $m$ value from RSA if $phi(n)$ is not relative prime with the $e$?

Here is some information we got : We know the value of $n$, with size $1043$. We know the value of $p$ (size $20$) and $q$ (size $1023$) as the factors. $e = 65537.$ $\varphi(n)$ = $(q-1)(p-1)$ When I calculated $\gcd$ and $\text{modinv}$, I got : $\gcd(e,\varphi(n)) = 65537$ $modinv(e,\varphi(n)) = 1 $ So we can tell that they are not relatively prime. So, how to compute the d, and get the value of m? I'm not that good with math, so I cant understanding well the theory. so can anyone please make an example implementation or write a clear formula?


How to fill a circle with rotated stripes in illustrator?

How can I fill a normal circle with rotated stripes in Adobe Illustrator?


How do I get the restoname from the db that has apostrophe on it? using the mysql or php.   The code: public function searchRestaurant($searchinfo){ $sql = "SELECT * FROM restaurants WHERE restoname = '$searchinfo' OR restocuisines = '$searchinfo'"; $result = $this->db->query($sql); $result = $result->result('array');      return $result; }   The error:


What is the difference between CHECK and CONSTRAINT CHECK?

is there any difference between the follow exemples?  ProjNum int      CONSTRAINT nn_ProjNum NOT NULL          CONSTRAINT C_ProjNum CHECK (ProjNum >= 10)   and  ProjNum int NOT NULL      CHECK (ProjNum >= 10)   Thanks.


I have a custom class loader so that a desktop application can dynamically start loading classes from an AppServer I need to talk to. We did this since the amount of jars that are required to do this are ridiculous (if we wanted to ship them). We also have version problems if we don't load the classes dynamically at run time from the AppServer library.  Now, I just hit a problem where I need to talk to two different AppServers and found that depending on whose classes I load first I might break badly... Is there any way to force the unloading of the class without actually killing the JVM?  Hope this makes sense


Phrase for criticism/insults concealed with humor

Passive aggressive people will sometimes veil insulting, critical, derogatory or generally aggressive comments with humor. The patina of humor makes the comment seem like a joke, not to be taken seriously, all in good fun, and it safeguards the aggressive person. If someone gets offended, they are being too serious, can't take a joke, and so they cannot voice their upset without seeming to be the one escalating the situation, when in fact it was the aggressor who did that.   This behavior seems to lie on a spectrum. On one side are comments which are simultaneously aggressive and genuinely funny (though of course both, especially the latter, are fairly subjective). On the other side would be lame attempts at the behavior, something like "you are fat!... just joking!" in which nothing in the tone or delivery signals a register of humor. In the middle of the spectrum, I imagine, are aggressive statements genuinely delivered as jokes. Their register signals that they are jokes, but they are aggressive rather than funny. They are aggressive comments masquerading as jokes.      A friend once called this "joking on the square", but I have never heard or seen this phrase. This type of comment is both pervasive and psychologically subtle and in my experience there is often an exact word describing such things. If not a word, is there an astute phrase which cuts to the heart of this?


VCenter Server shows error on Hardware Status for hosts

I'm running VMware ESXi on two Dell PowerEdge R610 servers, with a third server, a PowerEdge R410 running vCenter Server. We have an Essentials license.  In the past I used to be able to open vCenter Server, select a host, and open the Hardware Status tab to see the various sensors, fan speeds, etc.  Now, that no longer works. On each server, I get a popup message "An error occurred, please try again in another vSphere session." and I can't resolve the error. Whatever I try, 'Update', 'Reset sensors', rebooting vCenter, rebooting hosts, nothing helps. I always get that error.  When I connect the vSphere Client directly to an individual host I can see the Health Status just fine, on the Configuration tab of the host. Which leads me to believe the problem is with vCenter. The problem could have appeared after the 4.0 to 4.0u1 update, but I'm not sure since I only noticed it weeks later.   vCenter version is 4.0.0 build 258672 ESXi version is 4.0.0 build 261974   Update Manager shows all hosts are up-to-date.  I don't know what else to try. What can I do?


Are capital gains and losses paid per stock or cumulatively for that tax period?

I'm trying to understand taxes as they relate to investments in the United States of America. I've been reading online about capital gains/losses taxes and I'm a bit uncertain how taxes are determined exactly. Take the following example: Say in the same tax year I bought and sold stock from three different companies, Company A, Company B, and Company C. My investments in Company A & Company B did well and I made $5,000 from each investment. Where my investment into Company C did not do well and I sold at a loss of $5,000. I originally thought this would net a total taxable gain of $5,000. Tax Outcome 1 Company A gain ($5,000) + Company B Gain ($5,000) - Company C Loss ($5,000) = $5,000 capital gain However, I've read in other places that you can only claim a total of $3,000 in capital losses per year and any loss over the $3,000 would have to be carried forward in to the next years taxes. Which given this scenario would result in paying taxes on $7,000 and carrying forward $2,000 of losses into the next year. Tax Outcome 2 Company A gain ($5,000) + Company B Gain ($5,000) - Company C Loss ($3,000) = $7,000 capital gain + $2,000 carry forward tax loss Can anyone tell me which tax outcome (1 or 2) is the correct assumption?


I’m looking for a word or phrase that describes the feeling that something very bad or catastrophic is about to happen

It may be something that will happen to the person who is having the feeling but it may also be to several persons, as might occur with a highly destructive earthquake, for instance.   The word or phrase would be used in the following sentence:      “I’m no spiritualist but I have a feeling of ___. I hope it’s just a feeling."   EDIT - The phrase I'm looking for conveys a much stronger feeling than "I have a bad hunch". It is about something catastrophic which the person feels is "going to happen in a few minutes".


How many non-negative integer solutions does $x_1+x_2+\cdots+x_n=A$ have?

If I have the Diophantine equation $\displaystyle{\sum_{i=1}^n x_i =A}$, is there a function $f(n,A)$ that will yield the number of non-negative integer solutions of the equation?


Are there any updated step by step instructions for partitioning a WIN 8.1 HD, and sharing with Ubuntu?


Can a Child Category Have More than One Parent?

I'm looking at the get_categories() function in the WordPress codex to see how I can return all of the children of each "root parent" ( categories that have no parents ). For example, if I am interested in the children for multiple "root parents", I'd like to know if there will be more than one instance of the same child under a different "root parent".  So, this leads me to ask:  Can child categories in WordPress have multiple, different parents?


How to find $\sum\limits_{j=1}^{\infty}j(1-p)^j$?

How to prove $\sum\limits_{j=1}^{\infty}j(1-p)^j=\frac{1-p}{p^2}$?  Is there any general ways to think about this kind of problems?


"Have you seen him run" or "have you seen him running"? Which of these sentences is more accurate?


Improving my PhD application for math programs

This past year I was accepted into two mid range phd programs in mathematics without funding. Here's what my profile looked like:  Domestic White Male Unknown state school in the midwest Majors: Mathematics and Philosophy GPA: 3.93 GRE: Q: 168 (97) V: 167 (97) W: 5.0 (92) M: not taken  Interests: Analysis, Medical Imaging/Modeling, Mathematical Physics  Major Coursework: Complex Analysis, Discrete Structures, Applied Math (survey course mostly in Fourier methods and PDEs), Mathematical Statistics.  Recommendations: One from a top applied mathematician who was very late in sending them out, one from a professor from the previous year who is well regarded but has not had much contact with me and one from a young professor who was fresh out of post doc.  Other: I'm 30 years old. Some former work experience as a co-op student in engineering at a national lab, dean's list, normal stuff like that. I had only completed two semesters at my current school, though. About 6 years ago I was an engineering student at a different institution with poor grades and I did not finish my degree. Also mid to high level (lots of national, some international competition) as an athletic coach working with kids, teens and adults. Some international experience as an athlete as well. I also speak basic German.  Here's how my profile has changed:  Current GPA: 3.94 (.01 difference! However, this does mean 6 more As and 1 more A- to counterbalance my poor record from the early-mid 2000s.)  GRE Subject Score: 660 (52)  Additional Coursework: Formal Logic, Real Analysis, Advanced Linear Algebra, Intro to Abstract Algebra. This summer I am doing a course in number theory and an independent study in Galois theory.  Recommendations: I am going to give the late professor a much longer lead time this time around. He has said that he wants to help me but is always extremely busy. I will also be asking (and almost certainly receiving) a rec from the professor I am doing my independent study with.  Interests in pure math have shifted away from analysis, more into algebra. In applied, medical applications (organ/system modeling and imaging more than bioinformatics) have taken the lead over mathematical physics.  Other changes: Medalist in school's math competition, math tutor in our honors college and privately. Taking a Spanish immersion course so I can list basic spanish on there as well.  I'll be taking the GRE subject again in October and am using saylor.org and MIT's opencourseware to review older subjects. I graduate in August and will be working for a year. I'm thinking about applying to teach at a high school or community college for that time. I also plan on taking one or two graduate courses per semester.  I plan on applying all over the place (>15 apps) compared to the 8 from last time. I would prefer to go to the west coast. Can anyone let me know if the mid level UCs (Irvine, Santa Barbara, Davis) are reasonable with what I've got now, especially since when I worked at that national lab I was technically a UC employee? Any other recommendations on schools or anything I can do over the next year to boost this?  One other thing: I have no REUs, but is a good independent study with a strong recommendation from it a decent substitute?  Thanks for taking the time to read my post.


Is there a substantial basis for the claim that the total energy of our universe is zero? I just read a bit of Hawking's writing in which he comes to this conclusion through inflation theory, but i felt that his finding was possibly biased towards inflation theory.


I have a GFI receptacle in my kitchen that feeds four other receptacles.  It tripped the other day and I cannot get it to reset.  All of the other receptables on the circuit are not functioning which is to be expected.  I first thought it was a bad GFI receptacle so I replaced it to no avail.  I then checked power at the electrical panel and all of the breakers for the house appear to be providing power.  The breakers for the GFI receptacles in the bathrooms have test buttons on them and trip when it is pressed, however the kitchen GFI breakers are standard non GFI breakers.  The confusing part is that when I go to the GFI receptacle I am not seeing the 120V power on my meter that I am seeing in the other working receptacles in the house and at the electrical panel.  I checked both sets of wires coming into the receptacle and various combinations of hot and neutral just to be sure I was testing the correct wires.  One pair gives me 3.9V and the other 0.04V.  I have gone through and verified that all of the other GFI receptacles in the house are functioning correctly so I don't think it is a separate GFI feeding this one that is causing the problem.  What would the next steps for testing this problem be?  It was functioning correctly before it tripped so I am assuming that it is not a wiring issue that would require an electrician at this point.  I have a meter and all of the necessary tools to do any of the work I am just not sure where to begin troubleshooting.


My tags are follows: test.tex \documentclass{book} \usepackage[natbib,authordate,backend=biber]{biblatex-chicago}%  \addbibresource{test.bib}  \makeatletter \AtEveryBibitem{\global\undef\bbx@lasthash} \makeatother  \begin{document}  \citet{baker_tenenbaum_saxe06} and \citet{baker_saxe_tenenbaum09}  \printbibliography  \end{document}  test.bib @inproceedings{baker_tenenbaum_saxe06, Author = {C. L. Baker and J. Tenenbaum and R. Saxe}, Booktitle = {Advances in neural information processing systems}, Date-Added = {2014-01-30 12:16:28 +0100}, Date-Modified = {2014-02-01 00:11:49 +0100}, Publisher = {Cambridge, MA: MIT Press}, Title = {Bayesian models of human action understanding}, Volume = {18}, Year = {2006}}  @article{baker_saxe_tenenbaum09, Author = {C. L. Baker and J. Tenenbaum and R. Saxe}, Date-Added = {2014-01-30 12:11:35 +0100}, Date-Modified = {2014-02-05 23:44:19 +0100}, Journal = {Cognition}, Number = {3}, Pages = {329--349}, Title = {Action understanding as inverse planning}, Volume = {113}, Year = {2009}}   Above codes are working fine, is it possible to get the marked letters are in caps by auto? (It comes in uppercase if I change in .bib file) Please advise...


No. of real solutions of the equation $2 \cos (\frac{x^2 + x}{6}) = 2^x + 2^{-x} $

How many real solutions are there of the equation $2 \cos (\frac{x^2 + x}{6}) = 2^x + 2^{-x} $? Please illustrate.


Is there non-trivial examples for groups $G$ satisfying $G = \mathrm{Aut}(G)$

As the question says. Are there non-trivial groups isomorphic to their automorphisms group?   (By the way i am  but i lost the password of my account and also mail :/ Is there anything anyone can do?)


Would a Cleric 1 / Wizard 1 multi-classed character know 3 cleric cantrips and 3 wizard cantrips?


How to fill gaps in SLC-Off Landsat 7 ETM+ Images with QGIS?

Explanation of the problem:     On 31 May 2003 the Landsat 7 Enhanced Thematic Mapper (ETM+) sensor had a failure of the Scan Line Corrector (SLC). Since that time all Landsat ETM+ images have had wedge-shaped gaps on both sides of each scene, resulting in approximately 22% data loss. These images are available for free download from the USGS GloVis website and are found in the L7 SLC-off collection.   source:   Can I use Qgis instead of proprietary software (ENVI, Erdas....) to fill the gaps?


Code for deciding ordinary floating point numbers in C++?

I want to know a right and maybe elegant way in C++ to detect whether a floating point number is ordinary. By "ordinary floating point numbers", I mean those of double/float/long double type except NAN or INF.


Intermittently receiving maintenance errors on SE network-wide

:  Not ten minutes ago, I received this error, twice:  And also an "Oops, something bad happened" error.  I'm also getting question posting errors.  Can we fix this, please?


To prove: A space $X$ is Hausdorff if and only if the set $\{(x,x)~|~x\in X\}$ is closed in $X\times X$.  If $X$ is Hausdorff then if a sequence $\{x_n\}_{n=1}^{\infty}$ of elements of $X$ converges in $X$, then the limit is unique. So a sequence in the given set, $\{(x_n,x_n)\}_{n=1}^{\infty}$ has to go to the point $(x,x)$ if $\lim_{n\rightarrow\infty}x_n=x$, and it will not converge if the sequence  $\{x_n\}_{n=1}^{\infty}$ doesn't. Hence the given set is closed.  How can I show the converse.


I  have  this  code,  class  Test{  public static void main(String args[]) { Boolean a; Boolean b; char [] c={'S','t','r','i','n','g'};  a=("String".replace('g','G')=="String".replace('g', 'G'));  b=("String".replace('g','g')=="String".replace('g', 'g'));  System.out.println("---"+a); System.out.println("---"+b); System.out.println(c.toString()=="String"); }   The  Out  put  is  ---false ---true false  I  did  visit  JLS  documentation  by  oracle where it says.  The replace method: Returns a new string resulting from replacing all occurrences of oldChar in this string with newChar. If the character oldChar does not occur in the character sequence represented by this String object, then a reference to this String object is returned. Otherwise, a new String object is created that represents a character sequence identical to the character sequence represented by this String object, except that every occurrence of oldChar is replaced by an occurrence of newChar.  when the O/p one is false why the O/p second  is true?  JLS document says about toString method: This object (which is already a string!) is itself returned. then  why  not  O/p  third  is  true?  Can  any  one  please  explain  it  to  me  Thanks  in  advance GPAR


Proof involving homomorphism between $\Bbb Z^n$ and an abelian group G

Let $(e_1, ..., e_n)$ be the standard $\Bbb Z$-basis of $\Bbb Z^n$. Let $x_1,..., x_n$ be elements of an abelian group $G$.  I want to prove that there exists a homomorphism $f$ $:$ $\Bbb Z^n$ $\rightarrow$ $G$ such that $f$$(e_i)$ $=$ $x_i$ for all $i$.   Please can anyone lend a hand here?


What is the difference between mutual independence and pairwise independence?

Can someone just give me a simple example and simple explanation in words about what the difference is between pairwise and mutual independence?   I have this definition:   Three events $A,B,C$ are mutually independence iff the following conditions hold:   1) the events are pairwise independent   2) $P(A\cap B\cap C) = P(A)P(B)P(C)$


Confused about ** parameters in python function calls

For reference I am referring to the answer in this   The author of the answer gives the following code  def sum(*values, **options):     s = 0     for i in values:         s = s + i     if "neg" in options:         if neg:             s = -s     return s  s = sum(1, 2, 3, 4, 5)            # returns 15 s = sum(1, 2, 3, 4, 5, neg=True)  # returns -15 s = sum(1, 2, 3, 4, 5, neg=False) # returns 15   However when I run on mine I get the following error  NameError: global name 'neg' is not defined   Can anyone explain this.  And in general, how does the function know when values ends and when options begins


Can Siri be told a ringtone when setting a timer?

I normally use the iPhone timer to sleep the device after I've dozed off to some music or podcast. Unfortunately this means that when I ask Siri to set a timer for some cooking, Siri waits the allotted time and turns off the phone rather than notify me that the time is up. Any solutions to this?


I have a very long tables in rows and another in columns, i use  adjustbox package to resize these tables. However, the other tables which are perfect fine get effect, some of them became in big font which different that in the thesis. I need help, as I can not find why the table font size get bigger. This is what I write for long table: \begin{table}[h] \caption{} \label{} \vspace{0.3cm}\centering\begin{adjustbox}{width=\textwidth} \begin{tabular}  \end{tabular} \end{adjustbox}  And this for the regular table: \begin{table}[h] \caption{} \label{} \vspace{0.3cm}\centering \begin{tabular}  \end{tabular} \end{table} \end{table}


free product with amalgamation is correspondingly a pushout

I'm trying to proof that the following diagram in the category of groups with $i_1$ and $i_2$ being inclusions is a pushout iff $G$ is the free product with amalgamation (up to isomorphism). It should be sufficient to proof $"\Leftarrow"$ since the pushout is unique up to isomorphism. How does the proof of $"\Leftarrow"$ go? \begin{array}{ccc}  G_0 & \xrightarrow{i_1} & G_1 \\ \downarrow_{i_2} &  & \downarrow_{\varphi_1}\\ G_2 & \xrightarrow{\varphi_2} & G \end{array} I tried defining the unique homomorphism of the pushout by $$\phi((g_1*...*g_n)N) = h_i(g_1)*...*h_i(g_n)$$ but couldn't proof it's well-definedness.


Get all the previous elements in javascript vanilla

I'm trying to get all the previous elements of the element I clicked, just like .prevAll() does in jQuery. I've read in  but I can't get it to work, I've just achieved that the prev one of what I clicked works. Only the previous elements of divs inside .container-wrap   const mejoras = document.querySelectorAll('.history:not(.first)');  mejoras.forEach(function(item){       prev = item.previousElementSibling;        function detach(node) {         return node.parentElement.removeChild(node);       }       function insertAfter(newNode, existingNode) {         existingNode.parentNode.insertBefore(newNode, existingNode.nextSibling);       }             item.addEventListener('click', function(e){        //Remove prev element       detach(prev);       //Put removed element after the one's clicked       insertAfter(prev, item);        item.classList.add('opened');       item.style.width = '100%';      })   })

1

2

3

4

5


Find the remainder when $11^{2013}$ is divided by $ 61$

How do I find the remainder when $11^{2013}$ is divided by $61$?  Brute force?  Without a calculator?  How did people do that?


I need to prove that  $$\left(a + \frac{1}{a}\right)^2 +\left(b + \frac{1}{b}\right)^2 \gt \frac{25}{2}$$  if $a+b = 1$  and $a b \le 1/4$  I'd like a hint. Solve the equality first to $a$ or $b$, or stay in a and b as to get $a b \le 4$ in the inequality ?


Does joining CSV file to shapefile overcomes the 255 character limitation of shapefile?

I have a CSV file in which some fields contain values greater than 255 characters. I want to ask that wether joining the CSV file with a shapefile overcomes the 255 character limitation of shapefile and displays the data in CSV completely. If not, then what is the solution for it?


Whenever we have a changing magnetic flux through a conductor an induced electric field is generated. It is often said that these induced electric field lines are circular in shape.But why is this so?Why are these field lines not elliptical for example? How can this shape be mathematically derived?  Also does this have anything to do with equipotential surfaces?Do such non-conservative electric fields even produce a potential field?If not why?


Ive added an image texture to this object and the texture shows all over, which is fine however I wanted to create another texture image (of rust) on the INSIDE this time... how would I go about doing that in the nodes as the outside faces are the same as the inside ones so I cant select them and just create a new material  Thanks for any help


Am I allowed to answer my own question if I find out the answer by myself?  For example, if I ask a question about python and then figure out the answer do I answer my question or edit my post with the solution included.


Python dateutil returns YYYY-MM-DD, but I need it reversed , help please?

I've got a piece of script in python that parses a line containing date and time:  d = dateutil.parser.parse("%s %s" % (m.group('date'),             m.group('time')), dayfirst=True)   it returns the date in YYYY-MM-DD. How can I get it to say Weekday DD Month YYYY? Or if that is not possible DD-MM-YYYY?   Additionally, it also gives the time in HH:MM:SS, but I only need HH:MM, is there a way to lose the seconds?   Thank you!   I'm a complete novice to python so hope that anyone can help me, thank you very much!


How to make the traditional division? Like that:  a |b_ r  c


I want to install the rock generator for v2.81.16 and I found this answer,   I have downloaded the zip and installed it as described but I still do not have the rock generator. I have lots of other addons so I think I placed the contents in the correct directory. Has something changed since this linked question was answered?


C++ Constructor issue. Unable to use any but default constructor

I am working on a game, creating a basic, Model-View-Controller, setup. I am trying to create three variables, a Model, a View which takes a pointer to model and a controller which takes a pointer to Model and View. However I am getting an error saying that the constructor for Views(Model*) has been declared implicitly and cannot be referenced as it has been deleted. I have attempted many things but have yet to find a solution to this. Any help would be greatly appreciated! Below is all the code in question, I can include anything else that is requested!       From Game.h:     #include "Controller.h"     #include "Model.h"     #include "Views.h"      class Game     {     public:         Game();         ~Game();          int launch();          Controller contrl;         Model model;         Views view;     };         From Game.cpp         Game::Game()         {             model = Model();             view = Views(&model); // <- gives error             contrl = Controller(&model, &view);          }  Views.h: #include <SFML\Graphics.hpp> #include "Model.h"      class Views     {      public:         Views();         Views(Model*);         ~Views();          int render();          sf::RenderWindow window;         Model* model;      };      Views.cpp:     Views::Views()     {      }      Views::Views(Model* m) {         model = m;     }      Views::~Views()     {     }


I'm interested in how huge games like The Witcher 3 and Skyrim create and save the open worlds. In my own game I used a system where I stored the map data in a file seperated by commas. For example 'stone' would code for a stone tile, and I just typed in codes for how I wanted my map to appear in the game.  I feel like this was a really innefficient and incorrect way of doing things. But, I couldn't think of a different way to get past the problem.  The creators of skyrim obviously used a level editor, but how did they actually save a map as big as skyrim's world? How is the data stored? Because with something as intricate as an amazing, 3D world, you can't store it like I did by just having codewords for different tiles that are all the same height and width.  How is it done in 2D games as well? For example Ori and the Blind Forest, which does not use a tile-based system. Or, in fact, do they not have files that hold data for the level layouts at all?  Thanks :)


I love steaks so much, that I would like to get a green card and live in the States just to enjoy good steaks whenever I want.  When I try to cook a steak at home (I live in Italy), it always turns out burned outside and almost totally raw inside. Actually only a thin layer is cooked (or I should say carbonized).  If I try to lower the temperature of the grill pan, I get an extremely dried meat that resembles cork.  So, which are the basics for properly cooking a steak (say, to a medium-well grade)?


How does the SE Bot pick questions to tweet?

One of my questions was recently  by the SE Bot.  How does StackBot pick questions to tweet? Its not the first time one of my questions was tweeted and I'm curious what the criteria ar.


when does C++ DLL destructor get called?

I have MFC forms program that calls the API inside the DLL and this DLL has both constructor and destructor.  However these constructor and destructor are not exportable which means my MFC forms cannot call t hem.  So if I exit out the MFC program, is that when DLL destructor gets called?  can I choose when to call DLL destructor?  thanks.


I have a project I am working on that is very similar to the one below i just found so i don't want to make a hassle for anyone to read again, however in the  question I found the  user had to create an extra file called file3, which is something I don't want to make. I was also thinking about the grep command, also thought about using a while loop. Anyone has any ways to start this script?    In other words, the question is: give an alternate solution to  without resorting to creating any extra file (like file3 in the example).


I have made the following code:  <?php  global $wpdb; // this adds the prefix which is set by the user upon instillation of wordpress $table_name = $wpdb->prefix . "wpex_programma"; // this will get the data from your table $retrieve_data = $wpdb->get_results( "SELECT * FROM wpex_programma; " ); print_r($retrieve_data); ?>
 <?php foreach ($retrieve_data as $retrieved_data){ ?>
<?php echo $retrieved_data->column_name;?>

<?php echo $retrieved_data->another_column_name;?>

<?php echo $retrieved_data->as_many_columns_as_you_have;?>
 <?php  } ?>
   The code makes sure the files get retrieved from the database. The file is saved by the path. I know that the file gets retrieved, because when I use print_r($retrieve_data) the id and name get shown.   However, the file is not displayed (it should display the file name, and not the path). How do I accomplish this?  What I see now is:  Array ( [0] => stdClass Object ( [id] => 35 [naam] => /public_html/wp/wp-content/plugins/AbonneerProgrammas/FilesUpload/Country Kickin 1.mp3 ) )  While it should just be "Country Kicking 1.mp3".   Question: How can I make sure that my filenames are displayed?  For more info, see my other question:   My query log:    Greetings,  Parsa


Interesting topics to research in mathematical physics for undergraduates

I'm planning on getting into research in mathematical physics and was wondering about interesting topics I can get into and possibly make some progress on.  I'm particularity fond of abstract algebra and topology and if possible any topics that involve abstract algebra would/topology/calculus of variations would be especially appreciated  My mentor is involved in work dealing with topological field theories in regards to developments in string theory.


In Ubuntu Software Center the Netbeans version is netbeans 7.0.1+dfsg1-5ubuntu2 but Netbeans 8.1 is available in the Netbeans website.


Solution Verification: $\sum_{n = 1}^{\infty} a_n \lt \infty \implies \sum_{n = 1}^{\infty} \dfrac{\sqrt{a_n}}{n} \lt \infty$ if $a_n \ge 0$

I would appreciate it if someone can verify my answer to the following and maybe point me towards alternate solutions. Thanks in advance. I'm not entirely convinced with the use of the Comparison Test here.      Prove the convergence of $ \sum_{n = 1}^{\infty} a_n$ implies the   convergence of $\sum_{n = 1}^{\infty} \dfrac{\sqrt{a_n}}{n}$ if $a_n \ge 0$ for each $n \in \Bbb N$.   Solution:   If $a_n \ge \frac 1 n$ for infinitely many $n \in \Bbb N$ it follows that $\sum a_n$ diverges leading to a contradiction. Then there is $m \in \Bbb N$ such that $n \ge m \implies a_n \lt \frac 1 n$. Therefore,   $$ n \ge m \implies \dfrac{\sqrt{a_n}}{n} \lt \dfrac{\sqrt{\frac{1}n{}}}{n} = \dfrac{1}{n^{\frac 3 2}} $$  Since $\sum \dfrac{1}{n^{\frac 3 2}} $ converges so does $\sum \dfrac{\sqrt{a_n}}{n}$ by the Comparison Test.


The viceroy butterfly generates a toxin compound which make it distasteful to predators.  Biologists agree that the viceroy must have developed this trait as a passive defence mechanism to prevent being eaten.  Let’s look at it from an information point of view.  For this to work, information about the bad taste of the viceroy must be known to the predators.  This can happen by a predator eating one viceroy, discovering the bad taste, learning and never doing it again.  Unfortunately, the unpalatable butterfly had to die in the process.  The second, and most important, information path is the genetic one.  One way, evolution work is by the survival of the fittests. In this case the important trait of “tasting bad” dies with the butterfly and is less likely to have been transmitted to a new generation, unless (and this might be part of the answer) we consider the local population of butterfly as the evolving organism.  The question: If a successful gene is only proven successful when removed from the gene pool, how does the species evolve a trait involving this gene?


How can I connect two or three monitors to a Samsung laptop?

Model: Samsung NP300 Intel HD Graphics 3000 Nvidia GeForce gt 520mx Port VGA: 1 Port HDMI: 1 OS: Windows 10  I want to connect in expanded mode (not duplicated mode). I connected both monitors to HDMI and VGA ports. Only one of the monitors is always active. If I activate another monitor, the previous monitor will fail. Is there a way to activate both monitors with this hardware? Or with the help of a converter? I tested the HDMI splitter but it only gives the same screen.


Possible Duplicate:          I want to write a function that reverses the given string passed into it. But, I can not. If I supply the doReverse function (see code below) with a character array, my code works well.  I can't figure out why this does not work. I am able to access str[0] in doReverse, but I can't change any value of the array by using a char pointer. Any ideas?  void doReverse(char *str) {     str[0] = 'b'; }  void main(void) {     char *str = "abc";     doReverse(str);     puts(str); }   Update:  I know how to do write a reverse function by passing a character array to it:  void reverse1(char p[]) {     int i, temp, y;      for (i = 0, y = strlen(p); i < y; ++i, --y) {         temp = p[y-1];         p[y-1] = p[i];         p[i] = temp;     } }   But, I want to write another version that gets a char pointer as a parameter.


What does it mean when someone or something is referred to as being "86'd"?


Consider $\sqrt[3]{17}$. Like the famous proof that $\sqrt2$ is irrational, I also wish to prove that this number is irrational. Suppose it is rational, then we can write:  $$ 17 = \frac{p^3}{q^3}.$$ and then $$ 17q^3 = p^3$$  With the proof of $\sqrt2$ we used the fact that we got an even number at this step in the proof and that $p$ and $q$ were in lowest terms. However, 17 is a prime number, somehow we could use this fact and the fact that every number has a unique prime factorisation to arrive at a contradiction, but I don't quite see it yet.


Let $f:I \rightarrow \mathbb{R}$ derivable in set I. if $\lim x_n = \lim y_n =a \in I$ with $x_n \neq y_n$ and $\lim \frac{f(y_n)-f(x_n)}{y_n - x_n} = f'(a)$ proof that $f'$ is continuous at $a$  my attempt $x_n \neq y_n$ so by MVT $\exists z_n \in I$ like $x_n \geq z_n \geq y_n$ with $\frac{f(y_n)-f(x_n)}{y_n - x_n}=f'(z_n)$ for each $x_n$ and  $y_n$ then $f'(a) = \lim\frac{f(y_n)-f(x_n)}{y_n - x_n}= \lim f'(z_n)$   Using $\lim x_n = \lim y_n = a$ and $x_n \geq z_n \geq y_n \Rightarrow z_n \rightarrow a$  if $ \lim_{x\rightarrow a} f'(x) \neq f'(a)$ then $\exists \epsilon > 0$ such $\forall n\in \mathbb{N}$, $z_n \in [x_n,y_n]$ $0 < |z_n - a| < \frac{1}{n}$ and $|f'(z_n) - f'(a)| \geq \epsilon$. So $z_n \rightarrow a$ but will do not have $\lim f'(z_n) = f'(a)$  so $\lim f'(z_n) = f'(a) = \lim_{x\rightarrow a} f'(x)$ when $z_n \rightarrow a$  and thats implies $f'$ continuous at $a$  my question is, that's correct ? if not, can you help me? thanks


Let $X$ be Hausdorff and $f:X \to X$ be continuous. Prove $\{x \mid f(x)=x\}$ is closed in $X$.  I know that the points in a Hausdorff space are closed, I was thinking about the diagonal but this is with cartesian product. Could you give me any ideas about it, please?  Thanks for your help


Can I reduce the money to be spent during my visit to the uk for that was why I was denied visa

I was refused a uk visitors visa because the money I stated to be spent on my travel was higher than my last salary received. And also I’m a continuing student and gave no documentation on next semester’s course term and start date. I was also told I intend to visit the uk for tourism for 1 month six days, what does that mean ? How do I address all these please


I am using MikTex 2.9 and TeXstudio for my TeX preparation. I would like to set the path to my figures folder, which contains all the figures, plots etc. required for my work.   I used \graphicspath to set the directory, but it gives me an error message:  \documentclass[12pt]{article}  \usepackage{graphicx}  \graphicspath{D:/LATEX/Reports@IIT/figures}  \begin{document} \includegraphics[width=4.5cm,height=4cm,angle=0]{logo.jpg}  \end{document}      Error: Package pdftex.def Error: File `logo.jpg' not found   However, when I prepend the filenames of the images with the same path in the \includegraphics command, it works just fine:  \documentclass[12pt]{article}  \usepackage{graphicx}  \begin{document}  \includegraphics[width=4.5cm,height=4cm,angle=0]{D:/LATEX/Reports@IIT/figures/logo.jpg}  \end{document}   Why is \graphicspath not setting the path?


I've got directory with files like:  dump_2014_12_21_1001.7z dump_2014_12_21_1122.7z dump_2014_12_21_1207.7z dump_2014_12_21_1334.7z   Number of files may be different.  I need to write bash script to delete all files except newest one?


Backup tools for backup Linux and Windows systems with encryption

Deja Dup doesn't support full system encryption, only home directory. rsync - I should make the backup, then archive the folder and then encrypt it. It's too long. tar archive of the system - I should make tar, and then encrypt the archive. It's too long. encrypt the external hard drive with cryptsetup and then put tar archive of the system there or use rsync - I can't use the standard Windows utility to make the backup because it requires ntfs. Am I right? What would you recommend?


Recently I have faced with the issue that on Ubuntu 18.04 pip3 does not work properly:  :~$ pip3 install jinja2 Traceback (most recent call last):   File "/home/redra/.local/bin/pip3", line 7, in <module>     from pip import main ModuleNotFoundError: No module named 'pip'   Then I have tried to reinstall pip3, seems like it is due to it and faced with another issue:  :~$ sudo -H python3 get-pip.py pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Collecting pip   Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/   Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/   Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/   Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/   Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/   I guess it is stucking ... I cannot install openssl due to bad pip3 and cannot install a new pip3 due to openssl ... Seems like it is cycle (  Any suggestion ? Has anybody faced with the same issue ?


public class Cust_Details_address extends Fragment{    String operator;    EditText operator_name;    @Override public View onCreateView(LayoutInflater inflater, ViewGroup container,                          Bundle savedInstanceState) {     View view = inflater.inflate(R.layout.details_customer_2, container, false);       Intent intent=getActivity().getIntent();      operator = intent.getStringExtra("operator");      operator_name = (EditText)view.findViewById(R.id.operator_id);      operator_name.setText(operator);     Toast.makeText(getActivity().getApplicationContext(),"operator"+operator,Toast.LENGTH_SHORT).show();      return view;   } }   In Toast its showing the operator name but EditText is blank thank you in advance.


I have $\frac{1}{2}(3^{k+1}-1)+3^{k+1}=\frac{1}{2}3^{k+2}-1$  Not sure where to go from here.  First post on Mathematics, please correct me if I did anything wrong.


Is a comma needed in "The tall, gray building is my company"?

"The tall, gray building is my company."  "The big, brown bear scared the children."  Comma needed in each sentence?  Thanks


Element works, but not on wordpress site

I made an instagram widget on codepen.  It works great and it functions.  However, when I try adding it to my site it does not show up.  Does anyone have any suggestions for how I could get this instagram widget to work?  codepen -   my html

     my css    #rudr_instafeed{    margin: 42px 0 0;   overflow: hidden;   white-space: nowrap;   vertical-align: middle;   position: relative;   text-align: center;    list-style:none; } #rudr_instafeed li{ display: inline-block;     vertical-align: middle;     position: relative; } #rudr_instafeed li img{ max-height: 260px;       position: relative;       z-index: 0; }     instagram-footer.js    var token = '5219525.f0b48c7.17327f93adbe4fbb89ccd13a1a226a33',     num_photos = 20;  $.ajax({     url: 'https://api.instagram.com/v1/users/self/media/recent',     dataType: 'jsonp',     type: 'GET',     data: {access_token: token, count: num_photos},     success: function(data){         console.log(data);         for( x in data.data ){             $('ul').append('

');         }     },     error: function(data){         console.log(data);     } });     functions.php    function instagramfooter() {  wp_enqueue_script( 'instagramfooter', get_stylesheet_directory_uri() . '/js/instagram-footer.js', array( 'jquery' ) );     wp_enqueue_script( 'jquery-2.2.4', get_template_directory_uri() . '/js/jquery-2.2.4.min.js', array( 'jquery' ), '2.2.4', true );  }  add_action( 'wp_enqueue_scripts', 'instagramfooter' );     In my JS folder /js/jquery-2.2.4.min.js (from here - )


How to add $USER to www-data group for me to edit the files freely on my project?

I just installed a fresh Ubuntu 16.10 and just finished setting up LAMP Stack. currently my Sublime Text keeps asking me authentication every time I edit a file.  Lamp Stack was installed using root user.  my /var/www/projects currently have www-data:www-data for it to work properly.  but I can't edit the files freely it keeps asking my password every time I hit save.  should I install Sublime Text as super user?


Quickly find which file(s) belongs to a specific inode number

I know of this command:  find /path/to/mountpoint -inum <inode number>   but it is a very slow search, I feel like there has to be a faster way to do this. Does anybody know a faster method?


How can I reset or revert a file to a specific revision?

I have made some changes to a file which has been committed a few times as part of a group of files, but now want to reset/revert the changes on it back to a previous version.   I have done a git log along with a git diff to find the revision I need, but just have no idea how to get the file back to its former state in the past.


I just downloaded and try to run Eclipse Kepler on Ubuntu 13.10.  If I run Eclipse with command  ./eclipse   Eclipse runs, but very weird :(    Nut if I run with the command   sudo ./eclipse   everything runs fine. But I don't want to sudo. Please help me.


re.match returns null although the string appears in the sentence

I am trying to match a string 'hello world' to a sentence. I think that means it searches the sentence for that string and returns a value that indicates a success.   But when I try this code, all that prints out is 'None'.  import re sentence = "why do we write hello world so often?" match1 = re.match('hello world', sentence) print match1


Do search engines index text contained in SVG elements?

Example:  <svg><text>Hello World</text></svg>?


Is it possible that galaxies' redshift is caused by something else than the expansion of space?

I was thinking that maybe photons loss energy naturally when they travel great distances.  Or maybe the mass of all matter is increasing over time and therefore photons emitted in the past are necessarily less energetic.  Or is the expansion of space backed up by so much other evidences that trying to find another explanation is completely foolish?


Simple Analysis of Likert Result with Mode and Median

So I made a questionnaire using Likert Scale. Let's say that I want to know "user's satisfaction of new web interface", where I used 5 questions with Likert Scale to answer that one question. The amount of sample is 40 and the example of the item is like this:        1) I'm comfortable with the new interface. [1 - 2 - 3 - 4 - 5]   scale meaning: [ 1 strongly disagree - - - 5 strongly agree ]      Because I have not much time and my knowledge in Statistics is very low, I thought of using the simple and most basic one to analyze the data. I read here and there, and my understanding is that since Likert is ordinal, don't use mean, use mode and median.    Now what I'm confused is, what those mode and median means? All the source said something about use mode or mean or median of frequency etc, but what is it that they represents?   For example, say the mode of question above is 4, and the median is 3. So what it is that they say? Something like, for mode = 4 : "4 means agree, so most of the user agree it's comfortable".  But then how to relate this to other question result? And also, if frequency for 4 is 15 and frequency for 3 is 12, there's a lil difference between them, not sure I can say "most" user agrees...  Is the conclusion something I make myself or is there is there any example/guide on analyze Likert like this? When I couldn't find it, I've tried searching for chi-square and t-test, but not just I don't really understand why one use one, I can't find any example either.


Let $f:I\rightarrow \Bbb{R}$, differetiable three times on the open interval $I$ which contains $[-1,1]$. Also: $f(0) = f(-1) = f'(0) = 0$ and $f(1)=1$.    Show that there's a point $c \in (-1, 1)$ such that $f^{(3)}(c) \ge 3$  I'd be glad to get a guidace here how to start.


In the graveyard scene in Harry Potter and the Goblet of Fire, Voldemort looks around at the Death Eaters, and lectures the ones who disappointed and failed him. When he reaches a wide gap of 6 people, he says three of them are dead, one was too scared to return, one has forever left him, and one is his most loyal servant.      " (...) Your exploits at the Quidditch World Cup were fun, I daresay... but might not your energies have been better directed toward finding and aiding your master?”   “My Lord, I was constantly on the alert,” came Lucius Malfoy’s voice swiftly from beneath the hood. “Had there been any sign from you, any whisper of your whereabouts, I would have been at your side immediately, nothing could have prevented me —”   “And yet you ran from my Mark, when a faithful Death Eater sent it into the sky last summer?”        (...)        He had reached the largest gap of all, and he stood surveying it with his blank, red eyes, as though he could see people standing there.   “And here we have six missing Death Eaters... three dead in my service. One, too cowardly to return... he will pay. One, who I believe has left me forever... he will be killed, of course... and one, who remains my most faithful servant, and who has already reentered my service.”   The Death Eaters stirred, and Harry saw their eyes dart sideways at one another through their masks.   “He is at Hogwarts, that faithful servant, and it was through his efforts that our young friend arrived here tonight....   Who are the three Death Eaters, and which one of them is the loyal, the cowardly, and the betraying? The obvious answer is Barty Crouch Jr. is loyal, Karkaroff is cowardly, and Snape is betraying. But if this is the case, why didn't Voldemort kill Snape, and why did he give him a second chance?      My question is different from this one because I wasn't asking about Snape specifically, but rather for different possible interpretations of the passage. There is no one correct answer, but the other question only provides one answer, which is a bit one dimensional.


I have just started learning Japanese Mahjong and I am a bit lost as to why this hand failed.  I did several pons and chis over the course of a hand, having a total of three open melds (one set and two sequences).  Apart from these I had an incomplete bamboo sequence of II and III as well as a pair of dragons, therefore I was on a single wait for I or IV bamboo stick tile. When the IV tile appeared in one of the discards of other players, I was given a choice to do another chi and declare another open meld, but I couldn't win with a ron. Why was that?  Am I wrong that winning by ron guarantees a single needed yaku to win a hand, just like Closed Tsumo does?  After declaring the chi I was offered with, my hand was left with a single pair of tiles, one of which I had to discard.  Eventually the round finished with a draw.  Why couldn't I win this hand with a ron on the IV bamboo tile, and why was I given only the choice of chi instead?


I am a calculus 3 student (just starting multivariable calculus) and going to start out with linear algebra. I also am pretty knowledgable on classical mechanics (such as the Lagrangian, Hamiltonian equations, and Possion brackets) and quantum mechanics. At this level, what are some good resources to learn about string theory and quantum gravity? I would like it to be free, online resources that include some math that is at my level.


Transport from the Rotterdam Cruise Port to the Museum Park?

Looking for economical way to get to the Museum Park from my cruise ship.


Error while running Jasper Report using Apache Tomcat 7 in Windows

I have configured compiling Jasper Report in JSP page. I have done in connecting to database, collecting the JRXML file as well as the parameters for the report and given in below:  JasperDesign jasperDesign = JRXmlLoader.load(reportFile); jasperDesign.setLanguage(language); JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign); JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, jasperParameter, jdbcConnection); //line4   While the report is generating I get error in line 4.  What I get is:   exception  org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.ExceptionInInitializerError     org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549)     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)     javax.servlet.http.HttpServlet.service(HttpServlet.java:722) root cause  javax.servlet.ServletException: java.lang.ExceptionInInitializerError     org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:930)     org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:863)     org.apache.jsp.QuaLIS.jasperReport_jsp._jspService(jasperReport_jsp.java:488)     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)     javax.servlet.http.HttpServlet.service(HttpServlet.java:722)     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)     javax.servlet.http.HttpServlet.service(HttpServlet.java:722) root cause  java.lang.ExceptionInInitializerError     net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:121)     net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:88)     net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:103)     net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:61)     net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:153)     net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:55)     net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:446)     net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:849)     org.apache.jsp.QuaLIS.jasperReport_jsp._jspService(jasperReport_jsp.java:444)     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)     javax.servlet.http.HttpServlet.service(HttpServlet.java:722)     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)     javax.servlet.http.HttpServlet.service(HttpServlet.java:722)   also  says  java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser   To brief you what i have done is:   Gave startup property -Djava.awt.headless=true. Gave full access privileges to the jrxml files as well as the related JARS Checked whether temp folder exists in tomcat. Tried restarting the Tomcat/Server. The list of available JARS what I have is as listed below:  jasper-compiler-jdt-5.5.23 jasperreports-5.1.0 jasperreports-chart-themes-4.5.0 jasperreports-core-renderer jasperreports-extensions-3.5.3 jasperreports-fonts-4.5.0 jasperreports-htmlcomponent-4.1.1 jasperreports-jtidy-r938   Looking forward for a solution. Thanks in advance!!!


How can I purchase Olympic themed skins?

There are those skins representing different countries for some characters, Tracer-Great Britain. How can I obtain them ?


How to synchronize an arbitrary Windows folder with a Dropbox account?

How can I do this with Dropbox:   I want to ensure that all my files stored under C:\Users\Gerard\Images and C:\Users\Gerard\Documents are stored automatically online. I don't want to copy them manually into the C:\Users\Gerard\Dropbox folder, since I'm very likely to forget things.  I don't want to use twice the space on my hard drive duplicating all files from my images folder to my dropbox.   Should I:   Stop using C:\Users\Gerard\Images to store things, and store everything under C:\Users\Gerard\Dropbox\Images instead? Or... Use a tool to synchronize my C:\Users\Gerard\Images and C:\Users\Gerard\Documents files with C:\Users\Gerard\Dropbox


Let G = (V, E) be a simple undirected graph with n = |V | ≥ 1 vertices...

Let G = (V, E) be a simple undirected graph with n = |V | ≥ 1 vertices. A subset U ⊆ V of the vertices is called a vc-set if for every edge {i, j} ∈ E either i ∈ U or j ∈ U (or both). Let $U^∗$ be a vc-set for G that has the smallest size possible (meaning there does not exist any other vc-set $U^{'}$ such that (|$U^{'}$| < |$U^∗$|). A subset W ⊆ V of the vertices of G is called an in-set if for all i, j ∈ W, {i, j} $\notin$ E. Let $W^∗$ be a largest possible in-set in G (meaning there is no other in-set, $W^{'}$, such that |$W^∗$| < |$W^{'}$|). Prove that |$W^*$| = n − |$U^∗$ |. I tried to use the basics of graph theory but was of no use as I got stuck and back to the starting point. If you could help me I would be really grateful thanks a ton!


When an app is moved to an external microSD card, to where is it moved?

In Android KitKat on many devices, it is simple to move an app to an external microSD card.  It's as simple as Settings -> Apps -> [Select the app] -> Move to SD card.  For apps whose manifest allows them to be moved (something every good app should allow except when there is a valid reason to not), this works like a charm.  Doing this frees up the device's internal storage, allowing room for more apps.  But to where are the apps actually moved?  I thought the apps would be moved to the Android/data and Android/obb folders on the external SD card.  But upon examining those folders with several root file managers, the moved apps are not visible in those locations.  What's the story?  To where are those apps being moved?    I am voting to self-close this question, as I see another very similar question here:   I'm not going to delete it because Susan's answer is very useful and appreciated.


Separate Stack Exchange Network for SCADA

There are quite a few questions about SCADA/PLCs/HMI/DCS/controls currently on the Stack Overflow site, but I think it would make sense to give these topics their own separate site, as they're not really part of "general programming", more an offshoot of electrical engineering/controls.   Any suggestions on who I would talk to to achieve this?


Why can't they have the transporters alter appearance on away missions?

I can't think of specific episodes off hand, but there were several episodes where crew members were surgically altered in order to appear as a different species if it is for espionage, etc.  While surgery in the future is much safer than today, and assuming the surgical reversal is easy and safe, if they are being transported anyway, why can't they have the transporters alter their appearance when they get reassembled?  I assume this would be the most ideal, no?


Zero work by magnetic field but still motion of particle?

I know from ${\bf F}=q({\bf v}\times {\bf B})$ the force is perpendicular to displacement and so work by magnetic field is always zero. But then how is that a magnet is able to displace any magnetic or metallic object and still cause no work because the motion of the object should be in the direction of force. So what is causing this object to move and which force is doing this work?


Related Rates Conical Water Tank find rate of change of the water depth

An inverted conical water tank with a height of $20m$ and radius of $5m$ is drained through the hole in the vertex at a rate of $2m^3 /h$. What is the rate of change of the water depth when the water is $4m$ deep?


Book with boy with one different colored eye

I once read a sci fi novel where the protagonist was a boy with one different colored eye, maybe gold colored.   It must have been sometime in the 70's. It was written in English. Unfortunately I have no recollection of the cover.  The time was in the not too distant future.   Actions, relationships and all other aspects of life were controlled by a central computer. As the boy grew he heard stories from his grandfather about how the central computer was built. When he became an adult he joined a group of free thinking rebels that planned to destroy the computer, but were foiled when they bombed the fake computer that was set up as a display/decoy.  One scene sticks in my mind. The group used to meet in a museum where one of the displays was an "antique" car and the people marveled that drivers had control over their own vehicles. One person remarked "I don't think that accidents happened as frequently as we have been told" or something like that. Another detail that I remember is the referral to an aluminum manufacturing plant, specifically an ALCOA factory.  He was captured and offered a chance to become of the "programmers" but eventually found and destroyed the real computer, which was right where his grandfather had said it would be.   The story ends with the now young man heading home in a helicopter as rain begins to fall during daylight hours, a sign that the central computer had relinquished control back to nature.


How do I compare the ImageIcon in a JButton and an ImageIcon?

I want to compare two icons (one is the icon set to the button and the other is an image icon declared just above the if statement. Java gives me null pointer exception for the comparison. what's the problem? (Is it a syntax error? am I using an incorrect method for comparing the icons?)      final ImageIcon x=new ImageIcon("X.png");     final ImageIcon o=new ImageIcon("O.png");      if(jbutton[0][0].getIcon().equals(x)&& jbutton [1][0].getIcon().equals(x)&& jbutton[2][0].getIcon().equals(x))      {         JOptionPane.showMessageDialog(null, "insert message here");         hasWinner=(true);     }     else if (jbutton[0][1].getIcon().equals(x)&& jbutton [1][1].getIcon().equals(x)&& jbutton[2][1].getIcon().equals(x))     {         JOptionPane.showMessageDialog(null, "insert message here");         hasWinner=(true);     }


Why are trees appearing on objects with glossy materials?

I’m not sure What it is? I’m trying to get a glossy shade to building in my scene as soon as I put roughness to zero I see these trees in glass. I have no trees in my scene anywhere, background is black. Even when I render I see these trees. How can I get rid of them and still keep my glossy building material.


Are two matrices similar iff they have the same Jordan Canonical form?

Are two matrices similar if and only if they have the same Jordan Canonical form?  Does the Jordan form have to have ordered eigenvalues?  For example, if $\lambda_1$ and $\lambda_2$ are eigenvalues of $A$, are $\begin{pmatrix}\lambda_1&0\\0&\lambda_2\end{pmatrix}$ and $\begin{pmatrix}\lambda_2&0\\0&\lambda_1\end{pmatrix}$ both Jordan forms of $A$?


Recall that an integer is said to be square-free if it is not divisible by the square of any prime. Prove that for any positive integer $n$...

Recall that an integer is said to be square-free if it is not divisible by the square of any prime. Prove that for any positive integer $n$, there exist $n$ consecutive nonsquare-free positive integers.  Having a lot of trouble with this problem, I tried searching this question up but only got problems similar to it and it still didn't quite help. We are currently covering a section on The Chinese Remainder Theorem. Our teacher showed us two ways of utilizing this theorem, one via back-substitution and one via the classical approach. Looking through my notes I don't see anything resembling this problem, any help is really appreciated.


SHA1 no longer considered secure for SSL Certificates -- what about Cipher Suites?

Many browsers and Internet companies have recently claimed that SSL Certificates with a signature algorithm of SHA1 will imminently no longer be considered secure.  Most notably, .  Yet I've read that since the SSL/TLS negotiation and Cipher Suite don't make use of plain SHA1 (or even MD5), and instead use SHA1 within an ; that using a Cipher Suite with SHA1 is still an acceptable security practice.  Is this the case?    While we're on it, is it also the case of using MD5 in a cipher suite?


I have SharePoint calendar and I want the entries to be in color based on status. If user add one entry and status is initially pending then that task would be in green, later it get changed to in progress then task color should change to yellow and blue for resolved.  Resolved=blue in progress=yellow pending=green   How can I achieve this, can anyone provide me javascript code for same


In $\mathbb{Z}\left [ x \right ]$, let $I = \left \{ f\left ( x \right ) \in \mathbb{Z}\left [ x \right ]: f\left ( 0 \right ) \text{ is an even integer} \right \}$. Is $I$ a Prime ideal of $\mathbb{Z}\left [ x \right ]$?  Let $f_{1}\left ( x \right ),f_{2}\left ( x \right ) \in \mathbb{Z}\left [ x \right ].$ Let $f_{1}\left ( x \right )f_{2}\left ( x \right ) \in I$. Clearly, I is a proper ideal of $\mathbb{Z}\left [ x \right ]$ since the elements in $\mathbb{Z}\left [ x \right ]$ evaluated at 0 can produce an odd integer but this cannot be true in I. Now, $f_{1}\left ( 0 \right )f_{2}\left ( 0 \right )$ is an even integer in I. Hence, either $f_{1}\left ( 0 \right )$ has an even constant integer or $f_{2}\left ( 0 \right )$ has an even constant integer. Thus, I is a prime ideal by definition. Is this correct? I would now like to show if I is a maximal ideal. Again, clearly, I is a proper ideal by the above argument. Let B be an ideal of $\mathbb{Z}\left [ x \right ]$ and I $\subseteq B\subseteq \mathbb{Z}\left [ x \right ]$. How should B be defined so that I would conclude either $B=I$ or $B=\mathbb{Z}[x]$?


Why in Javascript is a variable created as a function?

Question:  I was trying to figure out way in javascript that a person would create a variable and then set it equal to a function. Cannot you just create a function called main().    function main() {      //....code here   }   code:  var main = function () {         var now = Date.now();         var delta = now - then;          update(delta / 1000);         render();          then = now;          // Request to do this again ASAP         requestAnimationFrame(main);     };*/   Code Here that I am not sure why it is enclosed in  (...code here...)  (function() {     "use strict";       // Doesn't work because strict mode enforces        // the fact that the second example shouldn't work     if (true) {         function fn() {             // This won't run             console.log("doesn't work");         };         fn();     } })();


What is the simplest and reasonably efficient way to slice a list into a list of the sliced sub-list sections for arbitrary length sub lists?  For example, if our source list is:  input = [1, 2, 3, 4, 5, 6, 7, 8, 9, ... ]   And our sub list length is 3 then we seek:  output = [ [1, 2, 3], [4, 5, 6], [7, 8, 9], ... ]   Likewise if our sub list length is 4 then we seek:  output = [ [1, 2, 3, 4], [5, 6, 7, 8], ... ]


I know that Bash has word splitting but zsh doesn't, and I'm not familiar with others(csh, tcsh, ksh, etc), but I was wondering if it is a part of any standard.  In other words, does sh have word splitting, or is it a Bash-only feature? If I wanted to write a portable shell script, would I have to account for word splitting, or is it something nonstandard that is added by other shells?


Let $p:\mathbb{C}\rightarrow \mathbb{C}$, $z\mapsto a_kz^k+a_{k-1}z^{k-1}+\ldots +a_1z+a_0$ be a polynomial with coefficients $a_j\in \mathbb{C}$, $j=0, \ldots ,k$ and $a_k\neq 0$. For which $q\in \mathbb{C}$ is the series $\displaystyle{\sum_n p(n)q^n}$ convergent? We have that \begin{align*}\sum_n p(n)q^n&=\sum_n \left (a_kn^k+a_{k-1}n^{k-1}+\ldots +a_1n+a_0\right )q^n\\ & =a_k \sum_n n^k q^n +a_{k-1} \sum_n n^{k-1} q^n +\ldots +a_1 \sum_n n q^n + a_0 \sum_n q^n \end{align*} So we have to check the convergence of a series of the form $\displaystyle{\sum_n n^jq^n}$. Let $a_n=n^jq^n$. Then from the ratio test we have that $$\left |\frac{a_{n+1}}{a_n}\right |=\left |\frac{(n+1)^jq^{n+1}}{n^jq^n}\right |=\left |\left (1+\frac{1}{n}\right )^jq\right |$$ To get convergence we want that this is smaller than $1$, right? So we set $\left |\left (1+\frac{1}{n}\right )^jq\right |<1$ and solve for $q$ ?


How can I write a dynamically updated panel app / indicator?

I am trying to write some panel apps for ubuntu Mate.  I know C/C++, and SDL reasonably well.  I have seen the Mate-University panel apps github page, but i cannot get it to work properly / Im having a though time with it.   I am just wondering, if there is some easy avenue to write panel apps? I am not talking about using the custom application launcher, I would like to add new functionality, to the panel, but Im not sure how to.  A tutorial, or description about writing panel apps could be really helpful.


Can't retract dupe Close vote if the post closed in reverse order

Recently I casted a Close vote on this post  as a dupe of this post .  Later the moderator Cody Gray closed the other one as a dupe of this post.  If it's confusing, let me explain.  I casted a Close vote on A as dupe of B. Then a mod closed B as a dupe of A.  Now I can't retract my close vote.  I tried it after the mod closed the question.    But the close vote count changed from 1 to 0. Also The retract button is not there.  I checked it today and saw the same message. I can't retract my Close Vote.    Since the working of Close is same for all SE sites, I don't think this is an issue pertains only to Stack Overflow.


I've come across all kinds of sites that are just scraping SE sites and taking the info for themselves, usually with a crappy UI. The most recent I've come across is , which seems to be scraping SU. Are we doing anything about them? Do we even care?


Start Windows automatically unless a key is pressed, then start Ubuntu

I want to disable the boot menu and still be able to start Ubuntu instead of Windows by holding a key down.  Is this possible?


How can I hide an application from the Windows taskbar?

Is there a way to "hide" a normal windowed application in Windows?  I'm looking for something that removes it from the taskbar and possibly puts an icon in the system tray instead.


Why use the term 'models' to interpret the double turnstile symbol?

A $\vDash $B can be read in words as:    A entails B B is a semantic consequence of A A models B   The first two are fine. But the third one seems a bit counter-intuitive to me. Somehow, I can't reconcile the term 'model' (used colloquially) with the notion of entailment or consequence.  Why do mathematicians and logicians use the term 'model' in such contexts? How is the term associated with the idea of entailment? And even more bizarre to me is the use of the $\vDash$ symbol in different contexts. For example, let A be an assignment, and F is an atomic formula. So that A $\vDash$ F (again, read as A 'models' F) means that A assigns a truth value of 1 to F. Again, this is counter-intuitive, and often had me wondering: "what is the underlying concept or idea behind it?"