Can a subjective relative pronoun be omitted?

(1) It was you [ that ] I wanted to meet. (relative pronoun: objective) (2) It was you that told me to say so. (relative pronoun: subjective)  I understand you can definitely omit the objective relative pronoun that in sentence (1).   Can you also omit the subjective relative pronoun that in sentence (2)?   I do not think so.   Could you help me clarify it?  Thank you always.


Why I don't see an edit on edited answer?

has an answer by a user named pownassis, which I downvoted because it was initially wrong. The answer has afterwards been edited, however there is no revisions link under the post and also I can't remove my downvote, as if the answer hasn't been edited. I am positive it has been changed, and comment from the poster also implies it.  What's going on?   I understand now that there is a grace period for which edit is not visible, however edit should still make downvote retracting available.


Why does increasing voltage increase current?

If we increase voltage, we are increasing energy per coulomb. How does it increase the number of coulombs per second (current)?


Why does gap statistic for k-means suggest one cluster, even though there are obviously two of them?


Watching "Gravity" reminded me of a short story I read in the 60s, but can't place now

I thought it was by Heinlein or Brown, but if it was I can't locate it online.    The plot was aboard a spaceship, or maybe a space station, when an accident sends the astronauts spinning out of control towards certain doom.  One part of the story I remember distinctly was the one of the guys started screaming inconsolably and the noise was driving everyone crazy.  One of the astronauts made his way over to the guy and smashed his helmet so the screaming stopped.  As I recall, the story ends with the narrator turning off his comm link so he can ponder the beauty of the universe in silence.  Sound familiar to anyone?


Using unescape HTML in lightning web component

I am currently having an issue to show the content fetched from salesforce database to UI. The data is stored in HTML form and I want it to show on UI using LWC without escaping HTML. Previously we were having specific component in lightning and VF page to unescape HTML and show the HTML content on UI. I am looking something similar to it.  Here is the code,  <template if:true={teamRecords} >     <template for:each={teamRecords} for:item="team" for:index="index">

{team.item.siteComponent.Title__c}

                     {team.item.siteComponent.Description__c}

     </template> </template>


I want to install printer Cannon I-Sensys MF212W on Ubuntu can anyone help me, please


Which version of Drush should I install?

Drush 6 works great of corse on a Drupal 6 website, but will I have all of the Drush 6 features when working on a Drupal 7 website? Should I use Drush 7 when working on a drupal 7 website?  I found this post that says you can switch between the two version easily, is this correct?  switch to drush6 command: composer global require drush/drush:6.*  switch to drush7 command: composer global require drush/drush:dev-master


I am using the authblk style file. I want to print the corresponding author and address to the left of the complete list of authors (and in addition to this list - so the list should also contain the corresponding author). Moreover, the corresponding author should be marked by an asterisk in the complete list of authors.  Currently, I am using this code:  \documentclass[twocolumn]{article}  \usepackage[noblocks]{authblk} \makeatletter \def\@correspondence{} \def\correspondence#1{%      \gdef\@correspondence{\textbf{\textit{*Correspondence:}}\newline%        \raggedright  #1}}  \def\@maketitle{%   \newpage   \null   \vskip 50pc% \vbox{\hbox to 0pt{\vbox to 0pt{\vskip -40pc% \begin{minipage}[!b]{10pc} {\@correspondence\par}% \end{minipage} \hspace*{12pt} \begin{minipage}[!b]{31pc}     \let \footnote \thanks     {\@title \par}%     \vskip 1.5em%     {\large %      \lineskip .5em%       \begin{tabular}[t]{l}%         \raggedright\@author       \end{tabular}\par}%    \end{minipage}}}}%   \par   } \makeatother \begin{document}  \title{Journal Title} \author[1*]{Junli Liu} \affil{address one} \correspondence{Junli Liu\newline correspondence author address to be printed here}  \maketitle  \end{document}   What I would like to have instead is something like:  \documentclass[twocolumn]{article}  \usepackage[noblocks]{authblk}   \begin{document}  \title{Journal Title} \author[1,corauthor,coraddress={corresponding address here}]{Junli Liu} \affil{address one}   \maketitle  \end{document}   The output of my current code and my requirements are illustrated here:    How can I modify \author to work as required?


In Oracle 10g I have a table that holds timestamps showing how long certain operations took. It has two timestamp fields: starttime and endtime. I want to find averages of the durations given by these timestamps.  I try:  select avg(endtime-starttime) from timings;   But get:      SQL Error: ORA-00932: inconsistent   datatypes: expected NUMBER got   INTERVAL DAY TO SECOND   This works:  select      avg(extract( second from  endtime - starttime) +         extract ( minute from  endtime - starttime) * 60 +         extract ( hour   from  endtime - starttime) * 3600) from timings;   But is really slow.  Any better way to turn intervals into numbers of seconds, or some other way do this?  EDIT:  What was really slowing this down was the fact that I had some endtime's before the starttime's. For some reason that made this calculation incredibly slow.  My underlying problem was solved by eliminating them from the query set.  I also just defined a function to do this conversion easier:  FUNCTION fn_interval_to_sec ( i IN INTERVAL DAY TO SECOND ) RETURN NUMBER IS   numSecs NUMBER; BEGIN   numSecs := ((extract(day from i) * 24          + extract(hour from i) )*60          + extract(minute from i) )*60          + extract(second from i);   RETURN numSecs; END;


I just want to know how can I write this equation in latex? I mean the equation in the picture, how much description should I make?


How to remove .deb package? illegal package name in specifier : character '~' not allowed

I am trying to remove   libnvidia-compute-440_440.36-0ubuntu0~0.18.04.1_amd64.deb  root@miki:/var/cache/apt/archives# sudo dpkg --remove libnvidia-compute-440_440.36-0ubuntu0~0.18.04.1_amd64.deb   It does not work  dpkg: error: --remove needs a valid package name but 'libnvidia-compute-440_440.36-0ubuntu0~0.18.04.1_amd64.deb' is not: illegal package name in specifier 'libnvidia-compute-440_440.36-0ubuntu0~0.18.04.1_amd64.deb': character '~' not allowed (only letters, digits and characters '-+._')   What are the alternatives?


What is the up to date correct usage of the H tags?  I was originally told that it was only one H1 tag per page.  Now I am being told that you can use more than one h1 tag as long as it is only one per sectioning root or content section and that it is better than the former way.  What is the correct usage!


How can I echo a sql text field into a paragraph?   My code does puts the text in but changes the accents like á to this -> �.  I tried adding UTF-8 in the header and removing it.   Removing UTF-A makes the sql content is ok but all the content outside the paragraph messes up.  I checked the DB was using (UTF-8-unicode), The files were saved with UTF-8  Any ideas on what might be wrong?  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  <textarea class="texto" name="textoarticulo"  id="textoarticulo" form="formarticulo" placeholder="Texto del art&iacute;culo...">  <?     echo $row['txt4'];   ?> </textarea>


I'm new to QGIS and working with GIS in general (student of architecture), so please bear with me.  I have obtained shapefiles with topographic curves of an ocean floor. My intention is to export these as CAD files and render as 3D models of the ocean floor in Revit. I have done this procedure earlier with terrain shapefiles. My problem now is that these files mapping depth does not contain z values, so when exporting them into CAD they are completely flat rather than 3D models.  The depth information in meter exists as attributes in the file (see attached image). What I want is to transform this depth value into real z coordinates for each line so that the curves have different heights when importing as CAD file in Revit.  Thankful for any pointers in the right direction.


why I have no space on disk? are there some hidden files?

It seems to me that numbers don't adds up: df -ah  /Filesystem      Size  Used Avail Use% Mounted on /dev/disk1s5    113G   11G   16G  41% / devfs           194K  194K     0 100% /dev /dev/disk1s1       -     -     -    - /System/Volumes/Data /dev/disk1s4    113G  3.1G   16G  17% /private/var/vm map auto_home      0     0     0    - /System/Volumes/Data/home  Looking at this it seems I should have almost 100GB free.... On the other side a disk map with Cleaner One shows me that I use 82.4 GB... It's macOS catalina. I'm confused


Can't see how you've voted until you have enough reputation

I joined a couple of new Stack Exchange sites recently, and noticed the message that appears when voting:     Thanks for the feedback!  Votes cast by those with less than [15/125] reputation are recorded, but do not change the publicly displayed post score.   Hey, that's cool!  I previously thought that you couldn't vote at all if you didn't have enough reputation.  I assume this means that once you get voting privileges, posts that you voted on before the privilege change will now include those old votes in their displayed score.  (Maybe I'm wrong about that, but if so then what's the point of recording them at all?)  Given that, this is my question:  if my votes are actually recorded even before they count toward the public vote total, then why can't I see what I've voted on?  After I click the vote button, both the total and the button return (almost) immediately to their pre-vote appearance.  Even without reloading the page, it's now impossible to tell which way I voted, or even if I've voted at all.  Clicking on the same vote button multiple times shows no visible difference in behavior either, it's as though I'm voting anew with every click.    I only noticed this because I actually did accidentally downvote a question recently, and was distressed to realize that there's no way to undo that action---at least until I have enough reputation to vote publicly, at which point it will almost certainly be too late to change the vote anymore.  All I could do was vote again in the opposite direction, which is really not the same thing.  I can't even see the question under the "votes" tab on my profile.  Surely there's no reason for this?  It's easy enough to show my vote with the button appearance but still leave the total unchanged.  IMO this behavior should be considered a bug.


Where to find your possible companions in Fallout 4?

I have heard that there about a dozen companions. I would like to know who is available and where I have to look for them in order to recruit them.


Suppose you lost your iPhone or it was stolen and with your MobileMe subscription you have the choice of tracking it, locking it, displaying a message or remote wiping the phone. What would you do and in which order to maximize your chances to get it back?


We are working on a service that is quite new and unknown to people. It's is oriented on small business. The target audience is divided into 3 specific different groups. As for now, we have one landing page, which communicates to 3 groups.   We have very low conversion mainly because people don't understand how they can use the service and benefit from it.  So, we decided to change the logic:  There will be one entrance page, where user will have to choose his group (1 of 3) and then he will be forwarded to the page of the group he chose before, where all the explanations how to use the service are provided.  So instead of one page we will have four pages. Will it improve the communication with users and are there any suggestions how to deal with 3 different target audiences?


I don't like anti-virus much because it slows down my pc so I wonder if Is there any tip to prevent virus's infection without installing anti-virus ?


