text stringlengths 49 10.4k | source dict |
|---|---|
ros, installation, ros-fuerte
Also, please make sure you read the support guidelines before posting. Always tag your questions appropriately.
Originally posted by Lorenz with karma: 22731 on 2012-12-06
This answer was ACCEPTED on the original site
Post score: 3
Original comments
Comment by salma on 2012-12-08:
@Lore... | {
"domain": "robotics.stackexchange",
"id": 12010,
"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, installation, ros-fuerte",
"url": null
} |
homework-and-exercises, classical-mechanics, oscillators, eigenvalue, normal-modes
$$
\mathbf{x}(t) := \left[ \begin{matrix} C(t) \\ C^{\ast}(t) \end{matrix} \right] \quad \mathrm{and} \quad \mathbb{M} := - \frac{i}{2} \left[ \begin{matrix} 1 + 2m & 1 \\ -1 & - 1 - 2 m \end{matrix} \right] \ .
$$
Now diagonalize the m... | {
"domain": "physics.stackexchange",
"id": 61909,
"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, oscillators, eigenvalue, normal-modes... |
3. Oct 11, 2016
### TSny
I don't think this expression is correct.
Make sure that you're using a carefully drawn diagram when setting up the expression for cos(θ).
4. Oct 11, 2016
in this case adjacent is R=.1
hypotenuse is from half of the distance d (.011/2 = .0055) so using Pythagoreans theorem, I got Hyp = .100... | {
"domain": "physicsforums.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9820137884587394,
"lm_q1q2_score": 0.8183362347283394,
"lm_q2_score": 0.8333245870332531,
"openwebmath_perplexity": 1488.520988937704,
"openwebmath_score": 0.6197067499160767,
"tag... |
# Find the missing digits in the expansion of $34!$ [duplicate]
If $34!=\overline{295232799cd96041408476186096435ab000000}$ then find the value of $a,b,c$ and $d.$
My Attempt: I can find that $b=0$ because it has seven five integers.
$\lfloor{\frac{34}{5}}\rfloor+\lfloor{\frac{34}{25}}\rfloor=6+1=7$
Also I think $a... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.975946441508702,
"lm_q1q2_score": 0.811151091778062,
"lm_q2_score": 0.8311430394931456,
"openwebmath_perplexity": 285.4289890335603,
"openwebmath_score": 0.9999767541885376,
"tags"... |
forces, aerodynamics
Title: Do modern Formula One cars produce enough down-force to drive upside-down? For example, if they were driving at top speed through a long tunnel, could they transition to and stay on the ceiling? Apparently that is possible.
From http://en.wikipedia.org/wiki/Formula_One_car:
Indycars, for ... | {
"domain": "physics.stackexchange",
"id": 5977,
"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": "forces, aerodynamics",
"url": null
} |
homework-and-exercises, quantum-electrodynamics, renormalization
$$\beta(\alpha) = \sum_{n=1}^\infty c_n \alpha^n.$$ By convention, it's common to write this expansion in the form he has given. The first coefficient is always $c_1 = - 4\pi\epsilon$ (where $\epsilon$ is the dimensional regularization parameter). The re... | {
"domain": "physics.stackexchange",
"id": 22046,
"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, quantum-electrodynamics, renormalization",
"url": null
} |
Let $$S$$ denote the number of times we need to apply the identity $$\binom{x-1}{2}+\binom{x+1}{2}=2\binom{x}{2}+1$$ to reduce the left hand side of $$(2)$$ to the right hand side. We can then write $$(2)$$ more precisely as $$\sum_{i=1}^m\binom{d_i}{2}=(m-n)\binom{x}{2}+n\binom{x+1}{2}+S.$$ Knowing that $$82\leq m\leq... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9835969698879862,
"lm_q1q2_score": 0.8771826370558871,
"lm_q2_score": 0.8918110404058913,
"openwebmath_perplexity": 480.8203853774128,
"openwebmath_score": 0.827904999256134,
"tags... |
observational-astronomy, radio-astronomy, data-analysis, interferometry
CHIME consists of four adjacent 20m x 100m cylindrical reflectors oriented north-south. The focal axis of each cylinder is lined with 256 dual-polarization antennas, each of which receives radiation from a large swath of sky that nearly stretches ... | {
"domain": "astronomy.stackexchange",
"id": 3422,
"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": "observational-astronomy, radio-astronomy, data-analysis, interferometry",
"url"... |
matlab, fft, bandwidth, nyquist
Title: Changing the Bandwidth of a signal of fixed Sampling frequency If sampling frequency is fixed, how can I generate a frequency domain signal of a particular bandwidth from a time domain signal of dimension $1\times N$? e.g. if $f_s=100\,\text{kHz}$, how can I generate a signal of ... | {
"domain": "dsp.stackexchange",
"id": 4837,
"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": "matlab, fft, bandwidth, nyquist",
"url": null
} |
java, multithreading
Title: Multithreaded for loop I am trying to multithread a for loop, and this works so far. How can it be improved? Have I done anything incorrectly?
The work is broken up into blocks and the block variable is the amount of objects to process per thread.
Test.class
public class Test extends MultiT... | {
"domain": "codereview.stackexchange",
"id": 12867,
"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, multithreading",
"url": null
} |
java, tree, junit
or, if you prefer,
private boolean isFull(Node node) {
if (node == null) {
return false;
}
return isLeaf(node) || isFull(node.left) && isFull(node.right);
}
All tests still pass after that.
Be consistent
isFull is a method that implements early-returns; so you might as well do th... | {
"domain": "codereview.stackexchange",
"id": 23767,
"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, tree, junit",
"url": null
} |
java, algorithm, graph, genetic-algorithm, traveling-salesman
Typical output
On my PC, I get the following output:
GA duration: 712 ms.
Brute-force duration: 8127 ms.
---
GA cost: 1298.5923370671355
Brute-force cost: 1187.226303336163
Cost ratio: 1.093803543113919
Critique request
As always, I would like to hear any ... | {
"domain": "codereview.stackexchange",
"id": 43153,
"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, algorithm, graph, genetic-algorithm, traveling-salesman",
"url": null
} |
• The answer above is a correct description of the basic issue that led to the overcount. Dec 7, 2014 at 15:40
We count the "favourables," the 4-3-3-3 hands. The suit in which we have $4$ cards can be chosen in $\binom{4}{1}$ ways. For each of these ways, the actual $4$ cards in that suit can be chosen in $\binom{13}{... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9830850847509661,
"lm_q1q2_score": 0.8523699352289673,
"lm_q2_score": 0.8670357718273068,
"openwebmath_perplexity": 609.8782367337674,
"openwebmath_score": 0.6990851163864136,
"tag... |
Joined: Oct 2011
Posts: 13,632
Thanks: 954
Quote:
Originally Posted by xoritos In a bakery, (1/4) of the muffins for sale are banana muffins, (2/5) are walnut muffins and the rest are chocolate muffins. There are 18 more chocolate muffins than banana muffins. How many muffins are there for sale altogether? Number of... | {
"domain": "mymathforum.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9840936050226358,
"lm_q1q2_score": 0.8068517951694693,
"lm_q2_score": 0.8198933425148214,
"openwebmath_perplexity": 3516.23130548759,
"openwebmath_score": 0.5164219737052917,
"tags":... |
Given,
We are answering the first three subparts as per our honor code.
The series $\sum _{k=1}^{\mathrm{\infty }}\frac{1}{{3}^{k}}$.Considering the series is convergent then we have to answer the following.
Calculation
(a). Find an upper bound for the remainder in terms of n.
Since we know that ${R}_{n}<{\int }_{n}^{\... | {
"domain": "plainmath.net",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9867771809697151,
"lm_q1q2_score": 0.8090520325372822,
"lm_q2_score": 0.8198933337131076,
"openwebmath_perplexity": 377.8788631396686,
"openwebmath_score": 0.7160617709159851,
"tags": ... |
z-transform
For our case we have $y[n] = x[n] \ast u[n] \overset{\mathcal{Z}}\longrightarrow Y(z) = X(z)\cdot U(z)$ where $Y(z)$ is given in the question and $U(z)$ is:$$U(z) = \frac{1}{1-z^{-1}}$$ which gives us: $$X(z) = \left(\frac{z^{3} - z^{2} + 1}{z \left( z - 1 \right)^{2}} \right) \cdot (1-z^{-1})$$ with the a... | {
"domain": "dsp.stackexchange",
"id": 12448,
"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": "z-transform",
"url": null
} |
java, algorithm
ArrayList<V> getNeighbors(V vertex);
ArrayList<P> getAdjacentPoints(P point);
}
abstract class Space<P, V> implements ISpace<P, V> {
private final Map<P, V> vertices = new HashMap<>();
private final Map<V, P> points = new HashMap<>();
private final Map<P, ArrayList<P>> adjacencyMap =... | {
"domain": "codereview.stackexchange",
"id": 6341,
"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, algorithm",
"url": null
} |
parsing, math-expression-eval, typescript
class Node {
constructor(public value:number | Operator, public left?:Node, public right?:Node) {
}
}
class SyntaxParser {
private static map: { [symbol: string]: Operator } = {};
private static populateMap() {
if(Object.keys(SyntaxParser.map).length ... | {
"domain": "codereview.stackexchange",
"id": 20072,
"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": "parsing, math-expression-eval, typescript",
"url": null
} |
energy
Title: How much diesel fuel would you need to generate as much power as a kilogram of average nuclear fuel? I'd like to be able to visualize the volumes associated with conventional fuels vs. nuclear fuels. Links to source material would be much appreciated. Straight off the interwebs:
The energy density of di... | {
"domain": "physics.stackexchange",
"id": 57248,
"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": "energy",
"url": null
} |
python, sql, mysql
Title: Impyla parse user args into SQL query I feel like there must be a better way to do the following. I would really appreciate any feedback/pointers so that I can improve my code and skills (or lack thereof!).
The goal is to allow users to query our imapala database using a python script, so th... | {
"domain": "codereview.stackexchange",
"id": 14873,
"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, sql, mysql",
"url": null
} |
• There are a few things missing here. First, is the number input LSB to MSB or MSB to LSB? (Looks like LSB to MSB.) Second, are you allowing the empty string to represent zero? Dec 23 '17 at 22:41
• The way to prove such results is to twofold: first you prove an upper bound by constructing a DFA accepting the given la... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9770226314280636,
"lm_q1q2_score": 0.8605586758229445,
"lm_q2_score": 0.8807970748488296,
"openwebmath_perplexity": 436.0348354667693,
"openwebmath_score": 0.6708168387413025,
"tag... |
general-relativity, black-holes
$\frac{1}{\sin\theta} \partial_{\theta}(\sin\theta\partial_{\theta}) - 2s(\frac{a(r-M)}{\Delta} + \frac{i\cos\theta}{\sin^2\theta})\partial_{\phi} - 2s(\frac{M(r^2-a^2)}{\Delta}-r-ia\cos\theta)\partial_t$
$ + (s^2\cot^2\theta - s)\}\psi = 0$
When I expanded out Whiting's equation out I ... | {
"domain": "physics.stackexchange",
"id": 1195,
"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": "general-relativity, black-holes",
"url": null
} |
javascript, php, html
}
if(isset($_POST['right'])) {
if (isset($_SESSION['locations'][($_SESSION['xy'][0]+1).",".$_SESSION['xy'][1]]))
{
(function(){
if (leaveCombat()){ return; }
$_SESSION['xy'][0]+=1;
})();
}
}
if(isset($_POST['left'])) {
if (isset($_SESSION['locations... | {
"domain": "codereview.stackexchange",
"id": 30020,
"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, html",
"url": null
} |
swift
Some unrelated observations:
Rather than
let randomNumber = Int(arc4random_uniform(101))
I’d instead recommend:
let randomNumber = Int.random(in: 0...100)
It is equivalent, but arguably is more intuitive. (This would be especially true if you wanted to go from 1 to 100 instead, the arc4random_uniform code wo... | {
"domain": "codereview.stackexchange",
"id": 37739,
"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": "swift",
"url": null
} |
thermal-conductivity, heat-conduction, method-of-images
Title: Method of images for infinite cylinder between two parallel surfaces, one insulating and the other constant temperature Trying to solve for temperature distribution of a infinite cylinder of radius $R$ of uniform time independent heat generation [$P$] = W$... | {
"domain": "physics.stackexchange",
"id": 63806,
"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": "thermal-conductivity, heat-conduction, method-of-images",
"url": null
} |
smach, ros-electric
Without the introspection sever or when running smach from diamondback the exception does not show up and everything works as expected. Does anyone have a clue what the problem is?
I used the script "examples/user_data2.py" from the smach_tutorials package and added the introspection server as foll... | {
"domain": "robotics.stackexchange",
"id": 6568,
"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": "smach, ros-electric",
"url": null
} |
java, game, swing
level.drawCoins(g);
level.drawDots(g);
level.updateDots();
player.draw(g);
player.update(level);
g.setColor(Color.BLACK);
g.fillRect(0, 0, 800, 22);
g.setColor(Color.WHITE);
... | {
"domain": "codereview.stackexchange",
"id": 21888,
"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, game, swing",
"url": null
} |
quantum-mechanics, operators, heisenberg-uncertainty-principle, fourier-transform, commutator
It then follows that, given $\langle x|p\rangle=\exp (ipx/\hbar)$,
$$
\langle m |\hat {q}|n\rangle= \int dp dp' ~ \langle m | p\rangle
\langle p |\hat {q}|p'\rangle \langle p'|n\rangle= \int dp dp'dx ~ \phi_m^*(p) \phi_n(p... | {
"domain": "physics.stackexchange",
"id": 47348,
"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, operators, heisenberg-uncertainty-principle, fourier-transform,... |
newtonian-mechanics, energy-conservation, conservation-laws, rocket-science, propulsion
For those that want more detail, this is called the Oberth effect, and we can do a quick calculation to confirm it. Suppose the fuel is ejected from the rocket with relative velocity $u$, a mass $m$ of fuel is ejected, and the rest... | {
"domain": "physics.stackexchange",
"id": 99979,
"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": "newtonian-mechanics, energy-conservation, conservation-laws, rocket-science, propu... |
and convergence in distribution of random variables image ( max MiB. A minor role for the purposes of this wiki a stronger property than convergence in distribution. density.. Convergence imply convergence in probability is stronger than convergence in distribution., every number. Mean-Square convergence imply converge... | {
"domain": "exactls.com",
"id": null,
"lm_label": "1. Yes\n2. Yes\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9496693702514737,
"lm_q1q2_score": 0.8199365698623707,
"lm_q2_score": 0.8633916134888614,
"openwebmath_perplexity": 650.124521589074,
"openwebmath_score": 0.8927919864654541,
"tags":... |
6. Feb 18, 2015
### Staff: Mentor
The component of the derivative of $\vec{A}$ parallel to $\vec{A}$ also has a direction. That direction is either $+\frac{\vec{A}}{|\vec{A}|}$ or $-\frac{\vec{A}}{|\vec{A}|}$, depending on the sign of dA/dt. The vector component of the derivative of the vector $\vec{A}$ with respect ... | {
"domain": "physicsforums.com",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9697854094395751,
"lm_q1q2_score": 0.8017330357013538,
"lm_q2_score": 0.8267117940706734,
"openwebmath_perplexity": 460.68396309424026,
"openwebmath_score": 0.6506057381629944,
... |
quantum-field-theory, black-holes, quantum-information, string-theory, hawking-radiation
Title: Why is high energy required if we want to send a message in a short amount of time? I am somewhat puzzled by the following statement
"If Alice, after crossing the horizon, has less than a Planck time to communicate with Bob... | {
"domain": "physics.stackexchange",
"id": 83719,
"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-field-theory, black-holes, quantum-information, string-theory, hawking-rad... |
data-wrangling
Title: How do I split number string with digit pattern? I am trying to split number string to two to digit numbers
How do I get two different Numbers out that string
Example:
I want separate two numbers
x <- c("-26755.22-50150.60")
To this
-26755.22
-50150.60
I have tried stringr::str_split but I ... | {
"domain": "datascience.stackexchange",
"id": 2767,
"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": "data-wrangling",
"url": null
} |
cc.complexity-theory, np-hardness, hypergraphs
In this paper by Fertin, Rusu and Vialette (ISAAC 2015), this specific problem is studied: it is called finding a stepwise bounded labeling of a collection of subsets, and it is used as an intermediate step in the NP-hardness proof of their main result. Specifically, the ... | {
"domain": "cstheory.stackexchange",
"id": 5663,
"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": "cc.complexity-theory, np-hardness, hypergraphs",
"url": null
} |
c#, .net
var responseList = new List<RepHelper>();
string repTitle;
if(item?.Pro != null)
{
foreach(var pro in item.Pro)
{
if(pro == null) continue;
var rep = new RepHelper { Res = pro.Rep, Title = pro.Title };
... | {
"domain": "codereview.stackexchange",
"id": 42301,
"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#, .net",
"url": null
} |
cryptography, quantum-computing, hash
Title: Could quantum computing eventually be used to make modern day hashing trivial to break? Simply put, if one were to build a quantum computing device with the power of, say, 20 qubits, could such a computer be used to make any kind of modern hashing algorithm useless?
Would ... | {
"domain": "cs.stackexchange",
"id": 83,
"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": "cryptography, quantum-computing, hash",
"url": null
} |
tex
\frenchspacing % No spacing difference between words and sentences
\setcounter{secnumdepth}{3} % Up to what level sectioning titles are numbered
%TOSET your customized glossaries etc.
\setacronymstyle{long-short} % behaviour: firs... | {
"domain": "codereview.stackexchange",
"id": 19427,
"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": "tex",
"url": null
} |
• There are theorems about the remainder of a power series. If $r>0$ and if the series $f(x)=\sum_{j=0}^{\infty}A_jx^j$ converges whenever $|x|<r,$ then for $0<|x|<r$ and $n>0$ we have $f(x)-\sum_{j=0}^{n-1}A_jx^j= \frac {x^n f^{(n)}(y)}{n!}$ for some $y$ strictly between $0$ and $x,$ where $f^{(n)}$ denotes the $n$th ... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9621075733703925,
"lm_q1q2_score": 0.8196702411195836,
"lm_q2_score": 0.8519528000888386,
"openwebmath_perplexity": 193.1810909096576,
"openwebmath_score": 0.9209661483764648,
"tag... |
thermodynamics, superfluidity
Title: Why are superfluids thermodynamically possible? I was reading about superfluids and how they can flow without loss of any kinetic energy over time, specifically they can form vortices that rotate indefinitely. However I do not understand why this is possible as surely the outside o... | {
"domain": "physics.stackexchange",
"id": 36829,
"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": "thermodynamics, superfluidity",
"url": null
} |
Simple distance between two data points pair of the coordinates between two data points- x y. Right triangle but not the hypotenuse like in the Pythagorean theorem in simple terms, it located., it is, also, known as rectilinear distance, Manhattan metric... Calculated and it will influence the shape of the most used di... | {
"domain": "vertech-tt.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9752018354801187,
"lm_q1q2_score": 0.80401678598899,
"lm_q2_score": 0.8244619285331332,
"openwebmath_perplexity": 821.909100899805,
"openwebmath_score": 0.7825772762298584,
"tags": nu... |
standard-model, quantum-electrodynamics, feynman-diagrams, interactions
These all illustrate instances where the forces are attractive. However, why are they drawn exactly as if they were repulsive? Take the first diagram between the electron and the positron. The electron moves to the right while the positron moves t... | {
"domain": "physics.stackexchange",
"id": 26147,
"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": "standard-model, quantum-electrodynamics, feynman-diagrams, interactions",
"url":... |
inorganic-chemistry, analytical-chemistry, precipitation, elemental-analysis
Sulfur dioxide gas is evolved which gives lime water test as well as baryta water test:
$\ce{SO2 + Ca(OH)2 -> Ba(HSO3)2}[\text{soluble}]$
$\ce{SO2 + Ba(OH)2 -> Ca(HSO3)2}[\text{soluble}]$
Test with $\ce{BaCl2/CaCl2}$:
$\ce{SO3^{2-} + CaCl2 -... | {
"domain": "chemistry.stackexchange",
"id": 7439,
"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": "inorganic-chemistry, analytical-chemistry, precipitation, elemental-analysis",
... |
returns a list of length 400 like this:
{2,3,...101,131,...3558553, 3563653, 3569653}
Updating after rcollyer's suggestions I would rather follow this way :
PalindromicQ[k_Integer] :=
IntegerDigits[k] == Reverse[IntegerDigits[k]]
Take[Select[Prime[Range[300000]], PalindromicQ], 400];
Edit
It is worty to point ou... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9609517050371972,
"lm_q1q2_score": 0.8089537948838149,
"lm_q2_score": 0.8418256512199033,
"openwebmath_perplexity": 4589.382845517509,
"openwebmath_score": 0.27052566409111023,
"ta... |
Is my proof correct or have I missed anything?
Thanks very much for any hints and comments.
• What do you denote (1) which has to hold for any $x$? – Bernard Jan 2 '20 at 9:42
• Sorry, this is a typo. I changed (1) to $(*)$ later. Actually I wanted to remove this part since it became clear to me when I wrote it down.... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9773708019443873,
"lm_q1q2_score": 0.8420422837079964,
"lm_q2_score": 0.86153820232079,
"openwebmath_perplexity": 64.75065967517986,
"openwebmath_score": 0.9988114833831787,
"t... |
## 2 Answers
Stars and bars will work just fine. Assuming there are unlimited supplies of each type of doughnut, you get $\binom{8+3}3=165$ selections.
However, note that there are only seven glazed doughnuts, so we cannot have a selection of eight glazed doughnuts. All other selections are possible because there are... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9706877675527112,
"lm_q1q2_score": 0.8211459816042596,
"lm_q2_score": 0.8459424431344437,
"openwebmath_perplexity": 756.0467838641741,
"openwebmath_score": 0.5753625631332397,
"tag... |
c++, strings, cryptography
Title: Vector-based Null Cipher Continuing with my series of cipher programs, I hastily wrote a null cipher program, and I was wondering how it could be improved:
#include <iostream>
#include <vector>
#include <sstream>
#include <iterator>
#include <algorithm>
std::string getString();
std::... | {
"domain": "codereview.stackexchange",
"id": 23917,
"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, cryptography",
"url": null
} |
ros, roslaunch, namespace
Title: remapping whole namespace in launchfile
Let's say I have a node with several topics like this:
/group/node/topic1
/group/node/topic2
/group/node/topic3
...
Now I want to remap all topics to a different namespace like this:
/important_topics/topic1
/important_topics/topic2
/important_... | {
"domain": "robotics.stackexchange",
"id": 24314,
"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, roslaunch, namespace",
"url": null
} |
education, history
The historical literature shows you how the correct arguments won out over time. This is pretty much the only way to persuade yourself that the results we have are correct, since when you are learning something you are recapitulating the historical process, and all the confusions people had in the p... | {
"domain": "physics.stackexchange",
"id": 4201,
"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": "education, history",
"url": null
} |
c++, beginner, template
Title: Detecting if an element is found inside a container I just wrote this template to detect if a given element is found inside a container:
template <typename Iterator> bool is_contained(Iterator begin, Iterator end, decltype(*begin) object)
{
for (; begin != end; ++begin)
{
... | {
"domain": "codereview.stackexchange",
"id": 33980,
"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, template",
"url": null
} |
molecular-structure, cyclohexane
I have unsuccessfully looked for literature values of these, and my trigonometry is not up to scratch. The crystal structure shows a strangely distorted molecule with only $C_\mathrm{i}$ symmetry. Values have quite a wide range, $\angle(\ce{CCH})\approx 100-120^\circ$. See below for al... | {
"domain": "chemistry.stackexchange",
"id": 2541,
"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": "molecular-structure, cyclohexane",
"url": null
} |
ds.algorithms, ds.data-structures, compressed-sensing
Design $A$ such that for any $x$ one can recover $x'$ where $\|x-x'\|_L \le$
$\min_{x"} C \|x-x"\|_R$, where $x"$ ranges over all $M$-sparse vectors.
For example, the elements of $M$ could be of the form $I_1 \cup \ldots \cup I_k$, where each $I_i$ corresponds to o... | {
"domain": "cstheory.stackexchange",
"id": 626,
"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": "ds.algorithms, ds.data-structures, compressed-sensing",
"url": null
} |
natural-selection
there are a few english mistakes and that makes the question a bit difficult to understand. I tried to fix that issue.
The question is quite introductory and I think that having a look at an introductory course to evolutionary biology (such as Understanding Evolution for example) will help you. | {
"domain": "biology.stackexchange",
"id": 4587,
"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": "natural-selection",
"url": null
} |
navigation, mapping, hector-mapping, transform
<launch>
<arg name="tf_map_scanmatch_transform_frame_name" default="scanmatcher_frame"/>
<arg name="base_frame" default="base_footprint"/>
<arg name="odom_frame" default="base_footprint"/>
<arg name="pub_map_odom_transform" default="true"/>
<arg name="scan_subsc... | {
"domain": "robotics.stackexchange",
"id": 25619,
"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, mapping, hector-mapping, transform",
"url": null
} |
human-anatomy, cardiology
Title: Structure separating the left atrium from the ascending aorta? With reference to the (adult) anatomy of the human heart:
The left atrium (LA) and the proximal part of the ascending aorta (Ao) abut one another, as shown nicely in this image [1]. Is there a name for the wall(s) separati... | {
"domain": "biology.stackexchange",
"id": 9199,
"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": "human-anatomy, cardiology",
"url": null
} |
ros
}
but I guess that's not enough. Is there a standard way to do this?
Originally posted by slim71 on ROS Answers with karma: 18 on 2023-07-17
Post score: 0
In the end, I've found a solution.
Using a global variable std::weak_ptr<MyNode> MyNode::instance_;, I've initialized it in the main and registered it as a s... | {
"domain": "robotics.stackexchange",
"id": 38458,
"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
} |
homework-and-exercises, fluid-dynamics, pressure, fluid-statics, bernoulli-equation
Title: Does the pressure in dynamic fluids depend on speed or cross sectional area? I have encountered this question in my Giancoli Physics textbook, and I am pretty convinced that the answer should be A and E. But the solutions manual... | {
"domain": "physics.stackexchange",
"id": 85507,
"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, fluid-dynamics, pressure, fluid-statics, bernoulli-equatio... |
We initialize the sums in each factor of the range of theta to zero and decompose each summand $t$ into a triple $\theta(t)=\left(t_1,t_2,t_3\right)\in G\text{.}$
Addition in $G$ can be done in parallel so that each new subtotal in the form of the triple $(s_1,s_2, s_3)$ takes only as long to compute as it takes to ad... | {
"domain": "discretemath.org",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9919380101400315,
"lm_q1q2_score": 0.8200468456171953,
"lm_q2_score": 0.8267117876664789,
"openwebmath_perplexity": 1615.108769389095,
"openwebmath_score": 0.9999842643737793,
"tags... |
Now we see a consequence for non-wandering sets in $$L=\{ \text{Every 1 has a 2 to its right, every 2 has a 0 to its right,}$$ $$\text{every 0 has a 0 or a 1 to its right.}\}$$ (or by symmetry in $R$). Let $Y$ be a point in $L$ and let $V(Y)$ be an open neighborhood of $Y$. Then for some $n>0$ with $V_n(Y)\subset V(Y)$... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9850429151632047,
"lm_q1q2_score": 0.809891580090722,
"lm_q2_score": 0.8221891327004133,
"openwebmath_perplexity": 113.32071120682777,
"openwebmath_score": 0.9403144121170044,
"tag... |
ros, navigation, odometry, laser-scan-matcher, laserscan
Original comments
Comment by Cav on 2012-01-30:
awesome, thank you!
Comment by tom on 2012-01-29:
Here you are, hope it's the working version :). http://pastebin.com/Nd4ekeuj http://pastebin.com/WgBpiaqH
Comment by Cav on 2012-01-24:
@tom: Could you publish your... | {
"domain": "robotics.stackexchange",
"id": 7759,
"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, navigation, odometry, laser-scan-matcher, laserscan",
"url": null
} |
c++, beginner, sfml, c++20
image.setPixel(mouse_x, mouse_y, sf::Color::White);
// Get random size of snowflake //
int size = (rand() % 20) + 10;
for (int i = 1; i < size; i++) {
image.setPixel(mouse_x + i, mouse_y, sf::Color::White);
... | {
"domain": "codereview.stackexchange",
"id": 37518,
"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, sfml, c++20",
"url": null
} |
ros, ros2, colcon, ros-crystal
break
/home/user/ros2_ws/src/osrf/osrf_pycommon/tests/unit/test_process_utils/test_execute_process_nopty.py:127: ResourceWarning: unclosed file <_io.BufferedReader name=16>
break
ok
test__execute_process_nopty_combined (tests.unit.test_process_utils.test_execute_process_nopty.TestProce... | {
"domain": "robotics.stackexchange",
"id": 32336,
"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, ros2, colcon, ros-crystal",
"url": null
} |
Why are the last two numbers of this sequence never prime?
I had the idea to make a script that generates a pattern like this:
1
2 3
4 5 6
7 8 9 10
...
and so on. After that, I replaced every non-prime by a '-' character and every prime number by a '|'. The output begins like that:
-
||
-|-
|---
|-|--
-|-|--
-|--... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9799765622193215,
"lm_q1q2_score": 0.8166385761831843,
"lm_q2_score": 0.8333245994514084,
"openwebmath_perplexity": 195.58058308737697,
"openwebmath_score": 0.7754784226417542,
"ta... |
inorganic-chemistry, electrochemistry, redox, electrolysis, reduction-potential
At the anode (positive pole), water is decomposed according to : $\ce{4 H2O -> O2 + 4 H+ + 4 e-}$. This is only possible if there are negative ions arriving near the anode to compensate the positive charges appearing in solution because of... | {
"domain": "chemistry.stackexchange",
"id": 14923,
"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": "inorganic-chemistry, electrochemistry, redox, electrolysis, reduction-potential"... |
signal-analysis, demodulation
Title: Signal encoding identification I've read this signal from a radio remote that opens a gate. This signal is already after AM demodulation, read by using a Saleae logic analyzer:
I don't know much about signal processing, but I would like to emit the same signal with my own transmit... | {
"domain": "dsp.stackexchange",
"id": 3474,
"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": "signal-analysis, demodulation",
"url": null
} |
[½, 1). Get it today with Same Day Delivery, Order Pickup or Drive Up. Frexp breaks f into a normalized fraction and an integral power of two. I often cut and paste problems to the computer algebra system Maple, and. - Flexes and stretches with your body - Breathable design for added comfort - Hypoallergenic - Size: 1"... | {
"domain": "daisytale.it",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9416541626630935,
"lm_q1q2_score": 0.8230784700708867,
"lm_q2_score": 0.8740772384450968,
"openwebmath_perplexity": 1082.4945639665957,
"openwebmath_score": 0.8453951478004456,
"tags": ... |
# Is there a relation between the number of lattice points lie within these circles
Suppose we have a circle of radius $r$ centered at the origin $(0,0)$. The number of integer lattice points within the circle, $N$, can be bounded using Gauss circle problem .
Suppose that another circle of radius $r/2$ centered at th... | {
"domain": "mathoverflow.net",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9793540668504083,
"lm_q1q2_score": 0.8324227257249014,
"lm_q2_score": 0.8499711737573762,
"openwebmath_perplexity": 181.35364390801382,
"openwebmath_score": 0.9255133867263794,
"tag... |
neuroscience, definitions
Title: What is a cortical circuit? I have read about cortical circuits in the context of connectomics (e.g. any example here) and computational neuroscience (e.g. any example here), but a simple Google/Wikipedia does search not show an exact definition.
What exactly is a cortical circuit? I m... | {
"domain": "biology.stackexchange",
"id": 1208,
"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": "neuroscience, definitions",
"url": null
} |
mechanical-engineering, architecture
Title: What are the type of Equations that can determine if parabolas are better shapes to support structure or hyperbolas? So it is taught that arches are good to support structure and most bridges are build out of arches, so I am curious to know how we can determine the internal ... | {
"domain": "engineering.stackexchange",
"id": 3464,
"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": "mechanical-engineering, architecture",
"url": null
} |
ros-groovy, rosservice, rosjava
Note: There is no reason you have to use custom requests. I think this gives you the ability to build your own requests dynamically in a fairly efficient way. If you have a better idea, I am all ears.
Cheers!
-James
Originally posted by jforkey with karma: 82 on 2013-04-22
This answ... | {
"domain": "robotics.stackexchange",
"id": 13789,
"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-groovy, rosservice, rosjava",
"url": null
} |
java, performance, strings, validation
I would like to shorten and optimize the above code. Usability
As I mentioned in my comment, you just exclude way too many names (even for a test program; I would at least add a comment in the code). Personally, I would accept any input, do a length check (it should not be empty,... | {
"domain": "codereview.stackexchange",
"id": 13064,
"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, performance, strings, validation",
"url": null
} |
_________________
Some useful Theory.
1. Arithmetic and Geometric progressions : https://greprepclub.com/forum/progressions-arithmetic-geometric-and-harmonic-11574.html#p27048
2. Effect of Arithmetic Operations on fraction : https://greprepclub.com/forum/effects-of-arithmetic-operations-on-fractions-11573.html?sid=d57... | {
"domain": "greprepclub.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9845754470129648,
"lm_q1q2_score": 0.8003292072855853,
"lm_q2_score": 0.8128673223709251,
"openwebmath_perplexity": 705.9142492232371,
"openwebmath_score": 0.5661312341690063,
"tags"... |
Canadian Mathematical Society www.cms.math.ca
location:
# PROBLEMS FOR FEBRUARY
Solutions should be submitted to
Prof. E.J. Barbeau
Department of Mathematics
University of Toronto
Toronto, ON M5S 3G3
no later than March 31, 2001
61.
Let $S=1!2!3!\dots 99!100!$ (the product of the first 100 factorials). Prove that t... | {
"domain": "math.ca",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.993902438710492,
"lm_q1q2_score": 0.8031399833800731,
"lm_q2_score": 0.8080672227971211,
"openwebmath_perplexity": 168.04854301458957,
"openwebmath_score": 0.8087303042411804,
"tags": null,
... |
machine-learning, data-mining, clustering, unsupervised-learning, k-means
Title: How to deal with with rows with zero in every feature while clustering? I am working on a clustering problem which has 13000 observations and 15 features. Around 3000 observations in the dataset has zero in every features ( i.e all value... | {
"domain": "datascience.stackexchange",
"id": 6807,
"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, data-mining, clustering, unsupervised-learning, k-means",
"... |
An example of such a tiling is to place all the knights on all the black cells.
• You can put the knights on the black squares or on the white squares. This makes two ways. Or am I missing something? – ajotatxe Jul 20 '17 at 11:58
• @ajotatxe Are there no other possibilities? Can you prove this? – Plato Jul 20 '17 at ... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9895109071934599,
"lm_q1q2_score": 0.8649089514334944,
"lm_q2_score": 0.8740772286044095,
"openwebmath_perplexity": 211.8117838370198,
"openwebmath_score": 0.5685427188873291,
"tag... |
electromagnetism, photons, induction, thought-experiment, perpetual-motion
Title: Infinite Electricity from Photon Inside Closed Box with Magnet Attached in a Coil? (Thought-experiment) Let's say I have a very large box with a magnet attached to the outside. Inside the box there is a perfect mirror on each side.
I ope... | {
"domain": "physics.stackexchange",
"id": 57423,
"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, photons, induction, thought-experiment, perpetual-motion",
"ur... |
python, python-2.x, linux
try: # Get all the children of the Main PID and append them to a list.
mainproc = psutil.Process(mainpid)
mchildren = mainproc.children(recursive=True)
pidchecks.append(mainpid)
for child in mchildren:
pidchecks.append(child.pid)... | {
"domain": "codereview.stackexchange",
"id": 31075,
"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, linux",
"url": null
} |
python
Title: Bruteforce XORing speed I'm trying to learn more efficient coding so I'm doing some challenges. I have a challenge where I'm given some hex data. I know that hex data is XOR encoded with a four character long ASCII key. The only thing I know about the clear text data is that it contains "a lot of '#' and... | {
"domain": "codereview.stackexchange",
"id": 15045,
"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
} |
waves, wavelength
Title: Components of wave vector Is 3-dimensional wave vector defined as $$ \tag{1} \mathbf{k}=\frac{2\pi}{\lambda_{x}}\mathbf{\hat{x}}+\frac{2\pi}{\lambda_{y}}\mathbf{\hat{y}}+\frac{2\pi}{\lambda_{z}}\mathbf{\hat{z}}
?
$$
If it is, then it's magnitude would be $$ \tag{2} |\mathbf{k}|=2\pi\sqrt{\fr... | {
"domain": "physics.stackexchange",
"id": 97244,
"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": "waves, wavelength",
"url": null
} |
gazebo-1.2, groovy
Original comments
Comment by jamuraa on 2013-01-21:
The answer to your 1.2.5 / 1.3.x question is that groovy was released in December 2012, so it has version 1.7.6 of that changelog - which is 1.2.5. 1.3 was switched to in 1.7.7
Comment by hsu on 2013-01-22:
1.7.8 is still in shadow fixed, you can ... | {
"domain": "robotics.stackexchange",
"id": 2951,
"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": "gazebo-1.2, groovy",
"url": null
} |
You can apply integration by parts to F by using the integrateByParts function. Use exp(x) as the differential to be integrated.
G = integrateByParts(F,exp(x))
G =
$x {\mathrm{e}}^{x}-\int {\mathrm{e}}^{x}\mathrm{d}x$
To evaluate the integral in G, use the release function to ignore the 'Hold' option.
Gcalc = relea... | {
"domain": "mathworks.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9814534322330059,
"lm_q1q2_score": 0.8473786503452273,
"lm_q2_score": 0.8633916011860785,
"openwebmath_perplexity": 1760.2719548899947,
"openwebmath_score": 0.8929407000541687,
"tags":... |
thermodynamics, entropy
Title: Question about thermodynamics The Second Law of thermodynamics allows work to be transformed fully into heat, but forbids heat to be totally converted into work. If heat could be transformed fully into work it would violate the laws of entropy.
What are the laws of entropy that would be ... | {
"domain": "physics.stackexchange",
"id": 91003,
"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": "thermodynamics, entropy",
"url": null
} |
operators, differential-geometry, metric-tensor, coordinate-systems, linear-algebra
Title: Is the matrix $[g_{\mu\nu}]$ of metric tensor a linear operator? Starting in an arbitrary coordinate system with basis vectors $\textbf{e}_\mu$ and metric components $g_{\mu\nu}$, we can always diagonalize the matrix $[g_{\mu\nu... | {
"domain": "physics.stackexchange",
"id": 82096,
"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": "operators, differential-geometry, metric-tensor, coordinate-systems, linear-algebr... |
sensors, rangefinder
Title: What is the difference between "Sharp Distance Sensors" and "Diffuse Type Sensors" and others? Searching online I have stumbled across following type of sensors that claim to measure distance. I don't quite understand the difference between them and their pros and cons. Would appreciate if ... | {
"domain": "robotics.stackexchange",
"id": 1502,
"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": "sensors, rangefinder",
"url": null
} |
motor, servomotor, brushless-motor
Title: Selecting a gear reduction: torque vs speed I have just sized the DC motors I want to use (corresponding to my robot and its intended applications - my figures include a 50% uncertainty factor to account for friction in reducers and other losses). Now I need to actually choose... | {
"domain": "robotics.stackexchange",
"id": 2499,
"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": "motor, servomotor, brushless-motor",
"url": null
} |
The degree $\rm\:n> 1\:$ case has the same form: one cancels $\rm\:(b,a)\:$ from $\rm\:(b,a)^n = b\,(b,a)^{n-1}.\:$
The ideal analog is the same, except replace "divides" by "contains", and assume that $\rm\:(a,b)\:$ is invertible (so cancellable), e.g. in any Dedekind domain. Thus the above yields a uniform proof tha... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9787126519319941,
"lm_q1q2_score": 0.8024399767861317,
"lm_q2_score": 0.8198933315126791,
"openwebmath_perplexity": 341.14123431544334,
"openwebmath_score": 0.9099322557449341,
"ta... |
general-relativity, lagrangian-formalism, constrained-dynamics, quantization, brst
$$
This is not the covariant action I was hoping to see, I thought I would find the covariant derivative in the kinetic term, $D^2$.
Does the commutator of $p_\mu$ with a tensor turn in to a covariant derivative, eg $$[p_\mu,A^\nu] = D_... | {
"domain": "physics.stackexchange",
"id": 90967,
"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": "general-relativity, lagrangian-formalism, constrained-dynamics, quantization, brst... |
organic-chemistry, pericyclic, stereoselectivity
If you now "join" the shaded lobes then you can see how the correct stereochemistry arises.
In general my preferred way of analysing pericyclic reactions is to use Woodward and Hoffmann's original rules. Here, there is no shading of lobes: you connect the lobes within ... | {
"domain": "chemistry.stackexchange",
"id": 9539,
"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, pericyclic, stereoselectivity",
"url": null
} |
c++, linked-list, memory-management
Once you grasp this you've become a two-star programmer!
Unnecessary code duplication
You have three different functions for removing an element, but they all do mostly the same. In fact, the first one, remove(int index), does everything you need. You don't need to treat index == 0 ... | {
"domain": "codereview.stackexchange",
"id": 38885,
"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++, linked-list, memory-management",
"url": null
} |
ros, navigation, stack
Title: Problems using the navigation stack
Hi
I'm trying to use the navigation stack, but I have some problems.
Well, I've configured the parameters as the tutorial says. Then I use Rviz for setting the estimated position and the goal. Doing that, I can make the robot move, but I get this warni... | {
"domain": "robotics.stackexchange",
"id": 11398,
"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, navigation, stack",
"url": null
} |
physiology, herpetology, poison, amphibians
+
0.002 mg/L will fatally damage the sensitive skin on tadpoles, frogs, salamanders and other amphibians.
another source:
Free chlorine (Cl2) is a greenish gas that is well known for its
highly toxic properties as can be attested to by the thousands of
soldiers that d... | {
"domain": "biology.stackexchange",
"id": 4373,
"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": "physiology, herpetology, poison, amphibians",
"url": null
} |
Thank you very much!.
• There's a theorem that says if the lowest-order nonzero derivative is of odd order, then you have a point of inflection. It's a critical point, so it's either a local extremum or a point of inflection. Jan 14, 2019 at 16:24
• But isn't the lowest-order nonzero derivative here is of even order? ... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9879462219033657,
"lm_q1q2_score": 0.8100105235795251,
"lm_q2_score": 0.8198933359135361,
"openwebmath_perplexity": 83.59668776819058,
"openwebmath_score": 0.9322595596313477,
"tag... |
homework-and-exercises, momentum, schroedinger-equation
This is an interesting exercise I found in one of the textbooks in the library.
So, by intuition I want to compute $\langle p\rangle$, which is
$$\langle p \rangle =\int_0^\infty\psi^*p\psi dx=-\int_0^\infty\psi^*i\hbar\frac{\partial}{\partial x}\psi dx$$
Pluggin... | {
"domain": "physics.stackexchange",
"id": 31051,
"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, momentum, schroedinger-equation",
"url": null
} |
python, python-3.x, rest
POST = {
"blog_author_id": blog_author_id,
"campaign": campaign_id,
"campaign_name": campaign_name,
"content_group_id": content_group_id,
"featured_image": featured_image,
"topic_ids": [year_id, quarter_id, market_id, stat... | {
"domain": "codereview.stackexchange",
"id": 32852,
"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, rest",
"url": null
} |
organic-chemistry, nomenclature
Title: What will be the name of CH2=CH-O-CO-CH3? We have this question in the textbook but there is no answer given and I have no idea how to name this compound.
Edit: I tried naming the compound.
Correct me if I am wrong here
1-Methylpropenoate Most people would call it vinyl acetate.... | {
"domain": "chemistry.stackexchange",
"id": 12853,
"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",
"url": null
} |
c++, stream
The line that attempts to fetch the locale causes a segfault because the underlying object is not actually completely constructed.
Handle wstring or state that you don't
The code does not seem to be happy with std::wstring instead of std::string as input. This isn't necessarily a problem, but it should be... | {
"domain": "codereview.stackexchange",
"id": 8607,
"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++, stream",
"url": null
} |
reference-request, cg.comp-geom, algebra
Guibas and Stolfi propose thinking about each edge (either primal or dual) as a collection of four directed, oriented edges; for simplicity, I'll call these darts. Each dart $\vec{e}$ points from one endpoint $\text{tail}(\vec{e})$ to the other endpoint $\text{head}(\vec{e})$,... | {
"domain": "cstheory.stackexchange",
"id": 634,
"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": "reference-request, cg.comp-geom, algebra",
"url": null
} |
ros, gazebo-ros-control, ros-kinetic, grasp
Comment by PeteBlackerThe3rd on 2018-05-16:
Have you tried giving the box a mass of zero to see what happens then. It appears to be behaving as if it weighs a metric ton!
Comment by raequin on 2018-05-16:
@PeteBlackerThe3rd it's interesting, when I set the mass to 0.0001 or ... | {
"domain": "robotics.stackexchange",
"id": 30827,
"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, gazebo-ros-control, ros-kinetic, grasp",
"url": null
} |
physical-chemistry, solutions, vapor-pressure
The explanation (in the main chapter, not as an answer to this question) given in Chemistry: The Central Science (13th Edition) by Brown, LeMay, and Bursten (abbreviated as CTCS) is: "A solution consisting of a volatile liquid solvent and a nonvolatile solute forms spontan... | {
"domain": "chemistry.stackexchange",
"id": 2522,
"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, solutions, vapor-pressure",
"url": null
} |
battery
Edit:
If you wanted to get a littler risky with the battery, a NiMH charger could be used for a short period as you mentioned. It charges at an acceptably low rate but the cells differ a lot more than they do between Pb and Li. A multi-cell NiMH for instance can have all of it's cells charged at once while thi... | {
"domain": "robotics.stackexchange",
"id": 169,
"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": "battery",
"url": null
} |
general-relativity, gravity, black-holes, mass, escape-velocity
Title: Does a black hole have any kind of mass? Currently in my academics I am studying about the Gravitation. In the chapter I came across a term called the Escape Velocity (It's the velocity of any celestial body which is required by an object to escape... | {
"domain": "physics.stackexchange",
"id": 17448,
"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": "general-relativity, gravity, black-holes, mass, escape-velocity",
"url": null
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.