Looking at http://britrail.eurail.com/#/pass/britrail_passes/ if I am reading it correctly the pass is cheaper for a peak time return from Manchester to London then buying tickets from Virgin.
What am I missing?
In General Relativity the covariant derivative of contravariant vectors $A^\mu$ is:
\begin{equation}
\nabla_\mu A^\nu=\partial_\mu A^\nu+\Gamma^\nu_{\mu\alpha}A^\alpha
\end{equation}
where $\Gamma^\nu_{\mu\alpha}$ are Christoffel symbols.
My question: how do we prove it verifies the Leibniz pr...
So with the end of 32-bit App support, I was thinking
maybe if I run across an app that I really need to run than will no long run post 10.15, that it might be a good idea to have an older version on a small partition for this purpose. I was personally due to my likening of that version of OSX t...
I have a Paterson Universal Tank for developing film.
It's written underneath that for 35mm we need 290ml to fill.
I plan to put in 500ml into it. Simply because it's easier
to make the solution.
I see that the tank can hold up to 600ml-700ml.
Will it affect the final result of development if...
I have an abstract parent class with some dependency and a default implementation.
The constructors might look like:
public abstract class ParentClass {
protected SomeDependency someDependency;
public ParentClass(SomeDependency someDependency) {
this.someDependency = someDepen...
I've seen that there was a single-sorted definition of a category. In some ways, it seems more understandable than the original definition.
I don't know much about category theory. But I would like to know how each definition is useful.
When having a 50mm lens made for a APS-C camera its often the case that the lens has a focal length of 50mm on fullframe. However this means that you are getting something like a 75mm due to the crop factor.
I wondered, if you take a medium format camera and buy a medium format lens, like a 50m...
I have been playing along with a couple of Pavement songs which are in DADABE tuning, so that the G string has to be tuned one tone higher to an A. It has happened to me in the past to do something similar with no problems, but this time the G string broke twice in one week, so after tuning up ju...
Vizier of the Menagerie says "You may look at the top card of your library," and Mindslaver says you "make all decisions for the player."
What I'm wondering is can the player who's being controlled see the top card of their library as their turn is taken for them? In other words, if I'm Mindslav...
The other day, our team went to an escape room. One of the puzzles involved a board of six mechanical switches where you had to find the correct combination of on and off in order to unlock a box, somewhat like this:
-v-v-v-
-v-v-v-
Being developers, we decided it would be more efficient to tr...
This is a piece taken from the
Wikipedia page for the Jason-1 satellite used to measure sea level rise.
Although the 1993–2005 Topex/Poseidon satellite measured an average annual Global Mean Sea Level rise of 3.1 mm/year, Jason-1 is measuring only 2.3 mm/year GMSL rise, and the Envisat satell...
I see in all tutorials or sources, everybody creates a project on some IDEs and then loads code to the MCU again via those IDEs.
So I am curious about what is sent to the MCU? Is it a sequence of binary numbers or some different file?
Is there one file that I can just send it to the MCU without...
I have been trying to integrate and compute moments of LogMultinormalDistributionin Mathematica, but the integrals don't seem to evaluate. Say for the first moment, $\langle x \rangle $
Integrate[
PDF[LogMultinormalDistribution[
{Subscript[μ, 1], Subscript[μ, 2]},
{
{Subscript[σ, 1]^2, S...
When we ls -tlra in bash, we get filename information, size of files, date last modified, etc. Is there a way to create a Mathematica function which generates a Dataset of all of this information?
Some key functions here: FileNames[], FileDate[], FileSize[]. I'm not sure how to get information a...
How is the gerundive construction to be analyzed in the following example?
Cariotae cum ficis certandum habent. (Plin. Ep. 1,8)
'Dates have to fight with figs'.
Could you please provide me with some similar examples of "(in)transitive" HAVE constructions in Latin? Here I write "(in)t...
I have a table trigger on UPDATE and INSERT that adds a row to another table. It only needs to add a row if one of four columns are changed. I tried using IF UPDATE(col) to test for changes but it has a blind spot. It only tests that some value came in. I need to go deeper, I need to compare ...
And including stereochemistry (cis trans or R S )
I was told I should demonstrate some effort to explain my knowledge of underlying concepts (which are concepts that I already know?)
So here it is : I know you start numbering from the double bond because there are no functional groups like -OH...
Can you provide any failed attempts to prove that ZF or ZFC to be inconsistent?
References to articles in the literature if there are any will be much appreciated.
Thanks!
When I'm a passenger in a car and don't have anything to do, I try to turn the strings of numbers on license plates into equations (I call this solving the license plate).
For example,
$$4161 \ \Longrightarrow \ 4 + 1= 6 - 1$$
$$333 \ \Longrightarrow \ 3 = 3 = 3$$
However, if I only allow addit...
Background: I had a course about 1 year and half ago that is required to do a simulation for its final report. I developed my idea about simulation based on some papers I read and wrote a proposal based on that idea and submitted to instructors. Instructors send back my proposal and said it's goo...
If no one knows Leia is part of the Rebellion, how could it generate sympathy for the Rebellion in the Senate?
If it is already known that Leia is part of the Rebellion, why would anyone in the Senate (a government body tasked with, among other things, preserving order in the Galaxy) want to sup...
The College of Glamour bard's Mantle of Inspiration feature (XGtE, p. 14) is worded this way:
As a bonus action, you can expend one use of your Bardic Inspiration to grant yourself a wondrous appearance. When you do so, choose a number of creatures you can see and who can see you within 60 fe...
In Dutch there is the expression "Nee heb je, ja kan je krijgen." This roughly means that being told "no" after asking for something is only as bad as never asking in the first place.
Is there a more convenient English expression for this?
I'm trying to build the following circuit
Except mine is a 24V ~20A (500W) motor, so I need to swap the components. I'm currently looking into transistors and I've stopped on the 2N6284 (NPN) transistor, which is rated at 100V 20A. This basically means it's good to up to 2000W (right?), but it...
The text of Holy Water states:
As an action, you can splash the contents of this flask onto a creature within 5 feet of you or throw it up to 20 feet, shattering it on impact. In either case, make a ranged attack against a target creature, treating the holy water as an improvised weapon. If t...
If we ignore the lower end products and compare mid and high end products. Is there a noticeable difference between the sound produced while pedaling in the same gear (Not the shifting sound)?
For example if we are talking about shimano, compare tiagra or 105 vs ultegra or durace.
This question...
Very novice question I'm afraid. I would like to practice setting up a PHP / Apache web server from (almost) scratch, i.e.:
Start with an Ubuntu OS.
Install Apache
Install any PHP packages I need
Along with any hurdles I cross on the way. I could do this by setting up a Digital Ocean Ubuntu d...
I haven't used Ubuntu before, and I made several mistakes in typing. This question has been answered.
Every time I do anything I do anything related to sudo (mostly installing repositories), It says command not found.
I type:
sudo add apt-repository ppa:ppsspp/stable
It then says
sudo:add-a...
I've recently bought an Ethernet to USB adapter.
When I plug this into my computer running Linux (Ubuntu in my case) , this just works automatically, and I can see an internet connection over this interface without doing anything.
What I want to know is, how is this working without installing a...
I was wondering... is there any substance strictly forbidden simply because it may dehydrate, cause intestinal problems or other various ailments/threats to systems if improperly handled? Anything someone may ingest is valid for an answer- drinks included here. I was asking this because @uhoh lin...
A non-empty array A consisting of N integers is given. The array contains an odd number of elements, and each element of the array can be paired with another element that has the same value, except for one element that is left unpaired.
For example, in array A such that:
A[0] = 9 A[...
I'm learning about centripetal force and I was shown a scenario where a man was spinning a rope attached to a ball over his head. There's a centripetal acceleration toward the center and therefore a force must be acting in the same direction as the centripetal acceleration — the centripetal force...
The code below generates a plot with some ugly "fringes". Is there a way to get rid of them and get a smoother graphic?
a = 2.3;
myGray = Function[{x, y, z}, GrayLevel[1]];
s1 = ParametricPlot3D[{0, a, 0} + {x, Sqrt[1 - x^2 - y^2], y}, {x, y} \[Element] Disk[{0, 0}, 1], Mesh -> 21, Boxed -> Fal...
echo '123980925sriten34=ienat' | sed -e 's/^.*\?\([1-9][0-9]\{0,2\}\+\)\([%=+-]\).*/ \1 \2 /'
is giving the result:
4 =
I am expecting:
34 =
What am I not understanding?
(Oh and I even added the + and ? to make doubly sure, but afaik {0,2} should be greedy without them.)
How does an air conditioner work? A thermodynamics textbook discusses this topic in a fairly abstract way (notes):
A refrigerator or heat pump is a device which, with work input, moves thermal energy from cold regions to hot regions. Without the work input, this could not be achieved, as it ...
The problem is:
What value of $x$ will make $y$ a maximum in the equation
$$y = \frac{x}{(a^2 + x^2)}$$
I successfully differentiate, equate to zero, and wind up with
$$x^2 = a^2$$
Which gives me the answer of
$$x = a$$
This is correct. But why isn't $x = -a$ also correct?
The Hindu religion says that individual people suffer for their sins and get rewarded for their merits.
My question is, do groups of people, like entire countries, suffer punishment for their sins?
In the course of human history, at some times countries will harbor evil ideologies, evil rulers,...
I have a PCB which contains one 20x4 LCD, eighteen 12x12mm push buttons, and three LEDs. This board is connected to an Arduino mega through a 30cm long ribbon cable. Now during testing, I found that sometimes the LCD goes blank. In my previous PCB I was not using a ground pour, but now I want to ...
Here's a quickie:
I own a shirt that has a logo on the chest on my left side. This morning I accidentally put it on inside out and back to front. Where did the logo go?
Please explain your answer as clearly as possible.
I'd like to extra the top-level domain and the second-level domain from a URL like "https://apple.stackexchange.com/questions/ask"
Example URL with desired result below.
https://apple.stackexchange.com/questions/ask
stackexchange.com
https://www.nytimes.com/2019/07/16/science/5g-cellphones...
My friend has an iPhone 5 that he forgot the password to, and he wants to recover the password without Factory resetting the device.
Is there a "brute-force" password cracker that can be downloaded, is free, and supports Windows?
I was asked this question on the interview and I can't really understand what is going on here. So the question is "What would be displayed in the console?"
#include <iostream>
int main()
{
unsigned long long n = 0;
((char*)&n)[sizeof(unsigned long long)-1] = 0xFF;
n >>= 7*8;
...
TeX will encounter an error with the following code:
\documentclass{article}
\test
\begin{document}
\end{document}
It will give a message as:
! Undefined control sequence.
<recently read> \test
l.2 \test
I know this error is simply due to the undefined \test, but what does the <recently read
Jambavan an under appreciated character in the Ramayana(most people focus on Hanuman but it should be made clear it is Jambavan who made Hanuman aware of his immense spiritual prowess) is a steadfast devotee of Sr Rama. But is it mentioned anywhere that he is an incarnation of Himavat ?
So who i...
Assumed we have this very simple Minimum Working Example (MWE) to draw a straight line:
\documentclass[tikz]{standalone}
\usetikzlibrary{intersections,decorations.pathmorphing}
\begin{document}
\begin{tikzpicture}
\draw[draw=red, line width=5pt] (-10,6) -- (50,6);
\end{tikzpic...
I have been asked by my employer to integrate our software with a third party service. But as soon I started to work on it, I realize that there is no SDK to do the integration.
Question: Is it ok to build the SDK at home and open-source it and then use it at work to make the integration?
I have a layer consisting of points (big stones), and there are too many points to be able to show them all in the scale I am using in my print composer.
What is the most efficient, and preferably least processor heavy, way to tell QGIS to only show a point, if there is no other point in the sam...
My assignment task is to print n longest lines from text files. The output is n longest lines with line number and in the same order as in the original file. For example, in the original file:
09876543
kbjkbkbbnbnmbnmnmmnbmnbmjbjkb
asjdsakdbakjsdbasbkj
asjdsakdbakjsdbasbkj
asjdsakdbakjsdbasbkj
...
In my loose reading about category theory, categories are usually introduced in terms of sets, often with some structure (such as algebraic or topological), and functions between them that preserve that structure. I find this easy to intuit, and makes ideas like commutative diagrams easy to under...
I'm parsing STL files to load the coordinates. My code is:
void Importer::scanFileSTL_ASCII(
QVector<QVector3D> &vertices, // Coordinates to be filled
const QUrl &url)
{
QFile file;
file.setFileName(url.toLocalFile());
if (!file.open(QIODevice::OpenModeFlag::ReadOnly | QIODe...
Suppose $z_1 = r_1(\cos \theta_1 + i\sin \theta_1)$ and $z_2 = r_2(\cos \theta_2 + i\sin \theta_2)$. Prove that $z_1 = z_2$ $\iff$ $r_1 = r_2 , \theta_1 = \theta_2 + 2k\pi$ .
My try: The proof for the converse statement is obvious but I don't know how to prove the forward statement. I tried to u...
I was writing some code and in the code, a = 1 and b = 2. Then why isn't a,b == 1,2 True? Instead Python shows (1,False,1). Why is that? What does that mean?
a = 1
b= 2
a,b == 1,2
Since entering software engineering, I picked up the habit of saying "machine" when talking about a computer. Most of my colleagues seem to do the same. However, when I use this idiom in everyday conversation, people get a bit confused.
Obviously, a computer is a machine. However, most machines ...
Let $M$ be a $n\times n$ definite positive real diagonalizable matrix and $D$ the diagonal matrix of eigenvalues of $M$ (all positive, then). Let $P$ be a matrix the columns of which form a basis of eigenvectors. Then we have $M=PDP^{-1}$.
As $P$ is not unique, let $Q$ be another matrix the colu...
I've been trying to train a DDQN to play OpenAI Gym's CartPole-v1, but found that although it starts off well and starts getting full score (500) repeatedly (at around 600 episodes in the pic below), it then seems to go off the rails and do worse the more it plays.
I'm pretty new to ML so I'm ...
I try to draw parts of a split rectangle in a dashed or dotted style. Thus I want the following code
\node[draw,rectangle split,rectangle split parts=2,rectangle split horizontal]
{foo \nodepart[text width=2cm]{second} bar};
to produce an image like this:
The dashed/dotted part should loo...
Based on the accepted answer of the following post How to add permanent line numbers to a file?
I would like to have the capacity to select a certain number of lines and add numbers to those particular lines only. Also I require to delete the numbers as well in case I need to renumber those line...
Suppose I have a list
{a, b, c, d}
I want to operate on this list with a function which depends on the index of the element, e.g. I want to add the index number to each element to get
{a+1, b+2, c+3, d+4}
what would be the best way to do this?
I have seen some possible approaches but wa...
If I am walking, the ground is stationary, and I move X units/hour relative to the ground.
If I am in low-earth orbit, then I am still moving X units/hour relative to the ground, only its a much bigger X.
If I am in geo-stationary orbit, I am moving 0 units/hour relative to the ground. But rela...
$$\int_{2}^{\infty} \frac{1}{x-x^{3}}dx$$
I think the way to solve this, is using partial fraction. For some reason I can't get to the answer...
$$\frac{A}{x}+\frac{B}{1-x}+\frac{C}{1+x}=\frac{1}{x-x^{3}}$$
$$A(1-x)(1+x)+Bx(1+x)+Cx(1-x)=1$$
$$x=1: 2B=1=>B=0.5$$
$$x=-1:-2C=1=>C=-0.5$$
$$x=0:...
Objectivism rejects transcendence as it is not part of the objective world that exists and which we can explore. But what if we put time in this equation?
As we see through the years, many phenomena like miracles were found to possibly have non-transcendental origins. When we see this trend, we ...
I kind of screwed up the backup of my personal directory with rsync (maybe because I'm backuping on an NTFS filesystem): all files are here but all files and directories access rights are 777. I was wondering if there was a magic utility that would recursively change:
the directories from 777 t...
It is possible to flash the ESP8266 12-F with the raspberry UART or I2C pins ? Has anyone ever done this? Thank you.
The problem for example here I can see 3.3V output of the raspberry is used, but this pin can just out a little current.
Edit: Also I try to use Arduino IDE to program the esp826...
I've tried searching on the internet for this question but the answers I've got wasn't really what I was looking for. I want to know how to do a kind of "screech" on a guitar. I think it has something to do with distortion but I don't really know. I know that Angus Young(AC/DC lead guitarist) doe...
I have written a computer program in C++, compiled it and ran it within terminal using the command line. This program has run fine many times, but it appears that whenever it's accumulated CPU time exceeds 60min (which occurs after about 9min as it runs at ~700% on 8 threads) it is killed by the ...
I want to set up a shortcut to make word under the cursor upper case in the command mode. I know that you can get the word under the cursor with expand("<cword>"). But I am not sure how do I translate it to upper case the then replace the original word in command mode, because U, ~ will not work...
Cases of demon possession, as I recall, occurred, at least explicitly, mostly around Jesus's time.
If that's the case, why did demon possession only occur during Jesus's time? Were the Jews/Israelites completely "atheist" when it comes to demons?
Link to declaration:
https://www.un.org/esa/socdev/unpfii/documents/DRIPS_en.pdf
Especially some points concerning protection of traditional indigenous culture, including its proper access to media may sound very pleasing to any traditionalist.
"States shall take effective measures to ensu...
I have the following code that I wrote in order to find the correct password by generating hashes out of all possible combinations and comparing each of them with the target. I'm trying to make GetPasswordFromHash() as efficient as possible, in regards to multi-threading, and I've decided to pick...
I need to compute the following integral
$$
I_{n,m} := \int_0^1 P_n(x) P_m(x) \; \mathrm{d}x
$$
where $P_n$ is the Legendre polynomial.
For an even sum $n+m=2l$ it is easy to show that
$$
I_{n,m} = \frac{1}{2} \int_{-1}^1 P_n(x) P_m(x) \; \mathrm{d}x
= \delta_{n,m} \frac{1}{2n+1} \,.
$$
A lengt...
Here's my problem when doing my codes.
I need an output similar to {{p->1},{p->2},{p->3},{p->4}},where p is a generic variable. How can I achieve such results?
If anyone knows how, plz help me. Thank you!
Problem: Solve the initial value problem $y’=3y; y(0)=a>0$.
My solution:
Exploiting variable separable method,
$${dy\over y}=3\, dx$$
$$\implies\ln |y|=3x+C$$
where $C$ is the constant of integration. Now using $y(0)=a$ and $a>0$,
$\ln a=C$.
$$\therefore\ln |y|=3x+\ln a$$
$$\implies |y|=e^{3x+\l...
On the 20th of July '19 it's a large family of 175 members that keeps growing. Youngest is only 2 months. Only four of them are more than 10 years old.
What family is it?
I'm looking into writing a little software emulator, that emulates/runs instructions.
Easiest would be to invent my own instruction set, but I thought it would be more fun if what I write an emulator for an instruction set that already has a C++/C compiler.
What is the easiest instruction set...
In English, abbreviated sentence structure can convey contempt, disgust, anger, etc. — "I'm a doctor, not a mechanic" has a much stronger impact than "I am a doctor. I am not a mechanic." Articles also strengthen impact - "I am the doctor" carries a strong implication, while "I am a doctor" is v...
I came across this Answer stating (just a line from the answer):-
The input space is "infinite" and thus it has an infinite amount of values that will collide into a single hash
And in the comments of this answer, there exists a comment of @poncho stating:-
Technically, the input space ...
On his web page about the self-pipe trick, Dan Bernstein explains a race condition with select() and signals, offers a workaround and concludes that
Of course, the Right Thing would be to have fork() return a file descriptor, not a process ID.
What does he mean by this -- is it something a...
... und du tauchst jetzt auf? Das nenn ich mal einen Zufall ...
To express the idea of "(Now) that's what I call X" -- said ironically or not -- I seem to notice that the adverb "mal" is often added. Which seems like a more idiomatic phrasing than the version without it.
What is its functi...
The documentation on Platform event states:
The maximum event message size that you can publish is 1 MB.
Is there a native and reliable way in Apex to check whether the Platform Event I am about to publish falls within this limit?
Which parts of the event need to be considered for this c...
According to Wikipedia:
Hawking radiation reduces the mass and energy of black holes and is
therefore also known as black hole evaporation. Because of this, black
holes that do not gain mass through other means are expected to shrink
and ultimately vanish.
My question is about this sh...
Is it /rɪˈpɒzɪt(ə)ri/ or \ri-ˈpä-zə-ˌtȯr-ē\?
I'm confused, I've seen it pronounced both ways and I'm not not sure if it's an American/British thing or do people just use different pronunciations on special occasions.
Merriam Webster only lists one pronunciation which it says is \ri-ˈpä-zə-ˌ...
I have two switches that control one light. I would like to close one of the switches, so that the light is only turned on and off by one of them. I removed the light switch from one of them (pictured), but now the other light switch won't turn on the light (also pictured with connected wires. Do...
I'm getting this error having pulled the current version of our source when trying to push it into a scratch org:
The component is being referenced by Action Override : 04uf00000009P95
from:
$ sfdx force:source:push -f
PROJECT PATH ERROR
──────────── ─────────────────────────────────────...
It is now July 2019 and I have this Late-2009 iMac.
macOS High Sierra Version 10.13.6 iMac (27-inch, Late 2009) Processor: 3.06 GHz Intel Core 2 Duo Memory: 4 GB 1067 MHz DDR3 Graphics: ATI Radeon HD 4670 256
I can't use it anymore because it is super-super-slow. But I am considering upgrading ...
I have prototyped some DC-DC converter modules, and they work well. However due to size, I don't have a huge amount of copper pour for them to dissipate their heat. I have used 2oz copper but the bottom layer copper pours get really hot at higher current. Even through the solder mask!
I experime...
Evaluate the limit $$\lim_{n\to \infty} \sum_{j=1}^n \frac{4j^{2}}{n^3}.$$
I was under the assumption that this would just tend to $0$ after expanding everything because the denominator will grow quicker than the numerator, but apparently this is not the case.
Two players are playing a game on a $4\times4$ board. The players take turns adding either a white circle or a black circle into any empty square, so that the board makes a solvable masyu puzzle (with one or more possible solutions). The winner is the player who first makes the position unique...
I could not understand why it is Bankautomaten in this sentence
Kannst du an einem Bankautomat**en** anhalten?
In the dictionary, the singular noun is Der Bankautomat and plural noun is Die Bankautomaten. Why can it be einem Bankautomaten? What is the grammar rule here?
In text books, for instance in the 3rd edition of Introduction to Algorithms, Cormen, on page 625, the weights of the edge set $E$ is defined with a weight function $w:E\rightarrow \mathbb{R}$.
Why is it defined in this way? Why do we need a function? I mean, we all know when working with a grap...
The elder god Mickeyruth seeks to enter our reality and dominate humankind. To accomplish this, he has used his loyal cult of followers to found a company called Disney. Throughout the decades, this company has used disreputable business practices to achieve power in the world. Through its busine...
Compared to the temperatures encountered in lunar nights, the desired operating temperature of the James Webb Space Telescope is very low. Lunar nights are typically -170°C while the operating temperature of JWST is -220°C.
If surviving lunar nights are difficult to ensure the survival of the ...
The homotopy groups of the spheres $S^n$ (see Wikipedia) vanish for the circle $S^1$ as, naively speaking, there are not higher order holes to be grasped by higher order homotopy groups. This intuitions already breaks down for the two sphere $S^2$, e.g. $\pi_3(S^2)$ is non-trivial because of th...
It has been stated here : https://phys.org/news/2019-07-quantum-technology.html that the the so-called Kravchuk transform is very important in the field of image processing and possibly in signal processing in general.
I can hardly find any description about this (e.g. not mentioned in Wikipedi...
In episode 5 of Uchi no Maid ga Uzasugiru!, at around 12:04, there's a guy who was handcuffed after being found out asking for low-angle pics from young kids. However, the handcuff was being censored with mosaic.
Aren't kids/teens supposed to watch people get arrested or it's just an exaggerat...
Harvey the hacker hacked my clock. At first, the results made no sense, but I eventually figured out his logic.
At 12:00, the clock shows 12:19
At 12:01, the clock shows 12:15
At 12:02, the clock shows 12:18
At 12:03, the clock shows 12:18
At 12:04, the clock shows 12:17
At 12:05, the clock show...
For certain reasons I decided to not set my story on Earth. However, the planet is meant to host an Earth-like biosphere (including humans, most of Earth's species (perhaps some that didn't evolve before)). Since I was working with another planet, I decided to make it as big as possible (hence th...