text stringlengths 49 10.4k | source dict |
|---|---|
quantum-mechanics, quantum-interpretations, superposition, quantum-measurements
Update:
The comment by OP caught me off guard:
When some perturbation causes "me" to become localized in a single position, does this mean "I" am completely spread out in total momentum space? Or is my total momentum also localized to a s... | {
"domain": "physics.stackexchange",
"id": 87905,
"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, quantum-interpretations, superposition, quantum-measurements",
... |
newtonian-mechanics, rotational-dynamics, rotational-kinematics
Title: How can centripetal acceleration change the speed? In the circular motion of a particle, it has two acceleration components, first, the tangential one which is responsible for increment (positive or negative) in speed and is $$ \frac{d \omega}{dt} ... | {
"domain": "physics.stackexchange",
"id": 75683,
"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, rotational-dynamics, rotational-kinematics",
"url": null
} |
java, algorithm, multithreading, quick-sort
Since the current thread is not going to be doing anything until it joins with both of leftThread and rightThread, you could actually do the work of one of those two threads on the current thread. That saves the overhead of creating a thread.
The other comment is that the "... | {
"domain": "codereview.stackexchange",
"id": 18845,
"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, multithreading, quick-sort",
"url": null
} |
tables (cardinality as a function between two sets) **(database query optimization) cardinality of a table is how unique the rows are for that column (cardinality of the set itself) – harshvchawla Apr 2 '18 at 4:36 Description of the illustration cardinality.gif. RANDELL HEYMAN. {\displaystyle \#A} ℵ Any subset of a co... | {
"domain": "vedantaworld.org",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9833429638959674,
"lm_q1q2_score": 0.8236677053345417,
"lm_q2_score": 0.8376199714402812,
"openwebmath_perplexity": 714.9079948119803,
"openwebmath_score": 0.7675915360450745,
"tags... |
organic-chemistry, boiling-point, stereochemistry, melting-point
Title: Boiling and melting point of trans- and cis-but-2-ene The boiling point of trans-but-2-ene is lower than that of its cis isomer but the melting point of the former is higher than the later. Why is it not following the same order? Is there any fact... | {
"domain": "chemistry.stackexchange",
"id": 2913,
"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, boiling-point, stereochemistry, melting-point",
"url": null
... |
special-relativity, quantum-spin, representation-theory, lorentz-symmetry
Title: Why don't we construct a spin 1/4 spinor? I am learning quantum field theory. I understand that the solution of Dirac equation has four states and each corresponds to a spinor. These four states are exactly the eigenstates of the spin ope... | {
"domain": "physics.stackexchange",
"id": 34595,
"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": "special-relativity, quantum-spin, representation-theory, lorentz-symmetry",
"url... |
# Can a set be infinite and bounded?
I don't understand a statement in my math book course, I was restudying the compact sets part of the chapter when at a certain moment there is a corollary saying :
'every infinite and bounded part of $\mathbb{R^n}$ admit at least one accumulation point'
because for me a set is ei... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9766692318706085,
"lm_q1q2_score": 0.8117518502963839,
"lm_q2_score": 0.8311430562234878,
"openwebmath_perplexity": 361.04267578122216,
"openwebmath_score": 0.9260694980621338,
"ta... |
ros, generate-messages
['/opt/ros/indigo/share/filters/msg'],
'ecl_exceptions':
['/opt/ros/indigo/share/ecl_exceptions/msg'],
'navfn':
['/opt/ros/indigo/share/navfn/msg'],
'dwa_local_planner':
['/opt/ros/indigo/share/dwa_local_planner/msg'],
'rosgraph_msgs':
['/opt/ros/indigo/share/rosgraph_msgs/msg'],
'smclib':
['/op... | {
"domain": "robotics.stackexchange",
"id": 20737,
"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, generate-messages",
"url": null
} |
waves, water, simulations, computational-physics, tidal-effect
Title: How to simulate a crashing wave? I'd like to create a very rough animation of a wave crashing on a beach. I'm guessing it would have to be a particle simulator, where you code in the forces between the particles and then integrate forward in time. I... | {
"domain": "physics.stackexchange",
"id": 742,
"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, water, simulations, computational-physics, tidal-effect",
"url": null
} |
Since $$u_{n+1}\le u_n+u_n^2\tag{1}$$ we can apply the monotonically increasing function $\frac{x}{1+x}$ to both sides of $(1)$ to get $$\frac{u_{n+1}}{1+u_{n+1}}\le\frac{u_n+u_n^2}{1+u_n+u_n^2}\le u_n\tag{2}$$ Suppose that $$\limsup_{n\to\infty}nu_n=\varepsilon\gt0\tag{3}$$ This means that for infinitely many $n$, we ... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9850429142850273,
"lm_q1q2_score": 0.8098915707851766,
"lm_q2_score": 0.8221891239865619,
"openwebmath_perplexity": 243.69413767162052,
"openwebmath_score": 0.9278774261474609,
"ta... |
particle-physics, gravity, energy, mass
Title: Could there be massive gravitons and in our spacetime? My question is: Could there in principle be sub-groups of gravitons (if they existed) that has mass (and in our spacetime dimensions) such as those affected by electric or by strong force or other forces which could b... | {
"domain": "physics.stackexchange",
"id": 12754,
"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": "particle-physics, gravity, energy, mass",
"url": null
} |
javascript, beginner, algorithm, array, complexity
Title: Determine if Array has an Increasing Sequence I wrote a function in JavaScript that expects an array of integers (negative or positive) and determines if that array has an increasing sequence.
For the sake of better time performance I made the function return ... | {
"domain": "codereview.stackexchange",
"id": 31170,
"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, beginner, algorithm, array, complexity",
"url": null
} |
design, robotic-arm, joint
This is probably the easiest option.
Use the shoulder shaft as a drive shaft, but fix it to the lower arm pulley, and use the shaft rotation to drive the lower arm, then use a fixed shaft mechanism to mount and drive the upper arm.
The problem with this option is that unless you add a fixe... | {
"domain": "robotics.stackexchange",
"id": 107,
"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": "design, robotic-arm, joint",
"url": null
} |
python, strings, python-3.x, unit-testing, regex
Title: Osherove TDD Kata 1: String Calculator I implemented Roy Osherove's TDD Kata 1: String Calculator using Python 3.5.2 and the unittest module. The full description can be found at the link, it's a bit lengthy for this post.
The jest of it is to implement various s... | {
"domain": "codereview.stackexchange",
"id": 27019,
"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, strings, python-3.x, unit-testing, regex",
"url": null
} |
php
return array('input'=>$inputText, 'total'=>$rollTotal, 'detailText'=>$detailText);
}
?>
Regarding the overall format of the string, I recommend requiring that non-roll-based substrings be postioned after roll-based substrings. This will vastly improve the readability, elegance, and efficiency of the string/code.... | {
"domain": "codereview.stackexchange",
"id": 37125,
"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": "php",
"url": null
} |
python, beginner, python-3.x, game
print(list(valid_sequences(2)))
print(list(valid_sequences(3)))
print(list(valid_sequences(4)))
[(True, True, False)]
[(True, True, True, False, False), (True, True, False, True, False)]
[(True, True, True, True, False, False, False), (True, True, True, False, True, False, False), (... | {
"domain": "codereview.stackexchange",
"id": 29926,
"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, python-3.x, game",
"url": null
} |
You set $a_n = \frac{1}{n^3}$ and state correctly, that for some choice of $f(n)$ the expression $\sum_{n=1}^{\infty} f(n) a_n$ diverges, whereas it converges for the choice $f(n) := n$. But this is not a counterexample. I didn't claim, that $\sum_{n=1}^{\infty} f(n) a_n$ diverges if and only if $\sum_{n=1}^{\infty} n ... | {
"domain": "purdue.edu",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9840936054891429,
"lm_q1q2_score": 0.8135617859258556,
"lm_q2_score": 0.8267117898012104,
"openwebmath_perplexity": 310.4899091702273,
"openwebmath_score": 0.9311033487319946,
"tags": nul... |
power-spectral-density, linear-systems, autocorrelation, cross-correlation, stochastic
Title: Response of Linear System to Stochastic Process
Somehow I am getting the variance{u(n)} equal to '0' !! This is the case when I take the coefficient 'a' as real. As it is not mentioned in the question I need to find the solu... | {
"domain": "dsp.stackexchange",
"id": 5549,
"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": "power-spectral-density, linear-systems, autocorrelation, cross-correlation, stochastic"... |
thermodynamics
$$
Since the speed of sound at x = 0 is $\sqrt{\gamma rT_0}$ and we are assuming that $v_0$ is well below the speed of sound, we know that $\left( v_0 - \frac{rT_0}{v_0} \right) < 0 $.
Now we can apply this together with a boundary condition constraint. When $\Delta T = 0$ (no cooling) we know that $\De... | {
"domain": "physics.stackexchange",
"id": 85205,
"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",
"url": null
} |
mathematical-physics, differential-geometry, topological-field-theory, yang-mills
Title: The properity of $\mathbb{R}^4$ that has infinitely many differential structures is related to Yang-Mills field? I heard a saying that $\mathbb{R}^4$ having infinitely many differential structures which are not diffeomorphic to ea... | {
"domain": "physics.stackexchange",
"id": 13520,
"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, topological-field-theory, yang-mills"... |
ros, ros2, servo, ros-control
For example, I've been integrating the 3D printed Moveo robotic arm into the MoveIt2 stack. I ended up using a teensy 4.1 with micro-ros to control my motors, and the ros2 control stack with a custom hardware interface plugin to send the right joint positions to the teensy. Micro-ros is g... | {
"domain": "robotics.stackexchange",
"id": 37398,
"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, servo, ros-control",
"url": null
} |
statistical-mechanics, condensed-matter, terminology, gauge-theory, quantum-hall-effect
Right now, the gauge field $\boldsymbol{a}$ is not dynamical but is constrained in a very unnatural way. One way to make this better is by letting $\boldsymbol{a}$ be dynamical but constraining it using a Lagrange multiplier (which... | {
"domain": "physics.stackexchange",
"id": 92122,
"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": "statistical-mechanics, condensed-matter, terminology, gauge-theory, quantum-hall-e... |
ros, kinect, rviz, wireless, turtlebot
Here is my Rviz output from the console when I run Rviz on my workstation.
rosrun rviz rviz
[ INFO] [1329925027.700765660]: rviz revision number 1.6.7
[ INFO] [1329925027.700862731]: ogre_tools revision number 1.6.2
[ INFO] [1329925027.700885502]: compiled against OGRE version 1.... | {
"domain": "robotics.stackexchange",
"id": 8517,
"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, kinect, rviz, wireless, turtlebot",
"url": null
} |
go
for idx := range event.Records might as well be
for idx, record := event.Records, no need have an extra line to get
the actual item. And if you're never using it,
for _, record := event.Records even.
Errors are ignored? Consider logging them if don't error our
immediately.
user := make(map ...) I'd usually make t... | {
"domain": "codereview.stackexchange",
"id": 40714,
"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": "go",
"url": null
} |
dataset, lstm, bert
Title: Transformers (BERT) vs LSTM on Sentiment Analysis/NER - dataset sizes comparison I am aware (continuously learning) of the advantages of Transformers over LSTMs.
At the same time, I was wondering from the viewpoint of size of the data needed, contrast of those two techniques, supposing I wan... | {
"domain": "datascience.stackexchange",
"id": 9899,
"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": "dataset, lstm, bert",
"url": null
} |
thermodynamics, gas-laws
First of all, it is not given whether it is reversible of irreversible expansion.
If it is reversible, I am at wits end deciding whether to use one of the following (without success):
$$ pV^\gamma = \mathrm{constant} \quad \mathrm{or} \quad T^\gamma p^{1 - \gamma} = \mathrm{constant}$$
If... | {
"domain": "chemistry.stackexchange",
"id": 9201,
"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, gas-laws",
"url": null
} |
regular-languages
Now we will try to find an expression for the language $W$ of the $w_i$ without using star. That means we can use the star to count the odd number of $bb$, as in $(W\cdot bb\cdot W\cdot bb)^*\cdot W\cdot bb\cdot W$.
This is the tricky part. Strings from $W$ are either
the empty string $\varepsilon$
... | {
"domain": "cs.stackexchange",
"id": 16795,
"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",
"url": null
} |
python, python-3.x, playing-cards
chand.append(1)
cscore = sum(chand)
if cscore > 21:
pass
else:
computerPlay()
def winOrLose():
global cwins
global wins
global tokens
cscore = sum(chand)
score = sum(hand) | {
"domain": "codereview.stackexchange",
"id": 18006,
"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, playing-cards",
"url": null
} |
ros
Title: Camera of Turtlebot
which type of kinect camera is used with turtlebot ?
Originally posted by RiskTeam on ROS Answers with karma: 238 on 2012-10-13
Post score: 1
The original Kinect not Kinect For Windows.
Originally posted by tfoote with karma: 58457 on 2013-03-05
This answer was ACCEPTED on the origin... | {
"domain": "robotics.stackexchange",
"id": 11355,
"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
} |
meteorology, oceanography, temperature, remote-sensing
Title: Satellite ocean near-surface air temperature data For my study, I need to use satellite Sea Surface Temperature (SST) and at the same time I also need satellite air temperature data (Ta) for the first few meters above the ocean.
For SST I'll be using data... | {
"domain": "earthscience.stackexchange",
"id": 1292,
"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": "meteorology, oceanography, temperature, remote-sensing",
"url": null
} |
thermodynamics
Title: Partial derivative of the Gibbs free energy with respect to temperature at constant enthalpy I am trying to find the expression for $\left(\frac{\partial G}{\partial T}\right)_H$ as a function of the entropy $S$, temperature $T$, $C_p$ and $\alpha=\frac1V\left(\frac{\partial V}{\partial T}\right)... | {
"domain": "chemistry.stackexchange",
"id": 17949,
"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",
"url": null
} |
python, c++, programming-challenge
If we don't find common at position 0, find() will continue searching the rest of the string (the Python code is better here). We need an implementation of starts_with() (which is in C++20's std::string) - or better, we could use std::mismatch() to directly find how much of the stri... | {
"domain": "codereview.stackexchange",
"id": 39804,
"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, c++, programming-challenge",
"url": null
} |
cc.complexity-theory, np-hardness, directed-acyclic-graph, order-theory, topological-sorting
Title: Lexicographically minimal topological sort of a labeled DAG Consider the problem where we are given as input a directed acyclic graph $G = (V, E)$, a labeling function $\lambda$ from $V$ to some set $L$ with a total ord... | {
"domain": "cstheory.stackexchange",
"id": 3288,
"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, directed-acyclic-graph, order-theory, topologic... |
programming-challenge, clojure, lisp, palindrome
Title: PE4: Largest Palindrome Product (Clojure)
I solved Project Euler 4 using Clojure Lisp.
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99.
Find the largest palindrome made from ... | {
"domain": "codereview.stackexchange",
"id": 21538,
"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": "programming-challenge, clojure, lisp, palindrome",
"url": null
} |
Moreover observe that: $|x+i|=|x-i|$
Putting everything together you get:
$\frac{i}{2}(\ln(x+i)-\ln(x-i)-i\pi)=\begin{cases}\stackrel{x\ge0}=\frac{i}{2}(2i\arctan\frac{1}{x}-i\pi)&=-\arctan\frac{1}{x}+\frac{\pi}{2}=\\\stackrel{x<0}=\frac{i}{2}(2i\pi+2i\arctan\frac{1}{x}-i\pi)&=-\arctan\frac{1}{x}-\frac{\pi}{2}=\end{c... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9728307708274402,
"lm_q1q2_score": 0.8600206263052341,
"lm_q2_score": 0.8840392924390585,
"openwebmath_perplexity": 594.3061705862987,
"openwebmath_score": 0.9511680603027344,
"tag... |
performance, beginner, vba, excel, macros
Title: Improving Speed of VBA Code - Copy/paste two sets of variable, Excel does a calculation, returns a value then copy/paste the output value I am attaching the code here. I am very new to VBA and trying to do a complex calculation using Macro. Please help me improve the sp... | {
"domain": "codereview.stackexchange",
"id": 41375,
"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": "performance, beginner, vba, excel, macros",
"url": null
} |
1. distance formula
$$\sqrt{(x_1-x_3)^2 + (y_1-y_3)^2} = \sqrt{(x_4-x_3)^2 + (y_4-y_3)^2} = \sqrt{(x_2-x_3)^2 + (y_2-y_3)^2}$$
• Sorry for the late reply. Your solution may seem simple. However, it is easier to calculate this using the vector in the answer above. You just need to know how to work with vectors. Thank ... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9843363508288306,
"lm_q1q2_score": 0.8159545974837483,
"lm_q2_score": 0.8289388040954684,
"openwebmath_perplexity": 209.0032252212064,
"openwebmath_score": 0.8805243372917175,
"tag... |
peak amplitude and peak. The ratio t1/T is the pulse signal duty-cycle. 494 m/s North. Several questions might immediately come to mind. Maintaining a body fat percentage from 6 to 9 percent. N = 2(72 h/0. The displacement due to acceleration is represented by the green triangle. 175 * 10 -3 * d 4 / (f t c vavg),. the ... | {
"domain": "freccezena.it",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9833429590144717,
"lm_q1q2_score": 0.8798849102566718,
"lm_q2_score": 0.894789454880027,
"openwebmath_perplexity": 1900.9799295418693,
"openwebmath_score": 0.6601222157478333,
"tags": ... |
angular-momentum, astrophysics, stars, solar-system, galaxies
Title: Do solar systems typically spin in the same direction as their galaxy? Is the net angular momentum vector of our solar system pointing in roughly the same direction as the Milky Way galaxy's net angular momentum vector? If yes or no, is that common f... | {
"domain": "physics.stackexchange",
"id": 24643,
"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": "angular-momentum, astrophysics, stars, solar-system, galaxies",
"url": null
} |
electrochemistry, oxidation-state
Title: Oxidation states of Thiosulphate
I was given this question and don't understand why the two sulphur atoms have different oxidation states - and how to actually figure it out. Could someone please explain it to me? I've attached the reasoning that was provided but it isn't very... | {
"domain": "chemistry.stackexchange",
"id": 17808,
"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": "electrochemistry, oxidation-state",
"url": null
} |
reference-request, books
Title: Book containing many important CS papers Several years ago my professor gave me a book that contained the most important computer science papers, including Von Neuman's paper on architectures and Dijkstra's Go-To paper. The book was an older, blue hard-cover.
Sadly, it got lost somewher... | {
"domain": "cs.stackexchange",
"id": 7304,
"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, books",
"url": null
} |
c++, multithreading, quick-sort
Title: Concurrent quicksort in C++ I have a task to write a concurrent version of quicksort algorithm, to speed it up. This is what I wrote:
template <class T>
void quicksort::sort(T *data, int len) {
thread_count = 0;
int p = 0;
int r = len - 1;
_sort(data, p, r);
}
te... | {
"domain": "codereview.stackexchange",
"id": 32392,
"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++, multithreading, quick-sort",
"url": null
} |
algorithms, mutual-exclusion
Now the communication channel consists of the lower 31 bits. You can send anything you please across this, including requests to acquire or release a "mutex." If you want to acquire it, you simply have to wait for it to be your turn to read, send a "request mutex" message, and wait for t... | {
"domain": "cs.stackexchange",
"id": 5431,
"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, mutual-exclusion",
"url": null
} |
quantum-mechanics, operators, integration, time-evolution
Title: Time evolution operator in QM I am reading a introduction to quantum mechanics right now. There is a part about the time evolution operator:
\begin{align*}
i\hbar \partial_t \,\psi(\vec r, t) = \hat H(t)\, \psi(\vec r,t)
\end{align*}
is the time dependen... | {
"domain": "physics.stackexchange",
"id": 52554,
"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, integration, time-evolution",
"url": null
} |
astronomy, telescopes, observational-astronomy, instrument, infrared-radiation
Title: Particular targets of high angular resolution infrared telescopes I work in the field of infrared interferometry, specifically instrumentation.
As such, I need to be aware of the science goals of such an instrument. Is there a quick ... | {
"domain": "physics.stackexchange",
"id": 3081,
"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": "astronomy, telescopes, observational-astronomy, instrument, infrared-radiation",
... |
java, object-oriented, api
return null;
}
I simplified the if/else code flow to take advantage of early returns. getUpdateAttribute is also generic over T because your attributes can be various types, like Integer and String. Finally, I made it private so your public attribute fetchers are the only interface exposed.... | {
"domain": "codereview.stackexchange",
"id": 38626,
"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, object-oriented, api",
"url": null
} |
# Dynamic Programming for a variant of the coin exchange problem
I am interested in solving a variant of the coin exchange problem. Recall the formal definition of the coin exchange problem:
Given a value N, if we want to make change for N cents, and we have infinite supply of each of S = {S1, S2, .. , Sm} integral-v... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9793540647413312,
"lm_q1q2_score": 0.828477166417165,
"lm_q2_score": 0.845942439250491,
"openwebmath_perplexity": 375.4620596959602,
"openwebmath_score": 0.753157377243042,
"tags":... |
quantum-mechanics, operators, notation
Title: What is the meaning of the notation $A^{\dagger}A\le I$, where $A$ is an operator? I see this notation a lot (for example in [0] after eq. 1), but I cannot find a reference which explains what it means. I suspect it means the eigenvalues are less than or equal to 1, but h... | {
"domain": "physics.stackexchange",
"id": 44392,
"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, notation",
"url": null
} |
javascript, random
function colourRun() {
var colours = [];
var base = startcolour();
colours.push(base);
var contrast = contrastcolour(base);
colours.push(contrast);
return colours;
}
Sample output (aka colours):
['#123abc','#edc543']
I then do the following with jQuery to set CSS properties of HTML co... | {
"domain": "codereview.stackexchange",
"id": 29965,
"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, random",
"url": null
} |
chemistry
I'd like to know if there's a way to change hardened or sticky rubber back into its original condition. The only thing I tried so far, is heating it up gently with a hot air gun to ~60°C which makes hard rubber more malleable.
I understand there are different kinds of synthetic rubbers, made of different pol... | {
"domain": "engineering.stackexchange",
"id": 2775,
"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": "chemistry",
"url": null
} |
lagrangian-formalism, string-theory, fermions, action
The Green-Schwarz superstring: This formulation is closer to the geometric interpretation of the bosonic action. Instead of considering the embedding of a worldsheet $\Sigma$ into ordinary Minkowski space $\mathbb{R}^{25,1}$, we turn to supergeometry, both the worl... | {
"domain": "physics.stackexchange",
"id": 38636,
"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": "lagrangian-formalism, string-theory, fermions, action",
"url": null
} |
everyday-chemistry
Title: Real life chemistry :boiling carrot dices This morning I was boiling carrot dices. And saw something quite interesting happening to the dices.
The water is not boiling. But before it boils, the dices started gathering at the center of the pot.
Any one has any answer as to why this happened? ... | {
"domain": "chemistry.stackexchange",
"id": 2149,
"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",
"url": null
} |
c#, cache, lazy, azure
// We know for sure that the key exists at this point:
// Two concurrent callers tried to get it, and this thread
// happened to be deadlock victim.
That state is probably not true, because the cache item with that key might have expired between the exception and the cal... | {
"domain": "codereview.stackexchange",
"id": 8986,
"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#, cache, lazy, azure",
"url": null
} |
electricity, acoustics
Title: What is the source of high-frequency squeal in faulty CRT monitors and TV, and what is physics of generating this sound? Sometimes old faulty CRT monitors generate nasty high-frequency squeal sound. What element might be responsible for generating such sound? I have heard that it might ... | {
"domain": "physics.stackexchange",
"id": 670,
"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": "electricity, acoustics",
"url": null
} |
fft, correlation
Title: Can FFT Substitute Correlation for This Case? I'm trying to determine frequency of a repeating pattern in a time series. The sampling rate 100Hz and the pattern repeats itself with periods between 0.5 second and 1.25 second. This corresponds to a frequency range between 0.8Hz and 2Hz. At each s... | {
"domain": "dsp.stackexchange",
"id": 408,
"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": "fft, correlation",
"url": null
} |
complexity-theory, graphs, strings
In order to force that any solution must have exactly one 1 in each of the positions $2(i-1)+1,2(i-1)+2$, we ask that it have distance $n$ from the strings $(00)^n$ and $(00)^{i-1}(11)(00)^{n-i}$ for $1 \leq i \leq n$. In order to force any solution to satisfy all clauses, for every ... | {
"domain": "cs.stackexchange",
"id": 10182,
"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": "complexity-theory, graphs, strings",
"url": null
} |
c++, c++11, queue, lock-free
Title: Lock-free, multiple consumer, multiple producer queue I'm implementing a lock-free, multiple consumer, multiple producer FIFO queue/pipe as an exercise in thinking about atomicity in operations.
My main concern is correctness of operation, my second concern is good practices around ... | {
"domain": "codereview.stackexchange",
"id": 13564,
"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++11, queue, lock-free",
"url": null
} |
$\int^{\infty}_{-\infty} f \big(x - \frac{a}{x} \Big) \ dx = \lim_{b \to 0^{-}} \int^{b}_{-\infty} f \big(x - \frac{a}{x} \Big) \ dx + \lim_{ b \to 0^{+}} \int^{\infty}_{0} f \big(x - \frac{a}{x} \Big) \ dx$
let $u = x - \frac{a}{x}$
$x^{2} - ux - a =0$
if $x<0, \ x = \frac{u - \sqrt{u^{2} + 4a}}{2}$
and $dx = \fra... | {
"domain": "mathhelpforum.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9736446448596305,
"lm_q1q2_score": 0.8176024885410352,
"lm_q2_score": 0.8397339756938819,
"openwebmath_perplexity": 984.7928109866992,
"openwebmath_score": 0.9888980984687805,
"tag... |
temperature, estimation
$$T(r) = T_{\text{env}} - [T(0) - T_{\text{env}}] e^{-rt}$$
which is the solution to the differential equation I wrote above. The value of $T_{\text{env}}$ that the fit produces is your estimate (or, measurement) of the external temperature. This has the advantage that, as your thermometer coll... | {
"domain": "physics.stackexchange",
"id": 32574,
"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": "temperature, estimation",
"url": null
} |
Introducing notation $$A_i=|a_i|$$ the first of inequalities can be rewritten as: $$A_1+A_2+...+A_k\le n.\tag1$$ Any solution to $$(1)$$ can be viewed as composed of $$i$$ zeros ($$0\le i\le k$$) and $$k-i$$ non-zeros. Each non-zero value doubles the number of solutions to original equation (which can be both positive ... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9869795114181105,
"lm_q1q2_score": 0.8609889954732668,
"lm_q2_score": 0.8723473846343394,
"openwebmath_perplexity": 102.37634690405126,
"openwebmath_score": 0.9405272006988525,
"ta... |
java, beginner, swing, calculator
public class VelocityCalculator {
private static int askInt(Scanner scanner, String prompt) {
System.out.print(prompt);
return scanner.nextInt();
}
private static double askDouble(Scanner scanner, String prompt) {
System.out.print(prompt);
... | {
"domain": "codereview.stackexchange",
"id": 22011,
"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, beginner, swing, calculator",
"url": null
} |
machine-learning, class-imbalance, model-evaluations
Title: Macro and micro average for imbalanced binary classes Micro and macro averaging are metrics for multi-class classification. However, for binary classification when data are imbalanced, it seems that micro and macro precision have different results. My questio... | {
"domain": "datascience.stackexchange",
"id": 8578,
"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, class-imbalance, model-evaluations",
"url": null
} |
java, beginner
Of cause we could simplify this a little more if we introduce some more parameterized methods:
private static int getRowOwner(int rowIndex, int[][] tickTackToeFields){
int lineOwner =0;
for(int linePosition=0; linePosition<ROWS; linePosition++){
lineOwner += tickTackToeFields[rowIndex, line... | {
"domain": "codereview.stackexchange",
"id": 24500,
"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, beginner",
"url": null
} |
javascript, jquery
Title: Multi-Functional Event Delegate I'm pretty new to JQuery, maybe a week's worth of experience, but I'm having a lot of fun so far. One of the things I thought I would give a shot is attempting to implement a custom CMS for my current project. And it's going fairly well. So well in fact, that I... | {
"domain": "codereview.stackexchange",
"id": 2527,
"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",
"url": null
} |
Laughing Meaning In Urdu, Refill Shop Bangkok, Solvite Paste The Wall Pink, Toilet Paper Italy, 99 In Asl, Laughing Meaning In Urdu, Incident At Vichy Characters, Monroe Interior Door, What Is A Good Wei Score Windows 10, Cabinet Door Styles, | {
"domain": "konjac-info.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9835969694071562,
"lm_q1q2_score": 0.8259597936007247,
"lm_q2_score": 0.8397339756938818,
"openwebmath_perplexity": 671.8061718016517,
"openwebmath_score": 0.8292139172554016,
"tags"... |
• +1 though irritated that you just scooped me! Apr 20, 2016 at 17:16
• Thanks for the answer. I have made an appropriate system of equations and solved it but my results differ from those from the answers in my textbook. I got $3x^3-2x^2+3x+1$ (confirmed by WolframAlpha: m.wolframalpha.com/input/?i=%28x^2-x-3%29%28ax%... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9805806489800367,
"lm_q1q2_score": 0.8234268730912249,
"lm_q2_score": 0.8397339616560072,
"openwebmath_perplexity": 151.83170353068138,
"openwebmath_score": 0.8098533749580383,
"ta... |
c++, performance, matrix, template, c++17
Creating Operators.
Normally you implement operator+ in terms of operator+=.
Vector operator+(Vector vec) const{ return add(vec); }
But you should also pass the parameter by const reference to avoid a copy.
Vector& operator+=(Vector const& vec)
{
... | {
"domain": "codereview.stackexchange",
"id": 26182,
"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, matrix, template, c++17",
"url": null
} |
inorganic-chemistry, reaction-mechanism, experimental-chemistry, synthesis
Even if you were to add aqueous ammonium oleate, doing so post-decanting doesn't seem logical; normally, surfactants are added as soon as the magnetite has fully precipitated, without stopping the stirring, because you'd want the surfactants to... | {
"domain": "chemistry.stackexchange",
"id": 16828,
"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, reaction-mechanism, experimental-chemistry, synthesis",
"... |
199
singerpairs = Subsets[Range[1, 8], {2}]
dancerpairs = Subsets[Range[6, 10], {2}]
Count[Union @@@ Tuples[{singerpairs, dancerpairs}], {_, _, _, _}]
(* 199 *)
I'm going to argue that the count of 155 is alternative number of unique 4-person ensembles such that at least 2 persons can sing and at least 2 persons ca... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9511422186079558,
"lm_q1q2_score": 0.8046115610949548,
"lm_q2_score": 0.8459424314825853,
"openwebmath_perplexity": 3210.340070276339,
"openwebmath_score": 0.19547855854034424,
"ta... |
soft-question, education
Title: Physics Equivalent of Physical Chemistry (P-Chem) Before I take P-Chem I would like to understand how physicists view the same material. What Physics course(s) should I take and/or books should I read to learn the same material from a physicist's perspective? Would thermodynamics be equ... | {
"domain": "physics.stackexchange",
"id": 1267,
"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": "soft-question, education",
"url": null
} |
) is not surjective not... Find the inverse using these steps ( x ) =x 3 is a function. F 1 is invertible and f is bijective if it is clear that! See surjection and injection for proofs ) of third degree: f ( x ) =x is. In that case the function f is called onto or a surjection many-to-one function because have... Way,... | {
"domain": "getreal.life",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9808759598948641,
"lm_q1q2_score": 0.8590384092761343,
"lm_q2_score": 0.8757869948899665,
"openwebmath_perplexity": 386.2039660274943,
"openwebmath_score": 0.7508097887039185,
"tags... |
reinforcement-learning, value-functions, convergence, reward-functions, double-dqn
following: https://arxiv.org/abs/1707.06887. There have been multiple follow-up papers too, the most recent of which I believe (but may be wrong here) to be this one: https://arxiv.org/abs/1806.06923. In general, I do know Marc Bellemar... | {
"domain": "ai.stackexchange",
"id": 789,
"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": "reinforcement-learning, value-functions, convergence, reward-functions, double-dqn",
"u... |
c#, strings, formatting
This is bad. Having a public setter for the dictionary will let a user of that code pass in null resulting in the Format() method throwing a NullReferenceException.
You don't check the passed in parameters of the Format() method if they are valid. By omiting the validation of the arguments y... | {
"domain": "codereview.stackexchange",
"id": 20289,
"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, formatting",
"url": null
} |
thermodynamics, pressure
Explicitly,
$$dU = TdS - pdV$$
$$dT = \left(\frac{\partial T}{\partial S}\right)_V dS + \left(\frac{\partial T}{\partial V}\right)_S dV$$
where we've defined $\alpha \equiv \left(\frac{\partial T}{\partial S}\right)_V$ and $\beta \equiv \left(\frac{\partial T}{\partial V}\right)_S$ for conveni... | {
"domain": "physics.stackexchange",
"id": 51274,
"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, pressure",
"url": null
} |
bash, shell
Style issues
Good job, double-quoting almost every variable you used. A lot of shell programmers neglect to do so.
Good job, breaking the program up into functions. A lot of shell programmers don't.
Indent your code consistently. It's hard to see where your functions begin and end.
Make use of case to ... | {
"domain": "codereview.stackexchange",
"id": 6772,
"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": "bash, shell",
"url": null
} |
inorganic-chemistry, solubility, solutions, color
Commercial copper(I) iodide or a sample that has become discolored ($\pu{3.80g}$, $\pu{0.02 mole}$) placed in a 250-mL Erlenmeyer flask is dissolved with magnetic stirring and moderate heating by the addition of a minimum volume (about $\pu{125 mL}$) of $\pu{ 3.5 M}$ p... | {
"domain": "chemistry.stackexchange",
"id": 11155,
"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, solubility, solutions, color",
"url": null
} |
molecular-biology, proteins, molecular-genetics, transcription, transcription-factor
Figure 3: A more detailed depiction of Zif268-DNA interaction. Reproduced from Durai et al. (2005) [4].
References:
Pabo, Carl O., and Robert T. Sauer. "Transcription factors: structural families and principles of DNA recognition." ... | {
"domain": "biology.stackexchange",
"id": 4507,
"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-biology, proteins, molecular-genetics, transcription, transcription-facto... |
electromagnetism, notation, integration
I don't understand what the integrals on the last expression mean. For example, in
$$\int_C V(x,y,z) \, dx$$
how is this a an "ordinary scalar integral" if $C$ is a line that can possibly be outside of the $xx$ axis. The differential element $dl$ is a projector over the path, an... | {
"domain": "physics.stackexchange",
"id": 13415,
"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, notation, integration",
"url": null
} |
homework-and-exercises, newtonian-mechanics, forces
Title: Simple derivation of the tension of a cord on a suspended mass Just wanted to disclaim this problem -- it is homework. However, I am not asking for the solution, I am wondering if anyone can tell me what I may be doing wrong in solving this specific tension pr... | {
"domain": "physics.stackexchange",
"id": 4880,
"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, newtonian-mechanics, forces",
"url": null
} |
noise, graph-states
Title: Graph States subjected to finite erasures The appendix to the paper Graph States as a Resource for Quantum Metrology states that when graph states subjected to finite erasures, $$G\Rightarrow Tr_\vec{y}G.$$ While more explicitly he explains the formula as
$$G_\vec{y} = \mathrm{const}\times\s... | {
"domain": "quantumcomputing.stackexchange",
"id": 2635,
"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": "noise, graph-states",
"url": null
} |
iterator, rust
//! Provides the `Single` trait for extracting the element from a
//! single-element iterator.
use std::{fmt, error, result};
type Result<T> = result::Result<T, Error>;
/// Extract the element from a single-element iterator.
pub trait Single: Iterator {
/// Get the single element from a single-el... | {
"domain": "codereview.stackexchange",
"id": 25975,
"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": "iterator, rust",
"url": null
} |
machine-learning
Title: what are the top level subsets/domains of ML? I'm not really happy with the mind maps I've been able to find on Google, most of them are algorithm based. I want to make a good one that is problem/solution domain based. Do I have this right for my top level nodes? Here is the general directio... | {
"domain": "datascience.stackexchange",
"id": 2133,
"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",
"url": null
} |
c, linked-list
Title: Double Linked List Implementation Review I've written a double-linked list library for another program I'm working on. I want to be particular about this library because I will be using it in another library, which will be used the program I'm currently working on.
I'm including the header file, ... | {
"domain": "codereview.stackexchange",
"id": 4062,
"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",
"url": null
} |
neural-network, rnn
The purpose of the forget gate is to remove previously-learned information that is no longer relevant. The example given in the blog is language-based, but we can also think of a sliding window. If you're modelling a time series that is naturally represented by integers, like counts of infectious i... | {
"domain": "datascience.stackexchange",
"id": 1725,
"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": "neural-network, rnn",
"url": null
} |
formal-languages, regular-languages
With this notation, we see that $uxv \in L$ is equivalent to saying that $xv \in \partial_u L$. This means that we can rewrite the definition of $\equiv_S$ as
$$x \equiv_S y \Leftrightarrow \forall u \in \Sigma^*. \forall v \in \Sigma^*. (xv \in \partial_u L \leftrightarrow yv \in \... | {
"domain": "cs.stackexchange",
"id": 16835,
"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": "formal-languages, regular-languages",
"url": null
} |
time-complexity, linear-programming
Title: Linear Programming Problem - what is feasible size for solution on a PC I need to get feeling for the feasible size of a LPP, that can be solved on a PC.
Say, its a good one (8 cores @ 3+GHz, 64GB RAM).
We also assume that number of variables is close to the number of additi... | {
"domain": "cs.stackexchange",
"id": 16518,
"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": "time-complexity, linear-programming",
"url": null
} |
ros, turtlebot, rosparam, turtlebot-calibration
[INFO] [WallTime: 1319602992.944040] Odom error: 10.873612 percent
[INFO] [WallTime: 1319602992.945559] Imu error: -40.384878 percent
[INFO] [WallTime: 1319602993.247454] Still waiting for imu
[INFO] [WallTime: 1319602993.549394] Still waiting for imu
[INFO] [WallTime: 1... | {
"domain": "robotics.stackexchange",
"id": 7092,
"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, turtlebot, rosparam, turtlebot-calibration",
"url": null
} |
visible-light, spacetime, astronomy, gravitational-lensing
Title: Does the Sun cause star to appear in the sky on two different positions? So, I was reading A brief history of time and it was talking about the sun bending the light of a star causing it to appear on a different place from where it actually was located.... | {
"domain": "physics.stackexchange",
"id": 53878,
"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": "visible-light, spacetime, astronomy, gravitational-lensing",
"url": null
} |
Vector Space. norm (x) # Expected result # 2. 47722557505 Python Code Editor: Have another way to solve this solution? Contribute your code (and comments) through Disqus. Norm (x, p) for finite p is defined as sum (abs (A)^p)^ (1/p). Determine a vector whose orthogonal projection on the vector (1,1,1) has a norm equal ... | {
"domain": "babyslove.de",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9859363750229257,
"lm_q1q2_score": 0.8299865329213281,
"lm_q2_score": 0.8418256532040707,
"openwebmath_perplexity": 753.3848851755552,
"openwebmath_score": 0.9124736785888672,
"tags": n... |
ros, gazebo, simulation, simulator-gazebo, gazebo-worlds
Unfortunately, the material system has no detailed documentation that I'm aware of, so I don't know exactly what I have to do differently. The example is available in the hector_gazebo_worlds package and can be started using
roslaunch hector_gazebo_worlds rollin... | {
"domain": "robotics.stackexchange",
"id": 8006,
"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, simulation, simulator-gazebo, gazebo-worlds",
"url": null
} |
the period of a pendulum through the relationship: T= (m/k)^.5. One thing to note The mass itself doesn't, but the distribution of mass does, and the string Mass affects the period of a pendulum through the relationship: T= (m/k)^.5 Where : k= stiffness (Newtons/meter) m= mass (kg) T=Time period (second Repeat this thr... | {
"domain": "hupik.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9683812290812827,
"lm_q1q2_score": 0.8090665765208191,
"lm_q2_score": 0.8354835391516132,
"openwebmath_perplexity": 317.57673166901344,
"openwebmath_score": 0.8487790822982788,
"tags": nul... |
transform, control, ros-control, ros-humble, tf2-ros
There is the config for the controller
controller_manager:
ros__parameters:
update_rate: 50 # Hz
diff_controller:
type: diff_drive_controller/DiffDriveController
joint_state_broadcaster:
type: joint_state_broadcaster/JointStateBroadcaste... | {
"domain": "robotics.stackexchange",
"id": 38534,
"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": "transform, control, ros-control, ros-humble, tf2-ros",
"url": null
} |
machine-learning, word2vec
Title: Using word2vec with mixed language data I scraped my Facebook chat history and wanted to try out some basic machine learning stuff with word2vec. However, the data has all sorts of stuff - links, emoji, Cyrillic alphabet, etc. Even if I manage to clear some of those, would it be possi... | {
"domain": "datascience.stackexchange",
"id": 1710,
"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, word2vec",
"url": null
} |
python, datetime, numpy, finance
print('Home value after {:.0f} years: {:,.2f}'.format(print_ten/12, home_value[print_ten]))
print('Debt after {:.0f} years: {:,.2f}'.format(print_ten/12, debt[print_ten]))
print('Equity after {:.0f} years: {:,.2f}'.format(print_ten/12, home_value[print_ten] - debt[print_ten]))
... | {
"domain": "codereview.stackexchange",
"id": 32599,
"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, datetime, numpy, finance",
"url": null
} |
GMAT Question of the Day - Daily to your Mailbox; hard ones only
It is currently 19 Jun 2018, 16:38
### GMAT Club Daily Prep
#### Thank you for using the timer - this advanced tool can estimate your performance and suggest more practice questions. We have subscribed you to Daily Prep Questions via email.
Customize... | {
"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.817574478416099,
"lm_q2_score": 0.817574478416099,
"openwebmath_perplexity": 9029.463349440566,
"openwebmath_score": 0.7271284461021423,
"tags": null,
"url": "ht... |
We can visualize the sum of covariances in $$i$$ and $$j$$ as follows
$$\left| \begin{array}{ccccc} \operatorname{Cov}(1,1) & \operatorname{Cov}(1,2) & \cdots & \operatorname{Cov}(1,n-1) & \operatorname{Cov}(1,n)\\ \operatorname{Cov}(2,1) & \operatorname{Cov}(2,2) & \cdots & \operatorname{Cov}(2,n-1) & Cov(2,n)\\ \vdo... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9828232950125848,
"lm_q1q2_score": 0.8253101070125859,
"lm_q2_score": 0.8397339696776499,
"openwebmath_perplexity": 653.6389627196712,
"openwebmath_score": 0.9977964162826538,
"tag... |
electromagnetism, electrostatics, classical-electrodynamics
$$
emf_{due~to~cap} + emf_{due~to~induced~E} ~= RI
$$
where $R$ is Ohmic resistance of the circuit.
One may wonder why on the left-hand side there are emfs due to capacitor and induced electric field in the loop, but no emf due to a possible resistor in serie... | {
"domain": "physics.stackexchange",
"id": 55287,
"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, electrostatics, classical-electrodynamics",
"url": null
} |
1) 1 = a + a/x
2) 1 - a = a/x
3) x/a = 1/(1-a)
4) x = a/(1-a)
#2) (6x-a)/(x-3) = 3
1) 6x - a = 3x - 9
2)
3x - a = -9
3) 3x = a - 9
4) x = a/3 - 3
However, I don't really know how to express "x" as a no solution value to be solved for, so I may have made errors in my steps. If someone could lend me some insight... | {
"domain": "mathhelpforum.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9585377272885903,
"lm_q1q2_score": 0.8458403986436484,
"lm_q2_score": 0.8824278633625322,
"openwebmath_perplexity": 616.4062589540704,
"openwebmath_score": 0.6544911861419678,
"tag... |
gears
Case 1, Sun fixed: $$\frac{\omega_c}{\omega_r}=\frac{n}{1+n} =\frac{R}{R+S}$$
Case 2, Carrier fixed: $$\frac{\omega_r}{\omega_s}=-\frac{1}{n}=-\frac{S}{R}$$
Case 3, Ring Fixed: $$\frac{\omega_c}{\omega_s}=\frac{1}{1+n} =\frac{S}{R+S}$$
In your example, $n=62/18 = 3.44$, so Case 1 is 31:40, Case 2 is 9:31, and Ca... | {
"domain": "engineering.stackexchange",
"id": 1638,
"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": "gears",
"url": null
} |
slam, navigation, stageros, slam-gmapping, gmapping
header:
seq: 259
stamp:
secs: 26
nsecs: 0
frame_id: base_laser_link
angle_min: -2.35837626457
angle_max: 2.35837626457
angle_increment: 0.00436736317351
time_increment: 0.0
scan_time: 0.0
range_min: 0.0
... | {
"domain": "robotics.stackexchange",
"id": 24281,
"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": "slam, navigation, stageros, slam-gmapping, gmapping",
"url": null
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.