text stringlengths 1 1.11k | source dict |
|---|---|
quantum-mechanics, differentiation, integration, dirac-delta-distributions
So my question is: How do I evaluate such integrals? As pointed out in the comments, you have to use integration by parts. The first term, $f(x)\delta(x-x')$ has to be evaluated at $-\infty$ and $+\infty$. Those 2 vanish because the Dirac delta... | {
"domain": "physics.stackexchange",
"id": 97645,
"lm_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, differentiation, integration, dirac-delta-distributions",
"ur... |
homework-and-exercises, newtonian-mechanics, work
Title: Swinging Man Problem
Imagine a person of mass $M$ swinging on a playground swing. At the lowest point of motion (where a person moves only horizontally not vertically) the man decides to stand on the swing, assume that his center of mass moves by a distance $l ... | {
"domain": "physics.stackexchange",
"id": 83402,
"lm_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, work",
"url": null
} |
physical-chemistry, electrons, stability, radioactivity
A free radical is a chemical species, whose electron configuration is such that it is highly reactive towards other chemical species. However, this energy is far too low to affect any nuclear reactivity.
A beta particle is a high-energy electron or positron emi... | {
"domain": "chemistry.stackexchange",
"id": 8308,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "physical-chemistry, electrons, stability, radioactivity",
"url": null
} |
classical-electrodynamics
There is also another subtlety: our system becomes relativistic (because Maxwell equations are relativistic in their nature), so you have to use the Special Relativity dynamics instead of the Newtonian one (or you can choose to neglect relativistic dynamics in some special cases).
As you can ... | {
"domain": "physics.stackexchange",
"id": 19011,
"lm_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-electrodynamics",
"url": null
} |
ros, calibration, monocular-camera, camera-calibration
If I run it with the "--no-service-check" option, I get:
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/opt/ros/indigo/share/camera_calibration/nodes... | {
"domain": "robotics.stackexchange",
"id": 19045,
"lm_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, calibration, monocular-camera, camera-calibration",
"url": null
} |
inorganic-chemistry, reaction-mechanism, synthesis
From the above listed, I don't think it would be ion-exchange (bcoz, $\ce{FeCr2O4 -> FeCr+ + CrO4-}$ is very unlikely to happen), water-addition or complex reaction. I guess it could be decomposition or redox, but I'm not sure on the "bond-movement" mechanism part. Th... | {
"domain": "chemistry.stackexchange",
"id": 14138,
"lm_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, synthesis",
"url": null
} |
machine-learning, neural-network, backpropagation
Also, same question on Maths.SE. The partial derivative of the cost function with respect to the neuron $i$ ,in the layer $Z_2$ defined in your questions above, is $\frac{\partial L}{\partial z_i}$, where $L$ is the cost function.
please note that the derivation will ... | {
"domain": "datascience.stackexchange",
"id": 3256,
"lm_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, backpropagation",
"url": null
} |
homework-and-exercises, newtonian-mechanics
Title: Why is $dr/dt= -V$
In the solution, it says we have $dr/dt= -V$ (polar coordinates)
How? I can't see how this can be possible, we know that $r(t)=V/\omega(t)$, and that's it. The question defines $V$ as the rate at which the string is pulled downward through the ring... | {
"domain": "physics.stackexchange",
"id": 14569,
"lm_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",
"url": null
} |
quantum-mechanics, black-holes, research-level, quantum-information
To make this more quantitative, I am wondering if similar questions were asked in the quantum information community. Suppose you have an encrypted message of a certain length which is revealed to you over time, and you are trying to decode it. Obvious... | {
"domain": "physics.stackexchange",
"id": 3272,
"lm_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, black-holes, research-level, quantum-information",
"url": null... |
performance, vba, excel, ms-word
End If
j = 3 'indice apartir du quel on va commencer a lire les donnees de la collection car on skip les 2 premiers
'fill the table
For i = 2 To dataC.Count / 2
With .Tables(nbTable).Rows(i)
' la designation & la quantites
... | {
"domain": "codereview.stackexchange",
"id": 35005,
"lm_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, vba, excel, ms-word",
"url": null
} |
general-relativity, black-holes, spacetime, coordinate-systems, event-horizon
in Schwarzschild coordinates have puzzling features, but perhaps $t$ more than $r$ as you say. The first part of the answer is simply to say that these are coordinates, which means they are labels, or number-valued markers, that we associate... | {
"domain": "physics.stackexchange",
"id": 59093,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "general-relativity, black-holes, spacetime, coordinate-systems, event-horizon",
... |
electric-circuits, symmetry, electrical-resistance
Title: How would this symmetry argument in circuits be proved? My teacher had taught us how to solve circuit problems using symmetry. One of the symmetry axis he had called "transverse symmetry" which the axis will be perpendicular to the line joining the terminals , ... | {
"domain": "physics.stackexchange",
"id": 79986,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "electric-circuits, symmetry, electrical-resistance",
"url": null
} |
python, object-oriented, meta-programming
Perhaps this implementation of a mutable named tuple is even Liskov substitutable? We are not allowed to subclass tuple, because we use non-empty __slots__. If we just look at methods tuples have that MNT doesn't have, we only see a few methods we don't implement:
>>> set(dir... | {
"domain": "codereview.stackexchange",
"id": 26987,
"lm_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, object-oriented, meta-programming",
"url": null
} |
javascript, image, dom
try {
let trans = parseInt(
getStyleValue(slideContainer, "transform")
.split(",")[4]
.trim()
);
} catch (e) {
console.log("`trans` being set to 0");
trans = 0;
}
function slide() {
if (this === rightArrow) {
trans -= amt;
} else if (this === leftArrow) {
tra... | {
"domain": "codereview.stackexchange",
"id": 27661,
"lm_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, image, dom",
"url": null
} |
python, unit-testing
elif clear:
FILE.unlink(missing_ok=True)
elif issorted:
numbers = read_data()
print(all(x <= y for x, y in zip(numbers, numbers[1:])))
elif count:
numbers = read_data()
print(numbers.count(int(count)))
elif getall:
numbers = read_data(... | {
"domain": "codereview.stackexchange",
"id": 41298,
"lm_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, unit-testing",
"url": null
} |
geology, petroleum, fossil-fuel
What hydrocarbons are formed depends on both burial depth and temperature. Above approximately 1km below the surface no significant formation of oil takes place, and hydrocarbons are either mineralised or broken down to volatile products such as methane, propane, and butane.
The often s... | {
"domain": "earthscience.stackexchange",
"id": 24,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "geology, petroleum, fossil-fuel",
"url": null
} |
python, python-3.x, numpy, statistics, bioinformatics
def get_chromosomal_gc_variantion(difference_dic):
"""
Calculates the chromosomal GC variation defined as the log-transformed average
of the absolute value of the difference between the mean GC content of each
non-overlapping sliding window i and ... | {
"domain": "codereview.stackexchange",
"id": 42352,
"lm_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, numpy, statistics, bioinformatics",
"url": null
} |
javascript, performance, jquery, mobile
JS
(function ($, window, document) {
var mobNav, mainNav, top, shift;
var menuVisible = false;
$(document).ready(function($) {
mobNav = $("#mobNav");
mainNav = $("#mainnav");
top = $("#top");
shift = $("#shi... | {
"domain": "codereview.stackexchange",
"id": 3468,
"lm_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, performance, jquery, mobile",
"url": null
} |
If it increases TO "b," it decreases FROM "b" ... EXCEPT "b"?
Whoa! Can the function be both increasing and decreasing at the same point? If not, how would you decide which? (Notice that Aakarsh was taught to use closed intervals, and accepted that.) I first clarified the question:
I'll suppose that you were given a ... | {
"domain": "themathdoctors.org",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9908743620718528,
"lm_q1q2_score": 0.8694692567911972,
"lm_q2_score": 0.8774767922879693,
"openwebmath_perplexity": 436.6461464098039,
"openwebmath_score": 0.7156360149383545,
"ta... |
aromatic-compounds, bent-bond
(1) - cyclopropenyl cation | {
"domain": "chemistry.stackexchange",
"id": 3738,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "aromatic-compounds, bent-bond",
"url": null
} |
electromagnetic-radiation, experimental-physics, quantum-electrodynamics, photons
Does light/photons travel?
The question whether light travels from place A to place B or not, can be answered mainly by experience and experiment/observation. When you hold a torch in the dark and you aim it at some point in the backgro... | {
"domain": "physics.stackexchange",
"id": 6833,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "electromagnetic-radiation, experimental-physics, quantum-electrodynamics, photons",... |
genetics, homework
Put the whole thing together, the probability of a given offspring to be heterozygote (or the frequency of heterozygotes offsprings if you prefer) is $0.5 \cdot (0.2^2 + 0.8^2) \cdot (0.1^2 + 0.9^2) = 0.2788$
Note that calculating the probability that exactly 2 loci are heterozygous would have been ... | {
"domain": "biology.stackexchange",
"id": 4238,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "genetics, homework",
"url": null
} |
Here is a different take on the question. There is a whole spectrum of different discrete “calculi” which converge to the continuous case, each of which has it’s special “$e$”.
Pick some $t>0$. Consider the equation $$f(x)=\frac{f(x+t)-f(x)}{t}$$
It is not hard to show by induction that there is a function $C_t:[0,t)\... | {
"domain": "bootmath.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9845754506337406,
"lm_q1q2_score": 0.8464038174718852,
"lm_q2_score": 0.8596637433190939,
"openwebmath_perplexity": 98.45249682165087,
"openwebmath_score": 0.9869456887245178,
"tags": n... |
performance, bash, checksum
69138 Execution error for request {.request_id}. Reason: Spawned job for request {.request_id} produced the business error exit code: BIZ_ERROR
57302 Execution error for request {.request_id}. Reason: {.ess_code} Job logic indicated a business error occurred while executing an asynchronous ... | {
"domain": "codereview.stackexchange",
"id": 44786,
"lm_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, bash, checksum",
"url": null
} |
c#, mvvm, repository, unity-container
I'm also a bit surprised to see IClonable implemented in C# 6.0 code, since that interface has been controversial for just about as long as it has existed.
From MSDN:
Because callers of Clone cannot depend on the method performing a predictable cloning operation, we recommend tha... | {
"domain": "codereview.stackexchange",
"id": 18882,
"lm_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#, mvvm, repository, unity-container",
"url": null
} |
c, compression
Commentary and disclaimers
It may help to read about LZW compression first.
The encoding process essentially uses a trie, and the index number of the trie node is used as the 12-bit code to be encoded. The first 256 trie nodes are implicitly assumed to be the starting single character nodes.
For the de... | {
"domain": "codereview.stackexchange",
"id": 14964,
"lm_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, compression",
"url": null
} |
javascript, jquery, twitter, instagram
// Sort our feed array by time
fwyFeed.sort(function (a, b) {
return +b.created - +a.created;
});
// Loop through each tweet/photo
for (i = 0; i < fwyFeed.length; i += 1) {
if (fwyFeed[i]) {
type = fwyFeed[i... | {
"domain": "codereview.stackexchange",
"id": 1969,
"lm_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, twitter, instagram",
"url": null
} |
c++, template-meta-programming, markov-chain
"act", "of", "glancing", "through", "a", "book", "according", "to", "the", "placing", "of", "the", "emphasis", "and", "another", "word", "which", "signifies", "to", "associate", "with", "a", "man", "or", "to", "avoid", "him", "according", "to", "where", "you", "put", "the",... | {
"domain": "codereview.stackexchange",
"id": 23353,
"lm_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++, template-meta-programming, markov-chain",
"url": null
} |
What am I doing wrong?
Edit: corrected an error pointed out in the comments.
• $x^2-x^3$ has $a_0=a_1=0,a_2=1,a_3=-1$, so $a_1-a_2+a_3=-2\ne0$. – almagest Jun 21 '16 at 16:04
• should be $a_2(x^2+x^3)$, check again! – Euler_Salter Jun 21 '16 at 16:04
• I don't understand how you have written your vectors – Euler_Salt... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.980280868436129,
"lm_q1q2_score": 0.8168921660971757,
"lm_q2_score": 0.8333246035907932,
"openwebmath_perplexity": 366.1920530772939,
"openwebmath_score": 0.9287461638450623,
"tags... |
python, error-handling, library, web-scraping, beautifulsoup
This at least makes it clear that you've considered and dismissed the issue.
bad-whitespace [30 counts]
The style guide lays out the rules for whitespace, you should have:
One space after commas (e.g. in tuples, lists, definitions and calls);
One space aft... | {
"domain": "codereview.stackexchange",
"id": 10614,
"lm_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, error-handling, library, web-scraping, beautifulsoup",
"url": null
} |
python, python-2.x, hash-map
However I don't think this should be done in Python.
It looks like your extracting data from your database and filtering it in Python, rather than performing both in SQL.
And from my limited knowable of SQL this would be much easier written SQL. Assuming SQL has an equivalent of in.
But if... | {
"domain": "codereview.stackexchange",
"id": 24221,
"lm_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, hash-map",
"url": null
} |
story this part, we used 0 to denote the ×! We used the entries of two given matrices also cover how to a... Simly the addition and scalar multiplication whose entries are all zero or LI with =! Multiplication of a matrix by a number, no direction Kronecker sum C ] matrix Calculator ( )... N'T make any sense to you mat... | {
"domain": "co.uk",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9005297754396141,
"lm_q1q2_score": 0.818237461771786,
"lm_q2_score": 0.9086178870347122,
"openwebmath_perplexity": 622.7558941450479,
"openwebmath_score": 0.8550291657447815,
"tags": null,
"... |
ros, lidar, hokuyo, stream, data
Title: Hokuyo LIDAR data on Graphical Interface
Hi,
I have connected to Hokuyo UST -10LX lidar using ROS. I have installed the necessary wrapper and I could see that Lidar is working properly. When I do
rosrun urg_node urg_node _ip_address:="192.168.0.10" I am able to see a message
Co... | {
"domain": "robotics.stackexchange",
"id": 24929,
"lm_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, lidar, hokuyo, stream, data",
"url": null
} |
observable-universe, angular-diameter
Title: Approximately what percent of the sky has nothing in it? From my persepective here on Earth, the sky seems to look like a few large-ish things and a bunch of tiny things. Hubble teaches us that even the apparent void between the tiny things has many very tiny things. Stuf... | {
"domain": "astronomy.stackexchange",
"id": 6753,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "observable-universe, angular-diameter",
"url": null
} |
python, python-3.x, unit-testing
Title: Change unit-test structure to avoid try/except/finally clause I have 10 or 20 tests with the same structure which I would like to improve. The test itself is nested within a try/except/finally clause to make sure that some of the variables are deleted at the end.
def test_time_c... | {
"domain": "codereview.stackexchange",
"id": 44802,
"lm_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, unit-testing",
"url": null
} |
java, mathematics, composition
sb.delete(sb.length() - 2, sb.length());
sb.append("]");
return sb.toString();
} | {
"domain": "codereview.stackexchange",
"id": 44975,
"lm_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, mathematics, composition",
"url": null
} |
combinatorics, lisp, elisp
And if you really can't bear to see the empty list as one of the combinations (though it really is), just take the cdr of the resulting list. It's always the first element.
Update: I installed Emacs now, so I was able to port my Scheme version to elisp and test it:
(defun combos (list)
(i... | {
"domain": "codereview.stackexchange",
"id": 2760,
"lm_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, lisp, elisp",
"url": null
} |
the following property: A 1 cos(2πft+φ. Both equations are essentially similar in character, involving second derivatives of some. 3 Describing a Wave -- Part 2: Derivation of the Wave Equation. The dye will move from higher concentration to lower. where the wave number. 1/20/2005 The Transmission Line Wave Equation. P... | {
"domain": "foresteria-lacura.it",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9863631643177029,
"lm_q1q2_score": 0.8017823820284785,
"lm_q2_score": 0.8128673201042493,
"openwebmath_perplexity": 675.2048348348286,
"openwebmath_score": 0.8305756449699402,... |
ros, kinect, openni
Title: How can I get depth data from Kinect?
Hi guys, I'm quite new to ROS. I'm using the Ubuntu 12.04 and openni driver.
What I've been trying to do is to use Kinect to detect whether a door is open or closed. My idea is to write a node to subscribe to camera/depth/image, and and can retrieve a d... | {
"domain": "robotics.stackexchange",
"id": 17845,
"lm_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, openni",
"url": null
} |
• I've removed a number of comments that were attempting to answer the question and/or responses to them. Please keep in mind that comments should be used for suggesting improvements and requesting clarification on the question, not for answering. Apr 20, 2020 at 0:37
## 3 Answers
Normally, when doing this problems y... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9553191271831559,
"lm_q1q2_score": 0.8430002191833991,
"lm_q2_score": 0.8824278664544912,
"openwebmath_perplexity": 183.0052529497422,
"openwebmath_score": 0.8999718427658081,
"tag... |
spacetime, terminology, soft-question, quantum-gravity
Title: What does "continuous spacetime" mean? I often encounter discussions, such as seen here, about whether spacetime is discrete or continuous. However, I am only familiar with continuity as being a property of functions. I saw this question about continuous sp... | {
"domain": "physics.stackexchange",
"id": 69884,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "spacetime, terminology, soft-question, quantum-gravity",
"url": null
} |
An optimal solution can be found as follows: Set $$r$$ to $$a_1$$. Then, starting with $$i = 1$$, check if $$a_{i+1} \le b_i$$; if that is the case, set $$r$$ to $$a_{i+1}$$ and increment $$i$$; otherwise, add $$r$$ to the solution and eliminate all intervals from $$[a_1, b_1]$$ up to $$[a_i, b_i]$$. Repeat until no mo... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9724147201714922,
"lm_q1q2_score": 0.828451441870081,
"lm_q2_score": 0.8519527982093666,
"openwebmath_perplexity": 248.07468424764593,
"openwebmath_score": 0.8412970900535583,
"tag... |
javascript
//Ticker
var duration = 5000; //take 5 seconds to show one item
$('.news ul').remove();
$('.news').append('<span class="title">Headlines</span><span class="item"></span>');
function displayItem(html, i) {
setTimeout(function() {
$('.news .item').html(items[i]).animate({
"left": "+=400px"
},... | {
"domain": "codereview.stackexchange",
"id": 16772,
"lm_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",
"url": null
} |
thermodynamics, thermal-radiation
Here is why this cannot work: We assume here that there is no temperature gradient, which means that your engine has the same temperature as the object. This means that it, too, radiates quite a bit. In fact, it will radiate at the exact same amount that it will absorb radiation from ... | {
"domain": "physics.stackexchange",
"id": 26972,
"lm_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, thermal-radiation",
"url": null
} |
c#, validation
So i would recommend the following workflow:
When initializing a form, update the ui based on validation result.
Handle every change to the model in the ui:
If model is not valid based on current user input - update UI with validation result, such as a Save button, display validation summary as text to ... | {
"domain": "codereview.stackexchange",
"id": 9506,
"lm_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#, validation",
"url": null
} |
optics, visible-light, everyday-life
There is some movement, but not nearly the amount seen when the blinds are closed (and the boundaries of the light don't grow and shrink as much).
Anyway cheers to all who have given input on this post! These are probably Reflection Caustics.
The video Taming light reflection to cr... | {
"domain": "physics.stackexchange",
"id": 79164,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "optics, visible-light, everyday-life",
"url": null
} |
thermodynamics, quantum-information, hawking-radiation, unitarity
This process is Quantum Decoherence, by which a system coupling with its environment slowly loses its quantum nature. And yes it can be modeled as a non-unitary process. However, the system plus the environment will still evolve in a unitary fashion.
In... | {
"domain": "physics.stackexchange",
"id": 97285,
"lm_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, quantum-information, hawking-radiation, unitarity",
"url": null
... |
parallel-computing, linear-programming, process-scheduling
I just cannot find a suitable answer on why the law must be always applied to a computation. And superlinear speedup is just when a parallelised speedup can reach far beyond the speedup of a sequential processor. How would it actually contradict Amdahl's law I... | {
"domain": "cs.stackexchange",
"id": 10431,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "parallel-computing, linear-programming, process-scheduling",
"url": null
} |
gravity, gas-giants, speed
Title: Can air/gas be slowed down by friction Can wind/air that is moving at average speeds be slowed down by the cause of Friction? Also, Can Air bubbles in water be slowed down because of Friction? Please cite your sources. Yes, air and gas are slowed down by friction since they have a non... | {
"domain": "astronomy.stackexchange",
"id": 5308,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "gravity, gas-giants, speed",
"url": null
} |
these three definitions are essentially equivalent, closure, and Derived of... Called an interior point of a set is open and what is open closed. And found $\varepsilon > 0$ Baire category Theorem says that every complete space... Dense ( or meager ) the proofs Maurice René Frechét introduced metric spaces and give som... | {
"domain": "mymemphisvet.com",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9875683469514965,
"lm_q1q2_score": 0.8334040953074895,
"lm_q2_score": 0.8438951064805861,
"openwebmath_perplexity": 661.808752197477,
"openwebmath_score": 0.8037546277046204,
"t... |
Monoid Structure $\$ Abstracting the first proof yields the following
$$ab\equiv a\equiv ac\,\Rightarrow \overbrace{a\,b}^{\large a}c\equiv a$$
Thus the solution set $S$ of $\,ax\equiv a\,$ is closed under multiplication, i.e. $\, b,c\in S\,\Rightarrow\, bc\in S.\,$ By an obvious induction this implies that $\,S\,$ i... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9848109489630493,
"lm_q1q2_score": 0.8097008664379224,
"lm_q2_score": 0.8221891392358015,
"openwebmath_perplexity": 289.660478644914,
"openwebmath_score": 0.9930723309516907,
"tags... |
qiskit, programming, circuit-construction, random-quantum-circuit, randomised-benchmarking
Title: How to split a Quantum Circuit on a barrier in Qiskit? Let's say I have a QuantumCircuit with multiple barriers as shown in the visual below: | {
"domain": "quantumcomputing.stackexchange",
"id": 1897,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "qiskit, programming, circuit-construction, random-quantum-circuit, randomi... |
quantum-field-theory, quantum-entanglement, biology
Question: In QFT, the Reeh–Schlieder theorem is thought to be an analogue of some sense to quantum entanglement. My question is that can one use the Reeh–Schlieder theorem instead of entanglement and try to do the work the other papers mentioned above have done but i... | {
"domain": "physics.stackexchange",
"id": 13728,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "quantum-field-theory, quantum-entanglement, biology",
"url": null
} |
c++, c++11, linked-list
First I'd like to know if my member functions for the Linked List have any edge cases I am not catching and any improvements I can make to run time efficiency . Anyway I can simplify this code further with c++11 features, shorter variable names or any other suggestions would be appreciated too.... | {
"domain": "codereview.stackexchange",
"id": 33779,
"lm_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, linked-list",
"url": null
} |
general-relativity
$$ 0 = \mathrm{d}\tau^2 = \left(1 + \frac{2\Phi}{c^2}\right) \mathrm{d}t^2 + \text{(terms involving $\mathrm{d}x$, $\mathrm{d}y$, $\mathrm{d}z$)}, $$
but as soon as it starts moving (and it always must move) $\Phi$ will change, making the problem rather more difficult and in need of further specific... | {
"domain": "physics.stackexchange",
"id": 17981,
"lm_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",
"url": null
} |
performance, sql, mysql, sorting, postgresql
I am using sub query because i want sort created_on DESC and email ASC
If that's what you want, just write:
ORDER BY created_on DESC, email ASC
Your bigger worry with performance is that combo side table, which appears to be EAV and thus likely to be painful in performanc... | {
"domain": "codereview.stackexchange",
"id": 5278,
"lm_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, sql, mysql, sorting, postgresql",
"url": null
} |
soft-question, singularities, approximations
As a mathematical simplification/approximation (such as assuming infinte mass of a nucleus when calculating the energy eigenstates of hydrogen). In this sense we use the fact, that the observables converge as our parameter goes to infinity, so to the required degree of accu... | {
"domain": "physics.stackexchange",
"id": 23430,
"lm_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, singularities, approximations",
"url": null
} |
java, algorithm, cache
if (entry == oldest) oldest = entry.right;
entry.remove();
}
The remaining methods are Ok, because they build upon these operations.
In general, the lack of comments made it very hard for me to understand your code.
For example, I was wondering why you weren't using a LinkedList as a Queu... | {
"domain": "codereview.stackexchange",
"id": 4775,
"lm_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, cache",
"url": null
} |
annuity payment. They provide the value now of 1 received at the beginning of each period for n periods at a discount rate of i%. Once issued, it cannot be revoked, and the initial investment is not refundable and cannot be withdrawn or exchanged for another annuity. | {
"domain": "com.ar",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9802808684361289,
"lm_q1q2_score": 0.8292611851880839,
"lm_q2_score": 0.8459424353665381,
"openwebmath_perplexity": 1389.7887079328416,
"openwebmath_score": 0.45728445053100586,
"tags": null,... |
gazebo-camera, gazebo-ignition
Originally posted by Clement on Gazebo Answers with karma: 3 on 2022-08-16
Post score: 0
Original comments
Comment by kakcalu13 on 2022-08-16:
The link you provided is ROS1.
Would this link big helpful for you? https://github.com/gazebosim/ros_gz/tree/foxy/ros_ign_gazebo_demos
Instead o... | {
"domain": "robotics.stackexchange",
"id": 4665,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "gazebo-camera, gazebo-ignition",
"url": null
} |
# Is there such a thing as $\lim_\limits{x\to\infty}\text{frac}(x)$?
Is there such a thing as $$\lim_{x\to\infty}\text{frac}(x)$$
What would be the reasoning in trying to prove its existence or non-existence?
• Can you give us an example of what you mean by the fractional part of $x$? – DMcMor Jul 11 '17 at 15:07
• ... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9820137937226358,
"lm_q1q2_score": 0.8028694173826804,
"lm_q2_score": 0.8175744806385543,
"openwebmath_perplexity": 89.80873155879124,
"openwebmath_score": 0.8903198838233948,
"tag... |
control, pid, stability
When you look at something like aircraft, missiles, etc., the moments of inertia around each primary axis are going to be quite different, or could be quite different, and this is where I don't think a quaternion PID controller is going to be successful - there's not "one" mass or moment of ine... | {
"domain": "robotics.stackexchange",
"id": 809,
"lm_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, pid, stability",
"url": null
} |
electromagnetism, history, maxwell-equations
I didn't like to do the second year, because I didn't think I had
great ideas about how to present the second year. I felt that I
didn't have a good idea on how to do lectures on electrodynamics.
But, you see, in these challenges that had existed before about
lect... | {
"domain": "physics.stackexchange",
"id": 55517,
"lm_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, history, maxwell-equations",
"url": null
} |
7.5 - More Examples; Lesson 8: Mathematical Expectation. A discrete probability function must also satisfy the following: $\sum \text{f}(\text{x}) = 1$, i.e., adding the probabilities of all disjoint cases, we obtain the probability of the sample space, 1. I'll even add it here just to The probabilities of the singleto... | {
"domain": "torrezriley.com",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9724147169737826,
"lm_q1q2_score": 0.8206160134883942,
"lm_q2_score": 0.843895098628499,
"openwebmath_perplexity": 290.58318627384295,
"openwebmath_score": 0.7383242249488831,
"t... |
actionlib
if you send at least one goal, then it just reports the problem but keep running.
[ERROR] [1298889509.884434617]: BUG: Got a transition to CommState [PREEMPTING] when in SimpleGoalState [DONE]
Is this normal? should I fill a ticket?
(I know, it is stupid to cancel something which does not yet exist... but i... | {
"domain": "robotics.stackexchange",
"id": 4893,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "actionlib",
"url": null
} |
botany, species-identification
Title: What is this little white creature? Please identify this little and soft white creature. Since childhood I am seeing this things flying in my surroundings and nowadays they are seen occasionally. It is, as stated by @rg255 a seed (or actually a fruit, see below). The seed itself i... | {
"domain": "biology.stackexchange",
"id": 6608,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "botany, species-identification",
"url": null
} |
c++, multithreading, c++11, timer
// Period
// ======
public:
const period_type& period() const noexcept { return m_period; }
// Exception
// =========
public:
/// True if an exception occured in the last invocation thread.
bool exception() const { return bool(m_exception); }
///... | {
"domain": "codereview.stackexchange",
"id": 7290,
"lm_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, c++11, timer",
"url": null
} |
c#, game, winforms, windows, collision
Title: 2D Collision Detection I wrote this a while ago but wanted to see if I went about it the right way and if my brain is working correctly. I was thinking about these two projects the other day and I recently released the source. This game was originally for a Windows Form Ga... | {
"domain": "codereview.stackexchange",
"id": 23364,
"lm_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#, game, winforms, windows, collision",
"url": null
} |
hamiltonian-simulation, hhl-algorithm, quantum-phase-estimation
Title: Quantum Circuit for $e^{iAt}$ Hamiltonian Simulation in HHL algorithm In HHL algorithm, there is a step in Quantum Phase Estimation where we have to apply powers of $e^{iAt}$ to the register (see pic). I am not able to understand how to find the qu... | {
"domain": "quantumcomputing.stackexchange",
"id": 2563,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "hamiltonian-simulation, hhl-algorithm, quantum-phase-estimation",
"url":... |
## Studying all these objects at once
The collection of all objects of this type, together, can be viewed in the following nice ways
• Variety of groups: This term is used in universal algebra, where we view all groups as algebras of an equational variety, where the equational variety is defined as having the three o... | {
"domain": "subwiki.org",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.99058741124602,
"lm_q1q2_score": 0.8098789794704098,
"lm_q2_score": 0.817574471748733,
"openwebmath_perplexity": 344.39771646706527,
"openwebmath_score": 0.9143579006195068,
"tags": null... |
number goes on top of another et fleqn, left, right how. No compelling argument to use Gaussian binomial coefficient '' over q-binomial coefficient '' raising binomial..., by Nadir Soualem @ mathlinux \\dotsc, with overleaf.com, the command \frac { n }. Usually, you find the coefficients for raising a binomial coeffici... | {
"domain": "wintersthornmead.com",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.97482115683641,
"lm_q1q2_score": 0.8416524097507788,
"lm_q2_score": 0.863391611731321,
"openwebmath_perplexity": 1072.1739766539554,
"openwebmath_score": 0.9290280938148499,
... |
python
def animation():
global num
if num == 0:
num += 1
return '[= ]'
elif num == 1:
num += 1
return '[ = ]'
elif num == 2:
num += 1
return '[ = ]'
elif num == 3:
num += 1
return '[ = ]'
elif num == 4:
num... | {
"domain": "codereview.stackexchange",
"id": 3156,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "python",
"url": null
} |
organic-chemistry, structural-formula, identification
Title: Interpreting a formula tattoo I saw
on the Internet and I'm curious as to what compound is represented by it. The molecule seen in the tattoo is a protein-based mammalian hormone called oxytocin, commonly called "the love hormone" because it is involved in... | {
"domain": "chemistry.stackexchange",
"id": 145,
"lm_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, structural-formula, identification",
"url": null
} |
json, formatting, brainfuck
string loop flag = on
+
while string loop flag [
Echo string char >>,.
if escape flag >>[-]+<[
escape flag = off
[-]
>-<
]
else >[-
switch cell 2 <<<+>
... | {
"domain": "codereview.stackexchange",
"id": 37002,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "json, formatting, brainfuck",
"url": null
} |
javascript, jquery
CSS:
#NewCustomerSubmitStatusPopUp
{
display:none;
position: fixed;
width:500px;
height: 150px;
top: 50%;
left: 50%;
margin-left:-255px;
margin-top:-110px;
/*background-color:#F7DFDE; */
padding:10px;
z-index:102;
font-family:Verdana;
font-size... | {
"domain": "codereview.stackexchange",
"id": 1874,
"lm_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
} |
electrons, quantum-spin, magnetic-moment, orbitals
In any case, just to provide a specific reference that gives electron spin-spin interactions the full works of the attention of atomic physics, here you have one:
Mutual spin-orbit and spin-spin interactions in atomic structure calculations. M Jones. J. Phys. B: At. ... | {
"domain": "physics.stackexchange",
"id": 60032,
"lm_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, quantum-spin, magnetic-moment, orbitals",
"url": null
} |
species-identification, dna-sequencing, species
My attempt at a high school level explanation
Explain what a phylogenetic tree is
First draw a phylogenetic tree. Explain what they mean:
A node is an common ancestor
A leaf is a extant species (if the leaf gets to the top of the tree)
All species are related but some a... | {
"domain": "biology.stackexchange",
"id": 7643,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "species-identification, dna-sequencing, species",
"url": null
} |
algorithms, optimization, terminology, dynamic-programming
Now we'll show that the array partitioning problem with Monge cost is concave. Note that $DP[n][k+2] - DP[n][k+1] \leq DP[n][k+1] - DP[n][k]$ is the same inequality as $DP[n][k+2] + DP[n][k] \leq 2 DP[n][k+1]$. Take any partitions $x_{0}, \dots, x_{k+3}$ and $... | {
"domain": "cs.stackexchange",
"id": 15232,
"lm_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, optimization, terminology, dynamic-programming",
"url": null
} |
quantum-algorithms, hamiltonian-simulation, q#, trotterization
That then leaves the problem of how to evolve under $H$. That's where techniques like Trotter–Suzuki come in. Using the Trotter–Suzuki decomposition, you break $H$ into a sum of terms that are each easy to simulate (that can be the same as the the decompos... | {
"domain": "quantumcomputing.stackexchange",
"id": 958,
"lm_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-algorithms, hamiltonian-simulation, q#, trotterization",
"url": n... |
experimental-physics, spacetime, spacetime-dimensions, popular-science
I would bet that the status of this approach (CDT) is controversial.
Now, you stipulated: "without the premise [or] the conception of limited dimensions". I don't know what that really means. I hope that it doesn't mean "without the idea that math... | {
"domain": "physics.stackexchange",
"id": 8901,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "experimental-physics, spacetime, spacetime-dimensions, popular-science",
"url": n... |
> Reciprocal of 24 is 4.16% and of 26 is 3.84%. Thus, we can easily remember reciprocals of 24, 25, 26 as 4.15%, 4, 3.85% i.e 0.15% more and less than 4%.
> Reciprocal of 29 is 3.45% (i.e 345 in order) and reciprocal of 23 is 4.35% ( same digits but order is different. If 1/29 = 3.45% than definitely 1/23 will be more... | {
"domain": "gmatclub.com",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9736446456243805,
"lm_q1q2_score": 0.8668302006258352,
"lm_q2_score": 0.8902942203004186,
"openwebmath_perplexity": 3766.9241163425345,
"openwebmath_score": 0.8214187622070312,
"tag... |
newtonian-gravity, curvature, tidal-effect
This all sounds sophisticated, but it is really nothing more than the situation shown below. We have a "curved" manifold $\mathcal{M}$ - think of the 2-sphere as a concrete example. The geometry of the manifold $\mathcal{M}$ - for example, the sums of angles inside triangles,... | {
"domain": "physics.stackexchange",
"id": 24109,
"lm_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-gravity, curvature, tidal-effect",
"url": null
} |
circuit-construction, state-injection-model
Title: How to inject a $Y^{\frac{1}{4}}$ gate into a circuit I need to perform a controlled-$H$ gate, which is non-Clifford.
Its standard decomposition is
$$Y^{-\frac{1}{4}}_b\cdot CX^{\phantom{\frac{1}{4}}}_{a,b}\cdot Y^{\frac{1}{4}}_b.$$
By means of some auxiliary qubits, ... | {
"domain": "quantumcomputing.stackexchange",
"id": 4219,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "circuit-construction, state-injection-model",
"url": null
} |
php, optimization, mysql, security
I can of course prepare a class for read one specify setting when it is necessary, but it means that I will read data from my [ini] table dozen times in many PHP files.
Is it safe to read it once and globalize by following code?
//on developer machine my INI_ID == 0, on production se... | {
"domain": "codereview.stackexchange",
"id": 10632,
"lm_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, optimization, mysql, security",
"url": null
} |
python, random, simulation, set
You can use random.choice(...) on a list, rather than random.sample(...)[0] on a set.
You shouldn't use sets:
Deprecated since version 2.6: The built-in set/frozenset types replace this module.
This means you can change Set to just set, or instead use the syntactic sugar: {1, 2, 3}.
Y... | {
"domain": "codereview.stackexchange",
"id": 43579,
"lm_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, random, simulation, set",
"url": null
} |
Proof: We show this by induction. It's obvious that it's true for closed sets, since they're complete with the same metric in $$X$$. Suppose it holds for a denumerable set of subsets of $$X$$, which is $$\{A_n\}_{n \in \omega}$$ with $$\psi_n(\mathscr{N}) = A_n$$. Define a continuous function as a cartesan product of $... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9811668668053618,
"lm_q1q2_score": 0.847131244232892,
"lm_q2_score": 0.8633916134888613,
"openwebmath_perplexity": 112.84937759639506,
"openwebmath_score": 0.97163987159729,
"tags"... |
c++, multithreading, producer-consumer
volatile bool keepRunning = true;
string userCommand;
while (keepRunning) {
/* Get user command */
std::cout << "\nCommand : ";
getline(cin, userCommand);
/* Generate a random number of messages and insert them to bounded buffer */
... | {
"domain": "codereview.stackexchange",
"id": 41325,
"lm_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, producer-consumer",
"url": null
} |
complexity-theory, time-complexity, randomized-algorithms
I would like your help with show a randomized algorithm for checking the
satisfiability of s-formulas, that outputs the correct answer with probability at
least $\frac{2}{3}$.
I'm not really sure how to prove it. First thing that comes to my head is this thing-... | {
"domain": "cs.stackexchange",
"id": 868,
"lm_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, time-complexity, randomized-algorithms",
"url": null
} |
normal-forms, term-rewriting, termination
Title: Identifying/equating constants in a term rewrite system Suppose we have a term rewrite system $\mathcal{R} = (R, \Sigma)$ with basic rewrite rules $R$ over a signature $\Sigma$. Suppose also that this rewrite system $\mathcal{R}$ is confluent and terminating, and that e... | {
"domain": "cs.stackexchange",
"id": 11670,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "normal-forms, term-rewriting, termination",
"url": null
} |
c#, beginner
if (!status) {
MessageBox.Show("The drive is either open or empty", "Optical Drive Status");
mciSendString("set cdaudio door closed", null, 0, IntPtr.Zero);
}
else MessageBox.Show("The drive is closed and contains an optical media", "Optical Drive Status");
}
} Note that the Visual Studio C# ... | {
"domain": "codereview.stackexchange",
"id": 39170,
"lm_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",
"url": null
} |
ros
ros::NodeHandle n;
ros::Publisher vel_pub_=n.advertise<geometry_msgs::Twist>("cmd_vel", 1);
geometry_msgs::Twist vel;
ros::Rate loop_rate(10);
while (ros::ok())
{
vel.linear.x = 0.1; //velocidad de avance
vel.angular.z = 0.3; //velocidad de giro
vel_pub... | {
"domain": "robotics.stackexchange",
"id": 14930,
"lm_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
} |
javascript, snake-game, webgl
// Get the data location.
var applepos=apple.pos
// Set the location of the visual apple to the data location.
sphere.position.set(applepos[0],applepos[1],applepos[2])
scene.add(sphere);
}
//========================
// Misc
//======================... | {
"domain": "codereview.stackexchange",
"id": 30557,
"lm_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, snake-game, webgl",
"url": null
} |
machine-learning, deep-learning, image-classification
Would the second approach be less effective than the first?
Just to disprove this claim, consider the following. You have a 2-output classification network; let's name the outputs dog and not-dog. Now imagine, as you say, that the network can only identify dog pat... | {
"domain": "datascience.stackexchange",
"id": 5492,
"lm_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, deep-learning, image-classification",
"url": null
} |
zoology, natural-selection, development
why does the intake through the skin vary slightly while through the lungs dramatically?
is that skin cannot regulate its gas exchange rate, while lungs can. This brings us to your first question:
Why does a frogs oxygen intake through the skin and lungs vary throughout the ye... | {
"domain": "biology.stackexchange",
"id": 8231,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "zoology, natural-selection, development",
"url": null
} |
deep-learning, cnn, computer-vision, pytorch, image-segmentation
Title: Hook up PyTorch U-Net model to video I built a U-Net model in PyTorch that is trained on medical images to detect polyps. The purpose of the model is to do semantic segmentation, so it must predict the location + class of polyps.
Now I want to hoo... | {
"domain": "datascience.stackexchange",
"id": 9769,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "deep-learning, cnn, computer-vision, pytorch, image-segmentation",
"url": nul... |
python, python-3.x, programming-challenge, numpy, pathfinding
Raised when an operation or function receives an argument that has the right type but an inappropriate value, and the situation is not described by a more precise exception such as IndexError.
My suggestion for that part would be
friendly_locations = list(... | {
"domain": "codereview.stackexchange",
"id": 37159,
"lm_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, programming-challenge, numpy, pathfinding",
"url": null
} |
If calculus “works”, it also shouldn’t matter how one calculates a derivative. While the forms of the derivative certainly could LOOK different, because any point on the invariant graph has the same tangent line no matter what the form of its equation, and the derivative of a relation at a point is the slope of that... | {
"domain": "wordpress.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9828232884721166,
"lm_q1q2_score": 0.8190108170951165,
"lm_q2_score": 0.8333245932423308,
"openwebmath_perplexity": 723.5895136690175,
"openwebmath_score": 0.8225260972976685,
"tags": ... |
A) is correct
B) definitely contains an error which is easy to fix. Why I know about error? -- solution of RR is not $0$ as $x=t$
C) Contains a logical error in the domain $\{−2t<x<2t\}$ (middle sector) which should be found and fixed. Note that the solution of RR there is not in the form $\phi(x+2t)+\psi(x-2t)$
... | {
"domain": "toronto.edu",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9678992951349231,
"lm_q1q2_score": 0.8674810682964258,
"lm_q2_score": 0.8962513689768735,
"openwebmath_perplexity": 1022.3125856879756,
"openwebmath_score": 0.8068831562995911,
"tags": n... |
python, game-of-life
self.grid = new_grid
def toggle_cell(self, row, col):
"""Toggle the dead or alive status of a single cell."""
self.grid[row][col] = not self.grid[row][col]
def check_furthest(self, row, col):
"""Check the furthest processed cell against this one and update if we
n... | {
"domain": "codereview.stackexchange",
"id": 328,
"lm_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, game-of-life",
"url": null
} |
adaptive-filters, self-study, terminology
Title: Terminologies: Adaptive, recursive and iterative
Considering non-linear filtering technique like Extended Kalman filtering with Expectation Maximization (EM). EM is an iterative technique but what is Kalman filtering? Is Kalman Filtering called iterative approach?
Ada... | {
"domain": "dsp.stackexchange",
"id": 3263,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "adaptive-filters, self-study, terminology",
"url": null
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.