Sometimes, to make boarding a ship easier, I'll send off a volley or two of burst lasers to knock out the medical bay or injure the crew before I teleport over to fight them.  When I do this, of course, it causes several points of damage to the enemy ship's hull.  Does it make any difference in the amount of scrap I receive at the end of the fight whether I weaken the enemy ship in this way, or capture it by teleport without firing a shot?  (My impression is that it doesn't, but I'm looking for something more solid than a hunch.)

In FTL, the key to reaching and defeating the final boss is to have a well-equipped ship, both in terms of purchased modules and upgrades to your systems.  This all depends on having plenty of scrap to spend on both.  What are your tips/techniques for increasing the amount of scrap you bring in?


Find Number of elements of $S_{10}$ commuting with element (1 3 5 7 9)   I think we need to find order of centralizer of given permutation but how to find it?

let $S_{10}$ denote the group of permutations on ten symbols ${1,2,3,....,10}$.Then how do we calculate number of elements of $S_{10}$ commuting with the element $\sigma=(1\ 3\ 5\ 7\ 9)$?


I want to improve the resolution on this dragon, it's from an old game, so of course its highly pixelated, how can this be made smoother, more modern?

Is it possible to make a .jpeg photo larger without losing "quality"?  I have a photo that is 450px x 750px and would like to make it 3 times bigger for web not print?  I've been told that Illustrator is the tool to make it happen and I have Illustrator CS6.


Changing the out-degree value in the code below doesn't seem to be working. The figure I get always has an out-degree equal to 0. Any ideas why?  \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{arrows, positioning}  \begin{document}  \begin{frame} \begin{figure}     \centering     \begin{tikzpicture}         [             state/.style={fill=blue!30, circle, minimum size=0.5cm},             transition/.style={>=stealth'},         ]          \node[state, label={-120:$q_1$}] (q1) {};          \def\n{4}         \foreach \q in {2,...,\n} {             \pgfmathsetmacro\pq{\q-1}                       % previous node index             \node[state, label={-120:$q_\q$}, right=of q\pq] (q\q) {};  % node             \draw[transition, ->] (q\pq) to (q\q);                  % transition level 1              % transition level 2             \edef\tempa{\q}             \edef\tempb{2}             \ifx\tempa\tempb             \else                 \pgfmathsetmacro\ppq{\q-2};     % 2nd previous node                 \edef\new{q\ppq};                  %%%% THIS OUT-DEGREE doesn't work                 \draw[transition, ->] (q\ppq) to[out=45, in=135] (q\q);                              \fi         }      \end{tikzpicture} \end{figure}  \end{frame}  \end{document}   At the moment, the code generates this figure:    However, I expect to get something like this:

It seems like I'm doing something wrong when using foreach variables to indicate node numbers. The two foreach loops are anchoring the paths to the east of each node. Why does this happen?    \documentclass{article}  \usepackage{tikz} \usetikzlibrary{backgrounds,fit,patterns,decorations.pathreplacing,calc}  \makeatletter \tikzset{   labelnode/.style={draw=none, fill=none, black},   latentnode/.style={draw, minimum width=5mm, shape=circle, ultra thick, black},   dagconn/.style={arrows=->, black, thick}, } \makeatother  \begin{document} \begin{tikzpicture}[scale=1]  \pgfmathsetmacro{\colgap}{1.6}  \pgfmathsetmacro{\rowgap}{1.3}   \node[labelnode] (x1) at (\colgap*0,\rowgap*1) {$X_1$};  \node[labelnode] (x2) at (\colgap*1,\rowgap*1) {$X_2$};  \node[labelnode] (x3) at (\colgap*2,\rowgap*1) {$X_3$};   \node[latentnode,blue] (x4) at (\colgap*0,\rowgap*0) {$X_4$};  \node[latentnode,red] (x5) at (\colgap*1,\rowgap*0) {$X_5$};  \node[labelnode] (x6) at (\colgap*2,\rowgap*0) {$X_6$};   \foreach \c in {1,...,2} {    \foreach \r in {1,...,2} {      \pgfmathsetmacro{\st}{(((\r-1)*3)+\c)}      \pgfmathsetmacro{\en}{\st+1}      \draw[dagconn] ([xshift=0.2cm]x\st) to ([xshift=-0.9cm]x\en);    }  }   \foreach \c in {1,...,3} {    \foreach \r in {1,...,1} {      \pgfmathsetmacro{\st}{((\r-1)*3)+\c}      \pgfmathsetmacro{\en}{\st+3}      \draw[dagconn] (x\st) to (x\en);    }  } \end{tikzpicture} \end{document}


I was filling out the visit visa form as my current company wants to take a few members of the team to the UK.   There is a question that asks you about your previous history in the UK and in it, they ask, if you have ever been deported, removed, refused or "required to leave the UK"? (There are also other options)  The first 3 are a no for me, but I'm not sure if "required to leave the UK" applies in my situation. I used to be on a student visa in the UK. I applied to extend my visa to another tier the day before my student visa expired, which means I was on 3C leave and technically lawful at the time. But then I withdrew my application after a while and I departed the UK in the next 2 weeks.   Technically this could mean I overstayed and was "required to leave", however it was a voluntary departure at my own expense.   Now I'm not sure if this period counts as "required to leave" and therefore I should include this on my visa form. I do have the original case reference number from voluntary departures and what not.

If someone chose voluntary departure from UK, and is now filling a form to say have you ever been deported from another country, would they tick 'yes'  Then does a voluntary departure appear on travel records and is it considered a deportation.


after running 'sudo apt-get update' I see this in terminal:

I can use my mobile broadband to access Internet with Firefox but when I want to install any package from terminal or make 'apt-get update' command I got the following error:  got 'NODATA' (does the network require authentication?)   apt-get update output:  Get:1 extras.ubuntu.com trusty InRelease [213 B] 98% [1 InRelease gpgv 213 B] [Connecting to archive.ubuntu.com] Splitting up /var/lib/apt/lists/partial/extras.ubuntu.com_ubuntu_dists_trusty_InRelease into data Ign extras.ubuntu.com trusty InRelease E: GPG error: extras.ubuntu.com trusty InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)    output of `cat /var/lib/apt/lists/partial/extras.ubuntu.com_ubuntu_dists_trusty_InRelease  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>404</title> <meta http-equiv="Cache-Control" content="no-cache"/> </head> <body> <p> Not Found </p> </body> </html>   output of wget:  wget -O - http://extras.ubuntu.com/ubuntu/dists/trusty/InRelease  --2014-06-01 09:23:35--  http://extras.ubuntu.com/ubuntu/dists/trusty/InRelease Resolving extras.ubuntu.com (extras.ubuntu.com)... 91.189.92.152 Connecting to extras.ubuntu.com (extras.ubuntu.com)|91.189.92.152|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 213 [text/html] Saving to: ‘STDOUT’   0% [                                       ] 0           --.-K/s              <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>404</title> <meta http-equiv="Cache-Control" content="no-cache"/> </head> <body> <p> Not Found  </p> </body> </html>


Thanks for reading this question, it's something that has been bothering me for some time.  It often happens that people write things such as "thanks in advance", "I've been trying to fix this problem for days", "I'll be very grateful if you can help me". These things I agree don't really add anything to the question but I usually reject edits that only remove these "human" things.  While reviewing, one edit that removed all signs of humanity in a question was accepted by 4 people and reject by one. The editor's comment was something like "removing text that goes against how to ask a question on SO". So I wonder why? The FAQ on how to ask a question doesn't mention anything about greetings, thanks, and those things that make a post seem human.  I kind of feel bad every time I see a dry question that is just a task to execute, and prefer questions obviously asked by a person. Then I discover that the initial question was nicely asked and the person was asking quite politely, but someone came by and removed all humanity from the question.  These words of politeness that are removed certainly don't add anything concrete to the question, but it is a hell of a lot more pleasant to read a question that has some color than it is to read a question that is purely straight to the point.  What really bothers me with this is that in some of the edits people are removing these parts but aren't fixing more obvious grammar error or code formatting.   I appreciate your time and consideration, thank you again!  Best Regards.

I edit a lot of posts every day. I often run across posts with 'Hi' and 'Thanks' on the top and the bottom of the post respectively. I also run across things like:     --User   Should these items be removed during the editing of the post by an editor?


I want to download images from a web page, for example, www.yahoo.com, and store it in a folder using .  I am getting the page source using file_get_contents() and extracting the img src tag. I am passing this src to  code. The code does not give any error, but the images are not getting downloaded. Please check out the code. I am not getting where I am going wrong.  <?php     $html = file_get_contents('www.yahoo.com');     $ptn = '/< *img[^>]*src *= *["\']?([^"\']*)/i';     preg_match_all($ptn, $html, $matches, PREG_PATTERN_ORDER);     $seq = 1;     foreach($matches as $img)     {         $fp = fopen("root/Images/image_$seq.jpg", 'wb');         $ch = curl_init ($img);         curl_setopt($ch,CURLOPT_FILE, $fp);         curl_setopt($ch,CURLOPT_URL, $img);         curl_setopt($ch, CURLOPT_HEADER, 0);         curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);         curl_setopt($ch, CURLOPT_BINARYTRANSFER, 1);         $image = curl_exec($ch);         curl_close($ch);         fwrite($fp, $image);         fclose($fp);         $seq++;     }     echo "IMAGES DOWNLOADED"; ?>

I need to save an image from a PHP URL to my PC. Let's say I have a page, http://example.com/image.php, holding a single "flower" image, nothing else. How can I save this image from the URL with a new name (using PHP)?


Non-rhotic dialects tend to drop "r" sounds, so why is one added here when there is no "r" in the word?

I know that idea is pronounced as /aɪˈdiə/, but I've meet several people in real life who put an 'r' at the end of the word. How come?


I'm creating a sofa in blender and working in inches. If I create a seat cushion 24x24x4 and this shows in the properties panel (N) dimensions, why do the values in the SCALE for x,y&z change - apparently to half that of my x,y&z dimensions?

Hi，I have created a model. I want to adjust the dimension of the model.  Scale was 0.136, 0.136, 0.136 and Dimensions was 1.73164, 1.62762, 2.33337. When I change the size of Diomension in x-achse, the number of x-achse in Scale will be automatic changed. But I just want to change the Dimension and keep the number in Scale not be changed. what should I do？


I am getting a 'granular quality' on the render of transparent and translucent objects within a building interior. Does anyone know of a way to avoid this in order to achieve a smooth, sharp, high resolution render? Tips, suggestions or links most welcome.

I know that this question is a bit old or maybe overdone, but I'm running the latest edition of Blender and when I use the Cycles engine I get really fuzzy results and I can't find a simple, non-compromising solution to the quality.  I don't know exactly what I'm doing wrong here, but I'm sure others share my frustration.  Leaving everything in default settings, I started a new project and switched to the Cycles render.  I duplicated the cube and set colors for two Diffuse BSDF shaders, then went ahead and made walls and a floor all sharing the same diffuse shader.  I made two windows to emit blue light.  The screenshot has gaps between the walls because of the setup:  I'm aware that it's considered very incomplete and many have come to terms with some amount of noise, but is this normal?  Furthermore, with default settings or not, I can't change the amount of noise produced.  Supposedly, using "progressively refine" in the rendering tab should make it refine itself indefinitely, however Cycles only counts to 10 refines and then stops, creating a render which is a pixel-perfect match of the ordinary rendering method when it's completed.  I understand that there are tricks that can be used to reduce noise, but at the cost of extra processing time and usually small quality conflicts, like blurring.  My question essentially boils down to is this Cycles' current limit?


I had this problem at school (we're just doing polynomial equations):  $$2 x^3 - x^2 - 3x = 0$$  I can see that $x = 0$ is a solution to this. But I divided left and right side by $x$, factorised, and didn't get the $0$ solution.   I can see I was wrong. But why is there this exception to the rule that "you can always do the same thing to the left and right side of an equation"?  Thanks, Sibby

I'm currently working through an algebra book, and during the chapter about rational expressions and inequalities, the author has a side note in which he states:     Never divide both sides of the equation by a variable, even if you're   doing it to try to solve a rational equation, because there's a very   real danger that you will actually eliminate answers.   The reason I'm asking this question is because I didn't understand how answers can be eliminated when dividing both sides of an equation by a variable.  Can you show me an example of how this can happen and why?


i have a phone and its run android 4.1 (jelly bean) I just bought it on 02/19/2013   i interested to try ubuntu touch in this device  so my question is, if ubuntu touch just can be run in android google nexus are the ubuntu can be run at my android sony experia l?  please answer

With the announcement of the Ubuntu Phone OS I'd like to know what phone (and tablet) models are supported at this time.  Note from foss & Oli: We are making this the master question for all future "Will this work on <insert random tablet/phone/device here>?!" questions


I already have reached the goal, as it shows on the board of my profile:   It's been (at least) a week since I have reached the goal, but no medal counted.  In  question, it says that it takes probably a day for it.  Am I missing something regarding the proposed objective to get this medal?

As you can see in the picture, I have 13 out of 5. But it's been like this for about two months! What's the reason for that?


I'm beginner in linux and have some troubles with wi fi settings. I installed ubuntu on my laptop with windows. Installation was successfully, however i couldnt connect to my home wifi. I looked for solution for 2 days but it haven't work yet. I installed ndiswrapper, downloaded ALL my windows network drivers in kernel (by modprobe) but wlan0 interface in iwconfig didn't appear. Here are some logs:  iwconfig      eth0      no wireless extensions.      lo        no wireless extensions.   lspci -nn     00:00.0 Host bridge [0600]: Intel Corporation Haswell-ULT DRAM Controller         [8086:0a04] (rev 0b)    00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT    Integrated Graphics Controller [8086:0a16] (rev 0b)    00:03.0 Audio device [0403]: Intel Corporation Haswell-ULT HD Audio Controller [8086:0a0c] (rev 0b)    00:04.0 Signal processing controller [1180]: Intel Corporation Device [8086:0a03] (rev 0b)    00:14.0 USB controller [0c03]: Intel Corporation Lynx Point-LP USB xHCI HC [8086:9c31] (rev 04)    00:16.0 Communication controller [0780]: Intel Corporation Lynx Point-LP HECI #0 [8086:9c3a] (rev 04)    00:1b.0 Audio device [0403]: Intel Corporation Lynx Point-LP HD Audio Controller [8086:9c20] (rev 04)    00:1c.0 PCI bridge [0604]: Intel Corporation Lynx Point-LP PCI Express Root Port 1 [8086:9c10] (rev e4)    00:1c.2 PCI bridge [0604]: Intel Corporation Lynx Point-LP PCI Express Root Port 3 [8086:9c14] (rev e4)    00:1c.3 PCI bridge [0604]: Intel Corporation Lynx Point-LP PCI Express Root Port 4 [8086:9c16] (rev e4)    00:1c.4 PCI bridge [0604]: Intel Corporation Lynx Point-LP PCI Express Root Port 5 [8086:9c18] (rev e4)    00:1d.0 USB controller [0c03]: Intel Corporation Lynx Point-LP USB EHCI #1 [8086:9c26] (rev 04)    00:1f.0 ISA bridge [0601]: Intel Corporation Lynx Point-LP LPC Controller [8086:9c43] (rev 04)    00:1f.2 SATA controller [0106]: Intel Corporation Lynx Point-LP SATA Controller 1 [AHCI mode] [8086:9c03] (rev 04)    00:1f.3 SMBus [0c05]: Intel Corporation Lynx Point-LP SMBus Controller [8086:9c22] (rev 04)    00:1f.6 Signal processing controller [1180]: Intel Corporation Lynx Point-LP Thermal [8086:9c24] (rev 04)    02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)    03:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)    04:00.0 3D controller [0302]: NVIDIA Corporation GM108M [GeForce 840M] [10de:1341] (rev a2)   Plz help me

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


I've been curious about pink salt for a while now and I was wondering if it would be ok to use it for cooking steak? Or should i just stick to the regular table salt?   sorry for the confusion, guys. My mom's friend gave her himalayan pink salt and I'm supposed to prepare steak for them so i was just wondering if I could use the himalayan pink salt that she has. I normally cook with iodized salt and have zero idea about other salts. Hope my question makes sense this time. Thanks!!

What is the difference between pink salt and more typical coarse salt (e.g. sea salt)?  I know it is pink due to mineral deposits, but culinarily is it any different? e.g. does it taste different, is it used differently, etc.  Since there may be more than one kind of pink salt, I'm talking specifically about "Himalayan Pink Salt".


Let f($t_1, . . . , t_n$) be a polynomial over a field F. Suppose there exist infinite subsets $X_1, . . . , X_n$ of F such that f($x_1, . . . , x_n$) = 0 for all ($x_1, . . . , x_n$) ∈ $X_1 × · · · × X_n$. Prove that f is the zero polynomial.  The related material is integral extensions, so I want to incorporate that area of maths to a solution.

Let $f(t_1, ... , t_n)$ be a polynomial over a field $F$. Suppose there exist infinite subsets $X_1, ... , X_n$ of $F$ such that $f(x_1, ... , x_n) = 0$ for all $(x_1, ... , x_n) ∈ X_1× \cdots ×X_n$. Prove that $f$ is the zero polynomial.   Not sure how to start on this one!


I love to use mathfrak letters.  However I need an `A' and the mathfrak A looks a lot like a U to me:      Are there alternative `mathfrak' looking fonts?

