Show that $f(x)$ is a constant function if $\lim\limits_{h\to 0}\frac{1}{h^3}\int_{-h}^{h}f(x+t)\cdot t\,dt=0$ for all $x$

Let $f(x)$ be a continuous function on $\mathbb{R}$, such that for any real number $x$ we have: $$\lim_{h\to 0}\dfrac{1}{h^3}\int_{-h}^{h}f(x+t)\cdot t\,dt=0.$$ Show that $f(x)$ is a constant function. Maybe we can use the following lemma? Lemma. If $g$ is a continuous function, then $$\lim_{h\to0}\frac{1}{2\,h}\int_{x-h}^{x+h}g(s)\,ds=g(x).$$ Proof. We may assume $h>0$. $$ \left|g(x)-\frac{1}{2\,h}\int_{x-h}^{x+h}g(s)\,ds\right|=\frac{1}{2\,h}\left|\int_{x-h}^{x+h}(g(x)-g(s))\,ds\right|\le\frac{1}{2\,h}\int_{x-h}^{x+h}\left|g(x)-g(s)\right|\,ds.$$ Use that $g$ is continuous at $x$ to show that the last expression converges to $0$ as $h\to0$.


SQL query: Delete all records from the table except latest N?

Is it possible to build a single mysql query (without variables) to remove all records from the table, except latest N (sorted by id desc)?  Something like this, only it doesn't work :)  delete from table order by id ASC limit ((select count(*) from table ) - N)   Thanks.


I generated a brand new (reformatted) USB Key to boot on Ubuntu. I generated the USB Key using the internet procedure accessing it from a Windows 7 PC with Google Chrome. I generated the USB KEY successfully.  Now I insert my USB KEY, called PENDRIVE (F:/) automatically, in my other laptop (installed on Ubuntu 8, but I can not just upgrade since the internet connection does not seem to work). Unfortunately my computer I want to re-install on the new Ubuntu has not the possibility to boot on the USB port (if I click on F12 I have 3 options: HDD, DVD, external disk), therefore it boots on Ubuntu 8. No pb, I can try to reboot after. But when I enter the USB KEY, the system detects it is a bootable key, and requests if I want it to autorun. I answer Yes, of course, and it says "Can not find autorun.exe"   If I look in the key, there is file called wubi.exe, but it seems the system does not identify it.


IPtables - how to find out which process/executable removed a chain

How to find out which process or program changes IPtables (deletes one of it's chains)?   I run Fedora 23 server. I use it, among the others, to share Internet connection and enforce fair, dynamic traffic shaping. For the last I use Niceshaper. It adds it's chains to IPtables.  Recently I have discovered my server was compromised. It was used as DNS server on IPv6. IP6tables were changed. I have cleared all. Proved all /etc/ settings are unmodified. Verify all installed packages and proved they are unmodified.  Unluckily there is still something wrong. Despite the fact the server's configuration didn't changed for months and Niceshaper worked fine, it now started to exit after detecting it's ns_upload chain was removed.  I would like to find out which process removes the chain to fix it.  I will be thankful for your help.


I signed up for a developer account for my son under my name because he is not of age yet and because he wants to make his own apps. But itunesconnect won't let me input my bank account info, ect. for the paid contract necessary for him to set up the iap because I already put in my own information for my own account. What should I do?


This was discussed in an answer to a  but I think that it deserves a separate and, hopefully, more clear answer.  Consider a single photon ($\lambda$=532 nm) traveling through a plate of perfect glass with a refractive index $n=1.5$. We know that it does not change its direction or other characteristics in any particular way and propagating 1 cm through such glass is equivalent to 1.5 cm of vacuum. Apparently, the photon interacts with glass, but what is the physical nature of this interaction?  Let's not consider high-order effects like Rayleigh/Raman scattering.


fatal: bad ownership or modes for chroot directory component "/" in SFTP

I've been trying to configure sftp in a debian server.sshd_config:  Subsystem sftp internal-sftp  UsePAM no  Match User sftpUser ChrootDirectory /users/sftp/sftpUser ForceCommand internal-sftp AllowTcpForwarding no X11Forwarding no   Directories:   drwxr-xr-x   3 root      root      4096 Oct 20 10:59 users   drwxr-xr-x   3 root      root      4096 Oct 20 11:00 sftp   drwxr-xr-x   2 root      root      4096 Oct 20 11:00 sftpUser   cat /var/log/auth.log  Oct 20 10:58:22 w1 sshd[24634]: Accepted password for sftpUser from 201.156.103.213 port 34106 ssh2 Oct 20 10:58:22 w1 sshd[24636]: fatal: bad ownership or modes for chroot directory component "/"   sftpUser no home, bin/falseand member of user group.  In the client side I'm getting the famous Write failed: Broken pipe and then the connection is dropped.  Commenting the ChrootDirectorycommand in sshd_config makes the connection, but get's the user loose.  What am I doing wrong ?


How to create vertical labels (each label in new line) like:  1998 150 pipe name   and not horizontal:  1998 150 pipe name


How can I remove duplicate tuples from a list based on index value of tuple while maintaining the order of tuple?

I want to remove those tuples which had same values at index 0 except the first occurance. I looked at other similar questions but did not get a particular answer I am looking for. Can somebody please help me? Below is what I tried.  from itertools import groupby import random Newlist = []  abc = [(1,2,3), (2,3,4), (1,0,3),(0,2,0), (2,4,5),(5,4,3), (0,4,1)]  Newlist = [random.choice(tuple(g)) for _, g in groupby(abc, key=lambda x: x[0])] print Newlist   my expected output : [(1,2,3), (2,3,4), (0,2,0), (5,4,3)]


14.04 LTS intermittently fails to resume from hibernation

Since upgrading to 14.04 LTS (64-bit), my PC will sometimes fail to resume from hibernation (perhaps one time in ten). Symptoms are that it attempts to resume, finds the suspended memory image, and shows the percentage of the image loaded (10%, 20%, etc.) It reaches 100% and then the PC reboots back to the BIOS splash screen. When the GRUB menu reappears, it does not have the usual timeout. I don't know what to try to isolate the cause.  Hibernation worked reliably on the same hardware under 12.04 LTS.


Expected result not being met when subtracting .1 from 1 in a loop

When I create a loop to subtract .1 from a variable with a value of 1, the output after a few rounds results in a long float point number with extra digits at the end. Why am I getting the following results instead of the results that should be expected? var x = 1; for (var y = 0; y < 10; y++) {     x-=.1;      console.log(x); }  And the result giving by the console output:  0.9 0.8 0.7000000000000001 0.6000000000000001 0.5000000000000001 0.40000000000000013 0.30000000000000016 0.20000000000000015 0.10000000000000014 1.3877787807814457e-16  However when I substract .3 from 1 the console output gives me the expected .7 value. Is this a browser specific issue with JavaScript implementation?


How to properly store database passwords

I have read a little bit about that, but I can't find answer that is telling me exactly what to do.  So here's what I have been doing to store my database password in php:  Lets say that my website is in the folder website. So we have  /website/mysite.php   My password is store outside this folder, in (for exemple)  /mypassword/mypassword.php and I get it with an include '../mypassword/....';  On this file, the permissions are at 600, so owner can read and edit the file.   Is it the proper way of doing it? or is there another way, more secure? (And easy to use too!) Sorry for my poor english, I'm not a native english speaker.


Can a caster interrupt another caster from casting Time Stop by readying a Time Stop of their own?

If spellcaster A readies an action to cast time stop as soon as spellcaster B casts time stop, then on spellcaster B's turn they cast time stop, what happens? Who takes extra turns first? Also, can whoever goes first counterspell the other's time stop, and does doing so end their time stop early?


How can I install a package without installing some dependencies?

I'm trying to install the package LaTeXila, and the output looks like this:  $ sudo apt-get install latexila --no-install-recommends Reading package lists... Done Building dependency tree        Reading state information... Done The following extra packages will be installed:   latexila-data latexmk luatex tex-common texlive-base texlive-binaries   texlive-common texlive-doc-base texlive-latex-base Suggested packages:   rubber texlive-latex-extra debhelper Recommended packages:   texlive texlive-latex-recommended texlive-luatex lmodern   texlive-latex-base-doc The following NEW packages will be installed:   latexila latexila-data latexmk luatex tex-common texlive-base   texlive-binaries texlive-common texlive-doc-base texlive-latex-base 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. Need to get 29.3 MB of archives. After this operation, 74.5 MB of additional disk space will be used. Do you want to continue [Y/n]?   I don't want to install the texlive packages. I've installed texlive manually from . Any suggestions?


Prove that for all positive integers n,r, and k such that n=rk, the inequality (r − 1)!^k ≤ c(n, k)/S(n, k) ≤ (n − k)!

I'm a little lost on this one. So I need to show that (r-1)! raised to the kth power is less than or equal to c(n,k) (the number of permutations with k-cycles) divided by S(n,k) (the number of partitions of n into k blocks), and I need to show that that is less than or equal to (n-k)!. This inequality makes no sense to me. One hint we have is: If we have positive integers a1, . . . , ak such that the sum i=1 to k of ai equals t, what choices of ai maximize or minimize the product i=1 to k of ai? Any ideas on how to approach this proof? We  were just taught this definition so it's a little confusing to me.


As the title suggests. Is there a prediction of quantum mechanics that could be construed as representing an "energy-time uncertainty relation?" Does there exist any reference to such a prediction, or is it obviously false on some level?


I have created an application which is exposed as a web service. I am trying to follow REST principles. I am using Spring 4.   What I have done so far is to create my own mime type application/vnd.mycompany-v1+json. From the clients accessing the web service I say which version I want (currently only one).  However, this is not all I need to do. I also need to keep different versions of the resources since I may add/remove properties etc from one version to another. What is the approach to solve this? Do you create a package for each version?  com.mycompany.web.resources.v1.Bike, com.mycompany.web.resources.v2.Bike, etc? This approach would work I guess but the number of versions is not known in this stage so it could be a large list of duplicates. I don't know if this is a problem or if it is the way it must be?  I guess I am not the first one thinking of versioning the resources too so how is this handled?


Regex negative lookahead behaving unexpectedly in Python

I want to match every line from a list, where the word company appears and is not immediately followed by a ticker symbol. So in the list below, lines 1, 3,  and 4 should match, but not lines 2 and 5.  The company was acquired by Xerox (NYSE: XRX) for $225 million on May 6, 2014. The company (NASDAQ:EPOC) was acquired by Athenahealth (NASDAQ:ATHN) for $293 million in cash on January 7, 2013. The company is acquired by New Mountain Capital for $225 million through an LBO on December 18, 2015. FS Investments provided unitranche term loan financing to support the acquisition by New Mountain Capital. The company was acquired by HTC Global Services for $97.5 million on December 18, 2014. The company (NYS: EVHC) was acquired by Kohlberg Kravis Roberts through a $9.9 billion public-to-private LBO on October 11, 2018. The debt financing for the acquisition includes $5.05 billion term loan B, $2.15 billion of high-yield bond and $850 million of loan financing.    I'm using the following code in a loop:  obj = re.match("company\s+(?!\([A-Z]+:\s*[A-Z]+\))", line, flags=0) if obj:     #  do something   where line is a line similar to those in the list above. It works when I  but not in Python. Any kind souls care to point out the error of my ways?


Representing several points with same coordinates on map using ArcGIS Desktop?

I'm working on Arcgis 10.  I have a point shapefile representing events with several points having coinciding coordinates (They have the same coordinates). For representing them in a dynamic way, I found a nice way - .  Problem is: I was asked to produce a static (paper) map of the events. Is there a tool that can take these events and shift them apart a bit so all will be seen?  (I know that spreading them about will alter their coordinates, but I am prepared to do so on a duplicate shapefile for the display on the map).


Alright, so the description of the "hex" spell states the following:     [...] If the target drops to 0 hit points before this spell ends, you can use a bonus action on a subsequent turn of yours to curse a new creature. [...]   So, the way I understand it, the "subsequent turn" does not have to be directly afterwards, right? I mean, if you do something else for 3 rounds, the 4th round would still technically be a subsequent spell, correct?  Therefore, let's say I cast this spell in the first round of combat, finish my enemies together with the rest of my party and exit combat. Then, thirty minutes later, we enter combat again (and are therefore still within hex's max duration, even if cast at its lowest level).  So my question: Can I still move my hex to an enemy of my choice in this situation? Provided that I kept up concentration for the whole time, of course (which some super-strict DMs might punish), and didn't enter an antimagic field or encountered anything else that would cause the spell to end.  Thanks in advance, appreciate your help!


