I seem to have noticed a bit of a trend where a posted question will very quickly get an answer, but a very poor one.  It would seem that some people are "camping", waiting for new questions to be asked, and then jump on them and try to get an answer submitted ASAP, presumably in hopes that it will get marked correct.    Now this would be fine if the answers were correct, but I find that they are often extremely weak answers.  And this is just speculation on my part, but it seems like once a question has one response, traffic to it drops dramatically.  I don't really know exactly what to propose about this....it seems there are several issues with undesirable behavior from people trying to gain reputation.  I wonder if increasing the weight of downvotes might be the answer, or maybe even making their weight exponential, ie: 1 downvote is no big deal, but 4 downvotes is a very big deal?  My point is to try to do something to get rid of people that are posting answers that are just not very good at all, and they know it, but they are hoping that by having "many lines in the water", they might catch an extra fish here and there.  I think this type of behavior should be discouraged on SO.

I feel like there's a problem with Stack Overflow, as the number of people prowling it increases.  Each question's answers are sorted by descending score and then by descending time of posting. This means that if a person sits down and answers a question in a long, thorough way, going through every nook and cranny, once they post their answer, it will already be one of about seven different ones, some of which have already been upvoted. This wouldn't be a problem if those answers were as thorough as the one this guy's posting, but they usually aren't. Some of them are downright wrong, some aren't even answers to the question asked because their poster didn't bother to read the question all the way through.  This causes a problem I like to call Stack Overflow's Fastest Gun in the West Problem. I've come to a point where I'd rather just send a short, simple, correct explanation, than to go and do some proper research, write a whole blog post about it or even make sure the code I post even compiles, just so it will be noticed, as opposed to the incorrect ones.  I'm sure I'm not the only one doing this and that it despairs many people from even trying to answer questions.  I've long ago learned to try to always raise a problem with a solution in hand, rather than just say "This is a problem, handle it," so my question, after this long tirade, is:     How do you think this can be changed? What would you change in Stack Overflow to make this problem go away without hurting the site?   I promise to vote on answers I like, even if it takes you a long while to post them. :)


I've recently come across a divisibility problem that I am unable to solve. I know that most of these types of problems have fairly straightforward proof-by-induction solutions -- but for this particular problem, I don't know how to finish the inductive step. Or perhaps there is another, easier path to a proof?  Anyways here it is:  Prove that ((n+1)^n) - 1 is divisible by n^2 for all positive integers n.  Thanks in advance!

Basis step has already been completed. I've started off with the inductive step as just $n=k+1$, trying to involve $f(k)$ into it so that the left over parts can be deducible to be divisible by $x^2$ but getting stuck on this inductive step.


I heard the letter a was pronounced /ei/, and sometimes it was pronounced as /ə/. So, can you tell me when is it pronounced as /ei/, and when as /ə/?

How can I know, precisely, when to differentiate the sounds of the letter a, like in: apple and vault?


I'm going to Mongolia and have a 14-hour layover in Seoul with Asiana Airlines from the USA. Do I need a visa to go out of the airport for sightseeing? I'm a Mongolian passport holder.

I am a Vietnamese citizen. I am planning to buy a round-trip flight ticket from Taipei to Los Angeles (America) and I will transit in Seoul airport.   Do I need a visa if I want to enter Seoul (not over 72 hours)?   My first route is TPE-ICN-LAX, do I need a visa if I stay one night in Seoul? My second route is LAX-ICN-TPE, do I need a visa if I stay one night in Seoul?  Of course, I have a valid US visa, and onward ticket that I booked.


I'm wondering how to package a Java application into a native binary for Windows, Linux and Mac OS X.   I know Minecraft does this, but I can't figure out how. This is what'd I'd like to do:   From NetBeans (preferably) or Eclipse, build the three binaries automatically. Include native libraries for OpenGL et. all. Obfuscate my code if possible.   If there's some way to mimic the Minecraft auto-updater feature, that'd be totally awesome.  So, are there any tools available to do this for you, or do I need to write a large bulk of XML to accomplish this?

If I have a Java source file (*.java) or a class file (*.class), how can I convert it to a .exe file?  I also need an installer for my program.


I have a list of arbitrary length, and I need to split it up into equal size chunks and operate on it. There are some obvious ways to do this, like keeping a counter and two lists, and when the second list fills up, add it to the first list and empty the second list for the next round of data, but this is potentially extremely expensive.  I was wondering if anyone had a good solution to this for lists of any length, e.g. using generators.  I was looking for something useful in itertools but I couldn't find anything obviously useful. Might've missed it, though.  Related question:


I am working on an exiting database. All fields seems to be UTF8    Problem is : when I edit some fields in phpmyadmin: I got these chars     En athlÃ©tisme   and selecting ISO-8859-1 works fine  mysql_select_db('myDB'); mysql_set_charset('ISO-8859-1', $con1);    whereas   mysql_select_db('myDB'); mysql_set_charset('utf8', $con1);      gives      En athlÃ©tisme   Question : How can I make it clean and re-encode it all in UTF8 ?

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


I'm trying to prove this but am having some difficulty.   For any $x,y\in\mathbb R$ such that $x\ge 0$ and $y\ge 0$ we have $$\frac{x+y}2 \ge \sqrt{xy}.$$    So far what I have gotten to is $\frac{x+y}{2} \geq \frac{\sqrt{xy}}{2} $  After this point I don't know what to do. To get to this point:  $$y \geq 0 $$ $$\implies y \geq y$$ $$\implies xy \geq xy$$ $$\implies 2xy \geq xy$$ $$\implies x^{2} + 2xy + y^{2} \geq xy$$ $$\implies (x+y)^{2} \geq xy$$  Sqrt both sides to get:  $$\implies x+y \geq \sqrt{xy}$$ $$\implies\frac{x+y}{2} \geq \frac{\sqrt{xy}}{2}$$

I am having trouble with this problem from my latest homework.  Prove the arithmetic-geometric mean inequality. That is, for two positive real numbers $x,y$, we have $$ \sqrt{xy}≤ \frac{x+y}{2} .$$ Furthermore, equality occurs if and only if $x = y$.  Any and all help would be appreciated.


How to match obstacles with music in Unity?  I want to make a game like Beat Saber where game events are synchronized with the beats of a song.

You may be familiar with ryhtm games as , , or even . They have something in common : every single action in the game is synchronized with the music. My purpose is to make a game like Geometry Dash where the player has to do some actions in rythm while the character scrolls automatically in the level. I have a few questions about this type of game :   Do I have to keep my FPS constant as it has to be always synchronized with the music ?  How can I build my levels with a music in mind to make sure that it will be synchronized ?   I am working on Unity using C#.


Compute the following limit ($n\in \mathbb{N}$) $$\lim_{x\to \infty}\left(\frac{1}{n}\sum_{k=1}^{n} k^{1/x}\right)^{nx}$$  My idea was to use the inequality:  $$\left(\frac{1}{n}\sum_{k=1}^{n} 1^{1/x}\right)^{nx}<\left(\frac{1}{n}\sum_{k=1}^{n} k^{1/x}\right)^{nx}<\left(\frac{1}{n}\sum_{k=1}^{n} n^{1/x}\right)^{nx} \\ \implies1<L<n^n$$  This gives that the required limit $L$ lies between $1$ and $n^n$. But how can we find its value?

This equation is directly given in my book and I am don't know anything about its proof.I tried L'Hospital rule by differentiating the both numerator as well as denominator(division rule), but the result is still coming in indeterminate forms.I am a beginner , and haven't practiced limits that much. This formula is really confusing me.


I finally upgraded my laptop from 18.04 LTS to 20.04 LTS and it seems to have stalled at Progress: 15%. I was doing other things and periodically checking in on it, but the first few times my laptop when dark it continued with the upgrade. This time it's been stalled for several hours and I think it's time to bail, but I'm not sure how to do that safely. The most recent bit on the screen is this: Reloading AppArmor profiles  Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd Setting up openssl (1.1.1f-1ubuntu2.1) ... Installing new version of config file /etc/ssl/openssl.cnf ... Setting up ca-certificates (20210119~20.04.1) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Setting up libbsd0:amd64 (0.10.0-1) ... Setting up libedit2:amd64 (3.1-20191231-1) ... Setting up libcbor0.6:amd64 (0.6.0-0ubuntu1) ... Setting up libfido2-1:amd64 (1.3.1-1ubuntu2) ... Setting up libkrb5support0:amd64 (1.17-6ubuntu4.1) ... Setting up libk5crypto3:amd64 (1.17-6ubuntu4.1) ... Setting up libkeyutils1:amd64 (1.6-6ubuntu1) ... Setting up libkrb5-3:amd64 (1.17-6ubuntu4.1) ... Setting up libgssapi-krb5-2:amd64 (1.17-6ubuntu4.1) ... Setting up openssh-client (1:8.2p1-4ubuntu0.1) ... Installing new version of config file /etc/ssh/ssh_config ... Removing obsolete conffile /etc/ssh/moduli ... Setting up liblzo2-2:amd64 (2.10-2) ... Setting up squashfs-tools (1:4.4-1) ... Setting up libkmod2:amd64 (27-1ubuntu2) ... Setting up udev (245.4-4ubuntu3.4) ... Installing new version of config file /etc/init.d/udev ... Installing new version of config file /etc/udev/udev.conf ... update-initramfs: deferring update (trigger activated) Setting up snapd (2.48+20.04) ... snapd.failure.service is a disabled or a static unit, not starting it. snapd.snap-repair.service is a disabled or a static unit, not starting it.  How do I safely bail out of an upgrade that I launched with do-release-upgrade? I see that there are replies to older, similar questions but I don't want to assume that what worked in 2012 will still work today. A few folks have asked if  is a different question. It is different. I launched the upgrade with do-release-upgrade, I didn't launch it from the gui. It sounds like I may need to kill this, boot into recovery mode, and start over from there, if it doesn't get any farther.

I had 13.04 before. In response to a popup to upgrade to 13.10, I clicked yes, and the whole thing went on autopilot overnight. Woke up this morning, and it's stuck at "unpacking X.org". I forced the machine to restart, but failed.  Many had this problem and the suggestion is to execute:  sudo dpkg –configure -a   But this did not work for me. The error was something like some file missing.


