Does the Produce Flame cantrip need a free hand?

The description of the  cantrip reads:  A flickering flame appears in your hand. The flame remains there for the duration and harms neither you nor your equipment. The flame sheds bright light in a 10-foot radius and dim light for an additional 10 feet. The spell ends if you dismiss it as an action or if you cast it again. You can also attack with the flame, although doing so ends the spell. When you cast this spell, or as an action on a later turn, you can hurl the flame at a creature within 30 feet of you. Make a ranged spell attack. On a hit, the target takes 1d8 fire damage.  If I have one hand occupied with a shield and another hand occupied with an arcane focus, can I cast produce flame into one of my occupied hands? If I have the War Caster feat, can I then use the flame as an opportunity attack while my hands are occupied? I'm getting ready for a one-shot battle-royale and want to be able to have a free damage cantrip.  This question is different from the question . The previous question is about casting produce flame with an open hand and then equipping an item. I am specifically talking about having both hands equipped with items and then choosing to cast produce flame.


CPUinfo:  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 Model name:            Intel(R) Core(TM)2 Duo CPU     E7500  @ 2.93GHz Stepping:              10 CPU MHz:               2933.000 CPU max MHz:           2933.0000 CPU min MHz:           1600.0000 BogoMIPS:              5850.78 Virtualization:        VT-x L1d cache:             32K L1i cache:             32K L2 cache:              3072K Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf eagerfpu pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm tpr_shadow vnmi flexpriority dtherm


Transparent cancel editing button in chat

While trying to edit a message in chat, I thought for some reason the 'cancel editing' button was disabled since it showed up transparent.  However, apparently it is just a bug in the animation where the button fades in/out while traversing to message history using the up and down keys.  I'm using Chrome Version 22.0.1229.94 m.


If matter and antimatter were produced equally during the big bang, where is the rest of the antimatter?

As far as my understanding goes, during the 'Big Bang' equal amounts of matter and antimatter (matter's oppositely charged twin) were produced, and the physical matter that remains within this universe is what's left over from the equilibrium of matter and antimatter canceling one another out following the Big Bang. If matter and antimatter truly do cancel one another out (are transformed into pure energy) upon contact, than:  a) why is there still matter in existence?  b) if matter is still in existence then doesn't that mean that somewhere within the universe there is an equal amount of antimatter?


SE about general research design and methology

As far as I have seen, there are only field-specific SE's for questions regarding research methods.  I agree, that it makes sense to ask question about research design and methodology in context of the field of study.  But when studying research methods and research design in preparation for future studies, I am facing a domain of it's own. The literature about research methods is mostly not bound to any field (with some exceptions of really field-specific methods).  This concerns many questions regarding (among others):   Interview design and interview practice, survey design, coding practices, instruments and instrument design, item design Adequate sample sizes, anonymizing data and sensitive data, proper Evaluation Validity, reliability, economy of testing Research ethics and unethical research design   Where would those questions be asked, if not bound to any specific field of study? If there is none, would it make sense to have one like "Research Methods"?  Update:  As I can see there are two pages close to the described above -  and .  While as I can see, Academia is related a lot regarding every day questions of an academic - ranging from juridical and administrative to professional career related questions.  Open science looks very focused on strategies and QA to make Science more accessible in general, like open journals, licensing, publishing and documentation/transparency of research.  Both sites focus in my opinion on other content than research methodology. If nobody has an interest against a proposal, I would tend create one at Area51.


how can i achieve that braces are on both sides, so in the beginning and the end of each cases environment? I Think this looks better than now.  \documentclass[12pt]{article}  % This first part of the file is called the PREAMBLE. It includes % customizations and command definitions. The preamble is everything % between \documentclass and \begin{document}.  \usepackage[margin=1in]{geometry}  % set the margins to 1in on all sides \usepackage{graphicx}              % to include figures \usepackage{amsmath}               % great math stuff \usepackage{amsfonts}              % for blackboard bold, etc \usepackage{amsthm}                % better theorem environments  \newtheorem{thm}{Theorem}[section]  \begin{document}  \begin{thm}  There is \begin{cases} test1 \\  test2 \end{cases} if \begin{cases} condo \\  condo \end{cases} to do.  \end{thm}  \end{document}


Print Lines Between Two Patterns with SED

I have a file with the content shown below:  ***************Encrypted String***************  ezF7LcHO0Zlb+8kkBeIwtA==  **********************************************   I need to get only encrypted password from above. I used Google to search for an answer, and I got this example (below), but it didn't work:  sed -n '/***************Encrypted String***************/,/**********************************************/p' $file   I tried but it didn't work


Following a lot of people's advice, I am trying to use Mavensmate. Coming from developer console, there are still things I am not used to. One thing is I can't find where the debug log is. I tried everything I can think of under Mavensmate > debugging, but it seems to just processing for a while and then tell me it is a pass - but where is the log?   I assume that the debug log is not auto-generated like in developer console - so need to generate either a quick or debug log before opening it. Is that correct?


A new recipe to the cube was added with the 2.4 update, which is augmenting ancient items.    The recipe is pretty clear, but I saw people ruining their items by adding wrong stats (intelligence on demon hunter etc.). Is it related to the gems' types?   For example, if I used Royal Emeralds, would I get dexterity (considering it is an armor piece)?


Does work function of a metal plate depend on its net charge?

In photoelectric experiment, we always keep the work function constant. It seems to me that as the metal plate loses its negative charge, it may take more energy to pick up an electron off the surface of the conductor.  Is my intuition correct? And if so, does the maximum kinetic energy of photoelectrons decrease with time?


What is the scope of a namespace that is specified in a using directive outside of all functions?


Random contacts are appearing in my contacts, some are old friends, some I have no idea who they are. I have made sure that contacts from apps like Facebook and Linkedin, are not allowed to be synced. I thought that might be the end of it but no. A new contact appears on my phone with disgusting messages (redacted by IconDaemon) in the mobile number. I have a picture to show. I have deleted these contacts off my phone but can anyone help?


$C$ is cantor set on $[0,1]$.      [Definition: $A_0$ is the interval $[0,1]$. $$A_n=A_{n-1}-\bigcup_{k=0}^{\infty}\Big(\frac{1+3k}{3^n},\frac{2+3k}{3^n}\Big),\space\space n=1,2,\dots$$   The intersection $$C=\bigcap_{n=0}^{\infty} A_n$$   is called Cantor set on $[0,1]$]           (a) Show that $C$ is totally disconnected.          (b) Show that $C$ is compact.          (c) Show that each set $A_n$ is union of finitely many disjoint closed interval of length $1/3^n$, end show that the end points of this interval lie in $C$.          (d) Show that $C$ has no isolated points.          (e) Conclude that $C$ is uncountable.      I have no problem of showing the first four ((a), (b), (c) and (d)) part of the proof. But got stuck at (e). I know this theorem:     Let $X$ be the nonempty compact Hausdorff space. If $X$ has no isolated points, then $X$ is uncountable.   How can I show that $C$ is Hausdorff subspace of $[0,1]$?


I want to download and install .  How can I do this?


Markdown help page is broken (badly presented/formatted) on every site

In the  I see:    Is that what the help is supposed to say and look like? Because it doesn't make sense to me.  As animuson points out in a comment, all of the highlighted example text is being shifted to the very left of each line. The entire page is broken.


I am using res.cls to write my resume.  I have changed the indentation of my itemized list using:  \setlength{\itemindent}{-.5in}   This works great for the first line, but if the item goes onto the next line, the following line is not indented in this manner.     Is there anyway to fix this?


Why is the Ethernet not working with AUKEY USB C Hub?

USB ports are working just fine - only the Ethernet does not work.  uname / syslog output:  Linux matteo-notebook 4.10.0-041000-generic #201702191831 SMP Sun Feb 19 23:33:19 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux  NAME="Ubuntu" VERSION="16.04.2 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.2 LTS" VERSION_ID="16.04"   Feb 25 02:26:55 matteo-notebook NetworkManager[1075]: <info>  [1487986015.1755] device (enx00e14c687c7e): state change: unmanaged -> unavailable (reason 'managed') [10 20 2] Feb 25 02:26:55 matteo-notebook kernel: [ 4757.383930] IPv6: ADDRCONF(NETDEV_UP): enx00e14c687c7e: link is not ready Feb 25 02:26:55 matteo-notebook NetworkManager[1075]: <info>  [1487986015.1828] keyfile: add connection in-memory (5124e103-6869-3cb6-b4bf-88de4e4bca18,"Wired connection 2") Feb 25 02:26:55 matteo-notebook NetworkManager[1075]: <info>  [1487986015.1840] settings: (enx00e14c687c7e): created default wired connection 'Wired connection 2' Feb 25 02:26:55 matteo-notebook kernel: [ 4757.388887] IPv6: ADDRCONF(NETDEV_UP): enx00e14c687c7e: link is not ready


Naming pic just like I can name nodes in tikz

Is it possible to name a pic just like I can name a node in tikz?  I have tried  \pic (A) {man}; \pic [right=of A] (B) {man};   but it gives me the warning Package pgf Error: No shape named A is known.


Google Webmaster Tools can't access robots.txt and the home page is "temporarily unreachable"

My site  suddenly disappeared from Google search and Webmaster Tools says it can't access robots.txt. Fetch as Google says "temporarily unreachable" for robots.txt and even for the home page. The robots.txt tester throws the below error:     You have a robots.txt file that we are currently unable to fetch. In such cases we stop crawling your site until we get hold of a robots.txt, or fall back to the last known good robots.txt file.   My website comes up fine in browser and even robots.txt comes up fine. What could be the reason?   My Robots.txt content:  User-agent: * Allow: /  User-agent: Googlebot Disallow: /Admin/ Allow: /   I have not moved hosts recently. It was working fine and it happened suddenly.


Compute the period of a decimal number a priori

I noticed that , given an operation like $\frac{n}{m},\;n,m \in N$ that result in a periodic decimal number, computes really fast the length of the period.  E.g. $\frac{3923}{6173}$ has a period of 3086: .  I was wondering how this computation is done: is there some method to do this (except the trivial one of executing the division and looking for a sequence repetition) ?


It's easy to prove that $L_{p}(K)$ is separable , using Stone theorem. But how can we show the same result for real line ?  I thought about considering : $ \mathbb{R} = \cup (a_i , b_i] $ and $\mathbb{1}((a_i , b_i])$. But my teacher said that they are not in $L_{p}$.


Calculate $\int^{n+1}_1 \frac{(\{x\})^{[x]}}{[x]}dx$ where $n\in\mathbb{N}$, $[x]$ is the integer part of $x$ and $\left\{ x\right\} =x-[x]$.