One of the hidden stats in Pokémon is called EV.  What are these?  What do they do?  Is it something I need to worry about at all?  Does this exist in every Pokémon from the beginning?  If not, in what generation did it start?


Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required:   libsdl-ttf2.0-0 libunistring0:i386 python-numpy python-pygame deluge-gtk   libsdl-mixer1.2 libgomp1:i386 liblapack3gf deluge-common libmikmod2   libcroco3:i386 libgettextpo0:i386 libblas3gf libgfortran3 libsmpeg0 Use 'apt-get autoremove' to remove them. The following extra packages will be installed:   linux-generic The following packages will be upgraded:   linux-generic 1 upgraded, 0 newly installed, 0 to remove and 212 not upgraded. 1 not fully installed or removed. Need to get 0 B/1,722 B of archives. After this operation, 1,024 B of additional disk space will be used. Do you want to continue [Y/n]? y dpkg: dependency problems prevent configuration of linux-generic:  linux-generic depends on linux-image-generic (= 3.2.0.37.45); however:   Version of linux-image-generic on system is 3.2.0.40.48.  linux-generic depends on linux-headers-generic (= 3.2.0.37.45); however:   Version of linux-headers-generic on system is 3.2.0.40.48. dpkg: error processing linux-generic (--configure):  dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.                           Errors were encountered while processing:  linux-generic E: Sub-process /usr/bin/dpkg returned an error code (1)


How can I import a HTML file and parse the data?

I'm making a program using Visual Basic and Visual Studio 2013    On the left, names of players need to be typed.  However, I would like to do this automatically.  Here is a snippet of a HTML file containing all the players' names and rankings:
     1	     Player 1	     1	     3/0/0	     9	     41.67%	     62.97%	     &nbsp;

     2	     Player 2	     1	     2/1/0	     6	     66.67%	     50.00%	     &nbsp;

     3	     Player 3	     1	     2/1/0	     6	     55.56%	     50.93%	     &nbsp;
   Is there a way I can import and use that to automatically insert player names for me?   PS. I also have a tdf file to my disposal. Here is the part that I am interested in:  <standings>     <pod category="2" type="finished">         <player id="1070903" place="1" />         <player id="1070904" place="2" />         <player id="1070906" place="3" />         <player id="1070901" place="4" />         <player id="1070923" place="5" />         <player id="1070905" place="6" />         <player id="1070924" place="7" />         <player id="1070912" place="8" />     </pod>     <pod category="2" type="dnf">     </pod>     <pod category="1" type="finished">     </pod>     <pod category="1" type="dnf">     </pod>     <pod category="0" type="finished">     </pod>     <pod category="0" type="dnf">     </pod> </standings>   Is there a way I could import the player IDs, in that order?


I'm proof-reading a thesis by one of my friends and there's some recurring construct which I always mark as false but I'd like to check with you.    In the comments I was told that the example I provided didn't really match the sentence I found in the thesis therefore I'm adding the actual sentence from the thesis. I'm sorry for the confusion; I'm not a native speaker/in the field of language and thus didn't really see the difference.   So here we go. Which of the following is preferable?        To illustrate the necessity of some steps a bad representative of the taken radiograms is used.     To illustrate the necessity of some steps a bad representative of the radiograms taken is used.        I'd use the latter because it is closer to "[...] of the radiograms taken previously is used".    Original example  In the English language, one can use the (past) participle of a verb as an adjective, this allows for example to express that I'm creating a scrapbook using the pictures that I have taken previously.     What's the correct way to state this?         I'm doing a scrapbook from the taken pictures.     I'm doing a scrapbook from the pictures taken.        I'd use the latter because it is closer to     I'm doing a scrapbook from the pictures taken previously.


Adjective for something that is medium-lived

I am looking for an adjective that can be used to describe something that is somewhere between ephemeral, transient or temporary and persistent, permanent or continual in length of time. That is, I want to give the impression that something can last for a while (not fleeting), but that can change at any time and can or will have an ending. Thus even persistent sounds too permanent for what I'm looking for.   Some ideas I've come across so far that seem too long / too permanent:  preserved, protracted, prolonged, lasting, long-lived (maybe medium-lived?), durable. And some that I think are potential candidates: retained, sustained, maintained, stable, durational. My current favorite is durational, which seems to give the right feel. On the other hand, it feels awkward to me when I use it in a sentence. I'd love to hear other suggestions or recommendations.  Also, please let me know if you agree or disagree with my interpretation of the choices mentioned here or in the comments.    I'm looking to contrast a temporary selection (like a user doing a mouseover or hover to see a tooltip) with a durational selection that implies the user has chosen some things to look at for a time, but may modify that selection at any time as they desire.  So which of these sound like something that will last a while, but you're free to modify or delete or undo whenever you like:   a retained selection a sustained selection a maintained selection a stable selection a durational selection an impermanent selection a semi-permanent selection an epochal selection (ok that does sound long!)


I have a computer with the following spec: Intel(R) Core(TM) i7-3632QM COU @ 2.20 GHZ Ram 8 GB x64  I also have a SSD disk running on my Dell Vostro, does that need something extra?  Thanks!


Opening the ad on a new tab (Ctrl+Click) doesn't work. It simply appends a query string. Clicking on the ad shows the navbar in the gif area.


What editor is as good as TextPad for compiling and running Java programs?

I want an editor that is as good as TextPad (for Windows) for compiling and running Java programs on Ubuntu 12.04. Please suggest one.


How do I use a Mac as a wireless speaker for an iOS device?

I know it’s possible to do this  when the device is wired to the Mac (using Quicktime’s record audio), but I haven’t found a way to do it wirelessly.


Where vs when - a matter of place or one of... time

Educated by weaklings, idolators of stigmata, especially fragmentary ones, we belong to a clinical age when only cases count.  This is a quote from E.M. Cioran's book ''All Gall Is Divided'' (translated from French by Richard Howard), and I'm a bit confused because in the original version, that ''when'' is actually ''où'', that means ''where'', and my confusion rises from the question whether or not in English ''where'' is usually used while referring to places, locations, and space in general, with ''when'' being chosen while having time in mind, periods and ages, like in this example ''clinical age''.   For me ''when'' there just sounds odd, and I'd substitute ''where'' for it. Would that be correct, would it be grammatical?


Splitting of an exact sequence of abelian groups

Let $0\to A\xrightarrow{f} A\oplus B\xrightarrow{g}B\to 0$ be a short exact sequence of (finite) abelian groups, then must it be split exact? If not, can you show me some examples? Thanks!


Max. and Min. value of $|z|$ in $\left|z+\frac{2}{z}\right| = 2\,$

If $z$ is a complex no. such that $\displaystyle \left|z+\frac{2}{z}\right| = 2\,$ Then find max. and min. value of $\left|z\right|$.  $\bf{My\; Try:}$ Given $\displaystyle \left|z+\frac{2}{z}\right| = 2\Rightarrow  \left|z+\frac{2}{z}\right|^2 = 2^2=4$.  So $\displaystyle \left(z+\frac{2}{z}\right)\cdot \left(\bar{z}+\frac{2}{\bar{z}}\right) = 4\Rightarrow \left|z\right|^2+2\left(\frac{z}{\bar{z}}+\frac{\bar{z}}{z}\right)+\frac{1}{|z|^2} = 4$.  Now how can I find the max. and min. values of $|z|$?  Help me please.  Thanks


How do masterwork armours work (e.g. Feyleather, Starleather)?

In D&D 4e, there are superior "masterwork" versions of armour types, like "feyleather" for leather armour or "wyrmscale" for scale armour. They have a higher armour bonus, but a minimum enhancement bonus, and a price of "special".  How exactly do masterwork armours work? Does any leather armour of +4 or greater qualify to be feyleather for a free +1 armour bonus? Is all +6 plate armour essentially Godplate?


Installed Ubuntu 18.04.3 LTS, but it isn't connecting to WiFi. Says, "No WiFi Adapter Found"

I am an extremely fresh Linux User. I recently dual booted my laptop with Ubuntu 18.04.3 LTS, but it doesn't connect to Wi-Fi. I tried various fixes from the internet, clean installed ubuntu several times, but none of them worked, unfortunately.  WiFi works perfectly fine on windows though.  Help me out, please. I want to slowly and permanently shift to Linux.


Remove File and Folder Permission of External Hard Drive

I have done everything from other posts but still can't access some folders I just want pictures music and doc but Microsoft deems that I do not have permission to view my own files, I just want to use a drive from m old laptop as an external hard drive that anyone can read, I do not want any permissions at all.... ever.


Is there a constraint on the Lagrangian that prevents it from having multiple stationary points?

Particles only go through paths that make the Lagrangian stationary, but I haven't heard anyone explicitly say that the Lagrangian cannot have multiple stationary points. Is there such a constraint? And if not, what determines which path a particle takes?


Windows 7 doesn't autorun Portable Apps Starter on Flash drive

I'm afraid the answer is "it won't due to new security features", but I'll ask anyway.  I have a USB Flash Drive I run Portable Applications on (who doesn't, right?). I use PStart to start up a nice menu I've been using for a couple years, have my configuration dialed in to something that is productive, so I'm not inclined to just switch to another program.  I have an Autorun.inf in the root of the drive. Its contents:  [Autorun] Open=Applications\pstart\PStart.exe Action=Start PortableApps Icon=Applications\PortableAppsMenu\PortableAppsMenu.exe Label=PortableApps   When I insert the device on Windows 7, I get prompted to choose from a variety of autostart things I don't want to do:    It worked fine on XP and Vista, on inserting the PStart.exe would start up and I have menu.


Generate subcatchment starting from a DTM

I would like to know if there is a plug-in in Quantum GIS, which can help me to generate subcatchments starting from a DTM.


Prove $\lim\limits_{n\to \infty}\frac{1}{\sqrt n}\left|\sum\limits_{k=1}^n (-1)^k\sqrt k\right|= \frac{1}{2}$

I'm trying to show that $$\lim_{n\to \infty} x_n=\lim_{n\to \infty}\frac{1}{\sqrt n}\left|\sum_{k=1}^n (-1)^k\sqrt k\right|= \frac{1}{2}.$$ Assuming $\lim\limits_{n\to\infty} x_n=x$ exists, we have  $$x_{2n}=\frac{\sqrt{2n-1}(-x_{2n-1})+\sqrt {2n}}{\sqrt {2n}}$$  Letting $n\to \infty$,  $$\quad \quad x=-x+1$$ $$x=\frac{1}{2}$$  But I'm stuck on proving the existence of $\lim x_n$. Any idea?    Update: I just solved the problem using sandwich theorem + integral test. Still, I would like to see a continuation of my initial idea, i.e. proving     $\{x_{2n}\}$ is monotonically increasing (similarly, $\{x_{2n+1}\}$ is monotonically decreasing)


Verb agreement with relative pronoun "what" as subject

The following construction can be found in one of the post in the ELU.  remembering that the heart fibrils are what vibrate abnormally to cause a heart attack  The verb "to vibrate" is in the third person plural, and the subject pronoun has for antecedent a plural noun; this is apparently normal, but only apparently so (an innate notion of singular agreement impinges upon my mind, yet not in any exclusive fashion, the logic of a plural taking over incessantly); numerous existing cases show that given a plural antecedent, the agreement of the verb can be either plural or singular; cases "a" and "b" below, respectively, are some examples.  () some other role must be found for it. Motivating reasons are what is believed;   () Since the actual behaviours and decisions are what is of interest to us,   () The rules and principles that emerge from these sources are what is compendiously called constitutional doctrine.   ()  But rather they are what is nearest and least dangerous to the rioters.   () Listening and being heard are what are important.   () A workable definition of what we mean by 'drugs' has been used, albeit a circular one, so that drugs are what are usually included in the debate about drugs.   () Degrees of height are what are now referred to. The natural mind, by its two capacities called rationality and freedom, is in such a state as to be capable of ascending through three degrees   () The elements of design are what are actually on the film frame, such as points, lines, planes, shapes, and colors.  I cannot get at any source treating this case. There should be a clear-cut rule about this agreement, or so I imagine for now as I have not given this problem enough time to fathom any real intricacies. If so, what is it?


Ubuntu 21.04 - Ubuntu Software not opening

Yesterday Ubuntu Software was working but today it isn't. Running snap-store shows the following error /snap/snap-store/518/usr/bin/snap-store: symbol lookup error: /snap/snap-store/518/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3.so.0: undefined symbol: atk_plug_set_child  These two updates happened since the last time it worked (yesterday that I installed Spotify) Start-Date: 2021-06-08  09:27:43 Commandline: /usr/bin/unattended-upgrade Upgrade: libgnome-autoar-0-0:amd64 (0.3.1-1, 0.3.1-1ubuntu0.1) End-Date: 2021-06-08  09:27:43  Start-Date: 2021-06-08  15:06:56 Commandline: aptdaemon role='role-commit-packages' sender=':1.223' Upgrade: python3-distupgrade:amd64 (1:21.04.11, 1:21.04.12), libgoa-1.0-common:amd64 (3.38.1-1ubuntu1, 3.38.1-1ubuntu1.1), ubuntu-release-upgrader-gtk:amd64 (1:21.04.11, 1:21.04.12), libgoa-1.0-0b:amd64 (3.38.1-1ubuntu1, 3.38.1-1ubuntu1.1), libgoa-backend-1.0-1:amd64 (3.38.1-1ubuntu1, 3.38.1-1ubuntu1.1), gnome-online-accounts:amd64 (3.38.1-1ubuntu1, 3.38.1-1ubuntu1.1), gir1.2-goa-1.0:amd64 (3.38.1-1ubuntu1, 3.38.1-1ubuntu1.1), ubuntu-release-upgrader-core:amd64 (1:21.04.11, 1:21.04.12) End-Date: 2021-06-08  15:06:57  Additionally snap-changes gives me one entry for today 7    Done    today at 15:36 -05  today at 15:36 -05  Auto-refresh snap "gnome-3-34-1804"  and snap tasks 7 shows Status  Spawn               Ready               Summary Done    today at 15:36 -05  today at 15:36 -05  Ensure prerequisites for "gnome-3-34-1804" are available Done    today at 15:36 -05  today at 15:36 -05  Download snap "gnome-3-34-1804" (72) from channel "latest/stable/ubuntu-21.04" Done    today at 15:36 -05  today at 15:36 -05  Fetch and check assertions for snap "gnome-3-34-1804" (72) Done    today at 15:36 -05  today at 15:36 -05  Mount snap "gnome-3-34-1804" (72) Done    today at 15:36 -05  today at 15:36 -05  Run pre-refresh hook of "gnome-3-34-1804" snap if present Done    today at 15:36 -05  today at 15:36 -05  Stop snap "gnome-3-34-1804" services Done    today at 15:36 -05  today at 15:36 -05  Remove aliases for snap "gnome-3-34-1804" Done    today at 15:36 -05  today at 15:36 -05  Make current revision for snap "gnome-3-34-1804" unavailable Done    today at 15:36 -05  today at 15:36 -05  Copy snap "gnome-3-34-1804" data Done    today at 15:36 -05  today at 15:36 -05  Setup snap "gnome-3-34-1804" (72) security profiles Done    today at 15:36 -05  today at 15:36 -05  Make snap "gnome-3-34-1804" (72) available to the system Done    today at 15:36 -05  today at 15:36 -05  Automatically connect eligible plugs and slots of snap "gnome-3-34-1804" Done    today at 15:36 -05  today at 15:36 -05  Set automatic aliases for snap "gnome-3-34-1804" Done    today at 15:36 -05  today at 15:36 -05  Setup snap "gnome-3-34-1804" aliases Done    today at 15:36 -05  today at 15:36 -05  Run post-refresh hook of "gnome-3-34-1804" snap if present Done    today at 15:36 -05  today at 15:36 -05  Start snap "gnome-3-34-1804" (72) services Done    today at 15:36 -05  today at 15:36 -05  Clean up "gnome-3-34-1804" (72) install Done    today at 15:36 -05  today at 15:36 -05  Run configure hook of "gnome-3-34-1804" snap if present Done    today at 15:36 -05  today at 15:36 -05  Run health check of "gnome-3-34-1804" snap Done    today at 15:36 -05  today at 15:36 -05  Consider re-refresh of "gnome-3-34-1804"  ...................................................................... Consider re-refresh of "gnome-3-34-1804"  2021-06-08T15:36:57-05:00 INFO No re-refreshes found.  I've tried re-installing the snap-store and gnome-3-34-1804 but it didn't work.


Managing access to multiple linux system

A searched for answers but have found nothing on here...  Long story short: a non-profit organization is in dire need of modernizing its infrastructure. First thing is to find an alternatives to managing user accounts on a number of Linux hosts.  We have 12 servers (both physical and virtual) and about 50 workstations. We have 500 potential users for these systems. The individual who built and maintained the systems over the years has retired. He wrote his own scripts to manage it all. It still works. No complaints there. However, a lot of the stuff is very manual and error-prone. Code is messy and after updates often needs to be tweaked. Worst part is there is little to no docs written. There are just a few ReadMe's and random notes which may or may not be relevant anymore. So maintenance has become a difficult task.   Currently accounts are managed via /etc/passwd on each system. Updates are distributed via cron scripts to correct systems as accounts are added on the "main" server. Some users have to have access to all systems (like a sysadmin account), others need access to shared servers, while others may need access to workstations or only a subset of those.  Is there a tool that can help us manage accounts that meets the following requirements?   Preferably open source (i.e. free as budget is VERY limited) mainstream (i.e. maintained) preferably has LDAP integration or could be made to interface with LDAP or AD service for user authentication (will be needed in the near future to integrate accounts with other offices) user management (adding, expiring, removing, lockout, etc) allows to manage what systems (or group of systems) each user has access to  - not all users are allowed on all systems support for user accounts that could have different homedirs and mounts available depending on what system they are logged into. For example   sysadmin logged into "main" server has main://home/sysadmin/ as  homedir and has all shared mounts  sysadmin logged into staff workstations would have nas://user/s/sysadmin as homedir(different from above) and potentially limited set of mounts, a logged in client would have his/her homedir at different location and no shared mounts.   If there is an easy management interface that would be awesome. And if this tool is cross-platform (Linux / MacOS / *nix), that will be a miracle!   I have searched the web and so have found nothing suitable. We are open to any suggestions. Thank you.  EDIT: This question has been incorrectly marked as a duplicate. The linked to answer only talks about having same homedirs on all systems, whereas we need to have different homedirs based on what system user is currently logged into(MULTIPLE homedirs). Also access needs to be granted only to some machinees not the whole lot. Mods, please understand the full extent of the problem instead of merely marking it as duplicate for points...


Can someone tell me which sentence is grammatically correct between the two?

Is it     Pacific Ocean is the largest and the deepest ocean in the world   or     Pacific Ocean is the largest and deepest ocean in the world


How do you draw natural transformation arrows as mentioned in this  but using TikZ rather than xy? More generally, is it possible to draw edges between edge labels, from an edge label to a node, and from a node to an edge label or is it necessary to explicitly construct a node in order to draw an edge? Does providing an edge label in the path environment implicitly construct a node that can be used as the source and target of another edge? I would like to do this using the matrix and path environments in TikZ if possible.  Example:  \documentclass{article}  \usepackage{tikz} \usetikzlibrary{matrix,arrows}  \begin{tikzpicture}[description/.style={fill=white,inner sep=2pt}]     \matrix (m) [matrix of math nodes, row sep=3em,     column sep=2.0em, text height=1.5ex, text depth=0.25ex]     { \mathcal{D} & & \mathcal{J} \\       \mathcal{C} & & \\ };     \path[->,font=\scriptsize]     (m-1-1) edge[loop left] node[auto] {$ F \circ G $} (m-1-1)     (m-1-1.20) edge node[auto] {$ G $} (m-1-3.160)     (m-1-3.200) edge node[auto] {$ F $} (m-1-1.340)     (m-1-1) edge node[left] {$ H $} (m-2-1);     \end{tikzpicture}  \end{document}     How can I connect F◦G and H with a curved natural transformation arrow ⟹? Feel free to rearrange the diagram if you'd like.


Can I restore a deleted site to the Chrome search homepage?

Whenever I start Chrome, I get presented with a Google Logo, search bar and a grid of recent sites that I visited. This picture isn't from my phone, but you should get the idea:    One day I accidentally deleted one of those sites by tapping and holding the box and selecting "remove". Now I have absolutely no idea how to get it back on the front page.   Even though I visit the site several times a day, it flat out refuses to re-appear on this page and I cannot find any option or setting within Chrome to put it there.  Does anyone know how I can get a previously deleted site to re-appear on this page?


Cannot factorise this polynomial into irreducibles

Question is to factorise $x^5+x^2+1$ into irreducible polynomials in $\mathbb{Z}$[x].   But I'm fairly sure $x^5+x^2+1$ is already irreducible, but not sure how to prove this as neither Eisenstein's criterion nor showing that it is irreducible mod(p) will work.   The only thing I have so far is to write it as $x^2(x+1)(x^2-x+1)+1$ and show that these are all irreducible, but not sure that that counts.


I've been working on a small personal project and mainly polishing the IO aspect of the program.   I'm mainly having trouble with one method, which is responsible of calling two methods that read one line of text document and dissect it to find a certain string.  public boolean noSavedGame(){     boolean noGameFound = false;     read();  //method reads the text document that can have multiple lines     String temp = find();  //method finds the property and returns it in a string      if(temp == "none"){          System.out.println("Saved game not found");         noGameFound = true; //a saved game WAS NOT FOUND      }     else{         System.out.println("saved game found");         noGameFound = false; //a saved game WAS FOUND         propertyDetail = temp;     }      return noGameFound; }   So, the first line of the text document looks like this:  <pastSavedGame> - none   read() correctly takes that line and find() correctly returns "none" as its supposed to return the property.   But the conditional is not working right. Even though temp equals "none", the if-statement is executed, not the else statement. At first, I thought whitespace was an issue, but does not seem to be a factor.  I apologize for what may be a very simple question, but I am new to Java. Thank you for the help.


Which sentence is grammatically correct for a song?

My question is, which of the following sentences(#1 and #2) is grammatically correct? (This is part of a song's lyrics.)     1.You and me with empty hands.   Or     2.You and I with empty hands.


How can I remove a file that looks like a flag?

While using grep with -oG flag I accidentally create a file named -v.   -rw-rw-r-- 1 username username  334 Feb 10 14:29 -v  Now I cannot figure out how to get rid of it.  I've tried:  rm -v rm "-v" rm '-v' rm -f "-v" rm \-v   This is on a server so I only have the command line.  How do I remove this file?


Show that, in a group of n people, everyone has the same number of friends if..

Question:  Consider a group of n people with the following properties:  • no person is friends with everyone, • any pair of strangers share exactly one friend in common,  • no three people are mutually friends. Show that everyone has the same number of friends.  I want to solve this using Ramsey's theorem but I'm struggling to formulate it in a way that would make it straightforward.. Any help would be greatly appreciated.


I am interested in a utility or process for monitoring disk IO per file on CentOS.  On Win2008, the  utility allows this type of drilldown, but none of the Linux utilities I have found do this (iostat, iotop, dstat, nmon).  My interest in monitoring IO bottlenecks on database servers. With MSSQL, I have found it an informative diagnostic to know which files / filespaces are getting hit the hardest.


Is there a decent way with static HTML/XHTML to create common header/footer files to be displayed on each page of a site? I know you can obviously do this with PHP or server side directives, but is there any way of doing this with absolutely no dependencies on the server stitching everything together for you?  Edit: All very good answers and was what I expected.  HTML is static, period.  No real way to change that without something running server side or client side.  I've found that Server Side Includes seem to be my best option as they are very simple and don't require scripting.


Is there any way at all to create my own anchors in an answer

After writing a very long answer (as the initial answer was producing lots of questions), I wanted to add a table of contents to ease browsing the answer. But I was unable to create HTML anchors for the various sections. Is there any way to do that. The anchors I created by editing were simply erased when I posted.  I did read several questions, and their answers, about anchoring. But, at best, I just got a vague negative feeling.


What is a user-friendly way to log off other users?

What is the Ubuntu equivalent of this interface?    I am looking for a user-friendly method that the owner of a computer can use to log off other users without having to restart.  The case I'm concerned about is of the beginner-level user who needs administrative control over the computer because they are the owner, but probably isn't concerned with most of the tasks we would usually associate with system administration.


What is the correct way to ensure unique entries in a temporal database design?

I'm having trouble with the design of a temporal database. I need to know how to make sure I have only one active record for any given timeframe for a store. I have read , but I'm afraid I can't wrap my head around how the trigger would work. Particularly, how I would work that trigger into my existing one that prevents updates to records, and inserts a new record instead. My real problem is that I do not know how to prevent a Store from having more than one effective date when the finished date is null. (i.e. prevent 2 active records for a store).  This is what I have, but it allows me to insert a new record for a store with a different effective date.  Table Definition:  /****** Object:  Table [PCR].[Z_STORE_TEAM]    Script Date: 05/09/2014 13:05:57 ******/ IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[Z_STORE_TEAM]') AND type in (N'U')) DROP TABLE [Z_STORE_TEAM] GO  IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[Z_STORE_TEAM]') AND type in (N'U')) BEGIN CREATE TABLE [Z_STORE_TEAM](     [STORENUM] [int] NOT NULL,     [TEAM] [varchar](10) NULL,     [EFFECTIVE] [date] NOT NULL,     [FINISHED] [date] NULL, PRIMARY KEY CLUSTERED  (     [STORENUM] ASC,     [EFFECTIVE] ASC )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY] ) ON [PRIMARY] END GO   Sample Data:  INSERT [Z_STORE_TEAM] ([STORENUM], [TEAM], [EFFECTIVE], [FINISHED]) VALUES (1, N'1', CAST(0x01380B00 AS Date), CAST(0x81380B00 AS Date)) INSERT [Z_STORE_TEAM] ([STORENUM], [TEAM], [EFFECTIVE], [FINISHED]) VALUES (1, N'2', CAST(0x81380B00 AS Date), NULL) INSERT [Z_STORE_TEAM] ([STORENUM], [TEAM], [EFFECTIVE], [FINISHED]) VALUES (2, N'1', CAST(0x01380B00 AS Date), NULL) INSERT [Z_STORE_TEAM] ([STORENUM], [TEAM], [EFFECTIVE], [FINISHED]) VALUES (2, N'2', CAST(0x20380B00 AS Date), NULL)   Instead of Update Trigger:  CREATE TRIGGER [tr_ZStoreTeam_update]     ON  [Z_STORE_TEAM]    INSTEAD OF UPDATE AS  BEGIN     -- SET NOCOUNT ON added to prevent extra result sets from     -- interfering with SELECT statements.     SET NOCOUNT ON;      -- Insert statements for trigger here     INSERT INTO PCR.Z_STORE_TEAM(STORENUM,TEAM,EFFECTIVE)     SELECT I.STORENUM,I.TEAM,GETDATE() AS EFFECTIVE     FROM inserted I     INNER JOIN PCR.Z_STORE_TEAM ST         ON I.STORENUM = ST.STORENUM      UPDATE ST     SET FINISHED = GETDATE()     FROM PCR.Z_STORE_TEAM ST     INNER JOIN inserted I         ON ST.STORENUM = I.STORENUM         AND ST.EFFECTIVE = I.EFFECTIVE END  GO


Normally the privilege of protecting questions comes at 15000 points, but in the econ.SE, :        The problem is I cannot seem to be able to find the tool for protecting eligible questions. Where can I find it, or do I still need 15000 points despite what the help section for our beta says?


Problem with print composer when exporting a map with Google Maps Plugin in the background

Whenever I try to export a map with the Google Maps plugin in the background, it exports but just exports to a blank document. When I turn the Plugin off so it is not in the background, it prints fine. Why is this?


I imported an obj file and this is what I get. I cannot figure out how to solve this.


How can I upgrade gnome shell to version 3.38 from 3.36 on Ubuntu 20.04?

I recently installed Ubuntu 20.04 and it currently runs gnome 3.36. I heard that gnome 3.38 has been released. I have tried everything that I could find on the internet but nothing has worked so far. The software updater does not show any update on gnome either. Please tell me what to do?


How to add this mathematical sign in LaTeX

Following is an equation (taken from Reinforcement Learning field). How can I add the first sign (like 1) in LaTeX and what does it mean?


I've seen some AWS documentation about how to mitigate DDoS attacks but this question is exclusively DoS. From the point of view of my EC2 instances, that are behind the ELB, the HTTP(S) requests are all being originated from the ELB, therefore the standard rules for firewall won't work to prevent multiple accesses from the same IP.  Considering DoS only, does AWS ELB already prevent/mitigate DoS attacks? If not, how are DoS attacks suppose to be handled when using AWS ELB?


Google Chrome: current address outside of omnibox

Something broke in my chrome install and now my current url is outside to the left of my omnibox:    I can even click it as a button and it brings me to that page, also it will always stay blank, even when typing in it.  Is there a way to reset the layout?


Can't access https despite port 443 is opened