I know what my symbol or character looks like, but I don't know what the command is or which math alphabet it came from. How do I go about finding this out?


Setting up a new ubuntu server installation (14.04.1), I have been completely unable to get deluge to start as a daemon at system startup. Originally tried following this set of instructions:   I have tried / read countless questions and answers on stackexchange, as well as various other guides and posts by people having similar issues.  I am baffled to the point where I created an account on here to post, and see if I could get another set of eyes on this. I set this up once before on 14.04 running on a different system, and had no troubles at all.   On boot: not running, verified by ps -aux |grep delu Something I just noticed, when I enter sudo service d and attempt to use tab completion, "deluged" is not one of the available options, however if I type it in manually, sudo service deluged start returns deluged start/running, process 1475  Checking ps -aux |grep delu returns that is is running, however at 1482. The web-ui, which should have been started when the daemon was, is not however.  An immediate sudo service deluged status returns deluged stop/waiting rather than  deluged start/running, process XXXX which it should be. However, checking ps -aux right after that shows deluged running with the perimeters from the upstart script.   Any other information that would help I am happy to provide. I attempted the solution from  but all it did was change to sudo service deluged startthe deluged starting/stopping message that they started with.   Unfortunately I am reusing the SSD I originally had it set up on in my new system, or I would look at how I had managed it there. I thought I might have used init.d rather than upstart, but I tried that as well, and it didn't work either.   $ cat deluged.conf     description "Deluge daemon"  start on filesystem and static-network-up stop on runlevel [016]  respawn respawn limit 5 30  setuid deluge setgid deluge umask 007  exec /usr/bin/deluged -d  $ cat deluge-web.conf description "Deluge Web UI"  start on started deluged stop on stopping deluged  respawn respawn limit 5 30  setui deluge setgid deluge umask 027  exec /usr/bin/deluge-web

I'm used to create upstart services with a file in /etc/init/<service>.conf and it works perfectly fine, the only thing I'd like to is to have tab completion the same way that every service in /etc/init.d/ have right now.  When writing sudo service xx the name of the service should apear.   Is there a way to add upstart services to that autocompletion list?


I know this is a physical principle and cannot be derived at from other physical laws. But how can it be arrived at? What observations or what train of thoughts leads to this conclusion?  e.g. the Newton's second law of motion is also a physical principle and cannot be derived. But from observations like 'a body moving at constant velocity on a frictionless surface doesn't tend to stop' and many others, it is understandable to arrive  at the Newton's laws. What observations or thought process lead Einstein to this postulate?

I was told that the Galilean relative velocity rule does not apply to the speed of light. No matter how fast two objects are moving, the speed of light will remain same for both of them.   How and why is this possible?   Also, why can't anything travel faster than light?


Can't Find wine in Ubuntu store. How can i install Wine on Ubuntu 20.04 LTS (64 BIT)?

I am looking for a step by step instruction to guide me in the ways of installing, configuring and debugging many of the issues new users have when dealing with Wine in Ubuntu.  What is the recommended way of installing Wine, some of the key issues that it has and how to solve them?  If I have a specific problem with an App in Wine, how do I go about solving it? What are the recommended steps to ensure that I can fix a problem related to an app I wish to use?


Example:   Player 1 uses the ready action to do something when something happens (unimportant) Goblin, decides to charge across the battlefield and attack Player 2, but happens to cross paths with Player 1 possibly provoking an opportunity attack (here lies my question)   Could Player 1 decide to ignore their readied action and use their reaction to attack the goblin? This would of course take up their reaction so they could no longer take their readied action when it triggers.  If so; let's say it is a fireball that was readied (or any spell), would Player 1 be required to drop the fireball spell? They technically cast it as part of their ready action, but I would understand if this would be a downside to using a reaction before their readied action triggered (maybe this should be another question, but please answer it anyway and tell me if I need to create a separate one so you can answer it there too :P).