Problem :   Let $n$ be a positive integer, for a real number $x$, let $[x]$ denote the largest integer not exceeding x and $\{x\} =x -[x]$ Then $$\int^{n+1}_1 \frac{(\{x\})^{[x]}}{[x]}dx$$ is equal to   (a) $\log_e(n)$   (b)  $\frac{1}{n+1}$   (c)  $\frac{n}{n+1}$   (d)  $1+\frac{1}{2}+\cdots +\frac{1}{n}$   Please suggest how to proceed in such cases not getting any clue how to proceed in cases of fractional part and greatest integral cases. please guide will be of great help thanks.


I need to prove that the following sequence is unbounded: $$ Z_n := \left(1+\frac{1}{n}\right)^{n^2} $$ for $n\in \mathbb N$.  I know that I essentially need to show that $\forall M \in\mathbb{R}$ there exists $z_N \in Z$ such that $M < z_N$, i.e., $$ M < \left(1+\frac{1}{N}\right)^{N^2}, N\in\mathbb{N}$$ But frankly, I'm lost as to how to prove that. I was able to prove that $(1+\frac{1}{n})^{n}$ was bounded above by say, 3, by using the fact that $$\left(1+\frac{1}{n}\right)^{n} = \sum_{k=0}^n\binom{n}{k}\frac{1}{n^k} = \sum_{k=0}^n\frac{1}{k!}(1)\left(1-\frac{1}{n}\right)\left(1-\frac{2}{n}\right)\dots\left(1-\frac{k-1}{n}\right)$$ and then showing that $$\sum_{k=0}^n\frac{1}{k!}(1)\left(1-\frac{1}{n}\right)\left(1-\frac{2}{n}\right)\dots\left(1-\frac{k-1}{n}\right) < \sum_{k=0}^n\frac{1}{2^k} < 3 \text{ (telescoping sum)}$$ But the same method does not work for the sequence $Z_n$. Any ideas? (Please have mercy) Thanks!


Font OT1/ptm/m/n/9=ptmr7t at 9.0pt not loadable: Metric (TFM) file not found

My .tex file failed the LaTeX compile with one of this problem, my OS is Ubuntu 12.04, and it seems to have the same problem in Fedora 16. Can someone help me with this?


