Galaxy S3 Providing Audible Voicemail Notifications and Alarm reads the time out loud

My Galaxy S3 just started notifying me of voicemails by stating out loud that I had a new voicemail. In addition, the alarm now states the time out loud as it plays the normal alarm music.   I have checked and the Driving Mode is turned OFF and the alarm is set for melody.  I receive no voice alerts for new emails, texts or incoming calls.  Please advise.


I like to make homemade butter from cream using a churn, but it's super super stiff and I can't spread it on food without ripping it apart. Is there something I can add to make it softer?  I tried leaving it out in a butter try, but it starts to grow mold in a day or two.


Wireless connection does not work with AC7265 adapter

The wireless connection doesn't work on my laptop with the AC7265 adapter, I am on Ubuntu 18.04.. How do I fix it?


Is there any way to prevent a Mac from creating dot underscore files?

At work we're letting one of our very tech savvy clients actually help out a little with a few development projects specific to him. However, he uses his own personal Macbook, and as he edits files on our (Windows) networks, his Macbook always creates a bunch of unnecessary meta files that we end up deleting later.  For instance, it creates a file called .DS_Store in any directory he opens, as well as "dot underscore" files for each file he edits. So for instance, if he's editing a file called "Main.php", his Macbook will create another file called "._Main.php".  I know  to , but none about how to prevent creation of these hidden files prefixed with dot underscore.  Is there any way to turn that off on Macs? Any way to prevent it from creating those files in the first place?


I have been reading and watching videos about this subject for a while now.  I just can not seem to grasp the idea.  Let's say we have two clocks.  I leave one at home and keep one in my pocket. Then, I started running at speed that is close to speed of light to my school then come back to my house.  If I compare those two clocks how would they differ in time?


How can I identify my bikes make through the serial number?

I can't identify my bike so I was hoping someone could help me... The serial number is AX365316


RGB Color equivalent in ubuntu terminal prefences menu

What is the equivallent of RGB color in the Ubuntu terminal preferences menu?   The code is something like #F3532525 and i have a RGB color code that i want to set as my default color in my terminal. How can i do that?


I am not a fraud, I have no acquaintances here whatsoever. I love reading questions and answers here and upvoting what I feel is cool. Sometimes I'm in awe of some answers and questions posted here. So I do see into users' profile and open their top questions and answers, and if I like them I upvote.   Number of votes:  Mostly up to 5 questions or answers (may be at best 10).   Mode:  When upvoting (or downvoting) in the opened links, I do not restrict my votes just to that user, but to all good answers and questions I find in that link. Also I do not open the profiles of someone I remember I had visited once.   Am I susceptible to be caught for serial voting? Is reputation gained from my votes deducted from his profile in this scenario? I just don't want my votes to be wasted, hence asking.. I went through  two  but hadn't got enough clarification.


How to resize SD card using terminal? and create a new partition on it?

I don't have SD card reader for my computer, so maybe I could do it directly from termux instead. How to resize SD card without losing data? And make new EXT4 partition. (parted) p: Disk /dev/block/mmcblk1: 63.9GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags:  Number  Start   End     Size    Type     File system  Flags  1      1049kB  63.9GB  63.9GB  primary               lba


Does it make sense to run DBSCAN on the output from t-SNE?

Performed time series clustering where I used DTW to generate a distance matrix.  The distance matrix was then given as an input to t-SNE where the two-dimensional results from t-SNE were used for clustering with DBSCAN.  Does it make sense?


Breaks Long title in chapter headers into 2 lines

I used book class to write my thesis as follows  \documentclass [12pt,oneside,final]{book}   The title of some chapters are long so it reaches the page number as shown in picture.  how I can breaks Long titles of the chapter in the headers into 2 lines so it will look better  any idea


I am a UK state pensioner (dual citizenship) now living in Canada returning for a 3 week visit to UK - will NHS cover me?

I am a UK state pensioner living in canada with Dual citizenship. will the NHS cover me during my 3 week trip to the UK starting 22 June? I will travel with my Canadian passport


Can I use an undamaged US immigration visa from a passport with a very slightly water damaged cover page photo?

I realize that I should replace my passport in the case of a slightly water marked ID-page (the top left 1/5 of the picture has slight discoleration). I have just been issued my US immigration visa as a separate page in my passport. If I get a new passport, can I still use the immigration visa from my old passport? (The visa page is 100% intact with no water damage).


Will the Android app be receiving any future updates?

Will there be a new version of the Android app? It's been without any update for a long time and it doesn't seem to be working really well.


Send from Gmail with another email address as the Reply-to or From address

I have a domain registered, but it isn't attached to a hosting package or e-mail account. I will do soon, but not at the moment. Right now, I would like to set up an e-mail forwarding scenario. So, I could have the email me@example.com forward to my@gmail.com. I know this much is possible.  I would like the Gmail account to keep the forwarded e-mail address when replying. So when I reply to emails sent to Gmail through my e-mail forwarding, I would like any reply to say it came from me@example.com instead of my@gmail.com.  How would I go about it?


How to install windows 10 alongside ubuntu 16.04 when the hard disk is ex4 formatted?

I do not want to loose any data. My data is very important. I have Ubuntu 16.04 installed on my Lenovo G50-70 laptop and all the partitions are formatted in ex4. Now I have to dual boot with Windows 10 alongside Ubuntu but the internet says that I have to format my ex4 partitions to NTFS and then only Windows will recognize my partitions. Can I solve this issue without loosing any data?


Prove that:  for  any natural number $n\ge10$,  $$2^n\ge n^3.$$   How can I prove by induction if $n\ge10$ and I must do that $2^n\ge n^3$?    I stop on this step: $$2^{n+1}\ge n^3+3n^2+3n+1.$$  Here's the question I'm trying to prove. I'm just not certain how I should approach the inductive / constructor step. I proved  induction wrote $n+1$ instead of $n$.    I think I have everything right until the induction step. But I don’t know what I should do next step, because I had never solve inequality  before I began ask questions on this site.


Dimension of the vector space $\mathbb{Q}(\sqrt{3}, \sqrt{5}, \sqrt{11})$ over $\mathbb{Q}$

Let  $\mathbb{Q}(\sqrt{3}, \sqrt{5}, \sqrt{11})$ be the smallest field that contains all rational numbers, $\sqrt{3}, \sqrt{5}$ and $\sqrt{11}$.   Consider this field to be a vector space over $\mathbb{Q}$. Find the dimension  of this vector space.   My attempt is to demonstrate $\mathbb{Q}(\sqrt{3}, \sqrt{5}, \sqrt{11})$ as $\mathbb{Q}(\sqrt{3}, \sqrt{5})(\sqrt{11})$ and then apply the formula $[A:B][B:C] = [A:C]$ for fields $A$, $B$ and $C$ sastifying $C \le B \le A$ (the notation $[A;B]$ means the dimension of $A$ over $B$)  I got this  $$[\mathbb{Q}(\sqrt{3}, \sqrt{5})(\sqrt{11}) : \mathbb{Q}] = [\mathbb{Q}(\sqrt{3} + \sqrt{5})(\sqrt{11}) : \mathbb{Q}] \\= [\mathbb{Q}(\sqrt{3} + \sqrt{5})(\sqrt{11}) : \mathbb{Q}(\sqrt{3} + \sqrt{5})].[\mathbb{Q}(\sqrt{3} + \sqrt{5}): \mathbb{Q}] $$ The latter of the product appears to be $4$, as $\sqrt{3}  + \sqrt{5}$ has a minimal polynomial of degree $4$ on $\mathbb{Q}[x]$. The other, however, I'm not sure how to determine its value.  Currently I'm stuck and have to way to proceed.  Please give me a hint. Thank you.


Where is wine located on a fresh Ubuntu installation?

Well, I've installed Ubuntu & so far I love it. But is it just me or did Wine not come with the installation as cited   I've used the previous version on the same machine with it included, up & running great. I understand it's in the software center & I can just download it from there. But, where is it on my newly installed OS? No searches of my system have found it?


I have ubuntu20.04 lts iso file downloaded from ubuntu website. Can you please guide to convert the iso file into qcow2 file. For instance I need the file ubuntu.qcow2 to be made from ubuntu.iso


I ran uname -a but I still have no clue what distro this is. The result:   Linux (none) 3.18.0 #4 Sun May 29 03:28:04 CEST 2016 i686 GNU/Linux  All I can get from that is that it has a i686 processor, and runs the Linux 3.18.0 kernel.  Any help is appreciated, and thank you all in advance!


Geometry/Trigonometry Determine angle in a Triangle

Triangle ABC is isosceles with BC as base, AB=AC and Angle A=20 degrees. Points D and E lie on sides AB and AC respectively, such that D lies between A and B, E lies between A and C, angle BCD=50 degrees, angle CBE=60 degrees. Determine Angle ADE.  Edit: I have tried to solve this question with simple additions/subtractions of angles with and without additional geometric constructions to achieve the goal but in vain. Is there a solution that does not involve trigonometry?


Would anyone mind explaining me how proof by contradiction works? I have a very vague understanding of it so I always avoid using it when it comes to discrete math. From what I've seen its something that is extremely useful when it comes to proofs.   From what I understand proof by contradiction is the following. Given an example I have to prove it to be true. I take the complete opposite from it and prove it to be false(?), from then on I can assume that the original example is true(?). If anyone would mind correcting my understanding, please do. Also, what would be a good step-by-step guide I can have in my mind when using it?


How to get the directory path of a script in the shebang line

Currently I can run a script only from the containing directory since the shebang line includes a path relative to the current directory  #!/usr/bin/env xcrun swift -F ./Rome/ -framework Swiftline   How is it possible to modify the "." to an absolute path?  ./Rome/ to something that will work from any directory? I've tried the following:  $0/Rome/ doesn't work  dirname $0 /Rome/ doesn't work  $1/Rome/ doesn't work


How can heaters using the same type of fuel be more or less efficient than each other?

I can understand there being a cost difference if you used gas vs electricity to heat your home.  But for heaters using the same energy source, how can they be more or less efficient than each other?  I always thought that heat is generally a product of inefficiency. A halogen lightbulb is wasteful because for it to be bright, it radiates a lot of heat.  But I often hear the claim that cheap heaters will consume more energy. For example, this website () claims "The cheaper the electric heater, the less efficient it's likely to be”.   This is not the only place I’ve heard this. People often recommend certain types of heaters or certain brands of heaters to save on heating costs.  So if this is true, how is this inefficency caused and where is the energy lost to?


"How do we call (something) in English?"

Is it really wrong to say "How do we call something in English?" instead of "What do we call something in English?"? The former's not unusual in Philippine English at all (probably it's because of the influence of Spanish, which was the national language for almost 400 years). Indeed, it's quite interesting that in many European languages, they tend to say "how". Anyone who can explain this? Thanks a lot.


Showing that $f$ is linear function if $\forall z \in \mathbb{C}$, $|f(z)| \leq 1 + |z|$.