Do free falling observers see gravitational blueshift?

Observers at rest in gravitational fields will see infalling light signals as blueshifted.  Do inertial observers in free fall in a gravitational field see the same shift?  If someone is standing on a cliff at rest in the gravitational field and then steps off, do they instantly see a change in the blueshift as a result of being in free fall in an inertial reference frame?


Show finite complement topology is, in fact, a topology

My attempt to prove the following is below:     Let X be an infinite set. Show that $\mathscr{T}_1=\{U \subseteq X : U = \emptyset $ or $ X\setminus U $ is finite $ \}$   My book calls this set the ""  I just want to know if this proof is correct. (I intuitively understand why its a topology, but I'm not sure if I'm showing it properly)  Using the definition of topology:     $\mathscr{T}$ is a topology on X if and only if the following are true:   (i) X and Ø are elements of $\mathscr{T}$.   (ii) $\mathscr{T}$ is closed under finite intersections.   (iii) $\mathscr{T}$ is closed under arbitrary unions.   Let:$V_k \subseteq X$ be any finite set. (ie: $V_1, V_2...$ are all finite sets)  So Then, $U_k = X \setminus V_k$, would be the subsets of $\mathscr{T}$.   Now to verify the definition.     (i) X and Ø are elements of $\mathscr{T}$.   Ø is given in the definition of $\mathscr{T}_1$. Also, the empty set is considered finite, with cardinality zero. Thus $X$ is in $\mathscr{T}_1$ because its complement is finite.      (ii) $\mathscr{T}$ is closed under finite intersections.   $U_k \cap U_j = X \setminus (V_k \cup V_j) $, due to De Morgan's law. Since the Union of two finite sets is also finite, this set is still in $\mathscr{T}_1$. Or Symbolically (using bars || for cardinality): If $|V_k \cup V_j| < |\mathbb{N}|  $, then $(U_k \cap U_j) \in \mathscr{T}_1$. This reasoning can be extended to any finite amount of intersections.       (iii) $\mathscr{T}$ is closed under arbitrary unions.   $U_k \cup U_j = X \setminus (V_k \cap V_j) $, due to De Morgan's law.Since the Intersection of two finite sets is also finite, this set is still in $\mathscr{T}$. Or Symbolically: If $|V_k \cap V_j| < |\mathbb{N}|  $, then $(U_k \cup U_j) \in \mathscr{T}_1$. This reasoning can be extended to any finite amount of Unions.  Now let's consider the infinite case: $V_k \cap ... \cap V_j$ will only contain points that are in EVERY set being intersected. So if $V_k \cap ... $ was infinite, that would imply the every $V_k$ being intersected is also infinite, but $V_k$ is specifically defined as being finite. Thus even with infinite Unions, $\mathscr{T}_1$ is still closed.


Can I have two Schengen visas in one passport?

I will have to visit Europe twice for five months in total. I am Thai and will need a visa. The maximum stay in europe is 90 days, otherwise you have to apply for a long term stay according to my research. However, it will be complicated and time consuming.  This is my travel plan:   Aug - Sep: Munich Sep - Nov: France (I have to complete a short course in Paris which is not more than 90 days) Nov - Dec: Munich again    I am aware that I need to leave and re-enter the country when the duration reaches 90 days. Can I apply for a tourist visa in Germany's embassy for 90 days that's valid in six months and a second visa from France for 90 days. In between these trips, I will leave the continent to Russia or Turkey where a visa is not required and re-enter again.  Therefore I need two Schengen visas but is it possible to have two Schengen visas in one passport?


Is it possible, to execute a class in a specified directory?  I mean, a.class is in directory abc and i want it to be executed as if it were in directory xyz.


My site is indexed, but not showing up in results

According Google Webmaster Tools, my site, www.yomkippurshoes.com is being indexed.   However, when I try to find it in results (e.g. type site:yomkippurshoes.com in Google), I don't see it in the results. This isn't an SEO issue as I'm not concerned about the ranking (yet).  I'm just not sure why it isn't being shown in the results at all.   , Google will  not show the results if the site is down. However, mine isn't down.  Any thoughts on the disparity?


Is redshift the only way by which we can tell that space is expanding?

There's another question on physics.SE whose , if I have understood it correctly, explains that the farther the points are in space the faster they are moving away from each other.     Actually, the apparent speed with which two of the points on the   circle in a distance $D$ of each other would move relative to each   other will be $v = H_0 D$ where $H_0$ is the speed the balloon itself   is expanding.   This means that even the ruler sitting on my desk is expanding, just that the expansion is very very slow owing to the ruler's small size relative to the cosmic scales. However, if everything is scaling then everything should apparently be of the same size to an observer in such an expanding space. The  quote from the show "The Big Bang Theory" comes to mind.   To be able to counter that, there're some phenomena that we can observe which are scale invariant. Red-shift would be one such phenomenon. But is red-shift the only way we can tell that the space is expanding? Is there a logical flaw in my thinking? I know that red-shift is a result of the Doppler effect - there's bound to be a decrease in the frequency of a signal, as perceived by an observer, emitted by a source which is moving away relative to the observer.


I am currently using a vector to hold the people in a program. I am trying to delete it with  vectorname.erase(index);  I pass the vector in a function, as well as the element that I want to delete. My main problem is how can I improve my code in terms of compilation speed?  #include <iostream> #include <string> #include <vector> using namespace std;  class person {     private:         string name;     public:         person() {}         person(string n):name(n){}         const string GetName() {return name;}         void SetName(string a) { name = a; } };  void DeleteFromVector(vector<person>& listOfPeople,person target) {     for (vector<person>::iterator it = listOfPeople.begin();it != listOfPeople.end();++it) {//Error 2-4         if (it->GetName() == target.GetName()) {             listOfPeople.erase(it);             break;         }     } }  int main(){     //first group of people     person player("Player"), assistant("Assistant"), janitor("Janitor"), old_professor("Old Professor");      //init of vector     vector<person> listOfPeople = { player, assistant, janitor, old_professor };      DeleteFromVector(listOfPeople, janitor); }


SMS/text message notifications on answers to your question

Sometimes answers to your question can happen many minutes, hours, or even days after you asked the question. In the case of days, the e-mail notifications are certainly enough (and just noticing the site), but many of my questions end up not having answers for a good 20-30 minutes.  I'd like to be notified of new answers by SMS (text message), the moment the answer is posted. I always have my cellphone with me, and I already use it for PUSH type notifications from other things (including emails, with auto-forwarding to my cell number @vtext.com). I would just use the auto-forwarding trick with SO too, except that it doesn't offer the option to send an email with each answer, the moment the answer is posted.


Programs from snap do not work with ntfs-3g

I have programs from snap - Telegram, Skype and some others.  And I have secondary ntfs hdd drive shared with Windows.  All programs from snap can not read files from ntfs - Telegram, Skype.  I know that my Kubuntu using ntfs-3g driver.  ntfs drive mounts with dolfin (or I can mount on startup with KDE settings GUI with the same result).  The same programs from other repositories works fine.  Can it be solved, and how?  PS: I tried the way . It fixes problem with Telegram using   sudo snap connect telegram-desktop:removable-media   but the same does not work with skype.   sudo snap connect skype:removable-media      error: snap "skype" has no plug named "removable-media"


How can I tell if my .psd file can be saved as a vector image?

I have designed a logo for a client in Photoshop CS6 (I know, Illustrator, Illustrator) and all of the active layers consist either of Photoshop-generated shapes or editable text, aka nothing is a raster. While the .psd file does contain some rasterized layers, the only active ones are not. The company I must submit this logo to for printing only accepts full vector images in the file formats .pdf, .eps, and .ai. How can I save this file in such a way that I know that it maintains its vector qualities? Can I just save it as a PDF file as is?


In a proof of the Sherman-Morrison formula why does $(I+wv^T)^{-1}=I-\frac{wv^T}{1+v^Tw}$

I'm trying to understand the alternate proof of the formula $(A+uv^T)^{-1} = A^{-1} - {A^{-1}uv^T A^{-1} \over 1 + v^T A^{-1}u}$ found on . The closest I can find on stack exchange is the  of the identity but not its proof. Does someone know how $$(I+wv^T)^{-1}=I-\frac{wv^T}{1+v^Tw} \tag{1}$$ is easily proven? I don't see it.  You can mark the question as duplicate if you want but all the proofs are proving the Sherman-Morrison formula, not the intermediate identity given in (1). The two are similar as I see now that someone proved it, but it still is worth showing explicitely how to prove the identity.


What does the number in parentheses shown after Unix command names in manpages mean?

For example: man(1), find(3), updatedb(2)?   What do the numbers in parentheses (Brit. "brackets") mean?


My name is not appearing in closed notice

Lately I was wondering why my name is not appearing in the closed notification for questions I flagged.  E.g: I flagged a question as "not constructive" and it get approved than the question is closed see the following screenshots:    In an other way, why my name isn't part of the list ? do I need some privileges to be listed ? or I'm just getting it wrong and flagging is completely different than closing?


How do you install a file in a tar archive?

It seems like a lot of people don't know this essential skill of Linux--so it's time to learn:)


I don't know this question is suitable to be asked here or not..dont mind. I develop a website yesterday and wanted to publish it on the internet. I know GitHub is a right choice it is totally free for static pages but it won't allow you to upload more than 100 pages.so this didn't work. then I search a lot on the internet for a free hosting website but I did find one which works there are many free hosting websites but they such a mess make thing so complicated. I deactivated 7 accounts from all website. I waste my time and did publish my site.  so is there no any way to do so.?


Why the double quotes are not displaying correctly?