Merle the Wizard is fighting enemies with his friends on a bridge. He wants to cast a spell on the BBEG, but they are currently out of range and so he uses his action to ready a spell for when the BBEG is in range.  However, before that happens one of Merle's friends is knocked off the bridge. Can Merle ignore the spell he had readied and use his reaction to cast feather fall?


I need to redirect my WordPress site hosted on wordpress.com to my new domain hosted on another provider. How does that redirection function on this type of site and hosting?  I know how to do that via cPanel (301 redirect) on other hosting companies, but I am not quite clear if wordpress.com functions like other commercial hosting companies.

My friend has a WordPress blog and he wants to move some of the posts to another site.   I suggested that he install a redirect plugin to do so.     He wrote back:     I think the plugin you offered works if you have your own site built using wordpress. My blog is on wordpress.com, not its own site. Thus I don’t think I am allowed to upload my own plugins.   Is it possible to redirect blog posts off of a blog hosted on wordpress.com?   Either by installing a plugin or through built in functionality?  I found that they have .  They sell that for $13 per year.   Given that they seem to want to make money on moving an existing site away, I fear they may not support redirecting individual posts.


I know this is similar to another question, but I think it's a different situation.  I hope it's okay to start a new thread.  I want to upgrade, but to nothing higher than iOS 6 or 7. The performance on our other iPad2 on iOS 8 is horrible.  I don't dare try iOS 9.  I've downloaded an IPSW file from osxdaily.com (iPad2,2_6.0.1_10A523_Restore.ipsw) but neither iTunes nor redsn0w will let me install it.  ITunes comes back with "This device isn‘t eligible for the requested build" and redsn0w says "That IPSW isn't supported by this version of redsn0w."  I do not have the SHSH blobs from iOS 4.  Can you tell me what I'm doing wrong?  Will iTunes not install the IPSW because Apple isn't signing it anymore?  If so, is there another route I can take?  Thanks.

I'm trying to downgrade my iPhone from the current iOS to an older one, as per .  But every time I try, I always receive this error:     The iPhone could not be restored. This device isn't eligible for the requested build.     I have tried many times with and without DFU mode. Any ideas regarding this?


Everytime I start the game I have to re-equip ALL my vehicle upgrades. The gadgets are fine, the issue is only with the vehicles. I've already tried to backup my save and reinstall the game, but it didn't solve my problem. I'm running it on Android 2.3.6. Any suggestions?

I have Jetpack Joyride for Android, but every time I start the game I have to equip the magnetic upgrades to all vehicles, except the teleporter, which is the only one already equipped.  I had once a game crash that undid my last 2 magnets purchases, so I ended up with only the teleporter and 20k less in cash. After that, I've bought every vehicle magnet, but still the only one that will remain equipped is the teleport.  Anyone already found some similar bug? How could I fix this, it's kinda annoying have to mannually enable 5 different upgrades every time I want to play.


I want to Dual Boot Windows 10 and Kali Linux. That is not a problem, but I don't want to turn off my PC to get into Kali Linux. I want that if I'm on Windows 10, Kali Linux is in the second desktop. Is this possible?

Is it possible to dual boot two OS's at the same time?  For example: I'm currently dual booting Ubuntu 11.04 and Windows 7. Ubuntu is running on a single 500gb HDD, Windows 7 is running on 1TB RAID 1 mirror. To switch between the two OS's, a reboot is required. Is it possible to switch between the two OS's without a reboot?  NOTE: I'm fully aware of the capabilities of VirtualBox and VMWare Player - I use both. Please don't answer "Use Virtualization!"  EDIT: If this is not possible can you share why it's not possible? To me, it doesn't seem like it would be that difficult. Keep in mind that my vision is unencumbered by knowledge!


I am working on an javascript app and having some trouble with the object constructor.  I am going to make each card in the deck an object and so just working on building an array of those objects.  Here is what i have :        function card(suit1,number1) // Constructor     {     this.suit1 = suit1;     this.number1 = number1;     }       function makeDeck1() {     var deck1 = new Array()        deck1[0]= new card('S','A');     deck1[1]= new card('S','1');      }       function myFunction() {  makeDeck1();     alert('gman' + deck1);      }
Blackjack
      <button onclick="myFunction()">Click me</button>     basically the console is telling me that "deck1" is not defined...so something is wrong with the process...  was wondering if anyone can shed any light on this.  Thanks!  G

What is the scope of variables in javascript? Do they have the same scope inside as opposed to outside a function? Or does it even matter? Also, where are the variables stored if they are defined globally?


When an electron revolves around the nucleus of an atom is it using any energy  in doing so. If so, where does this energy come from and how does it be a constant source (the electron revolves forever)? What is the energy being used and how is it not getting over?

I'm having trouble understanding the simple "planetary" model of the atom that I'm being taught in my basic chemistry course.   In particular,    I can't see how a negatively charged electron can stay in "orbit" around a positively charged nucleus. Even if the electron actually orbits the nucleus, wouldn't that orbit eventually decay?  I can't reconcile the rapidly moving electrons required by the planetary model with the way atoms are described as forming bonds. If electrons are zooming around in orbits, how do they suddenly "stop" to form bonds.     I understand that certain aspects of quantum mechanics  to address these problems, and that there are  of atoms. My question here is whether the planetary model itself addresses these concerns in some way (that I'm missing) and whether I'm right to be uncomfortable with it.


Over all seven seasons of Voyager, the Starfleet of the 29th century intervened whenever anything was in the wrong time. But why don't they do this when Janeway travels back in time at the end of Voyager in order to change the whole future?

In the series finale "", a future Admiral Janeway travels 26 years into her past to take the ship and crew through a Borg transwarp hub to the Alpha quadrant.  However, in "", Captain Braxton and his timeship tried to prevent and correct any timeline interferences (so-called "temporal disruptions").  Why didn't they travel back in time to fix the paradoxes that Janeway created?


An ext4 formatted USB drive with data on it was made bootable USB drive by mistake. I want to recover the USB drive along with the data without formatting the USB drive. The USB drive is an external SSD.The size of the drive is 1TB.I used Start up Disk Creator vailable in Ubuntu to create the bootable external SSD from the iso image I had stored in my system.

I had Ubuntu 14.04 LTS installed on my Laptop. After a while I had some troubles starting it up. I decided to reinstall Ubuntu.  I had 3 ntfs partitions, 2 ext3 partitions the mount point for the first was / and for the second was ./local and a swap partition. During the reinstallation I chose the option: "erase Ubuntu 14.04 and reinstall".  During the reinstallation the power cut off. After it worked again I turned my laptop on to try to restart the installation process. I couldn't find any options other than:   Erase disk and install Ubuntu Something else   When I chose Something else I couldn't see my partitions. Instead I found this:  Device                         Type     Mount point     Format?     Size      Used     System     /dev/mapper/ubuntu--vg-root  /dev/mapper/ubuntu--vg-root   ext4                                 631381 MB unknown  Linux device-mapper (linear)(631.4 GB) /dev/mapper/ubuntu-vg-swap_1  /dev/mapper/ubuntu-vg-swap_1  swap                                 8493 MB   unknown /dev/sda  /dev/sda1                     ext2                                 254 MB    27 MB  /dev/sda5                                                          639877 MB unknown   At the Testdisk phase I have this:


The series was about Earth battling these unknown aliens in space, the war was close to the alien's planet/planets. They wore dark body-suits with dark helmets, completely covering their features. They had better technology than humans, but we were somehow keeping them at bay with tactics. It happened then that one of our pilots crash-landed on one of the alien planets. There, the pilot discovered a pink alien, breeding eggs. They befriended each other and the pilot talked to the alien about Earth's war-tactics. When he got rescued, it came out that the pink alien is in fact one of the enemy aliens without the body suit, and that the alien had divulged the war-tactics to his leaders, causing the humans to start loosing all the battles.   I also remember that one of the humans tried putting on one of the alien's helmets. It made a sucking noise and the human nearly died from suffocation (the aliens breathed something else than air).   Any help with the name would be greatly appreciated.