This is proving to be a challenge.  I'm trying to make the excerpt a required field, but only when editing/saving a post in a custom post type.  The following code makes the excerpt a required field for all posts, but doesn't take into account for narrowing its affect to a single custom post type.  function mandatory_excerpt($data) {   $excerpt = $data['post_excerpt'];    if (empty($excerpt)) {     if ($data['post_status'] === 'publish') {       add_filter('redirect_post_location', 'excerpt_error_message_redirect', '99');     }      $data['post_status'] = 'draft';   }    return $data; }  add_filter('wp_insert_post_data', 'mandatory_excerpt');  function excerpt_error_message_redirect($location) {   remove_filter('redirect_post_location', __FILTER__, '99');   return add_query_arg('excerpt_required', 1, $location); }  function excerpt_admin_notice() {   if (!isset($_GET['excerpt_required'])) return;    switch (absint($_GET['excerpt_required'])) {     case 1:       $message = 'Excerpt is required to publish a post.';       break;     default:       $message = 'Unexpected error';   }    echo '

' . $message . '

'; }  add_action('admin_notices', 'excerpt_admin_notice');


So, i want to install Spotify but it wont let me, it is a dpkg error

This is what it tells me anywhere I try, the store and terminal  *Setting up spotify-client (1:1.0.80.480.g51b03ac3-13) ... dpkg: error processing package spotify-client (--configure):  installed spotify-client package post-installation script subprocess returned error exit status 1 Errors were encountered while processing:  spotify-client E: Sub-process /usr/bin/dpkg returned an error code (1)*   So I want to know how to fix this and get this to work on my computer iv tried many things but nothing seems to work, i have also purged the Spotify client and reinstalled, and then it says the same thing I need some help, my computer runs Deepin if that helps


How would I integrate following trigonometric function $\displaystyle\int \sin^3(x) \,\operatorname{d}x$?

How to evaluate $$\displaystyle\int \sin^3(x) \,\operatorname{d}x$$  without using integration by parts?


placing the full width table caption on top of the table in tufte-latex book

I am using tufte-latex book format for writing my thesis. I have a full width table which I can easily define within table* environment in tufte book. As far as I understood, the caption should also be full width. However, I still get it on the right margin. Any idea how to solve this issue? I also want the caption to be placed on the top of the table. Here is my MWE:  \documentclass[nols,a4paper,justified,marginals=auto]{tufte-book} \usepackage{makecell} \usepackage{booktabs} \usepackage{multirow} \renewcommand{\arraystretch}{1.2} \usepackage[flushleft]{threeparttable} \begin{document}   \begin{table*}[h!]   \centering   \begin{threeparttable}     \caption{here I have a long caption that I want it to be in the fullwidth format as the table but I get it in margin.\label{table3}}%     \begin{tabular}{llllllllllllllllllll}%       A&B&C&D&E&F&G&H&I&J&K&L&M&N&O&P\\%      0.50&$0.47^{a}$&0.48&0.50&0.47&0.48&0.60&0.39&1.00&\0.48&0.50&0.47&0.48&0.60&0.39&1.00\%     \end{tabular}%     \begin{tablenotes}        %\footnotesize        \item $^{a}$ some extra information about this number.     \end{tablenotes}   \end{threeparttable} \end{table*} \end{document}    Thanks in advance.


How do I type on the next line in the Terminal?

I am using Ubuntu 12.10 and want to run a set of commands in the terminal, and from what i see in the instructions, these commands each start on a new line. I don't know how to do this in the terminal. I can't find what key to press to do the carriage-return to the next line.


lubuntu 19.10 / myria MY8312SV / discover app / can not obtain lock

I can not install nor upgrade anything  'can not get lock var/lib/dpkg/lock-frontend. it is held by the process 2469 ...'  could you suggest what to do to ?


Stack Exchange API Optimal, Acceptable Request Frequency

I used the Stack Exchange API and received this error: [1] "{\"error_id\":502,\"error_message\":\"too many requests from this app/user pair, more requests available in 20189 seconds\",\"error_name\":\"throttle_violation\"}"  I follow the instruction here (), where they "consider > 30 request/sec per IP address to be very abusive and thus cut the requests off very harshly". Therefore, I only send one request every 1 second, and still receive the 502 error, not always but sometimes. What should be the optimal request frequency?


In the US, it is common to use the idiomatic expression "knock on wood" to keep "a good thing going."  Is it the same in the UK, or do they use a different idiomatic expression?


Error with systemd-shim package after upgrading to Ubuntu 18.04

After running the installation package, the following errors appear:  Shim for systemd systemd-shim Try to send a bug report installed systemd-shim package post-removal script subprocess returned error exit status 2   I was loading software and the uploading failed with this error message:  (Reading database ... 1684754 files and directories currently installed.) Removing systemd-shim (9-1bzr4ubuntu1) ... Removing 'diversion of /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service to /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd by systemd-shim' dpkg-divert: error: rename involves overwriting '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service' with   different file '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd', not allowed dpkg: error processing package systemd-shim (--remove):  installed systemd-shim package post-removal script subprocess returned error exit status 2 Errors were encountered while processing:  systemd-shim


Generics class constraint multi level inheritance

Looking for help to put such structure together.  Have base generic class:  public class A<T>     where T: class {     public T info { get; set; }     }   Works good for one step inheritance like:  class B : A<BInfoClass>{}   But need same for higher hierarchy members like, but without making all classes generics:  class C : B<CInfoClass>{}   Need possibility to have specific "info" type for each B, C, D etc. ("info" classes derive from one base):


Find optimal estimator for exponential distributions.

Consider $X_{1} \dots X_{n}$ are i.r.v with $Exp(\theta)$ ($p_{\theta} = \theta e^{-\theta x}$). We want to find optimal estimator of $\theta$ (i.e. unbiased estimator with minimal variance in unbiased estimator class).   Our teacher tells us that it can be done with using sufficient and completeness statistics.  It's easy to determine that $X_{(1)}$ is satisfy this properties. Now we want to make it unbiased.  We need to find some $f(x)$, such as : $\mathbb{E}(f(X_{(1)}) = \theta$.   That is a problem moment. Actually I'm thinking that there is no such functions.  I've tried to consider some easy examples : $f(x) = x^{m}, f(x) = \log{x}$ and $f(x) = e^{x}$ but it give's me only $\theta^{a}$ ,where $a \ne 1$ or functions like $\frac{\theta^{m}}{\theta^{2} + const}$ .  Any hint's will be good .


I am using Regular expression in the validation while I am trying to match the string with giving pattern, the result is not as expected  Pattern: (?:[0-9])*21([a-zA-Z0-9-]{1,15})  Expected result: I do not want to capture the letters or number until it matches 21, which  means  Example: I have a string, In this string, I do not want to capture the number and letter which is before 21 i.e I don't want to capture Aabcde12345 and the expected result should be 345621822 But, the result what I am getting is just 822 because in the number 345621822 21 will reoccur and gives me the result 822 which is wrong   can someone please help me   Note: Also Please help me to update start over Question according to it `    const text = "Aabcde1234521345621822"; const regex = "(?:[0-9])*21([a-zA-Z0-9-]{1,15})"; const result = text.match(regex);  console.log(result);  // expected output: Array [""1234521345621822"", "345621822"]     `


Ubuntu gets stuck in a login loop - 16.04, 18.04

My Ubuntu is stuck in a login loop when trying to enter my desktop. When I login, the screen gets black and soon after that the login screen comes back.


I recently came across this problem:     What is the value $$\mathrm{\lim_{n\to\infty}\int_0^1 \frac{nx^{n-1}}{1+x}dx}$$ Assume that the interchange of limit and integration is possible.   I have no idea how to begin solving this problem. I guess expressing the integral as an inequality might help, but I could not make any way out by that method. Any ideas?


I would like to run 2 actions with a custom button. For example in edit mode I would like to run 1. Disolve edges and after that, 2. Disolve vertex.  Is there a way to create this custom button?  Thank you.


Adding a symbol to nodes near coords in pgfplots

I'm currently making a bar plot with pgfplots and have numbers in percent on the x axis. I want to show the values directly at the bars for which I use nodes near coords. But because the values are given as numerical, I need to add the % by hand. I could this for the axis labels via xticklabel={\pgfmathprintnumber{\tick}\textsf{\%}}, but this didn't work for the nodes near coords.  I tried the point meta command, but it didn't work as expected. I read through the manual chapter 4.8, but couldn't find any help regarding adding a simple symbol to the nodes label.  Here's my MWE, which yields the (almost) wanted result, without the percent-symbols at the bars values:   \documentclass[border=1pt]{standalone}   \usepackage{pgfplots}  \begin{document}     \begin{tikzpicture}     \begin{axis}[         xbar,         height=5cm,         width=12cm,         axis y line*=left,         axis x line*=bottom,         enlarge y limits=0.3, %%%              xmin=0, xmax=20,         xticklabel={\pgfmathprintnumber{\tick}\textsf{\%}}, %%%         symbolic y coords={one, two, three},         ytick=data,         nodes near coords, %       point meta={x},      ]          \addplot[             draw=black!30,             fill=black!30         ]          coordinates {(10,one) (18,two) (5,three)};          \addplot[             draw=black!70,             fill=black!70         ]          coordinates {(9,one) (8,two) (7,three)};     \end{axis}      \end{tikzpicture}  \end{document}   Using something like point meta={x\%} only yields errors and I couldn't find any working solution.  Best regards


Stewpots for otherwise-closed questions?

Each Stack Exchange site has a two-branch structure:   Strict Q/A – No holds barred. No mercy. No wounds tended. An unending stream of excellent questions is accompanied by an unending stream of those well-intentioned but closed. Meta – Ideas. Whines. Chest thumps.   Why not a third branch to where inadequately-structured questions can be diverted for percolation? Who knows, it might produce something surprising.  Again and again. At worst, it could be a graceful way to filter contaminants:   Stewpot – Questions that may be all but ignored until they develop the right flavor.  Then again, they might spur incidentally helpful discussion without diluting functions of the first two branches.  Opinion-seeking questions might just nestle in and receive opinions.  (SE’s storage capacity already accommodates these questions. in closed form.)   This could be more constructive than stomping on questions and their novice askers. This could be more politic than shedding questions off to other sites to see how they handle them.  Some sites have “sandboxes” that, in a way, seem to approximate this. This might also require too much reprogramming, well understood.


How to install Internet Explorer (multiple versions)?

I am developing one site which has chat feature in Rails. I am using Ubuntu 12.04 LTS. I need to check that the site is IE9 because the chat feature using socket io of HTML5. I want to know that how to install IE9 in Ubuntu. I have looked at Chrome and Firefox extensions but if any standalone is available then please give me suggestion.


Identity column not generating correct IDs

I have a table:  CREATE TABLE [dorkOrder] (      [doId] int identity(1,1)  NOT NULL,     [shId] int NOT NULL,     [mopId] int NOT NULL,     [dorkOrderNo] varchar(20) NULL,     [doDate] date NULL );   Now when I am inserting data into it instead of generating doId in this manner 1,2,3,4,5,6,7 it is generating it in following weird manner:  1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 2002 2003 2004 2005 2006 2007 2008 2013   Please help me solve this issue.


Do Boolean rings always have a unit element?

Let $(B, +, \cdot)$ be a non-trivial ring with the property that every $x \in B$ satisfies $x \cdot x = x$. How does one prove that such a ring $(B, +, \cdot)$ must have a unit element $1_B$? (Or, in case this is not true in general, what is a counterexample?)   BTW, I'm looking for an elementary proof, not requiring anything more than the definition of a ring, the definition of $(B, +, \cdot)$, and, if necessary, the easily shown facts that $x + x = 0$ and $x\cdot y = y\cdot x,\,\forall\, x,y \in B$.


I had answered someone who asked a very lazy question (-5 votes, link below) that had a real-value answer (+9 votes) and due to three users deleting the question I lost all of those reputation points - that's not the main issue. Reputation points aside it was a frequently asked question by folks who were inexperienced or new to the Apple Developer Portal as navigating to the beta content within that portal isn't always inherently obvious out of the gate.  With that being said as a semi-new user I'm having trouble comprehending why a question (lazy or not) that has a real-value answer that is helping people with the same question would still be closed. From a community based on sharing & learning that seems counter intuitive to me.   (for those with access)  EDIT: My last post on this just to prove how short-sighted the bureaucrats can be on this site. Googling "download xcode 5" reveals that the deleted question I'm complaining about is the 4th hit. Way to drive that site traffic Stack moderators!


Is it possible to set value for drop down using the display text?

I'm having the select field as below.  <select id="mySelect1">   <option value="-1">select</option>   <option value="1">Node-Red</option>   <option value="2">Node</option>   <option value="2">Node-JS</option> </select>   Note: I have the same value for two options.  When I tried below link suggestion it always set the final matching value.    example: if I tried to set the value for the drop down as "Node" using the below code, it always selects Node-JS in the drop-down.  $("#mySelect1 option:contains("Node")").attr("selected", true);   So is it possible to set the drop down values using the text(not with matching value ) with the same value for many options ?  Any Suggestions ?


Unable to install Ubuntu Linux 12.04 / 13.04 after downloading file in Windows

Help! After I downloaded Ubuntu 12.04 and 13.04 Desktop version, I find that I can't install it, as it doesn't work! It says that its not a valid win32 application and I know it's not.  But why is it that, if I use my very old first version of Ubuntu Linux desktop that was delivered to me from Ubuntu - it can still install normally even though it has no updates.  How come this version that I download from your link on the Ubuntu website, is not working? The folder  size is 0kb.  I really wanted to have the 12.04 version of Ubuntu Desktop... I really want to install Ubuntu inside my Win Xp OS.  I love Ubuntu!!!


language-selector-gnome in Precise can not be checked for update

I tried to update the system (Ubuntu 12.04 LTS "precise") with the Update Manager.  It shows 2 important security updates for language-selector-common (0.79.4) and language-selector-gnome (0.79.4), but they can't be selected.  They should be, as any package in Update Manager and as I had done a lot of times.  I check in Synaptic and found the two packages marked with an ! symbol in gray; I don't know what it means.  The installed version is 0.79, for both packages.  I mark them for update, and Synaptic asks to mark for delete language-selector-gnome, ubuntu-desktop and ubuntu-standard.  I don't know if I should delete them or do something different.   If I try to update language-selector-gnome first, it asks to delete ubuntu-desktop. If I try to apply the changes, Synaptics shows a message saying that it can not update because it has language-selector-commons as an unsolvable dependency (it needs language-selector-common 0.79.4).   What should I do?  Leave it without updating?  If update, which would be the correct order in the process? ("first delete this package, then update the other, then reinstall a third" or something like that).  Is the bug in Update Manager, instead?  I guess it has something serious; I've checked the changes report in the un-checkable update and it shows:  "SECURITY UPDATE: possible privilege escalation via policykit UID lookup race. - dbus_backend/ls-dbus-backend: pass system-bus-name as a subject instead of pid so policykit can get the information from the system bus."  It is confirmed in the National Vulnerability Database (linked from CVE-2013-1066), it links also to a bug for the update (0.79.4), not for the package to be updated (0.79):    So even the update should be reviewed.  Thanks in advance.


I need to take an average of several rasters using ArcGIS. Suppose there are 6 rasters and want to have an average of all those 6 rasters. How can I do so?


What's the correct pronoun for "people like us"?

In the sentence "people like us never wash […] hands", should the pronoun be "our" or "their"?


What is the trick to the final boss fight in Uncharted 3?

This may seem like a bit of a weird question, especially considering I beat the game on Crushing last night, but here goes...  What is the trick to winning the final boss fight against Talbot on the Crushing difficulty? While I did finally defeat him last night, it seemed due more to luck than skill. But there must be some pattern to it, or some sequence of events that must happen. However, it took me many, many attempts to finally overcome him, and during all these attempts I seemed to be getting a lot of successful hits, and fending attacks successfully. Some attempts I was fighting him for well over 3 minutes, but when I finally defeated him, it took just over 2.   In summary; I beat him, but I have no idea what the magic formula was that allowed me to do so.


ubuntu on 14.04 hyper-v connection problem

I recently download the new disk of 13.04 of 32bit. I have Hyper-v on windows 8 64bit. I try to operate 13.04 on hyper-v but I can't connect to the network. I have already set at hyper-v manager that will create my wifi connection to network. It work at windows 7 and 12.04 inside the Hyper-v, so I know the setting I set for vm is right.  How I can also operate network at 13.04? I try already with legacy and non legacy network.


If I start with a java.io.InputStream, what's the easiest way to read the entire stream out into a String (assuming utf-8)?  This should be pretty easy but I'm mostly a C# person and google is failing me on this. Thanks.


Fit table with multi-column into two-column page

I want to fit a multi-row table into one page. The table could not fit even after I substitute l with p{4cm}. I have attached my code and screenshot.  \begin{table}[] \begin{tabular}{@{}lllll@{}} \toprule \textbf{Clustering Method}    & \textbf{Features}                                                                      & \textbf{Ref.}                                                                                &                       &                       \\ \midrule \textbf{K-means}              & Sensitive to the number of clusters specified {[}9{]}                                  & \multicolumn{1}{l|}{Segmentation of heat consumption intensity to characterise building behaviour at urban scale} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\                               & Only minimises distance within cluster                                                 & \multicolumn{1}{l|}{Classification of spatio-temporal electricity demand profiles at urban scale}                 & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\                               & Does not work well with outliers                                                       & \multicolumn{1}{l|}{Classify heat exchange station based on the smart meter recordings}                           & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\                               & Only clusters spherical shape data                                                     & \multicolumn{1}{l|}{Clustering energy performance in European buildings}                                          & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\ \textbf{Jenks Natural Breaks} & Depends on the number of breaks specified                                              & \multicolumn{1}{l|}{Classification of geothermal potential}                                                       & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\                               & Minimises distance within cluster and maximises the deviation between cluster {[}10{]} & \multicolumn{1}{l|}{Default classification method on mapping software}                                            & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\                               & Performs well in heavily-skewed data {[}11{]}                                          & \multicolumn{1}{l|}{Differentiation of ecosystem bundles for landscape planning}                                  & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\ \textbf{DBSCAN}               & {\ul Number of clusters need not be specified}                                         & \multicolumn{1}{l|}{Disaggregation of electrical meter data to identify distinct groups of loads}                 & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\                               & Separate high density data points from low density data points                         & \multicolumn{1}{l|}{Clustering West Nile Virus spatio-temporal data}                                              & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\                               & Handles outliers efficiently                                                           & \multicolumn{1}{l|}{}                                                                                & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\                               & Can identify arbitrary shape data                                                      &                                                                                &                       &                       \\ \bottomrule \end{tabular} \end{table}


snap - how to grant permanent permission to read folder

I have installed chromium snap package. Each time I download file and try to open it or download folder I see a GNOME prompt form with question:      Allow opening file?   Allow snap "chromium" to open file "/home/username/Download"?   How can I disable it permanently? Is there an option to grant read/open permission to this folder for particular snap package?    OS: Ubuntu 18.04 LTS X: GNOME snapd version: 2.33


My syslog is being flooded be the following, which is obviously WLAN connection related.  This question is How to disable logging of wpa_supplicant into syslog?  Nov 16 03:58:14 vb-nb-mint wpa_supplicant[1523]: wlan0: WPA: Group rekeying completed with 30:b5:c2:b9:c8:f2 [GTK=CCMP]   EDIT1: I think my question is different, because I don't even know what wpa_supplicant is doing in the background and not in some script. I am on Mint 18 and just want a clean syslog without this.


What will time dilation look like from multiple reference frames?

Suppose there are 2 observers each with a watch, both show exactly the same time.  Suppose observer A stands on earth (which may be considered an inertial frame of reference) and observer B sits in a spaceship with speed as much as 100,000,000 m/s. When both will later meet on earth again, if the proper time was 100 s, then putting the values in the time dilation equation, the new time will be 106 s i.e. a difference of 6 seconds in the watches.  For observer A, the watch of observer B is the event and it should be showing 100 seconds while his own watch shows 106 seconds has passed. But for observer B, the watch of observer A is the event and he should see that it is the watch of observer A which is showing 100 seconds while his own watch shows 106 seconds.  Following the time dilation principle both observers should see that it is the other's watch which is showing the effect of time dilation and is 6 seconds behind (because the time for the event had slowed down or dilated). But isn't this practically impossible that each one observes a different time in their own and the other's watch? What will happen in actuality?


After the latest Win8.1x64 Updates, my system got stuck restarting or shutting down..

When I installed the last Windows update, all seemed fine except it got stuck doing the restart.  I waited about 5 minutes then used the power button.  Startup was normal.    But then when I told it to shut down it closed the programs then went to the "Shutting Down" screen and just stays there.    Disk activity lights aren't showing any activity.  Here is a screen grab of the most recent updates:    Before I do anything I wanted some input.  Question:  Any ideas of how I can figure out how to fix it?


This question led to a new package:      Is there a way to draw  easily?


What are the color temperatures of the iPhone 6's flash?

The iPhone 6 has a dual-LED flash. What are the color temperatures of the two LEDs? Are there any commonly occurring light sources or scenes that are outside this range? For example, a sodium vapor lamp at 2700K?


Newton's 2nd law for rotation (accelerated rolling and inertial frame of reference)

I need help in understanding why, in accelerated rolling, the center of mass must be at the origin of an inertial frame of reference in order for the second law to be applicable.  Thanks!


How do I get a right-click command line for a folder?

I want to be able to right click on a folder called (C:\myFolder) and have a command prompt open  like this...  Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation.  All rights reserved.  C:\myFolder>   Is this possible?


I generally buy perfume from duty free shops at airport but obviously those perfumes don't get finished during the trip. So while coming back or in future trips I want to use those perfumes but as bottles are not sealed after being used once, my worry is that it might leak in check-in luggage. And in cabin baggage the liquid items are allowed in limited quantity.  Any ideas on how to carry an open bottle of perfume while travelling?


Renaming all files in a directory while keeping the same initial part of the name

I have a directory full of files.  I want to rename all the files that match *.py to -backup.py.  How do I do that.    I know I can use for i in *.py, but from there I'm not sure how to keep the initial name and just append backup to all of them.


Please bear with my stupid question.  I want to know the difference between ' and " in bash.  Please explain it to me with an example.


Placement of varistor with respect to fuse

My design includes a pretty standard AC/DC converter powered by mains for intended use at home. For overvoltage and overcurrent protection, I am planning to use a combination of varistor and fuse placed before the power converter.  I understand it is good practice to put the fuse before the varistor - in an overvoltage event, the varistor will draw a large current that may blow the fuse, protecting the rest of the circuit and even the upstream circuitry.  However, due to extremely tight layout, it is very hard to put the fuse before the varistor.  What risk am I running if I put the varistor before the fuse?  What if I put a second fuse in series with the varistor? Does it negate the varistor's protection of the downstream circuit?


Looking for a book on a 1st differential equations course

I'm currently taking differential equations but the guide book (Elementary differential equations and boundary value problems) is aimed for engineers (much like the calculus one from Stewart). I'm looking for a book with the classic mathematical format (definition, theorem, corollary...) and not too much talk or applications.  Thanks


There are different types of problem.   or      There are different types of problems.   I easily get confused when I make such sentence(s). Look, still I am not sure whether I should use sentence or sentences.


The space $C^0([0;1],\mathbb{R})$ of all continuous, real-valued functions on $[0,1]$ is not reflexive.

How does one prove that $C^0([0;1],\mathbb{R})$ equipped with the supremum norm is not reflexive?  I don't understand how to show that the $J$ mapping is not surjective.


I’ve circled the icon in red. What is this notification/alert for?


public class test {      public static void main(String[] args) {         // TODO Auto-generated method stub          StringBuffer a = new StringBuffer("A");         StringBuffer b = new StringBuffer("B");          operator(a, b);         System.out.println(a + "," + b);      }      public static void operator(StringBuffer a, StringBuffer b) {         a.append(b);         b = a;     }   Why is b still print out B? I did b = a in the operator, shouldn't it print out AB as well?


Where should I post my question when it overlaps multiple sites?

Soon I will be starting with my side project to try and get out of corporate development and into game development. And I am sure I will have a lot of questions - I already have, but I first need to try and figure it out on my own.  I can see that some of the questions I have will overlap between sites. Most will be relating to game development, but will also have non game related implementations.  As I am sure someone will ask me for the types of questions or a question example, here is one:     One of the things I need to figure out is how to store each player's map, and map exploration. I am reading up on a couple of options and one option I am looking at with regards to map exploration storage is a quadtree, more specifically about how I will store the quadtree data on disc/db.   Now I have not done much reading on this topic yet, so it is not a real question, but an example of how the questions can overlap between Game Development and Stack Overflow.  Should I ask those questions that overlap game development an non game development in Stack Overflow rather than Game Development, and have it moved to Game Development if it is deemed too specific? Or should I post it all in Game Development since my questions arise from and will be implemented in Game Development?   Side question: what is the impact of having a couple/too many of your posts moved to another site?    I have tried to find similar questions here on meta, but topics like  ended up a discussion on the validity of the questions rather than guidelines as to where to post questions. So I am still uncertain about the rule of thumb regarding this.


How to install squid-deb-proxy-client via preseed/early_command

Using Lucid, installing from the Lucid mini.iso.  Both AMD64.  In the following I've tried as \, all of apt-get, apt-install, anna-install, dpkg:  d-i preseed/early_command string <cmd+opt> squid-deb-proxy-client   I've also tried:   d-i preseed/early_command string /usr/bin/wget \     -O squid-deb-proxy-client_0.3.1_all.deb \     http://ubuntu.media.mit.edu/ubuntu//pool/universe/s/squid-deb-proxy/squid-deb-proxy-client_0.3.1_all.deb && dpkg -i squid-deb-proxy-client_0.3.1_all.deb   Is this possible, and if nor what is the earliest point one can get a installation to use the squid-deb-proxy server?


MacBookAir kernel_task at 300% and rising

I have a MacBookAir5,1 connected to a Thunderbolt Display.  When it gets very hot, PID 0 "kernel_task" uses ever more CPU until reaching 340% and slowing the Mac down sufficiently to make me restart it.  I found a proposed solution  but it says to "move the ‘plist’ file for the model identifier we discovered earlier out of that directory" which does not apply to me because my installation of Mountain Lion does not have a plist for my 2012 MacBook Air. system_profiler tells me that I have a MacBookAir5,1.  I tried a few things. I figured that since overheating appears to cause this, I should try not to overheat the poor Mac. However, I neither understand why Mac OS X' reaction to overheating is to use 340% of CPU time nor did I manager to keep the lid open and still convince the Airbook to use the Thunderbolt Display as its only display.  I tried running from battery, assuming this would make the CPU run slower and not overheat, but when I remove the power cable from the Airbook, the Thunderbolt Display just turns black, only recovering after several minutes when I reconnect the power cable.  What's going on?


Why do different colored LEDs interfere with each other when connected in parallel?

My very basic electronics education has taught me that parallel circuits are equivalent to separated circuits. To my surprise, when I was playing around with some electronics I found the following:  Essentially I connected two red and two blue LEDs in parallel. The red ones lit up, but the blue ones didn't. Only when I removed the red LEDs would the blue ones light.  Why is this?


Ubuntu fails to complete package install using Snap

When I try to install an application I can not and it tells me:  Cannot install "spotify": snap "spotify" has "install-snap" change in progress.


I was practicing with modeling and I created a bunch of light bulbs but they all have these really ugly bumps on the top of them.   If anyone has a solution to fix this, It would be very much appreciated if you could help.


How do I horizontally flip the display, in order for everything to look mirrored?


I wrote this programme where the user enters the nth term of the fibonachi sequence. So, if I typed 2, a message would appear that the second term of the Fib sequence is 1. I also want to output a message of the arrays upto the term they typed. E.g. is the user typed in 10, a message would appear showing all the numbers up to the 10th term in the fib sequence. Problem is that I dont know how to do that. It gives me a wierd number like @2235f23 (something like that).  My code:  import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.security.cert.X509Certificate;  import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JTextField;   public class maincard extends JFrame{         JLabel label;     JTextField txf;     JButton calculate;      public static void main(String[] args){          new maincard();       }      public maincard(){          thehandler handler = new thehandler();          JPanel panel = new JPanel();          this.setSize(460, 360);         this.setDefaultCloseOperation(EXIT_ON_CLOSE);         this.setLocationRelativeTo(null);         this.setVisible(true);         this.setTitle("Fibonachi Seqeuence");         this.add(panel);          label = new JLabel("Enter the nth term to find the value of the corresponding Fibonachi Sequence");         label.setToolTipText("What are you waiting for? Enter a damn number!!");         label.setVisible(true);         panel.add(label);          txf = new JTextField("Term");         txf.setSize(40, 25);         txf.addActionListener(handler);         txf.setVisible(true);         panel.add(txf);          calculate = new JButton("Calculate");         calculate.addActionListener(handler);         calculate.setSize(40, 60);               calculate.setVisible(true);         panel.add(calculate);          }      private class thehandler implements ActionListener{          @Override         public void actionPerformed(ActionEvent e) {             if(e.getSource() == calculate){                 int fibTerm = Integer.parseInt(txf.getText());                 int answer;                  int[] x = new int[fibTerm];                  x[0] = 0;                 x[1] = 1;                  for(int y = 2; y<x.length; y++){                     x[y] = x[y-1] + x[y-2];                  }                  answer = x[fibTerm-1];                 JOptionPane.showMessageDialog(null, "Sequence up to the " + fibTerm + "is: " + x);                 JOptionPane.showMessageDialog(null, "The term is: " + answer);             }          }     }  }   Oh and another question, finding the nth term works pefect but I dont see why it works when I write 'answer = x[fibTerm-1]' but doesn't work when I write 'answer=x[fibTerm]'


I have an apartment with 5 rooms inside. I painted the whole studio five years ago. I didn't really use the room. I left the apartment closed. The paint on the wall now dried out, a little faded from the original color. Some parts are damaged but the whole studio still remains the same.  I've already fixed the damage and I'm finding it hard to match the paint to the existing color of the room. I don't want to repaint the whole studio. Do you know any way to do that?  Thank you for your time.


Can't put a header logo image and footer text

Well. I'm writing a manual to my work. And I have to put a header with the logo image and a footer for the pages. I'm trying to use \lhead{...} \cfoot{...} just to see if it work. but I just can't make it work.  here is my code style.  \documentclass{memoir} \let\STARTCODE\relax  \let\STOPCODE\relax  \STARTCODE \usepackage{fourier} % or what ever \usepackage[scaled=.92]{helvet}%. Sans serif - Helvetica \usepackage{color,calc} \newsavebox{\ChpNumBox} \definecolor{ChapBlue}{rgb}{0.00,0.65,0.65} \makeatletter \newcommand*{\thickhrulefill}{%   \leavevmode\leaders\hrule height 1\p@ \hfill \kern \z@} \newcommand*\BuildChpNum[2]{%   \begin{tabular}[t]{@{}c@{}}     \makebox[0pt][c]{#1\strut}  \\[.5ex]     \colorbox{ChapBlue}{%       \rule[-10em]{0pt}{0pt}%       \rule{1ex}{0pt}\color{black}#2\strut       \rule{1ex}{0pt}}%   \end{tabular}} \makechapterstyle{BlueBox}{%   \renewcommand{\chaptername}{}   \renewcommand{\chapnamefont}{\large\scshape}   \renewcommand{\chapnumfont}{\Huge\bfseries}   \renewcommand{\chaptitlefont}{\raggedright\Huge\bfseries}   \setlength{\beforechapskip}{20pt}   \setlength{\midchapskip}{26pt}   \setlength{\afterchapskip}{40pt}   \renewcommand{\printchaptername}{}   \renewcommand{\chapternamenum}{}   \renewcommand{\printchapternum}{%     \sbox{\ChpNumBox}{%       \BuildChpNum{\chapnamefont\@chapapp}%       {\chapnumfont\thechapter}}}   \renewcommand{\printchapternonum}{%     \sbox{\ChpNumBox}{%       \BuildChpNum{\chapnamefont\vphantom{\@chapapp}}%       {\chapnumfont\hphantom{\thechapter}}}}   \renewcommand{\afterchapternum}{}   \renewcommand{\printchaptertitle}[1]{%     \usebox{\ChpNumBox}\hfill     \parbox[t]{\hsize-\wd\ChpNumBox-1em}{%       \vspace{\midchapskip}%       \thickhrulefill\par       \chaptitlefont ##1\par}}% } \chapterstyle{BlueBox} \STOPCODE \setlength\afterchapskip {\onelineskip } \setlength\beforechapskip {\onelineskip }  %ligando a numeração da subsection \setcounter{secnumdepth}{3} \maxtocdepth{subsection} \maxtocdepth{subsubsection}  %alterando nome da tabela e da figura \renewcommand{\figurename}{Figura: } \renewcommand{\tablename}{Tabela: }  %cabeçalho \usepackage{fancyhdr} \lhead{LOGO IMAGE HERE} \cfoot{TEXT HERE}  %Margem \setlength{\evensidemargin}{0.3cm} \setlength{\oddsidemargin}{0.3cm}  %tamanho que o texto ocupa \textwidth=16cm  %fazendo os footers \pagestyle{plain}  %%%%%%%%%%%%% \usepackage{lipsum} %para tabelas grandes \usepackage{longtable}  %para colocar um width maximo para as figuras do comando %[max width = ...] \usepackage[export]{adjustbox}  %packages inseridos que não são do estilo.  \usepackage{placeins} \usepackage{makeidx} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage[table]{xcolor}


I overheard a mother correct her child who said something to the effect of     There was a new kid in my class today and I friended him.   The mother said befriended and I was inclined to mentally agree (given the kid was maybe six or seven, it's unlikely that he was referring to social networking).   However, with a little Googling, I discovered an article from The Atlantic which suggests that .        "Make no purses, for to friend yourself therewith." -- the Guide for Anchoresses, early 13th century   "And after soon friended were the King David of Scotland and Stephen, king then of England." -- Andrew of Wyntoun, Chronicles, c. 1425      This  regarding the be prefix offers:     The general form is:     be + [quality]       and the corresponding meaning is:   to turn into + [quality].    So, I guess my question, then, is what is the difference between the verbs to friend and to befriend? Was the kid right?


How to make desktops independent on Ubuntu 18.04

I have Ubuntu 18.04.4 LTS 64-bit. I want to have independent desktops, so if I have app #1 on the first desktop and app #2 on the second desktop, I can't switch from app #1 to app #2 (by the word "switch" I mean pressing alt+tab).  I don't know if it's necessary, but I use Ubuntu on Wayland.


What is the command to highlight bad boxes in pdf?

I seem to remember a command to show bad boxes in a PDF when using latex, but googling is not helping me to remember.   How can I show bad boxes in my PDF?


How do I find the distribution for X + Z?

I am trying to calculate the distribution for X + Z which normally means I have to find the CDF. Is that correct? But I am not sure how.  I know that   $X \sim Exp(2)$ and $Z \sim Exp(2)$ and that X and Z is independent.   How do I proceed?  Thanks.


Is $\frac{x^2+x}{x+1}$ a polynomial?  Fist question can be: on which field/ring or etc? In basic, let's take over $\mathbb R$.  Actually, it is $x$ if $x \ne -1$.  Can we say again it is a polynomial, or a near-polynomial or what?   Can we say it is a polynomial over $\mathbb R - \{-1\}$? But there is structure here for $\mathbb R-\{-1\}$.  This question can be academically, not sure, but I want to ask it in the level of primary school, then academically.


Super Ultra-Wide 32:9 at 5120×1440 @ 60hz on a MacBook Pro 15-inch, Mid 2014 with GeForce GT750M

Hardware:     Thunderbolt to DisplayPort cable   The  unfortunately doesn't have any reliable information about supported resolutions in external monitors because of this:   I can currently run 3840x2160@60hz. I want to run 5120×1440@60hz, which is ~10% less pixels. Official spec says maximum is 2560x1600, which is literally half of my current resolution.   Since this type of monitor is quite new, I only see articles/videos using newer MacBooks.  Has anyone tried this yet or do you know how I could figure this out before actually buying the monitor?


How do you use a click funciton that has a lot of classes in jquery?

something

something

something

something

something
   So, I have something like this in my code, I was wondering how do add a click function that grabs the specific div that was clicked?  I thought this would work $('.card-block').on('click', function() { "do something" });  Ok, so I guess I forgot to mention my DOM is being build dynamically, and it's constantly being built dynamically every time the user clicks on a button, or resizes the window.


How to use the templates in a method parameter in a class

I have a problem when use the templates with a method parameter inside a class. The following is an example but not my real code which has the problem, in order to simplify the code.    Class declaration:    class Test {  public:     Test();     template <class T>     void PrintData(T info); };   Class definition:    Test::Test(){}  void Test::PrintData(T info){     cout << info << endl; }   When usage:    int main(){     Test test;     test.PrintData<const char*>("Thank you.");      return 0; }   The error messages:     variable or field 'PrintData' declared void  'T' was not declared in this scope   What is the problem in my code, and/or how to use the templates with the method parameter correctly ?


How much memory should svchost.exe(netsvcs) use normally?

I'm using windows 7 and when I look at the processes' memory usage I see that the process svchost.exe(netsvcs) is taking 1.2 GB of the physical memory. Is this normal?  Note: when I start windows the svchost.exe(netsvcs) just uses as little as 14 KB of memory, but after some minutes it starts to take 1.2 GB of the memory.


iMessage crashes upon opening (Cannot text)

Whenever I open my iMessage on my iPhone it crashes.  Someone sent a message that contained like 5000 of these (and I'm not even exaggerating) that's about 50000 characters.    ( ͡° ͜ʖ ͡° )   Please help me delete this group message without going on my iPhone. (I have a windows PC with iTunes.)


Countability of the set of functions $J_n\to \mathbb N$

Let $J_n=\{1,\dots,n\}$. How do I show that the set of all functions $J_n\to \mathbb N$ is countable? Any function is given by specifying the images of $1,\dots,n$. There are $|\mathbb N|$ options for the image of each $i=1, \dots, n$. So intuitively, the set of such functions is the union of $n$ copies of $\mathbb N$, hence countable. But how to formalize it?


I can't connect internet through Vodafone dongle

I have connected the dongle to my laptop, it shows in network manager with my network provider name (tata docom), but can't connect to internet. How can I fix this? Writing in terminal  lsusb  command gives following output Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 003: ID 19d2:0143 ZTE WCDMA Technologies MSM   here ZTE wcdma is my dongle device  Device: usb0 ----------------------------------------------------------------- Type:              Mobile Broadband (GSM) Driver:            cdc_acm State:             disconnected Default:           no Capabilities:


Check the validity of a rsa key pair with only the public key?

I am currently developing a messaging application that uses rsa end to end encryption. The client generates permanent rsa keys, and sends the public key to my server for account management. As it currently is, my program will take any keys, without validation. This is a big security risk, so I need to validate the keys in some way, without knowlege of the private keys. How would I go about doing this?


Markdown in multiline messages does get rendered when starred

that multiline messages in chat don't support Markdown (except for fixed-width and quote formatting). But if such a message gets starred the Markdown will be rendered after all:    That is probably usually not a big deal, but I thought it's worth documenting (and very occasionally, a multiline message might rely on Markdown not working such that it becomes unreadable when starred).


My bash script locks the file while Java needs to read it

I have a bash script in Linux (CentOS) that redirects output to a file. It takes a few minutes to run:  ./myBashScript.sh >> file.csv   I have a java application that tries to read the file (only read) for further processing:      File file = new File("file.csv");             Scanner input = new Scanner(file);             while (input.hasNextLine()) {                 String line = input.nextLine();                 // do something...             }   These processes are on Crontab. It works all fine, but apparently whenever the bash script is redirecting the output to the file, the Java app can not read it. The logs shows "File not found" exception!  Is the file locked?! How can I fix the problem?


A given perimeter length that is circular encloses the maximum area - which are the (analytic) proofs?

I'm guessing Newton, because of his integrals. But what proofs have been established, and which is the most mathematically intuitive one?  I was looking for the tag "circumference", supplied the newer synonym (in this field) perimeter. Apparently this tag is not related, since it was removed.  I will link the Wikipedia article on arc length from suggestions, even though I don't know if it fits; it certainly doesn't answer my question.    The proof is likely related to isoperimetry as per suggestion, but again I'm asking for proofs.    I heavily suspect any intuitive proof to not be analytic, since mine isn't. If someone made a simpler intuitive proof, I want to know it and who to credit; if someone made an analytic proof, I will use it as advanced course reference.


I'm trying to play Dwarf fortress in the console on Linux (more exactly, on the virtual terminal).  To archive this, I set [PRINT_MODE:TEXT] and I could start up dwarf fortress in the terminal/virtual console.  However, it is and remains 100x25 characters large, no matter what I change in the FULLSCREENX/Y and WINDOWEDX/Y configs, despite having plenty of room right and at the bottom.  Is there any way to increase the game size (not the font)?  Thanks


Citation colour with Beamer + Hyperref + Natbib

I'm using natbib for citation with a custom bibstyle. I'm working on a presentation using LaTeX beamer and for some reason the citation marker doesn't have the colour that is specified to hyperref. The citation marker is black instead of green. I'll give you a MWE:    \documentclass{beamer} \hypersetup{   colorlinks,   citecolor=green,   linkcolor=red }  \usepackage{filecontents} \begin{filecontents}{mybib.bib} @ARTICLE{Bar2011,   author = {F. Foo and F. Bar},   title = {Foo and Bar},   journal = {Journal of Foo},   year = {2011},   volume = {1},   pages = {1--3} } \end{filecontents}  \usepackage[comma,numbers,sort&compress]{natbib} \bibliographystyle{plain}  \begin{document} Dummy referefence to~\cite{Bar2011} \bibliography{mybib} \end{document}   For the purpose of the MWE I have selected the plain bibstyle, however, changing that to something else (including the custom style I want to use) doesn't affect the label colour.    Is there any patch for this problem?


Let $B_t$ be a 1-dimensional Brownian motion. I am following  by Bernt Øksendal. On the page 32 (it is displayed in the link I've put) there is a proof of existence of continuous version of the Ito integral. There is stated that for a function $$ \phi_n(t,\omega) = \sum\limits_j e_j(\omega)\cdot 1_{[t_j,t_{j+1})}(t) $$ its integral $$ I_n(t,\omega) = \int\limits_0^t\phi_n(s,\omega)dB_s(\omega) $$ is continuous in $t$.  From what I seen, I think that $$ I_n(t,\omega) = \sum\limits_{t_j\leq t}e_j(\omega)(B_{t_{j+1}} - B_{t_j}) $$ which does have jumps. So I wonder, how can it be continuous in $t$.


How to send variable to an inline shell-script?

I run the following script: VAR="Test" sh -c 'echo "Hello $VAR"'  But I get: # ./test.sh Hello  How can I send the variable VAR of my script to the shell created with sh -c '...'?


Is the Ratio of Associative Binary Operations to All Binary Operations on a Set of $n$ Elements Generally Small?

I started thinking about the number of associative (binary) operations on a set with $n$ elements today.  Looking online I found  which indicates only $113$ of the possible $19,683$ operations on a three-element set satisfy association.  So, $50\%$ of binary operations on a two-element set satisfy association, and less than $0.6\%$ of all binary operations on a three element set satisfy association.  For an $n$-element set, where $n$ denotes a natural number, is the ratio $R_{n}=A_{n}/B_{n}$, of the number of associative binary operations $A_{n}$ to the number of all binary operations $B_{n}$, in general small?  I don't mean the following questions as equivalent, but since they seem more concretely answerable in principle, does   $$ \lim_{n \to +\infty} \frac{A_{n}}{B_{n}} = 0 ? $$       Also, is $F : n \to R_{n}$ a monotonically decreasing function?  Some Background of the Question: In his Linear Algebra Problem Book 1995 on p. 6 Paul Halmos writes "The commonly accepted attitudes toward the commutative law and the associative law are different.  Many real life operations fail to commute; the mathematical community has learned to live with that fact and even to enjoy it.  Violations of the associative law, on the other hand, are usually considered by specialists only."  For all I know, Halmos might only have written that to motivate the study of Linear Algebra and doesn't quite literally mean what he appears to say.  But, if he means what he appears to say, and if $F : n \to R_{n}$ is monotonically decreasing, or $R_{n}$ is generally small, I think there's something amiss with what Halmos says, since non-associative operations seem so common that one may as well enjoy them.


I have asked a  but I did not get an answer, as it was too specific. So I will build on it but make it a bit more broad spectrum.  I would like to make a digitally selectable BPF using transistors to select a component in the filter; resulting in the center frequency being changed.  I have used FilterPro to generate quick second order filters and get a rough filter response.  For all the designs, a Multiple-feedback was selected:  In the first picture, a center frequency at 108KHz with a bandwidth @ -3dB of 103K to 113KHz is given.    For the second, a center frequency at 117.5KHz with a bandwidth @ -3dB of 112.8K to 122.2KHz is given.    The only difference between these two circuits is R3.  If I were to implement a circuit as shown below, would it work and what transistor would be recommended? I have selected the  as the Opamp in the circuit design as that is what was used for the .    For the transistors, I was thinking of using the MOSFETs (2N7002) used in the ST7590 design as well.


How do I make Jukebox music that follows a player?

Believe it or not, there are still players that listen to music discs in Minecraft, including me.  I tried making a command loop that would play different discs for me every 5 minutes. Here's what command I use:  /execute at Quijibo run playsound minecraft:music_disc.stal record Quijibo   This successfully executes the command, and the music starts playing, but if I move away from the point where I was standing, the music fades away, as if there was a jukebox playing the music that I'm moving away from.  What I want to do is have the music follow me when moving. Is this possible to do through commands?


Is it possible to install a .pkg using a terminal ? (I wanted to install an app through ssh).


If two operators commute, does it mean that every eigenfuction of one is also an eigenfunction of the other?

I have trouble interpreting the result of a problem. If we have a function $$\psi ( \theta , \phi) = e^{-3i\phi}cos \theta $$ and two operators $$A=\frac{\partial}{\partial \phi} $$ $$B=\frac{\partial} {\partial \theta} $$ It is clear that $\psi(\theta, \phi)$ is an eigenfunction of A and not B. But, on the other hand, I tried to evaluate the operator $[A, B]$ on a general function $\psi(\theta, \phi)$ that is separable, such that $$\psi(\theta, \phi)=\chi(\theta)\xi(\phi)$$, and therefore $$[A, B]\psi(\theta, \phi)=[A, B]\chi(\theta)\xi(\phi)=$$$$=\frac{\partial}{\partial \phi}\frac{\partial} {\partial \theta}(\chi(\theta)\xi(\phi)) - \frac{\partial} {\partial \theta}\frac{\partial}{\partial \phi}(\chi(\theta)\xi(\phi)) =$$$$=\chi'(\theta)\xi'(\phi)-\chi'(\theta)\xi'(\phi)=$$$$=\psi'(\theta, \phi)-\psi'(\theta, \phi)=0$$, which means that the commutator is 0 if applied to a separable function of $\phi$ and $\theta$. I know that if two operators commute, that means that they have a common set of eigenfunctions. Does "common set" mean that every eigenfunction of A is also an eigenfunction of B, or that some of the eigenfunctions of A are also eigenfunctions of B? I previously thought that it was the first choice, but here, $$\psi ( \theta , \phi) = e^{-3i\phi}cos \theta $$ is an eigenfunction of A only. Is there a way to find a general solution for functions that are eigenfunctions for both A and B?


Let S be the set of non ﬁnitely generated ideals in R. Suppose A is a maximal element in S. Then A is a prime ideal

This questions comes under the section about Zorn's Lemma. But I'm really lost to how maximality here implies prime.  Edit: R is commutative.


Does anyone know a basic way that I can run a  SOQL query to see which permission sets are attached to users?  We have a rather large issue where a button needs to be on a page layout for a few important users but the rest of the people on the profile should not have visibility or use of this.  I have pushed the idea to have a new profile, but my company is rather large and wont allow it... so I was going to use .js in a button to show the button to the users whom should be able to see it and hide hide it for those who should not be able to see it..  Other ideas are welcome :)


Is there a name for the kind of sounds commonly found in profanities?

Fuck. Shit. Bitch. Cunt. I remember reading somewhere -- a very long time ago -- that these "hard" sounds are virtually necessary in profanities. The explanation I roughly remember is that because these "hard sounds" are unmistakable, that is, because  there is no half-hearting them in , that lends to them to use in words that one wants to be unmistakable in intent, e.g, in profanities where one wants to intensify a phrase or rile someone up.   I remember these being called .    Unfortunately I'm not a linguist, not even a fair amateur one, and when I went to check Wikipedia for the definition of fricative, I really couldn't make heads or tails of the lingo.  I have no idea what those weird letters or the adjective "voiceless" mean.  Moreover, I think I'm just plain wrong about those sounds being fricatives -- the examples I found on that page don't seem correspond very well to the hard sounds I mentioned above. My memory about what I read is obviously horribly dashed. Am I in fact correct in observing that profanities tend to have "hard" sound somehow, and if so, could someone give me a name for them so I can go about content I know something really cool?


How do I test interactions with private fields of a class with unit testing on java?

I have the following class:  public class BookProcessor {      private Map<String, Double> bookToValueRecord = new HashMap<>();     private Map<String, Integer> bookToCountRecord = new HashMap<>();     private int counter = 0;      public void processBook(Book book) {         counter++;         recordBook(book);         if (counter % 5 == 0) {             printSomeReport();         } if (counter % 10 == 0) {             printAnotherReport();         }     }      private void printAnotherReport() {        //just print something     }       private void printSomeReport() {         //print something else here     }      private void recordBook(Book book) {         bookToValueRecord.put(book.getTitle(), book.getValue());         bookToCountRecord.put(book.getTitle(), bookToCountRecord.getOrDefault(book.getProduct(), 0)+book.getCount());     } }   My idea was to create a Test class BookProcessorTest with field BookProcessor testee; I dont know if I need to mock it or not? One of my tests will be shouldProcessBook(). In this test I will create a sample Book object, then I will call testee.processBook(myBookObject), but then what should I assert or verify? Should I check if this record has been saved into bookToValueRecord? If yes, how, given that this is a private field? Also, how to test that after saving 5 books into my Map, I am printing some report? Should I test that printSomeReport() has been called? If yes, how, given that printSomeReport is private method?


is there a way to copy files from a mac osx machine to NTFS external hard disk

I have a mac book on osx el Capitan. I want to transfer data from the mac book to my Toshiba external hard drive which has the ntfs file system. Is there any way i Can do it without changing the filesystem


Does creating a token copy count as having cast a spell?

If I have  copy an artifact but I have , would Paradox Engine’s abilities activate every time I copy?


How can I display additional boot and shutdown information on the Windows 7 welcome screen?

There is a small tweak, I believe it is a registry key, that allows to display additional information on the Welcome and Shutting down screens of Windows 7 (and most likely Vista, too). I have activated this tweak on one of my systems; unfortunately I forgot how I did it, and I can't seem to find the website that originally gave me that information.  Usually, the Windows 7 welcome screen will just display "Welcome" when logging in. With the tweak activated, my Welcome screen gives status information such as "Loading user settings" or "Preparing desktop". When shutting down, the default screen simply says "Shutting down". With the tweak activated, it gives additional status information such as "Stopping Windows services". This appears the same way that Windows gives information when updates are installed or configured during the startup or shutdown procedure, and I find them quite helpful in getting a feel for what task takes how long during that process.  The only setting I was able to find is the Boot log checkbox on the Boot tab of the msconfig application. However, this results in Windows displaying console logs of drivers it is loading, etc., instead of the animated Windows title. This is NOT the setting I am looking for. The "additional boot information" setting that I have activated on this system still displays the regular animated Windows logo, and only replaces the strings displayed on the blue Welcome and Shutdown screens.  Could someone direct me to the registry key (or whatever setting) that is used to get this behaviour?  Edit: Here are a few pictures of the enhanced Welcome and Shutdown screens taken with my mobile phone—they're in German though.   Login screen "Waiting for User Profile Service"   Login screen "Preparing desktop"   Logout screen "Stopping Windows services":


Is there a way to make bash recognize aliases with prefixes

Assume you defined the alias alias grep='grep --color=auto' in ~/.bashrc. Then invoking sudo grep wouldn't trigger the alias to be used. Is there a way to do so? If yes, would that solution be applicable to a piped command as well (e.g cat file | grep 'a')?  I'm using bash 4.3.30 on Ubuntu 14.10.


When induction proofs need a choice function

Reading the comment to  the user makes the argument that one can pick a dense subset of a separable vector spaces without relying the axiom of countable choices. Since the comment got a lot of up votes, I guess it's correct, but to me this seems very strange. My rule of thumb was/is the following: We can get by without a choice function if   There is a canonical choice at each iteration. The proof doesn't actually require the iteration process to terminate.   None of these seem to be satisfied in the present case, unless there is a canonical choice for the dense subset, or the set is dense at some finite iteration, so my question is:   When can I tell if an induction arguments relies on the existence of a countable choice function?


Possible Duplicate:          I am trying to fit a longtable in a page with the following specifications:  \documentclass{article} \usepackage[letterpaper]{geometry} \geometry{tmargin=2cm,bmargin=2.5cm,lmargin=2.5cm,rmargin=2.7cm} \usepackage{array} \usepackage{longtable} \begin{document} \begin{longtable}{|c|>{\raggedright}p{4.5in}|p{0.85in}|} \hline \textbf{Week} & \textbf{Content} & \textbf{Assessments}\tabularnewline \hline \endfirsthead \hline \hline \textbf{Week} & \textbf{Content} & \textbf{Assessments}\tabularnewline \hline \hline \endhead \hline Week 1 & Unit 1 &HW, Q, T\tabularnewline \hline Week 2 & Unit 2 &HW, Q, T\tabularnewline \hline \end{longtable} \end{document}   Note that to the naked eye, the table seems to be perfect, but I know that one can make the long table to span through the entire text width. I am looking for improvements and how to achieve the above effect (use of the text width.) If a similar question has been asked please redirect me.


Repeating rare examples in unbalanced data classification

So I'm trying to train a neural network for a rare event detection. Based on that, I have like 1000 times more examples for non-target (everything else) examples that I have for target examples. So I was wondering if I just repeat the set of target examples untill I get balanced examples, what effect would that have on my classification and generalisation performance ? Would I gain anything ? What price would I be paying this way ?  And in general what is the best/most common way to deal with these situations ? I can't do boosting or bagging as I can not afford to train several models. I have computational resource and memory restrictions and I will have only one model (e.g. one neural network) for desicion making at test time.  Thanks !  * My question is clearly what is the effect of duplicating examples of a target class by as many copies as required to balance the number of examples on both classes. More specifically I am using neural networks as the model.  What do I gain or lose if I do such ?


How do electric field lines form only open loops?

I understand that this is a consequence of the conservative nature of electric field, but then how does an electric dipole form closed loops?


If $f:S^2\to S^2$ is homotopic to the identity does it have a fixed point?

Question: Let $f:S^2\to S^2$ be a continuous map that is homotopic to the identity. Does $f$ necessarily have a fixed point?   I thought about this question after learning the proof of Brouwer Fixed Point Theorem with de Rham cohomology. I hoped to be able to prove the affirmative with a similar proof, but all my attempts failed.  My intuition that it should be true started from two facts:   If $f$ is a rotation of the sphere (i.e. $f\in SO(3)$) then $f$ has two fixed points. The . Intuitively, if $f$ is homotopic to the identity we can imagine a flow from each $x\in S^2$ to its image $f(x)$. This flow must have a stationary point $x_0$, meaning that $f(x_0)=x_0$.


Where can I find historic flight info about past delays? I was flying with Air France flight from Paris to Tampa (through New York) on 13 November 2013. My flight was delayed either in Paris or in New York. I can't remember which. I just learnt that you can claim for delays so I want to find out how long the delay was. (and where) Could any one of you check this please?  Flight info:  AF0006 from Paris to JFK  scheduled departure 14:10  AF9534 from JFK to TPA   scheduled departure 18:45


how to plot a linear function with TikZ?

I am plotting a simple linear function. The plot looks fine, but I want to extend the function up to x=7. Anyone knows, please how to do that?  My code is the following:  \usepackage{tikz} %for drawings \usetikzlibrary{shapes} \usetikzlibrary{arrows} \usetikzlibrary{calc} \usepackage{pgfplots} \usepackage{tkz-fct} %for functions   \begin{figure}%[H] \centering                                              \begin{tikzpicture}     \begin{axis}[width=400pt,axis x line=center, axis y line=center, ylabel={$n$},xlabel={$x$},xmin=-2,xmax=8,ymin=-2,ymax=8]         \addplot+[mark=yes] (\x,{5-0.8*\x});         \end{axis} \end{tikzpicture} \caption{Effect of the parameter $n$ on the particle nodes scaling} \label{fn1} \end{figure}


What's is the right answer: 3-D-printed component vs 3-D printed component vs 3D printed component vs 3D-printed component?

Recently, the editors of a journal where I was publishing a paper changed a small part of the title "3d printed components" for "3-D-Printed Components". However, for a different paper, other editors of the same journal wrote "3-D Printed Components" instead. I have checked on the Internet for other papers that have a similar structure (3D Printed "Sth"), but I don't understand if there is a right way to use the hyphen/s. Here are some examples:  Compact high-Q hemispherical resonators for 3-D printed bandpass filter applications 3-D Printed Flexible Heterogeneous Substrates with Customizable Gain and Bandwidth 3D-printed Microsystems for Opto-medical Imaging 3-D-Printed Comb Mushroom-Like Dielectric Lens for Stable Gain Enhancement of Printed Log-Periodic Dipole Array  Seems messy in my opinion to use hyphens, however, I would like to know if there's an exact answer, or maybe there are multiple options that are valid. Thanks,


Right image resolution for large format printing

I have a question regarding the large format printing and the image sent to the printer. This is not a duplicaten, I've checken the other possible questions and did not find the response there. I'm interesten in a large print for in a house, what resolution to take and where to find those kind of images.  Imagine I found a photo on internet which I would like to print out in a large format => 150cm x 120cm.  The photo itself is 70cm x 50cm, 250dpi, 9Mb, type: jpeg  What will happen if I force the image to print in 150 x 120cm or even larger size, will I see the pixels or some other abnormalities in close range? If I'll upscale the image the DPI will be dropping and having a photo with 150x120cm and 75dpi is not good for honing it on the wall.  What the minimal original size of an image can be so that it can be scaled to larger size without any distortion?  Another point is, I want to print on matte cotton canvas ...  And where can I find that kind of photo's, as even on paid stockphoto's sites the resolution is around 4000 / 5000px with 300dpi.  Thanks for the reply


How to get the input text field to change colour using CSS?

I have used this for changing other aspects of the style, but for some reason it won't change the input field colour.... Is it possible to change it this way something like style.background-color: "red";  ?  Other questions seem to make the space where my error message is, highlighted, rather than the actual text box its self.  JS  if (document.getElementById("telno").value == /^\d+$/ ) {             document.getElementById("errtelno1").style.display = "inline";             document.getElementById("errtelno1").style.visibility = "visible";   This is the CSS at the moment  .error{ display: none; color: #FF2121; font-family: arial; font-size: 14px; font-weight: bold; }  h1{ font-style: normal; font-weight: bold; font-size: 20px; font-family: Lucida Sans Unicode; color: #0A032F; text-align: center; text-decoration: underline; }  h2{ font-weight: bold; font-size: 18px; font-family: arial; color: #33257B; text-align: center; text-decoration: underline; }  p{ font-family: arial; font-size: 14px; }  fieldset{ margin-left: 400px; margin-right: 400px; margin-top: 40px;    text-align: center; border: 1px solid #000000; background: linear-gradient(#ffffff, #f2f2f2); }       label{ font-family: arial; font-size: 14px; display: inline; }  .formfield{ margin-left: 25px; display: inline; }  #title{ margin-left: 25px; display: inline; }


TK is a character in the well-known anime Angel Beats!   Note:     In the anime, TK's real name is never revealed.   In he opening to the show, all of the characters are shown with their Japanese names in a speech bubble, and the English translation in the background.   TK's Japanese name is simply "TK", but in the background of the speech bubble, there is something written in English. (See the picture below)    (TK is on the far left.)  It looks to me that those letters say something like, "TH[???]"  Does anybody know what these letters are? And, do these letters signify TK's real name?


Do PC texture packs work on mcpe and vice versa?

I've been looking for mcpe stuff and I saw that there was separate forums and tags for mcpe texture packs and for PC texture packs.  There are a couple of texture packs that I adore that are on PC and I was wondering if I could download them onto my tablet and that they would work on mcpe. Also if I could download mcpe texture packs and they would be able to work on PC.


For a differentiable function $f:\mathbb{R} \rightarrow \mathbb{R}$ what does $\lim_{x\rightarrow +\infty} f'(x)=1$ imply? (TIFR GS $2014$)

Question is :  For a differentiable function $f:\mathbb{R} \rightarrow \mathbb{R}$ what does $\lim_{x\rightarrow +\infty} f'(x)=1$ imply?  Options:    $f$ is bounded $f$ is increasing $f$ is unbounded $f'$ is bounded   I could not find counter examples but then, I strongly feel $\lim_{x\rightarrow +\infty} f'(x)=1$ would just imply that $f'(x)$ is bounded.  I do not have much idea why would other three are false.  I would be thankful if someone can suggest me some hints.  Thank You.


Is it possible to get total render time via Python code?

Is it possible to get total render time via Python code when render’s done?


How to prove an equivalence relation without knowledge of the group?

"Let $x,y$ be elements of the group G. Prove the following is an equivalence relation: $x$ is related to $y$ iff there exists some $g$ in $G$ such that $y = g \cdot x \cdot g^{-1}$"  Now I understand that I must prove that the relation is reflexive,symmetric and transitive. But without knowledge of the set or whether the group binary operation is commutative I'm getting very confused on how to do it. I know that I just need to use the group properties of associativity, closure invertibility and identity, but I'm unsure how.  Any help appreciated.


Are there any stats about the percentage of close reasons used to close questions   Successfully (preferably, based on the number of closed questions) Unsuccessfully (alternatively, the total percentags of close votes cast by users)   ?   Is there any way to get this from the query explorer?


Separate numbering of cases within align

I have one instance of cases within the align environment, as follows:  \documentclass[a4paper]{article} \usepackage{amsmath} \begin{document} \begin{align} f(x) &=1x \\ g(x) &=\begin{cases} 2 x \label{eq:g_1} \\ 3 x  \end{cases} \end{align} \end{document}   which produces:    How can I number the different cases separately, thus having the numbering (1) for the first equation, (2a) and (2b) for the two cases? Adding a second label within cases as follows  \documentclass[a4paper]{article} \usepackage{amsmath} \begin{document} \begin{align} f(x) &=1x \\ g(x) &=\begin{cases} 2 x \label{eq:g_1} \\ 3 x \label{eq:g_2} \end{cases} \end{align} \end{document}   produces the amsmath package error: multiple \label's. Of course a solution with array instead of cases, or any other alternative, works as well.  Thank you in advance for your help, Basi.


I learned this as a kid. The setup is one card laid out at a time in a row. You make stack cards next to each other if they match numbers or suits. You may also stack in the same manner but skipping two cards backward toward the first card played. The object is to get all 52 cards into a single stack. I’ve never heard the name of this solitaire but always referred to it as Satans Solitaire because its easy to play but the devils own time to beat. Anyone else know this game, have a name for it, or variants?


Do I have to disclose all academic history?

I'd like to go back to school for a BS in Physics but most universities don't admit students who already hold degrees. My first time around I was not academically mature and only pulled a 3.0 for my first BS in Mathematics.  If I rebuilt some class history through a community college and then try to transfer to a full university can I avoid telling them I have a degree?  And are there consequences for trying to hide that information?  I would try a different method but the options seem extremely limited for someone holding a bachelors who wants a second bachelors and can't get up and move to a university that allows it.


Regex find sting in the middle of two strings

I want to get the time in the following line. I want to get the string          2017-07-07 08:30:00.065156   in  [ID] = 0,[Time] =  2017-07-07 08:30:00.065156,[access]   I tried this   (?<=[Time] = )(.*?)(?=,)   Where i want to get the string in-between the time tag and the first comma but this doesn't work.


When is $G$, a finite group, the sum of its Sylow $p$-subgroups?

Questions like this have been asked before, but I just want some quick clarification on something.    Suppose that $G$ is the sum of its Sylow $p$-subgroups.  Then each Sylow subgroup must be normal, and of course we have the other direction.  If each Sylow subgroup is normal, then $G$ is the product of its Sylow subgroups.    My question that I need clarified is, "if $G$ is a sum of its Sylow subgroups, when will this be abelian, non-abelian?"


How to integrate $$\int\frac{1}{x^{14}+1}dx$$ I've tried to use partial fraction decomposition but it doesn't work


Why do I have shutter lag when shooting (pop-up) flash in manual mode?

Why does my D40 have a shutter lag when using the pop-up flash in full manual mode?  There isn't a lag when shooting in any of the auto modes.  I'm shooting in single shot mode.  It is a constant lag between shots.


I have a couple of games that need AIR and I thought I might take a look to see if there was a Linux version out there. There is, so I grabbed that off Adobe and tried to install it.   The first problem was that it wanted libgnome-keyring. I installed that from a old rpm and symlinked it with the specific library that it wanted. The next problem is that even though ar and dpkg-deb are installed and can be used, it still failed with the installation.  I have no clue whatsoever to do from here so I'm wondering, is it possible to install Adobe Air 2.6 on a modern Linux system?


How to fix "error: unknown filesystem. grub rescue>

I get this error:  Error: unknown filesystem. grub rescue>   I'm not exactly sure what I did. I believe I installed Ubuntu over Windows on my Acer netbook. I then tried to install , but it wouldn't start installing.  I turned the netbook off and back on. Now I get the error.  I have read a lot of other questions like this, but in my case I cannot boot a CD. If I put a Ubuntu CD or a Linux Mint CD into my external CD/DVD drive and change my BIOS to boot the CD-ROM first, it just gives me the same error screen.  Update copied from comment dated 2012-05-26 02:54:29Z  Here are some results from my commands:   grub rescue>ls (hd0) (hd0,msdos5) (hd0,msdos1)  grub rescue>ls (hd0,msdos5) unknown filesystem  grub rescue>ls (hd0,msdos1) unknown filesystem  grub rescue>ls (hd0) unknown filesystem


How to make a through hole using inward extrusion in Blender 2.8?

I am trying to make a through hole using inward extrusion. I enterd into edit mode, then I drawed an outline of my hole using knife tool. then I turn into wireframe shading, rotate my view an select snap to faces and then extrude the hole outline inward  so the hole is created successfully, but I still have a face at the hole bottom. I can select this face separately  But If I try to delete it, I siply delete this face (I can't select it anymore after deleteting), but I do not see through hole, so the basic cube face is still here. So how to remove the hole bottom?


NullPointer on POJO object during Unit Test

I wanted to test my controllers, and I have hard time with mocking objects. I have very simple method like this.   @RequestMapping(value = "/places", method = RequestMethod.GET) public String showPlacesByQuery(Model model, @RequestParam(value = "q", required = false) String query) {      Location location = geolocationParser.getCoords(query); //this line cause NPE     List placesList = placeService.findPublicPlaces(location, 0);      model.addAttribute("query", query);     model.addAttribute("placesList", placesList);     return "places/list"; }   I wrote test and I'm getting NullPointerException. I think the cause is that geolocationParser.getCoordS(query) returns null? or something is wrong with whole assignment Location location = geolocationParser.getCoords(query);   @Mock GeolocationParser geolocationParser;  @Mock PlaceService placeService;  @Before public void setUp() throws Exception {     MockitoAnnotations.initMocks(this); }  @Test public void testShowPlacesByQuery() throws Exception {      String query = "SomeQuery";     PlaceController placeController = new PlaceController();      Location location = mock(Location.class);     location.setCity("someString");     location.setLatitude("54.2323");     location.setLongitude("18.2323");      when(geolocationParser.getCoords(Mockito.anyString())).thenReturn(location);      List<Place> expectedPlaces = asList(new Place(), new Place());     when(placeService.findPublicPlaces(location, 0)).thenReturn(expectedPlaces);      MockMvc mockMvc = MockMvcBuilders.standaloneSetup(placeController).build();     mockMvc.perform(get("/places").param("q", query))             .andDo(print())             .andExpect(status().isOk())             .andExpect(view().name("places/list")); }   I spend hours to make it work, on different ways, with no results.


Where do symmetries in atomic orbitals come from?

It is well established that:   'In quantum mechanics, the behavior of an electron in an atom is described by an orbital, which is a probability distribution rather than an orbit.   There are also many graphs describing this fact: : (hydrogen atomic orbital - one electron) In the figure, the shading indicates the relative probability to "find" the electron, having the energy corresponding to the given quantum numbers, at that point.  My question is: How do these symmetries shown in the above article occur?                 What about the 'preferable' axis of symmetries? Why these?


Behavior of $\sum a_n x^n$ given $\sum |a_n - a_{n-1}| < \infty$

Let $(a_n)_{n=0}^{\infty}$  be a sequence of real numbers satisfying $\sum_{1}^{\infty} |a_n - a_{n-1}| < \infty$   Which of the following conclusions must then be true?  The series $\sum a_nx^n$ converges   Nowhere on $ \mathbb{R}$ Everywhere on $  \mathbb{R}$ On some interval containing $(-1,1)$ Only on $(-1,1)$   What I have tried is Make an inequality with $|a -b| \leq |a| +|b|$ .. but i cant proceed further .. Any sort of help will be deeply appreciable .


Why didn't/couldn't the Emperor find Yoda?

It was previously known to the Republic (and, therefore, it stands to reason, the Empire) that Dagobah was one of several major unexplored Force-sensitive planets.  Once Yoda and Obi-Wan went into hiding, why didn't Palpatine send thousands of probe droids to scour those planets? He was meticulous about cataloging dead Jedi from Order 66, plus he knew personally that Yoda and Obi-Wan had survived based on personal interaction as well as the story from Vader.  Wouldn't he have realized the threat that Yoda posed as a teacher to any other survivors and wanted to find him at all costs?  Was it simply a matter of Yoda's being able to mask his Force signature with the dark side cave?


Convince that zero is an even number   I am not quite sure on this question can anyone help?


I read texdoc cjk and this CJK documentation recommends \usepackage{CJK} to enable CJK functionality. However, I see a lot of examples use \usepackage{CJKutf8}. The CJK package documentation doesn't recommend, or even mention, CJKutf8. What is the difference between these two?


To prove that if $ab\equiv ac\bmod n$ and $(a,n)=1$ then $b\equiv c\bmod n$

To prove that if $ab \equiv ac\bmod n$ and $(a,n)=1$ then $b\equiv c \bmod n$  I write as  $1=ar+ns$  $ac=ab+nq$  I have to prove $c=b+nr$  How do I manipulate equations to reach conclusion  Thanks


What happened to my "project/objects info" footer and how do I get it back?

I have no idea what I did or hit to get the footer info I usually see (e.g. # tris, edges, vertices, faces per visible project meshes or actively-edited mesh) to disappear. The screenshot was taken from my current project's Object mode; it currently only shows my version number, and this change persisted even after rebooting Blender. How do I get the footer back?


Accidentally did sudo chmod -R 777 /usr/ on Ubuntu Server AWS

I am using AWS to run Ubuntu server 14.04 and by mistake I issued this command  sudo chmod -R 777 /usr/   Since issuing this command, I can't switch from ubuntu to root. When I issue this command  sudo su   It shows me error   sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set   I don't have a backup of my server.