Double quotes in the following example are not displaying correctly. What I may be missing here and how can I make it look like "example"?  Environment: MikTeX on Windows 10.  \documentclass[11pt]{article} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \begin{document}  \section*{Examples }  Following is an "example"  for test:  \[\frac{a}{c}\]  \end{document}   PDF file screenshot of the above tex file:    UPDATE:  Comments from users @Schrödinger's cat and @egreg yields the following. This probably seems to be the correct way of doing it in LaTeX. I was hoping for "example" that does not seem to be the correct way in tex:  From LaTex file:  Following is an ``example'' for test:  Another test “example”   PDF output:


"My availability for the next two weeks (is/are) as follows"

Which is correct?     My availability for the next two weeks are as follows   OR     My availability for the next two weeks is as follows   I'm confused because I don't know if I should focus on the word "availability" which is singular or "two weeks" which is plural.


A friend signed me up for a Google Apps account when it was free for a personal blog I planned to create. I no longer will be creating or maintaining a personal blog. I now want to use my free Google Apps account for a business domain that I own, AND I want to control the domain instead of bothering my buddy when I need help.  How do I transfer that account that was setup for me TO me, so I can take ownership of that free account and manage it myself for another domain. He is very busy now and I don’t want to keep bothering him. Like others who have asked, I want to maintain the free account too.


To prove $\frac{1}{\sin 10^\circ}-\frac{\sqrt 3}{\cos 10^\circ}=4$

To prove:  $$\frac{1}{\sin 10^\circ}-\frac{\sqrt 3}{\cos 10^\circ}=4$$  I tried taking lcm but could not get to anything.


factoring $n=pq$ knowing $p+q$ in polynomial time

Lets $n=pq$ with $p$ and $q$ primes   If we know the result of $p+q$, can we factorize $n$ in polynomial time ?  Best regards.


I have a table inside of a pageblocksection and then inside of that I have an  that I am trying to utilize the default help text for but it's not showing up.  <apex:pageBlockSection columns="1">   <apex:outputPanel>     <table> width="100%">       <tr>         <td>           <apex:pageBlockSectionItem helpText="test text">             <apex:inputCheckbox value="{!searchBySKU}" />             <apex:outputLabel value="Search for this SKU or text in the SKU name" />           </apex:pageBlockSectionItem>         </td>       </tr>     </table>   </apex:outputPanel> </apex:pageBlockSection>   Any ideas why this doesn't work as I expect?  EDIT:  So, I just did some more testing and it creates the text if it's a direct child of the pageBlockSection. Is there any way to get around this restriction without going the fully custom route to do so?


What are these folders created on my Western Digital 2TB Mirror?

Possible Duplicate:          On my external hard drive "", there are lots of seemingly empty folders with seemingly random names like 7fa79879f4ca74651aa06dad5cf7fb33. What are those?  Can I delete them?


What is the current URL to create a new Google Document please? Since Google last updated their Docs the old URL does not work.


I Have an Acer Asphire v3 731 and I cannot install Ubuntu or another version of Linux because this error:     unable to find a live medium containing a live file system   I searched it and I found solutions but they do not work for me usb 2 ports are dead from start. I tried dvd too but it is stuck on first laptop screen.  So I decided to ask here for a solution about anything I can do to install Ubuntu on my machine. I want dual boot with Windows 10. I tried before uefi and legacy bios and secure boot off. I tried many things but nothing.   Any help?


Let $R = \mathbb{C}[t]$ be a ring of polynomials in variable $t$ with coefficients in the field of complex numbers $\mathbb{C}$ and let $$N = R[x]/(tx-t).$$  I claim that $N$ is not a flat $R$- module. If we consider the exact sequence $$0 \rightarrow(t) \rightarrow R$$ such that the ideal $(t)$ is viewed as an $R$-module.   We know that the above sequence exact iff the map $(t) \rightarrow R$ is injective. Let us assume that N is flat then this means that $N \otimes  (t) \rightarrow N \otimes R$ has to be injective. How do I go from here?   Thanks.


Can I apply for Shengen Visa from Netherlands Embassy to travel to France for a Seminar?

I need to get a visa to travel to France for a seminar, however, the appointment date to submit visa application is after the date the seminar begins.  Can I apply for a Schengen visa at the Netherlands Embassy, because I can get an earlier visa appointment date? And use that visa to travel to France for the business seminar?


What does the 'D' stand for in all the names?

There are a lot of characters with the middle initial "D".  Is this an indication of something, or do they really all just have middle initials of the letter D?  If they are initials, do we know what they stand for?  Examples of names:     Monkey D. Luffy   Monkey D. Dragon   Portgas D. Ace   Monkey D. Garp   Gol D. Roger


ssh-keygen : generate public key from private key?

I got a pub/pri key pair generated using ssh-keygen. ssh-keygen -t rsa -b 2048  Now say, I lost the public key but have the private key. So I want to generate the public key using private key, which I know is possible but am not sure how. I went through few post and articles which suggest using below command, but I am facing error? $ openssl rsa -in pri  -pubout #generates public key from private key unable to load Private Key 139858264044864:error:0909006C:PEM routines:get_name:no start line:../crypto/pem/pem_lib.c:745:Expecting: ANY PRIVATE KEY  Could some one suggest on how to fix this?


Showing that roots common to $z^m-1=0$ and $z^n-1=0$ where $\gcd(m,n)=d$ are given by all roots of $z^{d}-1=0$

I cannot seem to get this proof right, which is to show that roots common to $z^{m}-1=0$ and $z^{n}-1=0$ where $\gcd(m,n)=d$ is given only by all the roots of the equation $z^{d}-1=0$. For starters, if we let $m=d\lambda_{1}$ and $n=d\lambda_{2}$, where $\lambda_{1}, \lambda_{2}\in\mathbb{Z}^{+}$, then $z^{d\lambda_{1}}=1$ holds, and so does $z^{d\lambda_{2}}=1$. I do not know how to formalize this. Any hints are appreciated. Thanks.


Are Mersenne prime exponents always odd?

I have been researching  so I can write a program that finds them. A Mersenne prime looks like $2^n-1$. When calculating them, I have noticed that the $n$ value always appears to be odd. Is there confirmation or proof of this being true?


Is there a way to make the command "\odiv"?

It is well known that $\oplus$ produces a plus sign with a circle around it, similarly $\otimes$ does the and same with the $\times$ symbol, etc.  I was wondering if there a way to make a command which would do the same for $\div$ ?   The command isn't available by default, to my knowledge, and I'm not experienced enough with defining such commands myself.


In all of the descriptive dictionary definitions of “emoji” I've encountered thus far (e.g. ), the plural of emoji is given an optional “s.”     plural emoji or emo·jis   In the responses to , the term is described as a Latinized version of its Japanese progenitor.   Though it doesn't follow the Latin pattern exactly (there is no emojus of which I am aware), does its Latinization lend any credence to an argument in favor of using emoji for both the singular and plural form of the noun (i.e. as a )?


Software Updater firing blanks, not updating to 20.04 LTS

I have repeatedly been given the option to update to Ubuntu 20.04 LTS by the Software Updater. When I click the "Upgrade..." for it to proceed, the only thing that happens is that the Software Updater closes.  I have tried, from the terminal: sudo apt-get update sudo apt-get dist-upgrade  Results, nothing but another puzzling issue that is unrelated, pertaining to JavaFX. phil@UbuntuDesktop:~$ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree        Reading state information... Done Calculating upgrade... Done The following packages have been kept back:   libopenjfx-java libopenjfx-jni openjfx 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. phil@UbuntuDestktop:~$  Any thoughts on how to proceed, or what might be hanging things up?


X and Y are not correlated, but X is significant predictor of Y in multiple regression. What does it mean?

X and Y are not correlated (-.01); however, when I place X in a multiple regression predicting Y, alongside three (A, B, C) other (related) variables, X and two other variables (A, B) are significant predictors of Y. Note that the two other (A, B) variables are significantly correlated with Y outside of the regression.   How should I interpret these findings? X predicts unique variance in Y, but since these are not correlated (Pearson), it is somehow difficult to interpret.  I know of opposite cases (i.e., two variables are correlated but regression is not significant) and those are relatively simpler to understand from a theoretical and statistical perspective. Note that some of the predictors are quite correlated (e.g., .70) but not to the extent that I would expect substantial multicollinearity. Maybe I am mistaken, though.    NOTE: I asked this question previously and it was closed. The rational was that this question is redundant with the question "". Perhaps I do not understand the other question, but I believe these are entirely separate questions, both mathematically and theoretically. My question is entirely independent from if "a regression is significant". Furthermore, several predictors are significant, while the other question entails variables not being significant, so I don't see the overlap. If these questions are redundant for reasons I do not understand, please insert a comment prior to closing this question. Also, I was hoping to message the moderator who closed the other question to avoid identical questions, but I couldn't find an option to do so.


At the end of Star Trek: Nemesis Data sacrifies himself by destructing Scimitar(year 2379). I thought he died. But then i searched for Enterprise F and there I saw written that:       "Captain Data was offered command of the vessel but refused."   (Year 2409).   How is he alive?


Suppose $R$ is a ring with no zero divisors and with identity $1_R$ not equal to $0_R$.  Suppose that $a,b$ are in $R$ and that $ab$ is a unit.  Prove that $b$ is a unit.   My thoughts: I know a unit is basically a unit that (for this example) would mean $abu = 1_R$ for some nonzero $u$ in $R$.  I am really stuck after that.  Not seeing a clear path to manipulate the variables to prove b is a unit by itself.


How to convert straight edges to curved edges in blender?

I am  blender beginners, but I am experiencing this problem. I need to build a cap model. I don't know how to build a curved edge


If a ring has no zero-divisors and it contains a nonzero element $b$ such that $b^2 = b$, then show that $b$ is the unity for that ring

Suppose that $\mathbb{R}$ is a ring with no zero-divisors and that $\mathbb{R}$ contains a nonzero element $b$ such that $b^2 = b$. Show that $b$ is the unity for $\mathbb{R}$.   I attempted to show that $ab=a$ as $b$ is the unity for that ring. Now, with that assumption, $$(ab)^2=a^2$$ $$\implies abab=a^2$$  Multiplying both sides by $b$ and using $b^2=b$ we get:  $$abab=a^2b=a(ab)$$  Not only can we not take inverse on both sides (as it is not mentioned), but this kinda seems like a circular proof. I proved what I assumed so it is definitely incorrect.  I am unable to come up with any other method. What is the correct proof here?


Main characters actors playing background characters in DW?

As Peter Capaldi, who played Roman merchant Lucius Caecilius Iucundus in 4x02 (2005 serie) and Freema Agyeman (Adeola Oshodi, 2x12), are there others main character's actors who played background roles before?  In the 2005 serie and the 1963 one.  Edit: Every canon count (I'm not a canon racist :D)


I installed Ubuntu and during installation I formatted all the hard disk by mistake. Now I am trying to partition it (with GParted), but for some reason I can't, when I click on resize, the size of the partition is not editable. I think I should've partitioned it before the installation. Here is a snapshot from GParted.      Do I have to reinstall Ubuntu?


What was/is the name of the person who phoned/had phoned?

What was the name of the person who phoned?      I'm wondering what does this question really mean? Does it mean:         What is the name of the person who phoned?      but why was instead of is?  or means         What was the name of the person who had phoned?


If $A\cup B=A\cup C$ and $A\cap B= A\cap C$, prove that: $B=C$