I remember watching this TV show in the early- or mid-nineties (I think) that was about a war between humans and a mysterious alien race. At least some of the episodes focused on learning new things about the aliens. Specifics that I recall:   The aliens were called "chigs" or "chiggers" or something like that. [I'm not really certain on this bit, to be honest, but I do recall there was some kind of slang term the characters used for the aliens that always made me think of some kind of insect.] The show focused on a particular group of human soldiers/pilots (they seemed to do as much space combat as ground combat, as I recall). The show featured a brand new element, although I forget what it was called, and there was even an updated periodic table that included it. Pretty much all of the aliens' technology was based on this element and its unique properties.   It was a pretty dark show (both in theme and in actual lighting), and they seemed to go out of their way to never give the audience a good view of the aliens (probably trying to increase the mysteriousness of them); in fact, I seem to recall one episode in particular where they had captured the dead body of one of the aliens, and yet they still refused to give the audience a clear look at this creature.  I believe it was short-lived, canceled after just 1 or 2 seasons (possibly mid-season, I seem to recall story arcs remaining unresolved). I remember really enjoying the show, and would love to look it up again and re-watch it, but not remembering the title makes that a bit awkward...  If you need more detail, please ask -- I remember bits and pieces of several of the episodes, and with some prompts I should be able to provide additional details.


I created my Facebook account using my 'phone number, with an Airtel SIM.  It was locked, how do I open it?

I have forgotten my Facebook account password and also I have no access to the number which I use to log-in to Facebook account.   On this page (see the image below) they are asking for a government photo-ID to verify my account. The problem is that I don't have a driving license, voter ID card, passport etc. All I have is a school ID card but that hasn't worked for me. Is there any other way to recover my password?


Can anyone tell me what is Fixed effect and Random effect models? How to make out that when to use fixed effect and random effect model? What algorithms are the examples of fixed effect and Random effect models?

I have very recently started learning about Generalised Linear Mixed Models and was using R to explore what difference it makes to treat group membership as either fixed or random effect. In particular, I am looking at the example dataset discussed here:      As outlined in this tutorial, the effect of Doctor ID is appreciable and I was expecting the mixed model with a random intercept to give better results. However, comparing AIC values for the two methods suggest that this model is worse:  > require(lme4) ; hdp = read.csv("http://www.ats.ucla.edu/stat/data/hdp.csv") > hdp$DID = factor(hdp$DID) ; hdp$Married = factor(hdp$Married) > GLM = glm(remission~Age+Married+IL6+DID,data=hdp,family=binomial);summary(GLM)  Call: glm(formula = remission ~ Age + Married + IL6 + DID, family = binomial,  data = hdp)  Deviance Residuals:  Min       1Q   Median       3Q      Max   -2.5265  -0.6278  -0.2272   0.5492   2.7329    Coefficients:               Estimate Std. Error z value Pr(>|z|)     (Intercept) -1.560e+01  1.219e+03  -0.013    0.990     Age         -5.869e-02  5.272e-03 -11.133  < 2e-16 *** Married1     2.688e-01  6.646e-02   4.044 5.26e-05 *** IL6         -5.550e-02  1.153e-02  -4.815 1.47e-06 *** DID2         1.805e+01  1.219e+03   0.015    0.988     DID3         1.932e+01  1.219e+03   0.016    0.987     [...]  DID405       1.566e+01  1.219e+03   0.013    0.990     DID405       1.566e+01  1.219e+03   0.013    0.990     DID406      -2.885e-01  3.929e+03   0.000    1.000     DID407       2.012e+01  1.219e+03   0.017    0.987     --- Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1  (Dispersion parameter for binomial family taken to be 1)  Null deviance: 10353  on 8524  degrees of freedom Residual deviance:  6436  on 8115  degrees of freedom AIC: 7256  Number of Fisher Scoring iterations: 17   > GLMM = glmer(remission~Age+Married+IL6+(1|DID),data=hdp,family=binomial) ; m  Generalized linear mixed model fit by the Laplace approximation  Formula: remission ~ Age + Married + IL6 + (1 | DID)  Data: hdp  AIC  BIC logLik deviance 7743 7778  -3867     7733 Random effects: Groups Name        Variance Std.Dev. DID    (Intercept) 3.8401   1.9596   Number of obs: 8525, groups: DID, 407  Fixed effects:              Estimate Std. Error z value Pr(>|z|)     (Intercept)  1.461438   0.272709   5.359 8.37e-08 *** Age         -0.055969   0.005038 -11.109  < 2e-16 *** Married1     0.260065   0.063736   4.080 4.50e-05 *** IL6         -0.053288   0.011058  -4.819 1.44e-06 *** --- Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1  Correlation of Fixed Effects:          (Intr) Age    Marrd1 Age      -0.898               Married1  0.070 -0.224        IL6      -0.162  0.012 -0.033   > extractAIC(GLM) ; extractAIC(GLMM)  [1]  410.000 7255.962 [1]    5.000 7743.188   Thus, my questions are:  (1) Is it appropriate to compare the AIC values provided by the two functions? If so, why does the fixed effect model do better?  (2) What is the best way to identify if fixed or random effects are more important (ie to quantify that the variability due to the doctor is more important than patient characteristics?


I just moved a primary hard drive from one laptop to a higher spec one. The higher spec machine worked perfectly for me under Ubuntu 16.04 and 18.04 (I'm handing it down). The newly inserted primary hard drive has 16.04 on it, and was running in a largely similar machine (laptop, i7 processor) but the "new" home has more of everything (memory, faster CPU, screen resolution).  Well, on first boot, the BIOS asserts "bad partition table" but the system boots perfectly with no complaints from Ubuntu. I can log in, and all looks essentially unchanged. However, there is no mention of WiFi on the network manager menu.  Obviously, the wifi hardware in these two machines is different, and I need to "reset/reinstall" the necessary drivers. But I don't know how to do that (the other drivers, notably the video, simply sorted themselves out by all evidence :)  Can someone tell me how to effectively reinstall the wifi subsystem, without disturbing the rest of the system?  03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43228 802.11a/b/g/n [14e4:4359]     Subsystem: Dell BCM43228 802.11a/b/g/n [1028:0014]     Kernel driver in use: bcma-pci-bridge     Kernel modules: bcma

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


Which would be correct . . . there doesn't seem to be, or there aren't . . .  There doesn't seem to be any records.  There aren't any records.

As an example, consider the two sentences:     There don't seem to be any doctors here.   and     There doesn't seem to be any doctors here.   To my ear, the first sounds great, and the second is painfully awkward.  So which is correct, grammatically? I've found lots of disagreement on this around the Web, with various sources citing different ways of treating the word "any" (as singular, always, or as either depending on to what it refers). No consensus, however, could I locate.


The Gribov-Froissart projection treats even angular momentum differently from odd angular momentum. But in QCD, I believe that the odd trajectories interpolate the even trajectories--- the two trajectories are degenerate. Is there a way of understanding why the even-odd trajectories are degenerate? Is is a symmetry argument? Can you find a natural system where they are not degenerate?  A quick google search revealed this reference, which doesn't answer the question, but gives an experimental signature for the degeneracy:  , There is probably excellent data by now on this.

This is an old classic which I don't think ever got a clear answer. The Gribov-Froissart projection that gives the relativistic version of Regge trajectories treats even angular momentum differently from odd angular momentum. The trajectory functions in general are separate for even and odd angular momentum.  But in QCD, the odd trajectories interpolate the even trajectories in every case--- the two trajectories are degenerate. Is there a way of understanding why the even-odd trajectories are degenerate? Is is a symmetry argument? Can you find a natural system where they are not degenerate?  A quick google search revealed this reference, which doesn't answer the question, but gives an experimental signature for the degeneracy:  , There is probably excellent data by now on this.


I created a sitemap, added my website for indexing on Google's console, but still my website is not showing in Google search results until I search for the whole URL of my website. Anyone know why it is happening? E.g. If my website is example.com then searching example does not show my website, but if I search for example.com then it works fine.

I have a website with a unique name, already indexed and with a perfect SEO. Although there are no websites with the same unique name, when I'm searching on Google I found my homepage listed on the 6th page.  Why something like this happens, and what can I do to improve?


Let $A$ and $B$ be real symmetric matrices. Suppose that for all integers $k\ge1$ we have  $$ {\rm tr}((A+B)^k)={\rm tr}(A^k) + {\rm tr}(B^k). $$  Prove that then, $AB=0$ (the converse is clearly true as $A$ and $B$ are symmetric). Note: this question is NOT a duplicate of a resembling question asked on this forum. We do NOT suppose that   $$ {\rm tr}((xA+yB)^k)=x^k{\rm tr}(A^k) +y^k{\rm tr}(B^k). $$ for all $x,y$ real, but ONLY for $x=y=1$.

Let $A,B$ be real symmetric matrices, and for any $n\in \Bbb N^{+}$, and for all $x,y\in \Bbb R$, we have $$tr(xA+yB)^n=x^ntr(A^n)+y^ntr(B^n).$$  Show that $AB=0$.  My try:since $$(xA+yB)^n=x^nA^n+\binom{n}{1}x^{n-1}A^{n-1}yB+\cdots+\binom{n}{n-1}xA(yB)^{n-1}+y^nB^n$$ so $$tr\left(x^nA^n+\binom{n}{1}x^{n-1}A^{n-1}yB+\cdots+\binom{n}{n-1}xA(yB)^{n-1}+y^nB^n\right)=x^ntr(A^n)+y^ntr(B^n)$$  then  $$tr\left(\binom{n}{1}x^{n-1}A^{n-1}yB+\cdots+\binom{n}{n-1}xA(yB)^{n-1}\right)=0$$ so $$\binom{n}{1}x^{n-1}ytr(A^{n-1}B)+\cdots+\binom{n}{n-1}xy^{n-1}tr(AB^{n-1})=0$$ then I can't  I found this is a nice result, maybe this is an odd problem, and I can't solve it. Thank you.


I want to show that $\vert \mathbb{R}^{\mathbb{Z}} \vert = \vert \mathbb{R} \vert $. Do the real numbers and the countable product of real numbers have the same cardinality?

I was wondering what the cardinality of the set of all real sequences is. A random search through this site says that it is equal to the cardinality of the real numbers. This is very surprising to me, since the cardinality of all rational sequences is the same as the cardinality of reals, and it seemed fairly intuitive to me that if cardinality of a set $A$ is strictly greater than the cardinality of the set $B$, then cardinality of $A^{\mathbb{N}}$ should be strictly greater than cardinality of $B^{\mathbb{N}}$. It turns out to be false.  Some technical answers have appeared in this forum elsewhere but I do not understand them. As I am not an expert in this topic, could some one explain me in simple terms why this is happening?  Also is the cardinality of all functions from reals to reals also the same as the cardinality of reals?


Is it bad for my credit rating each time a possible lender does a credit check on me?  I need to shop for a direct lender in order to get the best rate for a first mortgage on a property I want to buy, which is a single family home in Placerville, California and we will be the resident.

Background Info: My wife and I are looking to purchase our first home/condo. Given our combined gross annual income of ~$100k and lack of any actual debt, we're looking at properties in the $200-250k range. We currently have enough cash to put down ~10% and some semi-liquid stock assets (UTMA funds) to bring that up to 15% and have still some emergency cash. We wanted to save up 20% to avoid PMI and tax escrow and whatnot, but we ran the numbers and decided we'd be paying less than rent even with PMI and such included. Apparently we have to continue paying PMI for at least 2yrs (at least with our bank we would), but our plan is to pay down the principal faster and keep the PMI to a minimum.  Question: It seems that getting pre-approved (not just pre-qualified) for a mortgage can help make the decision between you and another non-pre-approved applicant and makes closing quicker and easier (with some of the leg work up-front), but I'm having troubles reconciling that with 1) getting multiple quotes for mortgage rates (which tend to change from time to time :p) and 2) limiting potential damage to your credit score from multiple hard-pulls.  My understanding is that (correct me if I'm wrong here) a pre-approval would require a hard-pull of both of our credit reports from all three bureaus as well as additional info like proof of income, tax returns, residence history, etc. (requirements here may depend on lender, but my understanding is that they [generally?] get scores from all three and use the middle one, and I don't know if it's possible, or even worth it, for them to get scores without the report - credit reports & scores continues to be a confusing matter)  Any pulls within the same ~30 days count as one credit inquiry as far as credit-scoring is concerned, though, so it would seem to make sense to have all potential lenders pull it within that time period. I'm considering four lenders (two brokers recommended by friends, one broker recommended by Google maps reviews, and my standard local/national/international bank - too many?), which seems like a lot of work, but I assume much of that will be similar for all four (e.g., we don't have different tax returns, income stubs, etc. to give to different lenders - they'd all be the same).  I'll sum this up in two somewhat-competing questions:   Assuming you're within the 60-90 days that the pre-approval is valid for, will the lender do another hard-pull before approving the final loan? I assume not, but if that's not the case, it would seem to weaken the argument of getting multiple pre-approvals right away b/c you could have just had one done, find the best rate later, and close with the lender with the best rate (who would then do a final pull). If you just get pre-approved from one lender, what's to say they'll have the best deal when you decide to close? (no matter which method you use to pick that one initial lender)   Alternatively, am I over-thinking this? I do tend to do that, and perhaps an initial pull and a later final-pull won't hurt that much anyways... After all, the final-puller would know what the initial pull was all about...


I'm making a presentation with beamer. I see in other publications that I can use \note to put speaker notes, but the slides appear side by side in the same screen, and don't split for both screens.  I search a bit about the subject but I can't find a viewer to solve this in Windows and Ubuntu.   How can I put this like power point, in a primary and second screen? If there is no way, I can convert the beamer presentation to powerpoint?   Thanks in advance!

I really like the way Keynote and MS Office (and also OpenOffice & similar) support a presentation mode that displays the current slide, the next (and maybe previous) slide, the elapsed and current time, and also any notes attached to the slides on one screen and the presentation itself on the beamer/second screen.  It enables me to give good, professional presentations without having to know everything by heart (I suck at that).  I found a , but I am looking for alternatives, especially OS-independent would be great. Not having to create 3 different PDFs is a boon.  Any hints?


How to make the reference number and equation number from this reference appear in one square brackets. For example: "Modified from [14, (8)] ...",  where 14 is the reference number and (8) is the equation number in the cited reference which will be added manually (no label).   Thanks

I'm new to Latex and can't seem to find an answer to what is a pretty basic question: How can I reference a particular page in an article?  Is there a way of doing this within the \cite{} command or do I have to modify the reference in the .bib file?


Yet again one of my papers is just stuck in limbo at a journal for over 6 months now. One referee has seemingly returned his review and the second referee is playing truant.  I knew this after a polite email to the administrative secretary 3 months after submission. She promised to send an email to nudge the late referee.  Now, after 6 months, I write to the editor in chief to get to know what is going on and he has not bothered to reply for over 2 weeks now.  When I review for this same journal, all of my reviews are returned in time. I setup a google calender reminder 2 weeks prior to my the deadline that I accept and then push everything aside for those 2 weeks to turn in a high quality report. I am going to politely decline any more invitations to review from this journal. The journal is prestigious but there are other less prestigious journals that offer faster review times. At some point in time, the prestige of the journal has to make way for faster dissemination of important results.  I also suspect that the journal is clubby. I have seen rotten articles written by folks in "elite" universities while I have had rejections from that journal even though I proved more theoretical results on a problem (I am an operations researcher) that was published in the same journal. I suspect the journal worries about the authors' zipcode. I published this article in a different journal eventually.   Is there any website where one can anonymously record such experiences for various journals? Once the website gains sufficient traffic, the editorial board of the journals would hopefully be forced to take notice and set right some of the rotten processes.  Frustrated_researcher.

There are plenty of journals and conferences in my research area. And there are things we could look up in advance, like impact factor, journal rank and so on.   But I would like to find a place where I could put my personal experience with the journal (or conference).   For instance, in Amazon the customers can review and criticize the books they read. In my country there is a site where you can complaint about any company that failed to satisfy the customer (a flight company, a magazine, a bank, etc).   One could argue that this would be unfair to the people that invest their time as editors or reviewers, but in my opinion it is a two-way relationship. Things like waiting one year without an answer from editors, poor review or evasive answers, is a disrespect to a research group who invests a lot of time as well.  So, is there a place where one could respectfully give a review and share their experience with a journal or conference?


Currently try to highlight the "searched term" found in the "table" by putting the "results found" into a . I get an error of "unexpected string" and with no results. Can some take a look and tell me where I am doing wrong?    //string are words in table var str = ("table#id tr td"); //regexp is the word entered in input field var re = $("#search-criteria");  var found = str.match(re); console.log(found);  if (found !== "") {     //surround word found with span     $(found).appendTo($"");} else {     //remove all span.s_val if not found     $("table#id tr td").children(.s_val).remove; } span.s_val{     background-color:yellow; }
     <input type="text" id="search-criteria" />

         apple	         banana	         red	         green	         ee	         ana

I basically need to highlight a particular word in a block of text. For example, pretend I wanted to highlight the word "dolor" in this text:
     Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

     Quisque bibendum sem ut lacus. Integer dolor ullamcorper libero.     Aliquam rhoncus eros at augue. Suspendisse vitae mauris.
  How do I convert the above to something like this:
     Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

     Quisque bibendum sem ut lacus. Integer dolor ullamcorper     libero. Aliquam rhoncus eros at augue. Suspendisse vitae mauris.
  Is this possible with jQuery? Edit: As  , this is quite possible without jQuery - but I was hoping there might be a special method of jQuery which would let you do selectors on the text itself. I'm already using jQuery heavily on this site, so keeping everything wrapped up in jQuery would make things perhaps a bit more tidy.


need to write a sql query to fetch all tables in a schema  that was updated on sysdate.  select  distinct(table_name) from All_Tab_Columns  where owner = 'DBO'        and last_analyzed = sysdate;   It doesn't seem to work properly.

Can I find out when the last INSERT, UPDATE or DELETE statement was performed on a table in an Oracle database and if so, how?  A little background: The Oracle version is 10g. I have a batch application that runs regularly, reads data from a single Oracle table and writes it into a file. I would like to skip this if the data hasn't changed since the last time the job ran.  The application is written in C++ and communicates with Oracle via OCI. It logs into Oracle with a "normal" user, so I can't use any special admin stuff.  Edit: Okay, "Special Admin Stuff" wasn't exactly a good description. What I mean is: I can't do anything besides SELECTing from tables and calling stored procedures. Changing anything about the database itself (like adding triggers), is sadly not an option if want to get it done before 2010.


I just failed a close vote audit. The quality of the audit is arguable, but that's not the point here. The point is what it told me afterwards.  STOP! Look and Listen. This was an audit, designed to see if you were paying attention. You didn't pass. There are no major problems with this question. You should click Leave Open, or make minor corrections via Edit. Don't worry, we've already handled this answer appropriately – but please take a minute to look it over closely, keeping in mind the guidance above.  This time, I actually read the text (I had nothing else to do...) and noticed something in the last paragraph:  Don't worry, we've already handled this answer appropriately – but please take a minute to look it over closely, keeping in mind the guidance above.  Uhh... Wait a minute. Did I just fail a CV audit for an answer? We can close answers? No, it was a Gen-U-Wine Question, but the review audit failed text doesn't seem to know that. Could we change 'answer' to 'question', to avoid confusion for those who actually read the text?

Failed another high quality  (for trying to ).  However, I discovered something interesting. It would be a good idea if the the there was a match between question and answer.


How do I type a curly brace, the "{"? I run Windows 7 on BootCamp with an Apple keyboard.  Alt+Shift+8 or Alt+Shift+9does not appear to work.

I'm using Bootcamp to run Windows on my Mac. Now I can't find a way to make curly braces and brackets. What is the keyboard shortcut for that?  I am using a Swiss German Apple keyboard layout.


So lately I came across this seemingly simple problem that I just can't get around. Solve this equation:  $x^2 = 2^x$  I cannot do this algebraically, while I refuse to believe it is impossible to solve this algebraically or at least without a graphic calculator (maybe use Newton's method or series approximations?).  I decided to simplify the problem:  $x = 2^x$  Again, I cannot find an exact way to solve this.

How to solve this equation $$x^{2}=2^{x}$$   where $x \in \mathbb{R}$.  Por tentativa erro consegui descobri que $2$ é uma solução, mas não encontrei um método pra isso. Alguma sugestão?(*)  (Translation: By trying different values I've found that $2$ is a solution, but I couldn't find any method to this though. Any suggestions? )


I want to generate a table with fixed column width. This works for all the columns except for the last column.   Working example (fixed column width for all column except the last one)  \documentclass{article} \usepackage{array} \usepackage{csvsimple} \usepackage{filecontents}  \begin{filecontents*}{grade.csv}     name,givennamex,matriculation,gender,grade     Maier,Hans,12348,m,1.0     Huber,Anna,23456,f,2.3     Weisbaeck,Werner,34567,m,5.0 \end{filecontents*}  \begin{document}     \begin{tabular}{>{\raggedright}m{2cm}|>{\raggedright}m{2cm}|c}%         \bfseries long title column 1 & \bfseries long title column 2 & \bfseries long title column 3% specify table head         \csvreader[head to column names]{grade.csv}{}% use head of csv as column names         {\\\hline\givennamex & \name & \matriculation}% specify your columns here     \end{tabular} \end{document}   Example with problem (fixed column width for all column including the last one)   \documentclass{article} \usepackage{array} \usepackage{csvsimple} \usepackage{filecontents}  \begin{filecontents*}{grade.csv}     name,givennamex,matriculation,gender,grade     Maier,Hans,12348,m,1.0     Huber,Anna,23456,f,2.3     Weisbaeck,Werner,34567,m,5.0 \end{filecontents*}  \begin{document}     \begin{tabular}{>{\raggedright}m{2cm}|>{\raggedright}m{2cm}|>{\raggedright}m{2cm}}%         \bfseries long title column 1 & \bfseries long title column 2 & \bfseries long title column 3% specify table head         \csvreader[head to column names]{grade.csv}{}% use head of csv as column names         {\\\hline\givennamex & \name & \matriculation}% specify your columns here     \end{tabular} \end{document}   What can I do to set the width of the last column?  EDIT  After the comments below I added the package ragged2e and changed the first line  \begin{tabular}{>{\raggedright}m{2cm}|>{\raggedright}m{2cm}|>{\raggedright}m{2cm}}%   to this one   \begin{tabular}{>{\raggedright}m{2cm}|>{\raggedright}m{2cm}|m{2cm}}%   Overall, the code is now the following:  \documentclass{article} \usepackage{array} \usepackage{csvsimple} \usepackage{filecontents} \usepackage{ragged2e}  \begin{filecontents*}{grade.csv}     name,givennamex,matriculation,gender,grade     Maier,Hans,12348,m,1.0     Huber,Anna,23456,f,2.3     Weisbaeck,Werner,34567,m,5.0 \end{filecontents*}  \begin{document}     \begin{tabular}{>{\raggedright}m{2cm}|>{\raggedright}m{2cm}|m{2cm}}%         \bfseries long title column 1 & \bfseries long title column 2 & \bfseries long title column 3% specify table head         \csvreader[head to column names]{grade.csv}{}% use head of csv as column names         {\\\hline\givennamex & \name & \matriculation}% specify your columns here     \end{tabular} \end{document}   There is still one Problem: I cannot set the last column as centered (I tried to write >{\raggedright}m{2cm} instead of m{2cm} but it doesn't work).

I would like to create a table with some columns' width specified, while the text in those columns should be centered both horizontally and vertically. I found out that  \usepackage{array} \begin{tabular}{| c | c | m{5cm} |}   vertically centers the text in the last column, but justifies it horizontally (like text in normal paragraphs).  Update: With Jake's method, it seems both \\ and \hline cause an error. How to fix it?


Is there a community for questions about Microsoft Excel or Word?     I have a question about conversion of Excel to Word and I don't know if there is a place on Stack Exchange.   Where I can ask it?

I would like to ask a question about Microsoft Word. It is the software itself based not coding related. The question is about table shapes. Which one is most proper ?


We know they went East with Saruman and while he returned they never returned. We know in Tolkien's early writings he had the blue wizards as starters of magical cults but he quickly changed this.  They also came in the Second Age unlike Gandalf and Radagast who came in the Third Age. I've heard many people say that they did in fact succeed in the East and led Easterling rebellions but if this is true why would Aragorn have had to travel all the way to Rhun to basically destroy or make them surrender if the blue wizards had it under control?  For me this probably means that either like Radagast they lost interest in their original cause or that they were killed by Saruman or another person or thing connected with evil.  Are there any canonical explanations for their success or failure? Did the blue wizards fail or succeed in their task?

All I've ever been able to find is that they arrived in Middle-earth and left to go do something outside of the scope of the story. Has anyone ever found any additional information?


Is there any chance that a muggle marrying a witch or wizard will have a muggle child? Is it 50/50, or will all descendants of wizards automatically be magical?

Inheriting the magical blood down the line, via a wizard father or a witch mother is understandable in case of Half-Bloods.  I am wondering as to how Muggle-borns end up with magical ability?


A series of questions, so I'll split them up if needed.  I'm working my way through the books again and was wondering if the sorting hats sorts the students into houses equally, or if there are some houses which have a larger number of students than others (two questions I guess).  If they are sorted equally, can we therefore say hat Hogwarts has around 800 pupils, as in The Prisoner of Azkaban in the Gryffindor Vs. Slytherin Quidditch match, it's said that the '200 Slytherin's boo'd Gryffindoor as they walked onto the pitch' (roughly, can't remember the exact text)?

Not a year goes by where we don't see at least one person Sorted into each House, and it's usually a fairly even distribution.  The Sorting Hat doesn't get a chance to study the mind of each child before Sorting, so it can't Sort them relative to each other (top X in smarts go to Ravenclaw, 4 bravest to Gryffindor, etc)  What would happen if a Sorting occurred where all the witches/wizards were extremely intelligent?  Would they all get Sorted to Ravenclaw?  What if they were all extremely brave?  What if none of them were particularly smart or courageous, but they all wanted power?  We see that there's a fairly small number of beds per room in each dorm, would the Hat stop Sorting people into a House if it knew the House had no more beds?  If so, could Harry Potter have ended up in Hufflepuff if his last name had been 'Zimmers'?


I'm trying to do a simple C program to print grades:   int main(void)     {      float grade;     int test;     printf("Enter your grade:\n");     test=scanf("%f", &grade);     if(test!=1 || grade<0.0)         printf("Error: Please enter a valid grade\n");     else     {         if(grade>4.0)             printf("Your grade is A+\n");         else if(grade == 4.0)             printf("Your grade is A\n");         else if(grade>=3.7)             printf("Your grade is A-\n");         else if(grade>=3.3)             printf("Your grade is B+\n");         else if(grade>=3.0)             printf("Your grade is B\n");         else if(grade>=2.7)             printf("Your grade is B-\n");         else if(grade>=2.3)             printf("Your grade is C+\n");         else if(grade>=2.0)             printf("Your grade is C\n");         else if(grade>=1.7)             printf("Your grade is C-\n");         else if(grade>=1.3)             printf("Your grade is D+\n");         else if(grade>=1.0)             printf("Your grade is D\n");         else             printf("Your grade is F\n");     }  }   However when I press 3.3 it prints B instead of B+(and I have the same problem in the rest of the "limits" in my range). Can someone help me fix this? Thanks!

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


We've seen several examples of their Queen and she always appears to be of the same species. What species is that?

In Star Trek, the Borg Queen is said to be from Species 125.  Has this species been identified? Or has it been assimilated before the rest of the galaxy could encounter them?


I want to extract email " myemail [at] domainemail [dot] com " from html code in string.  So I used this code but it is not working. What should I do ?  public static List<string> Fetch_Emails(string Sourcecode) {     List<string> Emails = new List<string>();          Regex exp = new Regex("\\b[A-Z0-9._%+-]+(\\[at\\])[A-Z0-9.-]+(\\[dot\\])[A-Z]{2,4}\\b", RegexOptions.IgnoreCase);            MatchCollection matchCollection = exp.Matches(Sourcecode);      foreach (Match m in matchCollection)     {         if (!Emails.Contains(m.Value))         {              Emails.Add(m.Value);                                 }     }      return Emails; }

Over the years I have slowly developed a  that validates MOST email addresses correctly, assuming they don't use an IP address as the server part.  I use it in several PHP programs, and it works most of the time.  However, from time to time I get contacted by someone that is having trouble with a site that uses it, and I end up having to make some adjustment (most recently I realized that I wasn't allowing 4-character TLDs).  What is the best regular expression you have or have seen for validating emails?  I've seen several solutions that use functions that use several shorter expressions, but I'd rather have one long complex expression in a simple function instead of several short expression in a more complex function.


Steam wont launch, i get this message  crazyfrog@crazyfrog-desktop:~$ steam Running Steam on ubuntu 15.04 64-bit STEAM_RUNTIME is enabled automatically Installing breakpad exception handler for appid(steam)/version(1433441724) libGL error: unable to load driver: nouveau_dri.so libGL error: driver pointer missing libGL error: failed to load driver: nouveau libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast

Actually I have installed the new Ubuntu 15.04 64bit, and when I'm trying to install Steam on it, there is a problem. In fact I have downloaded the deb package from steam website, installed it and when I start it nothing happens. I tried to start it from terminal and what I've got  $ steam Running Steam on ubuntu 15.04 64-bit STEAM_RUNTIME is enabled automatically Installing breakpad exception handler for appid(steam)/version(0_client) libGL error: unable to load driver: r600_dri.so libGL error: driver pointer missing libGL error: failed to load driver: r600 libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast


Part of what we eat are proteins, and our body is in part build of proteins.  Are the proteins of the body build based on proteins in food at all?  Are proteins in food directly reused in the body, or are proteins first disassembled?  How far are they disassembled, randomly in various pieces, or systematically to keep what can optimally be used to build new proteins, while nothing is wasted for energy?  (The question  and it's answers are related, and provide some context and relevant parts, but is not a duplicate.)

I've heard somewhere said that :     Stomach cells do not absorb anything larger than single amino acids.   Is that wrong?  How do biological toxins (peptides/proteins) from mushroom or bacteria like Botulinum come to our blood and affect our body after we eat them?   Update: In fact, i want to know if we drink milk, is there anyway IGF-1 protein from milk can pass through the intestine and affect our body. Because I see some arguments/debates about the IGF protein in milk can cause acne.


I'm learning object and I'm trying to use a reference variable as an instance variable, but I get " java.lang.NullPointerException " even if I've given the value.   What am I doing wrong?    Here is my code:  public static void main(String[] args) {      Car car = new Car();     car.brand = "Nissan";     car.modelYear = 1998;     car.owner.name = "Marshall";     System.out.println("The car brand is "+car.brand +             "car model is "+ car.modelYear+             "cars owners name is "+ car.owner.name);     } }  class Car {     Person owner;     String  brand;     int modelYear;     int horsePower; }  class Person {     String name; }

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


im new on hibernate, and im trying to get the results of a query, if i try to get only 1 column, i dont have problems, but when i try to get more, i cant. If someone can help me, would be great :D the code:         sSelect = sessionFactory.openSession();          q1 = sSelect.createQuery("select nompro, suelpro from profesores pf order by pf.id");          //Guarda la información en una lista.         listaProf = (List) q1.list();          System.out.println();         System.out.println();         System.out.println("Nombre de los Profesores");                    for(int i=0; i < listaProf.size(); i++)         {             System.out.println(listaProf.get(i).toString());         }          sSelect.close(); //Cerramos la sesión  the result: [Ljava.lang.Object;@1816e24a [Ljava.lang.Object;@6940f685 [Ljava.lang.Object;@47b179d7

In Java, arrays don't override toString(), so if you try to print one directly, you get the className + '@' + the hex of the  of the array, as defined by Object.toString():  int[] intArray = new int[] {1, 2, 3, 4, 5}; System.out.println(intArray);     // prints something like '[I@3343c8b3'   But usually, we'd actually want something more like [1, 2, 3, 4, 5]. What's the simplest way of doing that? Here are some example inputs and outputs:  // Array of primitives: int[] intArray = new int[] {1, 2, 3, 4, 5}; //output: [1, 2, 3, 4, 5]  // Array of object references: String[] strArray = new String[] {"John", "Mary", "Bob"}; //output: [John, Mary, Bob]


Whenever I change a favicon on a site I work on, it can take hours/days for the browser to re-request the new resource.  But when I go to reddit, if I have a message I get a notification in the favicon, without a page load as well, I think?  Is this as simple as supplying a new favicon with a different filename?  How do you get the browser to load that without doing a page load?

I have a web application that's branded according to the user that's currently logged in. I'd like to change the favicon of the page to be the logo of the private label, but I'm unable to find any code or any examples of how to do this. Has anybody successfully done this before?  I'm picturing having a dozen icons in a folder, and the reference to which favicon.ico file to use is just generated dynamically along with the HTML page. Thoughts?


According to , CFDs are inappropriate for long-term investments because of financing fees and margin calls. This conclusion appears to be true only if the CFD positions use borrowed money (leverage). Suppose I do not use leverage to buy CFDs; I always use 100% margin. Does this make long-term investing viable using CFDs? What are the pitfalls when making long-term investments using unleveraged CFD positions? (By "long-term", I mean an investment horizon of 1 to 10 years.)

I'm new to trading. Based on what I read, trading CFD involves high risk because of leverage.   Is it possible to trade CFD stocks without leverage (in Etoro for example)?  If this is possible, then I would lose/gain only the percentage by which the stock goes down/up.  Thank you


The Question This question is a maths challenge and well to explain it better I will use an example. I have a number, say $20$ I can write this as $10 + 10$  (this is a make up of the number) Now I multiply the two numbers to get $100 = 10 * 10$ The challenge is to make the highest possible product in this manner and find a rule for this. Note : The composition (make up) can consist of a number of numbers. hehe. They have to be positive integers.  "Let n∈N be a positive integer. Let m∈N and a1,a2,…,am be positive integers such that a1+⋯+am=n. For what m and what a1,…,am is the product a1a2⋯am maximal" (Same, just rephrased, creds to SteamyRoot)  A solution Using the example $20$, to find the highest "production" number for this, we need to write out $20$ has a sum of as many as $3$ as we can use, so... $20 = 3 + 3 + 3 + 3 + 3 + 3 + 2$ Now we multiply them together $3*3*3*3*3*3*2 = 3^6 * 2 = 1458$

Suppose we have a natural number $n \ge 0$.  Given natural numbers $\alpha_1,\ldots,\alpha_k$ such that   $k\le n$ $\sum_i \alpha_i = n$   what is the maximum value that $\Pi_i \alpha_i$ can take?  I'm quite sure that there is a theorem telling me the result, but I cannot find it. For sure an upper bound is $n^k$ but I'm searching for a real upper bound. I'm pretty sure that upper the bound should be $n^2$, but I don't know I could prove it.


I made and object in blender with checker texture but when i try to import it in unreal Engine it only imports with object. The texture is not imported

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


In Django application, how can I periodically (say every 10 seconds) make a request to an API?  Right now I have setup a cron that takes care of making an API call and updating the data, but cron has a minute precision. I want the data to be updated every 10 seconds.

I've been working on a web app using Django, and I'm curious if there is a way to schedule a job to run periodically.   Basically I just want to run through the database and make some calculations/updates on an automatic, regular basis, but I can't seem to find any documentation on doing this.  Does anyone know how to set this up?  To clarify:  I know I can set up a cron job to do this, but I'm curious if there is some feature in Django that provides this functionality.   I'd like people to be able to deploy this app themselves without having to do much config (preferably zero).  I've considered triggering these actions "retroactively" by simply checking if a job should have been run since the last time a request was sent to the site, but I'm hoping for something a bit cleaner.


In this case, as is usual, $\textbf{Z}$ represents the set of integers and $\textbf{Q}$ represents the set of rational numbers.  I'm meant to figure out if the bijection $f:\textbf{Z}\rightarrow\textbf{Q}$ exists and, while I know that this entails proving that it is both injective and surjective, I'm stuck with how to proceed.  I've been struggling with proving bijectivity for sets in general and what I'm looking for is a framework with which to work when it comes to these sorts of problems, as my attempts to research similar problems online haven't helped.  EDIT: While I do see other problems asking similar questions, the answers I read failed to show steps that proved both injectivity and surjectivity, which is how I would like to solve the question, if possible.

I remember my professor in college challenging me with this question, which I failed to answer satisfactorily: I know there exists a bijection between the rational numbers and the natural numbers, but can anyone produce an explicit formula for such a bijection?


Excessive levels of perfume or cologne is an issue for many people in the workplace. For example,  describes how to implement a policy against the overuse of such toiletries.   I would like to know if there exists any single words describing the overuse of fragrances.

Is there a word for someone who puts on too much perfume ? cologne ?


the following problem was discussed in class to provide some intuition on how hypothesis testing works according to a survey conducted on 4,971 randomly sampled Americans, 32% reported getting at least some of their news on youtube. can we conclude that it is not the case that a third of all Americans get at least some of their news on youtube? modelling the binary responses of all individuals as Bernoulli r.v's, we get: $n = 4,971$ ; $X_1, X_2 ,..., X_n\stackrel{iid}\sim Bern(p) $ ; $\bar{X_n} = 0.32$ the formulated binary question is : $H_o: p =1/3$ and $H_1: p \neq 1/3$ so, first we will assume $H_o$ is true, and then try to find evidence against $H_o$, to reject $H_o$( and hence conclude $H_1$) $=>$ if $H_o$ is true then, $p=1/3$, and so by CLT $\sqrt{n}[\frac{\bar{X_n}-0.33}{\sqrt{0.33(1-0.33)}}] \stackrel{n\to \infty}{\to} N(0,1)$ hence, by putting n=4971 and $\bar{X_n} = 0.32$, we get: $\sqrt{n}[\frac{\bar{X_n}-0.33}{\sqrt{0.33(1-0.33)}}] \approx -1.50$ $\because-1.50$ is a plausible realization of a standard normal r.v , hence I did not find evidence against $H_o$. So, I fail to reject $H_o$(and consequently I can not conclude that $H_1$ is true.) in contrast, if I had obtained $-5 \times10^6$ instead of -1.50 , then that would have been evidence against $H_o$( because,$-5 \times10^6$ is not a plausible realization of a std. normal r.v. ) and I would consequently reject $H_o$ and accept $H_1$  my question is that why is it wrong to think in the following manner if it is really the case that $p$ is equal to $1/3$, then $\sqrt{n}[\frac{\bar{X_n}-0.33}{\sqrt{0.33(1-0.33)}}]$ will very likely be a plausible realization of a std. normal r.v, and in this example $\sqrt{n}[\frac{\bar{X_n}-0.33}{\sqrt{0.33(1-0.33)}}] \approx -1.50$, which is a plausible realization of a std. normal r.v, hence I have found evidence in favor of $H_o$ so I should accept $H_o$. also are the following ways of stating the conclusion correct?  there is insufficient evidence to reject the hypothesis that the coin is fair. there is insufficient evidence to conclude that the coin is unfair. it is not unlikely that the coin is fair.

Traditional statistical tests, like the two sample t-test, focus on trying to eliminate the hypothesis that there is no difference between a function of two independent samples. Then, we choose a confidence level and say that if the difference of means is beyond the 95% level, we can reject the null hypothesis. If not, we "can't reject the null hypothesis". This seems to imply that we can't accept it either. Does it mean we're not sure if the null hypothesis is true?   Now, I want to design a test where my hypothesis is that a function of two samples is the same (which is the opposite of traditional statistics tests where the hypothesis is that the two samples are different). So, my null hypothesis becomes that the two samples are different. How should I design such a test? Will it be as simple as saying that if the p-value is lesser than 5% we can accept the hypothesis that there is no significant difference?


I don't know  if my proof is correct. Let be   \begin{eqnarray} H_n &=& 1 + \dfrac{1}{2} + \dfrac{1}{3} +  \dotsb + \dfrac{1}{n} \\ &+& \\ H_n  &=& \dfrac{1}{n} + \dfrac{1}{n-1} + \dfrac{1}{n-2} + \dotsb + 1\\ &\parallel& \\ 2H_n &=& \dfrac{n+1}{n}+ \dfrac{n+1}{2(n-1)} + \dfrac{n+1}{3(n-2)} + \dotsb + \dfrac{n+1}{k(n-k+1)} + \dotsb + \dfrac{n+1}{n} \\ &\parallel& \\ 2H_n &=& (n+1) \sum_{k=1}^n \dfrac{1}{k(n-k+1)} \\ &\parallel& \\ H_n &=& \dfrac{(n+1)}{2} \sum_{k=1}^n \dfrac{1}{k(n-k+1)}\\ \end{eqnarray}  Let's say $b_n = \sum_{k=1}^n \dfrac{1}{k(n-k+1)}$. The sequence $b_n$ is strictly increasing, so only two things are going to happen (this part I'm not sure) :  If $b_n$ is convergent then $\lim\limits_{n \rightarrow \infty}  b_n >0$ and $\lim\limits_{n \rightarrow \infty} H_n = \lim\limits_{n \rightarrow + \infty} \frac{(n+1)}{2} . b_n = + \infty$   If $b_n$ diverges then $\lim\limits_{n \rightarrow \infty} b_n = + \infty$ and $\lim\limits_{n \rightarrow \infty} H_n = \lim\limits_{n \rightarrow + \infty} \frac{(n+1)}{2} . b_n = + \infty$  Therefore, harmonic series is divergent.

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.


Let $E$ be a smooth curve, that is, one dimensional projective variety with dimension one, and Jacobi matrix is non-singular at any point. And suppose that the map $φ$, which sends $E$ to $E'$, is birational. Birational means there are two rational maps on both direction which composites identity. Then, can we say that $E'$ is smooth?

Let $E$ be a elliptic curve that is , genus $1$ smooth curve with base point. And suppose that the map $φ$, which sends $E$ to $E'$, is birational. Birational means there are two rational maps on both direction which composites identity. Then, can we say that $E'$ is smooth?


How to format it so that it can be used in Ubuntu, windows and OSX?  Fat32? I have rull out NTFS as an option.

I'm running a Windows, Mac, Linux tripleboot off of a single SSD, and am now, unsurprisingly, in need of additional storage space in the form of an external hard drive. I want to format my hard drive so that files that can be read and written from all three operating systems.  According to this  from 2009, NTFS can be used on Windows, Mac, and Linux, after installing some drivers.  However, it looks like the , and , so NTFS is no longer a viable solution for Mac OSX.  So the question is, what is the best file system to use today for an external hard drive connected to Windows, Mac, and Linux?  I'm thinking exFAT, since Windows and Mac support it natively, and (Ubuntu) Linux supports it after running sudo apt-get install fuse-exfat.  Are there any limitations I need to consider?


If both of the sentences below are correct, does the position of the adverb change the meaning (slightly), or perhaps the register of the sentence?         The superior man thinks always of virtue.   The superior man always thinks of virtue.

For example:     Ever wish you could share information broadly   Could it be rewritten to:     Ever wish you could broadly share information   Are there any rules for the position of the adverbs.


I'm having the problem, that i'm comparing 3 substrings    a.substring(0,1)   a.substring(1,2)  and  a.substring(2,3)     and I set a = "XXX" and when I print the substrings, they all say X but when i compare them like this:   if(a.substring(0,1) == a.substring(1, 2) & a.substring(1, 2) == a.substring(2, 3)) {      System.out.println("Hello");  }   it does nothing. I checked if I'm using the If clause wrong but when I tested this:   System.out.println(a.substring(0,1) == a.substring(1,2));   It returned false too.  I'm currently using Java in Eclipse and I even defined my a variable manually instead of using my function, I planned on using before, for testing.  I'm happy if anyone could help

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


Let $H$ be a separable Hilbert space and $T:H\to H$ be a bounded operator. Suppose $(e_i)$ is a countable orthonormal basis in $H$. Show that $T$ is compact if and only if $\langle Te_i,e_j\rangle\to 0$ as $i,j\to\infty$.  Note: I could prove that if $T$ is compact then $\langle Te_i,e_j\rangle\to 0$. I am stuck at the converse part.

Suppose $K$ is a linear operator in a separable Hilbert space $H$ such that for any Hilbert basis $\{e_i\}$ of $H$ we have $\lim_{i,j \to \infty} (Ke_i,e_j) = 0$.  Is it true that $K$ is compact?  Thanks in advance for any help.


I'm trying to write a two sided permutation test to test the alternative hypothesis there is a difference in the medians of 2 independent samples. My question is this: am I calculating the p-value correctly? Thanks SO much!  sample1 <- groundwater$West[!is.na(groundwater$West)] sample2 <- groundwater$East ts <- median(sample1) - median(sample2) > ts [1] 0.105 R <- 9999 all <- c(sample1, sample2) k <- 1:length(all) reps <- numeric(R) for (i in 1:R) {     m <- sample(k, size=length(sample1), replace=FALSE)     permsample1 <- all[m]     permsample2 <- all[-m]     reps[i] <- median(permsample1) - median(permsample2) } pvalue <- sum(c(ts, reps) <= ts)/9999 > pvalue [1] 0.9223922

Suppose we have two samples and we wish to determine if they are drawn from the same distribution, the samples A,B being composed of some integers say.  If we test this using a two-sample permutation test, specifically by looking at permutations where the differences in the means of the samples are as extreme as the difference observed: is there any reason to think that we can calculate the two-tailed p-value by looking at one tail and doubling the probability?  This is what it appears to say in my lecture notes, but I don't understand why we could assume that the tails are symmetrical (or why it doesn't entail that assumption). Explanations were not forthcoming.


We can't observe any matter inside black hole, why do we still see gravitational pull from that matter?  It is obvious that you need a gravitation well to have a black hole, but it's not obvious why the gravitational pull will still be there once event horizon is formed and black hole contents (singularity?) are no longer observable.  If an event horizon of a black hole does indeed have innate gravitational pull, does the same apply to event horizon of observable universe? There's matter behind observable universe event horizon, do we get pulled towards it? If not, why not? If yes, how strong is this effect?

My understanding is that light can not escape from within a black hole (within the event horizon).  I've also heard that information cannot propagate faster than the speed of light.  It would seem to me that the gravitational attraction caused by a black hole carries information about the amount of mass within the black hole.  So, how does this information escape?  Looking at it from a particle point of view: do the gravitons (should they exist) travel faster than the photons?


I have a serious problem. I own SandDisk's Cruzer Glide 16GB model and for some reason when I connect it to windows powered computers it recognizes it as a "Local Drive"/Hard Drive and not as a portable storage device AKA Flash Drive but, when I connect it to Linux based OS it shows up as a Flash Drive.  I've searched the all Internet for answer but I found nothing.  Can someone help me?

There's a utility called the Lexar BootIt utility that flips the Removable Media Bit on certain USB flash drives.  I want to flip the bit on my USB flash drive (it's supported) but really am not too comfortable downloading this utility from random file-sharing sites, nor do I see a license anywhere for it.  The end goal is to recommend a tool for corporate customers so they may flip the bits themselves.  Are there any free or open alternatives to this tool?


I'm traveling to Amsterdam and I have a valid Schengen Multi-Entry Visa. I have a layover in Moscow for 13 Hours and I want to explore the city during that time. Can anyone guide me what kind of Visa should I apply for whether a Transit Visa would be enough or I need to apply for Tourist Visa to VFS-Russia? I am an Indian Citizen. Thank you in advance for your assistance.

On June 29th 2015, I will be traveling for the first time to Italy from USA. I will have a 10 hour layover in Moscow Russia. My question is, do I need a visa to visit the city?


Attempting to revert a Chromebox with Windows 10 on it back to ChromeOS, using Ubuntu on a live boot to run a custom script to update the firmware. Basically, in order to run this command:  cd ~; curl -L -O ; sudo bash firmware-util.sh  I have to have curl installed, so I try to install curl from the terminal, but this is the error message I get back:  ubuntu@ubuntu:~$ sudo apt install curl Reading package lists... Done Building dependency tree        Reading state information... Done The following additional packages will be installed:  libcurl4 The following NEW packages will be installed:  curl libcurl4 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 373 kB of archives. After this operation, 1036 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Ign:1 http://security.ubuntu.com/ubuntu bionic-security/main amd64 libcurl4 amd64 7.58.0-2ubuntu3.6 Err:1 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 libcurl4 amd64 7.58.0-2ubuntu3.6 404  Not Found [IP: 91.189.88.24 80] Ign:2 http://security.ubuntu.com/ubuntu bionic-security/main amd64 curl amd64 7.58.0-2ubuntu3.6 Err:2 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 curl amd64 7.58.0-2ubuntu3.6 404  Not Found [IP: 91.189.88.24 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/c/curl/libcurl4_7.58.0-2ubuntu3.6_amd64.deb  404  Not Found [IP: 91.189.88.24 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/c/curl/curl_7.58.0-2ubuntu3.6_amd64.deb  404  Not Found [IP: 91.189.88.24 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?   What could be causing this issue and what can I do to fix it so that I can run the first command?   I'm very new to linux, Ubuntu, and this site as a whole, so if I've formatted anything wrong or my understanding of something is obviously wrong, please let me know.

I have four build servers that were all setup the same originally.  We've been using them to cross-compile C projects.  I'm trying to update them compile C++ natively as well.  Two of the servers I was able to install g++ on with no problem, the other two though give me 404 errors.  $ sudo apt-get install g++ Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed:   g++-7 libstdc++-7-dev Suggested packages:   g++-multilib g++-7-multilib gcc-7-doc libstdc++6-7-dbg libstdc++-7-doc The following NEW packages will be installed:   g++ g++-7 libstdc++-7-dev 0 upgraded, 3 newly installed, 0 to remove and 5 not upgraded. Need to get 9,043 kB of archives. After this operation, 40.7 MB of additional disk space will be used. Do you want to continue? [Y/n] y Err:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libstdc++-7-dev amd64 7.4.0-1ubuntu1~18.04   404  Not Found [IP: 91.189.88.149 80] Err:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++-7 amd64 7.4.0-1ubuntu1~18.04   404  Not Found [IP: 91.189.88.149 80] Err:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++ amd64 4:7.4.0-1ubuntu2.2   404  Not Found [IP: 91.189.88.149 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-7/libstdc++-7-dev_7.4.0-1ubuntu1~18.04_amd64.deb  404  Not Found [IP: 91.189.88.149 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-7/g++-7_7.4.0-1ubuntu1~18.04_amd64.deb  404  Not Found [IP: 91.189.88.149 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-defaults/g++_7.4.0-1ubuntu2.2_amd64.deb  404  Not Found [IP: 91.189.88.149 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?   I have confirmed that all four report the same version info.  $ uname -a Linux build_server4 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:    Ubuntu 18.04.2 LTS Release:        18.04 Codename:       bionic


I have a scanner that can "save to folder" only with FTP or CIFS protocols.  I managed to set it up with CIFS to save the file to a shared folder on a Mac, however although the folder has read/write permissions to all users, when the file is written to the folder it only has read/write permissions to the user that created it (scan). This means even the local user can't open the file unless we change the permissions of the file. Applying the permissions to "enclosed items" solves the issue until a new scan is made. I don't know how to create a cronjob so that permissions are changed every minute. Would anyone be able to help me with this?  Thanks! Miguel

I shared a folder of pictures on my OSX 10.6 MacBook with my wife, who accesses it from her 10.5 MacBook.  I created an account for her and gave her read/write permissions on the folder (via the Get Info).  However, when Image Capture dumps new images into the folder, they aren't readable or writeable by her.  I have to click 'Apply To Enclosed Items' for her to get access to them.  I want any file created or copied into that folder to be automatically readable and writeable by her.  Is there a way to set this up?  Thanks!


it's my first experience with C#, I'm trying to make a progress bar that increases each second on a value (a part of program, it receives current value from another object and sets it to the progress bar).  My simplified object source:  public delegate void LoadingProgressChanged(int percents); public event LoadingProgressChanged loadingProgressChanged;  public void Enable() {     loadingTimer = new Timer(1000);     loadingTimer.Elapsed += new ElapsedEventHandler(IncreaseLoadingPercentage);     loadingTimer.Start(); }  private void IncreaseLoadingPercentage(object source, EventArgs e) {     loadedPercents += getLoadingPercentsPerSecond();     loadingProgressChanged(loadedPercents); }   Form sources: In constructor  router.loadingProgressChanged += new AbstractRouter.LoadingProgressChanged(percentageChanged);   Body of percentageChanged  public void percentageChanged(int percs) {     progressBar1.Value = percs; }   And I get error     An exception of type 'System.InvalidOperationException' occurred in   System.Windows.Forms.dll but was not handled in user code      Additional information: Cross-thread operation not valid: Control   'progressBar1' accessed from a thread other than the thread it was   created on.      If there is a handler for this exception, the program may be safely   continued.   I understand why it happens: it seems that percentageChanged form is called in timer thread. But how to implement it correctly? Thanks!

I have a scenario. (Windows Forms, C#, .NET)   There is a main form which hosts some user control. The user control does some heavy data operation, such that if I directly call the UserControl_Load method the UI become nonresponsive for the duration for load method execution. To overcome this I load data on different thread (trying to change existing code as little as I can)   I used a background worker thread which will be loading the data and when done will notify the application that it has done its work.   Now came a real problem. All the UI (main form and its child usercontrols) was created on the primary main thread. In the LOAD method of the usercontrol I'm fetching data based on the values of some control (like textbox) on userControl.    The pseudocode would look like this:  CODE 1  UserContrl1_LoadDataMethod() {     if (textbox1.text == "MyName") // This gives exception     {         //Load data corresponding to "MyName".         //Populate a globale variable List<string> which will be binded to grid at some later stage.     } }   The Exception it gave was     Cross-thread operation not valid: Control accessed from a thread other than the thread it was created on.   To know more about this I did some googling and a suggestion came up like using the following code  CODE 2  UserContrl1_LoadDataMethod() {     if (InvokeRequired) // Line #1     {         this.Invoke(new MethodInvoker(UserContrl1_LoadDataMethod));         return;     }      if (textbox1.text == "MyName") // Now it wont give an exception     {     //Load data correspondin to "MyName"         //Populate a globale variable List<string> which will be binded to grid at some later stage     } }   BUT BUT BUT... it seems I'm back to square one. The Application again  become nonresponsive. It seems to be due to the execution of line #1 if condition. The loading task is again done by the parent thread and not the third that I spawned.  I don't know whether I perceived this right or wrong. I'm new to threading.  How do I resolve this and also what is the effect of execution of Line#1 if block?  The situation is this: I want to load data into a global variable based on the value of a control. I don't want to change the value of a control from the child thread. I'm not going to do it ever from a child thread.   So only accessing the value so that the corresponding data can be fetched from the database.