I want to create an gradient over my image this is my html:

  CSS: .img-gradient {   content:'';   left:0; top:0;   width:100%;   height:100%;   display:inline-block;   position:absolute;   background: -moz-linear-gradient(top, rgba(0,47,75,0.5) 0%, rgba(255, 138, 0, 0.5) 100%); /* FF3.6+ */   background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255, 138, 0, 0.5)), color-stop(100%,rgba(0,47,75,0.5))); /* Chrome,Safari4+ */   background: -webkit-linear-gradient(top, rgba(0,47,75,0.5) 0%,rgba(255, 138, 0,0.5) 90%); /* Chrome10+,Safari5.1+ */   background: -o-linear-gradient(top, rgba(0,47,75,0.5) 0%,rgba(255, 138, 0,0.5) 100%); /* Opera 11.10+ */   background: -ms-linear-gradient(top, rgba(0,47,75,0.5) 0%,rgba(255, 138, 0,0.5) 100%); /* IE10+ */   background: linear-gradient(to bottom, rgba(0,47,75,0.5) 0%,rgba(255, 138, 0, 0.5) 100%); /* W3C */   filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#002f4b', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */ }  img-rounded and responsive are bootstrap classes result:

I want to overlay one image with another using CSS. An example of this is the first image (the background if you like) will be a thumbnail link of a product, with the link opening a lightbox / popup showing a larger version of the image.   On top of this linked image I would like an image of a magnifying glass, to show people that the image can be clicked to enlarge it (apparently this isn't obvious without the magnifying glass).


What is correct in a sentence: "Only then can you do" or "only then you can do" ?

I have seen this construction quite often:      Online ads have been around since the dawn of the Web, but only in   recent years have they become the rapturous life dream of Silicon   Valley.   What is the rule there?. When your sentence doesn't start with pronoun + verb, invert them as verb + pronoun?. I know it sounds awkward but is it possible (grammatically correct) to use something similar to:      Online ads have been around since the dawn of the Web, but only in   recent years they have become...   And in any case, does this only work with have (or has)? Maybe it works fine with 'had' but I can't think of an example right now.


I am using waypoints.js and animate.css as this example:  to add animations when scrolling.   If I have the structure:

I am a bird!

Mee too!

   I can of course animate them with:      $('.FlyWithMe').waypoint(function() {         $(this).toggleClass( 'bounceIn animated' );     }   But how can I define the child element to animate them instead of a container?      $('.FlyWithMe').waypoint(function() {         $(this>child).toggleClass( 'bounceIn animated' );     }   Of course I could add the class to the child element directly but this is just an example of a more complex case.

I have a layout similar to this:

   and would like to use a jQuery selector to select the child img inside the div on click.  To get the div, I've got this selector:  $(this)   How can I get the child img using a selector?


What is the difference between different variants of BLOSUM matrices?  e.g What is the difference between BLOSUM 30 and BLOSUM 62?

The  states that:      The scores are created by comparing the word in the list in step 2* with all the 3-letter words. By using the scoring matrix (substitution matrix) to score the comparison of each residue pair, there are 203 possible match scores for a 3-letter word. For example, the score obtained by comparing PQG with PEG and PQA is 15 and 12, respectively with the BLOSUM62 weighting scheme.   I do not understand how they got a score of 15 for PQG v. PEG. What is a scoring matrix, how is it computed, and how is it used?      Step 2 on that page is Make a k-letter word list of the query sequence: “Take k=3 for example, we list the words of length 3 in the query protein sequence (k is usually 11 for a DNA sequence) sequentially, until the last letter of the query sequence is included”.


EDIT: I don't think this is a duplicate question. My MBP is only 2 years old and its battery cycle count is only 90.  I have a MacBook Pro (13-inch, 2017, Four Thunderbolt 3 Ports) with macOS 10.12.6, and there is a battery issue.  It shuts down when there is still 40%~ battery left.  I tried to  and . I followed all the instructions, but I don't even know how I can be sure if the SMC reset was successful.  More importantly, the recalibration was not helpful at all.  macOS still gives me the warning "Service Battery", and as shown in the screenshot attached, coconutBattery reports 60%~ in the "Design Capacity" section. It shuts down at 40%~ battery as before.  Why is the MBP battery like this despite the not-that-high battery cycle count (90)?  Is going to an Apple service center the only option I have? Are there any other things I can try by myself?  Thank you.

I have two mid 2012 MBPs. Sometime last year they both started randomly shutting down and showing the 'please plug me in to power' image when trying to start them up. That would be fine if the batter was at 1% or less but this happens when the battery is at anywhere from 30% to as high as 48% full. The power cycle info says 500 cycles or so. Both of them do this. They are both patched current, always. I asked Apple they suggested NVRAM PRAM and SMC reset, as expected, which had no effect. Any ideas?


The top bar of my Ubuntu 20.04 now has 8 tiny little VLC application icons. VLC is very useful, I do not wish to remove it from my machine. It is in my favorites bar at the bottom of my screen, where again it is fine. I have so far been unable to remove any copies of the icon from the top bar. I have tried, right click, right click with ctrl, with the windows key, with the windows and alt key and any other combinations I can think of. There is never an option to remove it. There is a quit option, but that does not rid me of these. Also when I use the Settings program, the Volume level shows up seven times "Icon" VLC media player (LibVLC3.0.11). This is very annoying, though it does not seem to have any other adverse effects.

So, when I start watching a video or something of the like, VLC puts a nice little icon in the tray. The problem is, that when I open and close VLC it keeps adding another nice little icon in the tray.   Here's a SS for example's sake.


I was playing with numbers and thinking about this "coincidence"  $$\frac{5}{2} = 2.5$$  That is, for positive $a$ and $b$ we have  $$\frac{a}{b} = b.a$$  And those questions came into my mind:  1. Could we find all such integers pair $a, b$? (clearly in base $10$)  And due to the fact that we work in base $10$, a more general problem popped up, that is, to write our numbers in a base $\mathcal{B}\neq 10$  and thence look for triplets $(\mathcal{B}, a, b)$ such that   $$\frac{a}{b} = b.a$$  When $a, b$ are written in base $\mathcal{B}$.  2. Could we find a general formula that will produce infinitely many such integer triples?   I am not really into number theory, except for few little questions, so this is more a sort of "I am asking to you experts in the field" question.  If for some reason this problem is unclear or wrong or impossible, just tell me!  Thank you!

Are there any equations of the form $\dfrac{b}{a}=a.b$ other than $\dfrac{5}{2}=2.5$?   Denote $n=\lfloor\log_{10}b\rfloor+1,$ then  $$\frac{b}{a}=a.b=a+\frac{b}{10^n},\\ b=a^2+\frac{ab}{10^n},a^2<b<a^2+a<(a+1)^2, a=\lfloor\sqrt{b}\rfloor,10^n\mid ab.$$  I searched $b<10^5$ such that $10^n\mid ab$ and got a table: $$\begin{array}{|c|c|c|}\hline  b & a & d(b)=a^2+a b/10^n-b \\\hline  5 & 2 & 0 \\  75 & 8 & -5 \\  100 & 10 & 1 \\  400 & 20 & 8 \\  500 & 22 & -5 \\  640 & 25 & 1 \\  900 & 30 & 27 \\  2600 & 50 & -87 \\  5000 & 70 & -65 \\  6500 & 80 & -48 \\  9375 & 96 & -69 \\  10000 & 100 & 10 \\  25625 & 160 & 16 \\  31250 & 176 & -219 \\  40000 & 200 & 80 \\  62800 & 250 & -143 \\  65625 & 256 & 79 \\  76000 & 275 & -166 \\  90000 & 300 & 270 \\\hline \end{array}$$  $\frac{b}{a}=a.b$ iff $(b)=0$. For example, $d(640)=1\neq0$ and $\frac{640}{25}=25.6$.  Also we can search the solutions start with $a,$ then $n=\lfloor\log_{10}a \rfloor+1$ or $n=\lfloor\log_{10}a\rfloor+2$, $b=\frac{10^n a}{10^a-n}.$  I think someone has conducted research and gives a complete solution to this problem, because the problem is so interesting and natural, so I hope you can give me a reference or write an answer here, thanks in advance!


I have a rMBP (Mid 2012) that is having disk issues. When verifying the disk, I get three different errors:   Incorrect number of file hard links Invalid first link in hard link chain Invalid directory item count   Rebooting into single user mode and running fsck -fy seems to fix these errors, as a subsequent run of fsck -fy does not report any errors after the first completes. However, after rebooting, the errors are once again present.  I have also rebooted into Internet Recovery to run Disk Utility and get an error that Disk Utility cannot repair the drive.  The only issue that I have noticed while using my laptop is inability to repartition my hard drive. I fixed this issue once before so I could repartition my hard drive, but do not remember what I did.  The SMART status of my hard drive doesn't indicate any problems, so the only solution I can come to is wiping my drive and reinstalling OS X, although I would rather do that in the fall to do a clean install of El Capitan. Is there anything else that I could do to at least resolve the issue of not being able to repartition my hard drive?

My Mac Book Pro 13.-" doesn´t get past the grey booting screen with the apple and the spinning wheel (The loading bar appears but when it´s done nothing happens)   I have 220 GB in one single Partition (Macintosh HD) and there is all my work my music and the only copy of ALL MY PHOTOS. I´m so stupid I don´t have a backup of anything but know I have an external HD with 300GB space. I would like to repair my HDD but more important I need to save my files but I don´t know how to do it in Disk Utility Mode. I read there is a Diskwarrior but I don´t know how to install it without booting the mac. Please help!!!  When I start on Single User mode and enter /sbin/fsck -fs this appears  Executing fsck_hfs (version diskdev_cmds-557-393)  Checking Journaled HFS Plus volume.  The volume name is Macintosh HD  Checking extents overflow file.  Checking catalog file  Incorrect number of thread records  (4, 23745)  Checking multi-linked files.  Checking catalog hierarchy  Invalid volume directory count (It should be 175703 instead of 175701) Checking extended attributes file.  Incorrect number of extended attributes (It should be 340062 instead of 340064)  Checking volume bitmap.  Checking volume information.  The volume Macintosh HD could not be repaired after 3 attempts.  *****The volume was modified *****   What are the next steps if fsck fails to repair a drive?


We have a couple of applications built in Salesforce's Lightning Components.  Recently Salesforce released their Summer '16 Major Release this past weekend, on June 4th 2016. Something wrong happened and now I'm getting a error every time I try to load any of my component.  Error     "Uncaught TypeError: Cannot read property 'expando' of undefined   throws at /resource/jQuery/jquery/js/jquery-1.10.2.min.js:3:30190"   Here's the code I have in the new Component    <aura:component >     Test With Locker     <ltng:require scripts="/resource/jQuery/jquery/js/jquery-1.10.2.min.js"/>  </aura:component>

I have a couple of applications built in Salesforce's Lightning Components.  Recently Salesforce released their Summer '16 Major Release this past weekend, on June 4th 2016. Something weird happened and now I'm getting a weird error every time I try to load any of my applications.   NOTE: I can load other JS libraries, such as svg4everybody just fine, jQuery is the only one I've tried that fails, and my applications heavily depend on it.  Error  Uncaught TypeError: Cannot read property 'expando' of undefined throws at /resource/jquery:5:8159   That's when I have the following code in a new Lightning Application that I created to see what is up with this jQuery load error. Here's the code I have in the new app:  <aura:application>   <ltng:require scripts="{!$Resource.jquery}" afterScriptsLoaded="{!c.init}"/>   <div>     <button aura:id="buttonThingy" onclick="{!c.clickMe}">Click Me!</button>   </div> </aura:application>   In the init function I've got this:  init: function(component, event, helper) {     console.log('running init'); },   Simple yes?  If I check Chrome's Console Log with the Log XMLHttpRequests checked in console settings, I can see that the request to load jQuery was a success since it says so...  app.js:713 XHR finished loading: GET "https://myOrgDomainName.lightning.force.com/resource/jquery".   Did anyone have this problem yet? If so how did you resolve it?  I've tried uploading minified, unminified, zipped up versions of jQuery to the Static Resources in my Org, and still no luck. Also switched between it being a Private and Public static resource. Still no luck.


Does $\sum_{n=1}^{\infty} \frac{1}{n}$ converge? I actually do not know this, and have no steps to prove it, but my logic thinks that it is convergent. But when graphed, it takes ages for the function to "converge" to a single number. Thanks.   P.S. Sorry for the extremely amateur question

Can someone give a simple explanation as to why the       $$\sum_{n=1}^\infty\frac1n=\frac 1 1 + \frac 12 + \frac 13 + \cdots $$   doesn't converge, on the other hand it grows very slowly?   I'd prefer an easily comprehensible explanation rather than a rigorous proof regularly found in undergraduate textbooks.


I'm wanting to format a column in SharePoint 2013 to automatically enter the parentheses and dashes in a phone number.   So no matter how the telephone is entered, it shows (###) ###-####.  Thank you in advance.

I want to validate the field for US format phone number(478-857-4578). I used the below code, it works fine for all but one scenario.  If I enter only 4 digit number or below than, the error message     The validation formula has evaluated to an error   is displayed.   But for all other wrong inputs, my custom error message     Please enter phone number in 214-587-5485 format   is displayed.  I wanted to display my custom error message for all invalid inputs. Do I need to change anything in formula?  Formula:  =AND( LEN([num])=12,     IF(ISERROR(FIND("-", [num],4)),         FALSE,         (FIND("-", [num], 4) = 4)     ),     IF(ISERROR(FIND("-", [num],8)),         FALSE,         (FIND("-", [num], 8) = 8)     ),     IF(ISERROR(1*CONCATENATE(MID([num], 1, 3), MID([num], 5, 3), MID([num], 9, 4))),         FALSE,         AND(             1*CONCATENATE(MID([num], 1, 3), MID([num], 5, 3), MID([num], 9, 4)) > 1000000000,             1*MID([num], 1, 3) <> 911,             1*MID([num], 5, 3) <> 911         )     ) )


My new harddrive is larger than 2TB, and for some reasons I have to convert it to GPT disk so I can use all the space.  How can I convert my WD Red 3TB into GPT disk so I can use all its capacity?  I tried the commandline feature (diskpart), but it said it cannot convert it to GPT format.  I am using Windows XP SP3 32bit.

I have an 3TB external disk and Windows XP 32 bit. It works as a USB 2 disk with its enclosure, but I want to use it as an internal SATA disk. I don't want to use it as a boot disk, only as a data disk. I understand that normally I need GPT (GUID partition table), and then I can't use Windows XP 32 bit anymore. I would prefer to avoid this. But what I did not understand by googling around is: can I partition the disk in 2 parts (so that each part is less than 2TB) with MBR and use it in Windows 32-bit? If yes, which tools do I need?


I updated my ubuntu 14.04 after it was being unused for 4 months. The updating took enormously longer time than usual, and after that the computer was very slow. I rebooted the computer and now I cannot get past the login screen. When I login it immeaditely returns to the login screen.  I have checked the owner of .Xauthority, tried deleting it and tried installing gdm. Login still loops if I use gdm instead of lightdm. I have run sudo dpkg-reconfigure lightdm, sudo apt-get install -f and sudo apt-get update, but apt-get doesn't complain anything or give any errors.  What to do?

My Ubuntu is stuck in a login loop when trying to enter my desktop. When I login, the screen gets black and soon after that the login screen comes back.   I've read that the problem might be caused by an error depending on the graphics, here's my graphics card: ATI Radeon 7670M


As many I tend to misspell some words when I type. OS X is being nice and underlines them letting me know that something was not right, if use a mouse and right click on the underlined word a menu pops up and offers the correct spelling of this word.  Is there a way to trigger this menu from the keyboard?

Basically, is there any way to trigger the native OS X spellcheck context menu using a keyboard shortcut. I know the command keys ⌘+: activates spellcheck, but what I'm trying to do is get the result of a right-click without taking my hands off the keyboard. Is there an OS X equivalent to emacs' flyspell-correct-word-before-point command.


I have a problem with a MessageBox window changing my wait cursor back to default and not letting me override it again. If i comment out the "Are you sure" message box the wait cursor works as intended (wait cursor is visible during the long running method). However with the program as normal no matter what i do the mouse is always default.      private void btn_Click(object sender, EventArgs e)     {         this.Cursor = Cursors.WaitCursor;          if (string.IsNullOrWhiteSpace(textbox1.Text))         {             MessageBox.Show("Text Box 1 Can't Be Empty");         }         else if (string.IsNullOrWhiteSpace(textbox3.Text))         {             MessageBox.Show("Text Box 3 Can't Be Empty");         }         else if (string.IsNullOrWhiteSpace(textbox4.Text))         {             MessageBox.Show("Text Box 4 can't be empty");         }         else if (string.IsNullOrWhiteSpace(textBox2.Text))         {             HelperClass.MethodThatCanHandleEmptyTextBox2(textBox1.Text, textBox3.Text, textBox4.Text));         }         else          {             //problem line                             DialogResult result = MessageBox.Show("Are you sure you wish to proceed?", "Are You Sure?", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2);              if (result == DialogResult.Yes)             {                this.Cursor = Cursors.WaitCursor; //doesn't work                                    //long running method                HelperClass.DoMethodThatNeedsAllFields(textBox1.Text, textBox2.Text, textBox3.Text, textBox4.Text); //long running method                 MessageBox.Show("All done!");             }          }           this.Cursor = Cursors.Default;       }   I have tried all of these both inside and outside of the if (result == yes) condition, but to no avail:  Cursor = Cursors.WaitCursor;  Form1.ActiveForm.UseWaitCursor = true; //throws runtime exception  Cursor.Current = Cursors.WaitCursor;  Application.UseWaitCursor = true;  Application.DoEvents();  I have also tried threads AND tasks but neither of those have worked as well. Is there something I'm missing?

Is there a difference between Cursor.Current and this.Cursor (where this is a WinForm) in .Net? I've always used this.Cursor and have had very good luck with it but I've recently started using CodeRush and just embedded some code in a "Wait Cursor" block and CodeRush used the Cursor.Current property. I've seen on the Internet and at work where other programmers have had some problems with the Cursor.Current property. It just got me to wondering if there is a difference in the two. Thanks in advance.  I did a little test. I have two winforms. I click a button on form1, set the Cursor.Current property to Cursors.WaitCursor and then show form2. The cursor doesn't change on either form. It remains Cursors.Default (pointer) cursor.  If I set this.Cursor to Cursors.WaitCursor in the button click event on form1 and show form2, the wait cursor only shows on form1 and the default cursor is on form2 which is expected. So, I still don't know what Cursor.Current does.


once i click the usb drive to boot off of it says  "SYSLINUX 4.06 EDD 2012-10-13 Copyright (C) 1994-1012 H. Peter Anvin et al"  the rest of the screen is black and i have no idea what to do. can anyone help me?

If you are hurrying to reply, System → Administration → StartUp Disk Creator -- no, that's not what I'm talking about.   I want to try Ubuntu 11.04's Unity without touching my existing Ubuntu install.  To do this, I need to install the nVidia drivers first (sigh).  To do this, I need changes to persist a reboot.  To do this, I need to really install Ubuntu on a USB key.  How do you do that?    What I tried   I tried to make a USB key from , then boot from it, then choose "Install Ubuntu." The installer refused to install to the installation media itself. I tried, from my installed copy of Ubuntu:  sudo kvm /dev/sdb --cdrom .cache/testdrive/iso/ubuntu_natty-desktop-i386.iso   ...but the installer didn't detect the disk properly.


How to evaluate this? $$\prod_{k=1}^m \tan \frac{k\pi}{2m+1}$$  My work I couldn't figure out a method to solve this product. I thought that this identity could help. $$\frac{e^{i\theta}-1}{e^{i\theta}+1}=i\tan \frac{\theta}{2}$$ By supposing $z=e^{\frac{2k\pi}{2m+1}i}$, then, $$i\tan \frac{k\pi}{2m+1}=\frac{z-1}{z+1}$$ So, the product $$\displaystyle\prod_{k=1}^m \tan\frac{k\pi}{2m+1}=\displaystyle\prod_{k=1}^m \frac{z-1}{i(z+1)}=\displaystyle\prod_{k=1}^m \frac{e^{\frac{2k\pi}{2m+1}i}-1}{i(e^{\frac{2k\pi}{2m+1}i}+1)}$$ which is getting more complicated. Answer is $\sqrt{2m+1}$. Any help is appreciated.

My question is:  If $\tan\frac{\pi}{11}\cdot \tan\frac{2\pi}{11}\cdot \tan\frac{3\pi}{11}\cdot \tan\frac{4\pi}{11}\cdot \tan\frac{5\pi}{11} = X$ and $\tan^2\frac{\pi}{11}+\tan^2\frac{2\pi}{11}+\tan^2\frac{3\pi}{11}+\tan^2\frac{4\pi}{11}+\tan^2\frac{5\pi}{11}=Y$ then find $5X^2-Y$.  I couldn't find any way to simplify it. Please help. Thanks.


How to write a javascript like this website on top menu bar, left button 'StackExchange'. When i click it, will show a box. When i click other place, the box will be closed.  $('html').click(function() {  `var display_value = document.getElementById("message_box").style.display;`  `if(display_value == "block")`      `document.getElementById("message_box").style.display = "none";`   });  function show_message_box(){     document.getElementById("message_box").style.display = "block"; }  Thank you!

I have some HTML menus, which I show completely when a user clicks on the head of these menus. I would like to hide these elements when the user clicks outside the menus' area.  Is something like this possible with jQuery?  $("#menuscontainer").clickOutsideThisElement(function() {     // Hide the menus });


I'm using the negative log marginal likelihood for hyperparameter selection in a Gaussian Process regression model. However, I'm running into a lot of cases where the negative log marginal likelihood is less than 0, which would imply that the marginal likelihood is greater than 1, and I'm not sure where I'm going wrong.   According to Chapter 5 of the Rasmussen and Williams GPML text:   $log\ p(y|X,\theta) = -\frac{1}{2}y^TK_y^{-1}y-\frac{1}{2}log|K_y|-\frac{n}{2}log2\pi$  I'm using the following code in Python to calculate the negative log marginal likelihood:   Y_mat = np.matrix(self.Y) var_n,var_p = variances K_mat = np.matrix (self.K) Ky = K_mat*var_p+np.identity(len(K_mat))*var_n L = np.linalg.cholesky (Ky) alpha = np.linalg.lstsq(L.T,np.linalg.lstsq (L, np.matrix(Y_mat).T)[0])[0] ML = (0.5*Y_mat*alpha + sum([math.log(l) for l in np.diag(L)]) + len(Y_mat)/2.*math.log(2*math.pi)).item()   If it matters, the complexity penalty (the second term) is the one that's causing the trouble.

On the , there is this line:      $p(\mathrm{height}|\mathrm{male}) = 1.5789$ (A probability distribution over 1 is OK. It is the area under the bell curve that is equal to 1.)    How can a value $>1$ be OK? I thought all probability values were expressed in the range $0 \leq p \leq 1$. Furthermore, given that it is possible to have such a value, how is that value obtained in the example shown on the page?


I am about to be a junior this Fall in college and I currently have a 2.6 GPA right now. I also don’t go to a very popular college and it’s located in the city. I have low grades and I am thinking about either getting into a masters program for applied statistics or maybe applied math. However, I might have no chance because I got a few C grades in my early math classes and I had to withdraw from Calculus 1 twice. I am also interested in economics and I have a B and B- in the first two economics classes so far. I understand that I screwed up bad but I am thinking about changing my life around. I have a total of 5 w grades and I am thinking about trying to at least get into a masters program for higher education as that I am thinking about pursuing a career in data science or possibly a consulting/financial field like quantitative analysis. I have a total of 5 w grades on my transcript so far and I don’t want to end up a failure. I just need brutal honesty. I am currently about to be a junior this Fall and if it’s not possible for me to get into a master’s program, what are some possible career choices for me? What else can I do? I don’t have internships yet but I am looking for some experience in the field so that I can get accepted later possibly. Are online master’s a good choice because I was just thinking about that. I also graduate in two years so does anyone have some advice for me?

When applying to a PhD program in the US, how does the admissions process work? If an applicant is weak in a particular area, is it possible to offset that by being strong in a different area?  Note that this question originated from this . Please feel free to edit the question to improve it.


I have been watching real analysis lectures on YouTube by Prof. Francis Su and he provided a simpler definition of $\lim \sup$ as  Let $\{s_n\}$ be a sequence of real numbers, then   $\lim\sup s_{n} = \displaystyle\lim_{n \to \infty}\left(\sup_{k \gt n}s_k\right)\tag1$ where $n,k \in \mathbb{N}.$  In Walter Rudin's Principles of Mathematical Analysis the definition for $\lim \sup$ given is as  Let $\{s_n\}$ be a sequence of real numbers. Let E be the set of numbers $x$ (in the extended real number system) such that $\{s_{n_k}\} \to x$ for some subsequence $\{s_{n_k}\}$. This set E contains all subsequential limits, plus possibly the numbers $+\infty, -\infty$ We now put  $s^* = \sup E$  The number $s^*$ is called the upper limit of $\{s_n\}$ and we use the notation  ${\displaystyle\lim \displaystyle\sup}_{n \to \infty} s_n = s^*.$  Also some answers here also said that  $\lim \sup$ is the infimum of all supremums of $\{s_n\}.$  I know these definitions are equivalent but what is the intuition behind these definitions being same? Like how $\lim\sup s_{n}$ in $(1)$ will always be a subsequential limit and that too supremum of the all subsequtial limits of $s_{n}$?

In Rudin, $\limsup$ is defined as follows:     Let $S$ be the set of subsequential limits of $\{s_n\}$. Then   $$\limsup s_n = \sup S. \tag{1}$$   However, our real analysis instructor defined $\limsup$ in a different manner:     $$\limsup s_n = \lim_{n \to \infty} \sup_{m \ge n} s_m. \tag{2}$$   I am having trouble understanding how these two definitions are equivalent. It would be very helpful to me if somebody could provide a proof with some explanation.  My thoughts on the problem:  I have noticed that the usual trend with these sort of proofs is to prove the upper bound $(1) \le (2)$ and then the lower bound $(1) \ge (2)$ to get the desired conclusion. However, I am unsure how to even begin.


Will the upgrade process work all the way from 12.04.1 lts 64 bit to 18.04 lts, or is it better to back up and install 18.04 lts from an iso?  thanks...

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


Collecting some theorems from the book  by its authors, there is some inconsistency, I think... :   i. $L= \sum_{n=1}^{\infty} 10^{-n!}$ is transcendental.   ii. Numbers of the form $\sum_{n=1}^{\infty} a_n 10^{-n!}$ in which $a_i \in {\{0,1}\}$ are Liouville  numbers and thus transcendental. So, by Cantor diagonalization argument there are uncountably many Liouville numbers.    iii. The collection of all Liouville  numbers has measure zero. The set of all sequences of zeros and ones (not all zero) are in 1-1 correspondence with $(0,2)$ and this is in 1-1 correspondence with $\mathbb{R}$.   How an uncountable subset of $\mathbb{R}$ has measure zero?

I would like examples of uncountable subsets of $\mathbb{R}$ that have zero Lebesgue measure and are not obtained by the Cantor set.  Thanks.


addresses why it's a bad idea to try to do a lot of independent work before PhD in the hope of finishing PhD quickly.  Nevertheless, are there famous examples of people who have done so much work before PhD that they get a PhD pretty much automatically (say, 1-2 years or less)?

Are students allowed to complete a large portion of their research independently, then enroll in a PhD program, apply for a defense panel within the first semester, and quickly finish the thesis? Has this been done before?  Update: Question trimmed. I'm looking for an answer whether students can be admitted with much prior work on the thesis already complete, to finish in a short time (perhaps one year fix and improve the work), and whether there are real examples of people who did this. I not asking whether I myself am personally capable of completing this prior work to sufficient quality.


I have found out the inverse laplace of $\log\frac{s+4}{s-4}$ which is $\frac{2 sinh(4t)}{t}$ But I do not know how to proceed. The multiplication by s property does not seem to hold good here as the denominator has t, which would imply f(0) would be 0/0 Any help is greatly appreciated.  EDIT: I think I have found the final answer ($4 [\frac{2t cosh(4t) - sinh(4t)}{t^2}]$, but need to verify it. Could anyone suggest any math calculator which gives answers to inverse laplace transform questions?

I think I have found the final answer $\left(4 \left[\frac{2t \cosh(4t) - \sinh(4t)}{t^2}\right]\right)$ but need to verify it.


I know it can be done by iterating through the elements, but is there a predefined method or a way to use map?

If you have an array of Java objects which have a primitive type (for example Byte, Integer, Char, etc).  Is there a neat way I can convert it into an array of the primitive type?  In particular can this be done without having to create a new array and loop through the contents.  So for example, given  Integer[] array   what is the neatest way to convert this into  int[] intArray   Unfortunately, this is something we have to do quite frequently when interfacing between Hibernate and some third party libraries over which we have no control.  It seems this would be a quite common operation so I would be surprised if there's no shortcut.  Thanks for your help!


If not, is it impossible for DNA to have enzymatic activity?

RNA is known to act as an enzyme via its ability to fold itself in specific ways.   Is DNA capable of such structures? Or is it some biochemical reason stopping the folding? Have they been observed in nature?


Trying to build a simple 9V power supply using a 7809 voltage regulator and full wave rectifier. The load current from the regulator is 1A. So I = C*dv/dt, therefore,  C = I*t/(delta V)    To my understanding t is the time between the two peaks or the time the capacitor supplies the load. So if t is reduced, shouldn't the ripple increase ?, so isn't ripple (delta V) dependent on t ?, if so then why is delta V just arbitrarily chosen without considering t ?

For making 100 amperes, 50 volts full wave rectifier, how do I calculate the circuit capacitance to avoid the ripple voltage? I mean which size of capacitor should I use?


Is there any way to make hidden (.name) files and folders visible from the desktop?

When opening a folder, by default it always shows hidden files. I can uncheck the view option and they disappear but reappear on the next opening with the hidden files option re-checked. Have I inadvertently changed an option or is this a bug? No-one else seems to have encountered this.


I'm trying to get the text values of all of my div elements.  My expected output is:  Menu 1 Abc  Def Menu 2 Ghi  Jkl Menu 3 Mno  Pqr   But I get  Menu 1 Abc  Def Ghi  Jkl Mno  Pqr Menu 2 Abc  Def ...   HTML

     <input type="text" value="Menu 1">
     Abc
     Def

     <input type="text" value="Menu 2">
     Ghi
     Jkl
   ...
   JS  $("#output div").each(function() {   console.log($(this).find("input").val());   $("a").each(function() {     console.log($(this).text() + "\n");   }); });   .

I have a layout similar to this:

   and would like to use a jQuery selector to select the child img inside the div on click.  To get the div, I've got this selector:  $(this)   How can I get the child img using a selector?


So I have given the following question; Is ($\mathbb{Q}, \cdot)$ a group? A group is defined by the monoid $(\mathbb{Q}, \cdot)$ and the inverse for $\cdot$. Since these (afaik) hold:  Associativity is true: Take $a, b, c \in \mathbb{Q}$: $a(bc) = (ab)c$ There is a neutral identity: $1$ $\forall a \in \mathbb{Q}: \exists a^{-1}: a \cdot a^{-1} = 1$  Why isn't $(\mathbb{Q}, \cdot)$ a group?

$\mathbb R^*$ refers to $\mathbb R$ without zero.  Please explain the statement "$\mathbb R$  is not a group under multiplication, it is a group under addition." in the . Basically:   Why is multiplicative group $(\mathbb R^*, ×)$ a group? Why is $(\mathbb R, ×)$ not group? Why are $(\mathbb R^*, +)$ and $(\mathbb R, +)$ groups?


Okay, before asking this question, I was sure there already was an answer on stackoverflow for this... but I can't find anything so here goes:  I'm using flask to create a website. One part of it to is to make comments.   When I click enter, it should submit the form to add a comment to the Database.  Here is my code for that:  (This is the form)  <form method="POST">     {{ form.hidden_tag() }}     {% if form.comment.errors %}         {{ form.comment(id="comment-input", class="new-comment", placeholder="Add a new comment", autofocus="autofocus") }}
             {% for error in form.comment.errors %}                 {{ error }}             {% endfor %}
     {% else %}         {{ form.comment(id="comment-input", class="new-comment", placeholder="Add a new comment", autofocus="autofocus") }}     {% endif %}     {{ form.submit(class="btn btn-outline-info", id="submit", style="display:none;") }} </form>   And I'm using this javascript to submit the form when the enter key is pressed:  var input = document.getElementById("comment-input"); input.addEventListener("keyup", function(event) {   // Cancel the default action, if needed   event.preventDefault();   // Number 13 is the "Enter" key on the keyboard   if (event.keyCode === 13) {     // Trigger the button element with a click     document.getElementById("submit").click()   } });   The problem is, usually if I press enter after typing my comment, it works fine but if I hold down enter after typing my comment it submits multiple comments.  But if you look at my code it says keyUp not keyDown! I'm pretty sure when you hold down a key down, it still only keyUp once.  I've looked through stackoverflow, etc for about 2 hours now, hopefully this question will help my situation.

How do you prevent an ENTER key press from submitting a form in a web-based application?


On my Samsung Galaxy Tab, I have contacts stored on the Device Contacts and Google Account Contacts. Since only the latter get synced, I want to change the former in Google Contacts format.   I read to achieve this I have to export device contacts to the SD card. Delete all device contacts. Import back contacts on the SD card, specifying to import them to the Google Account.   The problem is the option Export to SD card is greyed-out.   I am on Honeycomb.

When I create a contact on my Android phone, I can choose to store it to the SIM, the phone or to Google.  If I choose phone, is there an easy way that I can move or copy that contact to Google (so it shows up in GMail, for example) at some later time?  EDIT: I'm using the Samsung Vibrant, T-Mobile's variant of the Galaxy S, running Android 2.1.  The edit menu for contacts shows options for Edit, Delete, Link contact, Mark as default, Send namecard via and Copy to SIM.


I want to return the key of the minimum value in a dictionary in Python. The value of key, value pair will have several numbers, i.e. dict[current] = (total, gone, heuristic). How can I return the key of minimum gone value?

I've got a list of Python objects that I'd like to sort by an attribute of the objects themselves.  The list looks like:  >>> ut [<Tag: 128>, <Tag: 2008>, <Tag: <>, <Tag: actionscript>, <Tag: addresses>,  <Tag: aes>, <Tag: ajax> ...]   Each object has a count:  >>> ut[1].count 1L   I need to sort the list by number of counts descending.  I've seen several methods for this, but I'm looking for best practice in Python.


I have a question about programming tutorials / examples that I want to ask, but I don't want to get down votes doing so:     When you are learning how to program in a certain language or with a particular framework, it is very useful to have an actual real-world example of that project being used somewhere in the open source community.      Has any stumbled across a particular updated website or online resource that provides OSS source code links (like GitHub, SourceForge, etc.) to programming languages / frameworks?       This would be especially useful for software engineering professionals who need to learn a new language/framework and want to skip the "Hello World" and get right to something useful.    What Stack Exchange site is the best for this particular question?

Stuff like polls, recommendations based on subjective constraints, puzzles, webcomics etc. do not belong on the serious main SE sites, where professionals should be considered at work and having just a few spare minutes ("code's compiling") to answer questions, so they should not be distracted by such things. However, I'd also like to have a home for these things still using the SE engine. For the reason I mentioned before, this needs to be a separate place though. Let's call it four.[sitename-here].com.


How to write a script that kills a java process?  From console it looks like  root@ubuntu-s-1vcpu-1gb-ams3-01:~# lsof -i tcp:8080 COMMAND  PID USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME java    9657 root   26u  IPv6 4694148      0t0  TCP *:http-alt (LISTEN) root@ubuntu-s-1vcpu-1gb-ams3-01:~# kill 9657   How should it be implemented in .sh file?

I'm using tomcat, and sometimes when I tell it to stop it doesn't properly kill the process.  My way around this is too do:  lsof -i tcp:8080   which outputs:  COMMAND PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME java    888 root   35u  IPv6 780659      0t0  TCP *:http-alt (LISTEN) java    888 root   39r  IPv6 790103      0t0  TCP localhost:58916->localhost:http-alt (CLOSE_WAIT) java    888 root   40r  IPv6 792585      0t0  TCP localhost:58936->localhost:http-alt (CLOSE_WAIT) java    888 root   75r  IPv6 785553      0t0  TCP localhost:58701->localhost:http-alt (CLOSE_WAIT) java    888 root   77r  IPv6 787642      0t0  TCP localhost:58814->localhost:http-alt (CLOSE_WAIT) java    888 root  130u  IPv6 783894      0t0  TCP localhost:58686->localhost:http-alt (CLOSE_WAIT) java    888 root  353u  IPv6 780929      0t0  TCP localhost:58632->localhost:http-alt (CLOSE_WAIT)   I then run   kill -9 pid   I want a way to get all the pid numbers and kill them.  Thing is I don't know how to isolate that field.


I want to know do I need a transit visa I am US F1 visa holder and having 2 hrs stop at Vancouver.

I'm passing through Canada, on my way to somewhere else. I'm staying only a short time.   Is there a website, or some other way of find out out if I need a visa?


How can I force the  class to put things on top of eath other instead of next to each other?  \documentclass{standalone} \begin{document} test  test  test  \end{document}

I'm using the standalone class to render images for individual math problems that will be displayed in an app, so the cropping functionality is essential. However, the package seems to destroy paragraph breaks support. What I'd like to have is non-indented paragraphs with about 1 line of space between each paragraph, like:  \setlength{\parindent}{0pt} \setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}   I've tried the above and a million other things, including using the preview option, the preview package directly, and messing with the varwidth setting, but nothing seems to work. I'm not very knowledgeable about the inner workings of LaTeX or the packages I'm using, so I'm at a dead end.  Could someone with better knowledge explain to me a.) why this refuses to work b.) if there's some way to get normal paragraph breaks working without workarounds like \\[7pt]? Here is what I'm working with right now:  \documentclass[border=1bp]{standalone}  \usepackage[document]{ragged2e} \usepackage[none]{hyphenat} \usepackage{amsmath}  \begin{document} \begin{minipage}{4in} This is a paragraph. It's a nice long paragraph.   This is another paragraph.  This is a paragraph. It's a nice long paragraph. This is a paragraph. It's a nice long paragraph. \end{minipage} \end{document}


We are constructing an estimator out of two independent samples Sample 1: $\hat\mu_1$ $var(\hat\mu_1 )=\sigma_1^2$ and sample 2: $\hat\mu_2$,  $var(\hat\mu_2)=\sigma_2^2$  $$\hat\mu_3=a*\hat\mu_1+b\hat\mu_2$$ where a+b=1  I already know that for the $\hat\mu_3$ to be unbiased a+b must equal 1, and in order to minimize the variance a and be must be:  $$a=\frac{\sigma_2^2}{\sigma_1^2+\sigma_2^2}$$ $$b=\frac{\sigma_1^2}{\sigma_1^2+\sigma_2^2}$$  Is the so found variance of $\hat\mu_3$ small then $\sigma_1^2$ and/ or $\sigma_2^2$?  I am quite sure that the criteria for a and be are correct, compared with a solution. But i have no idea to show it the variance of the new estimator is smaller then (and/or!) the variance of the individual estimators??  I tried to plug in for and b, but there is nothing obvious to me which would give me a clue how to answer this question.

I have a large set of data points of the form (mean, stdev). I wish to reduce this to a single (better) mean, and a (hopefully) smaller standard deviation.  Clearly I could simply compute $\frac{\sum data_{mean}}{N}$, however this does not take in to account the fact that some of the data points are significantly more accurate than others.  To put it simply, I wish to preform a weighted average of these data points, but do not know what the weighting function should be in terms of the standard deviation.


Yesterday I was listening to some music, but it didn't get saved to my account's history since it was blocked by an ad blocker. I was wondering if anyone knew if it was possible to access my recent history in another way.  My phone is rooted so I have access to the filesystem.  If anyone knows if/where/how my recent history might be stored, I'd appreciate it. If it makes any difference, I'm using the most recent version of Youtube Music (Vanced) on Android 11.

Could you list all possible directories where Android apps may store data, providing description what kind of data are stored in each directory?


Give an example for an increasing series of $\sigma$ algebras $$ \mathcal{A}_1\subset\mathcal{A}_2\subset\ldots $$      so that     $$\bigcup_{i=1}^{\infty}\mathcal{A}_i $$ is no $\sigma$-algebra.      Could you pls give me a hint how to find such an example?

The union of a sequence of $\sigma$-algebras need not be a $\sigma$-algebra, but how do I prove the stronger statement below?     Let $\mathcal{F}_n$ be a sequence of   $\sigma$-algebras. If the inclusion   $\mathcal{F}_n \subsetneqq \mathcal{F}_{n+1} $ is strict, then   the union   $\bigcup_{n=1}^{\infty}\mathcal{F}_n$   is not a $\sigma$-algebra.


I'm using Advanced Custom Fields, but i want to remove this (in the red mark) from non-admin, what plugins to disable this?  Thanks.

Is there a away to create a custom post type in wordpress that will only include the default metaboxes  and not any other metabox that was added by other plugins.   The idea is to use the custom post to develop a plugin, this plugin will need to have all the functions custom post type but with all the metaboxes that plugin add like all-in-seo.  I want to create a clean interface for the user and those extra metaboxes are in the way :-)


Refering to . It says      Can I award a bounty to my own answer? No   But can you still get half bounty points through automatic rewarding. It is not clear from the above answer. Does my answer count eligible for automatic rewarding. I am hoping yes but if not, why ?  Refering to BoltClocks comment to this .   So basically it's up to the system to figure out who gets the bounty then

It's possible to offer and award bounties of reputation on questions.   What is a bounty? How can I find questions that have a bounty attached? How do I start a bounty? When can I start a bounty? Why is the system requiring me to choose a bounty amount that's higher than the minimum? Can I use Markdown formatting in the bounty remarks? Can I edit the remark? How long is the bounty period? How do I award a bounty? Can I award a bounty to my own answer? Can I award a bounty to an old answer? If I offer a bounty on someone else's question, can I award the bounty to their answer? After awarding the bounty, can I remove it or move it to another answer at a later time? What happens if there's no answer after the bounty period? What happens if I feel my question is still unanswered? What is automatic awarding? Are bounty awards exempt from the 200 points/day reputation limit? How does Community Wiki mode affect bounties? How does user deletion or post dissociation affect bounties? Can I award a bounty to an answer from a deleted user or one where the author was dissociated? Can I offer a second bounty after the first one has expired? Can I raise my bounty? What happens if a bounty question is closed or deleted? Why can't I vote to close or migrate a bounty question? What happens if I delete my account while I have an active bounty? Do I keep an awarded bounty when I delete my answer? What happens if a question where I awarded a bounty later gets deleted or migrated? Can I cancel my bounty? Can I affect / divide / share part of my bounty to two (or more) users? How many outstanding bounties can a single user have?      See also:  in the Help Center


If there is one how would you go about finding it ?

The alternating series test (AST) says, briefly, that if   $a_k>0$ $a_k \geq a_{k+1}$, and $a_k \to 0$ as $k \to \infty$   then $\sum_k (-1)^k a_k$ converges.  This seems to be a one-way test (that is, if an alternating series fails the test, we don't know that it diverges).   document says so explicitly. It then gives an example of an alternating series which fails the AST. That doesn't prove the series is divergent (but it turns out to be divergent, anyway, by $n$th term test).  Is there a convergent, alternating series that fails the AST?  Of course, if the series fails condition 3, then it also fails the $n$th term test, and must diverge. And if it fails the first condition, then it's not strictly alternating, anyway.  So it must be a series that is not getting smaller (condition 2), but still converges.


Not trying to project the Planck length to have a deeper meaning, but according to current quantum theory, basically E=hc/lamda is the Planck length the smallest difference possible in wavelength between two photons with different wavelengths?  So for example, if one photon has a wavelength of x, a different photons could have a wavelength of x+Lp but not x + .5 Lp?

On a quantum scale the smallest unit is the , which is a discrete measure.  There several question that come to mind:   Does that mean that particles can only live in a discrete grid-like structure,  i.e. have to "magically" jump from one pocket to the next? But where are they in between? Does that even give rise to the old paradox that movement as such is impossible (e.g. )? Does the same hold true  for time (i.e. that it is discrete) - with all the ensuing paradoxes? Mathematically does it mean that you have to use difference equations instead of differential equations? (And sums instead of integrals?) From the point of view of the space metric do you have to use a discrete metric (e.g. the ) instead of good old Pythagoras?   Thank you for giving me some answers and/or references where I can turn to.  Update: I just saw this call for papers - it seems to be quite a topic after all: Is Reality Digital or Analog? FQXi Essay Contest, 2011. , , . One can find some pretty amazing papers over there.


I have this table in the below format:     Persnbr | Userfieldcd | Value 01      | Port | Funds    01      | Vip1 | Systems   02      | Port | Bank   02      | Vip1 | Authority      This is how I want it:    Persnbr | Port  | Vip1 01      | Funds | Systems    02      | Bank  | Authority   As I dont know the all the fields in the userfieldcd column, I am trying to dynamically pivot the table. So I am using this procedure but I dont know how to call it in PL/SQL developer. I am using Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production     CREATE OR REPLACE procedure dynamic_pivot_po(p_cursor in out sys_refcursor) as sql_query varchar2(1000) := 'select persnbr ';  begin     for x in (select distinct userfieldcd from persuserfield order by 1)     loop         sql_query := sql_query ||             ' , min(case when userfieldcd = '''||x.userfieldcd||''' then value else null end) as '||x.userfieldcd;              dbms_output.put_line(sql_query);     end loop;      sql_query := sql_query || ' from persuserfield group by persnbr order by persnbr';     dbms_output.put_line(sql_query);      open p_cursor for sql_query; end; /   When I call the procedure using:  VARIABLE x REFCURSOR   BEGIN          dynamic_pivot_po(:x)       END       /   it gives me      ORA-00900: Invalid SQL statement.


Today, one of my long used USB pen drive suddenly become write protected. Whenever I try to save or copy a file to it, it will popup and says "the disk is write protected".  So, I did some googling and try to remove write protection with attributes disk clear readonly. But the problem is, it seems to be doesn't remove the read only state and I am still unable to write file to my USB drive.  DISKPART> attributes disk clear readonly  Disk attributes cleared successfully.  DISKPART> attributes disk Current Read-only State : Yes Read-only  : No Boot Disk  : No Pagefile Disk  : No Hibernation File Disk  : No Crashdump Disk  : No Clustered Disk  : No   How can I solve it?

When I plug in my USB flash drive, it shows up on my computer as write-protected or read-only. I am unable to transfer data to it, nor can I modify or delete any files already stored on it. I also cannot repartition or reformat the drive using Windows Disk Management, DiskPart, GParted, or other tools. The drive does not have a write-protect switch.  Why did this happen and what can I do about it? Is there a way to remove the write protection?  (Note that this can happen with some memory cards, too, as they often use controllers similar to those used in flash drives. In some cases, the system may report that the drive or card was formatted successfully even though it was never actually formatted; the original data reappears when the device is reinserted.)     This question comes up often and the answers are usually the same. This post is meant to provide a definitive, canonical answer for this problem. Feel free to edit the answer to add additional details.


I do iOS development work, and I can't stand how iTunes and iPhoto automatically open when I plug in a device.  I don't want anything to ever open automatically when I plug something in.  How do I make it so?

How can I prevent iPhoto/Photos/Image Capture from launching everytime I plug in my iPad/iPhone?


I came across this question, which I believe cannot be satisfactorily answered, but I'm not completely sure. Can you tell me if it has a answer?  If you choose the answer to this question at random, what is the chance that you will be correct? a) 25% b) 50% c) 60% d) 25%

I found this math "problem" on the internet, and I'm wondering if it has an answer:     Question: If you choose an answer to this question at random, what is the probability that you will be correct?      a. $25\%$      b. $50\%$      c. $0\%$      d. $25\%$   Does this question have a correct answer?


From a recently reignited [casual] curiosity into particle physics thanks to the Fermilab YouTube channel, I read about the , followed by muons, naturally. Muons, it turns out have short lives, and they decay into an electron (and antineutrino), for example. Reading on how muons are created, I learned about the role of the cosmic rays, and intuitively I understand how 3 quarks can end up as 3 quarks and a quark–antiquark pion. [Charged] pions decay to muons, so my curiosity was satisfied, but only momentarily . . .  Until I realized this muon creation and the subsequent electron originated from quarks.  Q: How are quarks elementary when they can become leptons?  I'm either misunderstanding the meaning of a particle being elementary, or I'm missing something. (I can't get my head around that point; I also casually understand that the weak interaction is involved.)  Does it work the opposite way as well (lepton → quark)? Or, given enough time, will all elementary particles eventually decay to leptons? (Thinking out loud; not necessarily extra questions.)    I could not find the answer to my question on Wikipedia or via Google. I checked the related topics, for example,  But it's a different question about what makes up quarks/leptons (I'm content with the fact they're as small as they get according to the Standard Model).  Thanks to @AccidentalFourierTransform for the following links (and their links):       As far as I can see those posts do not address the quark → lepton decay. All the examples given are quark → another quark (or lepton → another lepton), which I have no issue with (the muon → electron example I gave). The same for the decays of virtual/mediating particles, e.g., photons and Higgs bosons. My issue is (was) the class-changing decay of the non-virtual particles.

The  is an excitation of the Higgs field and is very massive and short lived. It also interacts with the Higgs field and thus is able to experience mass.   Why does it decay if it is supposed to be an elementary particle according to the standard model?


For the Person that had film processed after 20 years. Where did you get the special processing done? Also I have some undeveloped close to 20 years old and need to know the best place to get it developed to try and get something out of it.

While reading  I noticed the DBI concept.  If I understand correctly, the idea is to develop a film while being able to see the progress (and apply the fixer once you're happy with the result).   Is that what it means?   If so:   I assume you can't use the same chemicals you'd use normally, right? (I'm more interested in B/W, if it makes a difference) A green filter is mentioned; is there a reason why green is used? Any other relevant skills or knowledge needed to do DBI?


I hope all is going well I am going to purchase below CPU with below configuration:- 1)Nvidia RTX 2080 super 8 GB 2)MSI B365M MORTOR 3)Processor I7,9th generation.9700f 4)RAM 32 GB–Kingston X 2 5)Primary SSD 500 GB 6)secondary Sata HDD 2TB 7)cabinet spec 01 Now My problem is means I have a doubt about installation of Ubuntu 20 version on above configuration. "Can Ubutu20 supports and works on above CPU configuration with given Graphic card and Motherboard with full functionality ?" Please suggest and Help me I am going to purchase this CPU soon can it works with charms with Ubuntu20

I have a device on which I would like to install Ubuntu. How do I find out if Ubuntu will work on it?


It seems Stack Overflow natively does not like any discussion related to third-party software. In Super User, you can ask some specific things about the specific program, but Super User prohibits the following type of questions:  Which software can do such thing? Let me know the lists. The more the better.  Is there a right Stack Exchange site to ask this kind of question? For example: Which software can change color of titlebar in Windows 10? Is there a file explorer that shows size of file as bytes not mega or gigabytes?

I have a list of requirements for a program, but I don't know what program meets these criteria. That's about general-purpose software, for example, not a programming IDE or statistical workbench, questions about which would certainly go to respective sites.  Is this question appropriate on Stack Overflow? Where should I ask about it? On Super User or elsewhere?


I have completed all suggested updates for 12.04 LTS after a long time of inactivity with my administrative account as the old laptop (Sony Vaio) was used by my wife only. After the update the Unity was gone (and a message like "Compiz was closed unexpectedly"). Trying every solution I found was not helpful. Eventually I upgraded to 14.04 LTS (by do-release-upgrade). When upgraded and rebooted, after logging in I get a pop-up "System problem detected". After a few seconds it comes back to login screen, and that's true for all users including guest user. I tried every suggested solution I found including changing lightdm to gdm to no avail. Again removed the Gnome desktop, problem persists. Would somebody please help to find a solution? I appreciate it.

My Ubuntu is stuck in a login loop when trying to enter my desktop. When I login, the screen gets black and soon after that the login screen comes back.   I've read that the problem might be caused by an error depending on the graphics, here's my graphics card: ATI Radeon 7670M


I purchased the Java edition 6 years ago, but after some time I uninstalled it. A few weeks ago I wanted to play again. When I went to download it, I got a message that I have a free code for the Windows 10 edition, so I downloaded that edition, but I didn't like it (among other things, you couldn't press F3 to view your coordinates). Today I wanted to download the Java version again, but it seems I cannot; when I go to "Download", it says "You already own Minecraft" and I have an option to download it on Windows 10. Whatever I try, I always seem to end up with that message.  Is it still possible to play the Java edition on Windows 10?

I have Minecraft PC on my computer, which is on Windows 7. We are upgrading to Windows 10.  My question is, can I play my current version on Windows 10, or must I play the Windows 10 Pocket Edition Style gameplay? If I must have the Windows 10 edition, do I have to buy it, or will it be free since I bought regular Minecraft?


I have an old "compaq internet keyboard" pictured below. Many of the top keys no longer work in windows 10 without the correct software, or do something completely unrelated (for example: eject opens vlc).  My interest is not to make these keys do what they are supposed to. My interest is to repurpose these keys to do something useful. For example, a couple buttons could open different applications, another one could be dedicated to showing task view, another 2 for copy/paste, etc. Is there any way to accomplish this?

One of my laptop's keys has fallen off. Is there any way I can remap another key to serve as that key?  I'll 'sacrifice' the other key because I never use it.


So, Voldemort thought it was a good idea to make Nagini one of the horcruxes.   Did making Nagini ( or any other living creature, generally speaking ) a horcrux also make it immortal ?   Because snakes have a limited life-span, and his ambitions to live and rule forever would not seem very secure, if part of his soul lied in a mortal being.

From the HP books I know that Horcruxes grant a form of immortality. So, it is not possible for someone who created a Horcrux to die from old age or succumb to diseases. I guess the same is true for living beings turned into a Horcrux. But do living Horcruxes age normally? Is it possible to cripple them or sever their limbs, head or something like that, or do they instantly "repair" themselves like inanimate Horcruxes?


In a web application, we allow users to add data by uploading CSV files.  Sometimes the fields in these CSV files contain special characters such as, for example, François.  When they contain these the upload often fails as the name field is a key field in the uploaded file and those fields return as empty.  We have set the form encoding using   <form accept-charset="UTF-8">   and the page itself is encoded UTF-8 with   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />   but the uploaded file still "fails".  As a test we also tried using   utf8_encode();   on the fields in question but the same problem occurs.  If the same uploaded file is encoded as UTF-8 by the end user before upload then it works fine but most of our users are not very technical so we may as well talk an alien language as try to get them to set the encoding on the upload file so is there any other way we can handle this whereby we can force/convert all uploaded files to be in UTF-8?

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


What are the differences between malloc and new in terms of their respective mechanisms of handling memory allocation?

What is the difference between new/delete and malloc/free?  Related (duplicate?):


If we can't see a real inverted image without the help of a screen, why are we able to see an inverted image on the concave side of a spoon and in the convex lens when the object is far from the focal point?

Okay, so I'm trying to grasp how the human eye will perceive the real image created for example by a convex lens. Take the upper image in this picture for example.    If you were to place a screen at the focal plane, you'd see the projected image, and the size relative to the original object would be as the arrows suggest. What would I see if I was standing in the focal plane? Would I see the image with the same size change? Would I see anything?  If I stood much farther away, would I see a "virtual image" (I know it wouldn't actually be virtual), that is would it look to me as if the object actually was in the focal plane, and was of the size of the arrow in it?


The procedure I am about to write is wrong, and I know why it is wrong yet it was the only one I could think of, so I will put it up anyway $$\lim_{n\to \infty} \frac{e^n}{\left(1+\frac 1n\right)^{n^2}}$$ For the denominator $$\begin{aligned}\lim_{n\to \infty} \left(1+\frac 1n\right)^{n^2} &=e^{\lim_{n\to \infty} (1+\frac 1n-1)n^2} \\ &=e^{\lim_{n\to \infty} n}\end{aligned}$$ And the same for the numerator, so their division should give $1$ As I said, I know this is wrong. The correct answer is $\sqrt e$. What is the right process?

Find the limit $$ \lim_{x \to \infty} \frac{e^{x}}{(1+\frac{1}{x})^{x^{2}}}. $$  I know that the limit is of indeterminate form type $\frac{\infty}{\infty}$, but it seems using L'Hopital's rule directly does not help here.  Do I somehow use the fact that $\lim_{x \to \infty} (1+\frac{1}{x})^{x}=e$?


Consider a drone, or any lifting vehicle, enclosed in a container. Will it lift along with the container? Suppose I place a small drone in a large container of negligible weight and place them in space. Will drone move forward pushing container?   I know it doesn't work, but don't know the reason.

suppose there is a scale able to measure weight with an uncertainty of $10^{-9}kg$ . On the scale, an airtight plastic chamber is placed. Initially, a fly of mass $10^{-5}kg$ is sitting at the bottom of the chamber, which sits on the scale. At a later point in time the fly is flying around the chamber. Will there be a difference in the observed weight as measured by the scale when the fly is sitting at the bottom of the chamber compared to when it is flying around the chamber at some point in time? If so, what does the value of this difference depend on (I am most concerned with the case where the fly has not touched any surface of the container in enough time for the scale to reach some equilibrium value (or do the pressure variations induced from the flies wings cause constant fluctuations in the scale)?


I am using recordViewForm (in API version 43) because I have to use lightning:outputField tags inside for its automated formatting and features like mailTo, tel:, map on address, etc. (and I am pulling in the fields to be displayed dynamically from Custom Metadata type so I can not hardcode the field names and its types). I am NOT implementing force:hasrecordId interface as this component is added only in Custom Lightning component.  When I pass the record Id to recordViewForm, I see following error. For testing, I displayed record id just before recordViewForm tag so I am sure recordId is NOT null.    Now if I use lightning Data Service to get recordId and pass it to recordViewForm, I do not see above error however, none of the fields are displayed. I am stuck here due to dynamic nature of the field list that I want to display. Otherwise I could have simply hardcoded the field names according to their types.  Anybody else facing this issue? OR any help is appreciated?

I need to create an edit component for an SObject from which I do not know the objectApiName at design time. I only know the Id of the SObject. objectApiName could be any valid SObject-name.  Now I want to use lightning:inputField   This needs to be wrapped by lightning:recordEditForm  In case I hardcode it to "Order", provide a vaild Order Id and let the controller load the order and assign it to the Parent-attribute, this works flawlessly:  <aura:attribute name="recordId" type="String" default="" /> <aura:attribute name="Parent" type="SObject" default="{}" /> <aura:attribute name="ParentType" type="String" default="" /> {!v.ParentType}({!v.recordId})
 <lightning:recordEditForm recordId="{!v.recordId}"  objectApiName="Order">     <lightning:messages />     <lightning:inputField fieldName="Name" />     <lightning:button class="slds-m-top_small" variant="brand" type="submit" name="update" label="Update" /> </lightning:recordEditForm>   It looks like below and even the Update-button works as expected and saves the record:    But what I really want is  <lightning:recordEditForm recordId="{!v.recordId}"  objectApiName="{!v.ParentType}">   Note the {!v.ParentType} instead of the hardcoded "Order"  As an great unfortunate, this only collapses to that error-popup    In the screenshot you see, that the ParentType is correctly bound to v.ParentType (right above the button) which a I also verify in the console  Suspicion  I set the ParentType-attribute as a result of APEX call (asynchronously). This seems to be too late for the lightning:recordEditForm. It tries to render with objectApiName at a time where it is still blank, hence it crashes during initialization...  Question  Is there a clean way to avoid this and get something to fly with an dynamic objectApiName?  Trying to use $A.createComponents()  As @sfdcfox suggested I jump on the $A.createComponents() which turned indeed out to be tricky, exactly as sfdcfox has predicted. Im following this .  Added a button to the markup    Added a handler to the js-controller:  makeEdit : function(cmp, evt, hlp) {      console.log('ParentId :: ', cmp.get("v.ParentId") );      console.log('ParentType :: ', cmp.get("v.ParentType") );      $A.createComponents([             ["lightning:recordEditForm",{                 "recordId"          : cmp.get("v.ParentId"),                 "objectApiName"     : cmp.get("v.ParentType"),             }],             ["lightning:inputField",{                 "fieldName" : "Name"             }]         ]         ,function(components, status, errorMessage){             if (status === "SUCCESS") {                 var wrapper         = components[0];                 var inner           = components[1];                 wrapper.set("v.body", inner);             }             else if (status === "INCOMPLETE") {                 console.log("No response from server or client is offline.")                 // Show offline error             }             else if (status === "ERROR") {                 console.log("Error: " + errorMessage);                 // Show error message             }         }     ); },   Now I can press the button - but nothing - I repeat: n o t h i n g - gets rendered at all. What is my fault here? Note that the console.log get output and the attribute are holding good values.


I’ve observed that people read the digit zero  as oh  as though it were the letter O. For example,  in a telephone number where 0800  is oh eight hundred.  Why?  Where was this decided, or can anyone prove that it is correct?  Where can we use this form?

I have often heard people say 101, as one-zero-one, and also as one-oh-one. Which is correct, and why? Does the difference between British English and American English have to do something with it?


I just installed Ubuntu 13.04 as a single OS on a system previously installed with windows 8. Almost everything is working fine except 1- I cannot control my brightness (Hotkeys are able to move slider) System: Vaio VGN-CS26G 2- I cannot open any other disk partition execpt the one with Ubuntu. There are two of them. I remember changing 1st partition's type to 'Swap' during installation (This one is now invisible). And i am completely sure i have not anything with the other partition, if i try to open it, it gives error: Unable to access DriveName,    Error mounting /dev/sda3 at /media/kashan/zombie check:  Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,  dmask=0077,fmask=0177" "/dev/sda3"  "/media/kashan/zombie check"' exited with non-zero exit status 14:  The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda3': Operation not permitted The NTFS partition is in an unsafe state.  Please resume and shutdownWindows fully (no hibernation or fast restarting),  or mount the volumeread-only with the 'ro' mount option.       Thanx in advance. P.S. I am a beginner so please donot use complicated terms

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


The L805CV voltage regulator is capable of producing a consistent 5v 1.5A draw. I am creating a small raspberry pi case and have a 12v 3a power supply to accomplish the project. I am powering a 12v fan and a few other peripherals at 5v including the pi. I have 10uF capacitors for both inputs and outputs, however I ran into a problem fairly quickly. I researched very thoroughly that nearly any heat sink I looked at would overheat the device. Being in Texas you can assume a maximum ambient temperature of around 40*c. the heatsinks have a dissipation rate of 23*c/w and here's the datasheet for the regulator: .  Now that you have the information let me ask my question. I'm attempting to run the 12v supply into the 5v regulator at 1A. however this very quickly overshoots the allowed temperatures as this is 7 watts to dissipate. Would it be easier to get a 9v supply and just adjust the voltage upwards for the 12v fan or is there a way in order that 12v 1A can be pushed through this without overheating?   If I did choose to go with 9v what circuit would you recommend in order to bump up the voltage 3v for the fan? The fan is an Antec TriCool 120mm LED fan with a maximum current draw of 300mA at 12v. Thank you for your time.  This is not a repeat subject as I am doing low voltage conversions at a maximum of 7w whereas the other topic addresses 24v 2A down to 5v .1A. not only does this not address the fact that he is using a pathetic amount of current but it's obvious why it was overheating. this is asking for a solution it's not asking why it's happening. I'm simply asking how to fix it

I'm using a 5 V / 2 A voltage regulator () without a heatsink. I'm testing the circuit with a microcontroller (PIC18FXXXX), a few LEDs and a 1 mA piezzo buzzer. The input voltage is aprox. 24 VDC. After running for a minute, the voltage regulator starts to overheat, meaning it burns my finger if I keep it there for more than a second. Within a few minutes it starts to smell like it's burnt. Is this a normal behavior for this regulator? What could cause it to heat that much?    Other components used in this circuit:  L1:   R2:   F1:


I heard a phrase, a moment ago,     We will see this continue.   Why neither continuous tense nor "to" was used for "continue"?

I have been reading Men With Brooms for a few days. I read a sentence which did not make any sense to me, so I landed here to get some help on it. I have pasted the sentence from the novel. Please go through it and let me know your valuable feedback on it.  An excerpt from the novel (Men With Brooms: A Sweeping Epic, paperback 2002, a novelization by Diane Baker Mason):     Gordon was about to walk away from the Impala when he saw it stop and his son get out. So it was real the boy had come.   As per my opinion it should have been:     Gordon was about to walk away from the Impala when he saw it stopped and his son got out. So it was real the boy had come.   I have two questions here:   Why did the writer use stop and get instead of stopped and got? As she is telling us a story which happened in the past. Let's say the writer is telling us her mind's situation and she used the present tense for it but why did she use stop and get instead of stops and gets?


I am curious about the semantics of the MIME types application/javascript versus text/javascript.    Obviously, one is supposed to be executed, and the other is supposed to be just text.   I see application/javascript when looking at headers of an external .js load.  HTTP/1.1 200 OK Date: Mon, 13 Jan 2014 18:32:58 GMT Server: Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 Content-Type: application/javascript Content-Length: 856 keep-alive: timeout=5, max=59 Via: 1.1 (jetty) Accept-Ranges: bytes   If this application/javascript will execute the javascript, why don't we use  <script type="application/javascript">   // some js code. </script>   And vice-versa, why is an external js load not text/javascript?

What is the  type of javascript?   More specifically, what is the right thing to put in the "type" attribute of a script tag? application/x-javascript and text/javascript seem to be the main contenders.


I recently hatched a Magby, which is #240 in the Pokedex. As of February 2017 the highest other Pokemon I have seen are in the 170s though. Are there a lot of Pokemon from this part of the Pokedex not yet included in Pokemon Go? Update: The missing Pokemon appear to be there now.

I've noticed Pokémon from new generations are introduced in small batches, with more coming after the initial release of a new generation. Which ones should I be looking out for in Pokémon Go?


if $G$ is not solvable then there exists a normal subgroup $H$ non-trivial such that $H=[H,H]=H'$ How to show it? I searched google, and didn't find anything about it. Cheers mates! P.S $G$ is finite group of order at least 1.

My attempt:  Proceed by contradiction, assume that G is soluble. Then every subgroup and quotient group of G is soluble, so in particular, the non-trivial perfect subgroup, which we call H, is soluble.  But since H is perfect, the smallest normal subgroup (the derived subgroup H') of H where the quotient group H/H' is abelian, is H, so the subnormal series of H with abelian factors won't terminate, since we will have that H contains normal subgroup H' contains normal subgroup H'..... where none of the H'=H is = {e} since H is non-trivial.   Is this argument ok? I'm unsure if using the fact that the subnormal series doesn't terminate is strong enough for a contradiction.


I have random variables $X_1 , X_2 \ldots $ that $X_n\sim \text{Unif}\{ 1, \ldots , n\}$, and I want to calculate  $$\Bbb P ( \{ X_1 , X_2 , \ldots \} = \Bbb N )$$  My intuition is that this means each $X_n = n$, which occurs with probability $\frac 1 n$.  Does this seem correct?

I have random variables $X_{1}, X_{2}, \dots X_{n}$ that are each Unif$\{1, \dots, n\}$, and I want to calculate $$P(\{X_{1}, X_{2}, \dots X_{n}\}=\mathbb{N})$$  My intuition is that this means each $X_{n} = n$, which occurs with probability $\frac{1}{n!}$.  Does this seem correct?


I know its not recommended to leave a pure "Thank you" comment for a good answer, but if I have posted the answer, and someone's comment for my answer    is useful, can I (besides up-voting the comment) to post a thank    you comment to show my acknowledgement?  I'm asking because I have forced myself (by looking at the watermark in the comment box) to not say thank you and instead upvoted the comment, but later see other user act in the other way...

There have been a number of cases where I would like to thank someone for providing me with a thorough response and give them feedback beyond the vote up. Often I wish people would tell me why they voted me up. Not that the thank you part is necessary but it sets it apart from the other comments related to answering the question itself.  In this type of situation is a "Thank you" acceptable in a comment?     For more information, see  in the .


If $f$ is an analytic function on $D(0\ ;2)$ with $|f(z)| < 4 $ if $\text{Im}(z) \ge 0\ \text{and}\ |z| =1$, and $|f(z)| < 3$ if $\text{Im}(z) <0\ \text{and}\ |z| =1$. How do I show $|f(0)| \le \sqrt{12}\ ?$  Can I use $g(z) = f(z)\cdot f(-z)$ here? I thought of using maximum modulus theorem on $g(z)$ also, but it doesn't seem to work as I need a $a\in D(0\ ;2)$ such that the condition in the theorem is satisfied, I can't see what will be it's ($a'$s) value.  Do I need to calculate the derivative of $g(z)$ and do something with it? How do I proceed? Any ideas/hints?

Let $f(z)$ be a holomorphic function on a disk of radius $>1$ about the origin, and suppose that $|f(z)|\leq 1$ for $z$ with $|z|=1$ and $\text{Re}(z)>0$ and $|f(z)|\leq 2$ for $z$ with $|z|=1$ and $\text{Re}(z)\leq 0$.  How does one show the bound $|f(0)|\leq \sqrt{2}$?


What is more preferable way to say about person in general without definite gender? Is it one, he/she or we? I would not thought about that unless had not read Martin Eden by Jack London. There was a moment when Ruth Morse the embodiment of education in the plot of the book said to Martin that it is really uneducated to say he/she and we. For example what is the best choice out of these three:  Let us suppose one has the task.   Let us suppose he/she has the task.   Let us suppose we have the task.  ?  There is no we and one problem in the question. UPDATE I am not sure how can someone be so blind to not being able to see the difference between the One, He, She, We and the They, Them, Their. That are completely different words. My question is about the former, not latter. So, I can not understand why my question is marked as a duplicate about the latter. Unless an explanation is provided, I will consider it as an act of fraud. From my point of view the act is to get me stop using the StackExchange by bullying me. I am very confused that moderators allow such things here.

I know that one can use "they" / "them" / "their" in place of "he" / "him" / "his" or "she" / "her" / "hers" when the subject's / direct object's gender is not known; for instance, just looking at the default user's about me section on Stack Exchange sites:     Apparently, this user prefers to keep an air of mystery about them   My question is what happens when someone wants to reference the subject using a pronoun instead.  Should the verb be conjugated accordingly to the pronoun? E.g.:     Apparently, they prefer to keep an air of mystery about them   Or should the conjugation be retained? E.g.:     Apparently, they prefers to keep an air of mystery about them   The former looks unclear because it wouldn't allow the reader / listener to understand if the writer / speaker is talking about a single person or about a group of people, however the latter sounds very weird, at least just to the non-native speaker which I am.


How would I stop this loop? The loop is necessary, I'm just not sure how I stop it when I need to.     setInterval(function(){         console.log("Loop running"); }, 6000);

I am using setInterval(fname, 10000); to call a function every 10 seconds in JavaScript. Is it possible to stop calling it on some event?   I want the user to be able to stop the repeated refresh of data.


I have problems with my Windows 8 due to compatibility issues with some of my applications. I need remove this Windows 8 and install Windows 7.  How do I do this?

I have a friend, who just got a new Toshiba Satellite C series with Windows 8. I tried to uninstall Windows 8 and install Windows 7 but was unable to do so.  I did everything I could:   Boot disk - would not load (error message Media -- Fail) Boot USB - would not load (error message Media -- Fail) Loading Windows 7 disk from system, fails with different errors   Does anybody know what I can do in order to install Windows 7?


I need to login and collect output of below commands from multiple GNU/Linux servers through SSH. I have done password-less SSH authentication. I wanted to do this with bash script.  df -lh | awk '{if ($5 >= 20) { print $6 "  " $2 "   "  $3  "  " $5 }}' top -b -n1 | grep "Cpu(s)" | awk '{print 100 - $5}'     I tried the command below, but instead of a quoted "command", if giving single command like df  it's working .. but giving like long commands:  df -lh | awk '{if ($5 >= 20) { print $6 "  " $2 "   "  $3  "  " $5 }}' top -b -n1 | grep "Cpu(s)" | awk '{print 100 - $5}'   it's not working..

There is a list of IP addresses in a .txt file, ex.:  1.1.1.1 2.2.2.2 3.3.3.3   Behind every IP address there is a server, and on every server there is an sshd running on port 22. Not every server is in the known_hosts list (on my PC, Ubuntu 10.04 LTS/bash).  How can I run commands on these servers, and collect the output?  Ideally, I'd like to run the commands in parallel on all the servers.  I'll be using public key authentication on all the servers.  Here are some potential pitfalls:   The ssh prompts me to put the given servers ssh key to my known_hosts file. The given commands might return a nonzero exit code, indicating that the output is potentially invalid. I need to recognize that. A connection might fail to be established to a given server, for example because of a network error. There should be a timeout, in case the command runs for longer than expected or the server goes down while running the command.   The servers are AIX/ksh (but I think that doesn't really matter.


HP Notebook - 15q-ds0017tu laptop with 802.11b/g/n (1x1) Wi-Fi® and Bluetooth® 4.2 combo.   I have installed ubuntu 19.10 in this. But i am unable to connect to any wifi network nor any bluetooth device.   Wifi option always shows that there is no network adapter even though the wifi is on. Same case with bluetooth. It always shows that bluetooth is off even if i turn on the bluetooth.   This is what i got after running lshw -C network in command prompt.   WARNING: you should run this program as super-user.   *-network                         description: Ethernet interface        product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@0000:01:00.0        logical name: eno1        version: 15        serial: 00:68:eb:5a:f9:9a        size: 100Mbit/s        capacity: 1Gbit/s        width: 64 bits        clock: 33MHz        capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation        configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.3 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s        resources: irq:16 ioport:4000(size=256) memory:b1104000-b1104fff memory:b1100000-b1103fff   *-network UNCLAIMED        description: Network controller        product: RTL8723DE 802.11b/g/n PCIe Adapter        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@0000:02:00.0        version: 00        width: 64 bits        clock: 33MHz        capabilities: bus_master cap_list        configuration: latency=0        resources: ioport:3000(size=256) memory:b1000000-b100ffff WARNING: output may be incomplete or inaccurate, you should run this program as super-user.

How do I install Wi-Fi drivers for Realtek RTL8723DE device in Ubuntu 16.04?  lspci -v | grep -i network 02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device d723