If $A\cup B=A\cup C$ and $A\cap B=A\cap C$, prove that $B=C$.   My attempt: $$A\cup B= A\cup C$$ $$n(A\cup B)=n(A\cup C)$$ $$n(A)+n(B)-n(A\cap B)=n(A)+n(C)-n(A\cap C)$$ $$n(B)=n(C)$$ $$B=C$$.  Is this correct?Or, do we have any other alternatives?


When I am using the \begin{thebibliography} ... \end{thebibliography} environment, the 'References' appears in the translated document. How can I change this text to see something else,  for instance, 'Test', on the finished document?


Supertype/Subtype deciding between category: complete disjoint or incomplete overlapping

I'm building an inventory database that stores IT hardware, such as desktop computers, laptops, switches, routers, mobile phones, etc. I'm using supertype/subtype pattern, where all devices are stored in a single table, and specific information is put into subtype tables. My dilemma is choosing between the following two designs:    In the top diagram all devices share common subtypes. For example, desktop computers and laptops would have records in the following tables: Device, NetworkDevice. A switch would have records in: Device, NetworkDevice. A router would have records in: Device, NetworkDevice, WANDevice. Any device for which we track location will have a record in Location. Some pros and cons that I thought of for this setup:   Pro: SELECTing records based on a common field, like Hostname, or LocationID is easier. Pro: No null fields. Con: Tables that should be included in CRUD operations for a particular device are not obvious, and may confuse future DBAs.   In the bottom diagram all devices have their own subtype (There are more classes of device that are not shown here). In this situation, it is obvious which tables records get inserted to or selected from. Desktop computers and laptops go in Computer, etc. Some pros and cons that I thought of for this setup:   Pro: It is immediately obvious which tables to use for CRUD operations for subtypes. Pro: Only have to use one table for CRUD operations. Con: SELECTing records based on common subtype fields requires all tables to be combined, for example searching by Hostname, or LocationID.   In both situations, the ClassDiscriminator field is placed in subtype tables for use with a CHECK constraint to control which types can be inserted.  Are there any recommendations for which design is better, or is it completely a matter of opinion and dependent on the intended purpose of the database?  EDIT: A specific question I have regards the overlapping nature of the table "NetworkDevice". This table is meant to hold network information for any device with a hostname and/or IP address, whether it is a computer, switch, or router. Is the overlapping nature of this table something that could cause problems, or is it okay to implement it this way?  Thank you in advance for any input provided. Please ask if any additional information is needed.


How can I get TeXstudio's syntax highlighting to recognize an unknown command?

TeXstudio does not recognize the LaTeX command \rm (red highlighting in the document, with the message: unrecognized command), even after I activate all possible completion files (.cwl).  In such a case, what can I do so that TeXstudio recognizes a certain command for highlighting?


A word for someone who does tasks just to get rid of them

How do you call a person who does tasks without paying so much attention into the details and only thinking about finishing them soon and getting rid of them. What do you call such action? Example: suppose that you are a Ph.D. advisor and one of your responsibilities is to read the reports of your Ph.D. students and provide suggestions and comments to improve the work. Sometimes the reports get complicated and you don't want to get your hands dirty by going into the details. So you just read them carelessly and provide some lousy comments in order to just get rid of it.


ssh login doesn't parse .profile or .bashrc properly and is generally being weird

First of all it doesn't load my PS1. It just prompts me with a $ The arrow keys instead of doing what they're supposed to do, the just echo things like: $ ^[[A   And that makes it very unusable. A couple of things to consider here:   This only happens when I login through ssh, it doesn't happen when I login directly to the server. One of the users works pretty fine even with ssh; and that's the user that was setup during the installation of the OS (ubuntu server 14.04). When I su - otherUser from within that user that works fine, everything works fine.   Here's the .bashrc in case you want to take a look at it (It is the same on all users including the one that works correctly):   function parse_git_branch () {   git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' }  RED="\[\033[0;31m\]" YELLOW="\[\033[0;33m\]" GREEN="\[\033[0;32m\]" NO_COLOR="\[\033[0m\]" #PS1="[\u@\h \W]\$" export PS1="[\u@\h $YELLOW\W$NO_COLOR]$GREEN\$(parse_git_branch)$NO_COLOR\$ "   Here's an output log for when I try to login to the user the works properly ssh -vvv ubuntu@server:   Here's an output log for when I try to login to the user the doesn't work properly ssh -vvv adam@server:


I'm struggling to understand how the geo projections work in practice.  The info a the CRS is as follows: {'ellps': 'WGS84', 'no_defs': True, 'proj': 'longlat'}  Does it mean that the coordinates are planar? if so,    how do I know what it was projected from (I need areas preserved, so this is important)  do I need to do something to displayed it on a map?   My region is South Africa-   - how do I choose the best coordinate system?


All of my Firefox extensions were spontaneously and simultaneously disabled

This happened a bit ago and I found the one topic with the similar name but I can not comment or reply there as it essentially seems to have been locked for additional posting and remarks or I have not posted enough yet.  Regardless this has just happened to my Firefox v48.0.2 on my primary work machine and while it hasn't happened yet on my laptop which is running v66.0.3, I am concerned and not sure if things have been fixed yet on Firefox end or not and if I will end up experiencing this on that machine also as others seemed to have mentioned in the other topic.  my base question is how can I at least re-enable them in v48.0.2"  I have tried the xpinstall.signatures.required resting it to false but it still has not re-enabled them.  Any real suggestions or input as to what I can do is appreciated and also any input as to maybe follow whats happening on the Firefox side to see their progress on fixing this.  I can not really upgrade my OS on the main workhorse machine easily as there are many things that have to be converted and updated application wise and soem are well just no longer available properly to do the job that machine does for me atm.  TIA


Any way to represent number that comes after repeating decimal?

Essentially, I am wondering if you can represent a repeating decimal and have a number. For example, perhaps 0.9 repeating with an 8 at the end, the largest decimal less than one (because 0.9 repeating is equal to one.) Logic would dictate that you would have 0.98 with a bar only above the 9. However, I do not know if a number like this exists and if so, how I can represent it. Sorry for my lack of formatting skills.


Connect USB storage device to 2 computers at a time

I'd like to connect an USB storage device to 2 computers at the same time (With a cable, not over the network). Is this possible?  Context: I want my Raspberry Pi to save output on an external USB-storage, and then be able to read the output on a Windows XP PC.


What is the best way to kill the Queen Mirelurk on SURVIVAL level difficulty? Missles, Rifles, and mini-nukes are practically worthless and you cannot heal in combat.  In addition the Queen's poison attack bypasses all armor (only a rare legendary item gives poison any resistance and its an insignificant amount).


How to group a list into a list of lists?

I have one list but I'd like to divide this list into a list of lists. The final list should be made of lists with 4 items in each lists. The order of the original list should remain the same.   For example:  lst = ['201,904', '17,998', '14,421', '14', '66,000', '5,502', '9,428', '7', 0, 0, 0, '0', '32,300', '2,816', '10,766', '3']   Goal_lst = [['201,904', '17,998', '14,421', '14'], ['66,000', '5,502', '9,428', '7'], [0, 0, 0, '0'], ['32,300', '2,816', '10,766', '3']]   I'd like to also be able to carry out this function if I wanted the Goal_lst to have each sublist only 2 items.


I am running into this issue when I try to run a script. It was working fine, and I made edits. /bin/bash^M: bad interpreter: No such file or directory


In this new menu, where can I get to the list of my privileges?

In this new menu, where can I get to the list of my privileges, it used to be up on top on the old menu.


Why does scanf() need "%lf" for doubles, when printf() is okay with just "%f"?

Why is it that scanf() needs the l in "%lf" when reading a double, when printf() can use "%f" regardless of whether its argument is a double or a float?  Example code:  double d; scanf("%lf", &d); printf("%f", d);


Efficiently get records with latest timestamp per group

I have a table which roughly looks like this   uuid uuid,  id id,  data text, last_updated timestamp   Each row has an associated unique uuid. However, the key of interest is the id (indexed). Whenever we do an update, it happens that a row with the same id is inserted, the timestamp is the moment of putting it in the database, and it gets its own uuid. I would like to retrieve several of these rows in one query, but retrieving only the latest version.   So far I have   SELECT * FROM table WHERE id IN (16638051, 14727883)  GROUP BY id, uuid;   (ids are examples). However, I'm curious how to efficiently retrieve only the rows with the latest timestamp in that query?  Or would doing a single row at a time and retrieving it as a transaction be better?  UPDATE  This seems to do the trick (from ).  SELECT * FROM (    SELECT DISTINCT ON (id) *    FROM   table    WHERE  id IN (14727883, 16638051)     ORDER  BY id, last_updated DESC NULLS LAST    ) sub ORDER BY last_updated DESC NULLS LAST   However, I wonder if a materialized view wouldn't be easier. It's a read heavy & low write database with a couple million rows, with the updates only happening daily.


How long can a Galaxy class starship last before it needs servicing?

Assuming a Galaxy class starship were to work on a regular schedule (i.e. exploring, diplomatic missions etc. but NO battle), how long can it last before it has to return to a starbase for servicing?  I appreciate this may be difficult finding a series of episodes from TNG where the Enterprise-D does not battle between going to a Starbase, so, if it is absolutely necessary, battle can be included, but no major damage...


I am making a recreation of zombie siege and everything is going great.    Except for the spawning zombies. I would like to have them spawn randomly at the end of my tunnel, but the only random generators I've found online are too slow. Not to mention unreliable and inefficient.    Can anyone help me come up with a random generator that would suit my needs?


In the Overview of your caught Pokémon, some of them have a blue "glow" around them (see the two right-most Hornlius/Weedles and one of the Taubsis/Pidgeys in the following screenshot).  Does this indicate something special? Is this anything good/bad?


Regex in javascript is not returning match group

I created the regex below:  /(.*) \(...\) (.*)/g   And in regex101 the groups that I need to retrieve works.  But when I try to use this regex in my javascript code it returns the full match.  Here is the example:  "No rasto de Magalhães, (...) sua brincadeira profilática"   To the sentence above, It should have returned an array with 2 matches, but my js code returns the entire sentence:  ["No rasto de Magalhães,", "sua brincadeira profilática"]   This is my js code to match the string occcurence:  var occurrenceHasSeparator = occurrence.match(/(.*) \(...\) (.*)/g);   Does anyone has any tips? Thanks in advance!  EDIT  It is not a duplicate, I know how to access the group values. It returns an array with the group matches. The problem here is that my regex is returning an array with the full sentence instead of two values.


Trying to install AMD proprietary drivers

I have downloaded the proper driver from the web but every time I try to open, it says not responding or will open in gedit, take forever to load, then say there was an error.   In the driver file it's marked as run as program. Am i missing something?   I believe I figured it out. .run has to be run through terminal. I tried installing from the terminal and got the following results:    =====================================================================  AMD Catalyst(TM) Proprietary Driver Installer/Packager  ===================================================================== Detected configuration: Architecture: x86_64 (64-bit) X Server: X.Org 6.9 or later 64-bit loki_setup: directory: (null) Installing package for: Ubuntu/trusty fglrx_14.501-0ubuntu_.deb fglrx-amdcccle_14.501-0ubuntu_.deb fglrx-dev_14.501-0ubuntu_.deb Selecting previously unselected package fglrx-core. dpkg: regarding fglrx-core_14.501-0ubuntu1_amd64.deb containing fglrx-core:  fglrx-core conflicts with libopencl1   ocl-icd-libopencl1:i386 provides libopencl1 and is present and installed.   ocl-icd-libopencl1:amd64 provides libopencl1 and is present and installed.  dpkg: error processing archive fglrx-core_14.501-0ubuntu1_amd64.deb (--install):  conflicting packages - not installing fglrx-core Selecting previously unselected package fglrx. (Reading database ... 246099 files and directories currently installed.) Preparing to unpack fglrx_14.501-0ubuntu1_amd64.deb ... Unpacking fglrx (2:14.501-0ubuntu1) ... Selecting previously unselected package fglrx-amdcccle. Preparing to unpack fglrx-amdcccle_14.501-0ubuntu1_amd64.deb ... Unpacking fglrx-amdcccle (2:14.501-0ubuntu1) ... dpkg: dependency problems prevent configuration of fglrx:  fglrx depends on fglrx-core; however:   Package fglrx-core is not installed.  dpkg: error processing package fglrx (--install):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of fglrx-amdcccle:  fglrx-amdcccle depends on fglrx; however:   Package fglrx is not configured yet.  dpkg: error processing package fglrx-amdcccle (--install):  dependency problems - leaving unconfigured Processing triggers for gnome-menus (3.10.1-0ubuntu2) ... Processing triggers for desktop-file-utils (0.22-1ubuntu1) ... Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for mime-support (3.54ubuntu1.1) ... Processing triggers for ureadahead (0.100.0-16) ... ureadahead will be reprofiled on next reboot Errors were encountered while processing:  fglrx-core_14.501-0ubuntu1_amd64.deb  fglrx  fglrx-amdcccle fglrx-core_14.501-0ubuntu1_amd64.deb fglrx_14.501-0ubuntu1_amd64.deb fglrx-amdcccle_14.501-0ubuntu1_amd64.deb Cleaning up removed packages Unable to open /etc/ati/control, please reinstall the driver. aticonfig: No supported adapters detected fglrx_14.501-0ubuntu_.deb fglrx-amdcccle_14.501-0ubuntu_.deb fglrx-dev_14.501-0ubuntu_.deb Removing temporary directory: fglrx-install.6hTiyp


find the number of injections/surjections

I've been banging my head on this problem for some time now, and could really use help. Bear in mind I'm not very good at this sort of thing and am struggling to get by in class.  Problem:     Given $ \alpha : A \to B       \;\;\;\;\;   |A|=p \;\;\;\;|B|=q $      Find:         Number of Injections: $A \to B$   Number of Surjections: $ A \to B$    Prove that ∃ a bijection $A \to B$       $\Rightarrow$ p = q   find number of bijections: $A \to B$         I apologize for dropping such a big problem on you all, but I just can't get anywhere with this. Help?  EDIT: These answers are really helpful and I believe I've got down the number of Injections, but  we haven't gone through permutations or combinatorics in class so my understanding of it is really hamstrung. I'm unclear on the Stirling theorem as discussed here: , specifically the part where inclusion-exclusion comes into play. I'm not sure how to apply that, since right now I'm letting p = 4 and q = 3, so I don't know where inclusion-exclusion would be used (if at all!) since I don't know how elements would be missing.


referring to Eqn. 1a) and 1b) in a sentence as eqn. (1)