This is my first time setting up a server and I've just installed a SSL cert. I have also made some changes to the iptable to allow access to 443. Below is the output of iptables -L   target     prot opt source         destination ACCEPT     all  --  anywhere       anywhere        state RELATED,ESTABLISHED ACCEPT     tcp  --  anywhere       anywhere        state NEW tcp dpt:http ACCEPT     icmp --  anywhere       anywhere ACCEPT     all  --  anywhere       anywhere ACCEPT     tcp  --  anywhere       anywhere        state NEW tcp dpt:ssh ACCEPT     tcp  --  anywhere       anywhere        state NEW tcp dpt:smtp ACCEPT     udp  --  anywhere       anywhere        state NEW udp dpt:smtp ACCEPT     tcp  --  anywhere       anywhere        tcp dpt:urd REJECT     all  --  anywhere       anywhere        reject-with icmp-host-prohibited ACCEPT     tcp  --  anywhere       anywhere        state NEW tcp dpt:https   I also checked nmap by ssh'ing into the server and run nmap from the server itself.  Starting Nmap 5.51 ( http://nmap.org ) at 2016-04-15 15:31 SGT Nmap scan report for <my.domain.ip> Host is up (0.0000050s latency). Not shown: 994 closed ports PORT     STATE SERVICE 22/tcp   open  ssh 25/tcp   open  smtp 80/tcp   open  http 443/tcp  open  https 3005/tcp open  deslogin 3031/tcp open  epic   When I tried telnet [my.domain.ip] 443 remotely  Trying <my.domain.ip>... telnet: connect to address <my.domain.ip>: Connection refused telnet: Unable to connect to remote host   Lastly, I do not know if nginx.conf plays a part but below is a snippet of the code for the ssl for the domain  #include /etc/nginx/conf.d/*.conf;  server {     listen          <my.domain.ip>:80;     server_name     mydomain.com www.mydomain.com;     index           index.html index.htm index.py;     access_log      /var/log/nginx/mydomain.com.log;     error_log       /var/log/nginx/mydomain.log.error;     root            /home/fr/;     charset         utf-8;      #error_page 500 502 503 504 /custom_50x.html;     #location = /custom_50x.html {     #        internal;     #}      location / {         uwsgi_pass  <my.domain.ip>:3031;         include     uwsgi_params;     }      location /static {         root        /home/fr/env/FRuler/fruler/;     } }  ### for ssl  ### server {     listen          <my.domain.ip>:80;     server_name     mydomain.com www.mydomain.com;     index           index.html index.htm index.py;     access_log      /var/log/nginx/mydomain.com.log;     error_log       /var/log/nginx/mydomain.log.error;     root            /home/fr/;     charset         utf-8;       location / {         uwsgi_pass  <my.domain.ip>:3031;         include     uwsgi_params;     }      location /static {         root        /home/fr/env/FRuler/fruler/;     } }  server {     listen 443 ssl;     server_name     mydomain.com www.mydomain.com;     ssl on;     ssl_certificate /etc/ssl/mydomain/ssl.crt;     ssl_certificate_key /etc/ssl/mydomain/server.key;     server_name mydomain www.mydomain.com;     access_log  /var/log/nginx/mydomain.com.log;     error_log   /var/log/nginx/mydomain.log.error;     location / {         root /home/fr/;         index index.html;     } } ### end of ssl ###   Any help is appreciated.


Is it possible to do the following with AucTeX:  Suppose you have a master file (master.tex) like:  \documentclass{minimal} \begin{document}    \input{fileA}    \input{fileB} \end{document}   and for example fileA.tex looks like:   Some text  %% Local Variables: %% coding: utf-8 %% TeX-master: "master.tex" %% End:   Now I am looking for an easy way to navigate between the master and input files, so I need the following:    Click (with modifier) on \input{fileA} in the master file to open fileA.tex or just switch to its buffer if it exists. Alternatively to clicking: move point to fileA an press some key sequence to do the same. When you are fileA.tex: Press a key sequence to open the master file or just switch to its buffer if it exists and move the point to the line \input{fileA}.   Same with \include instead of \input.  So, how can I do this or something similar in AucTeX?


E: Package '' has no installation candidate

I am unable to apt-get install any packages because E: Package '<package name>' has no installation candidate. Unlike the other similarly named questions, I am using debian and I have not been able to get any packages to work due to the same error. apt is still able to list repositories. I have updated, upgraded, rebooted, and repeated after my attempts at fixing sources.list, but nothing has worked.  For example,  $ sudo apt-get install nodejs Reading package lists... Done Building dependency tree        Reading state information... Done Package nodejs is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'nodejs' has no installation candidate   Running $ find /etc/apt/ -path *.list | xargs cat produces:  #------------------------------------------------------------------------------# #                   OFFICIAL DEBIAN REPOS                     #------------------------------------------------------------------------------#  ###### Debian Main Repos deb http://ftp.us.debian.org/debian/ jessie main contrib non-free  deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free   ###### Debian Update Repos deb http://security.debian.org/ jessie/updates main contrib non-free  deb http://ftp.us.debian.org/debian/ jessie-proposed-updates main contrib non-free  deb-src http://security.debian.org/ jessie/updates main contrib non-free  deb-src http://ftp.us.debian.org/debian/ jessie-proposed-updates main contrib non-free    deb http://archive.raspberrypi.org/debian/ jessie main ui # Uncomment line below then 'apt-get update' to enable 'apt-get source' deb-src http://archive.raspberrypi.org/debian/ jessie main ui deb https://dev2day.de/pms/ jessie main deb http://dl.bintray.com/openhab/apt-repo stable main


Multiple chrome.exe processes in Task Manager

I know that each new tab on Google Chrome have its own process, but I have 14 chrome.exe processes running actually as I can see it on the Task Manager, and only two tabs are opened on Google Chrome.    Could it be due to Chrome extensions? What other reason can open more chrome.exe process and how to avoid it?


Question about addressing someone as president

Do you still call someone president even if they are retired? What about if they were impeached? What about in Richard Nixon's situation where he abdicated to avoid impeachment. Do you still call them president even if they formally resign their office of presidency?  EDIT: abdicate, not acquitted.


What is Big O notation? Do you use it? I missed this university class I guess :D Does anyone use it and give some real life examples of where they used it?  See also:


How does one determine ladder operators systematically?

In textbooks, the ladder operators are always defined," and shown to 'raise' the state of a system, but they are never actually derived.  Does one find them simply by trial and error? Or is there a more systematic method/approach to obtain them?


I'm a maths teacher in Italian secondary school and I've been spending some time trying to construct "meaningful" problems about conic sections. I particularly like problems which focus on practical applications of the curves (in engineering, physics, finance, etc.), on their geometric properties, or both.  I know there's this really easy formula to find the latus rectum of a conic from its key parameters. It's quite nice and straightforward to derive it, but...  ... What's its use? Why should anyone be interested in knowing the latus rectum of a curve? Is there any physical phenomenon, any architectural trick, or anything else where its position and/or length plays a key role?   I know just the relation between angular momentum, standard gravitational parameter and latus rectum in an astronomical orbit ($l=\frac{h^2}{GM}$, where $l$ is half the latus rectum, and $h$ is the ratio between the angular momentum associated to the orbiting body and its mass). It's cool, but a bit tricky, and probably too far-fetched for secondary school students... Is there anything simpler? Or just anything else, at any difficulty level?  Many thanks!


While looking into the schematic of the Nucleo STM32F767ZI, I saw a blue led driven by 3.3V, which is the GPIO voltage of the STM32. The datasheet of this led specifies a typical voltage drop of 3.3V, so how does this configuration work with that 680 limiting resistor, as almost all voltage drops on the led?


Why does the recommended key size between symmetric and asymmetric encryption differ greatly?

In various articles it is mentioned that for secure communications, the recommended key sizes are 128-bit key size for symmetric encryption (which makes it $2^{128}$ possible keys?) and 2048-bit key size for asymmetric encryption ($2^{2048}$ possible keys?).  Why do they differ so greatly? It seems like I am missing a very big part of the equation.


Booting Problem : can't request region for resource

I'm quite new at this because I've been using windows and now I'm stuck not knowing what to do. I created a bootable USB stick with Rufus, changed the boot options and started to boot Ubuntu. It shows the grub menu and the first 2 choices are install or try without installing. When I select either on of those 2, it starts booting but then hangs in the loading screen. I pressed F2 and I get the error:      can't request region for resource   I have tried every possible combination of BIOS settings, Rufus settings and some of the solutions that I found online but nothing works. I even formatted Windows 10 and still nothing. All drivers are up to date. I just run out of ideas, need help.


Assign different multimedia functions (like a notebook setup) to F1-F12 keys on desktop computers?

I want to attribute multimedia functions to F1-F12 keys on a desktop computer.  I know they have standard functions (like renaming a file with F2) but It would be way more useful If I could use F2-F3 to increase/lower the computer volume, and etc, pretty much notebook standard stuff.  Is there a user friendly, or not, way to do that?


Can film be considered to have infinite resolution as opposed to digital sensors?

Camera sensors have an specific number of cells,and their resolution depends on this amount of cells. But film does not have this "units" of sensible material; So, does the size of the particles of the film's light reacting coatings determine its resolution, or can it be said that film has an infinite resolution?


I want to use an image or icon as a custom cursor in WPF app. What's the best way to do it?


we recently got the statement that $(P \land Q) \to P$ is a tautology, but i do not get why it is one, since it is wrong for certain cases of P and Q.


Algorithm for Simple Graph Given Degree Sequence

Are there an algorithm that provides a fastest way to construct simple graph given a degree sequence?  Are there any other interesting problems around this area that I might be overlooking and should consider exploring?


If I inline a bounded line segment like this:  the distance \tikz{ \draw [|-|] (0,0) -- (5ex,0); } overarching the activities   how can I make the line appear vertically centered on the line (automatically taking into account the line height).


How to delete empty folder with thumbs.db without disabling thumbnails

I often have problem to delete a folder that contains a thumbs.db file. Also tools like  fail. It seems to be loccked by os for some unknown reason. The only solution i found in the net was to disabling thumbnails in windows but this is a bad workaround isn't it?  Is there a "normal"(or official, supported by MS) way to delete an empty folder that only contains a thumbs.db?


What science fantasy 80's series had a car that turned at right angles?

I remember watching a series in the 80s about a car.  It wasn't Knight Rider and I don't think it was Automan.  It was a cop or detective-type guy who had a car which, when it went round corners, did so at right angles.  He always dreaded getting in the car, and when the car went round the corner he was thrown up against the window inside.  My brother and I always watched it but it wasn't on for long... and everyone I ask thinks I'm nuts!  Any ideas?


How to add an extra searchable dir with personal style files to TeXLive, NOT under ~/Library/texmf?

Migrated from Win-MiKTeX (WMTX) to MacOSX-Aquamacs with TeXLive (MXATL), I have my personal .sty/.cls files somewhere under my homedir. So I go with ShreevatsaR's comments from Aug. 5 on this site under 'where-do-i-place-my-own-sty-files-to-make-them-available' .  And in my case, the question remains, how to make the system MXATL aware of these files. Previously, WMTX, I could add a directory and then run something like texhash. Now I added the directory to all the relevant TeX File entries in Aquamacs-Wp-Tex-AUCTex-Tex File groups, restarted Aquamacs, even ran texhash in sudo mode, and placed an alias under ~/Library/texmf to no avail.  What did I do wrong? Or can I add this dir somehow to the dirs that texhash updates, as I cannot see it mentioned in the terminal output of texhash? Or do I just have to go with ~/Library/texmf :-(?  Thanks, Henk van Dorp


How to determine if my app is running on Android

I have an app that runs on several mobile devices running either Fedora or Android. To consolidate my codebase and distribution I would like to determine which OS I am on. I tried System.getProperty("os.name"), but that just returns "Linux". Is there something unique to Android in the System properties? Thanks


Conflicting counts of unanswered questions

I have noticed that the two routes to getting unanswered questions show different counts.    For example on Academia.SE, if I click "Unanswered" on the top banner, it says there are 109 unanswered questions.  If, on the other hand, I click "Questions" and go to the "Unanswered" sub-set, it says there are 118 unanswered questions.  This seems wrong, that there should be two conflicting numbers for what the site leads me to believe should be identical queries.    Further investigation reveals the exact difference, which leads me to believe that we are definitely dealing with a bug.  Because apparently I have nothing better to do with my time, I ran a diff by hand on the two sets of Academia unanswered questions.  The 9 questions in the "Questions --> Unanswered" that are not in "Unanswered --> Votes" break down as follows:   Two are negatively voted questions with no answers, e.g.  Seven are positively voted questions with negatively voted answers, e.g.,    The first might be a desired behavior, but if so it should be documented.  The second is clearly a problem because the most highly voted unanswered question on the site is not listed, just because somebody gave it a crappy answer!


I am curious about wisdom, I was questioning myself if I could figure out what is wisdom, and I guess wanted to go with obvious answer and conected wisdom with knowledge, but this is not one to one ratio. In my mind people hold both wisdom and knowledge and books can only hold knowledge. So by certain logic I get to conclusion that if wisdom is written down in a book it becomes knowledge. and this is my confusion, I wonder if this is safe assumption and what does it take for knowledge from a book to become wisdom once again, as I am certain in my mind that just by reading a piece of knowledge one is not granted with wisdom.


How do you check if a file exists or not?

so I am trying to code for an RLE program. I need to compress and decompress files, but I struggled to check if a file exists or not. can you help me with this please!  this is my programming so far:  file2 = input('Enter name of file containing the RLE compressed data: ') # takes the name of the file     if file2.exist():         text = open(file2, 'r')  # opens the file and reads it only             decode = ''         count = ''         data = input('Enter the name of the file to be compressed: ')         for char in data:             if char.isdigit():  # numerical char apears                   # isdigit() checks if it contain digits; if yes or no                  count += char  # its added to the count             else:  # new char appears                  decode += char * int(count)                   # ^ decompress the char according to the count num                  count = ''  # saves the new count num      else:         print('File name not found.')   I know that I need to fix the part where it says data = input('Enter the name of the file to be compressed: ') but I will do it later after fixing the file part. I kind of have an idea of how to do it.


Google Drive "Gnome Online Account" Mount

I was very pleased to see that there's now a method to integrate a google drive into Nautilus on 16.04 using this link:    But now I am wondering if I can take it a step further and mount the google drive somewhere so I can use bash to do recursive copies, etc?  Thanks.


I am trying to loop through all the players and   1> Output a line 2> Create an object  based on certain conditions. But I am getting a Stackoverflow error.  public void refuteSuggestion(Weapon w, Character c, int currentPlayerNumber) {     for (Player p : game.getPlayers()) {         if(currentPlayerNumber != 6) {             if (p.getNum() == currentPlayerNumber + 1) {                 Set<Card> cardSet = new HashSet<>();                 cardSet.addAll(p.getPlayerCards());                 Card card = (Card) getRandomObject(cardSet);                 System.out.println(card.getName(0));             } else {                 refuteSuggestion(w, c, currentPlayerNumber + 1);             }         }         else{             refuteSuggestion(w, c, 0);         }      }     System.out.println("No one refuted..."); }


How to Show that this relation is not well defined.

We represent an element of the domain as an equivalence class $\bar x$, and use the notation $ \left[ x \right]$ for equivalence classes in the codomain. Show that this is not well defined.     $ f: \Bbb Z_{4}  \rightarrow \Bbb Z_{6} \; \text{ given by, } f(\bar x) = \left[ 2x+1\right]$   My question is how do does one determine/ show that this is not a function? How does one show that this not one to one?  $f(\bar 0) =  2(0) +1 = [1]$  $f(\bar 1) = [3]$  $f(\bar 2) = [5]$  $f(\bar 3) = [7]$  $f(\bar 4) = [9]$  $f(\bar 5) = [11]$  $f(\bar 6) = [13]$  I also guessing here that if a number is a multiple of another then that may play a role in determining it if is one-one.


Let $\emptyset\neq A\subseteq\mathbb{R}$ a bounded set. Consider $-A=\{-a:a\in A\}$. I want to prove that $-\sup(-A)=\inf(A)$.  It is easy to see that $-\inf(A)$ is an upper bound of $-A$, so $\sup(-A)\le -\inf(A)$, then $-\sup(-A)\ge \inf(A)$.  How can we prove that $-\sup(-A)\le \inf(A)$?  Thanks.


Dynamic and Lexical variables in Common Lisp

I am reading the book 'Practical Common Lisp' by Peter Seibel. In Chapter 6, "Variables" sections "Lexical Variables and Closures" and "Dynamic, a.k.a. Special, Variables".  My problem is that the examples in both sections show how (let ...) can shadow global variables and doesn't really tell the difference between the Dynamic and Lexical vars. I understand how closures work but I don't really get whats so special about let in this example: (defvar *x* 10)  (defun foo ()   (format t "Before assignment~18tX: ~d~%" *x*)   (setf *x* (+ 1 *x*))   (format t "After assignment~18tX: ~d~%" *x*))   (defun bar ()   (foo)   (let ((*x* 20)) (foo))   (foo))   CL-USER> (foo) Before assignment X: 10 After assignment  X: 11 NIL   CL-USER> (bar) Before assignment X: 11 After assignment  X: 12 Before assignment X: 20 After assignment  X: 21 Before assignment X: 12 After assignment  X: 13 NIL  I feel like there is nothing special is going on here. The outer foo in bar increments the global x, and foo surrounded by let in bar increments the shadowed x. What's the big deal? I don't see how is this supposed to explain the difference between lexical and dynamic variables. Yet the book continues like this:  So how does this work? How does LET know that when it binds x it's supposed to create a dynamic binding rather than a normal lexical binding? It knows because the name has been declared special.12 The name of every variable defined with DEFVAR and DEFPARAMETER is automatically declared globally special.  What would happen if let would bind x using "normal lexical binding"? All in all, what are the differences between dynamic and lexical binding and how is this example special regarding dynamic binding?


In the following example, can I use the truck, it, and one interchangeably? Are they all correct?        Yesterday my friend told me someone had parked a truck in our playground but when I got there I could not see the truck.    Yesterday my friend told me someone had parked a truck in our playground but when I got there I could not see it.   Yesterday my friend told me someone had parked a truck in our playground but when I got there I could not see one.


How to use find command to search for multiple extensions

I can get all jpg images by using:    find . -name "*.jpg"     But how can I add png files to the results as well?


Why didn't The Mountain enforce Cersei's order?

In S07E07 "The Dragon and the Wolf" of Game of Thrones, while Jaime is preparing his troops to march to Winterfell, Cersei pulls him aside & tells him she means to double cross the rest. She has no intention of helping Dany & Jon.     Jaime says he made a promise to fight for the living & he intends to keep it & abandons Cersei. She calls it treason & nods to The Mountain to kill Jaime. He draws his sword & blocks Jaime's way.     Jaime calls out this bluff & walks away from her & The Mountain doesn't do anything. How did Mountain interpret Cersei intentions really. Cersei doesn't nod again for him to stop. He's supposed to be an undead mute.     Why didn't The Mountain enforce Cersei's order to kill Jaime?


Why does no current flow when GND of one battery is connected to VCC of other battery?

I have enough experience with electronics to design and solder working circuits. I never quite understood though why circuits must be closed for current to flow.  I alway understood electrical current as the movement of charged particles (free electrons usually in circuits), from a ‘high pressure’ region to a ‘lower pressure’ region.  But by that analogy I never could comprehend why no current flows when the - pole of one battery is connected to the + pole of another battery?  Please don’t say “because the circuit isn’t closed”. It’s exactly what I’d like to understand - on a physical level - why the circuit must be closed (especially when understanding electrical current as the flow of charged particles from high-density to low density)


I have both Python 2.7.12 and 3.5 installed on my Ubuntu 16.04 system. I installed pandas using pip install pandas. When I import pandas in python 2 it works fine. But when I import pandas in python3 it throws an error saying:  ImportError: No module named 'pandas'   How do I install pandas for python3?


Upgrade Huawei Ascend Y530 to Lollipop or Kitkat?

How do i upgrade my Huawei Ascend Y530 phone to KitKat or Lollipop? Please, no surveys. Also, it is the MEO version (100 euros), not the Original (120 euros). It is rooted and currently running Android 4.3


Let $ f(z) = z + \sum\limits_{n=2}^{\infty}a_nz^n $ have a positive radius of convergence. Does there exist a series $ g(z) = z + \sum\limits_{n=2}^{\infty}b_nz^n $, satisfying \begin{equation} f(g(z))=z? \end{equation} Does this series have a positive radius of convergence? Are the coefficients $ \{b_n\} $ uniquely determined?


incoming mail just sits in the drop folder

I want a document library to recieve email and store it so followed the steps outlined here:   I seem to be a bit stuck.  The mail's being delivered to the machine and it's appearing as .eml files in the drop folder, so SMTP and delivery is OK.    I assume Sharepoint's supposed to pick up the file, stick it in a library and delete it, but it doesn't, the mail file just sits there.  Nothing in the logs, obviously.  I haven't set this up before, how often does the timer service come about and pick up the mail?


Why is the volume of a cone one third of the volume of a cylinder?

The volume of a cone with height $h$ and radius $r$ is $\frac{1}{3} \pi r^2 h$, which is exactly one third the volume of the smallest cylinder that it fits inside.  This can be proved easily by considering a cone as a , but I would like to know if it can be proved or at least visual demonstrated without using calculus.


Harmonic conjugate of $\ln|z|$ in $\mathbb C \setminus \{0\}$

How I prove that $u(z)=\ln |z|$ has no harmonic conjugate in $\mathbb C \setminus \{0\}$ ?   I found from C-R equation that $v(z)=\arctan(y/x)$ , which is defined in  $\mathbb C \setminus \{0\}$ . So why it is not a harmonic conjugate of $u$ ?


Show that the relation $(- 1) (- 1) =  1$ is a consequence of the distributive law.   This question is the first problem from 'Number Theory for Beginners" by Andre Weil. I cannot get the point from where to begin. I tried using $1\cdot 1 = 1$ and $ 1\cdot x = x $, but couldn't get somewhere. Can you help me just with a hint? I would be willing to work up from there.


This is a plot of my data    These are the values:     xvalues  yvalues 1   1.091186 2   2.653722 3   3.309146 4   5.206479 5   5.115582 6   8.537005 7   10.013147 8   9.802291 9   10.667769 10  5.809750 11  9.624475 12  11.806013 13  13.587066 14  14.146781 15  13.707472 16  12.891355 17  19.435301 18  16.122108 19  17.768536 20  23.813027 21  21.819081 22  23.556074 23  21.170983 24  27.621148 25  22.932580 26  20.704689 27  25.530339 28  26.227371 29  26.051016 30  31.047145   I now do a PCA and a biplot of it:    According to Jeromy Anglim in:        The left and bottom axes are showing the loadings; the top and right axes are showing principal component scores.      The left and bottom axes are showing [normalized] principal component scores; the top and right axes are showing the loadings.   I want to be sure I really get this.   Let's start with the loadings: these can be visualized in R by writing:   results <- prcomp(your_data) results$rotation             PC1        PC2 xvalues   0.7235616  -0.6902599 yvalues   0.6902599   0.7235616  summary(results)  Importance of components:                        PC1     PC2 Standard deviation     12.0747 1.56606 Proportion of Variance  0.9835 0.01654 Cumulative Proportion   0.9835 1.00000   Now lets look at the red arrow of xvalues. Its tip is around 0.25 in the x-axis of the loadings. But according to the loadings I have just writen, it should be around 0.72. What am I missing?   Finally, lets look at the point 1. According to the axes, that is telling me the principal component score. Is it that the coordinate in the new frame of reference? It doesn't make sense to me because I think that the new origin of the axes is around the point (15,15) in the Plot 3. If I look at that (and I guess that I am completely wrong here), the point one should have a coordinate around -20 or so, and not 40. Where is my mistake?  Update  I tried plotting this:  plot(pca_results$x)     Here it can be seen that the first point has the coordinate that I thought it had to have. But, still, what are the units in the biplot then??


Is the mapping $ q \mapsto \|f\|_{L^q(U)}$ continuous?

I came up with this when trying to prove embeddings of $L^p(0,1)$ spaces. Suppose $U =(0,1)$ (or more generally  a bounded subset in  $\Re^n$). Is the mapping  $\phi = p \mapsto \|f\|_{L^p(U)}, \phi: [1,q] \rightarrow \Re$ continuous? Any ideas or counter examples?   Edit: This is not a duplicate with  because of different assumption on $f$!


Jack McDevitt book where a toy-like spaceship turns out to be real for a small butterfly-like spacefaring race

I am looking for a particular Jack McDevitt novel, I believe set in the Alex Benedict series. It may have been a subplot or the main plot, but they find a toy-like spaceship, only to uncover near the end that it is actually a real spacecraft, used by a small butterfly-like spacefaring race. I have looked at all my Jack McDevitt Academy and Alex Benedict series books, of which I have all except Cauldron, and I don't think it is Cauldron.


echo $HOSTNAME result become key to a variable

Property server1=abc,def,ghc server2=xyz,tes,iuy  #!/bin/sh  echo $server1 abc,def,ghc  echo $HOSTNAME server1   with those info above, I want to output the output "abc,def,ghc" in a test variable.   echo \$$HOSTNAME $server1  bash-4.1$ test=`echo \$$HOSTNAME` bash-4.1$ echo $test 8722HOSTNAME   How can I get this done in perl/bash?


How can I disable the "popping" sound when adjusting the volume?

Whenever I adjust the volume there's a popping sound to indicate when the volume is changing. I find it really annoying.   Is there any way to change/disable this behaviour?


How to deal with categorical features with thousands of levels?

I have a query that I perform, I have a dataset that has several categorical features with thousands of levels.   Applying get_dummies would generate a dataset that I could not work with. I would be interested to make selection of the most important levels and the rest of levels of less importance group them. Then i can apply get_dummies.  Do you have any idea how to do this?   It is possible to apply chi squared to the levels of the categorical features instead of to the own features.  I usually use python and scikit learn.


display big texts (on a graphic mode?) without a desktop environment

Premise: In a automotive gate automation scenario, I'm building a daemon, that I think to run in an Ubuntu headless server.       linux headless host     +----------------------+     |                      |     |                      |     |                      |     |   +--------------+   |     |   | graphic card |   |     +---+------+-------+---+                | HDMI                |                | +--------------v---------------+ |                              | | Please contact the operator. | | Push the emergency button    | |                              | |                              | |                              | |                              | +------------------------------+      high resolution screen  Goal: The daemon program has to display some simple texts on a screen. Basically I just need to write text lines on a stdout, but with configurable BIG size fonts and geometry, as I could with a gnome terminal on a desktop environment. The point is that I would avoid to install a desktop environment just to solve the problem.   In the screenshot it's displayed the command clear && echo "Please contact operator" on a gnome terminal with different font size setting.  BTW, the reason of big font requirement is that displayed text will be read by truck drivers, at a distance of 1/2 meters from the computer monitor. Notes:  A way I explored is to set the TTY character setting (at GRUB level). Unfortunately it doesn't appear to be a good option, because the font setting are very limited.  Reading , maybe framebuffer mode could be an option?   Question: How can I display big front texts (so in a graphic mode) on a headless computer?


How to test if my distribution is multimodal?


Why does my child bedroom say the beds are taken

I bought a plot in Falkreath and finished half of the house and furnished it. I later realised that in the kids room all the bed said they were taken, even thoough I do not have anyone living in the house. I also cannot adopt any children.


What am I doing wrong? Joint Density of sum of random variables!

So, I have this question:    And, what I have tried so far is I let $z_1 = \frac{X + Y}{2}$ and let $z_2 = \frac{X - Y}{2}$ to use change of variables for this question. However, when I work this out and plug it into my joint distribution of $X$ and $Y$ above, I end up with the $z_2$ disappearing and only having $z_1$ left in my joint distribution of $z_1$ and $z_2$. So, then when I go to find the marginal for just $z_1$ (which is $\frac{X + Y}{2}$ <- what I am looking for), there is no $z_2$ therefore, integrating wrt to $z_2$, I get $z_2$ just come up (integral of 1). This is an issue because the bounds are from 0 to $\inf$. Obviously, I can't have infinite in my marginal density so what am I doing wrong?   Also, for question 5, I work it out similarly except I let $z_2 = X$ but I just end up with the exact same density as $f_{x,y}$ as seen in question 4 - is that normal? Please help, I been doing this question for a long time trying various dummy transformations.  Also, for question 4, I found the marginals of $x$ and $y$ and realized that the independence consequence (of the product being equal to the joint) is satisfied but using convolution, I get the same issue of my integral coming out to infinite! Thank you for all the help!   EDIT: Am I doing my bounds wrong? the bound for z_2 is from 0 to inf or 0 to z_1?


Pair of adjoint functors and showing that two certain maps are inverses

I'm currently self-studying "Categories and Sheaves"by Schapira and Kashiwara, and I've been stuck on problem 1.19 all day today, so I was hoping that someone could help me out.  Let $\mathcal{C}$, $\mathcal{C'}$ be categories and $L_v:\mathcal{C} \rightarrow \mathcal{C'}$, $R_v:\mathcal{C'} \rightarrow \mathcal{C}$ be functors such that $(L_v,R_v)$ is a pair of adjoint functors (v=1,2). Let $\epsilon_v: id_\mathcal{C} \rightarrow R_v L_v$ and  $\eta_v: L_v \circ R_v  \rightarrow id_{\mathcal{C'}}$ be the adjunction morphisms. Prove that the two maps $\lambda$,$\mu$ : $$Hom_{Fct(\mathcal{C},\mathcal{C'})}(L_1,L_2) \rightleftarrows^{\lambda}_{\mu} Hom_{Fct(\mathcal{C'},\mathcal{C})}(R_2,R_1)$$ given by : $$\lambda(\varphi):R_2 \rightarrow^{\epsilon_1 \circ R_2} R_1 \circ L_1 \circ R_2 \rightarrow^{R_1 \circ \varphi \circ R_2} R_1 \circ L_2 \circ R_2 \rightarrow^{R_1 \circ \eta_2} R_1$$ for $\varphi \in Hom_{Fct(\mathcal{C},\mathcal{C'})}(L_1,L_2)$ $$\mu(\psi) : L_1 \rightarrow^{L_1 \circ \epsilon_2} L_1 \circ R_2 \circ L_2 \rightarrow^{L_1 \circ \psi \circ L_2} L_1 \circ R_1 \circ L_2 \rightarrow^{\eta_1 \circ L_2} L_2$$ for $\psi \in Hom_{Fct(\mathcal{C}',\mathcal{C})}(R_2,R_1)$ are inverse to eachother.  So far, I've been trying to play around with the zig-zag identity, but it doesn't seem to lead me anywhere. Any help will be greatly appreciated!


I need to prove that function  $\mathbb R × \mathbb R → \mathbb R $ : $f(x,y) = \frac{|x-y|}{1 + |x-y|}$ is a metric on $\mathbb R$. First two axioms are trivial; it's the triangle inequality which is pain. $\frac{|x-y|}{1 + |x-y|}$ + $\frac{|y-z|}{1 + |y-z|} ≥ \frac{|x-z|}{1 + |x-z|} ⇒ \frac{|x-y| + |y-z| + 2|(x-y)(y-z)|}{1 + |x-y| + |y-z| + |(x-y)(y-z)|}≥ \frac{|x-z|}{1 + |x-z|}$, but then I am stuck. Can somebody show me way out of this?


Glass has low transmittance for infrared light. Does glass reflect or absorb infrared light? Greenhouses are able to reflect infrared as I understand it.


How would I implement a binary search using just an array?


Stack Exchange iOS app beta moving to Test Flight

Given the , I'm following  and going mainstream using Apple's TestFlight beta testing product.  To enroll in the iOS app beta program, .  Existing testers will need to reenroll.  After you register (but not immediately) you will receive instructions from Apple for installing the app on your phone. The invitations will be sent out in waves, so if you don’t get an invite immediately, be patient.  Crash reports will be automatically reported back to us using . Bugs or feature requests should be reported here on meta and tagged .  The easiest way to report a bug/feature request is in the About page at the bottom of the menu.  These options include relevant build and device information in your post.  As always, we welcome your feedback and are committed to building the best mobile app possible for browsing the Stack Exchange sites.  How is this different from the existing beta program?  For testers:   All updates are done through the Test Flight app, meaning there's no secret link to lose. You can get optional email or push notifications from Test Flight alerting you to the updated build and what's changed. The app isn't installed separately from the production app. It appears and behaves exactly like the App Store build app except that it has new features and an orange dot before its name:     For us:   The beta precisely emulates the behavior of the App Store build. It significantly lowers the gap between releasing to the beta channel and releasing to the App Store, making it much easier to ship new releases. It makes shipping a beta harder. (You win some, you lose some.)


How much power supply does a typical PC build need?

I am building a system for a friend. The potential specs are like this so far:   ASUS A8N-VM motherboard AMD Athlon 64 3200+ @ 2.0 GHz Any 7200RPM SATA HDD Palit GeForce 8800GT 512MB GDDR3 PCIe One DVD/CD combo drive Creative SB Live! 5.1 sound card   I was wondering what wattage of power supply would be able to support this hardware. I had a 350W in mind... would that do?


Evaluating $\lim\limits_{n\to\infty}(a_1^n+\dots+a_k^n)^{1\over n}$ where $a_1 \ge \cdots\ge a_k \ge 0$

Need to find $\lim\limits_{n\to\infty}(a_1^n+\dots+a_k^n)^{1\over n}$ Where $a_1\ge\dots\ge a_k\ge 0$  I thought about Cauchy Theorem on limit $\lim\limits_{n\to\infty}\dfrac{a_1+\dots+a_n}{n}=\lim a_n$ and something like what happen if all $a_i=0$ or $a_1=\dots=a_k$, but may be something I am thinking wrong?  Maybe it is too simple but I am not getting it; please help.


Recurrence for $\int \left(\frac{\sin x}{x}\right)^n \, \mathrm{d}x$

I was playing around and wanted to consider the integral of $$I_n = \int_0^{\infty} \left(\frac{\sin x}{x}\right)^n \, \mathrm{d}x$$ using parts with $u = \sin^n x \implies \mathrm{d}u = n\cos x \sin^{n-1}x$ and $\mathrm{d}v = x^{-n} \implies v = \frac{x^{1-n}}{1-n}$  This gives $$I_n = \frac{n}{n-1}\int_0^{\infty} \left(\frac{\sin x}{x}\right)^{n-1} \cos x \, \mathrm{d}x$$  Which looks so close to $I_{n-1}$ but for that annoying $\cos x$ there, any help?  Note: I wanted to go down this route because I think I can note a pattern, as such:  $$I_1 = \frac{\pi}{2} \\ I_2 = \frac{\pi}{2} \\ I_3 = \frac{3\pi}{8} \\ I_4 = \frac{\pi}{3} \\ I_5 = \frac{115\pi}{384} \\ I_6 = \frac{11\pi}{40}$$


how to calulate the number of powers in finite field

For any finite field $F_q$ where $q$ is a prime power, I want to calulate the number of powers. Specifically, for 3$\le k \le q-1$, how to determine the size of the set: $\{x^k \mid x \in F_q\}$.  Since the order of $F_q^{\times}$ is $q-1$, I only need to consider the case 2$ \le k \le q-1$. Also I have known the case $k=2$.  Thanks for any advise.  addition:I read the post: . Maybe this problem is to determine the kernel of the group endomorphism: $$\phi:F_q^\times \rightarrow F_q^\times \text{ sending } x\mapsto x^k$$


Different return for different formulas but same value

Tl;dr: Why does C++ see a difference between x/y*y and x/(y*y)?  I was doing some tasks at CodeWars and had to calculate variable and assign the result (whole exercise at the bottom):      bmi = weight / height ^ 2      if bmi <= 30.0 return "Overweight"      test values: weight = 86.7, height = 1.7   The formula that I used is  double bmi = weight / (height*height)   and for if-statement later it is  else if (bmi > 25 && bmi <= 30)      return "Overweight";  else     return "Obese";  and test value calculated with formula is equal to 30. But when I run the code, my return was Obese. I wrote line to print out the result of calculation, it showed 30. But when I changed formula to double bmi = weight / height / height, the correct value is returned. Therefore, the problem is in the formula, but why is C++ see a difference between x/y/y and x/(y*y), even though it prints out the same result?  Given exercise:     Write function bmi that calculates body mass index (bmi = weight / height ^ 2).      if bmi <= 18.5 return "Underweight"      if bmi <= 25.0 return "Normal"      if bmi <= 30.0 return "Overweight"      if bmi > 30 return "Obese   My code:  #include <iostream> #include <string>  // I created two functions to use two formulas for BMI std::string bmi(double, double); std::string bmi2(double, double);     int main() {   std::cout << bmi(86.7, 1.7) << std::endl << std::endl;  // Calling the function   std::cout << bmi2(86.7, 1.7);  }  std::string bmi(double w, double h)  {   double bmi = w/(h*h); // Formula for BMI     std::cout <<"Calculated with w/(h*h): "<< bmi << std::endl;    if (bmi <= 18.5)     return "Underweight";   else if(bmi>18.5 && bmi <= 25.0)     return "Normal";   else if (bmi>25 && bmi <= 30)     return "Overweight";    // It should return this   else      return "Obese";         // But goes with that }  std::string bmi2(double w, double h)  {   double bmi = w/h/h;   // Formula for BMI   std::cout <<"Calculated with w/h/h: "<< bmi << std::endl;    if (bmi <= 18.5)     return "Underweight";   else if(bmi>18.5 && bmi <= 25.0)     return "Normal";   else if (bmi > 25 && bmi <= 30)     return "Overweight";   else     return "Obese"; }


"Remember me" - What to keep in cookie? -PHP

Well,   In the past, when the client connects to the site I kept it as $_SESSION.  Now, I want to make the possibility of "Remember Me" with a cookie.  For security reasons, what should I put the value of the cookie?  Thanks.


Bind physical "calculator" button on windows 7 to a different application

I have a physical "calculator" button on my (Microsoft) keyboard which launches the windows calculator. I'd like to bind it to launch SpeedCrunch instead. Can it be done?  Thanks!


We all know that multiplication is the inverse of division, and therefore $x\div{x}\cdot{x}=x$ But what if $x=0$? $0\div0$ is undefined so $0\div0\cdot0$ should be too, but whatever happens when we divide that first $0$ by $0$ should be reversed when we multiply it by $0$ again, so what is the right answer? 0, undefined, or something else entirely?


Which is the best workflow to follow when texturing and importing textures from Substance Painter?

So, I'm planning to texture a model using Substance Painter and will render it using the Cycles Render Engine. I will be also using the Principle Shader, heavily, to achieve realistic renders. So, which workflow in Substance Painter so that the textures are accurately rendered in Blender? Specular-Glossy? Or should I go with Metalic-Roughness?


Does SE have some general, non-website-specific guidelines of removing questions from the HNQ network?

shows that a per-site moderator has been removing questions from the HNQ network literally every single day since 2019/03/13. So far, this single moderator has removed 1655 questions (out of the total 1743) from HNQ within about a year. While this particular case is witnessed from a particular site, I am not asking for a per-site policy. Since the HNQ is not "owned" by a particular site, this is a function of SE by design. Is it appropriate for a per-site moderator to do so? Does SE have some general, non-website-specific guidelines?


cannot access aura:id of dynamically created Lightning Element

When I click on lightning:button(Create), I am able to dynamically create lightning:input element from js controller but When I click on lightning:button(Set Value), I am not able to set value for the lightning:input by accessing its aura:id. I am getting error as " [Cannot read property 'set' of undefined]"...Even I tried the answer posted in() but there they have used ui:button but here I am using lightning:input.  <aura:component>      <lightning:button label="Create" onclick="{!c.createElements}" variant="brand"/>

      <lightning:button label="Set Value" onclick="{!c.setValue}" variant="brand"/>
 </aura:component>   js controller  createElements : function(component, event, helper){          $A.createComponent(                 "lightning:input",                 {                     "aura:id":"objectField",                     "label": "User Name",                     "type": "text"                 },                 function(msgBox){                                     if (component.isValid()) {                         var targetCmp = component.find('createdynamicInputText');                         var body = targetCmp.get("v.body");                         body.push(msgBox);                         targetCmp.set("v.body", body);                      }                }            );      },     setValue : function(component, event, helper){         component.find("objectField").set("v.value","Testing");     }   I have also tried the below code but not working for my thing,  setValue : function(component, event, helper){         //component.find("objectField").set("v.value","Testing");         var input = component.find({ instancesOf : "lightning:input" })[0];         input.set("v.value", "Testing");     }    can anyone please help me here to solve this issue, thanks in advance


I have a Asus Transformer Book T101HA and I am trying to  boot a bootable USB stick to dual boot a 2nd operating system (it is currently running Windows 10 as it was out of the box).  When I press ESC on start up to load the boot menu, I only get the following regardless of whether a bootable USB is plugged in or not.    I have also looked in the BIOS to look at the boot order but the options look very limited compared to others ive seen in the past. There is only on boot option and it can only be set to 'Windows Boot Manager' or 'Disabled' (there is no option for USB). There doesn't appear to be any ability to add new boot options.    Can anybody help me out with a way forward to booting from a USB?


Warlock and Sorcerer Multiclass Casting With An Enhanced Effect

I have a multiclass PC with 3 levels in warlock/hexblade and 1 level in sorcerer/divine soul.   This means I have 2 level 1 sorcerer slots and 2 level 2 warlock slots. I can cast cure wounds because I am a good aligned divine soul sorcerer.   If I cast cure wounds using a level 2 warlock slot, do I heal for 1d8+CHA or 2d8+CHA?


Why am I getting "Invalid object name 'sys.sysobjvalues'."

When I run   SELECT OBJECT_DEFINITION(OBJECT_ID('sys.assembly_files'));   I can see that there is a self-join on sys.sysobjvalues, but when I try to select that table I get,  Msg 208, Level 16, State 1, Line 1 Invalid object name 'sys.sysobjvalues'.   What's going on here? Why is that object name invalid?


What are the synctex.gz files and what they need for?

I think the title is self explanatory but neither here () nor here () I found a detailed answer


I am using the VI editor in Ubuntu and I have maximum usage of VI editor. to see the line number in vi i am using like below:  :set nu    I want to set it default when I open a file in vi editor, that file text open with line number by default.  is it possible?  Sorry for duplicate's if it but I search it lot first but not found easily also tried :colorscheme now it is showing me unknown


How do I restore .bat files association with the system (make them run when double-clicked)?

What do I set the 'Opens with...' property to in order to get the system to run .bat files again (when they are double-clicked)?  Somehow my boss convinced his workstation that the handler for .bat files was supposed to be Word. Now, when double-clicking .bat files, they're opened up in Word.


Does $\neg(x > y)$ imply that $y \geq x$?

Given any arbitrary binary relation $\geq$ defined on some set $S$, we define a new binary relation $>$ on $S$ by: $$ x > y \quad\text{iff}\quad (x \geq y) \wedge \neg(y \geq x) $$ In accordance with our usual intuition for inequalities, I would like to prove that:     Claim:   $$ \neg(x > y) \quad\text{iff}\quad y \geq x $$   Unfortunately, all I could conclude was that: $$ \neg(x > y) \quad\text{iff}\quad \neg(x \geq y) \vee (y \geq x) $$  Is my claim even true? If so, could somehow help me finish off my work? If not, what additional hypotheses should be added in order to salvage the claim?


Prove that if $n>1$, the sum of positive integers less than $n$ and coprime to $n$ is $(1/2)na(n)$ where $a(n)$ is the number of such integers.

Question 12(iii) Could anyone explain this part of the question to me.  What i tried co-prime means that the two integers a and b are said to be relatively prime, mutually prime, or coprime (also written co-prime) if the only positive integer (factor) that divides both of them is 1  Take th number $3$ for example, then the sum of integers less than $3$ and co-prime to $3$ is $2+1=3$, $2$ and $1$ are the two integers co-prime to $3$ which thus satisfies the formula $0.5*n*a(n)$ where $n=3$, $a(n)=2$. However im unsure of how to prove it. Could anyone explain. Thanks


Prevent WordPress from replacing Unicode emojis with images

WordPress has recently (5.4? 5.5? 🤔) started the annoying practice of replacing some Unicode characters (especially emojis) with images. Now, instead of always showing text characters, emojis are getting replaced by images. That is, if the text is foo👍bar, the thumbs-up character gets replaced with an img tag with the alt attribute of "👍", so the string: foo👍bar  gets replaced with: foo<img draggable="false" role="img" class="emoji" alt="👍" src="https://s.w.org/images/core/emoji/13.0.0/svg/1f44d.svg">bar  🤦 This is incredibly frustrating for a lot of reasons:  It breaks the text up. It turns searchable text into non-searchable images. It drastically increases the size. It requires pulling external resources which requires more bandwidth, CPU, and memory. It prevents them from being styled with CSS. You cannot apply things like colors to images like you can with text, (yes, even emojis can be colored). Other issues…  I checked to make sure this unwanted behavior isn't a consequence of any plugins I'm using, and it's definitely not. Something in a recent update to WordPress (5.4 or 5.5) began this behavior. I did a web-search for "prevent wordpress from replacing emojis with images" and there's absolutely nothing. 😕 I did manage to fine one SO post that was almost similar, but the suggestion to add a variation-selector character after the emoji didn't work, WordPress still replaces it with an image. I also checked the release notes for the past couple of minor versions and didn't see anything either. How can I get WordPress to knock it off?


How to automatically insert a new row and retain functions/formulas from last row?

I have a table with cells that have functions/formulas, like this one:    I need a script that creates a new row, copying with it the functions/formulas of the last used row. I find . How could I implement this formatting copy task in Google Apps Script without having to manually select and copy?


How to avoid the circular patterns on a plain diffuse surface while projecting light?   I am trying to project a few patterns on objects in Cycles render. When I project a plain white light on a diffuse surface (a plane), I could see concentric rings on close observation. Could someone help on how to avoid it? Thanks in advance.


Here's a corollary of AC stating that: if there exists an onto mapping $f:A\to B$, then there exists a 1-1 mapping $g:B\to A$. What I'm confused about is that whether or not  AC can be derived from this proposition, in return? I have tried but haven't found a proof. Any help would be appreciated.


Unable to display this Web Part. BCS SP2010

I am trying to get data form SqlServer2008 in SP2010 with the hep of BCS. I have created External List Successfully,but when I go to my Site I get following error: Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator. I have tried second approach on this link     I am not getting what is going wrong.  I am just trying to get 100 records Thanks in advance.


I am a c++ programmer and am learning pygame so I am very new to python. I noticed this behavior of functions and don't know what to do about it: let's say we have a global variable: x = 10  Now let's say we have a function that changes the value of x: def foo():     x = 100  Now, inside my main pygame loop, if I call foo(), the variable x is still 10 after the function call. How is this happening???