text stringlengths 49 10.4k | source dict |
|---|---|
ros
Title: [ROS2 foxy] Random speed when using navigation 2
Hello,
I have been trying to use the navigation2 stack with a real robot recently.
The robot is diff-drive if it matters.
My issue is that the robot does not seem to follow the max_vel_x parameter value.
I have been testing the robot making it plan in a stra... | {
"domain": "robotics.stackexchange",
"id": 36060,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "ros",
"url": null
} |
physical-chemistry, water, enthalpy
$\Delta_\text{vap}H_\mathrm m=43.987\ \mathrm{kJ\ mol^{-1}}$,
which is in good agreement with the difference of the values for the molar enthalpy of formation:
$-241.8\ \mathrm{kJ\ mol^{-1}}-\left(-285.8\ \mathrm{kJ\ mol^{-1}}\right)=44.0\ \mathrm{kJ\ mol^{-1}}$ | {
"domain": "chemistry.stackexchange",
"id": 6557,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "physical-chemistry, water, enthalpy",
"url": null
} |
Thank you for reading exponential and logarithmic functions worksheet 1. Integrals Producing Logarithmic Functions. ; Graphing Logarithmic Functions Using Their Inverses. Students will investigate the properties of polynomial, rational, exponential, logarithmic, trigonometric and radical functions; develop techniques f... | {
"domain": "vetozonetraining.com",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9835969670030071,
"lm_q1q2_score": 0.8340585076986734,
"lm_q2_score": 0.8479677506936878,
"openwebmath_perplexity": 726.0275418185996,
"openwebmath_score": 0.7371492981910706,... |
floating-point, number-formats
Title: floating point normalised value of -1 I have, lets say, 8 bits mantissa and 4 bit exponent. Then,
-1=1111 1111
there are no 0s so how can I normalise -1 in 2's complement form? Sorry, I found out the answer myself. It is 1000 000 manitssa and 0000 exponent.
for mantissa, 1.000 000... | {
"domain": "cs.stackexchange",
"id": 2923,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "floating-point, number-formats",
"url": null
} |
mathmari
Well-known member
MHB Site Helper
Can we do that as follows?
Let $\lambda$ be the eigenvalues of $\mu_a$ then $\mu_a(c)=\lambda c$. Then we get $ac=\lambda c$.
So if $\lambda$ is an eigenvalue of $\mu_a$ there is a non-zero $c\in\mathbb{K}^{m\times n}$ with $\mu_a(c)=\lambda c$.
The columns of $c$ are eigenv... | {
"domain": "mathhelpboards.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9740426405416754,
"lm_q1q2_score": 0.8179366892706504,
"lm_q2_score": 0.8397339656668287,
"openwebmath_perplexity": 190.4953599076671,
"openwebmath_score": 0.9813327789306641,
"ta... |
python, beginner, algorithm, sorting, complexity
#if we wish to insert at the first node
if k == 1:
temp = Node(data)
temp.link = self.start
self.start = temp
return
p = self.start
i = 1
while i < k-1 and p is not None:
p = p... | {
"domain": "codereview.stackexchange",
"id": 35746,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "python, beginner, algorithm, sorting, complexity",
"url": null
} |
python, html, css, generator
Title: CSS preview generator (in python) Given a CSS file the script generates an HTML preview of all the CSS definitions by recursively drilling down the chain of nested classes, ids and tag names. Rules with position: absolute|fixed|sticky are wrapped into iframe elements in order to avo... | {
"domain": "codereview.stackexchange",
"id": 38508,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "python, html, css, generator",
"url": null
} |
optimization, bash
How can i optimize this procedure for speed? You don't need to store in files between each command. Instead, just redirect the output:
$script/std_dev.sh < <(grep "Overlapscore:" $file.monte | awk '/./{print $2}') > $file.out
The Bash Guide has an excellent article about I/O.
There's only one place... | {
"domain": "codereview.stackexchange",
"id": 2807,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "optimization, bash",
"url": null
} |
c#
if (output.volume > 0)
cvb[c].ask.Add(new Level2(output.price, output.volume));
break;
case "Bid":
cvb[c].bid.RemoveAll(x => Math.Abs(x.price - outputPrice) < 0.00000001);
cvb[c].ask.RemoveAll(x => x.price <= outputPrice + 0.00000... | {
"domain": "codereview.stackexchange",
"id": 2130,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "c#",
"url": null
} |
It's $a^n + b^n = (a+b)\left(\sum_{k=0}^{n-1}(a^{n-k-1})(-b)^k\right)$ that only holds when n is an odd positive integer. | {
"domain": "mathhelpforum.com",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9719924802053235,
"lm_q1q2_score": 0.8242182771308871,
"lm_q2_score": 0.8479677506936879,
"openwebmath_perplexity": 1091.3522244415867,
"openwebmath_score": 0.9095476269721985,
... |
python, python-3.x, numerical-methods
Title: Monte Carlo pi calculation In order to learn the basics of Monte Carlo I calculated pi with it.
I also wrote an explanation of the reasoning behind the code.
Down here you can see the circle with random points that I simulated in my code.
"""
This programme calcula... | {
"domain": "codereview.stackexchange",
"id": 10526,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "python, python-3.x, numerical-methods",
"url": null
} |
$1^2 \equiv 3^2 \equiv 5^2 \equiv 7^2 \equiv 1 \pmod 8$,
so the subgroup of squares is again trivial. What's different? Since $\mathbb{Z}/8\mathbb{Z}$ is not a field, it is legal for a given element to have more than two square roots, but a more insightful answer comes from the structure of the groups $U(n)$. For any ... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9873750533189538,
"lm_q1q2_score": 0.820649909129893,
"lm_q2_score": 0.831143045767024,
"openwebmath_perplexity": 179.0186742624034,
"openwebmath_score": 0.8692954778671265,
"tags"... |
machine-learning, algorithms
EDIT: Where with binary classification we map using the sigmoid:
$$P(Red) = \frac{1}{1+e^{-Wx}}$$
Now we have a probability for all colors individually:
$$P(Color = y) = \frac{e^{W_yx}}{\sum_{c\in C}e^{W_cx}}$$ | {
"domain": "datascience.stackexchange",
"id": 2187,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "machine-learning, algorithms",
"url": null
} |
homework-and-exercises, optics, laser, home-experiment, wavelength
And a peak finding algorithm found the following peaks (after fitting to the central five points this was the residuals plot):
It can be seen that the peak spacing in the blob image could be estimated with remarkable precision. I attribute the fact th... | {
"domain": "physics.stackexchange",
"id": 23003,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "homework-and-exercises, optics, laser, home-experiment, wavelength",
"url": null... |
Comment #6047 by on
@#6046. No. I suggest trying to make a counterexample.
In your comment you can use Markdown and LaTeX style mathematics (enclose it like $\pi$). A preview option is available if you wish to see how it works out (just click on the eye in the toolbar). | {
"domain": "columbia.edu",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9787126503797252,
"lm_q1q2_score": 0.8239054064953504,
"lm_q2_score": 0.8418256432832333,
"openwebmath_perplexity": 145.13962772514824,
"openwebmath_score": 0.9842209815979004,
"tags": ... |
hilbert-space, quantum-information, quantum-computer, bloch-sphere
Cross-posted on qc.SE
Are qubits just analog, continuous classical bits?
No. The continuous (vs. discrete) nature of qubit states is not the secret sauce that makes them so powerful. The secret sauce that is missing from a classical model is entangle... | {
"domain": "physics.stackexchange",
"id": 87351,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "hilbert-space, quantum-information, quantum-computer, bloch-sphere",
"url": null... |
…. Comune in Trentino-Alto Adige/Südtirol, Italy. Then there exists a number x0[a, b] with f (x0)=0. A R is compact i Ais closed and bounded. Theorem: It is impossible for the union of two disjoint, non-empty open sets to form an interval. This is one of many Maths videos provided by ProPrep to prepare you to succeed i... | {
"domain": "wintermarktzollverein.de",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9869795079712153,
"lm_q1q2_score": 0.8159475913181288,
"lm_q2_score": 0.8267117855317473,
"openwebmath_perplexity": 741.2188326969012,
"openwebmath_score": 0.8232946991920471,... |
vcf, filtering, bcftools
Title: Filter with bcftools I want to filter a SNP, specifically CHROM1:POS:630128. I tried to use bcftools for this.
I came up with the following variant of a bcftools call:
bcftools filter -e "CHROM=1&POS=63018" /home/oem/Documents/GitHub/Genomics_prac_guide/trio/files/genome_file.vcf.gz
w... | {
"domain": "bioinformatics.stackexchange",
"id": 2295,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "vcf, filtering, bcftools",
"url": null
} |
go! In fact, since the equation you want to factor has all of its terms being a product of $$x$$ (apart from $$1$$ of course), you can expand the entire equation and re-write it as $$x\cdot c - 1$$ for some value $$c$$. Then use the binomial formulas to factor $$c$$ and go from there! So there are two ways to complete ... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9859363733699887,
"lm_q1q2_score": 0.8083626621608138,
"lm_q2_score": 0.8198933359135361,
"openwebmath_perplexity": 319.604571997658,
"openwebmath_score": 0.9880914688110352,
"tags... |
homework-and-exercises, special-relativity
At any point along the path travelled by this charged particle, we can find the instantaneous work done on the charged particle due to $\vec{E}$, in moving an infinitesimal distance tangent to the path, described by $d\vec{x}$. This is given by $$dW = \vec{F}\cdot d\vec{x} = ... | {
"domain": "physics.stackexchange",
"id": 8146,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "homework-and-exercises, special-relativity",
"url": null
} |
beginner, performance, image, vba, excel
Title: Finding and pasting images into a specific cell The below macro finds and pastes images into column A. While the macro works, it starts to slow down when running 500+ images. I am not too familiar with the VBA language, does anyone have any suggestions to make this code ... | {
"domain": "codereview.stackexchange",
"id": 13906,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "beginner, performance, image, vba, excel",
"url": null
} |
Have questions or comments? Adding a common ion decreases solubility, as the reaction shifts toward the left to relieve the stress of the excess product. ', Plan for \$1.9T COVID aid package passes Senate, Tucci reveals 'odd' connection between his 2 wives, Democrats double down on student debt cancellation, 'Start wea... | {
"domain": "ixl-center.com",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.962673113726775,
"lm_q1q2_score": 0.8083893152917285,
"lm_q2_score": 0.8397339696776499,
"openwebmath_perplexity": 2774.0575820949443,
"openwebmath_score": 0.6355507969856262,
"ta... |
sql, sql-server, error-handling
Title: SQL Server stored procedure boilerplate What would you do to improve upon this boilerplate empty stored procedure, being mindful of the delicate balance between length, complexity, performance and clarity?
-- =============================================
-- Author: The usual... | {
"domain": "codereview.stackexchange",
"id": 1011,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "sql, sql-server, error-handling",
"url": null
} |
physical-chemistry, equilibrium
Title: Can precipitation reactions attain equilibrium? While studying about the characteristics of Chemical Equilibrium, I came across a point in my book which read
A chemical equilibrium can be established only if none of the products is allowed to escape out or separate out as a soli... | {
"domain": "chemistry.stackexchange",
"id": 12335,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "physical-chemistry, equilibrium",
"url": null
} |
javascript, react.js, authentication, firebase
import * as routes from "../../constants/routes";
import { auth } from "../../firebase/firebase";
const drawerWidth = 180;
const useStyles = makeStyles(theme => ({
content: {
flexGrow: 1,
padding: theme.spacing(3)
},
root: {
display: "flex"
},
cont... | {
"domain": "codereview.stackexchange",
"id": 37069,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "javascript, react.js, authentication, firebase",
"url": null
} |
$f^{\prime}(x) = cos(x) \implies f^{\prime} \left ( \frac{\pi}{4} \right ) = cos \left ( \frac{\pi}{4} \right ) = \frac{\sqrt{2}}{2}$
$f^{\prime \prime}(x) = -sin(x) \implies f^{\prime \prime} \left ( \frac{\pi}{4} \right ) = -sin \left ( \frac{\pi}{4} \right ) = -\frac{\sqrt{2}}{2}$
$f^{\prime \prime \prime}(x) = -c... | {
"domain": "mathhelpforum.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9879462187092608,
"lm_q1q2_score": 0.8795628135170166,
"lm_q2_score": 0.8902942253943279,
"openwebmath_perplexity": 737.2499403638413,
"openwebmath_score": 0.9748092889785767,
"tag... |
Knowing how chord formulas work and knowing the notes on the strings is the ultimate combination. I have a chord that is AB=20ft. Can you categorize these two arcs as the minor and major arc? Intersecting Chord Theorem A great time-saver for these calculations is a little-known geometric theorem which states that whene... | {
"domain": "webdynamix.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9658995713428387,
"lm_q1q2_score": 0.830348842907296,
"lm_q2_score": 0.8596637451167997,
"openwebmath_perplexity": 897.2223676441988,
"openwebmath_score": 0.7522538304328918,
"tags": ... |
We have that $|s_6-s_5| = |a_6| = 0.004629... \lt 0.005\text{.}$ Therefore, $s_5 \approx 0.904$ is within 0.005 of the true sum.
2. $\ds\sum_{n=1}^\infty (-1)^{n-1}{1\over n^4}\text{,}$ 0.005
$0.946$
We have that $|s_4-s_3| = |a_4| = 0.0039... \le 0.005 \text{.}$ Therefore, $s_3 \approx 0.946$ is within 0.005 of the ... | {
"domain": "sfu.ca",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9898303410461384,
"lm_q1q2_score": 0.8332645616284384,
"lm_q2_score": 0.8418256412990658,
"openwebmath_perplexity": 502.6647532038813,
"openwebmath_score": 0.9972601532936096,
"tags": null,
... |
ros
Title: Tranform point coordinate from kinect frame to robot frame
Hi All,
I am trying to learn tf for the purpose of using it for getting the coresponding coordinate of a frame with respect to robot frame having the data(x,y,z) from kinect frame. From the turtlesim tutorial I could not understand how i can use it... | {
"domain": "robotics.stackexchange",
"id": 14782,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "ros",
"url": null
} |
c++, c++14
static auto string_input = [] (auto& in, std::istream& is = std::cin)
{
std::getline(is, in);
return is.fail()
|| !std::regex_match(in, Letters)
|| in.size() == 1
|| std::isdigit(in[0])
|| std::isalpha(in[in.size() - 1])
... | {
"domain": "codereview.stackexchange",
"id": 20586,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "c++, c++14",
"url": null
} |
Done!
• The issue with this post that Joonas Ilmavirta points out in his own answer can be fixed simply by replacing $\ln(\,)$ with $\ln |\,|$ everywhere. – Paul Sinclair Feb 21 '18 at 17:40
• But then the function may not be differentiable any more. @Paul – Jaideep Khare Feb 21 '18 at 18:34
• In that case can't we ju... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9579122720843812,
"lm_q1q2_score": 0.8405457801288009,
"lm_q2_score": 0.8774767842777551,
"openwebmath_perplexity": 175.41747699738866,
"openwebmath_score": 0.8269997239112854,
"ta... |
algorithms, algorithm-analysis, sorting
Title: Radix sort exercise I'm trying to understand a proof regarding radix-sort but to no avail.
I'll first write down a brief summary of the proof and then assign some questions which I hope will be clarified enough.
Suppose you have an array of integer numbers in the range $... | {
"domain": "cs.stackexchange",
"id": 741,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "algorithms, algorithm-analysis, sorting",
"url": null
} |
algorithms, time-complexity, sorting, arrays
So, adding a flag variable that is set true if a swap is made after an entire pass over the array. If no change has been made, then the list is sorted, so the algorithm can stop earlier.
But, after testing the sorting execution time, it turns out that the modified algorithm... | {
"domain": "cs.stackexchange",
"id": 20843,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "algorithms, time-complexity, sorting, arrays",
"url": null
} |
fl.formal-languages
the formalism must be perspicuous, and express appropriately the
structural properties of the problem for which it is used.
the formalism must be computationally tractable (in a pragmatic sense). | {
"domain": "cstheory.stackexchange",
"id": 2742,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "fl.formal-languages",
"url": null
} |
python, python-2.x
Title: Using break for nested for loop I want to apply three levels of filtering on record.
rec in cname. rec is string of >2 words, so I want to consider all ngram of rec to be checked in record
i. if gram matches into record increment filter_company_level and write it to file
2nd Filter on record... | {
"domain": "codereview.stackexchange",
"id": 15842,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "python, python-2.x",
"url": null
} |
co.combinatorics, fl.formal-languages, automata-theory, regular-language, dfa
Even when $\delta$ is a total function, it doesn't seem to be an easy count (for me, at least). The graph might not be connected, and the states in the connected component containing the initial state might all be accepting, so, for example,... | {
"domain": "cstheory.stackexchange",
"id": 1045,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "co.combinatorics, fl.formal-languages, automata-theory, regular-language, dfa",
... |
# Math Help - Prob. Question
1. ## Prob. Question
Question
5 boys (call them A,B,C,D,E) place their books in a bag. The 5 books are are drawn out in random order and given back to the 5 boys. What is the probability that exactly 3 boys will receive their original book?
Help wanted please. The only way I could think ... | {
"domain": "mathhelpforum.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9796676496254957,
"lm_q1q2_score": 0.8205891787725778,
"lm_q2_score": 0.837619961306541,
"openwebmath_perplexity": 423.2175213340547,
"openwebmath_score": 0.5075138211250305,
"tags... |
mathematical-physics, differential-geometry, research-level, lie-algebra, brst
Title: Relation between cohomology and the BRST operator Given a manifold $M$, we may define the $p$th de Rham cohomology group $H^p(M)$ as the quotient,
$$C^p(M) \, / \, Z^p(M)$$
where $C^p$ and $Z^p$ are the groups of closed and exact $p$... | {
"domain": "physics.stackexchange",
"id": 16442,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "mathematical-physics, differential-geometry, research-level, lie-algebra, brst",
... |
c++, sorting
std::vector<int> vecTemp;
int runs = 100;
long total = 0;
long avg1;
long avg2;
for (int i = 0; i < runs; i++)
{
vecTemp = vec;
auto start = std::chrono::high_resolution_clock::now();
introSort(vecTemp);
auto end = std::chrono::high_resolution_cloc... | {
"domain": "codereview.stackexchange",
"id": 43372,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "c++, sorting",
"url": null
} |
Case 1. A second row operation is needed on $$A$$, by multiplying the second row by a constant to reduce some column to $$(0,1)^\top$$ and then reduce the component above it to $$0$$. For the same reason as above, this same column of $$B$$ must be $$(0,0)^\top$$. Thus, two columns of $$A+B$$ agree with those of $$A$$, ... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9724147153749274,
"lm_q1q2_score": 0.8060722871383541,
"lm_q2_score": 0.8289387998695209,
"openwebmath_perplexity": 209.10795545909286,
"openwebmath_score": 0.9382985234260559,
"ta... |
electromagnetism, magnetic-fields, energy-conservation, computational-physics, simulations
Am I missing something? The goal of the project is to train our mathematica skills so model like this is above my math/physics knowledge. It isn't really that important since I'm using numerical calculations anyway. Maybe I wron... | {
"domain": "physics.stackexchange",
"id": 85634,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "electromagnetism, magnetic-fields, energy-conservation, computational-physics, sim... |
c#, wpf, mvvm, rubberduck, xaml
{ Tuple.Create(DeclarationType.PropertyLet, Accessibility.Friend ), GetImageSource(resx.VSObject_Properties_Friend)},
{ Tuple.Create(DeclarationType.PropertyLet, Accessibility.Private ), GetImageSource(resx.VSObject_Properties_Private)},
{ Tuple.Create(Declaratio... | {
"domain": "codereview.stackexchange",
"id": 18030,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "c#, wpf, mvvm, rubberduck, xaml",
"url": null
} |
physical-chemistry, concentration
$$\mathrm {100\space\mu M \times V_1 = 70\space\mu L \times V\space\mu L}$$
$$\mathrm {V_1 = \frac {70\space\mu M \times V\space\mu L}{100\space\mu M} = \frac {7}{10}V \space\mu L}$$
Thus, you dilute $\pu {0.7V \mu L}$ stock solution with $\pu {0.3V \mu L}$ $\ce{NaOH}$ solution to ... | {
"domain": "chemistry.stackexchange",
"id": 10001,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "physical-chemistry, concentration",
"url": null
} |
Look up Cantor pairing function. Depending on who defines it, it will be from pairs of positives to positives, in which case you adapt as above, or it will be from pairs of non-negatives to non-negatives, in which case you need to add $1$.
$2$. If you have a pairing function $g$, then you can obtain a ménage à trois f... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9799765557865637,
"lm_q1q2_score": 0.8229196053469375,
"lm_q2_score": 0.8397339716830605,
"openwebmath_perplexity": 170.8777419436295,
"openwebmath_score": 0.9053110480308533,
"tag... |
homework-and-exercises, electrostatics, charge, conductors
Title: Is a given charge density a surface charge density or volume charge density? The exact question goes like this:
In a certain electronic tube, electrons are emitted from a hot plane metal surface, and collected by a plane metal plane parallel to the emi... | {
"domain": "physics.stackexchange",
"id": 16561,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "homework-and-exercises, electrostatics, charge, conductors",
"url": null
} |
c++, performance, data-visualization
Title: Plotting polynomial roots with density Follow up on Plotting polynomial roots
I rewrote the program to C++ and am now using GNU GSL scientific library and gnuplot and also used OpenMP for multithreading. The result is that it takes about 7 seconds compared to 14 hours when I... | {
"domain": "codereview.stackexchange",
"id": 25886,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "c++, performance, data-visualization",
"url": null
} |
c++, strings, parsing
size_t pos ought to be std::size_t pos.
Test program
I managed to re-create some input from your sample output:
int main()
{
static auto const messages = {
"<3>CTRL-EVENT-SCAN-STARTED ",
"<3>CTRL-EVENT-BSS-ADDED 0 00:00:00:00:00:00",
"<3>CTRL-EVENT-BSS-ADDED 1 00:00:00... | {
"domain": "codereview.stackexchange",
"id": 29375,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "c++, strings, parsing",
"url": null
} |
algorithms, reference-request, recursion
Title: What is tail recursion? I know the general concept of recursion. I came across the concept of tail recursion while studying the quicksort algorithm. In this video of quick sort algorithm from MIT at 18:30 seconds the professor says that this is a tail recursive algorit... | {
"domain": "cs.stackexchange",
"id": 893,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "algorithms, reference-request, recursion",
"url": null
} |
computational-chemistry, molecular-orbital-theory, theoretical-chemistry
Title: Relationship between Hartree-Fock and Hückel coefficients I am new in computational chemistry. I'm studying the Hartree–Fock–Roothaan (HFR) method and have some of questions about the HFR basis function coefficients.
Do we have the condit... | {
"domain": "chemistry.stackexchange",
"id": 10276,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "computational-chemistry, molecular-orbital-theory, theoretical-chemistry",
"ur... |
Recall and transfer
Analysis
Spatial perception
Applying concepts
Interpreting
Synthesis
Reasoning and inferrencing
These skills definitely go hand-in-hand with learning how to read a math book.
• These Critical Thinking Skills are applied within each of the various rubrics of the textbook, namely: Vocabulary, ... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9099070011518829,
"lm_q1q2_score": 0.8749063444789895,
"lm_q2_score": 0.9615338088083893,
"openwebmath_perplexity": 867.0225737325126,
"openwebmath_score": 0.5283273458480835,
"tag... |
python, python-3.x, security, aes
cipher = AES.new(key, AES.MODE_CBC, iv)
try:
return cls._unpad(
cipher.decrypt(
enc[AES.block_size:]
)
).decode('utf-8')
except UnicodeDecodeError:
raise ValueError("Incorrect Passw... | {
"domain": "codereview.stackexchange",
"id": 34352,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "python, python-3.x, security, aes",
"url": null
} |
5%------------------20%
so ratio is 1:4 in final mixture
Earlier type 1 alcohol was 1
Now it is 1/5 ----> so loss of 4/5 = 80%...
##### General Discussion
Math Expert
Joined: 02 Sep 2009
Posts: 56303
Re: Mixture problem-Can someone explain this [#permalink]
### Show Tags
02 Sep 2010, 08:52
11
14
zest4mba wrote:
I... | {
"domain": "gmatclub.com",
"id": null,
"lm_label": "1. Yes\n2. Yes\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 1,
"lm_q1q2_score": 0.839733963661418,
"lm_q2_score": 0.839733963661418,
"openwebmath_perplexity": 3875.5569700993756,
"openwebmath_score": 0.8212172389030457,
"tags": null,
"url": "h... |
control-engineering, signal-processing, circuit-design
Title: Converting time constant to bandwidth of 1st order system When the system is first order:
$1/(1+s\tau)$
Why is the bandwidth: $f_{-3db}=1/(2\pi \tau)$?
Where did the $2\pi$ come from? Why isn't it simply $1/\tau$? The unit of $2\pi$ is related to radian. Bu... | {
"domain": "engineering.stackexchange",
"id": 5382,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "control-engineering, signal-processing, circuit-design",
"url": null
} |
parallel-computing, threads
Title: Is it correct to say that CPUs only compute threads? As a newcomer to the field of parallel computation, is it accurate to say that CPUs are essentially "thread" calculators? My current understanding is that a "process" is made up of multiple "threads" and a single core of a CPU can ... | {
"domain": "cs.stackexchange",
"id": 6066,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "parallel-computing, threads",
"url": null
} |
python, time-series, cnn
# CNN_model.add(
# Conv2D(
# filters=256,
# kernel_size=(2,2),
# strides=1,
# activation="relu",
# padding="same"
# )
# )
# CNN_model.add(
# Conv2D(
# filters=256,
# kernel_size=(2,2),
# strides=1,
# activation="relu",
# ... | {
"domain": "datascience.stackexchange",
"id": 11356,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "python, time-series, cnn",
"url": null
} |
organic-chemistry, nomenclature, hydrocarbons
Title: Preferred IUPAC names for branched unsaturated hydrocarbons (polyenes)?
What are the preferred IUPAC names for the following three compounds?
Compound 1 is 3-ethenylhexa-1,5-diene. 2 is 3-methylidenehexa-1,5-diene.
But I am still not sure about 3. I have narrowed ... | {
"domain": "chemistry.stackexchange",
"id": 5379,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "organic-chemistry, nomenclature, hydrocarbons",
"url": null
} |
magnetic-fields, atomic-physics, cold-atoms
Title: Labelling hyperfine structure states in strong magnetic field I am trying to work out the frequency shifts to the hyperfine energy levels in $^{39}$K $\,$ S$_{1/2}$ (the ground state).
I diagonalise the Hamiltonian for different values of the $B_z$ field, with a basis... | {
"domain": "physics.stackexchange",
"id": 33503,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "magnetic-fields, atomic-physics, cold-atoms",
"url": null
} |
java, benchmarking
@Override
protected T perform() throws Exception {
return benchmark.get();
}
@Override
protected boolean check(T result) {
return Objects.equals(expect, result);
}
};
}
/**
* Build a t... | {
"domain": "codereview.stackexchange",
"id": 12291,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "java, benchmarking",
"url": null
} |
magnetic-fields, electric-fields, plasma-physics
Title: Can electric fields penetrate a plasma in the presence of a magnetic field? Generally, electric fields can't penetrate plasmas, and this is known as debye shielding. But when I was thinking about the E cross B drift, this hit me.
The average motion of a particle... | {
"domain": "physics.stackexchange",
"id": 47452,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "magnetic-fields, electric-fields, plasma-physics",
"url": null
} |
javascript, jquery, html5
Title: my code is messy and wasteful of lines, how do I make my code simple can this script be made simpler? I'm just learning about javascript, so I don't really know which syntax to use.
My HTML I have several id consisting of "doc1, doc2, doc3, .." and there is another id "icon-cek1, icon-... | {
"domain": "codereview.stackexchange",
"id": 39837,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "javascript, jquery, html5",
"url": null
} |
electrostatics, photons, quantum-electrodynamics, coulombs-law, virtual-particles
The crosses labelled $q_n$ are meant to represent the (stationary, uniformly distributed) charges in the capacitor. The wavey lines are meant to represent the photon propagators, in momentum form, here labelled with momentum $k_n$. These... | {
"domain": "physics.stackexchange",
"id": 94423,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "electrostatics, photons, quantum-electrodynamics, coulombs-law, virtual-particles"... |
electromagnetism, poynting-vector
Or, if this can't be proved, is there a counterexample?
Thanks... So, as noted, we use Poynting's theorem to get:
$$\frac{1}{\mu_0} \oint_{\partial V} (\vec{E} \times \vec{B}) \cdot d\vec{S} = -\int_V \vec{E} \cdot \vec{J} dV$$
[The static version of Poynting's theorem is just: diverg... | {
"domain": "physics.stackexchange",
"id": 6450,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "electromagnetism, poynting-vector",
"url": null
} |
star, galaxy, star-formation, magellanic-cloud
Title: What is the difference between LMC and SMC? Apart from the obvious difference as suggested by their names that the Large Magellanic Cloud is 'larger' than the Small Magellanic Cloud, what are the other differences between them?
Do give all the details you can. Than... | {
"domain": "astronomy.stackexchange",
"id": 1034,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "star, galaxy, star-formation, magellanic-cloud",
"url": null
} |
(x,y) is (-y,x) is repeating the question, and not a proof. home depot questions and answers , calculus swokowski 6th edition solution manual pdf , gate physics question paper 2013 , aeg santo user manual , kubota l2900 manual , fujifilm finepix hs25exr manual focus , manual lancer 2008 , volvo 850 gl fuel line repair ... | {
"domain": "wikibanking.it",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.984810952529396,
"lm_q1q2_score": 0.8206671823606395,
"lm_q2_score": 0.8333245891029457,
"openwebmath_perplexity": 1036.9361832440816,
"openwebmath_score": 0.6265687346458435,
"ta... |
javascript, object-oriented, game
Title: Bare bones battleship game This is basically the beginnings of a battleship game. There is only 1 ship which takes up 3 of six locations on a 1 x 6 grid. The locations are created by finding a random location on the grid and then taking the next two points as the other 2 locati... | {
"domain": "codereview.stackexchange",
"id": 21552,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "javascript, object-oriented, game",
"url": null
} |
3 can be writ-ten Ae−atU(t) ⇔ A s+ a. The smoothness of is closely related to the where is the Heaviside function. The Fourier transform of the Heaviside step function is a distribution. The linear Laplace operator L thus transforms each function F(t) of a certain set of functions into some function f(p). We demonstrat... | {
"domain": "lotoblu.it",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9859363741964573,
"lm_q1q2_score": 0.8060764146939288,
"lm_q2_score": 0.8175744761936437,
"openwebmath_perplexity": 487.3528843491706,
"openwebmath_score": 0.8950192332267761,
"tags":... |
java, websocket
Title: utility for automatic websocket ping-pong and receiving round-trip time reports Without ping-pong websocket connections are usually dropped by intermediary proxies/routers after some time of inactivity, so you can't go make yourself a coffee because your chat connection will break by the time yo... | {
"domain": "codereview.stackexchange",
"id": 45346,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "java, websocket",
"url": null
} |
regular-languages, automata, finite-automata, nondeterminism
$$
But then I have a problem where $x=uv$, $\delta(p, u)\in F$ and $\delta(p, x)\in F$.
I thought maybe I define $A_p$ as a non-deterministic automaton and then $$\delta_p((q_1, q_2), \sigma) = \{(\delta(q_1, \sigma), q_2), (q_1, \delta(q_2, \sigma))\}.$$ Ho... | {
"domain": "cs.stackexchange",
"id": 19856,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "regular-languages, automata, finite-automata, nondeterminism",
"url": null
} |
quantum-mechanics, berry-pancharatnam-phase
Now in the book, equation (10.43), we took
$$ \nabla_{R}\psi_{n}\cdot \frac{d\vec{R}}{dt} = \frac{\partial\psi_{n}}{\partial R_{1}}\frac{dR_{1}}{dt} + \cdots + \frac{\partial\psi_{n}}{\partial R_{N}}\frac{dR_{N}}{dt} $$
in the derivation of (10.45).
Now my questions concerns... | {
"domain": "physics.stackexchange",
"id": 86490,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "quantum-mechanics, berry-pancharatnam-phase",
"url": null
} |
homework-and-exercises, kinematics, projectile
I'm able to derive the general equation for range (i.e. $y \neq0$) without any bother, but I get all tangled up in the differentiation and trig once I try to maximise $\theta$. If someone could guide me through the derivation, that would be fantastic:)
My progress thus fa... | {
"domain": "physics.stackexchange",
"id": 71082,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "homework-and-exercises, kinematics, projectile",
"url": null
} |
python
Title: Getting a key's value in a nested dictionary I just found a now deleted question on Stack Overflow and solved the problem. The OP was asking for a way to get all the values contained by all 'PLU' keys. I solved it this way but because I am a newbie in python I was wondering if it would be an optimal/bett... | {
"domain": "codereview.stackexchange",
"id": 38227,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "python",
"url": null
} |
everyday-chemistry, vapor-pressure
How about using seltzer water (or Perrier? or Diet Coke!) as the source of CO2? I estimate that the pressure of CO2 is about 45 psi in the unopened bottle, and if you attach a balloon to a freshly opened bottle and let it outgas slowly, the balloon will fill up and be essentially pur... | {
"domain": "chemistry.stackexchange",
"id": 9542,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "everyday-chemistry, vapor-pressure",
"url": null
} |
fluid-dynamics, pressure, fluid-statics
Title: How do I know pressure is equal in a static fluid in connected tubes?
This is from knight.
What I don't get is why $p_1=p_2$. I don't think we can use the hydro static pressure formula because the top and bottom of a cone are not identical. I get why pressure at the top ... | {
"domain": "physics.stackexchange",
"id": 74986,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "fluid-dynamics, pressure, fluid-statics",
"url": null
} |
javascript, node.js, interview-questions, express.js, axios
describe("getLatlonFromPostcode in uppercase", () => {
test("it should return latlon for given postcode", async () => {
const latlon = await getLatlonFromPostcode("OX49 5NU");
expect(latlon).toEqual("51.655929, -1.069752");
});
}); | {
"domain": "codereview.stackexchange",
"id": 39761,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "javascript, node.js, interview-questions, express.js, axios",
"url": null
} |
batch
if "%fig%" == "True" goto :confLoad
>nul ping 127.1
goto :MENU
====:CONFLOAD - Load the stuffs
echo %fig%
<"%conf%" (FOR %%V in (fname name mem sname sver) do (
set/p"%%V="
echo(!%%V!
))
title %sver% %sname%
>nul ping 127.1
====:MENU - main menu
cls
echo %sver% %sname% Main Menu
echo Type 'help' for he... | {
"domain": "codereview.stackexchange",
"id": 38258,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "batch",
"url": null
} |
python, programming-challenge, string-processing
The only real difference is that we are now creating the list of children that the values in the network dictionary need to be in function parse_family instead of total_instructions. This is a matter of taste but for me the creation of the list of two children is now oc... | {
"domain": "codereview.stackexchange",
"id": 45278,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "python, programming-challenge, string-processing",
"url": null
} |
For an integration with `N+1` evenly spaced points, the approximation is
`$\begin{array}{c}\underset{a}{\overset{b}{\int }}f\left(x\right)dx\text{\hspace{0.17em}}\text{\hspace{0.17em}}\approx \text{\hspace{0.17em}}\text{\hspace{0.17em}}\frac{b-a}{2N}\sum _{n=1}^{N}\left(f\left({x}_{n}\right)+f\left({x}_{n+1}\right)\ri... | {
"domain": "mathworks.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9796676484382338,
"lm_q1q2_score": 0.8346305925608856,
"lm_q2_score": 0.8519527963298947,
"openwebmath_perplexity": 810.9334270295869,
"openwebmath_score": 0.9115435481071472,
"tags": ... |
extrema of h (x)=2x^3+3x^2-12x h(x) = 2x3 +3x2 −12x. A relative (or local) maximum occurs at c if for all x in an open interval containing c. so minimum value of f(x) in interval [0. Since the function is not defined for some open interval around either c or d, a local maximum or local minimum cannot occur at this poin... | {
"domain": "umood.it",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.982287697148445,
"lm_q1q2_score": 0.8030933560168718,
"lm_q2_score": 0.8175744828610095,
"openwebmath_perplexity": 356.6393909116782,
"openwebmath_score": 0.6372225284576416,
"tags": nu... |
navigation, move-base
Title: Can I modify portion of the global plan in TrajectoryPlannerROS?
Hi there,
I would like to know if it is possible to change the length of the "portion of the global plan that the local planner is currently attempting to follow" as stated in the wiki for the published topic.
The wiki says ... | {
"domain": "robotics.stackexchange",
"id": 8523,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "navigation, move-base",
"url": null
} |
quantum-mechanics, hilbert-space, quantum-information
Title: XOR/CNOT on 2 qubits in superposition - Deutsch In an attempt to understand the design and to show that the Deutsch algorithm works with and only with sets of perpendicular qubits, my head got stock on this.
What is
$(|0⟩ - |1⟩) ⊕ (|0⟩ + |1⟩) = ? $
or more e... | {
"domain": "physics.stackexchange",
"id": 84029,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "quantum-mechanics, hilbert-space, quantum-information",
"url": null
} |
For m3, I relax the residual distribution assumptions by changing to a Gamma family residual distribution. Since an exponential distribution is a Gamma family distribution, I expect this model to very closely match the sampled data.
m3<-glm(y~x,data=df1,family=Gamma(link='log'))
summary(m3)
out3<-predict(m3,type='resp... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9770226287518853,
"lm_q1q2_score": 0.8162863196986083,
"lm_q2_score": 0.8354835350552603,
"openwebmath_perplexity": 571.2247977216941,
"openwebmath_score": 0.7246038317680359,
"tag... |
rviz, pcl, ros-kinetic, rasbperrypi
// Convert to PCL data type
pcl_conversions::toPCL(*cloud_msg, *cloud);
// Perform the actual filtering
pcl::VoxelGrid<pcl::PCLPointCloud2> sor;
sor.setInputCloud (cloudPtr);
sor.setLeafSize (0.1, 0.1, 0.1);
sor.filter (cloud_filtered);
// Convert to ROS data type
... | {
"domain": "robotics.stackexchange",
"id": 32723,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "rviz, pcl, ros-kinetic, rasbperrypi",
"url": null
} |
navigation, ros-kinetic, robot-localization
Also, @Tom Moore told me to post a sample message for every sensor input, so here is the sample from the topic /odom :
---
header:
seq: 165673
stamp:
secs: 1661
nsecs: 260000000
frame_id: "odom"
child_frame_id: "base_link"
pose:
pose:
position:
... | {
"domain": "robotics.stackexchange",
"id": 30494,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "navigation, ros-kinetic, robot-localization",
"url": null
} |
beamforming
Title: Would a visible light beamforming "telescope" be feasible? If you had a phased array of high speed photodiodes that were spaced sufficiently far apart, would it be possible to apply beamforming theory to create a steerable visible light "telescope"?
Traditional, earth-bound telescopes are limited by... | {
"domain": "dsp.stackexchange",
"id": 5091,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "beamforming",
"url": null
} |
If we are only interested in the unsigned area of the triangle then we can ignore our initial assumptions and write the universal formula:
$\text{Area} = \frac{1}{2} \left\mid {x}_{1} {y}_{2} + {x}_{2} {y}_{3} + {x}_{3} {y}_{1} - {x}_{1} {y}_{3} - {x}_{2} {y}_{1} - {x}_{3} {y}_{2} \right\mid$
Jun 20, 2018
Just a sma... | {
"domain": "socratic.org",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9891815538985514,
"lm_q1q2_score": 0.8132943217282018,
"lm_q2_score": 0.8221891305219504,
"openwebmath_perplexity": 586.3271398252961,
"openwebmath_score": 0.8545441031455994,
"tags": n... |
trigonometric mathematics before using it as a formula. Use the following to derive those for tanh x, sech x, csch x and coth x too. Sum-Difference Formulas. Sum and difference formulas. If a is equal to NaN, NegativeInfinity, or PositiveInfinity, this method returns NaN. cos x = º sin 1 3, π < x < , 3 2 π 33. Double A... | {
"domain": "giovannicobianchi.it",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9896718459575753,
"lm_q1q2_score": 0.8044718922330983,
"lm_q2_score": 0.8128673110375457,
"openwebmath_perplexity": 1082.1077187513956,
"openwebmath_score": 0.8661724328994751,
... |
c#, beginner, object-oriented
How many votes has the post had in the last day?
What is the split of up and down votes?
Am I allowed to change my vote now?
Have I already voted?
All of those questions (and more) would need to be supported by your final design. If you just wanted to support 2 for now, you could track t... | {
"domain": "codereview.stackexchange",
"id": 25981,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "c#, beginner, object-oriented",
"url": null
} |
classical-mechanics, lagrangian-formalism, coordinate-systems, differentiation, calculus
What is the mathematics we're using here?
So in the real mathematical world, the symbols do not mean anything intrinsically and some function $f$ just maps a tuple of $N$ real numbers, called arguments, to some other real number. ... | {
"domain": "physics.stackexchange",
"id": 51148,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "classical-mechanics, lagrangian-formalism, coordinate-systems, differentiation, ca... |
c, hash-map
Title: simple map in C I wrote a simple map structure in C:
map.c
#include <assert.h>
#include "map.h"
void map_init(Map *m, int item_len)
{
assert(item_len > 0);
m->item_len = item_len;
m->cap = 0;
m->cnt = 0;
m->buf = NULL;
m->cmpfunc = NULL;
}
int map_setcap(Map *m, int cap)
{... | {
"domain": "codereview.stackexchange",
"id": 37961,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "c, hash-map",
"url": null
} |
deep-learning, terminology, math, definitions, tensor
Tensors are multi-dimensional arrays with a uniform type (called a dtype)
If you're familiar with NumPy, tensors are (kind of) like np.arrays.
In this context, you can think of the axis as an abstraction for dealing with or manipulating the dimensions (aka shape) ... | {
"domain": "ai.stackexchange",
"id": 2940,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "deep-learning, terminology, math, definitions, tensor",
"url": null
} |
ros, python, python3, rospkg, morse
any idea for a solution of this problem?
Originally posted by tub on ROS Answers with karma: 76 on 2013-09-30
Post score: 4
Original comments
Comment by FuerteNewbie on 2013-10-02:
What if I do not use catkin? Because all along I am using rosbuild. Sorry if making any inconvenient... | {
"domain": "robotics.stackexchange",
"id": 15710,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "ros, python, python3, rospkg, morse",
"url": null
} |
homework-and-exercises, general-relativity, differential-geometry, metric-tensor, curvature
My question is: what is the hint to obtain the expression for $T^{ik}$? After a straightforward calculation, I have a long-expression different from this one.
$$R^{ik}-\frac{1}{2}g^{ik}R=\frac{1}{2}g^{im}g^{kp}g^{nl}\left(g_{lp... | {
"domain": "physics.stackexchange",
"id": 77730,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "homework-and-exercises, general-relativity, differential-geometry, metric-tensor, ... |
javascript, php, ajax, laravel
Title: Displaying filtered user data using Ajax and PHP I want to get my code cleaner and more efficient. This code gets variables form a PHP file and filters it to show the selected user name, all available usergroups on a list box and the groups he is currently into another.
Currently ... | {
"domain": "codereview.stackexchange",
"id": 39191,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "javascript, php, ajax, laravel",
"url": null
} |
homework-and-exercises, electrostatics, electric-fields, mathematical-physics
Title: Confusion in calculating electric field due to infinite plane
(I) Electric field at a point on positive $x$-axis:
Let us consider Cartesian coordinate system with infinitely large circular plane at $y$-$z$ plane. Let $P$ be any poin... | {
"domain": "physics.stackexchange",
"id": 52882,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "homework-and-exercises, electrostatics, electric-fields, mathematical-physics",
... |
polygon in statistics | displaying data die ermittelten Häufigkeiten in einem Koordinatensystem Punkte! An open world < Statistics | displaying data you want to keep filling in and. The classes are plotted by dots against the mid-points of each class separate graph for each in... As for histograms, but are especially ... | {
"domain": "totokl.org",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9473810466522863,
"lm_q1q2_score": 0.8126332382012266,
"lm_q2_score": 0.8577680977182186,
"openwebmath_perplexity": 1203.2536122221004,
"openwebmath_score": 0.43939054012298584,
"tags... |
# Why does polynomial factorization generalize to matrices
I'm reading about linear algebra and I came across with the following theorem where I have a problem convincing myself:
Theorem 2.1 $\,$ Every linear operator on a finite-dimensional complex vector space has an eigenvalue.
Proof:
To show that $T$ (our linea... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9811668717616667,
"lm_q1q2_score": 0.8319978784968901,
"lm_q2_score": 0.847967764140929,
"openwebmath_perplexity": 301.5266675768205,
"openwebmath_score": 0.8987184166908264,
"tags... |
agi, control-problem, superintelligence
More robust encryption schemes, so that the massive amount of information handled by AI is secure even in the face of AI-capable adversaries. We'd want these encryption schemes to be information-theoretic secure, so that it is mathematically impossible to recover the plaintext, ... | {
"domain": "ai.stackexchange",
"id": 315,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "agi, control-problem, superintelligence",
"url": null
} |
organic-chemistry, everyday-chemistry, reaction-mechanism
Seeing the options, the 2nd seems the way to go, and this seems to be the epic equation concerning my quest quoted from Fluoropolymers 1 page 231, section 15.3:
The comparative accessibility and desirable properties of $\ce{XeF2}$ enable
its use for the synt... | {
"domain": "chemistry.stackexchange",
"id": 10416,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "organic-chemistry, everyday-chemistry, reaction-mechanism",
"url": null
} |
homework-and-exercises, classical-mechanics, velocity
I've tried to set $y(t) = h$ which is the height of the hole, then I solved for the t with only positive part. Then I insert my t into $x(t) = v_0 .t .cos \alpha$ equation and also replace x(t) with d which is the horizontal distance. But I'm ended with the equatio... | {
"domain": "physics.stackexchange",
"id": 32740,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "homework-and-exercises, classical-mechanics, velocity",
"url": null
} |
magnetic-fields
Title: Is it possible to shield a magnetic field? Is it actually possible to shield a magnetic field? They teach us at school that magnetic fields are generated by electricity running through the wires (that's how electromagnets work). On the other hand there are permanent magnets which just get magnet... | {
"domain": "physics.stackexchange",
"id": 26431,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "magnetic-fields",
"url": null
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.