Let $f$ be an entire function that satisfies $|f(z)| \leq 1 + |z|$ for all $z\in \mathbb{C}$. Show that $f(z) = az +b$ for fixed complex numbers $a,b$.    The hint tells us to try and use Cauchy's Integral Formula on an arbitrary circle.    This is my attempt: Consider an arbitrary large circle with centre $0$ and let $\Upsilon$ be the contour around this circle.    Then $$\int_{\Upsilon} \frac{f(z)}{z^{n+1}} \mathrm{d}z = \frac{2\pi i}{n!}f^{(n)}(0).$$    Note that $$\int_{\Upsilon}\frac{f(z)}{z^{n+1}} \leq \int_{\Upsilon}\left|\frac{f(z)}{z^{n+1}} \right|\leq \int_{\Upsilon} \frac{1}{|z^{n+1}|} + \frac{1}{|z|^n}$$ and the right hand side is $0$ by Cauchy's Integral Formula. I'm not sure if the first equality is valid, and not sure where to go from here.


Why is $K^{\ast n}$ contained in the norm group?

In section 5, $K$ is a local $p$-adic field containing the $n$th roots of unity, and $L = K(\sqrt[n]{x} : x \in K^{\ast})$.  Kummer theory tells us that $[L : K] = [K^{\ast} : K^{\ast n}]$, and local class field theory tells us that $[L : K] = [K^{\ast} : N_{L/K}(L^{\ast})]$.  The author concludes that $N_{L/K}(L^{\ast}) = K^{\ast n}$, but I don't see how one of these things is contained in the other.  Why are $n$th powers norms from $L$, for example?


How to add the real hostname in the beginning of Linux cli command

we have redhat servers - 7.2  the following output from sar print all relevant details as the following  sar -p -d 1 1   07:16:35 PM       DEV       tps  rd_sec/s  wr_sec/s  avgrq-sz  avgqu-sz     await     svctm     %util 07:16:36 PM       sda     13.00      0.00    120.00      9.23      0.04      3.08      1.38      1.80 07:16:36 PM vg_livecd-lv_root     15.00      0.00    120.00      8.00      0.05      3.07      1.27      1.90 07:16:36 PM vg_livecd-lv_swap      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00 07:16:36 PM vg_livecd-lv_home      0.00      0.00      0.00      0.00      0.00      0.00    we want now to add the hostname of the machine in the beginning of each line   first we found the hostname   hostname=` hostname `  echo $hostname  server_mng14   expected results   sar -p -d 1 1   server_mng14 07:16:35 PM       DEV       tps  rd_sec/s  wr_sec/s  avgrq-sz  avgqu-sz     await     svctm     %util server_mng14 07:16:36 PM       sda     13.00      0.00    120.00      9.23      0.04      3.08      1.38      1.80 server_mng14 07:16:36 PM vg_livecd-lv_root     15.00      0.00    120.00      8.00      0.05      3.07      1.27      1.90 server_mng14 07:16:36 PM vg_livecd-lv_swap      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00 server_mng14 07:16:36 PM vg_livecd-lv_home      0.00      0.00      0.00      0.00      0.00      0.00    what we need to pipe after - sar -p -d 1 1 in order to get the hostname of the beginning of each line?


Let $W$ be a given subspace of $V$ find the orthogonal complement $W^{\perp}$

Let $W$ be a given subspace of $V$. Find the basis of orthogonal complement $W^{\perp}$.  If $V=R^5$ and $W = lin\lbrace(2,2,-1,0,1),(-1,-1,2,-3,1),(1,1,-2,0,1),(0,0,1,1,1)\rbrace$.  I assume that $W^{\perp}$ will 1 dimensional and I have to find vector that will be orthogonal to all of these four vectors from basis W, but how to find it? Is there a way to do it with Gram-Schmidt method or maybe there is smarter way?


