text stringlengths 1 1.11k | source dict |
|---|---|
sum of the proper divisors (divisors including 1 but not itself) of the number is greater than the number, but no subset of those divisors sums to the number itself. In mathematics, the least common multiple, also known as the lowest common multiple of two (or more) integers a and b, is the smallest positive integer th... | {
"domain": "costruzionipallotta.it",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9777138157595305,
"lm_q1q2_score": 0.8147529779430526,
"lm_q2_score": 0.8333246035907932,
"openwebmath_perplexity": 507.1189965819911,
"openwebmath_score": 0.37257230281829834,
... |
In the other direction, John Wermer showed in Annals of Math. 62, 1955, 267-270, that $A(f_{1}, f_{2}, f_{3})$ can be a proper subset of $C(I)$!
Here is how he did this:
Let E be an arc in C, of positive two-dimensional measure, and let $A_{E}$ be an algebra of all continuous functions on the Riemann sphere S (the on... | {
"domain": "nalinkpithwa.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9907319871663826,
"lm_q1q2_score": 0.8234399992803728,
"lm_q2_score": 0.8311430436757313,
"openwebmath_perplexity": 1159.8871346478657,
"openwebmath_score": 0.6786255240440369,
"tag... |
python, numbers-to-words
Title: Converting numbers to text This code seems to work fine but I am sure this reads very amateurish. I would appreciate your comments as to how to make this code more "professional":
def nToTxt(n):
nums = {0:"", 1:'one', 2: 'two', 3: 'three', 4: 'four', 5: 'five', 6: 'six', 7:
'sev... | {
"domain": "codereview.stackexchange",
"id": 44213,
"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, numbers-to-words",
"url": null
} |
discrete-signals, frequency-spectrum, frequency
lay in the mastery of symmetria
With the $[-0.5,\,0.5]$ interval, you only have one number to remember, and the DC or $0$ frequency in the middle better underlines symmetry in quantities related to spectra.
Actually, beauty and simplicity put aside, the notion of "prin... | {
"domain": "dsp.stackexchange",
"id": 4165,
"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": "discrete-signals, frequency-spectrum, frequency",
"url": null
} |
inorganic-chemistry, crystal-structure, molecules, solid-state-chemistry, pnictogen
Title: What is the structure of N₅P₃? What is the structure of the molecule $\ce{N5P3}$? $\ce{N5P3}$ is not documented online, so could anyone please comment on the structure of the molecule:
How many ligands does each phosphorous at... | {
"domain": "chemistry.stackexchange",
"id": 11339,
"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, crystal-structure, molecules, solid-state-chemistry, pnicto... |
java, beginner, object-oriented, static
Due to the way your validateSecondNumber program logic is handled, if you enter a value above 6 multiple times then it will be accepted as a valid input after a few tries.
You should validate inputs as you receive them, so there is no confusion for the user, rather than getting ... | {
"domain": "codereview.stackexchange",
"id": 23503,
"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, object-oriented, static",
"url": null
} |
machine-learning, r, bigdata, apache-hadoop
I do not see how this can work when using a computer cluster for the computation. In case it is possible: How does it work? R+Hadoop themselves do not actually give you any massive direct benefit. You could use Hadoop streaming to run parallel R jobs across all the nodes on ... | {
"domain": "datascience.stackexchange",
"id": 1667,
"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, r, bigdata, apache-hadoop",
"url": null
} |
algorithms, data-structures
$A[i] \leftarrow A[i] + d$ for all $a\le i < b$. (Range update(a,b,d))
query value of $A[k]$. (Point query(k))
First, noting that after range update $A_1[i] \leftarrow A[i] + d, (a \le i \le b)$, we have $$\begin{align}A_1[a]-A_1[a-1]=&A[a]-A[a-1]+d\\A_1[b+1]-A_1[b]=&A[b+1]-A[b]-d\\A_1[i]-... | {
"domain": "cs.stackexchange",
"id": 5233,
"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, data-structures",
"url": null
} |
Let $U=\prod_{\alpha \in A} U_\alpha$ be a standard open set in the product space $X=\prod_{\alpha \in A} X_\alpha$ such that $x \in U$. Let $U^*=U \cap \Sigma$. We show that for some $n$, $t_j \in U^*$ for all $j \ge n$.
Let $F=supp(U)$ be the support of $U$. Let $F_1=F \cap C$ and $F_2=F \cap (A-C)$. Consider the fo... | {
"domain": "wordpress.com",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9910145691243959,
"lm_q1q2_score": 0.807907278620123,
"lm_q2_score": 0.8152324938410783,
"openwebmath_perplexity": 70.97457507235224,
"openwebmath_score": 0.982619047164917,
"tags"... |
c#, .net, tree
How can I simplify the search, make it more readable? If you extend the INode interface to also has a property returning a List<IDevice> like so
public interface INode : IRegister
{
string Name { get; set; }
string SystemName { get; }
List<IDevice> Devices { get; }
}
you could remove a ... | {
"domain": "codereview.stackexchange",
"id": 15933,
"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, tree",
"url": null
} |
object-oriented, vba, excel
Class: CollectionUtilities
'@Version(1)
'@Folder("Framework.Utilities")
Option Explicit
'@PredeclaredId
'Credits: https://jkp-ads.com/Articles/buildexceladdin02.asp
'@Ignore ProcedureNotUsed
Public Function IsIn(ByVal Collection As Variant, ByVal Name As String) As Boolean
'-------------... | {
"domain": "codereview.stackexchange",
"id": 37046,
"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": "object-oriented, vba, excel",
"url": null
} |
ros, pcl, publisher, pointcloud
<include file="$(find openni_launch)/launch/openni.launch">
<arg name="camera" value="overhead_kinect2"/>
<arg name="depth_registration" value="false" />
<!--<arg name="device_id" value="000000000000000"/>-->
<arg name="device_id" value="002@20"/>
</i... | {
"domain": "robotics.stackexchange",
"id": 17575,
"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, pcl, publisher, pointcloud",
"url": null
} |
ros, catkin-install, c++11, rospack
/opt/qnx/install/arm_catkin_ros/devel_isolated/rospack/lib/librospack.so: undefined reference to VTT for std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >' /opt/qnx/install/arm_catkin_ros/devel_isolated/rospack/lib/librospack.so: undefined referen... | {
"domain": "robotics.stackexchange",
"id": 28184,
"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, catkin-install, c++11, rospack",
"url": null
} |
bisect each other on.... Pythagorean Theorem with one mark have length 4 for you to calculate the areas of the other two of! Corners of a rectangle a rectangle are congruent, so one rectangle the point O rectangle! Trapezium ABCD with AB || DC intersect each other of triangles AOB and COD, shows! Bisecting or both, the... | {
"domain": "co.za",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9511422255326288,
"lm_q1q2_score": 0.8140361594054789,
"lm_q2_score": 0.8558511414521923,
"openwebmath_perplexity": 741.5422622618602,
"openwebmath_score": 0.5157669186592102,
"tags": null... |
ros, ros-melodic, hector-slam
Title: Hector Slam Error on Raspberry Pi 4 with ROS Melodic
I'm getting an error when I try to run catkin_make
Base path: /home/pi/catkin_ws
Source space: /home/pi/catkin_ws/src
Build space: /home/pi/catkin_ws/build
Devel space: /home/pi/catkin_ws/devel
Install space: /home/pi/catkin_ws/... | {
"domain": "robotics.stackexchange",
"id": 35575,
"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, ros-melodic, hector-slam",
"url": null
} |
algorithms, graphs
Title: Flow Problem in Tripartite Graph Given a Directed Tripartite graph with 3 Groups of vertices {A, B, C} such that:
Edges from A are directed in B.
Edges from B are directed in C.
Objective: Minimize the number of vertices in B (by keeping few and deleting the rest) such that every vertex in ... | {
"domain": "cs.stackexchange",
"id": 9158,
"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, graphs",
"url": null
} |
Therefore the congruence has solutions for primes $p \equiv 1,3,9,13,27,31,37,39 \pmod {40}.$
$x^2\equiv 10\mod{p}$ has a solution if $\left(\dfrac{2}{p} \right) = \left(\dfrac{5}{p} \right)$; that is, if the are both $1$ or both $-1$. This will give you a set of pairs of congruences modulo $5$ and $8$; now use the Ch... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9867771763033945,
"lm_q1q2_score": 0.8090520330540623,
"lm_q2_score": 0.8198933381139646,
"openwebmath_perplexity": 121.59723014211848,
"openwebmath_score": 0.8774980306625366,
"ta... |
nmr-spectroscopy
I know that chemically equivalent but magnetically inequivalent nuclei should be denoted as $\ce{AA'A''}$ or $\ce{BB'B''B'''}$, etc., whereas magnetically equivalent nuclei are denoted as $\ce{A3}$, etc.
But there seem to be many chemically nonequivalent protons in this molecule.
Should I just put do... | {
"domain": "chemistry.stackexchange",
"id": 4334,
"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": "nmr-spectroscopy",
"url": null
} |
galactus
Super Moderator
Staff member
You are looking for the probability the driver is from class A given they have an accident:
$$\displaystyle P(\text{class A}|\text{accident})$$
You can make a chart. Assume a number of drivers that is easy to work with. Say, 1000
Or, use Bayes Theorem. Do you know it?.
soroban... | {
"domain": "freemathhelp.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9763105314577313,
"lm_q1q2_score": 0.8615236298367881,
"lm_q2_score": 0.8824278772763471,
"openwebmath_perplexity": 1124.6799546791592,
"openwebmath_score": 0.6028389930725098,
"tag... |
robotic-arm, turtlebot, ros-hydro
Title: Ros hydro for ubuntu ARM and turtlebot
Hi all
I am installing the ros turltebot. I see in this website http://namniart.com/repos/status/hydro.html of libraries for ubuntu arm, it has ros-hydro-turtlebot-bringup or the other packages of turtlebot but when I typed command
sudo a... | {
"domain": "robotics.stackexchange",
"id": 16557,
"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": "robotic-arm, turtlebot, ros-hydro",
"url": null
} |
php, library, socket, child-process
2) Is there a preferred way to initialize class members in PHP? default arguments to the constructor, initialize the variables when they are declared or initialize in the constructor?
I don't know PHP well enough, but I would guess it's a matter of personal preference.
I prefer to ... | {
"domain": "codereview.stackexchange",
"id": 10738,
"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, library, socket, child-process",
"url": null
} |
quantum-mechanics
Title: Does decoherence need non-determinism? Consider standard quantum mechanics, but forget about the collapse of the wavefunction. Instead, use decoherence through interaction with the environment to bring the evolving quantum state into an eigenstate (rspt arbitrarily close by). Question: Can thi... | {
"domain": "physics.stackexchange",
"id": 323,
"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",
"url": null
} |
evolution, zoology, ecology, terminology, definitions
Invasive species: a species, often introduced by humans, that takes hold outside its native range.
However, some researchers argue that the dingoes, being isolated in Australia for a relatively long time, have a unique genetic profile. As this is controversial, le... | {
"domain": "biology.stackexchange",
"id": 6850,
"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": "evolution, zoology, ecology, terminology, definitions",
"url": null
} |
So apparently the new transformation matrix will also transform the new basis in the same manner?
$$Ta_1 = \begin{bmatrix} c \\ s \end{bmatrix} = \alpha \begin{bmatrix} 1 \\ 0 \end{bmatrix} + \beta \begin{bmatrix} 1 \\ 1 \end{bmatrix}$$ $$Ta_2 = \begin{bmatrix} c-s \\ c+s \end{bmatrix} = \gamma \begin{bmatrix} 1 \\ 0 ... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.977022630759019,
"lm_q1q2_score": 0.8265048998777966,
"lm_q2_score": 0.8459424314825853,
"openwebmath_perplexity": 153.79172598302574,
"openwebmath_score": 0.9997530579566956,
"tag... |
computational-physics, galaxies, models
$$
Once we generated a point $y$, the corresponding radius is
$$r=\left(\frac{3y}{4\pi}\right)^{1/3}.$$
There is an important consequence: there are likely more particles at large radii than around the centre, even though $\rho(r)$ is much larger at small radii. The reason is t... | {
"domain": "physics.stackexchange",
"id": 11251,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "computational-physics, galaxies, models",
"url": null
} |
c, a-star
d) Stop when you:
Add the target square to the closed list, in which case the path has been found (see note below), or
Fail to find the target square, and the open list is empty. In this case, there is no path.
3) Save the path. Working backwards from the target square, go from each square to its parent squa... | {
"domain": "codereview.stackexchange",
"id": 26074,
"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, a-star",
"url": null
} |
organic-chemistry, aromatic-compounds
You may also wish to review this table showing positions where common substituents direct:
Basing on the above explanations, it is easy to predict the products of electrophilic substitution of disubstituted benzene ring, the only thing you have to know is the effect of each sub... | {
"domain": "chemistry.stackexchange",
"id": 8332,
"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, aromatic-compounds",
"url": null
} |
python, python-2.x, interview-questions, finance
As a sidenote, you seem to assume that b is greater than (3.0*a+b)/4.0 (the reference code only says that s is not between (3.0*a+b)/4.0 and b). I don't see why it is necessarily the case. If it is so, the pythonic way to express it is
not (3.0*a+b)/4.0 < s ... | {
"domain": "codereview.stackexchange",
"id": 31055,
"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, interview-questions, finance",
"url": null
} |
Right hand Limit: $\displaystyle\lim_{t \to 0+} f(x) = \displaystyle\lim_{t \to 0} f(x+t)$.
Left Hand Limit: $\displaystyle\lim_{t \to 0-} f(x)= \displaystyle\lim_{t \to 0} f(x-t)$
The notation here is confusing: there are limits over $t$ of functions which don't involve $t$. Also $\lim_{t\to 0}f(x+t) = \lim_{t\to 0}f(... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9693241974031598,
"lm_q1q2_score": 0.8386826309961717,
"lm_q2_score": 0.865224073888819,
"openwebmath_perplexity": 487.40240120335545,
"openwebmath_score": 0.9503003358840942,
"tag... |
python, performance, postgresql, join
Using an inner join instead of a subquery to select only rows with test_phases.state = 'test'.
Selecting distinct emp_ids if test_test.emp_id does not have a unique constraint.
select distinct emp_id
from test_test
inner join test_phases on test_phases.id = test_test.ver_id
lef... | {
"domain": "codereview.stackexchange",
"id": 35069,
"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, performance, postgresql, join",
"url": null
} |
cmake, ignition-fortress
# find dependencies
find_package(ament_cmake REQUIRED)
find_package(rclcpp REQUIRED)
find_package(geometry_msgs REQUIRED)
find_package(ignition-cmake2 REQUIRED)
find_package(ignition-plugin1 REQUIRED COMPONENTS register)
set(IGN_PLUGIN_VER ${ignition-plugin1_VERSION_MAJOR})
# Find the Gazebo... | {
"domain": "robotics.stackexchange",
"id": 4693,
"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": "cmake, ignition-fortress",
"url": null
} |
data-structures
A set satisfies the second and third constraint but not the first, however a set has the property of retrieving its values, which I do not need. Is it maybe possible to achieve all three when this is not needed?
I know this is probably overkill for a programming problem but at this point I am just curi... | {
"domain": "cs.stackexchange",
"id": 19835,
"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-structures",
"url": null
} |
control-engineering, motors
One way to increase the speed of the feedback loop is to form some kind of a feed-forward system. Consider having a Kalman filter with state variables (velocity, inertia, external_torque). Then you can update that Kalman filter by both your velocity measurements when you get them, and more ... | {
"domain": "engineering.stackexchange",
"id": 1282,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "control-engineering, motors",
"url": null
} |
c++, beginner, c++11, programming-challenge
bool isNotAnUpperCaseLetter(const char character) const{
return character < 65 || character > 90;
}
void printNumberOfHolesInWord() const {
if(numberOfHoles == -1) {
std::cout << "Not all characters in that word are uppercase letters!\n";... | {
"domain": "codereview.stackexchange",
"id": 9219,
"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, c++11, programming-challenge",
"url": null
} |
runtime-analysis, search-algorithms, databases
Title: Approximate time for selection operation using index when equality is on nonkey In database query processing, the approximate time for selection operation using primary index when equality is on key is $2(b_s + b_t)$ where $b_s$ is disk seek time and $b_t$ is disk ... | {
"domain": "cs.stackexchange",
"id": 1286,
"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": "runtime-analysis, search-algorithms, databases",
"url": null
} |
fft, dft, window-functions, stft
detrend=False fixes the problem. For a sine, though, a better option is available - retrieving all sine parameters (frequency, phase, amplitude), using inverse problem solved from the sine DFT solution - the Two Bin Solution, which will be very accurate for such high SNR. It can also i... | {
"domain": "dsp.stackexchange",
"id": 12020,
"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, dft, window-functions, stft",
"url": null
} |
homework-and-exercises, waves, interference, diffraction
maxima will decrease, which doesn't make any sense to me. Could someone please give me some help on why my thinking is wrong and explain how I can go about understanding this. I interpret the question in such a way that (d.i), (d.ii), and (d.iii) are referencing... | {
"domain": "physics.stackexchange",
"id": 87395,
"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, waves, interference, diffraction",
"url": null
} |
velocity, vectors, speed
Title: How can I calculate the speed of an object knowing its horizontal and vertical velocity components? Let's say a ball is thrown and it experiences typical projectile motion (moves in a parabolic arc etc.) and the only information we know are the equations for the horizontal and vertical ... | {
"domain": "physics.stackexchange",
"id": 44907,
"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": "velocity, vectors, speed",
"url": null
} |
inorganic-chemistry, energy, periodic-trends, periodic-table
I don't know whether I am correct or not, as I just started learning. Please Can you explain in easy way and actual reason according to my calculation.
Where I am wrong with concept? too First, your Zeff calculations based on Slater's rules are correct, the... | {
"domain": "chemistry.stackexchange",
"id": 16754,
"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, energy, periodic-trends, periodic-table",
"url": null
} |
quantum-mechanics, solid-state-physics, crystals
Let's write out the matrix Schrodinger equation in $k$-space explicitly, not getting rid of any terms. Note that I am setting $v_0=0$ because it is an irrelevant offset:
$$
\begin{bmatrix}
\ddots & \vdots & & \vdots & & \vdots & \\
\cdots & \epsilon_{k-2g} & v_{-1... | {
"domain": "physics.stackexchange",
"id": 93471,
"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, solid-state-physics, crystals",
"url": null
} |
keras, tensorflow, accuracy, metric
But
What is the different between sparse_categorical_accuracy and val_sparse_categorical_accuracy
What does it mean if during the training sparse_categorical_accuracy is increasing but val_sparse_categorical_accuracy seems to be stucked The difference is simply that the first one i... | {
"domain": "datascience.stackexchange",
"id": 10194,
"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": "keras, tensorflow, accuracy, metric",
"url": null
} |
the inverse matrix is given by H-1G-1. About. A square … Then B^-1A^-1 is the inverse of AB: (AB)(B^-1A^-1) = ABB^-1A^-1 = AIA^-1 = A A^-1 = I Let C m n and C n be the set of all m n matrices and n 1 matrices over the complex field C , respectively. Khan Academy is a 501(c)(3) nonprofit organization. Pseudo inverse of a... | {
"domain": "edenwhitemusic.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9848109494088426,
"lm_q1q2_score": 0.8854645791795561,
"lm_q2_score": 0.899121379297294,
"openwebmath_perplexity": 350.9617148648594,
"openwebmath_score": 0.7859293818473816,
"tag... |
beginner, c, linked-list
node *prev = NULL;
node *curr = *head;
while (curr != NULL) {
if (curr->data == data) {
if (prev == NULL) {
*head = curr->next;
} else {
prev->next... | {
"domain": "codereview.stackexchange",
"id": 25997,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "beginner, c, linked-list",
"url": null
} |
c#, asp.net
/* Copy final string into div inner HTML */
pagerDiv.InnerHtml = finalString.ToString();
return pagerDiv.ToString();
}
private class PageNumber {
private const string cssClass = "page-numbers";
private const string href = "?page={0}";
private TagBuilder link = new T... | {
"domain": "codereview.stackexchange",
"id": 259,
"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#, asp.net",
"url": null
} |
algorithms
//skip the i-th element
int count1 = largestSubset(arr, i+1, subset, j);
//include the i-th element
subset[j] = arr[i];
int count2 = largestSubset(arr, i+1, subset, j+1);
return max(count1, count2); | {
"domain": "cs.stackexchange",
"id": 14527,
"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",
"url": null
} |
coordination-compounds
Title: Difference between coordination entity and coordination sphere What’s the difference between a coordination entity and a coordination sphere? Are they the same? Here in my book, the same example is given for both the coordination entity and coordination sphere.
(a) Coordination entity
A ... | {
"domain": "chemistry.stackexchange",
"id": 9942,
"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": "coordination-compounds",
"url": null
} |
c++, beginner, c++17, lexical-analysis
1,"""2,3"", a",4,-1.1,,"", 5,"asdf" unquote, remove_blanks, convert
1 : int
"2,3", a : string
4 : int
-1.1 : double
5 : int
asdf : string
Breaking down typical .csv file: delimited by ,using " as escape characters, and unquote, !remove_blanks,converting to type | {
"domain": "codereview.stackexchange",
"id": 36078,
"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, c++17, lexical-analysis",
"url": null
} |
c, unit-testing, makefile
The Makefile
.PHONY: all
all: util_gcd test_gcd
# This one makes the gcd utility: ./util/gcd or .\util\gcd.exe
util_gcd: util/gcd
util/gcd: obj/gcd.o obj/gcd_util.o
gcc obj/gcd.o obj/gcd_util.o -o util/gcd
obj/gcd_util.o: src/gcd_util.c
gcc -c src/gcd_util.c -o obj/gcd_util.o
# Th... | {
"domain": "codereview.stackexchange",
"id": 28908,
"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, unit-testing, makefile",
"url": null
} |
c#, unity-container
public void RegisterType<TInterface, TImplementation>()
where TInterface : class where TImplementation : class, TInterface
{
container.RegisterType<TInterface, TImplementation>();
}
I'm not sure whether TInterface is really ment to be an interface but if so, then you should probably ensure... | {
"domain": "codereview.stackexchange",
"id": 29500,
"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#, unity-container",
"url": null
} |
in any high level language. The transpose of matrix A is written A T. Transpose the matrix and put it into out. Transpose of a matrix is obtained by changing rows to columns and columns to rows. The normal matrix is the transpose of the inverse of the top-left 3x3 part of this 4x4 matrix. Rows become columns and vice v... | {
"domain": "maboan.de",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9777138105645058,
"lm_q1q2_score": 0.821019501314712,
"lm_q2_score": 0.8397339716830606,
"openwebmath_perplexity": 530.073518005604,
"openwebmath_score": 0.5283272862434387,
"tags": null,
... |
c++, heap
// for non-PODs, hold pointers to only 1 copy of data
// pointers are relatively small and easily swappable
template <typename T, typename Cmp>
class Heap_impl<T, Cmp, false>{
// in case raw pointer gets swapped out for std::shared_ptr
using TP = T*;
// hash on the data pointed to
struct TP_... | {
"domain": "codereview.stackexchange",
"id": 15162,
"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++, heap",
"url": null
} |
Any ideas
Thanks
Hi Amer!
Well... another sequence is $\zeta(2) = 1 + \dfrac 1 {2^2} + \dfrac 1 {3^2} + ... = \dfrac {\pi^2}{6}$
You can find more sequences like that on wiki.
#### zzephod
##### Well-known member
is there any sequnce which converges to $$\pi$$ such that each term of it less than pi
I know the sequnc... | {
"domain": "mathhelpboards.com",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9559813501370537,
"lm_q1q2_score": 0.814450984488491,
"lm_q2_score": 0.8519527963298946,
"openwebmath_perplexity": 1105.90020943054,
"openwebmath_score": 0.9532822370529175,
"... |
But if $\pi_i$ and $\bar{\pi}_i$ are relatively prime, that means $\pi_i\bar{\pi}_i=N(\pi_i)$ must divide $z$, which means that $N(\pi_i)$ must divide $p$ and $q$, so $p$ and $q$ would not be relatively prime.
So the only primes which can divide $q+pi$ can be the primes which are multiples of their complements. But th... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.974434786819155,
"lm_q1q2_score": 0.801169692247953,
"lm_q2_score": 0.8221891327004132,
"openwebmath_perplexity": 164.01330212639883,
"openwebmath_score": 0.9378917217254639,
"tags... |
c#, .net, datetime, converting, unix
Title: Converting the DateTime to and from Unix epoch times I'm currently working on a thing I needed this feature for. Essentially, these are two methods to convert DateTime objects to and from the Unix epoch time (two methods for each action).
There is a non-nullable, and a nulla... | {
"domain": "codereview.stackexchange",
"id": 19436,
"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, datetime, converting, unix",
"url": null
} |
Since it's a geometric series we know that it is of the form:
$a_{n+1} = ra_n$
or
$a_n = a_1r^{n-1}$
So $a_1 = 6$
$12 = 6 \cdot r^{2-1}$
So $r = 2$
The 9th term of the series is for n = 9:
$a_9 = 6 \cdot 2^8 = 1536$
-Dan
4. Originally Posted by m777
please try to solve that questions.
Find the common fraction f... | {
"domain": "mathhelpforum.com",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9693241947446617,
"lm_q1q2_score": 0.8160019695608316,
"lm_q2_score": 0.8418256492357358,
"openwebmath_perplexity": 698.5966442552565,
"openwebmath_score": 0.9677695035934448,
... |
# Math Help - help finding sum of series
1. ## help finding sum of series
got 2 series.
1.
12 - 22 + 32 - 42 + ................. 992 - 1002
(ok those are just squares)
2.
1.1! + 2.2! + ....... 50.50!
need to find sum...
2. Originally Posted by adhyeta
got 2 series.
1.
12 - 22 + 32 - 42 + ................. 99... | {
"domain": "mathhelpforum.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9822877049262134,
"lm_q1q2_score": 0.8329482975673548,
"lm_q2_score": 0.8479677526147223,
"openwebmath_perplexity": 3478.1469558826575,
"openwebmath_score": 0.7315360903739929,
"ta... |
ros-kinetic, friction, gazebo-9
... using 'set position' or 'set
velocity' in gazebo forces the physics
simulation to try and accomplish this,
which results in strange behavior.
It's actually preferable, according to
the Gazebo team members I'm working
with, to always use 'set force' in
Gazebo because that allows a mo... | {
"domain": "robotics.stackexchange",
"id": 4266,
"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-kinetic, friction, gazebo-9",
"url": null
} |
python, beginner, python-3.x, role-playing-game
'stamina' : math.ceil( (self._attributes['endurance'] - 1/(self._attributes['willpower'] + 1) + 1) + (self._attributes['willpower'] - 1/(self._attributes['endurance'] + 1) + 1)/2 + 5),
'power' : math.ceil( (self._attributes['strength'] + self._attributes['w... | {
"domain": "codereview.stackexchange",
"id": 28639,
"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, role-playing-game",
"url": null
} |
ros, navigation, openni, compilation
-- Using CMAKE_PREFIX_PATH: /opt/ros/groovy
-- This workspace overlays: /opt/ros/groovy
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Python version: 2.7
-- Using Debian Python package layout
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_... | {
"domain": "robotics.stackexchange",
"id": 19639,
"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, openni, compilation",
"url": null
} |
algorithms
Title: ACM Collegiate Programming Contest: Blue Balloon Parallelogram counting The problem is from the ACM Collegiate Programming Contest: 5924 - Parallelogram Counting
Problem Description
The International Consortium for Parallelogram Counting (ICPC) wants to move into the digital age
and automate their pa... | {
"domain": "cs.stackexchange",
"id": 12214,
"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",
"url": null
} |
python, networks, graphs
G_nx = nx.from_pandas_adjacency(A,create_using=nx.DiGraph())
G_nx.graph['edge'] = {'arrowsize': '1.0', 'splines': 'curved'}
G_nx.graph['graph'] = {'scale': '3'}
Agraph_eg = to_agraph(G_nx)
Agraph_eg .node_attr["height"] = 0.3
Agrap... | {
"domain": "bioinformatics.stackexchange",
"id": 1983,
"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, networks, graphs",
"url": null
} |
With two numbers $x_i \ge x_j$, some $\delta \gt 0$ and any $\mu$:
$$(x_i+\delta - \mu)^2 + (x_j - \delta - \mu)^2 - (x_i - \mu)^2 - (x_j - \mu)^2 = 2\delta(x_i - x_j +\delta) \gt 0.$$
Applying this to $n$ non-negative datapoints, this means that unless all but one of the $n$ numbers are zero and so cannot be reduced... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9835969655605173,
"lm_q1q2_score": 0.8300526563315629,
"lm_q2_score": 0.8438950966654772,
"openwebmath_perplexity": 275.9423807962711,
"openwebmath_score": 0.9661756157875061,
"tag... |
context-free, formal-grammars, parsers
Title: How is non-ambuiguity different from determinism? I am trying to understand what is meant by "deterministic" in expressions such as "deterministic context-free grammar". (There are more deterministic "things" in this field). I would appreciate an example more then the most... | {
"domain": "cs.stackexchange",
"id": 7995,
"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": "context-free, formal-grammars, parsers",
"url": null
} |
matlab, convolution
A cleaner version would construct the 3D operator by a tensor product operation between $G$ and $Et$, resulting in:
$$ M\ast (G\otimes Et)\,.$$
This is sometimes called a (separable) space-time filter. It is simpler to implement, supposing that the perception rules differ in space and time. However... | {
"domain": "dsp.stackexchange",
"id": 5263,
"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, convolution",
"url": null
} |
ros, gazebo, ros-melodic, gazebo-ros-control
<!-- State joints publisher for debug -->
<node unless="$(arg sim)" name="joint_state_publisher" pkg="joint_state_publisher"
type="joint_state_publisher" output="$(arg output)" />
<!-- Combine joint values -->
<node name="robot_state_publisher" pkg="robot_state_p... | {
"domain": "robotics.stackexchange",
"id": 35420,
"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-melodic, gazebo-ros-control",
"url": null
} |
python, multithreading, gui
def start_process(self):
for wdgt in self.step_stacked.keys():
self.step_stacked[wdgt].setCurrentWidget(self.step_text[wdgt])
if self.first_start==True:
print 'first start'
self.process.start()
self.first_start = False
... | {
"domain": "codereview.stackexchange",
"id": 5087,
"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, multithreading, gui",
"url": null
} |
java
public void dfs() {
// DFS uses Stack data structure
Stack stack = new Stack();
stack.push(this.rootNode);
rootNode.visited=true;
printNode(rootNode);
while(!stack.isEmpty()) {
Node node = (Node)s.peek();
Node child = getUnvisitedChildNode(n)... | {
"domain": "codereview.stackexchange",
"id": 3689,
"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",
"url": null
} |
quantum-mechanics, angular-momentum, quantum-spin, lie-algebra, spinors
Title: What do the Pauli matrices mean? All the introductions I've found to Pauli matrices so far simply state them and then start using them. Accompanying descriptions of their meaning seem frustratingly incomplete; I, at least, can't understand ... | {
"domain": "physics.stackexchange",
"id": 51273,
"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, angular-momentum, quantum-spin, lie-algebra, spinors",
"url":... |
ros, jenkins, rosdistro
Originally posted by Dirk Thomas with karma: 16276 on 2014-02-28
This answer was ACCEPTED on the original site
Post score: 2
Original comments
Comment by Pi Robot on 2014-02-28:
Thank you Dirk. Someone else actually did the initial catkinization of the ros_arduino_bridge package, but that is ... | {
"domain": "robotics.stackexchange",
"id": 17124,
"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, jenkins, rosdistro",
"url": null
} |
nuclear-physics, nuclear-engineering
If the critical nuclear reactor crashes against an alien ship, will it achieve the same devastating effect as a nuclear weapon (as seen in Battlestar Galactica, for example)?
If this happens in the orbit of Earth, will it have any effect on those on the surface, or will it simply b... | {
"domain": "physics.stackexchange",
"id": 20278,
"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": "nuclear-physics, nuclear-engineering",
"url": null
} |
general-relativity, inertial-frames, equivalence-principle
But from wikipedia, an inertial frame is defined as a frame of reference that is not undergoing acceleration.
So why is the freely falling frame of reference in a gravity field, which is accelerating, an inertial frame? We have the that the standard form of st... | {
"domain": "physics.stackexchange",
"id": 72826,
"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, inertial-frames, equivalence-principle",
"url": null
} |
navigation, sicklms, gmapping
Title: gmapping doesnt update the map on occasion
hello,
i'm using lms100 and gmapping with laser scan matcher to build map.
in a narrow but long corridor, while i was going straight i notice that (thanks to LaserScan in rviz) map isnt updating. the built map should be so much longer but... | {
"domain": "robotics.stackexchange",
"id": 25107,
"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, sicklms, gmapping",
"url": null
} |
classical-mechanics
Title: Transport Theorem in analytical dynamics: basis of the vectors If we have two reference systems, $N$ and $B$, with common origins $O_N=O_B$ and $B$ being rotating around $N$ with angular velocity $\omega_{B|N}$, the time derivates of any vector $\vec{u}$ in both systems are related by the n... | {
"domain": "physics.stackexchange",
"id": 61721,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "classical-mechanics",
"url": null
} |
forces, electrostatics, work, potential-energy, coulombs-law
Title: Shouldn't Electric Potential energy be $U=2kQq/r$? Let's take 2 charges $Q$ and $q$ a meter apart. Say you want them to collide. You'll have to apply force $F$ on charge $q$ (which I know is changing with distance). I know we integrate this force and ... | {
"domain": "physics.stackexchange",
"id": 95283,
"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, electrostatics, work, potential-energy, coulombs-law",
"url": null
} |
ruby, ruby-on-rails, active-record, ip-address
Title: Skinny model, fat controller in Rails managing user IP addresses As part of learning Rails framework, I have small app in progress. Basically idea is, user can create IP address, define is it in use, to which server is assigned, which user is it using and role of I... | {
"domain": "codereview.stackexchange",
"id": 15325,
"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": "ruby, ruby-on-rails, active-record, ip-address",
"url": null
} |
nmr-spectroscopy
Title: Why has acetaminophen only two different NMR chemical shifts related to phenyl? I learned that, by using NMR, you could tell how many different hydrogen environments an molecule has. For example, benzene has only one.
Since acetaminophen has an amide bond, and the bond has planarity, I thought ... | {
"domain": "chemistry.stackexchange",
"id": 16986,
"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": "nmr-spectroscopy",
"url": null
} |
venus, apparent-magnitude, planetary-transits, brightness
(Source Wikipedia Venus and Wikipedia Earth)
Absolute magnitude equals the apparent magnitude when the body is viewed from a distance of 1 AU, directly looking at the illuminated side.
During solar transit of Venus (as seen from Earth), the Venus-Earth distance... | {
"domain": "astronomy.stackexchange",
"id": 7122,
"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": "venus, apparent-magnitude, planetary-transits, brightness",
"url": null
} |
bigwig
One can make that parallel (with the deeptools API) should it prove too slow. This will only use an appreciable amount of memory for very large introns, since there you need to store the value at each base. One could make this much more memory efficient by using bw.intervals() instead, but that'd require quite ... | {
"domain": "bioinformatics.stackexchange",
"id": 93,
"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": "bigwig",
"url": null
} |
ruby, numbers-to-words
if left > 0
numString = numString + ' '
end
end
end
end
end
# ------------- hundreds
write = left/100
left = left - (write*100)
if write > 0
hundreds = in_words(write)
numString = numString + hundreds + ' hundred'
if left > 0
numString... | {
"domain": "codereview.stackexchange",
"id": 12724,
"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": "ruby, numbers-to-words",
"url": null
} |
ros, sensor, time
It's also worth noting that there is a publish timestamp in the nav_msgs/Odometry header (in your case, msg->header.stamp ), which is the time that the data was captured or published, and that will be more accurate than using the time that your node received the message (ie ros::Time::now() ). Since ... | {
"domain": "robotics.stackexchange",
"id": 28141,
"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, sensor, time",
"url": null
} |
c#
public static class EnumerableMergeExtension
{
public static IEnumerable<TSource> Merge<TSource>(this IEnumerable<TSource> first, IEnumerable<TSource> second)
{
if (first is null) throw new ArgumentNullException(nameof(first));
if (second is null) throw new ArgumentNullException(nameof(secon... | {
"domain": "codereview.stackexchange",
"id": 41604,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "c#",
"url": null
} |
uniprot
}
else{
die 'Failed, got ' . $response->status_line .
' for ' . $response->request->uri . "\n";
}
}
################################################
# This will translate $to and $from values #
# between the names used in uniprot flat files #
# and those used by the uniprot database ... | {
"domain": "bioinformatics.stackexchange",
"id": 2105,
"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": "uniprot",
"url": null
} |
fasta, gtf, gff
Title: GTF from consensus sequence I am new to using bioinformatic tools and I was hoping this community could help clear something up for me. I need to generate a gtf file. My data are a set of complete HA genes for influenza B viruses in fasta format. From reading through forums and other internet se... | {
"domain": "bioinformatics.stackexchange",
"id": 900,
"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": "fasta, gtf, gff",
"url": null
} |
machine-learning, neural-network, nlp, language-model
Title: Neural Networks for Predictive typing I don't have a background in neural networks. But, various studies has been proved that neural networks (feed forward / Recurrent) outperformed n-gram language modeling for predicting words in a sequence. But, in an appl... | {
"domain": "datascience.stackexchange",
"id": 590,
"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, neural-network, nlp, language-model",
"url": null
} |
c#, array
if(findResponse == null)
{
return new EndpointAddress[0];
}
return findResponse.Endpoints.Select(endpoint => endpoint.Address).ToArray();
}
But, we can go further. You should prefer returning interfaces rather than concrete representations. Do you need indexed access to the EndpointAddr... | {
"domain": "codereview.stackexchange",
"id": 14372,
"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#, array",
"url": null
} |
brain, neurophysiology, growth, regeneration
of neuronal pathfinding and growth. To advance over larger distances however, gradients are insufficient and neurons use mechanical cues (durotaxis). For instance, neurite outgrowth has been shown to be affected by the mechanical stiffness of the substrate. Glial cells have... | {
"domain": "biology.stackexchange",
"id": 6943,
"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": "brain, neurophysiology, growth, regeneration",
"url": null
} |
natural-satellites, orbital-mechanics, tidal-forces, tidal-locking
So that's question 1:
Is it really possible for tidal acceleration to throw a satellite into space before the planet is tidally locked, and if so, does either objects' size impact it, or just fluidity and relative periods?
Then, I wondered about tidal... | {
"domain": "astronomy.stackexchange",
"id": 2664,
"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-satellites, orbital-mechanics, tidal-forces, tidal-locking",
"url": nul... |
asteroids
note 3: 2nd image contains several cropped screenshots highlighting the "periodic radial modulation of sensitivity" in asteroid detection during 2010, for clarification purposes.
I'm pretty sure that the radial pattern found in the data is a result of WISE's approximately 90 minute sampling cadence (dictat... | {
"domain": "astronomy.stackexchange",
"id": 2835,
"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": "asteroids",
"url": null
} |
programming-challenge, concurrency, rust
impl CoinServer {
/// Function which takes a user's id and a user's guess,
/// and returns whether or not their guess was correct.
pub fn handle_guess(&mut self, user_id: String, guess: u64) {
// convert the String to a u64 for comparison
if self.ran... | {
"domain": "codereview.stackexchange",
"id": 22606,
"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, concurrency, rust",
"url": null
} |
combinatorics, boolean-algebra
Title: Number of n-variable symmetric boolean functions that are linear How many symmetric boolean functions exist that are linear?
Let $f$ be a $n$-variable boolean function. $f$ is said to be symmetric if it is unchanged by any permutation of its variables, i.e. for 2-variable boolean... | {
"domain": "cs.stackexchange",
"id": 21685,
"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": "combinatorics, boolean-algebra",
"url": null
} |
algorithms, graphs, algorithm-analysis, asymptotics, performance
Understand that we don't need to explore the full G in the modified Dijkstra run.
Can someone explain why it is the diamond shape(the 45 degree rotate of a perfect square)?
What does it means with the radios of |m|+|n|, (typo of radius ?)
What is m and ... | {
"domain": "cs.stackexchange",
"id": 13137,
"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, graphs, algorithm-analysis, asymptotics, performance",
"url": null
} |
rviz, catkin, osx
-- ~~ - qt_gui_py_common
-- ~~ - ros (metapackage)
-- ~~ - ros_comm (metapackage)
-- ~~ - ros_tutorials (metapackage)
-- ~~ - rosbash
-- ~~ - rosboost_cfg
-- ~~ - rosbuild
-- ~~ - rosclean
-- ~~ - roscpp_traits
-- ~~ - roscreate
-- ~~ - rosgraph
-- ~~ - roslang
-- ~~ - roslaunch
-- ~~ -... | {
"domain": "robotics.stackexchange",
"id": 13834,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "rviz, catkin, osx",
"url": null
} |
quantum-mechanics, homework-and-exercises, hydrogen
And I get completely stumped. I can prove the above formula, but I have no idea what this Laplacian has to do with anything. First, it is not true that $R(r)$ has to be $L^2$. Because the integration measure is $dV = r^2\cdot dr\cdot d\Omega$, and we integrate $|R|^2... | {
"domain": "physics.stackexchange",
"id": 6470,
"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, homework-and-exercises, hydrogen",
"url": null
} |
php, comparative-review
$result = array_key_exists($operator, $comparisonFunctions) ? $comparisonFunctions[$operator]($value_allowed, $value_entered) : null;
$dateformat = 'n/j/Y';
$debug = ['element' => $element, 'operator' => $operator, 'value allowed' => is_a($value_allowed, 'DateTime') ? $value_all... | {
"domain": "codereview.stackexchange",
"id": 31229,
"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, comparative-review",
"url": null
} |
analytical-chemistry, biochemistry, enzyme-kinetics
From the equation $(2)$, which is the equation of the graph: $\text{The slope} = 0.1891 = \frac{K_M}{V_\mathrm{max}}$ and $y\text{-Intercept} = 18.379 = \frac{1}{V_\mathrm{max}}$
Thus, $V_\mathrm{max} = \frac{1}{18.379} = \pu{0.0544 mol L-1 s-1}$ and $K_M = 0.1891 \t... | {
"domain": "chemistry.stackexchange",
"id": 15567,
"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": "analytical-chemistry, biochemistry, enzyme-kinetics",
"url": null
} |
c++, recursion, template, c++20, constrained-templates
Later on you use std::regular_invocable<BinaryOp, T, T>, which is a much better constraint to use. However, there is also an issue here. Look at std::reduce(), and note how the init parameter can have a different type than the iterator's value type. This allows yo... | {
"domain": "codereview.stackexchange",
"id": 44803,
"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++, recursion, template, c++20, constrained-templates",
"url": null
} |
python-3.x, random
Title: find leading zeros: performance I am trying to find a N number of leading zeros from the output of the sha1 hash function. I would like N to go up to 10 or 9. Currently I can get to 7 in about 7 minutes (even though is not always that fast), but already 8 takes forever. The input to the sha1 ... | {
"domain": "codereview.stackexchange",
"id": 41126,
"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-3.x, random",
"url": null
} |
neural-networks, convolutional-neural-networks
Title: Output volume proof for convolutional neural network As I've been dabbling into the sliding window concept, I stumbled on a question that asked me to find the number of windows needed on a 1D image of $W$ size, knowing the window size $K$ and the stride $S$.
As muc... | {
"domain": "ai.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": "neural-networks, convolutional-neural-networks",
"url": null
} |
java, programming-challenge, tree
return indices.containsKey(me) ? -me : me;
}
You can see it running the test-cases in ideone: https://ideone.com/J0lMrf
Update:
I worked out a better solution using a binary search mechanism for locating the parent of a referenced link in the Flux chain.
It is a bit hard to describe... | {
"domain": "codereview.stackexchange",
"id": 23474,
"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, programming-challenge, tree",
"url": null
} |
electrons, electromagnetic-radiation
Why was monochromatic light used in the experiment? Why is a proper
frequency used and not any other frequency?
The experiment is typically performed by scanning through a continuous range of monochromatic wavelengths from lower to higher energy. At some specific wavelength, th... | {
"domain": "chemistry.stackexchange",
"id": 8606,
"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": "electrons, electromagnetic-radiation",
"url": null
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.