I have two equations. [1a) and 1b)]  And I want to refer these equations in a sentence as Eqn. (1). How can I do it? Thanks.


I wish you bought me... vs I wish you would buy me

I came across these sentences and cannot tell the difference. What is the difference between these two sentences?     I wish you bought me a car.      I wish you would buy me a car.


Which book or website do you recommend for self-learning calculus?

I only know the basic formulas for differentiating and integrating. I want to learn calculus in detail. Which book or website do you recommend for it?


A barrier isolates Earth from space and slows down time

I'm trying to recall the name of a book I read, probably published after 1990, where alien AI infects satellites and a barrier is established, isolating earth from space that maybe slows down time inside of it, relative to the passage of time outside.  Mars or the moon is also colonized in an attempt to flee the now real possibility that the sun will become a red giant and wipe out humanity in the not-too-distant future (as perceived on earth), but the colony gets one of the time barriers as well.  I think the name of the novel was short, "The _______" (one word).  The story focused more on the human cost and followed one particular family, one member of which was somehow also partially infected by the alien AI, but I don't remember as much about them.


Is there a term for when a well-known noun such as Google, Yelp, Snapchat, etc. become a verb. People now say, let's google it and it is understood that they will use google to search something. Or let's yelp it to check nearby restaurants or information pertaining to nearby restaurants. It usually only happens to popular companies, as no one says let's yahoo this. Is there a term that describes this phenomenon?


Why i have this error?     You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '22:59:45,5.122.42.79,logged in to BanTools)' at line 1 [1064]   @$log = "1"; $act = "logged in to BanTools"; $a = "Ramin";  if($log == "1" ) {  $visit = Array( 'username'     => $a, 'ctime'         => date("Y-m-d H:i:s"), 'ip_address'   => $_SERVER['REMOTE_ADDR'], 'action'       => $act );  $sql = "INSERT into act_log (".join(',', array_keys($visit)).") VALUES (".join(',', array_values($visit)).") ";  $db->sql_query($sql);   $db->sql_close(); }


Infinite composition of Logs with infinite argument

If you were to compose an infinite number of ln's  what is the result? Is it finite? Does it exist? Perhaps the most natural way to think about writing down this limit would be as follows: $$\lim_{a->\infty}\log_a\circ\log_{a-1}\circ...\circ\log_2(a)$$  (starting at 1 is obviously not going to work since log(1)=0, leads to the log(log(1)) being divergent.)  The problem with this definition is that the logs kill the 2 too quickly, i.e we get complex evaluations of the function, which is not necessarily bad.  There are various other ways to think about this sort of limit as well. Suppose you already had an infinite composition of logs, then took a limit as x went to infinity. i.e:  $$\lim_{x->\infty}...\log\circ\log\circ...\circ\log(x)$$  who wins, x or the logs. Numerically I have found that composing 6 logs with 10^10,000,000 results in -2.165, which seems to suggest that the logs would win, but things, as we know, tend to act very differently in the limit. Is there another way to think about this limit, or does it not exist, since taking the limit two ways leads to two different results?  Thanks.


Book that has illegal car racing with a car powered by NOS

I read this about 15 yeas ago, maybe more. I believe it was aimed at YA, but it may have been for adults.  In the beginning the main characters are attending an illegal drag race. They've built the car to be powered entirely by NOS, rather than by petrol with a NOS boost. To do this they had to make the fuel tank cover every possible inch of the car, including the body shell.  The race begins by and electrified gate gate raising up. Racers can't set off early or they'll get electrocuted. One of the rivals sets of before the gate is fully raised and gets around it by coating the car in rubber.  During the race (or shortly after) the place get raided by some sort of police/authorities. I can't remember if it was a sort of totalitarian state or if it was just because they were criminals but I believe it was close to the former.  During the raid the authorities have some sort of tank vehicle. The protagonist has a gun that can disable vehicles, but as the tank is shielded it is ineffective. However they manage to fire it into the tank barrel and it worked. Another character explains that the tank barrel is normally shielded, but the shield is lowered for a split second before the tank is about to fire. And the protagonist must have fired at exactly the right time in order to get the shot in before the tank fired.  It was set in the near future. That's everything I can remember.


Electrostatic shielding : charge inside a cavity

Can somebody explain as to why doesn't a charge , placed outside the cavity of a conductor , produce any electric field on a charged particle placed inside the cavity.


There are four different forms of verb pluralisation agreement I'm curious about:  neither thing [has/have] an attribute neither of the things [has/have] an attribute both of the things [has/have] an attribute both things [has/have] an attribute  For each of these forms, should "have" be pluralised, or not? My intuitive guesses are singular, singular, plural and plural; but I have no specific justification.


Grub fails to install on dual boot on macbook pro

I am new to Linux and I am trying to install Ubuntu on my mac book pro without deleting the existing mac OS. I am roughly following this tutorial () to install Ubuntu 17.10 and I have installed rEFInd from my mac OS.  When I try to install Ubuntu on my computer, I select the partition I already created with the ext04 file system and for the boot loader option I have tried multiple options but they all give the following error "the grub-efi-amd64-signed package failed to install into /target/. Without the grub boot loader, the installed system will not boot."


Delphi call TDBGrid.Datasource.Dataset.Refresh from a background thread

I want to handle refreshing this data source in a separate thread. Currently it is being updated in the main thread. DBGrid is a TDBGrid and is bound to a dataset and a TFDQuery. In the contructor for the the form i set the DB connection and call Open on the query. After that i continually call the updateview on a timer from the main thread. So my question is, can i simply put the call DBGrid.DataSource.DataSet.Refresh; into a separate thread or do i need to manually call the query Close and Open function in a separate thread and in a call to Syncronize set the dataset on the DBGrid.DataSource ? procedure TMySimpleView.UpdateView; begin    try     DBGrid.DataSource.DataSet.Refresh;   except     ON E: Exception DO begin       //Handle Exception     end;   end; end;


Why I cannot ping 192.168.0.108 (my computer IP?)

Ipconfig says that my IP is 192.168.0.108 C:\Users\vbcbu>Reply from 192.168.0.108: Destination host unreachable.ip 'Reply' is not recognized as an internal or external command, operable program or batch file.  C:\Users\vbcbu>ipconfig  Windows IP Configuration   Ethernet adapter Ethernet:     Media State . . . . . . . . . . . : Media disconnected    Connection-specific DNS Suffix  . :  Wireless LAN adapter Local Area Connection* 12:     Media State . . . . . . . . . . . : Media disconnected    Connection-specific DNS Suffix  . :  Wireless LAN adapter Local Area Connection* 13:     Media State . . . . . . . . . . . : Media disconnected    Connection-specific DNS Suffix  . :  Wireless LAN adapter Wi-Fi 2:     Connection-specific DNS Suffix  . : www.tendawifi.com    Link-local IPv6 Address . . . . . : fe80::3804:2d04:a591:7142%6    IPv4 Address. . . . . . . . . . . : 192.168.0.108    Subnet Mask . . . . . . . . . . . : 255.255.255.0    Default Gateway . . . . . . . . . : 192.168.0.1  Ethernet adapter Bluetooth Network Connection:     Media State . . . . . . . . . . . : Media disconnected    Connection-specific DNS Suffix  . :  C:\Users\vbcbu>  I can ping router at 192.168.0.1 I can't ping 192.168.0.108 C:\Users\vbcbu>ping 192.168.0.1  Pinging 192.168.0.1 with 32 bytes of data: Reply from 192.168.0.1: bytes=32 time=2ms TTL=64 Reply from 192.168.0.1: bytes=32 time=24ms TTL=64  Ping statistics for 192.168.0.1:     Packets: Sent = 2, Received = 2, Lost = 0 (0% loss), Approximate round trip times in milli-seconds:     Minimum = 2ms, Maximum = 24ms, Average = 13ms Control-C ^C C:\Users\vbcbu>ping 192.168.0.8  Pinging 192.168.0.8 with 32 bytes of data: Reply from 192.168.0.108: Destination host unreachable. Reply from 192.168.0.108: Destination host unreachable. Reply from 192.168.0.108: Destination host unreachable. Reply from 192.168.0.108: Destination host unreachable.  Ping statistics for 192.168.0.8:     Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),  C:\Users\vbcbu>ping 192.168.0.8  Pinging 192.168.0.8 with 32 bytes of data: Reply from 192.168.0.108: Destination host unreachable. Reply from 192.168.0.108: Destination host unreachable.


Russian citizen travelling from uk to Russia via Belgium

I am a Russian citizen with a visa to enter the UK. Can I return to Russia in transit via Brussels without any other visa?


Word for the flavor found in green bananas or green persimmon

I have been asking this questions to a few native English speakers but none have given me a satisfactory answer, and it has been bugging me for so long. What is the English word for the flavor that found in green fruits like green bananas or green persimmon? The closest I have found is bitter, but if you have eaten those 2 fruits, you would know it is not bitter. In Vietnamese we say “chát”, which when put in Google Translate it came out as “acrid” but the explanation doesn’t sound right, so here I am asking this.


Verifying that the symmetric group $\mathsf{S}_m$ acts on $\mathbb{N}^m$

I'm working on an exercise which asks me to show that $$\mathsf{S}_m\times \mathbb{N}^m\to\mathbb{N}^m, \quad(\sigma,\alpha)\mapsto\sigma\cdot\alpha=(\alpha_{\sigma(1)},\dots,\alpha_{\sigma(m)})$$ defines a group action of the symmetric group $\mathsf{S}_m$ on $\mathbb{N}^m$. My issue is in verifying that $\sigma\cdot(\pi\cdot\alpha)=(\sigma\circ\pi)\cdot\alpha$. I've calculated $$\sigma\cdot(\pi\cdot\alpha)=\sigma\cdot(\alpha_{\pi(1)},\dots,\alpha_{\pi(m)}) =(\alpha_{\pi(\sigma(1))},\dots,\alpha_{\pi(\sigma(m))})$$ and $$(\sigma\circ\pi)\cdot\alpha=(\alpha_{\sigma(\pi(1))},\dots,\alpha_{\sigma(\pi(m))})$$ which don't seem to be equal. Where have I gone wrong? EDIT: I just found this post  which points out that the definition of the action is wrong. Apparently it should be $\sigma\cdot\alpha=(\alpha_{\sigma^{-1}(1)},\dots,\alpha_{\sigma^{-1}(m)})$. The computation is then as follows: $$\sigma\cdot(\pi\cdot\alpha)=\sigma\cdot(\alpha_{\pi^{-1}(1)},\dots,\alpha_{\pi^{-1}(m)}) =(\alpha_{\pi^{-1}(\sigma^{-1}(1))},\dots,\alpha_{\pi^{-1}(\sigma^{-1}(m))})$$ and $$(\sigma\circ\pi)\cdot\alpha=(\alpha_{(\sigma\circ\pi)^{-1}(1)},\dots,\alpha_{(\sigma\circ\pi)^{-1}(m)})=(\alpha_{\pi^{-1}(\sigma^{-1}(1))},\dots,\alpha_{\pi^{-1}(\sigma^{-1}(m))})$$


Are there cases where tree based algorithms can do better than neural networks?

I trained an image auto-encoder on a large dataset, and now have for every image, an n-dimensional feature vector. This vector is not spatially correlated to the image. I now used this embedding space directly for classification, using fully connected dense layers. I have 55 classes, and the vector dimensionality is 1024. Even a single classification layer on top of the embedding, means 1024*55 parameters and it very easily overfits.  Since my embedding is not spatial in any sense, does it make sense to use Trees for classifying over the embedding space? I.e, feed the feature vectors to a tree based classification method, instead of a fully connected network. Are there cases, depending on the data, where trees outperform neural networks. If yes, what are such cases?


Just wondering, I'm about to buy it and it sounds awesome, but how many characters can I have in Skyrim on the PS3? Am I limited to just 1, or can I make more than one character at once?


Interpretation of regression coefficient, which is dlog-log variable?

Can anyone suss out the interpretation of beta here:  D.log(gdp) = alpha + beta(log(military expenditure %)   Where D.log(gdp) = growth of GDP (first difference of log(GDP)   Would it be:  A 1% point increase in military expenditure is associated with a beta% point change in the growth of GDP?   OR  A 1% increase in military expenditure is associated with a beta % change in the growth of GDP?  OR neither?  N.B. Also what implication does the underlying variable military expenditure have being a %, wouldn't that make the interpretation a percentage point?   Thanks  Labib


difference betwen c++ 'double' values is not matching with expected value

Consider following piece of code:  #include <iostream> using namespace std;  int main() {     double x = 1.77;     double y = 1.76;      double diff = x-y;     cout << "x-y = " << diff << endl;     if (diff <= 0.01)     {         cout << "x and y differ by less than 1.0/100 ..." << endl;     }     return 0; }   Following output I am getting:  x-y = 0.01   But I don't see the print x and y differ by less than 1.0/100... which is expected here because difference between x and y is 0.01.


I would like to get a random value between 1 to 50 in Java.  How may I do that with the help of Math.random();?  How do I bound the values that Math.random() returns?


Maximum of $|\sin(z)|$ as $\{z: |z| \leq 1 \} $  So according to the Maximum Principle, the maximum is when $|z|=1$. I tried using the fact that $\sin z= \dfrac {e^{iz}-e^{-iz}}{2i}$, but didn't know how to continue from there. Setting $z=e^{it}$ doesn't help much.  I saw this question was answered before, however the answer uses hyperbolic functions ($\sinh, \cosh$) which I haven't actually studied.  Thanks in advance for any assistance!


A euphemism is a word used to replace another worse sounding word. For example, 'pass away' for 'die', 'battle fatigue' for 'shell shock', 'PTSD' for 'battle fatigue', often a word created to replace a taboo word.  A dysphemism is a bit of the opposite, a synonym that sounds -worse- than the original, for example 'boneyard' for 'graveyard'.   But there are other directions to take in creating synonyms. Medicalese tends to euphemize to make things palatable, but often there are medical synonyms where the process seems to be more obfuscation or obscurantism than euphemism. For example, 'urinate' is a perfectly neutral technical term, but it is not uncommon to see or hear the (exact) synonym 'micturate'. Unless I am misreading, there is no euphemizing going on, just hiding through a more obscure word.  What would the process/describing word be for synonyms that are in another register, colloquial vs. formal (though naturally there is a lot of overlap here with euphemisim/dysphemism)?  So what I am looking for are synonyms for euphemism, that go in different directions than just good/bad.


How to parse a time into a Date object from user input in JavaScript?

I am working on a form widget for users to enter a time of day into a text input (for a calendar application). Using JavaScript (we are using jQuery FWIW), I want to find the best way to parse the text that the user enters into a JavaScript Date() object so I can easily perform comparisons and other things on it.  I tried the parse() method and it is a little too picky for my needs. I would expect it to be able to successfully parse the following example input times (in addition to other logically similar time formats) as the same Date() object:   1:00 pm 1:00 p.m. 1:00 p 1:00pm 1:00p.m. 1:00p 1 pm 1 p.m. 1 p 1pm 1p.m. 1p 13:00 13   I am thinking that I might use regular expressions to split up the input and extract the information I want to use to create my Date() object. What is the best way to do this?


How can I prove this inequality in a triangle: $\frac{1}{(b+c-a)} +\frac{1}{(c+a-b)} +\frac{1}{(a+b-c)} \gt \frac{1}{a} +\frac{1}{b} +\frac{1}{c}$?

If $a,b,c$ are the sides of a triangle then show that- $\frac{1}{(b+c-a)} +\frac{1}{(c+a-b)} +\frac{1}{(a+b-c)} \gt \frac{1}{a} +\frac{1}{b} +\frac{1}{c}$  I got this problem from an old book on algebra. I've been trying for a long time but can't reach the answer.  My try on the question-  We know that in a triangle, the sum of two sides is always greater than the third side  $b+c\gt a$ $\implies$ $b+c-a \gt 0$  $c+a\gt b$ $\implies$ $c+a-b\gt 0$  $a+b \gt c$ $\implies$ $a+b-c\gt 0$  Also,  $\frac {1}{(b+c)} \lt \frac{1}{a}$  $\frac{1}{(c+a)} \lt \frac{1}{b}$  $\frac{1}{(a+b)} \lt \frac{1}{c}$  Adding,  $\frac{1}{(b+c)} + \frac{1}{(c+a)} +\frac{1}{(a+b)} \lt \frac{1}{a} + \frac{1}{b} + \frac{1}{c}$  How do I proceed further? All genuine answers are welcome :)


Does the statement "Every short exact sequence of vector spaces splits" imply the axiom of choice?

Using the axiom of choice, or more directly, the statement that every linearly independent set of vectors in a vector space may be extended to a basis, it is easy to prove that every short exact sequence of vector spaces splits.  Is the converse also true? Over ZF, does the splitting of each short exact sequence of vector space suffice to prove that every vector space has a basis?  One thing I tried was the following: suppose that $V$ is a vector space over $k$, and let $k[V]$ be the vector space freely generated by the elements of $V$, and let $k[V] \to V$ be the "projection". Then you get a section $V \to k[V]$... but it doesn't seem there's any way to guarantee the image of the section contains any standard basis vectors.


Is it possible to get an enum with its ordinal?   enum SimpleJackCards {     As(11), König(10), Dame(10), Bube(10), Zehn(10), Neun(9), Acht(8),     Sieben(7), Sechs(6), Fünf(5), Vier(4), Drei(3),Zwei(2), Yolly (1);     private int value;     SimpleJackCards(int val) {         value = val;     }     int getValue (){         return value;     } }   For example  I want to write a method that gives me a random card ... I would randomize an integer.  And want to get that enum with the generated ordinal number.  i.e.: ordinal value 0 would be enum As with value 11.


My 5 year old is starting to have some teeth become loose. Specifically her lower two front teeth. I just noticed today that one of them is really loose. However, I don't know how loose it should be before pulling it out.  I'm also curious about how to pull them (or should I just let them fall out, which seems bad). My father pulled mine with pliers but I think my wife would freak out if I tried to do that.  So, how loose is lose enough and how to pull them out (technique, tools, etc.).


I need to add Google Map with about 400 markers into WordPress site (into one page). Every marker needs to have info window with photo, description and link. It is really high number of markers, so I'm not sure what is the best way to implement that kind of map.   What do you suggest?


Single Batch script to open any editor/application in elevated administrator access

I have been searching for ages now, for this.  All I want is exactly as I mentioned in my question, I have many editors like Sublime Text, VS Code etc.  But they all seem useless when it comes to edit Windows Hosts file, directly without closing them, in my Windows 7 64bit system.  So I want a single batch script to provide the same administrator access to the editor(whose executable's path I give in the batch script) as when editor is "Run As Administrator" from the context menu.  So that I can open the editor in elevated mode and also pass hosts file's path as an argument to open that as well. I have tried below code but in vain:  OpenWinHosts1.cmd:  @echo off runas /profile /user:USERNAME "CMD /K \"C:\Path\to\OpenWinHosts2.cmd"" exit /b   OpenWinHosts2.cmd:  @echo off start "C:\Program Files\Sublime Text 3\sublime_text.exe" "C:\Windows\System32\drivers\etc\hosts" exit /b   Can anyone assist in this ?


The song playing in ep. 54 of Boku no Hero Academia when Todoroki fought the guy that can make things big

I want to know the OST played at Boku no Hero Academia ep. 54 when Todoroki fought that guy who can make things big. The timing is 20:40 in episode 54.  I tried to find it in YouTube but failed.  What's the song?


Python: What is the Best way to split a string of 9 characters into 3 characters each and join them using delimiters?

I have a string "111222333" inside a CSV file.  I would like to convert this into something like "\111\222\333"  Currently my python code is :  refcode = "111222333" returnstring = "\\" + refcode[:3] + "\\" + refcode[3:6] + "\\" + refcode[-3:] + "\\"   I know there must be a better way to do this.  May I know what are the better ways to do the same thing.  Please help.


I am learning motion tracking. The CG object and my camera footage can be seen together. But when I render it, only the monkey shows up.  Is there something wrong with my compositor?


How can I enable WiFi calling on an iPhone 4S?

iPhone 4S (VZN Model) with IOS 9.3.2 unlocked and works with TMO.  What is the procedure / process to configure it for wifi calling.  As I understand it IOS 8 supports wifi calling.  As Bill Tanner has graciously pointed out, Apple indicates a 5C or newer model is supported.  I suspect that the 4S has the hardware necessary to perform wifi calling.  If this is not the case, I'd like to understand the gap that prevents wifi calling: I have successfully made SIP calls (a form of wifi calling) with the device.      The question is not whether 4S is supported for wifi calling, but what (if any) procedure would be needed to enable wifi calling functionality.  It would not surprise me this feature is feasible with the 4S and that Apple is in a position to easily add it to the list of model that are valid for wifi calling code / instructions  Insight into the procedure to enable wifi calling on the 4S would be appreciated.  Thank you


How to forward a port through 2 clients via SSH?

I am trying to access a remote VNC server (say server) via SSH. I am able to do it through one client (say client1):  Client 1 (works fine):  ssh -L  5901:localhost:5900 server` and then `vncviewer localhost:5901    Now, I connect to client1 from another client (say client2), and try to access the server's VNC session.  Client 2:  ssh -L 5901:localhost:5901 client1` and then `vncviewer localhost:5901`   Then I get the following error on the SSH prompt:  channel 4: open failed: connect failed: Connection refused   and the VNC client states that the server closed the connection. (EDIT)  I precise I do not try to connect with 2 clients to an unshared VNC session. I believe the problem to be related to port forwarding or perhaps SSH.  What can I be missing?


If A has three distinct eigenvalues, does that mean that they also linearly independant?

If A has three distinct eigenvalues, does that mean that their respective eigenvecotrs are linearly independant?. And diagonalizable if A is 3x3?


How can I improve the security around my house and prevent theft?

My family and I moved to a new residential area. The environment is neither guarded nor gated, therefore security matters are concerning to us e.g. break-ins, theft, kidnapping, etc.   Since we moved in, our fence was often broken anonymously. We use a steel and aluminium fence. Therefore we set up CCTV cameras around the house, but recently the CCTV cameras were stolen also. This had made us very upset because the damage was costly.   I would like some suggestions on how to improve the quality of security. Moving again is not an option.


I would like to change this default ubuntu logo    But I can't find it. I tried to change  /usr/share/plymouth/ubuntu-logo.png   But that is the image on the login screen. Can you tell me how to change it or where is this file located?  update: I changed that image and it actually works.


Why does the table have two identical statistics? The first is a consequence of the nonclustered index, the second is created by the server. The histograms are exactly the same. Only diference is that second one(auto created) is created five minutes after first one. The index consists of one field of type guid. Statistics for INDEX 'IX_LogEvents_Guid'.                         Updated                            Rows                    Rows Sampled                           Steps                         Density              Average Key Length                    String Index     Mar 18 2021  1:54AM                        24349284                        24349284                             188                               1                        34.71614                             YES                                                        24349284                               0                   All Density                  Average Length                         Columns                 4.495376E-08                        34.71614                          acGUID               Histogram Steps                 RANGE_HI_KEY                      RANGE_ROWS                         EQ_ROWS             DISTINCT_RANGE_ROWS                  AVG_RANGE_ROWS                                                           0                         2104204


I am new to setting up server, this is my first time setting up mail server on my own. I am using ubuntu with webmin, everytime I send and receive from gmail, I had no problem.   I can receive emails from yahoo but everytime I send emails to yahoo, the mail never gotten to the recipient. So yeah, I want to setup the SPF properly  My server's IP is 203.128.78.51  This is my current setup   v=spf1 a mx ip4:203.128.78.51 -all   In the Records list appears as:      domain.com.   SPF 30  v=spf1 a mx ip4:203.128.78.51 -all   Is this correct?  I have already applied configuration and send more tests but still no success in sending mails to yahoo.   Any help will be greatly appreciated, thanks before


Chain wire methods together in Lightning Web Components

According to the documentation  in order to retrieve a list of picklist values for an object we need to pass in a Record Type Id which can be retrieved using the getObjectInfo method.   The issue is that these are both wire functions and I cannot figure out how to chain these methods.  If I try code like the following:  getObjectInfo({ objectApiName: ACCOUNT_OBJECT })             .then(result => {                 return getPicklistValues({recordTypeId: result.defaultRecordTypeId, fieldApiName: TYPE_FIELD});             })             .then(result => {                 this.picklistValues = result.data             })             .catch(error => {                 this.error = error;             });   I get an error      render threw an error in 'c:getpicklistexample' [Imperative use is not   supported. Use @wire(getObjectInfo).]   If I try something like   @track rtId;      @wire(getObjectInfo, { objectApiName: ACCOUNT_OBJECT })     handleResult({error, data}) {         if(data) {             this.rtId = data.defaultRecordTypeId;         }     }      @wire(getPicklistValues, {recordTypeId: this.rtId,fieldApiName: TYPE_FIELD})     picklistValues;   Then it throws an internal server error. Anybody have an idea as to how I could retrieve the record type Id and then call to get the pick list values like the documentation suggests?  FYI my imports are:  import { LightningElement, wire, track } from 'lwc'; import { getPicklistValues, getObjectInfo } from 'lightning/uiObjectInfoApi'; import TYPE_FIELD from '@salesforce/schema/Account.Type'; import ACCOUNT_OBJECT from '@salesforce/schema/Account';


Related to:     [This has actually happened to me on two separate occassions.]   While reviewing, I came across  that looked legitimate. I noticed a comment from , and I wanted to understand the point that he was making. Within my Google Chrome browser, I right-clicked on the link and selected 'Open link in new tab.' I actually agreed with Robert's comment (that the linked post was related) but also felt that the "honeypot" was a legitimate question. But when I returned to the review task, I saw the 'STOP! Look and Listen.' message telling me that I failed the review audit.   A few points:   I'm not a robo-editer. I promise. :) This is the second time that this has happened to me. That is, this is the second time that I wanted to know more about the comments that various people had attached to a honeypot, opened a link in a new tab, and returned to the review audit, only to find out that I had FAILED!!!!   Please help.


Displaying images in draft mode for books

I am writing my thesis in draft mode.   \documentclass[dissertation,draft]{univthesis}   The univthesis is a dissertation template like a book. However, when I include figures, I only see the figure name and box enclosing it. When draft mode is removed, I get what I want. So, I was wondering if there is a way to display images even in draft mode. I have both .eps and .pdf files in the current directory.


Visualforce email template apex repeat not returning any results

I have created my first visualforce email template using apex:repeat. I am not getting any errors but I am not receiving any data. Fields outside of repeat are being populated with data. Any help will be much appreciated.  <messaging:emailTemplate subject="Project: [{!relatedTo.Project__r.Name}] has missing or innacurate information"      recipientType="Contact"      replyTo="test@g.com"     relatedToType="Incident__c">  <messaging:htmlEmailBody >
Dear {!relatedTo.Project__r.Contact__r.Name},

            The items below need attention before continuing with project: {!relatedTo.Project__r.Name}.             Incident numnber: {!relatedTo.Name}.

           Stage	          Type	          Created Date
      <apex:repeat var="pt" value="{!relatedTo.Measure_Rules__r}">
             <apex:outputField > value="{!pt.Rule_Stage_Calc__c}" </apex:outputfield>	             <apex:outputField > value="{!pt.Type__c}" </apex:outputfield>	             <apex:outputField > value="{0, date, MM-dd-yyy}" <apex:Param value="{!pt.CreatedDate}"/> </apex:outputfield>
        </apex:repeat>

           Please call our customer service department at 1-800-xxx-xxxx.

           Thanks,
           TBD Team
                           </messaging:htmlEmailBody>              </messaging:emailTemplate>


Trying to ID flight implications from June? Historical flight status?

All the sources i checked arent offering historical flight status as far back as im looking (thats free).  Anyone able to help out and let me know what the issue/reason was for the delay?  TP1947 on June 28, 2018 from POT to LIS


Derivatives are sized differently with commath

I'm writing a derivation in an upper level physics class and I use derivatives extensively. I'm using the commath package \od{}{} command and they are being sized differently in different places. Also, most of them are too small for my liking.  I previously used physymb before it was deprecated and that didn't have this problem.  Here is part of the code:  \documentclass{article}   \usepackage{nopageno}     \usepackage{amsmath}     \usepackage{commath}     \usepackage{geometry}     \geometry{margin=.75in} \newcommand{\half}{\frac{1}{2}} \title{\vspace{-1cm}Coulomb Scattering from a Fixed Point Charge, aka, Rutherford Scattering} \date{} \author{} \begin{document}     \maketitle     Skipping irrelevant things... From this we can get the equations of motion:  \begin{align} \od{~}{t}\left(\pd{\mathcal{L}}{\dot{r}}\right)&=\pd{\mathcal{L}}{r} & \longrightarrow & &\od{~}{t}&\left(m\dot{r}\right)=mr\dot{\phi}^2+\frac{C}{r^2}\\ \od{~}{t}\left(\pd{\mathcal{L}}{\dot{\phi}}\right)&=\pd{\mathcal{L}}{\phi}   & \longrightarrow & &\od{~}{t}&\left(mr^2\dot{\phi}\right)=0  \end{align} where $C = \frac{Z_1Z_2e^2}{4\pi\epsilon_o}$.  The term $mr^2\dot{\phi}$ is simply the instantaneous angular momentum, and we see from Equation (2) that this is constant: \[mr^2\dot{\phi}=L = mv_ob .\] This yields\[\dot{\phi}=\frac{L}{mr^2}\text{ or }\frac{v_ob}{r^2}.\]  Using this in Equation (1) we can write \begin{equation} \od{~}{t}\left(m\dot{r}\right)=mr\frac{v_o^2b^2}{r^4}+\frac{C}{r^2} \end{equation} At this point, a substitution of variable is appropriate for $r$, so we let $r=\dfrac{1}{u}$. We will see after a bit of work that this helps quite a bit.  First we calculate $\dot{r}=\dfrac{-1}{u^2}\dot{u}$. Then we make use of the chain rule to change from time derivatives to $\phi$ derivatives: \begin{align*} \od{u}{t}&=\od{u}{\phi}\od{\phi}{t}\\ \dot{u}&=\od{u}{\phi}\dot{\phi}\\ \dot{u}&=\od{u}{\phi}v_o b u^2 \end{align*} This gives us $\dot{r}=-v_ob\od{u}{\phi}$.  Using the same chain rule for the time derivative on the left side of Equation (3) we get \[m\od{~}{\phi}\left(-v_ob\od{u}{\phi}\right)\left(v_o b u^2\right)=mv_o^2b^2u^3+Cu^2\] \[-mv_o^2b^2u^2\od[2]{u}{\phi}= mv_o^2b^2u^3+Cu^2\] \[\od[2]{u}{\phi}=-u-\frac{C}{2Eb^2}\] where $E$ is the initial energy given above.       Skipping more irrelevant stuff....      \end{document}   When I compile in pdfLaTeX2e Equations 1 and 2 have small derivatives. Equation 3 does not.  In the last three equations in the last align* environment there is a mixture of big and small.  I prefer the big.  I have tried different fonts (default, tgschola, fouriernc) and also tried the document amsart. No changes in the derivatives. I am using TeXLive on Windows 7.  Please explain why there is a mixture of sizes and how I can easily force the derivative sizes to match the ordinary text.


How to make windows7 file explorer like winXP

Is there a simple way of getting windows7 file explorer back to a nice, clean, simple, consistent explorer like it was in winXP?  I'm fed up with adjusting folder columns et al. and clicking on "apply to all folders" for nothing to happen. I just want a list of files with the columns I select and I don't want the column order to be continually reset.  Why do microsoft always tamper with things for the worse then take away the options to get it back :(


Multiple hyperlinks in a single cell in Google Sheets

I'd like to use HYPERLINK to add multiple links to a cell, like this:  ="Click "&HYPERLINK("google.com","here")&" or "&HYPERLINK("bing.com","here")&"."   But the above code merely results in plain text with no links at all.  Per , this doesn't seem to be a feature of Google Sheets but I'm curious whether anyone has come up with a way to accomplish this or some kind of workaround since then.


Alright! I really wanna learn how to bake textures. I have a weapon model which uses 30 textures its a single model but those 30 textures covers different parts of the weapon. I am a game modder and I am converting a weapon which uses 30 textures I watched videos on youtube but it didn't helped me at all. If someone can tell me how to bake 30 textures to single uv map that would be a lot of help.


GPU Rendering in Cycles crashing blender (Mac)

I've been experiencing loads of crashing while rendering lately, and after doing some testing I've finally isolated it to the GPU rendering. As soon as I change to that from CPU, blender goes down. This is odd, because I did a whole project (cgmastersnet Corvette course) with it on and had zero crashes. I have not updated Blender since then.   I found a thread about this on blender.org ->    They seem to be saying it could be an issue with MacOS High Sierra  (I am not running High Sierra, I am running Mojave 10.14.) This is my system:  Model Name: iMac Model Identifier:   iMac14,2 Processor Name: Intel Core i5 Processor Speed:    3.2 GHz Number of Processors:   1 Total Number of Cores:  4 L2 Cache (per Core):    256 KB L3 Cache:   6 MB Memory: 32 GB Boot ROM Version:   IM142.0130.B00 SMC Version (system):   2.15f7 Graphics card: GeForce GT 755M   And this is my Blender  2.79 - 2017-9-11   I'm wondering if others have solved this issue. I'm confused on what might have changed (other than the project - which is far simpler than a corvette).   I tried removing any recent add-ons I have used in the past few weeks, saved prefs and restarted, but the crash still happens.   Not sure what other info I can provide, please let me know. For now seems I am stuck with CPU rendering, which is a bummer.


How do I identify the original caller of a method?

In most IDEs, you can jump to the implementation of a method by only pressing ctrl and click on it, for instance, if I want to see the implementation of method() from X.method();. My question is: What if I want to do the reverse! In other word, from the method signature, is there a way to identify the original caller?   The reason of this question is because I am currently studying a huge project that includes too many classes and packages and sometimes I want to track back the original caller of a specific method.  Thank you


How can we prove charge invariance under Lorentz Transformation?

We have gravitational force between two massive particles and we have electromagnetic force between two charged particles. When special relativity suggests that mass is not an invariant quantity why we have electric charge as an invariant quantity ?


I want to delete an object. So I press the Delete button and then a menu pops up and I select vertices. But then the object still appears in the outliner. I still see "cube' there.


Is there an equivalent to `chkconfig --add` in Ubuntu?

I don't have an IT background so be patient with me, please.  I have an Ansible file (.yml) for glassfish configuration service, that was built for CentOS.  I'm trying to "transform it" for use it with Ubuntu 14.04.  In the file I have this:  name: Execute shell script - configure service glassfish - chkconfig --add glassfish warn=no       shell: chkconfig --add glassfish warn=no      - name: Execute shell script - configure service glassfish - chkconfig glassfish on warn=no       shell: chkconfig glassfish on warn=no      - name: Start service glassfish       service:           name=glassfish           state=started   I searched and found that chkconfig is not a valid command in Ubuntu.  What should I use to replace the following commands?  chkconfig --add glassfish warn=no chkconfig glassfish on warn=no


How do you describe states of a change while the change is in progress?

For simplicity I will give an example. I have a document with a title and my boss asked me to update it. Before the change happened I would call the titles "current title" and "future title". After the change happened, I would call the titles "previous title" and "current title". Now if the boss calls me while I am in the middle of updating the title, how could I describe these two him?


Need to know how to check how much time job takes to complete execution

How we can determine how much time a job takes to execute in sql server, I have a job which runs every hour, I also having some performance issue so I wanted to check if the performance issue is because the job is running or something else and that is why I have to check how much time job is taking to finish.  Job is basically to update the table.   Any help or tips will be very helpful!!!!!


Show that sequence of composition of function $f(n) = n + \lfloor{\sqrt{n}}\rfloor$ contains at least one perfect square.

The domain of a function $f$ is the set of natural numbers. The function is defined as follows:             $f(n) = n + \lfloor{\sqrt{n}}\rfloor$. Prove that for every natural number $m$ the following sequence contains at least one perfect square $m, f(m), f^{2}(m), f^{3}(m),...$


Why is the weight of a constant mass different on the poles and on the equator?

I know of an explanation that the Earth is a inertial frame of reference since it is rotating about its own axis, and since this is happening there is a centrifugal "force" or effect which counters the gravitational one. I know this is a fictitious force and I don't really find myself truly understanding anything if I have to use fictitious forces so I'm not satisfied with this explanation.  Also, I know of an explanation that observes this from a non-inertial frame of reference, saying that since gravity is the centripetal force in effect a part of it has to go on rotating a mass on a certain radius form its axis, therefore the "weight" part of the gravity slightly decreases. How is this happening?  If we assume a constant gravitational force on a constant mass on the surface of the Earth, then on the poles it is evident that the weight of the mass would be a consequence of purely the gravitational pull. However, on the equator the gravitational force itself is still the same, how is then the net acceleration decreased thus also the weight?


Once I installed Ubuntu 16.04LTS, followed by Upgrading to Ubuntu 18.04LTS. After all the  new Ubuntu 18.04LTS package get downloaded, Unfortunately new Installation get Interrupted.   When I tried to power on my computer it gives back the black screen with message dpkg failed.   How can i restore the Installation?


I've been having trouble with a debian system's file system going into read-only mode.  The short solution was to turn it off and back on again, but it keeps switching over to read only mode.  The debian machine is a VM on an ESXi hypervisor, and the volume is exported in /etc/exports so that other VMs can mount its subfolders in their own /etc/fstab configurations.    Client /etc/fstab configs:  # Remember NFS isn't secured over the network.. it probably wouldn't matter but is still considered non-secure storage-host-vm:/storage/drv_a/workpro_backups_samba  /mnt/workpro_backups_samba  nfs      rw,sync,hard,intr  0     0 storage-host-vm:/storage/drv_b/temporary     /mnt/temporary               nfs      rw,sync,hard,intr  0     0 storage-host-vm:/storage/drv_a/staff_pc_file_backups  /mnt/staff_pc_file_backups        nfs      rw,sync,hard,intr  0     0   I just ran fsck and it gave the below output  $ sudo fsck /storage/drv_a fsck from util-linux 2.20.1 e2fsck 1.42.5 (29-Jul-2012) /dev/sdd1 contains a file system with errors, check forced. Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information /dev/sdd1: 264980/134217728 files (0.2% non-contiguous), 18092864/536870655 blocks   So did I just fix the fluke problem?  Or should I be shopping out a new hdd and deciding a data migration strategy since the drive is dieing?  Or is the fact that I'm exporting  The hard drive is "on" a 2TB 5400RPM Green Western Digital.  I think it must have worked fine originally when it was first integrated into the system...  It's purpose was for storing clonezilla HDD images (I DON'T make those often for obvious reasons ;) and holds a bunch of ISOs.  It also has a git repo that is committed to nightly for a legacy machine's backup purposes.  The drive wasn't by any means 'high end', but I'm still a bit frustrated because I've only used about 2% of this drive's capacity so far and would expect slightly better performance.  Is there a way I can "shut down" all the sectors that I've written to so far since I've apparently used them up?  Or what kind of a failure is this?  Its in a very well vented chasis with limited vibration and interferance.    Here's some highlights from /var/log/messages  [105762.692329] EXT4-fs warning (device sdd1): ext4_clear_journal_err:4365: Filesystem error recorded from previous mount: IO failure [105762.692334] EXT4-fs warning (device sdd1): ext4_clear_journal_err:4366: Marking fs in need of filesystem check. [105762.695164] EXT4-fs (sdd1): warning: mounting fs with errors, running e2fsck is recommended [105762.793436] EXT4-fs (sdd1): recovery complete  [119886.884295] sd 0:0:3:0: [sdd] Unhandled error code [119886.884299] sd 0:0:3:0: [sdd]  Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK [119886.884304] sd 0:0:3:0: [sdd] CDB: Read(10): 28 00 72 8c 40 e0 00 00 90 00 [119886.884340] sd 0:0:3:0: [sdd] Unhandled sense code [119886.884342] sd 0:0:3:0: [sdd]  Result: hostbyte=invalid driverbyte=DRIVER_SENSE [119886.884345] sd 0:0:3:0: [sdd]  Sense Key : Medium Error [current]  [119886.884349] sd 0:0:3:0: [sdd]  Add. Sense: Unrecovered read error - auto reallocate failed [119886.884354] sd 0:0:3:0: [sdd] CDB: Read(10): 28 00 72 8c 3f e0 00 01 00 00 [119890.019089] sd 0:0:3:0: [sdd] Unhandled sense code [119890.019096] sd 0:0:3:0: [sdd]  Result: hostbyte=invalid driverbyte=DRIVER_SENSE [119890.019102] sd 0:0:3:0: [sdd]  Sense Key : Medium Error [current]  [119890.019108] sd 0:0:3:0: [sdd]  Add. Sense: Unrecovered read error - auto reallocate failed