I'm trying to automate a nightly backup with the following cron jobs (IPs and password redacted. of course):  [root@katexic ktxc]# crontab -l 30 3 * * * /bin/tar -czf /backup/ktxc/ktxc-`date '+%m%d%y'`.tar.gz /var/www/ktxc.to;scp -i /root/.ssh/id_rsa /backup/ktxc/ktxc-`date '+%m%d%y'`.tar.gz backup@111.22.33.44:/home/backup/backups 45 3 * * * /bin/tar -czf /backup/katexic/katexic-`date '+%m%d%y'`.tar.gz /var/www/katexic.com;scp -i /root/.ssh/id_rsa /backup/katexic/katexic-`date '+%m%d%y'`.tar.gz backup@111.22.33.44:/home/backup/backups 00 4 * * * /usr/bin/mysqldump -u ktxc_yourls -pxxxpasswordxxx ktxc_yourls | gzip > /backup/ktxc/ktxc-mysql-`date +\%m\%d\%y`.sql.gz;scp -i /root/.ssh/id_rsa /backup/ktxc/ktxc-mysql-`date '+%m%d%y'`.sql.gz backup@111.22.33.44:/home/backup/backups   These work fine from the command line, but not when the cron daemon tries to run them. In the /var/log/cron I see messages like:  Jun 10 03:30:01 katexic CROND[7437]: (root) CMD (/bin/tar -czf /backup/ktxc/ktxc-`date '+) Jun 10 03:45:01 katexic CROND[7445]: (root) CMD (/bin/tar -czf /backup/katexic/katexic-`date '+)   I assume that there's some problem with the + sign in my commands? How do I fix these so they run properly as cron jobs?  This isn't solved by the troubleshooting in  because that doesn't, afaict, cover special characters and the like and the error in the log is the same as cron sends to my email.


Can I totaly install Ubuntu 64bit on my computer?

I run the lscpu command on Ubuntu and this is the result:  Architecture:          i686 CPU op-mode(s):        32-bit, 64-bit Byte Order:            Little Endian CPU(s):                2 On-line CPU(s) list:   0,1 Thread(s) per core:    1 Core(s) per socket:    2 Socket(s):             1 Vendor ID:             GenuineIntel CPU family:            6 Model:                 23 Stepping:              10 CPU MHz:               1600.000 BogoMIPS:              5599.80 Virtualization:        VT-x L1d cache:             32K L1i cache:             32K L2 cache:              3072K   I have bought my computer about 5 years ago. All these years I thought it can just support 32-bits. Now I found out CPU op-mode(s): 32-bit, 64-bit means that my CPU also supports 64-bits.  I want to know if I can totally install a 64-bit OS on my computer? Is there any other thing to know? Does my computer totally meet all requirements to have 64-bit OS installed?


I have a 64-core AMD server running CEntOS on which I was running a long job. In the midst of the output, I see these lines. It appears to be a memory error. How severe is this and what exactly does it indicate?  Message from syslogd@heracles at Nov  7 21:00:02 ...  kernel:[Hardware Error]: MC4_STATUS[Over|CE|MiscV|-|AddrV|-|-|CECC]: 0xdc10410040080a13      Message from syslogd@heracles at Nov  7 21:00:02 ...  kernel:[Hardware Error]: Northbridge Error (node 4): DRAM ECC error detected on the NB.  Message from syslogd@heracles at Nov  7 21:00:02 ...  kernel:[Hardware Error]: cache level: L3/GEN, mem/io: MEM, mem-tx: RD, part-proc: RES (no timeout)


Enough power for 4 12V 0.95A fans at the same time

I am currently using 1 12V 0.95A fan to circulate air in my humidor (coolerator) and using an AC adapter rated class 2 120V 60/60 with an output of 9V 300mA. Can I add 3 more fans with the same power source or do I need to increase power?  2 days later:  I have 4, of the pre stated fans connected to the aforementioned source.  They surge but do not start without spinning them manually and then run very slow.  What do I need to power them up?


Tree complexity in boosted regression trees

In boosting regress trees, there are many tuning parameters and I am interested in the tree complexity also called the interaction depth while using the R package GBM:   I want to understand more about the tree complexity. I work in the agriculture domain where there are interactions between different climate variables resulting in yield. For e.g. effect of drought gets intensified if temperature is high causing further reduction in crop yield which to me seems there is two way interaction.   When running the gbm package in R, does the agrument tree.complexity be set to 2 to model two way interaction? What happens if I change the tree.complexity to 3?  EDIT I am just trying to understand whether specifying tree complexity = 2 is same as specifying an interaction term like this lm(y ~ x1 + x2 + x1:x2) in R.


Is Legacy BIOS the interface itself or just a technology?

I was wondering if Legacy BIOS is the blue interface, but then why is EFI an interface (UEFI) and a boot mode in one while BIOS is the interface and Legacy is the boot mode (separate things)? Is (U)EFI working as a boot mode itself and as an interface?


adding photo to the pop up field in qgis2web?

I want to add charts on my web map in a way that when i click on the point the chart appears in the pop up field.      Do i have to add it as an image in the attribute?  Can i do that when the pictures are in my hard drive and not in a html form?


How to draw toroidal grid diagrams in TikZ

I am trying to turn a planar grid diagram into a 3D toroidal graph by identifying the top edge with the bottom and the left with the right, i.e:    So the grid below on the left would be transformed into a right-hand trefoil knot on a torus:     I would like to draw a torus which looks like this but with the grid structure (including the grid itself, the o's, the x's, and the red lines). Could I please have some help. Many thanks in advance!   Edit: I have created a 'torus' out of A4 for illustration - would like the x's and o's to be placed in certain unit grids and the red lines to be straight like in the original grid diagram:


Existence of analytic function from A to B .

Does there exists a non constant analytic map $f:A\to B$ . Where $A=\{z\in \mathbb C~:~ |z|\neq 0\}$ and $B=\{z \in \mathbb C ~:~ |z|>1\}$. I am unable to construct one


Adding a CMS to an existing Magento shop

I am working on a project for 3 niche stores built on magento (using magento's multi-store function)  that each get roughly 50k unique visitors a day.  The sites don't currently have a blog or forum or any social networking aspects.    Would like to add a cms to each site that can be centrally run and would like it to take over the front end content from Magento.  Also would like it to maintain an online blog/publication of sorts with videos, articles, and the like with privileges to edit the content given to a dozen or so people with different privileges.  Want to add a forum to each site that is fairly robust and to possibly add some social networking aspects down the road, so extandability and available plugins/mods in each cms is important.  Other than shared login between the forums,blog/publication and store, would like to be able to integrate some content from the forums and blog/publication into the store as well.  After researching this a bit, I am inclined towards Drupal, but I haven't found any modules to integrate it with Magento.  Also, since the blog content will be done by about a dozen nontechnical people, I want something that is very easy to work with.  Lastly, since the site gets a good amount of traffic, speed and security are very important.  What CMS would you recommend integrating in this context?  Deciding between Drupal, Wordpress and ModX.  Also Plone as well.  Thanks.


How to responsibly direct users with serious mental health issues?

I am not talking about people with borderline personality or spectrum disorder issues (like rudeness), rather behaviours like paranoia and depression.    A recent question on Ask Ubuntu highlighted that I just don't know how to safely deal with some personality traits. It was a long and extremely paranoid ranty-question from the sort of person who knew just enough to be dangerous, who had convinced themselves they were under surveillance and being hacked.  The post was well written English and clearly by somebody with an education, but it fervourously flitted from topic to topic. It wasn't the product of a settled mind.  There appear to be only a few direct actions in a situation like that:   Follow them down the rabbit hole and try to answer their question at face value. Call out their paranoia and answer what you think is most likely. Close is as unintelligible.   I'm not a doctor but all of these seem to have negative repercussions that may escalate their issues into further delusions, self-harm or worse.  I do understand we have limits, but is there a good way to advise somebody to seek professional help? Ideally without telling them they're a paranoid nutbag, even if the shoe fits.    This is a sincere post. . As a moderator I'd like to think we're doing the best for all our users. I'd like to be better prepared.


Allow unsubscribing from moderator elections

I get notifications of elections from every single community I've joined, even if it is just for a single question and I have no interest in the community whatsoever. I know that they don't come super often, but it is still annoying, since I see the badge on my inbox and think "Ooh, a new message, I wonder what it is?", but then disappointment that it was just a reminder for an election I'm not at all interested in.


How should I calculate $\lim_{n\rightarrow \infty} \frac{1^n+2^n+3^n+...+n^n}{n^n}$

How should I calculate the below limit  $$\lim_{n\rightarrow \infty} \frac{1^n+2^n+3^n+...+n^n}{n^n}$$ I have no idea where to start from.


I would like to make this tikz picture fancier.    First of all, is it possible to smooth the junction between the different parts of the graph, for istance between the half circle and the line?  Then, is it possible to color the part of the graph under the curve, i.e. between the curve and the x-axis? ONLY THIS SECOND PART WAS ALREADY ANSWERED IN A PREVIOUS QUESTION.  Here is my code until now:  \documentclass[a4paper]{article} \usepackage[english]{babel} \usepackage{tikz} \usepackage[]{xcolor}  \begin{document}  \begin{tikzpicture} %\draw [help lines] (-10,0) grid [step=3] (10,10);  \draw plot [domain=0:3] (\x, {(0.7*\x)^2}); \draw plot [domain=-3:0] (\x, {(0.7*\x)^2});  \draw (4,4.41) arc (0:180:0.5); \draw (-3,4.41) arc (0:180:0.5);  \draw plot [domain=4:10] (\x, 4.41); \draw plot [domain=-4:-10] (\x, 4.41);  \draw [->, line width=5pt] (0,-2) -- (0,7); \draw [->, line width=5pt] (-10,0) -- (10,0);  \draw [inner color=blue!20, outer color= blue!50!black] (0,0.5) circle (0.5);  \end{tikzpicture} \end{document}


Jon Skeet's achievements seem to be messing with the layout in the top users page of some tags. For example, in the Android tag:    His badges and reputation push the line forward enough for it to hit another user's profile (in this case mine, but not the point here).  I understand that Jon is probably the only user who can cause this effect right now, but could we please have the layout widened a little bit?


I found this documentation:   Under "Face Selection Mode" it says:     Face Selection Mode:      ...        Area   Selects all faces that have a similar area as those already selected.   But I can't figure out where in blender this option is hiding?


How to make a test on the current page number?

How could I test whether some label is on the current page, or on the previous or next one. Typically I would like to build a macro \onthispage{label}{text1}{text2} which would print text1 if the page and the text are on the same page and text2 otherwise. This could be useful when one wants to insert something like this into the TeX source:     see the figure \ref{figure}\onthispage{figure}{above}{page \pageref{figure}}.   An extension would be to have this kind of command to compare the current page to \pageref{label} and print this page, previous page,  next page or page \pageref{label} accordingly.   I've tried a dirty trick with a definition of a extra label inside the command \onthispage but this fails. Any ideas ?


Middle clicking a link on chrome sometimes also switches the current tab to the new one

In chrome, most of the time, when i middle click on a link (text or image), it opens a new tab and the current tab does not change. This is the expected behaviour.  However, some websites have links (i'd say 5%) that also switches the current tab to the new one. For example: on this , the name of the players in the main list have the problem.  By looking at the source, i didn't find anything anormal (the link is a standard html tag). But if i disable javascript, i have not the problem. I looked at the source, and didn't find the problematic script... Note also that if i open the tab with right click > open link in new tab, there is no problem.  I'd like to know if you find the reason of the problem and how i can fix it. I am running chrome 10.0.648.204 on windows 7 x64.  EDIT: the website above does not exhibit the behavior anymore, but I sill have the problem sometimes on other sites (which I don't remember)


Suppose you fit a linear regression model on some data with 10 variables. The F-statistic shows that 3 of them are significant (p < 0.05) , 2 are within trend (0.05 < p < 0.10), and the other 5 are p > 0.10. Is it OK to throw out the other 5 (p > 0.10) and retrain another model? Perhaps this time the 2 within trend will become significant.


I wanna play FTB with my friend and I has downloaded the FTB Monster Modpack Server from the FTB website. Do both me and my friend need to have Forge and the Monster Modpack mods in the .minecraft\mods folder to make the mods work on the server?


'tikz' style arrow tips missing when using tikz-cd crossing over

I have been using tikz-cd to create commutative diagrams. I just upgraded to version 0.9b from 0.3c and now there is a problem with the arrow tips. I like to use the 'tikz' solid tips. The following diagram is fine:  \documentclass[11pt]{article}  \usepackage{tikz-cd} \usetikzlibrary{arrows}  \title{} \date{}   \tikzset{    commutative diagrams/.cd,    diagrams={>=latex}}  \begin{document} \begin{tikzcd}[row sep=scriptsize, column sep=scriptsize]  & f^* E_V \arrow[dl] \arrow[rr] \arrow[dd] & & E_V \arrow[dl] \arrow[dd] \\   f^* E \arrow[rr, crossing over] \arrow[dd] & & E \\   & U \arrow[dl] \arrow[rr] & & V \arrow[dl] \\   M \arrow[rr] & & N \arrow[uu, crossing over, leftarrow]\\ \end{tikzcd} \end{document}   and gives the following output:    However, if I change to solid tips (which take up less room and look better on the rather larger diagram I am really building) by adding an arrow style specification to the tikzset:  \documentclass[11pt]{article}  \usepackage{tikz-cd} \usetikzlibrary{arrows}  \title{} \date{}   \tikzset{    commutative diagrams/.cd,    arrow style=tikz,    diagrams={>=latex}}  \begin{document} \begin{tikzcd}[row sep=scriptsize, column sep=scriptsize]  & f^* E_V \arrow[dl] \arrow[rr] \arrow[dd] & & E_V \arrow[dl] \arrow[dd] \\   f^* E \arrow[rr, crossing over] \arrow[dd] & & E \\   & U \arrow[dl] \arrow[rr] & & V \arrow[dl] \\   M \arrow[rr] & & N \arrow[uu, crossing over, leftarrow]\\ \end{tikzcd} \end{document}   I now get the following output in which the tips are missing from all lines that use the 'crossing over' feature PLUS the two diagonals from U and V and the horizontal from M to N:    This behaviour was not exhibited in v.0.3c. Any ideas how to fix it?  Thank you.


I am preparing a talk for an advanced graduate course in mathematics, where I am supposed to use slides (the Beamer type, not handwritten).  Since it's the first time I'm giving a presentation talk as opposed to a blackboard talk, I was wondering whether any of you have some advice on preparing a good presentation, and presenting it (in particular, if you come from a scientific background).  Thanks!


When there are two buttons, how do i properly indicate that one is active whitout being ambiguous?

When you have a list with 3 or more buttons, its  essencially easy to show the system status to the user, but for the first time i faced this two-button status feedback, and i don't know how to proceed.   How do i indicate that the button previously clicked is active? without confusing the user.  EDIT: To clarify the question, i will explain the use case of these "tabs" as Marné said below.     These are buttons that will change the page content when one is active/clicked, but even when one is clicked the other still enabled to be used, it is more like a "switch" interation. But because a lot of content changes, I considered important to show the user which one is currently being used.


Permanently delete a shortened link from bit.ly

I want to delete a shortened link from bit.ly that was created by me.   How can I do that?


How to solve this $80^\circ$-$80^\circ$-$20^\circ$ triangle ($60^\circ+20^\circ$ and $70^\circ+10^\circ$ variant)?

A friend of mine asked me for help with a math problem and I struggled with this for over an hour. I told him sorry, and I felt bad. It's been bugging me now for hours. I don't even so much care for the answer of A, I just want to know how it should be done.


How to convert C style printf to C++ style cout in eclipse replace

I want to convert C style LOGD("hello"); to LOGD<<"hello";  in eclipse find/replace.  how can I do that?


How can I disable the Windows 8 charms bar?

Can someone please tell me how to disable the annoying effect that pops up when you drag cursor to top- or bottom-right corners?


I tried to solve this question but without a success: Let $p$ be a prime number,and $p^2+2$ is also prime, prove that $p=3$.  I tried to show $p^2+2$ as a product of numbers and then to show that $p=3$ is the only option that allows it to be prime. but I didn't find that presentation.  I would like to get help with this question, thanks


Find $\lim _{x\to \infty }\left(x\left(\ln\left(x+1\right)-\ln x\right)\right) $

Find   $$\lim _{x\to \infty }x\Big(\ln\left(x+1\right)-\ln x\Big)$$  Here's how I do it:  $$x\Big(\ln(x+1)-\ln x\Big) = x\Bigg(\ln(x(1+\frac{1}{x}) - \ln x\Bigg)$$ $$x\Big(\ln x + \ln(1+\frac{1}{x}\Big)-\ln x =x\ln\Big(1+\frac{1}{x}\Big)$$ $$\ln\Bigg( \Big(1+\frac{1}{x}\Big)^x \Bigg) \rightarrow \ln 1^\infty = 0$$  What am I doing wrong? The answer is supposed to be $1$, but I get $0$.


what are the angles 𝜃, and ϕ values of the following quantum state?

I need to find the coordinate 𝜃 and ϕ values of the quantum state on the bloch sphere $$ \left| \varphi \right>=\frac{1+i}{\sqrt{3}} \left| 0 \right> + {\sqrt{\frac{1}{3}}} \left| 1\right> $$


Is apt-file part of apt? I have apt installed by default, but no apt-file.  How about apt-cache? I don't remember whether mine was installed by default or me.


CSV for Excel, Including Both Leading Zeros and Commas

I want to generate a CSV file for user to use Excel to open it.  If I want to escape the comma in values, I can write it as "640,480".  If I want to keep the leading zeros, I can use ="001234".  But if I want to keep both comma and leading zeros in the value, writing as ="001,002" will be splitted as two columns.  It seems no solution to express the correct data.  Is there any way to express 001, 002 in CSV for Excel?


Not able to get value of Picklist field of Parent on Child object record

In my org Lead is Child and a custom object (Intake__c) is parent. This custom object have 2 picklist fields called Intake_Month and Intake_Year. Now in trigger i am trying to access these 2 picklist fields and put them in 2 same picklist fields on Lead.  Part of My Trigger:   if(Trigger.isBefore && (Trigger.isInsert || Trigger.isUpdate)){      if(ld.Intake__c != Null){              ld.Intake_Month__c  = ld.Intake__r.Intake_Month__c;              ld.Intake_Year__c   = ld.Intake__r.Intake_Year__c;            }else{              ld.Intake_Month__c  = Null;              ld.Intake_Year__c   = Null;            }     }   But both picklists on Lead are Null. Any suggestions?


I can create a node using the following code:  $node = \Drupal::entityTypeManager()->getStorage('node')->create($array);   But if I have the node ID, how can I edit a node?


Passing list of ignored directories to `tree` command

I'm writing a script in which I need to generate a tree of directories.  How to pass to tree a variable with list of directories to ignore? And those directories are with spaces in name.  I tried something like this:  tree -o /volume1/web/eb.html -T "List" --charset UTF-8 -C -I "$to_ignore" -P '*pdf' --prune --noreport /volume1/docs   Where vaiable to_ignore is a list of directories generated somewhere else by script:  'dir1|dir2|dir with space|dir4'   but that didn't worked. It crashed on dir with space.  Ok, so using quotes around variable helped with crashes but then tree prints even those directories that have required pdf files and are on list to ignore. And what's strange if I write those directories to ignore directly in my tree ... command than it works fine.


For safe boiling water canning, can I substitute acidity requirement using lime juice instead of lemon juice?

is lime juice as acidic as lemon juice and therefor uses 1:1 substitution with lemon juice to ensure low acid food is acidic enough for boiling water canning?


Poisson Hypothesis Testing for Two Parameters

So, for fun, I am taking some of the data of calls from the call center I work at and trying to do some hypothesis testing on them, specifically the number of calls received in a week, and using a Poisson distribution to fit it. Due to the subject matter of my job, there are two types of weeks, let's call one of them on-weeks where I hypothesize there are more calls, and off-weeks where I hypothesize there are fewer.  I have a theory that the $\lambda$ from on-weeks (let's call it $\lambda_1$) is larger than that of the one from off-weeks (let's call it $\lambda_2$)  So the hypothesis I want to test is $H_0: \lambda_1 > \lambda_2, H_1: \lambda_1 \leq \lambda_2 $  I know how to test for one parameter (say  $H_0: \lambda_1 > 1, H_1: \lambda_1 \leq 1 $) but not so sure how to go about doing 2 given a data set. Let's say I take two week's worth of data from each one $X_1 = 2$ and $X_2 = 3$ for the off-week and $Y_1 = 2$ and $Y_2=6$ for the on-week. Can someone help walk me though this simpler version such that I can apply it to a larger data set? Any help is appreciated, thank you.


Can't perform boolean difference with an imported collada object

I imported a Collada file created on Photoshop (turning a png into 3d plane), then extruded it in Blender. The reason for that is that this is a complex object to create with curves myself so I figured it's a faster approach.  Then I try to cut through some objects with this extrusion using the boolean modifier - difference, but I never seem to get this to work properly. Either getting "Cannot execute boolean operation" or it just won't cut the objects at all.  Tried modifying the boxes with the imported object as target, and the other way around too... I tried to use the knife project by selecting a box and the imported project but I get an error on "no other selected objects for projection" error. I tried removing doubles and fixing the normals. Nothing helped so far...  Here's the Blender file -   What can I fix for that to work? This is my first Blender project btw... Please don't mark as duplicate because I already mentioned that I perofrmed the actions described in other posts and it didn't help.


Add class on click then remove a class when clicking outside the div?

I've tried all the ways from the answers here, but have not worked. So far I have done:    jQuery(function($) {   $(document).ready(function(){       $("#sb-search").click(function(){           $(".sb-search").addClass("sb-search-open");           $("body").click(function(){               $(".sb-search").hasClass("sb-search-open");               $(this).removeClass("sb-search-open");           });       });   }); });
     <form autocomplete="off" action="<?php echo esc_url( home_url( '/' ) ); ?>" method="get">         <input class="sb-search-input" type="search" value="" name="s" id="s">         <input class="sb-search-submit" type="submit" value="">              </form>
      I want to remove the .sb-search-open class after clicked outside the div


PHP not working after upgraded to Ubuntu 17.10

After I upgraded to Ubuntu 17.10, PHP totally stopped working. Everything works fine in Ubuntu 17.04. The code for info.php as follows does not work:   <?php  phpinfo(); ?>   It is not showing PHP information, it only shows the source code like above.


Proof that no term (of a language of predicate logic) is a (non-empty) initial segment of another

I sense that the following simple argument is invalid, but cannot figure out why. Base Case:No variable or constant is an initial segment of a term, since the only terms that begin with variables or constants have length 1, and so lack initial segments. Inductive Case:Suppose s is an initial segment of a term, t, where s is $f t_1 t_2 \cdots t_n$ for terms $t_i$. Then t is su, i.e., the string, s, followed by the string, u, for some non-empty string u.  But, then, t is not a term, since an n-ary function symbol followed by n terms, followed by a non-empty string is a not a term. Hence, no term is an initial segment of any other. I did not make use of the inductive hypothesis, that no ti in s is the initial segment of any term.  This is what makes me think I cheated somehow.  Assuming that I did, I wonder if someone could show me how to prove the conclusion by means of induction on the complexity of terms without assuming that the tis in t are not initial segments of any terms (i.e., by merely assuming that the tis in s are not). Any feedback would be greatly appreciated!  Thanks in advance.


I am a learner of English. Sometimes I see an article (a and the) before the noun (life) but sometimes I also see the noun without any article. So I am confused when should I use an article before the noun and when I should not. Please check the examples and let me know are they correct?     Examples:      His life is an awesome life.      I want to get a beautiful life.      I like the life he lived.


Why can’t I have multiple apt installs at once?

If I run  apt upgrade    in one terminal, why can’t I run  apt install chromium    in another until   apt upgrade    is done?


Move to file name starting with the letter which was pressed on the keyboard button

Is there a way to set up the explorer in a way that it moves the selection to the files starting with the letter which was pressed on the keyboard button?  Just like Mac and Windows handle it for example.


Prevent malware ads redirects on mobile website

I have a problem with malicious ads on my mobile website, which redirects the user to app store. Mainly on the android browser and Safari for iOS.  Is there a way to block redirects for e.g. using javascript ? Maybe some event with preventDefault() function ?


Find the natural numbers $n$ in which $n^2$ divides $584$?

I'm trying to find the natural numbers $n$ in which $n^2$ divides $584$ ?  i tried all the ways i know but i get stuck.


Definition of the normalizer of a subgroup

Let $G$ be a group and $H$ a subgroup of $G$. Is there any counterexample to the assertion  $N_G(H):=\{g\in G\mid gHg^{-1}=H\}=\{g\in G\mid gHg^{-1}\subset H\}$?  Thanks!


I like Nautilus better than Thunar, so I use Nautilus on Xubuntu, but Thunar is still on the desktop. Can I switch that somehow?


How to remove all files without deleting the directory?

I have a sample dir as follows:  /path/to/dir/ - f1.txt - f2.txt - f3.txt   I want to clear or remove all the files under /path/to/dir without actually deleting the directory /path/to/dir itself.  How to do it?  Currently, I am just using the rm -rf /path/to/dir command to remove the directory and the creating the directory again using mkdir /path/to/dir. But this command deletes the directory also.


Is it necessary to eject external drives before logging out, restarting, or shutting down?

Is it necessary or recommended practice to eject external drives before logging out, restarting, or shutting down? (The drives are not being unplugged.)  BTW, I am aware that I need to eject my external drives before unplugging them, I just don't know if it's necessary when logging out or shutting down. It seems to me this should be obvious, but I can't find an explicit answer to this question anywhere. I am interested in answers for Snow Leopard, Lion & Mountain Lion OS versions, as I have 2 machines, one with Snow Leopard, the other with Lion, & I'll soon be upgrading Lion to Mountain Lion.


My friend said to me one day: "We have a mice problem at UNI". Is "a mice problem" grammatical as opposed to "a mouse problem"?


Idiom Request: you know how to convince me

Do you know any idioms meaning "you know how to convince me"?  Edit: the context is a humorous response to someone offers you something you can't resist


Remove the extra headers from the e-mails sent

My site is made of book(book pages) and any authenticated user is able to send the book page as an e-mail to anybody (other user in the site / external user using e-mail) he wishes. The mail system is working fine but when (lets say) User1(user1@example.com) is sending mail to anyone, the sent mail headers are as follows:      site_admin@example.com on behalf of user1@example.com   I want that a user should be able to send the email directly by his e-mail id.  I am using Drupal 7, with  and  configured to send to book pages.


Integral of point-wise product of 2 functions greater than product of 2 integrals

Let $f$ and $g$ be continuous increasing functions defined on $[0,1]$. Prove that $$\left(\int_0^1 f(x)\,dx\right)\left(\int_0^1 g(x)\,dx\right) \le \int_0^1 f(x)g(x)\,dx$$  This looks like Cauchy-Schwarz, using $L^1$(?) but that makes little sense to me.  Perhaps there is a more elementary way of proving this inequality?  Note: This question is from a undergraduate single variable calculus course, but feel free to use any suitable theorems from analysis.


Close as "Unlikely to help anyone else" (was "too localized" before)

While the recently revised "offtopic" reasons are quite good, I am missing some counterpart of what was "Too localized" before.  I would like to have some close reason like this for cases where someone asks a question with a provided code showing the problem, but the problem shows up to be some trivial mistake or oversight in the code. Recent example of such question is .


How does leave-one-out cross-validation work? How to select the final model out of $n$ different models?

I have some data and I want to build a model (say a linear regression model) out of this data. In a next step, I want to apply Leave-One-Out Cross-Validation (LOOCV) on the model so see how good it performs.  If I understood LOOCV right, I build a new model for each of my samples (the test set) using every sample except this sample (the training set). Then I use the model to predict the test set and calculate the errors $(\text{predicted} - \text{actual})$.  In a next step I aggregate all the errors generated using a chosen function, for example mean squared error. I can use these values to judge on the quality (or goodness of fit) of the model.  Question: Which model is the model these quality-values apply for, so which model should I choose if I find the metrics generated from LOOCV appropriate for my case? LOOCV looked at $n$ different models (where $n$ is the sample size); which one is the model I should choose?   Is it the model which uses all the samples? This model was never calculated during the LOOCV process! Is it the model which has the least error?


As posted in my other question, I am publishing a book and these 2 errors are the only errors remaining after weeks of struggling in solving problems.   The following image:  is produced by the following code:  \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{natbib} \title{testest} \author{dennis93muller } \date{August 2016} \begin{document} \maketitle programs as defined by \citet{DeMaio2009Bike-sharing:Future}. \bibliographystyle{plain} \bibliography{Mendeley.bib} \section{Introduction} \end{document}   The bib.file contains the following:  @article{DeMaio2009Bike-sharing:Future,     title = {{Bike-sharing: History, impacts, models of provision, and future}},     year = {2009},     journal = {Journal of Public Transportation},     author = {DeMaio, Paul},     number = {4},     pages = {3},     volume = {12},     isbn = {1077-291X} }   The output should be: programs as defined by DeMaio. However this is not the case. Does anyone have any idea why this is happening? I have also tried \cite or \citep, neither have the right ouput!


hide text between normal text without bad effect on search engine

I need put some hidden text between my normal text.  I do it like this:  <p>  some text <span class="hide"> hidden text </span>  some text </p>  .hide{display:none}   But I worried about bad effect on search engine. how can I hide it without bad effect?  note: I need the hidden text be readble for search engine and print for rss readers...


$M' \to M \to M'' \to 0$ exact $\implies 0\to \text{Hom}(M'',N) \to \text{Hom}(M,N) \to \text{Hom}(M',N)$ is exact.

Let $M', M'', M, N$ be $A$-modules. If $$M' \stackrel{u}{\to} M \stackrel{v}{\to} M'' \to 0$$ is exact, then $$0\to \text{Hom}(M'',N) \stackrel{\bar{v}}{\to} \text{Hom}(M,N) \stackrel{\bar{u}}{\to} \text{Hom}(M',N)$$ is exact, where $\bar{u} (f) =  f \circ u$ and similarly for $v$.  I've shown that $\ker (\bar{u}) \supseteq \text{im} (\bar{v})$ by starting with $v\circ u = 0$.  How do I show the opposite inclusion?


What is the significance of the sign of work done? Does it affect internal energy also?

What does positive and negative work done indicate? What I understand is that positive work done implies that energy is gained by the rigid body and negative work done implies energy is lost by the body.   For example, a box is kept on a rough table, and when I push it, the work done by the force applied increases the energy of the block and the work done against friction is energy lost by the block while moving against friction assuming there is some displacement. Is this correct? In that case, what would be the effect on the internal energy of the body?


Where can I buy a transparent frying pan?

Where could I find a transparent frying pan?


Calculate statistical significance between binary and continuous data groups

I would like to calculate statistical significance between two samples of sports data - one is actual_wins and the other is expected_wins. actual_wins is a binary data series (0 = loss, 1 = win) and expected_wins is a data series of continuous probabilities.  I have read about t-tests and chi-squared/McNemar (related groups) tests but this data violates the assumptions of both methods as the former assumes a normal distribution and continuous data while the latter assumes categorical/binary data.  Is there any method to calculate significance with this data?


jQuery is unable to run the .click event on dynamically generated button or p tag

I'm trying to add a feature of autocomplete, now whatever the result it's returning I'm outputting in the form of a button, but as soon as I apply the click event on dynamically generated button, it doesn't work. Here is my piece of code :  // controller function autocomplete()     {         $string = "";         $query = $this->db->select('p_sku')->from('fr_products')->like('p_sku',$_POST['sku']);         $results = $query->get()->result();         foreach ($results as $result)         {             $string .= '
p_sku.'>'.$result->p_sku.'
 ';         }          echo $string;     }     function show_autocomplete()     {         $this->load->view('testing/auto');     }  // view         <input type="text" name="sku" placeholder="SKU1,SKU2,SKU3" id="sku"/>


Linear Algebra Problem - columns of $A$ are linearly independent $\Rightarrow$ $A^TA$ non-singular

I am trying to go in this direction only. Is this proof correct? ($A$ is an $m \times n$ matrix).   I am considering the contrapositive of the statement:  Suppose $A^TA$ is singular.  Then $\det (A^TA) =0$.  $\det(A^TA) = \det(A^T) \det(A)$ and since $\det (A^T) = \det(A)$, we must have $det(A) = 0$. In other words, the columns of $A$ are linearly dependent.   $\blacksquare$


I logged into my SQL server today using PhpMyAdmin, and it seems to be acting weird throwing random [Token Mismatch] errors, only while trying to create a new user account. I tried multiple times, with multiple users, and still got the same thing. I then tried to update my own password, which succeed, however, does not allow me to log into the server.  Trying to login with myusername, and the newly set password returns the following error in PhpMyAdmin.  #1130 Cannot log in to the MySQL server   I have command line access to the server, and tried logging into my 'root' user, which I am getting this:  ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)   I know, with 100% certainty, that I am entering in both my user account password, and root password correctly, but am not able to log into the server.  This is a production server, and has multiple hosted websites running from it.  I have tried running  mysqladmin -u root password my-new-pass   But, not knowing the root password that already exists, this fails.  I am completely locked out of my own database on all administrative accounts, how would one go about regaining access to the database, while retaining all of the data in the database?  If any additional information, or diagnostic steps are require, please do not hesitate to ask. Any and all help is greatly appreciated.


Should I normalize all data prior feeding the neural network models?

Appreciate your wisdom on this,  My understanding is most of the tutorials recommend normalizing / scaling the data prior feeding the tensorflow models. Doesn't normalization require that data conforms to the normal parametric distribution?  What good is a non-linear model if scaling / normalizing is a pre-requisite prior using the non-linear model such as tensorflow?   So back to the question, should I always normalize / scale my data prior feeding my tensorflow models?  thanks


Why does the review system disable the "First Posts" and "Late Answers" if I reached daily upvote limit?

I was reviewing on , and I faced a weird thing. I can review "Close Votes", "Low Quality Posts", and "Suggested Edits" if I reached my daily vote limit, but I can't for "First Posts" and "Late Answers". Why?    If they just deserve an upvote/downvote then they should not include in the review system. But if we can improve them through leaving comments and by editing the posts then why can't we access them?


How can I be sure that there are also lines between the boxes that are empty

I have a problem with Latex, TeXmaker (program). I would like to make a table but the last two boxes are empty, but how can I be sure that there are also lines between the boxes that are empty? Now there is just one big opening? This is the code that I am using:   \begin{tabular}{|c|c|c|} \hline 1 & 2 & 3\\ \hline 4 & 5 & 6\\ \hline 7 \\ \hline \end{tabular}


How to solve these kind of electric circuit?

This question from Physics For Scientists And Engineers 7th page 746.     After redrawing , Actually I cant see any two clear capacitors that we can be combined , First we cant combine $C$1 with $C$2 because the point $a$, and the same argument on $C$3 with $C$4 because the point $b$, And personally I cant combine any of $C$1 ,$C$2 ,$C$3 and $C$4 with $C$3 because I don't know where should I put the equivalent capacitor.  To be more clear , How we can solve these kind of circuit ?


I need to defragment external HDD on Kubuntu

I need to defragment external HDD. I use Kubuntu 16.04.6 LTS. Is there a defragmenting tool to do that or should I go to a friend with Windows? Or maybe a Windows tool that works via Wine?


I know there exists a term for the to–too–two situation where the words are pronounced the same but spelled differently.    Is there a term for the situation of unionized /ˈjuːnɪənɑɪzd/ and un-ionized (sometimes spelled unionized) /ʌnˈaɪənaɪzd/ where the words are pronounced differently but spelled the same?    Also, since I can't find it, what is the term for the to–too–two dilemma as well?


Curve bevel, both built in and using another curve not uniform in thickness

Im trying to make a pipe using single edge, converted to curve, and then bevel it to add some thickness. but the result turns out weird.  as in the picture, the vertical section of the pipe is in uniform thickness, but the horizontal segment is much more thicker. This happen whether using built in bevel selector or using a bezier circle as bevel object.  how can i make it all uniform in thickness?


I am Developing Movie Rental Application in JSP. After selecting movie with the help of checkbox, when I am iterating with that it is giving me null pointer exception. Here is the code for Statement.jsp file which is creating statement for the rented movies...  <%@page language="java" %> <%@page import="java.sql.*, java.util.*, mrs.*" %> <html> <head>     <title>Movie Rental Application</title> </head> <body>     <%@include file="Connection.jsp" %>      <% if (session.getAttribute("Name") != null) {             String[] checkboxes = null;             String[] days = null;              checkboxes = request.getParameterValues("c1");             days = request.getParameterValues("t1");             int i = 0;             for (String title : checkboxes) {                 String Name = session.getAttribute("Name").toString();                 int code = 0;                 ResultSet rs = stmt.executeQuery("select Type from Movies where Title = '" + title + "'");                 String Type = rs.toString();                 if (Type.equalsIgnoreCase("REGULAR")) {                     code = 0;                 }                 if (Type.equalsIgnoreCase("NEW RELEASE")) {                     code = 1;                 }                 if (Type.equalsIgnoreCase("CHILDREN")) {                     code = 2;                 }                 mrs.Movie m = new mrs.Movie(title, code);                 int day = Integer.parseInt(days[i]);                 i++;                 mrs.Rental r = new mrs.Rental(m, day);                 mrs.Customer c = new mrs.Customer(Name);                 c.addRental(r);                 stmt.executeQuery("insert into rents values('" + day + "','" + Name + "','" + title + "')");                 String result = c.statement();                 out.println(result);             }             stmt.close();             con.close();     %>     <% }%> </body> </html>   Here it is the Exception...


How Is the Minister For Magic Chosen and What Qualifications Are Required To Hold Office?

Is there an election process for the Minister for Magic? Or is the Minister appointed? If he/she is appointed, by whom is he/she chosen? Aside from being, obviously, a witch or wizard, what minimum requirements (education; career track; nationality; etc) are there for being eligible for Minister for Magic? Policy-wise, are the Ministers for Magic just successive permutations of each other, or has any Minister brought a progressive and fresh point of view to the office?


Drupal 7 multisites with subsite sharing main site data

I have created a multi-site  Drupal 7 in my localhost environment  with a main-site and a sub-site in it with a single database, with table names of sub-site prefixed with 'sub_'. If I tried editing the setting.php of sub-site, altering 'prefix' value in database array  to a shared table I cant access the sub-site own table. I need the sub-site to access both shared table and its own table.  So that if any content/content-type created in main-site has to be reflected in sub-site.But the content/content-type created in sub-site should not be reflected in main-site.  How to achieve it?


Are there any other weapons designed using lightsaber technology?

I know Darth Maul used a lightsaber staff which was basically two lightsabers end to end.  I had thought that lightsaber nunchaku would be amazing, but the fact that you'd rather quickly lose your own hand during a change over would be problematic!!   So are there any other weapons designed using this technology?


I think I accidently created two accounts and now I cannot change my username:      Oops! There was a problem updating your profile: •This email address is already registered. If it belongs to you, log in above or visit our account recovery page to get access to this account.   I did the recovery process but that did not help! I know that this question was asked multiple times but I cannot find a solution for me. Similar topics for example:    How to merge?


How to simplify polygon shapefile and maintain topology?

I'm looking for a straightforward answer that actually works...not a 'duplicate question' flag. None of the other solutions posted in similar threads actually work...they all have dead-end answers and/or links. I've searched for hours and spent many more actually trying the methods I've found and none seem to work.  As for my question; I'm looking to generalize the polygons of a shapefile to reduce their resolution. Topology needs to be maintained for future geometry functions such as difference and union. There doesn't seem to be any way to preserve topology in QGIS...is there any other way? Any suggestions will help (as long as it doesn't involve ArcGIS).  Previous questions which don't have useful answers:   - topology is not considered   - no accepted answer    Also another questions of mine:


I am extracting zip file through java code, But its giving below exception.## Heading ##  java.util.zip.ZipException: invalid entry CRC (expected 0x0 but got 0xc86c27fe) at java.util.zip.ZipInputStream.read(ZipInputStream.java:221) at java.io.FilterInputStream.read(FilterInputStream.java:107) at zipExtraction.UnZip.unZipIt(UnZip.java:60) at zipExtraction.UnZip.main(UnZip.java:20)   Can anyone tell me the reason, why i am getting this error.


Why can't I mount my network drive? (CentOS7)

Not sure how mount works with CentOS, but I have a drive accessed through my CentOS file explorer at the path:   smb://ipaddress/sharedfoldername   And want to permanently mount it to my PC at /mnt/ or at /home/user/desktop but the following commands are probably wrong but could someone tell me how to get the machine to connect to the address and mount it to the place I want it on startup/login?  These commands are probably wrong but it's just what I assumed would do the trick:  sudo mount smb:/ipaddress/sharedfoldername /mnt/   Obviously replacing ipaddress with my actual IP ADDRESS and replacing sharedfoldername with my real shared drive name. - But.... it doesn't work - it tells me that smb doesn't work...?... and also says I may have got the mount command wrong too because it brings up mount help...?  It is accessable from CentOS if I access the path smb://ipaddress/sharedfoldername but I would like it mounted to a specific folder...  Any help would be greatly appreciated. Thanks.    SUBQUESTION  Why is _netfs not recognised if you look at the command for fstab in @jsbillings comment?


Is it possible to enter password once for 2 encrypted partitions at start-up?

I have my ubuntu 14.04 installation set up with my / and swap partitions encrypted. They both have the same password. My /home is on a separate HDD. My user login password is different to that of the encrypted partitions. presently at start-up I have to enter my password for the / partition then the password for swap partition which then bring to the login screen.  Is there a workaround in that I can enter my password for the two encrypted partitions just once at start-up rather then having to enter it twice as I have to do now?


Despite the fact that the following matter has been brought up several times already, I would like to have confirmation as it is not so clear.  My situation is the following: I am looking for openings in the USA from Italy, by sending e-mails, resume and cover letters, etc., but in a couple of weeks I am going to the USA for about a month to spend the holidays there and meet with some friends from college. Then I've thought to continue my job search in the USA itself without the intention to remain and start working (which I am totally aware is illegal), but only to try to schedule job interviews face to face, because I believe that this might be a better chance both to obtain a work visa and to point myself out.   Is this all illegal too as it seems to be, or is job seeking in the USA (without the intention to remain illegally but only to try to have a sponsor) legal?


sudo apt-get update failed me repeatedly

I keep getting this output when I run sudo apt-get update:  Err:1 http://security.ubuntu.com/ubuntu xenial-security InRelease   Temporary failure resolving 'security.ubuntu.com' Err:2 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial InRelease   Temporary failure resolving 'ppa.launchpad.net' Err:3 http://et.archive.ubuntu.com/ubuntu xenial InRelease   Temporary failure resolving 'et.archive.ubuntu.com' Err:4 http://et.archive.ubuntu.com/ubuntu xenial-updates InRelease   Temporary failure resolving 'et.archive.ubuntu.com' Err:5 http://et.archive.ubuntu.com/ubuntu xenial-backports InRelease   Temporary failure resolving 'et.archive.ubuntu.com' Reading package lists... Done W: Failed to fetch http://et.archive.ubuntu.com/ubuntu/dists/xenial/InRelease  Temporary failure resolving 'et.archive.ubuntu.com' W: Failed to fetch http://et.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease  Temporary failure resolving 'et.archive.ubuntu.com' W: Failed to fetch http://et.archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease  Temporary failure resolving 'et.archive.ubuntu.com' W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease  Temporary failure resolving 'security.ubuntu.com' W: Failed to fetch http://ppa.launchpad.net/certbot/certbot/ubuntu/dists/xenial/InRelease  Temporary failure resolving 'ppa.launchpad.net' W: Some index files failed to download. They have been ignored, or old ones used instead.   How this problem can be fixed?


Example of Cut in Natural Deduction and how to remove it

I have heard of the Cut in Sequent Calculus before, but it seems that it exists for Natural Deduction as well. Could you please provide a proof in Natural Deduction (propositional logic) that illustrates the use of a Cut?  Additionally, there is a theorem in Sequent Calculus that transforms proofs that use Cut into proofs that don't use it. Is there an equivalent theorem for Cuts in Natural Deduction? Could you provide the corresponding proof (of the one you have given for the above) which now does not make use of the Cut?  I have tried to find information on the Cut for Natural Deduction but it seems that most literature talks about it with regards to Sequent Calculus. Could this be because the Cut for Natural Deduction have a different name? Links to resources greatly appreciated but not necessary! Thank you very much for your responses in advance!  Edit: this question is more about simple examples that illustrate concepts involved, rather than the formal proofs of those concepts (and establishing the correct terminology regarding these concepts)


Poor Master's grade but demonstrably passionate about the field- do I stand a chance of getting a funded PhD place?

I am graduating with a pass grade in my Master's degree from a good university in London.  I want to apply for a PhD scholarship at the University of Sheffield in non-communicable diseases.   I did public health undergraduate degree and became interested in non-communicable diseases in low income countries as it's a neglected area overshadowed by the high rate of infectious diseases. I wrote my undergraduate thesis in this area. I also have a personal interest in this field because I lost my mum to cancer within one year of her diagnosis. My pass grade in the Master's can partially be explained due to difficulties with illness.  Do I stand a chance of gaining my desired PhD place, taking into account the medical reasons for the low grade and my proven interest in the field?


div dynamically between footer and header

I want to add a div for my content between a fixed footer and header.  The height of the header and footer may change. So I don't want any paddings or margins that refer to the height of the footer or header.  In other words: I want to be able to change the size of the footer or header in a single place without usage of css preprocessors .  I have seen many examples but they all used hardcoded references to the height of the header or footer. I don't want these.  Is this possible at all? If so I would like to know.  Here a example of what I'm trying to do:


Really the title says it all. I want to set a shortcut that will enable/disable (toggle) keyboard shortcuts. Is this even a possibility? It would be really useful for things like Blender where many shortcuts overlap, without having to permanently disable or change your system shortcuts.


Does an electromagnetic wave necessarily contain many photons?

I've often come across people saying from a quantum physics standpoint that an electromagnetic wave necessarily contains many photons. But doesn't the double-slit experiment conducted one photon at-a-time suggest that an electromagnetic wave corresponds with a single photon?  EDIT: This question is solely about the numerical relation between electromagnetic waves and photons.


If $xy + yz + zx = 1$, then show that      $$\dfrac{x}{1-x^2} + \dfrac{y}{1-y^2} + \dfrac{z}{1-z^2} = \dfrac{4xyz}{(1-x^2)(1-y^2)(1-z^2)}$$   I tried doing the sum algebraically, that is, by solving the LHS but, that method isn't really getting us anywhere.  Also, I found this sum in an a book on trigonometry. So how can I solve it with trigonometry?


Arithmetic mean and geometric mean inequality - proving $[(1+a)(1+b)(1+c)]^7 > 7^7a^4b^4c^4$

If $a,b,c > 0$, then prove that $[(1+a)(1+b)(1+c)]^7 > 7^7a^4b^4c^4$  I reached till :  $8^7 > 7^7 \sqrt{abc}$  Can't move forward from there. Please help!


What is +XXXX [any number] change in stackexchange user of the week?

I am very active person in stackexchange, specially with Stackoverflow. I was at the top as +52543 changes. I am the only one user with this highest changes. So my question is how stackexchange define changes ?


How to demonstrate that there would exist a vertex with degree less than $ 5$?

Question:                            Letting S be a planar graph.                  Demonstrate that there would exist a vertex of S whose degree                        would be no greater than 5, ie, $\leq 5$  I have just gotten started with Discrete Math Graph Theory and it would be a great help if someone could assist me in working out the steps to understand the problem and work through the answer with a detailed explanation? Thanks.


I'm trying in my game to have camera rotation speed idependent of fps. For keyboard it works without problems but not for mouse movoment. At 60 fps it works good but at 200 for example rotation is to slow.  mouse_dif is difference since last frame in pixels. Maybe thats a problem too, bigger screen resolution will rotate faster then smaller.  My code:  const float rot_speed = u.GetRotationSpeed(); // returns 5.f float val = 0;  if(allow_input == ALLOW_INPUT || allow_input == ALLOW_MOUSE)     val += float(mouse_dif.x)/200;  if(val > rot_speed*dt)     val = rot_speed*dt; else if(val < -rot_speed*dt)     val = -rot_speed*dt; u.rot += val;   How can I make it fps independent?


$A^TA=B^TB$. Is $A=QB$ for some orthogonal $Q$?

Suppose that $A$ and $B$ are two real square matrices and $A^TA=B^TB$. Can we say that $A=QB$ for some orthogonal matrix $Q$?  If they are vectors we have $\|a\|^2=a^Ta=b^Tb=\|b\|^2$, so intuitively clear, since we just have to rotate. But it is hard to picture the matrix case but I have not been able to show.


The if statement in my throw is gives a bad input error message when using "#,$,&,*" and I can't figure out what is wrong with it. In addition, I need to able able to take up to 99 characters in the input but my code stops after around 15 and I don't know what I coded wrong   public static void main(String[] args) {      int counter = 1;     String last = "";     String output = "";     String addToOutput = "";       Scanner s = new Scanner(System.in);      System.out.print("Enter input string: ");     String inputstring = s.nextLine();       System.out.print("Enter flag character: ");     String inputflag = s.nextLine();       try{     if(inputstring != "#" || inputstring != "$" || inputstring != "&" || inputstring != "*"){             throw new IllegalArgumentException("Bad Input.");       }     else{         System.out.print(output);     }      for (int i = 0; i<inputstring.length(); i++){                if((""+inputstring.charAt(i)).equals(last)){                 counter ++;     }         else{             if(counter>3)             addToOutput = inputflag + last + counter;             else{                 addToOutput = "";                 for(int j =0; j<counter; j++){                     addToOutput = addToOutput + last;                 }              }             output = output + addToOutput;         counter = 1;      }       last = "" + inputstring.charAt(i);               }         }      catch(IllegalArgumentException e){         System.out.println(e.getMessage());     }      }      }


Given that $x_n\geqslant 0$, $x_{n+1}\leqslant x_n+\dfrac{1}{n^2}$, prove this sequence converges. I want to prove by The monotone bounded convergence theorem. $$ 0\leqslant x_n=\displaystyle\sum_{i=1}^{n-1}(x_{i+1}-x_i)\leqslant\displaystyle\sum_{i=1}^{n-1}\dfrac{1}{i^2}<\dfrac{\pi^2}{6} $$ My question is how to prove the sequence is monotonous.


Trying to install postman in Ubuntu 16.04

I am trying to install postman in Ubuntu 16.04.I ran the commands:  wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz  sudo tar -xzf postman.tar.gz -C /opt rm postman.tar.gz sudo ln -s /opt/Postman/Postman /usr/bin/postman   I did not get any message about the installation. I tried to find the application in Desktop and Ubuntu Software Center. But I did not find postman. Have I done something wrong? How should I install this application?


Uniform PDF of the difference of two r.v

Is it possible to have the PDF of the difference of two iid r.v.'s look like a rectangle (instead of, say, the triangle we get if the r.v.'s are taken from the uniform distribution).  i.e. is it possible for the PDF f of j-k (for two iid r.v.'s taken from some distribution) to have f(x) = 0.5 for all -1 < x < 1?  There are no restrictions on the distribution we take j and k from except that the min is -1 and the max is 1.  After some experimentation, I'm thinking this might be impossible.


looks very much as not-an-answer to me but was declined (no evidence). On the bright side: it was at least deleted :-)  Screenshot so <10K can judge as well:        Any idea as to why my flag was declined?


How can I keep specific chunks loaded with command blocks?

I'm looking for a way to keep specific chunks loaded with a command block loop or permanent command, because I have a large world with lots of redstone and I have to keep moving with the redstone signals so that they finish their signal. This is for Bukkit MC 1.9.2 with multiple worlds loaded on it.


"Not only ... but also" —parallelism in a particular case

I have been looking around to find an answer to my question, but I was unable to find one that addressed my specific problem.  I want to create the following sentence, but I'm not sure whether it's correct.     "Not only the world has changed during this time but also we have in particular."   I apologize in advance if I have overlooked an easy solution to this.


Why does Mirror modifier sometimes go to the wrong side?

This might be a very trivial issue, but even with origin being at the right spot, the mirror mirrors at 'random' angle.. like here:  What does contribute to this behaviour? Is there an easy fix for this? Thank you all


I am trying to sort an array of objects with Usort. When I run the function it does not fully sort the array. Not quite sure what I am doing wrong. I am trying to sort this based on 'zone_total' But it's not giving the result that I am looking for. I am looking to sort this with 1 value not 2. So I cannot use array_msort.(I believe this sorts it based on 2 values.)  Here is the data that I am working with.   [0] => stdClass Object     (         [class] => 6         [zone_total] => 118     )  [1] => stdClass Object     (         [class] => 1         [zone_total] => 12     )   Here is my code  usort($leaders, array($this, "cmp"));  public function cmp($a, $b) { return strcmp($a->zone_total, $b->zone_total); }


Timestamps for spam and offensive flags not shown

In the flagging summary page /users/flag-summary/<id>, the timestamp that the flag is raised for spam and offensive flags are not shown.    Is this  or a ? I can't think of any reason why the timestamp should be hidden. From the 's comment in : If you hover mouse icon on "helpful" or "decline/disputed" text it shows same timestamp in tooltip, while in case of "Spam" flag it doesn't show any tooltip.  2015 update To make sure this ancient bug hasn't been fixed by the recent redesign, I add current screenshots:  Hovering over regular flag shows the  UTC timestamp   Hovering over "helpful" shows the time of handling as a relative timestamp, which is often... unhelpful.   And on spam/offensive flags neither thing appears:


The Fibonacci sequence starts with 1, 1, 2, 3, 5, 8, 13, ... .(Start from the 3rd term, each term is the sum of the two previous terms). Let $F_n$ be the $n$th term of this sequence. $S$ is defined as $S=\frac{1}{2}+\frac{1}{4}+\frac{2}{8}+\frac{3}{16}+....+\frac{F_n}{2^n}+....$ Calculate the value of $S$  I have no idea how to solve this, hints aswell as solutions would be appreciated   Taken from the 2013 AITMO


Does the question score have an influence on google rating?

Could someone from the dev team explain what defines the rank of SE question in Google search (or Bing search, if it happens to be different)? Do search engines define the rank independently based on their own click and search request statistics, or do they take into account some data from SE? For example, would upvoting a question make it rank higher than a similar non-upvoted question?  I understand the number of views of a question should correlate with its page rank, but is this a coincidence (more views also means more views via  search engines) or is the information about page views statistics accessible to search engines?


I am using ubuntu 15.04 now. For a while I used Gnome as my desktop, but now I changed it back to Ubuntu. After the change, the desktop is fine, but the login GUI isn't back; it's still in Gnome now.  For Gnome login GUI I mean the black GUI with a gray box in the middle and there's a gear icon(settings of the desktop, and the options are: metacity, Gnome, System default, and Ubuntu) and some text(I cant remember that).  And the Ubuntu login GUI should be like several users appear on the left and the selected one with the text box for you to enter the password.  It is so confusing because when I lock the computer using  Win  +  L , or  Ctrl  +  Alt  +  L , the GUI is ubuntu's.  Please tell me how to fix this. Thanks.


Why use $\ln$ in definition of pseudorapidity?

Why is pseudorapidity defined as $\eta = -\ln[\tan(\frac{\theta}{2})]$ as opposed to just $\eta = \tan(\frac{\theta}{2})$?


How do I make Ubuntu 16.04 not ask me for my password? I have turned on and off the autologin on my user on System Settings > User Accounts (the only user) but it stills ask me for password on the startup.  Ubuntu was not asking for password at startup until I upgraded from 14.04 to 16.04.  Any ideas?  Thank you.


revert commit deletion after a git reset --hard HEAD~1

I deleted a commit accidentally using:  git reset --hard HEAD~1   I want to know if there is a way I can revert this and recover my commit. Thanks for your help.


This question led to a new feature in a package:      I come from Poland and I'm writing some text in my native language. One of our typography standards is that we do not leave one-letter words at the end of a line. For example:  Mietek poszedl do sklepu i kupil jabola   is illegal, and correctly it should be as follows:    Mietek poszedl do sklepu  i kupil jabola   I don't know if there is such a rule in US/English typography also, but I cannot find any latex setting that would fix such errors. The only solution I've found so far is to add the "~" character, which seems to work as whitespace, but also prevents to break connected words between lines. So I have to write:  Mietek poszedl do sklepu i~kupil jabola   Is there any other way to do so? I've tried with   \widowpenalty10000   \clubpenalty10000    which prevents orphans, but it seems that 'orphans' for us (Polish) is something different than for Americans ;) In the US orphan is the first line of a paragraph on the last line of a page (at least I think so), but for us, 'orphan' is such a single-letter word at the end of a line.


What hardware is optimal for nginx as a reverse proxy? Should we go for more ram or more cpu power? How much of each?

We are planning to put an nginx reverse proxy in front of a static site and expect a traffic of about 120k http requests per minute on that. Mostly doing proxy_pass with some address concatenation op on the incoming request... We wanted to know from nginx experts here if nginx needs more of a cpu intensive server hardware or memory intensive or both? What cpu and memory do you think will be optimal for this application? Thanks in advance for the expert help... The suggested links (capacity planning) and (load testing) to other questions are totally different from what we are looking for. We are specifically looking for answers related to nginx server requirements whereas the suggested links talk about capacity planning and load testing for large infrastructure projects with multiple components to it (both are irrelevant to our question) We are looking for nginx server optimization and requirements.


Difference between calculator and google calc for power

I tried to compute the power of 2^2^2^2 on google calculator and my casio calculator but both are giving different results. same is true for 3^3^3. Please explain me the difference between two expressions.


I think "The man who I thought was thoroughly honest proved to be a swindler" is acceptable. But my book says the answer should be "whom"

I got this question from a book. In opinion both whom and who sounds correct. The Question is. "The man whom i thought was thoroughly honest proved to be a swindler."  But my book says the answer should be "whom".


How do I create a GIF screencast in Windows?

I need a way to record my Windows desktop and save it as an animated GIF file. Here's an example:    I need GIF animations so that they can run from a web page without requiring any plugins.  I want to record and save directly as a GIF.  How can I create a GIF screencast?


LeL $f: (0, \infty)\to R$ be continuous and $f(x)\leq f(nx)$ prove $\lim\limits_{x\to\infty} f(x)$ exists

Let $f: (0, \infty)\to R$ be  continuous such that  $f(x)\leq f(nx)$ for all positive $x$ and natural $n$.  I'd like to prove  $\lim\limits_{x\to\infty} f(x)$ exists finite or infinite   but I'm not quite sure how to persou this way  Any piece of advice would be much appreciated


Iterating over the index or entry? How to iterate on index?

Hello I am really new to learning python, and I am getting confused working with lists.  I wrote the following and I get the following     TypeError: list indices must be integers, not str   My code is:  numlist = list() listy = ['341', '22', '1803'] for i in listy:     numlist = int(listy[i])   So in this program I am trying to write, part of it includes a list of numbers. I want to take those numbers and append them to another list (numlist) that converts each entry in the first list to an integer type.   So I thought I needed to step through each entry in listy.  Does the problem stem from 'i' referencing the entry (ex: '341' and not index 0)? If so...how do you refer to the index? I thought that's what I was doing, but clearly not :(.  Any help would be much appreciated. I looked through some other questions posted to Stack with the same Type Error but I'm so new to this that they all just confused me further.


I a Multiple linear regression model, from published literature, I am implementing a spreadsheet to generate new predictions based on the published model. the literature stated Coefficients and the error in each as well as the RMS error. However to estimate prediction interval i need to know the matrix (X'X)^-1  Where X is a k+1 by N model matrix. and X' it the transpose of X  As per   (Slide 45)   So, I downloaded the training set of data from the supplementary data, and tried to make my own X matrix.  However, I have tried inverting (X'X) in both excel and R without success. Excel gives me garbage output while R gives me a singularity error. However, if I eliminate the "column of one's" from the X matrix making it an k by X matrix, now (X'X) inverts just fine.  Just to see what is going on, I've also tried feeding the training set of points into Excel's Linnest function as well as R's lm , and I get a model out of both with co-efficient s that are very close  to the published literature models. So this makes me think the matrix shouldn't have any issues like this.  Also note, the model has 5 quantitative and 1 qualitative dimension (with 42 possible results), so final model has 49 dimensions.  So I am wondering where I went wrong? why is my X'X matrix not invertible when I include the column of ones?   Thanks


SQL Server sys.dm_tran_active_transactions long running transaction worktable

today I used the system object sys.dm_tran_active_transactions (to be honest for the first time). I had an issue with distributed transactions (Microsoft DTC) and went digging there after I had no clue with the sp_whoIsActive oputput alone.This issue is solved but now I see that there are quite old transactions in the table with type "worktable". Here's the output for the following query  SELECT  *,  case transaction_type          when 1 then 'Read/Write'          when 2 then 'Read-Only'           when 3 then 'System'          when 4 then 'Distributed'         else 'Unknown - ' + convert(varchar(20), transaction_type)       end as tranType,      case transaction_state        when 0 then 'Uninitialized'        when 1 then 'Not Yet Started'        when 2 then 'Active'        when 3 then 'Ended (Read-Only)'        when 4 then 'Committing'        when 5 then 'Prepared'        when 6 then 'Committed'        when 7 then 'Rolling Back'        when 8 then 'Rolled Back'        else 'Unknown - ' + convert(varchar(20), transaction_state)   end as tranState,   case dtc_state        when 0 then NULL        when 1 then 'Active'        when 2 then 'Prepared'        when 3 then 'Committed'        when 4 then 'Aborted'        when 5 then 'Recovered'        else 'Unknown - ' + convert(varchar(20), dtc_state)   end as dtcState FROM    sys.dm_tran_active_transactions  ORDER BY transaction_begin_time     The transaction_begin_time happens to correlate with the time the SQL Server Service was last restarted.  Should I be concerned about this in any way? I did have a look at  to learn more about the dmv. However it just mentions that worktables are used for storing temporary query results in tempdb. However my understanding is that if I kick off a query whose execution plan decides to spool to tempdb and use a worktable a new worktable is created each time it is needed. Therefore it seems odd that therer are 6 worktables so old.  I could hypothesize that these are tables reused since service restart for monitoring queries which run constantly or internal SQL server stuff. Anyway the transaction type read only seems to be harmless and I noticed no sign of blocking or version store growth.  Thanks in advance for your assistance  Martin


why the search result shown in default language only ?

i have a multilingual site with 2 languages and i have a search view , the search view works well in (english) and give me the result but when am changing the language to the second one ( arabic ) its give me the same result that i want but in english !!  English version:    Arabic version:    any suggestion to solve this problem ?


Has anyone got Ubuntu Touch working on Nexus 5?

I have been debating whether to get a nexus 5 phone since it came out. My only fear is that I won't like android. I love ubuntu, I know that I'd love ubuntu. So I have a few question related to Ubuntu Touch:  Is it easy or possible to switch between Ubuntu Touch and Android? Would I have to keep hacking the phone? Can I dual boot them? Would I lose my data every time I switch?  The nexus 5 isn't mentioned here:  Does that mean it simply won't work if I follow the porting instructions? Would I have to do a bit of hacking? Has anyone got it working? Will it eventually be supported?


Most of the particles have different velocity in different reference of frames but why is speed of light the same in all refrence frames?  After all light is made of a photon.


For a school assignment, I was making a game of Othello. I was modifying a TicTacToe game I made for the same course a few months earlier. Partway through, I realized that I had not changed the name of the class or file. When I changed the name, and compiled, i was given this error:  Exception in thread "main" java.lang.NullPointerException at othello.OthelloEvent.clear_board(OthelloEvent.java:407) at othello.OthelloEvent.<init>(OthelloEvent.java:441) at othello.Othello.<init>(Othello.java:22) at othello.Othello.main(Othello.java:161)   I wasn't sure what to do, as the program had compiled fine just a few minutes earlier, so I updated Netbeans and Java. Once this was done, I found that the original program had developed the same issue! I am by no means an expert in Java, and its probably a mistake I'm making, so any feedback would be helpful. Here is the relevant code:  public void clear_board()  {     // go through array and reset buttons and check array     for (int x = 0; x < 8; x++)     {         for (int y = 0; y < 8; y++)         {             gui.boxes[x][y].setIcon(gui.back);             check[x][y] = cell_state.BLANK;             scores_w[x][y] = 0;             scores_b[x][y] = 0;         }     }      // set middle pieces     gui.boxes[3][3].setIcon(a);     gui.boxes[4][4].setIcon(a);     check[3][3] = cell_state.WHITE;     check[4][4] = cell_state.WHITE;     gui.boxes[4][3].setIcon(b);     gui.boxes[3][4].setIcon(b);     check[4][3] = cell_state.BLACK;     check[3][4] = cell_state.BLACK;      // reset win and clicks variables, round has been won     win = 0;     clicks = 4;     calc_num_pieces(); }   Thanks in advance for any help!


In general, would you always prefer feasible GLS to OLS?

I know that GLS estimators only have exact distributions asymptotically, so the efficiency gains in finite samples are not all that clear. But otherwise, I'm struggling on how to attack this discussion.


Is there an equation to describe regular polygons?

For example, the square can be described with the equation $|x| + |y| = 1$. So is there a general equation that can describe a regular polygon (in the 2D Cartesian plane?), given the number of sides required?  Using the Wolfram Alpha site, this input gave an almost-square: PolarPlot(0.75 + ArcSin(Sin(2x+Pi/2))/(Sin(2x+Pi/2)*(Pi/4))) (x from 0 to 2Pi)  This input gave an almost-octagon: PolarPlot(0.75 + ArcSin(Sin(4x+Pi/2))/(Sin(4x+Pi/2)*Pi^2)) (x from 0 to 2Pi)  The idea is that as the number of sides in a regular polygon goes to infinity, the regular polygon approaches a circle. Since a circle can be described by an equation, can a regular polygon be described by one too? For our purposes, this is a regular convex polygon (triangle, square, pentagon, hexagon and so on).  It can be assumed that the centre of the regular polygon is at the origin $(0,0)$, and the radius is $1$ unit.  If there's no such equation, can the non-existence be proven? If there are equations, but only for certain polygons (for example, only for $n < 7$ or something), can those equations be provided?


How to make something like float: down with relative position?

I'm trying to move the element to the bottom of its parent but only way to do that is to make it positioned absolute but i want it to be relative.    #output{   height: 100px;   background-color: red; }  #inner{   height: 30px;   background-color: blue;   /*float: down*/ }


When $SHELL variable does not change when I switch shell

I am using 'zsh' by default.  But when I am in my zsh shell, I enter 'bash' to switch to bash, why the $SHELL variable does not change?  Can I make screen to use whatever shell I right before execute the 'screen' command?  zsh % screen <the shell is zsh>  zsh % bash bash $ screen <the shell is still bash, can I make screen to automatically start bash here>


Track object and draw path on top of video

Is it possible to achieve a result like this using Blender, where the trail of the ball is drawn on the video?   (Screen capture from the video)   I've only really used blender for video editing, so any pointers are much appreciated. I was able to track the bowling ball for a few frames but as it got smaller I had to create a new marker and resize (any way to overcome that?)  Finally, I'm not sure what steps to take after I've tracked the ball in order to render the line on top of the view.


The difference between two statements [PUNCTUATION]

Sentence 1: A is friend of B who is eating an apple.  Sentence 2: A is friend of B , who is eating an apple.  In which Sentence it can be said that A is eating apple? Does the usage of comma change the context of who is eating apple?


Find all functions $f:\mathbb R \to \mathbb R$ that satisfy $f(x) + 3 f\left( \frac {x-1}{x} \right) = 7x$ for all nonzero $x$.

Find all functions $f:\mathbb R \to \mathbb R$ that satisfy $$ f(x)  + 3 f\left( \frac {x-1}{x} \right) = 7x $$ for all nonzero $x$.    I don't know what's going on today, my brain is not moving!  I'm stuck on this problem.  Solutions are greatly appreciated.


List of Tuples Generic Array Creation Error - Java

This works:  static class HashMap {          private final int initialCapacity;         private final double loadFactor;         private List<Data<Character, Integer>> [] table;          public HashMap() {           this.initialCapacity = 16;           this.loadFactor = 0.75;           table = (List<Data<Character, Integer>> [])new Object[initialCapacity];         }     }   This doesn't work (gives a generic array creation error):  static class HashMap<K, V> {      private final int initialCapacity;     private final double loadFactor;     private List<Data<K, V>> [] table;      public HashMap() {       this.initialCapacity = 16;       this.loadFactor = 0.75;       table = (List<Data<K, V>> [])new Object[initialCapacity];     } }   How do I get the second version to work?  As you can probably tell, I'm trying to implement a generic HashMap for fun. The Data class is just a simple, custom tuple class that I wrote, and I would like my HashMap to function with any key/value types that the user may provide. The table array is an array of linked lists that contain tuples (basically a hash table). NOTE: The List class here is NOT the built-in Java List class, it is also a class that I WROTE MYSELF!  There are some questions on SO regarding the generic array creation error, but none of them address this kind of scenario. Any ideas are appreciated!  P.S Here's the Data class in case anyone wants to test out the code:    static class Data<K, V> {     private final K key;     private final V value;     public Data(K key, V value) {       this.key = key;       this.value = value;     }     public K getKey() {       return key;     }     public V getValue() {       return value;     }     @Override     public boolean equals(Object obj) {       if (obj == null)         return false;       if (!Data.class.isAssignableFrom(obj.getClass()))         return false;        final Data<K, V> b = (Data<K, V>) obj;       return this.key.equals(b.getKey());     }   }


Solutions to the matrix equation $\mathbf{AB-BA=I}$ over general fields

Some days ago, I was thinking on a problem, which states that $$AB-BA=I$$ does not have a solution in $M_{n\times n}(\mathbb R)$ and $M_{n\times n}(\mathbb C)$. (Here $M_{n\times n}(\mathbb F)$ denotes the set of all $n\times n$ matrices with entries from the field $\mathbb F$ and $I$ is the identity matrix.) Although I couldn't solve the problem, I came up with this problem:  Does there exist a field $\mathbb F$ for which that equation $AB-BA=I$ has a solution in $M_{n\times n}(\mathbb F)$?  I'd really appreciate your help.


I want to iterate over stdout of a subprocess while the subprocess is still running. My current approach looks like this:  proc = subprocess.Popen(['long_running_command'], stdout=subprocess.PIPE) for line in iter(proc.stdout.readline, ''):     # do some stuff     print(line.rstrip())   At the moment the code in the for-loop will only be executed when the subprocess is finished. Is it possible to iterate over stdout of a runnnig subprocess and if yes how is it done? I know there are many existing threads with similar questions. However none of the provided answers seem to work for me.


Volumetric Lighting not showing very well

I'm making an old dusty attic render and I've come across a bit of a problem. (Or several) I'm using 300 samples and the Denoiser, and as you can see in the following picture the rays are not showing very well in the render but they are in the preview, this I could live with, but would still like help and tips on why it is doing that.. What is more, I have a sun lamp on the right side of the model and the rays are coming out on the left side where there is less if any light. My sun lamp is a 5 in emission value and the size is 1, and the light bounces are 1024. What is going on!?


Excel - How to merge rows from 2 tables based on a common column?

I am trying to merge 2 worksheets where only one col matches in content.  Column"A" in both worksheets have matching values but all other fields are different.   Worksheet1:     Col"A" colb colc cold     (worksheet1 has 25,000 rows)  Worksheet2:     Col"A" cole colf colg         (worksheet2 has 22,000 rows - so some rows are missing)  NEW COMBINED WORKSHEET NEEDS TO LOOK LIKE THIS:     Col"A" colb colc cold cole colf colg   (new worksheet has 25,000 rows)   How can I do this?  example illustration here: